diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-10-24 11:47:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-10-24 11:47:40 -0400 |
commit | 961c8f4838d36565ef7a54df1ed2cd692db93430 (patch) | |
tree | 72e5885efe6811e2065fe5f0bcad1c50e58e00c3 /src/or/policies.c | |
parent | e3592cd8b56145201843733523a68b1706ba4556 (diff) | |
download | tor-961c8f4838d36565ef7a54df1ed2cd692db93430.tar.gz tor-961c8f4838d36565ef7a54df1ed2cd692db93430.zip |
Module-document dnsserv.c, policies.c, routerkeys.c
Diffstat (limited to 'src/or/policies.c')
-rw-r--r-- | src/or/policies.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/policies.c b/src/or/policies.c index 44a46d2fe2..4b26c697c8 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -6,6 +6,13 @@ /** * \file policies.c * \brief Code to parse and use address policies and exit policies. + * + * We have two key kinds of address policy: full and compressed. A full + * policy is an array of accept/reject patterns, to be applied in order. + * A short policy is simply a list of ports. This module handles both + * kinds, including generic functions to apply them to addresses, and + * also including code to manage the global policies that we apply to + * incoming and outgoing connections. **/ #define POLICIES_PRIVATE |