Mark Ivey wrote: > I finally got traffic shaping working on my bering rc3 machine. Now I > want to fine tune my rules, and I have a question. Is it possible to > match traffic originating from a certain program? What is the best way > to do this. For example, I would like Warcraft 3/ssh/instant messaging > traffic to have a high priority, while traffic from hotline/napster/ftp > has a low priority so that the latter will not impact the former. Is > this possible? How do I find out what the matches would look like? > Thanks! >
You can use the /etc/shorewall/tcrules file to mark packets based on protocol and source/dest port number. The mark values can then use fw classifier to assign different mark values to different tc classes. To determine port numbers used by various applications, you can start your search at http://www.shorewall.net/ports.htm -Tom -- Tom Eastep \ Shorewall - iptables made easy AIM: tmeastep \ http://www.shorewall.net ICQ: #60745924 \ [EMAIL PROTECTED] ------------------------------------------------------- This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html