Menu

#50 Add "edit line" to "Blocklist"

open
nobody
None
5
2015-09-08
2015-09-05
teletele
No

Edit option to edit line from "Blocklist".

Discussion

  • jre-phoenix

    jre-phoenix - 2015-09-05

    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):

    1. 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.

    2. Local allow list /etc/pgl/allow.p2p
      Per default applies to input and output traffic. Uses the same syntax like blocklists.

    3. 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?

     
  • jre-phoenix

    jre-phoenix - 2015-09-05
     
  • teletele

    teletele - 2015-09-08
    • I suugest only edit link, which you can add or remove from pglgui,
      but you can not edit. (maybe I can from file, what you say above)
    • add own list from file this will also great next idea.
     

Log in to post a comment.