File: v20.rst

package info (click to toggle)
fastd 22-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,872 kB
  • sloc: asm: 15,114; ansic: 11,284; yacc: 599; sh: 472; makefile: 160; python: 35; perl: 11
file content (41 lines) | stat: -rw-r--r-- 1,579 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
fastd v20
=========

New features
~~~~~~~~~~~~

* The OpenWrt init script has been migrated to *USE_PROCD*. This allows
  automatic restarts of fastd in the case of crashes.

  - The UCI options ``up`` and ``down`` have been removed, as their
    implementation was incompatible with procd-managed services. Use the options
    ``on_up`` and ``on_down`` instead.

* Stale status sockets are deleted automatically now, so a restart after a crash
  does not fail. To avoid deleting active status sockets, a lock file is created
  next to the socket file.

Bugfixes
~~~~~~~~

* The *forward* feature was implemented incorrectly for configurations that use
  different encryption methods for different peers. As *forward* is generally
  disabled when running mesh routing protocols over fastd, affected
  configurations are very uncommon.

  - Packets forwarded from peers using the *null* method were not aligned
    correctly, which could lead to inferior performance or crashes on non-x86
    platforms.
  - Certain combinations of encryption methods led to crashes due to
    insuffucient buffer space, triggering an assertion failure.

Other changes
~~~~~~~~~~~~~

* The CMake-based build system of fastd has been replaced with the more modern
  `Meson <https://mesonbuild.com/>`_. Updated build instructions can be found
  in the :doc:`../devel/building` section.
* Memory management of fastd's packet buffers has been optimized, increasing
  throughput by 5~10% for many encryption methods, especially on low-end
  hardware.
* The fastd build requires at least Bison 2.6 now.