2014-08-02 19:33:10 +00:00
Gluon 2014.3
============
New hardware support
~~~~~~~~~~~~~~~~~~~~
* Linksys WRT160NL
New features
~~~~~~~~~~~~
New autoupdater
---------------
2014-08-02 20:07:18 +00:00
The autoupdater has been rewritten.
2014-08-02 19:33:10 +00:00
2014-08-02 20:13:32 +00:00
Two new fields have been added to the manifest:
2014-08-02 19:33:10 +00:00
2014-08-02 19:39:41 +00:00
`` DATE ``
2014-08-02 20:07:18 +00:00
Specifies the time and date the update was released. `` make manifest `` will take care of setting it to the correct value.
2014-08-02 19:39:41 +00:00
`` PRIORITY ``
2014-08-02 20:07:18 +00:00
Specifies the maximum number of days until the update should be attempted (thus lower numbers
2014-08-02 19:39:41 +00:00
mean the priority is higher). It must be set either in `` site.mk `` or on the `` make manifest `` command line.
2014-08-02 19:33:10 +00:00
2014-08-02 20:07:18 +00:00
Updates will be attempted at night, between 04:00 and 5:00, with a specific probability.
When less than `` PRIORITY `` days have passed (calculated using `` DATE `` and the current time),
the probability will proportional to the time passed. I.e. the update probability will start at 0
and slowly increase to 1 until `` PRIORITY `` days have passed. From then, the probability will be fixed at 1.
**Note:** For the new update logic to work, a valid NTP server reachable over the mesh (using IPv6) must
2014-08-07 22:59:21 +00:00
be configured in `` site.conf `` . If the autoupdater is unable to determine the correct time, it will fall back to
2014-08-02 20:07:18 +00:00
a behavior similar to the old implementation (i.e. hourly update attempts).
2014-08-02 19:33:10 +00:00
2019-03-10 19:15:25 +00:00
Separation of announced data
2014-08-02 19:33:10 +00:00
----------------------------
The data announced by alfred has been split into two data types:
* *nodeinfo* (type 158) contains all static information about a node
* *statistics* (type 159) contains all dynamic information about a node
Both types also contain a new field `` node_id `` which contains an arbitrary unique ID
2014-08-02 20:07:18 +00:00
(currently the primary MAC address, sans colons) which can be used to match the *nodeinfo*
with *statistics* information.
2014-08-02 19:33:10 +00:00
gluon-announced
---------------
A new daemon has been added in a new package `` gluon-announced `` . This daemon can be
used for querying the *nodeinfo* data of a node via link-local multicast on the ad-hoc
interfaces.
At the moment, this daemon is not used, but we recommend including it in `` site.mk `` nevertheless
2014-08-02 20:07:18 +00:00
as we plan to implement a new status page showing some information about neighbor nodes in
2014-08-02 19:33:10 +00:00
the next version of Gluon.
VPN over IPv6
-------------
2014-08-02 20:07:18 +00:00
It is now possible to use fastd in IPv6 WAN networks. This still needs testing, but it should work well.
2014-08-02 19:33:10 +00:00
2014-08-02 20:07:18 +00:00
Please note that the MTU of 1426 used by many communities for VPN over IPv4 is too big for IPv6 as
2014-08-02 19:33:10 +00:00
the IPv6 header is 20 bytes longer (fastd over IPv4 has an overhead of 66 bytes,
fastd over IPv6 has an overhead of 86 bytes).
More modular Config Mode
------------------------
2014-08-02 20:07:18 +00:00
The package `` gluon-config-mode `` has been split into multiple packages to simplify the development of
2014-08-02 19:33:10 +00:00
extensions. The low-level logic (handling of the button, starting the services for the config mode) has been moved
into a new package `` gluon-setup-mode `` , while `` gluon-config-mode `` only contains the frontend now.
Extended Expert Mode
--------------------
2014-08-02 20:07:18 +00:00
The Expert Mode now has a nice info page. In addition, the new package `` gluon-luci-portconfig `` has been added
2014-08-02 19:33:10 +00:00
which allows simple configuration of batman-adv on the WAN interface.
Site validators
---------------
2019-03-10 19:15:25 +00:00
The content of the `` site.conf `` is now validated when the images are built to make it less likely to accidentally
2014-08-02 19:33:10 +00:00
build broken images.
gluon-firewall
--------------
2014-08-02 20:07:18 +00:00
The package `` gluon-firewall `` has been removed. Its features are now part of the packages `` gluon-core `` and
2014-08-02 19:33:10 +00:00
`` gluon-mesh-batman-adv `` .
gluon-ath9k-workaround
----------------------
This package installs a cron job which tries to recognize ath9k hangs and restart the WLAN while recording some information.
It is very rudimentary and we can't really recommend using it on "production" nodes.
Bugfixes
~~~~~~~~
Improved ath9k stability
------------------------
2014-08-02 20:07:18 +00:00
Multiple bugs in the WLAN driver ath9k have been fixed upstream. This should greatly improve the WLAN stability.
2014-08-02 19:33:10 +00:00
2014-08-02 20:07:18 +00:00
odhcp6c 50 day bug
2014-08-07 15:25:50 +00:00
------------------
2014-08-02 19:33:10 +00:00
An important update for odhcp6c fixes a bug which caused Gluon nodes to lose their IPv6 addresses on br-client after an uptime
2014-08-02 20:07:18 +00:00
of 50 days, making the nodes unable perform automated updates (besides other issues).
2014-08-02 19:33:10 +00:00
IPv6 preference
---------------
Commands like `` wget `` now prefer IPv6 for domains with both AAAA and A records, allowing to use such domains for the autoupdater URLs
2014-08-02 20:07:18 +00:00
and as NTP servers in `` site.conf `` .
2014-08-02 19:33:10 +00:00
Site changes
~~~~~~~~~~~~
* `` site.conf ``
- The `` probability `` fields for the autoupdater branches can be dropped as they aren't used anymore
- The type of the `` enabled `` options of the `` gluon-simple-tc `` configuration has been changed to boolean, so `` true `` and `` false `` must be used instead of 1 and 0 now
* `` site.mk ``
- Obsolete packages:
+ `` gluon-firewall ``
- Recommended new packages:
+ `` gluon-announced ``
+ `` gluon-luci-portconfig ``
2014-08-02 20:07:18 +00:00
- GLUON_PRIORITY must be set in `` site.mk `` or on the `` make manifest `` commandline. Use `` GLUON_PRIORITY ?= 0 `` in `` site.mk `` to allow overriding from the commandline.
2014-08-02 19:33:10 +00:00
Internals
~~~~~~~~~
Some internal changes not mentioned before which are interesting for developers:
* Many more shell scripts have been converted to Lua
* `` gluon-mesh-vpn-fastd `` now uses the new package `` gluon-wan-dnsmasq `` , which provides a secondary DNS server on port 54
that is only reachable from *localhost* and uses the DNS servers on the WAN interface for everything. This allowed us to
remove some ugly hacks which were making the DNS servers used depend on the domain being resolved.
For IPv6, the default route is now controlled via packet marks, so the secondary DNS server and fastd set the packet mark
so they use the default route provided on the WAN interface instead of the mesh.