Removing portmapper, Re: firewalling
Quoting Sebastiaan (sebastia@ch.twi.tudelft.nl):
> - I did a nmap localhost and discovered that unwanted ports 'sunrpc' (111)
> and 'printer' (515) are open. I have not found these in inetd.conf and I
> do not know how to turn these off. I have already tried removing sunrpc.o
> from the modules, but the computer would not do that. What is this port
> used for?
To turn off portmapper (111) in potato (where it's not a separate
package), you could try:
# /etc/init.d/portmap stop
# mv -i /etc/init.d/portmap /etc/init.d/portmap-hidden
(or remove its execute permission).
Cheers,
--
Email: d.wright@open.ac.uk Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.
Reply to:
- References:
- firewalling
- From: Sebastiaan <sebastia@ch.twi.tudelft.nl>