Apply Tuomo's patch to clean up tc4shorewall formatting

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3091 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-11-29 16:51:53 +00:00
parent 577389464f
commit 60a93c5167
4 changed files with 46 additions and 35 deletions

View File

@ -4,6 +4,8 @@ Changes in 3.0.3
2) Comments regarding bridge configuration were improved.
3) Applied Tuomo Soini's patch to pretty up the tc4shorewall files.
Changes in 3.0.2
1) Typos in the Samples corrected.

View File

@ -6,6 +6,9 @@ Problems Corrected in 3.0.3
/etc/shorewall/hosts files have been changed to clarify when
BRIDGING=Yes is required when dealing with bridges.
2) Thanks to Tuomo Soini, formatting of the comments in the tcdevices
and tcclasses files has been cleaned up.
New Features in 3.0.3
1) A "shorewall show macros" command has been added. This command displays

View File

@ -1,5 +1,7 @@
# tc4shorewall Version 0.5
#
# Shorewall version 3.0 - Tcclasses File
#
# Based on tc4shorewall version 0.5 by Arne Bernin
#
# /etc/shorewall/tcclasses
#
@ -59,8 +61,7 @@
# that first the classes which equal or a lesser priority
# value are served.
#
# You can use the following
#Use kbit or kbps(for Kilobytes per second) for
# Use kbit or kbps(for Kilobytes per second) for
# speed, and make sure there is NO space between the
# number and the unit.
#
@ -73,15 +74,16 @@
# the maximum bandwidth to the defined output bandwidth
# of that interface
#
# Use kbit or kbps(for Kilobytes per second) for
# Use kbit or kbps (for Kilobytes per second) for
# speed, and make sure there is NO space between the
# number and the unit.
#
# PRIORITY you have to define a priority for the class
# Packages in a class with a higher priority (=lesser value)
# are handled before lesser priority onces.
# You can just define the mark value here also, if you are
# increasing the mark values with lesser priority.
# Packages in a class with a higher priority
# (=lesser value) are handled before lesser priority
# onces.
# You can just define the mark value here also, if you
# are increasing the mark values with lesser priority.
#
# OPTIONS A comma-separated list of options including the
# following:
@ -147,6 +149,6 @@
# ppp0 2 100kbit 200kbit 2
# ppp0 3 full/3 full 3 default
#
################################################################################
###############################################################################
#INTERFACE MARK RATE CEIL PRIORITY OPTIONS
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE

View File

@ -1,9 +1,13 @@
# tc4shorewall Version 0.5
#
# Shorewall version 3.0 - Tcdevices File
#
# Based on tc4shorewall version 0.5 by Arne Bernin
#
# /etc/shorewall/tcdevices
#
# Entries in this file define the bandwidth for interfaces
# on which you want traffic shaping to be enabled.
#
# If you do not plan to use traffic shaping for a device,
# don't put it in here as it limits the troughput of that
# device to the limits you set here.
@ -28,10 +32,10 @@
# this interface in total, if the rate is exceeded,
# the packets are dropped.
# You want this mainly if you have a DSL or Cable
# Connection to avoid queuing at your providers side.
# connection to avoid queuing at your providers side.
#
# If you don't want any traffic to be dropped set this
# to a value faster than your interface
# to a value faster than your interface.
#
# Use kbit or kbps(for Kilobytes per second) for
# speed, and make sure there is NO space between the
@ -41,7 +45,7 @@
# This is the maximum speed you connection can handle.
# It is also the speed you can refer as "full" if
# you define the tc classes.
# Outgoing traffic above this rate will be dropped
# Outgoing traffic above this rate will be dropped.
#
# Use kbit or kbps(for Kilobytes per second) for
# speed, and make sure there is NO space between the
@ -54,6 +58,6 @@
# ppp0 6000kbit 500kbit
#
#
#################################################################################
###############################################################################
#INTERFACE IN-BANDWITH OUT-BANDWIDTH
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE