dustinmoris / Firewall

ASP.NET Core middleware for IP address filtering.
Apache License 2.0
220 stars 36 forks source link

Only deny certain IP addresses #13

Open unruledboy opened 11 months ago

unruledboy commented 11 months ago

Hi,

I looked through the documentation and source codes, I could not find a built-in way to only block certain IP addresses.

Is it the best way to implement a custom rule by inheriting IFirewallRule and add the logic there?