Results 1 to 15 of 92

Thread: Some more tips and tricks

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #29

    wshaper - unknown filter "32"

    Quote Originally Posted by wirespot View Post
    Code:
        match u8 0x10 0xff at 33 \
        flowid 1:10
     
    # some traffic suffers a better fate
    for a in $HIPRIOPORTDST
    do
           tc filter add dev $DEV parent 1: protocol ip prio 14 32 \
              match ip dport $a 0xffff flowid 1:10
    done
     
    # some traffic however suffers a worse fate
    for a in $NOPRIOPORTDST
     do
    Hi wirespot,
    I have followed your tut to hack Wondershaper but I ran into some problems.
    First of all making changes to /sbin/wshaper is impossible, so I made a copy in /usr/local/sbin and modified it here and running it from post-firewall. Is this ok?
    The second problem I have noticed were this warning when I was trying to start wshaper manually:
    Code:
    wshaper start eth1 400 190 "" "" "" "" "20 21 22 25 110 143 80 443 587 995"
    Unknown filter "32", hence option "match" is unparsable
    When browsing the code I have noticed there is a missing u before the filter "32". When I add it everything seems to run ok. Do you have a typo in your code or am I doing something wrong?

    Thx
    Last edited by georgoz; 01-11-2007 at 13:57.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •