SmallNetBuilder Forums
Go Back   SmallNetBuilder Forums > Wireless Networking > ASUS Wireless > Asuswrt-Merlin

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-22-2013, 09:28 PM
ingenium ingenium is offline
New Member
 
Join Date: Jan 2013
Posts: 6
Thanks: 0
Thanked 4 Times in 2 Posts
ingenium is just starting out
Default Layer7 broken?

Whenever I try to add an iptables rule with layer7, such as:

Code:
iptables -t mangle -A QOSO -p tcp -m layer7 --l7proto bittorrent -j CONNMARK --set-return 0x5/0xff
it returns:

Code:
iptables: No chain/target/match by that name
I can't see a layer7 module loaded, so maybe it's compiled into the kernel? If I try to change l7proto to something else, say "test", it returns:

Code:
iptables v1.3.8: Couldn't find a pattern definition file for test.
So it's clearly finding the pattern rules in /etc/l7-protocols/. There must be some other problem going on.

EDIT: I may as well ask another related question in the same thread. If I want to add custom QoS rules, should I have it in the firewall-start script or the nat-start script? Or does it not matter? Basically I don't want the rules being re-added if the mangle table hasn't been flushed... does adding a port forward via the webui just flush the nat table or does it re-load the whole firewall?

Last edited by ingenium; 01-22-2013 at 10:28 PM.
Reply With Quote
  #2  
Old 01-25-2013, 07:09 AM
ingenium ingenium is offline
New Member
 
Join Date: Jan 2013
Posts: 6
Thanks: 0
Thanked 4 Times in 2 Posts
ingenium is just starting out
Default

I found the directory where all the kernel modules are, and there was a layer7 module in there. Running "modprobe xt_layer7" fixed the issue.
Reply With Quote
The Following 3 Users Say Thank You to ingenium For This Useful Post:
  #3  
Old 02-28-2014, 02:34 PM
yelo3 yelo3 is offline
New Member
 
Join Date: Feb 2014
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
yelo3 is just starting out
Default

Any suggestion on how to block p2p instead of marking it for QOS?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 01:59 PM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  394
L&LD  121
azazel1024  119
john9527  98
htismaqe  91
stevech  85
ColinTaylor  76
hggomes  54
sfx2000  51
Anzaia  45
RMerlin  6298
john9527  463
stevech  353
ryzhov_al  290
TeHashX  254
L&LD  245
RogerSC  204
sinshiva  146
sfx2000  136
joegreat  127
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  59181
Old RT-AC68 -...  25803
Old Moderate Nat...  5560
Old ASUS RT-N66U...  5158
Old iOS 8.1...  4279
Old RT-AC87U -...  2883
Old New AC68...  2710
Old RT-AC68P QOS...  2343
Old AC68U,...  2198
Old Ruckus...  1976
Old Asuswrt-Merli...  254
Old RT-AC68 -...  141
Old Moderate Nat...  34
Old iOS 8.1...  33
Old RT-AC87U -...  26
Old RT-AC68P QOS...  24
Old How to flash...  24
Old Linksys...  21
Old Help Plz:...  21
Old NAS...  20


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2006-2014 Pudai LLC All Rights Reserved.