]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
16 years agoAdd the pdf of the roadmap to the right section of docs.
Andrew Lewman [Thu, 12 Mar 2009 16:46:06 +0000 (16:46 +0000)] 
Add the pdf of the roadmap to the right section of docs.

svn:r18941

16 years agoMake directory usage recording work again. Fixing bug introduced in r17009.
Karsten Loesing [Wed, 11 Mar 2009 22:08:37 +0000 (22:08 +0000)] 
Make directory usage recording work again. Fixing bug introduced in r17009.

svn:r18924

16 years agowhen we get an unrecognized relay streamid, log it
Roger Dingledine [Wed, 11 Mar 2009 20:51:47 +0000 (20:51 +0000)] 
when we get an unrecognized relay streamid, log it

svn:r18919

16 years agoUpdate the bundle installers for the MSI packages; these probably belong with the...
Martin Peck [Tue, 10 Mar 2009 09:28:28 +0000 (09:28 +0000)] 
Update the bundle installers for the MSI packages; these probably belong with the wxs files in the Vidalia repo.

svn:r18849

16 years agoIn tor-resolve, when the Tor client to use is specified by <hostname>:<port>, actuall...
Steven Murdoch [Tue, 10 Mar 2009 00:52:45 +0000 (00:52 +0000)] 
In tor-resolve, when the Tor client to use is specified by <hostname>:<port>, actually use the specified port rather than defaulting to 9050

svn:r18833

16 years agoBugfix on r17756:
Roger Dingledine [Mon, 9 Mar 2009 22:05:17 +0000 (22:05 +0000)] 
Bugfix on r17756:
Avoid trying to print raw memory to the logs when we decide to
give up on downloading a given relay descriptor. Bugfix on
0.2.1.9-alpha.

svn:r18831

16 years agobump to 0.2.1.13-alpha-dev
Roger Dingledine [Mon, 9 Mar 2009 21:43:31 +0000 (21:43 +0000)] 
bump to 0.2.1.13-alpha-dev

svn:r18830

16 years agoLog cached-at-exit exit policies to try to fix bug 672. tor-0.2.1.13-alpha
Nick Mathewson [Mon, 9 Mar 2009 15:53:37 +0000 (15:53 +0000)] 
Log cached-at-exit exit policies to try to fix bug 672.

svn:r18827

16 years agodoxygen tweak
Roger Dingledine [Mon, 9 Mar 2009 06:20:15 +0000 (06:20 +0000)] 
doxygen tweak

svn:r18818

16 years agobump to 0.2.1.13-alpha
Roger Dingledine [Mon, 9 Mar 2009 00:56:22 +0000 (00:56 +0000)] 
bump to 0.2.1.13-alpha

svn:r18814

16 years ago3! 3 not 2.
Roger Dingledine [Mon, 9 Mar 2009 00:55:59 +0000 (00:55 +0000)] 
3! 3 not 2.

svn:r18813

16 years agoWe were already rejecting relay begin cells with destination port
Roger Dingledine [Mon, 9 Mar 2009 00:53:42 +0000 (00:53 +0000)] 
We were already rejecting relay begin cells with destination port
of 0. Now also reject extend cells with destination port or address
of 0. Suggested by lark.

svn:r18812

16 years agodeclare that i'm going to tag 0.2.1.13-alpha tonight
Roger Dingledine [Mon, 9 Mar 2009 00:43:03 +0000 (00:43 +0000)] 
declare that i'm going to tag 0.2.1.13-alpha tonight

svn:r18811

16 years agoBuild correctly from outside main source tree. Patch from Michael Gold.
Nick Mathewson [Sun, 8 Mar 2009 23:18:44 +0000 (23:18 +0000)] 
Build correctly from outside main source tree. Patch from Michael Gold.

svn:r18809

16 years agoRemove contrib/tor.wxs from AC_CONFIG_FILES. The file is gone.
Karsten Loesing [Fri, 6 Mar 2009 23:54:16 +0000 (23:54 +0000)] 
Remove contrib/tor.wxs from AC_CONFIG_FILES. The file is gone.

svn:r18791

