Hello ! 
im trying to use those two  great plugins for ipsec with vpp and strongswan!!
i have sucsseded to pass the configure (with enable the plugins) , and also the 
make && make install

now i can see that in /usr/lib/ipsec the *.so file for those plugins (kernel 
and socket).
my /etc/strongswan.conf has load_modular = yes.
and i have for each plugin in /etc/strongswan.d/charon/ socket-vpp.conf and 
kernel-vpp.conf which says *load = yes*

but when i do "ipsec restart" i see in /var/log/ipsec.log  that its load all 
plugins including socket-vpp but then it stuck (nathing in the log after that)

root@ubuntu:/etc/strongswan.d/charon# head -n 500 /var/log/ipsec.log
Jan 31 14:32:31 00[DMN] Starting IKE charon daemon (strongSwan 5.6.2, Linux 
4.15.0-23-generic, x86_64)
Jan 31 14:32:31 00[LIB] plugin 'aes': loaded successfully
*Jan 31 14:32:31 00[LIB] plugin 'socket-vpp': loaded successfully*
Jan 31 14:32:31 00[LIB] plugin 'des': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'rc2': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'sha2': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'sha1': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'md5': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'random': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'nonce': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'x509': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'revocation': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'constraints': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'pubkey': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'pkcs1': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'pkcs7': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'pkcs8': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'pkcs12': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'pgp': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'sshkey': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'pem': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'openssl': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'fips-prf': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'curve25519': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'xcbc': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'cmac': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'hmac': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'attr': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'kernel-netlink': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'resolve': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'socket-default': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'stroke': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'vici': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'updown': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'xauth-generic': loaded successfully
Jan 31 14:32:31 00[LIB] plugin 'counters': loaded successfully
....................

meaning (i think) that the second plugin (kernel-vpp) crushed or somthing , 
becouse when i comment out the load  parameter in the conf file i can see 
further in the log but then it has massage 
 "Jan 31 14:06:36 00[LIB] no vac available (plugin missing?)" => from file 
socket_vpp_socket.c function: *socket_vpp_socket_create()*

root@ubuntu:/etc/strongswan.d/charon# head -n 500 /var/log/ipsec.log
Jan 31 14:06:36 00[DMN] Starting IKE charon daemon (strongSwan 5.6.2, Linux 
4.15.0-23-generic, x86_64)
Jan 31 14:06:36 00[LIB] plugin 'aes': loaded successfully
*Jan 31 14:06:36 00[LIB] plugin 'socket-vpp': loaded successfully*
Jan 31 14:06:36 00[LIB] plugin 'des': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'rc2': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'sha2': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'sha1': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'md5': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'random': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'nonce': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'x509': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'revocation': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'constraints': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'pubkey': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'pkcs1': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'pkcs7': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'pkcs8': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'pkcs12': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'pgp': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'dnskey': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'sshkey': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'pem': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'openssl': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'fips-prf': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'curve25519': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'xcbc': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'cmac': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'hmac': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'attr': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'kernel-netlink': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'resolve': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'socket-default': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'stroke': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'vici': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'updown': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'xauth-generic': loaded successfully
Jan 31 14:06:36 00[LIB] plugin 'counters': loaded successfully
Jan 31 14:06:36 00[LIB] loading feature CUSTOM:libcharon in plugin 'charon'
Jan 31 14:06:36 00[LIB]   loading feature NONCE_GEN in plugin 'nonce'
Jan 31 14:06:36 00[LIB]     loading feature RNG:RNG_WEAK in plugin 'openssl'
Jan 31 14:06:36 00[LIB]     loading feature RNG:RNG_TRUE in plugin 'random'
Jan 31 14:06:36 00[LIB]     loading feature RNG:RNG_STRONG in plugin 'random'
Jan 31 14:06:36 00[LIB]     loading feature RNG:RNG_STRONG in plugin 'openssl'
Jan 31 14:06:36 00[LIB]   loading feature CUSTOM:libcharon-sa-managers in 
plugin 'charon'
Jan 31 14:06:36 00[LIB]     loading feature HASHER:HASH_SHA1 in plugin 'sha1'
Jan 31 14:06:36 00[LIB]     loading feature HASHER:HASH_SHA1 in plugin 'openssl'
Jan 31 14:06:36 00[LIB]   loading feature CUSTOM:libcharon-receiver in plugin 
'charon'
Jan 31 14:06:36 00[LIB]     loading feature CUSTOM:socket in plugin 'socket-vpp'
Jan 31 14:06:36 00[LIB]       loading feature CUSTOM:kernel-ipsec in plugin 
'kernel-netlink'
Jan 31 14:06:36 00[KNL] sending XFRM_MSG_GETSPDINFO 201: => 20 bytes @ 
0x7fffb07389d0
Jan 31 14:06:36 00[KNL]   16: 00 00 00 00                                      
....
Jan 31 14:06:36 00[KNL] received XFRM_MSG_NEWSPDINFO 201: => 76 bytes @ 
0x55fa75dde0e0
Jan 31 14:06:36 00[KNL]    0: 4C 00 00 00 24 00 00 00 C9 00 00 00 DF 0D 00 00  
L...$...........
Jan 31 14:06:36 00[KNL]   16: 00 00 00 00 1C 00 01 00 00 00 00 00 00 00 00 00  
................
Jan 31 14:06:36 00[KNL]   32: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  
................
Jan 31 14:06:36 00[KNL]   48: 0C 00 02 00 07 00 00 00 00 00 10 00 06 00 03 00  
................
Jan 31 14:06:36 00[KNL]   64: 20 20 00 00 06 00 04 00 80 80 00 00               
 ..........
Jan 31 14:06:36 00[KNL] sending XFRM_MSG_GETSPDINFO 202: => 20 bytes @ 
0x7fffb07389d0
Jan 31 14:06:36 00[KNL]    0: 14 00 00 00 25 00 01 00 CA 00 00 00 DF 0D 00 00  
....%...........
Jan 31 14:06:36 00[KNL]   16: 00 00 00 00                                      
....
Jan 31 14:06:36 00[KNL] received XFRM_MSG_NEWSPDINFO 202: => 76 bytes @ 
0x55fa75dde160
Jan 31 14:06:36 00[KNL]    0: 4C 00 00 00 24 00 00 00 CA 00 00 00 DF 0D 00 00  
L...$...........
Jan 31 14:06:36 00[KNL]   16: 00 00 00 00 1C 00 01 00 00 00 00 00 00 00 00 00  
................
Jan 31 14:06:36 00[KNL]   32: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  
................
Jan 31 14:06:36 00[KNL]   48: 0C 00 02 00 07 00 00 00 00 00 10 00 06 00 03 00  
................
Jan 31 14:06:36 00[KNL]   64: 20 20 00 00 06 00 04 00 80 80 00 00               
 ..........
*Jan 31 14:06:36 00[LIB] no vac available (plugin missing?)*

and now im stuck
i have vpp running on my sytem as well and i have started it before the ipsec 
as told on the readME...
what can i do to continue here?

 pls advice
thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12097): https://lists.fd.io/g/vpp-dev/message/12097
Mute This Topic: https://lists.fd.io/mt/27868658/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-
  • [... tianye@sina
    • ... Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
      • ... tianye@sina
        • ... Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
      • ... amitmulayoff
    • ... Kyle Mestery (kmestery) via Lists.Fd.Io

Reply via email to