- Upgraded to .NET 5 and removed support for all other target frameworks.
.NET 5 is the progression of .NET Core as well as .NET Framework and Firewall will not support outdated frameworks after this version anymore. Please upgrade projects to .NET 5 in order to use Firewall. If this is not immediately possible then you can keep using Firewall 2.2.1 until the migration has happened.
- Fixed a bug where
UseFirewall
crashed when no value has been provided foraccessDeniedDelegate
.
- A custom
RequestDelegate
object can be configured for blocked requests. - Fixed a typos in log messages.
- Fixed a minor issue where some log information was missing when debug logging was enabled.
- Added more detailed debug logging to rules engine.
CountryRule
now properly handles anAddressNotFoundException
exception.
Changed the Firewall middleware to allow request filtering beyond simple IP address and IP address range checks and significantly simplified how Firewall rules are configured.
See the updated README for more detailed information.
- Removed the
ICloudflareHelper
interface as it served no purpose. - Removed the
AddFirewall
extension method to register dependencies which are not required any more. - Removed the
UseCloudflareFirewall
extension method. This has been replaced by a new rules engine.
- Added request filtering by countries using the GeoIP2 database.
- Added custom request filtering features.
First stable and fully functional version of IP address filtering for ASP.NET Core.
First alpha test version.
Non functional placeholder to register the NuGet package name.