Gentoo Archives: gentoo-user

From: kashani <kashani-list@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't block pop3 attack
Date: Sat, 24 Oct 2009 23:02:58
Message-Id: 4AE3879E.5020409@badapple.net
In Reply to: Re: [gentoo-user] Can't block pop3 attack by Robin Atwood
1 Robin Atwood wrote:
2 > On Saturday 24 October 2009, Alan McKinnon wrote:
3 >> On Friday 23 October 2009 21:49:42 Robin Atwood wrote:
4 >>> My syslog is showing zillions of messages:
5 >>>
6 >>> Oct 24 02:25:58 opal xinetd[8054]: START: pop-3 pid=16534
7 >>> from=61.134.64.199 Oct 24 02:25:59 opal xinetd[16534]: warning:
8 >>> /etc/hosts.allow, line 7: can't verify hostname:
9 >>> gethostbyname(199.64.134.61.broad.gs.dynamic.163data.com.cn) failed
10 >>> Oct 24 02:26:09 opal xinetd[8054]: EXIT: pop-3 status=0 pid=16534
11 >>> duration=11(sec)
12 >>>
13 >>> I run denyhosts but don't trap pop3 messages so I manually added the IP
14 >>> address to /etc/hosts.deny and..., it made absolutely no difference. I
15 >>> run qpopper which is compiled with xinetd support and xinetd uses tcpd,
16 >>> so I assumed the address would be blocked. Apparently not so. Any ideas?
17 >> You have allow ALL ALL early in hosts.allow, or
18 >> you have allow pop3 all earlier in hosts.allow
19 >
20 > The second! I had forgotten about that. The trouble I set it up that way so I
21 > could pick up email from arbitrary locations while travelling. It seems the
22 > price of that is allowing idiots to spam your logs.
23 >
24 > Thanks for the pointer.
25 > -Robin
26
27 You might think about moving to pop3-ssl or imap-ssl and dropping the
28 unencrypted protocols. Usually keeps people from banging on the servers
29 and much safer if you use the occasional unsecured wireless network.
30
31 kashani