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

Add ability to block all wireguard traffic #7850

Draft
wants to merge 1 commit into
base: ios-test-router
Choose a base branch
from

Conversation

kl
Copy link
Contributor

@kl kl commented Mar 20, 2025

Note: the base branch of this PR is ios-test-router which is not yet merged to main.

Adds a new API endpoint (POST /block-wireguard) to drop all UDP Wireguard traffic by checking if first byte for a valid message type (1, 2, 3, or 4) and checks that the next three reserved bytes are zero.


This change is Reviewable

@kl kl requested a review from pinkisemils March 20, 2025 10:18
@kl kl added the Android Issues related to Android label Mar 20, 2025
Copy link
Contributor

@Rawa Rawa left a comment

Choose a reason for hiding this comment

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

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Issues related to Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants