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.