Skip to content

sciond: Add "refresh2" flag for path requests #2871

@lukedirtwalker

Description

@lukedirtwalker

The current refresh flag flushes all segments which contain any local interface and then fetches fresh segments. If the lookup to the PS failed we don't have paths that go out. This is unfortunate for example for monitoring.

A Better refresh would be to do the query towards the PS with a special flag indicating that it should send local revocations that were issued since sciond last checked. This way we also see local revocations, fresh paths, and we don't have to flush anything from the pathdb. If that works for all cases we should replace the old refresh flag with this behavior.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions