shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

[Task] Document network isolation requirement for /websocket endpoint

Open Aias00 opened this issue 5 months ago • 3 comments

Description

The /websocket endpoint is intentionally listed in the Shiro anonymous whitelist to serve as the data synchronization channel between ShenYu Admin and Gateway nodes. However, there is no explicit documentation or configuration guidance warning operators that this endpoint must not be exposed to untrusted networks. Proposed Change:

Add comments in application.yml near the /websocket whitelist entry explicitly stating that the Admin port must only be reachable from trusted internal networks. Add a deployment security section to the official documentation covering network isolation requirements for the Admin plane.

Acceptance Criteria:

application.yml contains a comment warning that /websocket is unauthenticated by design and must be protected by network-level access controls. Official documentation includes a deployment checklist item for Admin port network isolation.

Task List

No response

Aias00 avatar Jun 26 '26 10:06 Aias00

👋 Hello @Aias00

A new issue has been opened by @Aias00:

  • Title: [Task] Document network isolation requirement for /websocket endpoint
  • Link: https://github.com/apache/shenyu/issues/6396

Please review when you have time. Thank you! 🙏

github-actions[bot] avatar Jun 26 '26 10:06 github-actions[bot]

I'd like to work on this. I plan to add the warning next to the /websocket anonymous whitelist entry and update the deployment documentation with an Admin-plane network isolation checklist item.

BobSong-dev avatar Jul 12 '26 07:07 BobSong-dev

I opened the implementation PRs:\n\n- Configuration warning: #6419\n- Deployment documentation: apache/shenyu-website#1125

BobSong-dev avatar Jul 12 '26 07:07 BobSong-dev