-
Notifications
You must be signed in to change notification settings - Fork 481
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
Conversation
Build SUCCESS |
I am yet to be convinced that CRIME applies to syslog, and at one point it
was explicitly requested to allow compression in one way or the other, and
ssl was the solution.
So in what way are we vulnerable to crime? And can you point me how this
was fixed in openssl in distros? I would even argue to make it possible to
enable compression even if its disabled by default.
Ssl is not just for http.
Bazsi
…On Wed, Oct 24, 2018, 17:17 furiel ***@***.***> wrote:
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. However the default compression setting should
be disabled by default to avoid CRIME vulnerability.
This patchset explicitely disables tls compression to be sure.
This PR has minor impact: distributions typically provide non-vulnerable
openssl binaries.
------------------------------
You can view, comment on, or merge this pull request online at:
#2372
Commit Summary
- tlscontext: compression setting function made to public
- transport-mapper-inet: disable tls compression
File Changes
- *M* lib/tlscontext.c
<https://github.com/balabit/syslog-ng/pull/2372/files#diff-0> (13)
- *M* lib/tlscontext.h
<https://github.com/balabit/syslog-ng/pull/2372/files#diff-1> (1)
- *M* lib/transport/transport-factory-tls.c
<https://github.com/balabit/syslog-ng/pull/2372/files#diff-2> (16)
- *M* modules/afsocket/transport-mapper-inet.c
<https://github.com/balabit/syslog-ng/pull/2372/files#diff-3> (1)
Patch Links:
- https://github.com/balabit/syslog-ng/pull/2372.patch
- https://github.com/balabit/syslog-ng/pull/2372.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2372>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AArldjfef73tXBCTnrqdw4sYW7QDVikbks5uoISMgaJpZM4X4Kf8>
.
|
@bazsi : |
Build SUCCESS |
@kira-syslogng test this please test branch=micek_allow_compress; |
Build SUCCESS |
1 similar comment
Build SUCCESS |
Build SUCCESS |
Build SUCCESS |
Build SUCCESS |
Build SUCCESS |
Signed-off-by: Antal Nemes <[email protected]>
Signed-off-by: Antal Nemes <[email protected]>
Signed-off-by: Antal Nemes <[email protected]>
Signed-off-by: Antal Nemes <[email protected]>
Build SUCCESS |
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.