Skip to content

Commit

Permalink
Merge pull request #2230 from freifunk-gluon/release-notes/v2021.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored Jun 10, 2021
2 parents 3f59fdc + 187386c commit 206e0fe
Show file tree
Hide file tree
Showing 6 changed files with 147 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ the future development of Gluon.

Please refrain from using the `master` branch for anything else but development purposes!
Use the most recent release instead. You can list all releases by running `git tag`
and switch to one by running `git checkout v2020.2.3 && make update`.
and switch to one by running `git checkout v2021.1 && make update`.

If you're using the autoupdater, do not autoupdate nodes with anything but releases.
If you upgrade using random master commits the nodes *will break* eventually.
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
# -- Project information -----------------------------------------------------

project = 'Gluon'
copyright = '2015-2020, Project Gluon'
copyright = '2015-2021, Project Gluon'
author = 'Project Gluon'

# The short X.Y version
version = '2020.2+'
version = '2021.1'
# The full version, including alpha/beta/rc tags
release = version

Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ Several Freifunk communities in Germany use Gluon as the foundation of their Fre
:caption: Releases
:maxdepth: 1

releases/v2021.1
releases/v2020.2.3
releases/v2020.2.2
releases/v2020.2.1
Expand Down
140 changes: 140 additions & 0 deletions docs/releases/v2021.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
Gluon 2021.1
============

Important notes
---------------

Upgrades to v2021.1 and later releases are only supported from releases v2018.2 and later. This is due to migrations that have been removed to simplify maintenance.


Added hardware support
----------------------


ath79-generic
~~~~~~~~~~~~~

* Plasma Cloud

- PA300 [#outdoor]_
- PA300E [#outdoor]_

* TP-Link

- Archer C2 v3
- Archer D50 v1


ipq40xx-generic
~~~~~~~~~~~~~~~

* AVM

- FRITZ!Box 7530

* Plasma Cloud

- PA1200 [#outdoor]_
- PA2200


ramips-mt7620
~~~~~~~~~~~~~

* Netgear

- EX3700
- EX3800


.. [#outdoor]
This device is supposed to be set up outdoors and will therefore have its outdoor mode flag automatically enabled.
Major changes
-------------

Multicast optimizations (batman-adv)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In this release, we reenable the multicast optimizations, that have gone through another round of bug squashing upstream. This reduces layer 2 overhead, especially for IPv6 neighbor discovery, because multicast traffic will be converted to unicast traffic when the number of subscribers does not exceed 16. This is beneficial as we would previously drop multicast traffic that wasn't explicitly allowed but now can allow multicast traffic if it wouldn't result in broadcast.


Status page
~~~~~~~~~~~

The status page has received much attention in this release and now exposes many more details that help to understand a node's setup remotely.

Among other things, we now expose wireless client count per radio, the mac80211 identifiers, the frequencies radios are tuned to, as well as information about the VPN provider and details on the mesh protocol stack.


gluon-switch-domain utility
~~~~~~~~~~~~~~~~~~~~~~~~~~~

The ``gluon-switch-domain`` utility has been introduced to allow for a standard way to encapsulate the steps required for safely switching between domains. Existing packages like the hoodselector and the scheduled-domain-switch have been tied in with gluon-switch-domain.

It has an experimental ``--no-reboot`` flag that requires further testing, to ensure it doesn't accidentally bridge separate domains.


Other changes
-------------

- The private WLAN interface is now assigned the interface name `wan_radioX` where X is the phy index.
- Linux kernel has been updated to 4.14.235
- The kernel's mac80211 stack has been updated to 4.19.193-test1 to mitigate the `FragAttacks <https://www.fragattacks.com/>`_ vulnerabilities
- OpenSSL has been updated to 1.1.1k, fixing CVE-2021-3449 and CVE-2021-3450
- Dropbear has been patched against mishandling of special filenames in its scp component (CVE-2020-36524)

Bugfixes
--------

- The firmware partition lookup in gluon-web-admin's firmware update page was using an old partition label and therefore failed to look up the available flash size. This resulted in misleading error messages in case the uploaded firmware file exceeds the flash size.

- Android 9 and higher do not properly wake up to renew their MLD subscriptions, therefore dropping out of the Neighbor Discovery MLD group, which leads to broken IPv6 connectivity after the device has slept for a while. A workaround has been deployed to wake these devices up in regular intervals to prevent this regression.


Internal
--------

Mesh-VPN Abstraction Layer
~~~~~~~~~~~~~~~~~~~~~~~~~~

In preparation for the introduction of new tunneling protocols, the gluon-mesh-vpn framework has been modularized. This allows for providers to use a standard interface and keep their implementation details in a dedicated package.


Continuous Integration
~~~~~~~~~~~~~~~~~~~~~~

* GitHub Actions

- GitHub actions is now enabled for the Gluon project, build-testing all available targets.

- CI jobs are now run based on which paths have been modified.

- Linters for lua and shell scripts have been integrated.


Known issues
------------

* Upgrading EdgeRouter-X from versions before v2020.1.x may lead to a soft-bricked state due to bad blocks on the NAND flash which the NAND driver before this release does not handle well.
(`#1937 <https://github.com/freifunk-gluon/gluon/issues/1937>`_)

* The integration of the BATMAN_V routing algorithm is incomplete.

- Mesh neighbors don't appear on the status page. (`#1726 <https://github.com/freifunk-gluon/gluon/issues/1726>`_)
Many tools have the BATMAN_IV metric hardcoded, these need to be updated to account for the new throughput
metric.
- Throughput values are not correctly acquired for different interface types.
(`#1728 <https://github.com/freifunk-gluon/gluon/issues/1728>`_)
This affects virtual interface types like bridges and VXLAN.

* Default TX power on many Ubiquiti devices is too high, correct offsets are unknown
(`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)

Reducing the TX power in the Advanced Settings is recommended.

* In configurations without VXLAN, the MAC address of the WAN interface is modified even when Mesh-on-WAN is disabled
(`#496 <https://github.com/freifunk-gluon/gluon/issues/496>`_)

This may lead to issues in environments where a fixed MAC address is expected (like VMware when promiscuous mode is disallowed).
2 changes: 1 addition & 1 deletion docs/site-example/site.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- This is an example site configuration for Gluon v2020.2.1
-- This is an example site configuration for Gluon v2021.1
--
-- Take a look at the documentation located at
-- https://gluon.readthedocs.io/ for details.
Expand Down
4 changes: 2 additions & 2 deletions docs/user/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Gluon's releases are managed using `Git tags`_. If you are just getting
started with Gluon we recommend to use the latest stable release of Gluon.

Take a look at the `list of gluon releases`_ and notice the latest release,
e.g. *v2020.2.3*. Always get Gluon using git and don't try to download it
e.g. *v2021.1*. Always get Gluon using git and don't try to download it
as a Zip archive as the archive will be missing version information.

Please keep in mind that there is no "default Gluon" build; a site configuration
Expand Down Expand Up @@ -44,7 +44,7 @@ Building the images
-------------------

To build Gluon, first check out the repository. Replace *RELEASE* with the
version you'd like to checkout, e.g. *v2020.2.3*.
version you'd like to checkout, e.g. *v2021.1*.

::

Expand Down

0 comments on commit 206e0fe

Please sign in to comment.