Skip to contentSkip to conversation

ROUTE

DISCUSSION Brent Clark 2 participants 4 messages Feb 5, 2008

lore
Share & tools
lore
#0 lore raw

Hi all

Its been a while since i have been on this list, I trust everyone is good and well.

I need to compile the 2.6.24 kernel, but with POMS ROUTE.

Im seeing that Route is not the lastest POM.

If i may ask is there a reason for this, or is there a better way to route traffic out a different interface.

If anyone could assist, thanks in advance.

Regards
Brent Clark

#1 lore raw
Quoted 9 lines

Its been a while since i have been on this list, I trust everyone is good and well.

I need to compile the 2.6.24 kernel, but with POMS ROUTE.

Im seeing that Route is not the lastest POM.

If i may ask is there a reason for this, or is there a better way to route traffic out a different interface.

The module is removed some time ago and although I don't know the exact reason, I can imagine it has to do with maintaining it but of course there could be another reason.
http://www.gossamer-threads.com/lists/iptables/devel/68781

You could mark the packets and route them using iproute2, but I don't know if that would satisfy your needs. Or, if it's of use for you, checkout the TEE target.
http://www.spinics.net/lists/netfilter/msg42319.html
http://dev.computergmbh.de/wsvn/misc_kernel/xt_TEE/

Grts,
Rob

#2 lore raw
Quoted 6 lines · Rob Sterenborg

The module is removed some time ago and although I don't know the exact reason, I can imagine it has to do with maintaining it but of course there could be another reason.
http://www.gossamer-threads.com/lists/iptables/devel/68781

Quoted 6 lines

You could mark the packets and route them using iproute2, but I don't know if that would satisfy your needs. Or, if it's of use for you, checkout the TEE target.
http://www.spinics.net/lists/netfilter/msg42319.html
http://dev.computergmbh.de/wsvn/misc_kernel/xt_TEE/

Thank you for your reply.

Most odd / co-incidental.

root@zion:/usr/src/patch-o-matic-ng-20080130# ./runme --download
Successfully downloaded external patch geoip
Successfully downloaded external patch condition
Successfully downloaded external patch IPMARK
Successfully downloaded external patch ROUTE		<- And here it is.
Successfully downloaded external patch connlimit
Successfully downloaded external patch ipp2p
Successfully downloaded external patch time
./patchlets/ipv4options exists and is not external
./patchlets/TARPIT exists and is not external
Successfully downloaded external patch ACCOUNT
Successfully downloaded external patch pknock
Hey! KERNEL_DIR is not set.

But i still want to try your advised route. Will be fun.

Thanks again.

Brent Clark

#3 lore raw
Quoted 7 lines

Most odd / co-incidental.

root@zion:/usr/src/patch-o-matic-ng-20080130# ./runme --download
Successfully downloaded external patch geoip
Successfully downloaded external patch condition
Successfully downloaded external patch IPMARK
Successfully downloaded external patch ROUTE	<- And here it is.

Yes, but it won't work if your kernel is recent: when pom-ng starts, you will not be asked to patch the kernel for ROUTE.

Quoted 8 lines

Successfully downloaded external patch connlimit Successfully downloaded external patch ipp2p Successfully downloaded external patch time ./patchlets/ipv4options exists and is not external ./patchlets/TARPIT exists and is not external Successfully downloaded external patch ACCOUNT Successfully downloaded external patch pknock Hey! KERNEL_DIR is not set.

Try:
IPTABLES_DIR="/path/to/iptables-source" \
KERNEL_DIR="/path/to/kernel-source" \
./runme --download

Quoted 1 line

But i still want to try your advised route. Will be fun.

Good luck. :-)

Grts,
Rob