public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] User & password scanning on pop3
@ 2010-06-17  0:26 Rod
  2010-06-17  0:59 ` Alex Schuster
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Rod @ 2010-06-17  0:26 UTC (permalink / raw
  To: gentoo-user

     Hi,

     Does anyone know how to block, or auto programs in Gentoo to limit 
or stop people scanning for a user/password hacking on your firewall?

     Besides disabling those ports, I still need the port accessable 
from the outside, and I guess they'd just try imap if pop was blocked.

     I'm running iptables, postfix & courier

     This has been ongoing in excess of 12 Hrs now...

> Jun 17 10:25:20 jumpgate pop3d: Connection, ip=[::ffff:93.186.195.234]
> Jun 17 10:25:21 jumpgate pop3d: LOGIN FAILED, user=dave, 
> ip=[::ffff:93.186.195.234]
> Jun 17 10:25:26 jumpgate pop3d: Disconnected, ip=[::ffff:93.186.195.234]
> Jun 17 10:25:27 jumpgate pop3d: Connection, ip=[::ffff:93.186.195.234]
> Jun 17 10:25:27 jumpgate pop3d: LOGIN FAILED, user=dave, 
> ip=[::ffff:93.186.195.234]
> Jun 17 10:25:33 jumpgate pop3d: Disconnected, ip=[::ffff:93.186.195.234]
> Jun 17 10:25:33 jumpgate pop3d: Connection, ip=[::ffff:93.186.195.234]
> Jun 17 10:25:34 jumpgate pop3d: LOGIN FAILED, user=dave, 
> ip=[::ffff:93.186.195.234]
> Jun 17 10:25:39 jumpgate pop3d: Disconnected, ip=[::ffff:93.186.195.234]
> Jun 17 10:25:39 jumpgate pop3d: Connection, ip=[::ffff:93.186.195.234]
> Jun 17 10:25:40 jumpgate pop3d: LOGIN FAILED, user=dave, 
> ip=[::ffff:93.186.195.234]
> Jun 17 10:25:45 jumpgate pop3d: Disconnected, ip=[::ffff:93.186.195.234]
> Jun 17 10:25:46 jumpgate pop3d: Connection, ip=[::ffff:93.186.195.234]
> Jun 17 10:25:46 jumpgate pop3d: LOGIN FAILED, user=dave, 
> ip=[::ffff:93.186.195.234]
> Jun 17 10:25:52 jumpgate pop3d: Disconnected, ip=[::ffff:93.186.195.234]
> Jun 17 10:25:52 jumpgate pop3d: Connection, ip=[::ffff:93.186.195.234]
> Jun 17 10:25:53 jumpgate pop3d: LOGIN FAILED, user=dave, 
> ip=[::ffff:93.186.195.234]
> Jun 17 10:25:58 jumpgate pop3d: Disconnected, ip=[::ffff:93.186.195.234]
> Jun 17 10:25:58 jumpgate pop3d: Connection, ip=[::ffff:93.186.195.234]
> Jun 17 10:25:59 jumpgate pop3d: LOGIN FAILED, user=dave, 
> ip=[::ffff:93.186.195.234]
> Jun 17 10:26:04 jumpgate pop3d: Disconnected, ip=[::ffff:93.186.195.234]
> Jun 17 10:26:05 jumpgate pop3d: Connection, ip=[::ffff:93.186.195.234]




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

* Re: [gentoo-user] User & password scanning on pop3
  2010-06-17  0:26 [gentoo-user] User & password scanning on pop3 Rod
@ 2010-06-17  0:59 ` Alex Schuster
  2010-06-17 10:02 ` [gentoo-user] " Tobias R
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Alex Schuster @ 2010-06-17  0:59 UTC (permalink / raw
  To: gentoo-user

Rod writes:

>      Does anyone know how to block, or auto programs in Gentoo to limit
> or stop people scanning for a user/password hacking on your firewall?

I am using net-analyzer/fail2ban. That can block an IP after some 
unsuccessful login attempts. This helps a lot, but not against bot nets, 
when every host tries for two times only.

>      Besides disabling those ports, I still need the port accessable
> from the outside, and I guess they'd just try imap if pop was blocked.

Could you change the port to something unusual, like 1100?

	Wonko



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

* [gentoo-user] Re: User & password scanning on pop3
  2010-06-17  0:26 [gentoo-user] User & password scanning on pop3 Rod
  2010-06-17  0:59 ` Alex Schuster
@ 2010-06-17 10:02 ` Tobias R
  2010-06-17 12:30   ` Adam
  2010-06-20 23:43 ` [gentoo-user] " kashani
  2010-06-21  0:13 ` Rod
  3 siblings, 1 reply; 8+ messages in thread
