aboutsummaryrefslogtreecommitdiff
path: root/src/or/policies.c
Commit message (Collapse)AuthorAge
* r19074@catbus: nickm | 2008-03-26 17:08:32 -0400Nick Mathewson2008-03-26
| | | | | | | Start new address policies with refcount of 1, not 2. Backport candidate once tested more. svn:r14204
* r18896@catbus: nickm | 2008-03-17 16:10:54 -0400Nick Mathewson2008-03-17
| | | | | | | Fix bug in earlier bugfix. Note stupidness of allowing NULL policies at all. Disallow empty exit policies in router descriptors. svn:r14082
* r18880@catbus: nickm | 2008-03-17 12:51:24 -0400Nick Mathewson2008-03-17
| | | | | | | Fix policy-related crash bug found by lodger. svn:r14077
* Update some copyright notices: it is now 2008.Nick Mathewson2008-02-07
| | | | svn:r13412
* r17947@catbus: nickm | 2008-02-06 11:57:53 -0500Nick Mathewson2008-02-06
| | | | | | | Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items. svn:r13405
* r17910@catbus: nickm | 2008-02-05 15:36:29 -0500Nick Mathewson2008-02-05
| | | | | | | Check for correctness of AuthDir* options in options_validate; check for possible bugs where options_validate() is happy but parse_policies_from_options() is sad. svn:r13384
* weasel was worried there was a leak here. i don't think thereRoger Dingledine2008-01-24
| | | | | | | is. but i could be wrong. svn:r13248
* r17611@catbus: nickm | 2008-01-14 13:44:16 -0500Nick Mathewson2008-01-14
| | | | | | | add some missing checks for failing return values. svn:r13130
* r17580@catbus: nickm | 2008-01-11 20:40:30 -0500Nick Mathewson2008-01-12
| | | | | | | Fix policies.c build on gcc 4.2 with warnings. svn:r13112
* r15779@tombo: nickm | 2008-01-01 23:43:24 -0500Nick Mathewson2008-01-02
| | | | | | | Use reference-counting to avoid allocating a zillion little addr_policy_t objects. (This is an old patch that had been sitting on my hard drive for a while.) svn:r13017
* r17232@catbus: nickm | 2007-12-18 16:22:10 -0500Nick Mathewson2007-12-18
| | | | | | | Whitespace fix. svn:r12857
* clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine2007-12-12
| | | | svn:r12786
* New config options AuthDirBadDir and AuthDirListBadDirs forRoger Dingledine2007-12-10
| | | | | | | | | authorities to mark certain relays as "bad directories" in the networkstatus documents. Also supports the "!baddir" directive in the approved-routers file. svn:r12754
* r12617 broke the compileRoger Dingledine2007-11-30
| | | | svn:r12618
* r16881@catbus: nickm | 2007-11-30 15:07:42 -0500Nick Mathewson2007-11-30
| | | | | | | Do not keep a string representation of every single addr_policy_t lying around. This might save a few hundred K. svn:r12617
* Exit policies now reject connections that are addressed to aRoger Dingledine2007-11-10
| | | | | | | | | | relay's public (external) IP address too, unless ExitPolicyRejectPrivate is turned off. We do this because too many relays are running nearby to services that trust them based on network address. svn:r12459
* r13834@catbus: nickm | 2007-07-19 15:40:42 -0400Nick Mathewson2007-07-19
| | | | | | | Another patch from croup: drop support for address masks that do not correspond to bit prefixes. Nobody has used this for a while, and we have given warnings for a long time. svn:r10881
* r13477@catbus: nickm | 2007-06-17 14:22:03 -0400Nick Mathewson2007-06-17
| | | | | | | Sun CC likes to give warnings for the do { } while(0) construction for making statement-like macros. Define STMT_BEGIN/STMT_END macros that do the right thing, and use them everywhere. svn:r10645
* polish r9933-r9994Roger Dingledine2007-05-25
| | | | svn:r10335
* r12771@catbus: nickm | 2007-05-16 18:12:32 -0400Nick Mathewson2007-05-16
| | | | | | | Make -Wstrict-overflow=5 happy with GCC 4.2. It is kind of a pain, but it does agood job of letting us know where we can make our code better by simplifying dependent conditionals. svn:r10201
* r11832@catbus: nickm | 2007-02-16 15:31:59 -0500Nick Mathewson2007-02-16
| | | | | | | Fix 35 remaining DOCDOC comments. Yowza. svn:r9596
* r11826@catbus: nickm | 2007-02-16 14:58:38 -0500Nick Mathewson2007-02-16
| | | | | | | Resolve 56 DOCDOC comments. svn:r9594
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson2007-02-12
| | | | | | | Update copyright dates. svn:r9570
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500Nick Mathewson2007-02-02
| | | | | | | Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477
* r11761@Kushana: nickm | 2006-12-29 15:45:56 -0500Nick Mathewson2006-12-29
| | | | | | | Another cleanup: expand_exit_policy_aliases was totally redundant with respect to router_parse_[private_]addr_policy_private. svn:r9219
* r11755@Kushana: nickm | 2006-12-29 11:49:20 -0500Nick Mathewson2006-12-29
| | | | | | | Calculate the length of policy strings correctly again. svn:r9215
* r11737@Kushana: nickm | 2006-12-28 18:32:13 -0500Nick Mathewson2006-12-29
| | | | | | | Remove some dead code; refactor some duplicated code. svn:r9206
* Reject *:563 (NTTPS) in the default exit policy. We already rejectRoger Dingledine2006-12-18
| | | | | | | | NNTP by default, so this seems like a sensible addition. (suggested by bug 331) svn:r9149
* r11479@Kushana: nickm | 2006-12-07 23:38:54 -0500Nick Mathewson2006-12-08
| | | | | | | Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts. svn:r9052
* r9318@Kushana: nickm | 2006-10-22 15:22:57 -0400Nick Mathewson2006-10-23
| | | | | | | Let directory authorities set the BadExit flag if they like. Also, refactor directory authority code so we can believe multiple things about a single router, and do fewer linear searches. svn:r8794
* touchupsRoger Dingledine2006-10-01
| | | | svn:r8558
* r8877@Kushana: nickm | 2006-09-21 17:12:33 -0400Nick Mathewson2006-09-21
| | | | | | | Consider non-exit servers unsuitable for RESOLVE commands. svn:r8442
* r8876@Kushana: nickm | 2006-09-21 16:58:46 -0400Nick Mathewson2006-09-21
| | | | | | | Trivial cleanup: !!x is a weird way to spell x != NULL. svn:r8441
* bugfix in exit_policy_is_general_exit() that weasel found.Roger Dingledine2006-06-13
| | | | | | | this time for sure! svn:r6617
* export the default exit policy via the control port, so controllersRoger Dingledine2006-06-13
| | | | | | | don't need to guess what it is / will be later. svn:r6615
* reintroduce the logic to exit_policy_is_general_exit() to countRoger Dingledine2006-06-13
| | | | | | | how many ports are allowd. require two ports open, not just one. svn:r6609
* Make the Exit tag in status documents actually work in head tooPeter Palfrader2006-06-12
| | | | svn:r6608
* Fix a couple of things that make GCC complain with verbose warnings on. ↵Nick Mathewson2006-04-08
| | | | | | Also, fix some whitespace. svn:r6317
* Refactor and consolidate addr/exit policies into a new policies.c.Roger Dingledine2006-03-27
Fix some minor bugs and memory leaks along the way. svn:r6246