Skip to content

Conversation

@bplessis-swi
Copy link
Contributor

@bplessis-swi bplessis-swi commented Oct 31, 2025

Provide a DatagramSocket compatible sub-class that automatically process the ProxyProtocol header.

Support:

  • An optional IP-cache data structure to dynamically replace the proxy IP with the client IP in the DatagramPacket
  • An optional metric interface for storing performance statistics
  • A predicate to conditionally enable ProxyProtocol processing only for some sources

Copy link
Contributor

@sbernard31 sbernard31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also have some naming doubt but not a big deal could be eventually improved later.

Base automatically changed from RAV-2958 to main November 25, 2025 09:20
@bplessis-swi bplessis-swi force-pushed the RAV-2958_add_udp_socket branch from 535221f to e250c97 Compare November 25, 2025 09:46
@bplessis-swi bplessis-swi marked this pull request as ready for review November 27, 2025 18:59
bplessis-swi and others added 2 commits December 1, 2025 11:25
…ProxyDatagramSocketUnTrustedProxyTest.java

Co-authored-by: cthirouin <113358856+cthirouin-swi@users.noreply.github.com>
@bplessis-swi bplessis-swi merged commit 5b0eef9 into main Dec 2, 2025
6 checks passed
@bplessis-swi bplessis-swi deleted the RAV-2958_add_udp_socket branch December 2, 2025 14:49
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.

4 participants