Roger Dingledine
|
6f08d121d9
Refactor and consolidate addr/exit policies into a new policies.c.
|
18 years ago |
Roger Dingledine
|
b899b9592a
When the controller's *setconf commands fail, collect an error message
|
18 years ago |
Nick Mathewson
|
5777ee0e1a
Add some functions to escape values from the network before sending them to the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now)
|
18 years ago |
Nick Mathewson
|
2cc66125b8
try to fix bug with spurious "everything is broken" warning
|
18 years ago |
Roger Dingledine
|
b99f903e34
and don't warn when it happens here either, unless the user
|
18 years ago |
Roger Dingledine
|
5f051574d5
Happy new year!
|
18 years ago |
Roger Dingledine
|
92ef9e37e7
Add a new config option ExitPolicyRejectPrivate which defaults to 1.
|
18 years ago |
Nick Mathewson
|
4a7ee9bd3d
Make unittests pass again.
|
18 years ago |
Nick Mathewson
|
1af630d32c
Bite the bullet and limit all our source lines to 80 characters, the way IBM intended.
|
18 years ago |
Nick Mathewson
|
617f71e4ba
Whitespace normalization
|
18 years ago |
Nick Mathewson
|
6443e5ec7f
Add a benchmark-aes function to test.c. Off by default.
|
18 years ago |
Roger Dingledine
|
23efc30776
get rid of some unused variables
|
18 years ago |
Nick Mathewson
|
a39269572f
Replace balanced trees with hash tables: this should make stuff significantly faster.
|
18 years ago |
Nick Mathewson
|
75d85c8214
On directory servers, old_routers was wasting hundreds of bytes per superseded router descriptor. Roll the signed descriptor info and identifying info into a cache_info struct, and use only that for old_routers.
|
18 years ago |
Nick Mathewson
|
5d85560d9e
Remove last vestiges of old logging interface.
|
18 years ago |
Nick Mathewson
|
452f4cfa09
Convert circuituse, command, config, connection, relay, router, test to new logging interface
|
18 years ago |
Nick Mathewson
|
11b76b9ca5
Allow tor_gzip_uncompress to extract as much as possible from truncated compressed data. Also, fix a bug where truncated compressed data could break tor_gzip_uncompress. [This last part is a backport candidate.]
|
18 years ago |
Nick Mathewson
|
de198d800b
Never call free() on tor_malloc()d memory. This is unlikely to be our current leak, but it may help dmalloc work.
|
18 years ago |
Roger Dingledine
|
8ae6e1c226
Be more conservative about whether to advertise our dirport.
|
18 years ago |
Nick Mathewson
|
9050480339
Fix some compiler warnings
|
18 years ago |
Nick Mathewson
|
20b9111266
Implement new version handling code.
|
18 years ago |
Nick Mathewson
|
e86893e87b
Move to new base64 digest functions. Switch to new router digest calculation. Make sure there are no duplicates in router status lists.
|
18 years ago |
Nick Mathewson
|
3dcc4630b9
Make unittests not die
|
18 years ago |
Nick Mathewson
|
4efa652a98
add docs, fix whitespace, and make ANY rule in routerparse a little tighter.
|
18 years ago |
Nick Mathewson
|
d26523e089
Use tor_listdir in test.c instead of duplicating ode.
|
18 years ago |
Nick Mathewson
|
035b1953eb
Add sorting/searching to smartlist
|
18 years ago |
Roger Dingledine
|
711cad94ed
when we think a router is unreachable, pass the message back to the
|
19 years ago |
Nick Mathewson
|
29a6c17d67
Allow tor_gzip_uncompress to handle multiple concatenated compressed strings.
|
19 years ago |
Nick Mathewson
|
26d2301c76
Make unit tests (and others) run without launching listeners, creating subdirectories, and so on.
|
19 years ago |
Nick Mathewson
|
e24d540d81
We no longer need dirserv_load_from_directory_string, so dirserv_add_descriptor no longer has to keep track of where each descriptor ends.
|
19 years ago |