LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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


Reply
  Search this Thread
Old 12-01-2014, 04:48 AM   #1
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Rep: Reputation: Disabled
Cslistener blocking other programme to run on port 9000


I have a centos 6.5 machine running a java server socket on port 9000. I tried to look into netstat command and etc nothing works then I tried this command and it shows

Code:
$ grep -e 9000 -e 9700 -e 9900 /etc/services
cslistener      9000/tcp                        # CSlistener
cslistener      9000/udp                        # CSlistener
board-roar      9700/tcp                        # Board M.I.T. Service
board-roar      9700/udp                        # Board M.I.T. Service
iua             9900/tcp                        # IUA
iua             9900/udp                        # IUA
iua             9900/sctp                       # IUA
I would like to block the service to that my original service can run as usual how to block cslistener and what is this service? Is this a threat?
 
Old 12-01-2014, 09:30 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
I suggest picking a different port.

From searches it shows several things use port 9000 - Eclipse for one, firewalls, php debugging,....

You can find the process id of what has it open using "fuser 9000/tcp" and trace it specifically for your system.
 
Old 12-01-2014, 08:25 PM   #3
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
Dear Jpollard,
It has been running well all the time. I am not running eclipse for use. Firewall and php debugging using 9000 for what purpose ? I thought any thing more then 1024 is possible to be used rite?
 
Old 12-02-2014, 06:08 PM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
And it happens to be being used.

Any process can open a port above 1024.

A firewall may use it for changing the firewall configuration... and PHP debugging means just that.

ANY one can open a port above 1024. But once opened it usually cannot be used by another service (yes there are ways to open one shared - but that assumes those processes will coordinate with each other as to how the port gets used...).

Normal operation is that once a port is opened, it is open for exclusive use by that process.

Hence, to find out what process has it open, use fuser. Once you have process id number you can the find out what the process is - and find out why and what service is associated with that process. At that point, you should be able to decide whether you want the service active or not.
 
Old 12-05-2014, 12:44 AM   #5
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
Dear Jpollard,
When you said firewall here means the iptables itself or external firewall will use?
 
Old 12-05-2014, 05:47 AM   #6
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
No. Just that some company has used port 9000 for a firewall, and used it enough that it is reported as a "use of port 9000".

From http://www.adminsub.net/tcp-udp-port-finder/cslistener

The point is, if you don't know what is using the port, find out. If you want to use it for something else, stop the process currently using it.
 
  


Reply



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
How do i run a programme from the terminal? kyle7042 Linux - Newbie 6 04-27-2012 10:54 AM
.run programme leighroy Linux - Software 7 12-09-2010 01:57 PM
[SOLVED] Run X server (or equivalent) for a single programme Snark1994 Linux - Software 2 10-14-2010 11:12 AM
Enable connection to port 6667 / 9000 from Webmin., How? skate Linux - Software 1 02-13-2006 09:04 AM
how can i run jsp programme in redhat linux 9 dineshgarg Red Hat 0 07-21-2005 02:11 AM

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

All times are GMT -5. The time now is 02:35 PM.

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