diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-06-14 19:11:12 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-06-14 19:11:12 -0700 |
commit | 9b25f96dd86685cb266ef2f7fddb81c57980d0a9 (patch) | |
tree | be2c031d618260f2800ff4d759b993de4432c810 | |
parent | e5c8ef256ebb6e44061d7b51a212638f1ee19947 (diff) | |
download | conntrack-tools-9b25f96dd86685cb266ef2f7fddb81c57980d0a9.tar.gz conntrack-tools-9b25f96dd86685cb266ef2f7fddb81c57980d0a9.zip |
remove files for applied patch
-rw-r--r-- | debian/patches/00list | 1 | ||||
-rwxr-xr-x | debian/patches/10-fix_udp_support.dpatch | 48 |
2 files changed, 0 insertions, 49 deletions
diff --git a/debian/patches/00list b/debian/patches/00list index 55c67ed..e69de29 100644 --- a/debian/patches/00list +++ b/debian/patches/00list @@ -1 +0,0 @@ -10-fix_udp_support.dpatch diff --git a/debian/patches/10-fix_udp_support.dpatch b/debian/patches/10-fix_udp_support.dpatch deleted file mode 100755 index 4eed834..0000000 --- a/debian/patches/10-fix_udp_support.dpatch +++ /dev/null @@ -1,48 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 10-fix_udp_support.dpatch by Pablo Neira Ayuso <pablo@netfilter.org> -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: conntrackd: fix UDP filtering in configuration file -## DP: picked from the conntrack mailinglist - -@DPATCH@ -diff -urNad conntrack-0.9.14~/doc/sync/ftfw/conntrackd.conf conntrack-0.9.14/doc/sync/ftfw/conntrackd.conf ---- conntrack-0.9.14~/doc/sync/ftfw/conntrackd.conf 2009-12-23 18:14:01.000000000 +0100 -+++ conntrack-0.9.14/doc/sync/ftfw/conntrackd.conf 2010-02-12 16:23:53.000000000 +0100 -@@ -357,6 +357,7 @@ - TCP - SCTP - DCCP -+ # UDP - # ICMP # This requires a Linux kernel >= 2.6.31 - } - -diff -urNad conntrack-0.9.14~/src/read_config_yy.y conntrack-0.9.14/src/read_config_yy.y ---- conntrack-0.9.14~/src/read_config_yy.y 2009-12-23 19:45:51.000000000 +0100 -+++ conntrack-0.9.14/src/read_config_yy.y 2010-02-12 16:23:53.000000000 +0100 -@@ -1221,6 +1221,25 @@ - pent->p_proto); - }; - -+filter_protocol_item : T_UDP -+{ -+ struct protoent *pent; -+ -+ pent = getprotobyname("udp"); -+ if (pent == NULL) { -+ print_err(CTD_CFG_WARN, "getprotobyname() cannot find " -+ "protocol `udp' in /etc/protocols"); -+ break; -+ } -+ ct_filter_add_proto(STATE(us_filter), pent->p_proto); -+ -+ __kernel_filter_start(); -+ -+ nfct_filter_add_attr_u32(STATE(filter), -+ NFCT_FILTER_L4PROTO, -+ pent->p_proto); -+}; -+ - filter_item : T_ADDRESS T_ACCEPT '{' filter_address_list '}' - { - ct_filter_set_logic(STATE(us_filter), |