Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
c89569db
Commit
c89569db
authored
Mar 18, 2017
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ipsec: small tweaks
parent
e96bfd56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
ipsec.inc
src/etc/inc/plugins.inc.d/ipsec.inc
+14
-13
No files found.
src/etc/inc/plugins.inc.d/ipsec.inc
View file @
c89569db
...
...
@@ -99,6 +99,19 @@ $p2_protos = array(
'ah'
=>
'AH'
);
$p2_pfskeygroups
=
array
(
0
=>
'off'
,
1
=>
'1 (768 bit)'
,
2
=>
'2 (1024 bit)'
,
5
=>
'5 (1536 bit)'
,
14
=>
'14 (2048 bit)'
,
15
=>
'15 (3072 bit)'
,
16
=>
'16 (4096 bit)'
,
17
=>
'17 (6144 bit)'
,
18
=>
'18 (8192 bit)'
);
function
ipsec_configure
()
{
return
array
(
...
...
@@ -140,18 +153,6 @@ function ipsec_services()
return
$services
;
}
$p2_pfskeygroups
=
array
(
0
=>
'off'
,
1
=>
'1 (768 bit)'
,
2
=>
'2 (1024 bit)'
,
5
=>
'5 (1536 bit)'
,
14
=>
'14 (2048 bit)'
,
15
=>
'15 (3072 bit)'
,
16
=>
'16 (4096 bit)'
,
17
=>
'17 (6144 bit)'
,
18
=>
'18 (8192 bit)'
);
function
ipsec_interfaces
()
{
global
$config
;
...
...
@@ -532,7 +533,7 @@ function ipsec_convert_to_modp($index)
return
$convertion
;
}
function
ipsec_configure_do
(
$verbose
=
false
,
$interface
=
null
)
function
ipsec_configure_do
(
$verbose
=
false
,
$interface
=
''
)
{
global
$config
,
$p2_ealgos
,
$ipsec_loglevels
;
...
...
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