aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-02-03 14:09:07 -0500
committerNick Mathewson <nickm@torproject.org>2014-04-16 23:03:25 -0400
commit3e4680f3126c2a06358535b08bf267dca1bb90a7 (patch)
tree014486c97356c86c7124ff33159c1a40159671a3 /src/or/or.h
parentd290e36576c07b288a6347385d144a493869bd97 (diff)
downloadtor-3e4680f3126c2a06358535b08bf267dca1bb90a7.tar
tor-3e4680f3126c2a06358535b08bf267dca1bb90a7.tar.gz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 38ab1767e..a5e2e7069 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