Re: How do I stop portmap from listening on port 111 on my internet connection?
On Sat, 05 Jun 2004 04:30:10 +0200, Jerome Werner wrote:
> I'm using Debian unstable. I use gnome so I need FAM, which in turn needs portmap.
> That's fine with me but I don't want portmap to listen on port 111. I
> read man portmap and famd but didn't find what I was looking for? Also I
> don't want to just block it with a firewall, I want to understand how to
> stop it from the inside.
portmap uses tcpwrappers, so it will respect settings in /etc/hosts.allow
and /etc/hosts.deny
for /etc/hosts.deny, you should have
ALL: ALL
portmap: ALL
and in /etc/hosts.allow
portmap: 127.0.0.1
--
Stephen Patterson http://patter.mine.nu/
steveSPAM@.patter.mine.nu remove SPAM to reply
Linux Counter No: 142831 GPG Public key: 252B8B37
Caution: breathing may be hazardous to your health.
Reply to: