aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
Commit message (Collapse)AuthorAge
...
* Append default exit policy before checking for implicit internal addresses: ↵Nick Mathewson2005-05-14
| | | | | | fix bug 129. svn:r4201
* Remove support for looking at old directory/routerdesc elements; mark ↵Nick Mathewson2005-05-02
| | | | | | non-new elements optional; switch to new format for dir-signing-key; start accepting newer elements so we can mark them as non-opt later; make tor-spec say the right stuff. svn:r4154
* Fix unit tests for buffers.Nick Mathewson2005-04-26
| | | | svn:r4124
* Clean/renormalize whitespaceNick Mathewson2005-04-26
| | | | svn:r4122
* Change the implementation of buf_t a lot: make it a ring buffer to minimize ↵Nick Mathewson2005-04-26
| | | | | | memmove on flush. This may break the universe, but it is probably Necessary For Perfomance. svn:r4121
* tie MAX_DIR_SIZE to MAX_BUF_SIZERoger Dingledine2005-04-07
| | | | | | | resolve bug 80 svn:r4052
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* Change version parsing logic: a version is "obsolete" if it is not ↵Nick Mathewson2005-03-01
| | | | | | recommended and (1) there is a newer recommended version in the same series, or (2) there are no recommended versions in the same series, but there are some recommended versions in a newer series. A version is "new" if it is newer than any recommended version in the same series. svn:r3716
* Change from inet_ntoa to a threadproof tor_inet_ntoa.Nick Mathewson2005-02-22
| | | | svn:r3656
* Print uname on start of unittests.Nick Mathewson2005-02-22
| | | | svn:r3646
* Fix dumb bug in unittests.Nick Mathewson2005-01-22
| | | | svn:r3409
* Have reason string for serverdesc post requests contain actual serverdesc ↵Nick Mathewson2005-01-20
| | | | | | status. Also fix return values of dirserv_add_descriptor to work as advertised. svn:r3391
* Add unittests for compression detection. Make all rendezvous descriptors ↵Nick Mathewson2005-01-19
| | | | | | "plausible". svn:r3375
* fix unit tests: address has to be a non-private IP, and socksportRoger Dingledine2005-01-07
| | | | | | | needs to be 0. svn:r3324
* Fix a fun bug: do not rewrite a cached directory back to the cache; ↵Nick Mathewson2005-01-06
| | | | | | otherwise we will think it is recent and not fetch a newer one. svn:r3319
* 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