example | ||
.gitignore | ||
iptables_parser | ||
iptables_parser_lib.c | ||
iptables_parser.c | ||
iptables-log.tar.gz | ||
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
.