Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Tiaan Wessels <tiaan@netsys.co.za>
To: netfilter@vger.kernel.org
Subject: Re: Packet duplication
Date: Thu, 25 Oct 2007 06:14:53 +0000	[thread overview]
Message-ID: <4720345D.40906@netsys.co.za> (raw)
In-Reply-To: <000b01c81654$93026210$fa92fea9@tanjian>

Rob Sterenborg wrote:
>>> To see what happens, I patched the kernel manually (copied files,
>>> added stuff to Kconfig and Makefile), configured it for ROUTE (ipv4)
>>> and it seems to compile. I can't test if it will work, however.
>>>
>>>
>>>       
>> i know this is much asked but any chance you could explain to me what
>> you did ? (you can be brief) -
>>     
>
> The patch is not hard to include manually. If you look in POM-ng's
> patchlets directory, you see all available patches including the ROUTE
> patch. There, you go to the source you need (I guess linux-2.6).
> You'll see 2 directories: include and net. Copy these into the kernel
> source using: cp -R * /path/to/kernel.
> Next, you go to the /path/to/kernel/net/ipv4/netfilter directory. You'll
> find these files:
> - Kconfig
> - Kconfig.ladd
> - Makefile
> - Makefile.ladd
> Checkout the .ladd files (there's not much in there) and add it
> somewhere to Kconfig or Makefile (I think if you look into these files
> you'll probably know where). You can delete the .ladd files afterwards.
> Do the same in /path/to/kernel/net/ipv6/netfilter.
>
> Now you can configure the kernel for ROUTE and compile it. According to
> Kconfig.ladd, the ipv6 ROUTE does not work as a module so don't do
> configure it like that for ipv6; ipv4 seems fine as a module.
>
> Again: I got it to compile but that's as much as I can do here. I do not
> know if it works.
>
>
>   
thanks a million Rob,
I got it working at last using your instructions.
cheers


  reply	other threads:[~2007-10-25  6:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-19  6:19 Packet duplication Tiaan Wessels
2007-10-19  9:25 ` Gáspár Lajos
2007-10-19  9:42   ` Tiaan Wessels
     [not found] ` <47186FC3.6030402@freemail.hu>
     [not found]   ` <471875A4.8010000@netsys.co.za>
2007-10-19 10:11     ` Gáspár Lajos
2007-10-19 10:44       ` Tiaan Wessels
2007-10-19 11:25         ` Rob Sterenborg
2007-10-24  8:20           ` Tiaan Wessels
2007-10-24  9:31             ` Rob Sterenborg
2007-10-24 10:00               ` Tiaan Wessels
2007-10-24 10:36                 ` Rob Sterenborg
2007-10-24 10:43                   ` Tiaan Wessels
2007-10-24 12:45                     ` Rob Sterenborg
2007-10-24 15:02                       ` Tiaan Wessels
2007-10-24 15:43                         ` Rob Sterenborg
2007-10-25  6:14                           ` Tiaan Wessels [this message]
2007-10-25  7:24                             ` Rob Sterenborg
2007-10-25  7:35                               ` Tiaan Wessels
2007-10-25  8:34                                 ` Rob Sterenborg

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=4720345D.40906@netsys.co.za \
    --to=tiaan@netsys.co.za \
    --cc=netfilter@vger.kernel.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