Received DELETE for IKE_SA



  • Hi everyone,

    i am having trouble to identify or furthermore to understand the difference between serveral DELETE-messages regarding IPSec-SAs. Sometimes one of my VPN-peers (not pfSense) is telling my pfSense to shutdown one of my 2x phase2-entries. I have found serveral logs (as i have enabled syslog to have a further look) but i can't get the difference.

    This is what happend when one of my phase2-SAs got lost:
    17.09.2015 07:43:55 192.168.120.100 [IKE] <con2000|57>received DELETE for IKE_SA con2000[57]

    During the day i can also see a lot of these messages:
    17.09.2015 09:15:18 192.168.120.100 [IKE] <con2000|177>received DELETE for ESP CHILD_SA with SPI 3995bc25 charon: 09-17 09:15:16 6 09 3
    17.09.2015 09:15:18 192.168.120.100 [IKE] <con2000|177>received DELETE for ESP CHILD_SA with SPI 3995bc25 charon: 09-17 09:15:16 6 09 10

    I guess the second one is perhaps rekeying, right? One detail about my configuration: Phase 2 lifetime is 86400. Phase 2 lifetime is 3600.

    Have you ever heard about this issue? Like only one of the two SAs coming back after disconnecting?

    Kind regards
    vitafit</con2000|177></con2000|177></con2000|57>



  • That isn't enough log context to tell whether it's rekeying or what's happening. The only thing that shows definitively is the remote end is telling your end to delete the SA. Might be because it's rekeyed, or its lifetime expired, or the SA was deleted manually on the remote end, among other possibilities. What logs surround that?