MaxMind Add-on enabling geographically aware features for the ASP-WAF Web Application Firewall NuGet Package

Use MaxMind Geo data service or API keys to make the Walter.Web.IFireWall
interface geographically aware allowing you to block requests for certain countries
and enables you to render a different result based on the region or country the request came from.
The Package adds functionality to NuGet package Walter.Web.Firewall

services.AddFireWall(FireWallTrial.License, FireWallTrial.DomainKey
, domainName: new Uri("https://www.your-domain.com", UriKind.Absolute)
, options =>
{
//your firewall settings
}).UseGeography(directory:new DirectoryInfo("d:\\MaxMind"));

This assumes that data files are in d:\MaxMind folder leave blank if you use App_Data and in your application configuration you can set blocking scope like this
app.UseFireWall()
.UseGeoBlockingMiddleware(options => {
options.Block(new[]{GeoLocation.China
,GeoLocation.RussianFederation});
});

More information on how to use this Add-On is available in this manual https://www.asp-waf.com/download/ASP-WAF-FireWall-Getting-Started.pdf.




Got any MaxMind Add-on enabling geographically aware features for the ASP-WAF Web Application Firewall Question?





Info

Version: 2024.11.15.421
Author(s): Walter Verhoeven, Stijn Snellinx
Last Update: Friday, November 15, 2024
.NET Fiddle: Create the first Fiddle
Project Url: https://www.asp-waf.com/firewall
NuGet Url: https://www.nuget.org/packages/Walter.Web.FireWall.Geo.MaxMind


Install
Install-Package Walter.Web.FireWall.Geo.MaxMind
dotnet add package Walter.Web.FireWall.Geo.MaxMind
paket add Walter.Web.FireWall.Geo.MaxMind
Walter.Web.FireWall.Geo.MaxMind Download (Unzip the "nupkg" after downloading)

net5.0 netcoreapp3.1 netstandard2.1


Tags



STATS

must-have-score

2.3

avg-downloads-per-day

114

days-since-last-release

6