diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-02-03 14:09:07 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-04-16 23:03:25 -0400 |
commit | 3e4680f3126c2a06358535b08bf267dca1bb90a7 (patch) | |
tree | 014486c97356c86c7124ff33159c1a40159671a3 /src/or/or.h | |
parent | d290e36576c07b288a6347385d144a493869bd97 (diff) | |
download | tor-3e4680f3126c2a06358535b08bf267dca1bb90a7.tar.gz tor-3e4680f3126c2a06358535b08bf267dca1bb90a7.zip |
ipfw TransPort support on FreeBSD (10267)
This isn't on by default; to get it, you need to set "TransProxyType
ipfw". (The original patch had automatic detection for whether
/dev/pf is present and openable, but that seems marginally fragile.)
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index 38ab1767e0..a5e2e7069d 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3461,7 +3461,7 @@ typedef struct { const char *TransProxyType; /**< What kind of transparent proxy * implementation are we using? */ /** Parsed value of TransProxyType. */ - enum { TPT_DEFAULT, TPT_TPROXY } TransProxyType_parsed; + enum { TPT_DEFAULT, TPT_TPROXY, TPT_IPFW } TransProxyType_parsed; config_line_t *NATDPort_lines; /**< Ports to listen on for transparent natd * connections. */ config_line_t *ControlPort_lines; /**< Ports to listen on for control |