Advertisement
Guest User

Untitled

a guest
Nov 16th, 2011
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. DEV=usb0
  4.  
  5. tc qdisc add dev $DEV handle ffff: ingress
  6. tc filter add dev $DEV parent ffff: \
  7. protocol ip prio 20 \
  8. u32 match ip protocol 17 0xff \
  9. police rate 512kbit buffer 10k drop \
  10. flowid :1
  11.  
  12.  
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement