| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
|
| |
Set vote_digest field prproperly in networkstatus_vote_t, so that it gets conveyed to the consensus correctly.
svn:r10590
|
| |
|
|
|
|
|
| |
Unit tests and debugging for generating and parsing consensus networkstatus documents. Still need to test actual contents.
svn:r10589
|
| |
|
|
|
|
|
| |
More vote unit tests: check that we are parsing routerstatuses correctly.
svn:r10588
|
| |
|
|
|
|
|
| |
Unit tests and debugging for vote generation and parsing code.
svn:r10587
|
| |
|
|
|
|
|
| |
New helper file for test.c: contains 3 generated certs, signing keys, and id_keys
svn:r10586
|
| |
|
|
|
|
|
| |
In tor-gencert, write BEGIN SIGNATURE, not BEGIN_SIGNATURE.
svn:r10585
|
| |
|
|
|
|
|
| |
make test_* functions stop conflicting with variables named v1 and v2.
svn:r10584
|
| |
|
|
|
|
|
| |
Expose a function to parse a private key from a string as CRYPTO_PRIVATE. For testing.
svn:r10583
|
| |
|
|
|
|
|
|
|
|
| |
an editor who actually edits, rather than the traditional
academic role of editors.
but in any case, it'll do. great.
svn:r10581
|
| |
|
|
| |
svn:r10580
|
| |
|
|
|
|
| |
(10.3-10.5).
svn:r10579
|
| |
|
|
| |
svn:r10578
|
| |
|
|
| |
svn:r10577
|
| |
|
|
| |
svn:r10576
|
| |
|
|
| |
svn:r10575
|
| |
|
|
| |
svn:r10574
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- demand options->Bridges and options->TunnelDirConns if
options->UseBridges is set.
- after directory fetches, accept descriptors that aren't referenced by
our networkstatuses, *if* they're for a configured bridge.
- delay directory fetching until we have at least one bridge descriptor.
- learn how to build a one-hop circuit when we have neither routerinfo
nor routerstatus for our destination.
- teach directory connections how to pick a bridge as the destination
directory when doing non-anonymous fetches.
- tolerate directory commands for which the dir_port is 0.
- remember descriptors when the requested_resource was "authority",
rather than just ignoring them.
- put bridges on our entry_guards list once we have a descriptor for them.
When UseBridges is set, only pick entry guards that are bridges. Else
vice versa.
svn:r10571
|
| |
|
|
|
|
|
|
|
|
| |
to RelayBandwidthRate/RelayBandwidthBurst, since that's
what most users will actually want. also flesh out the
torrc.complete entries and fix a few typos. based on
patch from "Armedblowfish".
svn:r10570
|
| |
|
|
| |
svn:r10569
|
| |
|
|
|
|
|
| |
Clarify what we mean by digest, for people who ignore "as signed" and who don't read section 1.3.
svn:r10568
|
| |
|
|
|
|
|
| |
Stop assuming that desc_by_eid_map works: in fact, it kinda doesn't. Add a big comment explaining why.
svn:r10567
|
| |
|
|
|
|
|
| |
Fix a warning on platforms where sizeof(size_t)==8, but sizeof(unsigned long)<8.
svn:r10566
|
| |
|
|
|
|
|
| |
Fix some dumb copypasta in r10562.
svn:r10565
|
| |
|
|
| |
svn:r10564
|
| |
|
|
|
|
|
| |
Make all the digestmaps inside routerlist_t use the new typechecking wrappers, so we can catch any more bugs like the one fixed by 10561. This turned up a bug in routerlist_remove: we were extracting a routerinfo_t from desc_digest_map. Fix that too, though it was probably harmless, since we were only doing a pointer comparison with it.
svn:r10563
|
| |
|
|
|
|
|
| |
Add typechecking wrappers to digestmap, so we can work with "map from digest to [FOO]" for arbitrary FOOs and still have some typesafety.
svn:r10562
|
| |
|
|
|
|
|
| |
Since desc_by_eid_map hold server descriptors, do not add routerinfo_ts. Bug found by weasel
svn:r10561
|
| |
|
|
|
|
| |
assert_ok triggers we know that our bug_417 is wrong
svn:r10560
|
| |
|
|
|
|
|
| |
Fix bug in 10533: put "opt v" line at the end of a routerstatus section; overwriting is bad.
svn:r10549
|
| |
|
|
| |
svn:r10548
|
| |
|
|
| |
svn:r10547
|
| |
|
|
|
|
|
|
| |
Bridge authorities no longer write bridge descriptors to their
cached-routers file -- this gets complex because of extrainfo documents.
svn:r10545
|
| |
|
|
|
|
|
| |
don't need it.
svn:r10544
|
| |
|
|
| |
svn:r10543
|
| |
|
|
| |
svn:r10542
|
| |
|
|
|
|
|
| |
Arg. Irix apparently #defines sa_family to something. Thus, naming fields or variables "sa_family" will not work.
svn:r10541
|
| |
|
|
|
|
|
| |
Parse networkstatuses (v2, vote, and consensus) after generating them, and fail fast if there is a parse error.
svn:r10540
|
| |
|
|
|
|
|
| |
bugfix: we were undercounting the number of authorities that recommended any given version by 1. Backport candidate.
svn:r10537
|
| |
|
|
|
|
|
| |
Add some more files to svn:ignore.
svn:r10536
|
| |
|
|
|
|
|
| |
Make versions get added to networkstatuses correctly again.
svn:r10535
|
| |
|
|
|
|
|
| |
Enfore that known_flags in networkstatus votes must be unique.
svn:r10534
|
| |
|
|
|
|
|
| |
Refactor v3 vote generation code into "build a networkstatus_vote_t" and "format a networkstatus_vote_t". This should make testing possible.
svn:r10533
|
| |
|
|
|
|
|
| |
And a changelog.
svn:r10527
|
| |
|
|
|
|
|
| |
Deprecate RedirectExits.
svn:r10526
|
| |
|
|
|
|
| |
set correctly.
svn:r10525
|
| |
|
|
|
|
|
| |
At the start of the LICENSE and AUTHORS files, explain "LICENSE for what? AUTHORS of what?" Apparently this has confused some people, who see our names in an AUTHORS file in a bundle, and so decide that we must be the go-to people tor tech support on the bundle.
svn:r10524
|
| |
|
|
|
|
|
| |
expanded readme; based on version from A.B. No longer completely useless.
svn:r10523
|
| |
|
|
|
|
|
| |
Check for non-standard SVK directories properly. Inspired by debian bug #420899 and related discussion on SVK list.
svn:r10522
|
| |
|
|
|
|
|
| |
by robert watson.
svn:r10521
|
| | |
|