Go to file
2023-10-24 17:13:16 +07:00
example Restructure 2023-10-24 17:12:20 +07:00
.gitignore Restructure 2023-10-24 17:12:20 +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.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 Restructure 2023-10-24 17:12:20 +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.