Commit Graph
6387 Commits
Author SHA1 Message Date
Roger Dingledine a4b4ae3e46 Take lefkada out of the list of v3 directory authorities, since
it has been down for months.
Set up dizum (run by Alex de Joode) as the new sixth v3 directory
authority.


svn:r14421
2008-04-23 00:18:07 +00:00
Nick Mathewson ede6ac7c9d r15288@tombo: nickm | 2008-04-22 17:09:36 -0400
Backport: Periodically launch requests for server/authority.z when it might help us learn our IP.  Fix for bug 652.


svn:r14419
2008-04-22 21:11:00 +00:00
Nick Mathewson 2e0bf9d8bf r15284@tombo: nickm | 2008-04-22 13:44:22 -0400
Backport: Correctly notify one-hop connections when a circuit build has failed. possible fix for bug 669. found by lodger.


svn:r14416
2008-04-22 17:44:36 +00:00
Nick Mathewson a041553e21 r15279@tombo: nickm | 2008-04-22 13:21:01 -0400
Backport: Apply patch from mwenge to fix bug 646: makes stream events for dns requests get generated more consistently.


svn:r14414
2008-04-22 17:21:26 +00:00
Nick Mathewson 2fd8c928b3 r15274@tombo: nickm | 2008-04-22 12:32:48 -0400
Backport: apply patch from lodger: reject requests for reverse-dns lookup of names in private address space.  make non-exits reject all dns requests.  Fixes bug 619.


svn:r14411
2008-04-22 16:33:06 +00:00
Nick Mathewson a25b424d4b r15270@tombo: nickm | 2008-04-22 12:23:39 -0400
Backport: Fix bug 663: warn less verbosely about clock skew from netinfo cells


svn:r14409
2008-04-22 16:23:51 +00:00
Nick Mathewson 8a05bd90ce r15266@tombo: nickm | 2008-04-22 12:05:07 -0400
Backport: On platforms using pthreads, allow a thread to acquire a lock it already holds.  This is crucial for logging: otherwise any log message thrown from inside the logging process (especially from control.c) will deadlock.  Win32 CriticalSections are already recursive.  Bug spotted by nwf.  Bugfix on 0.2.0.16-alpha.


svn:r14407
2008-04-22 16:05:11 +00:00
Nick Mathewson 68b2a57ffd r15239@tombo: nickm | 2008-04-17 16:22:50 -0400
Backport: Do not allocate excess space for named_flag and unnamed_flag in dirvote.c.  Fixes bug 662.  Not a dangerous bug: sizeof(int*) is at least as big as sizeof(int) everywhere.


svn:r14392
2008-04-17 20:23:24 +00:00
Roger Dingledine fbb0c6eec3 Fix a dumb bug that was preventing us from knowing that we should
preemptively build circuits to handle expected directory requests.
Fixes bug 660. Bugfix on 0.1.2.x.


svn:r14375
2008-04-16 00:07:18 +00:00
Roger Dingledine 28c802b5fd Avoid a rare assert that can trigger when Tor doesn't have much
directory information yet and it tries to fetch a v2 hidden
service descriptor. Fixes bug 651, reported by nwf.


svn:r14373
2008-04-15 23:05:44 +00:00
Nick Mathewson d3b6da8178 r19269@catbus: nickm | 2008-04-09 14:24:36 -0400
Backport r14212: Free some static hashtables and the log mutex on exit.


svn:r14333
2008-04-09 18:24:55 +00:00
Nick Mathewson 27ddacce62 r19268@catbus: nickm | 2008-04-09 14:20:54 -0400
Backport 14205: Free authority certificates on exit, so they dont look like memory leaks.


svn:r14332
2008-04-09 18:24:50 +00:00
Nick Mathewson ae0d14d346 r19267@catbus: nickm | 2008-04-09 14:19:17 -0400
Backport 14204: start policy reference counts at 1, not 2.


svn:r14331
2008-04-09 18:24:48 +00:00
Roger Dingledine ec673cf9ae backport r14281/r14297 plus a changelog entry
svn:r14311
2008-04-08 00:53:34 +00:00
Peter Palfrader cb59d39e6f Merge r14277 and r14278: When opening a logfile fails, tell us why
svn:r14282
2008-04-02 22:10:05 +00:00
Nick Mathewson f571799a67 r19153@catbus: nickm | 2008-03-30 23:20:48 -0400
Backport: Make unit tests pass again after Link protocol list change.


svn:r14255
2008-03-31 03:21:01 +00:00
Nick Mathewson f219ebed3e r19141@catbus: nickm | 2008-03-30 14:13:52 -0400
Backport: Note in our router descriptors that we actually support link protocol version 2, now that it seems to work.


svn:r14248
2008-03-30 18:15:01 +00:00
Nick Mathewson f58d16ed9e r19101@catbus: nickm | 2008-03-27 12:56:29 -0400
Backport r14214.  This is not 100% trivial, options_init_from_torrc() got cleaned up a lot.  The fact that it was much easier to do in trunk probably means that the cleanups were the right thing to do.


svn:r14219
2008-03-27 16:56:36 +00:00
Nick Mathewson 83825b4883 r19099@catbus: nickm | 2008-03-27 12:52:19 -0400
Backport adding an initializer for policy_root.


svn:r14217
2008-03-27 16:56:32 +00:00
Nick Mathewson 18c2beec07 r19069@catbus: nickm | 2008-03-26 13:25:11 -0400
Backport fix so dmalloc can work again.


svn:r14200
2008-03-26 17:25:28 +00:00
Roger Dingledine 55b2833528 backport r14165
svn:r14187
2008-03-26 01:45:35 +00:00
Roger Dingledine 54c52cb5b1 prepare for a 0.2.0.23-rc release today.
svn:r14169
2008-03-24 22:14:43 +00:00
Roger Dingledine 981ad6021d backport r14162-r14164
svn:r14167
2008-03-24 19:14:48 +00:00
Roger Dingledine 77302e3578 touch up the comment too
svn:r14115
2008-03-18 23:11:52 +00:00
Roger Dingledine fc3f30c95e Stop using encrypted dir connections for direct dir requests when you're
acting like a dir mirror. This should reduce load on the directory
authorities, and also will remove the ugly "We just marked ourself as
down" warnings my authorities keep getting.


svn:r14114
2008-03-18 22:54:37 +00:00
Roger Dingledine 6c37f1e309 an elaborate no-op. i hope.
svn:r14113
2008-03-18 21:17:15 +00:00
Nick Mathewson 0be0f230ee r18942@catbus: nickm | 2008-03-18 15:00:09 -0400
Backport: Likely fix for bug 632: do not call start_reading on a placeholder connection.


svn:r14110
2008-03-18 19:00:31 +00:00
Nick Mathewson a258f9b594 r18938@catbus: nickm | 2008-03-18 14:51:30 -0400
Backport: Fix the other lingering part of bug 617: make ClientDNSRejectInternalAddresses actually work.


svn:r14108
2008-03-18 18:51:42 +00:00
Nick Mathewson 877ee496b1 r18930@catbus: nickm | 2008-03-18 12:08:28 -0400
Backport to 0.2.0: Detect errors from directory listing correctly on win32.  Bug found by lodger.


svn:r14103
2008-03-18 16:08:55 +00:00
Nick Mathewson 1c614a1a0c r18924@catbus: nickm | 2008-03-18 11:01:32 -0400
Backport: Add missing typecasts to log message  in set_max_file_descriptors to tell gcc everything is okay on windows.  Fixes bug 630.


svn:r14100
2008-03-18 15:01:40 +00:00
Nick Mathewson 726141b4da r18915@catbus: nickm | 2008-03-18 10:48:18 -0400
Fix unittests and router generation behavior on 0.2.0 branch. backport of r14084. fixes bug 631.


svn:r14095
2008-03-18 14:48:30 +00:00
Roger Dingledine 2d179e35ab bump to 0.2.0.22-rc
svn:r14085
2008-03-18 02:30:32 +00:00
Nick Mathewson 5109f64107 r18898@catbus: nickm | 2008-03-17 16:25:58 -0400
Partial backport: Fix bug in earlier bugfix.  Disallow empty exit policies in router descriptors.


svn:r14083
2008-03-17 20:26:00 +00:00
Nick Mathewson 5e63abc20b r18892@catbus: nickm | 2008-03-17 13:21:04 -0400
Backport: Patch from Sebastian Hahn: give an error message on "error replacing old router store."


svn:r14081
2008-03-17 17:21:22 +00:00
Nick Mathewson 7f61a72111 r18881@catbus: nickm | 2008-03-17 12:51:33 -0400
Backport: Fix policy-related crash bug found by lodger.


