@@ -1,1111 +0,0 @@
1−lib : with (import ./param-constructors.nix lib); {
2− addrblock.strict = mkYesNoParam yes ''
3− If enabled, a subject certificate without an RFC 3779 address block
4− extension is rejected if the issuer certificate has such an addrblock
5− extension. If disabled, subject certificates issued without addrblock
6− extension are accepted without any traffic selector checks and no policy
7− is enforced by the plugin.
8− '';
9−
10− android_log.loglevel = mkIntParam 1 ''
11− Loglevel for logging to Android specific logger.
12− '';
13−
14− attr = mkAttrsOfParam (mkCommaSepListParam [] "") ''
15− Section to specify arbitrary attributes that are assigned to a peer
16− via configuration payload, see attr plugin.
17− </para><para>
18− The attribute can be either
19− <literal>address</literal>,
20− <literal>netmask</literal>,
21− <literal>dns</literal>,
22− <literal>nbns</literal>,
23− <literal>dhcp</literal>,
24− <literal>subnet</literal>,
25− <literal>split-include</literal>,
26− <literal>split-exclude</literal>
27− or the numeric identifier of the attribute type. The assigned value can be
28− an IPv4/IPv6 address, a subnet in CIDR notation or an arbitrary value
29− depending on the attribute type. Since some attribute types accept multiple
30− values all values must be specified as a list.
31− '';
32−
33− attr-sql.crash_recovery = mkYesNoParam yes ''
34− Release all online leases during startup. Disable this to share the DB
35− between multiple VPN gateways.
36− '';
37−
38− attr-sql.database = mkOptionalStrParam ''
39− Database URI for attr-sql plugin used by charon. If it contains a
40− password, make sure to adjust the permissions of the config file
41− accordingly.
42− '';
43−
44− attr-sql.lease_history = mkYesNoParam yes ''
45− Enable logging of SQL IP pool leases.
46− '';
47−
48− bliss.use_bliss_b = mkYesNoParam yes ''
49− Use the enhanced BLISS-B key generation and signature algorithm.
50− '';
51−
52− bypass-lan.interfaces_ignore = mkCommaSepListParam [] ''
53− List of network interfaces for which connected subnets
54− should be ignored, if interfaces_use is specified this option has no
55− effect.
56− '';
57−
58− bypass-lan.interfaces_use = mkCommaSepListParam [] ''
59− List of network interfaces for which connected subnets
60− should be considered. All other interfaces are ignored.
61− '';
62−
63− certexpire.csv.cron = mkOptionalStrParam ''
64− Cron style string specifying CSV export times, see certexpire for
65− details.
66− '';
67−
68− certexpire.csv.empty_string = mkOptionalStrParam ''
69− String to use in empty intermediate CA fields.
70− '';
71−
72− certexpire.csv.fixed_fields = mkYesNoParam yes ''
73− Use a fixed intermediate CA field count.
74− '';
75−
76− certexpire.csv.force = mkYesNoParam yes ''
77− Force export of all trustchains we have a private key for.
78− '';
79−
80− certexpire.csv.format = mkStrParam "%d:%m:%Y" ''
81− strftime(3) format string to export expiration dates as.
82− '';
83−
84− certexpire.csv.local = mkOptionalStrParam ''
85− strftime(3) format string for the CSV file name to export local
86− certificates to.
87− '';
88−
89− certexpire.csv.remote = mkOptionalStrParam ''
90− strftime(3) format string for the CSV file name to export remote
91− certificates to.
92− '';
93−
94− certexpire.csv.separator = mkStrParam "," ''
95− CSV field separator.
96− '';
97−
98− coupling.file = mkOptionalStrParam ''
99− File to store coupling list to, see certcoupling plugin for details.
100− '';
101−
102− coupling.hash = mkStrParam "sha1" ''
103− Hashing algorithm to fingerprint coupled certificates.
104− '';
105−
106− coupling.max = mkIntParam 1 ''
107− Maximum number of coupling entries to create.
108− '';
109−
110− curl.redir = mkIntParam (-1) ''
111− Maximum number of redirects followed by the plugin, set to 0 to disable
112− following redirects, set to -1 for no limit.
113− '';
114−
115− dhcp.force_server_address = mkYesNoParam no ''
116− Always use the configured server address, see DHCP plugin for details.
117− '';
118−
119− dhcp.identity_lease = mkYesNoParam no ''
120− Derive user-defined MAC address from hash of IKEv2 identity.
121− '';
122−
123− dhcp.interface = mkOptionalStrParam ''
124− Interface name the plugin uses for address allocation. The default is to
125− bind to any and let the system decide which way to route the packets to
126− the DHCP server.
127− '';
128−
129− dhcp.server = mkStrParam "255.255.255.255" ''
130− DHCP server unicast or broadcast IP address.
131− '';
132−
133− dnscert.enable = mkYesNoParam no ''
134− Enable fetching of CERT RRs via DNS.
135− '';
136−
137− duplicheck.enable = mkYesNoParam yes ''
138− Enable duplicheck plugin (if loaded).
139− '';
140−
141− duplicheck.socket = mkStrParam "unix://\${piddir}/charon.dck" ''
142− Socket provided by the duplicheck plugin.
143− '';
144−
145− eap-aka.request_identity = mkYesNoParam yes "";
146−
147− eap-aka-3ggp2.seq_check = mkOptionalStrParam ''
148− Enable to activate sequence check of the AKA SQN values in order to trigger
149− resync cycles.
150− '';
151−
152− eap-dynamic.prefer_user = mkYesNoParam no ''
153− If enabled, the eap-dynamic plugin will prefer the order of the EAP
154− methods in an EAP-Nak message sent by a client over the one configured
155− locally.
156− '';
157−
158− eap-dynamic.preferred = mkCommaSepListParam [] ''
159− The preferred EAP method(s) to be used by the eap-dynamic plugin. If it is
160− not set, the first registered method will be used initially. The methods
161− are tried in the given order before trying the rest of the registered
162− methods.
163− '';
164−
165− eap-gtc.backend = mkStrParam "pam" ''
166− XAuth backend to be used for credential verification, see EAP-GTC.
167− '';
168−
169− eap-peap.fragment_size = mkIntParam 1024 ''
170− Maximum size of an EAP-PEAP packet.
171− '';
172−
173− eap-peap.max_message_count = mkIntParam 32 ''
174− Maximum number of processed EAP-PEAP packets.
175− '';
176−
177− eap-peap.include_length = mkYesNoParam no ''
178− Include length in non-fragmented EAP-PEAP packets.
179− '';
180−
181− eap-peap.phase2_method = mkStrParam "mschapv2" ''
182− Phase2 EAP client authentication method.
183− '';
184−
185− eap-peap.phase2_piggyback = mkYesNoParam no ''
186− Phase2 EAP Identity request piggybacked by server onto TLS Finished
187− message.
188− '';
189−
190− eap-peap.phase2_tnc = mkYesNoParam no ''
191− Start phase2 EAP-TNC protocol after successful client authentication.
192− '';
193−
194− eap-peap.request_peer_auth = mkYesNoParam no ''
195− Request peer authentication based on a client certificate.
196− '';
197−
198− eap-radius.accounting = mkYesNoParam no ''
199− Enable EAP-RADIUS accounting.
200− '';
201−
202− eap-radius.accounting_close_on_timeout = mkYesNoParam yes ''
203− Close the IKE_SA if there is a timeout during interim RADIUS accounting
204− updates.
205− '';
206−
207− eap-radius.accounting_interval = mkIntParam 0 ''
208− Interval in seconds for interim RADIUS accounting updates, if not
209− specified by the RADIUS server in the Access-Accept message.
210− '';
211−
212− eap-radius.accounting_requires_vip = mkYesNoParam no ''
213− If enabled, accounting is disabled unless an IKE_SA has at least one
214− virtual IP.
215− '';
216−
217− eap-radius.accounting_send_class = mkYesNoParam no ''
218− If enabled, adds the Class attributes received in Access-Accept
219− message to the RADIUS accounting messages.
220− '';
221−
222− eap-radius.class_group = mkYesNoParam no ''
223− Use the class attribute sent in the Access-Accept message as group
224− membership information, see EapRadius.
225− '';
226−
227− eap-radius.close_all_on_timeout = mkYesNoParam no ''
228− Closes all IKE_SAs if communication with the RADIUS server times out. If
229− it is not set only the current IKE_SA is closed.
230− '';
231−
232− eap-radius.dae.enable = mkYesNoParam no ''
233− Enables support for the Dynamic Authorization Extension (RFC 5176).
234− '';
235−
236− eap-radius.dae.listen = mkStrParam "0.0.0.0" ''
237− Address to listen for DAE messages from the RADIUS server.
238− '';
239−
240− eap-radius.dae.port = mkIntParam 3799 ''
241− Port to listen for DAE requests.
242− '';
243−
244− eap-radius.dae.secret = mkOptionalStrParam ''
245− Shared secret used to verify/sign DAE messages.If set, make sure to
246− adjust the permissions of the config file accordingly.
247− '';
248−
249− eap-radius.eap_start = mkYesNoParam no ''
250− Send EAP-Start instead of EAP-Identity to start RADIUS conversation.
251− '';
252−
253− eap-radius.filter_id = mkYesNoParam no ''
254− Use the filter_id attribute sent in the RADIUS-Accept message as group
255− membership if the RADIUS tunnel_type attribute is set to ESP.
256− '';
257−
258− eap-radius.forward.ike_to_radius = mkOptionalStrParam ''
259− RADIUS attributes to be forwarded from IKEv2 to RADIUS (can be defined
260− by name or attribute number, a colon can be used to specify
261− vendor-specific attributes, e.g. Reply-Message, or 11, or 36906:12).
262− '';
263−
264− eap-radius.forward.radius_to_ike = mkOptionalStrParam ''
265− Same as above but from RADIUS to IKEv2, a strongSwan specific private
266− notify (40969) is used to transmit the attributes.
267− '';
268−
269− eap-radius.id_prefix = mkOptionalStrParam ''
270− Prefix to EAP-Identity, some AAA servers use a IMSI prefix to select the
271− EAP method.
272− '';
273−
274− eap-radius.nas_identifier = mkStrParam "strongSwan" ''
275− NAS-Identifier to include in RADIUS messages.
276− '';
277−
278− eap-radius.port = mkIntParam 1812 ''
279− Port of RADIUS server (authentication).
280− '';
281−
282− eap-radius.retransmit_base = mkFloatParam "1.4" ''
283− Base to use for calculating exponential back off.
284− '';
285−
286− eap-radius.retransmit_timeout = mkFloatParam "2.0" ''
287− Timeout in seconds before sending first retransmit.
288− '';
289−
290− eap-radius.retransmit_tries = mkIntParam 4 ''
291− Number of times to retransmit a packet before giving up.
292− '';
293−
294− eap-radius.secret = mkOptionalStrParam ''
295− Shared secret between RADIUS and NAS. If set, make sure to adjust the
296− permissions of the config file accordingly.
297− '';
298−
299− eap-radius.server = mkOptionalStrParam ''
300− IP/Hostname of RADIUS server.
301− '';
302−
303− eap-radius.servers = mkAttrsOfParams {
304− nas_identifier = mkStrParam "strongSwan" ''
305− The nas_identifer (default: strongSwan) identifies the gateway against the
306− RADIUS server and allows it to enforce a policy, for example.
307− '';
308−
309− secret = mkOptionalStrParam "";
310−
311− sockets = mkIntParam 1 ''
312− The number of pre-allocated sockets to use. A value of 5 allows the
313− gateway to authentication 5 clients simultaneously over RADIUS.
314− '';
315−
316− auth_port = mkIntParam 1812 ''
317− RADIUS UDP port
318− '';
319−
320− address = mkOptionalStrParam ''
321− The server's IP/Hostname.
322− '';
323−
324− acct_port = mkIntParam 1813 ''
325− Accounting port.
326− '';
327−
328− preference = mkIntParam 0 ''
329− With the preference paramter of a server, priorities for specific servers
330− can be defined. This allows to use a secondary RADIUS server only if the
331− first gets unresponsive, or if it is overloaded.
332− '';
333− } ''Section to specify multiple RADIUS servers, see EapRadius.'';
334−
335− eap-radius.sockets = mkIntParam 1 ''
336− Number of sockets (ports) to use, increase for high load.
337− '';
338−
339− eap-radius.xauth = mkAttrsOfParams {
340− nextpin = mkOptionalStrParam "";
341− password = mkOptionalStrParam "";
342− passcode = mkOptionalStrParam "";
343− answer = mkOptionalStrParam "";
344− } ''
345− Section to configure multiple XAuth authentication rounds via RADIUS.
346− '';
347−
348− eap-sim.request_identity = mkYesNoParam yes "";
349−
350− eap-simaka-sql.database = mkOptionalStrParam "";
351−
352− eap-simaka-sql.remove_used = mkOptionalStrParam "";
353−
354− eap-tls.fragment_size = mkIntParam 1024 ''
355− Maximum size of an EAP-TLS packet.
356− '';
357−
358− eap-tls.include_length = mkYesNoParam yes ''
359− Include length in non-fragmented EAP-TLS packets.
360− '';
361−
362− eap-tls.max_message_count = mkIntParam 32 ''
363− Maximum number of processed EAP-TLS packets (0 = no limit).
364− '';
365−
366− eap-tnc.max_message_count = mkIntParam 10 ''
367− Maximum number of processed EAP-TNC packets (0 = no limit).
368− '';
369−
370− eap-tnc.protocol = mkStrParam "tnccs-2.0" ''
371− IF-TNCCS protocol version to be used (tnccs-1.1, tnccs-2.0,
372− tnccs-dynamic).
373− '';
374−
375− eap-ttls.fragment_size = mkIntParam 1024 ''
376− Maximum size of an EAP-TTLS packet.
377− '';
378−
379− eap-ttls.include_length = mkYesNoParam yes ''
380− Include length in non-fragmented EAP-TTLS packets.
381− '';
382−
383− eap-ttls.max_message_count = mkIntParam 32 ''
384− Maximum number of processed EAP-TTLS packets (0 = no limit).
385− '';
386−
387− eap-ttls.phase2_method = mkStrParam "md5" ''
388− Phase2 EAP client authentication method.
389− '';
390−
391− eap-ttls.phase2_piggyback = mkYesNoParam no ''
392− Phase2 EAP Identity request piggybacked by server onto TLS Finished
393− message.
394− '';
395−
396− eap-ttls.phase2_tnc = mkYesNoParam no ''
397− Start phase2 EAP TNC protocol after successful client authentication.
398− '';
399−
400− eap-ttls-phase2_tnc_method = mkEnumParam ["pt" "legacy"] "pt" ''
401− Phase2 EAP TNC transport protocol (pt as IETF standard or legacy tnc)
402− '';
403−
404− eap-ttls.request_peer_auth = mkYesNoParam no ''
405− Request peer authentication based on a client certificate.
406− '';
407−
408− error-notify.socket = mkStrParam "unix://\${piddir}/charon.enfy" ''
409− Socket provided by the error-notify plugin.
410− '';
411−
412− ext-auth.script = mkOptionalStrParam ''
413− Shell script to invoke for peer authorization (see ext-auth).
414− '';
415−
416− gcrypt.quick_random = mkYesNoParam no ''
417− Use faster random numbers in gcrypt. For testing only, produces weak
418− keys!
419− '';
420−
421− ha.autobalance = mkIntParam 0 ''
422− Interval in seconds to automatically balance handled segments between
423− nodes. Set to 0 to disable.
424− '';
425−
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−
432− ha.fifo_interface = mkYesNoParam yes "";
433−
434− ha.heartbeat_delay = mkIntParam 1000 "";
435−
436− ha.heartbeat_timeout = mkIntParam 2100 "";
437−
438− ha.local = mkOptionalIntParam "";
439−
440− ha.monitor = mkYesNoParam yes "";
441−
442− ha.pools = mkOptionalStrParam "";
443−
444− ha.remote = mkOptionalStrParam "";
445−
446− ha.resync = mkYesNoParam yes "";
447−
448− ha.secret = mkOptionalStrParam "";
449−
450− ha.segment_count = mkIntParam 1 "";
451−
452− ipseckey.enable = mkYesNoParam no ''
453− Enable fetching of IPSECKEY RRs via DNS.
454− '';
455−
456− kernel-libipsec.allow_peer_ts = mkYesNoParam no ''
457− Allow that the remote traffic selector equals the IKE peer (see
458− kernel-libipsec for details).
459− '';
460−
461− kernel-netlink.buflen = mkOptionalIntParam ''
462− Buffer size for received Netlink messages. Defaults to
463− <literal>min(PAGE_SIZE, 8192)</literal>.
464− '';
465−
466− kernel-netlink.force_receive_buffer_size = mkYesNoParam no ''
467− If the maximum Netlink socket receive buffer in bytes set by
468− receive_buffer_size exceeds the system-wide maximum from
469− <literal>/proc/sys/net/core/rmem_max</literal>, this option can be used to
470− override the limit. Enabling this option requires special privileges
471− (CAP_NET_ADMIN).
472− '';
473−
474− kernel-netlink.fwmark = mkOptionalStrParam ''
475− Firewall mark to set on the routing rule that directs traffic to our own
476− routing table. The format is <literal>[!]mark[/mask]</literal>, where the
477− optional exclamation mark inverts the meaning (i.e. the rule only applies to
478− packets that don't match the mark). A possible use case are host-to-host
479− tunnels with kernel-libipsec. When set to !<mark> a more efficient
480− lookup for source and next-hop addresses may also be used since 5.3.3.
481− '';
482−
483− kernel-netlink.mss = mkIntParam 0 ''
484− MSS to set on installed routes, 0 to disable.
485− '';
486−
487− kernel-netlink.mtu = mkIntParam 0 ''
488− MTU to set on installed routes, 0 to disable.
489− '';
490−
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−
497− kernel-netlink.receive_buffer_size = mkIntParam 0 ''
498− Maximum Netlink socket receive buffer in bytes. This value controls how many
499− bytes of Netlink messages can be received on a Netlink socket. The default
500− value is set by <literal>/proc/sys/net/core/rmem_default</literal>. The
501− specified value cannot exceed the system-wide maximum from
502− <literal>/proc/sys/net/core/rmem_max</literal>, unless
503− <option>force_receive_buffer_size</option> is enabled.
504− '';
505−
506− kernel-netlink.roam_events = mkYesNoParam yes ''
507− Whether to trigger roam events when interfaces, addresses or routes
508− change.
509− '';
510−
511− kernel-netlink.set_proto_port_transport_sa = mkYesNoParam no ''
512− Whether to set protocol and ports in the selector installed on transport
513− mode IPsec SAs in the kernel. While doing so enforces policies for
514− inbound traffic, it also prevents the use of a single IPsec SA by more
515− than one traffic selector.
516− '';
517−
518− kernel-netlink.spdh_thresh.ipv4.lbits = mkIntParam 32 ''
519− Local subnet XFRM policy hashing threshold for IPv4.
520− '';
521−
522− kernel-netlink.spdh_thresh.ipv4.rbits = mkIntParam 32 ''
523− Remote subnet XFRM policy hashing threshold for IPv4.
524− '';
525−
526− kernel-netlink.spdh_thresh.ipv6.lbits = mkIntParam 128 ''
527− Local subnet XFRM policy hashing threshold for IPv6.
528− '';
529−
530− kernel-netlink.spdh_thresh.ipv6.rbits = mkIntParam 128 ''
531− Remote subnet XFRM policy hashing threshold for IPv6.
532− '';
533−
534− kernel-netlink.xfrm_acq_expires = mkIntParam 165 ''
535− Lifetime of XFRM acquire state created by the kernel when traffic matches a
536− trap policy. The value gets written to
537− <literal>/proc/sys/net/core/xfrm_acq_expires</literal>. Indirectly controls
538− the delay between XFRM acquire messages triggered by the kernel for a trap
539− policy. The same value is used as timeout for SPIs allocated by the
540− kernel. The default value equals the default total retransmission timeout
541− for IKE messages (since 5.5.3 this value is determined dynamically based on
542− the configuration).
543− '';
544−
545− kernel-pfkey.events_buffer_size = mkIntParam 0 ''
546− Size of the receive buffer for the event socket (0 for default
547− size). Because events are received asynchronously installing e.g. lots
548− of policies may require a larger buffer than the default on certain
549− platforms in order to receive all messages.
550− '';
551−
552− kernel-pfroute.vip_wait = mkIntParam 1000 ''
553− Time in ms to wait until virtual IP addresses appear/disappear before
554− failing.
555− '';
556−
557− led.activity_led = mkOptionalStrParam "";
558−
559− led.blink_time = mkIntParam 50 "";
560−
561− load-tester = {
562− addrs = mkAttrsOfParam (mkOptionalStrParam "") ''
563− Section that contains key/value pairs with address pools (in CIDR
564− notation) to use for a specific network interface e.g.
565− <literal>eth0 = 10.10.0.0/16</literal>.
566− '';
567−
568− addrs_keep = mkYesNoParam no ''
569− Whether to keep dynamic addresses even after the associated SA got
570− terminated.
571− '';
572−
573− addrs_prefix = mkIntParam 16 ''
574− Network prefix length to use when installing dynamic addresses.
575− If set to -1 the full address is used (i.e. 32 or 128).
576− '';
577−
578− ca_dir = mkOptionalStrParam ''
579− Directory to load (intermediate) CA certificates from.
580− '';
581−
582− child_rekey = mkIntParam 600 ''
583− Seconds to start CHILD_SA rekeying after setup.
584− '';
585−
586− crl = mkOptionalStrParam ''
587− URI to a CRL to include as certificate distribution point in generated
588− certificates.
589− '';
590−
591− delay = mkIntParam 0 ''
592− Delay between initiatons for each thread.
593− '';
594−
595− delete_after_established = mkYesNoParam no ''
596− Delete an IKE_SA as soon as it has been established.
597− '';
598−
599− digest = mkStrParam "sha1" ''
600− Digest algorithm used when issuing certificates.
601− '';
602−
603− dpd_delay = mkIntParam 0 ''
604− DPD delay to use in load test.
605− '';
606−
607− dynamic_port = mkIntParam 0 ''
608− Base port to be used for requests (each client uses a different port).
609− '';
610−
611− eap_password = mkStrParam "default-pwd" ''
612− EAP secret to use in load test.
613− '';
614−
615− enable = mkYesNoParam no ''
616− Enable the load testing plugin. **WARNING**: Never enable this plugin on
617− productive systems. It provides preconfigured credentials and allows an
618− attacker to authenticate as any user.
619− '';
620−
621− esp = mkStrParam "aes128-sha1" ''
622− CHILD_SA proposal to use for load tests.
623− '';
624−
625− fake_kernel = mkYesNoParam no ''
626− Fake the kernel interface to allow load-testing against self.
627− '';
628−
629− ike_rekey = mkIntParam 0 ''
630− Seconds to start IKE_SA rekeying after setup.
631− '';
632−
633− init_limit = mkIntParam 0 ''
634− Global limit of concurrently established SAs during load test.
635− '';
636−
637− initiator = mkStrParam "0.0.0.0" ''
638− Address to initiate from.
639− '';
640−
641− initiators = mkIntParam 0 ''
642− Number of concurrent initiator threads to use in load test.
643− '';
644−
645− initiator_auth = mkStrParam "pubkey" ''
646− Authentication method(s) the intiator uses.
647− '';
648−
649− initiator_id = mkOptionalStrParam ''
650− Initiator ID used in load test.
651− '';
652−
653− initiator_match = mkOptionalStrParam ''
654− Initiator ID to match against as responder.
655− '';
656−
657− initiator_tsi = mkOptionalStrParam ''
658− Traffic selector on initiator side, as proposed by initiator.
659− '';
660−
661− initiator_tsr = mkOptionalStrParam ''
662− Traffic selector on responder side, as proposed by initiator.
663− '';
664−
665− iterations = mkIntParam 1 ''
666− Number of IKE_SAs to initiate by each initiator in load test.
667− '';
668−
669− issuer_cert = mkOptionalStrParam ''
670− Path to the issuer certificate (if not configured a hard-coded default
671− value is used).
672− '';
673−
674− issuer_key = mkOptionalStrParam ''
675− Path to private key that is used to issue certificates (if not configured
676− a hard-coded default value is used).
677− '';
678−
679− mode = mkEnumParam ["tunnel" "transport" "beet"] "tunnel" ''
680− IPsec mode to use.
681− '';
682−
683− pool = mkOptionalStrParam ''
684− Provide INTERNAL_IPV4_ADDRs from a named pool.
685− '';
686−
687− preshared_key = mkStrParam "<default-psk>" ''
688− Preshared key to use in load test.
689− '';
690−
691− proposal = mkStrParam "aes128-sha1-modp768" ''
692− IKE proposal to use in load test.
693− '';
694−
695− responder = mkStrParam "127.0.0.1" ''
696− Address to initiation connections to.
697− '';
698−
699− responder_auth = mkStrParam "pubkey" ''
700− Authentication method(s) the responder uses.
701− '';
702−
703− responder_id = mkOptionalStrParam ''
704− Responder ID used in load test.
705− '';
706−
707− responder_tsi = mkStrParam "initiator_tsi" ''
708− Traffic selector on initiator side, as narrowed by responder.
709− '';
710−
711− responder_tsr = mkStrParam "initiator_tsr" ''
712− Traffic selector on responder side, as narrowed by responder.
713− '';
714−
715− request_virtual_ip = mkYesNoParam no ''
716− Request an INTERNAL_IPV4_ADDR from the server.
717− '';
718−
719− shutdown_when_complete = mkYesNoParam no ''
720− Shutdown the daemon after all IKE_SAs have been established.
721− '';
722−
723− socket = mkStrParam "unix://\\\${piddir}/charon.ldt" ''
724− Socket provided by the load-tester plugin.
725− '';
726−
727− version = mkIntParam 0 ''
728− IKE version to use (0 means use IKEv2 as initiator and accept any version
729− as responder).
730− '';
731− };
732−
733− lookip.socket = mkStrParam "unix://\\\${piddir}/charon.lkp" ''
734− Socket provided by the lookip plugin.
735− '';
736−
737− ntru.max_drbg_requests = mkIntParam 4294967294 ''
738− Number of pseudo-random bit requests from the DRBG before an automatic
739− reseeding occurs.
740− '';
741−
742− ntru.parameter_set =
743− mkEnumParam ["x9_98_speed" "x9_98_bandwidth" "x9_98_balance" "optimum"] "optimum" ''
744− The following parameter sets are available:
745− <literal>x9_98_speed</literal>, <literal>x9_98_bandwidth</literal>,
746− <literal>x9_98_balance</literal> and <literal>optimum</literal>, the last
747− set not being part of the X9.98 standard but having the best performance.
748− '';
749−
750− openssl.engine_id = mkStrParam "pkcs11" ''
751− ENGINE ID to use in the OpenSSL plugin.
752− '';
753−
754− openssl.fips_mode = mkIntParam 0 ''
755− Set OpenSSL FIPS mode:
756− <itemizedlist>
757− <listitem><para>disabled (0),</para></listitem>
758− <listitem><para>enabled (1),</para></listitem>
759− <listitem><para>Suite B enabled (2).</para></listitem>
760− </itemizedlist>
761− Defaults to the value configured with the
762− <literal>--with-fips-mode</literal> option.
763−
764− '';
765−
766− osx-attr.append = mkYesNoParam yes ''
767− Whether DNS servers are appended to existing entries, instead of
768− replacing them.
769− '';
770−
771− pkcs11.load_certs = mkYesNoParam yes ''
772− Whether to load certificates from tokens.
773− '';
774−
775− pkcs11.modules = mkAttrsOfParams {
776− path = mkOptionalStrParam ''
777− Full path to the shared object file of this PKCS#11 module
778− '';
779−
780− os_locking = mkYesNoParam no ''
781− Whether OS locking should be enabled for this module
782− '';
783−
784− load_certs = mkYesNoParam no ''
785− Whether the PKCS#11 modules should load certificates from tokens (since 5.0.2)
786− '';
787− } ''
788− List of available PKCS#11 modules, see SmartCardsIKEv2.
789− '';
790−
791− pkcs11.reload_certs = mkYesNoParam no ''
792− Reload certificates from all tokens if charon receives a SIGHUP.
793− '';
794−
795− pkcs11.use_dh = mkYesNoParam no ''
796− Whether the PKCS#11 modules should be used for DH and ECDH.
797− '';
798−
799− pkcs11.use_ecc = mkYesNoParam no ''
800− Whether the PKCS#11 modules should be used for ECDH and ECDSA public key
801− operations. ECDSA private keys are used regardless of this option.
802− '';
803−
804− pkcs11.use_hasher = mkYesNoParam no ''
805− Whether the PKCS#11 modules should be used to hash data.
806− '';
807−
808− pkcs11.use_pubkey = mkYesNoParam no ''
809− Whether the PKCS#11 modules should be used for public key operations,
810− even for keys not stored on tokens.
811− '';
812−
813− pkcs11.use_rng = mkYesNoParam no ''
814− Whether the PKCS#11 modules should be used as RNG.
815− '';
816−
817− radattr.dir = mkOptionalStrParam ''
818− Directory where RADIUS attributes are stored in client-ID specific
819− files, see radattr.
820− '';
821−
822− radattr.message_id = mkIntParam (-1) ''
823− RADIUS attributes are added to all IKE_AUTH messages by default (-1), or
824− only to the IKE_AUTH message with the given IKEv2 message ID.
825− '';
826−
827− random.random = mkStrParam "/dev/random" ''
828− File to read random bytes from.
829− '';
830−
831− random.urandom = mkStrParam "/dev/urandom" ''
832− File to read pseudo random bytes from.
833− '';
834−
835− random.strong_equals_true = mkYesNoParam no ''
836− If enabled the RNG_STRONG class reads random bytes from the same source
837− as the RNG_TRUE class.
838− '';
839−
840− resolve.file = mkStrParam "/etc/resolv.conf" ''
841− File used by the resolve plugin to write DNS server entries to.
842− '';
843−
844− resolve.resolvconf.iface_prefix = mkStrParam "lo.inet.ipsec." ''
845− Prefix used by the resolve plugin for interface names sent to
846− resolvconf(8). The name server address is appended to this prefix to
847− make it unique. The result has to be a valid interface name according to
848− the rules defined by resolvconf. Also, it should have a high priority
849− according to the order defined in interface-order(5).
850− '';
851−
852− revocation.enable_crl = mkYesNoParam yes ''
853− Whether CRL validation should be enabled.
854− '';
855−
856− revocation.enable_ocsp = mkYesNoParam yes ''
857− Whether OCSP validation should be enabled.
858− '';
859−
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−
879− socket-default.fwmark = mkOptionalStrParam ''
880− Firewall mark to set on outbound packets (a possible use case are
881− host-to-host tunnels with kernel-libipsec).
882− '';
883−
884− socket-default.set_source = mkYesNoParam yes ''
885− Set source address on outbound packets, if possible.
886− '';
887−
888− socket-default.set_sourceif = mkYesNoParam no ''
889− Force sending interface on outbound packets, if possible. This allows
890− using IPv6 link-local addresses as tunnel endpoints.
891− '';
892−
893− socket-default.use_ipv4 = mkYesNoParam yes ''
894− Listen on IPv4, if possible.
895− '';
896−
897− socket-default.use_ipv6 = mkYesNoParam yes ''
898− Listen on IPv6, if possible.
899− '';
900−
901− sql.database = mkOptionalStrParam ''
902− Database URI for charon's SQL plugin. If it contains a password, make
903− sure to adjust the permissions of the config file accordingly.
904− '';
905−
906− sql.loglevel = mkIntParam (-1) ''
907− Loglevel for logging to SQL database.
908− '';
909−
910− stroke.allow_swap = mkYesNoParam yes ''
911− Analyze addresses/hostnames in left/right to detect which side is local
912− and swap configuration options if necessary. If disabled left is always
913− local.
914− '';
915−
916− stroke.ignore_missing_ca_basic_constraint = mkYesNoParam no ''
917− Treat certificates in ipsec.d/cacerts and ipsec.conf ca sections as CA
918− certificates even if they don't contain a CA basic constraint.
919− '';
920−
921− stroke.max_concurrent = mkIntParam 4 ''
922− Maximum number of stroke messages handled concurrently.
923− '';
924−
925− stroke.secrets_file = mkStrParam "\${sysconfdir}/ipsec.secrets" ''
926− Location of the ipsec.secrets file.
927− '';
928−
929− stroke.socket = mkStrParam "unix://\${piddir}/charon.ctl" ''
930− Socket provided by the stroke plugin.
931− '';
932−
933− stroke.timeout = mkIntParam 0 ''
934− Timeout in ms for any stroke command. Use 0 to disable the timeout.
935− '';
936−
937− systime-fix.interval = mkIntParam 0 ''
938− Interval in seconds to check system time for validity. 0 disables the
939− check. See systime-fix plugin.
940− '';
941−
942− systime-fix.reauth = mkYesNoParam no ''
943− Whether to use reauth or delete if an invalid cert lifetime is detected.
944− '';
945−
946− systime-fix.threshold = mkOptionalStrParam ''
947− Threshold date where system time is considered valid. Disabled if not
948− specified.
949− '';
950−
951− systime-fix.threshold_format = mkStrParam "%Y" ''
952− strptime(3) format used to parse threshold option.
953− '';
954−
955− systime-fix.timeout = mkDurationParam "0s" ''
956− How long to wait for a valid system time if an interval is
957− configured. 0 to recheck indefinitely.
958− '';
959−
960− tnc-ifmap.client_cert = mkOptionalStrParam ''
961− Path to X.509 certificate file of IF-MAP client.
962− '';
963−
964− tnc-ifmap.client_key = mkOptionalStrParam ''
965− Path to private key file of IF-MAP client.
966− '';
967−
968− tnc-ifmap.device_name = mkOptionalStrParam ''
969− Unique name of strongSwan server as a PEP and/or PDP device.
970− '';
971−
972− tnc-ifmap.renew_session_interval = mkIntParam 150 ''
973− Interval in seconds between periodic IF-MAP RenewSession requests.
974− '';
975−
976− tnc-ifmap.server_cert = mkOptionalStrParam ''
977− Path to X.509 certificate file of IF-MAP server.
978− '';
979−
980− tnc-ifmap.server_uri = mkStrParam "https://localhost:8444/imap" ''
981− URI of the form <literal>[https://]servername[:port][/path]</literal>.
982− '';
983−
984− tnc-ifmap.username_password = mkOptionalStrParam ''
985− Credentials of IF-MAP client of the form
986− <literal>username:password</literal>. If set, make sure to adjust the
987− permissions of the config file accordingly.
988− '';
989−
990− tnc-imc.dlcose = mkYesNoParam yes ''
991− Unload IMC after use.
992− '';
993−
994− tnc-imc.preferred_language = mkStrParam "en" ''
995− Preferred language for TNC recommendations.
996− '';
997−
998− tnc-imv.dlcose = mkYesNoParam yes ''
999− Unload IMV after use.
1000− '';
1001−
1002− tnc-imv.recommendation_policy = mkEnumParam ["default" "any" "all"] "default" ''
1003− default TNC recommendation policy.
1004− '';
1005−
1006− tnc-pdp.pt_tls.enable = mkYesNoParam yes ''
1007− Enable PT-TLS protocol on the strongSwan PDP.
1008− '';
1009−
1010− tnc-pdp.pt_tls.port = mkIntParam 271 ''
1011− PT-TLS server port the strongSwan PDP is listening on.
1012− '';
1013−
1014− tnc-pdp.radius.enable = mkYesNoParam yes ''
1015− Enable RADIUS protocol on the strongSwan PDP.
1016− '';
1017−
1018− tnc-pdp.radius.method = mkStrParam "ttls" ''
1019− EAP tunnel method to be used.
1020− '';
1021−
1022− tnc-pdp.radius.port = mkIntParam 1812 ''
1023− RADIUS server port the strongSwan PDP is listening on.
1024− '';
1025−
1026− tnc-pdp.radius.secret = mkOptionalStrParam ''
1027− Shared RADIUS secret between strongSwan PDP and NAS. If set, make sure
1028− to adjust the permissions of the config file accordingly.
1029− '';
1030−
1031− tnc-pdp.server = mkOptionalStrParam ''
1032− Name of the strongSwan PDP as contained in the AAA certificate.
1033− '';
1034−
1035− tnc-pdp.timeout = mkOptionalIntParam ''
1036− Timeout in seconds before closing incomplete connections.
1037− '';
1038−
1039− tnccs-11.max_message_size = mkIntParam 45000 ''
1040− Maximum size of a PA-TNC message (XML & Base64 encoding).
1041− '';
1042−
1043− tnccs-20.max_batch_size = mkIntParam 65522 ''
1044− Maximum size of a PB-TNC batch (upper limit via PT-EAP = 65529).
1045− '';
1046−
1047− tnccs-20.max_message_size = mkIntParam 65490 ''
1048− Maximum size of a PA-TNC message (upper limit via PT-EAP = 65497).
1049− '';
1050−
1051− tnccs-20.mutual = mkYesNoParam no ''
1052− Enable PB-TNC mutual protocol.
1053− '';
1054−
1055− tpm.use_rng = mkYesNoParam no ''
1056− Whether the TPM should be used as RNG.
1057− '';
1058−
1059− unbound.dlv_anchors = mkOptionalStrParam ''
1060− File to read trusted keys for DLV from. It uses the same format as
1061− <option>trust_anchors</option>. Only one DLV can be configured, which is
1062− then used as a root trusted DLV, this means that it is a lookaside for the
1063− root.
1064− '';
1065−
1066− unbound.resolv_conf = mkStrParam "/etc/resolv.conf" ''
1067− File to read DNS resolver configuration from.
1068− '';
1069−
1070− unbound.trust_anchors = mkStrParam "/etc/ipsec.d/dnssec.keys" ''
1071− File to read DNSSEC trust anchors from (usually root zone KSK). The
1072− format of the file is the standard DNS Zone file format, anchors can be
1073− stored as DS or DNSKEY entries in the file.
1074− '';
1075−
1076− updown.dns_handler = mkYesNoParam no ''
1077− Whether the updown script should handle DNS servers assigned via IKEv1
1078− Mode Config or IKEv2 Config Payloads (if enabled they can't be handled
1079− by other plugins, like resolve).
1080− '';
1081−
1082− vici.socket = mkStrParam "unix://\${piddir}/charon.vici" ''
1083− Socket the vici plugin serves clients.
1084− '';
1085−
1086− whitelist.enable = mkYesNoParam yes ''
1087− Enable loaded whitelist plugin.
1088− '';
1089−
1090− whitelist.socket = mkStrParam "unix://\${piddir}/charon.wlst" ''
1091− Socket provided by the whitelist plugin.
1092− '';
1093−
1094− xauth-eap.backend = mkStrParam "radius" ''
1095− EAP plugin to be used as backend for XAuth credential verification, see
1096− XAuthEAP.
1097− '';
1098−
1099− xauth-pam.pam_service = mkStrParam "login" ''
1100− PAM service to be used for authentication, see XAuthPAM.
1101− '';
1102−
1103− xauth-pam.session = mkYesNoParam no ''
1104− Open/close a PAM session for each active IKE_SA.
1105− '';
1106−
1107− xauth-pam.trim_email = mkYesNoParam yes ''
1108− If an email address is given as an XAuth username, trim it to just the
1109− username part.
1110− '';
1111−}