|
|
On Tuesday 10 May 2005 00:50, Charles Duffy wrote: | Have you looked into what the OpenVPN process is doing during this | time (via high verbosity levels, or strace/ltrace)? It'd be | interesting to know if it's blocking somewhere. The problem is OpenVPN waits for the Up script to finish prior to continuing with packet handling. However, if the Up script executes dhclient, it waits until packets are sent/recv before exiting. The solution would be to document this fact in the FAQ and tell users to use "&" inside of the scripts when processes block on the tap interface looking for packets. Another possibility is that some future version of OpenVPN could fork to execute the up script while continuing on to process packets on the tap interface. Not sure what other race conditions are introduced doing so... Anyway, "&" on dhclient fixed it and now it runs pretty fast. take care, -- -jeff ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |