Commit Graph

5920 Commits

Author SHA1 Message Date
Roger Dingledine
6fb27741ba Fix dirserv_get_networkstatus_v2's api: its function comments
did not at all match its behavior, and I can't think of a case
when it should return anything other than 0.

This fix may allow getinfo dir/status/foo to work.


svn:r6285
2006-04-01 22:00:49 +00:00
Roger Dingledine
e754664d62 bugfix: when we fail to bind or listen on an incoming or outgoing
socket, we should close it before failing. otherwise we just
leak it. (thanks to weasel for finding.)


svn:r6284
2006-04-01 10:22:57 +00:00
Roger Dingledine
e47075e771 more helpful error message
svn:r6283
2006-04-01 09:54:54 +00:00
Roger Dingledine
314f24870d Start sending back 512 and 451 errors if mapaddress fails,
rather than not sending anything back at all.


svn:r6282
2006-04-01 09:50:43 +00:00
Roger Dingledine
6e61612f2a hey, let's include instructions on servers, hidden services,
and switchproxy, while we're at it.


svn:r6281
2006-03-31 05:16:27 +00:00
Roger Dingledine
89bc7a5f0d make the os x package handle the new location of docs, plus
include the needed img's.


svn:r6280
2006-03-31 05:14:29 +00:00
Roger Dingledine
051c176219 Blow away the obsolete docs.
Leave shells of them in case people link to them from elsewhere.


svn:r6279
2006-03-31 05:07:12 +00:00
Peter Palfrader
b13c1b53c6 Fail somehow smarter if we do not have the website source tree in ../website
svn:r6278
2006-03-31 05:00:28 +00:00
Peter Palfrader
fef8829d3c This works better for me. Does it still work for you?
svn:r6277
2006-03-31 04:54:03 +00:00
Roger Dingledine
f41d3abb41 weasel suggests that this will help.
svn:r6276
2006-03-31 04:30:13 +00:00
Roger Dingledine
3e2f1c8bb8 A start at copying the website tor-*.html and images into
the tarball. Weasel, can you help make the dependencies cause
these to get re-built appropriately?


