Hi, I''m using ver 3 with Centos 4.2 and ULOG. Is there anyway to monitor or log the traffic shaping activities. My setup: tcrules 1 0.0.0.0/0 0.0.0.0/0 tcp 4569,5060,10000:20000 (this to give periority to VOIP traffic) shorewall.conf CLEAR_TC=Yes TC_ENABLED=Internal Regards. __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
On Saturday 19 November 2005 19:27, Samy Antoun wrote:> Hi, > > I''m using ver 3 with Centos 4.2 and ULOG. Is there anyway to monitor or > log the traffic shaping activities. > > My setup: > tcrules > 1 0.0.0.0/0 0.0.0.0/0 tcp 4569,5060,10000:20000 > (this to give periority to VOIP traffic) > > shorewall.conf > CLEAR_TC=Yes > TC_ENABLED=InternalI assume that you also have entries in tcdevices ad tcclasses... I personally monitor traffic shaping with this command: watch -n 5 shorewall show tc Please don''t post asking us to interpret the output of this command. It is simply the combined output of various ''tc'' commands and if the folks who write and maintain that utility don''t see fit to document the output of their program then I don''t feel that I should be required spend my evenings and weekends doing their job for them. AFAIK, the best source of information about ''tc'' is Section 9 of the LARTC -- link available from "Other Links" on the Shorewall web site. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
Tom, Thank you for the reply> I assume that you also have entries in tcdevices ad tcclasses...No, I was thinking that I don''t have to. I will take a closer look at http://www.shorewall.net/traffic_shaping.htm> Please don''t post asking us to interpret the output of this command.No problem, I got the information needed from http://www.math.ucla.edu/computing/docindex/procps-man-12.html __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
This won''t prioritise VOIP traffic as that usualy is UDP traffic, not TCP Samy Antoun wrote:> Hi, > > I''m using ver 3 with Centos 4.2 and ULOG. Is there anyway to monitor or > log the traffic shaping activities. > > My setup: > tcrules > 1 0.0.0.0/0 0.0.0.0/0 tcp 4569,5060,10000:20000 > (this to give periority to VOIP traffic) > > shorewall.conf > CLEAR_TC=Yes > TC_ENABLED=Internal > > Regards. > > > > > __________________________________ > Start your day with Yahoo! - Make it your home page! > http://www.yahoo.com/r/hs > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users >------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
On Saturday 19 November 2005 22:54, Samy Antoun wrote:> Tom, > Thank you for the reply > > > I assume that you also have entries in tcdevices ad tcclasses... > > No, I was thinking that I don''t have to. I will take a closer look at > http://www.shorewall.net/traffic_shaping.htm > > > Please don''t post asking us to interpret the output of this command. > > No problem, I got the information needed from > http://www.math.ucla.edu/computing/docindex/procps-man-12.htmlActually, ''watch'' itself doesn''t produce any output. The "shorewall show tc" command runs the ''tc'' utility in a variety of ways and it is the output of that command that you need to understand. I can give you some hints that are specific to the Shorewall implementation of traffic shaping though: a) Shorewall assigns the major class id based on the order of entries in /etc/shorewall/tcdevices. The first device''s classes have major id = 1, the second device''s classes have major id = 2, and so on. b) The minor class IDs are 100 + (10 * <mark value>). So, for example, the class with MARK 1 will have minor class id 100 + ( 10 * 1) = 110. c) So the second device''s class that has MARK 6 would have class ID 2:160. HTH, -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click