Commit Graph

6006 Commits

Author SHA1 Message Date
Roger Dingledine
fab1feee26 complain when we hit wsaenobufs on recv or write too.
perhaps this will help us hunt the bug.


svn:r6321
2006-04-08 07:54:11 +00:00
Roger Dingledine
557b174b8d Break out the checks to see if a routerstatus is something we
would use. This way when we're deciding if we have "enough" descriptors
to start building circuits, we can count them accurately.


svn:r6320
2006-04-08 06:56:38 +00:00
Roger Dingledine
de8ce0aae8 fix a typo that was confusing me
svn:r6319
2006-04-08 06:55:10 +00:00
Roger Dingledine
cbc7883fcd don't try to run python2.2 explicitly, just python.
nick says all the people with obsolete pythons are unreal.


svn:r6318
2006-04-08 06:20:46 +00:00
Nick Mathewson
5d466b7611 Fix a couple of things that make GCC complain with verbose warnings on. Also, fix some whitespace.
svn:r6317
2006-04-08 05:43:52 +00:00
Nick Mathewson
7a804572ab fix an infinite loop; answer a question
svn:r6316
2006-04-07 22:55:46 +00:00
Nick Mathewson
c6d010b218 Dont warn about our own status unless weve tried and failed 4 times (or succeeded) for each authority.
svn:r6315
2006-04-07 04:52:32 +00:00
Roger Dingledine
be901eb468 begin to specify when to warn.
svn:r6314
2006-04-04 06:09:25 +00:00
Roger Dingledine
c4fb9d22cf if there's more than one match for router-get-my-nickname,
try to pick one that's running.


svn:r6313
2006-04-04 03:46:40 +00:00
Roger Dingledine
0825f61102 fix crash bug reported in flyspray 279.
svn:r6312
2006-04-04 03:25:36 +00:00
Roger Dingledine
453062b028 fix typo, remove extraneous variable
svn:r6311
2006-04-03 11:24:14 +00:00
Roger Dingledine
7198af7fbe one more edge case that could paralyze a client with fear
svn:r6310
2006-04-03 06:59:07 +00:00
Roger Dingledine
a324871603 phrase the threshold comparison in the way we've been
phrasing it. these are equivalent, right?


svn:r6309
2006-04-03 06:37:35 +00:00
Roger Dingledine
4b6ff2b084 bugfix in sort_version_list() so it doesn't screw up the sorting.
svn:r6308
2006-04-03 06:30:48 +00:00
Nick Mathewson
eba6204315 fix some xxxs.
svn:r6307
2006-04-03 06:23:24 +00:00
Roger Dingledine
2cb3aeb4e1 another point that needs more thinking
svn:r6306
2006-04-03 06:22:54 +00:00
Roger Dingledine
9549d81d95 two more thresholds to look at
svn:r6305
2006-04-03 06:10:33 +00:00
Nick Mathewson
1f40ab57d7 Oops; meant received, not published.
svn:r6304
2006-04-03 05:51:18 +00:00
Nick Mathewson
efcc4d7595 save first, then commit.
svn:r6303
2006-04-03 05:40:46 +00:00
Nick Mathewson
314c2111cf Clarify behavior on failing network-status download.
svn:r6302
2006-04-03 05:37:18 +00:00
Roger Dingledine
7b8373a7f3 minor cleanups
svn:r6301
2006-04-03 02:36:47 +00:00
Roger Dingledine
64a40b5137 nick: there *is* no MAX_SERVER_INTERVAL_WITHOUT_REQUEST. true?
svn:r6300
2006-04-03 02:20:32 +00:00
Roger Dingledine
7e3a98b489 "" is not a plausible address for addressmaps.
svn:r6299
2006-04-03 00:26:51 +00:00
Nick Mathewson
e9dc188efd Try to clarify thresholds, intervals, and strategies. Some of the later sections need more work, but my laptop is running low on battery.
svn:r6298
2006-04-02 23:03:45 +00:00
Nick Mathewson
4130460f8e Change networkstatus dl logic: try to have all networkstatuses live; insist on having all of them live or tried-at-least-once. Also, answer a XXXX comment.
svn:r6297
2006-04-02 23:02:52 +00:00
Nick Mathewson
d663bfa306 Versions that drop connections for having used idle circs are as bad for stable as for guard
svn:r6296
2006-04-02 23:01:01 +00:00
Nick Mathewson
785d25e06c If I could forget that I had enabled StrictExitNodes, others will too.
svn:r6295
2006-04-02 22:59:59 +00:00
Roger Dingledine
b34032b87d but the \r\n is handy too i hear.
svn:r6294
2006-04-02 22:19:01 +00:00
Roger Dingledine
e84cd412d4 if you give mapaddress no args at all, it should answer
something more than \r\n.


svn:r6293
2006-04-02 22:13:34 +00:00
Roger Dingledine
403be1a396 i don't know what sort of shell nick uses, but mine can't
handle redirecting from two files at once.


svn:r6292
2006-04-02 08:13:25 +00:00
Roger Dingledine
9aecb5080e admit that getinfo can fail.
svn:r6291
2006-04-02 07:54:34 +00:00
Roger Dingledine
7f427ae9a0 make exitlist's instructions more future-proof.
svn:r6290
2006-04-02 07:54:01 +00:00
Roger Dingledine
219dd9b183 the deb's tor.docs list is wrong, now that we've removed the docs.
svn:r6289
2006-04-02 04:36:11 +00:00
Roger Dingledine
b0a502df59 hack together a shell blob so 'make dist' can build even when
the website isn't there.


svn:r6288
2006-04-02 03:42:32 +00:00
Roger Dingledine
1e04b70d49 make NoPublish (even though deprecated) work again.
svn:r6287
2006-04-02 02:59:48 +00:00
Roger Dingledine
dfb3c5f47a if you ask for getinfo dir/status/ but your dirport is off,
log a complaint.


svn:r6286
2006-04-01 22:17:37 +00:00
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