]> git.ipfire.org Git - thirdparty/strongswan.git/commit
ike: Treat action_t as flags so 'start' and 'trap' can be combined
authorTobias Brunner <tobias@strongswan.org>
Thu, 16 Dec 2021 15:34:37 +0000 (16:34 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 14 Apr 2022 16:42:01 +0000 (18:42 +0200)
commit4f4d4021b4ed6a72f6cdecde7b58a2b5e7bfce2d
tree8119bc78c303aab9f98ab276aae54c0cfae84539
parent927103ece4fc7898cf75b272d316ba237e8585eb
ike: Treat action_t as flags so 'start' and 'trap' can be combined

While combining the actions could cause duplicates (while the SA is
initiated, traffic might trigger the trap and the initiation of another
CHILD_SA), the previous commit should avoid most duplicates.  If reuse_ikesa
is disabled, duplicates can't be prevented, though.
src/charon-nm/nm/nm_service.c
src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_service.c
src/libcharon/config/child_cfg.c
src/libcharon/config/child_cfg.h
src/libcharon/plugins/stroke/stroke_config.c
src/libcharon/plugins/vici/vici_config.c
src/libcharon/processing/jobs/start_action_job.c
src/libcharon/sa/ike_sa.c
src/libcharon/sa/ikev1/tasks/quick_delete.c
src/libcharon/sa/ikev2/tasks/child_delete.c