Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anyone using Aventail Connect?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
douga
n00b
n00b


Joined: 12 Nov 2005
Posts: 12

PostPosted: Mon Dec 24, 2007 2:12 am    Post subject: Anyone using Aventail Connect? Reply with quote

Hi:

I'm having a problem with the new VPN at work, and would appreciate any pointers. The program we're using is Aventail Connect.

Sorry to say, I'm not having the problem with Ubuntu, but of course, I'd rather Gentoo. I seem to have all of the correct modules built; when I try to connect, it doesn't complain, it just refuses the handshake.

I _think_ the problem is the tunnel to the VPN server; it's not getting created (I _think_).

Does anyone have any experience with this program?

Sorry if I'm a little short on details. If anyone needs anymore, I'll try to gather more.

Thanks,

Doug
Back to top
View user's profile Send private message
douga
n00b
n00b


Joined: 12 Nov 2005
Posts: 12

PostPosted: Sun Jan 20, 2008 8:52 pm    Post subject: Reply with quote

Ok, 83 views, no answers.... :cry:

So I'm bumping this with a little more info. Here's the log I get:

WARN 1/20/2008 12:47:20 - XGSSL::SSLConnect() error<5> syserror<Connection reset by peer> m_rTout<30>
ERROR 1/20/2008 12:47:20 - XGSSL::Connect() DoHandShake Failed!!!
WARN 1/20/2008 12:47:20 - VPN Down...

This may be some kind of failure to:

-- create the tun0 interface
-- modify resolv.conf

I made resolv.conf world writable (for a minute only!) to see if that was the problem. It doesn't seem to be.

Does this ring any bells with anyone?

Thanks,

Doug
Back to top
View user's profile Send private message
Tin
Guru
Guru


Joined: 22 Dec 2005
Posts: 305
Location: Namur, Belgium

PostPosted: Mon Feb 18, 2008 2:57 pm    Post subject: Reply with quote

I am sorry, I don't have any info to help you, but I have to use aventail for my job (under windows) and I am trying to connect through gentoo.
Which the vpn client did you emerge ?
I cannot find any information about it...

If I succeed to connect, we could share our experience :-)
_________________
Tin, the gentoobie
Back to top
View user's profile Send private message
douga
n00b
n00b


Joined: 12 Nov 2005
Posts: 12

PostPosted: Mon Feb 18, 2008 5:31 pm    Post subject: Reply with quote

Sorry to say, I never got this to work. I just installed Ubuntu on a different partition and use that to connect to work.
Back to top
View user's profile Send private message
Tin
Guru
Guru


Joined: 22 Dec 2005
Posts: 305
Location: Namur, Belgium

PostPosted: Tue Feb 19, 2008 7:46 am    Post subject: Reply with quote

Ok, and with Ubuntu, which vpn client do you use ?
Is it aventail, or another one ?
_________________
Tin, the gentoobie
Back to top
View user's profile Send private message
douga
n00b
n00b


Joined: 12 Nov 2005
Posts: 12

PostPosted: Tue Feb 19, 2008 11:52 am    Post subject: Reply with quote

Tin wrote:
Ok, and with Ubuntu, which vpn client do you use ?
Is it aventail, or another one ?


I just use Aventail.

One of the things that bugs me about the Aventail client is a very small thing: it changes the uid and gid on /usr and /usr/local to 502, and also changes the permissions on both directories (I think from 755 to 775). But the Aventail client works just fine otherwise.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 15324

PostPosted: Wed Feb 20, 2008 12:50 am    Post subject: Reply with quote

If you still want to troubleshoot this, emerge dev-util/strace and use it to trace the system calls of the Aventail client on both Gentoo and Ubuntu. Try to find where they diverge. It is likely that there is some earlier error that only manifests when the connection handshake stage occurs.

Since strace monitors system calls, it works equally well with and without source code for the target application.
Back to top
View user's profile Send private message
Tin
Guru
Guru


Joined: 22 Dec 2005
Posts: 305
Location: Namur, Belgium

PostPosted: Mon Feb 16, 2009 9:07 pm    Post subject: Reply with quote

Hello.

I got the Aventail rpm and tried to hack it a bit to make aventail work.

I got EXACTELY the same error as you (handshake failed)

Here are plenty of informations about the installation and my tries :

I installed rpm first :

Code:

rebel ~ # eix -e rpm
[I] app-arch/rpm
     Available versions:  4.4.6-r3 (~)4.4.6-r4 (~)4.4.6-r5 4.4.6-r6 [M](~)4.4.7-r1 [M](~)4.4.7-r2 [M](~)4.4.7-r3 [M](~)4.4.7-r4 [M](~)5.0.0[M](~)5.0.3 [M](~)5.1.6 {berkdb bzip2 debug doc elibc_uclibc file java lua minimal neon nls pcre perl python selinux sqlite threads}
     Installed versions:  4.4.6-r6(19:50:52 02/16/09)(nls perl python -doc -sqlite)
     Homepage:            http://rpm5.org/
     Description:         RPM Package Manager


When I stupidely try to rpm -i :
Code:

