diff options
author | Roger Dingledine <arma@torproject.org> | 2005-01-29 11:16:23 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-01-29 11:16:23 +0000 |
commit | 7fd8dfe6eabda78c0e77e7232a2f5678e9ff5aa4 (patch) | |
tree | 839933021043bc9c8928366d0a9ff0d52335a715 /src/or/router.c | |
parent | 82d3894f3eae44724031d7a53ffe1de31c071a3c (diff) | |
download | tor-7fd8dfe6eabda78c0e77e7232a2f5678e9ff5aa4.tar.gz tor-7fd8dfe6eabda78c0e77e7232a2f5678e9ff5aa4.zip |
accept LDAP (389/tcp) and LDAPS (636/tcp) in default exit policy
svn:r3457
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index c28e8c35f8..78e7a5d53a 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -449,7 +449,7 @@ void router_upload_dir_desc_to_dirservers(int force) { directory_post_to_dirservers(DIR_PURPOSE_UPLOAD_DIR, s, strlen(s)); } -#define DEFAULT_EXIT_POLICY "reject 0.0.0.0/8,reject 169.254.0.0/16,reject 127.0.0.0/8,reject 192.168.0.0/16,reject 10.0.0.0/8,reject 172.16.0.0/12,accept *:20-22,accept *:53,accept *:79-81,accept *:110,accept *:143,accept *:443,accept *:706,accept *:873,accept *:993,accept *:995,reject *:4661-4662,reject *:1214,reject *:6346,accept *:1024-65535,reject *:*" +#define DEFAULT_EXIT_POLICY "reject 0.0.0.0/8,reject 169.254.0.0/16,reject 127.0.0.0/8,reject 192.168.0.0/16,reject 10.0.0.0/8,reject 172.16.0.0/12,accept *:20-22,accept *:53,accept *:79-81,accept *:110,accept *:143,accept *:389,accept *:443,accept *:636,accept *:706,accept *:873,accept *:993,accept *:995,reject *:4661-4662,reject *:1214,reject *:6346,accept *:1024-65535,reject *:*" /** Set the exit policy on <b>router</b> to match the exit policy in the * current configuration file. If the exit policy doesn't have a catch-all |