Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90693 - cisco-vpnclient-3des-4.6.02.0030 works for about 30 seconds and then the connection doesn't communicate anymore
Summary: cisco-vpnclient-3des-4.6.02.0030 works for about 30 seconds and then the conn...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-28 02:44 UTC by Jukka Palko
Modified: 2005-06-29 22:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jukka Palko 2005-04-28 02:44:08 UTC
Emerging works perfectly, but when utilising the vpnclient, I get the connection nicely, but after about 30 seconds of connectivity, the connection dies away.

I have used the same version of vpnclient successfully on fc3, but somehow I can't get this working with gentoo. On the positive side, this version of the client functions on Intel e1000 ethernet with kernels newer than 2.6.9.

Could this be a USE flag problem or should I follow the or is there some other flags that would make this work better?

Reproducible: Always
Steps to Reproduce:
1. open vpn connection
2. wait 30 seconds
3. vpn connection drops

Actual Results:  
Connection dies away...

Expected Results:  
Keep the connection going...

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11.7 i686)
=================================================================
System uname: 2.6.11.7 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 12:38:41)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -msse -msse2 -mmmx
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -msse -msse2 -mmmx
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/tmp_portage"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm arts avi berkdb bitmap-fonts bluetooth bonobo cdr crypt
cups curl dga doc dvd emboss encode esd f77 fam flac foomaticdb fortran freetype
gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 i8x0 imagemagick imap imlib ipv6
java javascript jpeg kerberos ldap libg++ libwww mad maildir mbox md5sum mikmod
mmx motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pcmcia
pda pdflib perl png ppds python qt quicktime radeon readline samba sasl sdl
slang sms spell sse ssl svga tcltk tcpd tetex tiff transcode truetype
truetype-fonts type1-fonts unicode vorbis wifi xchattext xml xml2 xmms xv zlib
video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-04-28 06:21:41 UTC
...and what if you try an earlier kernel?

The Cisco VPN Client is notorious for not working on the latest kernels.
Comment 2 Jukka Palko 2005-05-01 22:59:41 UTC
Testing 2.6.10, I have had perfect functionality with previous version of cisco-vpnclient-3des on a 2.6.9 kernel. No dropping, unless via the vpn box in our company. ;)
Comment 3 Jukka Palko 2005-05-02 00:17:22 UTC
Nope, doesn't work with 2.6.10... :-( Also worse performance on 2.6.9 than earlier version... I'm masking myself back to previous on regular use. I think I forgot to mention that I'm using mostly a wlan with wpa encryption at home.

I will gladly try a new version should one come out though... ;)

I also needed the newer baselayout for handier wlan usage, thus unmasked are:
=sys-apps/baselayout-1.11.9-r1
=app-shells/bash-3.0-r7
=sys-libs/readline-5.0-r2
=sys-apps/sysvinit-2.85-r1
Comment 4 xero 2005-05-18 09:17:53 UTC
happens again with gentoo-sources-2.6.11-r9
Comment 5 Fadi Adlouni 2005-05-30 04:59:43 UTC
just noticed this bug while browsing.
this is a cisco bug.
Some linux distributions have the rp_filter enabled by default in latest
kernels.  The new VPN Client 
Virtual Adapter interferes with this setting while connected and may result in
a loss of connectivity.

Workaround
Set the rp_filter to 0.

echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter

the bug isn't comitted yet into a version which should be compatible with the
rp_filter.
Comment 6 Jukka Palko 2005-05-31 02:43:44 UTC
Thanks, this fixed the problem, I modified /etc/sysctl.conf to contain:
# Enables source route verification
net.ipv4.conf.default.rp_filter = 0
# Enable reverse path
net.ipv4.conf.all.rp_filter = 0

and ran 'sysctl -p'. Now the vpn works like fine.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2005-05-31 06:30:14 UTC
Cool... I'll add a comment to the emerge output at the end of the ebuild
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2005-06-02 07:26:47 UTC
Can you see if this is still a problem is 4.5.03.0190?

If not, please REOPEN this bug.
Comment 9 Jukka Palko 2005-06-20 04:57:19 UTC
I was just going to ask that question of 4.6.3.0190, as I had some cutoff's
today with 4.6.3.0190 on RHEL4 that had the net.ipv4.conf.default.rp_filter set
to 1. Though it might have been something entirely other and that has been fixed.

I'll have to test the newer on gentoo as well...
Comment 10 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-06-29 09:20:03 UTC
it is still a problem with the latest chris.
Comment 11 Jukka Palko 2005-06-29 22:19:43 UTC
Yeah, it seems that on FC4/RHEL4 and gentoo, I need to specify the rp_filter to
value of 0 so that the vpn is more stable.