Commit Graph
5020 Commits
Author SHA1 Message Date
Nick Mathewson a0eb902277 r17507@catbus: nickm | 2008-01-07 15:03:24 -0500
Backport r12341: If setting our rlimit to rlim_max or cap fails, fall back to OPEN_FILES if defiled.  This makes Tor run on OSX 10.5, while allowing OSX to mend its ways in the future.


svn:r13060
2008-01-07 20:03:27 +00:00
Nick Mathewson 75299426d0 r17505@catbus: nickm | 2008-01-07 14:51:37 -0500
Backport r12339 with fix in r12931: Work on platforms where rlim_t is wider than unsigned long.


svn:r13059
2008-01-07 19:51:42 +00:00
Nick Mathewson ad7837d925 r17496@catbus: nickm | 2008-01-07 12:49:06 -0500
Backport: Consequence of fix for 539: when a client gets a 503 response with a nontrivial body, pretend it got a 200 response.  This lets clients use information erroneously sent to them by old buggy servers.


svn:r13055
2008-01-07 17:49:22 +00:00
Roger Dingledine 83ac50c2b2 If we were having problems getting a particular descriptor from the
directory caches, and then we learned about a new descriptor for
that router, we weren't resetting our failure count. Reported
by lodger.


svn:r13047
2008-01-07 08:43:52 +00:00
Roger Dingledine b5e04c92a9 bump stable to 0.1.2.18-dev; we should put out a 0.1.2.19 soon.
svn:r13046
2008-01-07 07:54:48 +00:00
Nick Mathewson c52cacb1a2 r17275@catbus: nickm | 2007-12-20 01:15:04 -0500
Backport: Don't try to create the datadir when we are only verifying the configuration or hashing a password. Resolves bug 540.


svn:r12885
2007-12-20 06:15:19 +00:00
Nick Mathewson 349e55e6cb r17271@catbus: nickm | 2007-12-20 00:05:49 -0500
Backport: When we decide to send a 503 in response to a request for server descriptors, disable spooling so that we do not then send the descriptors anyway.  Fixes bug 539.


svn:r12883
2007-12-20 05:09:53 +00:00
Nick Mathewson 9a3597c418 r17095@catbus: nickm | 2007-12-11 18:11:13 -0500
Backport r12766: Patch from mwenge: fix consensus status lookup by nickname when nickname is a hexdigest.


svn:r12770
2007-12-11 23:17:06 +00:00
Roger Dingledine 1acfe321f8 backport r12658
svn:r12659
2007-12-03 22:47:18 +00:00
Roger Dingledine 47f011cac8 backport r12628
svn:r12629
2007-12-01 23:34:43 +00:00
Roger Dingledine 9df8eec60e backport r12459
svn:r12611
2007-11-30 07:49:49 +00:00
Roger Dingledine d9ad41767b backport r12507
svn:r12508
2007-11-15 22:08:12 +00:00
Roger Dingledine 12e6d8c7f2 backport the fixes for bug 549.
svn:r12473
2007-11-11 05:36:28 +00:00
Nick Mathewson fad1656a7f r16467@catbus: nickm | 2007-11-06 14:57:00 -0500
Backport r12400 and r12401: Do not allow buckets to overflow.


svn:r12402
2007-11-06 19:58:06 +00:00
Roger Dingledine 105ac3a1da bump stable to 0.1.2.18, and schedule it for today.
svn:r12249
2007-10-28 11:17:47 +00:00
Nick Mathewson 022b087148 r15902@catbus: nickm | 2007-10-18 07:53:26 -0400
Backport: "if (!router_get_trusted_dirservers())" is a bad test: router_get_trusted_dirservers() always returns a list.  Instead, check for whether the list is empty.


svn:r12015
2007-10-18 11:59:39 +00:00
Nick Mathewson b3c6fd7fc6 r15881@catbus: nickm | 2007-10-17 14:59:36 -0400
Backport: Patch from robert hogan: do not reset trusted dir server list when we get a config option.


svn:r12014
2007-10-18 11:56:56 +00:00
Nick Mathewson 427eb4649b r15842@catbus: nickm | 2007-10-16 09:58:33 -0400
Backport warning-suppression for gcc 4.2.


svn:r11981
2007-10-16 13:59:34 +00:00
Nick Mathewson a58ba03b85 r15841@catbus: nickm | 2007-10-16 09:49:19 -0400
Backport unit test fix for revised hidden service code.


svn:r11980
2007-10-16 13:59:32 +00:00
Roger Dingledine ec186e77d5 backport a little bit of r11915
svn:r11940
2007-10-15 05:41:02 +00:00
Nick Mathewson 2e11f7d9dd r15764@catbus: nickm | 2007-10-14 04:43:10 -0400
Backport r11829: Downgrade warning that caused bug 463; comment; resolve.


svn:r11929
2007-10-14 08:48:59 +00:00
Nick Mathewson 05053561b9 r15763@catbus: nickm | 2007-10-14 04:40:00 -0400
Backport r11886 and r11887: Fix for the reported case of bug 438: check families as well as identities in circuit_find_to_cannibalize().  Code audit STILL pending. ;)


svn:r11928
2007-10-14 08:48:56 +00:00
Nick Mathewson 3cb69a9ce4 r15762@catbus: nickm | 2007-10-14 04:33:10 -0400
Minimal backport for r11882: Fix bug 451 by bailing out of connection_finish_flushing when there is no socket or write_event.


svn:r11927
2007-10-14 08:48:54 +00:00
Nick Mathewson dd44c068c5 r15761@catbus: nickm | 2007-10-14 04:24:18 -0400
backport r11828:  when accept gives us something we didn't want (which means "not AF_INET" in 0.1.2.x) then warn and bail from connection_handle_listener_read().


