[Bug 194577] mbuf packet header leakage when closing TUN devices

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 28 11:18:14 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194577

--- Comment #9 from Hans Petter Selasky <hselasky at 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.


More information about the freebsd-bugs mailing list