Opened 4 years ago

Last modified 23 months ago

#15692 new defect

'GETINFO config-file' command on ControlPort returns the standard torrc file when it was overridden in the command line

Reported by: yurivict271 Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: 0.2.6.6
Severity: Normal Keywords: tor-control correctness easy
Cc: Actual Points:
Parent ID: Points: small
Reviewer: Sponsor:

Description

GETINFO config-file
250-config-file=/usr/local/etc/tor/torrc

When command line begins with: --ignore-missing-torrc -f /no/file

Tor v0.2.6.6 (git-bb8c4e69ca5c8bca) running on FreeBSD with Libevent 2.0.22-stable, OpenSSL 1.0.2a and Zlib 1.2.8.

Child Tickets

Change History (6)

comment:1 Changed 4 years ago by yurivict271

Actually, the log has this:

Apr 14 16:39:54.616 [notice] Configuration file "/no/file" not present, using reasonable defaults.

But why --ignore-missing-torrc didn't cause -f /no/file be ignored? So behavior is unreasonable, needs to be fixed.

comment:2 Changed 4 years ago by teor

Milestone: Tor: 0.2.???
Points: small

comment:3 Changed 2 years ago by teor

Milestone: Tor: 0.2.???Tor: 0.3.???

Milestone renamed

comment:4 Changed 2 years ago by nickm

Keywords: tor-03-unspecified-201612 added
Milestone: Tor: 0.3.???Tor: unspecified

Finally admitting that 0.3.??? was a euphemism for Tor: unspecified all along.

comment:5 Changed 2 years ago by nickm

Keywords: tor-03-unspecified-201612 removed

Remove an old triaging keyword.

comment:6 Changed 23 months ago by nickm

Keywords: tor-control correctness easy added
Severity: Normal
Note: See TracTickets for help on using tickets.