Skip to content

xymond: restrict the "config" command to admin/config senders#1

Open
SoundGoof wants to merge 1 commit into
mainfrom
feature/xymond-config-senders
Open

xymond: restrict the "config" command to admin/config senders#1
SoundGoof wants to merge 1 commit into
mainfrom
feature/xymond-config-senders

Conversation

@SoundGoof

Copy link
Copy Markdown
Member

The "config" command served *.cfg files from etc/ to any host, since it was gated by the default-open statussenders ACL. Require the sender be in admin-senders (as drop/rename already are) or a new, separate config-senders list, so distributed tools (e.g. a remote xymonnet poller) can be authorized to fetch config files without also getting admin-senders' drop/rename rights.

@SoundGoof SoundGoof force-pushed the feature/xymond-config-senders branch 3 times, most recently from 4e3cb08 to 0ac73ee Compare July 9, 2026 22:06
--config-senders is independent of --admin-senders. Unset (default),
"config" and "query" are gated by --status-senders, same as before
this option existed. Once set, only hosts in --config-senders may
send either command, and --status-senders no longer applies to them.

Adds tests/server/config-senders-optin.sh to guard this contract.
@SoundGoof SoundGoof force-pushed the feature/xymond-config-senders branch from 0ac73ee to 4ee7f66 Compare July 9, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant