proftpd 'check server security' minor bug fix
Posted: 15 Nov 2009, 05:53
I believe I may have fixed a minor bug in the "Check Server Security" script. On my server at least, the "Check proftpd weak SSL/TLS Ciphers" test was giving a false positive. I managed to track down the issue to the regexp on line 645 of servercheck.pm.
on my server, works better as:
Note the added colon. Without it the $ciphers var never gets populated which sets $status to 1 causing the false pos.
(My /var/cpanel/conf/proftpd/main looks like this)
Code: Select all
/TLSCipherSuite\s+(.*)$/
Code: Select all
/TLSCipherSuite:\s+(.*)$/
(My /var/cpanel/conf/proftpd/main looks like this)
Code: Select all
---
MaxInstances: none
TLSCipherSuite: HIGH:MEDIUM:+TLSv1:+SSLv3:-SSLv2
TLSRequired: 'off'
TimeoutIdle: 600
cPanelAnonymousAccessAllowed: 'yes'