From 25b2d74cebc9680dde4028f2f50aec396b29559e Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org" Date: Sat, 3 Dec 2005 22:50:27 +0000 Subject: 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 --- utils/ctnl_test.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'utils') 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) errors++; + 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); -- cgit v1.2.3