Soenneker.Validators.IpAddresses.Ssrf
4.0.9
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Validators.IpAddresses.Ssrf --version 4.0.9
NuGet\Install-Package Soenneker.Validators.IpAddresses.Ssrf -Version 4.0.9
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Validators.IpAddresses.Ssrf" Version="4.0.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Validators.IpAddresses.Ssrf" Version="4.0.9" />
<PackageReference Include="Soenneker.Validators.IpAddresses.Ssrf" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Validators.IpAddresses.Ssrf --version 4.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Validators.IpAddresses.Ssrf, 4.0.9"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Validators.IpAddresses.Ssrf@4.0.9
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Validators.IpAddresses.Ssrf&version=4.0.9
#tool nuget:?package=Soenneker.Validators.IpAddresses.Ssrf&version=4.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Validators.IpAddresses.Ssrf
Validates that an IP address is publicly routable and is not a known SSRF target.
Install
dotnet add package Soenneker.Validators.IpAddresses.Ssrf
Quick start
using Soenneker.Validators.IpAddresses.Ssrf.Registrars;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection();
var result = services.AddSsrfIpAddressValidatorAsSingleton();
Adds ISsrfIpAddressValidator as a singleton service.
What you get
ISsrfIpAddressValidator— Validates that an IP address is publicly routable and is not a known SSRF target.SsrfIpAddressValidatorRegistrar— IP Address validation for SSRF.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
ISsrfIpAddressValidator.Validate(address) |
Determines whether an IP address is publicly routable. | true when address is a publicly routable IPv4 or IPv6 address; otherwise, false. |
SsrfIpAddressValidatorRegistrar.AddSsrfIpAddressValidatorAsSingleton(services) |
Adds ISsrfIpAddressValidator as a singleton service. |
The same service collection, so additional registrations can be chained. |
SsrfIpAddressValidatorRegistrar.AddSsrfIpAddressValidatorAsScoped(services) |
Adds ISsrfIpAddressValidator as a scoped service. |
The same service collection, so additional registrations can be chained. |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Soenneker.Validators.Validator (>= 4.0.734)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Validators.IpAddresses.Ssrf:
| Package | Downloads |
|---|---|
|
Soenneker.Utils.HttpClientCache.Ssrf
SSRF-safe, DNS-rebinding-resistant HttpClient caching. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.34 | 163 | 10/14/2026 |
| 4.0.33 | 103 | 10/14/2026 |
| 4.0.32 | 74 | 10/14/2026 |
| 4.0.31 | 102 | 10/14/2026 |
| 4.0.25 | 108 | 10/13/2026 |
| 4.0.24 | 83 | 10/12/2026 |
| 4.0.23 | 262 | 10/11/2026 |
| 4.0.22 | 82 | 10/11/2026 |
| 4.0.21 | 656 | 9/24/2026 |
| 4.0.19 | 438 | 9/15/2026 |
| 4.0.18 | 105 | 9/15/2026 |
| 4.0.17 | 368 | 9/14/2026 |
| 4.0.16 | 142 | 9/14/2026 |
| 4.0.15 | 425 | 9/8/2026 |
| 4.0.14 | 250 | 9/4/2026 |
| 4.0.13 | 138 | 9/4/2026 |
| 4.0.12 | 190 | 8/31/2026 |
| 4.0.11 | 154 | 8/30/2026 |
| 4.0.10 | 175 | 8/30/2026 |
| 4.0.9 | 140 | 8/29/2026 |
Loading failed