diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-01-31 12:59:35 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-01-31 12:59:35 -0500 |
commit | 09ccc4c4a3b67695295ad95f24b2f102d5f2fa1a (patch) | |
tree | 22954a4eeb94bf31805c6fcd9b6620f37928e3e6 /src/or/or.h | |
parent | 4fe253ef40a96dbfb978752e9d2833e8b491ca28 (diff) | |
download | tor-09ccc4c4a3b67695295ad95f24b2f102d5f2fa1a.tar tor-09ccc4c4a3b67695295ad95f24b2f102d5f2fa1a.tar.gz |
Add support for TPROXY via new TransTPRoxy option
Based on patch from "thomo" at #10582.
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 7df6c37f7..55f286208 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3553,6 +3553,8 @@ typedef struct { config_line_t *SocksPort_lines; /** Ports to listen on for transparent pf/netfilter connections. */ config_line_t *TransPort_lines; + int TransTPROXY; /** < Boolean: are we going to listen for all destinations + * on the TransPort_lines are required for TPROXY? */ config_line_t *NATDPort_lines; /**< Ports to listen on for transparent natd * connections. */ config_line_t *ControlPort_lines; /**< Ports to listen on for control |