Short cleanup program, that could be put in cron to periodically clean up IPTABLES DROP rules from Artillery (https://github.com/BinaryDefense/artillery).
If you have your environment setup (https://golang.org/doc/code.html), do:
go build artillery-iptables-cleanup.go
env GOOS=linux GOARCH=amd64 go build artillery-iptables-cleanup.go -o artillery-iptables-cleanup_amd64
# ./artillery-iptables-cleanup
1 DROP all -- 1.2.3.4 0.0.0.0/0
2 DROP all -- 1.2.3.4 0.0.0.0/0
3 DROP all -- 123.123.123.123 0.0.0.0/0
4 DROP all -- 123.123.123.123 0.0.0.0/0