* Re: ROUTE woes ?
[not found] <20050823201959.3AC9E49EE@sorry.no-ip-here.net>
@ 2005-08-23 20:29 ` /dev/rob0
2005-08-23 20:34 ` Ruben Cardenal
0 siblings, 1 reply; 10+ messages in thread
From: /dev/rob0 @ 2005-08-23 20:29 UTC (permalink / raw)
To: netfilter
On Tuesday 2005-August-23 15:20, Ruben Cardenal wrote:
> http://www.netfilter.org/patch-o-matic/pom-extra.html#pom-extra-ROUTE
>
> In order to be able to use it, you must download also iptables and
> patch-o-matic and compile all the needed stuff. The order is
>
> a) Apply patch-o-matic against the iptables source
> b) Compile and install iptables
> c) Recompile your kernel to generate the ipt_ROUTE module (the
> prior iptables configuration will add it to your kernel tree).
If all netfilter drivers were built as modules, is an entire compile /
reboot necessary? Can you just get away with a "make modules" (and
"make modules_install") if the POM drivers are the only thing you're
changing?
I'd like to play with POM sometime, but I don't reboot if I can avoid
it. :)
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
^ permalink raw reply [flat|nested] 10+ messages in thread* RE: ROUTE woes ?
2005-08-23 20:29 ` ROUTE woes ? /dev/rob0
@ 2005-08-23 20:34 ` Ruben Cardenal
0 siblings, 0 replies; 10+ messages in thread
From: Ruben Cardenal @ 2005-08-23 20:34 UTC (permalink / raw)
To: 'iptables'
> > a) Apply patch-o-matic against the iptables source
> > b) Compile and install iptables
> > c) Recompile your kernel to generate the ipt_ROUTE module (the
> > prior iptables configuration will add it to your kernel tree).
>
> If all netfilter drivers were built as modules, is an entire compile /
> reboot necessary? Can you just get away with a "make modules" (and
> "make modules_install") if the POM drivers are the only thing you're
> changing?
Where did I say reboot, dude? :) When you say "recompile your kernel" you
know you are refering to "make the needed changes, issue the needed actions"
:) If we needed a reboot for everything, we would be called windows :P
Regards,
- Ruben
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <E1E7obP-0004Pv-UB@mail.eccotours.co.za>]
[parent not found: <200508231925.j7NJPMB6017123@linux01.gwdg.de>]
* RE: ROUTE woes ?
[not found] <200508231925.j7NJPMB6017123@linux01.gwdg.de>
@ 2005-08-24 5:55 ` Jan Engelhardt
2005-08-24 6:18 ` Ruben Cardenal
0 siblings, 1 reply; 10+ messages in thread
From: Jan Engelhardt @ 2005-08-24 5:55 UTC (permalink / raw)
To: Ruben Cardenal; +Cc: 'Brent Clark', 'iptables'
>> gate:/usr/src# iptables -t mangle -A FORWARD -p tcp --dport 80 -j ROUTE --
>> oif eth2
>
> It must be used on the POSTROUTING chain of the mangle table.
Hm this sounds somewhat illogical: to route when "routing has already been
done" (latin: postrouting). It also requires to have something like:
ipt -t mangle -A FORWARD -i eth1 -j MARK --set-mark 7
ipt -t mangle -A POSTROUTING -m mark --mark 7 -j ROUTE
instead of just
ipt -t mangle -A FORWARD -i eth1 -j ROUTE
Jan Engelhardt
--
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20050823203317.5EA2749EE@sorry.no-ip-here.net>]
* Re: ROUTE woes ?
[not found] <20050823203317.5EA2749EE@sorry.no-ip-here.net>
@ 2005-08-23 20:52 ` /dev/rob0
0 siblings, 0 replies; 10+ messages in thread
From: /dev/rob0 @ 2005-08-23 20:52 UTC (permalink / raw)
To: netfilter
On Tuesday 2005-August-23 15:34, Ruben Cardenal wrote:
> > If all netfilter drivers were built as modules, is an entire
> > compile / reboot necessary? Can you just get away with a "make
> > modules" (and "make modules_install") if the POM drivers are the
> > only thing you're changing?
>
> Where did I say reboot, dude? :) When you say "recompile your
> kernel" you know you are refering to "make the needed changes, issue
> the needed actions"
Sometimes not, like if a new module requires changing something in a
driver that was built in. What I was really asking was if POM needs any
hooks that might not exist in the kernel, and I guess you have answered
that.
> :) If we needed a reboot for everything, we would be called windows
> : :P
A surprising number of people think they want monolithic kernels which
*do* rather emulate Windows in their inflexibility. Modularity is one
of my favourite rant subjects. :)
Thanks for the reply.
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <E1E7eMx-00076v-2D@mail.eccotours.co.za>]
* Re: ROUTE woes ?
[not found] <E1E7eMx-00076v-2D@mail.eccotours.co.za>
@ 2005-08-23 20:14 ` Brent Clark
2005-08-23 20:20 ` Ruben Cardenal
0 siblings, 1 reply; 10+ messages in thread
From: Brent Clark @ 2005-08-23 20:14 UTC (permalink / raw)
To: Ruben Cardenal; +Cc: 'iptables'
Ruben Cardenal wrote:
> Hi,
>
>>gate:/usr/src# iptables -t mangle -A FORWARD -p tcp --dport 80 -j ROUTE --
>>oif eth2
>
> It must be used on the POSTROUTING chain of the mangle table.
Hi Ruben
Thanks for replying
You 100% correct, thanks for setting me straight, but i still struggling, since I dont have the target ROUTE in my kernel
gate:~# iptables -t mangle -A POSTROUTING -p tcp --dport 80 -j ROUTE --oif eth2
iptables: No chain/target/match by that name
gate:~#
Ive been looking at the various path o matics, and I cant find the patch my kernel.
Thanks anyway
Kind Regards
Brent Clark
^ permalink raw reply [flat|nested] 10+ messages in thread* RE: ROUTE woes ?
2005-08-23 20:14 ` Brent Clark
@ 2005-08-23 20:20 ` Ruben Cardenal
0 siblings, 0 replies; 10+ messages in thread
From: Ruben Cardenal @ 2005-08-23 20:20 UTC (permalink / raw)
To: 'iptables'
Hi,
> You 100% correct, thanks for setting me straight, but i still struggling,
> since I dont have the target ROUTE in my kernel
>
> gate:~# iptables -t mangle -A POSTROUTING -p tcp --dport 80 -j ROUTE --oif
> eth2
> iptables: No chain/target/match by that name
> gate:~#
>
> Ive been looking at the various path o matics, and I cant find the patch
> my kernel.
This target belongs to the extra respository of patch-o-matic:
http://www.netfilter.org/patch-o-matic/pom-extra.html#pom-extra-ROUTE
In order to be able to use it, you must download also iptables and
patch-o-matic and compile all the needed stuff. The order is
a) Apply patch-o-matic against the iptables source
b) Compile and install iptables
c) Recompile your kernel to generate the ipt_ROUTE module (the prior
iptables configuration will add it to your kernel tree).
Regards,
- Ruben
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <4304A259.3070906@eccotours.co.za>]
end of thread, other threads:[~2005-08-24 8:00 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20050823201959.3AC9E49EE@sorry.no-ip-here.net>
2005-08-23 20:29 ` ROUTE woes ? /dev/rob0
2005-08-23 20:34 ` Ruben Cardenal
[not found] <E1E7obP-0004Pv-UB@mail.eccotours.co.za>
2005-08-24 8:00 ` Brent Clark
[not found] <200508231925.j7NJPMB6017123@linux01.gwdg.de>
2005-08-24 5:55 ` Jan Engelhardt
2005-08-24 6:18 ` Ruben Cardenal
[not found] <20050823203317.5EA2749EE@sorry.no-ip-here.net>
2005-08-23 20:52 ` /dev/rob0
[not found] <E1E7eMx-00076v-2D@mail.eccotours.co.za>
2005-08-23 20:14 ` Brent Clark
2005-08-23 20:20 ` Ruben Cardenal
[not found] <4304A259.3070906@eccotours.co.za>
[not found] ` <20050818154431.GA7489@oasis.frogfoot.net>
2005-08-23 18:09 ` Brent Clark
2005-08-23 19:23 ` Ruben Cardenal
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.