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

Dave Hayes dave at jetcafe.org
Tue Sep 20 14:05:41 PDT 2005

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, and
I've also noticed that adding

  portmap : : allow
  portmap : ALL : deny

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

I'd say this is a bug. Am I being too anal here?
Dave Hayes - Consultant - Altadena CA, USA - dave at 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."

More information about the Users mailing list