Opened 6 years ago

Closed 5 years ago

#3844 closed defect (fixed)

Anomalies in info/names results

Reported by: atagar Owned by:
Priority: Very Low Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Keywords: easy controller spec tor-client
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Issuing a "GETINFO info/names" request includes...
config/* -- Current configuration values.

However, no config/* option exists (there's "config/names" but that has its own entry). This is from a prefix entry in the getinfo_items of control.c:
https://gitweb.torproject.org/tor.git/blob/HEAD:/src/or/control.c#l2024

Child Tickets

Change History (8)

comment:1 Changed 6 years ago by atagar

Another option, "dir-usage", isn't in the control-spec and apparently isn't implemented yet. It would be nice if it wasn't in the info/names results until it is.

GETINFO dir-usage
Not supported.

comment:2 Changed 6 years ago by atagar

... and another - the info/names results has...
exit-policy/default* -- The default value appended to the configured exit policy.

The asterisk here looks to be a typo (there are no getinfo options that use that as a prefix).

comment:3 Changed 6 years ago by atagar

The info/names also reveals a couple GETINFO options that aren't in the control-spec at all...

GETINFO status/version/num-concurring
8
GETINFO status/version/num-versioning
8

comment:4 Changed 6 years ago by atagar

Summary: Stray "config/*" info/names entryAnomalies in info/names results

Renaming ticket to be more accruate

comment:5 Changed 6 years ago by nickm

Keywords: easy controller spec added
Milestone: Tor: unspecified

comment:6 Changed 5 years ago by nickm

Keywords: tor-client added

comment:7 Changed 5 years ago by nickm

Component: Tor ClientTor

comment:8 Changed 5 years ago by nickm

Resolution: fixed
Status: newclosed

Should be resolved in a14d7f33d4062aa20bc416603b7ef03916f928a0 ; thanks!

Note: See TracTickets for help on using tickets.