Skip to content

Commit

Permalink
Fix for FREAK SSL vulnerability
Browse files Browse the repository at this point in the history
This fix pushes selected set of secure ciphers into
haproxy config file

Change-Id: Idfc11ce0411024e7154d3b2c46a095fb4f80337d
Closes-Bug: #1477400
  • Loading branch information
Varun Lodaya authored and Varun Lodaya committed Jul 23, 2015
1 parent 35c2cc5 commit 488f753
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -51,7 +51,12 @@ def _set_global_config(config, sock_path):
'user nobody',
'group nogroup',
'log /dev/log local0',
'log /dev/log local1 notice'
'log /dev/log local1 notice',
'tune.ssl.default-dh-param 2048',
'ssl-default-bind-ciphers ECDH+AESGCM:' \
'DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:' \
'DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:' \
'RSA+3DES:!aNULL:!MD5:!DSS'
]
conf.append('stats socket %s mode 0666 level user' % sock_path)
return ("\n\t".join(conf))
Expand Down

0 comments on commit 488f753

Please sign in to comment.