<div dir="ltr">@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.<br><div><br></div><div>-Greeshma</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 8, 2021 at 12:29 PM Maxim Dounin <<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>
<br>
On Mon, Nov 08, 2021 at 10:15:19AM -0800, Greeshma A wrote:<br>
<br>
> Hi,<br>
> Is there any way to get the destination IP address in the stream layer<br>
> (ngx_stream_core_module)<br>
> <br>
> The SNI header of the destination can be gotten from<br>
> "ssl_preread_server_name"<br>
> <br>
> Similarly, how to get the destination IP address in the stream(L4) or L3<br>
> layer from the request?<br>
> <br>
> Suppose my request is as follows<br>
> curl <a href="https://DOMAIN.EXAMPLE" rel="noreferrer" target="_blank">https://DOMAIN.EXAMPLE</a> <<a href="https://domain.example/" rel="noreferrer" target="_blank">https://domain.example/</a>>* --resolve<br>
> 'DOMAIN.EXAMPLE:443:192.0.2.17'*<br>
> <br>
> I want to get the IP 192.0.2.17<br>
> Which nginx variable would be mapped to this?<br>
<br>
This mailing list is for nginx developers.  Please avoid posting <br>
user-level questions here.  Thanks for understanding.<br>
<br>
-- <br>
Maxim Dounin<br>
<a href="http://mdounin.ru/" rel="noreferrer" target="_blank">http://mdounin.ru/</a><br>
_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org" target="_blank">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
</blockquote></div>