[Ns-bugs] [Bug 748] New: Cloned TCP socket uses wrong source address
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Mon Nov 23 02:41:50 PST 2009
http://www.nsnam.org/bugzilla/show_bug.cgi?id=748
Summary: Cloned TCP socket uses wrong source address
Product: ns-3
Version: ns-3-dev
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: internet-stack
AssignedTo: ns-bugs at isi.edu
ReportedBy: f1mauchl at hsr.ch
Estimated Hours: 0.0
Created an attachment (id=668)
--> (http://www.nsnam.org/bugzilla/attachment.cgi?id=668)
patch proposal
A listening TCP socket, to which a connection is opened, forks a new socket and
determines the source address to use from the route lookup, instead of using
the destination address to which the connection request originally has been
sent to. This leaves the connection in a state where no communication is
possible, as the endpoint of the forked socket does not match the address the
client socket is sending packets to.
To solve this, it is required to pass the packet's destination address to the
socket. This also requires changes to the Ipv4Endpoint API.
The proposed patch includes changes to the TCP forking process and the
Ipv4Endpoint API. Other protocols are only modified to match the new
Ipv4Endpoint API to be able to compile it, but do not make explicit use of it.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list