path: root/iptables/xtables-multi.h
diff options
authorPablo Neira Ayuso <>2013-02-09 18:22:13 +0100
committerPablo Neira Ayuso <>2013-12-30 23:50:25 +0100
commit1ff21a68502d67e056100da7e0da074467bc08ed (patch)
tree5eea8876d796426e88ea9c51a9c8ab622cdf4490 /iptables/xtables-multi.h
parentaf11340016320d73dc88fa377a2d2aa21173ba07 (diff)
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 <>
Diffstat (limited to 'iptables/xtables-multi.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/xtables-multi.h b/iptables/xtables-multi.h
index be2b3ad8..c609ea5b 100644
--- a/iptables/xtables-multi.h
+++ b/iptables/xtables-multi.h
@@ -6,5 +6,6 @@ extern int xtables_main(int, char **);
extern int xtables_save_main(int, char **);
extern int xtables_restore_main(int, char **);
extern int xtables_config_main(int, char **);
+extern int xtables_events_main(int, char **);
#endif /* _XTABLES_MULTI_H */