I'm sure it worked with RT-AC68U_384.19_0What was the last firmware version that this worked with?
I'm sure it worked with RT-AC68U_384.19_0
I think it worked with RT-AC68U_386.1_0
Shall I file this as a issue on https://github.com/RMerl/asuswrt-merlin.ng ?
nf_conntrack_netlink
module is missing from the current firmware's builtin modules.NFCM=n
option to target.mak and extra code was added to Makefile which deletes the CONFIG_NF_CT_NETLINK
modules.1) missingIt might be worth doing that. I've just done a diff on the old and current versions of conntrack.c and can see that someone called "Andrew" added a new parameter for "log". The old version was vanilla 1.4.5 code. Given that the error message is complaining about invalid parameters I'm guessing that there's a bug in that new code. (Although that doesn't explain why I'm seeing the same error message with the Entware version )
OK forget the above theory. AFAICT the "invalid parameter" message is the default message when an unexpected error occurs.
I think the real cause of the problem is that thenf_conntrack_netlink
module is missing from the current firmware's builtin modules.
EDIT: It looks like the 386 builds added theNFCM=n
option to target.mak and extra code was added to Makefile which deletes theCONFIG_NF_CT_NETLINK
modules.
I suspect this has broken (at least partially) parental controls as the conntrack user space tool is called directly (e.g. link).
nf_conntrack_netlink
: sounds reasonable,Hi
Module Size Used by Tainted: P
ip6t_LOG 4494 0
ebtable_broute 873 0
ebtable_filter 1061 0
ebtable_nat 1056 0
ebtables 15643 3 ebtable_broute,ebtable_filter,ebtable_nat
usblp 10321 0
thfsplus 84702 0
tntfs 493645 0
tfat 186782 0
ext2 52776 0
ext4 221674 0
crc16 1007 1 ext4
jbd2 48993 1 ext4
ext3 106409 0
jbd 42367 1 ext3
mbcache 4599 3 ext2,ext4,ext3
usb_storage 34290 0
sg 19855 0
sd_mod 21983 0
scsi_wait_scan 416 0
scsi_mod 108738 3 usb_storage,sg,sd_mod
ohci_hcd 17926 0
ehci_hcd 32382 0
nf_nat_ftp 1144 0
nf_conntrack_ftp 4909 1 nf_nat_ftp
ip6table_mangle 934 0
cdc_mbim 3137 0
qmi_wwan 5792 0
cdc_wdm 7252 2 cdc_mbim,qmi_wwan
cdc_ncm 8762 1 cdc_mbim
rndis_host 5256 0
cdc_ether 4036 1 rndis_host
asix 10856 0
cdc_acm 12614 0
usbnet 11900 6 cdc_mbim,qmi_wwan,cdc_ncm,rndis_host,cdc_ether,asix
usbcore 102572 14 usblp,usb_storage,ohci_hcd,ehci_hcd,cdc_mbim,qmi_wwan,cdc_wdm,cdc_ncm,rndis_host,cdc_ether,asix,cdc_acm,usbnet
mii 3367 2 asix,usbnet
ip6table_filter 750 1
jffs2 91274 1
zlib_deflate 19489 1 jffs2
nf_nat_pptp 1602 0
nf_conntrack_pptp 3355 1 nf_nat_pptp
nf_nat_proto_gre 887 1 nf_nat_pptp
nf_conntrack_proto_gre 3296 1 nf_conntrack_pptp
wl 4198524 0
dpsta 12782 1 wl
et 65134 0
igs 11887 1 wl
emf 15225 2 wl,igs
ctf 21199 0
/lib/modules/2.6.36.4brcmarm/modules.builtin
because the module is compiled into the kernel rather than being "loadable".Actually, on Merlin it's compiled separately as a userspace libraryYou need to look in/lib/modules/2.6.36.4brcmarm/modules.builtin
because the module is compiled into the kernel rather than being "loadable".
obj-$(RTCONFIG_CONNTRACK) += conntrack
obj-$(RTCONFIG_CONNTRACK) += libnfnetlink-1.0.1
obj-$(RTCONFIG_CONNTRACK) += libmnl-1.0.4
obj-$(RTCONFIG_CONNTRACK) += libnetfilter_conntrack-1.0.7
obj-$(RTCONFIG_CONNTRACK) += libnetfilter_cttimeout-1.0.0
this is (very long) content of my modules.builtin,You need to look in/lib/modules/2.6.36.4brcmarm/modules.builtin
because the module is compiled into the kernel rather than being "loadable".
The 384 firmware had an additional entry for kernel/net/netfilter/nf_conntrack_netlink.kothis is (very long) content of my modules.builtin,
it has kernel/net/netfilter/nf_conntrack.ko ... (and ipv4)
I only see one here - libnfnetlink-1.0.1Actually, on Merlin it's compiled separately as a userspace library
Code:obj-$(RTCONFIG_CONNTRACK) += conntrack obj-$(RTCONFIG_CONNTRACK) += libnfnetlink-1.0.1 obj-$(RTCONFIG_CONNTRACK) += libmnl-1.0.4 obj-$(RTCONFIG_CONNTRACK) += libnetfilter_conntrack-1.0.7 obj-$(RTCONFIG_CONNTRACK) += libnetfilter_cttimeout-1.0.0
I think I see the problem though.....there are two versions of libnfnetlink referenced in the Makefile. One part of conntrack and the other part of ipset support.I think one is overwriting the other (but not sure which is the right one).
obj-$(RTCONFIG_CONNTRACK) += libnfnetlink-1.0.1
obj-$(RTCONFIG_NFCM) += libnfnetlink-1.0.1
obj-y += libnfnetlink-1.0.1
Didn't think I was that senile (at least not yet ). I forgot I had the 384 branch checked out looking at something and it does have two libnfnetlink versions. Sorry for the false alarm.I only see one here - libnfnetlink-1.0.1
There are so many similarly named libraries that I myself triple-checked to make sure I hadn't missed it LOLDidn't think I was that senile (at least not yet ). I forgot I had the 384 branch checked out looking at something and it does have two libnfnetlink versions. Sorry for the false alarm.
Does this mean that it's fixed in next version ?Explicitly disabling NFCM would cause the CONFIG_NF_CT_NETLINK support to be removed from the kernel. I just removed the explicit NFCM=n code in Makefile, conntrack -E and -L now work correctly.
yes, found it in RT-AC68U_386.2_beta3.zipDoes this mean that it's fixed in next version ?
(or maybe even in a current beta)
/Jonas
Yes.and for reference, it is this, https://github.com/RMerl/asuswrt-merlin.ng/commit/0bbc055140d0841b5c845223f6fc1ea7eb54adbe
right ?
Yes.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!