Hello,
I'm facing a problem with "defer" sample plugin and rekeying.
I use plugin from
https://github.com/OpenVPN/openvpn/tree/master/sample/sample-plugins/defer.
Relevant part of openvpn config:
> auth-user-pass-optional
> setenv test_deferred_auth 2
> plugin /etc/openvpn/simple.so
> reneg-sec
Hi,
the following four patches port OpenVPN git/master to AIX. It might not
be the most asked-for platform in the world, but since it finally grew a
tap driver, it can be useful, so here it is :-)
Drawbacks today:
- AIX has no tun driver, so only --dev tap is supported
- IPv4 ICMP packets ar
From: Gert Doering
AIX is special... ifconfig only works if it can add the data to
the ODM right away, so setup a local enviromnment set that has
"ODMDIR=/etc/objrepos" in it (hard-coded, nobody changes that).
Only --dev tap or --dev tapNN are supported right now. AIX has no
tun driver (so tun
From: Gert Doering
force "have_tap_header=yes", as configure won't like AIX headers otherwise
(no tun related headers, just ).
force ROUTE to be "/usr/sbin/route" - not executable by non-root users, so
configure testing for executables will not find it
force "ac_cv_header_net_if_h=no", because
From: Gert Doering
AIX only has TAP interfaces, so always use gateway address as next hop,
not interface name.
AIX route works much more reliable if passed netbits than netmask - do so
(introducing a new helper function netmask_to_netbits2())
---
src/openvpn/route.c | 60 +
From: Gert Doering
Teach it how to run ifconfig/route on AIX to have meaningful results.
Signed-off-by: Gert Doering
---
tests/t_client.sh.in |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tests/t_client.sh.in b/tests/t_client.sh.in
index 52c5ed1..d4f7c4a 100755