aboutsummaryrefslogtreecommitdiff
path: root/src/or/policies.c
Commit message (Expand)AuthorAge
* *_free functions now accept NULL•••Some *_free functions threw asserts when passed NULL. Now all of them accept NULL as input and perform no action when called that way. This gains us consistence for our free functions, and allows some code simplifications where an explicit null check is no longer necessary. Sebastian Hahn2009-12-12
* Fix bug 1113.•••Bridges do not use the default exit policy, but reject *:* by default. Karsten Loesing2009-10-27
* Avoid a memory corruption problem related to "private" in DirPolicy.•••This is a posible fix for bug 996. Nick Mathewson2009-06-05
* Spell-check Tor.Nick Mathewson2009-05-27
* Update copyright to 2009.Karsten Loesing2009-05-04
* Log cached-at-exit exit policies to try to fix bug 672.•••svn:r18827 Nick Mathewson2009-03-09
* Remove svn $Id$s from our source, and remove tor --version --version.•••The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 Nick Mathewson2009-01-04
* Switch address comparisons in policies to be exact rather than semantic. Unt...•••svn:r17803 Nick Mathewson2008-12-29
* Refactor some exit-policy-related functions that showed up in oprofile.•••Specifically, split compare_tor_addr_to_addr_policy() from a loop with a bunch of complicated ifs inside into some ifs, each with a simple loop. Rearrange router_find_exact_exit_enclave() to run a little faster. Bizarrely, router_policy_rejects_all() shows up on oprofile, so precalculate it per routerinfo. svn:r17802 Nick Mathewson2008-12-29
* Fix most DOCDOCs remaining and/or added by redox.•••svn:r17734 Nick Mathewson2008-12-22
* Add DOCDOC comments for all undocumented functions. Add missing *s to other ...•••svn:r17729 Nick Mathewson2008-12-22
* Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this p...•••svn:r17686 Nick Mathewson2008-12-18
* Remove bug 811/845 debugging code•••svn:r17199 Nick Mathewson2008-11-07
* Add some debugging logs for bug 811/845.•••svn:r17186 Nick Mathewson2008-11-03
* Allow ports 465 and 587 in the default exit policy again. We had•••rejected them in 0.1.0.15, because back in 2005 they were commonly misconfigured and ended up as spam targets. We hear they are better locked down these days. svn:r16898 Roger Dingledine2008-09-13
* We should not alter an addr_policy_t that has been canonicalized.•••svn:r16802 Nick Mathewson2008-09-09
* Fix a malloc that should have been a tor_malloc•••svn:r16780 Nick Mathewson2008-09-05
* Fix numerous memory leaks: some were almost impossible to trigger, and some a...•••svn:r16779 Nick Mathewson2008-09-05
* If we are lucky the whitespace nazis will not have noticed these things yet•••svn:r16549 Peter Palfrader2008-08-14
* Having a reject-all policy summarized with a lack of summary is stupid. Expl...•••svn:r16543 Peter Palfrader2008-08-14
* This bunch of functions really should be static•••svn:r16535 Peter Palfrader2008-08-14
* Fix an overflow when counting rejects for *, truncate exit summaries after 10...•••svn:r16530 Peter Palfrader2008-08-13
* Think of the poor children in Antarctica who still have to work on 4" screens•••svn:r16528 Peter Palfrader2008-08-13
* Also special case "accept 1-65535" case, do not leak in non-exit case•••svn:r16526 Peter Palfrader2008-08-13
* Return NULL for policies that do not allow any exits•••svn:r16525 Peter Palfrader2008-08-13
* Fix condition statement for accept items, fix two asserts•••svn:r16524 Peter Palfrader2008-08-13
* Make sure we don't run off the end of the list•••svn:r16523 Peter Palfrader2008-08-13
* Move policy_summarize() prototype to or.h•••svn:r16522 Peter Palfrader2008-08-13
* Create string representation of exit summaries•••svn:r16521 Peter Palfrader2008-08-13
* Nickm says I'm going to hell, but if I write that in a comment he might just ...•••svn:r16520 Peter Palfrader2008-08-13
* implement policy_summary_accept and policy_summary_reject together with a set...•••svn:r16519 Peter Palfrader2008-08-13
* Start with exit policy summaries•••svn:r16518 Peter Palfrader2008-08-13
* r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400••• Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you. svn:r16435 Nick Mathewson2008-08-05
* Fix a bug when generating router descriptors: The address part of exit polici...•••svn:r16372 Karsten Loesing2008-08-03
* r17391@pc-10-8-1-079: nickm | 2008-07-25 17:11:17 +0200••• Tor_addr_compare did a semantic comparison, such that ::1.2.3.4 and 1.2.3.4 were "equal". we sometimes need an exact comparison. Add a feature to do that. svn:r16210 Nick Mathewson2008-07-25
* r17346@aud-055: nickm | 2008-07-24 15:37:19 +0200••• Make generic address manipulation functions work better. Switch address policy code to use tor_addr_t, so it can handle IPv6. That is a good place to start. svn:r16178 Nick Mathewson2008-07-24
* r15308@tombo: nickm | 2008-04-23 16:46:48 -0400••• Free baddir and badexit policy lists on exit. fixes bug 672. only affects authorities. svn:r14431 Nick Mathewson2008-04-23
* r19089@catbus: nickm | 2008-03-27 11:05:23 -0400••• Free some static hashtables and the log mutex on exit. Backport candidate. svn:r14212 Nick Mathewson2008-03-27
* r19074@catbus: nickm | 2008-03-26 17:08:32 -0400••• Start new address policies with refcount of 1, not 2. Backport candidate once tested more. svn:r14204 Nick Mathewson2008-03-26
* r18896@catbus: nickm | 2008-03-17 16:10:54 -0400••• Fix bug in earlier bugfix. Note stupidness of allowing NULL policies at all. Disallow empty exit policies in router descriptors. svn:r14082 Nick Mathewson2008-03-17
* r18880@catbus: nickm | 2008-03-17 12:51:24 -0400••• Fix policy-related crash bug found by lodger. svn:r14077 Nick Mathewson2008-03-17
* Update some copyright notices: it is now 2008.•••svn:r13412 Nick Mathewson2008-02-07
* r17947@catbus: nickm | 2008-02-06 11:57:53 -0500••• Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items. svn:r13405 Nick Mathewson2008-02-06
* r17910@catbus: nickm | 2008-02-05 15:36:29 -0500••• 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 Nick Mathewson2008-02-05
* weasel was worried there was a leak here. i don't think there•••is. but i could be wrong. svn:r13248 Roger Dingledine2008-01-24
* r17611@catbus: nickm | 2008-01-14 13:44:16 -0500••• add some missing checks for failing return values. svn:r13130 Nick Mathewson2008-01-14
* r17580@catbus: nickm | 2008-01-11 20:40:30 -0500••• Fix policies.c build on gcc 4.2 with warnings. svn:r13112 Nick Mathewson2008-01-12
* r15779@tombo: nickm | 2008-01-01 23:43:24 -0500••• 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 Nick Mathewson2008-01-02
* r17232@catbus: nickm | 2007-12-18 16:22:10 -0500••• Whitespace fix. svn:r12857 Nick Mathewson2007-12-18
* clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc•••svn:r12786 Roger Dingledine2007-12-12