|
|
I have compile OpenSSL using tool chain (http://gatewaymaker.sourceforge.net) on a Pentium III machine where I modified the Makefile to add in -DB_ENDIAN, -mbig-endian, -ldl to the line start with 'linux-elf-arm'. the compilation works, and the binary file (openssl) work. The commands are: ./Configure no-threads no-zlib no-shared no-asm no-bf no-cast linux-elf-arm make then I compile OpenVPN, by modified the Makefile add in: (also on Pentium III machine) CFLAGS= -mbig-endian -g -O2 LDFLAGS=-static -L ../openssl-0.9.7b ./configure --disable-lzo --with-ssl-headers=../openssl-0.9.7b/include --dis able-dependency-tracking make and the compilation works. then I put the openvpn binary file on the XScale platform, when I do a "openvpn", it shown a list of help information,which are quite similar to the version on pentium III. if I do a "openvpn --show-ciphers", the following weird results come out: The following ciphers and cipher modes are available for use with OpenVPN. Each cipher shown below may be used as a parameter to the --cipher option. The default key size is shown as well as whether or not it can be changed with the --keysize directive. Using a CBC mode is recommended. DES- 64 bit default key (fixe) DES- 64 bit default key (fixe) IDEA-CBC 128 bit default key (fixe) IDEA-CFB 128 bit default key (fixe) RC2- 128 bit default key (variable) RC2- 128 bit default key (variable) RC2- 128 bit default key (variable) DES-EDE- 128 bit default key (fixe) DES-EDE3-CBC 192 bit default key (fixe) DES- 64 bit default key (fixe) IDEA-OFB 128 bit default key (fixe) DES-EDE- 128 bit default key (fixe) DES-EDE3-CFB 192 bit default key (fixe) DES-EDE- 128 bit default key (fixe) DES-EDE3-OFB 192 bit default key (fixe) DESX-CBC 192 bit default key (fixe) RC2-40-C 40 bit default key (variable) RC5- 128 bit default key (variable) RC5- 128 bit default key (variable) RC5- 128 bit default key (variable) RC2-64-C 64 bit default key (variable) AES-128- 128 bit default key (fixe) AES-128- 128 bit default key (fixe) AES-128- 128 bit default key (fixe) AES-192- 192 bit default key (fixe) AES-192- 192 bit default key (fixe) AES-192- 192 bit default key (fixe) AES-256- 256 bit default key (fixe) AES-256- 256 bit default key (fixe) AES-256- 256 bit default key (fixe) where all ciphers don't have full name, all are truncated. Actually what is the problem here? when I issue a "openvpn --config arm.conf" the system respond with Cipher algorithm 'BF-C' not found (OpenSSL) I tried to put "openvpn --config arm.conf --cipher DES" (as I didn't put the BF cipher when compile openssl) the system respond with Cipher algorithm 'DES' not found (OpenSSL) with the list above(openvpn --show-ciphers) I tried to put "openvpn --config arm.conf --cipher DES-" and the system come out with Segmentation Fault??? Highly appreciate help. Thanks & regards, SH Ng ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |