| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | hsproxy: Improve error messages. | Nick Mathewson | 2024-02-08 | 1 | -22/+34 |
| | | | | | | | | | When giving an error message about an hsrproxy configuration: 1) mention that this is for an onion service. 2) mention what the invalid text was. Part of #1266 | ||||
| * | hsrproxy: Temporarily remove ability to config unix addresses | Nick Mathewson | 2024-01-16 | 2 | -10/+24 |
| | | | | | | | | | I'm taking this out for now since we don't have support for actually making these addresses work, and the current behavior will just ignore connections silently. Closes #1245 | ||||
| * | hsrproxy: downgrade remaining TODO HSS comments. | Nick Mathewson | 2024-01-09 | 1 | -2/+2 |
| | | |||||
| * | Add NOTEs about similar code for address types. | Nick Mathewson | 2023-12-12 | 1 | -0/+4 |
| | | |||||
| * | hsproxy: warn on some dubious configurations | Nick Mathewson | 2023-12-12 | 1 | -8/+42 |
| | | | | | | | | Specifically, warn about non-private target addresses and onion services with no forwarding rules at all. Removes some TODO HSS comments and closes #1154. | ||||
| * | Merge branch 'todo_hsrproxy' into 'main' | Nick Mathewson | 2023-12-11 | 2 | -33/+50 |
| |\ | | | | | | | | | Resolve several TODO HSS items in hsrproxy See merge request tpo/core/arti!1809 | ||||
| | * | Apply 1 suggestion(s) to 1 file(s) | Ian Jackson | 2023-12-11 | 1 | -0/+2 |
| | | | |||||
| | * | hsrproxy: replace "TODO HSS" instances with references to #1154 | Nick Mathewson | 2023-12-07 | 1 | -3/+8 |
| | | | | | | | | | | | (These are the ones about warning on questionable configuration choices.) | ||||
| | * | hsproxy: Downgrade a TODO. | Nick Mathewson | 2023-12-07 | 1 | -1/+1 |
| | | | | | | | | | | | "We might someday want to do X" does not really rise to the level of a "must-fix". | ||||
| | * | hsrproxy: Log rate-limited failures of other types as well | Nick Mathewson | 2023-12-07 | 1 | -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 limits | Nick Mathewson | 2023-12-07 | 1 | -1/+1 |
| | | | | | | | | | | | See arti#1153 for followup work here. The current behavior is IMO a decent default. | ||||
| | * | hsrproxy: Remove TODO about empty Connected messages | Nick Mathewson | 2023-12-07 | 1 | -1/+0 |
| | | | | | | | | | See torspec!237 | ||||
| | * | hsproxy: Add a rate-limited log for forwarding errors. | Nick Mathewson | 2023-12-07 | 1 | -5/+9 |
| | | | |||||
| | * | hsrproxy: Take nickname as an argument and pass it to forwarding function | Nick Mathewson | 2023-12-07 | 1 | -4/+15 |
| | | | | | | | | | We'll use this for logging. | ||||
| * | | hsrproxy: Add a test for the contents of a parsed configuration. | Nick Mathewson | 2023-12-11 | 1 | -1/+34 |
| |/ | |||||
| * | hsrproxy: Allow ports to be specified as integers | Nick Mathewson | 2023-11-29 | 1 | -5/+23 |
| | | | | | | | Previously, we required the user to specify a pattern matching a single port as `"80"`, with quotes. Now we allow the user to omit the quotes. | ||||
| * | Revert "hsrproxy: Temporarily change the format of ProxyRule." | Nick Mathewson | 2023-11-29 | 1 | -76/+6 |
| | | | | | | | | | | | | This reverts commit 21605d2c9e601c3a5099bfd8d8c887cbb3b36c0a. We're doing this because we wanted the configuration of proxy rules to be a 2-tuple, as in `[ "22", "127.0.0.1:22" ]`. But `config` couldn't handle that before, so we temporarily changed it to a string, as in "22 => 127.0.0.1:22". Closes #1058. | ||||
| * | hsrproxy: Document what we check about begin messages | Nick Mathewson | 2023-10-23 | 1 | -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 Mathewson | 2023-10-23 | 1 | -3/+3 |
| | | | | | | This is in keeping with the behavior of C tor, and of torspec!179. | ||||
| * | oneshot: Apply deferred rustfmt churn | Ian Jackson | 2023-10-11 | 1 | -3/+3 |
| | | | | | cargo fmt, precisely. | ||||
| * | oneshot: Use veneer in tor-hsrproxy | Ian Jackson | 2023-10-11 | 1 | -1/+2 |
| | | |||||
| * | Merge branch 'configure_onion_service_part2' into 'main' | Nick Mathewson | 2023-10-11 | 1 | -2/+92 |
| |\ | | | | | | | | | Non-working attempt to test onion service configuration. See merge request tpo/core/arti!1640 | ||||
| | * | hsrproxy: Temporarily change the format of ProxyRule. | Nick Mathewson | 2023-10-10 | 1 | -6/+76 |
| | | | | | | | | | | | | | | | | | | | Since config-rs has a bug breaking its support for nested arrays (see discussion at !1640), we're temporarily changing the format to a single string with a "=>" in the middle. I've opened #1058 to put things back as they were once config-rs is fixed. | ||||
| | * | Non-working attempt to test onion service configuration. | Nick Mathewson | 2023-10-03 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | The problem here is that, for some reason, the proxy_rule configuration doesn't actually work. I suspect a bug in Flatten, since the same configuration works fine if you pass it to the hsrproxy config directly. | ||||
| * | | Note reconfigure limitations. | Nick Mathewson | 2023-10-05 | 1 | -0/+4 |
| | | | |||||
| * | | hsrproxy: Add "how" to reconfigure. | Nick Mathewson | 2023-10-05 | 1 | -1/+9 |
| | | | | | | | | | Our reconfigure methods take these by convention. | ||||
| * | | hsrproxy: add a note about a future warning. | Nick Mathewson | 2023-10-04 | 1 | -0/+2 |
| |/ | |||||
| * | hsrproxy: fix a rustdoc link. | Nick Mathewson | 2023-10-03 | 1 | -1/+1 |
| | | |||||
| * | hsproxy: fix a documentation link. | Nick Mathewson | 2023-10-03 | 1 | -1/+1 |
| | | |||||
| * | hsrproxy: Make configs and builders implement more traits. | Nick Mathewson | 2023-10-03 | 1 | -2/+6 |
| | | |||||
| * | hsrproxy: remove allow(dead_code). | Nick Mathewson | 2023-10-03 | 1 | -2/+0 |
| | | |||||
| * | tor-hsrproxy: Fix relative documentation warning | Emil Engler | 2023-09-30 | 1 | -2/+2 |
| | | | | | | This commit fixes a warning in the documentation, caused by an unresolved name. | ||||
| * | hsrproxy: detect shutdown correctly. | Nick Mathewson | 2023-09-27 | 1 | -6/+23 |
| | | |||||
| * | hsrproxy: improve error handling somewhat | Nick Mathewson | 2023-09-27 | 1 | -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 Mathewson | 2023-09-27 | 1 | -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 functionality | Nick Mathewson | 2023-09-27 | 1 | -4/+133 |
| | | |||||
| * | hsrproxy: Start to sketch out an rproxy implementation. | Nick Mathewson | 2023-09-27 | 3 | -0/+75 |
| | | |||||
| * | hsrproxy: rename Direct => Simple. | Nick Mathewson | 2023-09-19 | 1 | -21/+24 |
| | | |||||
| * | hss: Rename ProxyTarget to ProxyAction. | Nick Mathewson | 2023-09-19 | 1 | -16/+16 |
| | | |||||
| * | hsproxy: Revise configuration based on discussion | Nick Mathewson | 2023-09-19 | 1 | -41/+95 |
| | | | | | | | | We now have a single ProxyTarget action for the case where we accept a request and forward it: `Forward`. It takes an encapsulation method (currently only "direct") and a target address which can be inet or unix. | ||||
| * | hsrproxy: test actual outputs of builder. | Nick Mathewson | 2023-09-19 | 1 | -1/+10 |
| | | |||||
| * | hsproxy: reject configurations with unreachable patterns. | Nick Mathewson | 2023-09-19 | 1 | -3/+52 |
| | | | | | | | | This implementation uses rangemap to detect _all_ unreachable patterns, which might be a little overkill, but it's actually simpler to write it this way than to use an O(N^2) search to make sure that no pattern is covered by a _single_ previous pattern. | ||||
| * | hsrproxy: Say "one", not "single" to avoid confusion. | Nick Mathewson | 2023-09-19 | 1 | -1/+1 |
| | | |||||
| * | hsrproxy: repair emptyportrange behavior | Nick Mathewson | 2023-09-07 | 1 | -0/+2 |
| | | |||||
| * | hsproxy: add TODO link to thread. | Nick Mathewson | 2023-09-07 | 1 | -0/+3 |
| | | |||||
| * | hsprproxy: add note about possible validation step | Nick Mathewson | 2023-09-07 | 1 | -0/+2 |
| | | |||||
| * | hsrproxy: tests for (not accepting) legacy ipv4 formats | Nick Mathewson | 2023-09-07 | 1 | -0/+17 |
| | | |||||
| * | hsrproxy: Add todos about udp and haproxy | Nick Mathewson | 2023-09-07 | 1 | -1/+9 |
| | | |||||
| * | hsrproxy: Refactor ProxyPattern to use RangeInclusive. | Nick Mathewson | 2023-09-07 | 1 | -50/+33 |
| | | | | | | Also, allow nonempty ranges starting with 0- and implement Eq and PartialEq. | ||||
| * | hsrproxy: Make config member pub(crate). | Nick Mathewson | 2023-09-07 | 1 | -1/+1 |
| | | |||||
