aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
Commit message (Collapse)AuthorAge
...
* Logic to implement rendezvous/introduction via unknown servers.Nick Mathewson2005-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a new extend_info_t datatype to hold information needed to extend a circuit (addr,port,keyid,onion_key). Use it in cpath and build_state. Make appropriate functions take or return it instead of routerinfo_t or keyid. - #if 0 needless check in circuit_get_by_edge_conn; if nobody triggers this error in 0.1.0.10, nobody will trigger it. - Implement new hidden service descriptor format, which contains "extend info" for introduction points, along with protocol version list. - Parse new format. - Generate new format - Cache old and new formats alongside each other. - Directories serve "old" format if asked in old way, "newest available" format if asked in new way. - Use new format to find introduction points if possible; otherwise fall back. Keep nickname lists and extendinfo lists in sync. - Tests for new format. - Implement new "v2" INTRODUCE cell format. - Accept new format - Use new format if we have a versioned service descriptor that says the server accepts the new format. - Add documentation for functions and data types. svn:r4506
* Fix unit tests that used old signature for add_fingerprint_to_dirNick Mathewson2005-06-27
| | | | svn:r4495
* Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson2005-06-11
| | | | | | function definition format uniform. svn:r4411
* flesh out the source file descriptions for doxygenRoger Dingledine2005-06-11
| | | | svn:r4404
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* Fix for 152: reject malformed .onion addresses rather then passing them onNick Mathewson2005-06-07
| | | | svn:r4329
* Add unit test for openpgp s2kNick Mathewson2005-06-04
| | | | svn:r4306
* 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