Commit Graph

2205 Commits

Author SHA1 Message Date
Nick Mathewson
ff62a4d91b r9692@catbus: nickm | 2007-01-21 12:04:22 -0500
Detect pointer loops in DNS requests and replies; avoid infinite loop on such malformed replies.  Fixes bug 380.


svn:r9378
2007-01-21 17:05:10 +00:00
Roger Dingledine
bcbd289af5 If our system clock jumps back in time, don't publish a negative
uptime in the descriptor. Also, don't let the global rate limiting
buckets go absurdly negative.


svn:r9377
2007-01-21 06:24:05 +00:00
Nick Mathewson
c57ef84fc5 r11987@Kushana: nickm | 2007-01-19 14:57:28 -0500
Implement SOCKS_BAD_HOSTNAME status event. Defer remaining status events.  Clean up control-spec.txt a little, and fill in recommendations for events.


svn:r9374
2007-01-19 21:25:32 +00:00
Roger Dingledine
a3eaabfeb2 Be willing to read or write on local connections (e.g. controller
connections) even when the global rate limiting buckets are empty.


svn:r9368
2007-01-18 03:38:24 +00:00
Roger Dingledine
b470da0e5a add a changelog item, rearrange some others
svn:r9367
2007-01-18 03:35:13 +00:00
Nick Mathewson
093d71762c r11978@Kushana: nickm | 2007-01-15 18:54:25 -0500
Apparently, the OpenBSD linker thinks it knows C better than I do, and gets to call me names for having strcat and strcpy and sprintf in my code--whether I use them safely or not.  All right, OpenBSD.  You win... this round.


svn:r9360
2007-01-15 23:56:38 +00:00
Nick Mathewson
380f8983c7 r11966@Kushana: nickm | 2007-01-15 16:12:17 -0500
Tidy up ORCONN reason patch from Mike Perry.  Changes: make some of the handling of TLS error codes less error prone.  Enforce house style wrt spaces.  Make it compile with --enable-gcc-warnings.  Only set or_conn->tls_error in the case of an actual error.  Add a changelog entry.


svn:r9355
2007-01-15 21:21:05 +00:00
Roger Dingledine
37b5132ad8 Expire socks connections if they spend too long waiting for the
handshake to finish. Previously we would let them sit around for
days, if the connecting application didn't close them either.

Also take this opportunity to refactor a duplicate bit of circuituse.c.

And change the semantics of SocksTimeout slightly, but I think it'll
be ok.


svn:r9350
2007-01-15 09:09:03 +00:00
Roger Dingledine
b955ddbee2 Adapt a patch from goodell to let the contrib/exitlist script
take arguments rather than require direct editing.


svn:r9346
2007-01-14 03:16:06 +00:00
Nick Mathewson
c1b5f53679 r11938@Kushana: nickm | 2007-01-11 11:02:28 -0500
Check addresses for rfc953-saneness at exit too, and give a PROTOCOL_WARN when they fail.  Also provide a mechanism to override this, so blossom can have its @@##$$^.whatever.exit hostnames if it wants.


svn:r9336
2007-01-11 16:02:39 +00:00
Nick Mathewson
3dfeaaaf6e r11931@Kushana: nickm | 2007-01-11 09:12:49 -0500
Fix a crash bug in the presence of DNS hijacking.


svn:r9333
2007-01-11 14:13:13 +00:00
Roger Dingledine
35bd6caa1a Fix crash with "tor --list-fingerprint" (reported by seeess).
svn:r9328
2007-01-10 23:48:24 +00:00
Nick Mathewson
8835bb844e r11922@Kushana: nickm | 2007-01-10 15:43:18 -0500
Clear untrusted networkstatuses after 10 days too.  (This is not a terribly awful bug, since we would only ever retain 16 of them, but it still might be nice to backport.)  Resolves part A of bug 372.


svn:r9324
2007-01-10 20:43:40 +00:00
Nick Mathewson
9937695598 r11919@Kushana: nickm | 2007-01-10 13:32:48 -0500
Add some defensive programming to eventdns.c in an attempt to catch possible memory stomping bugs.


svn:r9322
2007-01-10 19:49:21 +00:00
Nick Mathewson
ceefc1e9a7 r11914@dhcp-18-188-69-59: nickm | 2007-01-10 11:20:59 -0500
Base skew calculation on conn->timestamp_lastwritten, not on now.


svn:r9319
2007-01-10 16:33:40 +00:00
Roger Dingledine
e305b7d542 stick to first person for your changelog
svn:r9310
2007-01-09 05:20:06 +00:00
Roger Dingledine
794fedb0ad some cleanups. more probably remain, but hey, it's an alpha.
time to put out the bugfix release.


svn:r9309
2007-01-09 05:14:34 +00:00
Roger Dingledine
abaf223152 catch nick's attempt at revisionist history
svn:r9308
2007-01-09 00:59:11 +00:00
Roger Dingledine
1d8a4cb989 Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
connection handles more than 4 gigs in either direction, we assert.


svn:r9306
2007-01-09 00:50:50 +00:00
Roger Dingledine
c85ff4d6ab Fix an assert error introduced in 0.1.2.5-alpha: if you're an
advertised exit node, somebody might try to exit from you when
you're bootstrapping and before you've built your descriptor yet.


svn:r9305
2007-01-09 00:37:13 +00:00
Nick Mathewson
b2d87c65e0 r11874@Kushana: nickm | 2007-01-06 02:33:34 -0500
Changelog for last entry


svn:r9286
2007-01-06 07:34:11 +00:00
Nick Mathewson
bc14afe064 r11872@Kushana: nickm | 2007-01-06 02:14:12 -0500
Implement a control status event for bad libevent version/method combos.  Warn that libevent <1.1 with select() is needlessly slow.  Reply to comment.


svn:r9284
2007-01-06 07:34:02 +00:00
Nick Mathewson
d6073cc7fa r11864@Kushana: nickm | 2007-01-06 01:25:59 -0500
Fix an XXXX012 in connection.c: prevent overflows on unfeasibly-high-bandwidth servers on 32-bit architectures.


svn:r9282
2007-01-06 06:27:15 +00:00
Nick Mathewson
aa7b72c97d r11863@Kushana: nickm | 2007-01-06 01:12:24 -0500
Fix computation of total_exit_bandwidth; this will cause exits not to get recommended as guards if the total exit bandwidth if they constitute less than a third of total available bandwidth.  There may be problems here with flapping; lets see if they occur in practice.


svn:r9281
2007-01-06 06:26:53 +00:00
Nick Mathewson
336624ce8f r11862@Kushana: nickm | 2007-01-06 01:05:15 -0500
Re-enable warning when we resolve an already resolved address.  We only warn here now if the address is not a testing address.  Also, refactor out a function to check whether an address is used for testing.


svn:r9280
2007-01-06 06:26:46 +00:00
Nick Mathewson
c8466c5919 r11824@Kushana: nickm | 2007-01-03 17:15:28 -0500
control-spec: upcase arguments in status events; note unimplemented events individually
 r11825@Kushana:  nickm | 2007-01-03 17:41:43 -0500
 Implement EXTERNAL IP server status event.
 r11826@Kushana:  nickm | 2007-01-03 17:47:10 -0500
 Implement BAD_SERVER_DESCRIPTOR server status event.
 r11827@Kushana:  nickm | 2007-01-03 18:01:56 -0500
 Implement SOCKS_UNKNOWN_PROTOCOL and DANGEROUS_SOCKS client events.
 r11828@Kushana:  nickm | 2007-01-03 18:23:22 -0500
 Implement BUG controller events. Also, flush ERR-level status events just like ERR-level log messages.
 r11829@Kushana:  nickm | 2007-01-03 23:37:27 -0500
 Yet more status events: CLOCK_SKEW, GOOD/ACCEPTED_SERVER_DESCRIPTOR, {CHECKING_}REACHABILITY_{SUCCEEDED|FAILED}
 r11833@Kushana:  nickm | 2007-01-05 16:56:37 -0500
 Note some unimplementedness in control-spec.txt


svn:r9279
2007-01-06 05:42:31 +00:00
Roger Dingledine
7cd0495bf6 i like this 0.1.2.5-alpha changelog better
svn:r9275
2007-01-06 05:14:57 +00:00
Nick Mathewson
135aed5670 r11850@Kushana: nickm | 2007-01-05 17:12:08 -0500
Look in netinet/in6.h header when looking for struct in6_addr. (Issue found by saeftl.)


svn:r9272
2007-01-05 22:12:15 +00:00
Roger Dingledine
7b88380690 Avoid a double-free when parsing malformed DirServer lines.
svn:r9264
2007-01-05 01:12:10 +00:00
Roger Dingledine
5e89bc9b4b fix a bug i introduced in r9249; and more cleanups.
svn:r9263
2007-01-04 09:12:23 +00:00
Roger Dingledine
da2ff14839 Set orport= for 4 of the 5 dir authorities; Fix getinfo ns/all; Fix seg
fault when starting a server without a fingerprint file present.


svn:r9261
2007-01-04 05:41:24 +00:00
Roger Dingledine
50f0e36094 man page entries for TunnelDirConns and PreferTunneledDirConns
and add a todo item for nick in case he gets bored :)


svn:r9260
2007-01-04 04:35:18 +00:00
Nick Mathewson
2963d4acc2 r11820@Kushana: nickm | 2007-01-03 14:54:05 -0500
Add (and specify) a BadDirectory flag to networkstatuses, so authorities can tell clients that some caches are broken.  Also, implement an as-yet-unused function to estimate how many bytes will be sent on a directory connection.


svn:r9255
2007-01-03 19:58:00 +00:00
Roger Dingledine
9545bbf57f - When the user uses bad syntax in the Log config line, stop
suggesting other bad syntax as a replacement.


svn:r9247
2007-01-03 03:56:17 +00:00
Roger Dingledine
7396b8eecf interim tweaks
svn:r9246
2007-01-03 03:45:53 +00:00
Nick Mathewson
cbdd21cbf5 r11799@Kushana: nickm | 2007-01-02 16:38:34 -0500
Simplify and remove most of dirserv_orconn_tls_cone 


svn:r9243
2007-01-02 21:47:21 +00:00
Nick Mathewson
7ee99ba342 r11759@Kushana: nickm | 2006-12-29 15:21:14 -0500
Actually, handle_getinfo_helper supports 552 results just fine: just leave *answer unset.


svn:r9217
2006-12-29 20:49:47 +00:00
Nick Mathewson
0e172d9f6e r11745@Kushana: nickm | 2006-12-29 00:00:28 -0500
Close any directory connection on which we have received 10MB or more of data.  This prevents a malicious directory cache from running us out of memory by spooling an infinite amount of data.  (Not a terribly good attack, but hey, every one helps.)


svn:r9210
2006-12-29 05:07:25 +00:00
Nick Mathewson
361998d0f3 r11741@Kushana: nickm | 2006-12-28 22:41:29 -0500
Count TLS bytes accurately: previously, we counted only the number of bytes read or transmitted via tls, not the number of extra bytes used to do so.  This has been a lonstanding wart.  The fix "Works for me".


svn:r9207
2006-12-29 03:42:46 +00:00
Nick Mathewson
0bbbf98be4 r11727@Kushana: nickm | 2006-12-28 16:27:17 -0500
If we only have a single nameserver, raise the threshold to decide that the nameserver is dead.  (Another fumbling attempt to do something about bug 326.)


svn:r9203
2006-12-28 21:29:37 +00:00
Nick Mathewson
460a476efa r11725@Kushana: nickm | 2006-12-28 14:44:56 -0500
Partial solution to 326: downgrade single-nameserver failures to INFO.


svn:r9201
2006-12-28 21:29:26 +00:00
Nick Mathewson
d9f1f3533d r11724@Kushana: nickm | 2006-12-28 14:22:35 -0500
Refactor and unify my-ip-addr-changed logic.  Make change in IP address or in nameservers reset and relaunch DNS hijacking tests.


svn:r9200
2006-12-28 21:29:20 +00:00
Nick Mathewson
e5f5b96ca6 r11723@Kushana: nickm | 2006-12-28 13:52:48 -0500
Fix bug 364: check for whether popular hostnames (curently google, yahoo, mit, and slashdot) are getting wildcarded.  If they are, we are probably behind a DNS server that is useless: change our exit policy to reject *:*.


svn:r9199
2006-12-28 21:29:11 +00:00
Nick Mathewson
e631b0a56f r11719@Kushana: nickm | 2006-12-26 17:41:09 -0500
Add SOCKS5 and reverse lookup support to C verseion of tor-resolve


svn:r9195
2006-12-26 22:41:49 +00:00
Nick Mathewson
1df04d70f7 r11718@Kushana: nickm | 2006-12-26 16:57:44 -0500
Add client-side caching for reverse DNS.


svn:r9194
2006-12-26 22:41:43 +00:00
Nick Mathewson
58ae3cd648 r11713@Kushana: nickm | 2006-12-24 22:42:08 -0500
Better handling of internal addresses wrt X-Your-Address-Is (never believe them; never provide them.) Also, report something useful for X-Your-Address-Is with one-hop tunneled connections.


svn:r9191
2006-12-25 03:42:38 +00:00
Nick Mathewson
3ab84c5f48 r11711@Kushana: nickm | 2006-12-24 21:42:57 -0500
Stop counting 503s against the total number of failures allowed for a download.


svn:r9190
2006-12-25 02:47:37 +00:00
Nick Mathewson
bae366eff0 r11702@Kushana: nickm | 2006-12-24 01:31:59 -0500
Patch from Edmanm, slightly modified.  Original change list:
   - Support running the Tor service with a torrc not in the
     same directory as tor.exe (Bug #356) and default to using the torrc
     located in the %appdata%\Tor\ of the user who installed the service
   - Removed the supposedly misleading error message mentioned in Bug #294
   - Fixed some CloseHandle()s that should've been CloseServiceHandle()s
   - Fixed some nt_service_foo() return values to be consistent
   - Resolved some nt_service_foo() DOCDOCs
   - Fixed one trivial typo that I happened to randomly notice
 
 Changes:
   - Make more comments into "imperative" house style.
   - Remove special handling for "-f"; only use --options.
   - Quote all options.
   - Clean up whitespace
 


svn:r9185
2006-12-24 06:32:24 +00:00
Nick Mathewson
2e538d9918 r11694@Kushana: nickm | 2006-12-23 23:09:20 -0500
Add a version entry to networkstatus documents; have this entry get parsed and used to calculate whether begin_dir is supported.


svn:r9181
2006-12-24 04:09:48 +00:00
Nick Mathewson
339384238c r11693@Kushana: nickm | 2006-12-23 22:42:11 -0500
Stop requiring the "opt" keyword before unrecognized directory items.


svn:r9180
2006-12-24 04:09:42 +00:00
Nick Mathewson
bf1014692f r11686@Kushana: nickm | 2006-12-23 22:05:57 -0500
More changes wrt unnecessary disk writes.


svn:r9176
2006-12-24 03:06:03 +00:00
Nick Mathewson
f3fd5d9032 r11680@Kushana: nickm | 2006-12-23 21:45:05 -0500
Remove code to look for keys in their old locations: we havent stored them there since 0.0.7.2.


svn:r9175
2006-12-24 02:45:53 +00:00
Nick Mathewson
bba5a3533f r11679@Kushana: nickm | 2006-12-23 21:38:41 -0500
Update the state file less often when AvoidDiskWrites is set.


svn:r9174
2006-12-24 02:45:46 +00:00
Nick Mathewson
9efdf6acc5 r11677@Kushana: nickm | 2006-12-23 21:17:54 -0500
Track when we get 503s from directory servers.  Do not use directory servers that have given us a 503 until either an hour has passed, or we are are out of non-busy servers.


svn:r9172
2006-12-24 02:45:35 +00:00
Nick Mathewson
4d948281c3 r11676@Kushana: nickm | 2006-12-23 20:42:17 -0500
Add an orport option to dirserver lines so that clients can tell where to connect to open an encrypted tunnel to a dirserver even before they have its descriptor.


svn:r9171
2006-12-24 02:45:27 +00:00
Nick Mathewson
ca516311e3 r11668@Kushana: nickm | 2006-12-20 22:22:53 -0500
Fix bug found by Keith Skinner: Treat malformed max-ports in address ranges as an error, and dont ignore errors with min-ports even if a max-port is present.


svn:r9168
2006-12-21 03:22:59 +00:00
Nick Mathewson
bf74dcd855 r11658@Kushana: nickm | 2006-12-20 15:58:44 -0500
Remove long-deprecated log and accounting options.


svn:r9164
2006-12-20 21:02:10 +00:00
Nick Mathewson
e9ad1650c0 r11651@Kushana: nickm | 2006-12-20 12:05:04 -0500
Add a maintainer script and a new make target "make check-docs" to get a quick dump of which options are undocumented where, and which documentation refers to nonexistent options.


svn:r9160
2006-12-20 17:05:48 +00:00
Roger Dingledine
00257212c7 Take out the '5 second' timeout from the connection retry
schedule. Now the first connect attempt will wait a full 10
seconds before switching to a new circuit. Perhaps this will help
a lot. Based on observations from Mike Perry.


svn:r9159
2006-12-20 09:43:28 +00:00
Roger Dingledine
858d7295e7 minor cleanups
svn:r9158
2006-12-20 09:25:58 +00:00
Nick Mathewson
baadf35c63 r11646@Kushana: nickm | 2006-12-19 14:40:38 -0500
Resolve bug 363: do not fall back to 127.0.0.1 when no nameservers are configured.  Instead, have the admin fix resolv.conf or configure a nameserver.


svn:r9157
2006-12-19 19:49:03 +00:00
Nick Mathewson
bf6702cf8b r11645@Kushana: nickm | 2006-12-19 14:22:36 -0500
Reject hostnames with invalid characters, in an attempt to catch more errors earlier.  Add an option to disable this behavior.


svn:r9156
2006-12-19 19:48:58 +00:00
Nick Mathewson
280692d65f r11643@Kushana: nickm | 2006-12-19 13:15:14 -0500
Stop recommmending exits as guards when the exit bandwidth is less than a third of the total bandwidth.


svn:r9154
2006-12-19 19:48:48 +00:00
Roger Dingledine
e66b6f0d50 Reject *:563 (NTTPS) in the default exit policy. We already reject
NNTP by default, so this seems like a sensible addition.
(suggested by bug 331)


svn:r9149
2006-12-18 08:25:34 +00:00
Nick Mathewson
952b34d610 r11627@Kushana: nickm | 2006-12-17 11:37:39 -0500
Remove an artificial upper bound on expected bandwidth.  More immediately, fix a VC warning.


svn:r9146
2006-12-17 16:37:46 +00:00
Nick Mathewson
31e09bb524 r11614@Kushana: nickm | 2006-12-15 17:39:42 -0500
Implement SETEVENTS GUARD.  Needs review and testing.


svn:r9137
2006-12-15 22:40:20 +00:00
Nick Mathewson
251f007b75 r11609@Kushana: nickm | 2006-12-15 16:42:21 -0500
Implement GETINFO fingerprint.


svn:r9136
2006-12-15 21:51:24 +00:00
Roger Dingledine
ce51a1d349 a changelog for write limiting. also, disable the "advertise dirport
until we reach our max bandwidth if it's tiny" trick now that we
do the bandwidth self-test on boot.


svn:r9134
2006-12-15 21:39:35 +00:00
Nick Mathewson
f53a269928 r11598@Kushana: nickm | 2006-12-15 15:59:00 -0500
Add internal documentation for a bunch of configuration options.  We should do something to keep this list, the canonical list, the tor.1 list, and the torrc.complete list in sync.


svn:r9133
2006-12-15 21:27:19 +00:00
Nick Mathewson
ab2fc7bd62 r11596@Kushana: nickm | 2006-12-15 10:57:12 -0500
Mark some TODO items as done.  Also, never include ourself in our family list.


svn:r9131
2006-12-15 21:26:15 +00:00
Roger Dingledine
bdf470c263 turn TunnelDirConns on by default.
that's what alpha releases are for, right?


svn:r9129
2006-12-15 21:06:21 +00:00
Roger Dingledine
019e39b2c0 forward-port the 0.1.1.26 changelog, plus some other entries
svn:r9128
2006-12-15 19:56:56 +00:00
Nick Mathewson
38bd6837db r11588@Kushana: nickm | 2006-12-15 02:04:32 -0500
Add a LastRotatedOnionKey variable to the state file, so we can rotate onion keys a week after they change even if we never stay up for a whole week at a time.  Should fix bug 368.


svn:r9120
2006-12-15 07:04:37 +00:00
Nick Mathewson
309c579452 r11581@Kushana: nickm | 2006-12-15 00:12:24 -0500
Make PIDFile work on windows.  Reported by Arrakis.


svn:r9116
2006-12-15 05:12:52 +00:00
Nick Mathewson
fdb10ff0b5 r11580@Kushana: nickm | 2006-12-15 00:09:46 -0500
Resolve bug 369: Check for integer underflow when printing "bytes left" accounting numbers.  Also fix a copyright date that I noticed while reading the bug.  Also make a buffer big enough that strings will not get truncated.  All are backport candidates.


svn:r9115
2006-12-15 05:12:42 +00:00
Roger Dingledine
97c83a4c09 finish enabling begin-dir cells. require one-hop circs for
socks-command-connect-dir streams, so we don't open new anonymity
questions.


svn:r9099
2006-12-13 02:49:45 +00:00
Roger Dingledine
1efd377428 Fix a bug in 0.1.2.2-alpha that prevented clients from asking
to resolve an address at a given exit node even when they ask for
it by name.


svn:r9095
2006-12-12 20:23:17 +00:00
Roger Dingledine
ee144598c8 minor cleanups and notes
svn:r9093
2006-12-12 20:19:54 +00:00
Nick Mathewson
494e45482a r11536@Kushana: nickm | 2006-12-11 22:48:21 -0500
Add ipv6 functionality to evdns.


svn:r9089
2006-12-12 03:48:46 +00:00
Nick Mathewson
66ae4dceb0 r11513@Kushana: nickm | 2006-12-11 21:44:25 -0500
Mark eventdns nameserver stuff done in TODO; add an understatement to the ChangeLog.


svn:r9088
2006-12-12 02:57:42 +00:00
Nick Mathewson
81be0ad1e5 r11486@Kushana: nickm | 2006-12-08 00:58:47 -0500
Fix a longstanding bug in eventdns related to timeouts:  The timeout count was never actually reset to 0.  Argh.  Now we reset it to zero after we get a successful request, or after we notice that a nameserver is back up, or after we decide the nameserver is down because of timeouts.  This may fix bug 326.


svn:r9054
2006-12-08 05:59:21 +00:00
Nick Mathewson
cf04e1e6e7 r11479@Kushana: nickm | 2006-12-07 23:38:54 -0500
Refactor GETINFO into a table-driven dispatch, as suggested by arma.  My brain hurts.


svn:r9052
2006-12-08 04:39:13 +00:00
Nick Mathewson
1567e13dc8 r11475@Kushana: nickm | 2006-12-07 20:49:21 -0500
Make GETINFO dir/status/... work even when we are not a directory.  Needs a little cleanup.  Closes bug 263.


svn:r9051
2006-12-08 01:50:02 +00:00
Nick Mathewson
b4a90ca8a3 r11469@Kushana: nickm | 2006-12-07 15:11:04 -0500
Round stored/transmitted values for bandwidth usage.  This might make some attacks work less well.  This might well be voodoo, but it gives me a warm fuzzy feeling.


svn:r9048
2006-12-07 20:11:36 +00:00
Nick Mathewson
7c79495137 r11468@Kushana: nickm | 2006-12-07 14:56:57 -0500
Revise logic used to flush state to disk. Now, we try to batch non-urgent changes so that we do not do too many writes, and we save very-non-urgent changes every once in a rare while, and we never save more than once per second.


svn:r9047
2006-12-07 20:11:30 +00:00
Nick Mathewson
6c8075d8a0 r11462@Kushana: nickm | 2006-12-07 13:42:21 -0500
Make bandwidth accounting information get stored to the state file as well as bw_accounting.  Read from the state file if it is more recent than bw_accounting, or if bw_accounting is not there.


svn:r9044
2006-12-07 18:57:37 +00:00
Nick Mathewson
63e4cfbeb6 r11461@Kushana: nickm | 2006-12-07 13:16:45 -0500
Change logging format of state file to only include non-default values.  Adjust clients to never store bandwidth history in the state file. (Possible backport candidate.)


svn:r9043
2006-12-07 18:57:29 +00:00
Nick Mathewson
26392fc75d r11458@Kushana: nickm | 2006-12-07 12:04:22 -0500
Fix bug 338: log verbose nicknames, not just keys, for intro points.  Also, suppress intro point name logging when SafeLogging is 1. (The security part is a possible backport candidate.)


svn:r9041
2006-12-07 17:04:44 +00:00
Nick Mathewson
02b3b04939 r11449@Kushana: nickm | 2006-12-07 09:40:50 -0500
Oops, forgot ChangeLog on last commit.  The commit was: Fix a couple of obvious bugs in tor_mmap_file on Windows: first, fix a boolean error when checking the return value of CreateFileMapping.  Second, CreateFileMapping is documented to return NULL on failure.


svn:r9036
2006-12-07 14:40:58 +00:00
Roger Dingledine
44c55dad23 Fix an assert failure when the directory authority sets
AuthDirRejectUnlisted and then receives a descriptor from an
unlisted router (reported by seeess).


svn:r9023
2006-12-04 18:54:01 +00:00
Nick Mathewson
a91c12f2e7 r9855@Kushana: nickm | 2006-12-04 00:55:09 -0500
Merge circuit_about_to_close_connection and connection_about_to_close_connection.


svn:r9021
2006-12-04 05:55:40 +00:00
Nick Mathewson
f90cd5bfc0 r9853@Kushana: nickm | 2006-12-04 00:02:03 -0500
Patch from Fabian Keil: Fix return statement in get_pf_socket()


svn:r9020
2006-12-04 05:09:09 +00:00
Roger Dingledine
5812a4096b weasel has a broken autoconf so he can't build it cleanly, but i
haven't heard problems from anybody else, so here we go.


svn:r9017
2006-12-03 16:48:01 +00:00
Roger Dingledine
c5b90daf86 cleanups, bump to 0.1.2.4-alpha
svn:r9015
2006-12-02 22:47:46 +00:00
Nick Mathewson
68142b18cd r9396@totoro: nickm | 2006-11-26 13:36:29 -0500
Fix router_new_address_suggestion() so it only changes last_guessed_ip() when it actually calls resolve_my_address(). (bug found by dev-girl)


svn:r8996
2006-11-26 18:36:51 +00:00
Nick Mathewson
858e939556 r9349@totoro: nickm | 2006-11-20 11:35:14 -0500
Apply cross.sh patch from Mike Mohr: rename ARCH_PREFIX to HOST_TRIPLET; work even when autogen.sh has not yet been run.


svn:r8973
2006-11-20 16:35:22 +00:00
Nick Mathewson
a667f2e514 r9567@Kushana: nickm | 2006-11-20 11:05:59 -0500
Fix leak in choose_good_exit_server_general()


svn:r8969
2006-11-20 16:06:09 +00:00
Nick Mathewson
e2abc727e5 r9561@Kushana: nickm | 2006-11-16 22:32:54 -0500
Tweaks to test-connection patch:  use ".noconnect" instead of ".test" (since there are lots of ways to test things).  Use a regular sequence of STREAM events (NEW followed by CLOSED) instead of a new event type.  Make the function that checks the address be static and use const and strcasecmpend properly.
 


svn:r8959
2006-11-17 03:34:58 +00:00
Nick Mathewson
1913cb915e r9308@totoro: nickm | 2006-11-13 18:41:23 -0500
Add support for (Free?)BSD's natd, which was an old way to let you
 have your firewall automatically redirect traffic.  (Original patch
 from Zajcev Evgeny, updated for 0.1.2.x by tup.)
 


svn:r8946
2006-11-14 00:06:31 +00:00
Nick Mathewson
fa6fbbc150 r9307@totoro: nickm | 2006-11-13 18:25:56 -0500
Patch from tup based on patch from Zajcev Evgeny: Make TransPort work even when the server wants to talk before the client.


svn:r8945
2006-11-14 00:06:02 +00:00
Roger Dingledine
3d6b97399f Avoid assert failure when our cached-routers file is empty on startup.
(reported by revstray)


svn:r8928
2006-11-12 07:09:22 +00:00
Roger Dingledine
4a80643825 forward-port matt's changes. plus note that tor-mingw.nsi.in is
what we're using these days, and stop shipping the old one to
be sure.


svn:r8912
2006-11-06 06:43:21 +00:00
Roger Dingledine
20cad22bb1 forward-port the 0.1.1.25 changelog
svn:r8909
2006-11-06 03:51:57 +00:00
Nick Mathewson
0ad2fd1129 r9467@Kushana: nickm | 2006-11-01 18:51:16 -0500
Allow larger amounts of drift in uptime to be "cosmetic".


svn:r8891
2006-11-01 23:53:15 +00:00
Nick Mathewson
9e13a6f31c r9457@Kushana: nickm | 2006-10-31 18:35:17 -0500
Do not warn when an OR gives us a new circuit end reason. (This will prevent bug 351 from recurring.)


svn:r8887
2006-10-31 23:35:50 +00:00
Nick Mathewson
1bf1f9d2fc r9449@Kushana: nickm | 2006-10-31 00:12:02 -0500
Dump breakdown of PK operations when we get a USR2 signal.  This should help us figure out of we are doing some of them for stupid reasons.


svn:r8881
2006-10-31 19:17:07 +00:00
Roger Dingledine
bc6eadd20e clean changelog, bump to 0.1.2.3-alpha
svn:r8860
2006-10-30 02:55:17 +00:00
Roger Dingledine
8a781f7f34 general cleanups from looking through or-cvs
svn:r8855
2006-10-29 07:41:25 +00:00
Nick Mathewson
5b72dc77ad r9395@Kushana: nickm | 2006-10-26 22:06:51 -0400
Fix Bug 349: Have GETINFO network-status return even old routers, and use long nicknames where appropriate.  Document this.


svn:r8834
2006-10-27 02:07:04 +00:00
Nick Mathewson
3fbb292bff r9389@Kushana: nickm | 2006-10-25 17:46:16 -0400
Add a CLEARDNSCACHE signal to clear the client-side DNS cache.


svn:r8829
2006-10-25 21:46:21 +00:00
Nick Mathewson
5c670a186c r9386@Kushana: nickm | 2006-10-25 17:35:38 -0400
Resolve bug 347: translate v0 controller signal numbers into internal signal numbers; leave v1 signal numbers alone.


svn:r8828
2006-10-25 21:39:42 +00:00
Nick Mathewson
6c7bf2f830 r9364@Kushana: nickm | 2006-10-23 22:57:48 -0400
Remove reference to NS_FULL event; add two GETINFO targets.


svn:r8812
2006-10-24 02:58:03 +00:00
Nick Mathewson
42bab1c6d3 r9318@Kushana: nickm | 2006-10-22 15:22:57 -0400
Let directory authorities set the BadExit flag if they like.  Also, refactor directory authority code so we can believe multiple things about a single router, and do fewer linear searches.


svn:r8794
2006-10-23 03:48:42 +00:00
Roger Dingledine
7bda254bda and a changelog entry to go with it
svn:r8790
2006-10-22 08:10:44 +00:00
Nick Mathewson
01bc03eff4 r9312@Kushana: nickm | 2006-10-20 14:45:22 -0400
Add an event type to tell the controller when our opinion of a router status has changed.  I might have missed some cases here.


svn:r8781
2006-10-20 21:04:39 +00:00
Roger Dingledine
0459db2c0d checkpoint some changes as i read diffs
svn:r8780
2006-10-20 19:11:12 +00:00
Nick Mathewson
b27cb38dee r9307@Kushana: nickm | 2006-10-20 13:53:54 -0400
Have connection_about_to_close use an end_reason field in edge_connection_t to tell what reason to tell the controller for closing the stream.  Set end_reason in connection_edge_end, connection_mark_unattached_ap, and everwhere we set edge_has_sent_end.  Add a changelog entry.


svn:r8779
2006-10-20 17:54:48 +00:00
Nick Mathewson
e5f064c983 r9290@31-35-219: nickm | 2006-10-20 10:32:33 -0400
Add a GETINFO target so controllers can ask Tor for the current state of a router.  (Results given in networkstatus format.)


svn:r8772
2006-10-20 14:58:29 +00:00
Nick Mathewson
136ed33071 r9289@31-35-219: nickm | 2006-10-20 09:43:22 -0400
Fix longstanding bug in connection_exit_begin_conn():  Since connection_edge_end() exits when the connection is unattached, we were never sending RELAY_END cells back for failed RELAY_BEGIN attempts. Fix this.  This might make clients that were otherwise timing out either fail faster or retry faster, which is good news for us.


svn:r8770
2006-10-20 14:57:46 +00:00
Nick Mathewson
974bdee183 r9277@Kushana: nickm | 2006-10-19 19:03:05 -0400
Add pragma:no-cache and expires headers so that directory lookups can work better in the presence of caching HTTP proxies. (I would have used Cache-Control, but that is an HTTP/1.1 thing.)  All timeouts are currently wild-assed guesses.


svn:r8765
2006-10-19 23:05:34 +00:00
Nick Mathewson
7551c44a53 r9274@Kushana: nickm | 2006-10-19 16:16:58 -0400
Add unit tests for tor_mmap_file(); make tor_mmap_t.size always be the size of the file (not the size of the mapping); add an extra argument to read_file_to_str() so it can return the size of the result string.


svn:r8762
2006-10-19 23:05:02 +00:00
Nick Mathewson
126a3f699a r9273@Kushana: nickm | 2006-10-19 15:43:39 -0400
Never discard a descriptor for being too old until either it is recommended by no authorities, or until we download a better (more recent and recommended) one for the same router. This will eventually make it possible for servers to publish less often.


svn:r8761
2006-10-19 23:04:56 +00:00
Nick Mathewson
bfdb93d8bd r9272@Kushana: nickm | 2006-10-19 12:52:37 -0400
Fix an XXX in handling destroy cells: when we get a destroy cell with reason FOO, do not tell the controller REASON=FOO.  Instead, say REASON=DESTROYED REMOTE_REASON=FOO. Suggested by a conversation with Mike Perry.


svn:r8760
2006-10-19 23:04:49 +00:00
Nick Mathewson
aa8e64648e r9114@Kushana: nickm | 2006-10-06 15:46:41 -0400
Move a changelog item; add a TODO.


svn:r8758
2006-10-19 23:04:29 +00:00
Nick Mathewson
5b8fd1d7f9 svn:r8757 2006-10-19 23:03:36 +00:00
Nick Mathewson
4443934702 r9091@totoro: nickm | 2006-10-19 11:45:28 -0400
Change to BadExit logic: Let authorities set an "I list bad exits" flag.  Consider an exit bad if it is listed as bad by more than half of *those* authorities.  This gives us a better migration path.


svn:r8756
2006-10-19 15:45:48 +00:00
Nick Mathewson
3ef3fcae55 r9081@totoro: nickm | 2006-10-19 11:00:51 -0400
Try to detect windows properly when cross-compiling


svn:r8755
2006-10-19 15:02:06 +00:00
Nick Mathewson
562af5fbc2 r9079@totoro: nickm | 2006-10-19 10:44:48 -0400
Use corect macro to detect cygwin builds (patch from Pei Hanru)


svn:r8753
2006-10-19 15:01:54 +00:00
Nick Mathewson
b713b370bf r9060@totoro: nickm | 2006-10-17 11:12:48 -0400
Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.)


svn:r8739
2006-10-17 15:20:00 +00:00
Nick Mathewson
eca28f24f5 r9004@totoro: nickm | 2006-10-11 18:05:24 -0400
Add client support for a 'BadExit' flag, so authorities can say "Server X is a poor choise for your nytimes.com connections, as it seems to direct them to HoorayForMao.com or (more likely) WouldYouLikeToBuyTheseFineEncyclopedias.com"
 


svn:r8690
2006-10-11 22:06:01 +00:00
Roger Dingledine
552d828def - Stop triggering asserts if the controller tries to extend hidden
service circuits.
(also found by mwenge)


svn:r8682
2006-10-09 22:26:21 +00:00
Roger Dingledine
655859f76b When reporting verbose nicknames in entry_guards_getinfo(), avoid
printing a duplicate "$" in the keys we send. (Reported by mwenge)


svn:r8681
2006-10-09 21:26:34 +00:00
Roger Dingledine
86263acf95 Security bugfixes:
When the user sends a NEWNYM signal, clear the client-side DNS
  cache too. Otherwise we continue to act on previous information.


svn:r8679
2006-10-09 21:11:50 +00:00
Nick Mathewson
bff9844b9f r9114@directionless-main: nickm | 2006-10-06 15:46:41 -0400
Move a changelog item; add a TODO.


svn:r8676
2006-10-09 19:37:07 +00:00
Nick Mathewson
303cfe96ac svn:r8675 2006-10-09 19:35:51 +00:00
Nick Mathewson
69e0843f7c r8983@totoro: nickm | 2006-10-09 14:19:18 -0400
Add missing ! to code to generate short/verbose nicknames for orconn events.


