<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>nat test based on rfc1918 address in call-id field</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>If I understand you correctly, you are talking about test 16 found in 
nathelper cvs. You may want to have a look at that test first.&nbsp;&nbsp; You 
call nat_uac-test("19") to trigger the test.</DIV>
<DIV>g-)</DIV>
<DIV>&nbsp;</DIV>
<DIV>---- Original Message ----<BR>From: Richard<BR>To: 
serusers@lists.iptel.org<BR>Sent: Thursday, December 02, 2004 10:25 PM<BR>Subject: 
[Serusers] nat test based on rfc1918 address in call-id field<BR><BR>&gt; 
Hi,<BR>&gt; I am thinking about having more NAT test on a sip packet. Just 
want<BR>&gt; to find out if it is useful. <BR>&gt; I run into some situations 
that some ‘smart’ UAs try to detect its<BR>&gt; external IP and put the external 
IP address into the sip packet.<BR>&gt; Depending on the network and NAT 
firewall setup, it may or may not<BR>&gt; set the right external IP and port in 
the packet. If it is not, but<BR>&gt; pretends to be on the public internet, 
then there is most likely a<BR>&gt; one-way voice or no voice issue. I’d like to 
be able to detect and<BR>&gt; force it to use a nat proxy. By checking these 
packets, I found that<BR>&gt; the only trace is the private IP address in the 
call-id header field.<BR>&gt; It will be useful to check if a RFC1918 address is 
used in the<BR>&gt; call-id. I understand that it is not a thorough test for 
NAT, well,<BR>&gt; just like any other NAT 
test.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&gt; Can someone 
please comment if it is a good test?<BR>&gt; Thanks,<BR>&gt; Richard<BR>&gt; 
<BR>&gt; <BR>&gt; <BR>&gt; 
_______________________________________________<BR>&gt; Serusers mailing 
list<BR>&gt; serusers@lists.iptel.org<BR>&gt; 
http://lists.iptel.org/mailman/listinfo/serusers</DIV></BODY></HTML>