-
Notifications
You must be signed in to change notification settings - Fork 17
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
Implement rfc6587 auto detection #154
Implement rfc6587 auto detection #154
Conversation
98435b3
to
c728d0a
Compare
c728d0a
to
902b563
Compare
902b563
to
6c992ba
Compare
This should wait until #156 is merged. |
6c992ba
to
e87919d
Compare
I have now rebased it but still need to check if it works on top of #156 |
e87919d
to
85788fb
Compare
#156 is now merged, I think we can give this another go (rebase, CI, review, ...) |
85788fb
to
7fcd8d2
Compare
eec5d17
to
09b5751
Compare
This should now be ready for review. Note: there's a followup PR as well, #361 |
6ab04f3
to
594de7b
Compare
I have now opted out of doing this by default. The auto-detection mechanism is only enabled with transport(auto) |
594de7b
to
ba0325e
Compare
This Pull Request introduces config grammar changesaxoflow/9d25570002aaa3c97d7275d119270bd68a6b45d2 -> bazsi/implement-rfc6587-auto-detection --- a/destination
+++ b/destination
network(
transport(
+ auto
)
)
syslog(
transport(
+ auto
)
)
--- a/source
+++ b/source
network(
transport(
+ auto
)
)
syslog(
transport(
+ auto
)
)
|
ba0325e
to
fa94fef
Compare
I've started reviewing this patchset, will finish it by the end of the week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've reviewed this and tested it manually as well, worked just fine 🚀.
Is there a reason why it's still marked as WIP
?
…e is 0 Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
…ogTransport instances Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
fa94fef
to
6e2ae10
Compare
Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
…lected Signed-off-by: Balazs Scheidler <[email protected]>
This is just the change in test code, which adds LogProtoServer ** arguments to the handshake related functions, in order to allow log_proto_server_handshake to change the LogProto instance. Signed-off-by: Balazs Scheidler <[email protected]>
This can be used to simplify LogProtoAutoServer. Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
6e2ae10
to
25d6834
Compare
I pulled some of the later commits into this one, rebased against main and removed WIP. @OverOrion if you can please re-approve, but note that I did pull in some newer changes into this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 🚀
This is a pretty common misconfiguration that should be handled automatically.
Just use syslog(transport(auto)) to automatically accept both octet counted and non-octet counted connections, this opens a TCP port without TLS, meaning it is an implementation of RFC6587.