Walter.Web.FireWall.EventLog 2020.9.28.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET Core 3.0 .NET Standard 2.1
There is a newer version of this package available.
See the version list below for details.
dotnet add package Walter.Web.FireWall.EventLog --version 2020.9.28.1
NuGet\Install-Package Walter.Web.FireWall.EventLog -Version 2020.9.28.1
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="Walter.Web.FireWall.EventLog" Version="2020.9.28.1" />
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.28.1
#r "nuget: Walter.Web.FireWall.EventLog, 2020.9.28.1"
#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.
// Install Walter.Web.FireWall.EventLog as a Cake Addin
#addin nuget:?package=Walter.Web.FireWall.EventLog&version=2020.9.28.1

// Install Walter.Web.FireWall.EventLog as a Cake Tool
#tool nuget:?package=Walter.Web.FireWall.EventLog&version=2020.9.28.1

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 with the EventLogger

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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
2023.3.22.1456 59 3/22/2023
2023.3.14.1356 73 3/14/2023
2023.3.1.810 86 3/1/2023
2023.2.25.11857 96 2/25/2023
2023.2.22.27 99 2/22/2023
2023.2.15.1413 103 2/15/2023
2023.2.11.1628 105 2/11/2023
2023.1.11.534 141 1/11/2023
2022.12.30.711 152 12/30/2022
2022.12.15.1108 168 12/15/2022
2022.12.14.648 158 12/14/2022
2022.11.27.1059 198 11/27/2022
2022.11.21.338 195 11/21/2022
2022.11.14.1819 210 11/14/2022
2022.11.13.917 214 11/13/2022
2022.10.31.740 237 11/1/2022
2022.10.15.652 296 10/15/2022
2022.10.1.810 306 10/1/2022
2022.9.26.1444 320 9/26/2022
2022.9.14.1508 383 9/14/2022
2022.9.14.809 384 9/14/2022
2022.9.8.1009 358 9/8/2022
2022.8.20.1007 333 8/20/2022
2022.8.1.1 348 7/31/2022
2022.7.1300 367 7/1/2022
2022.7.31.1016 342 7/31/2022
2022.7.15.841 352 7/15/2022
2022.6.21.647 382 6/21/2022
2022.5.18.638 381 5/19/2022
2022.5.16.853 388 5/19/2022
2022.5.16.816 384 5/16/2022
2022.5.4.1010 378 5/4/2022
2022.4.10.947 413 4/10/2022
2022.4.10.925 414 4/10/2022
2022.4.10.828 428 4/10/2022
2022.4.1.1545 439 4/1/2022
2022.3.31.823 454 3/31/2022
2022.3.26.1103 442 3/26/2022
2022.3.26.820 436 3/26/2022
2022.3.25.840 447 3/26/2022
2022.2.16.1131 508 2/17/2022
2022.2.16.834 491 2/17/2022
2022.2.5.1114 471 2/5/2022
2022.1.17.1158 531 1/17/2022
2022.1.10.1505 579 1/10/2022
2022.1.10.537 624 1/10/2022
2022.1.5.1139 595 1/8/2022
2021.12.28.1452 705 12/28/2021
2021.12.16.812 901 12/16/2021
2021.11.23.1528 7,194 11/24/2021
2021.11.21.925 1,189 11/22/2021
2021.11.19.1503 1,072 11/22/2021
2021.11.19.847 1,255 11/19/2021
2021.11.18.1824 1,138 11/16/2021
2021.11.10.852 1,196 11/10/2021
2021.11.9.2021 1,227 11/9/2021
2021.11.8.2109 1,117 11/9/2021
2021.11.8.1612 1,216 11/8/2021
2021.11.7.1021 1,065 11/8/2021
2021.11.3.1612 1,230 11/4/2021
2021.10.25.1206 1,233 10/25/2021
2021.10.23.1310 1,277 10/25/2021
2021.10.19.1522 1,221 10/19/2021
2021.10.16.1325 1,216 10/18/2021
2021.10.6.1546 1,265 10/6/2021
2021.10.5.1450 1,283 10/5/2021
2021.10.4.1155 1,341 10/5/2021
2021.10.1.753 1,218 10/1/2021
2021.9.27.1005 1,190 9/28/2021
2021.9.26.1913 1,198 9/26/2021
2021.9.19.1015 1,279 9/19/2021
2021.9.17.1702 1,208 9/17/2021
2021.9.17.1449 1,060 9/17/2021
2021.9.12.1100 1,201 9/13/2021
2021.9.11.2004 1,314 9/11/2021
2021.9.9.1110 1,303 9/9/2021
2021.9.7.1901 1,273 9/8/2021
2021.9.7.1121 1,219 9/7/2021
2021.9.6.1518 1,194 9/7/2021
2021.9.4.1124 1,215 9/4/2021
2021.9.2.708 1,195 9/4/2021
2021.9.0.1259 1,132 9/2/2021
2021.8.2200 1,237 8/23/2021
2021.8.2100 1,223 8/23/2021
2021.8.22.900 1,279 8/22/2021
2021.8.18.1500 1,242 8/18/2021
2021.8.18.930 1,184 8/18/2021
2021.8.14.1600 1,230 8/16/2021
2021.8.9.1105 1,171 8/9/2021
2021.8.8.1612 1,239 8/8/2021
2021.8.8.1138 1,189 8/8/2021
2021.8.6.1044 1,265 8/6/2021
2021.8.4.1355 1,247 8/5/2021
2021.7.30.2118 1,318 7/31/2021
2021.7.27.926 1,123 7/28/2021
2021.7.23.931 1,173 7/26/2021
2021.7.22.1456 1,157 7/23/2021
2021.7.15.1547 1,027 7/15/2021
2021.7.13.812 1,262 7/13/2021
2021.7.8.1527 1,346 7/10/2021
2021.7.5.1649 1,255 7/5/2021
2021.6.29.1453 1,331 6/30/2021
2021.6.26.1753 1,314 6/27/2021
2021.6.25.1849 1,247 6/25/2021
2021.6.24.1518 1,243 6/24/2021
2021.6.20.729 1,360 6/20/2021
2021.6.15.2006 1,258 6/15/2021
2021.6.14.2025 1,223 6/15/2021
2021.6.13.2035 1,208 6/14/2021
2021.6.12.1154 1,238 6/13/2021
2021.6.9.1120 1,295 6/9/2021
2021.6.3.1509 1,273 6/3/2021
2021.5.31.1533 1,254 5/31/2021
2021.5.31.1415 1,268 5/31/2021
2021.5.25.1732 1,237 5/25/2021
2021.5.24.1128 1,259 5/24/2021
2021.5.24.1019 1,326 5/24/2021
2021.5.12.1054 1,226 5/12/2021
2021.5.10.1442 1,295 5/11/2021
2021.5.8.1226 1,237 5/8/2021
2021.5.6.2037 1,235 5/6/2021
2021.5.5.1901 1,322 5/6/2021
2021.5.3.1621 1,296 5/4/2021
2021.5.1.905 1,296 5/1/2021
2021.4.28.1511 1,252 4/28/2021
2021.4.20.1520 1,223 4/21/2021
2021.4.16.738 1,224 4/21/2021
2021.4.14.1216 1,248 4/16/2021
2021.4.9.1538 1,248 4/13/2021
2021.4.8.947 1,242 4/13/2021
2021.4.6.1235 1,269 4/6/2021
2021.4.5.1653 1,288 4/5/2021
2021.4.1.913 1,239 4/1/2021
2021.3.31.2003 1,225 4/1/2021
2021.3.18.1622 1,272 3/18/2021
2021.3.3.1259 838 3/3/2021
2021.3.2.1415 1,039 3/2/2021
2021.3.1.11 1,034 2/28/2021
2021.3.1.1 1,197 2/27/2021
2021.3.1 1,013 2/27/2021
2021.2.23.6 899 2/23/2021
2021.2.21.1 869 2/21/2021
2021.2.20.1 1,054 2/20/2021
2021.2.19.2 869 2/19/2021
2021.2.17.1 1,237 2/17/2021
2021.2.16.1 925 2/16/2021
2021.2.15.3 1,065 2/15/2021
2021.2.15.1 1,147 2/14/2021
2021.2.14.3 870 2/14/2021
2021.2.12.6 1,082 2/12/2021
2021.2.12.2 1,269 2/12/2021
2021.2.10.1 1,265 2/10/2021
2021.2.8.1 846 2/9/2021
2021.2.7.2 873 2/7/2021
2021.2.7.1 1,281 2/6/2021
2020.12.27.6 1,153 12/27/2020
2020.12.27.1 903 12/27/2020
2020.12.26.7 936 12/27/2020
2020.12.26.5 914 12/27/2020
2020.12.26.3 897 12/27/2020
2020.12.19.1 955 12/19/2020
2020.12.16.1 834 12/16/2020
2020.12.15.1 1,365 12/15/2020
2020.12.14.5 931 12/14/2020
2020.12.14.4 1,112 12/14/2020
2020.12.14.3 904 12/14/2020
2020.12.5.1 715 12/5/2020
2020.12.4.4 1,129 12/4/2020
2020.12.4.3 906 12/4/2020
2020.12.4.1 774 12/4/2020
2020.12.3.1 1,194 12/3/2020
2020.12.2.4 739 12/2/2020
2020.12.2.3 1,204 12/2/2020
2020.12.1.1 1,437 12/1/2020
2020.11.28.1 1,051 11/28/2020
2020.11.27.2 862 11/27/2020
2020.11.27.1 691 11/27/2020
2020.11.25.1 908 11/25/2020
2020.11.22.3 1,171 11/23/2020
2020.11.20.1 801 11/21/2020
2020.11.19.3 905 11/19/2020
2020.11.19.1 1,001 11/19/2020
2020.11.18.2 1,049 11/18/2020
2020.11.17.2 1,258 11/17/2020
2020.11.17.1 1,128 11/17/2020
2020.11.15.1 1,016 11/15/2020
2020.11.14.1 1,434 11/14/2020
2020.11.13.2 1,355 11/13/2020
2020.11.13.1 1,312 11/13/2020
2020.11.12.1 1,366 11/12/2020
2020.11.11.1 1,320 11/11/2020
2020.11.8.1 980 11/8/2020
2020.11.7.1 832 11/7/2020
2020.11.5.1 634 11/5/2020
2020.11.3.1 676 11/3/2020
2020.11.1.3 736 11/1/2020
2020.11.1.2 731 11/1/2020
2020.11.1.1 620 11/1/2020
2020.10.30.1 721 11/1/2020
2020.10.15.3 890 10/15/2020
2020.10.15.2 614 10/15/2020
2020.10.14.1 658 10/14/2020
2020.10.13.1 711 10/13/2020
2020.10.12.2 773 10/12/2020
2020.10.12.1 907 10/12/2020
2020.10.10.1 740 10/10/2020
2020.10.9.6 634 10/9/2020
2020.10.9.2 1,355 10/9/2020
2020.10.9.1 613 10/9/2020
2020.10.8.1 615 10/8/2020
2020.10.6.8 565 10/7/2020
2020.10.6.6 662 10/7/2020
2020.10.6.5 586 10/7/2020
2020.10.6.4 702 10/7/2020
2020.10.6.3 716 10/7/2020
2020.10.6.2 669 10/7/2020
2020.10.6.1 790 10/7/2020
2020.10.5.1 680 10/6/2020
2020.10.1.3 875 10/1/2020
2020.10.1.2 702 10/1/2020
2020.10.1.1 631 10/1/2020
2020.9.29.10 597 9/29/2020
2020.9.29.9 725 9/29/2020
2020.9.28.2 639 9/28/2020
2020.9.28.1 661 9/28/2020
2020.9.25.1 715 9/26/2020
2020.9.24.2 634 9/24/2020
2020.9.24 666 9/24/2020
2020.9.23.2 656 9/23/2020
2020.9.23.1 589 9/23/2020
2020.9.22.1 609 9/22/2020
2020.9.21.1 910 9/21/2020
2020.9.17.2 687 9/17/2020
2020.9.16 896 9/16/2020
2020.9.15 689 9/15/2020
2020.9.14 700 9/14/2020
2020.9.9.2 676 9/9/2020
2020.9.8.1 902 9/8/2020
2020.9.8 911 9/8/2020
2020.9.6.5 747 9/6/2020
2020.9.4.2 686 9/4/2020
2020.9.4 508 9/4/2020
2020.9.3.1 674 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