Greeshma A
November 05, 2021 08:06PM
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* --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?

-Greeshma
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

nginx variable for destination IP address in stream layer?

Greeshma A 368 November 05, 2021 08:06PM

Re: nginx variable for destination IP address in stream layer?

Greeshma A 125 November 08, 2021 02:22AM



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

Online Users

Guests: 236
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready