| Commit message (Collapse) | Author | Age |
|
|
|
| |
svn:r10543
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Deprecate RedirectExits.
svn:r10526
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fix up a couple of loops flagged by -Wunsafe-loop-optimizations so that they are more readable (and more amenable to compilation)
svn:r10513
|
|
|
|
|
|
|
| |
Remove another long-dead #if 0 I missed before
svn:r10511
|
|
|
|
|
|
|
| |
Apply my sekrit "unused macro detector" script to hunt down some macros we didnt use.
svn:r10510
|
|
|
|
|
|
|
| |
Remove some deadcode that seems unlikely to return
svn:r10509
|
|
|
|
|
|
|
| |
Man page and small tweaks for last patch.
svn:r10505
|
|
|
|
|
|
|
| |
Patch from peter palfrader: control interface via unix domain socket
svn:r10504
|
|
|
|
|
|
|
| |
Mark fields that need to be ipv6-ified.
svn:r10503
|
|
|
|
| |
svn:r10495
|
|
|
|
|
|
|
| |
When choosing a guard, weight by bandwidth. Resolves bug 440.
svn:r10493
|
|
|
|
|
|
|
| |
Code to check signatures on consensus directories.
svn:r10492
|
|
|
|
|
|
|
| |
Adapt code to parse v3 networkstatus votes so it can also parse a consensus. Make networkstatus_vote_t the catch-all type for votes and conensuses. Correct/clarify the second argument to directory-signature.
svn:r10491
|
|
|
|
|
|
|
| |
More code to generate a consensus from a list of votes. Now, we handle Named, and we actually generate and sign the signed consensus. Yippee. Still needs testing. Still not actually called.
svn:r10490
|
|
|
|
|
|
|
| |
Start of code to compute consensus network-status stuff from a bunch of votes. Strangely, it does not yet feel like an enormous ugly hack.
svn:r10489
|
|
|
|
|
|
| |
We are smarter than comparing lengths of want- and have-listeners.
svn:r10487
|
|
|
|
|
|
| |
always was 0.
svn:r10486
|
|
|
|
|
|
|
|
| |
connection to a port that the hidden service didn't configure.
Resolves bug 444.
svn:r10478
|
|
|
|
|
|
|
| |
Oops. Only bind ports and start libevent if we are actually running Tor.
svn:r10474
|
|
|
|
|
|
|
| |
Bind ports before setuid/setgid.
svn:r10473
|
|
|
|
|
|
|
| |
Patch from robert hogan: avoid crash when DNS port is set more than once.
svn:r10471
|
|
|
|
|
|
|
| |
First cut at code to parse and validate v3 networkstatus votes.
svn:r10461
|
|
|
|
|
|
|
| |
Remove an obsoleted function
svn:r10460
|
|
|
|
| |
svn:r10453
|
|
|
|
|
|
|
| |
On systems with svk, do not clobber micro-revision.i when building from a tarball.
svn:r10452
|
|
|
|
|
|
|
| |
Server-side support for If-Modified-Since in HTTP requsts for v1 stuff, and for network-status documents.
svn:r10451
|
|
|
|
|
|
|
| |
Fix bug 441, 442, and possibly 417 (again).
svn:r10449
|
|
|
|
|
|
|
| |
Add some asserts to catch double-insert on routerlist.
svn:r10445
|
|
|
|
|
|
|
| |
Try to fix some mipspro compiler warnings. There will still be some left.
svn:r10444
|
|
|
|
|
|
|
| |
Add some ;trues, and tabify.
svn:r10441
|
|
|
|
|
|
|
| |
Ah. Of course. You spell "is there an svn" as 'test -x "`which svn 2>&1`"'. Perfectly reasonable. Don't know why I didn't think of it in the first place.
svn:r10440
|
|
|
|
|
|
|
| |
Test for ~/.svk/local, not ~/.svk. Eschew use of test -a and test -o. Bulletproof more against odd shells.
svn:r10439
|
|
|
|
|
|
|
| |
Oops. Different inet_ntop implementations seem to differ on whether, in an IPv6 address with a single "0" word, that word should be written as 0, or omitted. Fix the unit tests to account for that.
svn:r10432
|
|
|
|
| |
svn:r10429
|
|
|
|
|
|
|
| |
Patch from Tup: treat RESOLVED_TYPE_ERROR_TRANSIENT as a SERVERFAILED, and RESOLVED_TYPE_ERROR as NOTEXIST. Generate transient/nontransient errors more sensibly. Set flags better on DNS replies.
svn:r10427
|
|
|
|
|
|
|
| |
Cleanup whitespace.
svn:r10425
|
|
|
|
|
|
|
| |
More code for voting and vote parsing (checkpointing)
svn:r10423
|
|
|
|
|
|
|
| |
Fix patch r10411; fix from robert hogan.
svn:r10422
|
|
|
|
|
|
|
| |
Make "authdir_newdesc rejected" work again.
svn:r10421
|
|
|
|
|
|
|
| |
Unit tests [and debugging] for tor_inet_ntop() and tor_inet_pton()
svn:r10420
|
|
|
|
|
|
|
| |
If the user makes a torrc that exceeds the bandwidth cap by one byte, let them have it.
svn:r10411
|
|
|
|
|
|
|
| |
Oops. Authorities should recommend nodes as exits.
svn:r10403
|