aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
Commit message (Collapse)AuthorAge
...
* now we can tell dirserv_dump_directory_to_string() whether we wantRoger Dingledine2006-06-13
| | | | | | | it to include down/invalid descriptors or not. svn:r6618
* forward-port: "Resolve" all XXX011 items, mostly by marking them non-011.Nick Mathewson2006-04-18
| | | | svn:r6396
* Remove DER64 functions in trunk: they will never be used again unless the ↵Nick Mathewson2006-04-10
| | | | | | directory authorities switch back to 0.0.9tooearly. svn:r6376
* Refactor and consolidate addr/exit policies into a new policies.c.Roger Dingledine2006-03-27
| | | | | | | Fix some minor bugs and memory leaks along the way. svn:r6246
* When the controller's *setconf commands fail, collect an error messageRoger Dingledine2006-03-26
| | | | | | | in a string and hand it back. This starts to resolve bug 275. svn:r6241
* Add some functions to escape values from the network before sending them to ↵Nick Mathewson2006-03-05
| | | | | | the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now) svn:r6087
* try to fix bug with spurious "everything is broken" warningNick Mathewson2006-02-13
| | | | svn:r5994
* and don't warn when it happens here either, unless the userRoger Dingledine2006-02-12
| | | | | | | wants to hear it. svn:r5990
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* Add a new config option ExitPolicyRejectPrivate which defaults to 1.Roger Dingledine2006-02-01
| | | | | | | | | | | | | | This means all exit policies will begin with rejecting private addresses, unless the server operator explicitly turns it off. Also, make our code to remove redundancies in the exit policy smarter, so it can detect "reject foo, reject bar, reject *" patterns. Lastly, we can get rid of the "exit policy implicitly accepts" code, since we make everything more explicit now. svn:r5888
* Make unittests pass again.Nick Mathewson2006-01-10
| | | | svn:r5773
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson2005-12-14
| | | | | | intended. svn:r5582
* Whitespace normalizationNick Mathewson2005-12-08
| | | | svn:r5528
* Add a benchmark-aes function to test.c. Off by default.Nick Mathewson2005-12-01
| | | | svn:r5485
* get rid of some unused variablesRoger Dingledine2005-11-24
| | | | svn:r5451
* Replace balanced trees with hash tables: this should make stuff ↵Nick Mathewson2005-11-23
| | | | | | significantly faster. svn:r5441
* On directory servers, old_routers was wasting hundreds of bytes per ↵Nick Mathewson2005-11-05
| | | | | | superseded router descriptor. Roll the signed descriptor info and identifying info into a cache_info struct, and use only that for old_routers. svn:r5349
* Remove last vestiges of old logging interface.Nick Mathewson2005-10-25
| | | | svn:r5317
* Convert circuituse, command, config, connection, relay, router, test to new ↵Nick Mathewson2005-10-25
| | | | | | logging interface svn:r5308
* Allow tor_gzip_uncompress to extract as much as possible from truncated ↵Nick Mathewson2005-10-13
| | | | | | compressed data. Also, fix a bug where truncated compressed data could break tor_gzip_uncompress. [This last part is a backport candidate.] svn:r5247
* Never call free() on tor_malloc()d memory. This is unlikely to be our ↵Nick Mathewson2005-09-30
| | | | | | current leak, but it may help dmalloc work. svn:r5168
* Be more conservative about whether to advertise our dirport.Roger Dingledine2005-09-29
| | | | | | | | | The main change is to not advertise if we're running at capacity and either a) we could hibernate or b) our capacity is low and we're using a default dirport. svn:r5148
* Fix some compiler warningsNick Mathewson2005-09-23
| | | | svn:r5124
* Implement new version handling code.Nick Mathewson2005-09-21
| | | | svn:r5100
* Move to new base64 digest functions. Switch to new router digest ↵Nick Mathewson2005-09-18
| | | | | | calculation. Make sure there are no duplicates in router status lists. svn:r5088
* Make unittests not dieNick Mathewson2005-09-15
| | | | svn:r5071
* add docs, fix whitespace, and make ANY rule in routerparse a little tighter.Nick Mathewson2005-09-13
| | | | svn:r5031
* Use tor_listdir in test.c instead of duplicating ode.Nick Mathewson2005-09-10
| | | | svn:r4981
* Add sorting/searching to smartlistNick Mathewson2005-09-09
| | | | svn:r4977
* 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