nf_conntrack_timestamp not found

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

nf_conntrack_timestamp not found

1,354 Views
prashant_chopad
Contributor II

Hello All,

I have iMX8M Mini EVK.

I did setup a Yocto toolchain for version L5.4.24_2.1.0 on my Ubuntu 18.04 LTS system.

I did successfully "bitbake imx-image-multimedia"

Following are few logs:

root@imx8mmevk:~/# modinfo nf_conntrack

filename:       /lib/modules/5.4.24-2.1.0+gbabac008e5cf/kernel/net/netfilter/nf_conntrack.ko

license:        GPL

alias:          nf_conntrack-10

alias:          nf_conntrack-2

alias:          ip_conntrack

depends:        nf_defrag_ipv6,libcrc32c,nf_defrag_ipv4

intree:         Y

name:           nf_conntrack

vermagic:       5.4.24-2.1.0+gbabac008e5cf SMP preempt mod_unload modversions aarch64

parm:           acct:Enable connection tracking flow accounting. (bool)

parm:           nf_conntrack_helper:Enable automatic conntrack helper assignment (default 0) (bool)

parm:           expect_hashsize:uint

parm:           enable_hooks:Always enable conntrack hooks (bool)

--------------------------------

root@imx8mmevk:~# ls /proc/sys/net/netfilter/

nf_conntrack_acct                        nf_conntrack_sctp_timeout_cookie_wait

nf_conntrack_buckets                     nf_conntrack_sctp_timeout_established

nf_conntrack_checksum                    nf_conntrack_sctp_timeout_heartbeat_acked

nf_conntrack_count                       nf_conntrack_sctp_timeout_heartbeat_sent

nf_conntrack_dccp_loose                  nf_conntrack_sctp_timeout_shutdown_ack_sent

nf_conntrack_dccp_timeout_closereq       nf_conntrack_sctp_timeout_shutdown_recd

nf_conntrack_dccp_timeout_closing        nf_conntrack_sctp_timeout_shutdown_sent

nf_conntrack_dccp_timeout_open           nf_conntrack_tcp_be_liberal

nf_conntrack_dccp_timeout_partopen       nf_conntrack_tcp_loose

nf_conntrack_dccp_timeout_request        nf_conntrack_tcp_max_retrans

nf_conntrack_dccp_timeout_respond        nf_conntrack_tcp_timeout_close

nf_conntrack_dccp_timeout_timewait       nf_conntrack_tcp_timeout_close_wait

nf_conntrack_events                      nf_conntrack_tcp_timeout_established

nf_conntrack_expect_max                  nf_conntrack_tcp_timeout_fin_wait

nf_conntrack_frag6_high_thresh           nf_conntrack_tcp_timeout_last_ack

nf_conntrack_frag6_low_thresh            nf_conntrack_tcp_timeout_max_retrans

nf_conntrack_frag6_timeout               nf_conntrack_tcp_timeout_syn_recv

nf_conntrack_generic_timeout             nf_conntrack_tcp_timeout_syn_sent

nf_conntrack_helper                      nf_conntrack_tcp_timeout_time_wait

nf_conntrack_icmp_timeout                nf_conntrack_tcp_timeout_unacknowledged

nf_conntrack_icmpv6_timeout              nf_conntrack_udp_timeout

nf_conntrack_log_invalid                 nf_conntrack_udp_timeout_stream

nf_conntrack_max                         nf_log

nf_conntrack_sctp_timeout_closed         nf_log_all_netns

nf_conntrack_sctp_timeout_cookie_echoed

-------------------------------------

root@imx8mmevk:~#sysctl -w net.netfilter.nf_conntrack_timestamp=1

sysctl: cannot stat /proc/sys/net/netfilter/nf_conntrack_timestamp: No such file or directory

 

Why nf_conntrack_timestamp is missing from my image? How to make it available in image?

Thanks,

Prashant

0 Kudos
4 Replies

1,336 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Prashant,

It looks like is disable by kernel, so you have to enable in the "core netfilter & configuration"

config NF_CONNTRACK_TIMESTAMP N

Then recompile the kernel.

 

Regards

0 Kudos

1,317 Views
prashant_chopad
Contributor II

@Bio_TICFSL ,

Instead of recompiling the kernel, can I build that module and then do insmod?

In such scenario, what module name shall I use to build?

Regards,

Prashant

0 Kudos

1,299 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You can put whatever name you liked, just make sure that the code make reference to your code, in both ways you have to recompile the kernel.

Regards

 

0 Kudos

1,296 Views
prashant_chopad
Contributor II

@Bio_TICFSL ,

I am trying to avoid kernel compilation. This is a difference between Windows and Linux.

So here I want to bitbake only this module. But I don't know which module contains NF_CONNTRACK_TIMESTAMP. 

So here need your help to find the name of the module.

Regards,

Prashant

0 Kudos