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

DNSBL Category (Downloading Blacklist Database(s) [ ut1 (~8.5MB) ] ... Please wait ... Failed UT1 ... Failed)

pfBlockerNG
6
25
1.8k
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
    spinner
    last edited by Nov 1, 2024, 6:19 PM

    Is there a work around for this?

    Downloading Blacklist Database(s) [ ut1 (~8.5MB) ] ... Please wait ...

    Failed UT1 ... Failed

    These sites have been down for a while - what have you done too fix?

    S Y 2 Replies Last reply Nov 22, 2024, 8:31 AM Reply Quote 0
    • S
      smolka_J @spinner
      last edited by smolka_J Nov 22, 2024, 8:38 AM Nov 22, 2024, 8:31 AM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • T
        tinfoilmatt
        last edited by Nov 22, 2024, 5:41 PM

        The package utilizes the FTP source to download the feed, and therefore the domain "ftp.ut-capitole.fr" must be whitelisted if it's otherwise blocked.

        See relevant code here: https://raw.githubusercontent.com/pfsense/FreeBSD-ports/refs/heads/devel/net/pfSense-pkg-pfBlockerNG-devel/files/usr/local/pkg/pfblockerng/ut1_global_usage


        @smolka_J said in DNSBL Category (Downloading Blacklist Database(s) [ ut1 (~8.5MB) ] ... Please wait ... Failed UT1 ... Failed):

        For some reason the UT1 feed url occasionally varies between versions

        This is not true. The domain "dsi.ut-capitole.fr" hosts the feed via HTTP, which the package does not utilize as its feed source by default.

        See "How to download" at the bottom of the page here: https://dsi.ut-capitole.fr/blacklists/index_en.php

        (Additionally, the path to the system configuration file depends on the version of pfSense. In Plus that's /conf/config.xml. But in CE it's /cf/conf/config.xml. I would be hesitant to manually modify either except for the most extenuating of circumstances which, in my opinion, these are not.)

        S 1 Reply Last reply Nov 22, 2024, 8:22 PM Reply Quote 0
        • S
          smolka_J @tinfoilmatt
          last edited by smolka_J Nov 22, 2024, 8:40 PM Nov 22, 2024, 8:22 PM

          This post is deleted!
          T 1 Reply Last reply Nov 22, 2024, 8:54 PM Reply Quote 0
          • T
            tinfoilmatt @smolka_J
            last edited by Nov 22, 2024, 8:54 PM

            @smolka_J said in DNSBL Category (Downloading Blacklist Database(s) [ ut1 (~8.5MB) ] ... Please wait ... Failed UT1 ... Failed):

            both directories /cf/conf/ and /conf/ are both present in both version, they are symbolically linked

            You're right about this, and all my previous comments about the XML config file storage location are incorrect. I was looking at my SSH file browser in that moment, which apparently doesn't display the /conf symlink. Shows you how familiar I am with the file!

            (Output of ls -l for a given filesystem location displays any/all symlinks.)

            OP's issue with the UT1 feed (and possibly yours too) is almost certainly with either DNSBL or IP filtering. Although in your case, Suricata might've been the more likely culprit. Was your instance in fact running on the WAN interface? And you might've disabled it but did the instance actually stop? You might've ensured it did by rebooting the box, but still—lots of variables there.

            You should set your config.xml file back and try troubleshooting whatever the issue is further.

            S 1 Reply Last reply Nov 23, 2024, 11:46 AM Reply Quote 0
            • S
              smolka_J @tinfoilmatt
              last edited by Nov 23, 2024, 11:46 AM

              @tinfoilmatt I deleted my other posts to avoid confusion. It may have added to things, Suricata I only run on LAN, VLAN and VPN interfaces but have the same whitelist configured in an alias for it. Currently, the FTP site loads perfectly fine in a ftp or file manager also whether Suricata is disabled or enabled. Reading from why others changed their URL in the past also was due to the FTP link being intermittent at times, changing the feed URL in config.xml when FTP feed is down does allow the file to download and clear the download error itself. After further looking into though, doing this causes the processing of it to stop there and not update the UT1 orig files or populate them if they didn't already previously before changing the feed URL. Having pfBlocker enabled while disabling DNSBL followed with a reboot, re-enable DNSBL, reload restored my "ftp://ftp.ut-capitole.fr/pub/reseau/cache/squidguard_contrib/blacklists.tar.gz" feed URL into my config.xml without needing to manually edit it back, downloaded and fully processed updates.

              Lesson learned, if and when UT1's ftp goes down temporarily, leave things as is, it will come back up. More would have to be re-wrote to completely change over to a different URL feed by default but FTP maybe is preferred. Thank you for guiding me to dig further, thought I fixed one issue but led myself to turning it into another

              S S 2 Replies Last reply Nov 23, 2024, 3:03 PM Reply Quote 1
              • S
                SteveITS Galactic Empire @smolka_J
                last edited by Nov 23, 2024, 3:03 PM

                @smolka_J
                Side note re: Suricata, because of how it runs the instance in the native interface will see the VLAN packets i.e. it ignores the VLAN tags. So no need/point running a second instance on the VLAN interface if it’s on the parent.

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote 👍 helpful posts!

                1 Reply Last reply Reply Quote 0
                • S
                  smolka_J @smolka_J
                  last edited by Nov 23, 2024, 11:09 PM

                  @smolka_J Gracias, will keep that in mind as I test n tune re-mapping. Just acquired a set of Grandstream APs to first start endulging down that path, still have a few more fiber optic and POE drops to get in place first to LAGG each AP at 5Gb onto 10G backplane, moving through rafters of the attic is a little slow on medical leave

                  1 Reply Last reply Reply Quote 0
                  • Y
                    Yoe777 @spinner
                    last edited by Nov 26, 2024, 10:25 PM

                    @spinner I am having the same issue... have you been able to resolve this?

                    S 1 Reply Last reply Nov 27, 2024, 3:04 AM Reply Quote 1
                    • S
                      smolka_J @Yoe777
                      last edited by Nov 27, 2024, 3:04 AM

                      @Yoe777 #1, the FTP site does have its time periods of downtime which might fall in line with your current CRON update schedule.
                      #2 If you had upgraded in the past from a previous version of pfSense and/or with a config.xml imported/restored from a previous installlation, you may have an invalid or non-compatible UT1 feed link that isn't loading properly, pfBlockerNG is programmed in multiple areas to parse only "ftp://ftp.ut-capitole.fr/pub/reseau/cache/squidguard_contrib/blacklists.tar.gz", if that feed URL is different for any reason like mine was from me previously trying to mitigate fixing my concern with FTP failing randomly, I had changed it to the https url which did download but did not parse into the files needed.
                      Steps that fixed my UT1 feed URL to the correct one in my config and restored full parsing/download:

                      1. Make sure pfBlockerNG is enabled on the general tab.
                      2. Go to the DNSBL tab and disable onle DNSBL, save
                      3. Reboot pfSense
                      4. Go back to the DNSBL tab and re-enable DNSBL
                      5. Run a Force Update>Reload>All
                        🔒 Log in to view
                      Y 1 Reply Last reply Nov 27, 2024, 3:46 PM Reply Quote 0
                      • P
                        provels
                        last edited by Nov 27, 2024, 10:40 AM

                        Just throwing this in, that you may want to set your update time to some random time and not on the hour, and not too often either. These lists don't change much in a day's time.

                        Peder

                        MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                        BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                        1 Reply Last reply Reply Quote 1
                        • Y
                          Yoe777 @smolka_J
                          last edited by Nov 27, 2024, 3:46 PM

                          • I followed these steps and still getting same error.
                          • I removed and reinstalled entire package and still am getting the same error.

                          This is a fresh install of pfSense only 2 weeks old Version 2.7.2-RELEASE (amd64).

                          S 1 Reply Last reply Nov 27, 2024, 5:27 PM Reply Quote 0
                          • S
                            smolka_J @Yoe777
                            last edited by Nov 27, 2024, 5:27 PM

                            @Yoe777 Do you get a valid IP back doing a DNS lookup to ftp.ut-capitole.fr?

                            Y 1 Reply Last reply Nov 27, 2024, 5:55 PM Reply Quote 0
                            • Y
                              Yoe777 @smolka_J
                              last edited by Nov 27, 2024, 5:55 PM

                              @smolka_J

                              PING heimdall.ut-capitole.fr (193.49.48.249): 56 data bytes
                              64 bytes from 193.49.48.249: icmp_seq=0 ttl=50 time=119.248 ms
                              64 bytes from 193.49.48.249: icmp_seq=1 ttl=50 time=118.943 ms
                              64 bytes from 193.49.48.249: icmp_seq=2 ttl=50 time=118.840 ms

                              --- heimdall.ut-capitole.fr ping statistics ---
                              3 packets transmitted, 3 packets received, 0.0% packet loss
                              round-trip min/avg/max/stddev = 118.840/119.010/119.248/0.173 ms

                              S 1 Reply Last reply Nov 27, 2024, 6:16 PM Reply Quote 0
                              • S
                                smolka_J @Yoe777
                                last edited by Nov 27, 2024, 6:16 PM

                                @Yoe777 Do you have either Snort or Suricata running? Either could be monitoring/scanning the FTP port keeping pfBlockerNG from being able to process the download timely, may need the IP or domains whitelisted in a passlist there to keep Snort/Suricata from scanning it

                                Y 1 Reply Last reply Nov 27, 2024, 7:05 PM Reply Quote 0
                                • Y
                                  Yoe777 @smolka_J
                                  last edited by Nov 27, 2024, 7:05 PM

                                  @smolka_J No I dont use either currently.

                                  S 1 Reply Last reply Nov 28, 2024, 8:07 AM Reply Quote 0
                                  • S
                                    smolka_J @Yoe777
                                    last edited by Nov 28, 2024, 8:07 AM

                                    @Yoe777 Im at a loss otherwise then. Have you manually checked your config.xml to verify which URL your UT1 feed is set to currently? It should read as "ftp://ftp.ut-capitole.fr/pub/reseau/cache/squidguard_contrib/blacklists.tar.gz"

                                    Y 1 Reply Last reply Nov 28, 2024, 9:37 PM Reply Quote 0
                                    • Y
                                      Yoe777 @smolka_J
                                      last edited by Nov 28, 2024, 9:37 PM

                                      @smolka_J That is what it is:

                                      	<item>
                                      		<title>UT1</title>
                                      		<xml>ut1</xml>
                                      		<feed>ftp://ftp.ut-capitole.fr/pub/reseau/cache/squidguard_contrib/blacklists.tar.gz</feed>
                                      
                                      S 1 Reply Last reply Nov 29, 2024, 1:34 AM Reply Quote 0
                                      • S
                                        smolka_J @Yoe777
                                        last edited by Nov 29, 2024, 1:34 AM

                                        @Yoe777 Not certain if you have that domain whitelisted or not even though it seems to be passing for you otherwise but could be worth trying with it add if its not. Thats maybe the only thing I have different, if it is, that would be letting it work as far as I can tell, I do have ftp.ut-capitole.fr in my whitelist, being FTP it may be working better when whitelisted so there isn't an added delay waiting for the DNS query to pass through python blacklist processing first, FTP connections can be finicky like that when you don't have a full FTP client interface to tune timeout settings or have a retry/re-connect button to use

                                        Y 1 Reply Last reply Nov 29, 2024, 4:11 PM Reply Quote 0
                                        • Y
                                          Yoe777 @smolka_J
                                          last edited by Nov 29, 2024, 4:11 PM

                                          @smolka_J Where do I check what is whitelisted?

                                          T 1 Reply Last reply Nov 30, 2024, 12:28 AM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.