CSF V2.87 not blocking IP whith POP3-SSL

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
Marc
Junior Member
Posts: 3
Joined: 13 Aug 2007, 15:51

CSF V2.87 not blocking IP whith POP3-SSL

Post by Marc »

Hi,

CSF is configured to block IP after 5 attempts to POP3 with these values :
LF_POP3D = 5
LF_POP3D_PERM = 900

This works fine when using the POP standard port 110

When i switch to POP3-SSL using port 995, CSF doesn't detect POP failed login.

Here the content of maillog file :
Aug 13 16:45:36 looping pop3d-ssl: LOGIN FAILED, user=xxx-yyy@domain_name.info, ip=[::ffff:81.246.242.199]
Aug 13 16:45:41 looping pop3d-ssl: LOGOUT, ip=[::ffff:81.246.242.199]
Aug 13 16:45:57 looping pop3d-ssl: LOGIN FAILED, user=xxx-yyy@domain_name.info, ip=[::ffff:81.246.242.199]
Aug 13 16:46:02 looping pop3d-ssl: LOGOUT, ip=[::ffff:81.246.242.199]
Aug 13 16:46:18 looping pop3d-ssl: LOGIN FAILED, user=xxx-yyy@domain_name.info, ip=[::ffff:81.246.242.199]
Aug 13 16:46:23 looping pop3d-ssl: LOGOUT, ip=[::ffff:81.246.242.199]
Aug 13 16:46:32 looping pop3d-ssl: LOGIN FAILED, user=xxx-yyy@domain_name.info, ip=[::ffff:81.246.242.199]
Aug 13 16:46:37 looping pop3d-ssl: LOGOUT, ip=[::ffff:81.246.242.199]
Aug 13 16:46:45 looping pop3d-ssl: LOGIN FAILED, user=xxx-yyy@domain_name.info, ip=[::ffff:81.246.242.199]
Aug 13 16:46:50 looping pop3d-ssl: LOGOUT, ip=[::ffff:81.246.242.199]
Aug 13 16:46:56 looping pop3d-ssl: LOGIN FAILED, user=xxx-yyy@domain_name.info, ip=[::ffff:81.246.242.199]
Aug 13 16:47:01 looping pop3d-ssl: LOGOUT, ip=[::ffff:81.246.242.199]


Any ideas ?

Regards,

marc
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

The regex's aren't checking for POP3 access over SSL (or IMAP over SSL for that matter).

I'll look at crafting some and will post and/or release in the next version.
Post Reply