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

    error(s) loading the rules: table name too long

    Scheduled Pinned Locked Moved pfBlockerNG
    10 Posts 2 Posters 988 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.
    • M
      Maxburn
      last edited by

      I got this error after upgrading a existing sg1100. I removed the old version of pfblocker and installed the devel version. Only enabled feeds DNS steven black ads and PRI1 IPv4 except pulsdive. I got one of these after I did the upgrade and a barrage of five of them just now three days later. I have no idea what's wrong or what I should do about this, anyone have an idea?

      Filter Reload
      There were error(s) loading the rules: /tmp/rules.debug:31: table name too long, max 31 chars - The line in question reads [31]: table <pfB_EmergingThreatsCompromised_v4> persist file "/var/db/aliastables/pfB_EmergingThreatsCompromised_v4.txt"
      @ 2022-08-28 07:05:25
      
      M 3 Replies Last reply Reply Quote 0
      • M
        Maxburn
        last edited by

        Still getting bombarded with these.

        S 1 Reply Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire @Maxburn
          last edited by

          @maxburn I've not run into that. It reads that "pfB_EmergingThreatsCompromised_v4" is too long, which is right if the limit is 31. On your pfBlockerNG/IP/IPv4 page can you edit the list to change the "name" field to something shorter? Then run an update, and you may need to update rules that use that name. For me that list and others are under a "PRI1" entry (which was a default name for feeds in that section).

          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
          • M
            Maxburn @Maxburn
            last edited by Maxburn

            @maxburn I'm looking for the exact text pfB_EmergingThreatsCompromised_v4.txt and I'm not finding it. But the helper description restrictions makes me think the prefix and suffix are added behind the scenes to the name field? Also the character total limit there plus the prefix and suffix is 31. I shortened that down, hope that does it.

            alt text

            S 1 Reply Last reply Reply Quote 0
            • S
              SteveITS Galactic Empire @Maxburn
              last edited by

              @maxburn said in error(s) loading the rules: table name too long:

              helper description restrictions makes me think the prefix and suffix are added behind the scenes to the name field?

              Yes, that's the case, and that's the spot. It actually does say "Max 24 characters" but doesn't try to enforce that.

              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
              • M
                Maxburn @Maxburn
                last edited by

                @maxburn Thanks.

                It's odd I'm experiencing this and everyone else isn't. I didn't type that in, apparently that's the default it applies when you turn on that list?

                Does no one else run the IP block lists? IMO that is a major strength of pfblocker over things like PiHole.

                S 1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @Maxburn
                  last edited by

                  @maxburn Maybe because we check several at once so it defaults to the "PRI1" heading name? I've never had to change a name that I can recall. Dunno...

                  01a58d9c-6e16-47a8-98f5-1ffa43d4f8f4-image.png

                  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!

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Maxburn @SteveITS
                    last edited by

                    @steveits That didn't do it. I just got blasted with another ten of these. Is there something that needs to be reloaded or just a matter of time or something?

                    There were error(s) loading the rules: /tmp/rules.debug:31: table name too long, max 31 chars - The line in question reads [31]: table <pfB_EmergingThreatsCompromised_v4> persist file "/var/db/aliastables/pfB_EmergingThreatsCompromised_v4.txt"
                    @ 2022-09-01 11:00:56
                    

                    I did verify that the change was saved.

                    alt text

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      SteveITS Galactic Empire @Maxburn
                      last edited by

                      @maxburn Did you force an update? That's what regenerates the files/tables/aliases.

                      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
                      • M
                        Maxburn @Maxburn
                        last edited by

                        @maxburn I didn't, but I just did. I was thinking it would do that itself based on the schedule. I see the new name in the update output and can't find the old one so hopefully that's the end of it.

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