-
Notifications
You must be signed in to change notification settings - Fork 27
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
listening on new respondd multicast group #107
Comments
As remarked in nodejs/help#2073 (comment), too: You can set a more specific multicast route for the multicast group and interface you want to send it to. Usually this should work:
Also see: https://stackoverflow.com/a/13149495 But if hopglass could add a configuration option to bind the network socket to a specific interface that would be the better solution. As that would allow multiple instances on the same host, too. (which the multicast route option probably will not work with) Anyway, the getaddrinfo should only be called for "ff05::2:1001" and not "ff05::2:1001%br-client". A %<iface> is only granted to work for link-local addresses (ff02:... fe80:... etc.). |
@anoymouserver: have you tried for "function retrieve()" to change this:
to this:
|
Your suggested adjustment works fine using the old address, but with the new address I can only reach the servers running ext-respondd. |
@anoymouserver: Hm, this sounds strange. Which Gluon version are those nodes running? |
so is this a valid solution? I don't understand the ip commands, and we don't have a bat0 interface on our hopglass server. For an ip-n00b: What would be the command to make old (2018.2.x) and new (2019.1) nodes work with hopglass? And on which server would we have to apply that rule? |
|
@T-X, most of the nodes are running gluon v2017.1.8, some newer version until v2019.1. I've narrowed it down to the iptables rules used by gluon. They seem to block requests coming from |
That it uses a global The |
We are also having trouble setting up the new multicast address on the hopglass server. I am not even sure if that's a hopglass thing; even just trying to use
Doing the same with EDIT:
Ah, this sounds like Also, if this is not link-local any more, is there some guidance for how to handle the multi-domain case? Our plan was to have a single routing table for all our domains as they do not overlap. If this is a problem now, it seems like really gluon should support configuring that multicast address so that it can be deconflicted. |
Actually in our case the only problem was that our hopglass-server was too old. After updating that to current master, the new address works just fine! |
Did you perform any additional IP/route configuration on the host? Can you post your hopglass-server configuration? I can not reproduce it. |
In Kiel, I upgraded to the latest hopglass, but still no 2019 Knoten ;( |
No I did not to any route configuration. Also the test here was whether after the address change, any nodes still reported updates -- we haven't rolled out 2019.1 yet so I can't say anything about those. EDIT: The first few nodes updated to our experimental channel, and they also seem to work fine. Our hopglass config template is
|
Moin :) We currently have all kind of versions running in our network. We currently try using two announced receivers to have backward compatibility. But I am not sure if it is working. Do we need both? Is there any better way of listening to both? |
For us, using the new address also worked with the old clients that we still had in the network -- but they were all on some 2018 version of gluon at least. How old are things in your network? |
@RalfJung oldest is 2017.1.6, newest is 2019.X (newest available) |
I have just patched gluon to still work with the legacy address for the moment. So new firmwares listen on both and once (almost) all old firmwares are gone we could switch. No idea what we will consider as threshold and when that would be the case. We had no issues with collisions for the old adress so far. I also though about having to receivers but it also looks like this is harder than actually modifying the respondd rc script |
@anoymouserver: @cuechan and I have noticed some firewall issues in Gluon at Freifunk Lübeck, too. I opened a ticket at Gluon (freifunk-gluon/gluon#1959), maybe this is the same issue as yours (and the workaround on the hopglass-server side mentioned in the ticket might work for you too). |
we were successful by applying the change suggestes by @T-X in this thread and the changes from #120 It's late, maybe I'll make a pr from the suggestion by @T-X and wait for the merge of #120 |
I'm trying to get the |
I can't get the new repondd multicast address
ff05::2:1001
to work, but I don't know if it's nodejs or the network configuration.The other mcast address
ff02::2:1001
works without a problem.Excerpt of my (not working) config:
The text was updated successfully, but these errors were encountered: