Board index » delphi » when I make nmap -O 192.168.0.3 ...........

when I make nmap -O 192.168.0.3 ...........

Can someone tel me why when I run portscan program like 'nmap' under Linux
to test if my 80 port is open have 10038 exception
I've put HTTPServer component to my form just to test if when I run the
program I've port 80 open. Then I run the nmap -O 192.168.0.3 from other PC
and on the moment of scan I have 10038 exception.
Thank's
 

Re:when I make nmap -O 192.168.0.3 ...........


Quote
"adi zebic" <zebic....@skynet.be> wrote in message news:3b8e7a82_2@dnews...
> Can someone tel me why when I run portscan program like 'nmap' under Linux
> to test if my 80 port is open have 10038 exception
> I've put HTTPServer component to my form just to test if when I run the
> program I've port 80 open. Then I run the nmap -O 192.168.0.3 from other PC
> and on the moment of scan I have 10038 exception.

Do you mean an error reported when a socket in LISTEN state is being accepted by Accept()?
I think it is caused due to the TCP connection is not fully established. The incoming connection event is queued in socket queue (because aan SYN packet has arrived from nmap) so the Accept() is invoked. But the conenction is not fully negotiated (client sends ACK but the nmap sends no ACK back) so the Accept() must report a problem - the 10038 appears.

D. Toman

Re:when I make nmap -O 192.168.0.3 ...........


"adi zebic" <zebic....@skynet.be> wrote in news:3b8e7a82_2@dnews:

Quote
> Can someone tel me why when I run portscan program like 'nmap' under Linux
> to test if my 80 port is open have 10038 exception

See the Indy FAQ.

--
Chad Z. Hower (Kudzu) - http://www.pbe.com/Kudzu/
Current Location: St. Petersburg, Russia
      "Programming is an art form that fights back"

Other Threads