aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
Commit message (Collapse)AuthorAge
* when we think a router is unreachable, pass the message back to theRoger Dingledine2005-08-31
| | | | | | | | server's logs, and make it a 'warn'. also, fix a memory leak for rejected router descriptors. svn:r4889
* Allow tor_gzip_uncompress to handle multiple concatenated compressed strings.Nick Mathewson2005-08-29
| | | | svn:r4882
* Make unit tests (and others) run without launching listeners, creating ↵Nick Mathewson2005-08-26
| | | | | | subdirectories, and so on. svn:r4876
* We no longer need dirserv_load_from_directory_string, so ↵Nick Mathewson2005-08-26
| | | | | | dirserv_add_descriptor no longer has to keep track of where each descriptor ends. svn:r4861
* Remove accidentally added printfNick Mathewson2005-08-26
| | | | svn:r4841
* Add some documentation; move the signature generation logic into ↵Nick Mathewson2005-08-26
| | | | | | routerparse.c along with the hash generation logic; make router signing use it as well. svn:r4840
* Make unit tests run without segfaultingNick Mathewson2005-08-22
| | | | svn:r4804
* Make GCC very happy, even with lots of warnings set. Also, try to fix some ↵Nick Mathewson2005-08-12
| | | | | | reported Solaris x86 warnings. svn:r4770
* Fix segfault in unit testsNick Mathewson2005-08-09
| | | | svn:r4760
* Replace (Fascist)Firewall* with a new ReachableAddresses option that ↵Nick Mathewson2005-08-08
| | | | | | understands address policies. svn:r4751
* Rename cross-format config.c stuff to config_* and or_options_t-specific ↵Nick Mathewson2005-07-23
| | | | | | stuff to option[s]_* svn:r4641
* Be consistent about preferring foo* to struct foo*Nick Mathewson2005-07-22
| | | | svn:r4637
* unit tests to prove i didn't screw upRoger Dingledine2005-07-18
| | | | svn:r4602
* Fix several bugs in read_escaped_data; add a unit test and a few docsNick Mathewson2005-07-15
| | | | svn:r4580
* 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