Hi I created today the bug ticket:
https://github.com/OpenVPN/openvpn3-linux/issues/36

I have a patch to fix the problem (accept but ignore old parameters
from openvpn2 in openvpn3)

I hope I made everything correctly.

Thanks for your consideration
Index: src/python/openvpn3/ConfigParser.py
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/python/openvpn3/ConfigParser.py b/src/python/openvpn3/ConfigParser.py
--- a/src/python/openvpn3/ConfigParser.py	(revision 20319752618587500d7d5bc496965d742ce161dc)
+++ b/src/python/openvpn3/ConfigParser.py	(revision 9cb300d007775fd68964e107f85cc3808d6e583c)
@@ -718,6 +718,13 @@
                              + 'Not needed with OpenVPN 3 which uses a '
                              + 'different privilege separation approach')
 
+        ignored.add_argument('--mute',
+                             metavar='SECS',
+                             action=ConfigParser.IgnoreArg,
+                             nargs=1,
+                             help='Silence repeating messages during n '
+                             + 'seconds. Not supported in OpenVPN3')
+
         ignored.add_argument('--nice',
                              metavar='LEVEL',
                              action=ConfigParser.IgnoreArg,
@@ -763,6 +770,19 @@
                              + 'retry resolve for n seconds before failing. '
                              + 'Not supported by OpenVPN 3')
 
+        ignored.add_argument('--route-delay',
+                             action=ConfigParser.IgnoreArg,
+                             nargs='*',
+                             help='Delay n seconds (default 0) after '
+                             + 'connection establishment, before adding '
+                             + ' routes. Not supported by OpenVPN 3.')
+
+        ignored.add_argument('--route-method',
+                             action=ConfigParser.IgnoreArg,
+                             nargs=1,
+                             help='Which method m to use for adding routes on '
+                             + 'Windows. Not supported by OpenVPN 3.')
+
         ignored.add_argument('--script-security',
                              metavar='LEVEL',
                              action=ConfigParser.IgnoreArg,
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to