aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-11-19 10:12:10 +0000
committerRoger Dingledine <arma@torproject.org>2005-11-19 10:12:10 +0000
commit5c949fce51e15db4b89647b4de25cd83f48485e4 (patch)
tree576c9294aa4fbd84075a940d6342f72d35386b58 /src/or/config.c
parentb819a5365419059b728f859a8ac998dfbb39fcc1 (diff)
downloadtor-5c949fce51e15db4b89647b4de25cd83f48485e4.tar
tor-5c949fce51e15db4b89647b4de25cd83f48485e4.tar.gz
Start obeying our firewall options more rigorously:
- If we can't get to a dirserver directly, try going via Tor. - Don't ever try to connect (as a client) to a place our firewall options forbid. - If we specify a proxy and also firewall options, obey the firewall options even when we're using the proxy: some proxies can only proxy to certain destinations. svn:r5431
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c
index b5f6df73f..be23ea337 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1701,7 +1701,7 @@ parse_reachable_addresses(void)
}
/** Return true iff the firewall options might block any address:port
- * combination
+ * combination.
*/
int
firewall_is_fascist(void)
@@ -1710,7 +1710,7 @@ firewall_is_fascist(void)
}
/** Return true iff we are configured to think that the local fascist
- * firewall (if any) will allow a connection to <b>addr</b>:<b>port</b> */
+ * firewall (if any) will allow a connection to <b>addr</b>:<b>port</b>. */
int
fascist_firewall_allows_address(uint32_t addr, uint16_t port)
{