Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10617 closed enhancement (fixed)

[Patch] Add Support for UCI to Openswan

Reported by: kevin@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: openswan Cc:

Description

In preparation for adding a LuCI application for IPsec, I have done some cleanup and added support for UCI to the Openswan package.

The first few patches in this series are cleanup. If you would prefer to consider them separately, I can file separate bugs for anything controversial. They are each quite short and should be self-explanatory.

The final patch in the series adds code to the ipsec init script which converts /etc/config/ipsec to /etc/ipsec.uci.conf and /etc/ipsec.uci.secrets using a nearly-literal translation. These files are then referenced from /etc/ipsec.conf and /etc/ipsec.secrets to allow users to continue to use custom configurations with minimal hassle (and avoid breakage during package upgrades).

I would appreciate any feedback on the patches and hope that they can be included in a future OpenWrt release.

Attachments (5)

0001-Remove-openswan-dependency-on-kmod-openswan.patch (905 bytes) - added by kevin@… 6 years ago.
Remove openswan dependency on kmod-openswan
0002-Remove-110-scripts.patch-for-openswan.patch (1.1 KB) - added by kevin@… 6 years ago.
Remove 110-scripts.patch for openswan
0003-Remove-130-compat_net_dev_ops.patch-for-openswan.patch (1.3 KB) - added by kevin@… 6 years ago.
Remove 130-compat_net_dev_ops.patch for openswan
0004-Keep-ipsec-configuration-information-across-upgrades.patch (1.4 KB) - added by kevin@… 6 years ago.
Keep ipsec configuration information across upgrades
0005-Add-UCI-support-to-Openswan.patch (8.6 KB) - added by kevin@… 6 years ago.
Add UCI support to Openswan

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by kevin@…

Remove openswan dependency on kmod-openswan

Changed 6 years ago by kevin@…

Remove 110-scripts.patch for openswan

Changed 6 years ago by kevin@…

Remove 130-compat_net_dev_ops.patch for openswan

Changed 6 years ago by kevin@…

Keep ipsec configuration information across upgrades

Changed 6 years ago by kevin@…

Add UCI support to Openswan

comment:1 Changed 6 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

Patches applied in r29580-r29586 - thank you!

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.