I assume you want to edit a blocklist that is downloaded and updated from a remote site. This doesn't work, because it would be overwritten on the next update.
pglcmd offers three related possibilities (next to the current whitelisting in pglgui):
Remove lines matching REGEX from remote blocklists:
You can add any line from a blocklist or part of it to IP_REMOVE in /etc/pgl/pglcmd.conf. Every line matching these regular expressions will be removed from the blocklists after updating them.
Local allow list /etc/pgl/allow.p2p
Per default applies to input and output traffic. Uses the same syntax like blocklists.
Local blocklists in /etc/pgl/blocklists.local/
freemind and I recently already talked about that. The way to go is probably to allow editing /etc/pgl/allow.p2p and (e.g.) /etc/pgl/blocklists.local/pglgui.blocklist.p2p in pglgui.
Probably by integrating the current whitelisting interfaces (either right-click on a blocked IP in the log in the Control tab, or use the add/remove/tick/untick Whitelist in the Configure tab) and removing the current WHITE_IP_IN|OUT|FWD backend from pglgui.
Would this fit your request?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I assume you want to edit a blocklist that is downloaded and updated from a remote site. This doesn't work, because it would be overwritten on the next update.
pglcmd offers three related possibilities (next to the current whitelisting in pglgui):
Remove lines matching REGEX from remote blocklists:
You can add any line from a blocklist or part of it to IP_REMOVE in /etc/pgl/pglcmd.conf. Every line matching these regular expressions will be removed from the blocklists after updating them.
Local allow list /etc/pgl/allow.p2p
Per default applies to input and output traffic. Uses the same syntax like blocklists.
Local blocklists in /etc/pgl/blocklists.local/
freemind and I recently already talked about that. The way to go is probably to allow editing /etc/pgl/allow.p2p and (e.g.) /etc/pgl/blocklists.local/pglgui.blocklist.p2p in pglgui.
Probably by integrating the current whitelisting interfaces (either right-click on a blocked IP in the log in the Control tab, or use the add/remove/tick/untick Whitelist in the Configure tab) and removing the current WHITE_IP_IN|OUT|FWD backend from pglgui.
Would this fit your request?
but you can not edit. (maybe I can from file, what you say above)