Nick Mathewson
|
810572a5de
Stop dying when we get a directory from tor26; workaround for change in networkstatus format
|
vor 19 Jahren |
Nick Mathewson
|
eac917fd6a
clean whitespace.
|
vor 19 Jahren |
Nick Mathewson
|
5c6c88e76d
More stuff for new directories.
|
vor 19 Jahren |
Nick Mathewson
|
1e37ec4782
Comment structs, reload a field, start making network status caches work
|
vor 19 Jahren |
Nick Mathewson
|
815c092b22
Make structs for (v2) network-status and its per-router components. Add functions to parse them. Re-do the parsing logic a litt.e. Change signatures in or.h to support new DNS TTL logic.
|
vor 19 Jahren |
Nick Mathewson
|
0b92c28d84
Actually set is_hibernating when parsing router descriptors.
|
vor 19 Jahren |
Nick Mathewson
|
d54d7b7ec1
Add some documentation; move the signature generation logic into routerparse.c along with the hash generation logic; make router signing use it as well.
|
vor 19 Jahren |
Nick Mathewson
|
54a6a8f0ef
Start implementing the server side of the new directory protocol.
|
vor 19 Jahren |
Roger Dingledine
|
a120cc20c1
Dirservers now do their own external reachability testing of each
|
vor 19 Jahren |
Roger Dingledine
|
5e76bac1dd
the tor-spec says router->address must be an IP address. so refuse
|
vor 19 Jahren |
Nick Mathewson
|
05bced6139
check_software_version_against_directory needs a return value.
|
vor 19 Jahren |
Nick Mathewson
|
249b72f53e
Replace (Fascist)Firewall* with a new ReachableAddresses option that understands address policies.
|
vor 19 Jahren |
Roger Dingledine
|
3ac34ae329
get rid of IgnoreVersion and the forced auto-exit mis-feature
|
vor 19 Jahren |
Nick Mathewson
|
b759fe4b8d
It is not the end of the world when a router descriptor has an unrecognized kwd
|
vor 19 Jahren |
Nick Mathewson
|
d4972bd2e1
Remove code that has been #if-0ed for a long time.
|
vor 19 Jahren |
Nick Mathewson
|
232861ba42
Docment or add DOCDOC comments to undocumented functions in src/or. Make function definition format uniform.
|
vor 19 Jahren |
Roger Dingledine
|
fcd0fc3364
flesh out the source file descriptions for doxygen
|
vor 19 Jahren |
Nick Mathewson
|
0831823763
Change end-of-file NLNL convention. It turns out arma I and I agree.
|
vor 19 Jahren |
Roger Dingledine
|
b7d6b8a397
doxygeny goodness from tyranix
|
vor 19 Jahren |
Nick Mathewson
|
10b2208d93
Make Tor compile with no warnings with gcc4.0 on OSX
|
vor 19 Jahren |
Roger Dingledine
|
57b7427c2d
reformat routerparse a bit
|
vor 19 Jahren |
Nick Mathewson
|
69dc4e1675
Remove support for looking at old directory/routerdesc elements; mark non-new elements optional; switch to new format for dir-signing-key; start accepting newer elements so we can mark them as non-opt later; make tor-spec say the right stuff.
|
vor 19 Jahren |
Roger Dingledine
|
8dbdbfb831
improved log error message
|
vor 19 Jahren |
Nick Mathewson
|
0e81265359
update copyright notices.
|
vor 19 Jahren |
Roger Dingledine
|
801d5ef1de
spell recommended correctly
|
vor 19 Jahren |
Nick Mathewson
|
df9c8feac7
Commit fixes for several pending tor core tasks: document all DOCDOCed functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value.
|
vor 19 Jahren |
Nick Mathewson
|
83743d64ab
Change version parsing logic: a version is "obsolete" if it is not recommended and (1) there is a newer recommended version in the same series, or (2) there are no recommended versions in the same series, but there are some recommended versions in a newer series. A version is "new" if it is newer than any recommended version in the same series.
|
vor 19 Jahren |
Nick Mathewson
|
bbaa3c7792
Implement more control spec functionality
|
vor 19 Jahren |
Nick Mathewson
|
6e6d95b3db
Change from inet_ntoa to a threadproof tor_inet_ntoa.
|
vor 19 Jahren |
Roger Dingledine
|
d273891107
if we fetch the dir from a mirror that has a wildly skewed
|
vor 19 Jahren |