[Ns-bugs] [Bug 136] New: Sockets bound to specific interfaces receive broadcasts arriving on other interfaces
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Tue Feb 12 04:18:13 PST 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=136
Summary: Sockets bound to specific interfaces receive broadcasts
arriving on other interfaces
Product: ns-3
Version: pre-release
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: internet-node
AssignedTo: ns-bugs at isi.edu
ReportedBy: gjcarneiro at gmail.com
here's a simple diagram
<----- broadcast
/ 10.0.0.1 --------------------- 10.0.0.2
/ \
N1 N2
\
\ 10.0.1.1
Suppose N1 has two sockets, one bound to one interface, another bound to
another interface (Bind (interface-ipv4-address)). When N2 sends a broadcast
packet to N1, currently both sockets in N1 are receiving a copy, which is
wrong. That should only happen when using sockets bound to the "any" address,
not like this.
Yes, this is partly my fault (bug 51) but there is a subtle distinction between
multiple sockets receiving a broadcast packet when they are bound to the "any"
address and the case where all sockets are bound to specific interface
addresses. Both scenarios have their uses and should be supported.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list