- 20 May, 2007 2 commits
-
-
Roger Dingledine authored
items we should probably look into. svn:r10227
-
Nick Mathewson authored
Look for extrainfo bodies in the extrainfo mmap, not in the descriptor mmap. Duh. Should fix bug 429. svn:r10226
-
- 16 May, 2007 1 commit
-
-
Nick Mathewson authored
Fix GCC warnings related to local parameters/variables getting shadowed. svn:r10198
-
- 15 May, 2007 1 commit
-
-
Nick Mathewson authored
Be a lot smarter when parsing lists of routers and extrainfos. svn:r10193
-
- 14 May, 2007 1 commit
-
-
Nick Mathewson authored
Cleanup, lock-down, and refactor bits of routerparse.c: use a single unified function to check all signatures. Fix all DOCDOCs. Remove some old dead debugging code. Enforce some parsing rules better. svn:r10192
-
- 02 May, 2007 2 commits
-
-
Nick Mathewson authored
Start implementing key certificate parsing. Note TODO items for combined 101/103. svn:r10097
-
Roger Dingledine authored
authorities should set. This will let future authorities choose not to serve V2 directory information. Also, go through and revamp all the authdir_mode stuff so it tries to do the right thing if you're an auth but not a V1 or V2 auth. svn:r10092
-
- 01 May, 2007 1 commit
-
-
Nick Mathewson authored
Add code to upload extrainfos to authorities running 0.2.0.0-alpha-dev (r10070) or later. svn:r10086
-
- 30 Apr, 2007 1 commit
-
-
Nick Mathewson authored
More work for proposal 104: actually cache extrainfo documents to disk, and reload the cache properly. svn:r10070
-
- 17 Apr, 2007 1 commit
-
-
Nick Mathewson authored
Twiddle tor_version_as_new_as() so we can check for particular svn revisions. With unit tests, for added freshness. svn:r9977
-
- 16 Apr, 2007 6 commits
-
-
Nick Mathewson authored
More proposal-104 stuff: actually remember extra-info stuff. svn:r9975
-
Nick Mathewson authored
Code to generate extrainfo whenever routerdesc is regenerated; code to check extrainfo against routerdesc. svn:r9970
-
Nick Mathewson authored
Enforce checks for number of arguments to items in directory objects more uniformly. svn:r9968
-
Nick Mathewson authored
Now that the directory parser checks for missing items, the rest of the code can just assert that they are there, rather than checking a second time. svn:r9966
-
Nick Mathewson authored
Refactor router/directory parsing backend: use a separate token table for everything that we parse, and enforce the correct count of each item. svn:r9965
-
Nick Mathewson authored
Initial code to parse extra-info documents as described in proposal 104. This is making me realize that the parsing code in routerparse.c is a little daft. svn:r9963
-
- 04 Mar, 2007 1 commit
-
-
Nick Mathewson authored
Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.) svn:r9733
-
- 24 Feb, 2007 1 commit
-
-
Roger Dingledine authored
svn:r9640
-
- 16 Feb, 2007 1 commit
-
-
Nick Mathewson authored
Resolve 56 DOCDOC comments. svn:r9594
-
- 12 Feb, 2007 1 commit
-
-
Nick Mathewson authored
Update copyright dates. svn:r9570
-
- 08 Feb, 2007 1 commit
-
-
Nick Mathewson authored
Fix several bugs in computing recommended versions. 1) refactor is-this-version-good handling and which-vesions-are-good handling to be in the same place. 2) a version is recommended if more than half of the versioning authorities like it, not >= half. 3) "NEW_IN_SERIES" should mean, "I don't know of an 0.1.1.x this recent, and there are some 0.1.2.x versions out", not "I don't know of an 0.1.1.x this recent, but I know some older ones." This should resolve bug 383. svn:r9523
-
- 02 Feb, 2007 1 commit
-
-
Nick Mathewson authored
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477
-
- 22 Jan, 2007 1 commit
-
-
Nick Mathewson authored
Document a few undocumented functions and arguments. svn:r9385
-
- 04 Jan, 2007 1 commit
-
-
Roger Dingledine authored
authority leaves a "v" line blank. svn:r9262
-
- 03 Jan, 2007 1 commit
-
-
Nick Mathewson authored
Add (and specify) a BadDirectory flag to networkstatuses, so authorities can tell clients that some caches are broken. Also, implement an as-yet-unused function to estimate how many bytes will be sent on a directory connection. svn:r9255
-
- 29 Dec, 2006 3 commits
-
-
Nick Mathewson authored
Another cleanup: expand_exit_policy_aliases was totally redundant with respect to router_parse_[private_]addr_policy_private. svn:r9219
-
Nick Mathewson authored
Remove some dead code; refactor some duplicated code. svn:r9206
-
Nick Mathewson authored
Mark a pile of XXXX comments as targetted for 0.1.2: some because they look important, some because they look easy. svn:r9205
-
- 24 Dec, 2006 2 commits
-
-
Nick Mathewson authored
Add a version entry to networkstatus documents; have this entry get parsed and used to calculate whether begin_dir is supported. svn:r9181
-
Nick Mathewson authored
Stop requiring the "opt" keyword before unrecognized directory items. svn:r9180
-
- 13 Dec, 2006 1 commit
-
-
Roger Dingledine authored
New socks command CONNECT_DIR. New config option TunnelDirConns that builds a circ ending at the directory server and delivers a BEGIN_DIR cell if it's running 0.1.2.2-alpha or later. We still need to make one-hop circs when appropriate, while making other conns avoid them. svn:r9098
-
- 30 Nov, 2006 1 commit
-
-
Nick Mathewson authored
Turn an xxxx0124 into an #ifdef; avoid leaking memory. svn:r9013
-
- 14 Nov, 2006 2 commits
-
-
Nick Mathewson authored
Try to compile with fewer warnings on irix64's MIPSpro compiler / environment, which apparently believes that: - off_t can be bigger than size_t. - only mean kids assign things they do not subsequently inspect. I don't try to fix the "error" that makes it say: cc-3970 cc: WARNING File = main.c, Line = 1277 conversion from pointer to same-sized integral type (potential portability problem) uintptr_t sig = (uintptr_t)arg; Because really, what can you do about a compiler that claims to be c99 but doesn't understand that void* x = NULL; uintptr_t y = (uintptr_t) x; is safe? svn:r8948
-
Nick Mathewson authored
Whitespace fixes, and clean up code from last natd patch. svn:r8947
-
- 01 Nov, 2006 1 commit
-
-
Nick Mathewson authored
Add some temporary code to count how many *distinct* router digests we verify. (I have a sneaking suspicion that the numbers look way way high.) svn:r8890
-
- 31 Oct, 2006 1 commit
-
-
Nick Mathewson authored
Dump breakdown of PK operations when we get a USR2 signal. This should help us figure out of we are doing some of them for stupid reasons. svn:r8881
-
- 19 Oct, 2006 1 commit
-
-
Nick Mathewson authored
Change to BadExit logic: Let authorities set an "I list bad exits" flag. Consider an exit bad if it is listed as bad by more than half of *those* authorities. This gives us a better migration path. svn:r8756
-
- 11 Oct, 2006 1 commit
-
-
Nick Mathewson authored
Add client support for a 'BadExit' flag, so authorities can say "Server X is a poor choise for your nytimes.com connections, as it seems to direct them to HoorayForMao.com or (more likely) WouldYouLikeToBuyTheseFineEncyclopedias.com" svn:r8690
-
- 09 Oct, 2006 1 commit
-
-
Nick Mathewson authored
The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx. svn:r8664
-
- 29 Sep, 2006 1 commit
-
-
Nick Mathewson authored
Now, all log messages should be distinct. svn:r8545
-