LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Closed Thread
  Search this Thread
Old 08-15-2004, 03:12 PM   #1
blainehilton
Member
 
Registered: Dec 2002
Location: Portage, IN, USA
Distribution: Fedora
Posts: 34

Rep: Reputation: 15
What is the callbook service


I just ran nmap on a Fedora system and the only interesting item was:

PORT STATE SERVICE
2000/tcp open callbook

I have been looking everywhere and I only see reference to this "callbook" in other postings of open ports. However I am trying to find out exactly what this service is.

Any pointers in the right direction would be appreciated.

---
TIA
Blaine
 
Old 08-15-2004, 05:27 PM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
$ cat /etc/services | grep 2000
# The following is probably Kerberos v5 --- ajt@debian.org (11/02/2000)
sieve 2000/tcp # Sieve mail filter daemon

So according to /etc/services it's sieve mail filter daemon.
 
Old 08-15-2004, 06:19 PM   #3
blainehilton
Member
 
Registered: Dec 2002
Location: Portage, IN, USA
Distribution: Fedora
Posts: 34

Original Poster
Rep: Reputation: 15
The odd thing is though (which I should have mentioned in my post, sorry) is that there is no reference to port 2000 in /etc/services. The line:

cat /etc/services | grep 2000

displays nothing.
 
Old 08-15-2004, 06:45 PM   #4
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
ps -aux show every running process
netstat -nat shows all open ports
nmap -sV checks service & app names/versions
and chkrootkit checks for rootkits on your system.

Last edited by iceman47; 08-15-2004 at 06:46 PM.
 
Old 08-15-2004, 08:45 PM   #5
blainehilton
Member
 
Registered: Dec 2002
Location: Portage, IN, USA
Distribution: Fedora
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks for the help, I have found it to be Asterisk. nMap says it is unknown what it is. I turned off the asterisk service though and ran nmap again and port 2000 was not showing up. So now I know what is going on.

BTW Is there a command that will tell you which process is using which port?

--
Thanks
Blaine
 
Old 08-08-2010, 07:10 AM   #6
eldorel
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
Solution to last question.

I know this is WAY late, but since this post shows up fairly high in google listings i'm going to answer it anyway.

As root, run the command
netstat -lp

On linux systems and most other flavors of *nix this will show you all listening ports along with the name and process ID of every listing service.
 
Old 08-08-2010, 07:21 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by eldorel View Post
I know this is WAY late, but
Thanks but please do not resurrect stale threads.
 
Old 08-08-2010, 07:45 AM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by blainehilton View Post
Is there a command that will tell you which process is using which port?
Given a Proccess Id try 'lsof -Pwnp [PID] -ai'.
Without Process Id try 'lsof -Pwnai' or 'netstat -antupe'.
Given a port number try '/sbin/fuser -n [PROTOCOL] [PORT_NUMBER]'.
Given a service name (/etc/services) try '/sbin/fuser -n [PROTOCOL] [SERVICE_NAME]'.
* Note you can keep tools from resolving address, service and port names to speed up execution often using switches like "-n".
** Also see 'iptstate -fs -D [REMOTE_IP]', 'awk '/dport=[PORT_NUMBER]/ {print}' /proc/net/ip_conntrack;'.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a service as a system service Dakkar SUSE / openSUSE 2 07-13-2005 07:36 AM
I need to know more about service hus Linux - Newbie 4 05-28-2005 01:41 PM
/sbin/service is empty every weekend and changed to service.1 LineS Linux - General 0 05-24-2004 02:08 AM
Name the service davee Linux - Newbie 3 07-08-2003 10:31 AM
No service u4113072 Linux - General 3 09-26-2002 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration