[Ns-bugs] [Bug 136] 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 07:24:42 PST 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=136


gjcarneiro at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #105 is|0                           |1
           obsolete|                            |




------- Comment #2 from gjcarneiro at gmail.com  2008-02-12 10:24 -------
Created an attachment (id=106)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=106&action=view)
patch to fix issue (including unit test)

Phew!  It has been a challenge to get both cases working together :P
The rationale for this change is (besides the usual "Linux does it") that in
the OLSR agent I am now trying to create several sockets, each bound to its own
interface, because I need to know on which interface OLSR HELLO messages
arrive, in order to properly follow the RFC algorithm, which states that "link
sensing" uses real interface addresses, unlike everything else that uses "main
addresses".  As far as I know, this is the only way using sockets to discover
on which interface a packet arrived.


-- 
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