]>
git.ipfire.org Git - thirdparty/tor.git/log
Roger Dingledine [Wed, 28 Sep 2011 22:25:09 +0000 (18:25 -0400)]
give 0.2.3.5-alpha a blurb
Roger Dingledine [Wed, 28 Sep 2011 22:23:17 +0000 (18:23 -0400)]
fix default for TokenBucketRefillInterval in man page
Roger Dingledine [Wed, 28 Sep 2011 19:41:29 +0000 (15:41 -0400)]
fold in recent changes entries
Roger Dingledine [Wed, 28 Sep 2011 19:38:36 +0000 (15:38 -0400)]
refill our token buckets 10 times/sec, not 100
refilling often is good, but refilling often has unclear side effects
on a) cpu load, and b) making sure every cell, ever, is sent out one at
a time
Roger Dingledine [Wed, 28 Sep 2011 19:38:02 +0000 (15:38 -0400)]
Merge branch 'maint-0.2.2'
Roger Dingledine [Wed, 28 Sep 2011 19:35:27 +0000 (15:35 -0400)]
bridges should use create_fast cells for their own circuits
fixes bug 4124, as noticed in bug 4115
Roger Dingledine [Wed, 28 Sep 2011 19:13:05 +0000 (15:13 -0400)]
Merge branch 'maint-0.2.2'
Roger Dingledine [Wed, 28 Sep 2011 19:12:16 +0000 (15:12 -0400)]
start preparing the 0.2.3.5-alpha changelog
Roger Dingledine [Wed, 28 Sep 2011 18:50:43 +0000 (14:50 -0400)]
bug 4115: make bridges use begindir for their dir fetches
removes another avenue for enumerating bridges.
Nick Mathewson [Wed, 28 Sep 2011 18:14:31 +0000 (14:14 -0400)]
Make sure the microdesc cache is loaded before setting a v3 md consensus
Otherwise, we can wind up munging our reference counts if we set it in
the middle of loading the nodes. This happens because
nodelist_set_consensus() and microdesc_reload_cache() are both in the
business of adjusting microdescriptors' references.
Nick Mathewson [Wed, 28 Sep 2011 18:13:49 +0000 (14:13 -0400)]
Add some debugging code to microdesc.[ch]
Nick Mathewson [Wed, 28 Sep 2011 17:29:01 +0000 (13:29 -0400)]
Fix a crash bug in tor_assert(md->held_by_node)
The fix is to turn held_by_node into a reference count.
Fixes bug 4118; bugfix on 0.2.3.1-alpha.
Roger Dingledine [Tue, 27 Sep 2011 21:35:31 +0000 (17:35 -0400)]
if we have enough usable guards, just pick one
we don't need to check whether we don't have enough guards right after
concluding that we do have enough.
slight efficiency fix suggested by an anonymous fellow on irc.
Roger Dingledine [Sun, 25 Sep 2011 02:47:53 +0000 (22:47 -0400)]
Merge branch 'maint-0.2.2'
Roger Dingledine [Sun, 25 Sep 2011 02:46:21 +0000 (22:46 -0400)]
trivial whitespace changes, take two
Nick Mathewson [Sun, 25 Sep 2011 02:15:59 +0000 (22:15 -0400)]
Trivial whitespace fixes
Nick Mathewson [Sun, 25 Sep 2011 02:15:13 +0000 (22:15 -0400)]
Add a changes file for Tom Lowenthal's patch for #4063
Tom Lowenthal [Sat, 24 Sep 2011 22:34:32 +0000 (15:34 -0700)]
Ticket #4063 - change circuit build timeout log entries from NOTICE to INFO
Nick Mathewson [Thu, 22 Sep 2011 19:54:40 +0000 (15:54 -0400)]
Merge branch 'feature3630-rebased'
Nick Mathewson [Thu, 22 Sep 2011 19:07:01 +0000 (15:07 -0400)]
Fix issues in 3630 patch noted by Karsten
Nick Mathewson [Thu, 8 Sep 2011 02:10:49 +0000 (22:10 -0400)]
Changes file for feature3630
Nick Mathewson [Thu, 8 Sep 2011 02:00:48 +0000 (22:00 -0400)]
Make bufferevents work with TokenBucketRefillInterval
Nick Mathewson [Thu, 8 Sep 2011 01:22:02 +0000 (21:22 -0400)]
Refactor connection_bucket_refill(_helper) to avoid roundoff
We were doing "divide bandwidth by 1000, then multiply by msec", but
that would lose accuracy: instead of getting your full bandwidth,
you'd lose up to 999 bytes per sec. (Not a big deal, but every byte
helps.)
Instead, do the multiply first, then the division. This can easily
overflow a 32-bit value, so make sure to do it as a 64-bit operation.
Nick Mathewson [Thu, 8 Sep 2011 01:03:08 +0000 (21:03 -0400)]
Make documentation for TokenBucketRefillInterval match its behavior
Nick Mathewson [Thu, 8 Sep 2011 01:02:49 +0000 (21:02 -0400)]
Move around check for TokenBucketRefillInterval; disallow changes to it
Florian Tschorsch [Thu, 8 Sep 2011 00:21:53 +0000 (20:21 -0400)]
New torrc option to allow bucket refill intervals of less than 1 sec
Implements bug3630.
Nick Mathewson [Tue, 20 Sep 2011 14:25:56 +0000 (10:25 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Tue, 20 Sep 2011 13:56:26 +0000 (09:56 -0400)]
changes file for bug 4059
Mansour Moufid [Tue, 20 Sep 2011 01:25:23 +0000 (21:25 -0400)]
Fix a potentially useless integer overflow check.
GCC 4.2 and maybe other compilers optimize away unsigned integer
overflow checks of the form (foo + bar < foo), for all bar.
Fix one such check in `src/common/OpenBSD_malloc_Linux.c'.
Roger Dingledine [Thu, 15 Sep 2011 20:35:26 +0000 (16:35 -0400)]
Merge branch 'maint-0.2.2'
Roger Dingledine [Thu, 15 Sep 2011 20:34:47 +0000 (16:34 -0400)]
Merge branch 'maint-0.2.1' into maint-0.2.2
Karsten Loesing [Mon, 12 Sep 2011 09:40:26 +0000 (11:40 +0200)]
Update to the September 2011 GeoIP database.
Nick Mathewson [Thu, 15 Sep 2011 13:51:48 +0000 (09:51 -0400)]
Log errno on listener socket creation failure.
This may help diagnose bug 4027.
Roger Dingledine [Wed, 14 Sep 2011 02:04:47 +0000 (22:04 -0400)]
bump to 0.2.3.4-alpha-dev
Roger Dingledine [Wed, 14 Sep 2011 00:26:32 +0000 (20:26 -0400)]
slight tweak to unify things
Roger Dingledine [Tue, 13 Sep 2011 23:59:06 +0000 (19:59 -0400)]
bump to 0.2.3.4-alpha
Roger Dingledine [Tue, 13 Sep 2011 23:56:59 +0000 (19:56 -0400)]
a blurb for 0.2.3.4-alpha
Roger Dingledine [Tue, 13 Sep 2011 23:19:38 +0000 (19:19 -0400)]
forward-port the 0.2.2.33 changelog
Roger Dingledine [Tue, 13 Sep 2011 22:32:00 +0000 (18:32 -0400)]
Merge branch 'maint-0.2.2'
Roger Dingledine [Tue, 13 Sep 2011 22:27:13 +0000 (18:27 -0400)]
Merge branch 'maint-0.2.1' into maint-0.2.2
Conflicts:
src/or/main.c
src/or/router.c
Roger Dingledine [Tue, 13 Sep 2011 22:24:45 +0000 (18:24 -0400)]
Generate our ssl session certs with a plausible lifetime
Nobody but Tor uses certs on the wire with 2 hour lifetimes,
and it makes us stand out. Resolves ticket 4014.
Roger Dingledine [Mon, 12 Sep 2011 09:54:55 +0000 (05:54 -0400)]
Merge branch 'maint-0.2.2'
Karsten Loesing [Mon, 12 Sep 2011 09:40:26 +0000 (11:40 +0200)]
Update to the September 2011 GeoIP database.
Nick Mathewson [Sun, 11 Sep 2011 20:25:14 +0000 (16:25 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Roger Dingledine [Sun, 11 Sep 2011 05:33:04 +0000 (01:33 -0400)]
fix whitespace (two-space indent)
Robert Ransom [Sun, 11 Sep 2011 01:40:09 +0000 (21:40 -0400)]
Demote 'INTRODUCE2 cell is too {old,new}' message to info level
Robert Ransom [Sun, 11 Sep 2011 00:54:26 +0000 (20:54 -0400)]
Demote HS 'replay detected' log message for DH public keys to info level
Robert Ransom [Sat, 10 Sep 2011 23:09:01 +0000 (19:09 -0400)]
Describe rend_service_descriptor_t more completely
Robert Ransom [Sat, 10 Sep 2011 23:05:53 +0000 (19:05 -0400)]
Describe rend_intro_point_t more completely
Nick Mathewson [Sat, 10 Sep 2011 21:51:38 +0000 (17:51 -0400)]
Changes file for bug3936 changes
Fabian Keil [Sat, 10 Sep 2011 10:33:23 +0000 (12:33 +0200)]
Stop parse_client_port_config() from misinterpreting FooListenAddress and FooPort in legacy syntax
Previously the FooPort was ignored and the default used instead,
causing Tor to bind to the wrong port if FooPort and the default
port don't match or the CONN_TYPE_FOO_LISTENER has no default port.
Fixes #3936.
Fabian Keil [Mon, 5 Sep 2011 19:35:15 +0000 (21:35 +0200)]
Fix whitespace in parse_client_port_config()
Nick Mathewson [Sat, 10 Sep 2011 21:45:27 +0000 (17:45 -0400)]
Merge remote-tracking branch 'rransom-tor/typo-fix-ohkah8Ah'
Robert Ransom [Sat, 10 Sep 2011 20:15:52 +0000 (16:15 -0400)]
Fix log message typo.
Roger Dingledine [Fri, 9 Sep 2011 17:51:15 +0000 (13:51 -0400)]
start an 0.2.3.4-alpha changelog
Nick Mathewson [Fri, 9 Sep 2011 16:58:12 +0000 (12:58 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Conflicts:
configure.in
src/or/circuitbuild.c
Nick Mathewson [Fri, 9 Sep 2011 16:54:27 +0000 (12:54 -0400)]
Merge remote-tracking branch 'public/gcc-295-fix' into maint-0.2.2
Nick Mathewson [Fri, 9 Sep 2011 16:53:45 +0000 (12:53 -0400)]
Merge remote-tracking branch 'public/enhance_replay_detection' into maint-0.2.2
Nick Mathewson [Wed, 11 May 2011 01:40:10 +0000 (21:40 -0400)]
Check for replays in PK-encrypted part of intro cell, not just in the g^x value
Nick Mathewson [Fri, 9 Sep 2011 14:40:54 +0000 (10:40 -0400)]
Add changes file for bsd4 fixes
Nick Mathewson [Thu, 8 Sep 2011 00:26:58 +0000 (20:26 -0400)]
Fix whitespace issues in patches merged today so far
Jérémy Bobbio [Wed, 7 Sep 2011 16:51:24 +0000 (18:51 +0200)]
chown() sockets when User option is set
Fixes bug 3421
Nick Mathewson [Wed, 7 Sep 2011 19:06:01 +0000 (15:06 -0400)]
fix a const warning
Nick Mathewson [Wed, 7 Sep 2011 19:03:54 +0000 (15:03 -0400)]
Merge branch 'bug3327_squashed'
Nick Mathewson [Fri, 24 Jun 2011 20:43:08 +0000 (16:43 -0400)]
Report reason for generating descriptor in an HTTP header
Suggested by arma; based on 3327.
Nick Mathewson [Fri, 24 Jun 2011 20:38:44 +0000 (16:38 -0400)]
Clean up HTTP request header generation a little
Use a list of headers rather than trying to printf every header that
might exist.
Nick Mathewson [Wed, 22 Jun 2011 16:27:27 +0000 (12:27 -0400)]
Upload descriptors more often when recent desc is unlisted
Right now we only force a new descriptor upload every 18 hours.
This can make servers become unlisted if they upload a descriptor at
time T which the authorities reject as being "too similar" to one
they uploaded before. Nothing will actually make the server upload a
new descriptor later on, until another 18 hours have passed.
This patch changes the upload behavior so that the 18 hour interval
applies only when we're listed in a live consensus with a descriptor
published within the last 18 hours. Otherwise--if we're not listed
in the live consensus, or if we're listed with a publication time
over 18 hours in the past--we upload a new descriptor every 90
minutes.
This is an attempted bugfix for #3327. If we merge it, it should
obsolete #535.
Nick Mathewson [Wed, 7 Sep 2011 18:51:55 +0000 (14:51 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Conflicts:
src/or/dirserv.c
src/or/networkstatus.c
Conflicts were related to routerinfo->node shift.
Nick Mathewson [Wed, 7 Sep 2011 18:43:06 +0000 (14:43 -0400)]
Merge remote-tracking branch 'public/bug2649_squashed' into maint-0.2.2
Nick Mathewson [Wed, 7 Sep 2011 18:18:47 +0000 (14:18 -0400)]
changes file for split_entry_conn (ticket 3627)
Nick Mathewson [Wed, 7 Sep 2011 18:18:32 +0000 (14:18 -0400)]
Remove a now-needless test.
Nick Mathewson [Wed, 7 Sep 2011 18:13:57 +0000 (14:13 -0400)]
Merge remote-tracking branch 'public/split_entry_conn'
Conflicts:
src/or/connection.c
src/or/connection_edge.c
src/or/connection_edge.h
src/or/dnsserv.c
Some of these were a little tricky, since they touched code that
changed because of the prop171 fixes.
Robert Ransom [Thu, 23 Jun 2011 22:16:25 +0000 (15:16 -0700)]
Die if tor_vasprintf fails in connection_printf_to_buf
tor_asprintf already asserts if it fails.
Nick Mathewson [Wed, 7 Sep 2011 16:11:35 +0000 (12:11 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Conflicts:
configure.in
Conflict was between two pieces of configure.in logic added to the
same place. Trivial.
Nick Mathewson [Fri, 2 Sep 2011 15:51:49 +0000 (11:51 -0400)]
Look for correct "ar" to cross-compile
For some reason, autoconf doesn't by default have an "AC_PROG_AR" for
this -- possibly it's assumed that any "ar" you have will work
everyplace.
Fixes bug 3909; found by sid77.
This fixes a build issue first present in
fdbdb4dc1500 , but the bug
(of not using a correct ar) has been in every Tor version ever: it
just didn't matter until then.
Nick Mathewson [Wed, 7 Sep 2011 15:22:24 +0000 (11:22 -0400)]
Merge remote-tracking branch 'public/bug3851'
Nick Mathewson [Wed, 7 Sep 2011 00:55:31 +0000 (20:55 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2'
Conflicts:
src/or/connection_edge.c
Conflicted on a router->node transition; fix was easy.
Nick Mathewson [Wed, 7 Sep 2011 00:26:20 +0000 (20:26 -0400)]
Fix assertion in addressmap_clear_excluded_trackexithosts
Fixes bug 3923; bugfix on 0.2.2.25-alpha; bugfix from 'laruldan' on trac.
Roger Dingledine [Fri, 2 Sep 2011 11:41:55 +0000 (07:41 -0400)]
bump to 0.2.3.3-alpha-dev
Roger Dingledine [Fri, 2 Sep 2011 11:24:25 +0000 (07:24 -0400)]
merge in one more
Roger Dingledine [Fri, 2 Sep 2011 11:23:37 +0000 (07:23 -0400)]
Merge branch 'maint-0.2.2'
Roger Dingledine [Fri, 2 Sep 2011 11:01:55 +0000 (07:01 -0400)]
Correct man page: multiple control auth styles can be set at once
Roger Dingledine [Fri, 2 Sep 2011 10:23:28 +0000 (06:23 -0400)]
bump to 0.2.3.3-alpha
Roger Dingledine [Fri, 2 Sep 2011 00:49:21 +0000 (20:49 -0400)]
fold in last changes item
Steven Murdoch [Thu, 1 Sep 2011 17:17:54 +0000 (18:17 +0100)]
Handle test case where fgets() sees EOF on the last read
On some platforms, with non-blocking IO, on EOF you first
get EAGAIN, and then on the second read you get zero bytes
and EOF is set. However on others, the EOF flag is set as
soon as the last byte is read. This patch fixes the test
case in the latter scenario.
Nick Mathewson [Thu, 1 Sep 2011 14:45:34 +0000 (10:45 -0400)]
Merge branch 'bug3888'
Nick Mathewson [Thu, 1 Sep 2011 14:45:26 +0000 (10:45 -0400)]
Changes file for bug3888
Steven Murdoch [Thu, 1 Sep 2011 12:09:38 +0000 (13:09 +0100)]
Fix double-closing a stdio stream
After a stream reached eof, we fclose it, but then
test_util_spawn_background_partial_read() reads from it again, which causes
an error and thus another fclose(). Some platforms are fine with this, others
(e.g. debian-sid-i386) trigger a double-free() error. The actual code used by
Tor (log_from_pipe() and tor_check_port_forwarding()) handle this case
correctly.
Sebastian Hahn [Thu, 1 Sep 2011 10:24:05 +0000 (12:24 +0200)]
Explicitly set bucket_cfg to NULL after we freed it
This should fix bug 3888.
Roger Dingledine [Thu, 1 Sep 2011 06:43:11 +0000 (02:43 -0400)]
clean 0.2.3.3-alpha changelog
ready when you are, nick
Nick Mathewson [Thu, 1 Sep 2011 02:14:38 +0000 (22:14 -0400)]
Tweaks on last process-launch patches
Steven Murdoch [Thu, 1 Sep 2011 00:06:12 +0000 (01:06 +0100)]
Make a version of tor_read_all_handle() for non-Windows platforms
Mainly used for testing reading from subprocesses. To be more generic
we now pass in a pointer to a process_handle_t rather than a Windows-
specific HANDLE.
Steven Murdoch [Wed, 31 Aug 2011 22:40:29 +0000 (23:40 +0100)]
Fix off-by-one error when allocating memory in test_util_split_lines()
Triggered "failed OVER picket-fence magic-number check (err 27)" when
memory debugging using dmalloc is enabled (at 'low' or higher).
Nick Mathewson [Wed, 31 Aug 2011 05:02:38 +0000 (01:02 -0400)]
First draft of an 0.2.3.3-alpha changelog
Nick Mathewson [Wed, 31 Aug 2011 04:36:43 +0000 (00:36 -0400)]
Add a missing include to util.c to get waitpid() on Linux
Nick Mathewson [Wed, 31 Aug 2011 02:22:15 +0000 (22:22 -0400)]
Check for lround with autoconf; fall back to rint.
Sebastian Hahn [Wed, 31 Aug 2011 00:45:49 +0000 (20:45 -0400)]
Fix a compilation issue on older FreeBSDs
Nick Mathewson [Wed, 31 Aug 2011 00:42:51 +0000 (20:42 -0400)]
Use %f with printf-style formatting, not %lf
For printf, %f and %lf are synonymous, since floats are promoted to
doubles when passed as varargs. It's only for scanf that we need to
say "%lf" for doubles and "%f" for floats.
Apparenly, some older compilers think it's naughty to say %lf and like
to spew warnings about it.
Found by grarpamp.
Nick Mathewson [Wed, 31 Aug 2011 00:35:17 +0000 (20:35 -0400)]
Switch a SMARTLIST_FOREACH in circuitbuild.c to BEGIN/END
It had some cpp stuff inside, and older GCCs don't like preprocessor
directives inside macro arguments.
Found by grarpamp.
Nick Mathewson [Tue, 30 Aug 2011 20:00:08 +0000 (16:00 -0400)]
Rename tor_join_cmdline to tor_join_win_cmdline; tweak doxygen