mistypotato
March 16th, 2009, 11:37 PM
Hi,
bantime in fail2ban is designated in seconds.
So, a 10 minute ban would be set by setting bantime to 600.
I have Fail2ban set to 259200 seconds for bantime on vsftpd yet it's unbanning after just 26 seconds.
It appears that fail2ban may have a 3 digit limit on bantimes because it it rounding my 3 day bantime (60sec x 60min) = 3600secs/hr x 24 = 86400secs/day x 3days = 259200 seconds
I'll bet this is one of those times I'm doing something so obvious that I cannot see it :P
Anyone with brain cells left wanna help me out here :P
bantime in fail2ban is designated in seconds.
So, a 10 minute ban would be set by setting bantime to 600.
I have Fail2ban set to 259200 seconds for bantime on vsftpd yet it's unbanning after just 26 seconds.
It appears that fail2ban may have a 3 digit limit on bantimes because it it rounding my 3 day bantime (60sec x 60min) = 3600secs/hr x 24 = 86400secs/day x 3days = 259200 seconds
I'll bet this is one of those times I'm doing something so obvious that I cannot see it :P
Anyone with brain cells left wanna help me out here :P