[Users] fix_nated_contact()

Alexander Ph. Lintenhofer lintenhofer at aon.at
Mon Oct 24 21:16:24 CEST 2005


Hi everybody,

Is there a reason why fix_nated_contact() only works for UDP?
My problem is that in the case of TCP and tcp-aliases only the port is 
taken from the via-header. The IP-addr is taken from the source of the 
packet. This leads to the fact that in case of NAT and TCP no 
alias-mapping is found....

If I comment the lines in nathelper.c which exclude the use of TCP all 
works fine - so what is the reason for fix_nated_contact() to be only 
processed with UDP?

Any reasons for this?

regards,
Philipp




More information about the sr-users mailing list