svn:r6275
2006-03-31 04:23:41 +00:00
Roger Dingledine
6a3f3ffb0b Label the old cvs/tor/doc/*.html files as obsolete, and point
to the new documentation page.


svn:r6274
2006-03-31 00:15:37 +00:00
Roger Dingledine
4c996757ae We can remove about 30% of the v1 directory bulk by taking
out down or invalid nodes. We should do this once we're ready.


svn:r6273
2006-03-29 09:21:23 +00:00
Roger Dingledine
db1209a852 Refactor the decision of whether to include a router's descriptor
in the v1 directory. No actual changes yet.


svn:r6272
2006-03-29 08:56:39 +00:00
Peter Palfrader
1fa7b3cef7 Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD
svn:r6271
2006-03-29 05:14:12 +00:00
Roger Dingledine
0567506feb one preposition is better than two, sometimes.
svn:r6270
2006-03-29 00:57:49 +00:00
Andrew Lewman
0727300cba Force rpmbuild to behave and honor target_cpu.
svn:r6269
2006-03-28 16:54:29 +00:00
Peter Palfrader
52cb456a19 no longer ship INSTALL and README files, they are useless now.
svn:r6268
2006-03-28 13:29:13 +00:00
Peter Palfrader
2c2bb51c9c Commit my unittests.vcproj and Tor.vcproj:
They have openssl come place else but also include the new policies.c


svn:r6267
2006-03-28 12:55:53 +00:00
Roger Dingledine
1f4d0d2479 When deciding whether a router is Fast or Guard-worthy, consider
his advertised BandwidthRate and not just the BandwidthCapacity.

This is a bug in 0.1.0.x as well, but let's not bother backporting.


svn:r6266
2006-03-28 12:01:58 +00:00
Roger Dingledine
e7fbdcf70e bump to 0.1.1.17-rc-cvs
so much for 'release candidate'


svn:r6265
2006-03-28 11:30:57 +00:00
Peter Palfrader
4f0d7b7424 Forward port patches/07_log_to_file_by_default
svn:r6263
2006-03-28 07:48:30 +00:00
Roger Dingledine
26eb815f73 bump to 0.1.1.17-rc
svn:r6261
2006-03-28 07:45:23 +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
81ffbda2a1 a few other thoughts that i wrote down somewhere for once
svn:r6257
2006-03-28 07:34:19 +00:00
Roger Dingledine
4da71fff6b the readme file was also incredibly old.
does somebody want to write actually useful versions of these
that won't need to be updated ever?


svn:r6256
2006-03-28 07:30:49 +00:00
Roger Dingledine
b552e0b992 blow away the "quickstart" from the INSTALL file. it was not being
maintained adequately.


svn:r6255
2006-03-28 07:28:52 +00:00
Nick Mathewson
685bceed1c Make the max number of old descriptors to hold rise with the number of authorities.
svn:r6254
2006-03-27 17:29:53 +00:00
Roger Dingledine
90a40e0e66 another interim changelog for 0.1.1.17-rc
svn:r6253
2006-03-27 07:39:27 +00:00
Peter Palfrader
03302dc67d On our dirport return a robots.txt so maybe google doesn't index all those server descriptors anymore
svn:r6252
2006-03-27 07:33:13 +00:00
Nick Mathewson
2421724853 Code to implement networkstatus fetch from controllers. Only works when dirport is set for now; should be good enough to make serifos html front-end not be as wrong.
svn:r6251
2006-03-27 06:49:25 +00:00
Roger Dingledine
56df81199a that extra punctuation distracts me
svn:r6250
2006-03-27 05:30:16 +00:00
Nick Mathewson
cd271dbca9 re-order to avoid free-then-use. Thank goodness tor_free() zeroes things.
svn:r6249
2006-03-27 05:27:47 +00:00
Nick Mathewson
c74bd877e2 Oops. We may not have a networkstatus list when we first parse the cached routers.
svn:r6248
2006-03-27 05:12:07 +00:00
Nick Mathewson
3e8c9a485f Fix for "but need_to_mirror=1" annoyance; is bug 273 fixed?
svn:r6247
2006-03-27 05:07:57 +00:00
Roger Dingledine
6f08d121d9 Refactor and consolidate addr/exit policies into a new policies.c.
Fix some minor bugs and memory leaks along the way.


svn:r6246
2006-03-27 02:25:34 +00:00
Nick Mathewson
74d35c8027 On non-gcc compilers, use -g -O instead of -Wall -g -O2: resolve bug 273.
svn:r6245
2006-03-27 00:43:39 +00:00
Roger Dingledine
c22a9fe5a8 favor correctness over grammar
svn:r6244
2006-03-26 22:39:07 +00:00
Roger Dingledine
e20aad8d46 remove obsolete address policy code
svn:r6243
2006-03-26 09:38:17 +00:00
Roger Dingledine
e1c8e3ca6e also send syntax and parse errors back to the controller.
svn:r6242
2006-03-26 08:09:19 +00:00
Roger Dingledine
b899b9592a When the controller's *setconf commands fail, collect an error message
in a string and hand it back. This starts to resolve bug 275.


svn:r6241
2006-03-26 06:51:26 +00:00
Roger Dingledine
0543900fbf clean up the traces from tracking the 0.1.1.9-alpha stack-smashing bug.
svn:r6240
2006-03-26 06:47:51 +00:00
Roger Dingledine
7871ad9116 failing in a support function is a warn, not an err.
svn:r6239
2006-03-26 06:47:08 +00:00
Roger Dingledine
6652d821b2 If you run a fast server, can you run your client elsewhere?
svn:r6238
2006-03-25 23:23:19 +00:00
Roger Dingledine
8f75d5d0a2 try to make it clearer that eigentrust is one way to do the
"deputy tester" design, but there are simpler ways too.


svn:r6237
2006-03-25 22:37:44 +00:00
Peter Palfrader
e90bebf27b Say private address instead of internal address.
Both are wrong or at least not entirely correct but nobody would
understand "special-use address as listed in RFC3330" I guess.


svn:r6236
2006-03-25 21:24:28 +00:00
Roger Dingledine
f2abd7a69b fix a wordo, don't be so quick to yell at servers, and ask a question.
svn:r6235
2006-03-24 21:11:14 +00:00
Roger Dingledine
7edfec2ae6 bump up the magic number for how quickly we start notifying
a server that it's unreachable.


svn:r6234
2006-03-24 20:57:55 +00:00