16 years agoMove wxs files to vidalia trunk for integration with existing bundle translations.
Martin Peck [Fri, 6 Mar 2009 12:23:01 +0000 (12:23 +0000)] 
Move wxs files to vidalia trunk for integration with existing bundle translations.

svn:r18789

16 years agoUpdate to the "February 26 2009" ip-to-country file
Roger Dingledine [Thu, 5 Mar 2009 10:47:25 +0000 (10:47 +0000)] 
Update to the "February 26 2009" ip-to-country file

svn:r18774

16 years agoActually use tor_sscanf() to parse untrusted input.
Nick Mathewson [Tue, 3 Mar 2009 18:02:36 +0000 (18:02 +0000)] 
Actually use tor_sscanf() to parse untrusted input.

svn:r18761

16 years agoAdd a simple locale-independent no-surprises sscanf replacement.
Nick Mathewson [Tue, 3 Mar 2009 18:02:31 +0000 (18:02 +0000)] 
Add a simple locale-independent no-surprises sscanf replacement.

tor_sscanf() only handles %u and %s for now, which will make it
adequate to replace sscanf() for date/time/IP parsing.  We want this
to prevent attackers from constructing weirdly formed descriptors,
cells, addresses, HTTP responses, etc, that validate under some
locales but not others.

svn:r18760

16 years agoAdd and use set/get_uint64 on onion tags. [bug 604; backportable]
Nick Mathewson [Mon, 2 Mar 2009 19:15:05 +0000 (19:15 +0000)] 
Add and use set/get_uint64 on onion tags. [bug 604; backportable]

It seems that 64-bit Sparc Solaris demands 64-bit-aligned access to
uint64_t, but does not 64-bit-align the stack-allocated char array we
use for cpuworker tags.  So this patch adds a set/get_uint64 pair, and
uses them to access the conn_id field in the tag.

svn:r18743

16 years agominor updates and questions.
Andrew Lewman [Fri, 27 Feb 2009 03:05:27 +0000 (03:05 +0000)] 
minor updates and questions.

svn:r18705

16 years agoFix one case of bug 929.
Nick Mathewson [Mon, 23 Feb 2009 20:04:51 +0000 (20:04 +0000)] 
Fix one case of bug 929.

svn:r18683

16 years agoAdd some debugging code to try to catch the likely cause of bug 929
Nick Mathewson [Mon, 23 Feb 2009 18:57:21 +0000 (18:57 +0000)] 
Add some debugging code to try to catch the likely cause of bug 929

svn:r18682

16 years agoUpdated the description text, changed packager email
Andrew Lewman [Mon, 23 Feb 2009 00:02:48 +0000 (00:02 +0000)] 
Updated the description text, changed packager email

svn:r18675

16 years agoPatch from lark: if we get two extend cells for the same circuit id, drop the second...
Nick Mathewson [Sat, 21 Feb 2009 19:07:05 +0000 (19:07 +0000)] 
Patch from lark: if we get two extend cells for the same circuit id, drop the second.  Previously, we had leaked an extend_info if the target connection was not open when the second arrived.

svn:r18668

16 years agoPatch from lark: drop BEGIN cells from a rendevous circuit if they do not originate...
Nick Mathewson [Sat, 21 Feb 2009 19:07:01 +0000 (19:07 +0000)] 
Patch from lark: drop BEGIN cells from a rendevous circuit if they do not originate from the end of the circuit.

svn:r18667

16 years agosend the newconsensus event if the controller has asked for newconsensus
Roger Dingledine [Fri, 20 Feb 2009 10:25:08 +0000 (10:25 +0000)] 
send the newconsensus event if the controller has asked for newconsensus
events, not if he's asked for ns events

svn:r18656

16 years agotypo
Roger Dingledine [Tue, 17 Feb 2009 22:49:25 +0000 (22:49 +0000)] 
typo

svn:r18610

16 years agoadd proposal 159, 'exit scanning', from or-dev
Roger Dingledine [Tue, 17 Feb 2009 20:37:11 +0000 (20:37 +0000)] 
add proposal 159, 'exit scanning', from or-dev

svn:r18609

