mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-22 20:51:15 +01:00
Fix default tc class bug
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2834 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
203b758423
commit
1a8f760491
@ -2,6 +2,8 @@ Changes in 2.5.9
|
||||
|
||||
1) Add TC_SCRIPT
|
||||
|
||||
2) Fix default tc class bug.
|
||||
|
||||
Changes in 2.5.8
|
||||
|
||||
1) Fix 'shorewall refresh' with long tcrules entries.
|
||||
|
@ -3304,7 +3304,7 @@ setup_traffic_shaping()
|
||||
defmark=$(get_defmark_for_dev $device)
|
||||
run_and_save_command qt tc qdisc del dev $device root
|
||||
run_and_save_command qt tc qdisc del dev $device ingress
|
||||
ensure_and_save_command tc qdisc add dev $device root handle $devnum: htb default $defmark
|
||||
ensure_and_save_command tc qdisc add dev $device root handle $devnum: htb default 1$defmark
|
||||
ensure_and_save_command tc class add dev $device parent $devnum: classid $devnum:1 htb rate $outband
|
||||
ensure_and_save_command tc qdisc add dev $device handle ffff: ingress
|
||||
ensure_and_save_command tc filter add dev $device parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate ${inband} burst 10k drop flowid :1
|
||||
|
@ -12,6 +12,9 @@ New Features in 2.5.9:
|
||||
Users who currently use an /etc/shorewall/tcstart file should set
|
||||
TC_SCRIPT=/etc/shorewall/tcstart in shorewall.conf.
|
||||
|
||||
2) The default traffic shaping class for a device was being incorrectly
|
||||
specified by tc4shorewall.
|
||||
|
||||
Migration Considerations:
|
||||
|
||||
1) The "monitor" command has been eliminated.
|
||||
@ -47,7 +50,6 @@ Migration Considerations:
|
||||
length). The names "all" and "none" are
|
||||
reserved and may not be used as zone names.
|
||||
|
||||
|
||||
Where a zone is nested in one or more other
|
||||
zones, you may follow the (sub)zone name by ":"
|
||||
and a comma-separated list of the parent
|
||||
|
Loading…
Reference in New Issue
Block a user