ports
my open ports on Slack 10 are
37/tcp time 113/tcp auth 631/tcp ipp how i can close them....? also i want to know how i can close ports 80/tcp 21/tcp also i want to ask if i should always have all ports closed...is it harmless for the system? can you propose me a good firewall program? ## sorry for my english!!! ## |
I'd imagine you'd close them by stopping the services that have them open.
631 is for CUPS, so it'd probably be something like "/etc/rc.d/rc.cups stop". 80 is for a webserver. For Apache, you could try "/etc/rc.d/rc.httpd stop" or maybe just "httpd stop". 21 is for FTP but I dunno what script you'd use for that as I don't have an FTP server running on my machine. Not sure about the others. Remember you need to run these commands as root and without the quotes. |
First check out your /etc/inetd.conf
Comment what you don't need. Port 80, apache is running. To stop it, apachectl stop And to make sure it won't start next time chomd -x /etc/rc.d/rc.httpd And off course you could always use iptables to close your ports. |
Quote:
|
All times are GMT -5. The time now is 03:59 PM. |