mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-29 16:06:36 +08:00
77dbd719ed
The federationRuntimeCommand handler forwarded AddService/UpdateService commands from consumers to provider nodes without validating that the port in the service payload falls within the share's allowed port range. This allowed consumers to use any port on shared nodes, bypassing the provider's port_range_start/port_range_end restrictions. Add port extraction and validation in federationRuntimeCommand for service commands, rejecting requests with ports outside the allowed range with a 403 error. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>