Public bug reported:
Binary package hint: portmap
The hosts_access system (tcpwrappers) have support for [EMAIL PROTECTED] rules
in the config-files (hosts.allow, hosts.deny). I was looking at the
concept of making site-wide versions of those files and spotted that the
code in both portmap and mountd doens't support this. They both use the
simplified call called hosts_ctl. This isn't mentioned anywere and the
only way i was able to figure out why things went wrong was to read the
source.
My sugestion is to rewrite the good_client function to be able to send a
servername to the hosts_* functions to be able to write those kind of
rules. In every case at least the ip-adress the connection came in to.
On the point of hostnames, just read the #ifdef USE_DNS and implement
the same here.
At least the manpages shall be updated to write about this thingie. One
good thing to allso write there is about the need to use ip-adresses for
clients, see USE_DNS note in the code for info.
Someone that can handle launchpad modify this bug to allso include the
mountd program (source nfs-utils). It have the same artifacts as
described here for portmap.
//Anton
** Affects: portmap (Ubuntu)
Importance: Undecided
Status: New
--
update good_client() to support [EMAIL PROTECTED] pattern in hosts_access code.
https://bugs.launchpad.net/bugs/178522
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs