[OpenWrt-Devel] [PATCH 2/3] packaget/network/services/openvpn: Drop ifconfig/route in favour of ip

Gert Doering gert at greenie.muc.de
Mon Feb 1 02:57:11 EST 2016


Hi,

On Sun, Jan 31, 2016 at 03:49:58PM -0800, Daniel Dickinson wrote:
> On 21/01/16 02:31 PM, Felix Fietkau wrote:
> > On 2016-01-20 20:22, openwrt at daniel.thecshore.com wrote:
> >> From: Daniel Dickinson <openwrt at daniel.thecshore.com>
> >>
> >> NB: Only compile tested.
> 
> Based on live testing it appears that openvpn upstream does not work 
> properly at least with the busybox ip applet, but likely also with full 
> iproute2 due to race condition (tun device goes away before ip command 
> runs and sets up networking).

That would surprise me a bit... can I have the openvpn log for that race
condition?  Is this something special in OpenWRT?  Normally, the tun device
can never "go away" unless OpenVPN tells it to - and if we do that, we do
not call ip/ifconfig on it afterwards.

(Also, for the busybox ip applet, our use of ip is not exactly esoteric -
setup ipv4/ipv6 addresses on tun if, add ipv4/ipv6 routes)

gert,
   openvpn upstream
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 291 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20160201/13efa52e/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list