Nmap Development mailing list archives
Linux VLAN
From: C Choy <claybuddy () yahoo com>
Date: Tue, 3 Jul 2001 18:24:16 -0700 (PDT)
Has anyone tried using Nmap 2.53 on a Linux kernel running with the VLAN 802.1q trunking patch? The recommended usage of the the VLAN tagging is to have a physical interface up with no address or mask (ie ifconfig eth0 0.0.0.0 netmask 0.0.0.0). Then add the trunked virtual interfaces (ie vconfig add eth0 400). This seems to confuse Nmap 2.53 (Prolly similar results with other revs). The routethroughdevice() function seems to work after commenting out a check for null routes (which is what the VLAN implementation needs) It seems as though anything that requires a send_raw_XXX() will try to route out the physical interface and not a virtual. An 'lsof' while trying to do a stealth scan gives me raw sockets open as 0000000FF -> 000000000. Everything works great for straight ethernet framed sending (ie through eth0:1) But Nmap tries to send out to a bad route (I think) when I hook it up to a VLAN virtual (ie vlan0400) I've tried using the "-e" and "-S" options with no luck. Does anyone have an idea of a work around or know where Nmap could be getting confused? __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ --------------------------------------------------------------------- For help using this (nmap-dev) mailing list, send a blank email to nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).
Current thread:
- Linux VLAN C Choy (Jul 03)
