juanfont/headscale

Feature request: Webhooks

オープン

#1,543 opened on 2023/09/06

 (13 件のコメント) (11 件のリアクション) (0 人の担当者)Go (2,104 件のフォーク)batch import
enhancementhelp wantedneeds design docno-stale-bot

Repository metrics

Stars
 (38,374 個のスター)
PR merge metrics
 (平均マージ 1d 11h) (30d で 33 merged PRs)

説明

Why

MagicDNS is not exactly doing what I really need without a lot of hacks on my DNS servers. In a number of cases it would be easier to just update a "real" name server or use a completely different mechanism.

Information could be scraped from logs but that's inefficient. A special peer could be crafted to serve as bridge to external tools but that seems to be the completely wrong direction.

Description

Please add a simple mechanism that will call an external tool

The path to the tool should be configurable (and calls should only be made if it has been configured) and should send "event" (e. g. "client is ready"/"client has closed the connection"), account, client name and IP address(es). The exit code of the subprocess can be safely ignored. It's not your problem.

コントリビューターガイド