[Serdev] [Tracker] Created: (SER-200) Patch for a new nathelper nat_uac_test (Contact != rport)

Klaus Darilion klaus.mailinglists at pernau.at
Tue Dec 19 13:19:25 UTC 2006


Nils Ohlmeier (JIRA) wrote:
> Patch for a new nathelper nat_uac_test (Contact != rport) 
> ---------------------------------------------------------
> 
> Key: SER-200 URL: http://tracker.iptel.org/browse/SER-200 Project:
> SER Issue Type: Improvement Components: NAT Traversal Affects
> Versions: Ipteldorf Environment: Latest CVS code (Ottendorf version)
> from the 18.12.2006. Reporter: Nils Ohlmeier Priority: Minor 
> Attachments: nathelper_contact_rport_test.patch
> 
> The attached patch adds one more test to the nat_uac_test (0x20)
> which compares the port in the Contact header with the port value
> from the transport layer (UDP/TCP). This test can be helpful in
> scenarios with clients behind symmetric NATs and STUN support, where
> the wrong Contact header port may be the only indication for a NAT
> traversal, but not fixing these values breaks the further in-dialog
> communication. But be warned that this test should not be used by
> default, as it might break things for example in cases where UA's are
> on a public IP and advertising a different port in their Contact
> header with intention.
> 

Hi Nils!

I thought this clients can also be spotted by comparing the port in the
topmost Via header and the port from which the message was received.

Which clients needs this new test?

regards
klaus

-- 
Klaus Darilion
nic.at



More information about the Serdev mailing list