Do you mean like this?
$ nmap localhost
Starting nmap 3.48 ( http://www.insecure.org/nmap/ ) at 2004-05-13 13:14 MDT Interesting ports on sigurd.incentre.net (127.0.0.1): (The 1652 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 631/tcp open ipp 6000/tcp open X11 10000/tcp open snet-sensor-mgmt
Wait a minute, what is that thing on Port 6000/tcp ?
How about this?
$ sudo netstat --inet -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 906/X
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 883/perl
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 678/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 3938/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 735/sendmail: accep
udp 0 0 0.0.0.0:10000 0.0.0.0:* 883/perl
udp 0 0 0.0.0.0:67 0.0.0.0:* 716/dhcpd
udp 0 0 0.0.0.0:69 0.0.0.0:* 692/xinetd
udp 0 0 0.0.0.0:631 0.0.0.0:* 3938/cupsd
udp 0 0 206.75.213.195:123 0.0.0.0:* 707/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 707/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 707/ntpd
raw 0 0 0.0.0.0:1 0.0.0.0:* 7 716/dhcpd
Yep, X is running on TCP port 6000.
Next...
Adam Voigt wrote:
So why does nmap'ing localhost and your actual IP reveal no X11 ports?
On Thu, 2004-05-13 at 13:39, Guy Fraser wrote:
Yes FC1 does use TCP ports for X11.
Display :0.0 = TCP port 6000