Page 1 of 1

OpenVPN Community Edition "status-version" and "daemon"

Posted: Sat Jun 16, 2012 9:56 am
by macaujohn2000
1. What is function and purpose for status-version 2 in server.conf? how many status-version has? 1/2/3?
2. What is function and purpose for daemon in server.conf?

Why they are not a default setting in server.conf?

Re: OpenVPN Community Edition "status-version" and "daemon"

Posted: Sat Jun 16, 2012 2:43 pm
by janjust
as the manual page states, the status-version can be 1, 2 or 3; the main difference between 2 and 3 is the separator character used. Version 1 was the original implementation and is kept for backwards compatibility/scripts that depend on the status file

The 'daemon' option is not supported on all platforms (e.g. Windows) and hence is not made the default.
Remember that for every option that you turn on by default you must also have a way to turn it off. Thus , if 'daemon' (or 'status') were default then you'd need 'no-daemon' etc.

Re: OpenVPN Community Edition "status-version" and "daemon"

Posted: Mon Jun 18, 2012 12:40 am
by macaujohn2000
Thanks! I have also asked another in other topic.