16 years agoPossible fix for broken country settings in ExcludeExitNodes.
Nick Mathewson [Mon, 16 Feb 2009 15:15:06 +0000 (15:15 +0000)] 
Possible fix for broken country settings in ExcludeExitNodes.

It turns out that we weren't updating the _ExcludeExitNodesUnion set's
country numbers when we reloaded (or first loaded!) the IP-to-country
file.  Spotted by Lark.  Bugfix on 0.2.1.6-alpha.

svn:r18575

16 years agoRemove Makefile rule for building performance.tex (now in /projects/performance)
Steven Murdoch [Mon, 16 Feb 2009 11:10:34 +0000 (11:10 +0000)] 
Remove Makefile rule for building performance.tex (now in /projects/performance)

svn:r18568

16 years agodocdoc and changelog for r18556
Roger Dingledine [Mon, 16 Feb 2009 10:39:10 +0000 (10:39 +0000)] 
docdoc and changelog for r18556

svn:r18566

16 years agoand two more things to move
Roger Dingledine [Mon, 16 Feb 2009 10:26:51 +0000 (10:26 +0000)] 
and two more things to move

svn:r18564

16 years agomove performance.tex over
Roger Dingledine [Mon, 16 Feb 2009 10:26:04 +0000 (10:26 +0000)] 
move performance.tex over
boy, what a convoluted thing svn is

svn:r18563

16 years agoand list the new event here too
Roger Dingledine [Mon, 16 Feb 2009 06:18:44 +0000 (06:18 +0000)] 
and list the new event here too

svn:r18557

16 years agonew controller event NEWCONSENSUS that lists the networkstatus
Roger Dingledine [Mon, 16 Feb 2009 06:18:03 +0000 (06:18 +0000)] 
new controller event NEWCONSENSUS that lists the networkstatus
lines for every recommended relay.

still needs docdoc and changelog entry.

svn:r18556

16 years agoreindex proposals
Roger Dingledine [Mon, 16 Feb 2009 06:17:27 +0000 (06:17 +0000)] 
reindex proposals

svn:r18555

16 years agonobody's implementing proposals 134 or 140, so they get
Roger Dingledine [Sun, 15 Feb 2009 12:06:54 +0000 (12:06 +0000)] 
nobody's implementing proposals 134 or 140, so they get
bumped to 0.2.2.x

svn:r18546

16 years agofill in some 'created' timeframes
Roger Dingledine [Sun, 15 Feb 2009 11:12:42 +0000 (11:12 +0000)] 
fill in some 'created' timeframes

svn:r18545

16 years agoIf the controller claimed responsibility for a stream, but that
Roger Dingledine [Fri, 13 Feb 2009 04:11:14 +0000 (04:11 +0000)] 
If the controller claimed responsibility for a stream, but that
stream never finished making its connection, it would live
forever in circuit_wait state. Now we close it after SocksTimeout
seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.

svn:r18516

16 years agoUpdate some copyrights, change net.freehaven to org.torproject.
Andrew Lewman [Fri, 13 Feb 2009 00:50:45 +0000 (00:50 +0000)] 
Update some copyrights, change net.freehaven to org.torproject.

svn:r18514

16 years agoUpdate to the "January 23 2009" ip-to-country file
Roger Dingledine [Thu, 12 Feb 2009 12:32:14 +0000 (12:32 +0000)] 
Update to the "January 23 2009" ip-to-country file

svn:r18503

16 years agoAdd SSL test description for kicks. Also spell check is a
Mike Perry [Thu, 12 Feb 2009 10:15:32 +0000 (10:15 +0000)] 
Add SSL test description for kicks. Also spell check is a
wonderfukl thign.

svn:r18502

16 years agoAdd exit scanning proposal outline from discussions with arma.
Mike Perry [Thu, 12 Feb 2009 09:54:54 +0000 (09:54 +0000)] 
Add exit scanning proposal outline from discussions with arma.

svn:r18501

16 years agoand forward-port the 0.2.0.33 and 0.2.0.34 changelogs
Roger Dingledine [Wed, 11 Feb 2009 22:21:50 +0000 (22:21 +0000)] 
and forward-port the 0.2.0.33 and 0.2.0.34 changelogs

svn:r18497

