Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Massimiliano Hofer <max@nucleus.it>
To: netfilter@lists.netfilter.org
Cc: Andrew Schulman <andrex@alumni.utexas.net>
Subject: Re: condition patch with kernel 2.6.16
Date: Mon, 24 Apr 2006 18:23:02 +0200	[thread overview]
Message-ID: <200604241823.02998.max@nucleus.it> (raw)
In-Reply-To: <iurp42dko5m7g69adrioode1kptovoqlps@4ax.com>

On Monday 24 April 2006 5:40 pm, Andrew Schulman wrote:

> I've been successfully using the condition patch with 2.6-series kernels,
> up through kernel 2.6.15.  It was simple to make it work:  I just removed
> the line 'Requires: linux < 2.6.0' from the condition/info file, and then
> the patch applied and worked just fine.

I did too and it worked, but on closer inspection of the code I saw that it 
worked by chance.

> Now I'm trying to do the same with kernel 2.6.16, and the patch fails:
>
> # ./runme --kernel-path=/usr/src/linux
> --iptables-path=/usr/src/netfilter/iptables-1.3.1 --batch condition

2.6.16 needs some minor changes on a few function declarations, anyway I just 
finished a more extensive rework of the code so that it's really supposed to 
work for 2.6. Stephane (the original author) told me he never had the time to 
update it and was glad to hand it down to some else.

> The condition patch seems like a very important and useful one, and simple
> in principle.  2.6 kernels have been in production use for well over a
> year. Is "condition" ever going to be definitively ported to 2.6?

There are different views on its usufulness. I agree with you, but other 
people think that influencing packet filtering from /proc is a hack.
I can see their argument, but think the alternatives are worse.
Anyway this is mostly subjective, so I don't want to start a flame war or 
blame anyone. I'll set up a repository in a few days and it will be linked as 
an external project.
Meanwhile I'll send a copy of my latest patch to you privately. You are 
encouraged to test it.

-- 
Saluti,
   Massimiliano Hofer
        Nucleus


  reply	other threads:[~2006-04-24 16:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-24 15:40 condition patch with kernel 2.6.16 Andrew Schulman
2006-04-24 16:23 ` Massimiliano Hofer [this message]
2006-04-24 16:38   ` Andrew Schulman

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=200604241823.02998.max@nucleus.it \
    --to=max@nucleus.it \
    --cc=andrex@alumni.utexas.net \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox