gluon/package
Leonardo Mörlein 5cd0a85405 gluon-mesh-batman-adv: Use source routing for br-client
Router advertisement servers advertise prefixes together with a default
router in layer 2 networks. There may be multiple router advertisement
servers in one layer 2 network. Each of those router advertisement
servers can advertise different prefixes and a different default router.

A client can accept multiple of the advertised prefixes at the same
time. If it does that, it installs an address in each of the advertised
prefixes. It also has to install default routes from the router
advertisements. Since default routers are sometimes not able to
forward ip packets from arbitrary source addresses, the client should
install routes to all default routers and use the correct one depending
on which of the installed addresses it is sending from.

This can be addressed using source based routing. The odhcpv6 script
already attempts to implement this. The setting is named
"sourcefilter". In this commit, we enable it.

	Note, that the following examples show output of ip-full.
	I am not sure, whether the "from" part is acutally shown by
	ip-tiny.

	Before this commit:

	root@platzhalter-525400123457:/# ip -6 route show default
	default via fe80::8ae6:40ff:feba:a099 dev br-client proto static metric 512 pref medium

	After this commit:

	root@platzhalter-525400123457:/# ip -6 route show default
	default from 2001:678:978:199::/64 via fe80::8ae6:40ff:feba:1099 dev br-client proto static metric 512 pref medium
	default from 2a02:790:ff:799::/64 via fe80::8ae6:40ff:feba:1099 dev br-client proto static metric 512 pref medium
	default from 2a02:790:ff:899::/64 via fe80::8ae6:40ff:feba:1099 dev br-client proto static metric 512 pref medium
	default from 2a02:790:ff:999::/64 via fe80::8ae6:40ff:feba:1099 dev br-client proto static metric 512 pref medium
	default from 2a02:790:ff:1099::/64 via fe80::8ae6:40ff:feba:1099 dev br-client proto static metric 512 pref medium
	default from fdca:ffee:8:99::/64 via fe80::8ae6:40ff:feba:1099 dev br-client proto static metric 512 pref medium