16 years agoRevert an erroneous part of the non-fix to bug 326, and add comments to explain why...
Nick Mathewson [Wed, 11 Feb 2009 17:23:11 +0000 (17:23 +0000)] 
Revert an erroneous part of the non-fix to bug 326, and add comments to explain why it was erroneous.

svn:r18494

16 years agoI worry that the CLEAR() macro in eventdns.c is hiding bugs. That is sad, because...
Nick Mathewson [Wed, 11 Feb 2009 17:22:34 +0000 (17:22 +0000)] 
I worry that the CLEAR() macro in eventdns.c is hiding bugs.   That is sad, because it was meant to make them more detectable.  Change it to change stuff to garbage rather than to 0.  If no bugs turn up, we can remove it in 0.2.2.x

svn:r18493

16 years agoPort some mostly cosmetic eventdns changes from libevent
Nick Mathewson [Wed, 11 Feb 2009 17:22:29 +0000 (17:22 +0000)] 
Port some mostly cosmetic eventdns changes from libevent

svn:r18492

16 years agoClients and non-caches do not need to cache unrecognized authority certificates.
Nick Mathewson [Tue, 10 Feb 2009 20:28:30 +0000 (20:28 +0000)] 
Clients and non-caches do not need to cache unrecognized authority certificates.

svn:r18480

16 years agoEnhance tor-checkkey tool so it can generate key hashes too.
Nick Mathewson [Tue, 10 Feb 2009 20:03:58 +0000 (20:03 +0000)] 
Enhance tor-checkkey tool so it can generate key hashes too.

svn:r18478

16 years agoAs an exit node, scrub the IP address to which we are exiting in the logs. Bugfix...
Karsten Loesing [Tue, 10 Feb 2009 18:52:47 +0000 (18:52 +0000)] 
As an exit node, scrub the IP address to which we are exiting in the logs. Bugfix on 0.2.1.8-alpha.

svn:r18477

16 years agoUpdate WiX MSI package GUIDs for version 0.2.1.12.
Martin Peck [Tue, 10 Feb 2009 12:49:52 +0000 (12:49 +0000)] 
Update WiX MSI package GUIDs for version 0.2.1.12.

svn:r18466

16 years agoit turns out that removing external deliverables from the list just
Roger Dingledine [Tue, 10 Feb 2009 06:59:49 +0000 (06:59 +0000)] 
it turns out that removing external deliverables from the list just
because they're done will really confuse arma.

svn:r18463

16 years agoDon't extend introduction circuits indefinitely.
Nick Mathewson [Tue, 10 Feb 2009 00:45:30 +0000 (00:45 +0000)] 
Don't extend introduction circuits indefinitely.

Doing so could run you out of relay_early cells and give you a
senselessly long circuit.  Patch from Karsten; may fix bug 878.

svn:r18459

16 years agoNew upstream version
Peter Palfrader [Mon, 9 Feb 2009 23:51:31 +0000 (23:51 +0000)] 
New upstream version

svn:r18457

16 years agomark a few todo items as deferable
Roger Dingledine [Mon, 9 Feb 2009 20:29:59 +0000 (20:29 +0000)] 
mark a few todo items as deferable

svn:r18455

16 years agoRetry circuits if the exit node is optional and nonexistant.
Nick Mathewson [Mon, 9 Feb 2009 16:55:48 +0000 (16:55 +0000)] 
Retry circuits if the exit node is optional and nonexistant.

Previously, when we had the chosen_exit set but marked optional, and
we failed because we couldn't find an onion key for it, we'd just give
up on the circuit.  But what we really want to do is try again, without
the forced exit node.

Spotted by rovv.  Another case of bug 752.  I think this might be
unreachable in our current code, but proposal 158 could change that.

svn:r18451

16 years agoDisable KQUEUE from inside Tor if the OSX version is prior to 10.4.0
Nick Mathewson [Mon, 9 Feb 2009 16:07:02 +0000 (16:07 +0000)] 
Disable KQUEUE from inside Tor if the OSX version is prior to 10.4.0

svn:r18450

