aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
Commit message (Collapse)AuthorAge
* Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson2004-11-09
| | | | | | target; fix a braino in dirserv.c svn:r2758
* Resolve many XXXs and all DOCDOCsNick Mathewson2004-11-09
| | | | svn:r2755
* More tests for splitNick Mathewson2004-11-07
| | | | svn:r2705
* Clean up copyrights.Roger Dingledine2004-11-07
| | | | | | | | Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
* Make options no longer a global variable.Roger Dingledine2004-11-06
| | | | | | | | | Now we can try setting an option but back out if it fails to parse, or if it's disallowed (e.g. changing RunAsDaemon from 1 to 0). Use parse_line_from_str rather than parse_line_from_file. svn:r2692
* Add code to read configuration lines from a string as well as a fileNick Mathewson2004-11-04
| | | | svn:r2676
* - Implement all of control interface except authentication, setconfig,Nick Mathewson2004-11-03
| | | | | | | | | and actually making the sockets. - Make sure that identity-based nicknames start with $. - Use new string_join interface. svn:r2661
* Use a stricter set of warnings; make them all pass.Nick Mathewson2004-11-02
| | | | svn:r2645
* canonicalize "src" and "dest" arg order in crypto.c (and others)Roger Dingledine2004-11-02
| | | | svn:r2644
* Pass with -Wstrict-prototypesNick Mathewson2004-10-27
| | | | svn:r2614
* Use tor_snprintf, not snprintfNick Mathewson2004-10-27
| | | | svn:r2609
* Replace sprintf with snprintfNick Mathewson2004-10-27
| | | | svn:r2602
* Check for low _MSC_VER, not high. On windows, always use winsock.Nick Mathewson2004-10-20
| | | | svn:r2575
* Remove routerinfo_t->is_trusted_dir, and all the twisted machinery used toNick Mathewson2004-10-19
| | | | | | | | | | | maintain it. Have clients default to the nickname "client" in their certificates. Give a less frightening warning on obsolete (pre-0.0.8) routerinfo_t's. svn:r2568
* Fix segfault in unit tests. (Main program is unaffected)Nick Mathewson2004-10-17
| | | | svn:r2559
* don't assert multiple things in the same tor_assert()Roger Dingledine2004-10-16
| | | | svn:r2544
* Fix unit tests, make it compileNick Mathewson2004-10-16
| | | | svn:r2543
* Basic string-join functionalityNick Mathewson2004-10-14
| | | | svn:r2521
* make it build on amd64Roger Dingledine2004-10-14
| | | | svn:r2486
* 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
* Use tor_parse_long in more placesNick Mathewson2004-10-12
| | | | svn:r2453
* Oops, missed oneNick Mathewson2004-10-12
| | | | svn:r2445
* Note byte-order on result for parse_addr_port()Nick Mathewson2004-10-12
| | | | svn:r2444
* Add functions to parse addr[:port] consistentlyNick Mathewson2004-10-12
| | | | svn:r2440
* 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
* 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
* Only check versions against downloaded directories, not cached directories.Nick Mathewson2004-10-03
| | | | svn:r2413
* 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
* 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
* cleanup: use strcmpstart() in more placesRoger Dingledine2004-09-23
| | | | svn:r2372
* Add basic wrappers for zlib/gzipNick Mathewson2004-09-02
| | | | svn:r2324
* Functions to test nickname validityNick Mathewson2004-08-18
| | | | svn:r2269
* Move string-splitting into a separate functionNick Mathewson2004-08-17
| | | | svn:r2263
* o clients choose nodes proportional to advertised bandwidthRoger Dingledine2004-08-15
| | | | | | | | | | o and/or while avoiding unreliable nodes, depending on goals o 'fascistfirewall' option to pick dirservers on port 80 and ORs on port 443. o if a begin failed due to exit policy, but we believe the IP should have been allowed, switch that router to exitpolicy reject *:* until we get our next directory. svn:r2231
* Clean up tempdir after finishing unittests; use tor_temp_$PID instead of ↵Nick Mathewson2004-08-11
| | | | | | tor_temp; quit if tor_temp_$PID exists. svn:r2226
* Make unittests passNick Mathewson2004-08-09
| | | | svn:r2205
* Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename ↵Nick Mathewson2004-08-07
| | | | | | format/parse_rfc1123_time; make rephist remember used bandwidth; published used bandwidth in descriptors in 15-minute chunks. Breaks unittests. svn:r2182
* Add functions to format and parse RFC1123-style times, for HTTP protocol.Nick Mathewson2004-08-04
| | | | svn:r2129
* stop using atexit() to remove our pid, since it's calledRoger Dingledine2004-07-22
| | | | | | | | | immediately when we daemonize. also drop our retry period for hidserv desc uploads from 10m to 5m svn:r2111
* Add fingerprint to router format in testsNick Mathewson2004-07-22
| | | | svn:r2106
* now base16_encode() and base32_encode() can't ever failRoger Dingledine2004-07-22
| | | | svn:r2103
* Split uptime into separate fieldNick Mathewson2004-07-20
| | | | svn:r2067
* Change rule from "reject non-recommended versions" to "reject obsolete ↵Nick Mathewson2004-07-16
| | | | | | versions". A version is "obsolete" if it is non-recommended, and at least one recommended version is newer than it. svn:r2052
* Fix warningNick Mathewson2004-07-15
| | | | svn:r2046
* Code to parse tor version numbers so we can do an is-newer-than check.Nick Mathewson2004-07-13
| | | | svn:r2044
* make unit tests pass againRoger Dingledine2004-07-12
| | | | | | | but note a bug that i don't know how to address. nick? svn:r2030
* add 'advertisedbandwidth' to router descriptorRoger Dingledine2004-07-12
| | | | svn:r2028
* More digest/nickname fixesNick Mathewson2004-07-02
| | | | svn:r2000