APIBAN banned my sip providers IP

Apparently, in

we have

// Add APIBAN chain to INPUT
err = ipt.Insert(“filter”, “INPUT”, 1, “-j”, chain)
if err != nil {
return “error”, fmt.Errorf(“failed to add APIBAN chain to INPUT chain: %w”, err)
}

It should probably be
.
.
// Append APIBAN chain to INPUT
.
.
err = ipt.Append(“filter”, “INPUT”, “-j”, chain)
return “error”, fmt.Errorf(“failed to append APIBAN chain to INPUT chain: %w”, err)

.
.

To play nice with other iptables rules and not be totally ‘authoritative’ , but that would depend on your current INPUT chain not having a DROP at the end