aboutsummaryrefslogtreecommitdiff
path: root/src
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
* a few more ints to size_tsRoger Dingledine2004-10-13
| | | | svn:r2461
* 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
* ok, vim isn't the greatest editor in the worldRoger Dingledine2004-10-12
| | | | svn:r2457
* 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
* start the great migration from int to size_tRoger Dingledine2004-10-12
| | | | | | | and clean some deadweight from util.h svn:r2455
* Appease overzealous gccNick Mathewson2004-10-12
| | | | svn:r2454
* Use tor_parse_long in more placesNick Mathewson2004-10-12
| | | | svn:r2453
* Make a bounds-checking replacement for strtol with slightly easier ↵Nick Mathewson2004-10-12
| | | | | | error-checking in the common case svn:r2452
* fix signed/unsigned comparison, plus typoRoger Dingledine2004-10-12
| | | | svn:r2451
* 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
* fix compile error: move variable declarations before codeRoger Dingledine2004-10-08
| | | | svn:r2430
* 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
* More complete docs for crypto.c; factor out string partitioning codeNick Mathewson2004-10-07
| | | | svn:r2427
* Workaround for bug on windows where cached-directories get crlf corruption.Nick Mathewson2004-10-07
| | | | svn:r2426
* Bump windows versionNick Mathewson2004-10-07
| | | | svn:r2425
* 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
* Add a function to remove a set of characters from a stringNick Mathewson2004-10-06
| | | | svn:r2420
* Implement (temporarily) a base64-encoded-DER format for RSA keys; make it ↵Nick Mathewson2004-10-06
| | | | | | easier to generate fingerprints with no space svn:r2419
* 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