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

    IPSec/IKEV2 error "trap not found, unable to acquire reqid"

    IPsec
    6
    17
    8.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.
    • K
      Konstanti @geovaneg
      last edited by Konstanti

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • K
        Konstanti @geovaneg
        last edited by Konstanti

        @geovaneg

        Hello
        Alternatively, you can use cron to run the command ipsec restart every 20-30 days, then all the requid counters will be reset .

        G 1 Reply Last reply Reply Quote 1
        • G
          geovaneg @Konstanti
          last edited by

          @Konstanti

          Hi,

          Yes, last night, as a workaraound, I put this line in cron to stop and start the service as often as necessary:

          "/usr/local/sbin/pfSsh.php playback svc stop ipsec; /usr/local/sbin/pfSsh.php playback svc start ipsec"

          Geovane

          sblinovS 1 Reply Last reply Reply Quote 0
          • sblinovS
            sblinov @geovaneg
            last edited by

            @geovaneg

            Currently I use cron with this line /usr/local/sbin/ipsec restart . It works for me.
            Any another solutions for fix that problem?

            1 Reply Last reply Reply Quote 0
            • P
              paraffin
              last edited by

              It appears that Strongswan put out a patch today for this issue on the thread posted by @geovaneg , I guess they realised that the FreeBSD fix would take a long time to implement.

              https://wiki.strongswan.org/issues/2315

              How quickly would fixes like this be implemented in PFSense as I had this exact issue today?

              jimpJ 1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate @paraffin
                last edited by

                @paraffin said in IPSec/IKEV2 error "trap not found, unable to acquire reqid":

                How quickly would fixes like this be implemented in PFSense as I had this exact issue today?

                It needs to make it into a strongSwan release first. And once it's in a strongSwan release, pfSense would need to include that new version in a release.

                Given that it just went into strongSwan master two days ago, it's too late for 2.4.5. There is still a possibility it might be fixed for 2.5.0, though, but it all depends on when strongSwan puts out a release with it.

                Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                G 1 Reply Last reply Reply Quote 0
                • G
                  geovaneg @jimp
                  last edited by

                  @jimp Due to the coronavirus pandemic and the migration of many workers to the remote work mode, the 16k limit can be reached more quickly and become an important limiter in this moment of crisis.
                  I think it would be important if we could work in an integrated way with the StrongSwan team and take the bug fix as soon as possible to the stable version of PFSense.

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    We can't just pull it in without vetting it first. Rushing it how things get broken worse.

                    strongSwan says they expect a new release shortly:

                    https://wiki.strongswan.org/projects/strongswan/roadmap

                    5.8.3
                    Due in 6 days (18.03.2020)

                    It's almost certainly too late for that to be in 2.4.5, but we have done OOB updates for some packages before.

                    Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    M 1 Reply Last reply Reply Quote 1
                    • M
                      marcquark @jimp
                      last edited by marcquark

                      @jimp i think this thread might also describe the root cause of my problem over here https://forum.netgate.com/topic/149043/gateway-monitoring-gets-stuck-in-infinite-loop-when-using-multiple-vtis-on-sg-3100
                      I probably went down the wrong path trying to figure out where things break. Gateway Monitoring was apparently never to blame, it probably just accelerated the trigger.
                      My problem was caused by this https://redmine.pfsense.org/issues/10176

                      FWIW my log messages always read "trap not found, unable to acquire reqid 0" when the problem arises

                      Anyway, a strongswan hotfix would be much, much appreciated. We use multiple Routed IPSec tunnels to interconnect Office spaces, Data Centers and AWS. These dying VPN tunnels are haunting us. Is there anything we from the community can do to help get this into a stable release?

                      /e i'm going to try and spin up a couple of VMs, maybe i can reliably reproduce the problem.

                      1 Reply Last reply Reply Quote 0
                      • jimpJ
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        We'll need to be careful with it and test it on 2.5.0 first. Here's an example of why:

                        strongSwan 5.8.3 came out on March 25th, one day before pfSense 2.4.5. If we had rushed to include it in 2.4.5, we'd have people hitting issues that were discovered in strongSwan 5.8.3 which necessitated a new version, 5.8.4, released today.

                        So as with most other things, it will be included when it's deemed ready for inclusion.

                        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

                        1 Reply Last reply Reply Quote 2
                        • sblinovS
                          sblinov
                          last edited by

                          I have updated pfSense to 2.5 dev release and I found some connection issues, can't connect to Ikev2 IPSec mobile users. They are use PSK authentication. I tried different settings and it was ni successful for me.
                          @geovaneg @jimp please double check it

                          1 Reply Last reply Reply Quote 0
                          • jimpJ
                            jimp Rebel Alliance Developer Netgate
                            last edited by

                            @sblinov said in IPSec/IKEV2 error "trap not found, unable to acquire reqid":

                            I have updated pfSense to 2.5 dev release and I found some connection issues, can't connect to Ikev2 IPSec mobile users. They are use PSK authentication. I tried different settings and it was ni successful for me.
                            @geovaneg @jimp please double check it

                            Start your own thread for that, it isn't related to the topic of this thread.

                            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                            Need help fast? Netgate Global Support!

                            Do not Chat/PM for help!

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