-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
Showing
2 changed files
with
58 additions
and
5 deletions.
There are no files selected for viewing
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
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