svn:r11926
2007-10-14 08:48:51 +00:00
Nick Mathewson 172773cf55 r15760@catbus: nickm | 2007-10-14 04:16:19 -0400
Backport 11166: When loading state info from disk, never believe any date in the future.


svn:r11925
2007-10-14 08:48:48 +00:00
Roger Dingledine 8bf32223d7 backport r11499, r11500, r11501: hidserv hexdigests rather than nicknames
svn:r11922
2007-10-14 07:51:39 +00:00
Roger Dingledine 8b35202b47 remove some done items; futz with changelog
svn:r11920
2007-10-14 07:31:57 +00:00
Roger Dingledine 60c9b17774 backport r11864
svn:r11865
2007-10-11 03:30:15 +00:00
Nick Mathewson 2cd6a240bd r15320@catbus: nickm | 2007-09-24 11:49:09 -0400
Backport r11332: fix a user-triggerable segfault in expand_filename("~").


svn:r11608
2007-09-24 15:53:51 +00:00
Nick Mathewson 3115905506 r15319@catbus: nickm | 2007-09-24 11:47:16 -0400
Backport r11293: bulletproof the code that generates extend_info.  I am still not sure whether this bug ever occurs on 0.1.2.x, or whether it only appears when the bridge code is present, but in any case it costs us nothing.


svn:r11607
2007-09-24 15:53:49 +00:00
Nick Mathewson 383c8deced r15318@catbus: nickm | 2007-09-24 11:42:25 -0400
Backport r11566 so that --list-fingerprint will not die when it finds no state file.


svn:r11606
2007-09-24 15:53:47 +00:00
Nick Mathewson dcbae324ec r15315@catbus: nickm | 2007-09-24 11:37:25 -0400
Backport patch from Robert Hogan: fix a status-event related typo.


svn:r11605
2007-09-24 15:41:28 +00:00
Nick Mathewson b228d62898 r14427@Kushana: nickm | 2007-09-13 13:28:22 -0400
Backport: Do not load state when options->command is not RUN_TOR. (Resolves bug 499)


svn:r11438
2007-09-13 17:40:11 +00:00
Nick Mathewson ff7e0e8971 r14875@catbus: nickm | 2007-08-31 10:18:11 -0400
Backport: Check correct circuit type when calling functions from rend_process_relay_cell.


svn:r11335
2007-08-31 14:20:41 +00:00
Nick Mathewson 5c2cea6563 r14873@catbus: nickm | 2007-08-31 10:15:47 -0400
Bump 0.1.2.x branch to 0.1.2.17-dev.


svn:r11333
2007-08-31 14:20:37 +00:00
Roger Dingledine b597d0ee10 bump to 0.1.2.17
svn:r11321
2007-08-30 21:01:26 +00:00
Roger Dingledine 7d9051940a backport the load balancing stuff. man, i hope i got all
of this right. other people should check too.


svn:r11274
2007-08-25 21:42:31 +00:00
Roger Dingledine 26bdb03d28 backport r11251.
(gosh, it looks like we didn't backport any control-spec sections?)


svn:r11252
2007-08-22 07:59:57 +00:00
Roger Dingledine ee9cc158ba backport r11249
svn:r11250
2007-08-22 03:22:51 +00:00
Roger Dingledine a5b347e9f4 backport r11247
svn:r11248
2007-08-22 03:04:09 +00:00
Roger Dingledine 0153b6b20e backport r11186
svn:r11188
2007-08-19 07:23:54 +00:00
Roger Dingledine c054f75dfa backport r11171
svn:r11173
2007-08-19 02:55:36 +00:00
Nick Mathewson 19015885a0 r14655@catbus: nickm | 2007-08-18 11:41:49 -0400
Backport r11138: Implement PROTOCOLINFO/proposal 119.


svn:r11164
2007-08-18 15:42:56 +00:00
Roger Dingledine 521b065368 bump stable to 0.1.2.16-dev since it needs some testing now
svn:r11144
2007-08-16 18:54:35 +00:00
Nick Mathewson 278b75619a r14610@catbus: nickm | 2007-08-16 14:31:44 -0400
Terminate multi-line controller events correctly with a single "650 OK".  Backport of 10964.


svn:r11143
2007-08-16 18:32:45 +00:00
Nick Mathewson ebb8a62ad4 r14602@catbus: nickm | 2007-08-16 13:33:27 -0400
Make 0.1.2 give a warning on v0 control commands and close the connnection, rather than simply failing apart and yelling.


svn:r11139
2007-08-16 17:34:55 +00:00
Roger Dingledine d0ecd468eb backport r11119 too
svn:r11136
2007-08-16 16:53:15 +00:00
Nick Mathewson 5da1f97670 r14591@catbus: nickm | 2007-08-16 12:40:30 -0400
Remove support for v0 control protocol in 0.1.2 branch: it has been deprecated for a very long time, and keeping it safe and securable has gotten too darned hard.


svn:r11135
2007-08-16 16:41:48 +00:00
Nick Mathewson 0690f1fd7e r14590@catbus: nickm | 2007-08-16 12:19:12 -0400
Backport r11117: exit when we fail to write an auth cookie, and do not attempt to rewrite the auth cookie every time we restart.


svn:r11134
2007-08-16 16:41:41 +00:00
Nick Mathewson 2268d29e94 r14589@catbus: nickm | 2007-08-16 12:16:06 -0400
Backport r10939 and r10956: correct handling for weighted exit selection.  I'm not backporting the bitfield code, so this is marginally slower than the version in trunk.


svn:r11133
2007-08-16 16:41:38 +00:00