diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-04-29 23:31:23 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-04-29 23:31:23 +0000 |
commit | 4e051c119ba61c51c18a7fe9c3047f5db9073d26 (patch) | |
tree | 21c19137a84a04a081354fa7fe086298282a4c1d /package/iptables/patches/1.3.8/003-layer7_2.17_pktmatch.patch | |
parent | b3cf2468036efadd22ed634cd5927b34b0d7e1ef (diff) | |
download | master-187ad058-4e051c119ba61c51c18a7fe9c3047f5db9073d26.tar.gz master-187ad058-4e051c119ba61c51c18a7fe9c3047f5db9073d26.tar.bz2 master-187ad058-4e051c119ba61c51c18a7fe9c3047f5db9073d26.zip |
[brcm-2.4] drop iptables 1.3.8 and switch to to 1.4.3.2, refresh layer7 kernel patches and add packages for libiptc + libxtables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15501 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables/patches/1.3.8/003-layer7_2.17_pktmatch.patch')
-rw-r--r-- | package/iptables/patches/1.3.8/003-layer7_2.17_pktmatch.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/package/iptables/patches/1.3.8/003-layer7_2.17_pktmatch.patch b/package/iptables/patches/1.3.8/003-layer7_2.17_pktmatch.patch deleted file mode 100644 index c88f759630..0000000000 --- a/package/iptables/patches/1.3.8/003-layer7_2.17_pktmatch.patch +++ /dev/null @@ -1,42 +0,0 @@ -Index: iptables-1.3.8/extensions/libipt_layer7.c -=================================================================== ---- iptables-1.3.8.orig/extensions/libipt_layer7.c -+++ iptables-1.3.8/extensions/libipt_layer7.c -@@ -37,7 +37,8 @@ static void help(void) - "LAYER7 match v%s options:\n" - "--l7dir <directory> : Look for patterns here instead of /etc/l7-protocols/\n" - " (--l7dir must be specified before --l7proto if used!)\n" -- "--l7proto [!] <name> : Match the protocol defined in /etc/l7-protocols/name.pat\n", -+ "--l7proto [!] <name> : Match the protocol defined in /etc/l7-protocols/name.pat\n" -+ "--l7pkt : Skip connection tracking and match individual packets\n", - IPTABLES_VERSION); - fputc('\n', stdout); - } -@@ -45,6 +46,7 @@ static void help(void) - static struct option opts[] = { - { .name = "l7proto", .has_arg = 1, .flag = 0, .val = '1' }, - { .name = "l7dir", .has_arg = 1, .flag = 0, .val = '2' }, -+ { .name = "l7pkt", .has_arg = 0, .flag = 0, .val = '3' }, - { .name = 0 } - }; - -@@ -333,6 +335,9 @@ static int parse(int c, char **argv, int - - *flags = 1; - break; -+ case '3': -+ layer7info->pkt = 1; -+ break; - - default: - return 0; -@@ -365,6 +370,9 @@ static void print(const struct ipt_ip *i - - print_protocol(((struct ipt_layer7_info *)match->data)->protocol, - ((struct ipt_layer7_info *)match->data)->invert, numeric); -+ -+ if (((struct ipt_layer7_info *)match->data)->pkt) -+ printf("l7pkt "); - } - /* Saves the union ipt_matchinfo in parsable form to stdout. */ - static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match) |