svn:r8674
2006-10-09 18:19:32 +00:00
Nick Mathewson
26283e69ba r8973@totoro: nickm | 2006-10-09 11:45:47 -0400
Touch up last patch (to add REASON to CIRC events): make some reasons
 more sensible, send reasons only to controllers that have enabled
 extended events, and clean up whitespace.
 
 


svn:r8672
2006-10-09 15:47:50 +00:00
Nick Mathewson
b76fd968b4 r8972@totoro: nickm | 2006-10-09 10:36:22 -0400
Patch from Mike Perry: add a REASON field to closed and failed circ events.


svn:r8671
2006-10-09 15:47:27 +00:00
Nick Mathewson
829bf4dcd0 r8970@totoro: nickm | 2006-10-09 10:12:53 -0400
Win32 patch from Matt Edman: fix compilation bugs by casting to int; defining SSIZE_T; defining USE_TWOS_COMPLEMENT in windows orconfig.h; and using the proper names for win32 functions on GetProcAddress. Also fixes bug 295.


svn:r8669
2006-10-09 15:46:21 +00:00
Nick Mathewson
c341255034 r8956@totoro: nickm | 2006-10-08 22:25:27 -0400
Fix bug with handling EVENT_NEW_DESC with verbose nicknames enabled.  Also, check for tor_vsnprintf failure in controller messages.


svn:r8663
2006-10-09 02:35:43 +00:00
Roger Dingledine
f0d7a6716f In the hidden service example in torrc.sample, stop recommending
esoteric and discouraged hidden service options.


svn:r8648
2006-10-08 07:45:16 +00:00
Nick Mathewson
ea00437f74 r8933@totoro: nickm | 2006-10-07 20:33:16 -0400
whitespace fixes; add changelog for last commit.


svn:r8644
2006-10-08 00:33:43 +00:00
Roger Dingledine
9a3d568e44 forward-port 0.1.1.24 changelog
svn:r8640
2006-10-07 19:39:36 +00:00
Roger Dingledine
9fb98b269c finish poking and prodding. i'm all happy now.
svn:r8633
2006-10-07 09:13:30 +00:00
Roger Dingledine
f2bd0e2f16 more minor cleanups
svn:r8630
2006-10-07 06:28:50 +00:00
Roger Dingledine
06e5b2283c minor cleanups
svn:r8622
2006-10-07 00:50:39 +00:00
Nick Mathewson
09a2ec0192 r9107@Kushana: nickm | 2006-10-06 02:14:02 -0400
When eventdns is enabled, we can allow machines with thread-unsafe resolver functions to build multithreaded anyway.


svn:r8608
2006-10-06 15:29:33 +00:00
Roger Dingledine
d1b9de222e cleanups, closer to a changelog
svn:r8606
2006-10-06 07:50:57 +00:00
Roger Dingledine
baf208d7b3 bugfix: When testing reachability of our dirport, don't launch a new
test if there's already one in progress.


svn:r8604
2006-10-06 04:02:27 +00:00
Nick Mathewson
e8fa65e5f3 r9105@Kushana: nickm | 2006-10-05 23:39:30 -0400
Oops; document last patches in changelog


svn:r8603
2006-10-06 03:39:38 +00:00
Roger Dingledine
64b5fd3194 checkpoint some cleanups
svn:r8599
2006-10-05 08:23:21 +00:00
Nick Mathewson
3e65ebbb52 r8863@totoro: nickm | 2006-10-03 14:56:44 -0400
ChangeLog entry forr verbose_names controller shenanigans


svn:r8594
2006-10-03 19:00:55 +00:00
Nick Mathewson
ca0ebd0ba8 svn:r8587 2006-10-03 18:59:48 +00:00
Nick Mathewson
27dff6d1ab r8843@totoro: nickm | 2006-10-02 16:31:07 -0400
Forwardport changelog msg about v0 controller bug


svn:r8586
2006-10-03 18:59:44 +00:00
Nick Mathewson
4de9f45d6f r8850@totoro: nickm | 2006-10-02 17:21:11 -0400
Make TrackExitHosts case-insensitive, and fix the behavior of .suffix TrackExitHosts items to avoid matching in the middle of an address. (Resolves an XXXX)


svn:r8579
2006-10-02 22:13:37 +00:00
Nick Mathewson
bff83b666c r8846@totoro: nickm | 2006-10-02 16:59:57 -0400
Move is_local_IP to config.c; have it check for same-/24; make it used only for reachability (not for banwidth, because that is probably not what we want). Fixes an XXX.


svn:r8578
2006-10-02 21:00:35 +00:00
Nick Mathewson
14f9b537d1 r8835@totoro: nickm | 2006-10-02 12:54:41 -0400
Improve error messages from AUTHENTICATE attempts to controller.


svn:r8574
2006-10-02 18:08:46 +00:00
Roger Dingledine
a3efc8e3d1 - V1 authorities should set "HSAuthoritativeDir 1" to continue being
hidden service authorities too.
- Just because your DirPort is open doesn't mean people should be
  able to remotely teach you about hidden service descriptors. Now
  only accept rendezvous posts if you've got HSAuthoritativeDir set.


svn:r8573
2006-10-01 22:16:55 +00:00
Roger Dingledine
a23ba84702 changelog cleanups
svn:r8572
2006-10-01 22:11:04 +00:00
Nick Mathewson
57ffca883d r8826@totoro: nickm | 2006-10-01 17:58:45 -0400
Disprefer exit nodes for entry, middle positions (fixes bug 200).  Also, switch to using a uint64_t to hold "total bandwidth for all nodes" under consideration; crypt_rand_int would have died at 2GB/s network capacity.


svn:r8571
2006-10-01 21:59:09 +00:00
Nick Mathewson
ce72a9914e r8822@totoro: nickm | 2006-10-01 16:24:22 -0400
Fix bug 303: reject attempts to use Tor as a one-hop proxy.


svn:r8566
2006-10-01 20:50:11 +00:00
Roger Dingledine
c705d46df0 and document that change
svn:r8560
2006-10-01 06:43:06 +00:00
Nick Mathewson
723ff1c93d r8800@totoro: nickm | 2006-09-29 23:10:49 -0400
Resolve bug 336: When displaying circuit paths with non-named routers, use their digests, not their nicknames.


svn:r8548
2006-09-30 03:11:13 +00:00
Nick Mathewson
b21e656eaf r9007@Kushana: nickm | 2006-09-29 13:17:32 -0400
Make eventdns give strings for DNS errors, not just error numbers.


svn:r8535
2006-09-29 18:13:33 +00:00
Nick Mathewson
05604c60d4 r9006@Kushana: nickm | 2006-09-29 10:48:23 -0400
Omit function names from NOTICE, WARN and ERR messages unless they are in LD_BUG.


svn:r8534
2006-09-29 18:13:29 +00:00
Nick Mathewson
0335bd51d3 r9005@Kushana: nickm | 2006-09-29 10:37:55 -0400
Implement DESCCHANGED event to tell controller when our router descriptor changes.


svn:r8533
2006-09-29 18:13:25 +00:00
Nick Mathewson
8992bf6204 r8776@totoro: nickm | 2006-09-29 00:50:46 -0400
Reserve the nickname "Unnamed" for routers that can't pick a hostname; any
 router can call itself Unnamed; directory servers will never allocate Unnamed
 to any particular router; clients won't believe that any router is the
 canonical Unnamed.
 


svn:r8529
2006-09-29 04:51:28 +00:00
Nick Mathewson
9dbfb91f17 r8997@Kushana: nickm | 2006-09-28 23:40:22 -0400
[Needs review.] Add a BEGIN_DIR relay cell type for an easier
 in-protocol way to connect to directory servers through Tor.
 Previously, clients could only connect to director servers over Tor
 from exit nodes, but couldn't get directory information anonymously
 from a non-exit cache without getting a directory server involved.
 
 This needs testing, and needs client-side code to actually exercise it.
 


svn:r8527
2006-09-29 03:50:11 +00:00
Nick Mathewson
907fc6c73e r8977@Kushana: nickm | 2006-09-28 19:56:41 -0400
Make "is a v1 authority", "is a v2 authority", and "is a hidden service authority" into separate flags so we can eventually migrate more trust away from moria.


svn:r8523
2006-09-28 23:57:59 +00:00
Nick Mathewson
9988112c87 r8973@Kushana: nickm | 2006-09-28 16:53:19 -0400
Refactor entry guard status logic a lot; allow more factors [like not
 having a Guard flag or being listed in ExcludeNodes] to render a guard
 "unlisted" (now called "unusable"); track guard down status (now
 called "unreachable") separately from is_running.


svn:r8519
2006-09-28 23:57:44 +00:00
Nick Mathewson
49ad1eefa1 Add an EnforceDistinctSubnets option so that clients who know what they are doing (mainly people with private testing networks) can disable our same-/16 detection.
svn:r8504
2006-09-25 22:12:54 +00:00
Nick Mathewson
0f8491a254 Backport candidate: remove dangerous free(0) on hashtable init
svn:r8499
2006-09-25 16:06:09 +00:00
Roger Dingledine
ad430b9561 checkpoint changelog and general polishing
svn:r8497
2006-09-25 05:59:13 +00:00
Nick Mathewson
b1ad605780 Build correctly for use on OS X platforms with case-sensitive filesystems
svn:r8487
2006-09-24 21:45:02 +00:00
Nick Mathewson
d3af1f2189 Backport candidate: Fix a long-standing server-side DNS bug. When a
client asks us to resolve (not connect to) an address, and we have a
cached answer, give them the cached answer.  Previously, we would give
them no answer at all.



