summaryrefslogtreecommitdiff
path: root/crates/tor-hsrproxy/src/proxy.rs
Commit message (Collapse)AuthorAgeFilesLines
* Apply 1 suggestion(s) to 1 file(s)Ian Jackson2023-12-111-0/+2
|
* hsrproxy: Log rate-limited failures of other types as wellNick Mathewson2023-12-071-22/+18
| | | | | We separate these from our failures to connect to a local proxy, since that is a much more common error.
* hsproxy: remove TODO about retroactive limitsNick Mathewson2023-12-071-1/+1
| | | | | See arti#1153 for followup work here. The current behavior is IMO a decent default.
* hsrproxy: Remove TODO about empty Connected messagesNick Mathewson2023-12-071-1/+0
| | | | See torspec!237
* hsproxy: Add a rate-limited log for forwarding errors.Nick Mathewson2023-12-071-5/+9
|
* hsrproxy: Take nickname as an argument and pass it to forwarding functionNick Mathewson2023-12-071-4/+15
| | | | We'll use this for logging.
* hsrproxy: Document what we check about begin messagesNick Mathewson2023-10-231-1/+2
| | | | | | | Specifically, we check nothing except the port. This matches the behavior of C-tor and the documentation in torspec!179.
* hsrproxy: Send back DONE reasons.Nick Mathewson2023-10-231-3/+3
| | | | | This is in keeping with the behavior of C tor, and of torspec!179.
* oneshot: Apply deferred rustfmt churnIan Jackson2023-10-111-3/+3
| | | | cargo fmt, precisely.
* oneshot: Use veneer in tor-hsrproxyIan Jackson2023-10-111-1/+2
|
* Note reconfigure limitations.Nick Mathewson2023-10-051-0/+4
|
* hsrproxy: Add "how" to reconfigure.Nick Mathewson2023-10-051-1/+9
| | | | Our reconfigure methods take these by convention.
* hsrproxy: fix a rustdoc link.Nick Mathewson2023-10-031-1/+1
|
* hsproxy: fix a documentation link.Nick Mathewson2023-10-031-1/+1
|
* tor-hsrproxy: Fix relative documentation warningEmil Engler2023-09-301-2/+2
| | | | | This commit fixes a warning in the documentation, caused by an unresolved name.
* hsrproxy: detect shutdown correctly.Nick Mathewson2023-09-271-6/+23
|
* hsrproxy: improve error handling somewhatNick Mathewson2023-09-271-34/+112
| | | | | With this patch we now propagate errors upwards rather than handling them at the lowest possible level.
* rproxy: Implement the actual "proxy" part of the code.Nick Mathewson2023-09-271-10/+78
| | | | | Now we finally have the code to copy the data back and forth on the two AsyncRead+AsyncWrite objects that we create.
* hsrproxy: Implement more of the proxy functionalityNick Mathewson2023-09-271-4/+133
|
* hsrproxy: Start to sketch out an rproxy implementation.Nick Mathewson2023-09-271-0/+60