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

    Is there a quick way to query or determine which list contains a blocked IP or DNS entry?

    Scheduled Pinned Locked Moved pfBlockerNG
    3 Posts 3 Posters 765 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.
    • lohphatL
      lohphat
      last edited by

      As I'm tuning pfblockerNG-devel it seems like there's a missed opportunity to query the local db to find out who's blocking a certain target.

      e.g. google.com is blocked in the basic feeds. I whitelisted only those URLs needed for things to work like account login, maps, id management, drive, and left the rest of the tracers and ad servers to be blocked.

      It would have been nice to have a quick way to see which feed has it included.

      SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_1)

      Y 1 Reply Last reply Reply Quote 0
      • Y
        yyz @lohphat
        last edited by

        @lohphat

        Not sure if there's a way to query the local db, but as you may have already discovered, the Alert log shows which feed a particular block came from. Then within the Alert log there's a couple of options to whitelist with a click or two.

        1 Reply Last reply Reply Quote 0
        • RonpfSR
          RonpfS
          last edited by

          Try this :

          grep "maxmind.com" /var/db/pfblockerng/dnsbl/*.txt /var/db/pfblockerng/dnsblorig/*.orig /var/unbound/pfb_dnsbl.conf /usr/local/pkg/pfblockerng/dnsbl_tld
          

          it provides some more info about pfblockerNG db.

          2.4.5-RELEASE-p1 (amd64)
          Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
          Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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