Nick Mathewson
|
5109de5626
Rename exit_policy to addr_policy, since it gets used for SOCKS and directory connections too. Make all policies get validated in options_validate, and make SOCKS/directory policies get set in options_act.
|
21 years ago |
Nick Mathewson
|
5a5be93f80
Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c
|
21 years ago |
Nick Mathewson
|
cd753df7bf
Resolve many XXXs and all DOCDOCs
|
21 years ago |
Nick Mathewson
|
0059ee5fea
More tests for split
|
21 years ago |
Roger Dingledine
|
394554cfbf
Clean up copyrights.
|
21 years ago |
Roger Dingledine
|
6c61ed4fb5
Make options no longer a global variable.
|
21 years ago |
Nick Mathewson
|
9d604ec615
Add code to read configuration lines from a string as well as a file
|
21 years ago |
Nick Mathewson
|
451f8b5045
- Implement all of control interface except authentication, setconfig,
|
21 years ago |
Nick Mathewson
|
ad4dc74482
Use a stricter set of warnings; make them all pass.
|
21 years ago |
Roger Dingledine
|
85c79ffbc7
canonicalize "src" and "dest" arg order in crypto.c (and others)
|
21 years ago |
Nick Mathewson
|
ce5709184b
Pass with -Wstrict-prototypes
|
21 years ago |
Nick Mathewson
|
44d4516155
Use tor_snprintf, not snprintf
|
21 years ago |
Nick Mathewson
|
bc62f8e983
Replace sprintf with snprintf
|
21 years ago |
Nick Mathewson
|
6899b8001a
Check for low _MSC_VER, not high. On windows, always use winsock.
|
21 years ago |
Nick Mathewson
|
e5049d5aa3
Remove routerinfo_t->is_trusted_dir, and all the twisted machinery used to
|
21 years ago |
Nick Mathewson
|
b130aa3c8f
Fix segfault in unit tests. (Main program is unaffected)
|
21 years ago |
Roger Dingledine
|
de65052312
don't assert multiple things in the same tor_assert()
|
21 years ago |
Nick Mathewson
|
25a046df74
Fix unit tests, make it compile
|
21 years ago |
Nick Mathewson
|
c5964d6738
Basic string-join functionality
|
21 years ago |
Roger Dingledine
|
3737566465
make it build on amd64
|
21 years ago |
Roger Dingledine
|
aebc3a03ba
more int to size_t conversions, fixing one or more amd64 bugs
|
21 years ago |
Nick Mathewson
|
f7404f6bb9
Use tor_parse_long in more places
|
21 years ago |
Nick Mathewson
|
79636823b8
Oops, missed one
|
21 years ago |
Nick Mathewson
|
a91fc48b39
Note byte-order on result for parse_addr_port()
|
21 years ago |
Nick Mathewson
|
8b037509f3
Add functions to parse addr[:port] consistently
|
21 years ago |
Nick Mathewson
|
6c970aec94
Turn tor_strpartion into a swiss-army-knife function, so it can terminate or not-terminate appropriately.
|
21 years ago |
Nick Mathewson
|
c7e8c2098a
Include a dir-signing-key token in directories to tell the parsing entity which key is being used to sign. This is the first step in obsoleting the dirservers file.
|
21 years ago |
Nick Mathewson
|
ce3162d035
Make base-64-encoded DER work, including workaround for ugly openssl misfeature that makes base64 decoding fail when you strip out the newlines.
|
21 years ago |
Nick Mathewson
|
2bba65148b
Refactor fingerprint handling: remember hex digests (no spaces) instead of beautified fingerprints
|
21 years ago |
Nick Mathewson
|
9e8ae9766e
Only check versions against downloaded directories, not cached directories.
|
21 years ago |