mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Revert "Make TransProxyType ipfw work correctly"
This reverts commit 681802817d
.
(I didn't mean to backport this, but somehow I had based my branch
for #15205 on it.)
This commit is contained in:
parent
eecd410984
commit
9063f29160
@ -1,4 +0,0 @@
|
|||||||
o Major bugfixes (FreeBSD IPFW transparent proxy):
|
|
||||||
- Fix address detection with FreeBSD transparent proxies,
|
|
||||||
when "TransProxyType ipfw" is in use.
|
|
||||||
Fixes bug 15064; bugfix on 0.2.5.4-alpha.
|
|
@ -1531,8 +1531,7 @@ connection_ap_get_original_destination(entry_connection_t *conn,
|
|||||||
if (options->TransProxyType_parsed == TPT_PF_DIVERT)
|
if (options->TransProxyType_parsed == TPT_PF_DIVERT)
|
||||||
return destination_from_socket(conn, req);
|
return destination_from_socket(conn, req);
|
||||||
|
|
||||||
if (options->TransProxyType_parsed == TPT_DEFAULT ||
|
if (options->TransProxyType_parsed == TPT_DEFAULT)
|
||||||
options->TransProxyType_parsed == TPT_IPFW)
|
|
||||||
return destination_from_pf(conn, req);
|
return destination_from_pf(conn, req);
|
||||||
|
|
||||||
(void)conn;
|
(void)conn;
|
||||||
|
Loading…
Reference in New Issue
Block a user