Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-23-2006, 09:38 AM
|
#1
|
Member
Registered: Sep 2005
Location: Split, Croatia
Distribution: Gentoo/Debian
Posts: 140
Rep:
|
netstat question - identifying process
Hi all.
I'm wondering how can I know the missing pid's?
Code:
# netstat -pat | grep LISTEN
tcp 0 0 *:2049 *:* LISTEN -
tcp 0 0 *:pop3s *:* LISTEN 2641/dovecot
tcp 0 0 *:5901 *:* LISTEN 27240/Xtightvnc
tcp 0 0 *:686 *:* LISTEN 2627/rpc.mountd
tcp 0 0 *:19150 *:* LISTEN 2582/gkrellmd
tcp 0 0 *:sunrpc *:* LISTEN 2169/portmap
tcp 0 0 *:www *:* LISTEN 2669/apache
tcp 0 0 *:x11-1 *:* LISTEN 27240/Xtightvnc
tcp 0 0 *:auth *:* LISTEN 2591/inetd
tcp 0 0 *:ftp *:* LISTEN 2591/inetd
tcp 0 0 *:smtp *:* LISTEN 2553/exim4
tcp 0 0 *:3228 *:* LISTEN -
tcp 0 0 localhost.localdoma:702 *:* LISTEN 2646/famd
tcp6 0 0 localhost:6880 *:* LISTEN 6205/java
tcp6 0 0 *:6881 *:* LISTEN 6205/java
tcp6 0 0 localhost:45100 *:* LISTEN 6205/java
tcp6 0 0 *:19150 *:* LISTEN 2582/gkrellmd
tcp6 0 0 *:ssh *:* LISTEN 2633/sshd
tcp6 0 0 *:smtp *:* LISTEN 2553/exim4
|
|
|
08-23-2006, 10:15 AM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
"lsof -lMnP -i tcp:2049" or "fuser -n tcp 2049"?
|
|
|
08-23-2006, 10:20 AM
|
#3
|
Member
Registered: Sep 2005
Location: Split, Croatia
Distribution: Gentoo/Debian
Posts: 140
Original Poster
Rep:
|
Quote:
Originally Posted by unSpawn
"lsof -lMnP -i tcp:2049" or "fuser -n tcp 2049"?
|
Code:
[04:40 PM Wed Aug 23][root@starbase]:/home/mito
# lsof -lMnP -i tcp:2049
[04:40 PM Wed Aug 23][root@starbase]:/home/mito
# fuser -n tcp 2049
[04:41 PM Wed Aug 23][root@starbase]:/home/mito
# fuser -n tcp 5901
5901/tcp: 27240
Could it be some residue of a previous process listening on that socket, now hanging ?
|
|
|
08-23-2006, 10:29 AM
|
#4
|
Member
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419
Rep:
|
after a quick google i found:
port 3228 is a gnutella port
port 2049 is a NFS port
did you try and connect to those ports to look for banners or some type of responce?
|
|
|
08-23-2006, 10:35 AM
|
#5
|
Member
Registered: Sep 2005
Location: Split, Croatia
Distribution: Gentoo/Debian
Posts: 140
Original Poster
Rep:
|
Quote:
Originally Posted by AAnarchYY
after a quick google i found:
port 3228 is a gnutella port
port 2049 is a NFS port
did you try and connect to those ports to look for banners or some type of responce?
|
Code:
$ telnet starbase 2049
Trying 192.168.0.185...
Connected to starbase.homenetwork.
Escape character is '^]'.
Same with other port.
ps
I've just found this. Will take a closer look.
http://lists.debian.org/debian-secur.../msg00055.html
Last edited by divukman; 08-23-2006 at 10:41 AM.
|
|
|
All times are GMT -5. The time now is 09:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|