openswan移植到s3c2440+linux

teaco2012 2016-04-20 04:09:18
如题有没有做过的高手,请教:
[root@Qstech/]#ipsec verify
Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path [OK]
Linux Openswan U2.6.28/K2.6.32.2-FriendlyARM (netkey)
Checking for IPsec support in kernel [OK]
NETKEY detected, testing for disabled ICMP send_redirects [OK]
NETKEY detected, testing for disabled ICMP accept_redirects [OK]
Checking that pluto is running [FAILED]
Checking for 'ip' command [OK]
Checking for 'iptables' command [OK]
Opportunistic Encryption Support [DISABLED]
//////////////////////////////////////////////////////////////////////////////
[root@Qstech/]#ipsec pluto
[root@Qstech/]#pluto[622]: Starting Pluto (Openswan Version 2.6.28; Vendor ID OEQ{O\177nez{CQ) pid:622
pluto[622]: Setting NAT-Traversal port-4500 floating to off
pluto[622]: port floating activation criteria nat_t=0/port_float=1
pluto[622]: NAT-Traversal support [disabled]
pluto[622]: using /dev/urandom as source of random entropy

现在Checking that pluto is running [FAILED]
运行不正确,调试了一下代码发现ipsec pluto执行到
init_virtual_ip(virtual_private);
init_rnd_pool();
init_timer();
init_secret();
init_states();
init_connections();
init_crypto();

init_crypto();这个函数时停止了
而且执行:ipsec newhostkey --output /etc/ipsec.secrets --random /dev/urandom
这个指令时,提示Illegal instruction
现在好象就是加密模块这块有问题,但是不知道问题出在哪里了?求帮助,谢谢!
...全文
507 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
套马的野汉子 2018-01-05
  • 打赏
  • 举报
回复
你好,请问这个问题后来你是怎么解决的?麻烦了,我也遇到了这个问题

21,597

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 驱动开发/核心开发
社区管理员
  • 驱动开发/核心开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