Opened 4 months ago

Closed 4 months ago

#21622 closed enhancement (implemented)

Log a message when a hidden service delays new introduction point circuits

Reported by: teor Owned by: teor
Priority: Medium Milestone: Tor: 0.3.1.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-hs
Cc: Actual Points:
Parent ID: #21446 Points: 0.2
Reviewer: dgoulet Sponsor: SponsorR-can

Description

When a hidden service stops making new introduction point circuits, it would be useful to log a message saying:

  • how many connections it has made so far,
  • how long it took it to make those connections,
  • what the connection limit is,
  • in what time that many connections can be made, and
  • a list of the current intro point connections.

This is a follow-up to #21599.

Child Tickets

Change History (6)

comment:1 Changed 4 months ago by teor

  • Owner set to teor
  • Status changed from new to assigned

comment:2 Changed 4 months ago by teor

  • Status changed from assigned to needs_review

Please see my branch feature21622.

It depends on #21594 (dynamic intro point limit) and #21598 (augment log message with extra information), which are both ready for merge to 0.3.0.

This might make merging this branch to master interesting, but if all the branches are squashed before they are merged, it should be ok.

comment:3 Changed 4 months ago by dgoulet

  • Reviewer set to dgoulet
  • Sponsor set to SponsorR-can

comment:4 Changed 4 months ago by nickm

Since the base branches needed to get rebased here, I've recreated this branch based on master as feature21622_only.

comment:5 Changed 4 months ago by nickm

dgoulet, this looks okay to me, but you've dived deeper in the HS code. Any comments?

comment:6 Changed 4 months ago by nickm

  • Resolution set to implemented
  • Status changed from needs_review to closed
  • Type changed from defect to enhancement

dgoulet says it looks good. Merging!

Note: See TracTickets for help on using tickets.