ports/166396: exim tcpwrappers twist error
Harry Newton
hn at yewbarrow.net
Sun Mar 25 17:40:19 UTC 2012
>Number: 166396
>Category: ports
>Synopsis: exim tcpwrappers twist error
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 25 17:40:17 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Harry Newton
>Release: 9-STABLE
>Organization:
yewbarrow
>Environment:
FreeBSD hydra.yewbarrow.net 9.0-STABLE FreeBSD 9.0-STABLE #30: Wed Mar 14 22:00:27 GMT 2012 toor at hydra.yewbarrow.net:/usr/obj/usr/src/sys/HYDRA amd64
>Description:
exim built with libwrap and following stanzas in /etc/hosts.allow:
exim : localhost : allow
ALL : ALL \
: severity auth.info \
: twist /bin/echo "You aren't welcome to use %d from %h."
does not give expected behaviour when trying to contact exim from a remote machine. Expect (with telnet hydra 25):
You aren't welcome to use exim from sphinx.
but get nothing.
Get in /var/log/messages:
Mar 25 17:45:52 hydra exim: warning: /etc/hosts.allow, line 77: twist_option: dup: Bad file descriptor
and in /var/log/auth.log:
Mar 25 17:45:52 hydra exim: twist sphinx to /bin/echo "You aren't welcome to use exim from sphinx."
Seems to be associated with exim only. If I replace exim with sshd in /etc/hosts.allow then works as expected.
>How-To-Repeat:
1. Build mail/exim with tcpwrappers enabled.
2. In /etc/hosts.allow:
Remove default match anything rule
Add:
exim : localhost : allow
as only matching rule for exim.
3. telnet machine 25
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list