summaryrefslogtreecommitdiff
path: root/src/feature/nodelist/dirlist.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-01-28 09:39:09 -0500
committerDavid Goulet <dgoulet@torproject.org>2020-02-11 09:58:28 -0500
commit6d9113d2f65b6e3142efdaa91a5b4761cd197be8 (patch)
tree35f3ca2ecc4a322905dc0b3127716a4acfab87f7 /src/feature/nodelist/dirlist.c
parent735aa208b1592e166d03ec96e90422293d26b98a (diff)
downloadtor-6d9113d2f65b6e3142efdaa91a5b4761cd197be8.tar.gz
tor-6d9113d2f65b6e3142efdaa91a5b4761cd197be8.zip
dirauth: Resume sending 503 directory error code
Authorities were never sending back 503 error code because by design they should be able to always answer directory requests regardless of bandwidth capacity. However, that recently backfired because of a large number of requests from unknown source using the DirPort that are _not_ getting their 503 code which overloaded the DirPort leading to the authority to be unable to answer to its fellow authorities. This is not a complete solution to the problem but it will help ease off the load on the authority side by sending back 503 codes *unless* the connection is from a known relay or an authority. Fixes #33029 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/nodelist/dirlist.c')
0 files changed, 0 insertions, 0 deletions