[Ns-bugs] [Bug 827] SetPromiscReceiveCallback not working unless broadcast or host is intended receiver

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Sun Apr 3 11:40:00 PDT 2011


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

--- Comment #9 from Nicola Baldo <nbaldo at cttc.es> 2011-04-03 14:39:59 EDT ---
Hi Ruben,

sorry for the very late reply... let's try to move this forward!

As for the wifi-wired-briging case, I agree with your interpretation. Also,
thinking more about it, I think it is reasonable for us to assume that people
enabling promisc mode know what they are doing. So, unless we get crazy and
make promisc mode the default, it shouldn't be a problem.

To finalize the patch, I would kindly ask you to:
1) add doxygen for both MacLow::SetPromisc and RegularWifiMac::SetPromisc; the
latter doxygen should also state that further filtering (such as the BSSID
filtering done by ApWifiMac) might affect the actual behavior of promisc mode
2) rename the existing "PromiscSniff" to "MonitorMode", as agreed
3) change the "if (m_promisc)" piece, as agreed


> I also discovered that there is no check on the SSID (that's a bug in my
opinion).

I am not sure what you mean: the SSID is an IE that is included in management
frames only, isn't 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