Commits on Source
35535
5d590861
TOR_ISSPACE, not isspace.
Aug 24, 2005
a120cc20
Dirservers now do their own external reachability testing of each
Aug 24, 2005
7b5be021
add some more todo items, and mark off a few
Aug 24, 2005
e54e970a
ha ha, that infinite loop was fun.
Aug 24, 2005
86f85f24
be much more conservative about logging reachability complaints.
Aug 24, 2005
251c486f
PIDFile should be PidFile
Aug 25, 2005
f0893ddc
Clarify formats, terminology; add more URLs.
Aug 25, 2005
54a6a8f0
Start implementing the server side of the new directory protocol.
Aug 25, 2005
4dc3cb9f
Fix a segfault when starting a dir cache
Aug 25, 2005
e68bed87
Fall back to routerlist instead of descriptor_list when we are a cache.
Aug 25, 2005
d5e426ab
add a tor_dup_addr() function to simplify malloc()+tor_inet_ntoa()
Aug 26, 2005
893acb3a
Make a new AssumeReachable config option that will publish anyway.
Aug 26, 2005
d54d7b7e
Add some documentation; move the signature generation logic into routerparse.c...
Aug 26, 2005
e204dd5d
Remove accidentally added printf
Aug 26, 2005
88989be9
More documenting
Aug 26, 2005
ff25a770
fix syntax err
Aug 26, 2005
fa507c63
put quotes around user-supplied strings so they are more likely to
Aug 26, 2005
cf90a36d
Add quotes around filenames in src/or
Aug 26, 2005
02392491
Only free strmap if it is allocated.
Aug 26, 2005
ee76baae
move a wandering ntohl
Aug 26, 2005
43488472
The circus music begins playing as nickm and arma juggle an ntohl. Hoop-lah!
Aug 26, 2005
7f78be16
Clean up the "add myself as a trusted dirserver" code.
Aug 26, 2005
61f728f4
fix an infinite loop at hup
Aug 26, 2005
f3bccdce
if dirservers set assumereachable, it overrides their individual
Aug 26, 2005
237f5852
make it clearer which elements of routerinfo_t are for reachability
Aug 26, 2005
a47765a1
stop freeing the new global options list whenever we update it.
Aug 26, 2005
0e649ac6
Remove descriptor_list and use routerlist instead. Make directories manage...
Aug 26, 2005
9a3be928
Note that a descriptor has changed when we receive a new directory.
Aug 26, 2005
47aa42fc
Remove a field that nobody sets or uses.
Aug 26, 2005
f559c49c
Make network-status strings wellformed
Aug 26, 2005
47669fa0
Fix assert failure on directory startup.
Aug 26, 2005
715b9723
disarm a trap
Aug 26, 2005
208bdf5f
No need to load cached directory twice
Aug 26, 2005
e24d540d
We no longer need dirserv_load_from_directory_string, so ...
Aug 26, 2005
53431a49
fix compile complaints (and a bug)
Aug 26, 2005
ae4a183e
Change the return values on dirserv_add_descriptor
Aug 26, 2005
77f52e34
fix some logs and comments
Aug 26, 2005
3cc960c7
Make sure that cached-status directory exists.
Aug 26, 2005
a74ad8ef
Remember to mark v2 networkstatus non-dirty when we generate it; also, fix spaces.
Aug 26, 2005
6577e08e
when we're trying to build a circuit and we're being picky about what
Aug 26, 2005
ed070b0f
Set a variable that exists. That works better.
Aug 26, 2005
e8637714
Log when falling back to nonfast/nonstabl routers
Aug 26, 2005
51812f43
some better docs for setting up your own tor network
Aug 26, 2005
e53c6ce8
get the instructions closer to right
Aug 26, 2005
6640daf5
document the AssumeReachable config option
Aug 26, 2005
71c4173b
more servers will make it easier. who knows if it's really needed.
Aug 26, 2005
70fe2a6c
Crashing dirservers on startup is often considered bad form.
Aug 26, 2005
cd2bb915
Fix a warning, add an assert.
Aug 26, 2005
26d2301c
Make unit tests (and others) run without launching listeners, creating subdirectories, and so on.
Aug 26, 2005
d45d66da
More dir-spec tweaks: specify whether concatenation happens before or after...
Aug 26, 2005
2e7de08f
setting up your own network is now a faq entry where it belongs
Aug 26, 2005
c6c403e1
First cut at cleaning 0.1.1.x TODO
Aug 27, 2005
e3a058f3
Change semantics of set_cached_dir; fix massive authdir memleak.
Aug 28, 2005
445bce75
formatting/numbering patch from matt edman
Aug 29, 2005
29a6c17d
Allow tor_gzip_uncompress to handle multiple concatenated compressed strings.
Aug 29, 2005
0691c722
Update routerinfo_t.is_running when generating network status on authdirserver.
Aug 29, 2005
a8c0c51e
a bit of cleanup
Aug 30, 2005
e9524f9d
refactor -- no actual changes
Aug 30, 2005
4240410a
don't whine about reachability if the guy is hibernating now.
Aug 30, 2005
6a52aa52
fix a pair of hard-coded urls
Aug 30, 2005
0b92c28d
Actually set is_hibernating when parsing router descriptors.
Aug 30, 2005
711cad94
when we think a router is unreachable, pass the message back to the
Aug 31, 2005
3b6ab719
and notify the dirserver operator whenever we do
Aug 31, 2005
1b04f381
subtle change to avoid some false positives:
Sep 01, 2005
ba899d06
when we're shutting down and we do something like try to post a
Sep 01, 2005
93179f4e
bugfix: moria2 wasn't listing itself as verified in its directory
Sep 02, 2005
a6a45b77
Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells. Also, add a...
Sep 02, 2005
2e1d31b4
Add fingerprint and contact fields to network-status specification
Sep 02, 2005
09e85212
Make ContactInfo mandatory for authoritative directories.
Sep 02, 2005
9bc3d346
Add contact field to generated network-status objects
Sep 02, 2005
815c092b
Make structs for (v2) network-status and its per-router components. Add...
Sep 02, 2005
78c01a95
Describe approach to downloading status documents; update TODO a bit
Sep 02, 2005
bcbff6dc
Note to self: htonl(htonl(X)) is *not* "twice as good as htonl(X)". Spotted by arma.
Sep 03, 2005
9b949cc1
Excellent. We have at least 8 bytes, so I can safely get the 9th.
Sep 03, 2005
ae726e65
and another byte counting error.
Sep 03, 2005
3485a497
Fix another ntohl
Sep 03, 2005
467fd6e4
fix order of items in network-status
Sep 03, 2005
33b2abbc
remove redundant logs about unreachable servers
Sep 03, 2005
b6a13b6c
Add directory listing functions to util.[ch]. Watch the features creep!
Sep 03, 2005
d2a5b614
if you're an auth dir server, start yourself out as verified.
Sep 03, 2005
1e37ec47
Comment structs, reload a field, start making network status caches work
Sep 04, 2005
c384fa70
stop using the v1 rend desc format. we're going to change v1
Sep 06, 2005
f7256b70
start the process of adding authentication/authorization mechanisms
Sep 06, 2005
5c6c88e7
More stuff for new directories.
Sep 07, 2005
eac917fd
clean whitespace.
Sep 07, 2005
9e76eae8
add missing return
Sep 07, 2005
4aca4726
Logic to launch connections for new directory types.
Sep 07, 2005
0a8a8ba5
fix some typos
Sep 08, 2005
08348ae6
add a RESETCONF controller command, and make setconf with a null
Sep 08, 2005
0ac3c584
clean up comments for router_is_general_exit()
Sep 08, 2005
03ddeb26
strip obsolete code
Sep 08, 2005
c9e1c418
dirserv_add_descriptor() doesn't chew up its argument anymore,
Sep 08, 2005
2f6664ce
MonthlyAccountingStart is dead.
Sep 08, 2005
f50ddfd4
Download network-status at regular intervals. The code is probably iffy, and...
Sep 08, 2005
8f373571
Make GCC v4 happy with heavy warnings enabled.
Sep 08, 2005
780261aa
don't crash now that LongLivedPorts can be null
Sep 08, 2005
69da0ef7
add punctuation
Sep 08, 2005
36fa360c
and fix grammar
Sep 08, 2005
74fb0862
if you give a config option in the torrc or the commandline with no
Sep 08, 2005
dbeb8e78
it really does help with the functions end.
Sep 08, 2005
35,435 additional commits have been omitted to prevent performance issues.
Loading
Loading