summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-25circuit: Log circuit identifiers when cannibalizingDavid Goulet
This removes the "nickname" of the cannibalized circuit last hop as it is useless. It now logs the n_circ_id and global identifier so we can match it with other logging statement. Signed-off-by: David Goulet <dgoulet@torproject.org>
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-25fix changes fileNick Mathewson
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-22Mention even more about changes files in doc/HACKINGNick Mathewson
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 'maint-0.3.1'Nick Mathewson
2017-09-22Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-09-22hs: Avoid possible double circuit close on errorDavid Goulet
Fixes #23610 Signed-off-by: David Goulet <dgoulet@torproject.org>
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-22changes file for bug22805Nick Mathewson
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-21check-changes fixNick Mathewson
2017-09-21Merge remote-tracking branch 'pastly/bug23581_032_03'Nick Mathewson
2017-09-21Whoops; only run lintchanges when usepythonNick Mathewson
2017-09-21Update CodingStandards.md for changes-file stuffNick Mathewson
'check-changes' is now part of "make check", and must pass.
2017-09-21Whoops -- put a changes file in the wrong place :(Nick Mathewson
2017-09-21Fix warning in bug23610Nick Mathewson
2017-09-21Merge branch 'ticket23564_squashed'Nick Mathewson
2017-09-21Make check-spaces part of the standard "make check" processNick Mathewson
To do this, we had to make sure it passes when the changes directory is empty. I also tried to improve the quality of the output, and fix some false-positive cases. Let's see how this goes! Closes ticket 23564.
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-21Merge remote-tracking branch 'dgoulet/ticket23303_032_01'Nick Mathewson
2017-09-21Merge remote-tracking branch 'catalyst-oniongit/bug23611'Nick Mathewson
2017-09-21Merge branch 'maint-0.3.1'Nick Mathewson
2017-09-21hs: Avoid possible double circuit close on errorDavid Goulet
Fixes #23610 Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-21Remove wrong config parameter mention from manpageTaylor Yu
Don't refer to the obsolete (and misspelled) UseEntryGuardsAsDirectoryGuards config parameter in the manpage.
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-21lintchanges fixNick Mathewson
2017-09-21Merge branch 'maint-0.3.1'Nick Mathewson
2017-09-21Bug 23608: Mock time for all channelpadding tests.Mike Perry