Nmap Development mailing list archives

Re: GSOC 2012


From: SAI LAKSHMI Bhavana <oslbhavana () gmail com>
Date: Thu, 22 Mar 2012 18:49:36 +0530

Hello Sir,

Thank you very much for your valuable suggestions and ideas.
Sorry for the delay to reply.

It is true that it would be easier to implement and test for proxy in
Nsock rather than a port scan.

My idea is to make a TCP connection to a http proxy using
nsock_connect_tcp(), creating a new ms_event.
Then send a Connect request to the proxy regarding the target to be
scanned using the standard send().

A successful reply(200 CONNECTION ESTABLISHED) is expected for a open
port otherwise its marked closed.

If the proxy is a part of chain proxy then the request will be
forwarded accordingly by the proxies itself.
I would be pleased if told more about the implementations regarding chain proxy.

I think for a socks 5 proxy a connection can be made with the server
and the details about authentication are further sent either by the
details provided by the user or any default values.
Then a TCP stream connection request can be sent and the reply is analysed.

The errors can be handled accordingly .

Suggestions are most welcomed :)
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: