LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-19-2006, 08:44 PM   #1
fibster
Member
 
Registered: Feb 2006
Location: Washington State
Distribution: Slackware
Posts: 42

Rep: Reputation: 16
ports


Hello All,

Can anyone point me in how to close these ports here. I just installed dropline gnome and I now have ports other than 37 and 113 open> Anyway to shutdown these ports and will it hurt my dropline gnome?

37/tcp open time
110/tcp open pop3
113/tcp open auth
143/tcp open imap
872/tcp open unknown
6000/tcp open X11

thanks for any help,

fibster
 
Old 03-20-2006, 01:58 AM   #2
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
You can stop the relevant services listening on ports 37, 110, 113 and 143 by editing /etc/inetd.conf (comment out the appropriate lines and run "/etc/rc.d/rc.inetd restart").

IIRC (it's been a /long/ while since I used Dropline), 872 is a port used by XDMCP, which can be disabled in the "login manager" settings.

Port 6000 will be open whenever you run an X server, but should only be listening on localhost.

Can you run an nmap scan from another machine?
 
Old 03-20-2006, 02:03 AM   #3
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Additional:

A great 'firewall' script I have used is the ProjectFiles rc.firewall, available here. Save it as-is to /etc/rc.d/, chmod +x and start it, and nothing is available remotely.
 
Old 03-20-2006, 10:53 AM   #4
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
As previously mentioned, you must make manual adjustments to /etc/inetd.conf to disable services.

Dropline (and the other GNOME desktops) use fam as a requirement for Nautilus' features to monitor changes to the filesystem. You can completely disable inetd if you like, by means of issuing "chmod -x /etc/rc.d/rc.inetd". If you'd still like FAM (which is advisable for most users), you should leave it tagged as executable and simply comment most of the extra lines (for those services you want disabled) in /etc/inetd.conf as mentioned above. The last one is all that is needed for GNOME's FAM support:

Code:
sgi_fam/1-2     stream  rpc/tcp wait    root    /usr/sbin/tcpd  rpc.famd
We'll likely be migrating away from FAM with the 2.14.0 release, as other technologies (ike Gamin) will be taking its place soon.
 
Old 03-20-2006, 11:44 AM   #5
fibster
Member
 
Registered: Feb 2006
Location: Washington State
Distribution: Slackware
Posts: 42

Original Poster
Rep: Reputation: 16
Smile

Hey,

Thank you all for the quick and intelligent responses. Much appreciated.

fibster
 
  


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
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
need help with ports alagenchev Linux - Security 5 10-22-2005 07:29 PM
Ports weezel Linux - Security 3 06-09-2004 06:19 PM
Ports odd Linux - Software 2 06-02-2004 08:34 PM
Which ports are being used jeucken Linux - Networking 3 11-15-2002 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:57 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