tor/src/feature/rend
David Goulet 9ba16c4d03 hs-v3: Close client intro circuits if the descriptor is replaced
When storing a descriptor in the client cache, if we are about to replace an
existing descriptor, make sure to close every introduction circuits of the old
descriptor so we don't have leftovers lying around.

Ticket 27471 describes a situation where tor is sending an INTRODUCE1 cell on
an introduction circuit for which it doesn't have a matching intro point
object (taken from the descriptor).

The main theory is that, after a new descriptor showed up, the introduction
points changed which led to selecting an introduction circuit not used by the
service anymore thus for which we are unable to find the corresponding
introduction point within the descriptor we just fetched.

Closes #27471.

Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-10-18 12:56:51 -04:00
..
rend_authorized_client_st.h Move literally everything out of src/or 2018-07-05 17:15:50 -04:00
rend_encoded_v2_service_descriptor_st.h Move literally everything out of src/or 2018-07-05 17:15:50 -04:00
rend_intro_point_st.h Move literally everything out of src/or 2018-07-05 17:15:50 -04:00
rend_service_descriptor_st.h Move literally everything out of src/or 2018-07-05 17:15:50 -04:00
rendcache.c Remove routerparse include from files that dont use it 2018-10-01 11:35:11 -05:00
rendcache.h Fix every include path changed in the previous commit (automated) 2018-07-05 17:15:50 -04:00
rendclient.c Revise things that had included router.h before 2018-09-25 17:57:58 -04:00
rendclient.h hs: Remove rend_client_non_anonymous_mode_enabled 2018-08-28 16:01:57 -04:00
rendcommon.c Remove routerparse include from files that dont use it 2018-10-01 11:35:11 -05:00
rendcommon.h Move literally everything out of src/or 2018-07-05 17:15:50 -04:00
rendmid.c Merge branch 'nss_squashed' into nss_merge 2018-09-04 20:21:07 -04:00
rendmid.h Move literally everything out of src/or 2018-07-05 17:15:50 -04:00
rendparse.c Move v2 hs parsing into feature/rend 2018-10-01 00:09:00 -05:00
rendparse.h Move v2 hs parsing into feature/rend 2018-10-01 00:09:00 -05:00
rendservice.c hs-v3: Close client intro circuits if the descriptor is replaced 2018-10-18 12:56:51 -04:00
rendservice.h hs: Learn service version by trying to load the keys 2018-08-22 11:38:28 -04:00