rebel aventail # rpm -i aventail-8.90.245-1.sl5.i386.rpm
error: Failed dependencies:
        /bin/sh is needed by aventail-8.90.245-1.sl5.i386
        java is needed by aventail-8.90.245-1.sl5.i386
        libc.so.6 is needed by aventail-8.90.245-1.sl5.i386
        libc.so.6(GLIBC_2.0) is needed by aventail-8.90.245-1.sl5.i386
        libc.so.6(GLIBC_2.1) is needed by aventail-8.90.245-1.sl5.i386
        libc.so.6(GLIBC_2.1.3) is needed by aventail-8.90.245-1.sl5.i386
        libc.so.6(GLIBC_2.2) is needed by aventail-8.90.245-1.sl5.i386
        libc.so.6(GLIBC_2.2.4) is needed by aventail-8.90.245-1.sl5.i386
        libc.so.6(GLIBC_2.3) is needed by aventail-8.90.245-1.sl5.i386
        libm.so.6 is needed by aventail-8.90.245-1.sl5.i386
        libpthread.so.0 is needed by aventail-8.90.245-1.sl5.i386
        libpthread.so.0(GLIBC_2.0) is needed by aventail-8.90.245-1.sl5.i386
        libpthread.so.0(GLIBC_2.1) is needed by aventail-8.90.245-1.sl5.i386
        libpthread.so.0(GLIBC_2.2) is needed by aventail-8.90.245-1.sl5.i386
        libpthread.so.0(GLIBC_2.3.2) is needed by aventail-8.90.245-1.sl5.i386
        openssl = 0.9.8b is needed by aventail-8.90.245-1.sl5.i386
        / is needed by aventail-8.90.245-1.sl5.i386
        /usr is needed by aventail-8.90.245-1.sl5.i386
        /usr/local is needed by aventail-8.90.245-1.sl5.i386
        /usr/share/applications is needed by aventail-8.90.245-1.sl5.i386


So, at least, we can see what are the dependencies ;-)
Code:

rebel aventail # eix -e openssl
[I] dev-libs/openssl
     Available versions:  0.9.8e-r3 (~)0.9.8e-r4 0.9.8f 0.9.8g-r2 0.9.8h-r1 (~)0.9.8i 0.9.8j {bindist emacs gmp kerberos sse2 test zlib}
     Installed versions:  0.9.8j(02:59:07 02/08/09)(sse2 zlib -bindist -gmp -kerberos -test)
     Homepage:            http://www.openssl.org/
     Description:         Toolkit for SSL v2/v3 and TLS v1
rebel aventail # eix -e glibc
[I] sys-libs/glibc
     Available versions:  (2.2)  [P]2.2.5-r10!s [P]2.3.2-r12!s [P]2.3.5-r3!s [P]2.3.6-r4!s [P]2.3.6-r5!s 2.4-r4!s 2.5-r2!s 2.5-r3!s 2.5-r4!s **2.5.1!s (~)2.6!s 2.6.1!s (~)2.7-r2!s (~)2.8_p20080602!s (~)2.8_p20080602-r1!s (~)2.9_p20081201!s (~)2.9_p20081201-r1!s (~)2.9_p20081201-r2!s
        {build crosscompile_opts_headers-only debug erandom gd glibc-compat20 glibc-omitfp hardened linuxthreads-tls multilib nls nptl nptlonly profile selinux userlocales vanilla}
     Installed versions:  2.9_p20081201-r2(2.2)!s(19:53:05 02/16/09)(nls -crosscompile_opts_headers-only -debug -gd -glibc-compat20 -glibc-omitfp -hardened -multilib -profile -selinux -vanilla)
     Homepage:            http://www.gnu.org/software/libc/libc.html
     Description:         GNU libc6 (also called glibc2) C library


I transform the rpm into a tar with rpm2targz package :
Code:

rebel ~ # eix app-arch/rpm2targz
[I] app-arch/rpm2targz
     Available versions:  9.0-r7 (~)9.0.0.0g (~)9.0.0.2g (~)9.0.0.3g {userland_GNU}
     Installed versions:  9.0.0.3g(01:44:59 02/08/09)(userland_GNU)
     Homepage:            http://www.slackware.com/config/packages.php
     Description:         Convert a .rpm file to a .tar.gz archive


And when I extract the tar file, I got these files :
Code:

