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/
[EMAIL PROTECTED]  remove SPAM to reply        
Linux Counter No: 142831 GPG Public key: 252B8B37        
Caution: breathing may be hazardous to your health.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to