DragonFly BSD
DragonFly users List (threaded) for 2005-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Portmap, -h, and /etc/hosts.allow


From: Dave Hayes <dave@xxxxxxxxxxx>
Date: Tue, 20 Sep 2005 14:02:31 -0700

Is there a reason that portmap opens a TCP socket bound to INADDR_ANY,
despite being told with the -h switch not to? The source code clearly
does this. 

Also, given a machine with two interfaces, 10.9.8.55 and 205.147.26.55
I've also noticed that adding

  portmap : 10.9.8.0/255.255.255.0 : allow
  portmap : ALL : deny

to the /etc/hosts.allow file will not block this TCP port from being
connected to via the 205.147.26.55 interface. 

I'd say this is a bug. Am I being too anal here?
------
Dave Hayes - Consultant - Altadena CA, USA - dave@xxxxxxxxxxx 
>>> The opinions expressed above are entirely my own <<<

In a dream, Nasrudin saw himself being counted out
coins. When there were nine silver pieces in his hand, the
invisible donor stopped giving them.  Nasrudin shouted, "I
must have ten!" so loudly that he woke himself up.  Finding
all the money gone he closed his eyes again and said. "All
right, then, give them back. I'll take the nine."






[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]