svn:r8478
2006-09-24 17:05:00 +00:00
Nick Mathewson
da7f9d5a33 r8911@Kushana: nickm | 2006-09-22 12:24:52 -0400
Make exitlist only output each result line once.


svn:r8466
2006-09-22 20:20:35 +00:00
Nick Mathewson
4218f09820 r8910@Kushana: nickm | 2006-09-22 12:14:05 -0400
Instead of just checking known-invalid addresses for DNS hijacking, we
 now check randomly generated addresses, and if too many of them map to
 the same IP, we assume that IP is the destination of a DNS hijack
 attempt.
 
 A little bird tells me that some DNS hijackers think that declining to
 give an A record for RFC2606 addresses (like .invalid and .example)
 makes them more standards compliant.  Standardswise, this is like an
 illicit brothel making sure that nobody has pulled the tags off the
 mattresss, but that doesn't get us out of working around it.
 


svn:r8465
2006-09-22 20:20:26 +00:00
Nick Mathewson
213658f117 r8894@Kushana: nickm | 2006-09-21 18:30:42 -0400
Specify and implement SOCKS5 interface for reverse hostname lookup.


svn:r8451
2006-09-22 00:43:55 +00:00
Nick Mathewson
4f13cb82fd r8881@Kushana: nickm | 2006-09-21 17:27:59 -0400
Allow resolve requests to non-exits when they are specifically requested (via resolve foo.bar.exit).


svn:r8446
2006-09-21 21:49:36 +00:00
Nick Mathewson
6a1746f98f r8877@Kushana: nickm | 2006-09-21 17:12:33 -0400
Consider non-exit servers unsuitable for RESOLVE commands.


svn:r8442
2006-09-21 21:48:42 +00:00
Nick Mathewson
e4a9b4de4e r8875@Kushana: nickm | 2006-09-21 16:46:28 -0400
Resolve bug 330: detect ISPs that want to hijack failing DNS requests and basically domain-squat the entire internet.


svn:r8440
2006-09-21 21:48:22 +00:00
Nick Mathewson
04bec67574 r8874@Kushana: nickm | 2006-09-21 15:22:27 -0400
Rename and document SearchDomains and ResolvConf options; warn if ServerDNSResolvConfFile is given but eventdns isnt enabled.


svn:r8439
2006-09-21 21:48:16 +00:00
Nick Mathewson
083e9c2b59 r8873@Kushana: nickm | 2006-09-21 14:38:22 -0400
Fix a bug: Remember, each call to escaped() replaces the value returned from the last call to escaped().


svn:r8438
2006-09-21 21:48:11 +00:00
Nick Mathewson
a942441615 r8872@Kushana: nickm | 2006-09-21 14:00:20 -0400
Implement server-side reverse DNS using eventdns.  Add an option to routerdescs so we can tell which servers have eventdns enabled.


svn:r8437
2006-09-21 21:48:06 +00:00
Nick Mathewson
b2cc52fa02 Speed up eat_whitespace by a lot.
svn:r8434
2006-09-19 23:55:35 +00:00
Nick Mathewson
6b716fdfb9 NEEDS REVIEW. Act on previous comment, and handle named servers differently: now, we allow multiple servers with the same name in the routerlist even if that name is reserved, but we check whether names are reserved when we try to look up routers by nickname. This is a minor security fix. This makes router_add_to_routerlist O(1). This is a backport candidate.
svn:r8433
2006-09-19 23:48:14 +00:00
Nick Mathewson
5ebb949c9f Stop searching routerlist for routers with the same identity as other routers (on router insert): we already have a map for that. (We need to add an index field to routerinfo_t so we can figure out which point in the routerlist to replace.) Also, add a comment to routerlist.c; arma, please advise?
svn:r8432
2006-09-19 23:18:30 +00:00
Nick Mathewson
2d4950c837 Malloc and friends are critical-path: Thus, add an it-wont-happen branch prediction for NULL returns, and skip the malloc(0) check on platforms where malloc(0) returns a pointer.
svn:r8431
2006-09-19 22:36:48 +00:00
Nick Mathewson
7b0ec744bc Switch routerlist.c to using memcmp on digests rather than crypto_pk_cmp_keys(); speed up find_whitespace a lot (8x for me) by using a switch statement. This should speed parsing a lot of routers at once by a lot.
svn:r8430
2006-09-19 22:20:09 +00:00
Roger Dingledine
e744117d4d turn eventdns off by default until we can get some more useful
log messages into it. no use learning that it's broken without
being able to learn what is broken too.


svn:r8245
2006-08-27 07:26:00 +00:00
Roger Dingledine
8cd6e0c0a1 clean up the 0.1.2.1-alpha changelog
svn:r8240
2006-08-27 06:55:48 +00:00
Roger Dingledine
628089b1f8 checkpoint in-progress changelog notes
svn:r7054
2006-08-14 10:16:42 +00:00
Roger Dingledine
8112829a9b forward-port the 0.1.1.23 changelog.
svn:r6946
2006-07-30 05:36:17 +00:00
Roger Dingledine
dad1e27440 forward-port the 0.1.1.22 changelog, minus the line about
the osx uninstaller.


