Comment 1 for bug 135332

Revision history for this message
Maxime Ritter (airmax) wrote :

I copied these /etc/hosts.allow & /etc/hosts.deny to ~/bug, and then I ran tcpdmatch -d portmap 194.2.0.20

With my ubuntu 7.04 server :
root@php7-new ~/bug> tcpdmatch -d portmap 194.2.0.20
warning: portmap: service possibly not wrapped
client: address 194.2.0.20
server: process portmap
access: granted

Same thing, but on debian machine :
delldeb2:~/bug# tcpdmatch -d portmap 194.2.0.20
warning: portmap: service possibly not wrapped
client: address 194.2.0.20
server: process portmap
matched: hosts.deny line 23
access: denied

There is definitively something wrong with tcp wrapper on Ubuntu.

(broken) Ubuntu package version :
libwrap0 7.6.dbs-11build1
tcpd 7.6.dbs-11build1

(working) Debian package version :
libwrap0 7.6.dbs-8
tcpd 7.6.dbs-8