-
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
[HAPROXY] use $SOURCEIP instead of $PROXIED_SRCIP #361
Open
bazsi
wants to merge
25
commits into
axoflow:main
Choose a base branch
from
bazsi:haproxy-use-sourceip-instead-of-proxied-srcip
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[HAPROXY] use $SOURCEIP instead of $PROXIED_SRCIP #361
bazsi
wants to merge
25
commits into
axoflow:main
from
bazsi:haproxy-use-sourceip-instead-of-proxied-srcip
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bazsi
force-pushed
the
haproxy-use-sourceip-instead-of-proxied-srcip
branch
2 times, most recently
from
November 2, 2024 21:09
cdfd3b6
to
c2c1e8f
Compare
bazsi
force-pushed
the
haproxy-use-sourceip-instead-of-proxied-srcip
branch
3 times, most recently
from
November 9, 2024 20:51
536951a
to
58f020f
Compare
This Pull Request introduces config grammar changesaxoflow/9d25570002aaa3c97d7275d119270bd68a6b45d2 -> bazsi/haproxy-use-sourceip-instead-of-proxied-srcip --- a/destination
+++ b/destination
network(
transport(
+ auto
)
)
syslog(
transport(
+ auto
)
)
--- a/source
+++ b/source
network(
transport(
+ auto
)
)
syslog(
transport(
+ auto
)
)
|
bazsi
force-pushed
the
haproxy-use-sourceip-instead-of-proxied-srcip
branch
from
November 11, 2024 19:51
58f020f
to
dff7494
Compare
…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]>
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]>
Signed-off-by: Balazs Scheidler <[email protected]>
…instance Instead of going to the fd directly, wrap the lower-level LogTransport instance into a BIO and use that. This implements proper stacking for LogTransportTLS. Signed-off-by: Balazs Scheidler <[email protected]>
…ransportStack Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
…rtStack level Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
Instead of using proxy protocol specific name value pairs, set the addresses in the message's saddr/daddr members. This should be a lot faster and a lot easier to use. Signed-off-by: Balazs Scheidler <[email protected]>
bazsi
force-pushed
the
haproxy-use-sourceip-instead-of-proxied-srcip
branch
from
December 3, 2024 17:15
dff7494
to
672e0c2
Compare
…resses Signed-off-by: Balazs Scheidler <[email protected]>
…e_index Signed-off-by: Balazs Scheidler <[email protected]>
…e message Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
bazsi
force-pushed
the
haproxy-use-sourceip-instead-of-proxied-srcip
branch
from
December 3, 2024 17:30
672e0c2
to
1c9e896
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an incompatible change, but the old behaviour is rather confusing and difficult to use. The incompatiblity only
affects connections that are coming via a proxy. In that case $PROXIED_SRCIP and friends are not going to be set,
but $SOURCEIP, $DESTIP and $DESTPORT will be present instead.