-
Notifications
You must be signed in to change notification settings - Fork 2
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
What should a join proxy due when it has access to multiple registrars? #45
Comments
I would assume the constrained-join-proxy draft can cover this topic? (Not constrained-voucher) |
I transferred the issue. it applies to HTTPS join proxies too. |
Another alternative that was discussed once, is that the Join Proxy doesn't pick or filter: it just "relays" all the discovered Registrars and their type information (as encoded in e.g. key/values) one to one to the Pledges, using its discovery responses to Pledges. E.g. there could be a regular Registrar and a "variant" Registrar, and the Pledge can then discover both and select. The Join Proxy uses different ports to expose these different services and the Pledge makes the choice by connecting to a particular port. however, I think this can become a kind of heavy burden on the Join Proxy! Selecting one seems best as in most cases there will be only 1 Registar. Now we need to think of selection criteria - something simple . |
Correction: there may be a single registrar device/host that offers multiple Registrar services. For example, a classic BRSKI server on port A and a BRSKI-PRM server on port B. How could a Join Proxy possibly select between these two services? |
I agree that the JP can't/shoudn't really pick or filter, and that it should just relay. |
Correction: there may be a single registrar device/host that offers
multiple Registrar services. For example, a classic BRSKI server on port A
and a BRSKI-PRM server on port B. How could a Join Proxy possibly select
between these two services?
This is not any different than two registrars offering one service each, is
it?
|
Indeed, same situation. I added the comment here because we were talking often about multiple Registrars offering a service, which has the mental model of different IP hosts. But the multiple Registrar services could be located on a single IP host also. |
As context: RFC 8995 discovery (Section 4) doesn't mention that a JP could potentially advertise multiple Registrar services; it just defines that the JP advertises a single "Join Proxy" service. It doesn't seem to specify how the JP then selects the Registrar. Maybe that's part of the GRASP protocol: that it would select the "nearest" Registrar by default? |
Yeah, it seems like a quality of implementation issue. In particular, we ought to be able to fix/update/change the JP behaviour without changing the bits on the wire at either side. |
Since we're talking about the Constrained JP for this issue, we can make some simplifying assumptions. E.g. like this:
Why would we not fully define JP behavior in this draft? Because we also have other aspects that aren't fully defined in the current draft, such as when a device decides to become a JP and when the JP function is being switched off for that device.
Yes, that looks fully aligned with my proposal. |
Assume that a Join Proxy is receiving GRASP M_FLOOD messages on it's uplink (ACP) side.
What should it do when it receives announcements from multiple Registrars (distinct v6 locators).
Where does it connect to?
The choices are:
If a packet is forwarded to a Registrar, and it does not reply within ?-seconds, does it then drop that registrar from the list (or put it at the back) if it has others?
The text was updated successfully, but these errors were encountered: