aboutsummaryrefslogtreecommitdiff
path: root/crates/arti/src/rpc/proxyinfo.rs
Commit message (Collapse)AuthorAgeFilesLines
* arti: Extract responsibility for port listing.Nick Mathewson2026-02-191-0/+26
| | | | | Instead of doing this when we construct the listeners, we can do it in a separate method, to simplify the return type.
* http_connect: Advertise listener capabilities to RPCNick Mathewson2025-10-281-3/+9
|
* Revise RPC documentation to be more informative.Nick Mathewson2024-10-021-3/+8
| | | | | | Previous documentation was more-or-less meant for the Arti developer only. This new documentation is intended for actual users of RPC functionality. It's meant to be extracted with `maint/rpc-doc-tool`.
* rpc: Fix argument type for rpc_session_get_rpc_proxy_infoNick Mathewson2024-09-111-1/+1
| | | | | | | Without this, we get a panic on startup when running with RPC! (This stresses the need for an integration test for RPC; I will start writing that after the Python wrapper lands.)
* arti/rpclib: Tweak proxy_info format.Nick Mathewson2024-09-091-1/+1
| | | | | | | Renamed address to tcp_address, and made it optional, so that later we can have a unix_path, etc. On deser side, add support for unrecognized listener types.
* arti/rpclib: Lowercase our socks5 listener variant.Nick Mathewson2024-09-091-0/+1
|
* arti: add and document get_rpc_proxy_info method.Nick Mathewson2024-09-091-2/+38
| | | | | | | | Currently this behaves the same as get_proxy_info, but this may change in the future, if we introduce RPC-unsuitable proxy ports. (Also rename the get_proxy_info method to avoid x_ prefix.)
* rpc: Add a test for setting proxy info.Nick Mathewson2024-08-281-0/+3
|
* rpc: Rename E::SenderDroppedNick Mathewson2024-08-281-5/+6
|
* rpc: Add another layer of indirection on proxyinfoNick Mathewson2024-08-281-2/+9
|
* rpc: Try using postage::watch to initialize ProxyInfo.Nick Mathewson2024-08-281-9/+7
| | | | | (This is a bit trickier than I would like, but it ensures that we never return a "not initialized yet" code.)
* RPC: Add experimental method to list SOCKS proxies.Nick Mathewson2024-08-281-0/+71
We'll need this for our rpc-library code to meaningfully open SOCKS connections. Closes #1523.