Commit Graph

84 Commits

Author SHA1 Message Date
Franco Fichtner
361c4806a3 security/tinc: remove sessionClose() 2024-12-17 07:27:26 +01:00
Franco Fichtner
bb69d46537 security/tinc: bump revision 2024-11-05 16:05:12 +01:00
Andrew
343912e454 Remove "pipes" Python module dependency (#4336)
This commit fixes the folowing warning at boot:

<118>/usr/local/opnsense/scripts/OPNsense/Tinc/tincd.py:34: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
2024-11-03 10:38:07 +01:00
Andrew
dd073fd6a6 security/tinc - subnet-down script was added to tinc plugin (#3591) 2023-09-18 14:35:13 +02:00
Franco Fichtner
322862ef71 security/tinc: update version 2023-09-14 09:45:07 +02:00
Ad Schellevis
c6ad8a442b security/tinc: add routes to remote subnets with "subnet-up" script. for https://github.com/opnsense/plugins/pull/3539 2023-09-06 15:16:39 +02:00
Franco Fichtner
57ebc7510f plugins: strip $FreeBSD$ since gone in src.git 2023-09-06 08:28:11 +02:00
Franco Fichtner
37ea19d913 security/tinc: update model again 2023-09-01 09:01:23 +02:00
Franco Fichtner
8e07bd6471 security/tinc: update model 2023-09-01 08:42:48 +02:00
Franco Fichtner
24fd4c0e0c security/tinc: bump revision for now, might change version upon release 2023-08-22 08:20:39 +02:00
Ad Schellevis
1490e00a69 security/tinc: minor style fixes for https://github.com/opnsense/plugins/pull/3528 2023-08-08 18:20:39 +02:00
Andrew
94fcdedf5f security/tinc: add support for "StrictSubnets" variable (#3528) 2023-08-08 18:16:01 +02:00
Franco Fichtner
38a172b488 plugins: remove PLUGIN_FLAVOUR handling and related LibreSSL bits 2023-02-07 09:34:11 +01: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
68bb85ddd9 security/tinc: register device from plugin 2022-08-29 09:56:29 +02:00
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
Ad Schellevis
844093f130 Tinc: copy resolv.conf on startup. closes https://github.com/opnsense/plugins/issues/1390 2019-07-07 14:02:31 +02:00
Ad Schellevis
4604fc89ff Tinc: upgrade scripts to python 3, closes https://github.com/opnsense/plugins/issues/1371 2019-06-19 10:10:20 +02:00
Franco Fichtner
16e9f88b2e plugins: add e-mail address for Ad 2019-01-28 08:15:24 +01:00
Franco Fichtner
4ff026076a src: style sweep 2019-01-14 09:04:33 +01:00
Franco Fichtner
ef79eb0b87 plugins: fix lint-exec fallout, more than expected... 2019-01-02 11:26:11 +01:00
Franco Fichtner
609b47ed18 security/tinc: fix iterator revision bump 2018-12-10 19:24:26 +01:00
Ad Schellevis
94c0467d80 missed some inc files for https://github.com/opnsense/core/issues/2670 2018-11-29 21:10:07 +01:00
Franco Fichtner
8cfa8e749a security/tinc: bump revision 2018-11-06 04:55:35 +01:00
Ad Schellevis
a72e918229 Tinc, cleanup as discussed https://github.com/opnsense/plugins/pull/756 2018-11-04 15:30:11 +01:00
QDaniel
f27d323a86 Set all defined Subnetsto Tinc Config 2018-11-04 15:30:11 +01:00