| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Start new address policies with refcount of 1, not 2. Backport candidate once tested more.
svn:r14204
|
|
|
|
|
|
|
| |
Fix bug in earlier bugfix. Note stupidness of allowing NULL policies at all. Disallow empty exit policies in router descriptors.
svn:r14082
|
|
|
|
|
|
|
| |
Fix policy-related crash bug found by lodger.
svn:r14077
|
|
|
|
| |
svn:r13412
|
|
|
|
|
|
|
| |
Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items.
svn:r13405
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
is. but i could be wrong.
svn:r13248
|
|
|
|
|
|
|
| |
add some missing checks for failing return values.
svn:r13130
|
|
|
|
|
|
|
| |
Fix policies.c build on gcc 4.2 with warnings.
svn:r13112
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Whitespace fix.
svn:r12857
|
|
|
|
| |
svn:r12786
|
|
|
|
|
|
|
|
|
| |
authorities to mark certain relays as "bad directories" in the
networkstatus documents. Also supports the "!baddir" directive in
the approved-routers file.
svn:r12754
|
|
|
|
| |
svn:r12618
|
|
|
|
|
|
|
| |
Do not keep a string representation of every single addr_policy_t lying around. This might save a few hundred K.
svn:r12617
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r10335
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fix 35 remaining DOCDOC comments. Yowza.
svn:r9596
|
|
|
|
|
|
|
| |
Resolve 56 DOCDOC comments.
svn:r9594
|
|
|
|
|
|
|
| |
Update copyright dates.
svn:r9570
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Another cleanup: expand_exit_policy_aliases was totally redundant with respect to router_parse_[private_]addr_policy_private.
svn:r9219
|
|
|
|
|
|
|
| |
Calculate the length of policy strings correctly again.
svn:r9215
|
|
|
|
|
|
|
| |
Remove some dead code; refactor some duplicated code.
svn:r9206
|
|
|
|
|
|
|
|
| |
NNTP by default, so this seems like a sensible addition.
(suggested by bug 331)
svn:r9149
|
|
|
|
|
|
|
| |
Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts.
svn:r9052
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r8558
|
|
|
|
|
|
|
| |
Consider non-exit servers unsuitable for RESOLVE commands.
svn:r8442
|
|
|
|
|
|
|
| |
Trivial cleanup: !!x is a weird way to spell x != NULL.
svn:r8441
|
|
|
|
|
|
|
| |
this time for sure!
svn:r6617
|
|
|
|
|
|
|
| |
don't need to guess what it is / will be later.
svn:r6615
|
|
|
|
|
|
|
| |
how many ports are allowd. require two ports open, not just one.
svn:r6609
|
|
|
|
| |
svn:r6608
|
|
|
|
|
|
| |
Also, fix some whitespace.
svn:r6317
|
|
Fix some minor bugs and memory leaks along the way.
svn:r6246
|