netsec-ethz / scion-apps

Public repository for SCION applications
Apache License 2.0
20 stars 43 forks source link

appnet: filter duplicate paths in QueryPaths #161

Closed matzf closed 4 years ago

matzf commented 4 years ago

Filter paths with identical sequence of interfaces. These duplicates occur because sciond may return the same "effective" path with different short-cut "upstream" parts. We don't need these duplicates, the paths are identical for our purposes; we simply pick the one with latest expiry.

See also discussion in scionproto/scion#2445 (currently not merged).


This change is Reviewable