Walter.Web.FireWall.EventLog 2020.9.24 Prefix Reserved

There is a newer version of this package available.
See the version list below for details.
Install-Package Walter.Web.FireWall.EventLog -Version 2020.9.24
dotnet add package Walter.Web.FireWall.EventLog --version 2020.9.24
<PackageReference Include="Walter.Web.FireWall.EventLog" Version="2020.9.24" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Walter.Web.FireWall.EventLog --version 2020.9.24
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Walter.Web.FireWall.EventLog, 2020.9.24"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Walter.Web.FireWall.EventLog as a Cake Addin
#addin nuget:?package=Walter.Web.FireWall.EventLog&version=2020.9.24

// Install Walter.Web.FireWall.EventLog as a Cake Tool
#tool nuget:?package=Walter.Web.FireWall.EventLog&version=2020.9.24
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This package targets projects with dedicated servers and allows you to protect your firewall using annotations and pre-specified rules. A full getting started document is available at www.asp-waf.com in form of a PDF, compiled help and simple instructions

The bellow sample shows how you integrate and enable the firewall in your project windows Eventlog for reporting.

services.AddFireWall(FireWallTrail.License, FireWallTrail.DomainKey
    , domainName: new Uri("https://www.your-domain.com", UriKind.Absolute)
    , options =>
    {
        options.Cypher.ApplicationPassword = "123456$even";
        options.ApplicationName = "Name as used for reporting";
        options.ApplicationTag = "ITIL Tag";
        options.Rules.BlockRequest.BlockDuration.SlideExpiration = true;
        options.Rules.BlockRequest.BlockDuration.Expires = TimeSpan.FromSeconds(10);

        //used by JavaScript in the browser
        options.WebServices.IsUserApiUrl = new Uri(Links.IsUserEndpoint, UriKind.Relative);
        options.WebServices.RegisterLinksApiUrl = new Uri(Links.SiteMapEndPoint, UriKind.Relative);
        options.WebServices.BeaconApiUrl = new Uri(Links.BeaconPoint, UriKind.Relative);
    }).UseEventLogLogging(options=>{
		     options.LogName = "FireWall";
		     options.SourceName = "www.test.dll";    
		});
//protect each MVC controller
services.AddMvc(options =>
    options.Filters.Add<Walter.Web.FireWall.Filters.FireWallFilter>()
);

The firewall is fully configurable and has quite a few options that allow you to protect against fishing, scrubbing, cross-site attach and much more.

