mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 23:21:38 +01:00
Merge remote-tracking branch 'tor-gitlab/mr/184' into master
This commit is contained in:
commit
6c61011781
2 changed files with 5 additions and 7 deletions
5
changes/bug33607
Normal file
5
changes/bug33607
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
o Minor bugfixes (ipv6):
|
||||||
|
- Allow non-SOCKSPorts to disable IPv4, IPv6, and Prefer IPv4. Some rare
|
||||||
|
configs might break, but in this case you can disable NoIPv4Traffic and
|
||||||
|
NoIPv6Traffic as needed. Fixes bug 33607; bugfix on 0.4.1.1-alpha. Patch
|
||||||
|
by Neel Chauhan.
|
|
@ -1718,13 +1718,6 @@ 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (connection_add(conn) < 0) { /* no space, forget it */
|
if (connection_add(conn) < 0) { /* no space, forget it */
|
||||||
log_warn(LD_NET,"connection_add for listener failed. Giving up.");
|
log_warn(LD_NET,"connection_add for listener failed. Giving up.");
|
||||||
goto err;
|
goto err;
|
||||||
|
|
Loading…
Add table
Reference in a new issue