Приветствую!
Не могу поставить freeswan. Скачал с офф.сайта, распаковал.
make programsНа выходе:
make[1]: Entering directory `/usr/src/freeswan-2.06/doc'
make[1]: Nothing to be done for `programs'.
make[1]: Leaving directory `/usr/src/freeswan-2.06/doc'
make[1]: Entering directory `/usr/src/freeswan-2.06/lib'
make[2]: Entering directory `/usr/src/freeswan-2.06/lib/libfreeswan'
cc -I. -I../../linux/net/ipsec -I../../linux/include -I../.. -g -O3 -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -c -o pfkey_v2_build.o ../../linux/net/ipsec/pfkey_v2_build.c
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_msg_hdr_build':
../../linux/net/ipsec/pfkey_v2_build.c:192: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_sa_ref_build':
../../linux/net/ipsec/pfkey_v2_build.c:316: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_lifetime_build':
../../linux/net/ipsec/pfkey_v2_build.c:393: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_address_build':
../../linux/net/ipsec/pfkey_v2_build.c:513: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_key_build':
../../linux/net/ipsec/pfkey_v2_build.c:585: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_ident_build':
../../linux/net/ipsec/pfkey_v2_build.c:672: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_sens_build':
../../linux/net/ipsec/pfkey_v2_build.c:726: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_prop_build':
../../linux/net/ipsec/pfkey_v2_build.c:785: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_supported_build':
../../linux/net/ipsec/pfkey_v2_build.c:866: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_spirange_build':
../../linux/net/ipsec/pfkey_v2_build.c:947: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_x_kmprivate_build':
../../linux/net/ipsec/pfkey_v2_build.c:991: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_x_satype_build':
../../linux/net/ipsec/pfkey_v2_build.c:1044: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_x_debug_build':
../../linux/net/ipsec/pfkey_v2_build.c:1101: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_msg_build':
../../linux/net/ipsec/pfkey_v2_build.c:1240: error: lvalue required as left operand of assignment
make[2]: *** [pfkey_v2_build.o] Error 1
make[2]: Leaving directory `/usr/src/freeswan-2.06/lib/libfreeswan'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/usr/src/freeswan-2.06/lib'
make: *** [programs] Error 1Затем make install, на выходе:
if [ -f /usr/local/lib/ipsec/pluto ]; \
then \
echo WARNING: FreeS/WAN 1.99 still installed. ;\
echo WARNING: moving /usr/local/lib/ipsec to /usr/local/lib/ipsec.v1 ;\
mv /usr/local/lib/ipsec /usr/local/lib/ipsec.v1 ;\
fi
make[1]: Entering directory `/usr/src/freeswan-2.06/doc'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/usr/src/freeswan-2.06/doc'
make[1]: Entering directory `/usr/src/freeswan-2.06/lib'
make[2]: Entering directory `/usr/src/freeswan-2.06/lib/libfreeswan'
make[2]: Leaving directory `/usr/src/freeswan-2.06/lib/libfreeswan'
make[2]: Entering directory `/usr/src/freeswan-2.06/lib/libdes'
make[2]: Leaving directory `/usr/src/freeswan-2.06/lib/libdes'
make[1]: Leaving directory `/usr/src/freeswan-2.06/lib'
make[1]: Entering directory `/usr/src/freeswan-2.06/programs'
make[2]: Entering directory `/usr/src/freeswan-2.06/programs/spi'
cc -g -O3 -I../../linux/include -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -Werror -c -o spi.o spi.c
cc -g -O3 -I../../linux/include -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -Werror -o spi spi.o ../../lib/libfreeswan/libfreeswan.a
cc: ../../lib/libfreeswan/libfreeswan.a: No such file or directory
make[2]: *** [spi] Error 1
rm spi.o
make[2]: Leaving directory `/usr/src/freeswan-2.06/programs/spi'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/freeswan-2.06/programs'
make: *** [install] Error 1Как же поставить то этот freeswan, на что он ругается-то? Гуру, подскажите, пжл.
>Приветствую!
>Не могу поставить freeswan. Скачал с офф.сайта, распаковал......
попробуйте опенсван. http://openswan.org/
насколько мне известно фрисван больше не поддерживается.
>>Приветствую!
>>Не могу поставить freeswan. Скачал с офф.сайта, распаковал.
>
>.....
>
>попробуйте опенсван. http://openswan.org/
>
>насколько мне известно фрисван больше не поддерживается.Спасибо. Попробую покурить в сторону openswan.
Хотя факт того, что freeswan не смог поставить - печалит. Вроде уже и ядро пропатчил. А все равно ругается дико :(
Поставил openswan 2.6.20.
Собрал ядро с поддержкой NET_KEY:
CONFIG_UNIX=y
CONFIG_UNIX98_PTYS=y
CONFIG_PROC_FS=y
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
CONFIG_CRYPTO_CRYPTD=m
CONFIG_CRYPTO_AUTHENC=y
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_SHA512=y
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_586=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_BLOWFISH=y
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_586=y
CONFIG_CRYPTO_SHA1=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_NET_KEY=y
CONFIG_NET_KEY_MIGRATE=y
CONFIG_XFRM_USER=y
CONFIG_INET_AH=y
CONFIG_INET_ESP=y
CONFIG_INET_IPCOMP=y
# CONFIG_KLIPS is not setно при вводе ipsec --version выдает:
Linux Openswan U2.6.20/K(no kernel code presently loaded)
See `ipsec --copyright' for copyright information.Ничего понять не могу :(
гуру, подмогите, а?