summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-06-04 r13243@catbus: nickm | 2007-06-04 15:17:15 -0400Nick Mathewson
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
2007-06-04Fix retry_all_listeners() and retry_listeners() description to match code. ↵Peter Palfrader
We are smarter than comparing lengths of want- and have-listeners. svn:r10487
2007-06-04Remove force flag from retry_all_listeners() and retry_listeners(). It ↵Peter Palfrader
always was 0. svn:r10486
2007-06-04 r13239@catbus: nickm | 2007-06-04 11:30:37 -0400Nick Mathewson
Fix the fix for bug 445: set umask properly. Also use open+fdopen rather than just umask+fopen, and create authority identity key with mode 400. svn:r10485
2007-06-04Stop tearing down the whole circuit when the user asks for aRoger Dingledine
connection to a port that the hidden service didn't configure. Resolves bug 444. svn:r10478
2007-06-03 r13191@catbus: nickm | 2007-06-03 19:38:18 -0400Nick Mathewson
Set umask(0700) when starting tor-gencert; resolves bug 445. svn:r10475
2007-06-03 r13189@catbus: nickm | 2007-06-03 19:08:01 -0400Nick Mathewson
Oops. Only bind ports and start libevent if we are actually running Tor. svn:r10474
2007-06-03 r13186@catbus: nickm | 2007-06-03 19:00:20 -0400Nick Mathewson
Bind ports before setuid/setgid. svn:r10473
2007-06-03 r13174@catbus: nickm | 2007-06-03 17:39:20 -0400Nick Mathewson
Patch from robert hogan: avoid crash when DNS port is set more than once. svn:r10471
2007-06-03 r13166@catbus: nickm | 2007-06-02 23:02:40 -0400Nick Mathewson
First cut at code to parse and validate v3 networkstatus votes. svn:r10461
2007-06-03 r13165@catbus: nickm | 2007-06-02 22:55:22 -0400Nick Mathewson
Remove an obsoleted function svn:r10460
2007-06-02bump to 0.2.0.2-alpha and declare that today is the daytor-0.2.0.2-alphaRoger Dingledine
svn:r10456
2007-06-02 r13163@catbus: nickm | 2007-06-02 16:41:07 -0400Nick Mathewson
We do "-alpha-dev" now, not "-alpha-cvs". svn:r10455
2007-06-02bump to 0.2.0.1-alpha-cvs while we're in transitionRoger Dingledine
svn:r10454
2007-06-02fix up a commentRoger Dingledine
svn:r10453
2007-06-02 r13158@catbus: nickm | 2007-06-02 11:40:05 -0400Nick Mathewson
On systems with svk, do not clobber micro-revision.i when building from a tarball. svn:r10452
2007-06-02 r13154@catbus: nickm | 2007-06-02 11:26:44 -0400Nick Mathewson
Server-side support for If-Modified-Since in HTTP requsts for v1 stuff, and for network-status documents. svn:r10451
2007-06-02 r13148@catbus: nickm | 2007-06-02 10:24:20 -0400Nick Mathewson
Fix bug 441, 442, and possibly 417 (again). svn:r10449
2007-06-02 r13144@catbus: nickm | 2007-06-02 08:44:42 -0400Nick Mathewson
Add some asserts to catch double-insert on routerlist. svn:r10445
2007-06-02 r13143@catbus: nickm | 2007-06-01 16:43:40 -0400Nick Mathewson
Try to fix some mipspro compiler warnings. There will still be some left. svn:r10444
2007-06-01 r13139@catbus: nickm | 2007-06-01 14:02:40 -0400Nick Mathewson
Add some ;trues, and tabify. svn:r10441
2007-06-01 r13137@catbus: nickm | 2007-06-01 13:49:34 -0400Nick Mathewson
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
2007-06-01 r13131@catbus: nickm | 2007-06-01 06:20:29 -0400Nick Mathewson
Test for ~/.svk/local, not ~/.svk. Eschew use of test -a and test -o. Bulletproof more against odd shells. svn:r10439
2007-06-01bump to 0.2.0.1-alphaRoger Dingledine
svn:r10437
2007-06-01 r13121@catbus: nickm | 2007-05-31 20:06:40 -0400Nick Mathewson
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
2007-05-31trivial changes from my sandboxRoger Dingledine
svn:r10429
2007-05-31 r13117@catbus: nickm | 2007-05-31 19:40:32 -0400Nick Mathewson
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
2007-05-31 r13111@catbus: nickm | 2007-05-31 15:03:41 -0400Nick Mathewson
Cleanup whitespace. svn:r10425
2007-05-31 r13110@catbus: nickm | 2007-05-31 15:03:24 -0400Nick Mathewson
Fix windows build. svn:r10424
2007-05-31 r13109@catbus: nickm | 2007-05-31 14:59:30 -0400Nick Mathewson
More code for voting and vote parsing (checkpointing) svn:r10423
2007-05-31 r13103@catbus: nickm | 2007-05-31 14:40:18 -0400Nick Mathewson
Fix patch r10411; fix from robert hogan. svn:r10422
2007-05-31 r13102@catbus: nickm | 2007-05-31 13:56:25 -0400Nick Mathewson
Make "authdir_newdesc rejected" work again. svn:r10421
2007-05-31 r13101@catbus: nickm | 2007-05-31 12:57:42 -0400Nick Mathewson
Unit tests [and debugging] for tor_inet_ntop() and tor_inet_pton() svn:r10420
2007-05-30 r13090@catbus: nickm | 2007-05-30 03:17:57 -0400Nick Mathewson
If the user makes a torrc that exceeds the bandwidth cap by one byte, let them have it. svn:r10411
2007-05-29 r13079@catbus: nickm | 2007-05-29 17:05:38 -0400Nick Mathewson
Oops. Authorities should recommend nodes as exits. svn:r10403
2007-05-29 r13071@catbus: nickm | 2007-05-29 15:54:46 -0400Nick Mathewson
Aaargh. Revert accidentally-committed debugging code in last patch. svn:r10400
2007-05-29 r13070@catbus: nickm | 2007-05-29 15:53:21 -0400Nick Mathewson
Fix handling of resolves with very long or otherwise malformed addresses, and comment dns_resolve better, and stop making what should be a BUG warning into an assert(0). This fixes bug 427, which was introduced around 9900/9931/9932. Not a backport candidate: 0.1.2.x never had this bug. svn:r10399
2007-05-29 r13068@catbus: nickm | 2007-05-29 14:58:13 -0400Nick Mathewson
Add some code to mitigate bug 393: Choose at random from multiple hidden service ports with the same virtport. This allows limited ad-hoc round-robining. svn:r10398
2007-05-29 r13058@catbus: nickm | 2007-05-29 14:39:53 -0400Nick Mathewson
Note that the fix for bug 222 should technically be turned into a real fix, not a kludge, one of these days. svn:r10397
2007-05-29 r13057@catbus: nickm | 2007-05-29 14:39:27 -0400Nick Mathewson
fix for bug 439: make _sure_ *msg is set when we leave dirserv_add_multiple_descriptors(). svn:r10396
2007-05-29 r13054@catbus: nickm | 2007-05-29 14:20:50 -0400Nick Mathewson
An even better workaround for the probably-already-fixed bug 222. svn:r10395
2007-05-29 r13053@catbus: nickm | 2007-05-29 13:35:33 -0400Nick Mathewson
Move connection_should_read_from_linked_conn into main.c, which is the only file that uses it. svn:r10394
2007-05-29 r13050@catbus: nickm | 2007-05-29 13:31:11 -0400Nick Mathewson
Resolve all but 3 DOCDOCs. svn:r10393
2007-05-29 r13048@catbus: nickm | 2007-05-29 11:08:53 -0400Nick Mathewson
Oops; better version of previous patch that does not get caught in an infinite loop. svn:r10391
2007-05-29 r13046@catbus: nickm | 2007-05-29 11:07:12 -0400Nick Mathewson
Stop adding bogus entries to lists in router_parse_list_from_string(). I wonder which bugs _that_ caused. svn:r10390
2007-05-29 r13042@catbus: nickm | 2007-05-29 10:41:10 -0400Nick Mathewson
oops; use tor_inet_aton rather than inet_aton in tor_inet_ntop. Spotted by Li-Hui Zhou. svn:r10389
2007-05-29 r13041@catbus: nickm | 2007-05-29 10:40:05 -0400Nick Mathewson
More messing around to try to address possible root causes of bug 436. svn:r10388
2007-05-29 r13019@catbus: nickm | 2007-05-27 12:32:55 -0400Nick Mathewson
Merge an evdns fix from libevent r357: "evdns_shutdown fix from adam langley. svn:r10387
2007-05-28Segfault less. Somebody needs to look over why exactly this helps. re #436Peter Palfrader
svn:r10376
2007-05-27also remove these obsolete torrcsRoger Dingledine
svn:r10362