Skip to content
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

Update address only for newest tls12_cid records. #1012

Merged
merged 1 commit into from
Jul 30, 2019

Conversation

boaks
Copy link
Contributor

@boaks boaks commented Jul 13, 2019

Fix updates with already deprecated addresses.

Signed-off-by: Achim Kraus achim.kraus@bosch-si.com

@boaks
Copy link
Contributor Author

boaks commented Jul 19, 2019

I've updated the implementation, because connectionStore.update(connection, newAddress); is also required to prevent, that the connection is evicted.

There is one issue left:
If a connection (association) has no address (because it's initial address was used for an other connection), and a deprecated record is processed, it's not possible to send a message back.

@boaks
Copy link
Contributor Author

boaks commented Jul 19, 2019

In the meantime, I think, that this requires a extension of the test NAT to explicitly reorder and delay messages to verify the function. But not before the weekend, so this will come next week :-).

@boaks boaks force-pushed the fix_address_update branch 2 times, most recently from 3b64194 to cc7c2cf Compare July 29, 2019 16:09
Considering message reordering, it can't be distinguished, if the
address of an older record, which is received delayed, has a more
up-to-date address or not.

Signed-off-by: Achim Kraus <achim.kraus@bosch-si.com>
@boaks boaks merged commit 48aa680 into eclipse-californium:master Jul 30, 2019
@boaks boaks deleted the fix_address_update branch September 4, 2019 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant