2023-05-01 19:25:33 +00:00
|
|
|
gluon-nftables-limit-arp
|
2018-05-17 00:02:15 +00:00
|
|
|
========================
|
|
|
|
|
2023-05-01 19:25:33 +00:00
|
|
|
The *gluon-nftables-limit-arp* package adds filters to limit the
|
2019-09-24 22:13:23 +00:00
|
|
|
amount of ARP requests client devices are allowed to send into the
|
|
|
|
mesh.
|
2018-05-17 00:02:15 +00:00
|
|
|
|
|
|
|
The limits per client device, identified by its MAC address, are
|
2019-09-24 22:13:23 +00:00
|
|
|
6 packets per minute and 1 per second per node in total.
|
2018-05-17 00:02:15 +00:00
|
|
|
A burst of up to 50 ARP requests is allowed until the rate-limiting
|
2023-05-01 19:25:33 +00:00
|
|
|
takes effect (see ``--limit-burst`` in ``nftables(8)``).
|
2018-05-17 00:02:15 +00:00
|
|
|
|
|
|
|
Furthermore, ARP requests for a target IP already present in the
|
2019-09-24 22:13:23 +00:00
|
|
|
batman-adv DAT cache are excluded from rate-limiting, in regard
|
2018-05-17 00:02:15 +00:00
|
|
|
to both counting and filtering, as batman-adv will be able
|
|
|
|
to respond locally without a burden for the mesh. Therefore, this
|
|
|
|
limiter should not affect popular target IP addresses, like those
|
|
|
|
of gateways or nameservers.
|
|
|
|
|
|
|
|
However it mitigates the impact on the mesh when a larger range of
|
|
|
|
its IPv4 subnet is being scanned, which would otherwise result in
|
|
|
|
a significant amount of ARP chatter, even for unused IP addresses.
|
|
|
|
|
2019-09-24 22:13:23 +00:00
|
|
|
This package is installed by default if the selected routing
|
|
|
|
feature is *mesh-batman-adv-15*.
|
2019-09-10 21:55:06 +00:00
|
|
|
It can be unselected via::
|
|
|
|
|
|
|
|
GLUON_SITE_PACKAGES := \
|
2023-05-01 19:25:33 +00:00
|
|
|
-gluon-nftables-limit-arp
|