Hi!
I have a problem. I want to export firewall rules and I get an error. I need a template to import blocked IP addresses - they sack a certain page, so I have 100% CPU load and over 30GB of RAM occupied.

`An error occurred while the panel was running!
KeyError: 'plugin name'
REQUEST_DATE: 2023-04-14 07:40:31
PAN_VERSION: 6.8.27
OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR: 89...**
REQUEST_URI: GET /firewall/get_file?filename=/www/server/panel/plugin/firewall/ip.json
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 1587, in panel_other
data = eval('plu.'+fun+'(args)')
File "", line 1, in
File "/www/server/panel/plugin/firewall/firewall_main.py", line 1482, in get_file
return send_file(filename, mimetype=mimetype, as_attachment=True, attachment_filename=os.path.basename(filename), cache_timeout=0)
TypeError: send_file() got an unexpected keyword argument 'attachment_filename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2528, in wsgi_app
response = self.full_dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/www/server/panel/BTPanel/init.py", line 1629, in panel_other
return public.get_error_object(None, plugin_name=name)
File "class/public.py", line 1068, in get_error_object
error_msg=error_info
KeyError: 'plugin name'`
On the server aaPanel in the latest version (not beta), PHP 7.4, openlitespeed, synctool, mariadb 10.5.6, redis, memcached, sysfirewall 2.7.

    przemomemory
    Hello, this is a bug, it is documented, please wait for the fix.
    Try to block them first using manually add ip
    Or use fail2ban first

      przemomemory
      Hello, try to import in the security interface?
      Or upgrade to the latest beta version and import from the secure interface?

      Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com