LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Stupid iptables and tc question

[ILUG] Stupid iptables and tc question

Mel Gorman mel at csn.ul.ie
Sat Apr 30 15:39:54 IST 2005


I'm trying to match gaming traffic by using iptables to mark the traffic
and use tc to shape it. This should be very simple but I can't get the tc
command working.

This is how I mark the traffic;

iptables -t mangle -I PREROUTING -p udp --dport 1200 -j MARK --set-mark 100
iptables -t mangle -I PREROUTING -p udp --dport 27000:27015 -j MARK --set-mark 100
iptables -t mangle -I PREROUTING -p tcp --dport 27020:27039 -j MARK --set-mark 100

I'm trying to shape it with;

tc filter add dev eth2 parent 1: protocol ip prio 1 ip match mark 100
flowid 1:10

But I get an error saying 'Illegal "match"'. I have the ipt_mark and
ipt_MARK modules loaded. Can anyone what I'm missing? This is a 2.4.26
kernel


-- 
Mel Gorman
Part-time Phd Student                          Java Applications Developer
University of Limerick                         IBM Dublin Software Lab



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell