diff options
author | Geoff Goodell <goodell@eecs.harvard.edu> | 2005-03-11 05:07:31 +0000 |
---|---|---|
committer | Geoff Goodell <goodell@eecs.harvard.edu> | 2005-03-11 05:07:31 +0000 |
commit | af15c711c97e4628754f3efb3fa40c1ec38006c2 (patch) | |
tree | 30c1283a0428b520e4e7ec1f2953452b432e595f /src/or/router.c | |
parent | 99cc6bae0d94b14525fa4e11dc0b1e22b6c7a369 (diff) | |
download | tor-af15c711c97e4628754f3efb3fa40c1ec38006c2.tar.gz tor-af15c711c97e4628754f3efb3fa40c1ec38006c2.zip |
redefining default exit policy as per or-talk discussion
svn:r3739
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 e67829ca6b..331ec7b090 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -550,7 +550,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 *:389,accept *:443,accept *:636,accept *:706,accept *:873,accept *:993,accept *:995,reject *:1214,reject *:4661-4666,reject *:6346-6347,reject *:6419,reject *:6881-6889,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,reject *:25,reject *:119,reject *:135-139,reject *:445,reject *:1214,reject *:4661-4666,reject *:6346-6429,reject *:6699,reject *:6881-6999,accept *:*" /** 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 |