|
| 1 | +# :zap: Security |
| 2 | + |
| 3 | +- No security fixes since previous release |
| 4 | +- Oldest release with no known [security issue](https://github.com/ovh/the-bastion/security/advisories) is `v3.14.15` (2023-11-08) |
| 5 | + |
| 6 | +# :bulb: Highlights |
| 7 | + |
| 8 | +Will 2025 be the year of IPv6? Let's not try to answer this controversial question and just say that the main change of this pre-release is *drum roll* the official support of IPv6! |
| 9 | +Most of the code was already IPv6-aware, but in some places IPv4 was assumed so these all have been adjusted to work with both IP versions. |
| 10 | +Note that by default, IPv6 support is disabled, we've introduced the ``IPv6Allowed`` boolean option in ``bastion.conf`` that you must set to true to allow egress connections in IPv6. We've also taken this opportunity to add an ``IPv4Allowed`` option, which is enabled by default, you can set it to ``false`` should you want to have a strictly IPv6-only bastion! |
| 11 | +A lot of tests have been added to ensure everything works correctly with this change, but as this is still an important change, and only a few tests have been done in-the-field yet, this'll be a pre-release for a few weeks. |
| 12 | + |
| 13 | +We've also taken this opportunity to make a few other changes, such as: |
| 14 | +- speeding up the ``is_valid_ip`` check (35% speedup, noticeable for groups with thousands of ACLs) |
| 15 | +- set ``ECDSA`` as the default algorithm for generated egress keys instead of RSA, for new installs only ([defaultAccountEgressKeyAlgorithm](https://ovh.github.io/the-bastion/administration/configuration/bastion_conf.html#defaultaccountegresskeyalgorithm)) |
| 16 | + |
| 17 | +Some work has also been done around the unit tests (using the more standard ``TAP::Harness``) and functional tests (speeding them up). |
| 18 | + |
| 19 | +A more complete list of changes can be found below, for an exhaustive (and boring) list, please refer to the [commit log](https://github.com/ovh/the-bastion/compare/v3.18.00...v3.18.99-rc1). |
| 20 | + |
| 21 | +# :pushpin: Changes |
| 22 | +- feat: IPv6 support |
| 23 | +- chg: set ECDSA as default egress key algo for new installs |
| 24 | +- chg: ``groupInfo``: remove deprecated JSON fields |
| 25 | +- enh: 35% faster ``is_valid_ip()`` when fast=1 |
| 26 | +- enh: ``accountInfo``: add osh-only information for accounts |
| 27 | +- enh: tests: add ``--skip-functional-tests`` and ``--skip-unit-tests`` |
| 28 | +- fix: ``accountInfo``: don't attempt (and fail) to display info non-auditors don't have access to |
| 29 | +- fix: ``groupInfo``: don't attempt to (and fail) display the guest list when account doesn't have access to it |
| 30 | +- fix: deny subnets for ``nc``, ``mtr``, ``ping``, ``alive`` plugins |
| 31 | +- fix: is_in_any_net: support matching subnets |
| 32 | +- chore: faster tests by removing grant/revoke command dance |
| 33 | +- chore: tests: no longer run consistency check by default |
| 34 | +- chore: use proper naming of 'subnet' instead of 'prefix' or 'slash' |
| 35 | +- chore: use ``TAP::Harness`` for unit tests |
| 36 | + |
| 37 | +# :fast_forward: Upgrading |
| 38 | + |
| 39 | +- [General upgrade instructions](https://ovh.github.io/the-bastion/installation/upgrading.html) |
| 40 | +- [Specific upgrade instructions for v3.18.99-rc1](https://ovh.github.io/the-bastion/installation/upgrading.html#v3-18-99-rc1-2025-01-03) |
0 commit comments