Commit Graph

69 Commits

Author SHA1 Message Date
Franco Fichtner 122c90e324 plugins: remove obsolete 'remote' keyword 2021-10-29 08:01:53 +02:00
Franco Fichtner 648b18301f plugins: bump a few revisions where metadata changed 2021-03-29 09:48:43 +02: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 cdd4d15db7 security: bump revision numbers 2021-02-22 15:14:23 +01:00
Franco Fichtner d07948cbb1 security/tinc: update revision after fixes 2021-01-14 14:32:14 +01:00
vnxme 0160ec1e4d security/tinc: Fix extaddress field validation (#2187)
It should be 'Y', since any different value is recognized as 'N'
2021-01-14 13:44:59 +01:00
vnxme 22d222a5dd security/tinc: Fix switch mode (after #2110) (#2186)
In switch mode the subnet field is empty, thus the 'subnet' key does not exist in the '_payload' dictionary.
2021-01-14 13:43:16 +01:00
Franco Fichtner c462b0e40f security/tinc: ok to bump version 2020-11-17 14:13:06 +01:00
Ad Schellevis 5dc2478cd7 Tinc: upgrade model version for https://github.com/opnsense/plugins/pull/2110 2020-11-15 19:48:52 +01:00
ElNounch 151bc98f3e Using list view for both external addresses and hosted subnets
Every generated config files last line ends with a newline
2020-11-15 17:56:28 +01:00
ElNounch a3d383b282 Enable usage of no, one or several addresses per hosts 2020-11-14 18:04:00 +01:00
Franco Fichtner d96c8142c0 security/tinc: fix cipher parsing revision bump 2020-09-01 14:00:22 +02:00
Ad Schellevis 6ec1883fa6 security/tinc. list_ciphers compatibility with both libre and open ssl. closes https://github.com/opnsense/plugins/issues/1976 2020-08-15 14:48:10 +02:00
Ad Schellevis 2071e23a61 security/tinc: list_ciphers.py parse issue on 20.7. closes https://github.com/opnsense/plugins/issues/1976 2020-08-13 19:35:50 +02:00
Franco Fichtner 5c004cae08 security/tinc: bump revision after changes 2020-05-19 08:55:21 +02:00
Franco Fichtner c6de3851f5 plugins: style sweep 2020-05-13 08:42:51 +02:00
Ad Schellevis faa23ffae9 Syslog-NG: add templates for https://github.com/opnsense/core/issues/4068 2020-05-12 13:55:27 +02:00
vnxme f2db771984 security/tinc: Fix switch mode (#1733)
* security/tinc: Allow empty subnet for switch mode

A Host class with empty self._payload['subnet'] is considered invalid (lines 38-39). Thus, we can remove self._payload['subnet'] = None from __init__() and add a check for existance to config_text().

* security/tinc: Allow empty subnet for switch mode

Set network.subnet.required and host.subnet.required to N, add a required constraint for network.subnet if network.mode is router.

* security/tinc: Trigger configctl on tinc-up

In order to support various dual-stack configs (primary IPv4/v6 assigned by VPN/Tinc and any combination of alias IPv4/v6 assigned by Firewall/VIP) we need to trigger configctl:
- Primary IPv4: /usr/local/opnsense/service/configd_ctl.py interface newip $interface
- Primary IPv6: /usr/local/opnsense/service/configd_ctl.py interface newipv6 $interface

* security/tinc: Destroy tun/tap interface on stop

Destroying tun/tap interface each time Tinc daemon stops/restarts resolves the issue of losing IPv6 network routes (see #3972).

* security/Tinc: Add a missing reference constraint

The network.mode field is now linked to the network.subnet field.

* security/Tinc: Refactor tincd.py
2020-05-12 12:49:01 +02:00
Franco Fichtner c58730761d security/tinc: latest change warrants a version bump 2020-03-04 09:34:37 +01:00
vnxme 5d448639ed security/tinc: fix a bug in IPv6 support (#1707)
closes https://github.com/opnsense/plugins/issues/1686.
2020-02-20 18:26:09 +01:00
Franco Fichtner 18bc32f3b3 plugins: serious style sweep 2020-02-13 10:42:37 +01:00
Franco Fichtner f1a69249f9 plugins: style sweep 2020-02-10 21:12:05 +01:00
Ad Schellevis d5f20f6faa tinc/log switch to new log view https://github.com/opnsense/plugins/issues/1593 2019-11-28 22:50:50 +01:00
Franco Fichtner 8f2805ef58 plugins: PSR12 for "s" and "w" 2019-10-07 21:40:59 +02:00
Ad Schellevis e2fff6bade tinc: replace subprocess.call, closes https://github.com/opnsense/core/issues/3574 2019-10-07 20:22:47 +02:00