Controlling Outbound traffic...alternative to dsl_qos_queue

Linux Advanced Routing and Traffic Control

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

 



Hi , this probably was asked many times before , but here it goes..

Until now i was using dsl_qos_queue - http://www.sonicspike.net/software/

Which limits outbound traffic and does packet priorites with iptables
using MARKed packets.. works very well , I run a ftpserver + webserver so
it's usefull to set these 2 with lowest priority and my multiplayer gaming
running on certain UDP ports with the highest priority.

The problem now is that dsl_qos_queue adds a QUEUE Target to the
POSTROUTING chain for reading the MARKed packets , and i recently added a
-j ROUTE target for my load balancing configuration to this chain:

/sbin/iptables -A POSTROUTING -o ppp+ -t mangle -m owner --cmd-owner
pure-ftpd -m nth --every 9 --packet 0 -j ROUTE --oif ppp1
/sbin/iptables -A POSTROUTING -o ppp+ -t mangle -m owner --cmd-owner
pure-ftpd -m nth --every 9 --packet 1 -j ROUTE --oif ppp1
/sbin/iptables -A POSTROUTING -o ppp+ -t mangle -m owner --cmd-owner
pure-ftpd -m nth --every 9 --packet 2 -j ROUTE --oif ppp1
/sbin/iptables -A POSTROUTING -o ppp+ -t mangle -m owner --cmd-owner
pure-ftpd -m nth --every 9 --packet 3 -j ROUTE --oif ppp1
/sbin/iptables -A POSTROUTING -o ppp+ -t mangle -m owner --cmd-owner
pure-ftpd -m nth --every 9 --packet 4 -j ROUTE --oif ppp0
/sbin/iptables -A POSTROUTING -o ppp+ -t mangle -m owner --cmd-owner
pure-ftpd -m nth --every 9 --packet 5 -j ROUTE --oif ppp0
/sbin/iptables -A POSTROUTING -o ppp+ -t mangle -m owner --cmd-owner
pure-ftpd -m nth --every 9 --packet 6 -j ROUTE --oif ppp0
/sbin/iptables -A POSTROUTING -o ppp+ -t mangle -m owner --cmd-owner
pure-ftpd -m nth --every 9 --packet 7 -j ROUTE --oif ppp0
/sbin/iptables -A POSTROUTING -o ppp+ -t mangle -m owner --cmd-owner
pure-ftpd -m nth --every 9 --packet 8 -j ROUTE --oif ppp0

since -j ROUTE is a terminating target it never reaches the QUEUE target..

i need an alternative to dsl_qos_queue i just want to effectivly control
only once interface ppp0 it's a cable connection using a l2tp tunnel to
the ISP , 1500/128kbit .

i know nothing about burts , queue buckets whatever , need a working
example.. i have all QoS modules compiled and whatever necessary tools
_______________________________________________
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