Thanks for the tip. I tried building the kernel from scratch, it seems that the source code for this module is not included in the L4T source tbz2?
When I run
make menuconfig I enabled this module:
| Symbol: IP_NF_MATCH_TTL [=m]
| Type : tristate
| Prompt: "ttl" match support
| -> Networking support (NET [=y])
| -> Networking options
| -> Network packet filtering framework (Netfilter) (NETFILTER [=y])
| -> IP: Netfilter Configuration
| (6) -> IP tables support (required for filtering/masq/NAT) (IP_NF_IPTABLES [=m])
| Defined at net/ipv4/netfilter/Kconfig:210
| Depends on: NET [=y] && INET [=y] && NETFILTER [=y] && IP_NF_IPTABLES [=m] && NETFILTER_ADVANCED [=y]
| Selects: NETFILTER_XT_MATCH_HL [=m]
however it didn’t seem to actually enable the module once I packaged it up and deployed it to my Jetson Nano.
Debugging a bit, under
~/Linux_for_Tegra/source/public/kernel/kernel-4.9/net/ipv4/netfilter I don’t have an
ipt_TTL.c file, however this seems to be present in the linux kernel: ipt_TTL.c - net/ipv4/netfilter/ipt_TTL.c - Linux source code (v2.6.24) - Bootlin
The uapi header seems to be present under
I’m new to kernel development, have I missed something?