hi,
how could I make warning.txt file and fail2ban.log file date format the same?
It's essential to run fail2ban for CCcam.
/var/log/warning.txt :
Date format:
hour:minute:second
Code
23:54:22.663 Connection from IP: **.252.119.183 Login Failed!
[COLOR='#FF0000']23:54:23.129[/COLOR] Connection from IP: 2.**.49.127 Login Failed!
[COLOR='#FF0000']23:54:25.306[/COLOR] Connection from IP: 94.**.59.146 Login Failed!
[COLOR='#FF0000']23:54:25.533[/COLOR] Connection from IP: 83.**.221.172 Login Failed!
[COLOR='#FF0000']23:54:28.402[/COLOR] Connection from IP: 82.**.127.149 Login Failed!
[COLOR='#FF0000']23:54:28.405[/COLOR] Connection from IP: 82.**.105.216 Login Failed!
[COLOR='#FF0000']23:54:29.100[/COLOR] Connection from IP: 86.**.144.154 Login Failed!
/var/log/fail2ban.log :
Date format:
year-month-day hour:minute:second
Code
[COLOR='#FF0000']2012-02-14 19:14:43,007 [/COLOR]fail2ban.actions: WARNING [ssh] Ban **.129.227.211
[COLOR='#FF0000']2012-02-14 19:24:43,933[/COLOR] fail2ban.actions: WARNING [ssh] Unban **.129.227.211
[COLOR='#FF0000']2012-02-14 22:15:30,179 [/COLOR]fail2ban.actions: WARNING [ssh] Ban **.63.249.42
2012-02-14 22:25:31,019 fail2ban.actions: WARNING [ssh] Unban **.63.249.42
2012-02-14 22:51:50,707 fail2ban.filter : INFO Log rotation detected for /var/log/auth.log
2012-02-14 23:00:01,362 fail2ban.filter : INFO Log rotation detected for /var/log/auth.log
thanks in advance
Hislitermos