aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
Commit message (Collapse)AuthorAge
* Nothing actually _uses_ socks_port, so why publish it? For backward ↵Nick Mathewson2005-01-04
| | | | | | compatibility, publish a socks_port of 0, and never read socks_port. svn:r3279
* Remove length restriction when generating directories.Nick Mathewson2004-12-24
| | | | svn:r3218
* Make split(..., NULL) split on horizontal space; fix bug with tabs in config ↵Nick Mathewson2004-12-16
| | | | | | file. svn:r3155
* Renormalize whitespaceNick Mathewson2004-12-07
| | | | svn:r3095
* Make unit tests work on win32Nick Mathewson2004-12-07
| | | | svn:r3094
* Add function to check that addr_policy_t is okay; change struct ↵Nick Mathewson2004-12-04
| | | | | | addr_policy_t to addr_policy_t. svn:r3070
* Rename parse_address to parse_extended_hostname (since we have other kinds ↵Nick Mathewson2004-11-30
| | | | | | of addresses); make its output an enum; support HEXDIGEST.exit hostnames. svn:r3029
* Implement new version format for post 0.1.Nick Mathewson2004-11-29
| | | | svn:r3022
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* put in initial support for ".nickname.exit" addresses, to let aliceRoger Dingledine2004-11-29
| | | | | | | | | | decide what exit node to use; based on a patch by geoff goodell. needs more work: e.g. it goes bananas building new circuits when the chosen exit node's exit policy rejects the connection. svn:r3015
* correct multiple internal spacesNick Mathewson2004-11-28
| | | | svn:r3004
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* update unit tests to reflect changed interfaceRoger Dingledine2004-11-23
| | | | svn:r2952
* Normalize a few more kinds of whitespace. We now dislike:Nick Mathewson2004-11-22
| | | | | | | | | - func (args) - if (x){ This doesn't normalize if(x), for(x); while(x), and friends. svn:r2943
* Nobody was using the return values from smartlist_(set|del|del_keeporder), ↵Nick Mathewson2004-11-12
| | | | | | so remove them. svn:r2823
* Rename exit_policy to addr_policy, since it gets used for SOCKS and ↵Nick Mathewson2004-11-12
| | | | | | directory connections too. Make all policies get validated in options_validate, and make SOCKS/directory policies get set in options_act. svn:r2819
* 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