From: Phil Oester <kernel@linuxace.com>
To: Harald Welte <laforge@netfilter.org>,
Netfilter Development Mailinglist
<netfilter-devel@lists.netfilter.org>
Subject: Re: PPTP connection tracking and NAT helper
Date: Thu, 5 May 2005 10:04:00 -0700 [thread overview]
Message-ID: <20050505170400.GA20178@linuxace.com> (raw)
In-Reply-To: <20050505075258.GM30482@sunbeam.de.gnumonks.org>
[-- Attachment #1: Type: text/plain, Size: 452 bytes --]
On Thu, May 05, 2005 at 09:52:58AM +0200, Harald Welte wrote:
> please read the netfilter-devel archive. I get asked this question at
> least ten times a week:
>
> There is no pptp/gre conntrack and nat helper for 2.6.11+, since this
> kernel version contains a redesigned infrastructure for such helpers.
How bout we make it harder for people to try? Attached patch adds
a 'Requires' to pptp in pom, and fixes up broken Requires handling.
Phil
[-- Attachment #2: patch-pptprequires --]
[-- Type: text/plain, Size: 1393 bytes --]
diff -ru pom-orig/Netfilter_POM.pm pom-new/Netfilter_POM.pm
--- pom-orig/Netfilter_POM.pm 2005-04-01 02:09:00.000000000 -0500
+++ pom-new/Netfilter_POM.pm 2005-05-05 12:59:22.633618136 -0400
@@ -196,10 +196,10 @@
# if the requirement refers to the tested patchlet,
# project version must fulfil the requirement.
# Multiple requirements are ANDed.
- return 0 if $pver eq $prog
- && !$self->version_compare($proj, $op, $ver);
+ return 1 if $pver eq $prog
+ && $self->version_compare($proj, $op, $ver);
}
- return 1;
+ return 0;
}
# are the requirements for a specific patchlet fulfilled?
diff -ru pom-orig/pptp-conntrack-nat/help pom-new/pptp-conntrack-nat/help
--- pom-orig/pptp-conntrack-nat/help 2003-11-17 03:09:34.000000000 -0500
+++ pom-new/pptp-conntrack-nat/help 2005-05-05 11:25:47.241525968 -0400
@@ -20,3 +20,4 @@
- doesnt' support multiple calls within one session
- you have to recompile your iptables userspace program since some
structure sizes change
+- does NOT work with kernels > 2.6.10
diff -ru pom-orig/pptp-conntrack-nat/info pom-new/pptp-conntrack-nat/info
--- pom-orig/pptp-conntrack-nat/info 2005-02-01 08:23:01.000000000 -0500
+++ pom-new/pptp-conntrack-nat/info 2005-05-05 12:57:47.510079112 -0400
@@ -3,3 +3,4 @@
Status: Testing, especially the 2.6.x port
Repository: extra
Depends: !nat-reservations
+Requires: linux < 2.6.11
next prev parent reply other threads:[~2005-05-05 17:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4279291E.2060103@nit.ca>
2005-05-05 7:52 ` PPTP connection tracking and NAT helper Harald Welte
2005-05-05 17:04 ` Phil Oester [this message]
2005-05-05 20:10 ` Harald Welte
[not found] <1081776886.1233.4.camel@smart14.intranetworks.com.br>
2004-04-12 13:35 ` Harald Welte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050505170400.GA20178@linuxace.com \
--to=kernel@linuxace.com \
--cc=laforge@netfilter.org \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.