summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-03-26 09:14:25 -0400
committerDavid Goulet <dgoulet@torproject.org>2020-03-26 09:14:25 -0400
commite472737297f5924a584fc8f434aba085e89b887a (patch)
treea4f19e600ef9772959cbc2177e9521cdb43da885 /src/core
parent03b0d1840a9a416db520107a68509c296f522f2e (diff)
parentcc2fb91ea52fab733ee5ddde7c485854c5b170c3 (diff)
downloadtor-e472737297f5924a584fc8f434aba085e89b887a.tar.gz
tor-e472737297f5924a584fc8f434aba085e89b887a.zip
Merge branch 'tor-github/pr/1794' into maint-0.4.3
Diffstat (limited to 'src/core')
-rw-r--r--src/core/mainloop/connection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c
index bfd850da86..57b48d49f3 100644
--- a/src/core/mainloop/connection.c
+++ b/src/core/mainloop/connection.c
@@ -1514,10 +1514,11 @@ connection_listener_new(const struct sockaddr *listensockaddr,
}
}
+ /* Force IPv4 and IPv6 traffic on for non-SOCKSPorts.
+ * Forcing options on isn't a good idea, see #32994 and #33607. */
if (type != CONN_TYPE_AP_LISTENER) {
lis_conn->entry_cfg.ipv4_traffic = 1;
lis_conn->entry_cfg.ipv6_traffic = 1;
- lis_conn->entry_cfg.prefer_ipv6 = 1;
}
if (connection_add(conn) < 0) { /* no space, forget it */