Re: IMQ + natin PREROUTING - it is almost 2 years since patch....

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




In fact we've being discussing lately at linuximq.net mailling list this subject and what would be the best way to enable this "behavior" change "automatically".


There is no problem on changing where IMQ hooks, after or before NAT for example, not that we found until now.

The matter is what should be done to enable the selection of behaviors without needing to apply a patch or change the code itself. For IMQ as module I've thought about passing a parameter, but if it is compiled in the kernel what could be the way? Something in the /proc???

It should be possible to select from 4 diferent situations:

    PREROUTING         POSTROUTING
-------------------------------------
 1  IMQ after NAT      IMQ after NAT
 2  IMQ before NAT     IMQ after NAT
 3  IMQ after NAT      IMQ before NAT
 4  IMQ before NAT     IMQ before NAT

Any ideas are welcome.

tks

Andre



pljosh wrote:
Hello there!
I was reading this archive:
http://mailman.ds9a.nl/pipermail/lartc/2002q3/004725.html

It was almost two years ago when Patrick wrote a patch to switch IMQ with nat in PREROUTING chain...

From www.linuximq.org I've downloaded newset IMQ driver for 2.4.26 and what can i see? The line that Patrick changed in that patch is still as it was in previous relases.

Are there some side-effects or something that this patch wasent applied to "official" imq?

-josh

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



_______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux