2 --- iptables-1.2.9_20040225/extensions/Makefile.org 2004-02-27 00:31:00.000000000 +0100
3 +++ iptables-1.2.9_20040225/extensions/Makefile 2004-02-27 00:32:17.853993752 +0100
5 # header files are present in the include/linux directory of this iptables
8 -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
9 +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 p2p
10 PF6_EXT_SLIB:=eui64 hl icmpv6 length limit mac mark multiport owner standard tcp udp HL LOG MARK TRACE
13 diff -Nru iptables-1.2.9-old/extensions/libipt_p2p.c iptables-1.2.9/extensions/libipt_p2p.c
14 --- iptables-1.2.9-old/extensions/libipt_p2p.c 1970-01-01 01:00:00.000000000 +0100
15 +++ iptables-1.2.9/extensions/libipt_p2p.c 2003-11-10 16:09:46.574855920 +0000
17 +/* Shared library add-on to iptables for unclean. */
21 +#include <iptables.h>
23 +/* Function which prints out usage message. */
28 +"p2p v%s takes no options\n"
29 +"\n", IPTABLES_VERSION);
32 +static struct option opts[] = {
36 +/* Initialize the match. */
38 +init(struct ipt_entry_match *m, unsigned int *nfcache)
40 + /* Can't cache this. */
41 + *nfcache |= NFC_UNKNOWN;
44 +/* Function which parses command options; returns true if it
47 +parse(int c, char **argv, int invert, unsigned int *flags,
48 + const struct ipt_entry *entry,
49 + unsigned int *nfcache,
50 + struct ipt_entry_match **match)
55 +/* Final check; must have specified --mac. */
56 +static void final_check(unsigned int flags)
61 +struct iptables_match p2p
78 + register_match(&p2p);