[strongSwan] IPv6 issues on Mac with Strongswan via Homerew

Claude Tompers claude.tompers at restena.lu
Fri Mar 6 11:07:06 CET 2020


Dear Strongswan List,

I've installed strongswan with Homebrew and it seems to be working fine
with IPv4, however I receive a coredump when I try to set up an IPv6
session. Is this a known issue ?

IKE_SA restena6[2] established between 2001:a18:1:10::3[C=LU,
L=Esch-sur-Alzette, O=Fondation RESTENA, OU=Technical,
CN=nullpointerexception at restena.lu,
E=nullpointerexception at restena.lu]...2001:a18:0:414::2[casarrondo.restena.lu]
scheduling reauthentication in 2688s
maximum IKE_SA lifetime 3228s
installing 158.64.1.25 as DNS server
installing 158.64.1.14 as DNS server
installing 158.64.1.25 as DNS server
installing 158.64.1.14 as DNS server
handling INTERNAL_IP6_DNS attribute failed
handling UNITY_DEF_DOMAIN attribute failed
handling INTERNAL_IP6_DNS attribute failed
installing new virtual IP 2001:a18:1:11::1
created TUN device: utun3
thread 6 received 4
 dumping 19 stack frame addresses:
  /usr/local/Cellar/strongswan/5.8.2/libexec/ipsec/charon @
0x000000010562a000 (segv_handler.cold.1+0x0) [0x000000010562c57f]
    -> segv_handler.cold.1 (in charon) + 0
  /usr/lib/system/libsystem_platform.dylib @ 0x00007fff69f8c000
(_sigtramp+0x1d) [0x00007fff69f9042d]
    -> _sigtramp (in libsystem_platform.dylib) + 29
    2   ???                                 0x69766564204e5554 0x0 +
7599372901947430228
  /usr/lib/system/libsystem_c.dylib @ 0x00007fff69de6000
(__chk_fail_overlap+0x0) [0x00007fff69e63428]
    -> __chk_fail_overlap (in libsystem_c.dylib) + 0
  /usr/lib/system/libsystem_c.dylib @ 0x00007fff69de6000
(__stpncpy_chk+0x0) [0x00007fff69e63a5c]
    -> __stpncpy_chk (in libsystem_c.dylib) + 0
  /usr/local/Cellar/strongswan/5.8.2/lib/ipsec/libstrongswan.0.dylib @
0x0000000105635000 (set_address+0x73) [0x00000001056531c1]
    -> set_address (in libstrongswan.0.dylib) + 115
 
/usr/local/Cellar/strongswan/5.8.2/lib/ipsec/plugins/libstrongswan-kernel-pfroute.so
@ 0x00000001059c0000 (add_ip+0x6d) [0x00000001059c3a6f]
    -> 0x0000000000003a6f
  /usr/local/Cellar/strongswan/5.8.2/lib/ipsec/libcharon.0.dylib @
0x0000000105690000 (add_virtual_ip+0x79) [0x00000001056b5347]
    -> add_virtual_ip (in libcharon.0.dylib) + 121
  /usr/local/Cellar/strongswan/5.8.2/lib/ipsec/libcharon.0.dylib @
0x0000000105690000 (process_i+0x83) [0x00000001056cd627]
    -> process_i (in libcharon.0.dylib) + 131
  /usr/local/Cellar/strongswan/5.8.2/lib/ipsec/libcharon.0.dylib @
0x0000000105690000 (process_message+0xbf4) [0x00000001056bf1be]
    -> process_message (in libcharon.0.dylib) + 3060
  /usr/local/Cellar/strongswan/5.8.2/lib/ipsec/libcharon.0.dylib @
0x0000000105690000 (process_message+0x48) [0x00000001056b3ba1]
    -> process_message (in libcharon.0.dylib) + 72
  /usr/local/Cellar/strongswan/5.8.2/lib/ipsec/libcharon.0.dylib @
0x0000000105690000 (handle_fragment+0x6b) [0x00000001056bfc09]
    -> handle_fragment (in libcharon.0.dylib) + 107
  /usr/local/Cellar/strongswan/5.8.2/lib/ipsec/libcharon.0.dylib @
0x0000000105690000 (process_message+0x4a2) [0x00000001056bea6c]
    -> process_message (in libcharon.0.dylib) + 1186
  /usr/local/Cellar/strongswan/5.8.2/lib/ipsec/libcharon.0.dylib @
0x0000000105690000 (process_message+0x48) [0x00000001056b3ba1]
    -> process_message (in libcharon.0.dylib) + 72
  /usr/local/Cellar/strongswan/5.8.2/lib/ipsec/libcharon.0.dylib @
0x0000000105690000 (execute+0xa1) [0x00000001056ac696]
    -> execute (in libcharon.0.dylib) + 161
  /usr/local/Cellar/strongswan/5.8.2/lib/ipsec/libstrongswan.0.dylib @
0x0000000105635000 (process_jobs+0xb3) [0x00000001056575a7]
    -> process_jobs (in libstrongswan.0.dylib) + 179
  /usr/local/Cellar/strongswan/5.8.2/lib/ipsec/libstrongswan.0.dylib @
0x0000000105635000 (thread_main+0x95) [0x0000000105667372]
    -> thread_main (in libstrongswan.0.dylib) + 149
  /usr/lib/system/libsystem_pthread.dylib @ 0x00007fff69f96000
(_pthread_start+0x94) [0x00007fff69f9be65]
    -> _pthread_start (in libsystem_pthread.dylib) + 148
  /usr/lib/system/libsystem_pthread.dylib @ 0x00007fff69f96000
(thread_start+0xf) [0x00007fff69f9783b]
    -> thread_start (in libsystem_pthread.dylib) + 15
killing ourself, received critical signal

kind regards,
Claude

-- 
Claude Tompers
Network and systems engineer
Fondation RESTENA
2, avenue de l'Université
L-4365 Esch/Alzette

Tel: +352 424409 1
Fax: +352 422473


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strongswan.org/pipermail/users/attachments/20200306/b1a868ff/attachment.sig>


More information about the Users mailing list