Guest User

Untitled

a guest
Nov 16th, 2011
116
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
RAW Paste Data