aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
Commit message (Collapse)AuthorAge
* r6979@Kushana: nickm | 2006-07-31 13:16:58 -0400Nick Mathewson2006-07-31
| | | | | | | Add assert_ok functions for strmap and digestmap; use them in unit test code. svn:r6958
* r6958@Kushana: nickm | 2006-07-29 18:54:15 -0400Nick Mathewson2006-07-31
| | | | | | | Looks like we might need a priority queue. svn:r6953
* Remove code to special-case "-cvs" ending, since it has not actually ↵Nick Mathewson2006-07-25
| | | | | | mattered since 0.0.9. Perhaps we can special-case even more... svn:r6898
* when an exit node gets a malformed begin cell, don't complain toRoger Dingledine2006-07-06
| | | | | | | the node operator, since he can't do anything about it. svn:r6733
* Make some more verbose gcc warnings go away.Nick Mathewson2006-06-22
| | | | svn:r6680
* Next batch of memory miserdom: mmap cached-routers file. This is sure to ↵Nick Mathewson2006-06-22
| | | | | | break somewhere. svn:r6675
* Add tests for several of the more recently committed functions.Nick Mathewson2006-06-18
| | | | svn:r6639
* 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