Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Subject: closing ports on RH7.2

Subject: closing ports on RH7.2

2003-10-04       - By Eric Koldeweij

 Back
Reply:     1     2     3     4     5     6  


2003 AD wrote:

> Thanks everyone for your responses.
>
>
> i did go to grc.com and although i have many ports open - it reads
> them as stealth which according to the site it's a good thing. Would
> anyone know what stealth indicates? The ports which were open and not
> stealth were 21, 80, 110.
>
> Here are a few ports which are open:
>
> 32768
> 1025
> 98
> 995
> 389
> 32774
> 9128
> 9130
> 3306
> 10443
>
>
> How do i tell who's using what? And is it important?


As root, adding the -p option to netstat (e.g. netstat -tuap) also tells
you which process has opened the port. The file /etc/services contains a
list of widely used ports and what for. From that file you can learn
that port 21 is for ftp services (wu-ftpd usually), 80 is for www
services (apache usually) and 110 is for POP3 (ipop3d usually). If you
are not using any of these services (mind, they are services provided to
the outside world from your box, not services you are using yourself as
client) I suggest you close the appropriate service down.

As for the other ports I found in /etc/services the following references:

32768        (probably) rpc.statd
1025         ???
98             linuxconf
995          POP3 over SSL
389           ldap
32774       (probably) rpc related
9128         ???
9130         ???
3306         mysql
10443       ???

If you don't want these services to be publicly available (and I guess
you don't) you should either close the service if you're not using it or
block it using the firewall.

Eric.