- 25 Mar, 2019 3 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Also, split the formatting code shared by control.c and control_events.c into controller_fmt.c.
-
- 24 Jan, 2019 1 commit
-
-
Neel Chauhan authored
-
- 16 Jan, 2019 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 03 Jan, 2019 1 commit
-
-
rl1987 authored
-
- 21 Dec, 2018 1 commit
-
-
Taylor Yu authored
Add a publish-subscribe subsystem to publish messages about changes to origin circuits. Functions in circuitbuild.c and circuitlist.c publish messages to this subsystem. Move circuit event constants out of control.h so that subscribers don't have to include all of control.h to take actions based on messages they receive. Part of ticket 27167.
-
- 20 Dec, 2018 3 commits
-
-
Nick Mathewson authored
This makes it consistent with base64_decode(). Closes ticket 28913.
-
Alexander Færøy authored
This patch adds support for the new STATUS message that PT's can emit from their standard out. The STATUS message uses the `config_line_t` K/V format that was recently added in Tor. See: https://bugs.torproject.org/28846
-
Alexander Færøy authored
This patch changes the LOG pluggable transport message to use the recent K/V parser that landed in Tor. This allows PT's to specify the log severity level as well as the message. A mapping between the PT log severity levels and Tor's log serverity level is provided. See: https://bugs.torproject.org/28846
-
- 18 Dec, 2018 1 commit
-
-
Nick Mathewson authored
This reverts commit 1b855af5.
-
- 17 Dec, 2018 2 commits
-
-
This patch changes our EVENT_TRANSPORT_LOG event to be EVENT_PT_LOG. The new message includes the path to the PT executable instead of the transport name, since one PT binary can include multiple transport they sometimes might need to log messages that are not specific to a given transport. See: https://bugs.torproject.org/28179
-
This patch adds support for the "LOG" protocol message from a pluggable transport. This allows pluggable transport developers to relay log messages from their binary to Tor, which will both emit them as log messages from the Tor process itself, but also pass them on via the control port. See: https://bugs.torproject.org/28180 See: https://bugs.torproject.org/28181 See: https://bugs.torproject.org/28182
-
- 14 Dec, 2018 1 commit
-
-
Nick Mathewson authored
Closes ticket 28843.
-
- 10 Dec, 2018 1 commit
-
-
Taylor Yu authored
Add the bootstrap tag name to the log messages, so people troubleshooting connection problems can look up a symbol instead of a number. Closes ticket 28731.
-
- 30 Nov, 2018 1 commit
-
-
Taylor Yu authored
Part of ticket 27402.
-
- 19 Nov, 2018 1 commit
-
-
Taylor Yu authored
Reset the added bootstrap tracking state introduced by ticket 27169. Fixes bug 28524; bugfix on 0.3.5.1-alpha.
-
- 15 Nov, 2018 2 commits
-
-
Nick Mathewson authored
This patch implements all of 28337, except for the part where we turn off the role if we've been idle for a long time.
-
Nick Mathewson authored
Part of making extra-dormant mode work; closes ticket 28421.
-
- 14 Nov, 2018 1 commit
-
-
Nick Mathewson authored
-
- 05 Nov, 2018 1 commit
-
-
Nick Mathewson authored
-
- 01 Oct, 2018 3 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 27 Sep, 2018 2 commits
-
-
Nick Mathewson authored
This commit just moves the code to two separate files. The geoip code still has a few needless dependencies on core/* and features/*.
-
Nick Mathewson authored
It differs from the rest of the rephist code in that it's actually necessary for Tor to operate, so it should probably go somewhere else. I'm not sure where yet, so I'll leave it in the same directory, but give it its own file.
-
- 25 Sep, 2018 3 commits
-
-
Nick Mathewson authored
Make them only include the headers that they needed, and sort their headers while we're at it.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 21 Sep, 2018 2 commits
-
-
Nick Mathewson authored
Parts of this C file naturally belong in dircache, dirclient, and dircommon: so, move them there.
-
Nick Mathewson authored
The main.c code is responsible for initialization and shutdown; the mainloop.c code is responsible for running the main loop of Tor. Splitting the "generic event loop" part of mainloop.c from the event-loop-specific part is not done as part of this patch.
-
- 20 Sep, 2018 1 commit
-
-
Nick Mathewson authored
In dirauth: * bwauth.c reads and uses bandwidth files * guardfraction.c reads and uses the guardfraction file * reachability.c tests relay reachability * recommend_pkg.c handles the recommended-packages lines. * recv_descs.c handles fingerprint files and processing incoming routerinfos that relays upload to us * voteflag.c computes flag thresholds and sets those thresholds on routerstatuses when computing votes In control: * fmt_serverstatus.c generates the ancient "v1 server status" format that controllers expect. In nodelist: * routerstatus_fmt.c formats routerstatus entries for a consensus, a vote, or for the controller.
-
- 19 Sep, 2018 1 commit
-
-
Nick Mathewson authored
There are now separate modules for: * the list of router descriptors * the list of authorities and fallbacks * managing authority certificates * selecting random nodes
-
- 13 Sep, 2018 1 commit
-
-
Mike Perry authored
This commit only moves code. No functionality has been changed.
-
- 10 Sep, 2018 5 commits
-
-
Taylor Yu authored
Existing cached directory information can cause misleadingly high bootstrap percentages. To improve user experience, defer reporting of directory information progress until at least one connection has succeeded to a relay or bridge. Closes ticket 27169.
-
Taylor Yu authored
Track bootstrap phase (enumerated by bootstrap_status_t) independently from the bootstrap progress (which can represent intermediate progress). This allows control_event_bootstrap_problem() to avoid doing a linear search through the bootstrap progress space to find the current bootstrap phase.
-
Taylor Yu authored
Eliminate a few conditional expressions in control_event_bootstrap_core() by overwriting the status parameter.
-
Taylor Yu authored
Move the mostly-invariant part of control_event_boostrap() into a helper control_event_bootstrap_core(). The helper doesn't modify any state beyond doing logging and control port notifications.
-
Taylor Yu authored
-