Nick Mathewson
|
52b8dfa95a
Fix a bunch of spaces.
|
18 years ago |
Nick Mathewson
|
89a1453776
Set offset properly when parsing cache.
|
18 years ago |
Nick Mathewson
|
b7910202a3
Next batch of memory miserdom: mmap cached-routers file. This is sure to break somewhere.
|
18 years ago |
Nick Mathewson
|
2b720b5746
Start remembering *where* we are storing routerdescs. This will make us easier to move from a RAM-mirrors-disk model to a RAM-caches-disk model, and save maybe around 10MB on a directory server.
|
18 years ago |
Nick Mathewson
|
1fbc74661f
Remove DER64 functions in trunk: they will never be used again unless the directory authorities switch back to 0.0.9tooearly.
|
18 years ago |
Nick Mathewson
|
53f7a1bb0c
In fairness to gcc, a char** is often _not_ usable as a const void **.
|
18 years ago |
Nick Mathewson
|
eb3e28ba79
Oops. _compare_tor_version_str_ptr wants ptr-to-ptr. Ow.
|
18 years ago |
Roger Dingledine
|
4b6ff2b084
bugfix in sort_version_list() so it doesn't screw up the sorting.
|
18 years ago |
Nick Mathewson
|
eba6204315
fix some xxxs.
|
18 years ago |
Roger Dingledine
|
6f08d121d9
Refactor and consolidate addr/exit policies into a new policies.c.
|
18 years ago |
Roger Dingledine
|
d1d0813cf3
Allow non-printable characters for exit streams (both for
|
18 years ago |
Roger Dingledine
|
c06e6ddadd
Finish the transition from the word 'verified' to the words
|
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
|
6a4e304d9e
Allow private:* in routerdescs; not generated yet (because older Tors do not understand it); needs testing.
|
18 years ago |
Roger Dingledine
|
259c65ab08
the last of the log convention conversion. finally.
|
18 years ago |
Roger Dingledine
|
5f051574d5
Happy new year!
|
18 years ago |
Nick Mathewson
|
e5a574ce2e
Move "sort list of versions" logic into routerparse.c; make version-checking code say which versions it would have accepted. (not tested.)
|
18 years ago |
Roger Dingledine
|
4c1fa73c7e
typos and nits
|
18 years ago |
Nick Mathewson
|
9f42c9d650
Make dirservers generate a separate "guard" flag to mean, "would make a good entry guard". Make clients parse it and vote on it.
|
18 years ago |
Roger Dingledine
|
b9540285af
remove unused code
|
18 years ago |
Nick Mathewson
|
2dd566d5d5
Indirect access to the signed_descriptor field to make it easier to keep them lazily on disk.
|
18 years ago |
Roger Dingledine
|
ddf070e204
bugfix: we were failing to parse a tor version that started with
|
18 years ago |
Nick Mathewson
|
24e79df0b6
Whitespace fixes; comments.
|
18 years ago |
Nick Mathewson
|
5965b3849e
Remove some redundant and obsolete code from routerparse
|
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
|
27a201ac80
Have dirctory authorites note which servers make good V2 directory caches in publishe network-status.
|
18 years ago |
Roger Dingledine
|
58366ffd24
when we changed from log_fn to debug/info/notice/warn/err,
|
18 years ago |
Nick Mathewson
|
9cec3a13f5
remove some functions that are not used; #if0 out some files that are not likely to be used.
|
18 years ago |
Nick Mathewson
|
22aea0757e
Verify that router fingerprint lines match identity keys. (We dont use them, but others might.)
|
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 |