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

refactor: move IP validation to the PacketListener #229

Open
wants to merge 84 commits into
base: master
Choose a base branch
from

Conversation

sbruens
Copy link

@sbruens sbruens commented Jan 22, 2025

No description provided.

This will allow us to re-use the handling of packets in the Caddy
server where serving is handled separately.
Instead, make the connection an association by wrapping it with the
client address and pass that to the `Handle()` function. Each connection
will call `Handle()` only once.
@sbruens sbruens marked this pull request as ready for review January 22, 2025 22:23
@sbruens sbruens requested a review from a team as a code owner January 22, 2025 22:23
@sbruens sbruens requested a review from fortuna January 22, 2025 22:23
internal/integration_test/integration_test.go Outdated Show resolved Hide resolved
service/udp.go Show resolved Hide resolved
service/udp.go Show resolved Hide resolved
service/udp.go Outdated Show resolved Hide resolved
@sbruens sbruens requested a review from fortuna January 24, 2025 19:42
Base automatically changed from sbruens/udp-split-serving to master January 24, 2025 22:31
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.

2 participants