zhuravskiy / wl500g

Automatically exported from code.google.com/p/wl500g
0 stars 0 forks source link

Need ip filter support for iptables #404

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Login to system by ssh 
2.run command below
iptables -t mangle -A OUTPUT -p tcp --dport 80 -m state --state NEW -m 
statistic --mode nth --every 3 --packet 1 -j MARK --set-mark 1

3.the system will retrun error below:
iptables: No chain/target/match by that name.

What is the expected output? What do you see instead?
the rule should be added to iptables

What version of the product are you using?
RT-N16 R5163

Please describe the problem as detailed as it's possible.
If you have connection problem, then syslog file is required. (please do
attach it as a file)

Original issue reported on code.google.com by jackyloo...@gmail.com on 19 Jul 2013 at 6:30

GoogleCodeExporter commented 8 years ago
First of all, you have to renew your knowledge about iptables & nefilter - 
state match was obsoleted a long time ago. Replaced with "conntrack" match.

Also, you need to load appropriate netfilter modules. Some of 
them(xt_statistic, for example) can be missing from public builds.

Original comment by lly.dev on 20 Jul 2013 at 10:45

GoogleCodeExporter commented 8 years ago
Thanks for your reply, I understand now.

Original comment by jackyloo...@gmail.com on 20 Jul 2013 at 3:28