kernel: build in IPv6 netfilter (flare-edge#533) #15

Merged
noah merged 2 commits from fix-533-ipv6-netfilter into flare-edge-next 2026-10-08 07:56:52 -06:00
2 Commits
Author SHA1 Message Date
NoahandClaude Sonnet 5.5 b7125fc4a7 kernel: correct IPv6 netfilter defconfig comment (flare-edge#533)
ci / badges (push) Skipped
ci / mcdc (push) Successful in 13s
ci / test (push) Successful in 15s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 29s
ci / bench (push) Successful in 5s
ci / qemu-tools (push) Successful in 44s
ci / patches-apply (push) Successful in 16s
ci / quality (pull_request) Successful in 27s
ci / badges (pull_request) Skipped
ci / test (pull_request) Successful in 14s
ci / bench (pull_request) Successful in 6s
ci / mcdc (pull_request) Successful in 12s
ci / patches-apply (pull_request) Successful in 14s
ci / qemu-tools (pull_request) Successful in 43s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
The icmp6 match is part of the ip6_tables core (IP6_NF_IPTABLES), not
xt_tcpudp. Comment only; the symbol set is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk
2026-10-07 14:35:09 -06:00
NoahandClaude Sonnet 5.5 35f3ca10eb kernel: build in IPv6 netfilter (flare-edge#533)
The panel kernel had no ip6tables filter table, so the IPv4 default-drop
firewall never applied to IPv6 and dropbear and telnetd were reachable over
::. Enable the ip6tables core (legacy flavour, matching the userland), the
filter table, and IPv6 defrag for conntrack, all built in because the panel
has no /lib/modules:

  CONFIG_NF_DEFRAG_IPV6=y
  CONFIG_IP6_NF_IPTABLES=y
  CONFIG_IP6_NF_IPTABLES_LEGACY=y
  CONFIG_IP6_NF_FILTER=y

No new match symbols: icmp6 lives in xt_tcpudp, and state, limit and
conntrack are family-agnostic and already enabled.

build-kernel.sh now asserts these four are =y in the final .config, because
olddefconfig drops an unmet-dependency line silently and the loss would only
show as an unfiltered IPv6 stack in the field.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk
2026-10-07 13:16:08 -06:00