summaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-04-01 00:22:17 +1100
committerDavid Goulet <dgoulet@torproject.org>2016-08-24 14:40:54 -0400
commitb311f82026d51141a2ef6dd4a709d41a0dd3c388 (patch)
tree9fe9df7fd7e38b81caee351a441635060369add4 /src/or/hibernate.c
parent45b4e63519eafe99297561d6d81aa18151191cec (diff)
downloadtor-b311f82026d51141a2ef6dd4a709d41a0dd3c388.tar.gz
tor-b311f82026d51141a2ef6dd4a709d41a0dd3c388.zip
Check non-onion hostnames & IP addresses against client port flags
Check NoDNSRequest, NoIPv4Traffic, and NoIPv6Traffic before attaching a stream. NoDNSRequest refuses connections to all non-onion hostnames, but permits IP addresses. NoIPv4Traffic refuses connections to IPv4 addresses, but resolves hostnames. NoIPv6Traffic refuses connections to IPv6 addresses, but resolves hostnames. Combined, they refuse all non-onion hostnames and IP addresses.
Diffstat (limited to 'src/or/hibernate.c')
0 files changed, 0 insertions, 0 deletions