Date: Wed, 17 Aug 2016 22:56:38 +0200 From: Gert Doering Message-ID: <20160817205638.GC78279@...1296...> References: <57A87572.6080306@...277...> <20160808122011.GC78279@...1296...> <57A896DD.1020004@...277...> <20160817195057.GZ78279@...1296...> MIME-Version: 1.0 In-Reply-To: Subject: Re: [Openvpn-devel] Is --ifconfig-ipv6-noexec planned ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Content-Disposition: inline To: Selva Nair Cc: openvpn-devel@lists.sourceforge.net Hi, (copying openvpn-devel back in, as Selva has a surprising explanation for this) On Wed, Aug 17, 2016 at 04:40:05PM -0400, Selva Nair wrote: > If the problem is on windows I believe this may be related to > ifconfig_noexec being > reset on windows to ip_win32_type = manual, or some such. Then > do_ifconfig will get called and the ip setting should get skipped inside > it. Recall > seeing it while looking into the code setting ipv6 by service. Don't have > access to the repo to be more precise.. You are right: if (options->ifconfig_noexec) { options->tuntap_options.ip_win32_type = IPW32_SET_MANUAL; options->ifconfig_noexec = false; } (in options.c) so indeed, it would call do_ifconfig() then, and explicitely not do IPv4, and then just go forward as if nothing had happened and *do* IPv6. What a horrible hack... I hope we can get rid of this as soon as Heiko's "do windows in the normal order of things" patch has been fully tested and merged. I'll open a trac ticket as soon as I have proper Internet again, which is not paid by the kbyte... gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany gert@...1296... fax: +49-89-35655025 gert@...1297...