recent change to ifconfig breaks OpenVPN?

Stefan Bethke stb at lassitu.de
Sat Aug 1 11:33:02 UTC 2009


Am 31.07.2009 um 18:58 schrieb Stefan Bethke:

> Am 31.07.2009 um 14:38 schrieb Stefan Bethke:
>
>> Here's a first draft at a patch for OpenVPN.  With this, the tun  
>> interface gets set to IFF_BROADCAST mode.  One small piece is still  
>> missing: OpenVPN tries to install a route for the subnet, but that  
>> fails because now ifconfig has already inserted that route.  I'll  
>> try to look into that a bit later on.  I also haven't tested the  
>> server side yet, or any other mode.
>
> The route for the subnet is pushed by the server (expanded from the  
> --server config option).  Although adding the route fails, the  
> connection process continues and the connection is working fine.   
> Making either the client ignore the pushed route or the server not  
> push the route would be rather intrusive, so I think leaving it at  
> this should be acceptable.
>
> Will continue testing...

I've tested the patch on -stable and -current, with --topology subnet  
and --topology net30, in client and server modes, and everything seems  
to be working fine.  From my point of view, this can be committed.

I will submit the patch to James Yonan and the openvpn-developers list  
for inclusion.


Stefan

-- 
Stefan Bethke <stb at lassitu.de>   Fon +49 151 14070811






More information about the freebsd-ports mailing list