Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: vpnc: devel

vpnc Disconnecting

 

 

vpnc devel RSS feed   Index | Next | Previous | View Threaded


richip at richip

Jun 15, 2009, 10:04 PM

Post #1 of 5 (1748 views)
Permalink
vpnc Disconnecting

Hi,

I use vpnc and currently every feature works for me. My only problem is
that the connection tends to go away intermittently, usually after a few
minutes. When I connect with the Cisco client for Windows, I remain
connected indefinitely (at least I've not been disconnected yet without
my prompting for it).

Any ideas on what's wrong or how to go about troubleshooting this?
--

Richi

_______________________________________________
vpnc-devel mailing list
vpnc-devel [at] unix-ag
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/


cucombre at gmail

Jun 16, 2009, 12:31 AM

Post #2 of 5 (1659 views)
Permalink
Re: vpnc Disconnecting [In reply to]

I have similar situation. I get disconnected from remote VPN all the time,
and there's nothing wrong at my end from what I can tell, because clients other
than VPNC (including Cisco's own software) also experience similar disconnections
in this environment.

I wrote the following Shell script which I start in background, which
re-spawns VPNC upon disconnection. It's for Linux, but should work
with minor modifications under Cygwin as well:

#!/bin/sh
restart_vpn() {
date >> /var/log/vpnc.log
/usr/local/sbin/vpnc >> /var/log/vpnc.log
sleep 10
}
while true; do
pid=/var/run/vpnc/pid
PID="$(cat "$pid" 2> /dev/null)"
if [ -z "$PID" ]; then
restart_vpn
continue
fi
if ! kill -0 "$PID" > /dev/null 2>&1; then
restart_vpn
continue
fi
sleep 10
done



> Hi,

> I use vpnc and currently every feature works for me. My only problem is
> that the connection tends to go away intermittently, usually after a few
> minutes. When I connect with the Cisco client for Windows, I remain
> connected indefinitely (at least I've not been disconnected yet without
> my prompting for it).

> Any ideas on what's wrong or how to go about troubleshooting this?
> --

> Richi

_______________________________________________
vpnc-devel mailing list
vpnc-devel [at] unix-ag
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/


felipe.contreras at gmail

Jun 21, 2009, 2:14 AM

Post #3 of 5 (1627 views)
Permalink
Re: vpnc Disconnecting [In reply to]

On Tue, Jun 16, 2009 at 8:04 AM, Richi Plana<richip [at] richip> wrote:
> Hi,
>
> I use vpnc and currently every feature works for me. My only problem is
> that the connection tends to go away intermittently, usually after a few
> minutes. When I connect with the Cisco client for Windows, I remain
> connected indefinitely (at least I've not been disconnected yet without
> my prompting for it).
>
> Any ideas on what's wrong or how to go about troubleshooting this?

I also have this problem... it's very annoying.

--
Felipe Contreras
_______________________________________________
vpnc-devel mailing list
vpnc-devel [at] unix-ag
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/


jean-pierre at cartal

Jun 21, 2009, 9:21 AM

Post #4 of 5 (1641 views)
Permalink
Re: vpnc Disconnecting [In reply to]

Le 21/06/2009 11:14, Felipe Contreras a écrit :
> On Tue, Jun 16, 2009 at 8:04 AM, Richi Plana<richip [at] richip> wrote:
>
>> Hi,
>>
>> I use vpnc and currently every feature works for me. My only problem is
>> that the connection tends to go away intermittently, usually after a few
>> minutes. When I connect with the Cisco client for Windows, I remain
>> connected indefinitely (at least I've not been disconnected yet without
>> my prompting for it).
>>
>> Any ideas on what's wrong or how to go about troubleshooting this?
>>
>
> I also have this problem... it's very annoying.
>
>
I also have this problem, every 1 hour. As far as I understand there's a
problem with key regeneration that is happening every N minutes
depending on concentrator configuration, in my case N=60...
Attachments: jean-pierre.vcf (0.27 KB)


richip at richip

Jun 21, 2009, 10:49 PM

Post #5 of 5 (1622 views)
Permalink
Re: vpnc Disconnecting [In reply to]

That could be it. Mine seems to be N=10. I'll time it next time to see
if it happens at regular intervals. If it does, then it's not
intermittent and would go a long way to helping me make sense out of
this.

Even if it has something to do with "key regeneration", is there a fix?
--

Richard Plana


On Sun, 2009-06-21 at 18:21 +0200, Jean-pierre Cartal wrote:
> Le 21/06/2009 11:14, Felipe Contreras a écrit :
> > On Tue, Jun 16, 2009 at 8:04 AM, Richi Plana<richip [at] richip> wrote:
> >
> > > Hi,
> > >
> > > I use vpnc and currently every feature works for me. My only problem is
> > > that the connection tends to go away intermittently, usually after a few
> > > minutes. When I connect with the Cisco client for Windows, I remain
> > > connected indefinitely (at least I've not been disconnected yet without
> > > my prompting for it).
> > >
> > > Any ideas on what's wrong or how to go about troubleshooting this?
> > >
> >
> > I also have this problem... it's very annoying.
> >
> >
> I also have this problem, every 1 hour. As far as I understand there's
> a problem with key regeneration that is happening every N minutes
> depending on concentrator configuration, in my case N=60...
> _______________________________________________
> vpnc-devel mailing list
> vpnc-devel [at] unix-ag
> https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
> http://www.unix-ag.uni-kl.de/~massar/vpnc/

_______________________________________________
vpnc-devel mailing list
vpnc-devel [at] unix-ag
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/

vpnc devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.