Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-05 | Fix Windows build. | Alexander Færøy | |
While trying to resolve our CI issues, the Windows build broke with an unused function error: src/test/test_switch_id.c:37:1: error: ‘unprivileged_port_range_start’ defined but not used [-Werror=unused-function] We solve this by moving the `#if !defined(_WIN32)` test above the `unprivileged_port_range_start()` function defintion such that it is included in its body. This is an unreviewed commit. See: tor#40275 | |||
2021-02-05 | Merge branch 'tor-gitlab/mr/292_squashed' into maint-0.4.4 | Alexander Færøy | |
2021-02-05 | Only check for bindable ports if we are unsure if it will fail. | Alexander Færøy | |
We currently assume that the only way for Tor to listen on ports in the privileged port range (1 to 1023), on Linux, is if we are granted the NET_BIND_SERVICE capability. Today on Linux, it's possible to specify the beginning of the unprivileged port range using a sysctl configuration option. Docker (and thus the CI service Tor uses) recently changed this sysctl value to 0, which causes our tests to fail as they assume that we should NOT be able to bind to a privileged port *without* the NET_BIND_SERVICE capability. In this patch, we read the value of the sysctl value via the /proc/sys/ filesystem iff it's present, otherwise we assume the default unprivileged port range begins at port 1024. See: tor#40275 | |||
2021-02-03 | Merge branch 'maint-0.4.3' into maint-0.4.4 | Nick Mathewson | |
"ours" to avoid version bump. | |||
2021-02-03 | Merge branch 'maint-0.3.5' into maint-0.4.3maint-0.4.3 | Nick Mathewson | |
"ours" to avoid version bump. | |||
2021-02-03 | bump to 0.4.4.7-dev | Nick Mathewson | |
2021-02-03 | bump to 0.4.3.8-dev | Nick Mathewson | |
2021-02-03 | Bump to 0.3.5.13-dev. | Nick Mathewson | |
2021-02-03 | Merge branch 'maint-0.4.3' into maint-0.4.4 | David Goulet | |
2021-02-03 | Merge branch 'maint-0.3.5' into maint-0.4.3 | David Goulet | |
2021-02-03 | Merge branch 'ticket40269_035_01' into maint-0.3.5 | David Goulet | |
2021-02-03 | Remove unused addr_port_set code | David Goulet | |
Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2021-02-03 | Merge branch 'maint-0.4.3' into maint-0.4.4 | David Goulet | |
2021-02-03 | Merge branch 'maint-0.3.5' into maint-0.4.3 | David Goulet | |
2021-02-03 | Merge branch 'ticket40270_035_01' into maint-0.3.5 | David Goulet | |
2021-02-03 | Merge branch 'maint-0.4.3' into maint-0.4.4 | David Goulet | |
2021-02-03 | Merge branch 'maint-0.3.5' into maint-0.4.3 | David Goulet | |
2021-02-03 | node: Move reentry set to use a digestmap_t | David Goulet | |
Any lookup now will be certain and not probabilistic as the bloomfilter. Closes #40269 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2021-02-03 | relay: Send back CONNECTION_REFUSED on reentry | David Goulet | |
The TORPROTOCOL reason causes the client to close the circuit which is not what we want because other valid streams might be on it. Instead, CONNECTION_REFUSED will leave it open but will not allow more streams to be attached to it. The client then open a new circuit to the destination. Closes #40270 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2021-02-03 | Merge branch 'maint-0.4.3' into maint-0.4.4 | David Goulet | |
2021-02-03 | Merge branch 'maint-0.3.5' into maint-0.4.3 | David Goulet | |
2021-02-03 | relay: Double the size of the relay reentry set | David Goulet | |
This is to minimize false positive and thus deny reentry to Exit connections that were in reality not re-entering. Helps with overall UX. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2021-02-03 | relay: Follow consensus parameter for network reentry | David Goulet | |
Obey the "allow-network-reentry" consensus parameters in order to decide to allow it or not at the Exit. Closes #40268 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2021-01-29 | Merge branch 'tor-gitlab/mr/285' into ticket2667_044_01 | David Goulet | |
2021-01-29 | Merge branch 'tor-gitlab/mr/284' into ticket2667_043_01 | David Goulet | |
2021-01-29 | test: Add test for exits blocking reentry to the network | George Kadianakis | |
Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2021-01-29 | exit: Deny re-entry into the network | Roger Dingledine | |
Exit relays now reject exit attempts to known relay addresses + ORPort and also to authorities on the ORPort and DirPort. Closes #2667 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2021-01-29 | relay: Add bloomfiter of relay address + {OR|Dir}Port | David Goulet | |
In order to deny re-entry in the network, we now keep a bloomfilter of relay ORPort + address and authorities ORPort + address and DirPort + address combinations. So when an Exit stream is handled, we deny anything connecting back into the network on the ORPorts for relays and on the ORPort+DirPort for the authorities. Related to #2667 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2021-01-28 | Merge branch 'maint-0.4.3' into maint-0.4.4 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.3.5' into maint-0.4.3 | David Goulet | |
2021-01-28 | Merge branch 'tor-gitlab/mr/50' into maint-0.3.5 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.4.3' into maint-0.4.4 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.3.5' into maint-0.4.3 | David Goulet | |
2021-01-28 | Merge branch 'tor-gitlab/mr/239' into maint-0.3.5 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.4.3' into maint-0.4.4 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.3.5' into maint-0.4.3 | David Goulet | |
2021-01-28 | Merge branch 'tor-gitlab/mr/243' into maint-0.3.5 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.4.3' into maint-0.4.4 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.3.5' into maint-0.4.3 | David Goulet | |
2021-01-28 | Merge branch 'tor-gitlab/mr/256' into maint-0.4.4 | David Goulet | |
2021-01-28 | Merge branch 'tor-gitlab/mr/255' into maint-0.4.3 | David Goulet | |
2021-01-28 | Merge branch 'tor-gitlab/mr/254' into maint-0.3.5 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.4.3' into maint-0.4.4 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.3.5' into maint-0.4.3 | David Goulet | |
2021-01-28 | Merge remote-tracking branch 'tor-gitlab/mr/140' into maint-0.3.5 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.4.3' into maint-0.4.4 | David Goulet | |
2021-01-28 | Merge branch 'maint-0.3.5' into maint-0.4.3 | David Goulet | |
2021-01-28 | Merge remote-tracking branch 'tor-gitlab/mr/186' into maint-0.3.5 | David Goulet | |
2021-01-28 | Bump to 0.4.4.7 | Nick Mathewson | |
2021-01-28 | Merge branch 'maint-0.4.3' into maint-0.4.4 | Nick Mathewson | |
"ours" to avoid version bump. |