mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-14 01:06:09 +01:00
Implement Banned IPs management system: Add functionality to list, add, remove, and delete banned IPs. Update UI components for managing banned IPs, including a new tab in the firewall section and enhanced user notifications. Refactor existing code for better organization and maintainability.
This commit is contained in:
@@ -32,6 +32,12 @@ urlpatterns = [
|
||||
path('modSecRulesPacks', views.modSecRulesPacks, name='modSecRulesPacks'),
|
||||
path('getOWASPAndComodoStatus', views.getOWASPAndComodoStatus, name='getOWASPAndComodoStatus'),
|
||||
path('installModSecRulesPack', views.installModSecRulesPack, name='installModSecRulesPack'),
|
||||
|
||||
# Banned IPs
|
||||
path('getBannedIPs', views.getBannedIPs, name='getBannedIPs'),
|
||||
path('addBannedIP', views.addBannedIP, name='addBannedIP'),
|
||||
path('removeBannedIP', views.removeBannedIP, name='removeBannedIP'),
|
||||
path('deleteBannedIP', views.deleteBannedIP, name='deleteBannedIP'),
|
||||
path('getRulesFiles', views.getRulesFiles, name='getRulesFiles'),
|
||||
path('enableDisableRuleFile', views.enableDisableRuleFile, name='enableDisableRuleFile'),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user