DisableInterception removes firewall rules to intercept outbound connections.
(logErrors bool)
| 153 | |
| 154 | // DisableInterception removes firewall rules to intercept outbound connections. |
| 155 | func (ipt *Iptables) DisableInterception(logErrors bool) { |
| 156 | ipt.StopCheckingRules() |
| 157 | ipt.QueueDNSResponses(!common.EnableRule, logErrors) |
| 158 | ipt.QueueConnections(!common.EnableRule, logErrors) |
| 159 | } |
| 160 | |
| 161 | // CleanRules deletes the rules we added. |
| 162 | func (ipt *Iptables) CleanRules(logErrors bool) { |
no test coverage detected