Open ports on FC2

Chris Hewitt fedlist at manordata.uklinux.net
Sat Jul 24 19:06:15 UTC 2004


On Sat, 2004-07-24 at 19:30, John Dangler wrote:
> I went to the ShieldsUP!!! site and ran the file sharing and common ports
> tests.  According to the results, I allowed ping to reply to their server
> via ICMP echo, and I have port 21 (ftp) and 23 (telnet) open.  How do I:
> 
> (1) block/ignore ICMP echo requests
> (2) Tell inquirers that ports 21 and 23 exist but are closed to connections

John,

Unless you need ftp and telnet, I suggest you shut them down:
service vsftpd stop
Telnet is part of the xinetd super-server. Edit /etc/xinetd.d/telnet and
change the line:
disable	= no
to
disable	= yes

You can check open ports by doing:
nmap localhost

Regards

Chris 





More information about the users mailing list