Bugs item #1934375, was opened at 2008-04-04 15:03
Message generated for change (Settings changed) made by gawith
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1934375&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: ver 1.3.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Gawith (gawith)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: force_send_socket not working for TCP

Initial Comment:
The force_send_socket call does not handle TCP connections correctly. It always 
uses the first outgoing IP address for all connections to a single host, 
ignoring the forced IP.

The problem seems to be in _tcpconn_find, which is not checking for the sending 
IP of existing connections to a host.

Attached a proposed patch.

Regards




----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-04-04 15:18

Message:
Logged In: NO 

i don't know if this is related, but i use
force_send_socket(proxy_ip:5060) in order to force port 5060 as source
port, when proxy sends requests to udp destinations.  if destination is
behind tcp, proxy ignores port 5060 in force_send_socket(proxy_ip:5060) and
uses whatever source port the tcp connection to that destination has.  for
me this is the desired behavior.  i have not tried to use more than one
proxy_ip address.

-- juha

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1934375&group_id=139143

_______________________________________________
Devel mailing list
Devel@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to