[Feature Request] daemon sighup support
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- linux, python
調査の方向性
まず、daemon の SIGHUP またはシグナル処理のエントリポイントと、設定読み込みの経路を特定します。設定の再読み込みで保護機構と長期間維持されるホスト名接続を保持する方法を確認し、次に daemon が完全な再起動なしに再読み込みされ、既存の接続が許可されたホスト名を保持することを検証します。
索引モデルが issue の本文から書いたものです。
説明
I have not found a similar issue/request
Summary:
It is a common feature in *nix daemons that a SIGHUP message sent to a service will cause the service to reload all configurations with zero (or near-zero) downtime. Currently the only option we have is to restart the service completely - but this means that the "protections" available from the service are temporarily unavailable.
Reason for noticing:
I've been crafting rules and finding that they didn't quite work or aren't loaded properly unless I restart the daemon completely. This is partly my own fault for having bad rules - but also it does highlight how fragile the service can be.
Other consequences
This also highlights an issue with existing long-lived connections to hostname destinations, where the link between the IP and the "allowed hostname" is forgotten. When the service restarts, these destinations are only recognised as IP addresses instead of their full hostnames. So when Steam happens to connect to "api.steampowered.com" that was allowed ; but after the restart, the connection to that same host 23.52.28.42 no longer links to that allowed hostname and gets blocked. I'm not sure if I should file a separate feature request for that. It is already two feature requests in quick succession so far from me. :-)
- 主要言語
- Python
- スター
- 14.3k
- フォーク
- 689
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
evilsocket/opensnitch のほかの issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
evilsocket/opensnitch#1715 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
evilsocket/opensnitch#1689 · コメント 3 件 · リアクション 1 件 ·
-
[Bug Report] list_subscriptions plugin prevents the UI from starting with protobuf < 3.20 (Fedora 44)対応中かも @aadrian が 48 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
evilsocket/opensnitch#1683 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
evilsocket/opensnitch#1675 ·
-
ui: Addresses tab shows raw column name "what"対応中かも @aadrian が 48 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
evilsocket/opensnitch#1674 · コメント 2 件 ·
evilsocket/opensnitch の issue をすべて見る
似ている issue
-
[Bug]: DoubleMLData.from_arrays checks the treatment d with force_all_x_finite instead of force_all_d_finite対応中かも @leninworld が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
DoubleML/doubleml-for-py#471 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
python-pillow/Pillow#10590 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
BUG: ZarrTrace fails in init_trace for models with datetime coordinates (object dtype coord array)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信