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

Disregard route if update is a subnet of tun's address #676

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 8, 2023

  1. Disregard route if update is a subnet of tun's address.

    As the tun_ip is derived from dns_block, set the tun's address prefix
    length equal to dns_block prefix length. Then ignore any route updates
    that are a subnet of the tun's address. This becomes helpful when large
    number of DNS intercepts are employed (say wildcard), each causing a /32
    route to be added.
    
    Signed-off-by: Tom Carroll <4632752+tomc797@users.noreply.github.com>
    tomc797 committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    87a4f73 View commit details
    Browse the repository at this point in the history