mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
84 lines
2.8 KiB
Markdown
84 lines
2.8 KiB
Markdown
---
|
|
hide_table_of_contents: true
|
|
---
|
|
|
|
|
|
# 0.1.9
|
|
|
|
Not yet released.
|
|
|
|
|
|
### 🚀 New features
|
|
- OpenAdmin Notifications Center is now using [Sentinel](https://github.com/stefanpejcic/Sentinel/tree/main) service
|
|
- [IPset Blacklists for UFW](#ipset-blacklists)
|
|
- [OpenPanel FTP - FTP module for OpenPanel (**BETA**)](https://github.com/stefanpejcic/OpenPanel-FTP/)
|
|
- [OpenMail - Emails module for OpenPanel (**BETA**)](https://github.com/stefanpejcic/OpenMail/)
|
|
- [`opencli faq` command to show frequently asked questions](#opencli-faq)
|
|
|
|
### 🐛 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](https://github.com/stefanpejcic/ipset-blacklist) to automatically fetch ip addresses from configured blacklists and modify UFW.
|
|
|
|

|
|
|
|
New opencli commands are also available:
|
|
|
|
- Download new IP addresses for all enabled blocklists:
|
|
```bash
|
|
opencli blacklist --fetch
|
|
```
|
|
- Update all ipsets rules and reload UFW service:
|
|
```bash
|
|
bash /usr/ipset-blacklist.sh --update_ufw
|
|
```
|
|
- Add a new blacklist:
|
|
```bash
|
|
bash /usr/ipset-blacklist.sh --add-blacklist name=<name> url=<url>
|
|
```
|
|
- Enable a blacklist:
|
|
```bash
|
|
bash /usr/ipset-blacklist.sh --enable-blacklist=<name>
|
|
```
|
|
- Disable a blacklist:
|
|
```bash
|
|
bash /usr/ipset-blacklist.sh --disable-blacklist=<name>
|
|
```
|
|
- Delete a blacklist:
|
|
```bash
|
|
bash /usr/ipset-blacklist.sh --delete-blacklist=<name>
|
|
```
|
|
|
|
### opencli faq
|
|
|
|
OpenCLI now has a new command `opencli faq` to display most frequently asked questions:
|
|
|
|

|
|
|
|
|
|
## `/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/`
|
|
-
|