(maybe this should go to another thread...)
Excuse my spelling mistake, it did work this time.
But unfortunately it does not solve my problem.
For some reason which I do not understand if I do repeated port scans with nmap SOMETIMES I get open ports on DIFFERENT addresses each time(e.g 1550/tcp as you can see below), which I hadn't realized when I did the first posting.
So lsof does not help me as these ports are changing all the time and last just for an instance...
The other weird thing is that if I do netstat repeatedly I never get those open ports (as you can see below)...
What is going on? Could this be a security problem? Or what could cause it?
Any help would be appreciated..
Alexis
==================================================
debian:~# nmap localhost
Starting nmap V. 2.54BETA31 (
www.insecure.org/nmap/ )
Strange read error from 127.0.0.1 (104): Operation now in progress
Interesting ports on debian (127.0.0.1):
(The 1549 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
25/tcp open smtp
80/tcp open http
443/tcp open https
1550/tcp open 3m-image-lm
===================================================
debian:~# netstat -all --numeric-ports
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 192.168.2.28:22 192.168.2.4:1372 ESTABLISHED
tcp 0 144 192.168.2.28:22 192.168.2.4:1371 ESTABLISHED
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
udp 0 0 0.0.0.0:68 0.0.0.0:*
raw 0 0 0.0.0.0:1 0.0.0.0:* 7
raw 0 0 0.0.0.0:6 0.0.0.0:* 7
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 1 [ ] DGRAM 94 /dev/log
unix 0 [ ACC ] STREAM LISTENING 196 /var/run/gcache_port
unix 0 [ ACC ] STREAM LISTENING 138 /var/run/mysqld/mysqld.sock
unix 0 [ ] STREAM 418
unix 1 [ ] STREAM CONNECTED 394
unix 1 [ ] STREAM CONNECTED 393
unix 1 [ ] STREAM CONNECTED 392
unix 1 [ ] STREAM CONNECTED 391
unix 0 [ ] DGRAM 99