How to disable port/service in Ubuntu 8.04
Karl Auer
kauer at biplane.com.au
Thu Aug 28 11:30:57 UTC 2008
On Thu, 2008-08-28 at 16:51 +0530, Ashish Yadav wrote:
> How can I disable port/service in Ubuntu 8.04.
A port/service is only "enabled" if there is an actual service being
offered on the port. If no program is offering anything on a port,
anyone trying to connect on the port will get "connection refused".
If you want to disable a particular port, find out what's running on
that port and stop it. "netstat -a" sometimes helps.
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).
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au) +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/ +61-428-957160 (mob)
GPG fingerprint: DD23 0DF3 2260 3060 7FEC 5CA8 1AF6 D9E3 CFEE 6B28
Public key at : random.sks.keyserver.penguin.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080828/4bfbf609/attachment.sig>
More information about the ubuntu-users
mailing list