[ previous ] [ next ] [ threads ]
 
 From:  Peter Allgeyer <allgeyer at web dot de>
 To:  m0n0wall at lists dot m0n0 dot ch
 Cc:  Manuel Kasper <mk at neon1 dot net>
 Subject:  Re: [m0n0wall] Bugs to be fixed before 1.2 release?
 Date:  Mon, 29 Aug 2005 18:00:25 +0200
Am Sonntag, den 28.08.2005, 20:51 +0200 schrieb Manuel Kasper:
> No, it has nothing to do with OpenVPN itself, but the way it is
> implemented in m0n0wall. It messes with optional interfaces in ways
> that it shouldn't, and I don't want that in a "production" release...

Anyway, playing a little bit with openvpn I found a bug in how openvpn
server is called with option "redirect-gateway local" set:

openvpn[3959]: PUSH: Received control message:
'PUSH_REPLY,redirect-gateway 'local',route 10.1.1.1,ifconfig 10.1.1.18 
10.1.1.17'
openvpn[3959]: Options error: unknown --redirect-gateway flag: 'local'

At the moment openvpn server is invoked as:
/usr/local/sbin/openvpn [...] --push redirect-gateway 'local'

Correctly it should be invoked as:
/usr/local/sbin/openvpn [...] --push "redirect-gateway local"

Fix attached.

Ciao ...
	... PIT ...


---------------------------------------------------------------------------
 copyleft(c) by |   _-_     Sex dumps core (Sex is a Simple editor for
 Peter Allgeyer | 0(o_o)0   X11)  -- Seen on debian bugtracking
---------------oOO--(_)--OOo-----------------------------------------------