From 8aa719eb1afb6c6e0a5bf74cbdab79dc82da6c80 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: Mon, 26 Dec 2005 02:29:02 +0000 Subject: o add IPv6 support o clean up layer-4 compare functions o finish the comparison infrastructure: support for tuple/mark matching o fix bug in the default event display when used in conjunction with the comparison infrastructure. o Bumped version to 0.0.30 Thanks to Yasuyuki Kozakai for: [LIBNETFILTER_CONNTRACK] fix dumping IPv6 connections that in included in this commit. --- .../libnetfilter_conntrack_ipv6.h | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 include/libnetfilter_conntrack/libnetfilter_conntrack_ipv6.h (limited to 'include/libnetfilter_conntrack/libnetfilter_conntrack_ipv6.h') diff --git a/include/libnetfilter_conntrack/libnetfilter_conntrack_ipv6.h b/include/libnetfilter_conntrack/libnetfilter_conntrack_ipv6.h new file mode 100644 index 0000000..280c5cd --- /dev/null +++ b/include/libnetfilter_conntrack/libnetfilter_conntrack_ipv6.h @@ -0,0 +1,29 @@ +/* + * (C) 2005 by Pablo Neira Ayuso + * + * This software may be used and distributed according to the terms + * of the GNU General Public License, incorporated herein by reference. + */ + +#ifndef _LIBNETFILTER_CONNTRACK_IPV6_H_ +#define _LIBNETFILTER_CONNTRACK_IPV6_H_ + +enum ipv6_flags { + IPV6_ORIG_SRC_BIT = 0, + IPV6_ORIG_SRC = (1 << IPV6_ORIG_SRC_BIT), + + IPV6_ORIG_DST_BIT = 1, + IPV6_ORIG_DST = (1 << IPV6_ORIG_DST_BIT), + + IPV6_ORIG = (IPV6_ORIG_SRC | IPV6_ORIG_DST), + + IPV6_REPL_SRC_BIT = 2, + IPV6_REPL_SRC = (1 << IPV6_REPL_SRC_BIT), + + IPV6_REPL_DST_BIT = 3, + IPV6_REPL_DST = (1 << IPV6_REPL_DST_BIT), + + IPV6_REPL = (IPV6_REPL_SRC | IPV6_REPL_DST) +}; + +#endif -- cgit v1.2.3