Dando ssh ipgw ho questo:
Codice: Seleziona tutto
bash-3.00$ ssh 10.0.0.1
Connection closed by UNKNOWN
bash-3.00$
se dal gw do ssh mioip non ho problemi...
Allora ho scansionato la porta del gw e ho:
Codice: Seleziona tutto
bash-3.00# nmap -sS 10.0.0.1
Starting nmap 3.75 ( http://www.insecure.org/nmap/ ) at 2005-10-15 10:46 CEST
Interesting ports on 10.0.0.1:
(The 1662 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
MAC Address: 00:80:C8:C1:24:DC (D-link Systems)
Nmap run completed -- 1 IP address (1 host up) scanned in 1.516 seconds
bash-3.00#
e inoltre sembra sia chiusa all'esterno della lan.
L'nmap del mio pc da come risultato invece:
Codice: Seleziona tutto
bash-3.00# nmap -sS localhost
Starting nmap 3.75 ( http://www.insecure.org/nmap/ ) at 2005-10-15 10:48 CEST
Interesting ports on localhost (127.0.0.1):
(The 1658 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
139/tcp open netbios-ssn
445/tcp open microsoft-ds
631/tcp open ipp
901/tcp open samba-swat
Nmap run completed -- 1 IP address (1 host up) scanned in 0.333 seconds
bash-3.00#
Ho provato con knoppix sul mio pc e l'unica differenza è che non mi da UNKNOWN quando chiude bensì l'ip di chi chiude. Che posso fare?


