linux icon indicating copy to clipboard operation
linux copied to clipboard

arm64: .config: msm8916: iptables and netfilter modules

Open xiv3r opened this issue 2 months ago • 2 comments

xiv3r avatar Sep 29 '25 04:09 xiv3r

Could you explain what are these modules for? Maybe it's not msm8916-specific and can be added on the other platforms?

Could you explain what are these modules for? Maybe it's not msm8916-specific and can be added on the other platforms?

this module are missing from arch/arm64/configs/msm8916_defconfig

CONFIG_NETFILTER_ADVANCED=y
CONFIG_NETFILTER_XTABLES=y
CONFIG_NETFILTER_XTABLES_COMPAT=y 
CONFIG_NF_TABLES_IPV4=y
CONFIG_NF_TABLES_IPV6=y
CONFIG_NETFILTER_XT_MATCH_HL=m
CONFIG_NETFILTER_XT_TARGET_HL=m
CONFIG_NETFILTER_XT_MATCH_TTL=m
CONFIG_NETFILTER_XT_TARGET_TTL=m
Screenshot_2025_0930_145945

I'm using an msm8916 device which the xt_HL.ko module is not loaded or missing. my goal is i have an access point with TTL=1 and want this module in order to increase the TTL=1 value to TTL=64 see below.

  • iptables
iptables -t mangle -A PREROUTING -j TTL --ttl-set-64
  • nftables
chain mangle_prerouting_ttl64 {
      type filter hook prerouting priority 300; policy accept;
      ip ttl set 64
}

xiv3r avatar Sep 30 '25 07:09 xiv3r