Nmap Development mailing list archives
Re: Nsock new engines
From: Rob Nicholls <robert () robnicholls co uk>
Date: Mon, 22 Oct 2012 20:35:19 +0100
On 22.10.2012 19:05, Henri Doreau wrote:
Hello, after investigation (and testing, this time) I think I've fixed it.The WSAPoll() function has a slightly different behavior than its unixpoll() sibling. It stubbornly refuses to run if the POLLPRI or any POLLERR flag is part of the events (these flags being reserved to describle the returned events). I've added a couple ifdef WIN32 that seem to do the job. Does r30107 work for you?
It compiles and appears to run fine during some initial tests. Thanks for all your effort!
Interestingly, the NSE/UDP bug that David and I encountered on Windows the other week seems to have gone away when poll is used (it still hangs if the nsock engine is forced to select). This presumably explains why I was only able to reproduce this on Windows and not Linux. This should be less of an issue once Windows uses poll by default, but it would be nice for the bug(s) to be fixed as I presume it'll affect other systems that still use select.
Rob _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Nsock new engines Henri Doreau (Oct 21)
- Re: Nsock new engines Rob Nicholls (Oct 22)
- Re: Nsock new engines Henri Doreau (Oct 22)
- Re: Nsock new engines Rob Nicholls (Oct 22)
- Re: Nsock new engines Henri Doreau (Oct 22)
- Re: Nsock new engines Henri Doreau (Oct 22)
- Re: Nsock new engines Rob Nicholls (Oct 22)
- Re: Nsock new engines David Fifield (Oct 22)
- RE: Nsock new engines Rob Nicholls (Oct 25)
- Re: Nsock new engines Henri Doreau (Oct 25)
- Re: Nsock new engines Rob Nicholls (Oct 25)
- Re: Nsock new engines Henri Doreau (Oct 25)
- Re: Nsock new engines Rob Nicholls (Oct 25)
- Re: Nsock new engines Kris Katterjohn (Oct 25)
- Re: Nsock new engines David Fifield (Oct 25)
- Re: Nsock new engines Henri Doreau (Oct 26)
- Re: Nsock new engines Henri Doreau (Oct 22)
- Re: Nsock new engines Rob Nicholls (Oct 22)