Skip to content

Commit

Permalink
update pure-ftpd TLS cipher preference for .08 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed Feb 14, 2015
1 parent ee5b3b2 commit afaed31
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion inc/pureftpd.inc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ pureftpinstall() {
sed -i 's/#CreateHomeDir yes/CreateHomeDir yes/' /etc/pure-ftpd/pure-ftpd.conf
sed -i 's/# TLS 1/TLS 2/' /etc/pure-ftpd/pure-ftpd.conf
sed -i 's/# PassivePortRange 30000 50000/PassivePortRange 3000 3050/' /etc/pure-ftpd/pure-ftpd.conf


# ensure TLS Cipher preference protects against poodle attacks
sed -i 's/# TLSCipherSuite HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3/TLSCipherSuite HIGH:MEDIUM:+TLSv1:!SSLv2:!SSLv3/' /etc/pure-ftpd/pure-ftpd.conf

echo "generating self-signed ssl certificate..."
echo "FTP client needs to use FTP (explicit SSL) mode"
echo "to connect to server's main ip address on port 21"
Expand Down

0 comments on commit afaed31

Please sign in to comment.