Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
exim/tcp wrappers not using host name when matching?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rmfuhrer
n00b
n00b


Joined: 18 Jun 2003
Posts: 19
Location: Hawthorne, NY

PostPosted: Tue Aug 01, 2006 12:36 am    Post subject: exim/tcp wrappers not using host name when matching? Reply with quote

It seems that with exim, tcp wrappers appear not to use the symbolic name of the connecting client to determine whether to grant access.

E.g., if I have the following in /etc/hosts.allow:
Code:

exim: .verizon.net


and an inbound smtp connection is initiated from a host whose TCP address reverse-maps to, say, mailhub.verizon.net, exim refuses the connection, citing "tcp wrappers" as the reason (so says /var/log/mail/current):

Code:

Jul 31 20:21:37 [exim] 2006-07-31 20:21:37 refused connection from [14.14.14.40] (tcp wrappers)


(N.B.: The above address is fake, for illustration purposes.)

If instead I put the TCP network address of the relevant mail servers in .verizon.net, like so:

Code:

exim: 14.14.14.


then exim accepts the connection.

What gives?

FWIW, tcp wrappers works perfectly fine for other daemons with symbolic host/domain names.

My machine's vital stats:

Gentoo 2006.0
AMD Athlon XP

Code:
$ cat /proc/version
Linux version 2.6.14-gentoo-r2 (root@dungeon) (gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)) #3 PREEMPT Thu May 25 20:53:05 EDT 2006
$ equery list exim
[ Searching for package 'exim' in all categories among: ]
 * installed packages
[I--] [  ] mail-mta/exim-4.60-r1 (0)
$ equery list tcp-wrappers
[ Searching for package 'tcp-wrappers' in all categories among: ]
 * installed packages
[I--] [  ] sys-apps/tcp-wrappers-7.6-r8 (0)
$

_________________
Robert M. Fuhrer
"Smooth jazz is no jazz at all..."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum