tor/src/feature
David Goulet 1a347b4790 relay: Deciding to fetch from authority, use new find address API
Use the new relay_has_address_set() interface when deciding if we need to
fetch directory information from an authority as a relay.

If no IPv4 address is found, we'll proceed with a fetch so we can learn our
address in the HTTP header or NETINFO cell that a trusted authority will send
us back.

Related to #40025

Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-20 14:54:13 -04:00
..
api Revert "Restore feature where nt-services detect non-"run_tor" modes." 2020-01-17 08:39:49 -05:00
client pt: Use new address discovery interface when creating extrainfo 2020-07-20 14:54:13 -04:00
control Use CONST_TO_* macros in more places. 2020-07-16 12:55:06 -04:00
dirauth addr: Use tor_addr_t instead of uint32_t for IPv4 2020-07-14 10:36:08 -04:00
dircache Use connection_describe() for log messages. 2020-07-16 09:02:10 -04:00
dirclient relay: Deciding to fetch from authority, use new find address API 2020-07-20 14:54:13 -04:00
dircommon Use CONST_TO_* macros in more places. 2020-07-16 12:55:06 -04:00
dirparse Merge branch 'ticket40033_045_01_squashed' 2020-07-14 10:59:30 -04:00
hibernate Split core/include.am into per-subdirectory include.am files 2020-01-13 09:34:17 -05:00
hs Use connection_describe() for log messages. 2020-07-16 09:02:10 -04:00
hs_common shared_random: Improve fallback for client no-live-consensus case. 2020-03-03 14:35:01 +02:00
keymgt Split core/include.am into per-subdirectory include.am files 2020-01-13 09:34:17 -05:00
nodelist nodelist: Fix possible NULL deref 2020-07-16 13:23:03 -04:00
relay relay: Deciding to fetch from authority, use new find address API 2020-07-20 14:54:13 -04:00
rend addr: Use tor_addr_t instead of uint32_t for IPv4 2020-07-14 10:36:08 -04:00
stats conn: Fix doxygen comment in connstats.c 2020-07-14 09:09:14 -04:00
feature.md Move remaining CodeStructure.md contents into doxygen. 2020-06-26 10:11:42 -04:00