2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
カーネルの変更
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ここでは、メインラインと異なるカーネルの主な変更点について概説します。
- net/netfilter/xt_qtaguid* を追加
- xtables-addons プロジェクトから net/netfilter/xt_quota2.c をインポートして変更
- net/netfilter/ip6_tables.c を修正
- ip*t_REJECT.c を変更
- net/netfilter/xt_socket.c を変更
カーネル設定に対するいくつかのコメント:
- xt_qtaguid は xt_owner を装い、xt_socket に依存し、それ自体が接続トラッカーに依存します。
- xt_qtaguid のサポートは、Android 9 リリース以降、段階的に廃止される予定です。詳細については、eBPF トラフィック モニタリングをご覧ください。
- 接続トラッカーは大きな SIP パケットを処理できません。無効にする必要があります。
- 変更された xt_quota2 は、NFLOG サポートを使用してユーザー空間に通知します。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-03-26 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-26 UTC。"],[],[],null,["# Kernel changes\n\nThis is a summary of the main changes in the kernel that diverge from mainline.\n\n- added net/netfilter/xt_qtaguid\\*\n- imported then modified net/netfilter/xt_quota2.c from xtables-addons project\n- fixes in net/netfilter/ip6_tables.c\n- modified ip\\*t_REJECT.c\n- modified net/netfilter/xt_socket.c\n\nA few comments on the kernel configuration:\n\n- xt_qtaguid masquerades as xt_owner and relies on xt_socket and itself relies on the connection tracker.\n- Support for xt_qtaguid will be phased out starting in the Android 9 release. See [eBPF traffic monitoring](/docs/core/data/ebpf-traffic-monitor) for more information.\n- The connection tracker can't handle large SIP packets, it must be disabled.\n- The modified xt_quota2 uses the NFLOG support to notify userspace."]]