There are a ton of configuration options available using the many annotations

   namespace MyProject.Controllers
   {
       using Walter.Web.FireWall;
       using Walter.Web.FireWall.Annotations;
       using Walter.BOM.Geo;

       [Geo(blockLocation: GeoLocation.AFRICA | GeoLocation.LATIN_AMERICA | GeoLocation.Netherlands)]
       [Users(users: UserTypes.IsHuman | UserTypes.IsSearchEngine)]
       [BlockDuration(duration: 60, sliding: true, doubleDurationPerIncedent: true)]
       public sealed class MembersController : Controller
       {
           private readonly ILogger<MembersController> _logger;
            private readonly IPageRequest _page;
           public HomeController(ILogger<MembersController> logger,IPageRequest page)
           {
               _logger = logger;
               _page=page;
           }

           public IActionResult Index()
           {
               return View();
           }


           [Ignore]
           [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
           public IActionResult Error()
           {
               //the page field will contain all the errors the user ran into
               return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
           }
       }
   }

This is just a small set of options of what's possible

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2021.11.23.1528 2,570 11/24/2021
2021.11.21.925 125 11/22/2021
2021.11.19.1503 109 11/22/2021
2021.11.19.847 236 11/19/2021
2021.11.18.1824 242 11/16/2021
2021.11.10.852 249 11/10/2021
2021.11.9.2021 294 11/9/2021
2021.11.8.2109 237 11/9/2021
2021.11.8.1612 284 11/8/2021
2021.11.7.1021 205 11/8/2021
2021.11.3.1612 295 11/4/2021
2021.10.25.1206 335 10/25/2021
2021.10.23.1310 313 10/25/2021
2021.10.19.1522 330 10/19/2021
2021.10.16.1325 357 10/18/2021
2021.10.6.1546 331 10/6/2021
2021.10.5.1450 349 10/5/2021
2021.10.4.1155 355 10/5/2021
2021.10.1.753 315 10/1/2021
2021.9.27.1005 279 9/28/2021
2021.9.26.1913 298 9/26/2021
2021.9.19.1015 309 9/19/2021
2021.9.17.1702 288 9/17/2021
2021.9.17.1449 255 9/17/2021
2021.9.12.1100 291 9/13/2021
2021.9.11.2004 315 9/11/2021
2021.9.9.1110 303 9/9/2021
2021.9.7.1901 314 9/8/2021
2021.9.7.1121 279 9/7/2021
2021.9.6.1518 329 9/7/2021
2021.9.4.1124 318 9/4/2021
2021.9.2.708 306 9/4/2021
2021.9.0.1259 295 9/2/2021
2021.8.2200 309 8/23/2021
2021.8.2100 309 8/23/2021
2021.8.22.900 326 8/22/2021
2021.8.18.1500 293 8/18/2021
2021.8.18.930 308 8/18/2021
2021.8.14.1600 307 8/16/2021
2021.8.9.1105 266 8/9/2021
2021.8.8.1612 294 8/8/2021
2021.8.8.1138 313 8/8/2021
2021.8.6.1044 352 8/6/2021
2021.8.4.1355 339 8/5/2021
2021.7.30.2118 349 7/31/2021
2021.7.27.926 273 7/28/2021
2021.7.23.931 299 7/26/2021
2021.7.22.1456 282 7/23/2021
2021.7.15.1547 256 7/15/2021
2021.7.13.812 275 7/13/2021
2021.7.8.1527 414 7/10/2021
2021.7.5.1649 290 7/5/2021
2021.6.29.1453 355 6/30/2021
2021.6.26.1753 353 6/27/2021
2021.6.25.1849 306 6/25/2021
2021.6.24.1518 314 6/24/2021
2021.6.20.729 399 6/20/2021
2021.6.15.2006 376 6/15/2021
2021.6.14.2025 347 6/15/2021
2021.6.13.2035 282 6/14/2021
2021.6.12.1154 288 6/13/2021
2021.6.9.1120 298 6/9/2021
2021.6.3.1509 361 6/3/2021
2021.5.31.1533 324 5/31/2021
2021.5.31.1415 330 5/31/2021
2021.5.25.1732 319 5/25/2021
2021.5.24.1128 341 5/24/2021
2021.5.24.1019 357 5/24/2021
2021.5.12.1054 278 5/12/2021
2021.5.10.1442 307 5/11/2021
2021.5.8.1226 286 5/8/2021
2021.5.6.2037 303 5/6/2021
2021.5.5.1901 331 5/6/2021
2021.5.3.1621 319 5/4/2021
2021.5.1.905 345 5/1/2021
2021.4.28.1511 319 4/28/2021
2021.4.20.1520 306 4/21/2021
2021.4.16.738 318 4/21/2021
2021.4.14.1216 338 4/16/2021
2021.4.9.1538 318 4/13/2021
2021.4.8.947 330 4/13/2021
2021.4.6.1235 314 4/6/2021
2021.4.5.1653 300 4/5/2021
2021.4.1.913 324 4/1/2021
2021.3.31.2003 312 4/1/2021
2021.3.18.1622 312 3/18/2021
2021.3.3.1259 325 3/3/2021
2021.3.2.1415 329 3/2/2021
2021.3.1.11 313 2/28/2021
2021.3.1.1 317 2/27/2021
2021.3.1 345 2/27/2021
2021.2.23.6 342 2/23/2021
2021.2.21.1 339 2/21/2021
2021.2.20.1 308 2/20/2021
2021.2.19.2 348 2/19/2021
2021.2.17.1 305 2/17/2021
2021.2.16.1 295 2/16/2021
2021.2.15.3 314 2/15/2021
2021.2.15.1 329 2/14/2021
2021.2.14.3 334 2/14/2021
2021.2.12.6 302 2/12/2021
2021.2.12.2 282 2/12/2021
2021.2.10.1 298 2/10/2021
2021.2.8.1 328 2/9/2021
2021.2.7.2 312 2/7/2021
2021.2.7.1 327 2/6/2021
2020.12.27.6 406 12/27/2020
2020.12.27.1 361 12/27/2020
2020.12.26.7 400 12/27/2020
2020.12.26.5 364 12/27/2020
2020.12.26.3 363 12/27/2020
2020.12.19.1 425 12/19/2020
2020.12.16.1 369 12/16/2020
2020.12.15.1 381 12/15/2020
2020.12.14.5 401 12/14/2020
2020.12.14.4 388 12/14/2020
2020.12.14.3 364 12/14/2020
2020.12.5.1 402 12/5/2020
2020.12.4.4 383 12/4/2020
2020.12.4.3 362 12/4/2020
2020.12.4.1 439 12/4/2020
2020.12.3.1 423 12/3/2020
2020.12.2.4 371 12/2/2020
2020.12.2.3 396 12/2/2020
2020.12.1.1 421 12/1/2020
2020.11.28.1 375 11/28/2020
2020.11.27.2 354 11/27/2020
2020.11.27.1 326 11/27/2020
2020.11.25.1 347 11/25/2020
2020.11.22.3 395 11/23/2020
2020.11.20.1 468 11/21/2020
2020.11.19.3 332 11/19/2020
2020.11.19.1 388 11/19/2020
2020.11.18.2 365 11/18/2020
2020.11.17.2 419 11/17/2020
2020.11.17.1 346 11/17/2020
2020.11.15.1 396 11/15/2020
2020.11.14.1 432 11/14/2020
2020.11.13.2 389 11/13/2020
2020.11.13.1 358 11/13/2020
2020.11.12.1 334 11/12/2020
2020.11.11.1 368 11/11/2020
2020.11.8.1 474 11/8/2020
2020.11.7.1 395 11/7/2020
2020.11.5.1 324 11/5/2020
2020.11.3.1 431 11/3/2020
2020.11.1.3 465 11/1/2020
2020.11.1.2 435 11/1/2020
2020.11.1.1 369 11/1/2020
2020.10.30.1 414 11/1/2020
2020.10.15.3 408 10/15/2020
2020.10.15.2 360 10/15/2020
2020.10.14.1 376 10/14/2020
2020.10.13.1 412 10/13/2020
2020.10.12.2 476 10/12/2020
2020.10.12.1 408 10/12/2020
2020.10.10.1 520 10/10/2020
2020.10.9.6 392 10/9/2020
2020.10.9.2 413 10/9/2020
2020.10.9.1 417 10/9/2020
2020.10.8.1 383 10/8/2020
2020.10.6.8 360 10/7/2020
2020.10.6.6 379 10/7/2020
2020.10.6.5 368 10/7/2020
2020.10.6.4 381 10/7/2020
2020.10.6.3 381 10/7/2020
2020.10.6.2 377 10/7/2020
2020.10.6.1 430 10/7/2020
2020.10.5.1 398 10/6/2020
2020.10.1.3 401 10/1/2020
2020.10.1.2 408 10/1/2020
2020.10.1.1 365 10/1/2020
2020.9.29.10 396 9/29/2020
2020.9.29.9 420 9/29/2020
2020.9.28.2 359 9/28/2020
2020.9.28.1 394 9/28/2020
2020.9.25.1 463 9/26/2020
2020.9.24.2 362 9/24/2020
2020.9.24 383 9/24/2020
2020.9.23.2 387 9/23/2020
2020.9.23.1 378 9/23/2020
2020.9.22.1 365 9/22/2020
2020.9.21.1 395 9/21/2020
2020.9.17.2 419 9/17/2020
2020.9.16 407 9/16/2020
2020.9.15 413 9/15/2020
2020.9.14 432 9/14/2020
2020.9.9.2 410 9/9/2020
2020.9.8.1 357 9/8/2020
2020.9.8 417 9/8/2020
2020.9.6.5 477 9/6/2020
2020.9.4.2 375 9/4/2020
2020.9.4 294 9/4/2020
2020.9.3.1 377 9/3/2020

09 September 2020
     - update NuGet package references
     
     08 September 2020
     - Add support for .net core 3.0 and 3.1
     - Update NuGet package references
     - Update Documentation

     04 September 2020
     - Update package reference to firewall package

     27.08.2020
     - Add Referrer and root page to event log incident if user is blocked

     01.01.2020
     - Initial release