Opened 15 years ago

Last modified 8 years ago

#181 closed defect (Implemented)

please use X-Forwarded-For in directory log entries

Reported by: weasel Owned by: nickm
Priority: Low Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: weasel Actual Points:
Parent ID: Points:
Reviewer: Sponsor:



I use apache to redirect http://...:80/tor/ to the dirport of my tor server.

So any time there is something noteworthy going on, Tor's log entry claims that the request came from localhost:

[notice] directory_handle_command_post(): Rejected descriptor published by ''.

Apache sets the http header X-Forwarded-For like "X-Forwarded-For:".

It would be nice if that information could be made available in the log entires. For instance like this:

[notice] directory_handle_command_post(): Rejected descriptor published by,

Where the contents of the X-Forwarded-For header(s) are simply appended to the entry after the ip address.

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (2)

comment:1 Changed 15 years ago by nickm

flyspray2trac: bug closed.
Implemented in CVS. Wants testing. Was this what you had in mind?

comment:2 Changed 8 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.