Tcpwrapper does not work?

Paul van der Vlis paul at vandervlis.nl
Fri Oct 8 06:41:59 EDT 2010


Jeroen van Meeuwen (Kolab Systems) schreef:
> Paul van der Vlis wrote:
>> Hello,
>>
>> When I put in my /etc/hosts.deny this: imapd: 192.168.0.41
>> And /etc/hosts.allow is empty.
>>
>> Then I still get my mail over IMAP from this IP with Cyrus.
>>
>> I use Cyrus 2.2.13 from Debian stable, so far I know this is compiled
>> with tcpwrapper support.
>>
>> Does somebody understand this?
>>
> 
> Does ldd on imapd show you a link against libwrap?

Yes:
-------------
server:/etc/fail2ban# ldd /usr/lib/cyrus/bin/imapd
	linux-gate.so.1 =>  (0xb77b4000)
	libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7781000)
	libgssapi.so.2 => /usr/lib/libgssapi.so.2 (0xb7758000)
	libkrb5.so.25 => /usr/lib/libkrb5.so.25 (0xb7698000)
	libasn1.so.8 => /usr/lib/libasn1.so.8 (0xb761d000)
	libroken.so.18 => /usr/lib/libroken.so.18 (0xb760b000)
	libcrypt.so.1 => /lib/i686/cmov/libcrypt.so.1 (0xb75d9000)
	libcom_err.so.2 => /lib/libcom_err.so.2 (0xb75d5000)
	libresolv.so.2 => /lib/i686/cmov/libresolv.so.2 (0xb75c1000)
	libdb-4.2.so => /usr/lib/libdb-4.2.so (0xb74e6000)
	libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb74a0000)
	libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb734d000)
	libwrap.so.0 => /lib/libwrap.so.0 (0xb7345000)
	libnsl.so.1 => /lib/i686/cmov/libnsl.so.1 (0xb732b000)
	libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb71d0000)
	libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb71cc000)
	libheimntlm.so.0 => /usr/lib/libheimntlm.so.0 (0xb71c7000)
	libhx509.so.3 => /usr/lib/libhx509.so.3 (0xb718c000)
	libwind.so.0 => /usr/lib/libwind.so.0 (0xb7163000)
	libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb714a000)
	/lib/ld-linux.so.2 (0xb77b5000)
	libz.so.1 => /usr/lib/libz.so.1 (0xb7135000)
server:/etc/fail2ban# ls -l /lib/libwrap.so.0
lrwxrwxrwx 1 root root 16 2009-03-31 17:39 /lib/libwrap.so.0 ->
libwrap.so.0.7.6
server:/etc/fail2ban# ls -l /lib/libwrap.so.0.7.6
-rw-r--r-- 1 root root 31168 2008-07-26 01:45 /lib/libwrap.so.0.7.6
-------------


With regards,
Paul van der Vlis.




-- 
http://www.vandervlis.nl/



More information about the Info-cyrus mailing list