Re: Disable unuse port
From: Kasper Dupont (kasperd@daimi.au.dk)
Date: 01/21/03
- Next message: ynotssor: "Re: Disable unuse port"
- Previous message: Nico Kadel-Garcia: "Re: Backup device:Tape vs CD-RW"
- In reply to: wanto: "Disable unuse port"
- Next in thread: ynotssor: "Re: Disable unuse port"
- Reply: ynotssor: "Re: Disable unuse port"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Kasper Dupont <kasperd@daimi.au.dk> Date: Tue, 21 Jan 2003 07:07:28 +0100
wanto wrote:
>
> Folks,
>
> I am using RH8. In order to check the server security level, i used SuperScan
> to check the "Listen" port.
> Finally, I found the following:
>
> 22 [ssh]
> 23 [telnet]
> 25 [smtp]
> 53 [domain]
> 80 [http]
> 110 [pop3]
> 111 [sunrpc]
> 8000 [irdmi]
>
> Except 110, 111 & 8000, the others are needed...
> Therefore, I tried to disable those 3 ports.
Good choice.
> How can i do it?
Disable the service listening on the port. On RH you can
disable a service for the current session by typing:
service name stop
And you can prevent it from being started at next boot
by typing:
chkconfig name off
I'm not sure exactly which services are listening on those
ports, but I guess it is sendmail on port 110. As root you
can get the name of the programs by typing:
netstat -tupl
> Is it related to /etc/services ?
Nope. Don't change /etc/services.
> Thx all you kindly folks!
>
> wanto
-- Kasper Dupont -- der bruger for meget tid på usenet. For sending spam use mailto:aaarep@daimi.au.dk for(_=52;_;(_%5)||(_/=5),(_%5)&&(_-=2))putchar(_);
- Next message: ynotssor: "Re: Disable unuse port"
- Previous message: Nico Kadel-Garcia: "Re: Backup device:Tape vs CD-RW"
- In reply to: wanto: "Disable unuse port"
- Next in thread: ynotssor: "Re: Disable unuse port"
- Reply: ynotssor: "Re: Disable unuse port"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|