-
Notifications
You must be signed in to change notification settings - Fork 759
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipsec, add phase2 dh groups for #2335
- Loading branch information
1 parent
3c3628c
commit 28d0816
Showing
4 changed files
with
55 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28d0816There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A single getter function in ipsec.inc would be favourable. Openvpn does that nowadays, it also removes side-effects from ipsec.inc 😊
28d0816There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fichtner I rather keep the ipsec.inc cleaner at the moment, this code is only for UI rendering, which keeps it easier to inspect the ipsec.inc which we will need to refactor at some point in time. I know, having the same list twice isn't optimal, but for now it helps to clear the view for ipsec.inc.
28d0816There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, ideally we need an ui renderer and a backend file, but the values mandated by the ui need to fit the backend anyway. OpenVPN was cleaned up in this way... 86989c2#diff-b42a80557c087fb143adf379de337801 ... just want to drop it here for reference
28d0816There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this change to choice to disable DH is gone, see:
https://forum.opnsense.org/index.php?topic=8643.msg38513;boardseen#new
Seems esp. some older clients need this.
28d0816There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mimugmail thanks, I'll prepare a fix right away
28d0816There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mimugmail e0cc1c5 should add the option again.
28d0816There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems P1 also needs a fix. P2 works now
28d0816There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in next commit
28d0816There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works, thank you! 👍