Nmap Announce mailing list archives
Re: Nmap-2.00 doesn't recognize SSH?
From: Lorenzo Cavallaro <sullivan () seclab com>
Date: Thu, 17 Dec 1998 14:11:49 +0100
Howdy there ;) On Wed, Dec 16, 1998 at 10:23:22PM +0100, Vegard Svanberg wrote:
Hello. Why doesn't nmap-2.00 recognize SSH? If I portscan mye computer here, you'll get this report; 21 open tcp ftp 22 open tcp unknown 53 open tcp domain 80 open tcp http 110 open tcp pop-3 113 open tcp auth 119 open tcp nntp As you can see, it recognizes all services except ssh (port 22). I can't quite see the reason for this?
Er ... does you /etc/services include a line like ssh 22/tcp # Secure shell When you use functions like getservby[name|port] they will scan *your* /etc/services file and look for the corrispondent name/port. [man getservbyname e.g] DESCRIPTION The getservent(), getservbyname(), and getservbyport() functions each re- turn a pointer to an object with the following structure containing the broken-out fields of a line in the network services data base, /etc/services. [sorry for posting this little peace of man]
Regards, -- Vegard Svanberg <vegard () gravityzone com>
bye bye -- gg sullivan -- Lorenzo Cavallaro Intesis SECURITY LAB Phone: +39-02-671563.1 Via Settembrini, 35 Fax: +39-02-66981953 I-20124 Milano ITALY Email: sullivan () seclab com
Current thread:
- RE: Nmap-2.00 doesn't recognize SSH?, (continued)
- RE: Nmap-2.00 doesn't recognize SSH? Troy Solo (Dec 17)
- Re: Nmap-2.00 doesn't recognize SSH? Robert Ståhlbrand (Dec 17)
- Re: Nmap-2.00 doesn't recognize SSH? golem (Dec 17)
- Re: Nmap-2.00 doesn't recognize SSH? Robert Ståhlbrand (Dec 17)
- Re: Nmap-2.00 doesn't recognize SSH? Lars Marowsky-Brée (Dec 17)
- Re: Nmap-2.00 doesn't recognize SSH? Robert Ståhlbrand (Dec 17)
- Beyond TCP and UDP (Re: Nmap-2.00 doesn't recognize SSH?) Lars Marowsky-Brée (Dec 17)
- Re: Nmap-2.00 doesn't recognize SSH? golem (Dec 17)
- Re: Nmap-2.00 doesn't recognize SSH? Gustavo Molina (Dec 17)
- Re: Nmap-2.00 doesn't recognize SSH? Lorenzo Cavallaro (Dec 17)