rebel aventail # tree .                                                       
.                                                                             
|-- aventail-8.90.245-1.sl5.i386.rpm                                         
|-- aventail-8.90.245-1.sl5.i386.tar                                         
|-- lib                                                                       
|   |-- libcrypto.so.0.9.7 -> libcrypto.so.0.9.8b                             
|   `-- libssl.so.0.9.7 -> libssl.so.0.9.8b                                   
`-- usr
    |-- bin
    |   |-- startct -> /usr/local/Aventail/startct.sh
    |   |-- startctui -> /usr/local/Aventail/startctui.sh
    |   `-- stopct -> /usr/local/Aventail/stopct
    |-- local
    |   `-- Aventail
    |       |-- AvConnect
    |       |-- aventail-icon-32x32.gif
    |       |-- avpconf
    |       |-- cert.pem -> /etc/pki/tls/cert.pem
    |       |-- certs.tar.bz2
    |       |-- ctpid.sh
    |       |-- cttel.pl
    |       |-- help
    |       |   |-- connect_tunnel_help.html
    |       |   |-- ja_connect_tunnel_help.html
    |       |   `-- ko_connect_tunnel_help.html
    |       |-- man
    |       |   `-- ct.5
    |       |-- startct.sh
    |       |-- startctui.sh
    |       |-- stopct
    |       |-- uninstall.sh
    |       `-- xg-ui
    |           |-- aventail-icon.gif
    |           `-- xgswing.jar
    `-- share
        `-- applications
            `-- aventail.desktop

10 directories, 25 files


I made some links for the program to be faked about the real directories because I did not want to put all these files into my filesystem before trying

Code:

rebel aventail # ln -s /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.7
rebel aventail # ln -s /usr/lib/libssl.so.0.9.8 /usr/lib/libssl.so.0.9.7
rebel aventail # ln -s ~/Desktop/aventail/usr/local/Aventail/ /usr/local/Aventail


I check that kernel config is ok for the program to be able to create the tun0 interface :
Code:

rebel aventail # cd /usr/src/linux
rebel linux # make menuconfig

Device Drivers  --->
  Networking support  --->
    [M] Universal TUN/TAP device driver support

rebel aventail # modprobe tun
rebel aventail # lsmod
Module                  Size  Used by
tun                     9476  0
rebel aventail # dmesg | grep TUN
[ 4571.384933] tun: Universal TUN/TAP device driver, 1.6



I install the certificate store :
Code:

rebel aventail # mkdir -p /etc/pki/tls/cert.pem
rebel aventail # tar -xjf ~/Desktop/aventail/usr/local/Aventail/certs.tar.bz2 -C /etc/pki/tls/cert.pem


I check the parameters :
Code:

rebel aventail # usr/local/Aventail/startct.sh --help
Usage:                                               
    startct [options] [appliance]                   

     Options:
      --help                Show usage summary.
      --man                 Show man page.     
      --version             Show the version of the installed Aventail Connect.
      -y                    Accept appliance certificate even if verification fails.
      -u <name>             Username.
      -p <pw>               Password. To prompt just skip this option,
                            or pipe in the password to stdin
      -l <group>            Login group.
      -d                    Log extra debugging information (in /var/log/AvConnect.log)
      --autologon           Automatically connect Aventail Connect and run in background.
                            To stop Aventail connect use command 'stopct'.
      --use-proxy           Use proxy to Connect, On Linux if proxy is not configured,
                            this option triggers proxy configuration.
      --proxy-user          Username for proxy login.
      --proxy-pass          Password for proxy login.
      --proxy-config        (Linux Only)Configure proxy for Aventail Connect,
                            this also implies use proxy for connecting.
     E.g.
      Start Aventail Connect
      $ startct -y -r<realm> -u<username> -p<password> <app-ip/host>

      Start Aventail Connect in debug mode
      $ startct -y -r<realm> -u<username> -p<password> -d <app-ip/host>

      Start Aventail Connect to run in background
      $ startct -y -r<realm> -u<username> -p<password> --autologon <app-ip/host>

      Start Aventail Connect to run in background with proxy
      $ startct -y -r<"my Realm"> -u<username> -p<password> --autologon
        --use-proxy --proxy-user=<proxyuser> --proxy-pass=<proxypassword> <app-ip/host>

      Stop Aventail Connect when running in background
      $ stopct


And when I launch, ...
Code:

rebel aventail # usr/local/Aventail/startct.sh -y -laccess1 -umyuser remote.myserver.com
--------------------------------------------
               AVENTAIL CONNECT
--------------------------------------------
Connecting...
Error: Connection Failed.


Let's check the logs :
Code:

rebel aventail # cat /var/log/AvConnect.log

------------------------------------ AVENTAIL CONNECT (8.90.245) ------------------------------------

WARN  2/16/2009 21:39:23 - XGClientConfig::LoadConnectConfig() fopen</root/.aventail/.avc.conf> error<No such file or directory>
WARN  2/16/2009 21:39:23 - XGSSL::SSLConnect() error<5> syserror<Connection reset by peer> m_rTout<30>
ERROR 2/16/2009 21:39:23 - XGSSL::Connect() DoHandShake Failed!!!
ERROR 2/16/2009 21:39:33 - XGIO::Connect() socket connect error<Operation now in progress>
WARN  2/16/2009 21:39:33 - VPN Down...


So, a little more debug messages (launched with the -d option)
Code:

rebel aventail # cat /var/log/AvConnect.log

------------------------------------ AVENTAIL CONNECT (8.90.245) ------------------------------------

DEBUG 2/16/2009 21:45:19 - XGTunnel::SetInstallPath() m_installPath</usr/local/Aventail>
DEBUG 2/16/2009 21:45:19 - XGTunnel::CreateIntFile() Creating XG_DIR                   
DEBUG 2/16/2009 21:45:19 - XGTunnel::CreateIntFile() Deleting </var/run/Aventail/AvConnect.pid> file error<No such file or directory>
DEBUG 2/16/2009 21:45:19 - XGTunnel::CreateIntFile()  XGTunnel intVal<2568>                                                         
DEBUG 2/16/2009 21:45:19 - XGTunnel::CreateIntFile()  </var/run/Aventail/AvConnect.pid> file created                                 
DEBUG 2/16/2009 21:45:19 - dns_manip::CleanUP() checking RC                                                                         
DEBUG 2/16/2009 21:45:19 - dns_manip::CleanUP() checking PXY                                                                         
DEBUG 2/16/2009 21:45:19 - dns_manip::CleanUP() fopen</root/.aventail/.User.pac> fopen</root/.aventail/.AvConnect.pac> error<No such file or directory>                                                                                                                                 
INFO  2/16/2009 21:45:19 - XGTunnel::StartTunnel() Starting XGTunnel...                                                                     
DEBUG 2/16/2009 21:45:19 - XGSSL::Initialize() Intializing SSL.                                                                             
DEBUG 2/16/2009 21:45:19 - XGSSL::XGCRYPTO_THRD_INIT() count<39>                                                                           
DEBUG 2/16/2009 21:45:19 - InitializeSSLVerifyLocations: Using /usr/local/Aventail/cert.pem for root certificates                           

INFO  2/16/2009 21:45:19 - XGSSL::Initialize() SSL Intialization done.
DEBUG 2/16/2009 21:45:19 - XGClientConfig::SInitialize() um<0> m<0>   
DEBUG 2/16/2009 21:45:19 - XGThread::XGThread() name<XG-EVENT-THREAD>
DEBUG 2/16/2009 21:45:19 - XGWait::XGWait() sec<30> nSec<0>           
DEBUG 2/16/2009 21:45:19 - XGEventManager::XGEventManager()           
DEBUG 2/16/2009 21:45:19 - XGEventManager::Start() m_enabled<1>       
DEBUG 2/16/2009 21:45:19 - XGThread::RunWrapper() name<XG-EVENT-THREAD> m_thisThread<B7D99B90>
DEBUG 2/16/2009 21:45:19 - XGEventManager::Start() EventManager Started                       
DEBUG 2/16/2009 21:45:19 - XGTunnel::WaitForClient() Starting ...                             
DEBUG 2/16/2009 21:45:19 - XGThread::RunWrapper() name<XG-EVENT-THREAD> Invoking m_run method...
DEBUG 2/16/2009 21:45:19 - XGThread::RunWrapper pthread_setcancelstate() rv<0> old_state<0>     
DEBUG 2/16/2009 21:45:19 - XGThread::RunWrapper() pthread_setcanceltype() rv<0> old_type<0>     
DEBUG 2/16/2009 21:45:19 - XGEventManager::EventProcStart() eventMgr<810D840>                   
DEBUG 2/16/2009 21:45:19 - xgkclient::AddNotify() done s_rcModTime<4993DD13>                   
DEBUG 2/16/2009 21:45:19 - xgkclient::MonitorRC() signal setup done.                           
DEBUG 2/16/2009 21:45:19 - XGEventManager::EventProcStart() registered OS events               
DEBUG 2/16/2009 21:45:19 - XGWait::Wait() xgThrd<XG-EVENT-THREAD> size<1>                       
DEBUG 2/16/2009 21:45:19 - XGThread::SetWait() m_waiting<0> wait<1> name<XG-EVENT-THREAD>       
DEBUG 2/16/2009 21:45:19 - XGTunnel::WaitForClient() m_comSock<6>                               
DEBUG 2/16/2009 21:45:19 - XGTunnel::CreateIntFile() Deleting </var/run/Aventail/AvConnect.sock> file error<No such file or directory>
DEBUG 2/16/2009 21:45:19 - XGTunnel::CreateIntFile()  XGTunnel intVal<52765>                                                         
DEBUG 2/16/2009 21:45:19 - XGTunnel::CreateIntFile()  </var/run/Aventail/AvConnect.sock> file created                                 
DEBUG 2/16/2009 21:45:19 - XGTunnel::WaitForClient() on [127.0.0.1:52765]                                                             
DEBUG 2/16/2009 21:45:19 - XGTunnel::DoMsgPoll() npipes<2> wait<-1> client<0>                                                         
DEBUG 2/16/2009 21:45:19 - XGTunnel::DoMsgPoll() got poll...                                                                         
DEBUG 2/16/2009 21:45:19 - XGTunnel::HandleClient() clntSock<10>                                                                     
DEBUG 2/16/2009 21:45:19 - XGEventListener::XGEventListener()                                                                         
DEBUG 2/16/2009 21:45:19 - XGThread::XGThread() name<SESSION-MAIN>                                                                   
DEBUG 2/16/2009 21:45:19 - XGThread::XGThread() name<SESSION-READ>                                                                   
DEBUG 2/16/2009 21:45:19 - XGThread::XGThread() name<SESSION-WRITE>                                                                   
DEBUG 2/16/2009 21:45:19 - XGClientConfig::XGClientConfig()                                                                           
DEBUG 2/16/2009 21:45:19 - XGRouter::XGRouter()                                                                                       
DEBUG 2/16/2009 21:45:19 - XGClient::XGClient() m_clntFd<10>                                                                         
DEBUG 2/16/2009 21:45:19 - XGSSL::XGSSL()                                                                                             
DEBUG 2/16/2009 21:45:19 - XGWait::XGWait() sec<0> nSec<0>                                                                           
DEBUG 2/16/2009 21:45:19 - XGProtocol::XGProtocol()                                                                                   
DEBUG 2/16/2009 21:45:19 - XGTunnel::AddClient() client<8CC1708> clients<0>                                                           
DEBUG 2/16/2009 21:45:19 - XGClient::Start() m_prtcl<8CC4608>                                                                         
DEBUG 2/16/2009 21:45:19 - XGThread::RunWrapper() name<SESSION-MAIN> m_thisThread<B7598B90>                                           
DEBUG 2/16/2009 21:45:19 - XGClient::Start() Session Started                                                                         
DEBUG 2/16/2009 21:45:19 - XGThread::RunWrapper() name<SESSION-MAIN> Invoking m_run method...                                         
DEBUG 2/16/2009 21:45:19 - XGThread::RunWrapper pthread_setcancelstate() rv<0> old_state<0>                                           
DEBUG 2/16/2009 21:45:19 - XGThread::RunWrapper() pthread_setcanceltype() rv<0> old_type<0>                                           
DEBUG 2/16/2009 21:45:19 - XGClient::SessionStart() client <8CC1708>                                                                 
DEBUG 2/16/2009 21:45:19 - XGClient::DoLogin()                                                                                       
DEBUG 2/16/2009 21:45:19 - XGTunnel::DoMsgPoll() clntSock<10> handled                                                                 
DEBUG 2/16/2009 21:45:19 - XGTunnel::WaitForClient() on [127.0.0.1:52765]                                                             
DEBUG 2/16/2009 21:45:19 - XGTunnel::DoMsgPoll() npipes<2> wait<-1> client<0>                                                         
DEBUG 2/16/2009 21:45:19 - XGPrompt::"DoLogin()" AV_WTR_TITL_LN rv<46>                                                               
WARN  2/16/2009 21:45:19 - XGClientConfig::LoadConnectConfig() fopen</root/.aventail/.avc.conf> error<No such file or directory>     
DEBUG 2/16/2009 21:45:19 - XGClientConfig::GetRemoteHost m_RemoteHost<>                                                               
DEBUG 2/16/2009 21:45:19 - XGClientConfig::SetRemoteHost remoteHost<remote.myserver.com>                                     
DEBUG 2/16/2009 21:45:19 - XGClientConfig::SetRemoteHost m_RemoteIp<123.123.123.123>                                                     
DEBUG 2/16/2009 21:45:19 - XGClientConfig::GetRemoteIp m_RemoteIp<123.123.123.123> m_RemoteHost<remote.myserver.com>             
DEBUG 2/16/2009 21:45:19 - XGClientConfig::IsRemoteReachable timeoutSec<1> useProxy<0> dc<0> host<123.123.123.123> port<443>             
DEBUG 2/16/2009 21:45:19 - XGIO::IsReachable() host<123.123.123.123> port<443> timeout<1000>                                             
DEBUG 2/16/2009 21:45:19 - XGIO::IsReachable() connect error<Operation now in progress>                                               
DEBUG 2/16/2009 21:45:19 - XGIO::IsReachable() host<123.123.123.123> reach<1>                                                             
DEBUG 2/16/2009 21:45:19 - XGClientConfig::SetRemotePort remotePort<443>                                                             
DEBUG 2/16/2009 21:45:19 - XGPrompt::"DoLogin()" AV_WTR_MSG_NLN rv<15>                                                               
DEBUG 2/16/2009 21:45:19 - XGClientConfig::GetRemotePort m_RemotePort<443>                                                           
DEBUG 2/16/2009 21:45:19 - XGClientConfig::GetRemoteHost m_RemoteHost<remote.myserver.com>                                   
DEBUG 2/16/2009 21:45:19 - XGSSL::Connect() m_host<remote.myserver.com> m_port<443> m_connected<0>                           
DEBUG 2/16/2009 21:45:19 - XGClientConfig::GetRemoteHost m_RemoteHost<remote.myserver.com>                                   
DEBUG 2/16/2009 21:45:19 - XGClientConfig::GetRemotePort m_RemotePort<443>                                                           
DEBUG 2/16/2009 21:45:19 - XGClientConfig::GetRemoteIp m_RemoteIp<123.123.123.123> m_RemoteHost<remote.myserver.com>             
DEBUG 2/16/2009 21:45:19 - XGIO::Connect() host<123.123.123.123> port<443> ip_out<B7597C7C>                                               
DEBUG 2/16/2009 21:45:19 - XGIO::Connect() Connecting to ip<123.123.123.123> port<443>                                                   
DEBUG 2/16/2009 21:45:19 - XGIO::Connect() Connected to <123.123.123.123:443>                                                             
DEBUG 2/16/2009 21:45:19 - XGClientConfig::SetRemoteIp rIp<123.123.123.123>                                                               
DEBUG 2/16/2009 21:45:19 - XGSSL::Connect() Connect rv<11>                                                                           
DEBUG 2/16/2009 21:45:19 - XGSSL::SSLConnect() SSL_version<301>                                                                       
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK()                    write_p<1> version<301> content_type<22> arg<0>               
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() XXXXXX AVAILABLE SSL_CIPHERS XXXXXX                                             
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 1. DHE-RSA-AES256-SHA                                                 
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 2. DHE-DSS-AES256-SHA                                                 
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 3. AES256-SHA                                                         
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 4. DHE-RSA-CAMELLIA256-SHA                                           
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 5. DHE-DSS-CAMELLIA256-SHA                                           
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 6. CAMELLIA256-SHA                                                   
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 7. EDH-RSA-DES-CBC3-SHA                                               
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 8. EDH-DSS-DES-CBC3-SHA                                               
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 9. DES-CBC3-SHA                                                       
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 10. DHE-RSA-AES128-SHA                                               
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 11. DHE-DSS-AES128-SHA                                               
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 12. AES128-SHA                                                       
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 13. DHE-RSA-CAMELLIA128-SHA                                           
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 14. DHE-DSS-CAMELLIA128-SHA                                           
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 15. CAMELLIA128-SHA                                                   
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 16. IDEA-CBC-SHA                                                     
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 17. RC4-SHA                                                           
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 18. RC4-MD5                                                           
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 19. EDH-RSA-DES-CBC-SHA                                               
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 20. EDH-DSS-DES-CBC-SHA                                               
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 21. DES-CBC-SHA                                                       
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 22. EXP-EDH-RSA-DES-CBC-SHA                                           
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 23. EXP-EDH-DSS-DES-CBC-SHA                                           
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 24. EXP-DES-CBC-SHA                                                   
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 25. EXP-RC2-CBC-MD5                                                   
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() SSL_CIPHER 26. EXP-RC4-MD5                                                       
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() ioLen<107>                                                                       
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() BIO_read ioLen<107>                                                             
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() using NG-SIG hmLen<98> hLen<102>                                                 
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() NG-SIG updated hmLen<99> hLen<103>                                               
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() updated size<108>                                                               
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() Write rv<108>                                                                   
DEBUG 2/16/2009 21:45:19 - XGSSL::SSL_MSG_CALLBACK() HELLO DONE                                                                       
WARN  2/16/2009 21:45:19 - XGSSL::SSLConnect() error<5> syserror<Connection reset by peer> m_rTout<30>                               
DEBUG 2/16/2009 21:45:19 - XGSSL::DoHandShake() SSLConnect Failed                                                                     
ERROR 2/16/2009 21:45:19 - XGSSL::Connect() DoHandShake Failed!!!                                                                     
DEBUG 2/16/2009 21:45:19 - XGClientConfig::GetRemotePort m_RemotePort<443>                                                           
DEBUG 2/16/2009 21:45:19 - XGClientConfig::GetRemoteHost m_RemoteHost<remote.myserver.com>                                   
DEBUG 2/16/2009 21:45:19 - XGSSL::CheckConnectivity() m_host<remote.myserver.com> m_port<443> checkRedir<1>                 
DEBUG 2/16/2009 21:45:19 - XGClientConfig::GetRemoteIp m_RemoteIp<123.123.123.123> m_RemoteHost<remote.myserver.com>             
DEBUG 2/16/2009 21:45:19 - XGIO::IsReachable() host<123.123.123.123> port<443> timeout<4000>                                             
DEBUG 2/16/2009 21:45:19 - XGIO::IsReachable() connect error<Operation now in progress>                                               
DEBUG 2/16/2009 21:45:19 - XGIO::IsReachable() host<123.123.123.123> reach<1>                                                             
DEBUG 2/16/2009 21:45:19 - XGClientConfig::GetRemoteIp m_RemoteIp<123.123.123.123> m_RemoteHost<remote.myserver.com>             
DEBUG 2/16/2009 21:45:19 - XGDownload::Is3012() durl<http://123.123.123.123/>                                                             
DEBUG 2/16/2009 21:45:19 - XGDownload::Is3012() urlHost<123.123.123.123> urlPort<80> port<80>                                             
DEBUG 2/16/2009 21:45:19 - XGIO::Connect() host<123.123.123.123> port<80> ip_out<0>                                                       
DEBUG 2/16/2009 21:45:19 - XGIO::Connect() Connecting to ip<123.123.123.123> port<80>                                                     
ERROR 2/16/2009 21:45:29 - XGIO::Connect() socket connect error<Operation now in progress>                                           
DEBUG 2/16/2009 21:45:29 - XGSSL::CheckConnectivity() connected redir<0>                                                             
DEBUG 2/16/2009 21:45:29 - XGPrompt::"DoLogin()" AV_WTR_MSG_NLN rv<27>                                                               
DEBUG 2/16/2009 21:45:29 - XGClient::DoLogin() m_ssl Connect failed                                                                   
DEBUG 2/16/2009 21:45:29 - XGClient::SessionStart() Exited client <8CC1708> logdIn<0>                                                 
DEBUG 2/16/2009 21:45:29 - XGThread::RunWrapper() name<SESSION-MAIN> m_run method m_runRV<0>                                         
DEBUG 2/16/2009 21:45:29 - XGClient::SessionEnd() client <8CC1708>                                                                   
DEBUG 2/16/2009 21:45:29 - XGEventManager::RemoveEventListener() listener<8CC1708>                                                   
DEBUG 2/16/2009 21:45:29 - XGEventManager::RemoveEventListener() listener<8CC1708> Not Found!!!                                       
DEBUG 2/16/2009 21:45:29 - XGClient::StopInternal() m_started<1> m_ClientActive<1>                                                   
DEBUG 2/16/2009 21:45:29 - XGProtocol::WakeUp()                                                                                       
DEBUG 2/16/2009 21:45:29 - XGThread::IsRunning() m_running<0> name<SESSION-WRITE>                                                     
DEBUG 2/16/2009 21:45:29 - XGThread::IsRunning() m_running<0> name<SESSION-READ>                                                     
DEBUG 2/16/2009 21:45:29 - XGClient::StopInternal() m_msgRFd<-1>                                                                     
DEBUG 2/16/2009 21:45:29 - XGClient::StopInternal() m_msgWFd<-1>                                                                     
DEBUG 2/16/2009 21:45:29 - XGClientConfig::CloseTun m_tunFd<-1>                                                                       
DEBUG 2/16/2009 21:45:29 - XGClient::WriteClientMsg() client<8CC1708>, msg<>                                                         
DEBUG 2/16/2009 21:45:29 - XGPrompt::"XGClient::WriteClientMsg()" AV_WTR_MSG_NLN rv<2>                                               
DEBUG 2/16/2009 21:45:29 - XGPrompt::"XGClient::WriteClientMsg()" AV_WTR_MSG_NLN rv<2>                                               
DEBUG 2/16/2009 21:45:29 - XGPrompt::"XGClient::WriteClientMsg()" AV_WTR_MSG_NLN rv<2>                                               
DEBUG 2/16/2009 21:45:29 - XGSSL::Disconnect() m_connected<0>                                                                         
DEBUG 2/16/2009 21:45:29 - XGClient::StopInternal() m_clntFd<10>                                                                     
DEBUG 2/16/2009 21:45:29 - XGClient::StopInternal() Done                                                                             
DEBUG 2/16/2009 21:45:29 - XGTunnel::SignalDeath() clients<1> m_acceptCl<1>                                                           
DEBUG 2/16/2009 21:45:29 - XGTunnel::SignalClientHandler() m_comMsgWrite<9> msg<CLIENT_DEAD>                                         
DEBUG 2/16/2009 21:45:29 - XGTunnel::SignalClientHandler() rv<11>                                                                     
DEBUG 2/16/2009 21:45:29 - XGTunnel::DoMsgPoll() got poll...                                                                         
DEBUG 2/16/2009 21:45:29 - XGTunnel::DoMsgPoll() got COM-MSG rv<11> buff<CLIENT_DEAD>                                                 
DEBUG 2/16/2009 21:45:29 - XGTunnel::DoMsgPoll() persistTime <300>                                                                   
DEBUG 2/16/2009 21:45:29 - XGTunnel::FreeInActive() clients<1>                                                                       
DEBUG 2/16/2009 21:45:29 - XGTunnel::FreeInActive() client<8CC1708> is InActive                                                       
DEBUG 2/16/2009 21:45:29 - XGClient::CloseClientSock() m_clntFd<10>                                                                   
DEBUG 2/16/2009 21:45:29 - XGClient::~XGClient() m_clntFd<-1>                                                                         
DEBUG 2/16/2009 21:45:29 - XGProtocol::~XGProtocol()                                                                                 
DEBUG 2/16/2009 21:45:29 - XGWait::~XGWait() m_inited<1>                                                                             
DEBUG 2/16/2009 21:45:29 - XGSSL::~XGSSL()                                                                                           
DEBUG 2/16/2009 21:45:29 - XGSSL::~XGSSL freeing m_ssl                                                                               
DEBUG 2/16/2009 21:45:29 - XGClientConfig::~XGClientConfig()                                                                         
DEBUG 2/16/2009 21:45:29 - XGClientConfig::CleanConfig                                                                               
DEBUG 2/16/2009 21:45:29 - XGClientConfig::CleanConfig()                                                                             
        m_hostCache             size<1>                                                                                               
        m_ipCache               size<0>                                                                                               
        m_routeCache    size<0>                                                                                                       
DEBUG 2/16/2009 21:45:29 - XGRouter::~XGRouter()                                                                                     
DEBUG 2/16/2009 21:45:29 - XGRouter::FlushRoutes routes in-size<0> ex-size<0> bk-size<0>                                             
DEBUG 2/16/2009 21:45:29 - XGThread::~XGThread() name<SESSION-WRITE>                                                                 
DEBUG 2/16/2009 21:45:29 - XGThread::~XGThread() name<SESSION-READ>                                                                   
DEBUG 2/16/2009 21:45:29 - XGThread::~XGThread() name<SESSION-MAIN>                                                                   
DEBUG 2/16/2009 21:45:29 - XGEventListener::~XGEventListener()                                                                       
DEBUG 2/16/2009 21:45:29 - XGTunnel::DoMsgPoll() No tunnels Active Going Down!!!
DEBUG 2/16/2009 21:45:29 - XGTunnel::WaitForClient() Done!!!
DEBUG 2/16/2009 21:45:29 - XGTunnel::StartTunnel() WaitForClient wRv<1> m_signaled<0>
DEBUG 2/16/2009 21:45:29 - XGEventManager::Shutdown() m_enabled<1> m_active<1>
DEBUG 2/16/2009 21:45:29 - XGThread::IsRunning() m_running<1> name<XG-EVENT-THREAD>
DEBUG 2/16/2009 21:45:29 - XGThread::IsCurrentThread() self<B7D9A6C0> m_thisThread<B7D99B90> name<XG-EVENT-THREAD>
DEBUG 2/16/2009 21:45:29 - XGEventManager::DispatchEvent() m_active<1> Event<DIE> data<0> fpn<0>
DEBUG 2/16/2009 21:45:29 - XGEventManager::Shutdown() Waiting for eventMgr<810D840>
DEBUG 2/16/2009 21:45:29 - XGThread::SetWait() m_waiting<1> wait<0> name<XG-EVENT-THREAD>
DEBUG 2/16/2009 21:45:29 - XGEventManager::EventProcStart() got event<8CC72C0>
DEBUG 2/16/2009 21:45:29 - XGEventManager::EventProcStart() recieved DIE Event
DEBUG 2/16/2009 21:45:29 - xgkclient::UnMonitorRC() done.
DEBUG 2/16/2009 21:45:29 - XGThread::RunWrapper() name<XG-EVENT-THREAD> m_run method m_runRV<0>
DEBUG 2/16/2009 21:45:29 - XGEventManager::EventProcEnd() eventMgr<810D840> size<0>
DEBUG 2/16/2009 21:45:29 - XGEventManager::RemoveAllListener() list_size<0>
DEBUG 2/16/2009 21:45:29 - XGEventManager::Shutdown() m_active<0>
DEBUG 2/16/2009 21:45:29 - XGEventManager::Shutdown() joining EventMgr
DEBUG 2/16/2009 21:45:29 - XGEventManager::Shutdown() EventMgr wait rv<0>
DEBUG 2/16/2009 21:45:29 - XGTunnel::FreeAllClients() clients<0>
DEBUG 2/16/2009 21:45:29 - XGSSL::UnInitialize() UnIntializing SSL.
DEBUG 2/16/2009 21:45:29 - XGSSL::UnInitialize() s_cbParamList count<0>
DEBUG 2/16/2009 21:45:29 - XGSSL::XGCRYPTO_THRD_UNINIT() count<39>
INFO  2/16/2009 21:45:29 - XGSSL::UnInitialize() SSL UnIntialization done.
DEBUG 2/16/2009 21:45:29 - XGClientConfig::SUnInitialize() um<23> m<5>
DEBUG 2/16/2009 21:45:29 - dns_manip::CleanUP() checking RC
DEBUG 2/16/2009 21:45:29 - dns_manip::CleanUP() checking PXY
DEBUG 2/16/2009 21:45:29 - dns_manip::CleanUP() fopen</root/.aventail/.User.pac> fopen</root/.aventail/.AvConnect.pac> error<No such file or directory>
DEBUG 2/16/2009 21:45:29 - XGEventManager::~XGEventManager() size<0>
DEBUG 2/16/2009 21:45:29 - XGWait::~XGWait() m_inited<1>
DEBUG 2/16/2009 21:45:29 - XGThread::~XGThread() name<XG-EVENT-THREAD>
WARN  2/16/2009 21:45:29 - VPN Down...


(server name and ip replaced :roll: )

I am behind a modem/router and aventail vpn client is working with windows, browser version of the aventail vpn client is working under linux in firefox, so I am sure that my router settings are not blocking.

One friend of mine installed the rpm on a corporate-pre-installed scientific linux (redhat) and it worked immediately, so I am sure that the files themselves are ok.

Any idea ? Kernel config missing ? packages missing ?

Any help would be GREATLY appreciated ;-)
_________________
Tin, the gentoobie
Back to top
View user's profile Send private message
Tin
Guru
Guru


Joined: 22 Dec 2005
Posts: 305
Location: Namur, Belgium

PostPosted: Fri Feb 27, 2009 4:51 pm    Post subject: Reply with quote

It works.

I used a newer version of aventail (v10 instead of v8 ) and it seems that it matches better the settings of the server (which I don't know unfortunately)

So, the adventure is finished for me with a happy end.
_________________
Tin, the gentoobie
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Fri Sep 17, 2010 8:49 pm    Post subject: Reply with quote

Hi,

I know this thread is a bit old but I'll try anyway.

I've been searching for downloads for Aventail connect 10 (using 10.01.92 under MS Windows) forLinux but can't get anything.

Where did you find the package?

Thank you
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
Tin
Guru
Guru


Joined: 22 Dec 2005
Posts: 305
Location: Namur, Belgium

PostPosted: Sun Sep 19, 2010 7:53 pm    Post subject: Reply with quote

Hello.

I received it from one of my friends.
I did not succeed to find it anywhere on the web.
I uploaded my local copy, just untar it and it should work : Mod Edit: link removed - tomk
I remember I got some errors because of missing librairies, but I just had to create links.
Please post your error messages if you got some that you cannot solve and I will try to help you.
_________________
Tin, the gentoobie
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Mon Sep 20, 2010 8:17 am    Post subject: Reply with quote

Moved from Networking & Security to Unsupported Software as it's not in the Portage tree.

Tin wrote:
I uploaded my local copy, just untar it and it should work : Mod Edit: link removed - tomk

I have removed the link, I'm going to assume you don't have permission to redistribute this program unless you can show me a license that shows that you can.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Mon Sep 20, 2010 8:24 am    Post subject: Reply with quote

Thanks for the post anyway.

Do you know if openvpn can work with Avential VPNs?
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
Tin
Guru
Guru


Joined: 22 Dec 2005
Posts: 305
Location: Namur, Belgium

PostPosted: Mon Sep 20, 2010 9:01 am    Post subject: Reply with quote

mamac wrote:
Thanks for the post anyway.

Do you know if openvpn can work with Avential VPNs?


Sorry for the upload, I did not though about licensing and so on, indeed.
I don't know if I can or not distribute, so I guess I cannot.

I searched to use another client, but never succeeded, and as I am NOT at all good with these network apps (vpn's), I really cannot help.
Perhaps it is possible actually, but I really don't know (and I did not succeed)
_________________
Tin, the gentoobie
Back to top
View user's profile Send private message
slmingol
n00b
n00b


Joined: 06 Jan 2011
Posts: 1

PostPosted: Thu Jan 06, 2011 6:02 am    Post subject: Reply with quote

We use aventail at work, you typically will connect to the server like this:

Code:
startct -u <username> -rRadius <server.mycorp.com>


If you take the name of that server, "server.mycorp.com" and put it into a web browser, you'll be taken to a page like this:
screenshot of Aventail landing page

From this page you can click the "Install Software" link which will take you to another page where you can download the Aventail client software for different OSes:
screenshot of Aventail Client Software Download Page
Back to top
View user's profile Send private message
Tin
Guru
Guru


Joined: 22 Dec 2005
Posts: 305
Location: Namur, Belgium

PostPosted: Thu Jan 06, 2011 9:40 am    Post subject: Reply with quote

slmingol wrote:
We use aventail at work, you typically will connect to the server like this:

Code:
startct -u <username> -rRadius <server.mycorp.com>


If you take the name of that server, "server.mycorp.com" and put it into a web browser, you'll be taken to a page like this:
screenshot of Aventail landing page

From this page you can click the "Install Software" link which will take you to another page where you can download the Aventail client software for different OSes:
screenshot of Aventail Client Software Download Page


Thank you for this valuable information.
In the meanwhile, I successfully found an Aventail rpm for redhat, extract it and simply run it on gentoo/funtoo.
Anyway, I tried you trick, but when I put the url of my gateway in a browser, I got a page where I can log in (and if I do it, I am logged via a web portal).
What a pity, because it was a VERY good idea from you !
_________________
Tin, the gentoobie
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Thu Jan 06, 2011 9:55 am    Post subject: Reply with quote

I can log to our vpn webpage but I can't find any link to download, they probably disabled this functionnality.
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
Tin
Guru
Guru


Joined: 22 Dec 2005
Posts: 305
Location: Namur, Belgium

PostPosted: Thu Jan 06, 2011 10:02 am    Post subject: Reply with quote

OH you are right ! I did not catch I had to connect to get the client.
Indeed, I got it, GREAT !
Thank you VERY much !
_________________
Tin, the gentoobie
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum