- Sep 27, 2017
-
-
Nick Mathewson authored
-
- Sep 26, 2017
-
-
-
Nick Mathewson authored
-
David Goulet authored
Fixes #23159. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
The confparse field has type UINT, which corresponds to an int type. We had uint32_t. This shouldn't cause trouble in practice, since int happens to 4-bytes wide on every platform where an authority is running. It's still wrong, though.
-
Nick Mathewson authored
The correct type for a STRING confparse value is char *, not const char *.
-
Nick Mathewson authored
These should have been int, but we had listed them as unsigned. That's an easy mistake to make, since "int" corresponds with either INT or UINT in the configuration file. This bug cannot have actually caused a problem in practice, since we check those fields' values on load, and ensure that they are in range 0..INT32_MAX.
-
Nick Mathewson authored
New approach, suggested by Taylor: During testing builds, we initialize a union member of an appropriate pointer type with the address of the member field we're trying to test, so we can make sure that the compiler doesn't warn. My earlier approach invoked undefined behavior.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
David Goulet authored
Also demote a log message that can occur under natural causes (if the circuit subsystem is missing descriptors/consensus etc.). The HS subsystem will naturally retry to connect to intro points, so no need to make that log user-facing.
-
- Sep 25, 2017
-
-
David Goulet authored
So we can track them more easily in the logs and match any open/close/free with those identifiers. Part of #23645 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
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>
-
David Goulet authored
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>
-
David Goulet authored
Part of #23645 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
Nick Mathewson authored
-
Nick Mathewson authored
This fixes a clang warning.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
-
Fixes #23539. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
Nick Mathewson authored
-
Nick Mathewson authored
-
George Kadianakis authored
Just making sure that added padding does not screw up cell parsing.
-
- Sep 22, 2017
-
-
Roger Dingledine authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
setup_capture_of_logs() doesn't actually suppress warnings :p
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Fixes #23610 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
Nick Mathewson authored
-
Nick Mathewson authored
Relays send it, and we may as well let them. Part of our fix for 22805.
-
Nick Mathewson authored
-
Nick Mathewson authored
Also, allow channel_is_client() to take a const channel.
-