Welcome! Log In Create A New Profile

Advanced

Re: Which nginx variable holds the value for destination IP address in stream layer

Greeshma A
November 08, 2021 03:40PM
@Maxim, thanks for pointing this out. Please share the forum/mailing list
that would be appropriate. Really appreciate it. Haven't had much luck with
the documentation regarding this.

-Greeshma

On Mon, Nov 8, 2021 at 12:29 PM Maxim Dounin <mdounin@mdounin.ru> wrote:

> Hello!
>
> On Mon, Nov 08, 2021 at 10:15:19AM -0800, Greeshma A wrote:
>
> > Hi,
> > Is there any way to get the destination IP address in the stream layer
> > (ngx_stream_core_module)
> >
> > The SNI header of the destination can be gotten from
> > "ssl_preread_server_name"
> >
> > Similarly, how to get the destination IP address in the stream(L4) or L3
> > layer from the request?
> >
> > Suppose my request is as follows
> > curl https://DOMAIN.EXAMPLE https://domain.example/* --resolve
> > 'DOMAIN.EXAMPLE:443:192.0.2.17'*
> >
> > I want to get the IP 192.0.2.17
> > Which nginx variable would be mapped to this?
>
> This mailing list is for nginx developers. Please avoid posting
> user-level questions here. Thanks for understanding.
>
> --
> Maxim Dounin
> http://mdounin.ru/
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Which nginx variable holds the value for destination IP address in stream layer

Greeshma A 234 November 08, 2021 01:16PM

Re: Which nginx variable holds the value for destination IP address in stream layer

Maxim Dounin 87 November 08, 2021 03:30PM

Re: Which nginx variable holds the value for destination IP address in stream layer

Greeshma A 100 November 08, 2021 03:40PM

Re: Which nginx variable holds the value for destination IP address in stream layer

Maxim Dounin 119 November 08, 2021 04:00PM

Re: Which nginx variable holds the value for destination IP address in stream layer

Greeshma A 176 November 11, 2021 02:28PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 67
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready