Walter.Web.FireWall.SMTPLogger 2020.9.23.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Walter.Web.FireWall.SMTPLogger --version 2020.9.23.1
                    
NuGet\Install-Package Walter.Web.FireWall.SMTPLogger -Version 2020.9.23.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.SMTPLogger" Version="2020.9.23.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Walter.Web.FireWall.SMTPLogger" Version="2020.9.23.1" />
                    
Directory.Packages.props
<PackageReference Include="Walter.Web.FireWall.SMTPLogger" />
                    
Project file
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 Walter.Web.FireWall.SMTPLogger --version 2020.9.23.1
                    
#r "nuget: Walter.Web.FireWall.SMTPLogger, 2020.9.23.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.
#:package Walter.Web.FireWall.SMTPLogger@2020.9.23.1
                    
#: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=Walter.Web.FireWall.SMTPLogger&version=2020.9.23.1
                    
Install as a Cake Addin
#tool nuget:?package=Walter.Web.FireWall.SMTPLogger&version=2020.9.23.1
                    
Install as a Cake Tool

This package 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 with SMTP 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);
    }).UseSMTPReporting(options =>
		 {
			 options.Archive = TimeSpan.FromDays(180);
			 options.Server = "mail.test.dll";
			 options.UserName = "noreply@test.dll";
			 options.Password = "123456$even";
			 options.Port = 25;
			 options.From = "noreply@test.dll";
			 options.IgnoreServerCertificateErrors = true;
			 options.DefaultEmail = "info@test.dll";
			 options.Archive = TimeSpan.FromDays(60);
			 options.MailingList.AddRange(new[] {
			  new EMailAddress("Security Admin","security@test.dll") {
				  Frequency= TimeSpan.FromHours(1),
				  Roles= EMailRoles.FireWallAdministrationViolations | EMailRoles.UnauthorizedPhysicalFilesViolation } ,
			  new EMailAddress("Website Admin","WebMaster@test.dll"){
				  Frequency= TimeSpan.FromHours(1),
				  Roles= EMailRoles.ProductUpdates | EMailRoles.OwnAccountRelatedViolations } ,
			   });
		 });
