From: David C. <da...@da...> - 2009-10-13 11:29:14
|
Davide Brini wrote: > First thing I'd try would be to remove the auth-nocache directive. > > "If specified, this directive will cause OpenVPN to immediately forget > username/password inputs after they are used. As a result, when OpenVPN needs > a username/password, it will prompt for input from stdin, which may be > multiple times during the duration of an OpenVPN session." > > Though I agree that if the initial credentials were supplied via a file (as in > your case) the above behavior does not make much sense. Removing 'auth-nocache' did the trick... Looks like it has been through two rekeying cycles since I restarted it. Oct 12 12:42:46 rhnagios01 openvpn[17285]: /sbin/ifconfig tun0 10.3.251.6 pointopoint 10.3.251.5 mtu 1500 Oct 12 12:42:46 rhnagios01 openvpn[17285]: Initialization Sequence Completed Oct 12 20:42:44 rhnagios01 openvpn[17285]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this Oct 13 04:42:47 rhnagios01 openvpn[17285]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this Thanks! |