Repository navigation
Conversation
netbird#8576 (merged 2026-11-23) stops answering every refused request to a private service with 403. The status now depends on the caller: 404 outside the account (or with no private access, or a blocked/pending owner), 403 for a peer that reaches another private service, 401 for a peer outside every Agent Network policy, 503 when management cannot be asked. Pre-validation refusals (IP restriction, blocked path) are 403 for a roster peer and 404 otherwise. Verified against the PR diff (proxy/internal/auth/middleware.go privateDenyStatus and privatePreAuthStatus), not only its description. - troubleshooting: replace the 403-only Issue 5 with a status-by-caller table and a note that a 404 can mean "no access": the refusal serves the same Service Not Found page as an unknown host, so check the access log (reason "Authentication failed") before chasing DNS. The DoH / HTTP-proxy cases now produce 404, so those lines say 404. - authentication: drop the "rejected with 403" claim, update the diagram and the Block access row, and point to the new anchor. - access-logs: the reason is derived from AuthSuccess, and #8576 marks auth-originated 404/503 as failed auth, so list them. - agent-network pages stated 403 for a peer outside the policy and for non-peers; those are now 401 and 404. no_authorised_provider stays 403. No version is stated: #8576 is only in v0.84.0-rc.1, not in a stable release yet. The page says older proxies return 403 for every refusal.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
netbirdio/netbird#8576 (merged 2026-11-23) changed how the reverse proxy refuses requests to private (NetBird-Only) services. Refusals no longer always return
403; the status depends on the caller. The text added in #1102 described the old "always 403" behavior.Statuses were checked against the PR's code (
privateDenyStatus,privatePreAuthStatusinproxy/internal/auth/middleware.go), not only its description:404404403403/404403for an account peer,404otherwise401WWW-Authenticateheader)503Changes
manage/reverse-proxy/troubleshooting.mdx: Issue 5 rewritten as "NetBird-Only service refuses requests" with a status-by-caller table, and a note that a404can mean "no access" (it shows the same Service Not Found page as an unknown host), so check the access log before DNS. DoH / HTTP-proxy cases now say404.manage/reverse-proxy/authentication.mdx: removed the "rejected with403" claim, updated the diagram, the Block access row and the link to the renamed section.manage/reverse-proxy/access-logs.mdx: refused404/503responses are now logged withAuthentication failed.Other pages that stated the old
403:agent-network/existing-self-hosted.mdx:401for a peer outside the source group,404for a non-peer.agent-network/how-it-works.mdx:401at the first gate,403at later gates.agent-network/integrations/agentgateway.mdx:401vs403meanings.Notes
v0.84.0-rc.1. Add the version oncev0.84.0ships.#issue-5-net-bird-only-service-refuses-requests; in-repo links are updated.npm run buildandnpm run lint:mdxpass.