Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-05 | Move literally everything out of src/or | Nick Mathewson | |
This commit won't build yet -- it just puts everything in a slightly more logical place. The reasoning here is that "src/core" will hold the stuff that every (or nearly every) tor instance will need in order to do onion routing. Other features (including some necessary ones) will live in "src/feature". The "src/app" directory will hold the stuff needed to have Tor be an application you can actually run. This commit DOES NOT refactor the former contents of src/or into a logical set of acyclic libraries, or change any code at all. That will have to come in the future. We will continue to move things around and split them in the future, but I hope this lays a reasonable groundwork for doing so. | |||
2018-07-05 | Clean up include paths for libtor-evloop (automated) | Nick Mathewson | |
2018-07-03 | Merge remote-tracking branch 'github/ticket26626' | Nick Mathewson | |
2018-07-03 | Return U64_PRINTF_ARG and U64_FORMAT | Nick Mathewson | |
The standard is printf("%"PRIu64, x); | |||
2018-07-01 | Remove needless includes from or.h | Nick Mathewson | |
or.h should really include only the minimum of stuff from or/*, common/*, and lib/*. | |||
2018-06-28 | Fix paths for buffers.h; automated. | Nick Mathewson | |
2018-06-21 | Rectify include paths (automated) | Nick Mathewson | |
2018-06-21 | Rectify include paths (automated) | Nick Mathewson | |
2018-06-20 | Run rectify_include_paths.py | Nick Mathewson | |
2018-06-20 | Update copyrights to 2018. | Nick Mathewson | |
2018-06-15 | Move extend_info_t into its own header. | Nick Mathewson | |
2018-06-15 | Extract cell type and their queues into new headers | Nick Mathewson | |
Since packed_cell and destroy_cell exist only to be queued, they go in the same headers as the queues. | |||
2018-06-15 | Extract node_t into its own header. | Nick Mathewson | |
2018-06-15 | Split socks_request_t into its own header. | Nick Mathewson | |
2018-06-15 | Extract cpath_build_state into its own header. | Nick Mathewson | |
More modules use this than I had expected! | |||
2018-06-15 | Extract {or,origin}_circuit_t into their own headers | Nick Mathewson | |
2018-06-15 | Split dir_connection_t into its own header | Nick Mathewson | |
2018-06-15 | Split entry and edge_connection_t into their own headers. | Nick Mathewson | |
2018-05-14 | Merge branch 'bug25903_v5_squashed' | Nick Mathewson | |
2018-05-09 | Bug 25903: Perform accounting for new CIRC_BW fields. | Mike Perry | |
Two new values in each direction. DELIVERED counts valid end-to-end circuit data that is accepted by our end and OVERHEAD counts the slack unused data in each of the relay command cells for those accepted cells. Control port changes are in the next commit. | |||
2018-05-09 | Comment-only fix: annotate we_are_hibernating() usage | Nick Mathewson | |
Everywhere we use we_are_hibernating(), remind the reader what it means. (Also, add an XXXX to note a DisableNetwork usage to change later.) | |||
2018-05-03 | Merge remote-tracking branch 'isis/bug24660_r1' | Nick Mathewson | |
2018-04-13 | Move connection_ap_attach_pending(0) into a postloop event | Nick Mathewson | |
This is a second motivating case for our postloop event logic. | |||
2018-04-06 | crypto: Refactor (P)RNG functionality into new crypto_rand module. | Isis Lovecruft | |
* ADD new /src/common/crypto_rand.[ch] module. * ADD new /src/common/crypto_util.[ch] module (contains the memwipe() function, since all crypto_* modules need this). * FIXES part of #24658: https://bugs.torproject.org/24658 | |||
2018-02-01 | refactor: rename connection_t struct fields. | Caio Valente | |
connection_t.timestamp_lastwritten renamed to connection_t.timestamp_last_write_allowed connection_t.timestamp_lastread renamed to connection_t.timestamp_last_read_allowed Closes ticket 24714. | |||
2018-01-20 | Bug 24946: Fix a warning message caused by a missed purpose check. | Mike Perry | |
Also fix three other checks (found by inspection of all CIRCUIT_PURPOSE_C_GENERAL occurrences). | |||
2018-01-19 | Add new circuit purposes for hsdir activity. | Mike Perry | |
This lets us control their path len and usage. | |||
2017-12-08 | Merge branch 'macro_free_v2_squashed' | Nick Mathewson | |
2017-12-08 | Convert connection_free to a nulling macro. | Nick Mathewson | |
2017-12-08 | Move a comment to relay_send_end_cell_from_edge() | teor | |
It looks like it was left behind in a refactor. Fixes 24559. | |||
2017-11-05 | Merge branch 'maint-0.3.2' | Nick Mathewson | |
2017-11-04 | Revert "Make ClientDNSRejectInternalAddresses testing-only." | Sebastian Hahn | |
This reverts commit 27fa4a98d23972213122fa99499efa4baebe49e3. | |||
2017-10-31 | Merge branch 'maint-0.3.2' | Nick Mathewson | |
2017-10-31 | hs-v3: Attempt descriptor refetch when dirinfo changes | David Goulet | |
When the directory information changes, callback to the HS client subsystem so it can check if any pending SOCKS connections are waiting for a descriptor. If yes, attempt a refetch for those. Fixes #23762 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-10-20 | Rename "tell_event_loop_to_finish" to "...run_external_code" | Nick Mathewson | |
This function was never about 'finishing' the event loop, but rather about making sure that the code outside the event loop would be run at least once. | |||
2017-09-27 | hs-v3: Don't fetch descriptor if we have a pending request | David Goulet | |
If 6 SOCKS requests are opened at once, it would have triggered 6 fetches which ultimately poke all 6 HSDir. We don't want that, if we have multiple SOCKS requests for the same service, do one fetch only. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-22 | Merge branch 'bug22805_v2_squashed' | Nick Mathewson | |
2017-09-22 | Remove or_circuit_t.is_first_hop; use channel_is_client() instead | Nick 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-15 | Run our #else/#endif annotator on our source code. | Nick Mathewson | |
2017-09-15 | Split some long #if lines to make the #endif annotator happy | Nick Mathewson | |
2017-09-15 | Merge branch 'remove_allow_dotexit_v2' | Nick Mathewson | |
2017-09-15 | Remove AllowDotExit. | Nick Mathewson | |
It's been deprecated since 0.2.9.2-alpha. Closes ticket 23426. | |||
2017-09-12 | hs-v3: Stall SOCKS connection when no live consensus available | David Goulet | |
Fixes #23481 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-12 | Merge branch 'ticket21031' | Nick Mathewson | |
2017-09-08 | Merge branch 'ed25519_lookup' | Nick Mathewson | |
2017-09-07 | Make ClientDNSRejectInternalAddresses testing-only. | Nick Mathewson | |
Undeprecate it; rename it to TestingClientDNSRejectInternalAddresses; add the old name as an alias; reject configurations where it is set but TestingTorNetwork is not; change the documentation accordingly. Closes tickets 21031 and 21522. | |||
2017-09-05 | Resolve inconsistencies between buf refactor and HTTP connect | Nick Mathewson | |
2017-09-05 | Merge branch 'http_tunnel_squashed' | Nick Mathewson | |
2017-09-05 | Add a fuzzer for HTTP CONNECT | Nick Mathewson | |
2017-09-05 | Add stream isolation support for HTTP CONNECT tunnels | Nick Mathewson | |
I'm doing this using the Proxy-Authorization: header to support clients that understand it, and with a new tor-specific header that makes more sense for our use. |