| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
svn:r16549
|
|
|
|
|
|
| |
Explicitly mention them as reject 1-65535.
svn:r16543
|
|
|
|
| |
svn:r16535
|
|
|
|
|
|
| |
1000 chars
svn:r16530
|
|
|
|
| |
svn:r16528
|
|
|
|
| |
svn:r16526
|
|
|
|
| |
svn:r16525
|
|
|
|
| |
svn:r16524
|
|
|
|
| |
svn:r16523
|
|
|
|
| |
svn:r16522
|
|
|
|
| |
svn:r16521
|
|
|
|
|
|
| |
save my soul
svn:r16520
|
|
|
|
|
|
| |
set of helpers
svn:r16519
|
|
|
|
| |
svn:r16518
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
policies was uninitialized.
svn:r16372
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Free baddir and badexit policy lists on exit. fixes bug 672. only affects authorities.
svn:r14431
|
|
|
|
|
|
|
| |
Free some static hashtables and the log mutex on exit. Backport candidate.
svn:r14212
|
|
|
|
|
|
|
| |
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
|