@@ -423,6 +423,12 @@ lib : with (import ./param-constructors.nix lib); {
423423 nodes. Set to 0 to disable.
424424 '';
425425
426+ ha.buflen = mkIntParam 2048 ''
427+ Buffer size for received HA messages. For IKEv1 the public DH factors are
428+ also transmitted so depending on the DH group the HA messages can get quite
429+ big (the default should be fine up to <literal>modp4096</literal>).
430+ '';
431+
426432 ha.fifo_interface = mkYesNoParam yes "";
427433
428434 ha.heartbeat_delay = mkIntParam 1000 "";
@@ -461,7 +467,7 @@ lib : with (import ./param-constructors.nix lib); {
461467 If the maximum Netlink socket receive buffer in bytes set by
462468 receive_buffer_size exceeds the system-wide maximum from
463469 <literal>/proc/sys/net/core/rmem_max</literal>, this option can be used to
464− override the limit. Enabling this option requires special priviliges
470+ override the limit. Enabling this option requires special privileges
465471 (CAP_NET_ADMIN).
466472 '';
467473
@@ -482,6 +488,12 @@ lib : with (import ./param-constructors.nix lib); {
482488 MTU to set on installed routes, 0 to disable.
483489 '';
484490
491+ kernel-netlink.process_rules = mkYesNoParam no ''
492+ Whether to process changes in routing rules to trigger roam events. This is
493+ currently only useful if the kernel based route lookup is used (i.e. if
494+ route installation is disabled or an inverted fwmark match is configured).
495+ '';
496+
485497 kernel-netlink.receive_buffer_size = mkIntParam 0 ''
486498 Maximum Netlink socket receive buffer in bytes. This value controls how many
487499 bytes of Netlink messages can be received on a Netlink socket. The default
@@ -845,6 +857,25 @@ lib : with (import ./param-constructors.nix lib); {
845857 Whether OCSP validation should be enabled.
846858 '';
847859
860+ save-keys.load = mkYesNoParam no ''
861+ Whether to load the plugin.
862+ '';
863+
864+ save-keys.esp = mkYesNoParam no ''
865+ Whether to save ESP keys.
866+ '';
867+
868+ save-keys.ike = mkYesNoParam no ''
869+ Whether to save IKE keys.
870+ '';
871+
872+ save-keys.wireshark_keys = mkOptionalStrParam ''
873+ Directory where the keys are stored in the format supported by Wireshark.
874+ IKEv1 keys are stored in the <literal>ikev1_decryption_table</literal> file.
875+ IKEv2 keys are stored in the <literal>ikev2_decryption_table</literal> file.
876+ Keys for ESP CHILD_SAs are stored in the <literal>esp_sa</literal> file.
877+ '';
878+
848879 socket-default.fwmark = mkOptionalStrParam ''
849880 Firewall mark to set on outbound packets (a possible use case are
850881 host-to-host tunnels with kernel-libipsec).