[Ns-bugs] [Bug 833] OnOffApplication with PacketSocket: sniffs all traffic

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Wed Apr 7 13:46:58 PDT 2010


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


Josh Pelkey <jpelkey at gatech.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jpelkey at gatech.edu




--- Comment #4 from Josh Pelkey <jpelkey at gatech.edu>  2010-04-07 16:46:57 EDT ---
(In reply to comment #2)
> Created an attachment (id=782)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=782) [details]
> patch
> 
> I think this is the most elegant patch.  Calls ShutDownSend and ShutDownRecv
> where appropriate.  No trace files change with the patch.

What happens if OnOffApplication uses TCP sockets?  It seems like this might
not work.  For example, after applying this patch and running
examples/csma/csma-star.cc, the tcpdumps show a bunch of SYN ACKS coming in to
node 0, over and over again.

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