diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-03-31 21:26:41 +1100 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2016-08-24 14:40:53 -0400 |
commit | 41cc1f612bd2112ab7cec0cc4fdeb68c26e231bf (patch) | |
tree | e01739cc16cab77955622905ab1f693f3ef6c9de /src/or/or.h | |
parent | 00ec701f8343f5523de52d10b19fe637609f735e (diff) | |
download | tor-41cc1f612bd2112ab7cec0cc4fdeb68c26e231bf.tar.gz tor-41cc1f612bd2112ab7cec0cc4fdeb68c26e231bf.zip |
Parse *Port flags NoDNSRequest, NoOnionTraffic & OnionTrafficOnly
OnionTrafficOnly is equivalent to NoDNSRequest, NoIPv4Traffic,
and NoIPv6Traffic.
Add unit tests for parsing and checking option validity.
Add documentation for each flag to the man page.
Add changes file for all of #18693.
Parsing only: the flags do not change client behaviour (yet!)
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 43b31c0fdd..d83a921ae9 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1151,6 +1151,8 @@ typedef struct entry_port_cfg_t { unsigned int ipv4_traffic : 1; unsigned int ipv6_traffic : 1; unsigned int prefer_ipv6 : 1; + unsigned int dns_request : 1; + unsigned int onion_traffic : 1; /** For a socks listener: should we cache IPv4/IPv6 DNS information that * exit nodes tell us? |