]> source.dussan.org Git - nextcloud-server.git/commit
feat(security): Add public API to allow validating IP Ranges and checking for "in...
authorJoas Schilling <coding@schilljs.com>
Wed, 17 Jul 2024 13:25:51 +0000 (15:25 +0200)
committerBenjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Fri, 19 Jul 2024 14:28:03 +0000 (16:28 +0200)
commit047479ccf9ff332cc249cd08d5c315394f3e48da
tree1001b114f3857338bba5e520e941fca4914a2be4
parent202e5b1e957a7692165a313710e38406ca4f6ff3
feat(security): Add public API to allow validating IP Ranges and checking for "in range"

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
18 files changed:
apps/settings/lib/SetupChecks/AllowedAdminRanges.php
lib/composer/composer/autoload_classmap.php
lib/composer/composer/autoload_static.php
lib/private/AppFramework/DependencyInjection/DIContainer.php
lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php
lib/private/Group/Manager.php
lib/private/Security/Ip/Address.php [new file with mode: 0644]
lib/private/Security/Ip/Range.php [new file with mode: 0644]
lib/private/Security/Ip/RemoteAddress.php [new file with mode: 0644]
lib/private/Security/RemoteIpAddress.php [deleted file]
lib/private/Server.php
lib/public/Security/Ip/IAddress.php [new file with mode: 0644]
lib/public/Security/Ip/IRange.php [new file with mode: 0644]
lib/public/Security/Ip/IRemoteAddress.php [new file with mode: 0644]
tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php
tests/lib/Group/ManagerTest.php
tests/lib/Security/Ip/RemoteAddressTest.php [new file with mode: 0644]
tests/lib/Security/RemoteIpAddressTest.php [deleted file]