aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* Build without warnings on mac gcc 3.3Nick Mathewson2004-10-14
| | | | svn:r2487
* make it build on amd64Roger Dingledine2004-10-14
| | | | svn:r2486
* and another oneRoger Dingledine2004-10-14
| | | | svn:r2484
* more int to size_t conversions, fixing one or more amd64 bugsRoger Dingledine2004-10-14
| | | | | | | plus a whitespace patch on config.c from vicman svn:r2482
* Add missing line; add similar checkNick Mathewson2004-10-14
| | | | svn:r2481
* Patch from "J Doe": Use SHGetSpecialFolderLocation instead ofNick Mathewson2004-10-14
| | | | | | | | | | | | | | | | | | | SHGetSpecialFolderPath in order to find application data folder. Apparently, until IE 4 (!?) came out, nobody realized that programmers might like to get paths as strings. Clearly, a fancy pseudo-OO list of "identifiers" is a far more convenient way to deal with these things. And while we're being OO, why return object that you can free with free()? Instead, let's make the user get a handle to an abstract allocation object, and ask it to free the fancy list, and then ask it to release itself. Won't that be fun and convenient? Navigating ancient Win32 APIs is like bikini-waxing creatures from HP Lovecraft: to do a good job you must understand what's going on... but the understanding itself can blast your sanity. svn:r2480
* 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