在 Linux 机器上使用带有 bash、gcc(3 或 4 系列)、make 等的通用 C 开发环境构建它。
建筑先决条件是:
**
Run Code Online (Sandbox Code Playgroud)1. openssl binaries; 2. openssl development package with include files (on debian package libssl-dev);**
root@t-Aspire-5742:/# sudo 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.37/K3.5.0-42-generic (netkey)
Checking for IPsec support in kernel [OK]
SAref kernel support [N/A]
NETKEY: Testing XFRM related proc values [FAILED]
Please disable /proc/sys/net/ipv4/conf/*/send_redirects
or NETKEY will cause the sending of bogus ICMP redirects! [FAILED]
Please disable /proc/sys/net/ipv4/conf/*/accept_redirects
or NETKEY will accept bogus ICMP redirects [OK]
Checking that pluto is running [OK]
Pluto listening for IKE on …Run Code Online (Sandbox Code Playgroud)