<div dir="ltr">According to NGINX documentation, $remote_addr is an embedded variable in the ngx_http_core_module module. I have searched all around, including the source code, trying to figure out exactly how NGINX generates this variable, but I have been unable to find anything beyond the description "client address". Currently, my best guess is that it's the source address field in the incoming TCP/IP packet's IPv4 internet header. Is this correct? Or, does it come from somewhere else?<div><br></div><div>Relevant documentation: <a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#variables">http://nginx.org/en/docs/http/ngx_http_core_module.html#variables</a><br clear="all"><div><br></div><div>Thank you,</div>-- <span style="color:rgb(102,102,102);font-family:tahoma,geneva,sans-serif">Paul Nickerson</span>
</div></div>

<br>
<div><div><span style="border-collapse:collapse"><p style="margin-top:0px;margin-right:0in;margin-bottom:5pt;margin-left:0in"><span style="font-size:7.5pt"><font color="#666666" face="tahoma, sans-serif"><b>CONFIDENTIALITY NOTICE</b></font></span></p></span></div></div><div><span style="border-collapse:collapse"><p><span style="color:rgb(102,102,102);font-family:tahoma,sans-serif;font-size:10px">The attached information is PRIVILEGED AND CONFIDENTIAL and is intended only for the use of the addressee named above.  If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, please be aware that any dissemination, distribution or duplication of this communication is strictly prohibited. If you receive this communication in error, please notify us immediately by telephone, delete the message and destroy any printed copy of the message. Thank you.</span></p></span></div>