svn:r14078
2008-03-17 16:52:01 +00:00
Peter Palfrader 7b3af83389 backport: And use 16k pages on ia64.
svn:r14074
2008-03-17 09:46:32 +00:00
Nick Mathewson c33722b5c0 r18874@catbus: nickm | 2008-03-17 00:07:41 -0400
Backport: Only dump all guard node status to the log when the guard node status actually changes.  Downgrade the 4 most common remaining INFO log messages to DEBUG.


svn:r14071
2008-03-17 04:08:04 +00:00
Nick Mathewson 8785759e0d r18863@catbus: nickm | 2008-03-16 23:37:39 -0400
{in 0.2.0} Part of fix for bug 617: do not mark-for-close on invalid .in-addr.arpa DNSPort request, since it would be a duplicate mark.


svn:r14067
2008-03-17 03:37:59 +00:00
Nick Mathewson a8d72cdfff r18853@catbus: nickm | 2008-03-16 22:47:25 -0400
Backport: Downgrade "sslv3 alert handshake failure" message to info.


svn:r14060
2008-03-17 02:48:21 +00:00
Nick Mathewson a1b8b1bf12 r18851@catbus: nickm | 2008-03-16 22:35:48 -0400
Backport to 0.2.0 branch: Use 8k pages in openbsd malloc code on alpha. Bug and solution found by weasel.  Also, when initializing openbsd malloc code, check that compiled page size matches output of getpagesize().


svn:r14059
2008-03-17 02:48:18 +00:00
Peter Palfrader 1126cf41f2 backport: Use proper log levels in the testsuite call of get_interface_address6().
svn:r14009
2008-03-13 16:56:36 +00:00
Peter Palfrader 46b104b9e7 backport: Logging functions now check that the passed severity is sane.
svn:r14008
2008-03-13 16:56:31 +00:00
Nick Mathewson fc33b331df r18785@catbus: nickm | 2008-03-13 11:07:18 -0400
Backport: Have OpenBSD_malloc_Linux.c use SIZE_T_MAX from torint.h, instead of checking cpu macros.  There is always one more cpu you havent checked for. fixes bug 625.


svn:r14002
2008-03-13 15:07:21 +00:00
Nick Mathewson 9349137f6e r18760@catbus: nickm | 2008-03-11 19:51:08 -0400
Backport: Fix for bug 614: always look at the network BIO for the SSL object, not at the buffering BIO (if one exists because we are renegotiating or something).  Bugfix on 0.1.2.x, oddly enough, though it should be impossible to trigger the problem there.  See comments in tortls.c for detailed implementation note.


svn:r13982
2008-03-11 23:51:13 +00:00
Nick Mathewson cd4ae7193d r18748@catbus: nickm | 2008-03-11 13:21:33 -0400
Backport: Request client certs when renegotiating on server-side. Spotted by lodger.  Bugfix on 0.2.0.x.


svn:r13974
2008-03-11 17:21:47 +00:00
Nick Mathewson 2c66c7d1e0 r18729@catbus: nickm | 2008-03-11 00:44:53 -0400
Fix the SVK version detection logic to work right on a branch: tolerate multiple "copied from" tags and only look at the first.


svn:r13960
2008-03-11 04:47:12 +00:00
Nick Mathewson 5c6d0919ba r18725@catbus: nickm | 2008-03-11 00:29:57 -0400
Backport to 0.2.0.x branch: Fix bug spotted by mwenge: a server_event should not be a sever_event.  Not backporting to 0.1.2.x.


svn:r13958
2008-03-11 04:30:22 +00:00
Roger Dingledine d8651d1072 Enable encrypted directory connections by default, so censor
tools that block Tor directory connections based on their plaintext
patterns will no longer work. This means Tor works in certain
censored countries by default again.


svn:r13934
2008-03-10 07:49:20 +00:00
Roger Dingledine 80ac7afb2e If we set RelayBandwidthRate and RelayBandwidthBurst very high but
left BandwidthRate and BandwidthBurst at the default, we would be
silently limited by those defaults. Now raise them to match the
RelayBandwidth* values.


svn:r13926
2008-03-10 05:17:46 +00:00
Nick Mathewson 77edf15f0d r18634@catbus: nickm | 2008-03-05 17:39:44 -0500
Backport: Patch from karsten: proper error message from tor-gencert when no argument is given to --passphrase-fd


svn:r13877
2008-03-05 22:39:54 +00:00