16 years agoUse prctl to reenable core dumps when we have setuid to a non-root user.
Nick Mathewson [Mon, 9 Feb 2009 15:20:17 +0000 (15:20 +0000)] 
Use prctl to reenable core dumps when we have setuid to a non-root user.

svn:r18449

16 years agoBump version to 0.2.1.12-alpha-dev
Nick Mathewson [Mon, 9 Feb 2009 15:09:51 +0000 (15:09 +0000)] 
Bump version to 0.2.1.12-alpha-dev

svn:r18448

16 years agoUpdated my parts of future, completed two items in .021
Andrew Lewman [Mon, 9 Feb 2009 04:42:45 +0000 (04:42 +0000)] 
Updated my parts of future, completed two items in .021

svn:r18434

16 years agobump to 0.2.1.12-alpha
Roger Dingledine [Mon, 9 Feb 2009 03:28:59 +0000 (03:28 +0000)] 
bump to 0.2.1.12-alpha

svn:r18429

16 years agoa bit more changelog mucking
Roger Dingledine [Mon, 9 Feb 2009 03:24:53 +0000 (03:24 +0000)] 
a bit more changelog mucking

svn:r18426

16 years agoshuffle the changelog a bit
Roger Dingledine [Mon, 9 Feb 2009 03:21:43 +0000 (03:21 +0000)] 
shuffle the changelog a bit

svn:r18425

16 years agouh, and commit the patch too.
Roger Dingledine [Mon, 9 Feb 2009 03:13:14 +0000 (03:13 +0000)] 
uh, and commit the patch too.

svn:r18423

16 years agoRemove some deadcode and use tor_inet_aton uniformly.
Nick Mathewson [Mon, 9 Feb 2009 03:13:05 +0000 (03:13 +0000)] 
Remove some deadcode and use tor_inet_aton uniformly.

svn:r18422

16 years agoFix a remote-crash bug. This will need a patch release.
Nick Mathewson [Mon, 9 Feb 2009 03:13:02 +0000 (03:13 +0000)] 
Fix a remote-crash bug.  This will need a patch release.

svn:r18421

16 years agoFix a temporary DoS vulnerability that could be performed by
Roger Dingledine [Mon, 9 Feb 2009 03:12:07 +0000 (03:12 +0000)] 
Fix a temporary DoS vulnerability that could be performed by
a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.

svn:r18420

16 years agodecide that mikeperry's bug should be fixed in 0.2.1.x
Roger Dingledine [Mon, 9 Feb 2009 02:50:19 +0000 (02:50 +0000)] 
decide that mikeperry's bug should be fixed in 0.2.1.x
(but not in 0.2.1.12-alpha, sorry)

svn:r18417

16 years agoadd more reminders on potential performance improvements
Roger Dingledine [Mon, 9 Feb 2009 02:48:23 +0000 (02:48 +0000)] 
add more reminders on potential performance improvements

svn:r18416

16 years agodeclare tomorrow as the day for 0.2.1.12-alpha too
Roger Dingledine [Sun, 8 Feb 2009 05:00:39 +0000 (05:00 +0000)] 
declare tomorrow as the day for 0.2.1.12-alpha too

svn:r18413

16 years agoCreate Archive directory if it does not exist. Make sure mv knows we want to move...
Peter Palfrader [Fri, 6 Feb 2009 22:43:45 +0000 (22:43 +0000)] 
Create Archive directory if it does not exist.  Make sure mv knows we want to move stuff into a dir

svn:r18411

16 years agoForward-port ChangeLog for 0.2.0.30.
Karsten Loesing [Thu, 5 Feb 2009 17:52:58 +0000 (17:52 +0000)] 
Forward-port ChangeLog for 0.2.0.30.

svn:r18404

