37 Commits

Author SHA1 Message Date
Franco Fichtner 31f4ce7879 security/stunnel: bump revision 2025-07-21 10:03:57 +02:00
Ad Schellevis e08583f46b security/stunnel - use configd caching to ease priv separation. 2025-07-20 17:14:15 +02:00
Patrick M. Hausen 6864606351 security/stunnel Add LDAP and NNTP to supported STARTTLS protocols (#4788) 2025-07-03 14:21:44 +02:00
Franco Fichtner f240ec0fce plugins: run style-model 2025-07-02 10:46:07 +02:00
Monviech 4b4ec29eca mvc: Replace camelCase API notation with snake_case (#4767)
* mvc: Replace camelCase API notation with snake_case

* mvc: Replace camelCase API notation with snake_case, fixed some special cases in www/caddy
2025-06-23 14:45:51 +02:00
Ad Schellevis a186956c52 security/stunnel - fix regression caused by changed parent save() method (https://github.com/opnsense/core/commit/e36123c99f4ff2a518a927f1807be51186f78577) 2023-12-26 12:38:23 +01:00
Franco Fichtner 57ebc7510f plugins: strip $FreeBSD$ since gone in src.git 2023-09-06 08:28:11 +02:00
Franco Fichtner 13fd1434fc security/stunnel: update model 2023-09-01 08:40:38 +02:00
Franco Fichtner 1a97275116 security/stunnel: revision bump 2023-04-24 07:22:50 +02:00
Ad Schellevis 244833b867 security/stunnel - flush CRL when requested, the code persist the CRL was isolated in https://github.com/opnsense/core/commit/7fec5111bdbd50e80944aa8f808fe6f26e9a9441, the old openssl_crl_* functions where deprecated some time ago. closes https://github.com/opnsense/plugins/issues/3401 2023-04-22 18:26:04 +02:00
Franco Fichtner f045045354 plugins: annotate support tier levels in plugins
PR: https://github.com/opnsense/core/issues/5983
2023-01-18 14:57:32 +01:00
Franco Fichtner e8ef909a94 security/stunnel: fix missing include 2023-01-11 07:55:00 +01:00
Franco Fichtner 3f94700af5 plugins: logoptions= using wrong syslog.LOG_DAEMON value 2023-01-09 12:27:17 +01:00
Johnny S. Lee cc42b52878 security/stunnel: Add missing inclusion (#3240)
PHP Fatal error:  Uncaught Error: Call to undefined function log_msg() in /usr/local/etc/inc/plugins.inc:251
Stack trace:
 0 /usr/local/opnsense/scripts/stunnel/generate_certs.php(89): plugins_configure('crl')
 1 {main}
  thrown in /usr/local/etc/inc/plugins.inc on line 251
2022-12-30 08:19:31 +01:00
Franco Fichtner ec1aad4c69 security/stunnel: improve pkg-descr a little 2022-07-07 08:13:38 +02:00
Ad Schellevis 6ee383dffc security/stunnel: remove optional setting chainIntermediateCAs and ship chain by default. ref https://github.com/opnsense/plugins/pull/2854
While working on the documentation I noticed my previous comment was wrong, which also invalidates the need for an optional setting. When it comes to the "CAfile" setting, the chain shouldn't be provided, for the listener (the server cert) it shouldn't matter at all if you ship the chain since it's not part of the authentication.

This commits simplifies https://github.com/opnsense/plugins/pull/2854 by removing the option. The current documentation online doesn't need any modifications for this.
2022-07-04 16:54:45 +02:00
Franco Fichtner 06a8d618fb security/stunnel: newline for sanity in previous 2022-07-04 15:02:48 +02:00
Ad Schellevis d162124a4f Squashed commit of the following:
commit e873aa41591442e16ec0581fa8b6e8696a1821ff
Author: Ad Schellevis <ad@opnsense.org>
Date:   Mon Jul 4 14:23:32 2022 +0200

    security/stunnel: Add option to chain intermediate CAs (https://github.com/opnsense/plugins/pull/2854), better explain impact and add move to advanced

commit 1e86212ad759a10ae3c229d709a5718ab79208d5
Author: Johnny S. Lee <6614805+johnnyslee@users.noreply.github.com>
Date:   Mon Feb 21 09:52:26 2022 +0800

    security/stunnel: Allow GUI usage of restart action

    For example, we can now select "Restart Stunnel" from
    `Service/ACME-Client/Automations>Run-Command>System-or-Plugin-Command`
    in GUI.

commit 005af925b1e4c96022953757297c5a0782a81825
Author: Johnny S. Lee <6614805+johnnyslee@users.noreply.github.com>
Date:   Mon Feb 21 09:45:28 2022 +0800

    security/stunnel: Add option to chain intermediate CAs

    Add an option, defaults disabled, to chain intermediate CAs which is
    required when using ACME cert.
2022-07-04 14:36:27 +02:00
Franco Fichtner db3fb848d9 plugins: style sweep 2022-05-11 12:07:59 +02:00
Ad Schellevis 45030fabf4 security/stunnel - with the deprecation of __items on our model fields make sure non of our plugins uses the old magic property.
Traversing __items is actually the same as usnig iterateItems(), which should be a valid replacement.

ref https://github.com/opnsense/core/commit/fc8890851a87d3041b820d801e6a386b88ee244b cc @swhite2
2022-04-22 19:17:28 +02:00
Franco Fichtner 8c253fee03 security/stunnel: bump version 2022-03-01 10:04:56 +01:00
Johnny S. Lee 510d55c006 security/stunnel: Fix connect format for IPv6 addresses (#2852)
The current code generates conf line:
```
connect = [::1]:53
```

will end up producing the following:
```
Error resolving "[::1]": Neither nodename nor servname known (EAI_NONAME)
```

stunnel(8) states that an address parameter of an option may be either:
> ...
> A colon-separated pair of IP address (either IPv4, IPv6, or domain name)
  and port number.
> ...

which means there should not be special treatment on IPv6 addresses.
2022-02-21 08:55:21 +01:00
Ad Schellevis f557e2b09a XMLRPC / HA-Sync: add services keyword (introduced https://github.com/opnsense/core/issues/4834) in xmlrpc templates for existing plugins. 2021-03-24 16:35:09 +01:00
Franco Fichtner 7845166d0d security/stunnel: new version 2021-03-05 13:52:44 +01:00
Nicola Bonavita ca30bb9ab6 security/stunnel: Add client mode option to services (#2166) 2021-03-05 11:12:06 +01:00