How to disable port/service in Ubuntu 8.04

Ashish Yadav ashishyadav26 at gmail.com
Thu Aug 28 11:48:21 UTC 2008


> If you want to disable a particular port, find out what's running on
> that port and stop it. "netstat -a" sometimes helps.
>

That is my question, *how* to stop it from running?
>From example if there is http server running and I don''t want it to
run when my system starts where do I go and make changes?
I could very simply do that by renaming scripts in init based systems,
here I don't have clue.

> Alternatively, set up a packet filter (iptables plus one of the many
> front ends to it) and block everything except stuff you know you want.
> Actually it's a good idea to do this anyway - it stops accidents (and
> ignorant or malicious users).
>
I have firestarter running, however that also doesn't provide a method
to close the ports.

I could do that in firewall configuration in Fedora, here there is
just no option to do that here in firestarter.

-- 
Regards,

Ashish

"There are 10 types of people; those who understand binary, and those who don't"




More information about the ubuntu-users mailing list