<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="markdown-here-wrapper" data-md-url="Thunderbird"
style="" markdown-here-wrapper-content-modified="true">
<p style="margin: 0px 0px 1.2em ! important;">Hi list,</p>
<p style="margin: 0px 0px 1.2em ! important;">How can I reliably
get the sender’s IP address?<br>
<code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;">$si</code>
and <code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;">$sp</code>
are returning the server IP and Port.<br>
I also tried using <code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;">$Ri</code>
and <code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;">$Rp</code>
but it yields the same results.<br>
Inspecting the packet shows the sender’s true IP:Port pair in
the <code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;">Via:</code>
header,<br>
but the <code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;">From:</code>
and <code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;">To:</code>
contain the kamailio server’s public IP address.</p>
<p style="margin: 0px 0px 1.2em ! important;">Kind regards,</p>
<div
title="MDH:PGZvbnQgZmFjZT0iU291cmNlIFNhbnMgUHJvIj5IaSBsaXN0LDxicj48YnI+SG93IGNhbiBJIHJlbGlhYmx5IGdldCB0aGUgc2VuZGVyJ3MgSVAgYWRkcmVzcz88YnI+YCRzaWAgYW5kIGAkc3BgIGFy
ZSByZXR1cm5pbmcgdGhlIHNlcnZlciBJUCBhbmQgUG9ydC4gPGJyPkkgYWxzbyB0cmllZCB1c2lu
ZyBgJFJpYCBhbmQgYCRScGAgYnV0IGl0IHlpZWxkcyB0aGUgc2FtZSByZXN1bHRzLjxicj5JbnNw
ZWN0aW5nIHRoZSBwYWNrZXQgc2hvd3MgdGhlIHNlbmRlcidzIHRydWUgSVA6UG9ydCBwYWlyIGlu
IHRoZSBgVmlhOmAgaGVhZGVyLDxicj5idXQgdGhlIGBGcm9tOmAgYW5kIGBUbzpgIGNvbnRhaW4g
dGhlIGthbWFpbGlvIHNlcnZlcidzIHB1YmxpYyBJUCBhZGRyZXNzLjxicj48YnI+S2luZCByZWdh
cmRzLDwvZm9udD4="
style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0;"></div>
</div>
<div class="moz-signature markdown-here-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div class="moz-signature">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<title></title>
<font face="Roboto Mono, UniSans, Calibri, sans-serif"> <i>Iskren
Hadzhinedev</i><br>
</font> </div>
</div>
</body>
</html>