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

    Data location: Custom Domain Whitelist

    pfBlockerNG
    2
    3
    906
    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.
    • P
      pdrass
      last edited by

      On the main DNSBL tab where is the data location for the "Custom Domain Whitelist"?  I thought it would be in a file in /var/db/pfblockerng but I can't seem to find it.

      Folders and files there are:
      ET
      GeoIP_Locale
      deny
      dnsbl
      dnsbl_info
      dnsblalias
      dnsblorig
      mastercat
      masterfile
      match
      native
      original
      permit

      …and a bunch of files in each folder respectively.  I see a bunch that I put in for example in the dnsbl tab:

      /var/db/pfblockerng/dnsbl: ls
      dnsbl_cameleon.txt      dnsbl_mvphosts.txt      ez_woe.txt
      dnsbl_dshieldhigh.txt  ez_privacy.ip          mal.txt
      dnsbl_dshieldmedium.txt ez_privacy.txt
      dnsbl_hostfilenet.txt  ez_woe.ip

      ...but for some reason I can't seem to find the "Custom Domain Whitelist" on the main DNSBL tab.

      I wanted to copy it to a few other machines.  Even when I look at a backup in the xml file...it's just a long string of jiberish where I think that data would be :)

      Thoughts?  Where is this data stored?

      Thanks!

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

        It is stored and encoded in Base64 https://www.base64decode.org/ in the config file

        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 0
        • P
          pdrass
          last edited by

          Thanks!

          I realized that too after mucking around and READING lol.  Thanks for the link…I'll figure out how to decode it with a script too if I need it.  It's a minor issue.

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