forked from freifunk-gluon/gluon
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V2023.2.x parker #1
Open
maurerle
wants to merge
28
commits into
ffbs:v2023.2.x-parker
Choose a base branch
from
ffac:v2023.2.x-parker
base: v2023.2.x-parker
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Jan Luebbe <[email protected]>
This change alles meshed PARKER-Nodes to forward IPv6 to the next node. Signed-off-by: Chrissi^ <[email protected]>
Using this change an VPN-node announces it's own IPv6 as DNS server. /tmp/addr6 is written by nodeoute.lua during runtime configuration. Signed-off-by: Chrissi^ <[email protected]>
When multiple routers are in the same local mesh and clients roam from one (A) to the next (B), the change of global IP and default gateway are not synchronized. This leads to packets with an address belonging to router A to be sent via router B (or the other way around). Those packets are then dropped by wireguard at the concentrator. To avoid this, we let gluon-radv-filterd monitor router advertisements and keep a list of neighbouring v6 networks. With this information, it can maintain a set of ebtables DNAT rules to redirect the packets to the matching gateway. Signed-off-by: Jan Luebbe <[email protected]>
This change let's uradvd deliver the v6 link-local of this node as DNS. With this change DNS-requests are not affected by the radv-filterd -rewrites during roaming. Signed-off-by: Chrissi^ <[email protected]>
Packets which have a destination MAC of other local nodes should not be redirected, as this possibly results in routing loops in networks with more than one uplink. Signed-off-by: Jan Luebbe <[email protected]>
This change removes the prefix4 and prefix6 attributes from the site.conf. These do not make sense in the context of parker. Packages that are usually used in parker do not use these anymore. Some other packages do - you should not enable those :-) With this change a ipv6 route to prefix_6 will no longer be set on br-client. Systems that already have this route will keep it. With this change the (not working) redirect in the http status page has been removed. We should consider to add this later on.
respondd drops existing json object if any provider returns NULL, so we need to return an empty object instead.
For parker we need DHCP on the client interface. Ths rule prevents us from doing so. In addition: make sure old rules will be deleted on upgrade.
Finding the actual IPv4 address of the node relied on "-br" of ip. Since Gluon v2022 we must live with busybox ip... This change works around this change...
A popen of `ebtables` can block, when there is already another instance running. This timeout was intended to be 1 second. So we should wait at least that long. Signed-off-by: Chris Fiege <[email protected]>
For the redirect login implemented for parker, it is beneficial to keep a list of seen routers and mark them as expired instead of removing them from the global routers list. This way we don't enter a new redirect entry for the same router when it shows up again after a mesh link failure. All foreach loops should be adjusted to correctly ignore expired routers. Signed-off-by: Rouven Czerwinski <[email protected]>
This change overrides the gluon-core vpn-provider logic and makes sure that mesh-vpn get's enabled when the user set the corresponding option in the wizzard. It also sets the simple-tc traffic limits.
This reverts commit a8a703d.
This reverts commit 5a6d1e7.
SmithChart
force-pushed
the
v2023.2.x-parker
branch
from
November 6, 2024 18:22
ec3141b
to
8bca52c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This reverts the two vpn provider related patches, which are not required when using
gluon-mesh-vpn-parker
orffbs-mesh-vpn-parker
from SmithChart/community-packages@topic/parker...ffac:community-packages:parker