openpanel/documentation/docs/changelog/0.1.9.md
2024-05-25 21:45:39 +02:00

2.8 KiB

hide_table_of_contents
true

0.1.9

Not yet released.

🚀 New features

🐛 Bug fixes

  • Fixed bugs with opencli admin disable and opencli admin enable commands.
  • Fixed bug with opencli report that failed to retrive MySQL version for mysql running inside docker container.

💅 Polish

  • Working server time on OpenAdmin > Dashboard.
  • CPU type information on OpenAdmin > Dashboard.
  • Install script now supports optional flags --enable_ftp and --enable_mail to enable experimental features.
  • opencli -v is now an alias for opencli --version.

IPset Blacklists

OpenAdmin Firewall now allows Administrators to add blacklists and block all IP addresses from them.

This feature uses ipset-blacklist service to automatically fetch ip addresses from configured blacklists and modify UFW.

ipset-blacklist

New opencli commands are also available:

  • Download new IP addresses for all enabled blocklists:
    opencli blacklist --fetch
    
  • Update all ipsets rules and reload UFW service:
    bash /usr/ipset-blacklist.sh --update_ufw
    
  • Add a new blacklist:
    bash /usr/ipset-blacklist.sh --add-blacklist name=<name> url=<url>
    
  • Enable a blacklist:
    bash /usr/ipset-blacklist.sh --enable-blacklist=<name>
    
  • Disable a blacklist:
    bash /usr/ipset-blacklist.sh --disable-blacklist=<name>
    
  • Delete a blacklist:
    bash /usr/ipset-blacklist.sh --delete-blacklist=<name>
    

opencli faq

OpenCLI now has a new command opencli faq to display most frequently asked questions:

opencli faq command output

/etc/openpanel/

To enable easier updates in the future, we are gradually migrating all configuration files from /usr/local/panel/ & /usr/local/admin/ directories to the new /etc/openpanel/ directory.

This will separate configuration files in /etc/ from all the code in /usr/ and therefore no configuration files will need to be moved&restored when performing updates.

Current changes include:

  • Forbidden usernames file is now moved from: /usr/local/admin/scripts/helpers/forbidden_usernames.txt to /etc/openpanel/openadmin/config/forbidden_usernames.txt
  • FTP configuration files are stored under /etc/openpanel/ftp/users/