summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-06Prop#329 params: Consensus parameter and torrc handlingMike Perry
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-04-06Prop#329 Tests: Add tests for conflux cells.David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-04-06Prop#329 Cells: Building and parsing parsing conflux commandsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-04-06trunnel: Add Conflux related cell definitionDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-04-06protover: Support Relay=5 for Conflux (prop329)David Goulet
Closes #40721 Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-03-15Merge branch 'maint-0.4.7'David Goulet
2023-03-15gitignore: Add tags file from ctagsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-03-13Merge branch 'tor-gitlab/mr/700'David Goulet
2023-03-13metrics: Add HS service side circuit build time metrics.Gabriela Moldovan
This adds 2 histogram metrics for hidden services: * `tor_hs_rend_circ_build_time` - the rendezvous circuit build time in milliseconds * `tor_hs_intro_circ_build_time` - the introduction circuit build time in milliseconds The text representation representation of the new metrics looks like this: ``` # HELP tor_hs_rend_circ_build_time The rendezvous circuit build time in milliseconds # TYPE tor_hs_rend_circ_build_time histogram tor_hs_rend_circ_build_time_bucket{onion="<elided>",le="1000.00"} 2 tor_hs_rend_circ_build_time_bucket{onion="<elided>",le="5000.00"} 10 tor_hs_rend_circ_build_time_bucket{onion="<elided>",le="10000.00"} 10 tor_hs_rend_circ_build_time_bucket{onion="<elided>",le="30000.00"} 10 tor_hs_rend_circ_build_time_bucket{onion="<elided>",le="60000.00"} 10 tor_hs_rend_circ_build_time_bucket{onion="<elided>",le="+Inf"} 10 tor_hs_rend_circ_build_time_sum{onion="<elided>"} 10824 tor_hs_rend_circ_build_time_count{onion="<elided>"} 10 # HELP tor_hs_intro_circ_build_time The introduction circuit build time in milliseconds # TYPE tor_hs_intro_circ_build_time histogram tor_hs_intro_circ_build_time_bucket{onion="<elided>",le="1000.00"} 0 tor_hs_intro_circ_build_time_bucket{onion="<elided>",le="5000.00"} 6 tor_hs_intro_circ_build_time_bucket{onion="<elided>",le="10000.00"} 6 tor_hs_intro_circ_build_time_bucket{onion="<elided>",le="30000.00"} 6 tor_hs_intro_circ_build_time_bucket{onion="<elided>",le="60000.00"} 6 tor_hs_intro_circ_build_time_bucket{onion="<elided>",le="+Inf"} 6 tor_hs_intro_circ_build_time_sum{onion="<elided>"} 9843 tor_hs_intro_circ_build_time_count{onion="<elided>"} 6 ``` Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
2023-03-13metrics: Add support for histograms.Gabriela Moldovan
This will enable us to add e.g. circuit build metrics (#40717). Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
2023-03-12Update 3 filesnonameformee
- /src/feature/dirauth/process_descs.c - /src/test/test_process_descs.c - /changes/ticket40760
2023-03-07Merge branch 'tor-gitlab/mr/697'David Goulet
2023-03-07metrics: Add a `reason` label to the HS error metrics.Gabriela Moldovan
This adds a `reason` label to the `hs_intro_rejected_intro_req_count` and `hs_rdv_error_count` metrics introduced in #40755. Metric look up and intialization is now more a bit more involved. This may be fine for now, but it will become unwieldy if/when we add more labels (and as such will need to be refactored). Also, in the future, we may want to introduce finer grained `reason` labels. For example, the `invalid_introduce2` label actually covers multiple types of errors that can happen during the processing of an INTRODUCE2 cell (such as cell parse errors, replays, decryption errors). Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
2023-03-07Merge branch 'tor-gitlab/mr/696'David Goulet
2023-03-07Merge branch 'maint-0.4.7'David Goulet
2023-02-16scripts: Bye bye 0.4.5, you have reached end of lifeDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-02-16metrics: Add metrics for rendezvous and introduction request failures.Gabriela Moldovan
This introduces a couple of new service side metrics: * `hs_intro_rejected_intro_req_count`, which counts the number of introduction requests rejected by the hidden service * `hs_rdv_error_count`, which counts the number of rendezvous errors as seen by the hidden service (this number includes the number of circuit establishment failures, failed retries, end-to-end circuit setup failures) Closes #40755. This partially addresses #40717. Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
2023-02-16Reworded OpenSSL bug 7712 detection warning to avoid OpenSSL 1.1.1b ↵Richard Pospesel
detection false positive.
2023-02-13vote AuthDirMaxServersPerAddr in consensus paramsRoger Dingledine
Directory authorities now include their AuthDirMaxServersPerAddr config option in the consensus parameter section of their vote. Now external tools can better predict how they will behave. In particular, the value should make its way to the https://consensus-health.torproject.org/#consensusparams page. Once enough dir auths vote this param, they should also compute a consensus value for it in the consensus document. Nothing uses this consensus value yet, but we could imagine having dir auths consult it in the future. Implements ticket 40753.
2023-02-13Merge branch 'maint-0.4.7'David Goulet
2023-02-10metrics: Decrement hs_intro_established_count on intro circuit close.Gabriela Moldovan
Closes #40751. Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
2023-02-10Update `find_service` documentation.Gabriela Moldovan
This updates the docs to stop suggesting `pk` can be NULL, as that doesn't seem to be the case anymore (`tor_assert(pk)`). Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
2023-02-10Extend blinding testvec with timeperiod test.Nick Mathewson
When I copied this to arti, I messed up and thought that the default time period was 1440 seconds for some weird testing reason. That led to confusion. This commit adds a test case that time period 1440 is May 20, 1973: now arti and c tor match!
2023-02-07Fix small typo in mainloop.c docs.Gabriela Moldovan
The docs should reference `tor_event_new()` rather than `tor_libevent_new()`. Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
2023-02-05Fix typosDimitris Apostolou
2023-01-30fix trivial typosRoger Dingledine
2023-01-27Merge branch 'tor-gitlab/mr/686'David Goulet
2023-01-26Merge branch 'maint-0.4.7'David Goulet
2023-01-26Merge branch 'tor-gitlab/mr/687' into maint-0.4.7David Goulet
2023-01-25Merge branch 'maint-0.4.7'David Goulet
2023-01-25Merge branch 'maint-0.4.5' into maint-0.4.7David Goulet
2023-01-25compress_lzma: New enum values from liblzma 5.3.xmaint-0.4.5Micah Elizabeth Scott
Add new liblzma enums (LZMA_SEEK_NEEDED and LZMA_RET_INTERNAL*) conditional to the API version they arrived in. The first stable version of liblzma this affects is 5.4.0 Fixes #40741 Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
2023-01-25relay: Use the right max queue size value in logDavid Goulet
Fixes #40745 Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-25Add a test vector for disaster SRV calculation.Nick Mathewson
2023-01-19compress_lzma: New enum values from liblzma 5.3.xMicah Elizabeth Scott
Add new liblzma enums (LZMA_SEEK_NEEDED and LZMA_RET_INTERNAL*) conditional to the API version they arrived in. The first stable version of liblzma this affects is 5.4.0 Fixes #40741 Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
2023-01-19Add more test-vectors for key blinding.Nick Mathewson
These are verified-as-correct against the current C implementation; adding them here gives us something to copy into Arti.
2023-01-19Fix compiler warnings about unused variablesDavid Goulet
Fixes #40743 Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-19Merge branch 'tor-gitlab/mr/683'David Goulet
2023-01-19Add a test vector for crypto_mac_sha3Nick Mathewson
2023-01-19doc: Add tpo website update to ReleasingTor.mdDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-12changelog: Update with latest releasesDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-12Merge branch 'maint-0.4.7'David Goulet
2023-01-12version: Bump version to 0.4.7.13-devTor CI Release
2023-01-12Merge branch 'maint-0.4.5' into maint-0.4.7David Goulet
2023-01-12version: Bump version to 0.4.5.16-devTor CI Release
2023-01-12Merge branch 'maint-0.4.7'David Goulet
2023-01-12version: Bump version to 0.4.7.13Tor CI Release
2023-01-12Merge branch 'maint-0.4.5' into maint-0.4.7David Goulet
2023-01-12version: Bump version to 0.4.5.16Tor CI Release
2023-01-12Merge branch 'maint-0.4.7'David Goulet