Nmap Development mailing list archives

Re: [NSE] errors: path-mtu, dns-cache-snoop, and firewalk


From: Kris Katterjohn <katterjohn () gmail com>
Date: Mon, 18 Oct 2010 19:58:35 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/18/2010 05:24 PM, Ron wrote:
Just some error I'm seeing on a larger scan.


./scripts/path-mtu.nse:332: error while sending: Message too long (errno 90)
stack traceback:
        [C]: in function 'ip_send'
        ./scripts/path-mtu.nse:332: in function <./scripts/path-mtu.nse:292>
        (tail call): ?



This will happen when Nmap cannot determine the MTU for the outgoing
interface.  path-mtu assumes errors from ip_send() are due to this (not that
it matters much) and drops to another MTU level and continues.

Does "nmap --iflist" show the correct MTU for the interface on the source machine?

This is my first thought since I know this behavior can occur this way, so let
me know and I'll think more on it if you see Nmap knows the correct MTU but
path-mtu is still causing this error.

Also, does the problem occur on a small scan?  If this is the problem, it
should cause an error for any path-mtu run over that interface (not just on
large scans).

Ron

Thanks,
Kris Katterjohn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMvO07AAoJEEQxgFs5kUfuXKwQAMRVEVZTsJA97k28XtTdx9+B
q07ikHblRvaImVW9A3Hz2BrPRBtd5G/Iarv4n/OLARZBnIfueg/SVOiEXdva8dlO
UAo4kaT4ot2OO3MOy95pk9VjW64Yc3C7GijfdAaI8BKYnMxPvpS/jveUSEb+iIup
obqZbhkxr18+KKnGxga2DpNZ5f1iZ8F3ViRQwcwunjMQ1atRpWLw0RnZR0SbAhp4
Qha5BEgZROrIjaw2HuZHoF7yUdmAa+8g10bNhnaXRCZc5GOnuQpu2KxRd/CFOpn+
OMsTopGBU2QGgYuI/AxjHlWCsbBZ+8PaiqvoEEQtxW+z0NMIYzu99g4HehL92lQy
bP+lVSwwQNu1i2xA1M4eE8YZrWOL8RGHr4M648mFSiv19JJvRcVrpTQ6STeJnRKi
vpaiOVFrK3gnKNx6M6TPuKKRkeqaKBKRF2ash80lvoYNFzlQFWVwz9pR9ZfAI9Ya
SgHFU3355BRgU3wfcLu9FgADl7svETzadA1tyaWMPg+TXNJNlPUKioaatOVv9m0b
J9vwPXkX4IZXc0zvhcSlJ3/Ya7vjXndAwDl9ap0eyDH3ZZQibkSpjkL/H/6sbBEB
uSp9oDTo4ckhdRe9LB33F+wzk1uM9sByU2e83UegroeyyeeOGTw+Ztu6EAAAAxam
V8fJLmL7u7OBtA8cXBzk
=Fid/
-----END PGP SIGNATURE-----
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: