Opened 6 weeks ago

Last modified 5 weeks ago

#31647 new defect

Should OBSOLETE and ___invisible configuration obtions be available to GETCONF?

Reported by: nickm Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: affects-stem controller design-needed
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Right now, you can use GETCONF on the invisible ___UsingTestNetworkDefaults or the obsolete DisableIOCP -- without any complaint from Tor.

Perhaps Tor should complain, or even reject these requests.

Child Tickets

Change History (2)

comment:1 Changed 6 weeks ago by teor

Accessing obsolete config items is useful for compatibility. So let's warn now, and reject when they are removed.

Similarly, I guess we should warn about invisibles. I can imagine some use cases for accessing the "real" or "hidden" values,

comment:2 Changed 5 weeks ago by atagar

For what it's worth the only underscore config parameters Stem uses within itself is __OwningControllerProcess and __ReloadTorrcOnSIGHUP.

Note: See TracTickets for help on using tickets.