aboutsummaryrefslogtreecommitdiff
path: root/src/core/or
AgeCommit message (Collapse)Author
2020-03-27fix typo in struct addr_policy_t commentRoger Dingledine
2020-03-19Fix erroneous spaces in circuitmux_ewma.cNeel Chauhan
2020-03-19Merge branch 'maint-0.4.3'teor
2020-03-19Merge remote-tracking branch 'tor-github/pr/1806' into maint-0.4.3teor
2020-03-17Merge branch 'maint-0.4.3'Nick Mathewson
2020-03-17Merge branch 'maint-0.4.2' into maint-0.4.3Nick Mathewson
2020-03-17Merge branch 'maint-0.4.1' into maint-0.4.2Nick Mathewson
2020-03-17sendme: Emit version 1 by defaultDavid Goulet
Closes #33623 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-03-17Merge remote-tracking branch 'tor-github/pr/1784'teor
2020-03-16circpad_setup_machine_on_circ(): exit early on error.Nick Mathewson
This function does a nonfatal assertion to make sure that a machine is not registered twice, but Tobias Pulls found a case where it happens. Instead, make the function exit early so that it doesn't cause a remotely triggered memory leak. Fixes bug 33619; bugfix on 0.4.0.1-alpha. This is also tracked as TROVE-2020-004.
2020-03-10dos: Pass transport name on new client connectionDavid Goulet
For a bridge configured with a pluggable transport, the transport name is used, with the IP address, for the GeoIP client cache entry. However, the DoS subsystem was not aware of it and always passing NULL when doing a lookup into the GeoIP cache. This resulted in bridges with a PT are never able to apply DoS defenses for newly created connections. Fixes #33491 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-03-09Merge branch 'tor-github/pr/1751'David Goulet
2020-03-09Remove the ClientAutoIPv6ORPort optionNeel Chauhan
2020-03-05Merge remote-tracking branch 'tor-github/pr/1774/head'Nick Mathewson
2020-03-05Merge branch 'clang_format_prep_3'Nick Mathewson
2020-03-04Remove surprising empty line in info-level cbt logRoger Dingledine
Fixes bug 33531; bugfix on 0.3.3.1-alpha.
2020-02-25Merge remote-tracking branch 'tor-github/pr/1750/head'Nick Mathewson
2020-02-24Merge branch 'ticket33316_squashed'Nick Mathewson
2020-02-24Merge ocirc and orconn events into or subsystem.Nick Mathewson
Pubsub events are not supposed to have their own subsystems; they're supposed to be part of a parent subsystem.
2020-02-24Merge remote-tracking branch 'tor-github/pr/1685/head'Nick Mathewson
2020-02-20Move relay_handshake.[ch] into src/feature/relay, and make it optionalNick Mathewson
2020-02-20Disable routerkeys.c with --disable-relay-mode.Nick Mathewson
2020-02-19Extract relay-only handshake code into its own file.Nick Mathewson
This is not the only relay-only handshake code, but it is most of such code that is in connection_or.c.
2020-02-19Merge branch 'extract_relay_dns'Nick Mathewson
2020-02-19Merge branch 'extract_ext_orport'Nick Mathewson
2020-02-18Small changes to scheduler comments and state changesSteven Engler
Tries to make some of the comments in scheduler.c easier to follow, and simplifies a couple of the scheduler channel state changes.
2020-02-18Move ext_orport identifier map into ext_orport.cNick Mathewson
There's no need to move the declarations: those were already in ext_orport.h. This shrinks connection_or.c a little.
2020-02-18Move DNS TTL manipulation code to src/core/orNick Mathewson
This removes a dependency from the client code on feature/relay.
2020-02-18Replace identifiers related to clipping DNS ttls.Nick Mathewson
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ MIN_DNS_TTL_AT_EXIT MIN_DNS_TTL \ MAX_DNS_TTL_AT_EXIT MAX_DNS_TTL \ dns_clip_ttl clip_dns_ttl
2020-02-18Remember dirctory bw usage, and log it in the heartbeatNick Mathewson
Closes ticket 32720.
2020-02-14Merge remote-tracking branch 'tor-github/pr/1727/head'Nick Mathewson
2020-02-14Merge branch 'maint-0.4.3'Nick Mathewson
2020-02-14Merge branch 'ticket33290_v2_042' into maint-0.4.3Nick Mathewson
2020-02-14Merge branch 'ticket33290_v2_041' into ticket33290_v2_042Nick Mathewson
2020-02-14Wipe the entire hashent structure, not just the first sizeof(void*)Nick Mathewson
2020-02-13Re-order most subsystems to correspond to dependency order.Nick Mathewson
2020-02-13Merge branch 'maint-0.4.3'Nick Mathewson
2020-02-13Merge branch 'ticket33290_v2_042' into ticket33290_v2_043Nick Mathewson
Conflicts: src/core/or/circuitmux_ewma.c
2020-02-13Merge branch 'ticket33290_v2_041' into ticket33290_v2_042Nick Mathewson
2020-02-13Before freeing ewma objects, use memwipe instead of resetting magic.Nick Mathewson
2020-02-12Use more memory poisoning and better asserts around ewma codeNick Mathewson
Attempt to diagnose 32464; fixes 33290.
2020-02-12protover: Sort tor's supported protocol versionsteor
As recommended by the tor directory specification. Fixes bug 33285; bugfix on 0.4.0.1-alpha.
2020-02-12protover: Update a comment about protover parsingteor
Comment-only change.
2020-02-10Use semicolons after HT_PROTOTYPE and HT_GENERATE.Nick Mathewson
2020-01-28Write unittest that covers cases of INTRODUCE1 handling.George Kadianakis
Also fix some memleaks of other OB unittests.
2020-01-16Merge branch 'ticket32695_squashed'Nick Mathewson
2020-01-16Remove functions that checked for pre-ipv6 consensus.Nick Mathewson
We no longer need or need to test: * node_awaiting_ipv6() * networkstatus_consensus_has_ipv6().
2020-01-15Merge remote-tracking branch 'tor-github/pr/1657'Nick Mathewson
2020-01-14Merge branch 'ticket32892_043_01_squashed'Nick Mathewson
2020-01-14chan: Remove dead var cell handler from channel_tDavid Goulet
The variable lenght cells are handled directly by channel_tls_handle_var_cell() from an OR connection reading its inbuf. The channel var cell handler (agnostic) was never used. Closes #32892 Signed-off-by: David Goulet <dgoulet@torproject.org>