public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Can't block pop3 attack
@ 2009-10-23 19:49 Robin Atwood
  2009-10-23 20:57 ` Alan McKinnon
  0 siblings, 1 reply; 4+ messages in thread
From: Robin Atwood @ 2009-10-23 19:49 UTC (permalink / raw
  To: gentoo-user

My syslog is showing zillions of messages:

Oct 24 02:25:58 opal xinetd[8054]: START: pop-3 pid=16534 from=61.134.64.199
Oct 24 02:25:59 opal xinetd[16534]: warning: /etc/hosts.allow, line 7: can't 
verify hostname: gethostbyname(199.64.134.61.broad.gs.dynamic.163data.com.cn) 
failed
Oct 24 02:26:09 opal xinetd[8054]: EXIT: pop-3 status=0 pid=16534 
duration=11(sec)

I run denyhosts but don't trap pop3 messages so I manually added the IP 
address to /etc/hosts.deny and..., it made absolutely no difference. I run 
qpopper which is compiled with xinetd support and xinetd uses tcpd, so I 
assumed the address would be blocked. Apparently not so. Any ideas?

TIA
-Robin
-- 
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------











^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Can't block pop3 attack
  2009-10-23 19:49 [gentoo-user] Can't block pop3 attack Robin Atwood
@ 2009-10-23 20:57 ` Alan McKinnon
  2009-10-24  9:39   ` Robin Atwood
  0 siblings, 1 reply; 4+ messages in thread
From: Alan McKinnon @ 2009-10-23 20:57 UTC (permalink / raw
  To: gentoo-user

On Friday 23 October 2009 21:49:42 Robin Atwood wrote:
> My syslog is showing zillions of messages:
> 
> Oct 24 02:25:58 opal xinetd[8054]: START: pop-3 pid=16534
>  from=61.134.64.199 Oct 24 02:25:59 opal xinetd[16534]: warning:
>  /etc/hosts.allow, line 7: can't verify hostname:
>  gethostbyname(199.64.134.61.broad.gs.dynamic.163data.com.cn) failed
> Oct 24 02:26:09 opal xinetd[8054]: EXIT: pop-3 status=0 pid=16534
> duration=11(sec)
> 
> I run denyhosts but don't trap pop3 messages so I manually added the IP
> address to /etc/hosts.deny and..., it made absolutely no difference. I run
> qpopper which is compiled with xinetd support and xinetd uses tcpd, so I
> assumed the address would be blocked. Apparently not so. Any ideas?


You have allow ALL ALL early in hosts.allow, or
you have allow pop3 all earlier in hosts.allow 

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Can't block pop3 attack
  2009-10-23 20:57 ` Alan McKinnon
@ 2009-10-24  9:39   ` Robin Atwood
  2009-10-24 23:02     ` kashani
  0 siblings, 1 reply; 4+ messages in thread
From: Robin Atwood @ 2009-10-24  9:39 UTC (permalink / raw
  To: gentoo-user

On Saturday 24 October 2009, Alan McKinnon wrote:
> On Friday 23 October 2009 21:49:42 Robin Atwood wrote:
> > My syslog is showing zillions of messages:
> >
> > Oct 24 02:25:58 opal xinetd[8054]: START: pop-3 pid=16534
> >  from=61.134.64.199 Oct 24 02:25:59 opal xinetd[16534]: warning:
> >  /etc/hosts.allow, line 7: can't verify hostname:
> >  gethostbyname(199.64.134.61.broad.gs.dynamic.163data.com.cn) failed
> > Oct 24 02:26:09 opal xinetd[8054]: EXIT: pop-3 status=0 pid=16534
> > duration=11(sec)
> >
> > I run denyhosts but don't trap pop3 messages so I manually added the IP
> > address to /etc/hosts.deny and..., it made absolutely no difference. I
> > run qpopper which is compiled with xinetd support and xinetd uses tcpd,
> > so I assumed the address would be blocked. Apparently not so. Any ideas?
> 
> You have allow ALL ALL early in hosts.allow, or
> you have allow pop3 all earlier in hosts.allow
 
The second! I had forgotten about that. The trouble I set it up that way so I 
could pick up email from arbitrary locations while travelling. It seems the 
price of that is allowing idiots to spam your logs. 

Thanks for the pointer.
-Robin
-- 
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------











^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Can't block pop3 attack
  2009-10-24  9:39   ` Robin Atwood
@ 2009-10-24 23:02     ` kashani
  0 siblings, 0 replies; 4+ messages in thread
From: kashani @ 2009-10-24 23:02 UTC (permalink / raw
  To: gentoo-user

Robin Atwood wrote:
> On Saturday 24 October 2009, Alan McKinnon wrote:
>> On Friday 23 October 2009 21:49:42 Robin Atwood wrote:
>>> My syslog is showing zillions of messages:
>>>
>>> Oct 24 02:25:58 opal xinetd[8054]: START: pop-3 pid=16534
>>>  from=61.134.64.199 Oct 24 02:25:59 opal xinetd[16534]: warning:
>>>  /etc/hosts.allow, line 7: can't verify hostname:
>>>  gethostbyname(199.64.134.61.broad.gs.dynamic.163data.com.cn) failed
>>> Oct 24 02:26:09 opal xinetd[8054]: EXIT: pop-3 status=0 pid=16534
>>> duration=11(sec)
>>>
>>> I run denyhosts but don't trap pop3 messages so I manually added the IP
>>> address to /etc/hosts.deny and..., it made absolutely no difference. I
>>> run qpopper which is compiled with xinetd support and xinetd uses tcpd,
>>> so I assumed the address would be blocked. Apparently not so. Any ideas?
>> You have allow ALL ALL early in hosts.allow, or
>> you have allow pop3 all earlier in hosts.allow
>  
> The second! I had forgotten about that. The trouble I set it up that way so I 
> could pick up email from arbitrary locations while travelling. It seems the 
> price of that is allowing idiots to spam your logs. 
> 
> Thanks for the pointer.
> -Robin

You might think about moving to pop3-ssl or imap-ssl and dropping the 
unencrypted protocols. Usually keeps people from banging on the servers 
and much safer if you use the occasional unsecured wireless network.

kashani



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-24 23:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-23 19:49 [gentoo-user] Can't block pop3 attack Robin Atwood
2009-10-23 20:57 ` Alan McKinnon
2009-10-24  9:39   ` Robin Atwood
2009-10-24 23:02     ` kashani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox