Gentoo Archives: gentoo-user

From: Robin Atwood <robin.atwood@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't block pop3 attack
Date: Sat, 24 Oct 2009 09:39:26
Message-Id: 200910241639.18730.robin.atwood@attglobal.net
In Reply to: Re: [gentoo-user] Can't block pop3 attack by Alan McKinnon
1 On Saturday 24 October 2009, Alan McKinnon wrote:
2 > On Friday 23 October 2009 21:49:42 Robin Atwood wrote:
3 > > My syslog is showing zillions of messages:
4 > >
5 > > Oct 24 02:25:58 opal xinetd[8054]: START: pop-3 pid=16534
6 > > from=61.134.64.199 Oct 24 02:25:59 opal xinetd[16534]: warning:
7 > > /etc/hosts.allow, line 7: can't verify hostname:
8 > > gethostbyname(199.64.134.61.broad.gs.dynamic.163data.com.cn) failed
9 > > Oct 24 02:26:09 opal xinetd[8054]: EXIT: pop-3 status=0 pid=16534
10 > > duration=11(sec)
11 > >
12 > > I run denyhosts but don't trap pop3 messages so I manually added the IP
13 > > address to /etc/hosts.deny and..., it made absolutely no difference. I
14 > > run qpopper which is compiled with xinetd support and xinetd uses tcpd,
15 > > so I assumed the address would be blocked. Apparently not so. Any ideas?
16 >
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 ----------------------------------------------------------------------
28 Robin Atwood.
29
30 "Ship me somewheres east of Suez, where the best is like the worst,
31 Where there ain't no Ten Commandments an' a man can raise a thirst"
32 from "Mandalay" by Rudyard Kipling
33 ----------------------------------------------------------------------

Replies

Subject Author
Re: [gentoo-user] Can't block pop3 attack kashani <kashani-list@××××××××.net>