16 years agopatches/06_add_compile_time_defaults: Only set the User option in the config if
Peter Palfrader [Wed, 4 Feb 2009 23:42:39 +0000 (23:42 +0000)] 
patches/06_add_compile_time_defaults: Only set the User option in the config if
we run as root.  Do not set it when run as debian-tor as Tor then always
insists on changing users which will fail.  (If we run as any other user we
don't set our debian defaults anyway.)

svn:r18397

16 years agoIf we're using bridges and our network goes away, be more willing
Roger Dingledine [Wed, 4 Feb 2009 23:27:35 +0000 (23:27 +0000)] 
If we're using bridges and our network goes away, be more willing
to forgive our bridges and try again when we get an application
request. Bugfix on 0.2.0.x.

svn:r18396

16 years agosome other performance-oriented fixes to integrate
Roger Dingledine [Wed, 4 Feb 2009 23:26:39 +0000 (23:26 +0000)] 
some other performance-oriented fixes to integrate

svn:r18395

16 years agocosmetic changes
Roger Dingledine [Wed, 4 Feb 2009 23:13:51 +0000 (23:13 +0000)] 
cosmetic changes

svn:r18394

16 years agoand forward-port the 0.2.0.33 changelog
Roger Dingledine [Wed, 4 Feb 2009 15:20:50 +0000 (15:20 +0000)] 
and forward-port the 0.2.0.33 changelog

svn:r18392

16 years agomake a note about a clause in connection_edge.c that is probably
Roger Dingledine [Wed, 4 Feb 2009 08:27:36 +0000 (08:27 +0000)] 
make a note about a clause in connection_edge.c that is probably
redundant, and is definitely confusing. we should take it out
in 0.2.2.x and see who squeaks.

svn:r18383

16 years agoMinor adjustment to man page.
Andrew Lewman [Sun, 1 Feb 2009 22:05:31 +0000 (22:05 +0000)] 
Minor adjustment to man page.

svn:r18365

16 years agoFix a possible cause of bug 915 when parsing multiple votes one of which was bad...
Nick Mathewson [Sat, 31 Jan 2009 18:27:38 +0000 (18:27 +0000)] 
Fix a possible cause of bug 915 when parsing multiple votes one of which was bad.  Bugfix on 0.2.0.8-alpha.

svn:r18354

16 years agoWhen building with GCC, use -fno-strict-aliasing
Nick Mathewson [Sat, 31 Jan 2009 07:51:02 +0000 (07:51 +0000)] 
When building with GCC, use -fno-strict-aliasing

GCC's interpretation of the C99 aliasing rules, to be charitable,
creates a dialect of C intended for a better programmers than I am
certain of my ability to be in all times.  I just spent 2 hours
tracking down a platform-hyperspecific libevent bug that turned out to
be because of this, and darned if I ever want to do *that* again.

One of Linus's recent rants will give you a picture of why GCC's
behavior here can lead to fun surprises in your binaries:
http://lwn.net/Articles/316126/

svn:r18351

16 years agogive torrc.sample its yearly overhaul. the main change is to
Roger Dingledine [Fri, 30 Jan 2009 19:37:59 +0000 (19:37 +0000)] 
give torrc.sample its yearly overhaul. the main change is to
merge the 'bridge relay' section into the 'main relay'
section, so people stop getting confused about whether they
should fill out both sections (they shouldn't).

svn:r18348

16 years agofix a wide line.
Nick Mathewson [Fri, 30 Jan 2009 15:23:44 +0000 (15:23 +0000)] 
fix a wide line.

svn:r18341

16 years agoremove some done or abandoned items from the external todo
Roger Dingledine [Fri, 30 Jan 2009 01:21:04 +0000 (01:21 +0000)] 
remove some done or abandoned items from the external todo

svn:r18335

16 years agoadmit that the "get a relay operator mailing list going" plan is the
Roger Dingledine [Fri, 30 Jan 2009 01:18:15 +0000 (01:18 +0000)] 
admit that the "get a relay operator mailing list going" plan is the
one to slip if something is going to

svn:r18334

16 years agoUpdated win32/mingw directions for openssl 0.9.8j.
Andrew Lewman [Thu, 29 Jan 2009 23:21:37 +0000 (23:21 +0000)] 
Updated win32/mingw directions for openssl 0.9.8j.

svn:r18327

16 years agoClean up the rpm creation steps.
Andrew Lewman [Thu, 29 Jan 2009 23:19:56 +0000 (23:19 +0000)] 
Clean up the rpm creation steps.

svn:r18325

16 years agoAdd data files generated by selection probability optimization algorithm
Steven Murdoch [Thu, 29 Jan 2009 11:13:20 +0000 (11:13 +0000)] 
Add data files generated by selection probability optimization algorithm

svn:r18316

16 years agoSupport setting serverdnsrandomizecase during sighup. Backportable, unless too trivial.
Nick Mathewson [Wed, 28 Jan 2009 19:53:03 +0000 (19:53 +0000)] 
Support setting serverdnsrandomizecase during sighup.  Backportable, unless too trivial.

svn:r18307

16 years agoFix a race condition on nameserver reconfiguration.
Nick Mathewson [Wed, 28 Jan 2009 18:26:20 +0000 (18:26 +0000)] 
Fix a race condition on nameserver reconfiguration.

This resolves bug 526, wherein we would crash if the following
events occurred in this order:
  A: We're an OR, and one of our nameservers goes down.
  B: We launch a probe to it to see if it's up again. (We do this hourly
     in steady-state.)
  C: Before the probe finishes, we reconfigure our nameservers,
     usually because we got a SIGHUP and the resolve.conf file changed.
  D: The probe reply comes back, or times out. (There is a five-second
     window for this, after B has happens).

IOW, if one of our nameservers is down and our nameserver
configuration has changed, there were 5 seconds per hour where HUPing
the server was unsafe.

Bugfix on 0.1.2.1-alpha.  Too obscure to backport.

svn:r18306

16 years agoDon't obsolete a very-new connection for having no circuits yet.
Nick Mathewson [Wed, 28 Jan 2009 17:36:41 +0000 (17:36 +0000)] 
Don't obsolete a very-new connection for having no circuits yet.

This fixes the last known case of bug 891, which could happen if two
hosts, A and B, disagree about how long a circuit has been open,
because of clock drift of some kind.  Host A would then mark the
connection as is_bad_for_new_circs when it got too old and open a new
connection.  In between when B receives a NETINFO cell on the new
conn, and when B receives a conn cell on the new circuit, the new
circuit will seem worse to B than the old one, and so B will mark it
as is_bad_for_new_circs in the second or third loop of
connection_or_group_set_badness().

Bugfix on 0.1.1.13-alpha.  Bug found by rovv.

Not a backport candidate: the bug is too obscure and the fix too tricky.

svn:r18303

16 years agoFix an old changelog entry to mention which bug it fixed.
Nick Mathewson [Wed, 28 Jan 2009 17:36:37 +0000 (17:36 +0000)] 
Fix an old changelog entry to mention which bug it fixed.

svn:r18302

16 years agoRemove some dead code.
Nick Mathewson [Wed, 28 Jan 2009 17:36:34 +0000 (17:36 +0000)] 
Remove some dead code.

svn:r18301

16 years agoForward-port: Fix bug 893: check AP connections for markedness before expiring them.
Nick Mathewson [Wed, 28 Jan 2009 16:30:06 +0000 (16:30 +0000)] 
Forward-port: Fix bug 893: check AP connections for markedness before expiring them.

svn:r18299

16 years agoActually send the extra_headers content in write_http_response_header_impl. This...
Nick Mathewson [Wed, 28 Jan 2009 16:06:46 +0000 (16:06 +0000)] 
Actually send the extra_headers content in write_http_response_header_impl.  This make X-Descriptor-Now-New get sent.  Bugfix on 0.2.0.10-alpha.  Spotted by "multiplication".

svn:r18297

16 years agoclean up r18287
Roger Dingledine [Wed, 28 Jan 2009 07:16:22 +0000 (07:16 +0000)] 
clean up r18287

svn:r18288

16 years agopatch from matt to implement 'getinfo status/clients-seen'
Roger Dingledine [Wed, 28 Jan 2009 06:50:36 +0000 (06:50 +0000)] 
patch from matt to implement 'getinfo status/clients-seen'

svn:r18287

16 years agomore minor bugs in the control spec
Roger Dingledine [Wed, 28 Jan 2009 06:46:14 +0000 (06:46 +0000)] 
more minor bugs in the control spec

svn:r18286

16 years agotypo found by 'nil'
Roger Dingledine [Wed, 28 Jan 2009 00:03:47 +0000 (00:03 +0000)] 
typo found by 'nil'

svn:r18283