mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
35d08e30d8
This time, I follow grarpamp's suggestion and move the check for .exit+AllowDotExit 0 to the top of connection_ap_rewrite_and_attach, before any rewriting occurs. This way, .exit addresses are forbidden as they arrive from a socks connection or a DNSPort request, and not otherwise. It _is_ a little more complicated than that, though. We need to treat any .exit addresses whose source is TrackHostExits as meaning that we can retry without that exit. We also need to treat any .exit address that comes from an AutomapHostsOnResolve operation as user-provided (and thus forbidden if AllowDotExits==0), so that transitioning from AllowDotExits==1 to AllowDotExits==0 will actually turn off automapped .exit addresses. |
||
---|---|---|
.. | ||
bug3940_redux | ||
bug4591 | ||
bug4865 | ||
bug5070 | ||
bug5091 | ||
bug5645 | ||
bug5723 | ||
bug5760 | ||
bug5762 | ||
bug5786_nocrash | ||
bug5786_nodups | ||
bug5786_range | ||
bug5828 |