Update eliminate connection logic to refine firewall rules and upgrade Scurvy library to latest version
This commit is contained in:
@@ -23,11 +23,11 @@ func EliminateConnection(dst string) error {
|
||||
return fw.AddRule(firewall.FirewallRule{
|
||||
Name: fmt.Sprintf("Block Outgoing %s", dst),
|
||||
Direction: "outbound",
|
||||
Protocol: "any",
|
||||
LocalPort: "any",
|
||||
RemotePort: "any",
|
||||
Protocol: "*",
|
||||
LocalPort: "",
|
||||
RemotePort: "",
|
||||
LocalAddress: "",
|
||||
RemoteAddress: "",
|
||||
RemoteAddress: "%s",
|
||||
Action: "block",
|
||||
Profile: "",
|
||||
Destination: dst,
|
||||
|
||||
Reference in New Issue
Block a user