aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* Remove need for dirservers file: now, we note trusted dirservers in ↵Nick Mathewson2004-10-14
| | | | | | configuration options, and only need to remember addr:port and key digest for each one. svn:r2479
* Fix comment in dirserv.cNick Mathewson2004-10-13
| | | | svn:r2470
* stop trying to print a NULLRoger Dingledine2004-10-13
| | | | | | | plus make router_nickname_is_approved() more obviously unused svn:r2469
* Unify tests for "did I originate this nonopen OR connection?"Nick Mathewson2004-10-13
| | | | svn:r2468
* Add default trusted-dir-server entries only when no dirserver lines are ↵Nick Mathewson2004-10-13
| | | | | | given in the config file svn:r2467
* fix typoNick Mathewson2004-10-13
| | | | svn:r2466
* fix warning about always-false comparison; detect too-large realport betterNick Mathewson2004-10-13
| | | | svn:r2465
* answer question about rep_hist_note_connect_failedNick Mathewson2004-10-13
| | | | svn:r2464
* hex-to-hex compare makes more sense than hex-to-bin.Nick Mathewson2004-10-13
| | | | svn:r2463
* Make directories get generated properly again; debug key lookup. Also, it ↵Nick Mathewson2004-10-13
| | | | | | is hard to find entries in a table when you never put them there. svn:r2462
* fix const char * vs char * issueRoger Dingledine2004-10-13
| | | | | | | plus unshadow some variables svn:r2460
* Omit any exit rules that follow a catch-all rule when writing a router ↵Nick Mathewson2004-10-13
| | | | | | descriptor. svn:r2459
* Check fingerprint list before generating running-routers lists; also add ↵Nick Mathewson2004-10-13
| | | | | | as-yet-uncalled function to update an OR connection nickname on the fly svn:r2458
* parse HttpProxy address in configRoger Dingledine2004-10-12
| | | | | | | | | fix a potential confusion in fetch_from_buf_http() make all our int config options non-negative better bounds checking on options that are ports svn:r2456
* Appease overzealous gccNick Mathewson2004-10-12
| | | | svn:r2454
* Use tor_parse_long in more placesNick Mathewson2004-10-12
| | | | svn:r2453
* Better bounds checking on parsed intsNick Mathewson2004-10-12
| | | | svn:r2450
* Add default directory serversNick Mathewson2004-10-12
| | | | svn:r2449
* Add fix for remote-crash bug.Nick Mathewson2004-10-12
| | | | svn:r2447
* fix a signed/unsigned comparisonRoger Dingledine2004-10-12
| | | | svn:r2446
* Oops, missed oneNick Mathewson2004-10-12
| | | | svn:r2445
* Note byte-order on result for parse_addr_port()Nick Mathewson2004-10-12
| | | | svn:r2444
* Add an implementation of trusted_dir_server logic to switch towards simply ↵Nick Mathewson2004-10-12
| | | | | | remembering an addr/port/keyid for each trusted dir server svn:r2443
* Add long-term format for dir-signing-key fields (commented out)Nick Mathewson2004-10-12
| | | | svn:r2442
* Use parse_addr_port() function instead of ad-hoc variantsNick Mathewson2004-10-12
| | | | svn:r2441
* Add functions to parse addr[:port] consistentlyNick Mathewson2004-10-12
| | | | svn:r2440
* bugfix on my friday commit: make hidden services work again in cvsRoger Dingledine2004-10-12
| | | | svn:r2439
* fix paul gardner's assert bug.Roger Dingledine2004-10-11
| | | | | | | | | sometimes circuit_get_open_circ_or_launch() can return 0 but not return a circuit, e.g. because too many circuits have failed recently so the new one didn't launch. we need to tolerate that. svn:r2438
* Fix a potential buffer overflow found by Ilja van Sprundel.Roger Dingledine2004-10-11
| | | | | | | We don't think this is exploitable, but best to fix it anyway. svn:r2437
* fix the stale pointer assert bug reported by joe magicRoger Dingledine2004-10-11
| | | | svn:r2436
* when a begin cell has an invalid port, give us a better hint ofRoger Dingledine2004-10-10
| | | | | | | what went wrong svn:r2435
* interim commit for http proxy supportRoger Dingledine2004-10-08
| | | | svn:r2431
* Turn tor_strpartion into a swiss-army-knife function, so it can terminate or ↵Nick Mathewson2004-10-07
| | | | | | not-terminate appropriately. svn:r2429
* Include a dir-signing-key token in directories to tell the parsing entity ↵Nick Mathewson2004-10-07
| | | | | | which key is being used to sign. This is the first step in obsoleting the dirservers file. svn:r2428
* Workaround for bug on windows where cached-directories get crlf corruption.Nick Mathewson2004-10-07
| | | | svn:r2426
* Windows requires a different cast uint64_t formatNick Mathewson2004-10-07
| | | | svn:r2424
* Make base-64-encoded DER work, including workaround for ugly openssl ↵Nick Mathewson2004-10-07
| | | | | | misfeature that makes base64 decoding fail when you strip out the newlines. svn:r2423
* Refactor fingerprint handling: remember hex digests (no spaces) instead of ↵Nick Mathewson2004-10-06
| | | | | | beautified fingerprints svn:r2422
* Fix a couple of typos, one of which conceals a bug in parsing opt keywords ↵Nick Mathewson2004-10-06
| | | | | | with objects svn:r2421
* 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