Skip to content

The ip rules to exempt DNS traffic are not removed when the flag is turned off. #176

@MrHohn

Description

@MrHohn

From an unrelated debugging I found out the rules added in #114 are not cleaned up properly when the DNS exempt flag is turned off.

e.g. We would still see these two rules (29999 and 30000) dangling:

root@gke-XXX:~# ip rule
9:      from all fwmark 0x200/0xf00 lookup 2004
100:    from all lookup local
29999:  from all dport 53 lookup main
30000:  from all sport 53 lookup main
32766:  from all lookup main
32767:  from all lookup default

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions