ClearFoundation Tracker - ClearOS
View Issue Details
0022661ClearOSapp-attack-detector - Attack Detectorpublic2019-01-05 07:462021-11-09 05:43
NickH 
 
highminoralways
closedfixed 
7.5.0 Updates 
7.5.0 Updates7.5.0 Updates 
0022661: Fix for 22261 needs to check if the clearos-cyrus-imap.conf file exists
The fix for #22261did not check for the existence of /etc/fail2ban/jail.d/clearos-cyrus-imap.conf. If it did not exist, the ports line gets pushed to /etc/fail2ban/jail.d/clearos-cyrus-imap.conf which is an invalid file as it only contains the single line.

The fix checks if the file exists before adding the line. If the file exists and the line [cyrus-imap] does not exist, then the file is faulty and was caused by the first fix to 22261 which wrongly created the file. In this case remove the file and remove the update state file as well.
No tags attached.
Issue History
2019-01-05 07:46NickHNew Issue
2019-01-05 07:46NickHStatusnew => assigned
2019-01-05 07:46NickHAssigned To => NickH
2019-01-15 03:58NickHNote Added: 0008761
2019-01-15 04:01NickHNote Added: 0008771
2019-02-01 12:26NickHStatusassigned => resolved
2019-02-01 12:26NickHFixed in Version => 7.5.0 Updates
2019-02-01 12:26NickHResolutionopen => fixed
2021-11-09 05:43NickHStatusresolved => closed
2021-11-09 05:43NickHAssigned ToNickH =>

Notes
(0008761)
NickH   
2019-01-15 03:58   
Fixed by commits:
https://gitlab.com/clearos/clearfoundation/app-attack-detector/commit/19c5475d30e0366e3e840656b90a41df763a74ad [^]
https://gitlab.com/clearos/clearfoundation/app-attack-detector/commit/a44a600530773f3a3c791beefc214c4ab462fcce [^]
(0008771)
NickH   
2019-01-15 04:01   
The fix to 22611 has been removed from app-attack-detector and is now done in app-imap