You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the hostname resolution more "pluggable", using separate Resolvers
for reading from /etc/hosts and RAINS.
Resolving from the /etc/hosts file (by hostsfileResolver) now reads the
file on every request instead of parsing on startup. This is more
aligned with what e.g. gethostbyname does, making modifications to the
file visible to running applications.
Because it's easy, add an additional resolver that loads
/etc/scion/hosts, in the same format as /etc/hosts. The idea is that by
having a separate file, we can now easily distribute a simple hosts file
from the coordinator.
Remove the fixed hosts table with `AddHost` and the only
half-implemented reverse lookup `GetHostnamesByAddress`.
Add explicit build tag `norains` to build without RAINS support.
Building with `make 'TAGS=!norains'` will build
without rains.
This is handy e.g. when updating the SCION dependency with API breaking
changes here in scion-apps but RAINS has not yet been updated.
0 commit comments