From: Tobias R @ 2010-06-17 10:02 UTC (permalink / raw
  To: Rod

>      Hi,
>      Does anyone know how to block, or auto programs in Gentoo to
>      limit 
> or stop people scanning for a user/password hacking on your
> firewall? 

You may want to have a look at iptables and hashlimit, e.g. [1] (please 
note that I never tried this by myself).

1. http://seclists.org/fulldisclosure/2006/Feb/702

Tobias



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

* Re: [gentoo-user] Re: User & password scanning on pop3
  2010-06-17 10:02 ` [gentoo-user] " Tobias R
@ 2010-06-17 12:30   ` Adam
  0 siblings, 0 replies; 8+ messages in thread
From: Adam @ 2010-06-17 12:30 UTC (permalink / raw
  To: gentoo-user

>>      Does anyone know how to block, or auto programs in Gentoo to
>>      limit 
>> or stop people scanning for a user/password hacking on your
>> firewall? 

fail2ban



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

* Re: [gentoo-user] User & password scanning on pop3
  2010-06-17  0:26 [gentoo-user] User & password scanning on pop3 Rod
  2010-06-17  0:59 ` Alex Schuster
  2010-06-17 10:02 ` [gentoo-user] " Tobias R
@ 2010-06-20 23:43 ` kashani
  2010-06-21  0:06   ` deface
  2010-06-21  0:13 ` Rod
  3 siblings, 1 reply; 8+ messages in thread
From: kashani @ 2010-06-20 23:43 UTC (permalink / raw
  To: gentoo-user

On 6/16/2010 5:26 PM, Rod wrote:
>   Hi,
>
> Does anyone know how to block, or auto programs in Gentoo to limit or
> stop people scanning for a user/password hacking on your firewall?
>
> Besides disabling those ports, I still need the port accessable from the
> outside, and I guess they'd just try imap if pop was blocked.
>
> I'm running iptables, postfix & courier

	Have you considered changing over to pop3-ssl and imap-ssl? I fully 
switched over about six years ago and nearly every job I've had since 
has used SSL as well. I'd still recommend plain imap to be open on 
localhost for webmail to interact with it, but you should have far less 
problems. And less change of sniffers pulling user/pass from wireless 
connections in cafes.

kashani



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

* Re: [gentoo-user] User & password scanning on pop3
  2010-06-20 23:43 ` [gentoo-user] " kashani
@ 2010-06-21  0:06   ` deface
  2010-06-21  5:27     ` kashani
  0 siblings, 1 reply; 8+ messages in thread
From: deface @ 2010-06-21  0:06 UTC (permalink / raw
  To: gentoo-user



On Jun 20, 2010, at 6:43 PM, kashani wrote:

> On 6/16/2010 5:26 PM, Rod wrote:
>>  Hi,
>> 
>> Does anyone know how to block, or auto programs in Gentoo to limit or
>> stop people scanning for a user/password hacking on your firewall?
>> 
>> Besides disabling those ports, I still need the port accessable from the
>> outside, and I guess they'd just try imap if pop was blocked.
>> 
>> I'm running iptables, postfix & courier
> 
> 	Have you considered changing over to pop3-ssl and imap-ssl? I fully switched over about six years ago and nearly every job I've had since has used SSL as well. I'd still recommend plain imap to be open on localhost for webmail to interact with it, but you should have far less problems. And less change of sniffers pulling user/pass from wireless connections in cafes.
> 
> kashani
> 
> 
> -- 
> Powered by Flux Labs
> http://www.fluxlabs.net
> 


Try fail2ban


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

* Re: [gentoo-user] User & password scanning on pop3
  2010-06-17  0:26 [gentoo-user] User & password scanning on pop3 Rod
                   ` (2 preceding siblings ...)
  2010-06-20 23:43 ` [gentoo-user] " kashani
@ 2010-06-21  0:13 ` Rod
  3 siblings, 0 replies; 8+ messages in thread
From: Rod @ 2010-06-21  0:13 UTC (permalink / raw
  To: gentoo-user

On 17/06/2010 10:26 AM, Rod wrote:
>     Hi,
>
>     Does anyone know how to block, or auto programs in Gentoo to limit 
> or stop people scanning for a user/password hacking on your firewall?


     Hi,

     Just a update, I found the program I had running "Fail2Ban" was 
broken, so I have fixed that, but also closed off the pop3 server for 
non "SSL" traffic...


     pop3 - closed
     pop3-ssl - open    certificates issued to both SSL users (pop/imap)
     imap-ssl open



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

* Re: [gentoo-user] User & password scanning on pop3
  2010-06-21  0:06   ` deface
@ 2010-06-21  5:27     ` kashani
  0 siblings, 0 replies; 8+ messages in thread
From: kashani @ 2010-06-21  5:27 UTC (permalink / raw
  To: gentoo-user

On 6/20/2010 5:06 PM, deface wrote:

> Try fail2ban

How about reading the whole thread before posting a one liner?

kashani



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

end of thread, other threads:[~2010-06-21  6:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-17  0:26 [gentoo-user] User & password scanning on pop3 Rod
2010-06-17  0:59 ` Alex Schuster
2010-06-17 10:02 ` [gentoo-user] " Tobias R
2010-06-17 12:30   ` Adam
2010-06-20 23:43 ` [gentoo-user] " kashani
2010-06-21  0:06   ` deface
2010-06-21  5:27     ` kashani
2010-06-21  0:13 ` Rod

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