Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    issue with python mode for pfblockerng

    Scheduled Pinned Locked Moved pfBlockerNG
    5 Posts 2 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      scorpoin
      last edited by

      Greetings,

      I upgraded my firewall with latest version plus new pfblocker-ng-devel version. I switch to python mode.

      I observed browsing stopped all of sudden. I have few things to ask.

      1-: Do I need to remove the following custom setting in DNS Resolver

      server:    
              access-control-view: 172.16.144.0/20 dnsbl
      view:
          name: "bypass"
          view-first: yes
      view:
          name: "dnsbl"
          view-first: yes
      include: /var/unbound/pfb_dnsbl.*conf
      

      2-: In DNS Resolver without python-mode, I have to add bypass IPs in the custom option and add "# name_client1" at the end of IP for remembering whom I allowed.
      In python-mode there is an option within DNSBL for python does it make any effect, if I add "#name_client1" at the end of IP.
      like this

      172.16.16.24 # client_2
      

      Regards

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @scorpoin
        last edited by

        @scorpoin

        1 => Yes.
        2 => Only lines with IPv4 or IPv6.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        S 1 Reply Last reply Reply Quote 0
        • S
          scorpoin @Gertjan
          last edited by

          @gertjan Thanks

          as you said lines with ipv4 or ivp6

          means like this

          172.16.16.24 #my client2
          172.16.16.25 #my client3
          

          This will not break the config for python bypass list.

          GertjanG 1 Reply Last reply Reply Quote 1
          • GertjanG
            Gertjan @scorpoin
            last edited by

            @scorpoin

            Hummmm .... your right.

            b15a95f3-aab8-4cbf-b9d1-0870d17ee5ea-image.png

            On reloading, the GUI part will keep te comments in the GUI, but the pfb_unbound.ini file, used by the python module on start, doesn't contain these comments :

            9b8cef7a-0a51-46a3-850e-02f5729a1501-image.png

            so it won't 'nreak'.

            Thanks for the tip.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            S 1 Reply Last reply Reply Quote 0
            • S
              scorpoin @Gertjan
              last edited by

              @gertjan You are well come :) .

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.