diff --git a/README.md b/README.md index efaf961..4aa01c1 100755 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ These two rules would have to be added manually if applied on a different machin - pypacker - psutil - pyyaml +- netifaces - iptables, NFQUEUE target support in kernel for packet intercepting, CPython ### Installation diff --git a/fw_logic.py b/fw_logic.py index e9649c6..e800342 100644 --- a/fw_logic.py +++ b/fw_logic.py @@ -197,7 +197,7 @@ def _user_decision(self, pkt, rules_wl, rules_bl): } @staticmethod - def verdict_cb(data, ll_proto_id, ctx): + def verdict_cb(ll_data, ll_proto_id, data, ctx): ipl = Firewall.LL_PROTO_CB[ll_proto_id](data) # logger.debug("verdict_cb, packet: %r", ipl) decision_accept = False