Implement TCP and ICMP rejects

This commit is contained in:
世界
2024-10-22 21:28:22 +08:00
parent 262727ec6c
commit 4da652ff02
8 changed files with 97 additions and 43 deletions

View File

@@ -33,7 +33,10 @@ const (
)
const (
RuleActionRejectMethodDefault = "default"
RuleActionRejectMethodPortUnreachable = "port-unreachable"
RuleActionRejectMethodDrop = "drop"
RuleActionRejectMethodDefault = "default"
RuleActionRejectMethodReset = "reset"
RuleActionRejectMethodNetworkUnreachable = "network-unreachable"
RuleActionRejectMethodHostUnreachable = "host-unreachable"
RuleActionRejectMethodPortUnreachable = "port-unreachable"
RuleActionRejectMethodDrop = "drop"
)