Incorrect address could be used in Via and Record-Route with TCP
----------------------------------------------------------------

                 Key: SER-424
                 URL: http://tracker.iptel.org/browse/SER-424
             Project: SER
          Issue Type: Bug
    Affects Versions: 2.0, Ipteldorf
            Reporter: Jan Janak


If SER listens on two interfaces and recives and sends traffic over TCP, it can 
happen that an incorrect address would be used in Via and Record-Route headers. 
SER cannot determine the IP address that will be used from the socket so it 
would use the IP address of the first socket it listens on in Via and 
Record-Route. But that's not necessarily the interface which is used to receive 
and send SIP traffic.

This could be a problem if there is a firewall blocking SIP traffic to the 
interface whose IP address was put in Via. In that case SER will not receive 
the reply.

The fix here would be to create the TCP connection before printing Via, 
obtaining the source IP address from it and putting that in Via/Record-Route.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.iptel.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Serdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/serdev

Reply via email to