svn:r6738
2006-07-06 16:19:00 +00:00
Roger Dingledine
0b91a2bab9 forward-port the 0.1.1.21 changelog.
svn:r6600
2006-06-11 01:42:21 +00:00
Roger Dingledine
2df426d1c1 interim changelog for 0.1.2.1-alpha
svn:r6599
2006-06-11 01:41:30 +00:00
Roger Dingledine
614bb7d7b5 final changelog for 0.1.1.20. it is done.
svn:r6479
2006-05-23 17:00:49 +00:00
Roger Dingledine
3ff02556fc continue messing with the changelog. it's getting better now.
svn:r6468
2006-05-23 06:20:35 +00:00
Roger Dingledine
7263e6a0cf my current notes on a 0.1.1.20 changelog
svn:r6459
2006-05-22 20:00:12 +00:00
Roger Dingledine
ec22b6346b remove all the interim changelog stuff for 0.1.1.x
svn:r6458
2006-05-22 19:56:32 +00:00
Roger Dingledine
f1dad00bd3 forward-port the changelog
svn:r6433
2006-05-03 18:32:15 +00:00
Roger Dingledine
327e1e6944 a last item on the changelog
svn:r6350
2006-04-10 05:55:53 +00:00
Roger Dingledine
901ff3e1ce first cut of a changelog for 0.1.1.18-rc
svn:r6334
2006-04-09 01:30:47 +00:00
Roger Dingledine
837a0fcbdb while we're fixing wording, ...
svn:r6260
2006-03-28 07:43:10 +00:00
Roger Dingledine
e715946508 change wording in changelog
svn:r6259
2006-03-28 07:40:05 +00:00
Roger Dingledine
0a11032f59 a final changelog for 0.1.1.17-rc
svn:r6258
2006-03-28 07:34:44 +00:00
Roger Dingledine
90a40e0e66 another interim changelog for 0.1.1.17-rc
svn:r6253
2006-03-27 07:39:27 +00:00
Roger Dingledine
eee9db49a7 interim 0.1.1.17-rc changelog
svn:r6222
2006-03-22 03:07:49 +00:00
Roger Dingledine
9895df3ab4 first cut of a changelog for 0.1.1.16-rc
svn:r6194
2006-03-19 04:00:23 +00:00
Roger Dingledine
44ca1a997d bump to 0.1.1.15-rc
svn:r6126
2006-03-11 18:44:11 +00:00
Roger Dingledine
40bd6467a5 first cut of a 0.1.1.15-rc changelog
svn:r6108
2006-03-09 01:42:42 +00:00
Roger Dingledine
cf4809258e forward-port the 0.1.0.17 changelog
svn:r6096
2006-03-08 06:56:28 +00:00
Roger Dingledine
722fcb97e8 last changes in 0.1.1.14-alpha
svn:r6057
2006-02-21 03:46:49 +00:00
Roger Dingledine
69af25ecbf an interim changelog for 0.1.1.14-alpha
svn:r6042
2006-02-19 08:33:43 +00:00
Roger Dingledine
b274857c61 and fix typo in changelog
svn:r5977
2006-02-12 00:15:32 +00:00
Roger Dingledine
5a306077a7 clean up some formatting in the changelog
svn:r5959
2006-02-11 00:15:35 +00:00
Roger Dingledine
ef03d35c7c first cut of a changelog for 0.1.1.13-alpha
svn:r5948
2006-02-09 05:20:26 +00:00
Peter Palfrader
20183cf559 Lasse and Paul's attack has a CVE: CVE-2006-0414
svn:r5868
2006-01-25 20:51:04 +00:00
Peter Palfrader
17e0d9f238 The reading-arbitrary-memory bug in June had a CVE too
svn:r5866
2006-01-25 12:26:21 +00:00
Peter Palfrader
ef8787b7ee Add CVE number for the crypto handshake bug from August to changelogs
svn:r5865
2006-01-25 12:19:23 +00:00
Roger Dingledine
e27bf78f7a changelog for 0.1.1.12-alpha
svn:r5810
2006-01-11 23:07:04 +00:00
Roger Dingledine
a8bb654c2b bump to 0.1.1.11-alpha-cvs
svn:r5799
2006-01-11 06:19:00 +00:00
Roger Dingledine
4f7749dd97 and give the changelog a date
svn:r5797
2006-01-11 04:36:13 +00:00
Roger Dingledine
f9f42deb7c more changelog futzing
svn:r5796
2006-01-11 04:35:56 +00:00
Roger Dingledine
14b7011fb6 checkpoint the 0.1.1.11-alpha changelog: getting closer!
svn:r5786
2006-01-11 00:59:15 +00:00
Roger Dingledine
906a2c8ef0 bump to 0.1.1.11-alpha in preparation for release
svn:r5783
2006-01-10 23:16:36 +00:00
Roger Dingledine
ffeebd99fa checkpoint some changelog items for 0.1.1.11-alpha
svn:r5729
2006-01-04 08:31:29 +00:00
Roger Dingledine
6b63d9f706 forward-port the 0.1.0.16 changelog
svn:r5712
2006-01-03 05:32:21 +00:00
Roger Dingledine
ebacd3be0c the other rest of the 0.1.1.10-alpha changelog.
svn:r5556
2005-12-11 07:20:50 +00:00
Roger Dingledine
0e54b9a430 put a date on the changelog
svn:r5555
2005-12-11 07:04:27 +00:00
Roger Dingledine
1c80077c22 the rest of the 0.1.1.10-alpha changelog
svn:r5554
2005-12-11 06:35:57 +00:00
Roger Dingledine
eaa864ed17 bump to 0.1.1.10-alpha
svn:r5553
2005-12-10 21:15:18 +00:00
Roger Dingledine
871d4c9971 first cut at a 0.1.1.10-alpha changelog
svn:r5519
2005-12-06 23:11:39 +00:00
Roger Dingledine
dfdd735902 commit a changelog tweak that i slipped in for the release
svn:r5419
2005-11-18 03:03:18 +00:00
Roger Dingledine
e5087382de correct the timestamp on the changelog
svn:r5385
2005-11-15 20:07:29 +00:00
Roger Dingledine
9d8aec0e92 last pieces of 0.1.1.9-alpha changelog
svn:r5373
2005-11-15 01:42:55 +00:00
Roger Dingledine
bf3e689eef cleanup and additions to 0.1.1.9-alpha changelog
svn:r5365
2005-11-13 05:26:59 +00:00
Roger Dingledine
1b009f345b first cut at a changelog for 0.1.1.9-alpha
svn:r5343
2005-11-01 06:49:24 +00:00
Roger Dingledine
69003566c0 a changelog for 0.1.1.8-alpha
svn:r5221
2005-10-07 20:14:28 +00:00
Roger Dingledine
5c11d23ab0 we forgot to forward-port the 0.1.0.15 changelog
svn:r5196
2005-10-05 11:21:39 +00:00
Roger Dingledine
12e10aeaf2 fix grammar in old changelog entry
svn:r5118
2005-09-23 08:27:34 +00:00
Roger Dingledine
9d3e67d739 update changelog with minor tweaks
svn:r5057
2005-09-14 14:50:52 +00:00
Roger Dingledine
48e2bbd4cb a changelog for 0.1.1.7-alpha
svn:r5048
2005-09-14 03:36:03 +00:00
Roger Dingledine
2ad3e4ff96 we estimated our release date wrong (ha)
svn:r4985
2005-09-10 02:54:35 +00:00
Roger Dingledine
eab048b7f3 add more items to the 0.1.1.6-alpha changelog
svn:r4980
2005-09-10 01:33:15 +00:00
Roger Dingledine
921c225f3d add to the 0.1.1.6-alpha changelog
svn:r4948
2005-09-08 21:05:49 +00:00
Roger Dingledine
d388047888 update changelog for 0.1.1.6-alpha
svn:r4812
2005-08-22 20:11:15 +00:00
Roger Dingledine
27a14335a7 draft changelog for 0.1.1.6-alpha
svn:r4801
2005-08-21 09:51:47 +00:00
Roger Dingledine
323b7a15ee and forward-port the 0.1.0.14 changelog
svn:r4734
2005-08-07 20:15:32 +00:00
Roger Dingledine
65b59cbd69 changelog for 0.1.1.5-alpha
svn:r4732
2005-08-07 20:14:37 +00:00
Roger Dingledine
9198c55c4b and another
svn:r4705
2005-08-04 23:05:11 +00:00
Roger Dingledine
1d3e63158e bump to 0.1.1.4-alpha in preparation for new release
svn:r4701
2005-08-04 22:45:54 +00:00
Roger Dingledine
ad70f96793 changelog for 0.1.1.3-alpha
svn:r4671
2005-07-25 09:11:03 +00:00
Roger Dingledine
b13a9e9070 forward-port the 0.1.0.12 changelog
svn:r4597
2005-07-18 19:32:35 +00:00
Roger Dingledine
1e600e2940 and here
svn:r4562
2005-07-14 22:39:01 +00:00
Roger Dingledine
869ca15c77 give us a changelog for 0.1.1.2-alpha
svn:r4556
2005-07-14 09:31:38 +00:00
Roger Dingledine
3bb756b93b forward-port the 0.1.0.11 stuff
svn:r4515
2005-07-01 02:01:21 +00:00
Roger Dingledine
0e97dd36e9 tweak the changelog
svn:r4504
2005-06-29 21:25:34 +00:00
Roger Dingledine
df56eea8f3 a changelog for 0.1.1.1-alpha
svn:r4502
2005-06-29 20:10:51 +00:00
Roger Dingledine
205aaf7693 oh, and fix the version number at the top
svn:r4422
2005-06-13 01:29:57 +00:00
Roger Dingledine
546b1f9aa6 integrate the 0.1.0.9-rc changelog into the 0.1.0.10 changelog
svn:r4421
2005-06-13 01:29:35 +00:00
Roger Dingledine
47fe49c2a0 forward-port the 0.1.0.9 changelog
svn:r4365
2005-06-09 04:06:52 +00:00
Roger Dingledine
3311611fd6 two more items to the changelog
svn:r4289
2005-05-23 06:59:01 +00:00
Roger Dingledine
e4908595ba a preliminary changelog for 0.1.0.8-rc
svn:r4285
2005-05-23 05:22:33 +00:00
Roger Dingledine
355a05158a complete the 0.1.0.7-rc changelog
svn:r4252
2005-05-17 04:07:15 +00:00
Roger Dingledine
85de62e9b9 the first part of a changelog for 0.1.0.7-rc
svn:r4236
2005-05-17 00:55:18 +00:00
Roger Dingledine
5837711b0a tweak the changelog
svn:r4226
2005-05-15 03:29:39 +00:00
Roger Dingledine
d63f7fde62 tweak changelog
svn:r4221
2005-05-15 01:53:27 +00:00
Roger Dingledine
58416f3127 fix changelog for new libevent version
svn:r4215
2005-05-15 00:56:06 +00:00
Roger Dingledine
60d9e8ce2b clean up changelog
svn:r4208
2005-05-14 06:31:20 +00:00
Roger Dingledine
c7aea09e24 first attempt at a 0.1.0.6-rc changelog
svn:r4207
2005-05-14 06:20:09 +00:00
Roger Dingledine
b341ced9b8 correct changelog
svn:r4158
2005-05-02 21:49:13 +00:00
Roger Dingledine
46b3c4e686 fix typos in changelog (too late now, but hey)
svn:r4146
2005-04-27 23:17:41 +00:00
Roger Dingledine
42d57317cd bump to 0.1.0.5-rc
svn:r4138
2005-04-27 19:30:32 +00:00
Roger Dingledine
bc4b7c7d7c a bigger changelog
svn:r4135
2005-04-27 04:41:29 +00:00
Roger Dingledine
d671092935 a changelog for 0.1.0.5-rc
svn:r4134
2005-04-27 04:36:32 +00:00
Roger Dingledine
0482606b88 changelog for 0.1.0.4-rc
svn:r4095
2005-04-23 18:31:00 +00:00
Roger Dingledine
02a4342434 add a changelog for 0.1.0.3-rc
svn:r4063
2005-04-08 06:16:38 +00:00
Roger Dingledine
0d9a739b3a add a changelog for 0.1.0.2-rc
svn:r3971
2005-04-01 16:29:52 +00:00
Roger Dingledine
5de85f54ba bump version to 0.1.0.2-rc
svn:r3969
2005-04-01 14:13:31 +00:00
Roger Dingledine
4f712d10cd forward-port 0.0.9.7 changelog
svn:r3953
2005-04-01 08:00:50 +00:00
Roger Dingledine
fddf560254 oops, get the version name right
svn:r3917
2005-03-29 02:45:07 +00:00
Roger Dingledine
b509b8a5ae clean up rc1 changelog
svn:r3916
2005-03-29 02:44:24 +00:00
Roger Dingledine
270f591e5f update changelog for the latest fixes
svn:r3908
2005-03-28 04:14:22 +00:00
Roger Dingledine
e203d47192 first cut of a 0.1.0.1-rc1 changelog
svn:r3881
2005-03-26 00:46:02 +00:00
Roger Dingledine
a8aff4390e forward-port the 0.0.9.5 changelog
svn:r3688
2005-02-24 22:38:33 +00:00
Roger Dingledine
cbb4803ec8 forward-port some fixes
svn:r3631
2005-02-17 01:12:50 +00:00
Roger Dingledine
06fb5cfec8 forward-port the changelog patch
svn:r3550
2005-02-04 02:23:16 +00:00
Roger Dingledine
a662883dc4 forward-port the changelog
svn:r3541
2005-02-03 23:55:49 +00:00
Roger Dingledine
32075fc78b forward-port the 0.0.9.3 changelog
svn:r3414
2005-01-22 07:21:15 +00:00
Roger Dingledine
cd796800d5 forward-port the 0.0.9.2 changelog
svn:r3287
2005-01-04 09:09:00 +00:00
Roger Dingledine
29cf8a0a45 move us to 0.0.9.1
svn:r3150
2004-12-15 19:51:35 +00:00
Roger Dingledine
c0cb824857 move us to 0.0.9
svn:r3139
2004-12-13 00:52:35 +00:00
Roger Dingledine
99ef8c1ddb make a changelog for 0.0.9
svn:r3131
2004-12-11 18:07:52 +00:00
Roger Dingledine
524a8bdc70 bump to 0.0.9rc7
svn:r3121
2004-12-08 01:14:56 +00:00
Roger Dingledine
d7dbfd3644 a preliminary changelog for rc7
svn:r3119
2004-12-07 23:42:32 +00:00
Roger Dingledine
4006246b9e bump us to 0.0.9rc6
svn:r3089
2004-12-06 06:27:39 +00:00
Roger Dingledine
e694268644 bump us to 0.0.9rc6-cvs
darn these bugs


