Nmap Development mailing list archives
Re: Nsock new engines
From: Rob Nicholls <robert () robnicholls co uk>
Date: Thu, 25 Oct 2012 14:23:10 +0100
On 25.10.2012 11:52, Henri Doreau wrote:
Hi, thanks for the feedback. I'll try to troubleshoot that. Which command are you using? You should be able to force the use of a given engineusing the "--nsock-engine=select" parameter. Could you test it (serverand client side)?
I hadn't thought to add the extra parameter, sorry I didn't realise this first. When I force the use of "select" it works fine; when I use "poll" it doesn't work:
C:\Users\Robert>ncat -v xxx.xxxxxx.xxx 80 --nsock-engine=select Ncat: Version 6.02 ( http://nmap.org/ncat ) Ncat: Connected to xxx.xxx.xxx.xxx:80. GET / HTTP/1.0 Host: xxx.xxxxxx.xxx HTTP/1.1 302 Redirect Content-Type: text/html; charset=UTF-8 Location: https://xxx.xxxxxx.xxx/ Server: Microsoft-IIS/7.0 X-FRAME-OPTIONS: SAMEORIGIN Date: Thu, 25 Oct 2012 13:16:15 GMT Connection: close Content-Length: 153 <head><title>Document Moved</title></head><body><h1>Object Moved</h1>This document may be found <a HREF="https://xxx.xxxxxx.xxx/">here</a></body>Ncat: 44 bytes sent, 393 bytes received in 9.69 seconds.
C:\Users\Robert>ncat -v xxx.xxxxxx.xxx 80 --nsock-engine=poll Ncat: Version 6.02 ( http://nmap.org/ncat ) Ncat: Connected to xxx.xxx.xxx.xxx:80. ^CBoth engines seem to work fine when listening (used telnet and Ncat with select to send to the server):
C:\Users\Robert>ncat -lk 8080 --nsock-engine=poll hello world ^C C:\Users\Robert>ncat -lk 8080 --nsock-engine=select ping pong ^C 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)