Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
re6stnet
Commits
89ac5ebc
Commit
89ac5ebc
authored
Jun 17, 2024
by
Tom Niget
Committed by
Julien Muchembled
Sep 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vpn: mark deprecated flag
parent
18be0958
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
re6st/plib.py
re6st/plib.py
+2
-0
No files found.
re6st/plib.py
View file @
89ac5ebc
...
@@ -20,6 +20,8 @@ def openvpn(iface, encrypt, *args, **kw):
...
@@ -20,6 +20,8 @@ def openvpn(iface, encrypt, *args, **kw):
if
ovpn_log
:
if
ovpn_log
:
args
+=
'--log-append'
,
os
.
path
.
join
(
ovpn_log
,
'%s.log'
%
iface
),
args
+=
'--log-append'
,
os
.
path
.
join
(
ovpn_log
,
'%s.log'
%
iface
),
if
not
encrypt
:
if
not
encrypt
:
# TODO: --ncp-disable was deprecated in OpenVPN 2.5 and removed in 2.6
# and is no longer necessary in those versions.
args
+=
'--cipher'
,
'none'
,
'--ncp-disable'
args
+=
'--cipher'
,
'none'
,
'--ncp-disable'
logging
.
debug
(
'%r'
,
args
)
logging
.
debug
(
'%r'
,
args
)
return
utils
.
Popen
(
args
,
**
kw
)
return
utils
.
Popen
(
args
,
**
kw
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment