Can't set packet loss rate in limiter



  • This is on a clean install of the latest snapshot.  Attempting to set anything other than 0 for packet loss rate results in an error about that value being "not a number." (Unless the number is an integer > 0 in which case the error is "syntax error")

    The exact error message is:

    There were error(s) loading the rules: /tmp/rules.debug:36: 0.05 is not a number pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [36]: dnpipe 1 bandwidth 1.544Mb plr 0.05 delay 12

    Entering the following command at the shell achieves the desired effect: (although it goes away after a filter reload or reboot)

    ipfw pipe 1 config bw 1544000bit/s plr 0.05 delay 12ms




Log in to reply