What's new

Asuswrt-Merlin Layer 7 QoS

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

JonoCoetz

New Around Here
Just wondering if it's possible to do layer 7 QoS/shaping with Asuswrt-Merlin? Looking to shape (but not block) BitTorrent traffic without having to lock down to specific ports.

I'm fairly proficient with Linux and not scared of getting my hands dirty just looking for a nudge in the right direction.
 
That would basically be packet inspection right? Would the Asus have the horsepower required for that?
 
Just wondering if it's possible to do layer 7 QoS/shaping with Asuswrt-Merlin? Looking to shape (but not block) BitTorrent traffic without having to lock down to specific ports.

I'm fairly proficient with Linux and not scared of getting my hands dirty just looking for a nudge in the right direction.

The l7 kernel module is included along with the protocol rules, but you will have to manually configure everything yourself, it's not accessible through the webui.
 
That would basically be packet inspection right? Would the Asus have the horsepower required for that?

Yes, Layer 7 shaping is another phrase for Deep Packet Inspection. That was a concern that the Asus wouldn't be powerful enough but both IPP2P and L7-filter come standard in Tomato so I don't think it will be too much of a problem.
 
Okay, I tried running example layer7 iptables commands earlier and I got errors about references to unknown modules/protocols or something. Will find the page I got them from earlier and post the exact error message.
 
Has anyone actually been able to get layer 7 filtering to block bittorrent traffic?
Ive been using

insmod /lib/modules/2.6.22.19/kernel/net/netfilter/xt_layer7.ko
iptables -I FORWARD -s 192.168.1.0/24 -m layer7 --l7prot
o bittorrent -j DROP

and verified module is loading with lsmod but it does nothing in regards to blocking torrent traffic.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top