svn:r3069
2004-12-04 00:36:34 +00:00
Roger Dingledine
6e9a91c382 ha ha, don't put dollar signs around Id unless you mean it
svn:r3057
2004-12-01 04:34:13 +00:00
Roger Dingledine
a3395e893f bump to 0.0.9rc5
svn:r3056
2004-12-01 04:32:51 +00:00
Roger Dingledine
9f45de16b0 a changelog for rc5
svn:r3045
2004-11-30 10:33:23 +00:00
Roger Dingledine
67dc7baa59 bump to 0.0.9rc4
svn:r3001
2004-11-28 06:44:08 +00:00
Roger Dingledine
d254aeb09e bump to 0.0.9rc3
svn:r2984
2004-11-25 05:40:06 +00:00
Roger Dingledine
730f4dd52b a changelog for rc2
svn:r2971
2004-11-24 05:17:34 +00:00
Roger Dingledine
c893403ed7 tweak changelogs
svn:r2957
2004-11-23 10:11:20 +00:00
Roger Dingledine
4db70abd42 add a changelog for rc1
svn:r2950
2004-11-23 07:36:48 +00:00
Roger Dingledine
2e2db452d6 a changelog for 0.0.9pre6
svn:r2900
2004-11-16 03:12:35 +00:00
Roger Dingledine
23c6d8a926 update the 009pre5 changelog with what i actually announced
svn:r2843
2004-11-14 04:54:35 +00:00
Roger Dingledine
f4c6e975b3 mention doc/control-spec.txt in changelog
svn:r2751
2004-11-09 11:55:16 +00:00
Roger Dingledine
6d89564578 draft of a 0.0.9pre5 changelog
svn:r2739
2004-11-09 08:13:03 +00:00
Roger Dingledine
7ba287da5a commit a changelog for pre4
svn:r2556
2004-10-17 05:15:46 +00:00
Roger Dingledine
e2dea1dd59 more useful changelog for pre3
svn:r2513
2004-10-14 10:27:26 +00:00
Roger Dingledine
30b5ceb6fb note the read() bugfix in the changelog
svn:r2510
2004-10-14 09:40:57 +00:00
Roger Dingledine
f4f6a6a146 update changelog re: weasel's warn
svn:r2505
2004-10-14 06:50:57 +00:00
Roger Dingledine
59f7462a56 update cvs changelog with 0.0.8.1 entry
svn:r2501
2004-10-14 06:44:47 +00:00
Roger Dingledine
06392c02b4 changelog for 0.0.9pre3 and 0.0.8.1
svn:r2496
2004-10-14 05:31:03 +00:00
Roger Dingledine
30e5f5793e pre2 changes:
o Bugfixes on pre1:
    - Make fetching a cached directory work for 64-bit platforms too.
    - Make zlib.h a required header, not an optional header.


svn:r2411
2004-10-02 23:29:56 +00:00
Roger Dingledine
ce0c7c554d note the earlier assert fix in our changelog
svn:r2404
2004-10-01 04:53:00 +00:00
Roger Dingledine
b73e54f57c add a last entry to the 0.0.9pre1 changelog
time to start testing it


svn:r2397
2004-09-29 00:55:35 +00:00
Roger Dingledine
f00c07fdf7 commit a changelog so far for 0.0.9pre1
svn:r2376
2004-09-27 01:10:07 +00:00
Roger Dingledine
0987cf4bec changelog for 0.0.8
svn:r2318
2004-08-25 19:45:23 +00:00
Roger Dingledine
1e24d59aef add a changelog and bump to 0.0.8rc2
svn:r2303
2004-08-20 21:41:19 +00:00
Roger Dingledine
6881c85dec this isn't pre4, this is rc1
svn:r2296
2004-08-18 21:59:44 +00:00
Roger Dingledine
8798238af4 commit changelog for 0.0.8pre4
svn:r2292
2004-08-18 20:40:17 +00:00
Roger Dingledine
20b907db1e forward-port the 0.0.7.3 changelog
svn:r2228
2004-08-12 06:31:39 +00:00
Roger Dingledine
e83b9dda59 add pre3 items to changelog
svn:r2212
2004-08-09 07:40:50 +00:00
Roger Dingledine
c577fd497f add pre2 release notes to changelog
svn:r2142
2004-08-04 07:13:14 +00:00
Roger Dingledine
b8b22ffdcb add release notes for 0.0.8pre1
svn:r2118
2004-07-23 00:35:44 +00:00
Roger Dingledine
faf63d82f8 changelog for 0.0.7.2 in the main branch
svn:r2024
2004-07-08 02:20:25 +00:00
Roger Dingledine
5284826a05 add a changelog for 0.0.7.1
svn:r2008
2004-07-04 19:15:11 +00:00
Roger Dingledine
e9b882554e add a changelog entry for 0.0.2pre13, since we have it
svn:r1984
2004-06-23 20:45:12 +00:00
Roger Dingledine
9385020ceb update the changelog for 0.0.7
svn:r1955
2004-06-07 19:16:35 +00:00
Roger Dingledine
efbeadd610 another changelog entry
svn:r1952
2004-06-06 18:01:56 +00:00
Roger Dingledine
5ba16c3b3e another item in the 0.0.7 prelim changelog
svn:r1942
2004-06-02 20:08:13 +00:00
Roger Dingledine
d9ff917878 a changelog for 0.0.7pre1
svn:r1932
2004-06-01 22:42:01 +00:00
Roger Dingledine
987c90cced interim changelog notes for 0.0.7pre1
svn:r1923
2004-05-28 15:05:48 +00:00
Roger Dingledine
a554135c98 Stefan Mark was the one doing the bug finding, not Stefan Kopsell
svn:r1876
2004-05-16 10:58:50 +00:00
Roger Dingledine
7ec7b74c17 commit changelog on 0.0.6.2 (about to be released),
and notes on 0.0.7pre1 (not yet released)


svn:r1872
2004-05-16 08:50:36 +00:00
Roger Dingledine
3b0c72b541 minor edits to changelog and readme
svn:r1821
2004-05-09 16:32:22 +00:00
Roger Dingledine
f01adbe175 forward-port changelog
svn:r1811
2004-05-06 22:46:32 +00:00
Roger Dingledine
64b20f4067 commit the 0.0.6 changelog
svn:r1769
2004-05-02 19:26:51 +00:00
Roger Dingledine
3dad8557a6 commit a changelog for 0.0.5
svn:r1389
2004-03-30 18:39:05 +00:00
Roger Dingledine
a6f3e3f5a8 changelog for 0.0.4 (just the bugfix)
svn:r1341
2004-03-26 22:20:48 +00:00
Roger Dingledine
bba98c4097 changelog for 0.0.3
svn:r1333
2004-03-26 18:15:31 +00:00
Roger Dingledine
161d7d19ae our changelog for 0.0.2
svn:r1299
2004-03-19 07:08:15 +00:00
Roger Dingledine
702a6370b4 changelog for pre27
svn:r1282
2004-03-15 04:21:47 +00:00
Roger Dingledine
1e527f76fb a changelog for pre26
svn:r1274
2004-03-15 01:03:10 +00:00
Roger Dingledine
9d00c4b81c changelog for pre25
svn:r1233
2004-03-04 21:40:38 +00:00
Roger Dingledine
476e21aa6e commit the pre24 changelog
svn:r1216
2004-03-03 09:41:13 +00:00
Roger Dingledine
6ee357e64b changelog for pre23
svn:r1181
2004-02-29 11:13:14 +00:00
Roger Dingledine
1e9a963094 changelog entries for pre22
svn:r1135
2004-02-27 00:55:31 +00:00
Roger Dingledine
8c1ee2f2d2 actual wording of pre21 changelog
svn:r1110
2004-02-18 09:40:18 +00:00
Roger Dingledine
980f74f455 bump us to pre21, add ChangeLog entries
svn:r1107
2004-02-18 08:54:35 +00:00
Peter Palfrader
96b97fab02 Put something useful into the ChangeLog, like past release announcments
svn:r1061
2004-02-17 00:31:39 +00:00
Felipe Bergo
f09e25e9f5 added automake/autoconf support. When in doubt, "aclocal && autoconf && autoheader && automake" from the top dir.
svn:r10
2002-06-28 23:26:42 +00:00