Package Details: ike 2.2.1-4

Git Clone URL: https://aur.archlinux.org/ike.git (read-only)
Package Base: ike
Description: Shrew Soft VPN client for Linux
Upstream URL: http://www.shrew.net
Licenses: BSD
Submitter: tmhedberg
Maintainer: benjarobin
Last Packager: benjarobin
Votes: 19
Popularity: 0.044771
First Submitted: 2011-12-06 17:01
Last Updated: 2017-05-06 13:25

Latest Comments

benjarobin commented on 2017-05-06 13:31

I did fix the build, but the build will fail again in the near future when openssl-1.0 is going to be removed from the repository.
Furthermore the development of IKE looks dead (The last version is 4 years old).
I am no longer using ike since my company switched over openvpn, and I will not fix the build against openssl-1.1.0

NullDivision commented on 2017-05-06 09:51

It would appear that the package no longer builds, Any suggestions?

/home/nulldivision/Downloads/ike/src/ike/source/libike/manager.file.cpp: In member function ‘bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const char*, bool&)’:
/home/nulldivision/Downloads/ike/src/ike/source/libike/manager.file.cpp:682:19: error: aggregate ‘EVP_CIPHER_CTX ctx_cipher’ has incomplete type and cannot be defined
EVP_CIPHER_CTX ctx_cipher;
^~~~~~~~~~
make[2]: *** [source/libike/CMakeFiles/ss_ike.dir/build.make:135: source/libike/CMakeFiles/ss_ike.dir/manager.file.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:239: source/libike/CMakeFiles/ss_ike.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

shuairan commented on 2015-12-04 09:32

knotty66:

THANKS! I had the same error and finally solved it with your help. And I spend more then 2 hours... :/
Before your post, without finding a solution (My former workaround was using the https://github.com/Stono/ike Docker Image and manually setting the DNS...)

After installing the latest Microcode update (Package is outdated, so I used the one from the Intel website), nothing changed for me (dmesg | grep microcode shows a update, but ike still fails)
Seems that your solution only works for Haswell, with the 5600U (Broadwell) it didn't work.

So I kept digging, with the information that HLE may be the cause and the info from this thread: https://bbs.archlinux.org/viewtopic.php?id=202545 I build glibc without the flag "enable-lock-elision"

==========
sudo abs core
cp -r /var/abs/core/glibc /tmp
cd /tmp/glibc
# PKGBUILD: remove the line containing --enable-lock-elision with sed:
sed -i '/--enable-lock-elision/d' PKGBUILD
makepkg
sudo pacman -U /tmp/glibc/glibc-whatever.pkg.tar.xz
==========

Then reinstalled the package and it works!

knotty66 commented on 2015-11-24 13:34

Phate666,Hidi:

I've just resolved this after about 2 hours of digging.

This error:

iked: pthread_mutex_unlock.c:87: __pthread_mutex_unlock_usercnt: Assertion `type == PTHREAD_MUTEX_ERRORCHECK_NP' failed.

Is I believe related to Intel TSX extensions and HLE (Hardware Lock Elision). Broadwell and Haswell processors (My CPU is a 4790K) had faulty implementations of these and were later disabled by Intel.

Installing 'intel-ucode' (https://wiki.archlinux.org/index.php/Microcode) which disables these features, and reinstalling this package fixed this issue for me.

koven commented on 2014-08-21 02:35

For me it isn't working with errors like this

sudo ikec -r config-file.vpn -u user p passwd -a
ii : ## : VPN Connect, ver 2.2.1
## : Copyright 2013 Shrew Soft Inc.
## : press the <h> key for help
*** Error in `ikec': double free or corruption (out): 0x00000000019697c0 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x73f8e)[0x7fdd9b357f8e]
/usr/lib/libc.so.6(+0x7988e)[0x7fdd9b35d88e]
/usr/lib/libc.so.6(+0x7a04b)[0x7fdd9b35e04b]
/usr/lib/libss_idb.so.2.2.1(_ZN6_BDATA4growEm+0x58)[0x7fdd9bdf5308]
/usr/lib/libss_idb.so.2.2.1(_ZN6_BDATA3insEPvmm+0x34)[0x7fdd9bdf55a4]
/usr/lib/libss_ike.so.2.2.1(_ZN15_CONFIG_MANAGER13file_vpn_loadER7_CONFIG+0xac)[0x7fdd9c002d6c]
/usr/lib/libss_ike.so.2.2.1(_ZN7_CLIENT11config_loadEv+0xb8)[0x7fdd9bffe528]
ikec(main+0xc7)[0x401867]
/usr/lib/libc.so.6(__libc_start_main+0xf0)[0x7fdd9b304000]


thank you!!

koven commented on 2014-08-21 02:33

For me it isn't working. There're multiple errors like this..

sudo ikec -r LBJ-BOS-admin.vpn -u juancarlos.lopez -p n0l0g1n -a
ii : ## : VPN Connect, ver 2.2.1
## : Copyright 2013 Shrew Soft Inc.
## : press the <h> key for help
*** Error in `ikec': double free or corruption (out): 0x00000000019697c0 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x73f8e)[0x7fdd9b357f8e]
/usr/lib/libc.so.6(+0x7988e)[0x7fdd9b35d88e]
/usr/lib/libc.so.6(+0x7a04b)[0x7fdd9b35e04b]
/usr/lib/libss_idb.so.2.2.1(_ZN6_BDATA4growEm+0x58)[0x7fdd9bdf5308]
/usr/lib/libss_idb.so.2.2.1(_ZN6_BDATA3insEPvmm+0x34)[0x7fdd9bdf55a4]
/usr/lib/libss_ike.so.2.2.1(_ZN15_CONFIG_MANAGER13file_vpn_loadER7_CONFIG+0xac)[0x7fdd9c002d6c]
/usr/lib/libss_ike.so.2.2.1(_ZN7_CLIENT11config_loadEv+0xb8)[0x7fdd9bffe528]
ikec(main+0xc7)[0x401867]
/usr/lib/libc.so.6(__libc_start_main+0xf0)[0x7fdd9b304000]


Thank you!!

Hidi commented on 2014-05-01 10:55

Hi, i have the same problme like Phate666.
I'm on x86-64 and glibc is 2.19-3. Reinstalling glibc & recompiling doesn't solve the issue.

pelluch commented on 2014-02-15 22:51

Hi, I'm not sure why that could happen, but could you give me a few more details? Does it happen when you perform a specific action? Are you on x86-64 or are you using 32-bit arch? Also, this is a wild guess, but could you check if you have the latest glibc correctly installed?

Phate666 commented on 2014-02-11 16:35

Not working for me:
iked: pthread_mutex_unlock.c:87: __pthread_mutex_unlock_usercnt: Assertion `type == PTHREAD_MUTEX_ERRORCHECK_NP' failed.

pelluch commented on 2013-06-12 21:45

You are very much correct, as namcap has pointed out. Sorry for the slip-up and thanks for the notice, I've corrected the PKGBUILD to reflect this.

All comments