]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Thu, 29 Jun 2006 11:19:52 +0000 (11:19 +0000)]
Apparent 311 fix: apparently passing Z_FINISH an empty string is problematic.
svn:r6702
Nick Mathewson [Thu, 29 Jun 2006 11:17:36 +0000 (11:17 +0000)]
Harmless: Z_OK is not an acceptable answer to Z_FINISH.
svn:r6701
Nick Mathewson [Thu, 29 Jun 2006 11:04:42 +0000 (11:04 +0000)]
complete_only == !allow_partial. This enables useful use of partial desc downloads. Backport candidate
svn:r6700
Roger Dingledine [Wed, 28 Jun 2006 15:39:02 +0000 (15:39 +0000)]
tab-man strikes again
svn:r6699
Nick Mathewson [Wed, 28 Jun 2006 15:36:28 +0000 (15:36 +0000)]
Fix another idiot bug causing symptom 309. Why cant I program?
svn:r6698
Nick Mathewson [Wed, 28 Jun 2006 11:03:34 +0000 (11:03 +0000)]
Add a check to try to make cache rebuild fail fast if it is going to fail
svn:r6697
Nick Mathewson [Wed, 28 Jun 2006 08:57:41 +0000 (08:57 +0000)]
Aaand re-disable the bogus test in get_body()
svn:r6696
Nick Mathewson [Wed, 28 Jun 2006 08:55:53 +0000 (08:55 +0000)]
Make sure that our calculated offsets for routers is correct; again. This time bug 309 may be gone gone gone.
svn:r6695
Nick Mathewson [Wed, 28 Jun 2006 08:54:32 +0000 (08:54 +0000)]
Actually enable mmap. That should improve matters.
svn:r6694
Nick Mathewson [Tue, 27 Jun 2006 15:52:51 +0000 (15:52 +0000)]
Likely fix for bug 309: when we calculate offsets after rebuilding the descriptor cache, do not reset the offset pointer half-way through.
svn:r6693
Roger Dingledine [Tue, 27 Jun 2006 11:23:10 +0000 (11:23 +0000)]
specify the dir spec better (suggested by lexi)
svn:r6692
Andrew Lewman [Sun, 25 Jun 2006 04:08:21 +0000 (04:08 +0000)]
And, commit it correctly.
svn:r6689
Andrew Lewman [Sun, 25 Jun 2006 04:07:24 +0000 (04:07 +0000)]
Fix the messed up commit.
svn:r6688
Andrew Lewman [Sun, 25 Jun 2006 04:02:43 +0000 (04:02 +0000)]
Create binary osx un-installer, update perms on install so anyone can run the
uninstaller.
svn:r6685
Roger Dingledine [Sat, 24 Jun 2006 04:57:59 +0000 (04:57 +0000)]
refuse to write an iso_time which we can't parse, when dumping
bandwidth state. this fixes the particular incident in bug 308,
but the general issue remains.
svn:r6684
Nick Mathewson [Sat, 24 Jun 2006 02:10:21 +0000 (02:10 +0000)]
Turn a while into a do/while; save a redundant test
svn:r6683
Nick Mathewson [Sat, 24 Jun 2006 02:06:52 +0000 (02:06 +0000)]
Apparently, zlib sometimes reports Z_BUF_ERROR on input exhaustion as well as on running out of output space. This could well fix the assert bug reported by weasel and arma.
svn:r6682
Nick Mathewson [Thu, 22 Jun 2006 07:49:41 +0000 (07:49 +0000)]
Mark some more TODO items done.
svn:r6681
Nick Mathewson [Thu, 22 Jun 2006 07:34:04 +0000 (07:34 +0000)]
Make some more verbose gcc warnings go away.
svn:r6680
Nick Mathewson [Thu, 22 Jun 2006 07:29:14 +0000 (07:29 +0000)]
Ooh, that could have been bad. Sort digests as digests, not strings.
svn:r6679
Nick Mathewson [Thu, 22 Jun 2006 07:25:15 +0000 (07:25 +0000)]
Fix a bunch of spaces.
svn:r6678
Nick Mathewson [Thu, 22 Jun 2006 07:19:28 +0000 (07:19 +0000)]
Set offset properly when parsing cache.
svn:r6677
Nick Mathewson [Thu, 22 Jun 2006 07:10:37 +0000 (07:10 +0000)]
#if out test that was failing because of an extra newline.
svn:r6676
Nick Mathewson [Thu, 22 Jun 2006 07:01:54 +0000 (07:01 +0000)]
Next batch of memory miserdom: mmap cached-routers file. This is sure to break somewhere.
svn:r6675
Peter Palfrader [Wed, 21 Jun 2006 22:13:03 +0000 (22:13 +0000)]
Fix 07_log_to_file_by_default in debian head
svn:r6674
Nick Mathewson [Wed, 21 Jun 2006 04:57:12 +0000 (04:57 +0000)]
When requesting or serving resources via fingerprint/digest, request and respond in-order, removing duplicates.
svn:r6673
Andrew Lewman [Wed, 21 Jun 2006 02:27:18 +0000 (02:27 +0000)]
Remove the osx version requirements on install due to a messy Installer
situation between pre-panther, tiger and beyond, and metapackages.
svn:r6672
Peter Palfrader [Tue, 20 Jun 2006 23:11:15 +0000 (23:11 +0000)]
<nickm> ooh, that log shouldn't be there. can you take it out?
svn:r6671
Nick Mathewson [Tue, 20 Jun 2006 23:06:52 +0000 (23:06 +0000)]
Fix bug in networkstatus spooling: spool more than the first networkstatus.
svn:r6670
Nick Mathewson [Tue, 20 Jun 2006 16:48:32 +0000 (16:48 +0000)]
Fishy, but harmless.
svn:r6669
Roger Dingledine [Tue, 20 Jun 2006 13:14:07 +0000 (13:14 +0000)]
add a note for nick to fix
svn:r6668
Nick Mathewson [Tue, 20 Jun 2006 06:27:13 +0000 (06:27 +0000)]
Ah. We need a new zlib_state for each networkstatus we spool out.
svn:r6667
Andrew Lewman [Tue, 20 Jun 2006 04:18:47 +0000 (04:18 +0000)]
Minor fix to pre-instllation version check for OSX
svn:r6666
Andrew Lewman [Tue, 20 Jun 2006 04:16:46 +0000 (04:16 +0000)]
First crack at version checking for OSX installer.
svn:r6665
Nick Mathewson [Tue, 20 Jun 2006 00:48:23 +0000 (00:48 +0000)]
Start spooling v2 networkstatus docs as well.
svn:r6664
Nick Mathewson [Sun, 18 Jun 2006 21:30:03 +0000 (21:30 +0000)]
Fix a tricky crash: making the_directory heap-allocated (so we could refcount it and have multiple instances as neeeded) means that calls to dirserv_regenerate_directory could invalidate the auth_dir value passed to dirserv_pick_cached_dir_obj. Big fun.
svn:r6663
Nick Mathewson [Sun, 18 Jun 2006 21:15:01 +0000 (21:15 +0000)]
Fix an assert that still isnt the assert we are hunting.
svn:r6662
Roger Dingledine [Sun, 18 Jun 2006 21:07:45 +0000 (21:07 +0000)]
correct a function comment in compute_preferred_testing_list()
svn:r6660
Nick Mathewson [Sun, 18 Jun 2006 20:58:27 +0000 (20:58 +0000)]
Become capable of noticing that we are done sending a directory.
svn:r6659
Nick Mathewson [Sun, 18 Jun 2006 20:39:46 +0000 (20:39 +0000)]
Resolve control flow warning.
svn:r6658
Nick Mathewson [Sun, 18 Jun 2006 16:39:26 +0000 (16:39 +0000)]
Ah. That seems to work.
svn:r6657
Nick Mathewson [Sun, 18 Jun 2006 16:20:38 +0000 (16:20 +0000)]
another write_to_buf_zlib fix.
svn:r6656
Nick Mathewson [Sun, 18 Jun 2006 16:05:54 +0000 (16:05 +0000)]
Backport candidate: implement the "is this uptime change cosmetic" test properly.
svn:r6654
Nick Mathewson [Sun, 18 Jun 2006 15:53:54 +0000 (15:53 +0000)]
Re-enable buffer RAM guard values.
svn:r6653
Nick Mathewson [Sun, 18 Jun 2006 09:03:48 +0000 (09:03 +0000)]
Another _zlib fix.
svn:r6652
Nick Mathewson [Sun, 18 Jun 2006 08:53:09 +0000 (08:53 +0000)]
Make connection_write_to_buf_zlib set outbuf_flushlen right.
svn:r6651
Nick Mathewson [Sun, 18 Jun 2006 08:46:55 +0000 (08:46 +0000)]
write_to_buf != connection_write_to_buf. Also, add a connection_write_to_buf_zlib wrapper that sucks.
svn:r6650
Nick Mathewson [Sun, 18 Jun 2006 08:44:34 +0000 (08:44 +0000)]
Temporarily disable sentinels on buffers
svn:r6649
Nick Mathewson [Sun, 18 Jun 2006 08:21:27 +0000 (08:21 +0000)]
make zlib buffer function set buf_highwater properly
svn:r6648
Nick Mathewson [Sun, 18 Jun 2006 08:19:35 +0000 (08:19 +0000)]
Stop trying to refresh when we are out of data.
svn:r6647
Nick Mathewson [Sun, 18 Jun 2006 08:16:05 +0000 (08:16 +0000)]
And actually check the url when it exists. that might work better.
svn:r6646
Nick Mathewson [Sun, 18 Jun 2006 08:13:45 +0000 (08:13 +0000)]
That dir_refresh_src fix will only work if I enable it.
svn:r6645
Nick Mathewson [Sun, 18 Jun 2006 08:07:16 +0000 (08:07 +0000)]
Fix a couple of bugs in last patch.
svn:r6644
Nick Mathewson [Sun, 18 Jun 2006 07:57:47 +0000 (07:57 +0000)]
add coverage for a default case
svn:r6643
Nick Mathewson [Sun, 18 Jun 2006 07:55:04 +0000 (07:55 +0000)]
Oops. conn->requested_resource is client only.
svn:r6642
Nick Mathewson [Sun, 18 Jun 2006 07:38:55 +0000 (07:38 +0000)]
Instead of adding servers and v1 directories to buffers en masse, directory servers add them on the fly as their outbufs are depleted. This will save ram on busy dirservers.
svn:r6641
Nick Mathewson [Sun, 18 Jun 2006 07:37:21 +0000 (07:37 +0000)]
remove non-germane comment
svn:r6640
Nick Mathewson [Sun, 18 Jun 2006 07:35:10 +0000 (07:35 +0000)]
Add tests for several of the more recently committed functions.
svn:r6639
Nick Mathewson [Sun, 18 Jun 2006 07:32:31 +0000 (07:32 +0000)]
perhaps the reason I rail against cut-and-paste programming so vehemently is that I am so bad at it.
svn:r6638
Nick Mathewson [Sun, 18 Jun 2006 07:27:47 +0000 (07:27 +0000)]
Part of incremental encryption logic for buffers: there is a subtle yucky point documented in a comment.
svn:r6637
Nick Mathewson [Sun, 18 Jun 2006 07:24:29 +0000 (07:24 +0000)]
Add some incremental encryption wrappers to torgzip code
svn:r6636
Nick Mathewson [Sun, 18 Jun 2006 07:22:36 +0000 (07:22 +0000)]
Add a memdup function to util
svn:r6635
Nick Mathewson [Sun, 18 Jun 2006 07:21:35 +0000 (07:21 +0000)]
Add smartlist_reverse and smartlist_pop_last.
svn:r6634
Nick Mathewson [Fri, 16 Jun 2006 15:40:57 +0000 (15:40 +0000)]
Clarify mmap and memory-use hacks.
svn:r6633
Peter Palfrader [Fri, 16 Jun 2006 02:04:04 +0000 (02:04 +0000)]
Fix configure.in to not produce broken configure files with more recent
versions of autoconf. Thanks to Clint for his auto* voodoo.
svn:r6632
Roger Dingledine [Fri, 16 Jun 2006 00:04:46 +0000 (00:04 +0000)]
clean up man page. expand on contactinfo a bit.
svn:r6631
Peter Palfrader [Thu, 15 Jun 2006 23:20:50 +0000 (23:20 +0000)]
Forward port 07_log_to_file_by_default.dpatch
svn:r6630
Peter Palfrader [Thu, 15 Jun 2006 23:14:01 +0000 (23:14 +0000)]
And a minor bugfix to the weaselhack
svn:r6629
Roger Dingledine [Thu, 15 Jun 2006 22:59:07 +0000 (22:59 +0000)]
fix spacing
svn:r6628
Peter Palfrader [Thu, 15 Jun 2006 22:52:56 +0000 (22:52 +0000)]
Add a /tor/dir-all-weaselhack directory resource so I do not have to update my scripts
svn:r6627
Roger Dingledine [Thu, 15 Jun 2006 22:32:00 +0000 (22:32 +0000)]
fix recommended url in torrc.sample for server sign-up
svn:r6626
Roger Dingledine [Thu, 15 Jun 2006 09:03:15 +0000 (09:03 +0000)]
lower the number of seconds before we yell about clock jump.
and make the yelling only happen if you're a server.
svn:r6625
Roger Dingledine [Wed, 14 Jun 2006 23:21:22 +0000 (23:21 +0000)]
start checking for limits.h too. we should resume compiling
on irix64 and other weird platforms now.
svn:r6624
Roger Dingledine [Wed, 14 Jun 2006 22:28:16 +0000 (22:28 +0000)]
upgrade the severity of the 'clock jump' warn, and ask people
to report if it occurs.
svn:r6623
Roger Dingledine [Wed, 14 Jun 2006 11:06:43 +0000 (11:06 +0000)]
bugfix: discourage picking directory authorities as our TestVia
hops, even if they're running the right versions, since we probably
already have a connection established to them.
svn:r6622
Nick Mathewson [Tue, 13 Jun 2006 21:49:56 +0000 (21:49 +0000)]
eventdns: Apply a couple of patches from AGL; start working on windows compat; note some TODOs.
svn:r6621
Roger Dingledine [Tue, 13 Jun 2006 12:57:19 +0000 (12:57 +0000)]
back off and add the $ at the beginning of the preferrednodes list
we generate.
svn:r6620
Roger Dingledine [Tue, 13 Jun 2006 12:05:59 +0000 (12:05 +0000)]
be more lax about recognizing valid hexdigests.
svn:r6619
Roger Dingledine [Tue, 13 Jun 2006 11:11:19 +0000 (11:11 +0000)]
now we can tell dirserv_dump_directory_to_string() whether we want
it to include down/invalid descriptors or not.
svn:r6618
Roger Dingledine [Tue, 13 Jun 2006 10:48:26 +0000 (10:48 +0000)]
bugfix in exit_policy_is_general_exit() that weasel found.
this time for sure!
svn:r6617
Roger Dingledine [Tue, 13 Jun 2006 10:25:22 +0000 (10:25 +0000)]
first cut at a workaround for the reachability bug: explicitly find a
server running the right version, if we can, and ask for that one.
svn:r6616
Roger Dingledine [Tue, 13 Jun 2006 09:16:09 +0000 (09:16 +0000)]
export the default exit policy via the control port, so controllers
don't need to guess what it is / will be later.
svn:r6615
Roger Dingledine [Tue, 13 Jun 2006 05:51:28 +0000 (05:51 +0000)]
Defense in depth: fix the reachability bug a second way too.
Now if we establish a connection with the right digest, regardless
of what the addr/port is, and we have pending create cells, use it.
svn:r6614
Roger Dingledine [Tue, 13 Jun 2006 05:50:24 +0000 (05:50 +0000)]
harmless typo
svn:r6613
Roger Dingledine [Tue, 13 Jun 2006 05:36:35 +0000 (05:36 +0000)]
Fix the bug that was causing servers to not find themselves
reachable if they changed IP addresses. This happened because
middle servers knew the old descriptor, and kept swapping the
addr/port we asked for with the one they thought was right.
So the create cell never got sent, because it was asking for a
different addr/port than we believed we had connected to.
svn:r6610
Roger Dingledine [Tue, 13 Jun 2006 02:48:06 +0000 (02:48 +0000)]
reintroduce the logic to exit_policy_is_general_exit() to count
how many ports are allowd. require two ports open, not just one.
svn:r6609
Peter Palfrader [Mon, 12 Jun 2006 22:03:25 +0000 (22:03 +0000)]
Make the Exit tag in status documents actually work in head too
svn:r6608
Roger Dingledine [Mon, 12 Jun 2006 11:59:19 +0000 (11:59 +0000)]
Finally solve the "closing wedged cpuworkers" bug. Woo.
This happened when we got two create cells in a row from the same TLS
connection. It would hand one to the cpuworker, and then immediately
handle the second one -- after it had registered that the first one was
busy, but before it had updated the timestamp that we use to decide how
*long* it's been busy.
svn:r6606
Roger Dingledine [Mon, 12 Jun 2006 10:44:00 +0000 (10:44 +0000)]
typo, whitespace, and a clarification
svn:r6605
Roger Dingledine [Mon, 12 Jun 2006 06:03:15 +0000 (06:03 +0000)]
allow people to start their tor with runasdaemon set but
with no logs set at all.
svn:r6604
Peter Palfrader [Mon, 12 Jun 2006 00:49:07 +0000 (00:49 +0000)]
Forward port changelog
svn:r6603
Roger Dingledine [Sun, 11 Jun 2006 01:42:21 +0000 (01:42 +0000)]
forward-port the 0.1.1.21 changelog.
svn:r6600
Roger Dingledine [Sun, 11 Jun 2006 01:41:30 +0000 (01:41 +0000)]
interim changelog for 0.1.2.1-alpha
svn:r6599
Andrew Lewman [Sat, 10 Jun 2006 05:37:17 +0000 (05:37 +0000)]
Remove echo -n to make start script slightly more readable on boot.
svn:r6595
Roger Dingledine [Sat, 10 Jun 2006 00:57:12 +0000 (00:57 +0000)]
take out the reachability bandaid in 0.1.2.x as well.
maybe we will actually be able to fix it, instead.
svn:r6585
Roger Dingledine [Sat, 10 Jun 2006 00:32:14 +0000 (00:32 +0000)]
add TestVia to the man page
svn:r6583
Roger Dingledine [Sat, 10 Jun 2006 00:30:49 +0000 (00:30 +0000)]
clean up formatting in the man page
svn:r6582
Roger Dingledine [Sat, 10 Jun 2006 00:26:39 +0000 (00:26 +0000)]
Add a new config option TestVia, that lets you specify preferred middle
hops to use for testing circuits. Perhaps this will let me debug the
reachability problem better.
svn:r6581
Nick Mathewson [Fri, 9 Jun 2006 17:07:22 +0000 (17:07 +0000)]
Another escape() fix, for picky sprintfs.
svn:r6579
Nick Mathewson [Fri, 9 Jun 2006 15:57:58 +0000 (15:57 +0000)]
Override our notion of printability for esc_for_log. 127 and up are never printable. Take that, locales.
svn:r6578