path: root/utils
diff options
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/ </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/>2005-12-03 22:50:27 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/ </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/>2005-12-03 22:50:27 +0000
commit25b2d74cebc9680dde4028f2f50aec396b29559e (patch)
tree30c9403c402cc6c4184e8546f1d2b876e84886df /utils
parentade771be804b64a5d5a5aede5d1a6d4fe6e6a43b (diff)
o Fixed bugs in UDP and SCTP protocol handlers (parse_proto)
o Added the comparison infrastructure for layer-4 protocols o Added libnetfilter_conntrack_[tcp|udp|icmp|sctp].h that contains the protocol flags used by the comparison infrastructure o Added nfct_conntrack_compare to compare two conntracks based on flags o Killed nfct_event_netlink_handler o nfct_event_[conntrack|expect] requires ROOT privileges (reason: netlink multicast) o Bumped version to 0.29
Diffstat (limited to 'utils')
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/ctnl_test.c b/utils/ctnl_test.c
index f1361d3..e5075ef 100644
--- a/utils/ctnl_test.c
+++ b/utils/ctnl_test.c
@@ -90,6 +90,11 @@ int main(int argc, char **argv)
if (ret < 0 && ret != -EEXIST)
+ if (ret == -EINVAL)
+ fprintf(stdout, "NFNETLINK answers: -EINVAL, make sure "
+ "ip_conntrack_netlink is loaded and "
+ "you have NET_CAPABILITIES");
nfct_register_callback(cth, nfct_default_conntrack_display, NULL);
ret = nfct_dump_conntrack_table_reset_counters(cth);
fprintf(stdout, "TEST 2: dump conntrack table and reset (%d)\n", ret);