Nick Mathewson
|
aae034d13e
Write a bunch of module documentation.
|
8 роки тому |
Nick Mathewson
|
55c468c521
Whitespace cleaning
|
8 роки тому |
Nick Mathewson
|
ed5d2daba1
Merge remote-tracking branch 'public/ticket20001_v2'
|
8 роки тому |
Nick Mathewson
|
1ab641a70e
Remove version_known, and subtly change the meaning of protocols_known
|
8 роки тому |
Nick Mathewson
|
f3382bd722
Rename "proto " to "pr " in consensuses
|
8 роки тому |
Nick Mathewson
|
e525f5697f
Use protocols to see when EXTEND2 support exists.
|
8 роки тому |
Nick Mathewson
|
90a6fe318c
Vote on 'proto' lines and include them after 'v' lines.
|
8 роки тому |
Nick Mathewson
|
cca1e0acff
Add necessary code to parse and handle required/recommended protocols
|
8 роки тому |
Nick Mathewson
|
4df12239f6
Emit and parse protocol lists in router descriptors
|
8 роки тому |
Nick Mathewson
|
8fdf2f583c
Unit tests for proposal 271 client-side implementation
|
8 роки тому |
Nick Mathewson
|
08d2d7c404
prop272: Believe that all routers are Valid and Running.
|
8 роки тому |
Nick Mathewson
|
4757303873
Fix all -Wshadow warnings on Linux
|
8 роки тому |
Nick Mathewson
|
aaa3129043
Merge remote-tracking branch 'dgoulet/ticket16943_029_05-squashed'
|
8 роки тому |
David Goulet
|
0c26a6db7e
prop250: Parse votes and consensus
|
8 роки тому |
Nick Mathewson
|
ac9784f7f5
Fix a missing break; in dump_desc_init()
|
8 роки тому |
Nick Mathewson
|
69e22e294b
Set binary mode when checking malformed descriptor.
|
8 роки тому |
Nick Mathewson
|
b750a77e3f
fix naked memcmps
|
8 роки тому |
Nick Mathewson
|
c3b720fb26
Try to fix warnings when size_t is smaller than st.st_size.
|
8 роки тому |
Andrea Shepard
|
13a16e0011
Also check if the sandbox is configured as well as if it's active; sandbox_init() runs rather late in the startup process
|
8 роки тому |
Andrea Shepard
|
34d9dabed1
Do sandbox_is_active() check before reconstructing dump_desc() FIFO on startup too
|
8 роки тому |
Andrea Shepard
|
9580b99dab
Add unit test for dump_desc_populate_fifo_from_directory()
|
8 роки тому |
Andrea Shepard
|
f99c9df02b
Make things mockable for dump_desc_populate_fifo_from_directory() unit test
|
8 роки тому |
Andrea Shepard
|
42f089473a
Unit test for dump_desc_populate_one_file()
|
8 роки тому |
Andrea Shepard
|
421cf21b3c
Reload unparseable descriptor dump FIFO state from on-disk dumped descriptors at startup
|
8 роки тому |
Andrea Shepard
|
38cced90ef
Move unparseable descriptor dumps into subdirectory of DataDir
|
8 роки тому |
Andrea Shepard
|
dc37546cff
Add sandbox_is_active() check to dump_desc()
|
8 роки тому |
Andrea Shepard
|
603f483092
Use uint64_t for total length of dumped descriptors, nad be careful about overflows in the loop in dump_desc_fifo_add_and_clean()
|
8 роки тому |
Andrea Shepard
|
35fc5879fb
Expose a few more dump_desc()-related things to the test suite
|
8 роки тому |
Andrea Shepard
|
17ed2fed68
Expose dump_desc() to the test suite and make things it calls mockable
|
8 роки тому |
Andrea Shepard
|
726dc9acf5
Remove old unparseable descriptor logging mechanism, add bump-to-head-of-queue for repeated unparseable descriptors, rename config variable
|
8 роки тому |