Nmap Development mailing list archives

Re: [nmap-svn] r11551 - ncat (SO_DEBUG)


From: Kris Katterjohn <katterjohn () gmail com>
Date: Fri, 02 Jan 2009 18:03:41 -0600

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

On 01/02/2009 01:40 PM, David Fifield wrote:
I was having bizarre problems that I tracked down to this change.
Reverse DNS resolution and NSE gave me a bunch of Nsock errors. Here's
from a -sL scan of scanme.nmap.org:

Starting Nmap 4.76 ( http://nmap.org ) at 2009-01-02 12:36 MST
NSOCK (0.3140s) msevent_new (IOD #0) (EID #8)
NSOCK (0.3140s) UDP connection requested to 192.168.0.1:53 (IOD #1) EID 8
NSOCK (0.3140s) msevent_new (IOD #0) (EID #18)
NSOCK (0.3140s) Read request from IOD #0 [192.168.0.1:53] (timeout: -1ms) EID 18
NSOCK (0.3140s) msevent_new (IOD #0) (EID #27)
NSOCK (0.3140s) Write request for 43 bytes to IOD #0 EID 27 [192.168.0.1:53]: 
.............52.134.13.64.in-addr.arpa.....
NSOCK (0.3150s) nsock_loop() started (timeout=500ms). 3 events pending
NSOCK (0.3150s) wait_for_events
NSOCK (0.3150s) Callback: CONNECT SUCCESS for EID 8 [192.168.0.1:53]
NSOCK (0.3150s) msevent_delete (IOD #0) (EID #8)
NSOCK (0.3150s) Callback: WRITE ERROR [Input/output error (5)] for EID 27 [192.168.0.1:53]
NSOCK (0.3150s) msevent_delete (IOD #0) (EID #27)

The problem went away after I ran "make clean". Try that if the same
thing is happening to you. I don't know what caused in in the first
place, maybe the change in the size of the msiod struct wasn't noticed
by files that depended on it.


I must've drawn up this patch on a clean tree because I wasn't running into
these problems, but thanks for tracking it down for any else having these issues.

David Fifield


Thanks again,
Kris Katterjohn

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

iQIcBAEBAgAGBQJJXqtXAAoJEEQxgFs5kUfuh60P/ioqAzMxFXrQXIn2zKTk7ei2
3hAcEaNNh8UZHRw/oYz0XvrZR44V8HNhunbJ1jcwVrUbqV6BjW592cJbwwIKtPrV
7Iqk4T7alX8Ilt6ukbckE8svJuWHxtRYwVRqsnFhdB1bB0IQEw0vNMOOSAquWefC
gV9h96yZKz4CbFIPi2XvtR6RcQnv0EermNaIlzoWvQgYUUCCaeZ59XIdZE3Wuswr
NL4Vz3GL9W5z/1Chc0W1MVQhDwRcJ3ahXx/mtKWGo42XQWL8ufLF/G6jqCgHTv9c
RYvragE2BQzfhrzY1UvfIYqQI4tsQYA7FMIkkHUntbVy9ZRWLJt1l0vruDJOZrd+
uvAM1af4zoraS8Uz0gatMtuXZUqI5gc4oySEGA7WhjlUuoWzH3UOWbKT6XV+kGKm
Wu8IOzdP/7lNdkX3JyoFdEe0nnl7b8efXlEC8HY4H59Hwf2hEoRVu7ctQkuCSA7z
IsvbcCZ+uOZ1haq1hbj1vCrWJf9CGqtI5+A3I/CDT8K8utIjhOYYZJ6/xWbBfjN/
wKx2RtPMomyCJ/kAR39uhTwPCIGmtwwcPE+6EdmlWuOEQebCi9ug7JQXi2N2I9+u
rCrIa4saxZZ8qFu8qCOEJhuMksM+RCfKHD9mG7vzkmNQyPc1n4Qv/TogpI3kw7jk
SKefSsjOplfG5dpZaCSu
=aAh/
-----END PGP SIGNATURE-----

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


Current thread: