diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-08-10 09:01:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-08-10 09:01:37 +0000 |
commit | 5cff4164a08af2a869e5e85aa6d359b865eee9aa (patch) | |
tree | e529cd925b0c3634b512bf638e9edb31dbde22f2 /src/or/hibernate.c | |
parent | 8cbd03fdaf3c138a2ca41b41c995643146fdac94 (diff) | |
download | tor-5cff4164a08af2a869e5e85aa6d359b865eee9aa.tar tor-5cff4164a08af2a869e5e85aa6d359b865eee9aa.tar.gz |
r7299@Kushana: nickm | 2006-08-10 01:08:58 -0700
Patch from Tup to add support for transparent AP connections: this basically bundles the functionality of trans-proxy-tor into the tor mainline. Now hosts with compliant pf/netfilter implementations can redirect TCP connections straight to Tor without diverting through SOCKS.
svn:r7007
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index a1aca0327..93c4cbe55 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -712,6 +712,7 @@ hibernate_begin(int new_state, time_t now) /* close listeners. leave control listener(s). */ while ((conn = connection_get_by_type(CONN_TYPE_OR_LISTENER)) || (conn = connection_get_by_type(CONN_TYPE_AP_LISTENER)) || + (conn = connection_get_by_type(CONN_TYPE_AP_TRANS_LISTENER)) || (conn = connection_get_by_type(CONN_TYPE_DIR_LISTENER))) { log_info(LD_NET,"Closing listener type %d", conn->type); connection_mark_for_close(conn); |