So am I right in thinking that matching by ports is the best way to do this? What are the practical differences between adding entries to the TOS file and adding entries to the tcrules file? Both can be used to decide which HTB class a packet belongs to, but is one a better solution than the other?
-Mark Ivey- On Tue, 2002-09-17 at 16:40, Tom Eastep wrote: > 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