mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
[PR #14207] Add Configuration/UpdateTrustedNetwork api to change trusted network at runtime #13696
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#13696
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/14207
Author: @gnattu
Created: 6/2/2025
Status: 🔄 Open
Base:
master← Head:update-trusted-network📝 Commits (2)
857b8cdAdd Configuration/UpdateTrustedNetwork api to change trusted network at runtimee465076remove public on interface📊 Changes
3 files changed (+59 additions, -6 deletions)
View changed files
📝
Jellyfin.Api/Controllers/ConfigurationController.cs(+29 -6)➕
Jellyfin.Api/Models/ConfigurationDtos/TrustedNetworkDto.cs(+24 -0)📝
MediaBrowser.Common/Net/INetworkManager.cs(+6 -0)📄 Description
Previously, updating trusted IPs (LocalNetworkSubnets, RemoteIPFilter, IsRemoteIPFilterBlacklist) required a server restart. This change introduces a new API endpoint that allows these network configuration fields to be updated at runtime, as their values are only read when needed. This improves flexibility for some special network environments.
Example:
Any of the LocalNetworkSubnets, RemoteIPFilter, IsRemoteIPFilterBlacklist can be null in the request, which means "no change".
Changes
Issues
Fixes #14189
An alternative approach to #14190
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.