那笑已成往昔 2020-09-23 11:30 采纳率: 0%
浏览 225

L2TP+IPSEC移植,ipsec不能正常启动服务

用的是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也不能使用,有大佬能帮忙指点下吗

  • 写回答

2条回答 默认 最新

  • threenewbee 2020-09-23 13:30
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂
  • ¥15 wordpress 产品图片 GIF 没法显示