ports/175067: security/vpnc-0.5.3_7: vpnc-disconnect does not terminate vpnc daemon
Marek Rudnicki
marekrud at gmail.com
Sun Jan 6 18:30:00 UTC 2013
>Number: 175067
>Category: ports
>Synopsis: security/vpnc-0.5.3_7: vpnc-disconnect does not terminate vpnc daemon
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 06 18:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Marek Rudnicki <marekrud at gmail.com>
>Release: FreeBSD 9.1-RELEASE amd64
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD orange 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
After starting VPN client (vpnc), I'm not able to terminate the vpnc
using vpnc-disconnect. vpnc-disconnect displays message about
terminating vpnc daemon, but the vpnc program is still running.
Network interfaces (tun0 and tun1) created by vpnc are not destroyed.
>How-To-Repeat:
My /usr/local/etc/vpnc.conf has the following fields:
IPSec gateway
IPSec ID
IPSec secret
Xauth username
Xauth password
There are no tun interfaces, neither vpnc is running.
Below is the copy/paste from the terminal without irrelevant lines
(other interfaces than tun, vpnc routing info)
# vpnc
Warning: using insecure memory!
VPNC started in background (pid: 26056)...
# ifconfig
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1412
options=80000<LINKSTATE>
inet a.b.c.d --> a.b.c.d netmask 0xffffffff
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Opened by PID 25762
tun1: flags=8010<POINTOPOINT,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
# ps aux | grep vpnc
root 26056 0.0 0.0 19688 1904 ?? Is 6:10PM 0:00.00 vpnc
root 26072 0.0 0.0 16288 1616 3 S+ 6:14PM 0:00.00 grep vpnc
# vpnc-disconnect
Terminating vpnc daemon (pid: 26056)
# ps aux | grep vpnc
root 26056 0.0 0.0 19688 1948 ?? Is 6:10PM 0:00.00 vpnc
root 26075 0.0 0.0 14508 1852 ?? I 6:14PM 0:00.02 /bin/sh /usr/local/sbin/vpnc-script
root 27832 0.0 0.0 10164 1436 3 R+ 6:15PM 0:00.00 grep vpnc
# ifconfig
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1412
options=80000<LINKSTATE>
inet a.b.c.d --> a.b.c.d netmask 0xffffffff
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Opened by PID 25762
tun1: flags=8010<POINTOPOINT,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>Fix:
Workaround:
# killall -9 vpnc
tun0 is destroyed automatically
# ifconfig tun1 destroy
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list