Age | Commit message (Collapse) | Author |
|
Update copyright dates.
svn:r9570
|
|
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
|
|
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
|
|
Document a few undocumented functions and arguments.
svn:r9385
|
|
authority leaves a "v" line blank.
svn:r9262
|
|
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
|
|
Another cleanup: expand_exit_policy_aliases was totally redundant with respect to router_parse_[private_]addr_policy_private.
svn:r9219
|
|
Remove some dead code; refactor some duplicated code.
svn:r9206
|
|
Mark a pile of XXXX comments as targetted for 0.1.2: some because they look important, some because they look easy.
svn:r9205
|
|
Add a version entry to networkstatus documents; have this entry get parsed and used to calculate whether begin_dir is supported.
svn:r9181
|
|
Stop requiring the "opt" keyword before unrecognized directory items.
svn:r9180
|
|
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
|
|
Turn an xxxx0124 into an #ifdef; avoid leaking memory.
svn:r9013
|
|
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
|
|
Whitespace fixes, and clean up code from last natd patch.
svn:r8947
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Now, all log messages should be distinct.
svn:r8545
|
|
Differentiate more duplicated log entries
svn:r8542
|
|
Make distinct all non-bug messages at notice or higher that appear 3 or more times.
svn:r8541
|
|
Reserve the nickname "Unnamed" for routers that can't pick a hostname; any
router can call itself Unnamed; directory servers will never allocate Unnamed
to any particular router; clients won't believe that any router is the
canonical Unnamed.
svn:r8529
|
|
Implement server-side reverse DNS using eventdns. Add an option to routerdescs so we can tell which servers have eventdns enabled.
svn:r8437
|
|
routers (on router insert): we already have a map for that. (We need to add an index field to routerinfo_t so we can figure out which point in the routerlist to replace.) Also, add a comment to routerlist.c; arma, please advise?
svn:r8432
|
|
Implement a smartlist_uniq() that will with luck not end the world.
svn:r8396
|
|
Fix bug 327 (part 2): Cast char to unsigned char before passing to toupper/tolower. (Follow the same idiom as with isupper and friends, in case we run into the same problem on SGI or whereever it was.)
svn:r8310
|
|
svn:r8229
|
|
mattered since 0.0.9. Perhaps we can special-case even more...
svn:r6898
|
|
svn:r6678
|
|
svn:r6677
|
|
break somewhere.
svn:r6675
|
|
easier to move from a RAM-mirrors-disk model to a RAM-caches-disk model, and save maybe around 10MB on a directory server.
svn:r6427
|
|
directory authorities switch back to 0.0.9tooearly.
svn:r6376
|
|
svn:r6355
|
|
svn:r6354
|
|
svn:r6308
|
|
svn:r6307
|
|
Fix some minor bugs and memory leaks along the way.
svn:r6246
|
|
connecting and for resolving). Now we tolerate applications
that don't follow the RFCs. But continue to block malformed
names at the socks side.
svn:r6193
|
|
'named' and 'valid'.
svn:r6188
|
|
the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now)
svn:r6087
|
|
understand it); needs testing.
svn:r6086
|
|
svn:r6005
|
|
svn:r5949
|
|
code say which versions it would have accepted. (not tested.)
svn:r5927
|
|
svn:r5911
|
|
entry guard". Make clients parse it and vote on it.
svn:r5856
|
|
svn:r5847
|