Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2014 11:18:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194577] mbuf packet header leakage when closing TUN devices
Message-ID:  <bug-194577-8-i1yXjk3FHg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194577-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194577-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194577

--- Comment #9 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Hi,

Here is how to reproduce:

FreeBSD-9-stable:

1) install openvpn from ports
2) generate an openvpn key
3) start two instances of openvpn like this (no need for a client!)

/usr/local/sbin/openvpn --keepalive 120 240 --float --lport 543 --dev tun3 \
 --ifconfig 10.1.2.6 10.1.2.7 \
 --secret xxxx.key --daemon testlink

/usr/local/sbin/openvpn --proto tcp_server --keepalive 120 240 --float --lport
544 --dev tun4 \
 --ifconfig 10.1.2.8 10.1.2.9 \
 --secret xxxx.key --daemon testlink2

4) watch

vmstat -z | grep -E "LIMIT|mbuf:"

After some minutes, the number of mbufs in use starts growing simply.

Maybe that's simpler for you to reproduce?

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194577-8-i1yXjk3FHg>