-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add ffbs-mesh-vpn-parker #142
Add ffbs-mesh-vpn-parker #142
Conversation
Well, some of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some comments on the shell code
ffbs-parker-nodeconfig/files/lib/gluon/upgrade/906-parker-nodeconfig
Outdated
Show resolved
Hide resolved
Please see #139 (comment) |
This adds ffbs-parker-nodeconfig - a package of the *parker*-flavor of Gluon. Previously this package has been managed in https://gitli.stratum0.org/ffbs/ffbs-packages under the name `gluon-ffbsnext-nodeconfig`. Last commit-id: 4f83ee2f2571a2baa5493038da7c6fb3cc0b8016
This removes a hard-coded value. Previously, this scripts have only been used by Freifunk Braunschweig. There hard-coding was no issue. Now, with more communities wanting to try parker out, we have to fix those. The `ntp_servers` list has already been introduced by Gluon upstream. With this change we re-use this value here. This also means that the NTP-server for the nodes should be accessible for the clients as well.
This firewall rules make sure, that respondd is only accessible from inside the Freifunk network (client network or VPN) - but not from other interfaces (e.g. `br-wan`). While we were only using it for Freifunk Braunschweig the `src_ip` limitation did not really matter: Per definition these are the only IPv6 addresses on these interfaces anyway. But while preparing this tooling for a wider use we should rethink this decision. There is no need to limit access to a specific IPv6 range, as long as the requests are still coming from the inside.
This check was intended to check if the IPv6 address/routing configuration is sane. But it currently relies on a hard-coded value for ffbs, so it does not make sense to have it for all communities. Lately we did not see this diagnosis trigger, so it's probably safe to remove anyway. If we encounter problems later on we can still add a generic check.
db1097b
to
35b7dc7
Compare
FTR: Appended commits from SmithChart#1 . Thx @maurerle Also added one change from me while I was on it. |
Wouldn't it be useful to also add the additional uci settings required for parker to one of the packages? Specifically: and adding
instead of having this here: This would further reduce the required delta of gluon. |
Do not get me wrong: This suggestion is totally right, but I would like to get forward to get this PR ready to merge at the moment. I would suggest to open an issue against https://github.com/ffbs/gluon-parker/issues and track this suggestion there. After we have got this merged once we can continue to work on reducing the delta of |
@SmithChart the suggestions should have been implemented already with the two PRs you merged today |
I think if we test the current packages with the latest https://github.com/ffbs/gluon-parker |
@maurerle For now it does not work on our side. It is building - but the firmware on the nodes does not work. On the bright side: The problem seems trivial: (On the other hand my automated tests are broken due to the changes in handling of the wg-key. So more error reports are to expect.) |
87b86c2
to
b5fa9e1
Compare
This was fixed by: 7a44727 |
Co-Authored-By: Jan Luebbe <jlu@pengutronix.de>
Co-Authored-By: Jan Luebbe <jlu@pengutronix.de>
Also moving the pubkey file to /tmp/ as it will be written every time that nodeconfig is run.
The mesh_respondd_siteprefix and mesh_respondd_extraprefix[0-9]+ rules do not make sense in the context of parker as there are no prefix4 and prefix6 attributes anymore. Based on ffbs/gluon-parker@2e53380#diff-70c0178fef0afe6aa581fdd24bcd19c5ad4f04874648698469f5f5896dc1b500L36-L43
The name of the dependency has been changed during cleanup. So let's change the dependency here, too.
These new files have been marked as executed, thus they were net executed when upgrading. This commit sets them +x.
Files in rc.d are placed by the build system (as symlinks) anyway and these files never made it to the target.
3408b6f
to
ce1765e
Compare
ce1765e
to
4f321ed
Compare
This is the core package of gluon-parker,
a Gluon fork that uses routing between the nodes
(aka. Router devices) and the infrastructure.
It is currently in use at Freifunk Braunschweig.
Other communities are interested in adopting it as well.
This package installs the
nodeconfig
andnoderoute
services togetherwith a set of new firewall-rules.