| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
We're going to introduce a new call site for this.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Be clearer that `fut` is only `None` during the main loop.
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
SubthreadFuture was a type in some early version of this branch, that
it's not in-tree now. subthread_spawn returns impl Future and the
concrete type is a channel receiver.
|
| |\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | | |
Remove hsc quiet and force flags in favor of batch
See merge request tpo/core/arti!2903
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
dev doc: Replace outdated references to `KeystoreSweeper` in state-management-cli.md
See merge request tpo/core/arti!2936
|
| | |\ \ \
| |/ / /
|/| | | |
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
Fix warnings with OSX and 1.86
See merge request tpo/core/arti!2933
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Clippy is complaining that these can be simplified,
so I took its recommendations.
|
| |/ / /
| | |
| | |
| | |
| | | |
This comes up on OSX; I hadn't seen it before, so I assume it is new
with Rust 1.86.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
arti-ureq: New library which integrates with ureq
See merge request tpo/core/arti!2724
|
| | | | |
| | | |
| | | |
| | | | |
Fixes #1519
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Update crossbeam-channel to 0.5.15 to fix TROVE-2025-013
See merge request tpo/core/arti!2931
|
| | |/ / /
| | | |
| | | |
| | | | |
0.5.14 is yanked. I am trying to find out why...
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
tor-cell: Minor tweaks for conflux
See merge request tpo/core/arti!2928
|
| | | | |
| | | |
| | | |
| | | | |
We will soon need to construct `V1Nonce`s.
|
| |/ / /
| | |
| | |
| | | |
`u32` is `Copy`, so the getter doesn't need to return a ref.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Initial metrics framework
See merge request tpo/core/arti!2918
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
beta clippy pointed out that it shouldn't be exhaustive.
but `#[strum_discriminants(non_exhaustive)]` is rejected.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Prompted by
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185872
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185871
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185869
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185869
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185867
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185866
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185864
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185863
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185862
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185859
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Almost the only remaining use of this was for SocketAddr which we
should just import.
Prompted by
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185858
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Answers
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185856
|
| | | | |
| | | |
| | | |
| | | | |
This avoids warnings from failure to cfg-decorate imports.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This proves the concept. Many more metrics will need to be added
throughout the codebase.
With this compiled in and enabled, I see this with curl:
> ```
> # TYPE arti_hss_proxy_connections_failed_total counter
> arti_hss_proxy_connections_failed_total{nickname="ztest",action="destroy_circuit"} 0
> arti_hss_proxy_connections_failed_total{nickname="ztest",action="ignore_stream"} 0
> arti_hss_proxy_connections_failed_total{nickname="ztest",action="forward"} 0
> arti_hss_proxy_connections_failed_total{nickname="ztest",action="reject_stream"} 0
>
> # TYPE arti_hss_proxy_connections_total counter
> arti_hss_proxy_connections_total{nickname="ztest",action="reject_stream"} 0
> arti_hss_proxy_connections_total{nickname="ztest",action="forward"} 1
> arti_hss_proxy_connections_total{nickname="ztest",action="destroy_circuit"} 0
> arti_hss_proxy_connections_total{nickname="ztest",action="ignore_stream"} 0
>
> # TYPE arti_hss_proxy_connections_ok_total counter
> arti_hss_proxy_connections_ok_total{nickname="ztest",action="destroy_circuit"} 0
> arti_hss_proxy_connections_ok_total{nickname="ztest",action="reject_stream"} 0
> arti_hss_proxy_connections_ok_total{nickname="ztest",action="ignore_stream"} 0
> arti_hss_proxy_connections_ok_total{nickname="ztest",action="forward"} 1
> ```
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This means that we can use the same variable names for the clones,
which is considerably less confusing.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
New cargo feature `metrics`, currently experimental.
New config option `metrics.prometheus.listen`. Uses standard `Listen`
syntax, but not every configuration is supported due to upstream
limitations.
If the config option is set, use metrics-exporter-prometheus to offer
an HTTP scrape endpoint. Or, if compiled out, fail.
Currently there are no actual metrics exported at all.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Otherwise it can be very confusing pushing the bump in the carpet back
and forth.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
We're going to need this because of deficiencies in
metrics-exporter-prometheus.
|
| | | | |
| | | |
| | | |
| | | | |
Not everything here is true yet, but it will be by the end of this MR.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-proto: Remove outdated TODO, add fresh TODO
See merge request tpo/core/arti!2926
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This won't involve an extra dep, because we already use `itertools`
throughout the codebase.
|
| | |/ / /
| | | |
| | | |
| | | |
| | | | |
For service introduction circuits, we have `IptMsgHandler`, so we've
already worked something out :)
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
Improvements to Debian packaging (!2798, CI workaround)
See merge request tpo/core/arti!2927
|
| | |\ \ \
| |/ / /
|/| | | |
|
| |\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | | |
Run "cargo update" to fix cargo-audit issues
See merge request tpo/core/arti!2924
|
| | | | | |
|