Re: [LARTC] shaping using source IP after NAT

2007-06-14 Thread Ethy H. Brito
On Thu, 14 Jun 2007 16:25:14 -0300 "Marco Aurelio" <[EMAIL PROTECTED]> wrote: > I think it is better to use an IFB device and shape the upload traffic > using source IP before the NAT > > http://linux-net.osdl.org/index.php/IFB Before NAT?!?! Where does IFB hook netfilter tables?? Before mangle

Re: [LARTC] shaping using source IP after NAT

2007-06-14 Thread Ethy H. Brito
PLEASE disregard this. My MUA gone crazy and resent a lot of my emails today. Forgive me. Ethy On Wed, 13 Jun 2007 15:18:28 -0300 "Ethy H. Brito" <[EMAIL PROTECTED]> wrote: > On Mon, 11 Jun 2007 22:02:31 +0300 > VladSun <[EMAIL PROTECTED]> wrote: > > > > TC is performed after POSTROUTING, so

Re: [LARTC] shaping using source IP after NAT

2007-06-14 Thread Marco Aurelio
I think it is better to use an IFB device and shape the upload traffic using source IP before the NAT http://linux-net.osdl.org/index.php/IFB On 6/13/07, VladSun <[EMAIL PROTECTED]> wrote: Ethy H. Brito написа: > On Mon, 11 Jun 2007 22:02:31 +0300 > VladSun <[EMAIL PROTECTED]> wrote: > > > >>

Re: [LARTC] shaping using source IP after NAT

2007-06-13 Thread VladSun
Ethy H. Brito написа: On Mon, 11 Jun 2007 22:02:31 +0300 VladSun <[EMAIL PROTECTED]> wrote: TC is performed after POSTROUTING, so you can not do any IP related TC filtering. You can use CPU friendly patches for iptables like IPMARK or IPCLASSIFY. Take a look at them. Ok. Can someone

Re: [LARTC] shaping using source IP after NAT

2007-06-13 Thread Ethy H. Brito
On Mon, 11 Jun 2007 22:02:31 +0300 VladSun <[EMAIL PROTECTED]> wrote: > TC is performed after POSTROUTING, so you can not do any IP related TC > filtering. You can use CPU friendly patches for iptables like IPMARK or > IPCLASSIFY. Take a look at them. Ok. Can someone point me the right directi

Re: [LARTC] shaping using source IP after NAT

2007-06-11 Thread Marco Aurelio
Use IFB which seems to be already on kernel 2.6 On 6/11/07, VladSun <[EMAIL PROTECTED]> wrote: Ethy H. Brito написа: > Hi all > > I am using a pass trhu router and I need to QoS some clients output by its > IP address. The problem is that QoS is due after NATing. > > Is there some clever way of

Re: [LARTC] shaping using source IP after NAT

2007-06-11 Thread VladSun
Ethy H. Brito написа: Hi all I am using a pass trhu router and I need to QoS some clients output by its IP address. The problem is that QoS is due after NATing. Is there some clever way of doing this besides MARKing every packet with some IP hashing in POSTROUTING NAT table? Regards Ethy

[LARTC] shaping using source IP after NAT

2007-06-11 Thread Ethy H. Brito
Hi all I am using a pass trhu router and I need to QoS some clients output by its IP address. The problem is that QoS is due after NATing. Is there some clever way of doing this besides MARKing every packet with some IP hashing in POSTROUTING NAT table? Regards Ethy ___