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

Limiters break ACME LetsEncrypt renewal/account key registration

Traffic Shaping
4
16
1.6k
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.
  • G
    Gertjan @bartkowski
    last edited by Feb 3, 2022, 4:20 PM

    @bartkowski

    These rules :

    login-to-view

    right ?

    Btw : as I have two WAN type interfaces,
    one called WAN_DHCP which is a IPv4 only connection to my upstream ISP router
    the other called HE_TUN_TUNNELV6, this is my IPv6 interface.
    So, instead of 3 rules I have 6, one for each "WAN" set.

    The ICMP ('ping') are pas rules. All the others, the last are (must be !) 'match' rules.

    The "Source" is always "any".

    When the :

    login-to-view

    then the Gateway is set to Default.

    This changes when the direction is set to "out" !! The gateway has to be set to the correct WAN type interface.

    That's why you see "WAN_DHCP" and "HE_TUN_TUNNELV6" in my image / gateway column.

    As already said, these 6 rules are present on my pfSense for many years.
    As is acme.sh : I have my certs renewed every 30 days.
    I didn't change any (floating) rules for ...... a very long time.
    It was working fine using 2.4.5 and before - and 2.50 and 2.5.2 CE today.

    Btw : there was an issue / pitfall shown lately on the forum.
    It's easy to trigger :
    Install pfBlockerNG-devel first. This, by itself, is completely harmless.
    Activate a feed that blocks IP and/or domain names used by what is used to renew "letsencrypt" certificates - or who ever acme.sh is using to renew certs (this is new to me - dono of the pfSense acme.sh also contains this new choice of CA).
    Apparently, the issue was that people activate IP and DNSBL feeds without checking them.
    Or, at least, during the first several days : checking if the new feeds 'triggers' - and who, like what device, triggers it, etc.
    Feeds are free, and this doesn't mean they are perfect - or not just plain broken.
    " an admin always has to double check - even the things he doesn't know about - the latter should be triple checked. "

    No "help me" PM's please. Use the forum, the community will thank you.
    Edit : and where are the logs ??

    B 1 Reply Last reply Feb 3, 2022, 4:43 PM Reply Quote 0
    • B
      bartkowski @Gertjan
      last edited by Feb 3, 2022, 4:43 PM

      @gertjan Yes, those rules.

      I thought that changing the Protocol from ANY to TCP/UDP for the 'out' rule is going to do the trick, but no, it still fails.

      Doesn't your setup contradict the document jimp linked, namely the "match" vs "pass" in floating rule for WAN out?

      G 1 Reply Last reply Feb 3, 2022, 5:32 PM Reply Quote 0
      • G
        Gertjan @bartkowski
        last edited by Gertjan Feb 3, 2022, 5:33 PM Feb 3, 2022, 5:32 PM

        @bartkowski said in Limiters break ACME LetsEncrypt renewal/account key registration:

        Doesn't your setup contradict ....

        Yep.
        I actually just discovered this new ? pfSEnse documentation page : https://docs.netgate.com/pfsense/en/latest/recipes/codel-limiters.html
        Great ! Finally some good info from a source that doesn't need the 'fact check mode' to be set at 100 %. Thanks, jimp.

        I was pretty sure - reading the thread where I saw (to) many step by step how-toos - that it should be "match" and not "pass". Not that I understand the real difference between the two of them. I "thought" that "match" was the one to use as it is used to force traffic though a given gateway - using the supplied limiters, the up and own codel queues. This is my 'in brain' explanation ;)
        I changed my 2 (2 + 2 actually) to "pass" instead of "match" and did a test on my favorite http://www.dslreports.com/speedtest test. The result was the same or slightly better.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        S 1 Reply Last reply Feb 3, 2022, 7:43 PM Reply Quote 0
        • S
          SteveITS Galactic Empire @Gertjan
          last edited by Feb 3, 2022, 7:43 PM

          @gertjan A match rule will match and queue traffic without blocking or passing it, meaning a pass rule would allow traffic. Ergo, just be careful a pass rule isn't allowing traffic you don't want to allow.

          Match is also "last match wins" by default as noted on that page, in the Quick 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
          • B
            bartkowski
            last edited by Feb 3, 2022, 7:56 PM

            I switched the In / Out pipe queue order around in my WAN>out rule, and I was able to get ACME to register account key, but of course the result of Download was now matching my upload speed (I have 300/10 from Comcast) set by the WANOut_Q limiter queue (10500 Kbit/s).

            B 1 Reply Last reply Feb 3, 2022, 8:19 PM Reply Quote 0
            • B
              bartkowski @bartkowski
              last edited by Feb 3, 2022, 8:19 PM

              Side note: I managed to crash my pfSense while changing some parameters on the Limiter, while also switching back to Kbit/s from Mbit/s.

              1 Reply Last reply Reply Quote 0
              • B
                bartkowski
                last edited by Feb 16, 2022, 4:12 PM

                In preparation for 22.01 update, I discovered that my Auto Config Backups were not being created. To my surprise, disabling my shaper rule allowed the backup to complete. What could this be?!

                G 1 Reply Last reply Feb 16, 2022, 4:19 PM Reply Quote 0
                • G
                  Gertjan @bartkowski
                  last edited by Gertjan Feb 16, 2022, 4:29 PM Feb 16, 2022, 4:19 PM

                  @bartkowski said in Limiters break ACME LetsEncrypt renewal/account key registration:

                  What could this be?!

                  That's what I was asking myself the entire afternoon.
                  Updated @home (virtual machine) to pfSense CE 2.6.0 : RAS.
                  @work : unbound ..... to use simple words : refuses to resolve ....
                  Switching to a pfSense minmal default config : all was fine. So, nice, its something in my setup.
                  [ ..... 2 hours later .... ]

                  It looks like my limiters and/or floating firewall rules that uses these limiters are the issue.

                  I ditched them (floating rules first, then my limiters). pfSense was now fine.

                  I re reconstructed the limiters as per https://docs.netgate.com/pfsense/en/latest/recipes/codel-limiters.html

                  Added a firewall (just one ?) as per instruction son the same page.
                  I wasn't looking at the console but pfSense was rebooting - that's the first time for me in years.
                  I investigating.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  B 2 Replies Last reply Feb 16, 2022, 4:33 PM Reply Quote 0
                  • B
                    bartkowski @Gertjan
                    last edited by Feb 16, 2022, 4:33 PM

                    @gertjan said in Limiters break ACME LetsEncrypt renewal/account key registration:

                    I wasn't looking at the console but pfSense was rebooting

                    Did you crash? That's what happened to me if you read an earlier post, just unexpectedly.

                    1 Reply Last reply Reply Quote 0
                    • B
                      bartkowski @Gertjan
                      last edited by Mar 9, 2022, 9:11 PM

                      Hey @gertjan, have you figured out anything?
                      I'm still scratching my head - I have two services that fail to work: ACME and Auto Backup.

                      G 1 Reply Last reply Mar 10, 2022, 10:49 AM Reply Quote 0
                      • G
                        Gertjan @bartkowski
                        last edited by Mar 10, 2022, 10:49 AM

                        @bartkowski
                        Noop.
                        Not using limiters right now.
                        "They" know the issue exists, something good will come out ... soon ...

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

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