//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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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
2025.9.1452 81 9/28/2025
2025.8.13.1223 180 8/13/2025
2025.7.30.1003 123 7/30/2025
2025.7.10.1347 168 7/10/2025
2025.6.30.1407 168 7/1/2025
2025.6.12.1057 322 6/12/2025
2025.4.17.1816 233 4/17/2025
2025.3.13.1323 193 3/13/2025
2025.2.26.1642 173 2/26/2025
2025.2.25.1033 141 2/26/2025
2025.2.24.1556 149 2/25/2025
2025.2.16.1149 151 2/19/2025
2025.2.15.1316 152 2/15/2025
2025.1.16.1410 137 1/16/2025
2025.1.4.1941 165 1/4/2025
2025.1.2.1544 165 1/3/2025
2024.12.14.838 148 12/14/2024
2024.12.13.1227 160 12/13/2024
2024.12.9.1107 139 12/13/2024
2024.11.28.1632 153 11/28/2024
2024.11.20.644 159 11/21/2024
2024.11.15.421 173 11/15/2024
2024.11.11.1334 135 11/14/2024
2024.11.6.1222 148 11/6/2024
2024.10.28.1605 141 10/28/2024
2024.10.28.1335 156 10/28/2024
2024.10.19.1525 153 10/20/2024
2024.10.18.1315 170 10/18/2024
2024.9.27.1406 147 9/27/2024
2024.9.17.1417 177 9/17/2024
2024.9.12.1923 160 9/12/2024
2024.9.6.1352 175 9/7/2024
2024.9.1.1159 174 9/1/2024
2024.8.26.1150 154 8/26/2024
2024.8.19.1411 170 8/19/2024
2024.8.17.1000 171 8/17/2024
2024.8.12.1622 168 8/13/2024
2024.8.5.1010 147 8/5/2024
2024.8.1.1545 179 8/16/2024
2024.7.28.629 116 7/28/2024
2024.7.26.1512 133 7/26/2024
2024.7.26.828 139 7/26/2024
2024.7.11.1604 150 7/11/2024
2024.7.9.1520 139 7/9/2024
2024.7.4.1425 174 7/4/2024
2024.7.3.1249 153 7/3/2024
2024.7.2.1536 172 7/2/2024
2024.6.28.953 161 6/28/2024
2023.11.13.1117 492 11/13/2023
2023.10.26.1502 452 10/29/2023
2023.10.12.1926 504 10/12/2023
2023.9.14.812 573 9/14/2023
2023.9.7.1748 591 9/7/2023
2023.9.7.1241 512 9/7/2023
2023.9.6.1001 548 9/6/2023
2023.9.5.1246 558 9/5/2023
2023.9.5.1032 552 9/5/2023
2023.8.31.1522 608 8/31/2023
2023.8.29.1040 616 8/29/2023
2023.8.17.901 657 8/17/2023
2023.8.9.1314 700 8/9/2023
2023.8.2.750 679 8/2/2023
2023.7.12.830 729 7/12/2023
2023.7.5.1419 731 7/6/2023
2023.6.14.1628 672 6/14/2023
2023.6.11.1304 734 6/11/2023
2023.5.30.1640 748 5/30/2023
2023.5.4.1552 749 5/4/2023
2023.5.1.1524 869 5/1/2023
2023.4.29.910 880 4/29/2023
2023.4.12.1236 814 4/12/2023
2023.3.22.1456 791 3/22/2023
2023.3.14.1356 806 3/14/2023
2023.3.1.810 945 3/1/2023
2023.2.25.11857 860 2/25/2023
2023.2.22.27 861 2/22/2023
2023.2.15.1413 889 2/15/2023
2023.2.11.1628 887 2/11/2023
2023.1.11.534 964 1/11/2023
2022.12.30.711 929 12/30/2022
2022.12.15.1108 941 12/15/2022
2022.12.14.648 908 12/14/2022
2022.11.27.1059 969 11/27/2022
2022.11.21.338 980 11/21/2022
2022.11.14.1819 933 11/14/2022
2022.11.13.917 961 11/13/2022
2022.10.31.740 1,037 11/1/2022
2022.10.15.652 1,082 10/15/2022
2022.10.1.810 1,232 10/1/2022
2022.9.26.1444 1,139 9/26/2022
2022.9.14.1508 1,215 9/14/2022
2022.9.14.809 1,191 9/14/2022
2022.9.8.1009 1,122 9/8/2022
2022.8.20.1007 1,134 8/20/2022
2022.8.1.1 1,111 7/31/2022
2022.7.1300 1,210 7/1/2022
2022.7.31.1016 1,145 7/31/2022
2022.7.15.841 1,143 7/15/2022
2022.6.21.647 1,197 6/21/2022
2022.5.18.638 1,265 5/19/2022
2022.5.16.853 1,180 5/19/2022
2022.5.16.816 1,155 5/16/2022
2022.5.4.1010 1,310 5/4/2022
2022.4.10.947 1,303 4/10/2022
2022.4.10.925 1,270 4/10/2022
2022.4.10.828 1,187 4/10/2022
2022.4.1.1545 1,267 4/1/2022
2022.3.31.823 1,330 3/31/2022
2022.3.26.1103 1,293 3/26/2022
2022.3.26.820 1,296 3/26/2022
2022.2.16.1131 1,314 2/17/2022
2022.2.16.834 1,207 2/17/2022
2022.2.5.1114 1,276 2/5/2022
2022.1.17.1158 1,390 1/17/2022
2022.1.10.1505 1,411 1/10/2022
2022.1.10.537 1,370 1/10/2022
2022.1.5.1139 1,479 1/8/2022
2021.12.28.1452 1,313 12/28/2021
2021.12.16.812 1,413 12/16/2021
2021.11.23.1528 7,629 11/24/2021
2021.11.21.925 1,226 11/22/2021
2021.11.19.1503 1,377 11/22/2021
2021.11.19.847 1,461 11/19/2021
2021.11.18.1824 1,293 11/16/2021
2021.11.10.852 1,584 11/10/2021
2021.11.9.2021 1,567 11/9/2021
2021.11.8.2109 1,190 11/9/2021
2021.11.8.1612 1,245 11/8/2021
2021.11.7.1021 1,265 11/8/2021
2021.11.3.1612 1,299 11/4/2021
2021.11.1.1102 1,301 11/1/2021
2021.10.25.1206 1,297 10/25/2021
2021.10.23.1310 1,203 10/25/2021
2021.10.19.1522 1,408 10/19/2021
2021.10.16.1325 1,372 10/18/2021
2021.10.9.1119 135 10/9/2024
2021.10.6.1546 1,279 10/6/2021
2021.10.5.1450 1,227 10/5/2021
2021.10.4.1155 1,256 10/5/2021
2021.10.1.753 1,330 10/1/2021
2021.9.27.1005 1,282 9/28/2021
2021.9.26.1913 1,299 9/26/2021
2021.9.19.1015 1,288 9/19/2021
2021.9.17.1702 1,202 9/17/2021
2021.9.17.1449 1,169 9/17/2021
2021.9.13.1600 1,388 9/13/2021
2021.9.11.2004 1,436 9/11/2021
2021.9.9.1110 1,245 9/9/2021
2021.9.7.1901 1,257 9/8/2021
2021.9.7.1121 1,281 9/7/2021
2021.9.6.1518 1,241 9/7/2021
2021.9.4.1124 1,164 9/4/2021
2021.9.2.708 1,236 9/4/2021
2021.9.0.1259 1,182 9/2/2021
2021.8.2200 1,309 8/23/2021
2021.8.2100 1,254 8/23/2021
2021.8.22.900 1,345 8/22/2021
2021.8.18.1500 1,248 8/18/2021
2021.8.18.930 1,261 8/18/2021
2021.8.14.1600 1,213 8/16/2021
2021.8.9.1105 1,225 8/9/2021
2021.8.8.1612 1,226 8/8/2021
2021.8.8.1138 1,212 8/8/2021
2021.8.6.1044 1,359 8/6/2021
2021.8.4.1355 1,313 8/5/2021
2021.7.30.2118 1,261 7/31/2021
2021.7.27.926 1,281 7/28/2021
2021.7.23.931 1,287 7/26/2021
2021.7.22.1456 1,214 7/23/2021
2021.7.15.1547 1,208 7/15/2021
2021.7.13.812 1,215 7/13/2021
2021.7.8.1527 1,248 7/10/2021
2021.7.5.1649 1,248 7/5/2021
2021.6.29.1453 1,279 6/30/2021
2021.6.26.1753 1,395 6/27/2021
2021.6.25.1849 1,411 6/25/2021
2021.6.24.1518 1,235 6/24/2021
2021.6.20.729 1,200 6/20/2021
2021.6.15.2006 1,236 6/15/2021
2021.6.14.2025 1,267 6/15/2021
2021.6.13.2035 1,291 6/14/2021
2021.6.12.1154 1,286 6/13/2021
2021.6.9.1120 1,220 6/9/2021
2021.6.3.1509 1,320 6/3/2021
2021.5.31.1533 1,318 5/31/2021
2021.5.31.1415 1,369 5/31/2021
2021.5.25.1732 1,279 5/25/2021
2021.5.24.1128 1,150 5/24/2021
2021.5.24.1019 1,291 5/24/2021
2021.5.12.1054 1,139 5/12/2021
2021.5.12.637 1,261 5/12/2021
2021.5.10.1442 1,333 5/11/2021
2021.5.8.1226 1,230 5/8/2021
2021.5.6.2037 1,288 5/6/2021
2021.5.5.1901 1,270 5/6/2021
2021.5.3.1621 1,283 5/4/2021
2021.5.1.905 1,400 5/1/2021
2021.4.28.1511 1,224 4/28/2021
2021.4.20.1520 1,266 4/21/2021
2021.4.16.738 1,342 4/21/2021
2021.4.14.1216 1,288 4/16/2021
2021.4.9.1538 1,194 4/13/2021
2021.4.8.947 1,143 4/13/2021
2021.4.6.1235 1,164 4/6/2021
2021.4.5.1653 1,195 4/5/2021
2021.4.1.913 1,290 4/1/2021
2021.3.31.2003 1,379 4/1/2021
2021.3.18.1622 1,380 3/18/2021
2021.3.3.1259 1,435 3/3/2021
2021.3.2.1415 1,618 3/2/2021
2021.3.1.11 1,367 2/28/2021
2021.3.1.1 1,366 2/27/2021
2021.3.1 1,286 2/27/2021
2021.2.23.6 1,386 2/23/2021
2021.2.21.1 1,343 2/21/2021
2021.2.20.1 1,339 2/20/2021
2021.2.19.2 1,274 2/19/2021
2021.2.18.6 1,327 2/19/2021
2021.2.17.1 1,292 2/17/2021
2021.2.16.1 1,323 2/16/2021
2021.2.15.3 1,352 2/15/2021
2021.2.15.1 1,267 2/14/2021
2021.2.14.3 1,235 2/14/2021
2021.2.12.6 1,310 2/12/2021
2021.2.12.2 1,314 2/12/2021
2021.2.11.1 1,330 2/11/2021
2021.2.8.1 1,447 2/9/2021
2021.2.7.2 1,347 2/7/2021
2021.2.7.1 1,360 2/6/2021
2020.12.27.6 1,344 12/27/2020
2020.12.27.1 1,340 12/27/2020
2020.12.26.7 1,278 12/27/2020
2020.12.26.5 1,313 12/27/2020
2020.12.26.3 1,348 12/27/2020
2020.12.19.1 1,475 12/19/2020
2020.12.16.1 1,363 12/16/2020
2020.12.15.1 1,367 12/15/2020
2020.12.14.5 1,449 12/14/2020
2020.12.14.4 1,387 12/14/2020
2020.12.14.3 1,447 12/14/2020
2020.12.5.1 1,473 12/5/2020
2020.12.4.4 1,337 12/4/2020
2020.12.4.3 1,305 12/4/2020
2020.12.4.1 1,487 12/4/2020
2020.12.3.1 1,394 12/3/2020
2020.12.2.4 1,369 12/2/2020
2020.12.2.3 1,423 12/2/2020
2020.12.1.1 1,494 12/1/2020
2020.11.28.1 1,539 11/28/2020
2020.11.27.2 1,403 11/27/2020
2020.11.25.1 1,394 11/25/2020
2020.11.22.3 1,508 11/23/2020
2020.11.20.1 1,440 11/21/2020
2020.11.19.3 1,318 11/19/2020
2020.11.19.1 1,488 11/19/2020
2020.11.18.2 1,410 11/18/2020
2020.11.17.2 1,541 11/17/2020
2020.11.17.1 1,482 11/17/2020
2020.11.15.1 1,433 11/15/2020
2020.11.14.1 1,554 11/14/2020
2020.11.13.2 1,454 11/13/2020
2020.11.13.1 1,478 11/13/2020
2020.11.12.1 1,414 11/12/2020
2020.11.11.1 1,372 11/11/2020
2020.11.8.1 1,504 11/8/2020
2020.11.7.1 1,430 11/7/2020
2020.11.5.1 1,474 11/5/2020
2020.11.3.1 1,547 11/3/2020
2020.11.1.3 1,546 11/1/2020
2020.11.1.2 1,469 11/1/2020
2020.11.1.1 1,404 11/1/2020
2020.10.30.1 1,445 11/1/2020
2020.10.15.3 1,401 10/15/2020
2020.10.15.2 1,503 10/15/2020
2020.10.14.1 1,529 10/14/2020
2020.10.13.1 1,413 10/13/2020
2020.10.12.2 1,519 10/12/2020
2020.10.12.1 1,530 10/12/2020
2020.10.10.1 1,647 10/10/2020
2020.10.9.6 1,514 10/9/2020
2020.10.9.2 1,445 10/9/2020
2020.10.9.1 1,413 10/9/2020
2020.10.8.1 1,372 10/8/2020
2020.10.6.8 1,416 10/7/2020
2020.10.6.6 1,451 10/7/2020
2020.10.6.5 1,435 10/7/2020
2020.10.6.4 1,488 10/7/2020
2020.10.6.3 1,568 10/7/2020
2020.10.6.2 1,527 10/7/2020
2020.10.6.1 1,513 10/7/2020
2020.10.5.1 1,440 10/6/2020
2020.10.1.3 1,361 10/1/2020
2020.10.1.2 1,485 10/1/2020
2020.10.1.1 1,520 10/1/2020
2020.9.29.10 1,487 9/29/2020
2020.9.29.9 1,472 9/29/2020
2020.9.28.2 1,383 9/28/2020
2020.9.28.1 1,444 9/28/2020
2020.9.25.1 1,686 9/26/2020
2020.9.24.2 1,481 9/24/2020
2020.9.24 1,502 9/24/2020
2020.9.23.2 1,426 9/23/2020
2020.9.23.1 1,457 9/23/2020
2020.9.22.1 1,456 9/22/2020
2020.9.21.1 1,473 9/21/2020
2020.9.17.2 1,448 9/17/2020
2020.9.16 1,573 9/16/2020
2020.9.15 1,489 9/15/2020
2020.9.14 1,467 9/14/2020
2020.9.9.2 1,461 9/9/2020
2020.9.8.1 1,431 9/8/2020
2020.9.6.5 1,442 9/6/2020
2020.9.4.2 1,444 9/4/2020
2020.9.4 1,436 9/4/2020
2020.9.3.1 1,565 9/3/2020

09 September 2020
     - Add extension method to enable the IFireWall interface to send email from user code
     https://firewallapi.asp-waf.com/?topic=html/M-Walter.Web.FireWall.SMTPLoggerExtensionMethods.SendEmail.htm
     
     - update NuGet package references

     08 September 2020
     - Update NuGet package references

     04 September 2020
     - Update package reference to firewall package

     26 August 2020
     - Write TSQL update log for assembly and update only if previously failed of needs updated

     21 August 2020
     - Update Extension method to register database plug-in with firewall

     11 June 2020
     - Add support for Ticket service for incident reporting when the Walter.TicketService.ExceptionReporting is set to true (default false)

     28 May 2020
     - Updated fluent API for registration with dependency framework