10x. as far as i can see it is not working for localhost for some reason ... and i need to test ports on the same host as well as on remote hosts.

-Mike

Josh Amishav-Zlatin wrote:
On Sun, 6 Jan 2008, Mike Kemelmakher wrote:

Hi All,

I need following functionality from nmap - test presence of a service listening to a particular port without performing full connect but with TCP SYN ACK RESET

If you don't want a full TCP handshake why not use hping, something
like:

hping -c 5 -S hostname -p 22
if [ $? -eq 0 ];
then ...
fi

--
 - Josh



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to