Opened 3 weeks ago

Closed 7 days ago

#31306 closed defect (user disappeared)

getinfo circuit-status misses entries

Reported by: blister_green Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version: Tor: 0.4.0.5
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

When using the getinfo circuit-status call, Stem does not output the same number of entries as a direct call on the control port does. This applies for the function calls controller.get_circuits() and controller.get_circuit() as well as to a direct call using controller.get_info("circuit-status").

Example Output (with relay information removed):
Output Control Port:

getinfo circuit-status
250+circuit-status=
1 BUILT $123~bla,$456~bla,$789~bla BUILD_FLAGS=NEED_CAPACITY PURPOSE=GENERAL TIME_CREATED=2019-08-01T08:24:46.866459
2 BUILT ...
3 BUILT ...
4 BUILT ...
5 BUILT ...
.
250 OK

Output Stem (raw getinfo("circuit-status") call):

1 BUILT $123~bla,$456~bla,$789~bla BUILD_FLAGS=NEED_CAPACITY PURPOSE=GENERAL TIME_CREATED=2019-08-01T08:24:46.866459

Child Tickets

Change History (2)

comment:1 Changed 3 weeks ago by atagar

Status: newneeds_information

Hi blister_green. Under the covers get_circuits() calls that get_info() command so I'm unsure how the counts could differ...

https://gitweb.torproject.org/stem.git/tree/stem/control.py#n3542

Do you have repro steps or anything I can do locally to exemplify this issue?

comment:2 Changed 7 days ago by atagar

Resolution: user disappeared
Status: needs_informationclosed
Note: See TracTickets for help on using tickets.