Nick Mathewson
|
126a1e3e32
|
Fix crash-on-wakeup bug in networkstatus download.
svn:r5144
|
2005-09-26 16:37:39 +00:00 |
|
Andrew Lewman
|
066b58438a
|
added the one line hack for default selinux targeted policy to allow
tor/privoxy to work correctly.
svn:r5143
|
2005-09-25 03:45:27 +00:00 |
|
Roger Dingledine
|
fba01c3cc0
|
bugfix: we were whining about using socks4 or socks5-with-local-lookup
even when they used an IP in the "virtual" range we designed exactly
for this case.
svn:r5142
|
2005-09-24 21:56:04 +00:00 |
|
Andrew Lewman
|
3cc460c9f9
|
commented out logfile so as to not log everything passed through privoxy
svn:r5141
|
2005-09-24 20:49:45 +00:00 |
|
Nick Mathewson
|
0873386600
|
Point readers of the code to opensslv.h, since everybody who sees 0x0090700f looks at me like some kind of loon
svn:r5140
|
2005-09-24 16:39:33 +00:00 |
|
Nick Mathewson
|
d661fde082
|
Possible fix to make aes build on woody
svn:r5139
|
2005-09-24 16:37:24 +00:00 |
|
Roger Dingledine
|
225510f58a
|
mention the new stable version.
and explicitly mention that selinux on FC4 is a problem for tor.
svn:r5136
|
2005-09-24 08:36:47 +00:00 |
|
Nick Mathewson
|
abb8576538
|
But, of course, mirrors should get the most up-to-date server in any case.
svn:r5135
|
2005-09-23 21:33:59 +00:00 |
|
Nick Mathewson
|
b726507d36
|
Log even less verbosely. Also, do not download old (frequently-updating) servers more than once every 2 hours.
svn:r5134
|
2005-09-23 21:25:29 +00:00 |
|
Roger Dingledine
|
31c7f59b25
|
add MyFamily to the torrc.sample
svn:r5133
|
2005-09-23 20:53:42 +00:00 |
|
Nick Mathewson
|
ebf6476e8e
|
Provide dire warnings to any users who set DirServer; move it out of torrc.sample and into torrc.complete.
svn:r5132
|
2005-09-23 20:44:22 +00:00 |
|
Nick Mathewson
|
18a0a0e458
|
Oops. It looks like some old GCCs dislike #if inside a macro argument.
svn:r5131
|
2005-09-23 20:31:07 +00:00 |
|
Roger Dingledine
|
0ef18a0fba
|
put a log message so we can start confirming socks5-with-remote-dns
vs socks5-with-local-dns
svn:r5130
|
2005-09-23 19:56:34 +00:00 |
|
Nick Mathewson
|
96988b45b4
|
Use OpenSSL AES when OpenSSL has version 0.9.7 or later.
svn:r5129
|
2005-09-23 18:50:50 +00:00 |
|
Nick Mathewson
|
06625e779d
|
Decouple router downloads from old directory downloads entirely
svn:r5128
|
2005-09-23 18:49:37 +00:00 |
|
Nick Mathewson
|
c345dab3bd
|
Fix logic error (people who ask authorities should never split; others should always split). Also, fix timing error in main.c so retries really happen.
svn:r5127
|
2005-09-23 18:17:37 +00:00 |
|
Nick Mathewson
|
a1f1c4bf6b
|
Re-enable autosplitting, but authorities and mirrors should not do it, and make the cutoff higher than 1.
svn:r5126
|
2005-09-23 18:08:31 +00:00 |
|
Nick Mathewson
|
f995edd516
|
Fix at least one overzealous download bug. (tor_malloc_zero new local_routerstatus_t objs); add a pile of logs back in; probe every 10sec; never autolaunch on failure. Let us see if this works better.
svn:r5125
|
2005-09-23 18:05:14 +00:00 |
|
Nick Mathewson
|
9050480339
|
Fix some compiler warnings
svn:r5124
|
2005-09-23 17:11:20 +00:00 |
|
Nick Mathewson
|
faa4f420de
|
Remove extraneous space on read-history lines.
svn:r5123
|
2005-09-23 17:02:50 +00:00 |
|
Roger Dingledine
|
03d0f62da0
|
make the numbers in read-history and write-history into uint64s,
so they don't overflow and publish negatives in the descriptor.
fixes bug 193.
svn:r5119
|
2005-09-23 08:29:58 +00:00 |
|
Roger Dingledine
|
12e10aeaf2
|
fix grammar in old changelog entry
svn:r5118
|
2005-09-23 08:27:34 +00:00 |
|
Roger Dingledine
|
512d6ccdc1
|
and a minor log cleanup
svn:r5115
|
2005-09-23 00:04:53 +00:00 |
|
Roger Dingledine
|
e286c4267e
|
there was no need to die when we failed to spawn a cpuworker.
it handles it fine if we decide not to die.
svn:r5114
|
2005-09-23 00:04:44 +00:00 |
|
Roger Dingledine
|
479886fce2
|
remove another loud debug msg
svn:r5113
|
2005-09-22 23:56:56 +00:00 |
|
Roger Dingledine
|
d050ff7906
|
resolve lucky's recent bug: tor was exiting if we failed to spawn
a new dns worker (e.g. because we were out of fd's).
svn:r5112
|
2005-09-22 23:43:41 +00:00 |
|
Roger Dingledine
|
2d6b36a001
|
get rid of a noisy debug log
svn:r5111
|
2005-09-22 20:51:45 +00:00 |
|
Nick Mathewson
|
cdc912714e
|
I love the smell of C in the morning. Make router-download rules smarter (download more so long as we dont duplicate existing requests; relaunch at staggered intervals); relaunch one a minute or on failure; reset 60 minutes; always open 3 requests if we can; add authority opinion to networkstatus; make naming rule correct. There is a remaining bug where we retry servers too quickly; We need to look at that harder.
svn:r5110
|
2005-09-22 06:34:29 +00:00 |
|
Nick Mathewson
|
6693031947
|
Use a separate type for "local view of router status". Also, even though I told arma there was no need, replace an ugly O ( n lg n ) algorithm with a nice O ( n ) algorithm when stepping through servers. Some ugliness is just too bad to stand.
svn:r5109
|
2005-09-22 01:51:14 +00:00 |
|
Roger Dingledine
|
959598fae6
|
content-type bugfixes:
http://seppia.noreply.org/tor/dir.z was being declared text/plain
and
http://seppia.noreply.org/tor/server/fp/719BE45DE224B607C53707D0E2143E2D423E74CF
was being declared application/octet-stream
svn:r5108
|
2005-09-22 00:17:41 +00:00 |
|
Roger Dingledine
|
f011b12df2
|
bugfix: nobody ever implemented EVENT_ADDRMAP for control protocol
version 0, so don't let version 0 controllers ask for it.
svn:r5107
|
2005-09-21 23:30:15 +00:00 |
|
Nick Mathewson
|
f99b91505b
|
Make write_escaped_data more bulletproof; backport candidate.
svn:r5106
|
2005-09-21 23:13:29 +00:00 |
|
Roger Dingledine
|
1cfcc4b351
|
clean up misleading comment on authdir_wants_to_reject_router()
svn:r5105
|
2005-09-21 21:10:36 +00:00 |
|
Nick Mathewson
|
f411dd8d3a
|
Move items from meeting into dir-spec and TODO.
svn:r5102
|
2005-09-21 04:02:54 +00:00 |
|
Nick Mathewson
|
72915546cd
|
Only check versions from versioning authdirs.
svn:r5101
|
2005-09-21 02:38:51 +00:00 |
|
Nick Mathewson
|
20b9111266
|
Implement new version handling code.
svn:r5100
|
2005-09-21 00:41:06 +00:00 |
|
Nick Mathewson
|
892e173e01
|
Add notes of things that must be done to dir-spec
svn:r5099
|
2005-09-21 00:39:31 +00:00 |
|
Roger Dingledine
|
94ff09af23
|
clean up a bit more code
svn:r5098
|
2005-09-20 19:50:43 +00:00 |
|
Nick Mathewson
|
fbedb32ee1
|
Add a temporary section to dir-spec reflecting what we actually do now.
svn:r5097
|
2005-09-20 19:31:34 +00:00 |
|
Roger Dingledine
|
9fa3a4a5e4
|
a few more todo items done
svn:r5096
|
2005-09-20 19:30:48 +00:00 |
|
Roger Dingledine
|
19f04ae9c3
|
make router_is_general_exit match its documentation
but it's still wrong maybe
svn:r5095
|
2005-09-20 03:40:54 +00:00 |
|
Roger Dingledine
|
ba49b45682
|
clean up new dir spec a bit more
svn:r5094
|
2005-09-20 03:40:38 +00:00 |
|
Nick Mathewson
|
dcb6b3df6c
|
bump version to 0.1.1.7-alpha-cvs
svn:r5093
|
2005-09-19 22:02:14 +00:00 |
|
Nick Mathewson
|
837b223c8c
|
remove some debugging garbage
svn:r5092
|
2005-09-18 04:32:58 +00:00 |
|
Nick Mathewson
|
283032960d
|
Make give-up-on-failure actually work: it seems the servers gave me a real test case.
svn:r5091
|
2005-09-18 04:15:39 +00:00 |
|
Nick Mathewson
|
d118d5069a
|
Prevent a "try forever to download an unobtainable descriptor" bug. Still remaining: the "give up forever" bug.
svn:r5090
|
2005-09-18 02:51:12 +00:00 |
|
Nick Mathewson
|
87f6d526fe
|
Refactor new directory code a bit. Keep a big list of rolled-up router status info, including # of download failures (not yet used). Update this list from networkstatuses when they arrive, then update routers from this list. Only download 128 routers at a time, to avoid gargantuan URLs.
svn:r5089
|
2005-09-18 02:24:42 +00:00 |
|
Nick Mathewson
|
e86893e87b
|
Move to new base64 digest functions. Switch to new router digest calculation. Make sure there are no duplicates in router status lists.
svn:r5088
|
2005-09-18 02:22:21 +00:00 |
|
Nick Mathewson
|
f8a80e8d59
|
Helper functions to perform our truncated base64 encoding on hexdigests.
svn:r5087
|
2005-09-18 02:18:59 +00:00 |
|
Nick Mathewson
|
312af36126
|
Make smartlist_add_all more efficient.
svn:r5086
|
2005-09-18 02:17:02 +00:00 |
|