From 1ff21a68502d67e056100da7e0da074467bc08ed Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 9 Feb 2013 18:22:13 +0100 Subject: add xtables-events Add new program to listen to rule updates: shell$ xtables-events -A INPUT -m state --state ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT -D INPUT -p tcp -m tcp --dport 22 -j ACCEPT -D INPUT -m state --state ESTABLISHED -j ACCEPT You can use `-c' option to display counters. Signed-off-by: Pablo Neira Ayuso --- iptables/xtables-multi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'iptables/xtables-multi.c') diff --git a/iptables/xtables-multi.c b/iptables/xtables-multi.c index c1746434..5732ba38 100644 --- a/iptables/xtables-multi.c +++ b/iptables/xtables-multi.c @@ -41,6 +41,7 @@ static const struct subcommand multi_subcommands[] = { {"xtables-save", xtables_save_main}, {"xtables-restore", xtables_restore_main}, {"xtables-config", xtables_config_main}, + {"xtables-events", xtables_events_main}, #endif {NULL}, }; -- cgit v1.2.3