Fixes #2180
Tested-By: Leonardo Mörlein <git@irrelefant.net>
2021-02-20 21:26:59 +01:00
..
gluon-alfred gluon-reload: add missing service restarts on domain switching 2020-05-28 23:30:25 +02:00
gluon-authorized-keys gluon-authorized-keys: Force installation of gluon-lock-password 2019-07-02 12:34:55 +02:00
gluon-autoupdater gluon-autoupdater: make site.conf branch setting optional 2020-08-15 16:36:27 +02:00
gluon-client-bridge clean up old cleanup code lines (#2119) 2020-09-17 18:19:59 +02:00
gluon-config-mode-autoupdater treewide: update i18n files via i18n-scan.pl and msgmerge (#1784) 2019-11-09 01:25:33 +01:00
gluon-config-mode-contact-info treewide: update i18n files via i18n-scan.pl and msgmerge (#1784) 2019-11-09 01:25:33 +01:00
gluon-config-mode-core treewide: update i18n files via i18n-scan.pl and msgmerge (#1784) 2019-11-09 01:25:33 +01:00
gluon-config-mode-domain-select treewide: fix luacheck warnings 2019-06-16 22:51:53 +02:00
gluon-config-mode-geo-location treewide: update i18n files via i18n-scan.pl and msgmerge (#1784) 2019-11-09 01:25:33 +01:00
gluon-config-mode-geo-location-osm gluon-config-mode-geo-location-osm, gluon-web-osm: add support for custom tile layers (#2072) 2020-07-05 17:06:59 +02:00
gluon-config-mode-hostname treewide: fix luacheck warnings 2019-06-16 22:51:53 +02:00
gluon-config-mode-mesh-vpn treewide: update i18n files via i18n-scan.pl and msgmerge (#1784) 2019-11-09 01:25:33 +01:00
gluon-config-mode-outdoor gluon-web: don't display outdoor mode on preserve_channels (#2074) 2020-07-05 19:05:27 +02:00
gluon-config-mode-theme gluon-config-mode-theme: add cross-browser styling for <select> elements 2020-07-03 21:53:51 +02:00
gluon-core ipq40xx: add support for Plasma Cloud PA2200 2021-01-13 08:28:12 +01:00
gluon-ebtables gluon-reload: add missing service restarts on domain switching 2020-05-28 23:30:25 +02:00
gluon-ebtables-filter-multicast gluon-ebtables-filter-multicast: allow respondd queries (#2103) 2020-08-29 09:52:55 +02:00
gluon-ebtables-filter-ra-dhcp treewide: move ebtables filter definitions from files to luasrc 2019-06-18 19:52:33 +02:00
gluon-ebtables-limit-arp gluon-reload: add missing service restarts on domain switching 2020-05-28 23:30:25 +02:00
gluon-ebtables-source-filter treewide: move ebtables filter definitions from files to luasrc 2019-06-18 19:52:33 +02:00
gluon-hoodselector packages: introduce syslog function in gluon.util 2020-12-29 01:33:29 +01:00
gluon-iptables-clamp-mss-to-pmtu gluon-iptables-clamp-mss-to-pmtu: clamp mss on all mesh interfaces for all destinations to pmtu 2018-11-21 20:47:39 +01:00
gluon-l3roamd gluon-core: run firewall upgrade script after basic network setup (#2091) 2020-08-14 21:02:55 +02:00
gluon-lock-password treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-logging add gluon-logging package 2020-04-30 01:54:35 +02:00
gluon-mesh-babel treewide: rename local_client zone (#2115) 2020-09-13 05:24:33 +02:00
gluon-mesh-batman-adv gluon-mesh-batman-adv: Use source routing for br-client 2021-02-20 21:26:59 +01:00
gluon-mesh-vpn-core gluon-mesh-vpn-core: Add dependency for KERNEL_NET_ACT_POLICE 2019-08-21 18:37:53 +02:00
gluon-mesh-vpn-fastd gluon-reload: add missing service restarts on domain switching 2020-05-28 23:30:25 +02:00
gluon-mesh-vpn-tunneldigger gluon-reload: add missing service restarts on domain switching 2020-05-28 23:30:25 +02:00
gluon-mesh-wireless-sae wireless-encryption mesh-wireless-sae: depend on OpenSSL daemons 2020-12-16 00:52:27 +01:00
gluon-mmfd gluon-mmfd: add package (#1802) 2019-09-23 21:34:53 +02:00
gluon-neighbour-info gluon-neighbour-info: use default port 1001 and default dest ::1 2020-01-10 00:13:37 +01:00
gluon-node-info treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-radv-filterd gluon-radv-filterd: add string.h and guard to mac.h 2020-07-02 00:17:50 +02:00
gluon-radvd gluon-reload: add missing service restarts on domain switching 2020-05-28 23:30:25 +02:00
gluon-respondd gluon-respondd: fix count_stations() arguments 2021-01-12 04:32:23 +01:00
gluon-scheduled-domain-switch gluon-scheduled-domain-switch: use gluon-switch-domain 2020-07-02 22:35:05 +02:00
gluon-setup-mode gluon-core: add gluon-switch-domain utility 2020-07-02 22:35:05 +02:00
gluon-site gluon-site: print better error message for domain code conflicts (#2098) 2020-08-15 16:11:49 +02:00
gluon-status-page treewide: rename local_client zone (#2115) 2020-09-13 05:24:33 +02:00
gluon-status-page-mesh-batman-adv gluon-status-page-mesh-batman-adv: Save if metrics chose neighbor as own best nexthop 2019-04-09 01:31:51 +02:00
gluon-wan-dnsmasq gluon-wan-dnsmasq: read interfaces to update from flag-files (#2060) 2020-06-30 16:37:09 +02:00
gluon-web gluon-web: import po2lmo tool from luci-base 2019-11-23 17:28:17 +01:00
gluon-web-admin gluon-web-*: remove non-existing CSS classes 2020-07-02 23:43:23 +02:00
gluon-web-autoupdater gluon-web-autoupdater: use human-readable names as branch labels, sort by label 2020-04-26 15:31:59 +02:00
gluon-web-logging treewide: update i18n files via i18n-scan.pl and msgmerge (#1784) 2019-11-09 01:25:33 +01:00
gluon-web-mesh-vpn-fastd gluon-web-*: remove non-existing CSS classes 2020-07-02 23:43:23 +02:00
gluon-web-model gluon-config-mode-theme: add cross-browser styling for <select> elements 2020-07-03 21:53:51 +02:00
gluon-web-network gluon-web-network: fix variable shadowing 2019-08-13 17:49:02 +02:00
gluon-web-node-role gluon-web-node-role: fix node role list 2019-11-05 20:05:16 +01:00
gluon-web-osm gluon-config-mode-geo-location-osm, gluon-web-osm: add support for custom tile layers (#2072) 2020-07-05 17:06:59 +02:00
gluon-web-private-wifi gluon-core: move wireless-related utils to wireless module 2020-05-28 21:46:23 +02:00
gluon-web-wifi-config gluon-web: don't display outdoor mode on preserve_channels (#2074) 2020-07-05 19:05:27 +02:00
gluon-wireless-encryption wireless-encryption mesh-wireless-sae: depend on OpenSSL daemons 2020-12-16 00:52:27 +01:00
libbatadv treewide: remove redundant definitions from package Makefiles 2018-03-07 21:23:41 +01:00
libgluonutil libgluonutil: add missing gluonutil_get_primary_domain() prototype 2021-01-12 04:29:08 +01:00
features features: fix handling of logical expressions 2020-08-28 22:27:38 +02:00
gluon.mk build: make GluonSrcDiet simpler and more robust (#2033) 2020-06-04 22:53:14 +02:00