hxping7 / wl500g

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

iptables -m string --string "xxxx" --algo kmp DOESN'T WORK #387

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Firmware 1.9.2.7-rtn-r4923.

[admin@WL-001BFC918E51 root]$ iptables -A INPUT -j DROP -m string --string 
'badstring' --algo 'kmp'
iptables: No chain/target/match by that name.
[admin@WL-001BFC918E51 root]$

this error always occurs when module string is mentioned. seems like modules  
x_tables и xt_tcpudp are missed:

[admin@WL-001BFC918E51 root]$ lsmod
Module                  Size  Used by    Tainted: P
ntfs                  114800  0
usb_storage            77721  0
sd_mod                 20912  0
scsi_mod               84491  2 usb_storage,sd_mod
uvcvideo               62563  0
input_core             21126  1 uvcvideo
v4l2_common            11572  0
videodev               35395  1 uvcvideo
soundcore               4316  0
usblp                  11904  0
uhci_hcd               21504  0
ehci_hcd               36608  0
usbcore               128994  6 usb_storage,uvcvideo,usblp,uhci_hcd,ehci_hcd
nf_nat_ftp              1584  0
nf_conntrack_ftp        6256  1 nf_nat_ftp
pppol2tp               24833  2
pppox                   1642  1 pppol2tp
wl                   1215269  0
et                     46737  0
igs                    15468  1 wl
emf                    18315  2 wl,igs

Original issue reported on code.google.com by zlot...@gmail.com on 16 Mar 2013 at 3:04

GoogleCodeExporter commented 9 years ago
You have to get minimal knowledge on linux. Also, try to read wl500g.info forum.

For this rule you need ts_kmp.ko module

Original comment by lly.dev on 16 Mar 2013 at 5:13