LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Server processes (https://www.linuxquestions.org/questions/linux-security-4/server-processes-292799/)

Dogit 02-20-2005 10:53 PM

Server processes
 
Hello,To all

Well first i hope all had a good weekend now could
someone please tell me how would you go about
doing this here.

turn off telnet & FTP access to my system i ask
becuse i had a look at some info at a site & they
where saying to do this here

make sure you're logged in as root & edit the
/etc/inetd.conf file but here is my problem i don't
find it as root or user please help

Thank you

Aeiri 02-20-2005 10:56 PM

Re: Server processes
 
Some distros have it in different places, and some distros don't even use inetd. I don't know anything about SuSE, though.

You could have a basic firewall set up, something like:

Code:

iptables -P INPUT DROP
iptables -A INPUT -p icmp -j DROP
iptables -A INPUT -m state --state ESTABLISHED -j ACCEPT

And you wouldn't have to worry about anything connecting to FTP, Telnet, HTTP server, or anything anymore.

EDIT: Wow! Talk about tired. Take that ! out before ESTABLISHED ;)

Dogit 02-20-2005 11:01 PM

Hi,Aeiri

Wow that was fast hmmm i will have a look at this
iptables.

by the way i'm using Suse9.0 Pro can i update
to say 9.1 or 9.2 for free or would i have to buy it
no big thing if i have to buy just needed to ask

Thank you

sigsegv 02-21-2005 02:39 PM

Don't drop icmp. It doesn't accomplish anything.


All times are GMT -5. The time now is 06:03 PM.