summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
AgeCommit message (Collapse)Author
2006-08-26remove some more vestiges of cvsRoger Dingledine
svn:r8229
2006-07-25Remove code to special-case "-cvs" ending, since it has not actually ↵Nick Mathewson
mattered since 0.0.9. Perhaps we can special-case even more... svn:r6898
2006-06-22Fix a bunch of spaces.Nick Mathewson
svn:r6678
2006-06-22Set offset properly when parsing cache.Nick Mathewson
svn:r6677
2006-06-22Next batch of memory miserdom: mmap cached-routers file. This is sure to ↵Nick Mathewson
break somewhere. svn:r6675
2006-04-29Start remembering *where* we are storing routerdescs. This will make us ↵Nick Mathewson
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
2006-04-10Remove DER64 functions in trunk: they will never be used again unless the ↵Nick Mathewson
directory authorities switch back to 0.0.9tooearly. svn:r6376
2006-04-10In fairness to gcc, a char** is often _not_ usable as a const void **.tor-0.1.1.22tor-0.1.1.21tor-0.1.1.20tor-0.1.1.19-rcNick Mathewson
svn:r6355
2006-04-10Oops. _compare_tor_version_str_ptr wants ptr-to-ptr. Ow.Nick Mathewson
svn:r6354
2006-04-03bugfix in sort_version_list() so it doesn't screw up the sorting.Roger Dingledine
svn:r6308
2006-04-03fix some xxxs.Nick Mathewson
svn:r6307
2006-03-27Refactor and consolidate addr/exit policies into a new policies.c.Roger Dingledine
Fix some minor bugs and memory leaks along the way. svn:r6246
2006-03-19Allow non-printable characters for exit streams (both forRoger Dingledine
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
2006-03-19Finish the transition from the word 'verified' to the wordsRoger Dingledine
'named' and 'valid'. svn:r6188
2006-03-05Add some functions to escape values from the network before sending them to ↵Nick Mathewson
the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now) svn:r6087
2006-03-05Allow private:* in routerdescs; not generated yet (because older Tors do not ↵Nick Mathewson
understand it); needs testing. svn:r6086
2006-02-13the last of the log convention conversion. finally.Roger Dingledine
svn:r6005
2006-02-09Happy new year!Roger Dingledine
svn:r5949
2006-02-06Move "sort list of versions" logic into routerparse.c; make version-checking ↵Nick Mathewson
code say which versions it would have accepted. (not tested.) svn:r5927
2006-02-05typos and nitsRoger Dingledine
svn:r5911
2006-01-24Make dirservers generate a separate "guard" flag to mean, "would make a good ↵Nick Mathewson
entry guard". Make clients parse it and vote on it. svn:r5856
2006-01-20remove unused codeRoger Dingledine
svn:r5847
2006-01-12Indirect access to the signed_descriptor field to make it easier to keep ↵Nick Mathewson
them lazily on disk. svn:r5827
2006-01-02bugfix: we were failing to parse a tor version that started withRoger Dingledine
"Tor ", even though we said we could. svn:r5699
2005-12-15Whitespace fixes; comments.Nick Mathewson
svn:r5596
2005-12-15Remove some redundant and obsolete code from routerparseNick Mathewson
svn:r5594
2005-12-14Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson
intended. svn:r5582
2005-12-12Have dirctory authorites note which servers make good V2 directory caches in ↵Nick Mathewson
publishe network-status. svn:r5574
2005-12-10when we changed from log_fn to debug/info/notice/warn/err,Roger Dingledine
we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551
2005-11-30remove some functions that are not used; #if0 out some files that are not ↵Nick Mathewson
likely to be used. svn:r5471
2005-11-15Verify that router fingerprint lines match identity keys. (We dont use them, ↵Nick Mathewson
but others might.) svn:r5389
2005-11-05On directory servers, old_routers was wasting hundreds of bytes per ↵Nick Mathewson
superseded router descriptor. Roll the signed descriptor info and identifying info into a cache_info struct, and use only that for old_routers. svn:r5349
2005-10-28Fix bug when parsing list of router descriptors containing a truncated ↵Nick Mathewson
entry. (Found by Lasse) svn:r5327
2005-10-25Remove last vestiges of old logging interface.Nick Mathewson
svn:r5317
2005-10-25Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" ↵Nick Mathewson
domain. Domains are now bitmasks... just in case. Make some err msgs non-general. svn:r5309
2005-10-24Use LD_BUG as appropriate; convert rend* and router* to new logging ↵Nick Mathewson
interface; use new circ_log_path interface svn:r5302
2005-10-18fix some typosRoger Dingledine
svn:r5283
2005-10-14Try to extract as many descriptors as possible from truncated http ↵Nick Mathewson
responses. (when DIR_PURPOSE_FETCH_ROUTERDESC) svn:r5249
2005-10-07Strip extra trailing newlines when parsing router descriptors.Nick Mathewson
svn:r5212
2005-09-30Try to hunt down a few more leaksNick Mathewson
svn:r5172
2005-09-30Resolve several DOCDOCs. Make non-mirrors only launch routerdesc downloads ↵Nick Mathewson
when they have more than 16 router descriptors to download, or when 10 minutes have passed since the last download. svn:r5166
2005-09-29clean up some doxygen stuffRoger Dingledine
svn:r5147
2005-09-21Only check versions from versioning authdirs.Nick Mathewson
svn:r5101
2005-09-21Implement new version handling code.Nick Mathewson
svn:r5100
2005-09-20clean up a bit more codeRoger Dingledine
svn:r5098
2005-09-18Prevent a "try forever to download an unobtainable descriptor" bug. Still ↵Nick Mathewson
remaining: the "give up forever" bug. svn:r5090
2005-09-18Move to new base64 digest functions. Switch to new router digest ↵Nick Mathewson
calculation. Make sure there are no duplicates in router status lists. svn:r5088
2005-09-16Remove a bunch of #if0d code that I no longer need to look at.Nick Mathewson
svn:r5083
2005-09-16Resolve/expand some XXXXs and improve a log message or twoNick Mathewson
svn:r5082
2005-09-15Stop downloading directories and download routers instead. This still needs ↵Nick Mathewson
some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing. svn:r5070