Go to file
2022-12-16 16:34:09 +07:00
lib Init commit, python+ctype connected 2022-12-16 16:27:38 +07:00
.iptables_parser_lib.c.swp Init commit, python+ctype connected 2022-12-16 16:27:38 +07:00
.wrapper.py.swp Init commit, python+ctype connected 2022-12-16 16:27:38 +07:00
iptables_parser Init commit, python+ctype connected 2022-12-16 16:27:38 +07:00
iptables_parser_lib.c Init commit, python+ctype connected 2022-12-16 16:27:38 +07:00
iptables_parser_lib.so Init commit, python+ctype connected 2022-12-16 16:27:38 +07:00
iptables_parser.c Init commit, python+ctype connected 2022-12-16 16:27:38 +07:00
iptables-log.tar.gz Init commit, python+ctype connected 2022-12-16 16:27:38 +07:00
Makefile Init commit, python+ctype connected 2022-12-16 16:27:38 +07:00
Readme.md Add readme.md 2022-12-16 16:34:09 +07:00
wrapper.py Init commit, python+ctype connected 2022-12-16 16:27:38 +07:00

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.