18 Aug 2012 11:23
Bug#685206: libwrap0:amd64: hosts_{options,access}.5.gz inconsistencies on format
Edward Welbourne <eddy <at> chaos.org.uk>
2012-08-18 09:23:00 GMT
2012-08-18 09:23:00 GMT
Package: libwrap0
Version: 7.6.q-23
Severity: normal
Dear Debian Maintainer,
I tried to configure /etc/hosts.{allow,deny} using what man pages told
me; hosts.allow and hosts.deny alias to hosts_access in man. This told
me I could use lines of form
daemon_list : client_list [ : shell_command ]
but, in fact, I got errors logged by sshd when I used this format, due
to sshd actually using the format described in man hosts_options
daemon_list : client_list : option : option ...
(which should clearly be written as
daemon_list : client_list [ : option ...]
or similar, since options are optional). It was not immediately clear
what sshd was complaining about, of course - I only found out this was
the problem after writing to Wietse Venema for help ! - but once I'd got
the right information it was indeed possible to get what I wanted.
I thus find the man pages to be somewhat confusing - the one I get
naturally tells me a format that isn't actually supported; it does tell
me there's an extended version of the language, but doesn't make clear
that this is what's actually in use. I initially used
ALL : ALL : /usr/bin/logger -p auth.warning -- 'Denied %c (%n) access to %d on %r'
in my hosts.deny but got error messages which didn't really (given only
the hosts_access man page's content) help me to make sense of what the
error really was; everything in the man page fitted with this being a
valid line to include. Changing to
ALL : ALL : severity auth.warning
(Continue reading)
RSS Feed