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

    DNSBL Service won't start

    Scheduled Pinned Locked Moved pfBlockerNG
    16 Posts 4 Posters 6.8k 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.
    • RonpfSR
      RonpfS
      last edited by

      ** DNSBL Disabled ** tell me that DNSBL isn't enabled in your config

      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
      • R
        Rockjansky
        last edited by

        If I try and enable it through the web interface, I check the enable dnsbl box, and click save. It dumps me back to the same screen with the checkbox unchecked. If I look in services the dnsbl web service is present but it cannot be started there either. So… I'm trying to enable it but it won't stick.

        Thanks

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

          Maybe try with another browser
          Or reinstall pfBlockerNG.
          You are using DNS Resolver ?

          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
          • J
            jeffhoge
            last edited by

            I can confirm 100% that I'm having these exact symptoms. It's a brand new SG-1000. I have even factory defaulted the SG-1000 and attempted to turn on DNSBL as the first setting (with no other changes in place after the initial setup wizard). I check the "Enable DNSBL" box, click save, and the browser window refreshes… then the "Enable DNSBL" box isn't ticked anymore.

            I've tried this on Chrome, FF, IE, and even Safari for IOS.

            Version: 2.4.0.b.20170601.1457

            1 Reply Last reply Reply Quote 0
            • R
              Rockjansky
              last edited by

              Looks like maybe we found a bug. Is it possible to try and start the service through SSH? I'm wondering if there is a more verbose error message it displays when using the console.

              1 Reply Last reply Reply Quote 0
              • BBcan177B
                BBcan177 Moderator
                last edited by

                Its odd that they are both the SG-1000 units… There has been no issues with any other hardware and no recent code change...  Can you change settings in the pfBlockerNG General Tab? or any other pfSense tabs?

                Do you see anything in the pfsense system log? or the Diag Backup config history?

                I'll try to fire up the SG-1000 that I have and see if I can reproduce it...

                "Experience is something you don't get until just after you need it."

                Website: http://pfBlockerNG.com
                Twitter: @BBcan177  #pfBlockerNG
                Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                1 Reply Last reply Reply Quote 0
                • BBcan177B
                  BBcan177 Moderator
                  last edited by

                  Can you guys send me the output of the following command:

                  grep -A50 "<pfblockerngdnsblsettings>" /conf/config.xml</pfblockerngdnsblsettings>
                  

                  Update:

                  https://redmine.pfsense.org/issues/7624

                  Did you guys install or uninstall any other packages recently?

                  "Experience is something you don't get until just after you need it."

                  Website: http://pfBlockerNG.com
                  Twitter: @BBcan177  #pfBlockerNG
                  Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                  1 Reply Last reply Reply Quote 0
                  • R
                    Rockjansky
                    last edited by

                    Output from the command below. I had Squid and Bandwidth D installed originally, but after the reset, just pfBlocker and AutoConfigBackup. I can reset again if you'd like, Also, I can enable and disable the pfBlockerng just fine.

                    <pfblockerngdnsblsettings><config><pfb_dnsbl>on</pfb_dnsbl>

                    <pfb_dnsvip>10.10.10.1</pfb_dnsvip>
                    <pfb_dnsport>8081</pfb_dnsport>
                    <pfb_dnsport_ssl>8443</pfb_dnsport_ssl>
                    <dnsbl_interface>lan</dnsbl_interface>

                    <dnsbl_allow_int></dnsbl_allow_int>
                    <action>Disabled</action>
                    <aliaslog>enabled</aliaslog>
                    <autoaddrnot_in></autoaddrnot_in>
                    <autoports_in></autoports_in>
                    <aliasports_in></aliasports_in>
                    <autoaddr_in></autoaddr_in>
                    <autonot_in></autonot_in>
                    <aliasaddr_in></aliasaddr_in>
                    <autoproto_in></autoproto_in>
                    <agateway_in>default</agateway_in>
                    <autoaddrnot_out></autoaddrnot_out>
                    <autoports_out></autoports_out>
                    <aliasports_out></aliasports_out>
                    <autoaddr_out></autoaddr_out>
                    <autonot_out></autonot_out>
                    <aliasaddr_out></aliasaddr_out>
                    <autoproto_out></autoproto_out>
                    <agateway_out>default</agateway_out>
                    <alexa_enable></alexa_enable>
                    <alexa_count>1000</alexa_count>
                    <alexa_inclusion>ca,co,com,io,net,org</alexa_inclusion>

                    <tldblacklist></tldblacklist></config>
                    <config><pfb_dnsbl>on</pfb_dnsbl>

                    <pfb_dnsvip>10.10.10.1</pfb_dnsvip>
                    <pfb_dnsport>8081</pfb_dnsport>
                    <pfb_dnsport_ssl>8443</pfb_dnsport_ssl>
                    <dnsbl_interface>lan</dnsbl_interface>

                    <dnsbl_allow_int></dnsbl_allow_int>
                    <action>Disabled</action>
                    <aliaslog>enabled</aliaslog>
                    <autoaddrnot_in></autoaddrnot_in>
                    <autoports_in></autoports_in>
                    <aliasports_in></aliasports_in></config></pfblockerngdnsblsettings>

                    1 Reply Last reply Reply Quote 0
                    • BBcan177B
                      BBcan177 Moderator
                      last edited by

                      @Rockjansky:

                      Output from the command below. I had Squid and Bandwidth D installed originally, but after the reset, just pfBlocker and AutoConfigBackup. I can reset again if you'd like, Also, I can enable and disable the pfBlockerng just fine.

                      <pfblockerngdnsblsettings><config><pfb_dnsbl>on</pfb_dnsbl>

                      <tldblacklist></tldblacklist></config>
                      <config><pfb_dnsbl>on</pfb_dnsbl></config></pfblockerngdnsblsettings>

                      As per the redmine that I posted above, this is the same issue… Something has added a dummy tags.
                      Also noticed that there is a second <config>below that…. So not sure what else can be messed up with the config.xml?  JimP fix a bug in pfSense pkg_edit.php as you can see from the redmine. So make sure you download the lastest version to get this fix.

                      Two OPTIONS:

                      1. Edit the    /conf/config.xml   and remove every tag between:

                      and save the file. Just note that a typo in this file will cause a crash, so only do this if you know what your doing.

                      Then  rm /tmp/config.cache   which will reload the new config

                      1. Wipe the box any reinstall… And don't restore this config.xml as its corrupted...

                      Make sure you have a backup before proceeding with these changes!</config>

                      "Experience is something you don't get until just after you need it."

                      Website: http://pfBlockerNG.com
                      Twitter: @BBcan177  #pfBlockerNG
                      Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                      1 Reply Last reply Reply Quote 0
                      • J
                        jeffhoge
                        last edited by

                        Thank you! I performed the upgrade, deleted probably 100 lines in config.xml between the tags you indicated, deleted the config cache file, and rebooted (for good measure). Now DNSBL is allowing me to enable it, and leave it enabled this time.

                        Thanks again.

                        1 Reply Last reply Reply Quote 0
                        • R
                          Rockjansky
                          last edited by

                          Working for me as well. Thanks for your help!

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