Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tls: disable ssl compression by default #2372

Merged
merged 4 commits into from
Nov 28, 2018
Merged

Conversation

furiel
Copy link
Collaborator

@furiel furiel commented Oct 24, 2018

Currently syslog-ng does not change the tls compression setting of tls transport. This means the default setting depends on the patch level and compile options of openssl. H̶o̶w̶e̶v̶e̶r̶ ̶t̶h̶e̶ ̶d̶e̶f̶a̶u̶l̶t̶ ̶c̶o̶m̶p̶r̶e̶s̶s̶i̶o̶n̶ ̶s̶e̶t̶t̶i̶n̶g̶ ̶s̶h̶o̶u̶l̶d̶ ̶b̶e̶ ̶d̶i̶s̶a̶b̶l̶e̶d̶ ̶b̶y̶ ̶d̶e̶f̶a̶u̶l̶t̶ ̶t̶o̶ ̶a̶v̶o̶i̶d̶ ̶C̶R̶I̶M̶E̶ ̶v̶u̶l̶n̶e̶r̶a̶b̶i̶l̶i̶t̶y̶.̶ Edit: syslog-ng is not vulnerable to CRIME.

T̶h̶i̶s̶ ̶p̶a̶t̶c̶h̶s̶e̶t̶ ̶e̶x̶p̶l̶i̶c̶i̶t̶e̶l̶y̶ ̶d̶i̶s̶a̶b̶l̶e̶s̶ ̶t̶l̶s̶ ̶c̶o̶m̶p̶r̶e̶s̶s̶i̶o̶n̶ ̶t̶o̶ ̶b̶e̶ ̶s̶u̶r̶e̶.̶
This patchset makes tls compression configurable, with disabled by default.

Note: allow-compress(yes) does not necessarily mean the session will be compressed. It only means endpoints are allowed to choose tls compression during negotiation. For example if the openssl is compiled without zlib either on the local or the remote side, compression will not happen.

@kira-syslogng
Copy link
Contributor

Build SUCCESS

@bazsi
Copy link
Collaborator

bazsi commented Oct 24, 2018 via email

@lbudai
Copy link
Collaborator

lbudai commented Oct 26, 2018

@bazsi :
I think, syslog-ng is not vulnerable to CRIME. On the other hand, I don't see any problem if someone need to explicitly set the allow-compression flag... (especially if newest OpenSSLs are built without compression support by distros; just check CONFARGS in debian/rules : https://launchpad.net/ubuntu/+source/openssl/1.1.0g-2ubuntu4.1, they are using no-zlib option ). As I understand, users can still set the allow-compress flag, but they need to set it manually.

@furiel furiel changed the title tls: disable ssl compression by default [WIP] tls: disable ssl compression by default Oct 29, 2018
@kira-syslogng
Copy link
Contributor

Build SUCCESS

@furiel
Copy link
Collaborator Author

furiel commented Oct 29, 2018

@kira-syslogng test this please test branch=micek_allow_compress;

@kira-syslogng
Copy link
Contributor

Build SUCCESS

1 similar comment
@kira-syslogng
Copy link
Contributor

Build SUCCESS

@kira-syslogng
Copy link
Contributor

Build SUCCESS

@kira-syslogng
Copy link
Contributor

Build SUCCESS

@kira-syslogng
Copy link
Contributor

Build SUCCESS

@gaborznagy gaborznagy added this to the OSE 3.19 milestone Nov 26, 2018
@furiel furiel changed the title [WIP] tls: disable ssl compression by default tls: disable ssl compression by default Nov 26, 2018
@kira-syslogng
Copy link
Contributor

Build SUCCESS

@kira-syslogng
Copy link
Contributor

Build SUCCESS

@szemere szemere self-requested a review November 28, 2018 09:47
@furiel furiel merged commit bc5dd38 into syslog-ng:master Nov 28, 2018
@furiel furiel deleted the ssl-compress branch November 5, 2019 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants