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
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Joanne Hugé
re6stnet
Commits
ebee829d
Commit
ebee829d
authored
Jul 01, 2019
by
Killian Lufau
Committed by
Julien Muchembled
Oct 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapt HMAC to upstream option 'no_hmac_verify'
parent
21eacdba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
re6st/plib.py
re6st/plib.py
+3
-4
No files found.
re6st/plib.py
View file @
ebee829d
...
@@ -88,14 +88,13 @@ def router(ip, ip4, src, hello_interval, log_path, state_path, pidfile,
...
@@ -88,14 +88,13 @@ def router(ip, ip4, src, hello_interval, log_path, state_path, pidfile,
cmd
+=
'-C'
,
(
'key type blake2s id %s value %s'
%
cmd
+=
'-C'
,
(
'key type blake2s id %s value %s'
%
(
id
,
value
.
encode
(
'hex'
)))
(
id
,
value
.
encode
(
'hex'
)))
key
(
cmd
,
'sign'
,
hmac_sign
)
key
(
cmd
,
'sign'
,
hmac_sign
)
cmd
+=
'-C'
,
'default %s hmac sign'
%
default
default
+=
' hmac sign'
if
hmac_accept
is
not
None
:
if
hmac_accept
is
not
None
:
if
hmac_accept
:
if
hmac_accept
:
key
(
cmd
,
'accept'
,
hmac_accept
)
key
(
cmd
,
'accept'
,
hmac_accept
)
else
:
else
:
cmd
+=
'-C'
,
'ignore_no_hmac'
default
+=
' no_hmac_verify true'
else
:
cmd
+=
'-C'
,
'default '
+
default
cmd
+=
'-C'
,
'default '
+
default
if
ip4
:
if
ip4
:
cmd
+=
'-C'
,
'redistribute ip %s/%s eq %s'
%
(
ip4
,
n4
,
n4
)
cmd
+=
'-C'
,
'redistribute ip %s/%s eq %s'
%
(
ip4
,
n4
,
n4
)
if
src
:
if
src
:
...
...
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