aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* when an OR starts up, it loads its directory from cache.Roger Dingledine2004-10-06
| | | | | | | | | then it serves *that directory* to others who ask for a copy of the directory. it's better to serve no directory at all until you have a fresh copy. svn:r2418
* use only 0.0.9pre1 and later servers for resolve cellsRoger Dingledine2004-10-03
| | | | svn:r2416
* Only check versions against downloaded directories, not cached directories.Nick Mathewson2004-10-03
| | | | svn:r2413
* better warn message for failed hidserv desc fetchRoger Dingledine2004-10-03
| | | | svn:r2412
* use size_t rather than int for directory lengths in memoryRoger Dingledine2004-10-01
| | | | | | | this might fix a bug with amd64 svn:r2410
* Decode Content-Encoding header correctly.Nick Mathewson2004-10-01
| | | | svn:r2403
* Fix a rare assert trigger, where routerinfos for entries in our cpathRoger Dingledine2004-09-30
| | | | | | | | would expire while we're building the path. Thanks to Eugene Armstead for pointing it out. svn:r2402
* prefer tor_free to freeRoger Dingledine2004-09-29
| | | | | | | plus complain more loudly when we fail to parse a dir we just fetched svn:r2401
* print the IP if a conn fails badly, to see if there are any trendsRoger Dingledine2004-09-29
| | | | svn:r2400
* ha ha, thought the bugs were doneRoger Dingledine2004-09-29
| | | | | | | don't stop writing the compressed directory just because you found a nul svn:r2399
* if our local cached directory is new enough, go ahead andRoger Dingledine2004-09-28
| | | | | | | start building circuits while we're fetching a new one svn:r2394
* Make sure that routerlists contain only routers; give a better error message ↵Nick Mathewson2004-09-28
| | | | | | if they start with a nonrouter. svn:r2393
* cached-directory has a directory, not a router listNick Mathewson2004-09-28
| | | | svn:r2392
* fix some local buffer overflowsRoger Dingledine2004-09-28
| | | | | | | fix a memory leak svn:r2391
* Fix messages for _UNRECOGNIZED tokensNick Mathewson2004-09-28
| | | | svn:r2390
* If we are an authoritative dirserver, check out the fingerprint list when ↵Nick Mathewson2004-09-28
| | | | | | setting connection nicknames svn:r2389
* Fix an evil bug: when we failed to write to our log, fputs()Roger Dingledine2004-09-28
| | | | | | | | | | | | | gave us a sigpipe, and we logged that we were ignoring it, causing us to fail to log that, and delete the log entry. Then when the signal handler exited, we proceeded to delete the log entry that had already been deleted. Now we make sure to only log inside our signal handler if we'll be exit()ing right after. svn:r2388
* the tor clients in cvs can't speak to the current tor authdirservers forRoger Dingledine2004-09-28
| | | | | | | | rendezvous publishes and fetches, since they're still running 0.0.8. so make them speak the old way until we've upgraded the authdirservers. svn:r2384
* fix another bug with cached compressed directoriesRoger Dingledine2004-09-27
| | | | | | | still not working svn:r2383
* fix two bugs with cached directories:Roger Dingledine2004-09-27
| | | | | | | | | | - don't complain that you won't cache it, then cache it anyway. - change confusing terminology from 'deflate' to 'compress', so we'll stop getting our logic backwards. i assume the rfc author has shot himself by now. svn:r2382
* put my fenceposts back in valid memory spaceRoger Dingledine2004-09-27
| | | | svn:r2381
* checking only 0.0.7 and 0.0.8 didn't work, because some dirserversRoger Dingledine2004-09-27
| | | | | | | | | | | | | | | files have really old descriptors for the authdirservers, so we're asking them in the new format because they're too old. now we actually compare the version to a cutoff version, and act appropriately. also take this chance to use only >=0.0.8 servers for dns resolves, because of the recent bugs. we'll bump to >=0.0.9pre1 once there are some servers running that. svn:r2380
* post descriptors to 0.0.8 authdirservers the old way, to make theRoger Dingledine2004-09-27
| | | | | | | transition easier svn:r2379
* clients ask 0.0.9-and-later dirservers for a compressed dirRoger Dingledine2004-09-27
| | | | | | | | dirservers rewrite url /foo/ to /tor/foo/, which will help us run things behind apache once 0.0.8 is obsolete svn:r2378
* don't mind empty exit policy entriesRoger Dingledine2004-09-23
| | | | svn:r2373
* cleanup: use strcmpstart() in more placesRoger Dingledine2004-09-23
| | | | svn:r2372
* protect dirservers from overzealous descriptor uploadingRoger Dingledine2004-09-23
| | | | | | | wait 10 seconds after directory gets dirty, before regenerating svn:r2370
* discourage people from setting their dirfetchpostperiod more oftenRoger Dingledine2004-09-23
| | | | | | | than once per minute svn:r2369
* bugfix: we were starting to daemonize before we opened our logs,Roger Dingledine2004-09-23
| | | | | | | | so if there were any problems opening logs, we would complain to stderr (which wouldn't work) and then mysteriously exit. svn:r2366
* fix confusing cut-n-paste mistakeRoger Dingledine2004-09-22
| | | | svn:r2364
* people are starting to bump into the limit of 50 dns workers.Roger Dingledine2004-09-22
| | | | | | | | | raise it to 100 for now. we need a better solution long-term. but alas, there are no better solutions that are also portable. hm. svn:r2363
* Attach dummy resolve connections to a circuit *before* calling ↵Nick Mathewson2004-09-21
| | | | | | dns_resolve(). This fixes a bug where cached answers would never be sent in RESOLVED cells. svn:r2360
* clean up/bugfix deflate logic and log messagesNick Mathewson2004-09-21
| | | | svn:r2359
* bugfix: when a resolve fails for a begin request, actually sendRoger Dingledine2004-09-21
| | | | | | | the end cell back. also, give a better reason for failure. svn:r2358
* slightly better warn messageRoger Dingledine2004-09-21
| | | | svn:r2357
* Warn the user when we mark ourself as down.Nick Mathewson2004-09-21
| | | | svn:r2356
* Bugfix: When a dns request failed, we would detach any "resolving" streams ↵Nick Mathewson2004-09-21
| | | | | | from the circuit before we would send a the resolve_failed cells. svn:r2355
* fix a rare seg fault for people running hidden services onRoger Dingledine2004-09-20
| | | | | | | intermittent connections svn:r2353
* don't pick administrative-friends when picking your pathRoger Dingledine2004-09-10
| | | | | | | (just a skeleton for now) svn:r2349
* we should exit(1) if $HOME doesn't exist and we needed itRoger Dingledine2004-09-10
| | | | svn:r2344
* Some platforms have weird translations when you open files in "test" mode; ↵Nick Mathewson2004-09-08
| | | | | | make read/write_str_to_file aware. svn:r2336
* Flush more changes from sandboxNick Mathewson2004-09-08
| | | | | | | | | | | | | | | | | - make clients cache directories and use them to seed their router lists at startup. This means clients have a datadir again. - Introduce a global_write_bucket. We need to respond better to exhausting it. - Remove the last vestiges of LinkPadding and TrafficShaping. - Configuration infrastructure support for warning on obsolete options. - Refactor directory header parsing to use smartlist_split_string. - Respond to content-encoding headers by trying to uncompress as appropriate. - Reply with a deflated directory when a client asks for "dir.z". (We could use allow-encodings instead, but allow-encodings isn't specified in HTTP 1.0.) svn:r2335
* Move a paren 4 characters to the left; fix a bug in OutboundBindAddressNick Mathewson2004-09-02
| | | | svn:r2330
* Stop using separate defaults for no-config-file and empty-config-fileNick Mathewson2004-09-02
| | | | svn:r2329
* Keep a deflated version of each directory so we can deliver it when requestedNick Mathewson2004-09-02
| | | | svn:r2328
* Use new split function and strcmpstart correctlyNick Mathewson2004-09-02
| | | | svn:r2327
* Check for zlib; link with it.Nick Mathewson2004-09-02
| | | | svn:r2326
* Add basic wrappers for zlib/gzipNick Mathewson2004-09-02
| | | | svn:r2324
* make the compile work (and not complain) on sunos 5.9Roger Dingledine2004-08-25
| | | | svn:r2312
* Fix a symptom for a bug that straycat found.Roger Dingledine2004-08-25
| | | | | | | | | | | | Apparently in rare cases poll() is returning POLLIN for an idle dns worker. It reads no bytes, presumably because the idle dns worker didn't write anything in the first place. Gosh, who knows. Now we only trigger the assert if the idle dns worker actually tries to send an answer to us. svn:r2311