IPTablesBlockHandler handles iptables block actions.
| 51 | |
| 52 | // IPTablesBlockHandler handles iptables block actions. |
| 53 | type IPTablesBlockHandler struct{} |
| 54 | |
| 55 | // Execute blocks the source or destination IP via iptables. |
| 56 | func (h *IPTablesBlockHandler) Execute(ctx *InjectionContext, config map[string]any) (*ActionResult, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected