example | ||
.gitignore | ||
iptables_parser_lib.c | ||
iptables_parser.c | ||
Makefile | ||
Readme.md | ||
wrapper.py |
Infidel's iptables log parser
Codes
wrapper.py
Reads, iptables.log and calls the c parser_lib.so
. Feed the parser library with lines from iptables log.
parser_lib.so
Process the sed like operation on the line by line feeded by wrapper.py
.