Jean-Philippe RAMES wrote:
Hello,

All changes I make in shorewall config files are correctly applied except the 
burst parameter when the rate is below 256kbit.
The 30kb burst in config file becomes 4096Mb !!!
In my config file :
run_tc class add dev $DEVdc parent 2:1 classid 2:85 htb rate 1kbit ceil 1mbit 
burst 30kb prio 5

If you are putting that command in a Shorewall configuration file, it must be an extension script.


shorewall show tc :
class htb 2:85 parent 2:1 prio 5 quantum 1000 rate 1000bit ceil 1000Kbit burst 4096Mb/8 mpu 0b overhead 0b cburst 2100b/8 mpu 0b overhead 0b level 0 Sent 380235095 bytes 1052587 pkt (dropped 0, overlimits 0 requeues 0) rate 500616bit 113pps backlog 0b 93p requeues 0 lended: 89803 borrowed: 962691 giants: 418
 tokens: -1761054 ctokens: -17009

It which case, your problem report has nothing to do with Shorewall. All 'run_tc' does is:

run_tc() {
    if ! tc $@ ; then
        if [ -z "$STOPPING" ]; then
            error_message "ERROR: Command \"tc [EMAIL PROTECTED]" Failed"
            stop_firewall
            exit 2
        fi
    fi
}

In other words, run_tc() simply passes it's unmodified arguments to tc.

-Tom
--
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to