]> git.ipfire.org Git - thirdparty/strongswan.git/commit
kernel-libipsec: Add support to send/receive raw ESP packets
authorTobias Brunner <tobias@strongswan.org>
Thu, 11 May 2023 16:34:58 +0000 (18:34 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 23 May 2023 11:19:47 +0000 (13:19 +0200)
commite306fa5f73e874a526ddf2a76088220865a9cd2b
treeaf56642fda74f13ac411ae5d8c30d6d8c8290a63
parent29e8cb3f903dfe329ad3ec59f10f1495f3c4373f
kernel-libipsec: Add support to send/receive raw ESP packets

This is currently only supported on Linux and with the appropriate
permissions.

Since it's experimental, it's disabled by default.

The log messages for each sent and received ESP message are logged in NET
like the ones in the socket-default plugin for UDP-encapsulated messages.
conf/plugins/kernel-libipsec.opt
src/libcharon/plugins/kernel_libipsec/Makefile.am
src/libcharon/plugins/kernel_libipsec/kernel_libipsec_esp_handler.c [new file with mode: 0644]
src/libcharon/plugins/kernel_libipsec/kernel_libipsec_esp_handler.h [new file with mode: 0644]
src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c
src/libcharon/plugins/kernel_libipsec/kernel_libipsec_plugin.c
src/libcharon/plugins/kernel_libipsec/kernel_libipsec_router.c