用的是4.1.15的内核
/usr/libexec/ipsec # ipsec setup restart
ipsec_setup: Stopping Openswan IPsec...
pluto[203]: shutting down
pluto[203]: forgetting secrets
pluto[203]: "L2TP-PSK-noNAT": deleting connection
pluto[203]: "L2TP-PSK-NAT": deleting connection
pluto[208]: pluto_crypto_helper: helper [nonnss] (0) is exiting normally
ipsec_setup: Starting Openswan IPsec 2.6.50...
ipsec_setup: ipsec_setup: WARNING: cannot flush state/policy database -- `%defaultroute'. Install a newer version of iproute/iproute2 or install the ipsec-tools package to obtain the setkey command.
ipsec_setup: no default routes detected
/usr/libexec/ipsec # pluto[330]: Starting Pluto (Openswan Version 2.6.50; Vendor ID OSWAOazLkED\134) pid:330
pluto[330]: LEAK_DETECTIVE support [disabled]
pluto[330]: OCF support for IKE [disabled]
pluto[330]: SAref support [disabled]: Protocol not available
pluto[330]: SAbind support [disabled]: Protocol not available
pluto[330]: NSS support [disabled]
pluto[330]: HAVE_STATSD notification support not compiled in
pluto[330]: Setting NAT-Traversal port-4500 floating to on
pluto[330]: port floating activation criteria nat_t=1/port_float=1
pluto[330]: NAT-Traversal support [enabled]
pluto[330]: using /dev/urandom as source of random entropy
pluto[330]: ike_alg_register_enc(): Activating OAKLEY_AES_CBC: Ok (ret=0)
pluto[330]: ike_alg_register_hash(): Activating OAKLEY_SHA2_512: Ok (ret=0)
pluto[330]: ike_alg_register_hash(): Activating OAKLEY_SHA2_256: Ok (ret=0)
pluto[330]: starting up 1 cryptographic helpers
pluto[330]: started helper pid=333 (fd:7)
pluto[330]: No Kernel XFRM/NETKEY interface detected
pluto[330]: No Kernel KLIPS interface detected
pluto[330]: No Kernel MASTKLIPS interface detected
pluto[330]: Using 'no_kernel' interface code on 4.1.15
pluto[330]: myid malformed: empty string ""
pluto[333]: using /dev/urandom as source of random entropy
pluto[330]: adding connection: "L2TP-PSK-NAT"
pluto[330]: adding connection: "L2TP-PSK-noNAT"
pluto[330]: listening for IKE messages
pluto[330]: no public interfaces found
pluto[330]: loading secrets from "/etc/ipsec.secrets"
ipsec_setup: Starting Openswan IPsec 2.6.50...
ipsec_setup: ipsec_setup: WARNING: cannot flush state/policy database -- `%defaultroute'. Install a newer version of ipro-/bin/sh: ipsec_setup:: not found
/usr/libexec/ipsec # ipsec verify
/usr/sbin/ipsec: exec: line 148: /usr/libexec/ipsec/verify: not found
verify也不能使用,有大佬能帮忙指点下吗