diff -urN iptables-1.2.9-20031121_oryg/extensions/libipt_stealth.c iptables-1.2.9-20031121/extensions/libipt_stealth.c --- iptables-1.2.9-20031121_oryg/extensions/libipt_stealth.c 1970-01-01 01:00:00.000000000 +0100 +++ iptables-1.2.9-20031121/extensions/libipt_stealth.c 2003-12-06 02:14:48.000000000 +0100 @@ -0,0 +1,64 @@ +/* Shared library add-on to iptables to add stealth support. + * Copyright (C) 2002 Brad Spengler + * This netfilter module is licensed under the GNU GPL. + */ + +#include +#include +#include +#include +#include + +/* Function which prints out usage message. */ +static void +help(void) +{ + printf("stealth v%s takes no options\n\n", IPTABLES_VERSION); +} + +static struct option opts[] = { + {0} +}; + +/* Initialize the match. */ +static void +init(struct ipt_entry_match *m, unsigned int *nfcache) +{ + *nfcache |= NFC_UNKNOWN; +} + +static int +parse(int c, char **argv, int invert, unsigned int *flags, + const struct ipt_entry *entry, + unsigned int *nfcache, + struct ipt_entry_match **match) +{ + return 0; +} + +static void +final_check(unsigned int flags) +{ + return; +} + +static +struct iptables_match stealth = { + NULL, + "stealth", + IPTABLES_VERSION, + IPT_ALIGN(0), + IPT_ALIGN(0), + &help, + &init, + &parse, + &final_check, + NULL, + NULL, + opts +}; + +void _init(void) +{ + register_match(&stealth); +} diff -urN iptables-1.2.9-20031121_oryg/extensions/Makefile iptables-1.2.9-20031121/extensions/Makefile --- iptables-1.2.9-20031121_oryg/extensions/Makefile 2003-10-08 12:17:05.000000000 +0200 +++ iptables-1.2.9-20031121/extensions/Makefile 2003-12-06 02:15:03.000000000 +0100 @@ -5,7 +5,7 @@ # header files are present in the include/linux directory of this iptables # package (HW) # -PF_EXT_SLIB:=ah connlimit connmark conntrack dscp ecn esp helper icmp iprange length limit mac mark multiport owner physdev pkttype realm rpc sctp standard state tcp tcpmss tos ttl udp unclean CLASSIFY CONNMARK DNAT DSCP ECN LOG MARK MASQUERADE MIRROR NETMAP NOTRACK REDIRECT REJECT SAME SNAT TARPIT TCPMSS TOS TRACE TTL ULOG +PF_EXT_SLIB:=ah connlimit connmark conntrack dscp ecn esp helper icmp iprange length limit mac mark multiport owner physdev pkttype realm rpc sctp standard state tcp tcpmss tos ttl udp stealth unclean CLASSIFY CONNMARK DNAT DSCP ECN LOG MARK MASQUERADE MIRROR NETMAP NOTRACK REDIRECT REJECT SAME SNAT TARPIT TCPMSS TOS TRACE TTL ULOG PF6_EXT_SLIB:=eui64 hl icmpv6 length limit mac mark multiport owner standard tcp udp HL LOG MARK TRACE # Optionals