Opened 3 years ago

Last modified 3 years ago

#18534 new defect

iptables xt_account Barrier Breaker 14.07

Reported by: ctusky Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: iptables, xt_account Cc:


I only know a little bit English, following is the translation to, mainly to see the code, simple to describe my problem:
When I want to use iptables account to count the internal address flow, found that although I compile time iptables-mod-account module and its subsidiary, but in the use of problems.
The following is a list of the environment and my commands, or whether the account here do not use that name?

root@OpenWrt:~# cat /etc/openwrt_release 
DISTRIB_DESCRIPTION='OpenWrt Chaos Calmer r43100'
DISTRIB_TAINTS='no-all no-ipv6'

root@OpenWrt:~# opkg list-installed | grep account
iptables-mod-account - 2.5-1
iptaccount - 2.5-1
kmod-ipt-account - 3.14.18+2.5-1

root@OpenWrt:~# cat /etc/modules.d/ipt-account 

root@OpenWrt:~# find / -name "xt_ACCOUNT"

root@OpenWrt:~# '''iptables -m account -h'''
iptables v1.4.21: Couldn't load match `account':No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

Before my environment, the last one is I want to force command, it is obvious that iptables can't find account?


Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by ctusky

root@OpenWrt:~# iptables -m account -h
iptables v1.4.21: Couldn't load match `account':No such file or directory

comment:2 follow-up: Changed 3 years ago by anonymous

it's a target (-j ACCOUNT), not a module (-m)

please have a look at the original documentation here:

comment:3 in reply to: ↑ 2 Changed 3 years ago by ctusky

Thank you very much! Friend

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.