1 diff -Nru iptables-1.2.8-old/extensions/Makefile iptables-1.2.8/extensions/Makefile
2 --- iptables-1.2.9rc1.orig/extensions/Makefile Mon Oct 27 09:53:59 2003
3 +++ iptables-1.2.9rc1/extensions/Makefile Mon Oct 27 09:55:25 2003
5 # header files are present in the include/linux directory of this iptables
8 -PF_EXT_SLIB:=ah connlimit conntrack dscp ecn esp helper stealth icmp length limit mac mark multiport owner physdev pkttype rpc standard state tcp tcpmss tos ttl udp unclean DNAT DSCP ECN LOG MARK MASQUERADE MIRROR REDIRECT REJECT SAME SNAT TARPIT TCPMSS TOS TTL ULOG IMQ
9 +PF_EXT_SLIB:=ah connlimit conntrack dscp ecn esp helper stealth icmp length limit mac mark multiport owner physdev pkttype rpc standard state tcp tcpmss tos ttl udp unclean DNAT DSCP ECN LOG MARK MASQUERADE MIRROR REDIRECT REJECT SAME SNAT TARPIT TCPMSS TOS TTL ULOG IMQ p2p
10 PF6_EXT_SLIB:=eui64 hl icmpv6 length limit mac mark multiport owner standard tcp udp HL LOG MARK
13 diff -Nru iptables-1.2.8-old/extensions/libipt_p2p.c iptables-1.2.8/extensions/libipt_p2p.c
14 --- iptables-1.2.8-old/extensions/libipt_p2p.c 1970-01-01 01:00:00.000000000 +0100
15 +++ iptables-1.2.8/extensions/libipt_p2p.c 2003-10-18 18:52:04.885996952 +0100
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);