aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-09-25circuit: Keep a copy of n_circ_id for loggingDavid Goulet
Prior to the log statement, the circuit n_circ_id value is zeroed so keep a copy so we can log it at the end. Part of #23645 Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-25circuit: Closing reason are signed valuesDavid Goulet
Part of #23645 Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-25Merge branch 'bug23539_032_01_squashed'Nick Mathewson
2017-09-25Whitespace fix.Nick Mathewson
2017-09-25sched: make interval a plain int; initialize with macroMatt Traudt
2017-09-25sched: Make KISTSchedRunInterval non negativeDavid Goulet
Fixes #23539. Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-25Merge remote-tracking branch 'asn/ticket23420_032_01'Nick Mathewson
2017-09-25prop224: Add test for parsing RENDEZVOUS1 cell.George Kadianakis
Just making sure that added padding does not screw up cell parsing.
2017-09-22fix typoRoger Dingledine
2017-09-22Fix check-spaces and a weird copyright.Nick Mathewson
2017-09-22Use setup_full_capture_of_logs for 21800Nick Mathewson
setup_capture_of_logs() doesn't actually suppress warnings :p
2017-09-22Remove unused chosen_scheduler_type variable.Nick Mathewson
2017-09-22Merge remote-tracking branch 'pastly/bug23552_032_03'Nick Mathewson
2017-09-22Merge branch 'bug22805_v2_squashed'Nick Mathewson
2017-09-22Stop using CREATE_FAST as a signifier of clienthood.Nick Mathewson
Relays send it, and we may as well let them. Part of our fix for 22805.
2017-09-22Use channel_is_client() accessor in channelpadding.c.Nick Mathewson
Also, allow channel_is_client() to take a const channel.
2017-09-22Stop clearing the is_client flag on channel directlyNick Mathewson
2017-09-22Remove or_circuit_t.is_first_hop; use channel_is_client() insteadNick Mathewson
The is_first_hop field should have been called used_create_fast, but everywhere that we wanted to check it, we should have been checking channel_is_client() instead.
2017-09-22sched: move code to respect commentsMatt Traudt
The diff is confusing, but were two static scheduler functions that needed moving to static comment block. No code change. Thanks dgoulet for original commit
2017-09-22sched: only log when scheduler type changesMatt Traudt
Closes 23552. Thanks dgoulet for original impl
2017-09-22test_util: capture the log in the correct place.Nick Mathewson
2017-09-21Merge branch 'bug21800'Nick Mathewson
2017-09-21Merge remote-tracking branch 'pastly/bug23581_032_03'Nick Mathewson
2017-09-21Capture "Result does not fit in tor_timegm()" warnings in util testsNick Mathewson
Fixes bug 21800; bugfix on 0.2.9.x
2017-09-21hs: Improve comments for when we change timestampsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-21sched: Hard exit if we can't select a schedulerDavid Goulet
Fixes #23581 Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-21hs: Avoid possible double circuit close on errorDavid Goulet
Fixes #23610 Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-21Merge remote-tracking branch 'catalyst-oniongit/bug23607'Nick Mathewson
2017-09-21Merge branch 'maint-0.3.1'Nick Mathewson
2017-09-21Bug 23608: Mock time for all channelpadding tests.Mike Perry
2017-09-20Avoid assertion failure for state file clock skewTaylor Yu
The clock_skew_warning() refactoring allowed calls from or_state_load() to control_event_bootstrap_problem() to occur prior bootstrap phase 0, causing an assertion failure. Initialize the bootstrap status prior to calling clock_skew_warning() from or_state_load().
2017-09-20Use correct sign for state file clock skewTaylor Yu
or_state_load() was using an incorrect sign convention when calling clock_skew_warning() to warn about state file clock skew. This caused the wording of the warning to be incorrect about the direction of the skew.
2017-09-20Use correct name for authtype 3 in a comment.Nick Mathewson
2017-09-20hs: Log the intro point when we clean it upDavid Goulet
When we remove an intro point from the service list, log info about it and some useful data. Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-20circuit: Log n_circ_id and global identifierDavid Goulet
When we can, log the n circuit id and global identifier for origin circuit. Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-20Merge branch 'bug23080'Nick Mathewson
2017-09-20Merge branch 'maint-0.3.1'Nick Mathewson
2017-09-20in zstd compression, fix 32 bit buildAndreas Stieger
format '%lu' expects argument of type 'long unsigned int', but argument ... has type 'size_t' Closes ticket 23568.
2017-09-20Fix a comment that misunderstood is_canonicalNick Mathewson
is_canonical doesn't mean "am I connected to the one true address of this relay"; it means "does this relay tell me that the address I'm connected to belong to it." The point is to prevent TCP-based MITM, not to prevent the relay from multi-homing. Related to 22890.
2017-09-20Warn on ExtORPort USERADDR that is missing or 0.Nick Mathewson
Diagnoses violations on #23080.
2017-09-20Merge remote-tracking branch 'dgoulet/ticket23305_032_01'Nick Mathewson
2017-09-20Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-09-20Merge branch 'maint-0.3.1'Nick Mathewson
2017-09-20Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-09-20Merge branch 'maint-0.2.8' into maint-0.2.9Nick Mathewson
2017-09-20Remove longclaw's IPv6 address, as it will soon changeteor
Authority IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves 3/8 directory authorities with IPv6 addresses, but there are also 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
2017-09-19sched: reorder code to fit comment bodies; comment typosMatt Traudt
Closes 23560
2017-09-19fix typos/etc found while starting to look at schedulerRoger Dingledine
2017-09-19Merge remote-tracking branch 'pastly2/bug23566_032_01'Nick Mathewson
2017-09-19tests: fix transproxy tests on BSD systemsMatt Traudt