Status-Report: Authentifizierung und eingehende Verbindungen #25

Merged
jochen merged 2 commits from feat/report-auth into master 2026-11-10 22:11:15 +00:00
Collaborator

Wunsch aus dem OPNsense-Test: authenticated=true auch im Report, nicht nur im Log.

Neu in --status / service mdns_bridged report / im Status-Tab des Plugins:

  • authentication: psk oder none
  • peers.<name>.authenticated: nur true, solange verbunden und mit PSK
  • inbound: Verbindungen zu unserem Listener, nach Remote-Adresse, mit authenticated und since_secs. Bisher zeigte der Report gar nicht, wer zu diesem Standort sendet.

Beispiel (lokaler E2E mit PSK auf beiden Seiten):

authentication: psk
peers:   {'site-b': {'connected': True, 'authenticated': True, 'since_secs': 2}}
inbound: {'127.0.0.1:53752': {'authenticated': True, 'since_secs': 2}}

Getestet: fmt, clippy, 40 Tests (neuer Test für Snapshot mit und ohne PSK sowie Entfernen geschlossener Inbound-Verbindungen), E2E wie oben. Die README-Zeile dazu kommt nach #24 mit dem Syslog-Fix, um Konflikte zu vermeiden.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Vh6img4RYU1F52VUwGJcrp

Wunsch aus dem OPNsense-Test: `authenticated=true` auch im Report, nicht nur im Log. Neu in `--status` / `service mdns_bridged report` / im Status-Tab des Plugins: - `authentication`: `psk` oder `none` - `peers.<name>.authenticated`: nur `true`, solange verbunden und mit PSK - `inbound`: Verbindungen zu unserem Listener, nach Remote-Adresse, mit `authenticated` und `since_secs`. Bisher zeigte der Report gar nicht, wer zu diesem Standort sendet. Beispiel (lokaler E2E mit PSK auf beiden Seiten): ``` authentication: psk peers: {'site-b': {'connected': True, 'authenticated': True, 'since_secs': 2}} inbound: {'127.0.0.1:53752': {'authenticated': True, 'since_secs': 2}} ``` Getestet: fmt, clippy, 40 Tests (neuer Test für Snapshot mit und ohne PSK sowie Entfernen geschlossener Inbound-Verbindungen), E2E wie oben. Die README-Zeile dazu kommt nach #24 mit dem Syslog-Fix, um Konflikte zu vermeiden. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Vh6img4RYU1F52VUwGJcrp
Status report: authentication and inbound connections
Some checks failed
build-freebsd / freebsd (pull_request) Successful in 2m55s
build-freebsd / release (pull_request) Has been skipped
ci / rust (push) Successful in 3m13s
ci / rust (pull_request) Has been cancelled
4b64dbf4a7
- authentication: "psk" or "none"
- peers.<name>.authenticated (while connected)
- inbound: connections to our listener by remote address, with
  authenticated and since_secs - so far the report showed nothing
  about peers that send to this site

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vh6img4RYU1F52VUwGJcrp
jochen approved these changes 2026-11-10 21:56:47 +00:00
README: new report fields
All checks were successful
build-freebsd / freebsd (pull_request) Successful in 2m55s
build-freebsd / release (pull_request) Has been skipped
ci / rust (push) Successful in 3m28s
ci / rust (pull_request) Successful in 3m31s
0f77dbb3a4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vh6img4RYU1F52VUwGJcrp
jochen merged commit df71fe2ab7 into master 2026-11-10 22:11:15 +00:00
jochen deleted branch feat/report-auth 2026-11-10 22:11:15 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jochen/mdns-bridge!25
No description provided.