After starting a profile which contains any type of tunnel ('almost vpn', 'drives', or 'tunnels'), the tunnel is successfully created, but the 'expect' process running as root is sucking all the cpu.
I have tried using different combinations of tunnel types, and can reproduce this every time. I have tried accounts using both password authentication and ssh public key authentication. For tunnels, I have tried both local and remote. Everything works, it's just that expect is using all the CPU.
I'm looking at the AlmostVPN log and my console log, but it doens't indicate any problems.
Not sure if this will help, but here is a sample of the expect process when it's in this state
http://www.dreness.com/bits/tech/expect_sample.txt
I don't really know enough about expect to debug this... Do you have a debug version of AlmostVPN, or any way to enable verbose logging of the actions taken by expect? I have tried adding -c "strace 4" prior to the heredoc for doSSH in the utils.sh file:
expect -c "strace 4" <<EOF
...
... but this does not work (probably incorrect usage).