Repository navigation
feat(talos): ノードの受信の防火壁 (Ingress Firewall) を足す - #646
Merged
Merged
Conversation
DMZ と IPv6 ホスト公開で、ノード自身が受けるもの (Talos の API 50000・trustd 50001・etcd 2379/2380・ kubelet 10250・Cilium の 4240/4244/9963/9964) が外から届いていた。NetworkDefaultActionConfig で既定を捨て、 外からは TCP 80・443・853・3129・6443・8443 と UDP 8443・51820 だけ、プライベートのアドレスからは全部を通す。 talos-boot は IPv6 の hostfwd (送信元がグローバル) で 443 が通り 10250 が通らないことを見る。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T9PbUfqG4pPxus99UeLiJs
|
Claude finished @5ym's task in 41s —— View job レビュー結果
重大な不具合は見つかりませんでした。 変更は意図どおりで、 不具合・設計 (要確認)
CI (
|
…v6 の hostfwd を読まない) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T9PbUfqG4pPxus99UeLiJs
|
Claude finished @5ym's task in 21s —— View job レビュー結果重大な不具合は見つかりませんでした。 差分( 設計・セキュリティ(要確認)
テスト (
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T9PbUfqG4pPxus99UeLiJs
|
Claude finished @5ym's task in 13s —— View job レビュー結果最新の push ( 前回までの指摘の状況
テスト
総評: マージしてよいと思います。上の 3 点目は、当てる前の |
5ym
added a commit
that referenced
this pull request
Oct 31, 2026
#646 の防火壁で、Pod からノード自身の IP の 443 番(Gateway)が conntrack の invalid として捨てられ、Argo CD が Forgejo を読めず runner も落ちていた (Z440 への移行で気づいた)。ingress: accept でも invalid の規則は残るので、 5 つの文書ごと外し、render.sh の needle も外す。経緯は bootstrap/talos.md。 eno4 の disable_ipv6 は Z440 に無い名前で KernelParamSpecController が失敗し続け、 後から足した sysctl が当たらなかったので消す。 Claude-Session: https://claude.ai/code/session_01T9PbUfqG4pPxus99UeLiJs Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
別の回線から、ノードの公開 IPv4 (DMZ で全部 10.0.0.2 へ) に、外に出すべきでないホストのポートが TCP でつながった: 50000/50001 (apid/trustd)・2379/2380 (etcd)・10250 (kubelet)・4240/4244 (Cilium health/Hubble)・9963/9964 (operator/envoy の metrics)。IPv6 もホスト公開で同じ。docs/router.md と recovery/README.md の「Talos の API は LAN からしか届かない」は誤りだった。
bootstrap/talos.sops.yamlにNetworkDefaultActionConfig(ingress: block) とNetworkRuleConfigを 4 つpublic-tcp: 80・443・853・3129・6443・8443 を 0.0.0.0/0・::/0 からpublic-udp: 8443・51820 を 0.0.0.0/0・::/0 からprivate-tcp/private-udp: 1-65535 を 10/8・100.64/10 (NetBird)・fc00::/7・fe80::/10 から (Pod・Service の 10.42/10.43・fd42/fd43 もここに入る)talosctl netstat -lで、ホストで受けているのは 80・443・6443 (公開) と 50000・50001・2379・2380・2383・10250・4240・4244・8472・9963・9964・169.254.116.108:53 (内側だけ) と localhost だけなのを確かめたsops:は他のドキュメントと同じもの (mac_only_encrypted)。手元の鍵でsops -dが通るのを確かめたvalid for metal modeを確かめた--mode=tryで当てる手順を足した当てるのは手で (
apply-config --mode=try --timeout 5mで確かめてから--mode=no-reboot)。🤖 Generated with Claude Code
https://claude.ai/code/session_01T9PbUfqG4pPxus99UeLiJs