Nmap Development mailing list archives

Re: libdnet problem with monitor mode interfaces


From: Djalal Harouni <tixxdz () opendz org>
Date: Tue, 29 May 2012 17:29:39 +0100

On Tue, May 29, 2012 at 08:15:12AM -0700, David Fifield wrote:
On Tue, May 29, 2012 at 03:06:42PM +0100, Djalal Harouni wrote:
If we do this what are the downsides ? hide interfaces where Nmap might
work ? what about this ARPHRD_IEEE80211_RADIOTAP, other tools use it ?


For those who want a temporary fix, a quick patch is attached that will
work on Linux compiled with LINUX_PROCFS support. It will ignore other
special interface setups (aliases are not supported).

I'm not sure about this fix. I considered the same thing, but I'm a bit
worried about unknown side effects. One thing is that error reporting is
more difficult from libdnet because we don't have access to Nmap's
logging functions. So sometimes a failure like this is the only way we
get bug reports. If the code were already the way you suppose, we would
never know that ARPHRD_IEEE80211_RADIOTAP interfaces are being ignored.
Yes, we'll not see them. I'm sending the patch.

-- 
tixxdz
http://opendz.org
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: