ChangeLog 371 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388
  1. Changes in version 0.2.1.9-alpha - 2008-12-2?
  2. o Major features:
  3. - Never use a connection with a mismatched address to extend a
  4. circuit, unless that connections is canonical. A canonical
  5. connection is one whose address is authenticated by the router's
  6. identity key, either in a NETINFO cell or in a router descriptor.
  7. o Major bugfixes:
  8. - Fix a logic error that would automatically reject all but the first
  9. configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
  10. part of bug 813/868. Bug spotted by coderman.
  11. - When a stream at an exit relay is in state "resolving" or
  12. "connecting" and it receives an "end" relay cell, the exit relay
  13. would silently ignore the end cell and not close the stream. If
  14. the client never closes the circuit, then the exit relay never
  15. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  16. reported by "wood".
  17. - Avoid a possible memory corruption bug when receiving hidden service
  18. descriptors. Bugfix on 0.2.1.6-alpha.
  19. o Minor features:
  20. - Give a better error message when an overzealous init script says
  21. "sudo -u username tor --user username". Makes Bug 882 easier for
  22. users to diagnose.
  23. - When a directory authority gives us a new guess for our IP address,
  24. log which authority we used. Hopefully this will help us debug
  25. the recent complaints about bad IP address guesses.
  26. - When we can't initialize DNS because the network is down, do not
  27. automatically stop Tor from starting. Instead, we retry failed
  28. dns_inits() every 10 minutes, and change the exit policy to reject
  29. *:* until one succeeds. Fixes bug 691.
  30. - Detect svn revision properly when we're using git-svn.
  31. - Try not to open more than one descriptor-downloading connection
  32. to an authority at once. This should reduce load on directory
  33. authorities. Fixes bug 366.
  34. - Add cross-certification to newly generated certificates, so that
  35. a signing key is enough information to use to look up a certificate.
  36. Partial implementation of proposal 157.
  37. - Start serving certificates by <identity digest, signing key digest>
  38. pairs. Partial implementation of proposal 157.
  39. - Clients now never report any stream end reason except 'MISC'.
  40. Implements proposal 148.
  41. o Minor features (controller):
  42. - New CONSENSUS_ARRIVED event to note when a new consensus has
  43. been fetched and validated.
  44. - Finally remove deprecated "EXTENDED_FORMAT" feature. It has
  45. been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  46. - When we realize that another process has modified our cached
  47. descriptors, print out a more useful error message rather than
  48. triggering an assertion. Fixes bug 885. Patch from Karsten.
  49. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  50. controllers to prevent SIGHUP from reloading the
  51. configuration. Fixes bug 856.
  52. o Minor bugfixes:
  53. - Resume using the correct "REASON=" stream when telling the
  54. controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
  55. - When a canonical connection appears later in our internal list
  56. than a noncanonical one for a given OR ID, always use the
  57. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  58. Spotted by rovv.
  59. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  60. seconds. Warn the user if lower values are given in the
  61. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  62. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  63. user if lower values are given in the configuration. Bugfix on
  64. 0.1.1.17-rc. Patch by Sebastian.
  65. o Minor bugfixes (hidden services):
  66. - Do not throw away existing introduction points on SIGHUP; bugfix on
  67. 0.0.6pre1; also, do not stall hidden services because of
  68. introduction points thrown away; bugfix on 0.2.1.7-alpha. Spotted
  69. by John Brooks. Patch by Karsten. Fixes bug 874.
  70. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  71. the cache because we already had a v0 descriptor with the same ID.
  72. Bugfix on 0.2.0.18-alpha.
  73. o Deprecated and removed features:
  74. - RedirectExits has been removed. It was deprecated since 0.2.0.3-alpha.
  75. o Code simplifications and refactoring:
  76. - Rename the confusing or_is_obsolete field to the more appropriate
  77. is_bad_for_new_circs, and move it to or_connection_t where it
  78. belongs.
  79. - Move edge-only flags from connection_t to edge_connection_t: not
  80. only is this better coding, but on machines of plausible alignment,
  81. it should save 4-8 bytes per connection_t. "Every little bit helps."
  82. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  83. for consistency; keep old option working for backward compatibility.
  84. Changes in version 0.2.1.8-alpha - 2008-12-08
  85. Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
  86. builds better on unusual platforms like Solaris and old OS X, and
  87. fixes a variety of other issues.
  88. o Major features:
  89. - New DirPortFrontPage option that takes an html file and publishes
  90. it as "/" on the DirPort. Now relay operators can provide a
  91. disclaimer without needing to set up a separate webserver. There's
  92. a sample disclaimer in contrib/tor-exit-notice.html.
  93. o Security fixes:
  94. - When the client is choosing entry guards, now it selects at most
  95. one guard from a given relay family. Otherwise we could end up with
  96. all of our entry points into the network run by the same operator.
  97. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  98. o Major bugfixes:
  99. - Fix a DOS opportunity during the voting signature collection process
  100. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  101. - Fix a possible segfault when establishing an exit connection. Bugfix
  102. on 0.2.1.5-alpha.
  103. o Minor bugfixes:
  104. - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
  105. bug 859.
  106. - Made Tor a little less aggressive about deleting expired
  107. certificates. Partial fix for bug 854.
  108. - Stop doing unaligned memory access that generated bus errors on
  109. sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
  110. - Fix a crash bug when changing EntryNodes from the controller. Bugfix
  111. on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
  112. - Make USR2 log-level switch take effect immediately. Bugfix on
  113. 0.1.2.8-beta.
  114. - If one win32 nameserver fails to get added, continue adding the
  115. rest, and don't automatically fail.
  116. - Use fcntl() for locking when flock() is not available. Should fix
  117. compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
  118. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  119. could make gcc generate non-functional binary search code. Bugfix
  120. on 0.2.0.10-alpha.
  121. - Build correctly on platforms without socklen_t.
  122. - Avoid potential crash on internal error during signature collection.
  123. Fixes bug 864. Patch from rovv.
  124. - Do not use C's stdio library for writing to log files. This will
  125. improve logging performance by a minute amount, and will stop
  126. leaking fds when our disk is full. Fixes bug 861.
  127. - Stop erroneous use of O_APPEND in cases where we did not in fact
  128. want to re-seek to the end of a file before every last write().
  129. - Correct handling of possible malformed authority signing key
  130. certificates with internal signature types. Fixes bug 880. Bugfix
  131. on 0.2.0.3-alpha.
  132. - Fix a hard-to-trigger resource leak when logging credential status.
  133. CID 349.
  134. o Minor features:
  135. - Directory mirrors no longer fetch the v1 directory or
  136. running-routers files. They are obsolete, and nobody asks for them
  137. anymore. This is the first step to making v1 authorities obsolete.
  138. o Minor features (controller):
  139. - Return circuit purposes in response to GETINFO circuit-status. Fixes
  140. bug 858.
  141. Changes in version 0.2.0.32 - 2008-11-20
  142. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  143. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  144. a smaller security flaw that might allow an attacker to access local
  145. services, further improves hidden service performance, and fixes a
  146. variety of other issues.
  147. o Security fixes:
  148. - The "User" and "Group" config options did not clear the
  149. supplementary group entries for the Tor process. The "User" option
  150. is now more robust, and we now set the groups to the specified
  151. user's primary group. The "Group" option is now ignored. For more
  152. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  153. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  154. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  155. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  156. consistently obeyed: if an exit relay refuses a stream because its
  157. exit policy doesn't allow it, we would remember what IP address
  158. the relay said the destination address resolves to, even if it's
  159. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  160. o Major bugfixes:
  161. - Fix a DOS opportunity during the voting signature collection process
  162. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  163. o Major bugfixes (hidden services):
  164. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  165. we were failing the whole hidden service request when the v0
  166. descriptor fetch fails, even if the v2 fetch is still pending and
  167. might succeed. Similarly, if the last v2 fetch fails, we were
  168. failing the whole hidden service request even if a v0 fetch is
  169. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  170. - When extending a circuit to a hidden service directory to upload a
  171. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  172. requests failed, because the router descriptor has not been
  173. downloaded yet. In these cases, do not attempt to upload the
  174. rendezvous descriptor, but wait until the router descriptor is
  175. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  176. descriptor from a hidden service directory for which the router
  177. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  178. on 0.2.0.10-alpha.
  179. o Minor bugfixes:
  180. - Fix several infrequent memory leaks spotted by Coverity.
  181. - When testing for libevent functions, set the LDFLAGS variable
  182. correctly. Found by Riastradh.
  183. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  184. bootstrapping with tunneled directory connections. Bugfix on
  185. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  186. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  187. and we know that server B rejects most-but-not all connections to
  188. port 80, we would previously reject the connection. Now, we assume
  189. the user knows what they were asking for. Fixes bug 752. Bugfix
  190. on 0.0.9rc5. Diagnosed by BarkerJr.
  191. - If we overrun our per-second write limits a little, count this as
  192. having used up our write allocation for the second, and choke
  193. outgoing directory writes. Previously, we had only counted this when
  194. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  195. Bugfix on 0.2.0.x (??).
  196. - Remove the old v2 directory authority 'lefkada' from the default
  197. list. It has been gone for many months.
  198. - Stop doing unaligned memory access that generated bus errors on
  199. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  200. - Make USR2 log-level switch take effect immediately. Bugfix on
  201. 0.1.2.8-beta.
  202. o Minor bugfixes (controller):
  203. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  204. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  205. Changes in version 0.2.1.7-alpha - 2008-11-08
  206. Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
  207. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  208. a smaller security flaw that might allow an attacker to access local
  209. services, adds better defense against DNS poisoning attacks on exit
  210. relays, further improves hidden service performance, and fixes a
  211. variety of other issues.
  212. o Security fixes:
  213. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  214. consistently obeyed: if an exit relay refuses a stream because its
  215. exit policy doesn't allow it, we would remember what IP address
  216. the relay said the destination address resolves to, even if it's
  217. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  218. - The "User" and "Group" config options did not clear the
  219. supplementary group entries for the Tor process. The "User" option
  220. is now more robust, and we now set the groups to the specified
  221. user's primary group. The "Group" option is now ignored. For more
  222. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  223. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  224. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
  225. - Do not use or believe expired v3 authority certificates. Patch
  226. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  227. o Minor features:
  228. - Now NodeFamily and MyFamily config options allow spaces in
  229. identity fingerprints, so it's easier to paste them in.
  230. Suggested by Lucky Green.
  231. - Implement the 0x20 hack to better resist DNS poisoning: set the
  232. case on outgoing DNS requests randomly, and reject responses that do
  233. not match the case correctly. This logic can be disabled with the
  234. ServerDNSRamdomizeCase setting, if you are using one of the 0.3%
  235. of servers that do not reliably preserve case in replies. See
  236. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  237. for more info.
  238. - Preserve case in replies to DNSPort requests in order to support
  239. the 0x20 hack for resisting DNS poisoning attacks.
  240. o Hidden service performance improvements:
  241. - When the client launches an introduction circuit, retry with a
  242. new circuit after 30 seconds rather than 60 seconds.
  243. - Launch a second client-side introduction circuit in parallel
  244. after a delay of 15 seconds (based on work by Christian Wilms).
  245. - Hidden services start out building five intro circuits rather
  246. than three, and when the first three finish they publish a service
  247. descriptor using those. Now we publish our service descriptor much
  248. faster after restart.
  249. o Minor bugfixes:
  250. - Minor fix in the warning messages when you're having problems
  251. bootstrapping; also, be more forgiving of bootstrap problems when
  252. we're still making incremental progress on a given bootstrap phase.
  253. - When we're choosing an exit node for a circuit, and we have
  254. no pending streams, choose a good general exit rather than one that
  255. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  256. - Send a valid END cell back when a client tries to connect to a
  257. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  258. 840. Patch from rovv.
  259. - If a broken client asks a non-exit router to connect somewhere,
  260. do not even do the DNS lookup before rejecting the connection.
  261. Fixes another case of bug 619. Patch from rovv.
  262. - Fix another case of assuming, when a specific exit is requested,
  263. that we know more than the user about what hosts it allows.
  264. Fixes another case of bug 752. Patch from rovv.
  265. - Check which hops rendezvous stream cells are associated with to
  266. prevent possible guess-the-streamid injection attacks from
  267. intermediate hops. Fixes another case of bug 446. Based on patch
  268. from rovv.
  269. - Avoid using a negative right-shift when comparing 32-bit
  270. addresses. Possible fix for bug 845 and bug 811.
  271. - Make the assert_circuit_ok() function work correctly on circuits that
  272. have already been marked for close.
  273. - Fix read-off-the-end-of-string error in unit tests when decoding
  274. introduction points.
  275. - Fix uninitialized size field for memory area allocation: may improve
  276. memory performance during directory parsing.
  277. - Treat duplicate certificate fetches as failures, so that we do
  278. not try to re-fetch an expired certificate over and over and over.
  279. - Do not say we're fetching a certificate when we'll in fact skip it
  280. because of a pending download.
  281. Changes in version 0.2.1.6-alpha - 2008-09-30
  282. Tor 0.2.1.6-alpha further improves performance and robustness of
  283. hidden services, starts work on supporting per-country relay selection,
  284. and fixes a variety of smaller issues.
  285. o Major features:
  286. - Implement proposal 121: make it possible to build hidden services
  287. that only certain clients are allowed to connect to. This is
  288. enforced at several points, so that unauthorized clients are unable
  289. to send INTRODUCE cells to the service, or even (depending on the
  290. type of authentication) to learn introduction points. This feature
  291. raises the bar for certain kinds of active attacks against hidden
  292. services. Code by Karsten Loesing.
  293. - Relays now store and serve v2 hidden service descriptors by default,
  294. i.e., the new default value for HidServDirectoryV2 is 1. This is
  295. the last step in proposal 114, which aims to make hidden service
  296. lookups more reliable.
  297. - Start work to allow node restrictions to include country codes. The
  298. syntax to exclude nodes in a country with country code XX is
  299. "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
  300. refinement to decide what config options should take priority if
  301. you ask to both use a particular node and exclude it.
  302. - Allow ExitNodes list to include IP ranges and country codes, just
  303. like the Exclude*Nodes lists. Patch from Robert Hogan.
  304. o Major bugfixes:
  305. - Fix a bug when parsing ports in tor_addr_port_parse() that caused
  306. Tor to fail to start if you had it configured to use a bridge
  307. relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
  308. - When extending a circuit to a hidden service directory to upload a
  309. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  310. requests failed, because the router descriptor had not been
  311. downloaded yet. In these cases, we now wait until the router
  312. descriptor is downloaded, and then retry. Likewise, clients
  313. now skip over a hidden service directory if they don't yet have
  314. its router descriptor, rather than futilely requesting it and
  315. putting mysterious complaints in the logs. Fixes bug 767. Bugfix
  316. on 0.2.0.10-alpha.
  317. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  318. we were failing the whole hidden service request when the v0
  319. descriptor fetch fails, even if the v2 fetch is still pending and
  320. might succeed. Similarly, if the last v2 fetch fails, we were
  321. failing the whole hidden service request even if a v0 fetch is
  322. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  323. - DNS replies need to have names matching their requests, but
  324. these names should be in the questions section, not necessarily
  325. in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
  326. o Minor features:
  327. - Update to the "September 1 2008" ip-to-country file.
  328. - Allow ports 465 and 587 in the default exit policy again. We had
  329. rejected them in 0.1.0.15, because back in 2005 they were commonly
  330. misconfigured and ended up as spam targets. We hear they are better
  331. locked down these days.
  332. - Use a lockfile to make sure that two Tor processes are not
  333. simultaneously running with the same datadir.
  334. - Serve the latest v3 networkstatus consensus via the control
  335. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  336. - Better logging about stability/reliability calculations on directory
  337. servers.
  338. - Drop the requirement to have an open dir port for storing and
  339. serving v2 hidden service descriptors.
  340. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  341. help debug WFU and MTBF calculations.
  342. - Implement most of Proposal 152: allow specialized servers to permit
  343. single-hop circuits, and clients to use those servers to build
  344. single-hop circuits when using a specialized controller. Patch
  345. from Josh Albrecht. Resolves feature request 768.
  346. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  347. people find host:port too confusing.
  348. - Make TrackHostExit mappings expire a while after their last use, not
  349. after their creation. Patch from Robert Hogan.
  350. - Provide circuit purposes along with circuit events to the controller.
  351. o Minor bugfixes:
  352. - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
  353. Reported by Tas.
  354. - Fixed some memory leaks -- some quite frequent, some almost
  355. impossible to trigger -- based on results from Coverity.
  356. - When testing for libevent functions, set the LDFLAGS variable
  357. correctly. Found by Riastradh.
  358. - Fix an assertion bug in parsing policy-related options; possible fix
  359. for bug 811.
  360. - Catch and report a few more bootstrapping failure cases when Tor
  361. fails to establish a TCP connection. Cleanup on 0.2.1.x.
  362. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  363. bootstrapping with tunneled directory connections. Bugfix on
  364. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  365. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  366. and we know that server B rejects most-but-not all connections to
  367. port 80, we would previously reject the connection. Now, we assume
  368. the user knows what they were asking for. Fixes bug 752. Bugfix
  369. on 0.0.9rc5. Diagnosed by BarkerJr.
  370. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  371. service directories if they have no advertised dir port. Bugfix
  372. on 0.2.0.10-alpha.
  373. - If we overrun our per-second write limits a little, count this as
  374. having used up our write allocation for the second, and choke
  375. outgoing directory writes. Previously, we had only counted this when
  376. we had met our limits precisely. Fixes bug 824. Patch by rovv.
  377. Bugfix on 0.2.0.x (??).
  378. - Avoid a "0 divided by 0" calculation when calculating router uptime
  379. at directory authorities. Bugfix on 0.2.0.8-alpha.
  380. - Make DNS resolved controller events into "CLOSED", not
  381. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  382. bug 807.
  383. - Fix a bug where an unreachable relay would establish enough
  384. reachability testing circuits to do a bandwidth test -- if
  385. we already have a connection to the middle hop of the testing
  386. circuit, then it could establish the last hop by using the existing
  387. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  388. circuits no longer use entry guards in 0.2.1.3-alpha.
  389. - If we have correct permissions on $datadir, we complain to stdout
  390. and fail to start. But dangerous permissions on
  391. $datadir/cached-status/ would cause us to open a log and complain
  392. there. Now complain to stdout and fail to start in both cases. Fixes
  393. bug 820, reported by seeess.
  394. - Remove the old v2 directory authority 'lefkada' from the default
  395. list. It has been gone for many months.
  396. o Code simplifications and refactoring:
  397. - Revise the connection_new functions so that a more typesafe variant
  398. exists. This will work better with Coverity, and let us find any
  399. actual mistakes we're making here.
  400. - Refactor unit testing logic so that dmalloc can be used sensibly
  401. with unit tests to check for memory leaks.
  402. - Move all hidden-service related fields from connection and circuit
  403. structure to substructures: this way they won't eat so much memory.
  404. Changes in version 0.2.0.31 - 2008-09-03
  405. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  406. a big bug we're seeing where in rare cases traffic from one Tor stream
  407. gets mixed into another stream, and fixes a variety of smaller issues.
  408. o Major bugfixes:
  409. - Make sure that two circuits can never exist on the same connection
  410. with the same circuit ID, even if one is marked for close. This
  411. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  412. - Relays now reject risky extend cells: if the extend cell includes
  413. a digest of all zeroes, or asks to extend back to the relay that
  414. sent the extend cell, tear down the circuit. Ideas suggested
  415. by rovv.
  416. - If not enough of our entry guards are available so we add a new
  417. one, we might use the new one even if it overlapped with the
  418. current circuit's exit relay (or its family). Anonymity bugfix
  419. pointed out by rovv.
  420. o Minor bugfixes:
  421. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  422. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  423. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  424. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  425. - Pick size of default geoip filename string correctly on windows.
  426. Fixes bug 806. Bugfix on 0.2.0.30.
  427. - Make the autoconf script accept the obsolete --with-ssl-dir
  428. option as an alias for the actually-working --with-openssl-dir
  429. option. Fix the help documentation to recommend --with-openssl-dir.
  430. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  431. - Disallow session resumption attempts during the renegotiation
  432. stage of the v2 handshake protocol. Clients should never be trying
  433. session resumption at this point, but apparently some did, in
  434. ways that caused the handshake to fail. Bug found by Geoff Goodell.
  435. Bugfix on 0.2.0.20-rc.
  436. - When using the TransPort option on OpenBSD, and using the User
  437. option to change UID and drop privileges, make sure to open
  438. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  439. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  440. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  441. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  442. on the client side when connecting to a hidden service. Bugfix
  443. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  444. - When closing an application-side connection because its circuit is
  445. getting torn down, generate the stream event correctly. Bugfix on
  446. 0.1.2.x. Anonymous patch.
  447. Changes in version 0.2.1.5-alpha - 2008-08-31
  448. Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
  449. in a lot of the infrastructure for adding authorization to hidden
  450. services, lays the groundwork for having clients read their load
  451. balancing information out of the networkstatus consensus rather than
  452. the individual router descriptors, addresses two potential anonymity
  453. issues, and fixes a variety of smaller issues.
  454. o Major features:
  455. - Convert many internal address representations to optionally hold
  456. IPv6 addresses.
  457. - Generate and accept IPv6 addresses in many protocol elements.
  458. - Make resolver code handle nameservers located at ipv6 addresses.
  459. - Begin implementation of proposal 121 ("Client authorization for
  460. hidden services"): configure hidden services with client
  461. authorization, publish descriptors for them, and configure
  462. authorization data for hidden services at clients. The next
  463. step is to actually access hidden services that perform client
  464. authorization.
  465. - More progress toward proposal 141: Network status consensus
  466. documents and votes now contain bandwidth information for each
  467. router and a summary of that router's exit policy. Eventually this
  468. will be used by clients so that they do not have to download every
  469. known descriptor before building circuits.
  470. o Major bugfixes (on 0.2.0.x and before):
  471. - When sending CREATED cells back for a given circuit, use a 64-bit
  472. connection ID to find the right connection, rather than an addr:port
  473. combination. Now that we can have multiple OR connections between
  474. the same ORs, it is no longer possible to use addr:port to uniquely
  475. identify a connection.
  476. - Relays now reject risky extend cells: if the extend cell includes
  477. a digest of all zeroes, or asks to extend back to the relay that
  478. sent the extend cell, tear down the circuit. Ideas suggested
  479. by rovv.
  480. - If not enough of our entry guards are available so we add a new
  481. one, we might use the new one even if it overlapped with the
  482. current circuit's exit relay (or its family). Anonymity bugfix
  483. pointed out by rovv.
  484. o Minor bugfixes:
  485. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  486. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  487. - When using the TransPort option on OpenBSD, and using the User
  488. option to change UID and drop privileges, make sure to open /dev/pf
  489. before dropping privileges. Fixes bug 782. Patch from Christopher
  490. Davis. Bugfix on 0.1.2.1-alpha.
  491. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  492. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  493. - Add a missing safe_str() call for a debug log message.
  494. - Use 64 bits instead of 32 bits for connection identifiers used with
  495. the controller protocol, to greatly reduce risk of identifier reuse.
  496. - Make the autoconf script accept the obsolete --with-ssl-dir
  497. option as an alias for the actually-working --with-openssl-dir
  498. option. Fix the help documentation to recommend --with-openssl-dir.
  499. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  500. o Minor features:
  501. - Rate-limit too-many-sockets messages: when they happen, they happen
  502. a lot. Resolves bug 748.
  503. - Resist DNS poisoning a little better by making sure that names in
  504. answer sections match.
  505. - Print the SOCKS5 error message string as well as the error code
  506. when a tor-resolve request fails. Patch from Jacob.
  507. Changes in version 0.2.1.4-alpha - 2008-08-04
  508. Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
  509. o Major bugfixes:
  510. - The address part of exit policies was not correctly written
  511. to router descriptors. This generated router descriptors that failed
  512. their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
  513. on 0.2.1.3-alpha.
  514. - Tor triggered a false assert when extending a circuit to a relay
  515. but we already have a connection open to that relay. Noticed by
  516. phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
  517. o Minor bugfixes:
  518. - Fix a hidden service logging bug: in some edge cases, the router
  519. descriptor of a previously picked introduction point becomes
  520. obsolete and we need to give up on it rather than continually
  521. complaining that it has become obsolete. Observed by xiando. Bugfix
  522. on 0.2.1.3-alpha.
  523. o Removed features:
  524. - Take out the TestVia config option, since it was a workaround for
  525. a bug that was fixed in Tor 0.1.1.21.
  526. Changes in version 0.2.1.3-alpha - 2008-08-03
  527. Tor 0.2.1.3-alpha implements most of the pieces to prevent
  528. infinite-length circuit attacks (see proposal 110); fixes a bug that
  529. might cause exit relays to corrupt streams they send back; allows
  530. address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
  531. ExcludeExitNodes config options; and fixes a big pile of bugs.
  532. o Bootstrapping bugfixes (on 0.2.1.x-alpha):
  533. - Send a bootstrap problem "warn" event on the first problem if the
  534. reason is NO_ROUTE (that is, our network is down).
  535. o Major features:
  536. - Implement most of proposal 110: The first K cells to be sent
  537. along a circuit are marked as special "early" cells; only K "early"
  538. cells will be allowed. Once this code is universal, we can block
  539. certain kinds of DOS attack by requiring that EXTEND commands must
  540. be sent using an "early" cell.
  541. o Major bugfixes:
  542. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  543. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  544. on the client side when connecting to a hidden service. Bugfix
  545. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  546. - Ensure that two circuits can never exist on the same connection
  547. with the same circuit ID, even if one is marked for close. This
  548. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  549. o Minor features:
  550. - When relays do their initial bandwidth measurement, don't limit
  551. to just our entry guards for the test circuits. Otherwise we tend
  552. to have multiple test circuits going through a single entry guard,
  553. which makes our bandwidth test less accurate. Fixes part of bug 654;
  554. patch contributed by Josh Albrecht.
  555. - Add an ExcludeExitNodes option so users can list a set of nodes
  556. that should be be excluded from the exit node position, but
  557. allowed elsewhere. Implements proposal 151.
  558. - Allow address patterns (e.g., 255.128.0.0/16) to appear in
  559. ExcludeNodes and ExcludeExitNodes lists.
  560. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  561. be more efficient. Formerly it was quadratic in the number of
  562. servers; now it should be linear. Fixes bug 509.
  563. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  564. and n_conn_id_digest fields into a separate structure that's
  565. only needed when the circuit has not yet attached to an n_conn.
  566. o Minor bugfixes:
  567. - Change the contrib/tor.logrotate script so it makes the new
  568. logs as "_tor:_tor" rather than the default, which is generally
  569. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  570. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  571. warnings (occasionally), but it can also cause the compiler to
  572. eliminate error-checking code. Suggested by Peter Gutmann.
  573. - When a hidden service is giving up on an introduction point candidate
  574. that was not included in the last published rendezvous descriptor,
  575. don't reschedule publication of the next descriptor. Fixes bug 763.
  576. Bugfix on 0.0.9.3.
  577. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  578. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  579. and nobody claims to be using them. Fixes bug 754. Bugfix on
  580. 0.1.0.1-rc. Patch from Christian Wilms.
  581. - Fix a small alignment and memory-wasting bug on buffer chunks.
  582. Spotted by rovv.
  583. o Minor bugfixes (controller):
  584. - When closing an application-side connection because its circuit
  585. is getting torn down, generate the stream event correctly.
  586. Bugfix on 0.1.2.x. Anonymous patch.
  587. o Removed features:
  588. - Remove all backward-compatibility code to support relays running
  589. versions of Tor so old that they no longer work at all on the
  590. Tor network.
  591. Changes in version 0.2.0.29-rc - 2008-07-08
  592. Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
  593. hidden-service performance bugs, and fixes a bunch of smaller bugs.
  594. o Major bugfixes:
  595. - If you have more than one bridge but don't know their keys,
  596. you would only launch a request for the descriptor of the first one
  597. on your list. (Tor considered launching requests for the others, but
  598. found that it already had a connection on the way for $0000...0000
  599. so it didn't open another.) Bugfix on 0.2.0.x.
  600. - If you have more than one bridge but don't know their keys, and the
  601. connection to one of the bridges failed, you would cancel all
  602. pending bridge connections. (After all, they all have the same
  603. digest.) Bugfix on 0.2.0.x.
  604. - When a hidden service was trying to establish an introduction point,
  605. and Tor had built circuits preemptively for such purposes, we
  606. were ignoring all the preemptive circuits and launching a new one
  607. instead. Bugfix on 0.2.0.14-alpha.
  608. - When a hidden service was trying to establish an introduction point,
  609. and Tor *did* manage to reuse one of the preemptively built
  610. circuits, it didn't correctly remember which one it used,
  611. so it asked for another one soon after, until there were no
  612. more preemptive circuits, at which point it launched one from
  613. scratch. Bugfix on 0.0.9.x.
  614. - Make directory servers include the X-Your-Address-Is: http header in
  615. their responses even for begin_dir conns. Now clients who only
  616. ever use begin_dir connections still have a way to learn their IP
  617. address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
  618. o Minor bugfixes:
  619. - Fix a macro/CPP interaction that was confusing some compilers:
  620. some GCCs don't like #if/#endif pairs inside macro arguments.
  621. Fixes bug 707.
  622. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  623. Fixes bug 704; fix from Steven Murdoch.
  624. - When opening /dev/null in finish_daemonize(), do not pass the
  625. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  626. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  627. - Correctly detect transparent proxy support on Linux hosts that
  628. require in.h to be included before netfilter_ipv4.h. Patch
  629. from coderman.
  630. - Disallow session resumption attempts during the renegotiation
  631. stage of the v2 handshake protocol. Clients should never be trying
  632. session resumption at this point, but apparently some did, in
  633. ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
  634. found by Geoff Goodell.
  635. Changes in version 0.2.1.2-alpha - 2008-06-20
  636. Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
  637. make it easier to set up your own private Tor network; fixes several
  638. big bugs with using more than one bridge relay; fixes a big bug with
  639. offering hidden services quickly after Tor starts; and uses a better
  640. API for reporting potential bootstrapping problems to the controller.
  641. o Major features:
  642. - New TestingTorNetwork config option to allow adjustment of
  643. previously constant values that, while reasonable, could slow
  644. bootstrapping. Implements proposal 135. Patch from Karsten.
  645. o Major bugfixes:
  646. - If you have more than one bridge but don't know their digests,
  647. you would only learn a request for the descriptor of the first one
  648. on your list. (Tor considered launching requests for the others, but
  649. found that it already had a connection on the way for $0000...0000
  650. so it didn't open another.) Bugfix on 0.2.0.x.
  651. - If you have more than one bridge but don't know their digests,
  652. and the connection to one of the bridges failed, you would cancel
  653. all pending bridge connections. (After all, they all have the
  654. same digest.) Bugfix on 0.2.0.x.
  655. - When establishing a hidden service, introduction points that
  656. originate from cannibalized circuits are completely ignored and not
  657. included in rendezvous service descriptors. This might be another
  658. reason for delay in making a hidden service available. Bugfix
  659. from long ago (0.0.9.x?)
  660. o Minor features:
  661. - Allow OpenSSL to use dynamic locks if it wants.
  662. - When building a consensus, do not include routers that are down.
  663. This will cut down 30% to 40% on consensus size. Implements
  664. proposal 138.
  665. - In directory authorities' approved-routers files, allow
  666. fingerprints with or without space.
  667. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  668. controller can query our current bootstrap state in case it attaches
  669. partway through and wants to catch up.
  670. - Send an initial "Starting" bootstrap status event, so we have a
  671. state to start out in.
  672. o Minor bugfixes:
  673. - Asking for a conditional consensus at .../consensus/<fingerprints>
  674. would crash a dirserver if it did not already have a
  675. consensus. Bugfix on 0.2.1.1-alpha.
  676. - Clean up some macro/CPP interactions: some GCC versions don't like
  677. #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
  678. 0.2.0.x.
  679. o Bootstrapping bugfixes (on 0.2.1.1-alpha):
  680. - Directory authorities shouldn't complain about bootstrapping
  681. problems just because they do a lot of reachability testing and
  682. some of the connection attempts fail.
  683. - Start sending "count" and "recommendation" key/value pairs in
  684. bootstrap problem status events, so the controller can hear about
  685. problems even before Tor decides they're worth reporting for sure.
  686. - If you're using bridges, generate "bootstrap problem" warnings
  687. as soon as you run out of working bridges, rather than waiting
  688. for ten failures -- which will never happen if you have less than
  689. ten bridges.
  690. - If we close our OR connection because there's been a circuit
  691. pending on it for too long, we were telling our bootstrap status
  692. events "REASON=NONE". Now tell them "REASON=TIMEOUT".
  693. Changes in version 0.2.1.1-alpha - 2008-06-13
  694. Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
  695. were making the Tor process bloat especially on Linux; makes our TLS
  696. handshake blend in better; sends "bootstrap phase" status events to
  697. the controller, so it can keep the user informed of progress (and
  698. problems) fetching directory information and establishing circuits;
  699. and adds a variety of smaller features.
  700. o Major features:
  701. - More work on making our TLS handshake blend in: modify the list
  702. of ciphers advertised by OpenSSL in client mode to even more
  703. closely resemble a common web browser. We cheat a little so that
  704. we can advertise ciphers that the locally installed OpenSSL doesn't
  705. know about.
  706. - Start sending "bootstrap phase" status events to the controller,
  707. so it can keep the user informed of progress fetching directory
  708. information and establishing circuits. Also inform the controller
  709. if we think we're stuck at a particular bootstrap phase. Implements
  710. proposal 137.
  711. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  712. cross-platform entropy collection again. We used to use it, then
  713. stopped using it because of a bug that could crash systems that
  714. called RAND_poll when they had a lot of fds open. It looks like the
  715. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  716. at startup, and to call RAND_poll() when we reseed later only if
  717. we have a non-buggy OpenSSL version.
  718. o Major bugfixes:
  719. - When we choose to abandon a new entry guard because we think our
  720. older ones might be better, close any circuits pending on that
  721. new entry guard connection. This fix should make us recover much
  722. faster when our network is down and then comes back. Bugfix on
  723. 0.1.2.8-beta; found by lodger.
  724. o Memory fixes and improvements:
  725. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  726. to avoid unused RAM in buffer chunks and memory pools.
  727. - Speed up parsing and cut down on memory fragmentation by using
  728. stack-style allocations for parsing directory objects. Previously,
  729. this accounted for over 40% of allocations from within Tor's code
  730. on a typical directory cache.
  731. - Use a Bloom filter rather than a digest-based set to track which
  732. descriptors we need to keep around when we're cleaning out old
  733. router descriptors. This speeds up the computation significantly,
  734. and may reduce fragmentation.
  735. - Reduce the default smartlist size from 32 to 16; it turns out that
  736. most smartlists hold around 8-12 elements tops.
  737. - Make dumpstats() log the fullness and size of openssl-internal
  738. buffers.
  739. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  740. patch to their OpenSSL, turn it on to save memory on servers. This
  741. patch will (with any luck) get included in a mainline distribution
  742. before too long.
  743. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  744. compress cells, which are basically all encrypted, compressed,
  745. or both.
  746. o Minor bugfixes:
  747. - Stop reloading the router list from disk for no reason when we
  748. run out of reachable directory mirrors. Once upon a time reloading
  749. it would set the 'is_running' flag back to 1 for them. It hasn't
  750. done that for a long time.
  751. - In very rare situations new hidden service descriptors were
  752. published earlier than 30 seconds after the last change to the
  753. service. (We currently think that a hidden service descriptor
  754. that's been stable for 30 seconds is worth publishing.)
  755. o Minor features:
  756. - Allow separate log levels to be configured for different logging
  757. domains. For example, this allows one to log all notices, warnings,
  758. or errors, plus all memory management messages of level debug or
  759. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  760. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  761. and stop using a warning that had become unfixably verbose under
  762. GCC 4.3.
  763. - New --hush command-line option similar to --quiet. While --quiet
  764. disables all logging to the console on startup, --hush limits the
  765. output to messages of warning and error severity.
  766. - Servers support a new URL scheme for consensus downloads that
  767. allows the client to specify which authorities are trusted.
  768. The server then only sends the consensus if the client will trust
  769. it. Otherwise a 404 error is sent back. Clients use this
  770. new scheme when the server supports it (meaning it's running
  771. 0.2.1.1-alpha or later). Implements proposal 134.
  772. - New configure/torrc options (--enable-geoip-stats,
  773. DirRecordUsageByCountry) to record how many IPs we've served
  774. directory info to in each country code, how many status documents
  775. total we've sent to each country code, and what share of the total
  776. directory requests we should expect to see.
  777. - Use the TLS1 hostname extension to more closely resemble browser
  778. behavior.
  779. - Lots of new unit tests.
  780. - Add a macro to implement the common pattern of iterating through
  781. two parallel lists in lockstep.
  782. Changes in version 0.2.0.28-rc - 2008-06-13
  783. Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
  784. performance bug, and fixes a bunch of smaller bugs.
  785. o Anonymity fixes:
  786. - Fix a bug where, when we were choosing the 'end stream reason' to
  787. put in our relay end cell that we send to the exit relay, Tor
  788. clients on Windows were sometimes sending the wrong 'reason'. The
  789. anonymity problem is that exit relays may be able to guess whether
  790. the client is running Windows, thus helping partition the anonymity
  791. set. Down the road we should stop sending reasons to exit relays,
  792. or otherwise prevent future versions of this bug.
  793. o Major bugfixes:
  794. - While setting up a hidden service, some valid introduction circuits
  795. were overlooked and abandoned. This might be the reason for
  796. the long delay in making a hidden service available. Bugfix on
  797. 0.2.0.14-alpha.
  798. o Minor features:
  799. - Update to the "June 9 2008" ip-to-country file.
  800. - Run 'make test' as part of 'make dist', so we stop releasing so
  801. many development snapshots that fail their unit tests.
  802. o Minor bugfixes:
  803. - When we're checking if we have enough dir info for each relay
  804. to begin establishing circuits, make sure that we actually have
  805. the descriptor listed in the consensus, not just any descriptor.
  806. Bugfix on 0.1.2.x.
  807. - Bridge relays no longer print "xx=0" in their extrainfo document
  808. for every single country code in the geoip db. Bugfix on
  809. 0.2.0.27-rc.
  810. - Only warn when we fail to load the geoip file if we were planning to
  811. include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
  812. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  813. Tor won't realize it should publish a new relay descriptor. Fixes
  814. bug 688, reported by mfr. Bugfix on 0.1.2.x.
  815. - When we haven't had any application requests lately, don't bother
  816. logging that we have expired a bunch of descriptors. Bugfix
  817. on 0.1.2.x.
  818. - Make relay cells written on a connection count as non-padding when
  819. tracking how long a connection has been in use. Bugfix on
  820. 0.2.0.1-alpha. Spotted by lodger.
  821. - Fix unit tests in 0.2.0.27-rc.
  822. - Fix compile on Windows.
  823. Changes in version 0.2.0.27-rc - 2008-06-03
  824. Tor 0.2.0.27-rc adds a few features we left out of the earlier
  825. release candidates. In particular, we now include an IP-to-country
  826. GeoIP database, so controllers can easily look up what country a
  827. given relay is in, and so bridge relays can give us some sanitized
  828. summaries about which countries are making use of bridges. (See proposal
  829. 126-geoip-fetching.txt for details.)
  830. o Major features:
  831. - Include an IP-to-country GeoIP file in the tarball, so bridge
  832. relays can report sanitized summaries of the usage they're seeing.
  833. o Minor features:
  834. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  835. Robert Hogan. Fixes the first part of bug 681.
  836. - Make bridge authorities never serve extrainfo docs.
  837. - Add support to detect Libevent versions in the 1.4.x series
  838. on mingw.
  839. - Fix build on gcc 4.3 with --enable-gcc-warnings set.
  840. - Include a new contrib/tor-exit-notice.html file that exit relay
  841. operators can put on their website to help reduce abuse queries.
  842. o Minor bugfixes:
  843. - When tunneling an encrypted directory connection, and its first
  844. circuit fails, do not leave it unattached and ask the controller
  845. to deal. Fixes the second part of bug 681.
  846. - Make bridge authorities correctly expire old extrainfo documents
  847. from time to time.
  848. Changes in version 0.2.0.26-rc - 2008-05-13
  849. Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
  850. in Debian's OpenSSL packages. All users running any 0.2.0.x version
  851. should upgrade, whether they're running Debian or not.
  852. o Major security fixes:
  853. - Use new V3 directory authority keys on the tor26, gabelmoo, and
  854. moria1 V3 directory authorities. The old keys were generated with
  855. a vulnerable version of Debian's OpenSSL package, and must be
  856. considered compromised. Other authorities' keys were not generated
  857. with an affected version of OpenSSL.
  858. o Major bugfixes:
  859. - List authority signatures as "unrecognized" based on DirServer
  860. lines, not on cert cache. Bugfix on 0.2.0.x.
  861. o Minor features:
  862. - Add a new V3AuthUseLegacyKey option to make it easier for
  863. authorities to change their identity keys if they have to.
  864. Changes in version 0.2.0.25-rc - 2008-04-23
  865. Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
  866. o Major bugfixes:
  867. - Remember to initialize threading before initializing logging.
  868. Otherwise, many BSD-family implementations will crash hard on
  869. startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
  870. o Minor bugfixes:
  871. - Authorities correctly free policies on bad servers on
  872. exit. Fixes bug 672. Bugfix on 0.2.0.x.
  873. Changes in version 0.2.0.24-rc - 2008-04-22
  874. Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
  875. v3 directory authority, makes relays with dynamic IP addresses and no
  876. DirPort notice more quickly when their IP address changes, fixes a few
  877. rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
  878. o New directory authorities:
  879. - Take lefkada out of the list of v3 directory authorities, since
  880. it has been down for months.
  881. - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
  882. authority.
  883. o Major bugfixes:
  884. - Detect address changes more quickly on non-directory mirror
  885. relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
  886. o Minor features (security):
  887. - Reject requests for reverse-dns lookup of names that are in
  888. a private address space. Patch from lodger.
  889. - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
  890. from lodger.
  891. o Minor bugfixes (crashes):
  892. - Avoid a rare assert that can trigger when Tor doesn't have much
  893. directory information yet and it tries to fetch a v2 hidden
  894. service descriptor. Fixes bug 651, reported by nwf.
  895. - Initialize log mutex before initializing dmalloc. Otherwise,
  896. running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
  897. - Use recursive pthread mutexes in order to avoid deadlock when
  898. logging debug-level messages to a controller. Bug spotted by nwf,
  899. bugfix on 0.2.0.16-alpha.
  900. o Minor bugfixes (resource management):
  901. - Keep address policies from leaking memory: start their refcount
  902. at 1, not 2. Bugfix on 0.2.0.16-alpha.
  903. - Free authority certificates on exit, so they don't look like memory
  904. leaks. Bugfix on 0.2.0.19-alpha.
  905. - Free static hashtables for policy maps and for TLS connections on
  906. shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
  907. - Avoid allocating extra space when computing consensuses on 64-bit
  908. platforms. Bug spotted by aakova.
  909. o Minor bugfixes (misc):
  910. - Do not read the configuration file when we've only been told to
  911. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  912. based on patch from Sebastian Hahn.
  913. - Exit relays that are used as a client can now reach themselves
  914. using the .exit notation, rather than just launching an infinite
  915. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  916. - When attempting to open a logfile fails, tell us why.
  917. - Fix a dumb bug that was preventing us from knowing that we should
  918. preemptively build circuits to handle expected directory requests.
  919. Fixes bug 660. Bugfix on 0.1.2.x.
  920. - Warn less verbosely about clock skew from netinfo cells from
  921. untrusted sources. Fixes bug 663.
  922. - Make controller stream events for DNS requests more consistent,
  923. by adding "new stream" events for DNS requests, and removing
  924. spurious "stream closed" events" for cached reverse resolves.
  925. Patch from mwenge. Fixes bug 646.
  926. - Correctly notify one-hop connections when a circuit build has
  927. failed. Possible fix for bug 669. Found by lodger.
  928. Changes in version 0.2.0.23-rc - 2008-03-24
  929. Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
  930. makes bootstrapping faster if the first directory mirror you contact
  931. is down. The bundles also include the new Vidalia 0.1.2 release.
  932. o Major bugfixes:
  933. - When a tunneled directory request is made to a directory server
  934. that's down, notice after 30 seconds rather than 120 seconds. Also,
  935. fail any begindir streams that are pending on it, so they can
  936. retry elsewhere. This was causing multi-minute delays on bootstrap.
  937. Changes in version 0.2.0.22-rc - 2008-03-18
  938. Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
  939. enables encrypted directory connections by default for non-relays, fixes
  940. some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
  941. other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
  942. o Major features:
  943. - Enable encrypted directory connections by default for non-relays,
  944. so censor tools that block Tor directory connections based on their
  945. plaintext patterns will no longer work. This means Tor works in
  946. certain censored countries by default again.
  947. o Major bugfixes:
  948. - Make sure servers always request certificates from clients during
  949. TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
  950. - Do not enter a CPU-eating loop when a connection is closed in
  951. the middle of client-side TLS renegotiation. Fixes bug 622. Bug
  952. diagnosed by lodger; bugfix on 0.2.0.20-rc.
  953. - Fix assertion failure that could occur when a blocked circuit
  954. became unblocked, and it had pending client DNS requests. Bugfix
  955. on 0.2.0.1-alpha. Fixes bug 632.
  956. o Minor bugfixes (on 0.1.2.x):
  957. - Generate "STATUS_SERVER" events rather than misspelled
  958. "STATUS_SEVER" events. Caught by mwenge.
  959. - When counting the number of bytes written on a TLS connection,
  960. look at the BIO actually used for writing to the network, not
  961. at the BIO used (sometimes) to buffer data for the network.
  962. Looking at different BIOs could result in write counts on the
  963. order of ULONG_MAX. Fixes bug 614.
  964. - On Windows, correctly detect errors when listing the contents of
  965. a directory. Fix from lodger.
  966. o Minor bugfixes (on 0.2.0.x):
  967. - Downgrade "sslv3 alert handshake failure" message to INFO.
  968. - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
  969. left BandwidthRate and BandwidthBurst at the default, we would be
  970. silently limited by those defaults. Now raise them to match the
  971. RelayBandwidth* values.
  972. - Fix the SVK version detection logic to work correctly on a branch.
  973. - Make --enable-openbsd-malloc work correctly on Linux with alpha
  974. CPUs. Fixes bug 625.
  975. - Logging functions now check that the passed severity is sane.
  976. - Use proper log levels in the testsuite call of
  977. get_interface_address6().
  978. - When using a nonstandard malloc, do not use the platform values for
  979. HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
  980. - Make the openbsd malloc code use 8k pages on alpha CPUs and
  981. 16k pages on ia64.
  982. - Detect mismatched page sizes when using --enable-openbsd-malloc.
  983. - Avoid double-marked-for-close warning when certain kinds of invalid
  984. .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
  985. for bug 617. Bugfix on 0.2.0.1-alpha.
  986. - Make sure that the "NULL-means-reject *:*" convention is followed by
  987. all the policy manipulation functions, avoiding some possible crash
  988. bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
  989. - Fix the implementation of ClientDNSRejectInternalAddresses so that it
  990. actually works, and doesn't warn about every single reverse lookup.
  991. Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
  992. o Minor features:
  993. - Only log guard node status when guard node status has changed.
  994. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  995. make "INFO" 75% less verbose.
  996. Changes in version 0.2.0.21-rc - 2008-03-02
  997. Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
  998. makes Tor work well with Vidalia again, fixes a rare assert bug,
  999. and fixes a pair of more minor bugs. The bundles also include Vidalia
  1000. 0.1.0 and Torbutton 1.1.16.
  1001. o Major bugfixes:
  1002. - The control port should declare that it requires password auth
  1003. when HashedControlSessionPassword is set too. Patch from Matt Edman;
  1004. bugfix on 0.2.0.20-rc. Fixes bug 615.
  1005. - Downgrade assert in connection_buckets_decrement() to a log message.
  1006. This may help us solve bug 614, and in any case will make its
  1007. symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
  1008. - We were sometimes miscounting the number of bytes read from the
  1009. network, causing our rate limiting to not be followed exactly.
  1010. Bugfix on 0.2.0.16-alpha. Reported by lodger.
  1011. o Minor bugfixes:
  1012. - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
  1013. OpenSSL versions should have been working fine. Diagnosis and patch
  1014. from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
  1015. Bugfix on 0.2.0.20-rc.
  1016. Changes in version 0.2.0.20-rc - 2008-02-24
  1017. Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
  1018. makes more progress towards normalizing Tor's TLS handshake, makes
  1019. hidden services work better again, helps relays bootstrap if they don't
  1020. know their IP address, adds optional support for linking in openbsd's
  1021. allocator or tcmalloc, allows really fast relays to scale past 15000
  1022. sockets, and fixes a bunch of minor bugs reported by Veracode.
  1023. o Major features:
  1024. - Enable the revised TLS handshake based on the one designed by
  1025. Steven Murdoch in proposal 124, as revised in proposal 130. It
  1026. includes version negotiation for OR connections as described in
  1027. proposal 105. The new handshake is meant to be harder for censors
  1028. to fingerprint, and it adds the ability to detect certain kinds of
  1029. man-in-the-middle traffic analysis attacks. The version negotiation
  1030. feature will allow us to improve Tor's link protocol more safely
  1031. in the future.
  1032. - Choose which bridge to use proportional to its advertised bandwidth,
  1033. rather than uniformly at random. This should speed up Tor for
  1034. bridge users. Also do this for people who set StrictEntryNodes.
  1035. - When a TrackHostExits-chosen exit fails too many times in a row,
  1036. stop using it. Bugfix on 0.1.2.x; fixes bug 437.
  1037. o Major bugfixes:
  1038. - Resolved problems with (re-)fetching hidden service descriptors.
  1039. Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
  1040. and 0.2.0.19-alpha.
  1041. - If we only ever used Tor for hidden service lookups or posts, we
  1042. would stop building circuits and start refusing connections after
  1043. 24 hours, since we falsely believed that Tor was dormant. Reported
  1044. by nwf; bugfix on 0.1.2.x.
  1045. - Servers that don't know their own IP address should go to the
  1046. authorities for their first directory fetch, even if their DirPort
  1047. is off or if they don't know they're reachable yet. This will help
  1048. them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
  1049. - When counting the number of open sockets, count not only the number
  1050. of sockets we have received from the socket() call, but also
  1051. the number we've gotten from accept() and socketpair(). This bug
  1052. made us fail to count all sockets that we were using for incoming
  1053. connections. Bugfix on 0.2.0.x.
  1054. - Fix code used to find strings within buffers, when those strings
  1055. are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
  1056. - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
  1057. - Add a new __HashedControlSessionPassword option for controllers
  1058. to use for one-off session password hashes that shouldn't get
  1059. saved to disk by SAVECONF --- Vidalia users were accumulating a
  1060. pile of HashedControlPassword lines in their torrc files, one for
  1061. each time they had restarted Tor and then clicked Save. Make Tor
  1062. automatically convert "HashedControlPassword" to this new option but
  1063. only when it's given on the command line. Partial fix for bug 586.
  1064. o Minor features (performance):
  1065. - Tune parameters for cell pool allocation to minimize amount of
  1066. RAM overhead used.
  1067. - Add OpenBSD malloc code from phk as an optional malloc
  1068. replacement on Linux: some glibc libraries do very poorly
  1069. with Tor's memory allocation patterns. Pass
  1070. --enable-openbsd-malloc to get the replacement malloc code.
  1071. - Add a --with-tcmalloc option to the configure script to link
  1072. against tcmalloc (if present). Does not yet search for
  1073. non-system include paths.
  1074. - Stop imposing an arbitrary maximum on the number of file descriptors
  1075. used for busy servers. Bug reported by Olaf Selke; patch from
  1076. Sebastian Hahn.
  1077. o Minor features (other):
  1078. - When SafeLogging is disabled, log addresses along with all TLS
  1079. errors.
  1080. - When building with --enable-gcc-warnings, check for whether Apple's
  1081. warning "-Wshorten-64-to-32" is available.
  1082. - Add a --passphrase-fd argument to the tor-gencert command for
  1083. scriptability.
  1084. o Minor bugfixes (memory leaks and code problems):
  1085. - We were leaking a file descriptor if Tor started with a zero-length
  1086. cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
  1087. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  1088. Dan Kaminsky.
  1089. - We were comparing the raw BridgePassword entry with a base64'ed
  1090. version of it, when handling a "/tor/networkstatus-bridges"
  1091. directory request. Now compare correctly. Noticed by Veracode.
  1092. - Recover from bad tracked-since value in MTBF-history file.
  1093. Should fix bug 537.
  1094. - Alter the code that tries to recover from unhandled write
  1095. errors, to not try to flush onto a socket that's given us
  1096. unhandled errors. Bugfix on 0.1.2.x.
  1097. - Make Unix controlsockets work correctly on OpenBSD. Patch from
  1098. tup. Bugfix on 0.2.0.3-alpha.
  1099. o Minor bugfixes (other):
  1100. - If we have an extra-info document for our server, always make
  1101. it available on the control port, even if we haven't gotten
  1102. a copy of it from an authority yet. Patch from mwenge.
  1103. - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
  1104. - Directory mirrors no longer include a guess at the client's IP
  1105. address if the connection appears to be coming from the same /24
  1106. network; it was producing too many wrong guesses.
  1107. - Make the new hidden service code respect the SafeLogging setting.
  1108. Bugfix on 0.2.0.x. Patch from Karsten.
  1109. - When starting as an authority, do not overwrite all certificates
  1110. cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
  1111. - If we're trying to flush the last bytes on a connection (for
  1112. example, when answering a directory request), reset the
  1113. time-to-give-up timeout every time we manage to write something
  1114. on the socket. Bugfix on 0.1.2.x.
  1115. - Change the behavior of "getinfo status/good-server-descriptor"
  1116. so it doesn't return failure when any authority disappears.
  1117. - Even though the man page said that "TrackHostExits ." should
  1118. work, nobody had ever implemented it. Bugfix on 0.1.0.x.
  1119. - Report TLS "zero return" case as a "clean close" and "IO error"
  1120. as a "close". Stop calling closes "unexpected closes": existing
  1121. Tors don't use SSL_close(), so having a connection close without
  1122. the TLS shutdown handshake is hardly unexpected.
  1123. - Send NAMESERVER_STATUS messages for a single failed nameserver
  1124. correctly.
  1125. o Code simplifications and refactoring:
  1126. - Remove the tor_strpartition function: its logic was confused,
  1127. and it was only used for one thing that could be implemented far
  1128. more easily.
  1129. Changes in version 0.2.0.19-alpha - 2008-02-09
  1130. Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
  1131. handshake, makes path selection for relays more secure and IP address
  1132. guessing more robust, and generally fixes a lot of bugs in preparation
  1133. for calling the 0.2.0 branch stable.
  1134. o Major features:
  1135. - Do not include recognizeable strings in the commonname part of
  1136. Tor's x509 certificates.
  1137. o Major bugfixes:
  1138. - If we're a relay, avoid picking ourselves as an introduction point,
  1139. a rendezvous point, or as the final hop for internal circuits. Bug
  1140. reported by taranis and lodger. Bugfix on 0.1.2.x.
  1141. - Patch from "Andrew S. Lists" to catch when we contact a directory
  1142. mirror at IP address X and he says we look like we're coming from
  1143. IP address X. Bugfix on 0.1.2.x.
  1144. o Minor features (security):
  1145. - Be more paranoid about overwriting sensitive memory on free(),
  1146. as a defensive programming tactic to ensure forward secrecy.
  1147. o Minor features (directory authority):
  1148. - Actually validate the options passed to AuthDirReject,
  1149. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  1150. - Reject router descriptors with out-of-range bandwidthcapacity or
  1151. bandwidthburst values.
  1152. o Minor features (controller):
  1153. - Reject controller commands over 1MB in length. This keeps rogue
  1154. processes from running us out of memory.
  1155. o Minor features (misc):
  1156. - Give more descriptive well-formedness errors for out-of-range
  1157. hidden service descriptor/protocol versions.
  1158. - Make memory debugging information describe more about history
  1159. of cell allocation, so we can help reduce our memory use.
  1160. o Deprecated features (controller):
  1161. - The status/version/num-versioning and status/version/num-concurring
  1162. GETINFO options are no longer useful in the v3 directory protocol:
  1163. treat them as deprecated, and warn when they're used.
  1164. o Minor bugfixes:
  1165. - When our consensus networkstatus has been expired for a while, stop
  1166. being willing to build circuits using it. Fixes bug 401. Bugfix
  1167. on 0.1.2.x.
  1168. - Directory caches now fetch certificates from all authorities
  1169. listed in a networkstatus consensus, even when they do not
  1170. recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
  1171. - When connecting to a bridge without specifying its key, insert
  1172. the connection into the identity-to-connection map as soon as
  1173. a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
  1174. - Detect versions of OS X where malloc_good_size() is present in the
  1175. library but never actually declared. Resolves bug 587. Bugfix
  1176. on 0.2.0.x.
  1177. - Stop incorrectly truncating zlib responses to directory authority
  1178. signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
  1179. - Stop recommending that every server operator send mail to tor-ops.
  1180. Resolves bug 597. Bugfix on 0.1.2.x.
  1181. - Don't trigger an assert if we start a directory authority with a
  1182. private IP address (like 127.0.0.1).
  1183. - Avoid possible failures when generating a directory with routers
  1184. with over-long versions strings, or too many flags set. Bugfix
  1185. on 0.1.2.x.
  1186. - If an attempt to launch a DNS resolve request over the control
  1187. port fails because we have overrun the limit on the number of
  1188. connections, tell the controller that the request has failed.
  1189. - Avoid using too little bandwidth when our clock skips a few
  1190. seconds. Bugfix on 0.1.2.x.
  1191. - Fix shell error when warning about missing packages in configure
  1192. script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
  1193. - Do not become confused when receiving a spurious VERSIONS-like
  1194. cell from a confused v1 client. Bugfix on 0.2.0.x.
  1195. - Re-fetch v2 (as well as v0) rendezvous descriptors when all
  1196. introduction points for a hidden service have failed. Patch from
  1197. Karsten Loesing. Bugfix on 0.2.0.x.
  1198. o Code simplifications and refactoring:
  1199. - Remove some needless generality from cpuworker code, for improved
  1200. type-safety.
  1201. - Stop overloading the circuit_t.onionskin field for both "onionskin
  1202. from a CREATE cell that we are waiting for a cpuworker to be
  1203. assigned" and "onionskin from an EXTEND cell that we are going to
  1204. send to an OR as soon as we are connected". Might help with bug 600.
  1205. - Add an in-place version of aes_crypt() so that we can avoid doing a
  1206. needless memcpy() call on each cell payload.
  1207. Changes in version 0.2.0.18-alpha - 2008-01-25
  1208. Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
  1209. fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
  1210. that can warn or reject connections to ports generally associated with
  1211. vulnerable-plaintext protocols.
  1212. o New directory authorities:
  1213. - Set up dannenberg (run by CCC) as the sixth v3 directory
  1214. authority.
  1215. o Major bugfixes:
  1216. - Fix a major memory leak when attempting to use the v2 TLS
  1217. handshake code. Bugfix on 0.2.0.x; fixes bug 589.
  1218. - We accidentally enabled the under-development v2 TLS handshake
  1219. code, which was causing log entries like "TLS error while
  1220. renegotiating handshake". Disable it again. Resolves bug 590.
  1221. - We were computing the wrong Content-Length: header for directory
  1222. responses that need to be compressed on the fly, causing clients
  1223. asking for those items to always fail. Bugfix on 0.2.0.x; partially
  1224. fixes bug 593.
  1225. o Major features:
  1226. - Avoid going directly to the directory authorities even if you're a
  1227. relay, if you haven't found yourself reachable yet or if you've
  1228. decided not to advertise your dirport yet. Addresses bug 556.
  1229. - If we've gone 12 hours since our last bandwidth check, and we
  1230. estimate we have less than 50KB bandwidth capacity but we could
  1231. handle more, do another bandwidth test.
  1232. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  1233. Tor can warn and/or refuse connections to ports commonly used with
  1234. vulnerable-plaintext protocols. Currently we warn on ports 23,
  1235. 109, 110, and 143, but we don't reject any.
  1236. o Minor bugfixes:
  1237. - When we setconf ClientOnly to 1, close any current OR and Dir
  1238. listeners. Reported by mwenge.
  1239. - When we get a consensus that's been signed by more people than
  1240. we expect, don't log about it; it's not a big deal. Reported
  1241. by Kyle Williams.
  1242. o Minor features:
  1243. - Don't answer "/tor/networkstatus-bridges" directory requests if
  1244. the request isn't encrypted.
  1245. - Make "ClientOnly 1" config option disable directory ports too.
  1246. - Patches from Karsten Loesing to make v2 hidden services more
  1247. robust: work even when there aren't enough HSDir relays available;
  1248. retry when a v2 rend desc fetch fails; but don't retry if we
  1249. already have a usable v0 rend desc.
  1250. Changes in version 0.2.0.17-alpha - 2008-01-17
  1251. Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
  1252. o Compile fixes:
  1253. - Make the tor-gencert man page get included correctly in the tarball.
  1254. Changes in version 0.2.0.16-alpha - 2008-01-17
  1255. Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
  1256. Loesing, and generally cleans up a lot of features and minor bugs.
  1257. o New directory authorities:
  1258. - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
  1259. authority.
  1260. o Major performance improvements:
  1261. - Switch our old ring buffer implementation for one more like that
  1262. used by free Unix kernels. The wasted space in a buffer with 1mb
  1263. of data will now be more like 8k than 1mb. The new implementation
  1264. also avoids realloc();realloc(); patterns that can contribute to
  1265. memory fragmentation.
  1266. o Minor features:
  1267. - Configuration files now accept C-style strings as values. This
  1268. helps encode characters not allowed in the current configuration
  1269. file format, such as newline or #. Addresses bug 557.
  1270. - Although we fixed bug 539 (where servers would send HTTP status 503
  1271. responses _and_ send a body too), there are still servers out
  1272. there that haven't upgraded. Therefore, make clients parse such
  1273. bodies when they receive them.
  1274. - When we're not serving v2 directory information, there is no reason
  1275. to actually keep any around. Remove the obsolete files and directory
  1276. on startup if they are very old and we aren't going to serve them.
  1277. o Minor performance improvements:
  1278. - Reference-count and share copies of address policy entries; only 5%
  1279. of them were actually distinct.
  1280. - Never walk through the list of logs if we know that no log is
  1281. interested in a given message.
  1282. o Minor bugfixes:
  1283. - When an authority has not signed a consensus, do not try to
  1284. download a nonexistent "certificate with key 00000000". Bugfix
  1285. on 0.2.0.x. Fixes bug 569.
  1286. - Fix a rare assert error when we're closing one of our threads:
  1287. use a mutex to protect the list of logs, so we never write to the
  1288. list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
  1289. bug 575, which is kind of the revenge of bug 222.
  1290. - Patch from Karsten Loesing to complain less at both the client
  1291. and the relay when a relay used to have the HSDir flag but doesn't
  1292. anymore, and we try to upload a hidden service descriptor.
  1293. - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
  1294. 0.2.0.15-alpha.
  1295. - Do not try to download missing certificates until we have tried
  1296. to check our fallback consensus. Fixes bug 583.
  1297. - Make bridges round reported GeoIP stats info up to the nearest
  1298. estimate, not down. Now we can distinguish between "0 people from
  1299. this country" and "1 person from this country".
  1300. - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
  1301. - Avoid possible segfault if key generation fails in
  1302. crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
  1303. - Avoid segfault in the case where a badly behaved v2 versioning
  1304. directory sends a signed networkstatus with missing client-versions.
  1305. Bugfix on 0.1.2.
  1306. - Avoid segfaults on certain complex invocations of
  1307. router_get_by_hexdigest(). Bugfix on 0.1.2.
  1308. - Correct bad index on array access in parse_http_time(). Bugfix
  1309. on 0.2.0.
  1310. - Fix possible bug in vote generation when server versions are present
  1311. but client versions are not.
  1312. - Fix rare bug on REDIRECTSTREAM control command when called with no
  1313. port set: it could erroneously report an error when none had
  1314. happened.
  1315. - Avoid bogus crash-prone, leak-prone tor_realloc when we're
  1316. compressing large objects and find ourselves with more than 4k
  1317. left over. Bugfix on 0.2.0.
  1318. - Fix a small memory leak when setting up a hidden service.
  1319. - Fix a few memory leaks that could in theory happen under bizarre
  1320. error conditions.
  1321. - Fix an assert if we post a general-purpose descriptor via the
  1322. control port but that descriptor isn't mentioned in our current
  1323. network consensus. Bug reported by Jon McLachlan; bugfix on
  1324. 0.2.0.9-alpha.
  1325. o Minor features (controller):
  1326. - Get NS events working again. Patch from tup.
  1327. - The GETCONF command now escapes and quotes configuration values
  1328. that don't otherwise fit into the torrc file.
  1329. - The SETCONF command now handles quoted values correctly.
  1330. o Minor features (directory authorities):
  1331. - New configuration options to override default maximum number of
  1332. servers allowed on a single IP address. This is important for
  1333. running a test network on a single host.
  1334. - Actually implement the -s option to tor-gencert.
  1335. - Add a manual page for tor-gencert.
  1336. o Minor features (bridges):
  1337. - Bridge authorities no longer serve bridge descriptors over
  1338. unencrypted connections.
  1339. o Minor features (other):
  1340. - Add hidden services and DNSPorts to the list of things that make
  1341. Tor accept that it has running ports. Change starting Tor with no
  1342. ports from a fatal error to a warning; we might change it back if
  1343. this turns out to confuse anybody. Fixes bug 579.
  1344. Changes in version 0.1.2.19 - 2008-01-17
  1345. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  1346. exit policy a little bit more conservative so it's safer to run an
  1347. exit relay on a home system, and fixes a variety of smaller issues.
  1348. o Security fixes:
  1349. - Exit policies now reject connections that are addressed to a
  1350. relay's public (external) IP address too, unless
  1351. ExitPolicyRejectPrivate is turned off. We do this because too
  1352. many relays are running nearby to services that trust them based
  1353. on network address.
  1354. o Major bugfixes:
  1355. - When the clock jumps forward a lot, do not allow the bandwidth
  1356. buckets to become negative. Fixes bug 544.
  1357. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  1358. on every successful resolve. Reported by Mike Perry.
  1359. - Purge old entries from the "rephist" database and the hidden
  1360. service descriptor database even when DirPort is zero.
  1361. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  1362. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  1363. crashing or mis-answering these requests.
  1364. - When we decide to send a 503 response to a request for servers, do
  1365. not then also send the server descriptors: this defeats the whole
  1366. purpose. Fixes bug 539.
  1367. o Minor bugfixes:
  1368. - Changing the ExitPolicyRejectPrivate setting should cause us to
  1369. rebuild our server descriptor.
  1370. - Fix handling of hex nicknames when answering controller requests for
  1371. networkstatus by name, or when deciding whether to warn about
  1372. unknown routers in a config option. (Patch from mwenge.)
  1373. - Fix a couple of hard-to-trigger autoconf problems that could result
  1374. in really weird results on platforms whose sys/types.h files define
  1375. nonstandard integer types.
  1376. - Don't try to create the datadir when running --verify-config or
  1377. --hash-password. Resolves bug 540.
  1378. - If we were having problems getting a particular descriptor from the
  1379. directory caches, and then we learned about a new descriptor for
  1380. that router, we weren't resetting our failure count. Reported
  1381. by lodger.
  1382. - Although we fixed bug 539 (where servers would send HTTP status 503
  1383. responses _and_ send a body too), there are still servers out there
  1384. that haven't upgraded. Therefore, make clients parse such bodies
  1385. when they receive them.
  1386. - Run correctly on systems where rlim_t is larger than unsigned long.
  1387. This includes some 64-bit systems.
  1388. - Run correctly on platforms (like some versions of OS X 10.5) where
  1389. the real limit for number of open files is OPEN_FILES, not rlim_max
  1390. from getrlimit(RLIMIT_NOFILES).
  1391. - Avoid a spurious free on base64 failure.
  1392. - Avoid segfaults on certain complex invocations of
  1393. router_get_by_hexdigest().
  1394. - Fix rare bug on REDIRECTSTREAM control command when called with no
  1395. port set: it could erroneously report an error when none had
  1396. happened.
  1397. Changes in version 0.2.0.15-alpha - 2007-12-25
  1398. Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
  1399. features added in 0.2.0.13-alpha.
  1400. o Major bugfixes:
  1401. - Fix several remotely triggerable asserts based on DirPort requests
  1402. for a v2 or v3 networkstatus object before we were prepared. This
  1403. was particularly bad for 0.2.0.13 and later bridge relays, who
  1404. would never have a v2 networkstatus and would thus always crash
  1405. when used. Bugfixes on 0.2.0.x.
  1406. - Estimate the v3 networkstatus size more accurately, rather than
  1407. estimating it at zero bytes and giving it artificially high priority
  1408. compared to other directory requests. Bugfix on 0.2.0.x.
  1409. o Minor bugfixes:
  1410. - Fix configure.in logic for cross-compilation.
  1411. - When we load a bridge descriptor from the cache, and it was
  1412. previously unreachable, mark it as retriable so we won't just
  1413. ignore it. Also, try fetching a new copy immediately. Bugfixes
  1414. on 0.2.0.13-alpha.
  1415. - The bridge GeoIP stats were counting other relays, for example
  1416. self-reachability and authority-reachability tests.
  1417. o Minor features:
  1418. - Support compilation to target iPhone; patch from cjacker huang.
  1419. To build for iPhone, pass the --enable-iphone option to configure.
  1420. Changes in version 0.2.0.14-alpha - 2007-12-23
  1421. o Major bugfixes:
  1422. - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
  1423. without a datadirectory from a previous Tor install. Reported
  1424. by Zax.
  1425. - Fix a crash when we fetch a descriptor that turns out to be
  1426. unexpected (it used to be in our networkstatus when we started
  1427. fetching it, but it isn't in our current networkstatus), and we
  1428. aren't using bridges. Bugfix on 0.2.0.x.
  1429. - Fix a crash when accessing hidden services: it would work the first
  1430. time you use a given introduction point for your service, but
  1431. on subsequent requests we'd be using garbage memory. Fixed by
  1432. Karsten Loesing. Bugfix on 0.2.0.13-alpha.
  1433. - Fix a crash when we load a bridge descriptor from disk but we don't
  1434. currently have a Bridge line for it in our torrc. Bugfix on
  1435. 0.2.0.13-alpha.
  1436. o Major features:
  1437. - If bridge authorities set BridgePassword, they will serve a
  1438. snapshot of known bridge routerstatuses from their DirPort to
  1439. anybody who knows that password. Unset by default.
  1440. o Minor bugfixes:
  1441. - Make the unit tests build again.
  1442. - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
  1443. - Make PublishServerDescriptor default to 1, so the default doesn't
  1444. have to change as we invent new directory protocol versions.
  1445. - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
  1446. be included unless sys/time.h is already included. Fixes
  1447. bug 553. Bugfix on 0.2.0.x.
  1448. - If we receive a general-purpose descriptor and then receive an
  1449. identical bridge-purpose descriptor soon after, don't discard
  1450. the next one as a duplicate.
  1451. o Minor features:
  1452. - If BridgeRelay is set to 1, then the default for
  1453. PublishServerDescriptor is now "bridge" rather than "v2,v3".
  1454. - If the user sets RelayBandwidthRate but doesn't set
  1455. RelayBandwidthBurst, then make them equal rather than erroring out.
  1456. Changes in version 0.2.0.13-alpha - 2007-12-21
  1457. Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
  1458. Goodell, fixes many more bugs, and adds a lot of infrastructure for
  1459. upcoming features.
  1460. o New directory authorities:
  1461. - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
  1462. authority.
  1463. o Major bugfixes:
  1464. - Only update guard status (usable / not usable) once we have
  1465. enough directory information. This was causing us to always pick
  1466. two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
  1467. causing us to discard all our guards on startup if we hadn't been
  1468. running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
  1469. - Purge old entries from the "rephist" database and the hidden
  1470. service descriptor databases even when DirPort is zero. Bugfix
  1471. on 0.1.2.x.
  1472. - We were ignoring our RelayBandwidthRate for the first 30 seconds
  1473. after opening a circuit -- even a relayed circuit. Bugfix on
  1474. 0.2.0.3-alpha.
  1475. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  1476. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  1477. crashing or mis-answering these types of requests.
  1478. - Relays were publishing their server descriptor to v1 and v2
  1479. directory authorities, but they didn't try publishing to v3-only
  1480. authorities. Fix this; and also stop publishing to v1 authorities.
  1481. Bugfix on 0.2.0.x.
  1482. - When we were reading router descriptors from cache, we were ignoring
  1483. the annotations -- so for example we were reading in bridge-purpose
  1484. descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
  1485. - When we decided to send a 503 response to a request for servers, we
  1486. were then also sending the server descriptors: this defeats the
  1487. whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
  1488. o Major features:
  1489. - Bridge relays now behave like clients with respect to time
  1490. intervals for downloading new consensus documents -- otherwise they
  1491. stand out. Bridge users now wait until the end of the interval,
  1492. so their bridge relay will be sure to have a new consensus document.
  1493. - Three new config options (AlternateDirAuthority,
  1494. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  1495. user selectively replace the default directory authorities by type,
  1496. rather than the all-or-nothing replacement that DirServer offers.
  1497. - Tor can now be configured to read a GeoIP file from disk in one
  1498. of two formats. This can be used by controllers to map IP addresses
  1499. to countries. Eventually, it may support exit-by-country.
  1500. - When possible, bridge relays remember which countries users
  1501. are coming from, and report aggregate information in their
  1502. extra-info documents, so that the bridge authorities can learn
  1503. where Tor is blocked.
  1504. - Bridge directory authorities now do reachability testing on the
  1505. bridges they know. They provide router status summaries to the
  1506. controller via "getinfo ns/purpose/bridge", and also dump summaries
  1507. to a file periodically.
  1508. - Stop fetching directory info so aggressively if your DirPort is
  1509. on but your ORPort is off; stop fetching v2 dir info entirely.
  1510. You can override these choices with the new FetchDirInfoEarly
  1511. config option.
  1512. o Minor bugfixes:
  1513. - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
  1514. consensus documents when there are too many relays at a single
  1515. IP address. Now clear it in v2 network status documents too, and
  1516. also clear it in routerinfo_t when the relay is no longer listed
  1517. in the relevant networkstatus document.
  1518. - Don't crash if we get an unexpected value for the
  1519. PublishServerDescriptor config option. Reported by Matt Edman;
  1520. bugfix on 0.2.0.9-alpha.
  1521. - Our new v2 hidden service descriptor format allows descriptors
  1522. that have no introduction points. But Tor crashed when we tried
  1523. to build a descriptor with no intro points (and it would have
  1524. crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
  1525. by Karsten Loesing.
  1526. - Fix building with dmalloc 5.5.2 with glibc.
  1527. - Reject uploaded descriptors and extrainfo documents if they're
  1528. huge. Otherwise we'll cache them all over the network and it'll
  1529. clog everything up. Reported by Aljosha Judmayer.
  1530. - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
  1531. via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
  1532. - When the DANGEROUS_VERSION controller status event told us we're
  1533. running an obsolete version, it used the string "OLD" to describe
  1534. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  1535. "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
  1536. - If we can't expand our list of entry guards (e.g. because we're
  1537. using bridges or we have StrictEntryNodes set), don't mark relays
  1538. down when they fail a directory request. Otherwise we're too quick
  1539. to mark all our entry points down. Bugfix on 0.1.2.x.
  1540. - Fix handling of hex nicknames when answering controller requests for
  1541. networkstatus by name, or when deciding whether to warn about unknown
  1542. routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
  1543. - Fix a couple of hard-to-trigger autoconf problems that could result
  1544. in really weird results on platforms whose sys/types.h files define
  1545. nonstandard integer types. Bugfix on 0.1.2.x.
  1546. - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
  1547. - Don't crash on name lookup when we have no current consensus. Fixes
  1548. bug 538; bugfix on 0.2.0.x.
  1549. - Only Tors that want to mirror the v2 directory info should
  1550. create the "cached-status" directory in their datadir. (All Tors
  1551. used to create it.) Bugfix on 0.2.0.9-alpha.
  1552. - Directory authorities should only automatically download Extra Info
  1553. documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
  1554. o Minor features:
  1555. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  1556. consumers. (We already do this on HUP.)
  1557. - Authorities and caches fetch the v2 networkstatus documents
  1558. less often, now that v3 is encouraged.
  1559. - Add a new config option BridgeRelay that specifies you want to
  1560. be a bridge relay. Right now the only difference is that it makes
  1561. you answer begin_dir requests, and it makes you cache dir info,
  1562. even if your DirPort isn't on.
  1563. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  1564. ask about source, timestamp of arrival, purpose, etc. We need
  1565. something like this to help Vidalia not do GeoIP lookups on bridge
  1566. addresses.
  1567. - Allow multiple HashedControlPassword config lines, to support
  1568. multiple controller passwords.
  1569. - Authorities now decide whether they're authoritative for a given
  1570. router based on the router's purpose.
  1571. - New config options AuthDirBadDir and AuthDirListBadDirs for
  1572. authorities to mark certain relays as "bad directories" in the
  1573. networkstatus documents. Also supports the "!baddir" directive in
  1574. the approved-routers file.
  1575. Changes in version 0.2.0.12-alpha - 2007-11-16
  1576. This twelfth development snapshot fixes some more build problems as
  1577. well as a few minor bugs.
  1578. o Compile fixes:
  1579. - Make it build on OpenBSD again. Patch from tup.
  1580. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
  1581. package-building for Red Hat, OS X, etc.
  1582. o Minor bugfixes (on 0.1.2.x):
  1583. - Changing the ExitPolicyRejectPrivate setting should cause us to
  1584. rebuild our server descriptor.
  1585. o Minor bugfixes (on 0.2.0.x):
  1586. - When we're lacking a consensus, don't try to perform rendezvous
  1587. operations. Reported by Karsten Loesing.
  1588. - Fix a small memory leak whenever we decide against using a
  1589. newly picked entry guard. Reported by Mike Perry.
  1590. - When authorities detected more than two relays running on the same
  1591. IP address, they were clearing all the status flags but forgetting
  1592. to clear the "hsdir" flag. So clients were being told that a
  1593. given relay was the right choice for a v2 hsdir lookup, yet they
  1594. never had its descriptor because it was marked as 'not running'
  1595. in the consensus.
  1596. - If we're trying to fetch a bridge descriptor and there's no way
  1597. the bridge authority could help us (for example, we don't know
  1598. a digest, or there is no bridge authority), don't be so eager to
  1599. fall back to asking the bridge authority.
  1600. - If we're using bridges or have strictentrynodes set, and our
  1601. chosen exit is in the same family as all our bridges/entry guards,
  1602. then be flexible about families.
  1603. o Minor features:
  1604. - When we negotiate a v2 link-layer connection (not yet implemented),
  1605. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  1606. negotiated a v1 connection for their next step. Initial code for
  1607. proposal 110.
  1608. Changes in version 0.2.0.11-alpha - 2007-11-12
  1609. This eleventh development snapshot fixes some build problems with
  1610. the previous snapshot. It also includes a more secure-by-default exit
  1611. policy for relays, fixes an enormous memory leak for exit relays, and
  1612. fixes another bug where servers were falling out of the directory list.
  1613. o Security fixes:
  1614. - Exit policies now reject connections that are addressed to a
  1615. relay's public (external) IP address too, unless
  1616. ExitPolicyRejectPrivate is turned off. We do this because too
  1617. many relays are running nearby to services that trust them based
  1618. on network address. Bugfix on 0.1.2.x.
  1619. o Major bugfixes:
  1620. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  1621. on every successful resolve. Reported by Mike Perry; bugfix
  1622. on 0.1.2.x.
  1623. - On authorities, never downgrade to old router descriptors simply
  1624. because they're listed in the consensus. This created a catch-22
  1625. where we wouldn't list a new descriptor because there was an
  1626. old one in the consensus, and we couldn't get the new one in the
  1627. consensus because we wouldn't list it. Possible fix for bug 548.
  1628. Also, this might cause bug 543 to appear on authorities; if so,
  1629. we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
  1630. o Packaging fixes on 0.2.0.10-alpha:
  1631. - We were including instructions about what to do with the
  1632. src/config/fallback-consensus file, but we weren't actually
  1633. including it in the tarball. Disable all of that for now.
  1634. o Minor features:
  1635. - Allow people to say PreferTunnelledDirConns rather than
  1636. PreferTunneledDirConns, for those alternate-spellers out there.
  1637. o Minor bugfixes:
  1638. - Don't reevaluate all the information from our consensus document
  1639. just because we've downloaded a v2 networkstatus that we intend
  1640. to cache. Fixes bug 545; bugfix on 0.2.0.x.
  1641. Changes in version 0.2.0.10-alpha - 2007-11-10
  1642. This tenth development snapshot adds a third v3 directory authority
  1643. run by Mike Perry, adds most of Karsten Loesing's new hidden service
  1644. descriptor format, fixes a bad crash bug and new bridge bugs introduced
  1645. in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
  1646. fixes some minor memory leaks in previous 0.2.0.x snapshots, and
  1647. addresses many more minor issues.
  1648. o New directory authorities:
  1649. - Set up ides (run by Mike Perry) as the third v3 directory authority.
  1650. o Major features:
  1651. - Allow tunnelled directory connections to ask for an encrypted
  1652. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  1653. connection independently. Now we can make anonymized begin_dir
  1654. connections for (e.g.) more secure hidden service posting and
  1655. fetching.
  1656. - More progress on proposal 114: code from Karsten Loesing to
  1657. implement new hidden service descriptor format.
  1658. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  1659. accommodate the growing number of servers that use the default
  1660. and are reaching it.
  1661. - Directory authorities use a new formula for selecting which nodes
  1662. to advertise as Guards: they must be in the top 7/8 in terms of
  1663. how long we have known about them, and above the median of those
  1664. nodes in terms of weighted fractional uptime.
  1665. - Make "not enough dir info yet" warnings describe *why* Tor feels
  1666. it doesn't have enough directory info yet.
  1667. o Major bugfixes:
  1668. - Stop servers from crashing if they set a Family option (or
  1669. maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
  1670. by Fabian Keil.
  1671. - Make bridge users work again -- the move to v3 directories in
  1672. 0.2.0.9-alpha had introduced a number of bugs that made bridges
  1673. no longer work for clients.
  1674. - When the clock jumps forward a lot, do not allow the bandwidth
  1675. buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
  1676. o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
  1677. - When the consensus lists a router descriptor that we previously were
  1678. mirroring, but that we considered non-canonical, reload the
  1679. descriptor as canonical. This fixes bug 543 where Tor servers
  1680. would start complaining after a few days that they don't have
  1681. enough directory information to build a circuit.
  1682. - Consider replacing the current consensus when certificates arrive
  1683. that make the pending consensus valid. Previously, we were only
  1684. considering replacement when the new certs _didn't_ help.
  1685. - Fix an assert error on startup if we didn't already have the
  1686. consensus and certs cached in our datadirectory: we were caching
  1687. the consensus in consensus_waiting_for_certs but then free'ing it
  1688. right after.
  1689. - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
  1690. Request) if we need more v3 certs but we've already got pending
  1691. requests for all of them.
  1692. - Correctly back off from failing certificate downloads. Fixes
  1693. bug 546.
  1694. - Authorities don't vote on the Running flag if they have been running
  1695. for less than 30 minutes themselves. Fixes bug 547, where a newly
  1696. started authority would vote that everyone was down.
  1697. o New requirements:
  1698. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  1699. it, it had no AES, and it hasn't seen any security patches since
  1700. 2004.
  1701. o Minor features:
  1702. - Clients now hold circuitless TLS connections open for 1.5 times
  1703. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  1704. rebuild a new circuit over them within that timeframe. Previously,
  1705. they held them open only for KeepalivePeriod (5 minutes).
  1706. - Use "If-Modified-Since" to avoid retrieving consensus
  1707. networkstatuses that we already have.
  1708. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  1709. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  1710. we start knowing some directory caches.
  1711. - When we receive a consensus from the future, warn about skew.
  1712. - Improve skew reporting: try to give the user a better log message
  1713. about how skewed they are, and how much this matters.
  1714. - When we have a certificate for an authority, believe that
  1715. certificate's claims about the authority's IP address.
  1716. - New --quiet command-line option to suppress the default console log.
  1717. Good in combination with --hash-password.
  1718. - Authorities send back an X-Descriptor-Not-New header in response to
  1719. an accepted-but-discarded descriptor upload. Partially implements
  1720. fix for bug 535.
  1721. - Make the log message for "tls error. breaking." more useful.
  1722. - Better log messages about certificate downloads, to attempt to
  1723. track down the second incarnation of bug 546.
  1724. o Minor features (bridges):
  1725. - If bridge users set UpdateBridgesFromAuthority, but the digest
  1726. they ask for is a 404 from the bridge authority, they now fall
  1727. back to trying the bridge directly.
  1728. - Bridges now use begin_dir to publish their server descriptor to
  1729. the bridge authority, even when they haven't set TunnelDirConns.
  1730. o Minor features (controller):
  1731. - When reporting clock skew, and we know that the clock is _at least
  1732. as skewed_ as some value, but we don't know the actual value,
  1733. report the value as a "minimum skew."
  1734. o Utilities:
  1735. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  1736. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  1737. Perry.
  1738. o Minor bugfixes:
  1739. - Refuse to start if both ORPort and UseBridges are set. Bugfix
  1740. on 0.2.0.x, suggested by Matt Edman.
  1741. - Don't stop fetching descriptors when FetchUselessDescriptors is
  1742. set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
  1743. reported by tup and ioerror.
  1744. - Better log message on vote from unknown authority.
  1745. - Don't log "Launching 0 request for 0 router" message.
  1746. o Minor bugfixes (memory leaks):
  1747. - Stop leaking memory every time we parse a v3 certificate. Bugfix
  1748. on 0.2.0.1-alpha.
  1749. - Stop leaking memory every time we load a v3 certificate. Bugfix
  1750. on 0.2.0.1-alpha. Fixes bug 536.
  1751. - Stop leaking a cached networkstatus on exit. Bugfix on
  1752. 0.2.0.3-alpha.
  1753. - Stop leaking voter information every time we free a consensus.
  1754. Bugfix on 0.2.0.3-alpha.
  1755. - Stop leaking signed data every time we check a voter signature.
  1756. Bugfix on 0.2.0.3-alpha.
  1757. - Stop leaking a signature every time we fail to parse a consensus or
  1758. a vote. Bugfix on 0.2.0.3-alpha.
  1759. - Stop leaking v2_download_status_map on shutdown. Bugfix on
  1760. 0.2.0.9-alpha.
  1761. - Stop leaking conn->nickname every time we make a connection to a
  1762. Tor relay without knowing its expected identity digest (e.g. when
  1763. using bridges). Bugfix on 0.2.0.3-alpha.
  1764. - Minor bugfixes (portability):
  1765. - Run correctly on platforms where rlim_t is larger than unsigned
  1766. long, and/or where the real limit for number of open files is
  1767. OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
  1768. particular, these may be needed for OS X 10.5.
  1769. Changes in version 0.1.2.18 - 2007-10-28
  1770. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  1771. hidden service introduction that were causing huge delays, and a big
  1772. bug that was causing some servers to disappear from the network status
  1773. lists for a few hours each day.
  1774. o Major bugfixes (crashes):
  1775. - If a connection is shut down abruptly because of something that
  1776. happened inside connection_flushed_some(), do not call
  1777. connection_finished_flushing(). Should fix bug 451:
  1778. "connection_stop_writing: Assertion conn->write_event failed"
  1779. Bugfix on 0.1.2.7-alpha.
  1780. - Fix possible segfaults in functions called from
  1781. rend_process_relay_cell().
  1782. o Major bugfixes (hidden services):
  1783. - Hidden services were choosing introduction points uniquely by
  1784. hexdigest, but when constructing the hidden service descriptor
  1785. they merely wrote the (potentially ambiguous) nickname.
  1786. - Clients now use the v2 intro format for hidden service
  1787. connections: they specify their chosen rendezvous point by identity
  1788. digest rather than by (potentially ambiguous) nickname. These
  1789. changes could speed up hidden service connections dramatically.
  1790. o Major bugfixes (other):
  1791. - Stop publishing a new server descriptor just because we get a
  1792. HUP signal. This led (in a roundabout way) to some servers getting
  1793. dropped from the networkstatus lists for a few hours each day.
  1794. - When looking for a circuit to cannibalize, consider family as well
  1795. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  1796. circuit cannibalization).
  1797. - When a router wasn't listed in a new networkstatus, we were leaving
  1798. the flags for that router alone -- meaning it remained Named,
  1799. Running, etc -- even though absence from the networkstatus means
  1800. that it shouldn't be considered to exist at all anymore. Now we
  1801. clear all the flags for routers that fall out of the networkstatus
  1802. consensus. Fixes bug 529.
  1803. o Minor bugfixes:
  1804. - Don't try to access (or alter) the state file when running
  1805. --list-fingerprint or --verify-config or --hash-password. Resolves
  1806. bug 499.
  1807. - When generating information telling us how to extend to a given
  1808. router, do not try to include the nickname if it is
  1809. absent. Resolves bug 467.
  1810. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  1811. a way to trigger this remotely.)
  1812. - When sending a status event to the controller telling it that an
  1813. OR address is reachable, set the port correctly. (Previously we
  1814. were reporting the dir port.)
  1815. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  1816. command. Bugfix on 0.1.2.17.
  1817. - When loading bandwidth history, do not believe any information in
  1818. the future. Fixes bug 434.
  1819. - When loading entry guard information, do not believe any information
  1820. in the future.
  1821. - When we have our clock set far in the future and generate an
  1822. onion key, then re-set our clock to be correct, we should not stop
  1823. the onion key from getting rotated.
  1824. - On some platforms, accept() can return a broken address. Detect
  1825. this more quietly, and deal accordingly. Fixes bug 483.
  1826. - It's not actually an error to find a non-pending entry in the DNS
  1827. cache when canceling a pending resolve. Don't log unless stuff
  1828. is fishy. Resolves bug 463.
  1829. - Don't reset trusted dir server list when we set a configuration
  1830. option. Patch from Robert Hogan.
  1831. - Don't try to create the datadir when running --verify-config or
  1832. --hash-password. Resolves bug 540.
  1833. Changes in version 0.2.0.9-alpha - 2007-10-24
  1834. This ninth development snapshot switches clients to the new v3 directory
  1835. system; allows servers to be listed in the network status even when they
  1836. have the same nickname as a registered server; and fixes many other
  1837. bugs including a big one that was causing some servers to disappear
  1838. from the network status lists for a few hours each day.
  1839. o Major features (directory system):
  1840. - Clients now download v3 consensus networkstatus documents instead
  1841. of v2 networkstatus documents. Clients and caches now base their
  1842. opinions about routers on these consensus documents. Clients only
  1843. download router descriptors listed in the consensus.
  1844. - Authorities now list servers who have the same nickname as
  1845. a different named server, but list them with a new flag,
  1846. "Unnamed". Now we can list servers that happen to pick the same
  1847. nickname as a server that registered two years ago and then
  1848. disappeared. Partially implements proposal 122.
  1849. - If the consensus lists a router as "Unnamed", the name is assigned
  1850. to a different router: do not identify the router by that name.
  1851. Partially implements proposal 122.
  1852. - Authorities can now come to a consensus on which method to use to
  1853. compute the consensus. This gives us forward compatibility.
  1854. o Major bugfixes:
  1855. - Stop publishing a new server descriptor just because we HUP or
  1856. when we find our DirPort to be reachable but won't actually publish
  1857. it. New descriptors without any real changes are dropped by the
  1858. authorities, and can screw up our "publish every 18 hours" schedule.
  1859. Bugfix on 0.1.2.x.
  1860. - When a router wasn't listed in a new networkstatus, we were leaving
  1861. the flags for that router alone -- meaning it remained Named,
  1862. Running, etc -- even though absence from the networkstatus means
  1863. that it shouldn't be considered to exist at all anymore. Now we
  1864. clear all the flags for routers that fall out of the networkstatus
  1865. consensus. Fixes bug 529; bugfix on 0.1.2.x.
  1866. - Fix awful behavior in DownloadExtraInfo option where we'd fetch
  1867. extrainfo documents and then discard them immediately for not
  1868. matching the latest router. Bugfix on 0.2.0.1-alpha.
  1869. o Minor features (v3 directory protocol):
  1870. - Allow tor-gencert to generate a new certificate without replacing
  1871. the signing key.
  1872. - Allow certificates to include an address.
  1873. - When we change our directory-cache settings, reschedule all voting
  1874. and download operations.
  1875. - Reattempt certificate downloads immediately on failure, as long as
  1876. we haven't failed a threshold number of times yet.
  1877. - Delay retrying consensus downloads while we're downloading
  1878. certificates to verify the one we just got. Also, count getting a
  1879. consensus that we already have (or one that isn't valid) as a failure,
  1880. and count failing to get the certificates after 20 minutes as a
  1881. failure.
  1882. - Build circuits and download descriptors even if our consensus is a
  1883. little expired. (This feature will go away once authorities are
  1884. more reliable.)
  1885. o Minor features (router descriptor cache):
  1886. - If we find a cached-routers file that's been sitting around for more
  1887. than 28 days unmodified, then most likely it's a leftover from
  1888. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  1889. routers anyway.
  1890. - When we (as a cache) download a descriptor because it was listed
  1891. in a consensus, remember when the consensus was supposed to expire,
  1892. and don't expire the descriptor until then.
  1893. o Minor features (performance):
  1894. - Call routerlist_remove_old_routers() much less often. This should
  1895. speed startup, especially on directory caches.
  1896. - Don't try to launch new descriptor downloads quite so often when we
  1897. already have enough directory information to build circuits.
  1898. - Base64 decoding was actually showing up on our profile when parsing
  1899. the initial descriptor file; switch to an in-process all-at-once
  1900. implementation that's about 3.5x times faster than calling out to
  1901. OpenSSL.
  1902. o Minor features (compilation):
  1903. - Detect non-ASCII platforms (if any still exist) and refuse to
  1904. build there: some of our code assumes that 'A' is 65 and so on.
  1905. o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
  1906. - Make the "next period" votes into "current period" votes immediately
  1907. after publishing the consensus; avoid a heisenbug that made them
  1908. stick around indefinitely.
  1909. - When we discard a vote as a duplicate, do not report this as
  1910. an error.
  1911. - Treat missing v3 keys or certificates as an error when running as a
  1912. v3 directory authority.
  1913. - When we're configured to be a v3 authority, but we're only listed
  1914. as a non-v3 authority in our DirServer line for ourself, correct
  1915. the listing.
  1916. - If an authority doesn't have a qualified hostname, just put
  1917. its address in the vote. This fixes the problem where we referred to
  1918. "moria on moria:9031."
  1919. - Distinguish between detached signatures for the wrong period, and
  1920. detached signatures for a divergent vote.
  1921. - Fix a small memory leak when computing a consensus.
  1922. - When there's no concensus, we were forming a vote every 30
  1923. minutes, but writing the "valid-after" line in our vote based
  1924. on our configured V3AuthVotingInterval: so unless the intervals
  1925. matched up, we immediately rejected our own vote because it didn't
  1926. start at the voting interval that caused us to construct a vote.
  1927. o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
  1928. - Delete unverified-consensus when the real consensus is set.
  1929. - Consider retrying a consensus networkstatus fetch immediately
  1930. after one fails: don't wait 60 seconds to notice.
  1931. - When fetching a consensus as a cache, wait until a newer consensus
  1932. should exist before trying to replace the current one.
  1933. - Use a more forgiving schedule for retrying failed consensus
  1934. downloads than for other types.
  1935. o Minor bugfixes (other directory issues):
  1936. - Correct the implementation of "download votes by digest." Bugfix on
  1937. 0.2.0.8-alpha.
  1938. - Authorities no longer send back "400 you're unreachable please fix
  1939. it" errors to Tor servers that aren't online all the time. We're
  1940. supposed to tolerate these servers now. Bugfix on 0.1.2.x.
  1941. o Minor bugfixes (controller):
  1942. - Don't reset trusted dir server list when we set a configuration
  1943. option. Patch from Robert Hogan; bugfix on 0.1.2.x.
  1944. - Respond to INT and TERM SIGNAL commands before we execute the
  1945. signal, in case the signal shuts us down. We had a patch in
  1946. 0.1.2.1-alpha that tried to do this by queueing the response on
  1947. the connection's buffer before shutting down, but that really
  1948. isn't the same thing at all. Bug located by Matt Edman.
  1949. o Minor bugfixes (misc):
  1950. - Correctly check for bad options to the "PublishServerDescriptor"
  1951. config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
  1952. - Stop leaking memory on failing case of base32_decode, and make
  1953. it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
  1954. - Don't try to download extrainfo documents when we're trying to
  1955. fetch enough directory info to build a circuit: having enough
  1956. info should get priority. Bugfix on 0.2.0.x.
  1957. - Don't complain that "your server has not managed to confirm that its
  1958. ports are reachable" if we haven't been able to build any circuits
  1959. yet. Bug found by spending four hours without a v3 consensus. Bugfix
  1960. on 0.1.2.x.
  1961. - Detect the reason for failing to mmap a descriptor file we just
  1962. wrote, and give a more useful log message. Fixes bug 533. Bugfix
  1963. on 0.1.2.x.
  1964. o Code simplifications and refactoring:
  1965. - Remove support for the old bw_accounting file: we've been storing
  1966. bandwidth accounting information in the state file since
  1967. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  1968. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  1969. downgrade to 0.1.1.x or earlier.
  1970. - New convenience code to locate a file within the DataDirectory.
  1971. - Move non-authority functionality out of dirvote.c.
  1972. - Refactor the arguments for router_pick_{directory_|trusteddir}server
  1973. so that they all take the same named flags.
  1974. o Utilities
  1975. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  1976. Unix users an easy way to script their Tor process (e.g. by
  1977. adjusting bandwidth based on the time of the day).
  1978. Changes in version 0.2.0.8-alpha - 2007-10-12
  1979. This eighth development snapshot fixes a crash bug that's been bothering
  1980. us since February 2007, lets bridge authorities store a list of bridge
  1981. descriptors they've seen, gets v3 directory voting closer to working,
  1982. starts caching v3 directory consensus documents on directory mirrors,
  1983. and fixes a variety of smaller issues including some minor memory leaks.
  1984. o Major features (router descriptor cache):
  1985. - Store routers in a file called cached-descriptors instead of in
  1986. cached-routers. Initialize cached-descriptors from cached-routers
  1987. if the old format is around. The new format allows us to store
  1988. annotations along with descriptors.
  1989. - Use annotations to record the time we received each descriptor, its
  1990. source, and its purpose.
  1991. - Disable the SETROUTERPURPOSE controller command: it is now
  1992. obsolete.
  1993. - Controllers should now specify cache=no or cache=yes when using
  1994. the +POSTDESCRIPTOR command.
  1995. - Bridge authorities now write bridge descriptors to disk, meaning
  1996. we can export them to other programs and begin distributing them
  1997. to blocked users.
  1998. o Major features (directory authorities):
  1999. - When a v3 authority is missing votes or signatures, it now tries
  2000. to fetch them.
  2001. - Directory authorities track weighted fractional uptime as well as
  2002. weighted mean-time-between failures. WFU is suitable for deciding
  2003. whether a node is "usually up", while MTBF is suitable for deciding
  2004. whether a node is "likely to stay up." We need both, because
  2005. "usually up" is a good requirement for guards, while "likely to
  2006. stay up" is a good requirement for long-lived connections.
  2007. o Major features (v3 directory system):
  2008. - Caches now download v3 network status documents as needed,
  2009. and download the descriptors listed in them.
  2010. - All hosts now attempt to download and keep fresh v3 authority
  2011. certificates, and re-attempt after failures.
  2012. - More internal-consistency checks for vote parsing.
  2013. o Major bugfixes (crashes):
  2014. - If a connection is shut down abruptly because of something that
  2015. happened inside connection_flushed_some(), do not call
  2016. connection_finished_flushing(). Should fix bug 451. Bugfix on
  2017. 0.1.2.7-alpha.
  2018. o Major bugfixes (performance):
  2019. - Fix really bad O(n^2) performance when parsing a long list of
  2020. routers: Instead of searching the entire list for an "extra-info "
  2021. string which usually wasn't there, once for every routerinfo
  2022. we read, just scan lines forward until we find one we like.
  2023. Bugfix on 0.2.0.1.
  2024. - When we add data to a write buffer in response to the data on that
  2025. write buffer getting low because of a flush, do not consider the
  2026. newly added data as a candidate for immediate flushing, but rather
  2027. make it wait until the next round of writing. Otherwise, we flush
  2028. and refill recursively, and a single greedy TLS connection can
  2029. eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
  2030. o Minor features (v3 authority system):
  2031. - Add more ways for tools to download the votes that lead to the
  2032. current consensus.
  2033. - Send a 503 when low on bandwidth and a vote, consensus, or
  2034. certificate is requested.
  2035. - If-modified-since is now implemented properly for all kinds of
  2036. certificate requests.
  2037. o Minor bugfixes (network statuses):
  2038. - Tweak the implementation of proposal 109 slightly: allow at most
  2039. two Tor servers on the same IP address, except if it's the location
  2040. of a directory authority, in which case allow five. Bugfix on
  2041. 0.2.0.3-alpha.
  2042. o Minor bugfixes (controller):
  2043. - When sending a status event to the controller telling it that an
  2044. OR address is reachable, set the port correctly. (Previously we
  2045. were reporting the dir port.) Bugfix on 0.1.2.x.
  2046. o Minor bugfixes (v3 directory system):
  2047. - Fix logic to look up a cert by its signing key digest. Bugfix on
  2048. 0.2.0.7-alpha.
  2049. - Only change the reply to a vote to "OK" if it's not already
  2050. set. This gets rid of annoying "400 OK" log messages, which may
  2051. have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
  2052. - When we get a valid consensus, recompute the voting schedule.
  2053. - Base the valid-after time of a vote on the consensus voting
  2054. schedule, not on our preferred schedule.
  2055. - Make the return values and messages from signature uploads and
  2056. downloads more sensible.
  2057. - Fix a memory leak when serving votes and consensus documents, and
  2058. another when serving certificates.
  2059. o Minor bugfixes (performance):
  2060. - Use a slightly simpler string hashing algorithm (copying Python's
  2061. instead of Java's) and optimize our digest hashing algorithm to take
  2062. advantage of 64-bit platforms and to remove some possibly-costly
  2063. voodoo.
  2064. - Fix a minor memory leak whenever we parse guards from our state
  2065. file. Bugfix on 0.2.0.7-alpha.
  2066. - Fix a minor memory leak whenever we write out a file. Bugfix on
  2067. 0.2.0.7-alpha.
  2068. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  2069. command. Bugfix on 0.2.0.5-alpha.
  2070. o Minor bugfixes (portability):
  2071. - On some platforms, accept() can return a broken address. Detect
  2072. this more quietly, and deal accordingly. Fixes bug 483.
  2073. - Stop calling tor_strlower() on uninitialized memory in some cases.
  2074. Bugfix in 0.2.0.7-alpha.
  2075. o Minor bugfixes (usability):
  2076. - Treat some 403 responses from directory servers as INFO rather than
  2077. WARN-severity events.
  2078. - It's not actually an error to find a non-pending entry in the DNS
  2079. cache when canceling a pending resolve. Don't log unless stuff is
  2080. fishy. Resolves bug 463.
  2081. o Minor bugfixes (anonymity):
  2082. - Never report that we've used more bandwidth than we're willing to
  2083. relay: it leaks how much non-relay traffic we're using. Resolves
  2084. bug 516.
  2085. - When looking for a circuit to cannibalize, consider family as well
  2086. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  2087. circuit cannibalization).
  2088. o Code simplifications and refactoring:
  2089. - Make a bunch of functions static. Remove some dead code.
  2090. - Pull out about a third of the really big routerlist.c; put it in a
  2091. new module, networkstatus.c.
  2092. - Merge the extra fields in local_routerstatus_t back into
  2093. routerstatus_t: we used to need one routerstatus_t for each
  2094. authority's opinion, plus a local_routerstatus_t for the locally
  2095. computed consensus opinion. To save space, we put the locally
  2096. modified fields into local_routerstatus_t, and only the common
  2097. stuff into routerstatus_t. But once v3 directories are in use,
  2098. clients and caches will no longer need to hold authority opinions;
  2099. thus, the rationale for keeping the types separate is now gone.
  2100. - Make the code used to reschedule and reattempt downloads more
  2101. uniform.
  2102. - Turn all 'Are we a directory server/mirror?' logic into a call to
  2103. dirserver_mode().
  2104. - Remove the code to generate the oldest (v1) directory format.
  2105. The code has been disabled since 0.2.0.5-alpha.
  2106. Changes in version 0.2.0.7-alpha - 2007-09-21
  2107. This seventh development snapshot makes bridges work again, makes bridge
  2108. authorities work for the first time, fixes two huge performance flaws
  2109. in hidden services, and fixes a variety of minor issues.
  2110. o New directory authorities:
  2111. - Set up moria1 and tor26 as the first v3 directory authorities. See
  2112. doc/spec/dir-spec.txt for details on the new directory design.
  2113. o Major bugfixes (crashes):
  2114. - Fix possible segfaults in functions called from
  2115. rend_process_relay_cell(). Bugfix on 0.1.2.x.
  2116. o Major bugfixes (bridges):
  2117. - Fix a bug that made servers send a "404 Not found" in response to
  2118. attempts to fetch their server descriptor. This caused Tor servers
  2119. to take many minutes to establish reachability for their DirPort,
  2120. and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
  2121. - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
  2122. users configure that and specify a bridge with an identity
  2123. fingerprint, now they will lookup the bridge descriptor at the
  2124. default bridge authority via a one-hop tunnel, but once circuits
  2125. are established they will switch to a three-hop tunnel for later
  2126. connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
  2127. o Major bugfixes (hidden services):
  2128. - Hidden services were choosing introduction points uniquely by
  2129. hexdigest, but when constructing the hidden service descriptor
  2130. they merely wrote the (potentially ambiguous) nickname.
  2131. - Clients now use the v2 intro format for hidden service
  2132. connections: they specify their chosen rendezvous point by identity
  2133. digest rather than by (potentially ambiguous) nickname. Both
  2134. are bugfixes on 0.1.2.x, and they could speed up hidden service
  2135. connections dramatically. Thanks to Karsten Loesing.
  2136. o Minor features (security):
  2137. - As a client, do not believe any server that tells us that an
  2138. address maps to an internal address space.
  2139. - Make it possible to enable HashedControlPassword and
  2140. CookieAuthentication at the same time.
  2141. o Minor features (guard nodes):
  2142. - Tag every guard node in our state file with the version that
  2143. we believe added it, or with our own version if we add it. This way,
  2144. if a user temporarily runs an old version of Tor and then switches
  2145. back to a new one, she doesn't automatically lose her guards.
  2146. o Minor features (speed):
  2147. - When implementing AES counter mode, update only the portions of the
  2148. counter buffer that need to change, and don't keep separate
  2149. network-order and host-order counters when they are the same (i.e.,
  2150. on big-endian hosts.)
  2151. o Minor features (controller):
  2152. - Accept LF instead of CRLF on controller, since some software has a
  2153. hard time generating real Internet newlines.
  2154. - Add GETINFO values for the server status events
  2155. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  2156. Robert Hogan.
  2157. o Removed features:
  2158. - Routers no longer include bandwidth-history lines in their
  2159. descriptors; this information is already available in extra-info
  2160. documents, and including it in router descriptors took up 60%
  2161. (!) of compressed router descriptor downloads. Completes
  2162. implementation of proposal 104.
  2163. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  2164. and TorControl.py, as they use the old v0 controller protocol,
  2165. and are obsoleted by TorFlow anyway.
  2166. - Drop support for v1 rendezvous descriptors, since we never used
  2167. them anyway, and the code has probably rotted by now. Based on
  2168. patch from Karsten Loesing.
  2169. - On OSX, stop warning the user that kqueue support in libevent is
  2170. "experimental", since it seems to have worked fine for ages.
  2171. o Minor bugfixes:
  2172. - When generating information telling us how to extend to a given
  2173. router, do not try to include the nickname if it is absent. Fixes
  2174. bug 467. Bugfix on 0.2.0.3-alpha.
  2175. - Fix a user-triggerable (but not remotely-triggerable) segfault
  2176. in expand_filename(). Bugfix on 0.1.2.x.
  2177. - Fix a memory leak when freeing incomplete requests from DNSPort.
  2178. Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
  2179. - Don't try to access (or alter) the state file when running
  2180. --list-fingerprint or --verify-config or --hash-password. (Resolves
  2181. bug 499.) Bugfix on 0.1.2.x.
  2182. - Servers used to decline to publish their DirPort if their
  2183. BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
  2184. were below a threshold. Now they only look at BandwidthRate and
  2185. RelayBandwidthRate. Bugfix on 0.1.2.x.
  2186. - Remove an optimization in the AES counter-mode code that assumed
  2187. that the counter never exceeded 2^68. When the counter can be set
  2188. arbitrarily as an IV (as it is by Karsten's new hidden services
  2189. code), this assumption no longer holds. Bugfix on 0.1.2.x.
  2190. - Resume listing "AUTHORITY" flag for authorities in network status.
  2191. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
  2192. o Code simplifications and refactoring:
  2193. - Revamp file-writing logic so we don't need to have the entire
  2194. contents of a file in memory at once before we write to disk. Tor,
  2195. meet stdio.
  2196. - Turn "descriptor store" into a full-fledged type.
  2197. - Move all NT services code into a separate source file.
  2198. - Unify all code that computes medians, percentile elements, etc.
  2199. - Get rid of a needless malloc when parsing address policies.
  2200. Changes in version 0.1.2.17 - 2007-08-30
  2201. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  2202. X bundles. Vidalia 0.0.14 makes authentication required for the
  2203. ControlPort in the default configuration, which addresses important
  2204. security risks. Everybody who uses Vidalia (or another controller)
  2205. should upgrade.
  2206. In addition, this Tor update fixes major load balancing problems with
  2207. path selection, which should speed things up a lot once many people
  2208. have upgraded.
  2209. o Major bugfixes (security):
  2210. - We removed support for the old (v0) control protocol. It has been
  2211. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  2212. become more of a headache than it's worth.
  2213. o Major bugfixes (load balancing):
  2214. - When choosing nodes for non-guard positions, weight guards
  2215. proportionally less, since they already have enough load. Patch
  2216. from Mike Perry.
  2217. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  2218. will allow fast Tor servers to get more attention.
  2219. - When we're upgrading from an old Tor version, forget our current
  2220. guards and pick new ones according to the new weightings. These
  2221. three load balancing patches could raise effective network capacity
  2222. by a factor of four. Thanks to Mike Perry for measurements.
  2223. o Major bugfixes (stream expiration):
  2224. - Expire not-yet-successful application streams in all cases if
  2225. they've been around longer than SocksTimeout. Right now there are
  2226. some cases where the stream will live forever, demanding a new
  2227. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  2228. o Minor features (controller):
  2229. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  2230. is valid before any authentication has been received. It tells
  2231. a controller what kind of authentication is expected, and what
  2232. protocol is spoken. Implements proposal 119.
  2233. o Minor bugfixes (performance):
  2234. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  2235. greatly speeding up loading cached-routers from disk on startup.
  2236. - Disable sentinel-based debugging for buffer code: we squashed all
  2237. the bugs that this was supposed to detect a long time ago, and now
  2238. its only effect is to change our buffer sizes from nice powers of
  2239. two (which platform mallocs tend to like) to values slightly over
  2240. powers of two (which make some platform mallocs sad).
  2241. o Minor bugfixes (misc):
  2242. - If exit bandwidth ever exceeds one third of total bandwidth, then
  2243. use the correct formula to weight exit nodes when choosing paths.
  2244. Based on patch from Mike Perry.
  2245. - Choose perfectly fairly among routers when choosing by bandwidth and
  2246. weighting by fraction of bandwidth provided by exits. Previously, we
  2247. would choose with only approximate fairness, and correct ourselves
  2248. if we ran off the end of the list.
  2249. - If we require CookieAuthentication but we fail to write the
  2250. cookie file, we would warn but not exit, and end up in a state
  2251. where no controller could authenticate. Now we exit.
  2252. - If we require CookieAuthentication, stop generating a new cookie
  2253. every time we change any piece of our config.
  2254. - Refuse to start with certain directory authority keys, and
  2255. encourage people using them to stop.
  2256. - Terminate multi-line control events properly. Original patch
  2257. from tup.
  2258. - Fix a minor memory leak when we fail to find enough suitable
  2259. servers to choose a circuit.
  2260. - Stop leaking part of the descriptor when we run into a particularly
  2261. unparseable piece of it.
  2262. Changes in version 0.2.0.6-alpha - 2007-08-26
  2263. This sixth development snapshot features a new Vidalia version in the
  2264. Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
  2265. the ControlPort in the default configuration, which addresses important
  2266. security risks.
  2267. In addition, this snapshot fixes major load balancing problems
  2268. with path selection, which should speed things up a lot once many
  2269. people have upgraded. The directory authorities also use a new
  2270. mean-time-between-failure approach to tracking which servers are stable,
  2271. rather than just looking at the most recent uptime.
  2272. o New directory authorities:
  2273. - Set up Tonga as the default bridge directory authority.
  2274. o Major features:
  2275. - Directory authorities now track servers by weighted
  2276. mean-times-between-failures. When we have 4 or more days of data,
  2277. use measured MTBF rather than declared uptime to decide whether
  2278. to call a router Stable. Implements proposal 108.
  2279. o Major bugfixes (load balancing):
  2280. - When choosing nodes for non-guard positions, weight guards
  2281. proportionally less, since they already have enough load. Patch
  2282. from Mike Perry.
  2283. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  2284. will allow fast Tor servers to get more attention.
  2285. - When we're upgrading from an old Tor version, forget our current
  2286. guards and pick new ones according to the new weightings. These
  2287. three load balancing patches could raise effective network capacity
  2288. by a factor of four. Thanks to Mike Perry for measurements.
  2289. o Major bugfixes (descriptor parsing):
  2290. - Handle unexpected whitespace better in malformed descriptors. Bug
  2291. found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
  2292. o Minor features:
  2293. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  2294. GETINFO for Torstat to use until it can switch to using extrainfos.
  2295. - Optionally (if built with -DEXPORTMALLINFO) export the output
  2296. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  2297. from localhost.
  2298. o Minor bugfixes:
  2299. - Do not intermix bridge routers with controller-added
  2300. routers. (Bugfix on 0.2.0.x)
  2301. - Do not fail with an assert when accept() returns an unexpected
  2302. address family. Addresses but does not wholly fix bug 483. (Bugfix
  2303. on 0.2.0.x)
  2304. - Let directory authorities startup even when they can't generate
  2305. a descriptor immediately, e.g. because they don't know their
  2306. address.
  2307. - Stop putting the authentication cookie in a file called "0"
  2308. in your working directory if you don't specify anything for the
  2309. new CookieAuthFile option. Reported by Matt Edman.
  2310. - Make it possible to read the PROTOCOLINFO response in a way that
  2311. conforms to our control-spec. Reported by Matt Edman.
  2312. - Fix a minor memory leak when we fail to find enough suitable
  2313. servers to choose a circuit. Bugfix on 0.1.2.x.
  2314. - Stop leaking part of the descriptor when we run into a particularly
  2315. unparseable piece of it. Bugfix on 0.1.2.x.
  2316. - Unmap the extrainfo cache file on exit.
  2317. Changes in version 0.2.0.5-alpha - 2007-08-19
  2318. This fifth development snapshot fixes compilation on Windows again;
  2319. fixes an obnoxious client-side bug that slowed things down and put
  2320. extra load on the network; gets us closer to using the v3 directory
  2321. voting scheme; makes it easier for Tor controllers to use cookie-based
  2322. authentication; and fixes a variety of other bugs.
  2323. o Removed features:
  2324. - Version 1 directories are no longer generated in full. Instead,
  2325. authorities generate and serve "stub" v1 directories that list
  2326. no servers. This will stop Tor versions 0.1.0.x and earlier from
  2327. working, but (for security reasons) nobody should be running those
  2328. versions anyway.
  2329. o Major bugfixes (compilation, 0.2.0.x):
  2330. - Try to fix Win32 compilation again: improve checking for IPv6 types.
  2331. - Try to fix MSVC compilation: build correctly on platforms that do
  2332. not define s6_addr16 or s6_addr32.
  2333. - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
  2334. Zhou.
  2335. o Major bugfixes (stream expiration):
  2336. - Expire not-yet-successful application streams in all cases if
  2337. they've been around longer than SocksTimeout. Right now there are
  2338. some cases where the stream will live forever, demanding a new
  2339. circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
  2340. reported by lodger.
  2341. o Minor features (directory servers):
  2342. - When somebody requests a list of statuses or servers, and we have
  2343. none of those, return a 404 rather than an empty 200.
  2344. o Minor features (directory voting):
  2345. - Store v3 consensus status consensuses on disk, and reload them
  2346. on startup.
  2347. o Minor features (security):
  2348. - Warn about unsafe ControlPort configurations.
  2349. - Refuse to start with certain directory authority keys, and
  2350. encourage people using them to stop.
  2351. o Minor features (controller):
  2352. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  2353. is valid before any authentication has been received. It tells
  2354. a controller what kind of authentication is expected, and what
  2355. protocol is spoken. Implements proposal 119.
  2356. - New config option CookieAuthFile to choose a new location for the
  2357. cookie authentication file, and config option
  2358. CookieAuthFileGroupReadable to make it group-readable.
  2359. o Minor features (unit testing):
  2360. - Add command-line arguments to unit-test executable so that we can
  2361. invoke any chosen test from the command line rather than having
  2362. to run the whole test suite at once; and so that we can turn on
  2363. logging for the unit tests.
  2364. o Minor bugfixes (on 0.1.2.x):
  2365. - If we require CookieAuthentication but we fail to write the
  2366. cookie file, we would warn but not exit, and end up in a state
  2367. where no controller could authenticate. Now we exit.
  2368. - If we require CookieAuthentication, stop generating a new cookie
  2369. every time we change any piece of our config.
  2370. - When loading bandwidth history, do not believe any information in
  2371. the future. Fixes bug 434.
  2372. - When loading entry guard information, do not believe any information
  2373. in the future.
  2374. - When we have our clock set far in the future and generate an
  2375. onion key, then re-set our clock to be correct, we should not stop
  2376. the onion key from getting rotated.
  2377. - Clean up torrc sample config file.
  2378. - Do not automatically run configure from autogen.sh. This
  2379. non-standard behavior tended to annoy people who have built other
  2380. programs.
  2381. o Minor bugfixes (on 0.2.0.x):
  2382. - Fix a bug with AutomapHostsOnResolve that would always cause
  2383. the second request to fail. Bug reported by Kate. Bugfix on
  2384. 0.2.0.3-alpha.
  2385. - Fix a bug in ADDRMAP controller replies that would sometimes
  2386. try to print a NULL. Patch from tup.
  2387. - Read v3 directory authority keys from the right location.
  2388. - Numerous bugfixes to directory voting code.
  2389. Changes in version 0.1.2.16 - 2007-08-01
  2390. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  2391. remote attacker in certain situations to rewrite the user's torrc
  2392. configuration file. This can completely compromise anonymity of users
  2393. in most configurations, including those running the Vidalia bundles,
  2394. TorK, etc. Or worse.
  2395. o Major security fixes:
  2396. - Close immediately after missing authentication on control port;
  2397. do not allow multiple authentication attempts.
  2398. Changes in version 0.2.0.4-alpha - 2007-08-01
  2399. This fourth development snapshot fixes a critical security vulnerability
  2400. for most users, specifically those running Vidalia, TorK, etc. Everybody
  2401. should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
  2402. o Major security fixes:
  2403. - Close immediately after missing authentication on control port;
  2404. do not allow multiple authentication attempts.
  2405. o Major bugfixes (compilation):
  2406. - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
  2407. defined there.
  2408. o Minor features (performance):
  2409. - Be even more aggressive about releasing RAM from small
  2410. empty buffers. Thanks to our free-list code, this shouldn't be too
  2411. performance-intensive.
  2412. - Disable sentinel-based debugging for buffer code: we squashed all
  2413. the bugs that this was supposed to detect a long time ago, and
  2414. now its only effect is to change our buffer sizes from nice
  2415. powers of two (which platform mallocs tend to like) to values
  2416. slightly over powers of two (which make some platform mallocs sad).
  2417. - Log malloc statistics from mallinfo() on platforms where it
  2418. exists.
  2419. Changes in version 0.2.0.3-alpha - 2007-07-29
  2420. This third development snapshot introduces new experimental
  2421. blocking-resistance features and a preliminary version of the v3
  2422. directory voting design, and includes many other smaller features
  2423. and bugfixes.
  2424. o Major features:
  2425. - The first pieces of our "bridge" design for blocking-resistance
  2426. are implemented. People can run bridge directory authorities;
  2427. people can run bridges; and people can configure their Tor clients
  2428. with a set of bridges to use as the first hop into the Tor network.
  2429. See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
  2430. details.
  2431. - Create listener connections before we setuid to the configured
  2432. User and Group. Now non-Windows users can choose port values
  2433. under 1024, start Tor as root, and have Tor bind those ports
  2434. before it changes to another UID. (Windows users could already
  2435. pick these ports.)
  2436. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  2437. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  2438. on "vserver" accounts. (Patch from coderman.)
  2439. - Be even more aggressive about separating local traffic from relayed
  2440. traffic when RelayBandwidthRate is set. (Refines proposal 111.)
  2441. o Major features (experimental):
  2442. - First cut of code for "v3 dir voting": directory authorities will
  2443. vote on a common network status document rather than each publishing
  2444. their own opinion. This code needs more testing and more corner-case
  2445. handling before it's ready for use.
  2446. o Security fixes:
  2447. - Directory authorities now call routers Fast if their bandwidth is
  2448. at least 100KB/s, and consider their bandwidth adequate to be a
  2449. Guard if it is at least 250KB/s, no matter the medians. This fix
  2450. complements proposal 107. [Bugfix on 0.1.2.x]
  2451. - Directory authorities now never mark more than 3 servers per IP as
  2452. Valid and Running. (Implements proposal 109, by Kevin Bauer and
  2453. Damon McCoy.)
  2454. - Minor change to organizationName and commonName generation
  2455. procedures in TLS certificates during Tor handshakes, to invalidate
  2456. some earlier censorware approaches. This is not a long-term
  2457. solution, but applying it will give us a bit of time to look into
  2458. the epidemiology of countermeasures as they spread.
  2459. o Major bugfixes (directory):
  2460. - Rewrite directory tokenization code to never run off the end of
  2461. a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
  2462. o Minor features (controller):
  2463. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  2464. match requests to applications. (Patch from Robert Hogan.)
  2465. - Report address and port correctly on connections to DNSPort. (Patch
  2466. from Robert Hogan.)
  2467. - Add a RESOLVE command to launch hostname lookups. (Original patch
  2468. from Robert Hogan.)
  2469. - Add GETINFO status/enough-dir-info to let controllers tell whether
  2470. Tor has downloaded sufficient directory information. (Patch
  2471. from Tup.)
  2472. - You can now use the ControlSocket option to tell Tor to listen for
  2473. controller connections on Unix domain sockets on systems that
  2474. support them. (Patch from Peter Palfrader.)
  2475. - STREAM NEW events are generated for DNSPort requests and for
  2476. tunneled directory connections. (Patch from Robert Hogan.)
  2477. - New "GETINFO address-mappings/*" command to get address mappings
  2478. with expiry information. "addr-mappings/*" is now deprecated.
  2479. (Patch from Tup.)
  2480. o Minor features (misc):
  2481. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  2482. from croup.)
  2483. - The tor-gencert tool for v3 directory authorities now creates all
  2484. files as readable to the file creator only, and write-protects
  2485. the authority identity key.
  2486. - When dumping memory usage, list bytes used in buffer memory
  2487. free-lists.
  2488. - When running with dmalloc, dump more stats on hup and on exit.
  2489. - Directory authorities now fail quickly and (relatively) harmlessly
  2490. if they generate a network status document that is somehow
  2491. malformed.
  2492. o Traffic load balancing improvements:
  2493. - If exit bandwidth ever exceeds one third of total bandwidth, then
  2494. use the correct formula to weight exit nodes when choosing paths.
  2495. (Based on patch from Mike Perry.)
  2496. - Choose perfectly fairly among routers when choosing by bandwidth and
  2497. weighting by fraction of bandwidth provided by exits. Previously, we
  2498. would choose with only approximate fairness, and correct ourselves
  2499. if we ran off the end of the list. [Bugfix on 0.1.2.x]
  2500. o Performance improvements:
  2501. - Be more aggressive with freeing buffer RAM or putting it on the
  2502. memory free lists.
  2503. - Use Critical Sections rather than Mutexes for synchronizing threads
  2504. on win32; Mutexes are heavier-weight, and designed for synchronizing
  2505. between processes.
  2506. o Deprecated and removed features:
  2507. - RedirectExits is now deprecated.
  2508. - Stop allowing address masks that do not correspond to bit prefixes.
  2509. We have warned about these for a really long time; now it's time
  2510. to reject them. (Patch from croup.)
  2511. o Minor bugfixes (directory):
  2512. - Fix another crash bug related to extra-info caching. (Bug found by
  2513. Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
  2514. - Directories no longer return a "304 not modified" when they don't
  2515. have the networkstatus the client asked for. Also fix a memory
  2516. leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
  2517. - We had accidentally labelled 0.1.2.x directory servers as not
  2518. suitable for begin_dir requests, and had labelled no directory
  2519. servers as suitable for uploading extra-info documents. [Bugfix
  2520. on 0.2.0.1-alpha]
  2521. o Minor bugfixes (dns):
  2522. - Fix a crash when DNSPort is set more than once. (Patch from Robert
  2523. Hogan.) [Bugfix on 0.2.0.2-alpha]
  2524. - Add DNSPort connections to the global connection list, so that we
  2525. can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
  2526. on 0.2.0.2-alpha]
  2527. - Fix a dangling reference that could lead to a crash when DNSPort is
  2528. changed or closed (Patch from Robert Hogan.) [Bugfix on
  2529. 0.2.0.2-alpha]
  2530. o Minor bugfixes (controller):
  2531. - Provide DNS expiry times in GMT, not in local time. For backward
  2532. compatibility, ADDRMAP events only provide GMT expiry in an extended
  2533. field. "GETINFO address-mappings" always does the right thing.
  2534. - Use CRLF line endings properly in NS events.
  2535. - Terminate multi-line control events properly. (Original patch
  2536. from tup.) [Bugfix on 0.1.2.x-alpha]
  2537. - Do not include spaces in SOURCE_ADDR fields in STREAM
  2538. events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
  2539. Changes in version 0.1.2.15 - 2007-07-17
  2540. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  2541. problems, fixes compilation on BSD, and fixes a variety of other
  2542. bugs. Everybody should upgrade.
  2543. o Major bugfixes (compilation):
  2544. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  2545. o Major bugfixes (crashes):
  2546. - Try even harder not to dereference the first character after
  2547. an mmap(). Reported by lodger.
  2548. - Fix a crash bug in directory authorities when we re-number the
  2549. routerlist while inserting a new router.
  2550. - When the cached-routers file is an even multiple of the page size,
  2551. don't run off the end and crash. (Fixes bug 455; based on idea
  2552. from croup.)
  2553. - Fix eventdns.c behavior on Solaris: It is critical to include
  2554. orconfig.h _before_ sys/types.h, so that we can get the expected
  2555. definition of _FILE_OFFSET_BITS.
  2556. o Major bugfixes (security):
  2557. - Fix a possible buffer overrun when using BSD natd support. Bug
  2558. found by croup.
  2559. - When sending destroy cells from a circuit's origin, don't include
  2560. the reason for tearing down the circuit. The spec says we didn't,
  2561. and now we actually don't. Reported by lodger.
  2562. - Keep streamids from different exits on a circuit separate. This
  2563. bug may have allowed other routers on a given circuit to inject
  2564. cells into streams. Reported by lodger; fixes bug 446.
  2565. - If there's a never-before-connected-to guard node in our list,
  2566. never choose any guards past it. This way we don't expand our
  2567. guard list unless we need to.
  2568. o Minor bugfixes (guard nodes):
  2569. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  2570. don't get overused as guards.
  2571. o Minor bugfixes (directory):
  2572. - Correctly count the number of authorities that recommend each
  2573. version. Previously, we were under-counting by 1.
  2574. - Fix a potential crash bug when we load many server descriptors at
  2575. once and some of them make others of them obsolete. Fixes bug 458.
  2576. o Minor bugfixes (hidden services):
  2577. - Stop tearing down the whole circuit when the user asks for a
  2578. connection to a port that the hidden service didn't configure.
  2579. Resolves bug 444.
  2580. o Minor bugfixes (misc):
  2581. - On Windows, we were preventing other processes from reading
  2582. cached-routers while Tor was running. Reported by janbar.
  2583. - Fix a possible (but very unlikely) bug in picking routers by
  2584. bandwidth. Add a log message to confirm that it is in fact
  2585. unlikely. Patch from lodger.
  2586. - Backport a couple of memory leak fixes.
  2587. - Backport miscellaneous cosmetic bugfixes.
  2588. Changes in version 0.2.0.2-alpha - 2007-06-02
  2589. o Major bugfixes on 0.2.0.1-alpha:
  2590. - Fix an assertion failure related to servers without extra-info digests.
  2591. Resolves bugs 441 and 442.
  2592. o Minor features (directory):
  2593. - Support "If-Modified-Since" when answering HTTP requests for
  2594. directories, running-routers documents, and network-status documents.
  2595. (There's no need to support it for router descriptors, since those
  2596. are downloaded by descriptor digest.)
  2597. o Minor build issues:
  2598. - Clear up some MIPSPro compiler warnings.
  2599. - When building from a tarball on a machine that happens to have SVK
  2600. installed, report the micro-revision as whatever version existed
  2601. in the tarball, not as "x".
  2602. Changes in version 0.2.0.1-alpha - 2007-06-01
  2603. This early development snapshot provides new features for people running
  2604. Tor as both a client and a server (check out the new RelayBandwidth
  2605. config options); lets Tor run as a DNS proxy; and generally moves us
  2606. forward on a lot of fronts.
  2607. o Major features, server usability:
  2608. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  2609. a separate set of token buckets for relayed traffic. Right now
  2610. relayed traffic is defined as answers to directory requests, and
  2611. OR connections that don't have any local circuits on them.
  2612. o Major features, client usability:
  2613. - A client-side DNS proxy feature to replace the need for
  2614. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  2615. for DNS requests on port 9999, use the Tor network to resolve them
  2616. anonymously, and send the reply back like a regular DNS server.
  2617. The code still only implements a subset of DNS.
  2618. - Make PreferTunneledDirConns and TunnelDirConns work even when
  2619. we have no cached directory info. This means Tor clients can now
  2620. do all of their connections protected by TLS.
  2621. o Major features, performance and efficiency:
  2622. - Directory authorities accept and serve "extra info" documents for
  2623. routers. These documents contain fields from router descriptors
  2624. that aren't usually needed, and that use a lot of excess
  2625. bandwidth. Once these fields are removed from router descriptors,
  2626. the bandwidth savings should be about 60%. [Partially implements
  2627. proposal 104.]
  2628. - Servers upload extra-info documents to any authority that accepts
  2629. them. Authorities (and caches that have been configured to download
  2630. extra-info documents) download them as needed. [Partially implements
  2631. proposal 104.]
  2632. - Change the way that Tor buffers data that it is waiting to write.
  2633. Instead of queueing data cells in an enormous ring buffer for each
  2634. client->OR or OR->OR connection, we now queue cells on a separate
  2635. queue for each circuit. This lets us use less slack memory, and
  2636. will eventually let us be smarter about prioritizing different kinds
  2637. of traffic.
  2638. - Use memory pools to allocate cells with better speed and memory
  2639. efficiency, especially on platforms where malloc() is inefficient.
  2640. - Stop reading on edge connections when their corresponding circuit
  2641. buffers are full; start again as the circuits empty out.
  2642. o Major features, other:
  2643. - Add an HSAuthorityRecordStats option that hidden service authorities
  2644. can use to track statistics of overall hidden service usage without
  2645. logging information that would be very useful to an attacker.
  2646. - Start work implementing multi-level keys for directory authorities:
  2647. Add a standalone tool to generate key certificates. (Proposal 103.)
  2648. o Security fixes:
  2649. - Directory authorities now call routers Stable if they have an
  2650. uptime of at least 30 days, even if that's not the median uptime
  2651. in the network. Implements proposal 107, suggested by Kevin Bauer
  2652. and Damon McCoy.
  2653. o Minor fixes (resource management):
  2654. - Count the number of open sockets separately from the number
  2655. of active connection_t objects. This will let us avoid underusing
  2656. our allocated connection limit.
  2657. - We no longer use socket pairs to link an edge connection to an
  2658. anonymous directory connection or a DirPort test connection.
  2659. Instead, we track the link internally and transfer the data
  2660. in-process. This saves two sockets per "linked" connection (at the
  2661. client and at the server), and avoids the nasty Windows socketpair()
  2662. workaround.
  2663. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  2664. for every single inactive connection_t. Free items from the
  2665. 4k/16k-buffer free lists when they haven't been used for a while.
  2666. o Minor features (build):
  2667. - Make autoconf search for libevent, openssl, and zlib consistently.
  2668. - Update deprecated macros in configure.in.
  2669. - When warning about missing headers, tell the user to let us
  2670. know if the compile succeeds anyway, so we can downgrade the
  2671. warning.
  2672. - Include the current subversion revision as part of the version
  2673. string: either fetch it directly if we're in an SVN checkout, do
  2674. some magic to guess it if we're in an SVK checkout, or use
  2675. the last-detected version if we're building from a .tar.gz.
  2676. Use this version consistently in log messages.
  2677. o Minor features (logging):
  2678. - Always prepend "Bug: " to any log message about a bug.
  2679. - Put a platform string (e.g. "Linux i686") in the startup log
  2680. message, so when people paste just their logs, we know if it's
  2681. OpenBSD or Windows or what.
  2682. - When logging memory usage, break down memory used in buffers by
  2683. buffer type.
  2684. o Minor features (directory system):
  2685. - New config option V2AuthoritativeDirectory that all directory
  2686. authorities should set. This will let future authorities choose
  2687. not to serve V2 directory information.
  2688. - Directory authorities allow multiple router descriptors and/or extra
  2689. info documents to be uploaded in a single go. This will make
  2690. implementing proposal 104 simpler.
  2691. o Minor features (controller):
  2692. - Add a new config option __DisablePredictedCircuits designed for
  2693. use by the controller, when we don't want Tor to build any circuits
  2694. preemptively.
  2695. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  2696. so we can exit from the middle of the circuit.
  2697. - Implement "getinfo status/circuit-established".
  2698. - Implement "getinfo status/version/..." so a controller can tell
  2699. whether the current version is recommended, and whether any versions
  2700. are good, and how many authorities agree. (Patch from shibz.)
  2701. o Minor features (hidden services):
  2702. - Allow multiple HiddenServicePort directives with the same virtual
  2703. port; when they occur, the user is sent round-robin to one
  2704. of the target ports chosen at random. Partially fixes bug 393 by
  2705. adding limited ad-hoc round-robining.
  2706. o Minor features (other):
  2707. - More unit tests.
  2708. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  2709. resolve request for hosts matching a given pattern causes Tor to
  2710. generate an internal virtual address mapping for that host. This
  2711. allows DNSPort to work sensibly with hidden service users. By
  2712. default, .exit and .onion addresses are remapped; the list of
  2713. patterns can be reconfigured with AutomapHostsSuffixes.
  2714. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  2715. address. Thanks to the AutomapHostsOnResolve option, this is no
  2716. longer a completely silly thing to do.
  2717. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  2718. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  2719. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  2720. minus 1 byte: the actual maximum declared bandwidth.
  2721. o Removed features:
  2722. - Removed support for the old binary "version 0" controller protocol.
  2723. This has been deprecated since 0.1.1, and warnings have been issued
  2724. since 0.1.2. When we encounter a v0 control message, we now send
  2725. back an error and close the connection.
  2726. - Remove the old "dns worker" server DNS code: it hasn't been default
  2727. since 0.1.2.2-alpha, and all the servers seem to be using the new
  2728. eventdns code.
  2729. o Minor bugfixes (portability):
  2730. - Even though Windows is equally happy with / and \ as path separators,
  2731. try to use \ consistently on Windows and / consistently on Unix: it
  2732. makes the log messages nicer.
  2733. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  2734. - Read resolv.conf files correctly on platforms where read() returns
  2735. partial results on small file reads.
  2736. o Minor bugfixes (directory):
  2737. - Correctly enforce that elements of directory objects do not appear
  2738. more often than they are allowed to appear.
  2739. - When we are reporting the DirServer line we just parsed, we were
  2740. logging the second stanza of the key fingerprint, not the first.
  2741. o Minor bugfixes (logging):
  2742. - When we hit an EOF on a log (probably because we're shutting down),
  2743. don't try to remove the log from the list: just mark it as
  2744. unusable. (Bulletproofs against bug 222.)
  2745. o Minor bugfixes (other):
  2746. - In the exitlist script, only consider the most recently published
  2747. server descriptor for each server. Also, when the user requests
  2748. a list of servers that _reject_ connections to a given address,
  2749. explicitly exclude the IPs that also have servers that accept
  2750. connections to that address. (Resolves bug 405.)
  2751. - Stop allowing hibernating servers to be "stable" or "fast".
  2752. - On Windows, we were preventing other processes from reading
  2753. cached-routers while Tor was running. (Reported by janbar)
  2754. - Make the NodeFamilies config option work. (Reported by
  2755. lodger -- it has never actually worked, even though we added it
  2756. in Oct 2004.)
  2757. - Check return values from pthread_mutex functions.
  2758. - Don't save non-general-purpose router descriptors to the disk cache,
  2759. because we have no way of remembering what their purpose was when
  2760. we restart.
  2761. - Add even more asserts to hunt down bug 417.
  2762. - Build without verbose warnings even on (not-yet-released) gcc 4.2.
  2763. - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
  2764. Add a log message to confirm that it is in fact unlikely.
  2765. o Minor bugfixes (controller):
  2766. - Make 'getinfo fingerprint' return a 551 error if we're not a
  2767. server, so we match what the control spec claims we do. Reported
  2768. by daejees.
  2769. - Fix a typo in an error message when extendcircuit fails that
  2770. caused us to not follow the \r\n-based delimiter protocol. Reported
  2771. by daejees.
  2772. o Code simplifications and refactoring:
  2773. - Stop passing around circuit_t and crypt_path_t pointers that are
  2774. implicit in other procedure arguments.
  2775. - Drop the old code to choke directory connections when the
  2776. corresponding OR connections got full: thanks to the cell queue
  2777. feature, OR conns don't get full any more.
  2778. - Make dns_resolve() handle attaching connections to circuits
  2779. properly, so the caller doesn't have to.
  2780. - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
  2781. - Keep the connection array as a dynamic smartlist_t, rather than as
  2782. a fixed-sized array. This is important, as the number of connections
  2783. is becoming increasingly decoupled from the number of sockets.
  2784. Changes in version 0.1.2.14 - 2007-05-25
  2785. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  2786. change especially affects those who serve or use hidden services),
  2787. and fixes several other crash- and security-related bugs.
  2788. o Directory authority changes:
  2789. - Two directory authorities (moria1 and moria2) just moved to new
  2790. IP addresses. This change will particularly affect those who serve
  2791. or use hidden services.
  2792. o Major bugfixes (crashes):
  2793. - If a directory server runs out of space in the connection table
  2794. as it's processing a begin_dir request, it will free the exit stream
  2795. but leave it attached to the circuit, leading to unpredictable
  2796. behavior. (Reported by seeess, fixes bug 425.)
  2797. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  2798. to corrupt memory under some really unlikely scenarios.
  2799. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  2800. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  2801. by lodger.)
  2802. o Major bugfixes (security):
  2803. - When choosing an entry guard for a circuit, avoid using guards
  2804. that are in the same family as the chosen exit -- not just guards
  2805. that are exactly the chosen exit. (Reported by lodger.)
  2806. o Major bugfixes (resource management):
  2807. - If a directory authority is down, skip it when deciding where to get
  2808. networkstatus objects or descriptors. Otherwise we keep asking
  2809. every 10 seconds forever. Fixes bug 384.
  2810. - Count it as a failure if we fetch a valid network-status but we
  2811. don't want to keep it. Otherwise we'll keep fetching it and keep
  2812. not wanting to keep it. Fixes part of bug 422.
  2813. - If all of our dirservers have given us bad or no networkstatuses
  2814. lately, then stop hammering them once per minute even when we
  2815. think they're failed. Fixes another part of bug 422.
  2816. o Minor bugfixes:
  2817. - Actually set the purpose correctly for descriptors inserted with
  2818. purpose=controller.
  2819. - When we have k non-v2 authorities in our DirServer config,
  2820. we ignored the last k authorities in the list when updating our
  2821. network-statuses.
  2822. - Correctly back-off from requesting router descriptors that we are
  2823. having a hard time downloading.
  2824. - Read resolv.conf files correctly on platforms where read() returns
  2825. partial results on small file reads.
  2826. - Don't rebuild the entire router store every time we get 32K of
  2827. routers: rebuild it when the journal gets very large, or when
  2828. the gaps in the store get very large.
  2829. o Minor features:
  2830. - When routers publish SVN revisions in their router descriptors,
  2831. authorities now include those versions correctly in networkstatus
  2832. documents.
  2833. - Warn when using a version of libevent before 1.3b to run a server on
  2834. OSX or BSD: these versions interact badly with userspace threads.
  2835. Changes in version 0.1.2.13 - 2007-04-24
  2836. This release features some major anonymity fixes, such as safer path
  2837. selection; better client performance; faster bootstrapping, better
  2838. address detection, and better DNS support for servers; write limiting as
  2839. well as read limiting to make servers easier to run; and a huge pile of
  2840. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  2841. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  2842. of the Freenode IRC network, remembering his patience and vision for
  2843. free speech on the Internet.
  2844. o Minor fixes:
  2845. - Fix a memory leak when we ask for "all" networkstatuses and we
  2846. get one we don't recognize.
  2847. - Add more asserts to hunt down bug 417.
  2848. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  2849. Changes in version 0.1.2.12-rc - 2007-03-16
  2850. o Major bugfixes:
  2851. - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
  2852. directory information requested inside Tor connections (i.e. via
  2853. begin_dir cells). It only triggered when the same connection was
  2854. serving other data at the same time. Reported by seeess.
  2855. o Minor bugfixes:
  2856. - When creating a circuit via the controller, send a 'launched'
  2857. event when we're done, so we follow the spec better.
  2858. Changes in version 0.1.2.11-rc - 2007-03-15
  2859. o Minor bugfixes (controller), reported by daejees:
  2860. - Correct the control spec to match how the code actually responds
  2861. to 'getinfo addr-mappings/*'.
  2862. - The control spec described a GUARDS event, but the code
  2863. implemented a GUARD event. Standardize on GUARD, but let people
  2864. ask for GUARDS too.
  2865. Changes in version 0.1.2.10-rc - 2007-03-07
  2866. o Major bugfixes (Windows):
  2867. - Do not load the NT services library functions (which may not exist)
  2868. just to detect if we're a service trying to shut down. Now we run
  2869. on Win98 and friends again.
  2870. o Minor bugfixes (other):
  2871. - Clarify a couple of log messages.
  2872. - Fix a misleading socks5 error number.
  2873. Changes in version 0.1.2.9-rc - 2007-03-02
  2874. o Major bugfixes (Windows):
  2875. - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
  2876. of the usual GCC "%llu". This prevents a bug when saving 64-bit
  2877. int configuration values: the high-order 32 bits would get
  2878. truncated. In particular, we were being bitten by the default
  2879. MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
  2880. and maybe also bug 397.)
  2881. o Minor bugfixes (performance):
  2882. - Use OpenSSL's AES implementation on platforms where it's faster.
  2883. This could save us as much as 10% CPU usage.
  2884. o Minor bugfixes (server):
  2885. - Do not rotate onion key immediately after setting it for the first
  2886. time.
  2887. o Minor bugfixes (directory authorities):
  2888. - Stop calling servers that have been hibernating for a long time
  2889. "stable". Also, stop letting hibernating or obsolete servers affect
  2890. uptime and bandwidth cutoffs.
  2891. - Stop listing hibernating servers in the v1 directory.
  2892. o Minor bugfixes (hidden services):
  2893. - Upload hidden service descriptors slightly less often, to reduce
  2894. load on authorities.
  2895. o Minor bugfixes (other):
  2896. - Fix an assert that could trigger if a controller quickly set then
  2897. cleared EntryNodes. (Bug found by Udo van den Heuvel.)
  2898. - On architectures where sizeof(int)>4, still clamp declarable bandwidth
  2899. to INT32_MAX.
  2900. - Fix a potential race condition in the rpm installer. Found by
  2901. Stefan Nordhausen.
  2902. - Try to fix eventdns warnings once and for all: do not treat a dns rcode
  2903. of 2 as indicating that the server is completely bad; it sometimes
  2904. means that the server is just bad for the request in question. (may fix
  2905. the last of bug 326.)
  2906. - Disable encrypted directory connections when we don't have a server
  2907. descriptor for the destination. We'll get this working again in
  2908. the 0.2.0 branch.
  2909. Changes in version 0.1.2.8-beta - 2007-02-26
  2910. o Major bugfixes (crashes):
  2911. - Stop crashing when the controller asks us to resetconf more than
  2912. one config option at once. (Vidalia 0.0.11 does this.)
  2913. - Fix a crash that happened on Win98 when we're given command-line
  2914. arguments: don't try to load NT service functions from advapi32.dll
  2915. except when we need them. (Bug introduced in 0.1.2.7-alpha;
  2916. resolves bug 389.)
  2917. - Fix a longstanding obscure crash bug that could occur when
  2918. we run out of DNS worker processes. (Resolves bug 390.)
  2919. o Major bugfixes (hidden services):
  2920. - Correctly detect whether hidden service descriptor downloads are
  2921. in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
  2922. o Major bugfixes (accounting):
  2923. - When we start during an accounting interval before it's time to wake
  2924. up, remember to wake up at the correct time. (May fix bug 342.)
  2925. o Minor bugfixes (controller):
  2926. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  2927. clear the corresponding on_circuit variable, and remember later
  2928. that we don't need to send a redundant CLOSED event. (Resolves part
  2929. 3 of bug 367.)
  2930. - Report events where a resolve succeeded or where we got a socks
  2931. protocol error correctly, rather than calling both of them
  2932. "INTERNAL".
  2933. - Change reported stream target addresses to IP consistently when
  2934. we finally get the IP from an exit node.
  2935. - Send log messages to the controller even if they happen to be very
  2936. long.
  2937. o Minor bugfixes (other):
  2938. - Display correct results when reporting which versions are
  2939. recommended, and how recommended they are. (Resolves bug 383.)
  2940. - Improve our estimates for directory bandwidth to be less random:
  2941. guess that an unrecognized directory will have the average bandwidth
  2942. from all known directories, not that it will have the average
  2943. bandwidth from those directories earlier than it on the list.
  2944. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  2945. and hup, stop triggering an assert based on an empty onion_key.
  2946. - On platforms with no working mmap() equivalent, don't warn the
  2947. user when cached-routers doesn't exist.
  2948. - Warn the user when mmap() [or its equivalent] fails for some reason
  2949. other than file-not-found.
  2950. - Don't warn the user when cached-routers.new doesn't exist: that's
  2951. perfectly fine when starting up for the first time.
  2952. - When EntryNodes are configured, rebuild the guard list to contain,
  2953. in order: the EntryNodes that were guards before; the rest of the
  2954. EntryNodes; the nodes that were guards before.
  2955. - Mask out all signals in sub-threads; only the libevent signal
  2956. handler should be processing them. This should prevent some crashes
  2957. on some machines using pthreads. (Patch from coderman.)
  2958. - Fix switched arguments on memset in the implementation of
  2959. tor_munmap() for systems with no mmap() call.
  2960. - When Tor receives a router descriptor that it asked for, but
  2961. no longer wants (because it has received fresh networkstatuses
  2962. in the meantime), do not warn the user. Cache the descriptor if
  2963. we're a cache; drop it if we aren't.
  2964. - Make earlier entry guards _really_ get retried when the network
  2965. comes back online.
  2966. - On a malformed DNS reply, always give an error to the corresponding
  2967. DNS request.
  2968. - Build with recent libevents on platforms that do not define the
  2969. nonstandard types "u_int8_t" and friends.
  2970. o Minor features (controller):
  2971. - Warn the user when an application uses the obsolete binary v0
  2972. control protocol. We're planning to remove support for it during
  2973. the next development series, so it's good to give people some
  2974. advance warning.
  2975. - Add STREAM_BW events to report per-entry-stream bandwidth
  2976. use. (Patch from Robert Hogan.)
  2977. - Rate-limit SIGNEWNYM signals in response to controllers that
  2978. impolitely generate them for every single stream. (Patch from
  2979. mwenge; closes bug 394.)
  2980. - Make REMAP stream events have a SOURCE (cache or exit), and
  2981. make them generated in every case where we get a successful
  2982. connected or resolved cell.
  2983. o Minor bugfixes (performance):
  2984. - Call router_have_min_dir_info half as often. (This is showing up in
  2985. some profiles, but not others.)
  2986. - When using GCC, make log_debug never get called at all, and its
  2987. arguments never get evaluated, when no debug logs are configured.
  2988. (This is showing up in some profiles, but not others.)
  2989. o Minor features:
  2990. - Remove some never-implemented options. Mark PathlenCoinWeight as
  2991. obsolete.
  2992. - Implement proposal 106: Stop requiring clients to have well-formed
  2993. certificates; stop checking nicknames in certificates. (Clients
  2994. have certificates so that they can look like Tor servers, but in
  2995. the future we might want to allow them to look like regular TLS
  2996. clients instead. Nicknames in certificates serve no purpose other
  2997. than making our protocol easier to recognize on the wire.)
  2998. - Revise messages on handshake failure again to be even more clear about
  2999. which are incoming connections and which are outgoing.
  3000. - Discard any v1 directory info that's over 1 month old (for
  3001. directories) or over 1 week old (for running-routers lists).
  3002. - Do not warn when individual nodes in the configuration's EntryNodes,
  3003. ExitNodes, etc are down: warn only when all possible nodes
  3004. are down. (Fixes bug 348.)
  3005. - Always remove expired routers and networkstatus docs before checking
  3006. whether we have enough information to build circuits. (Fixes
  3007. bug 373.)
  3008. - Put a lower-bound on MaxAdvertisedBandwidth.
  3009. Changes in version 0.1.2.7-alpha - 2007-02-06
  3010. o Major bugfixes (rate limiting):
  3011. - Servers decline directory requests much more aggressively when
  3012. they're low on bandwidth. Otherwise they end up queueing more and
  3013. more directory responses, which can't be good for latency.
  3014. - But never refuse directory requests from local addresses.
  3015. - Fix a memory leak when sending a 503 response for a networkstatus
  3016. request.
  3017. - Be willing to read or write on local connections (e.g. controller
  3018. connections) even when the global rate limiting buckets are empty.
  3019. - If our system clock jumps back in time, don't publish a negative
  3020. uptime in the descriptor. Also, don't let the global rate limiting
  3021. buckets go absurdly negative.
  3022. - Flush local controller connection buffers periodically as we're
  3023. writing to them, so we avoid queueing 4+ megabytes of data before
  3024. trying to flush.
  3025. o Major bugfixes (NT services):
  3026. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  3027. command-line flag so that admins can override the default by saying
  3028. "tor --service install --user "SomeUser"". This will not affect
  3029. existing installed services. Also, warn the user that the service
  3030. will look for its configuration file in the service user's
  3031. %appdata% directory. (We can't do the 'hardwire the user's appdata
  3032. directory' trick any more, since we may not have read access to that
  3033. directory.)
  3034. o Major bugfixes (other):
  3035. - Previously, we would cache up to 16 old networkstatus documents
  3036. indefinitely, if they came from nontrusted authorities. Now we
  3037. discard them if they are more than 10 days old.
  3038. - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
  3039. Del Vecchio).
  3040. - Detect and reject malformed DNS responses containing circular
  3041. pointer loops.
  3042. - If exits are rare enough that we're not marking exits as guards,
  3043. ignore exit bandwidth when we're deciding the required bandwidth
  3044. to become a guard.
  3045. - When we're handling a directory connection tunneled over Tor,
  3046. don't fill up internal memory buffers with all the data we want
  3047. to tunnel; instead, only add it if the OR connection that will
  3048. eventually receive it has some room for it. (This can lead to
  3049. slowdowns in tunneled dir connections; a better solution will have
  3050. to wait for 0.2.0.)
  3051. o Minor bugfixes (dns):
  3052. - Add some defensive programming to eventdns.c in an attempt to catch
  3053. possible memory-stomping bugs.
  3054. - Detect and reject DNS replies containing IPv4 or IPv6 records with
  3055. an incorrect number of bytes. (Previously, we would ignore the
  3056. extra bytes.)
  3057. - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
  3058. in the correct order, and doesn't crash.
  3059. - Free memory held in recently-completed DNS lookup attempts on exit.
  3060. This was not a memory leak, but may have been hiding memory leaks.
  3061. - Handle TTL values correctly on reverse DNS lookups.
  3062. - Treat failure to parse resolv.conf as an error.
  3063. o Minor bugfixes (other):
  3064. - Fix crash with "tor --list-fingerprint" (reported by seeess).
  3065. - When computing clock skew from directory HTTP headers, consider what
  3066. time it was when we finished asking for the directory, not what
  3067. time it is now.
  3068. - Expire socks connections if they spend too long waiting for the
  3069. handshake to finish. Previously we would let them sit around for
  3070. days, if the connecting application didn't close them either.
  3071. - And if the socks handshake hasn't started, don't send a
  3072. "DNS resolve socks failed" handshake reply; just close it.
  3073. - Stop using C functions that OpenBSD's linker doesn't like.
  3074. - Don't launch requests for descriptors unless we have networkstatuses
  3075. from at least half of the authorities. This delays the first
  3076. download slightly under pathological circumstances, but can prevent
  3077. us from downloading a bunch of descriptors we don't need.
  3078. - Do not log IPs with TLS failures for incoming TLS
  3079. connections. (Fixes bug 382.)
  3080. - If the user asks to use invalid exit nodes, be willing to use
  3081. unstable ones.
  3082. - Stop using the reserved ac_cv namespace in our configure script.
  3083. - Call stat() slightly less often; use fstat() when possible.
  3084. - Refactor the way we handle pending circuits when an OR connection
  3085. completes or fails, in an attempt to fix a rare crash bug.
  3086. - Only rewrite a conn's address based on X-Forwarded-For: headers
  3087. if it's a parseable public IP address; and stop adding extra quotes
  3088. to the resulting address.
  3089. o Major features:
  3090. - Weight directory requests by advertised bandwidth. Now we can
  3091. let servers enable write limiting but still allow most clients to
  3092. succeed at their directory requests. (We still ignore weights when
  3093. choosing a directory authority; I hope this is a feature.)
  3094. o Minor features:
  3095. - Create a new file ReleaseNotes which was the old ChangeLog. The
  3096. new ChangeLog file now includes the summaries for all development
  3097. versions too.
  3098. - Check for addresses with invalid characters at the exit as well
  3099. as at the client, and warn less verbosely when they fail. You can
  3100. override this by setting ServerDNSAllowNonRFC953Addresses to 1.
  3101. - Adapt a patch from goodell to let the contrib/exitlist script
  3102. take arguments rather than require direct editing.
  3103. - Inform the server operator when we decide not to advertise a
  3104. DirPort due to AccountingMax enabled or a low BandwidthRate. It
  3105. was confusing Zax, so now we're hopefully more helpful.
  3106. - Bring us one step closer to being able to establish an encrypted
  3107. directory tunnel without knowing a descriptor first. Still not
  3108. ready yet. As part of the change, now assume we can use a
  3109. create_fast cell if we don't know anything about a router.
  3110. - Allow exit nodes to use nameservers running on ports other than 53.
  3111. - Servers now cache reverse DNS replies.
  3112. - Add an --ignore-missing-torrc command-line option so that we can
  3113. get the "use sensible defaults if the configuration file doesn't
  3114. exist" behavior even when specifying a torrc location on the command
  3115. line.
  3116. o Minor features (controller):
  3117. - Track reasons for OR connection failure; make these reasons
  3118. available via the controller interface. (Patch from Mike Perry.)
  3119. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  3120. can learn when clients are sending malformed hostnames to Tor.
  3121. - Clean up documentation for controller status events.
  3122. - Add a REMAP status to stream events to note that a stream's
  3123. address has changed because of a cached address or a MapAddress
  3124. directive.
  3125. Changes in version 0.1.2.6-alpha - 2007-01-09
  3126. o Major bugfixes:
  3127. - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
  3128. connection handles more than 4 gigs in either direction, we crash.
  3129. - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
  3130. advertised exit node, somebody might try to exit from us when
  3131. we're bootstrapping and before we've built our descriptor yet.
  3132. Refuse the connection rather than crashing.
  3133. o Minor bugfixes:
  3134. - Warn if we (as a server) find that we've resolved an address that we
  3135. weren't planning to resolve.
  3136. - Warn that using select() on any libevent version before 1.1 will be
  3137. unnecessarily slow (even for select()).
  3138. - Flush ERR-level controller status events just like we currently
  3139. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  3140. the controller from learning about current events.
  3141. o Minor features (more controller status events):
  3142. - Implement EXTERNAL_ADDRESS server status event so controllers can
  3143. learn when our address changes.
  3144. - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
  3145. can learn when directories reject our descriptor.
  3146. - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
  3147. can learn when a client application is speaking a non-socks protocol
  3148. to our SocksPort.
  3149. - Implement DANGEROUS_SOCKS client status event so controllers
  3150. can learn when a client application is leaking DNS addresses.
  3151. - Implement BUG general status event so controllers can learn when
  3152. Tor is unhappy about its internal invariants.
  3153. - Implement CLOCK_SKEW general status event so controllers can learn
  3154. when Tor thinks the system clock is set incorrectly.
  3155. - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
  3156. server status events so controllers can learn when their descriptors
  3157. are accepted by a directory.
  3158. - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
  3159. server status events so controllers can learn about Tor's progress in
  3160. deciding whether it's reachable from the outside.
  3161. - Implement BAD_LIBEVENT general status event so controllers can learn
  3162. when we have a version/method combination in libevent that needs to
  3163. be changed.
  3164. - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
  3165. and DNS_USELESS server status events so controllers can learn
  3166. about changes to DNS server status.
  3167. o Minor features (directory):
  3168. - Authorities no longer recommend exits as guards if this would shift
  3169. too much load to the exit nodes.
  3170. Changes in version 0.1.2.5-alpha - 2007-01-06
  3171. o Major features:
  3172. - Enable write limiting as well as read limiting. Now we sacrifice
  3173. capacity if we're pushing out lots of directory traffic, rather
  3174. than overrunning the user's intended bandwidth limits.
  3175. - Include TLS overhead when counting bandwidth usage; previously, we
  3176. would count only the bytes sent over TLS, but not the bytes used
  3177. to send them.
  3178. - Support running the Tor service with a torrc not in the same
  3179. directory as tor.exe and default to using the torrc located in
  3180. the %appdata%\Tor\ of the user who installed the service. Patch
  3181. from Matt Edman.
  3182. - Servers now check for the case when common DNS requests are going to
  3183. wildcarded addresses (i.e. all getting the same answer), and change
  3184. their exit policy to reject *:* if it's happening.
  3185. - Implement BEGIN_DIR cells, so we can connect to the directory
  3186. server via TLS to do encrypted directory requests rather than
  3187. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  3188. config options if you like.
  3189. o Minor features (config and docs):
  3190. - Start using the state file to store bandwidth accounting data:
  3191. the bw_accounting file is now obsolete. We'll keep generating it
  3192. for a while for people who are still using 0.1.2.4-alpha.
  3193. - Try to batch changes to the state file so that we do as few
  3194. disk writes as possible while still storing important things in
  3195. a timely fashion.
  3196. - The state file and the bw_accounting file get saved less often when
  3197. the AvoidDiskWrites config option is set.
  3198. - Make PIDFile work on Windows (untested).
  3199. - Add internal descriptions for a bunch of configuration options:
  3200. accessible via controller interface and in comments in saved
  3201. options files.
  3202. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  3203. NNTP by default, so this seems like a sensible addition.
  3204. - Clients now reject hostnames with invalid characters. This should
  3205. avoid some inadvertent info leaks. Add an option
  3206. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  3207. is running a private network with hosts called @, !, and #.
  3208. - Add a maintainer script to tell us which options are missing
  3209. documentation: "make check-docs".
  3210. - Add a new address-spec.txt document to describe our special-case
  3211. addresses: .exit, .onion, and .noconnnect.
  3212. o Minor features (DNS):
  3213. - Ongoing work on eventdns infrastructure: now it has dns server
  3214. and ipv6 support. One day Tor will make use of it.
  3215. - Add client-side caching for reverse DNS lookups.
  3216. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  3217. - When we change nameservers or IP addresses, reset and re-launch
  3218. our tests for DNS hijacking.
  3219. o Minor features (directory):
  3220. - Authorities now specify server versions in networkstatus. This adds
  3221. about 2% to the size of compressed networkstatus docs, and allows
  3222. clients to tell which servers support BEGIN_DIR and which don't.
  3223. The implementation is forward-compatible with a proposed future
  3224. protocol version scheme not tied to Tor versions.
  3225. - DirServer configuration lines now have an orport= option so
  3226. clients can open encrypted tunnels to the authorities without
  3227. having downloaded their descriptors yet. Enabled for moria1,
  3228. moria2, tor26, and lefkada now in the default configuration.
  3229. - Directory servers are more willing to send a 503 "busy" if they
  3230. are near their write limit, especially for v1 directory requests.
  3231. Now they can use their limited bandwidth for actual Tor traffic.
  3232. - Clients track responses with status 503 from dirservers. After a
  3233. dirserver has given us a 503, we try not to use it until an hour has
  3234. gone by, or until we have no dirservers that haven't given us a 503.
  3235. - When we get a 503 from a directory, and we're not a server, we don't
  3236. count the failure against the total number of failures allowed
  3237. for the thing we're trying to download.
  3238. - Report X-Your-Address-Is correctly from tunneled directory
  3239. connections; don't report X-Your-Address-Is when it's an internal
  3240. address; and never believe reported remote addresses when they're
  3241. internal.
  3242. - Protect against an unlikely DoS attack on directory servers.
  3243. - Add a BadDirectory flag to network status docs so that authorities
  3244. can (eventually) tell clients about caches they believe to be
  3245. broken.
  3246. o Minor features (controller):
  3247. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  3248. - Reimplement GETINFO so that info/names stays in sync with the
  3249. actual keys.
  3250. - Implement "GETINFO fingerprint".
  3251. - Implement "SETEVENTS GUARD" so controllers can get updates on
  3252. entry guard status as it changes.
  3253. o Minor features (clean up obsolete pieces):
  3254. - Remove some options that have been deprecated since at least
  3255. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  3256. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  3257. to set log options.
  3258. - We no longer look for identity and onion keys in "identity.key" and
  3259. "onion.key" -- these were replaced by secret_id_key and
  3260. secret_onion_key in 0.0.8pre1.
  3261. - We no longer require unrecognized directory entries to be
  3262. preceded by "opt".
  3263. o Major bugfixes (security):
  3264. - Stop sending the HttpProxyAuthenticator string to directory
  3265. servers when directory connections are tunnelled through Tor.
  3266. - Clients no longer store bandwidth history in the state file.
  3267. - Do not log introduction points for hidden services if SafeLogging
  3268. is set.
  3269. - When generating bandwidth history, round down to the nearest
  3270. 1k. When storing accounting data, round up to the nearest 1k.
  3271. - When we're running as a server, remember when we last rotated onion
  3272. keys, so that we will rotate keys once they're a week old even if
  3273. we never stay up for a week ourselves.
  3274. o Major bugfixes (other):
  3275. - Fix a longstanding bug in eventdns that prevented the count of
  3276. timed-out resolves from ever being reset. This bug caused us to
  3277. give up on a nameserver the third time it timed out, and try it
  3278. 10 seconds later... and to give up on it every time it timed out
  3279. after that.
  3280. - Take out the '5 second' timeout from the connection retry
  3281. schedule. Now the first connect attempt will wait a full 10
  3282. seconds before switching to a new circuit. Perhaps this will help
  3283. a lot. Based on observations from Mike Perry.
  3284. - Fix a bug on the Windows implementation of tor_mmap_file() that
  3285. would prevent the cached-routers file from ever loading. Reported
  3286. by John Kimble.
  3287. o Minor bugfixes:
  3288. - Fix an assert failure when a directory authority sets
  3289. AuthDirRejectUnlisted and then receives a descriptor from an
  3290. unlisted router. Reported by seeess.
  3291. - Avoid a double-free when parsing malformed DirServer lines.
  3292. - Fix a bug when a BSD-style PF socket is first used. Patch from
  3293. Fabian Keil.
  3294. - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
  3295. to resolve an address at a given exit node even when they ask for
  3296. it by name.
  3297. - Servers no longer ever list themselves in their "family" line,
  3298. even if configured to do so. This makes it easier to configure
  3299. family lists conveniently.
  3300. - When running as a server, don't fall back to 127.0.0.1 when no
  3301. nameservers are configured in /etc/resolv.conf; instead, make the
  3302. user fix resolv.conf or specify nameservers explicitly. (Resolves
  3303. bug 363.)
  3304. - Stop accepting certain malformed ports in configured exit policies.
  3305. - Don't re-write the fingerprint file every restart, unless it has
  3306. changed.
  3307. - Stop warning when a single nameserver fails: only warn when _all_ of
  3308. our nameservers have failed. Also, when we only have one nameserver,
  3309. raise the threshold for deciding that the nameserver is dead.
  3310. - Directory authorities now only decide that routers are reachable
  3311. if their identity keys are as expected.
  3312. - When the user uses bad syntax in the Log config line, stop
  3313. suggesting other bad syntax as a replacement.
  3314. - Correctly detect ipv6 DNS capability on OpenBSD.
  3315. o Minor bugfixes (controller):
  3316. - Report the circuit number correctly in STREAM CLOSED events. Bug
  3317. reported by Mike Perry.
  3318. - Do not report bizarre values for results of accounting GETINFOs
  3319. when the last second's write or read exceeds the allotted bandwidth.
  3320. - Report "unrecognized key" rather than an empty string when the
  3321. controller tries to fetch a networkstatus that doesn't exist.
  3322. Changes in version 0.1.1.26 - 2006-12-14
  3323. o Security bugfixes:
  3324. - Stop sending the HttpProxyAuthenticator string to directory
  3325. servers when directory connections are tunnelled through Tor.
  3326. - Clients no longer store bandwidth history in the state file.
  3327. - Do not log introduction points for hidden services if SafeLogging
  3328. is set.
  3329. o Minor bugfixes:
  3330. - Fix an assert failure when a directory authority sets
  3331. AuthDirRejectUnlisted and then receives a descriptor from an
  3332. unlisted router (reported by seeess).
  3333. Changes in version 0.1.2.4-alpha - 2006-12-03
  3334. o Major features:
  3335. - Add support for using natd; this allows FreeBSDs earlier than
  3336. 5.1.2 to have ipfw send connections through Tor without using
  3337. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  3338. o Minor features:
  3339. - Make all connections to addresses of the form ".noconnect"
  3340. immediately get closed. This lets application/controller combos
  3341. successfully test whether they're talking to the same Tor by
  3342. watching for STREAM events.
  3343. - Make cross.sh cross-compilation script work even when autogen.sh
  3344. hasn't been run. (Patch from Michael Mohr.)
  3345. - Statistics dumped by -USR2 now include a breakdown of public key
  3346. operations, for profiling.
  3347. o Major bugfixes:
  3348. - Fix a major leak when directory authorities parse their
  3349. approved-routers list, a minor memory leak when we fail to pick
  3350. an exit node, and a few rare leaks on errors.
  3351. - Handle TransPort connections even when the server sends data before
  3352. the client sends data. Previously, the connection would just hang
  3353. until the client sent data. (Patch from tup based on patch from
  3354. Zajcev Evgeny.)
  3355. - Avoid assert failure when our cached-routers file is empty on
  3356. startup.
  3357. o Minor bugfixes:
  3358. - Don't log spurious warnings when we see a circuit close reason we
  3359. don't recognize; it's probably just from a newer version of Tor.
  3360. - Have directory authorities allow larger amounts of drift in uptime
  3361. without replacing the server descriptor: previously, a server that
  3362. restarted every 30 minutes could have 48 "interesting" descriptors
  3363. per day.
  3364. - Start linking to the Tor specification and Tor reference manual
  3365. correctly in the Windows installer.
  3366. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  3367. Tor/Privoxy we also uninstall Vidalia.
  3368. - Resume building on Irix64, and fix a lot of warnings from its
  3369. MIPSpro C compiler.
  3370. - Don't corrupt last_guessed_ip in router_new_address_suggestion()
  3371. when we're running as a client.
  3372. Changes in version 0.1.1.25 - 2006-11-04
  3373. o Major bugfixes:
  3374. - When a client asks us to resolve (rather than connect to)
  3375. an address, and we have a cached answer, give them the cached
  3376. answer. Previously, we would give them no answer at all.
  3377. - We were building exactly the wrong circuits when we predict
  3378. hidden service requirements, meaning Tor would have to build all
  3379. its circuits on demand.
  3380. - If none of our live entry guards have a high uptime, but we
  3381. require a guard with a high uptime, try adding a new guard before
  3382. we give up on the requirement. This patch should make long-lived
  3383. connections more stable on average.
  3384. - When testing reachability of our DirPort, don't launch new
  3385. tests when there's already one in progress -- unreachable
  3386. servers were stacking up dozens of testing streams.
  3387. o Security bugfixes:
  3388. - When the user sends a NEWNYM signal, clear the client-side DNS
  3389. cache too. Otherwise we continue to act on previous information.
  3390. o Minor bugfixes:
  3391. - Avoid a memory corruption bug when creating a hash table for
  3392. the first time.
  3393. - Avoid possibility of controller-triggered crash when misusing
  3394. certain commands from a v0 controller on platforms that do not
  3395. handle printf("%s",NULL) gracefully.
  3396. - Avoid infinite loop on unexpected controller input.
  3397. - Don't log spurious warnings when we see a circuit close reason we
  3398. don't recognize; it's probably just from a newer version of Tor.
  3399. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  3400. Tor/Privoxy we also uninstall Vidalia.
  3401. Changes in version 0.1.2.3-alpha - 2006-10-29
  3402. o Minor features:
  3403. - Prepare for servers to publish descriptors less often: never
  3404. discard a descriptor simply for being too old until either it is
  3405. recommended by no authorities, or until we get a better one for
  3406. the same router. Make caches consider retaining old recommended
  3407. routers for even longer.
  3408. - If most authorities set a BadExit flag for a server, clients
  3409. don't think of it as a general-purpose exit. Clients only consider
  3410. authorities that advertise themselves as listing bad exits.
  3411. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  3412. headers for content, so that we can work better in the presence of
  3413. caching HTTP proxies.
  3414. - Allow authorities to list nodes as bad exits by fingerprint or by
  3415. address.
  3416. o Minor features, controller:
  3417. - Add a REASON field to CIRC events; for backward compatibility, this
  3418. field is sent only to controllers that have enabled the extended
  3419. event format. Also, add additional reason codes to explain why
  3420. a given circuit has been destroyed or truncated. (Patches from
  3421. Mike Perry)
  3422. - Add a REMOTE_REASON field to extended CIRC events to tell the
  3423. controller about why a remote OR told us to close a circuit.
  3424. - Stream events also now have REASON and REMOTE_REASON fields,
  3425. working much like those for circuit events.
  3426. - There's now a GETINFO ns/... field so that controllers can ask Tor
  3427. about the current status of a router.
  3428. - A new event type "NS" to inform a controller when our opinion of
  3429. a router's status has changed.
  3430. - Add a GETINFO events/names and GETINFO features/names so controllers
  3431. can tell which events and features are supported.
  3432. - A new CLEARDNSCACHE signal to allow controllers to clear the
  3433. client-side DNS cache without expiring circuits.
  3434. o Security bugfixes:
  3435. - When the user sends a NEWNYM signal, clear the client-side DNS
  3436. cache too. Otherwise we continue to act on previous information.
  3437. o Minor bugfixes:
  3438. - Avoid sending junk to controllers or segfaulting when a controller
  3439. uses EVENT_NEW_DESC with verbose nicknames.
  3440. - Stop triggering asserts if the controller tries to extend hidden
  3441. service circuits (reported by mwenge).
  3442. - Avoid infinite loop on unexpected controller input.
  3443. - When the controller does a "GETINFO network-status", tell it
  3444. about even those routers whose descriptors are very old, and use
  3445. long nicknames where appropriate.
  3446. - Change NT service functions to be loaded on demand. This lets us
  3447. build with MinGW without breaking Tor for Windows 98 users.
  3448. - Do DirPort reachability tests less often, since a single test
  3449. chews through many circuits before giving up.
  3450. - In the hidden service example in torrc.sample, stop recommending
  3451. esoteric and discouraged hidden service options.
  3452. - When stopping an NT service, wait up to 10 sec for it to actually
  3453. stop. (Patch from Matt Edman; resolves bug 295.)
  3454. - Fix handling of verbose nicknames with ORCONN controller events:
  3455. make them show up exactly when requested, rather than exactly when
  3456. not requested.
  3457. - When reporting verbose nicknames in entry_guards_getinfo(), avoid
  3458. printing a duplicate "$" in the keys we send (reported by mwenge).
  3459. - Correctly set maximum connection limit on Cygwin. (This time
  3460. for sure!)
  3461. - Try to detect Windows correctly when cross-compiling.
  3462. - Detect the size of the routers file correctly even if it is
  3463. corrupted (on systems without mmap) or not page-aligned (on systems
  3464. with mmap). This bug was harmless.
  3465. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  3466. to open a stream fails; now we do in more cases. This should
  3467. make clients able to find a good exit faster in some cases, since
  3468. unhandleable requests will now get an error rather than timing out.
  3469. - Resolve two memory leaks when rebuilding the on-disk router cache
  3470. (reported by fookoowa).
  3471. - Clean up minor code warnings suggested by the MIPSpro C compiler,
  3472. and reported by some Centos users.
  3473. - Controller signals now work on non-Unix platforms that don't define
  3474. SIGUSR1 and SIGUSR2 the way we expect.
  3475. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  3476. values before failing, and always enables eventdns.
  3477. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  3478. Try to fix this in configure.in by checking for most functions
  3479. before we check for libevent.
  3480. Changes in version 0.1.2.2-alpha - 2006-10-07
  3481. o Major features:
  3482. - Make our async eventdns library on-by-default for Tor servers,
  3483. and plan to deprecate the separate dnsworker threads.
  3484. - Add server-side support for "reverse" DNS lookups (using PTR
  3485. records so clients can determine the canonical hostname for a given
  3486. IPv4 address). Only supported by servers using eventdns; servers
  3487. now announce in their descriptors whether they support eventdns.
  3488. - Specify and implement client-side SOCKS5 interface for reverse DNS
  3489. lookups (see doc/socks-extensions.txt).
  3490. - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
  3491. connect to directory servers through Tor. Previously, clients needed
  3492. to find Tor exits to make private connections to directory servers.
  3493. - Avoid choosing Exit nodes for entry or middle hops when the
  3494. total bandwidth available from non-Exit nodes is much higher than
  3495. the total bandwidth available from Exit nodes.
  3496. - Workaround for name servers (like Earthlink's) that hijack failing
  3497. DNS requests and replace the no-such-server answer with a "helpful"
  3498. redirect to an advertising-driven search portal. Also work around
  3499. DNS hijackers who "helpfully" decline to hijack known-invalid
  3500. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  3501. lets you turn it off.
  3502. - Send out a burst of long-range padding cells once we've established
  3503. that we're reachable. Spread them over 4 circuits, so hopefully
  3504. a few will be fast. This exercises our bandwidth and bootstraps
  3505. us into the directory more quickly.
  3506. o New/improved config options:
  3507. - Add new config option "ResolvConf" to let the server operator
  3508. choose an alternate resolve.conf file when using eventdns.
  3509. - Add an "EnforceDistinctSubnets" option to control our "exclude
  3510. servers on the same /16" behavior. It's still on by default; this
  3511. is mostly for people who want to operate private test networks with
  3512. all the machines on the same subnet.
  3513. - If one of our entry guards is on the ExcludeNodes list, or the
  3514. directory authorities don't think it's a good guard, treat it as
  3515. if it were unlisted: stop using it as a guard, and throw it off
  3516. the guards list if it stays that way for a long time.
  3517. - Allow directory authorities to be marked separately as authorities
  3518. for the v1 directory protocol, the v2 directory protocol, and
  3519. as hidden service directories, to make it easier to retire old
  3520. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  3521. to continue being hidden service authorities too.
  3522. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  3523. o Minor features, controller:
  3524. - Fix CIRC controller events so that controllers can learn the
  3525. identity digests of non-Named servers used in circuit paths.
  3526. - Let controllers ask for more useful identifiers for servers. Instead
  3527. of learning identity digests for un-Named servers and nicknames
  3528. for Named servers, the new identifiers include digest, nickname,
  3529. and indication of Named status. Off by default; see control-spec.txt
  3530. for more information.
  3531. - Add a "getinfo address" controller command so it can display Tor's
  3532. best guess to the user.
  3533. - New controller event to alert the controller when our server
  3534. descriptor has changed.
  3535. - Give more meaningful errors on controller authentication failure.
  3536. o Minor features, other:
  3537. - When asked to resolve a hostname, don't use non-exit servers unless
  3538. requested to do so. This allows servers with broken DNS to be
  3539. useful to the network.
  3540. - Divide eventdns log messages into warn and info messages.
  3541. - Reserve the nickname "Unnamed" for routers that can't pick
  3542. a hostname: any router can call itself Unnamed; directory
  3543. authorities will never allocate Unnamed to any particular router;
  3544. clients won't believe that any router is the canonical Unnamed.
  3545. - Only include function names in log messages for info/debug messages.
  3546. For notice/warn/err, the content of the message should be clear on
  3547. its own, and printing the function name only confuses users.
  3548. - Avoid some false positives during reachability testing: don't try
  3549. to test via a server that's on the same /24 as us.
  3550. - If we fail to build a circuit to an intended enclave, and it's
  3551. not mandatory that we use that enclave, stop wanting it.
  3552. - When eventdns is enabled, allow multithreaded builds on NetBSD and
  3553. OpenBSD. (We had previously disabled threads on these platforms
  3554. because they didn't have working thread-safe resolver functions.)
  3555. o Major bugfixes, anonymity/security:
  3556. - If a client asked for a server by name, and there's a named server
  3557. in our network-status but we don't have its descriptor yet, we
  3558. could return an unnamed server instead.
  3559. - Fix NetBSD bug that could allow someone to force uninitialized RAM
  3560. to be sent to a server's DNS resolver. This only affects NetBSD
  3561. and other platforms that do not bounds-check tolower().
  3562. - Reject (most) attempts to use Tor circuits with length one. (If
  3563. many people start using Tor as a one-hop proxy, exit nodes become
  3564. a more attractive target for compromise.)
  3565. - Just because your DirPort is open doesn't mean people should be
  3566. able to remotely teach you about hidden service descriptors. Now
  3567. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  3568. o Major bugfixes, other:
  3569. - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
  3570. - When a client asks the server to resolve (not connect to)
  3571. an address, and it has a cached answer, give them the cached answer.
  3572. Previously, the server would give them no answer at all.
  3573. - Allow really slow clients to not hang up five minutes into their
  3574. directory downloads (suggested by Adam J. Richter).
  3575. - We were building exactly the wrong circuits when we anticipated
  3576. hidden service requirements, meaning Tor would have to build all
  3577. its circuits on demand.
  3578. - Avoid crashing when we mmap a router cache file of size 0.
  3579. - When testing reachability of our DirPort, don't launch new
  3580. tests when there's already one in progress -- unreachable
  3581. servers were stacking up dozens of testing streams.
  3582. o Minor bugfixes, correctness:
  3583. - If we're a directory mirror and we ask for "all" network status
  3584. documents, we would discard status documents from authorities
  3585. we don't recognize.
  3586. - Avoid a memory corruption bug when creating a hash table for
  3587. the first time.
  3588. - Avoid controller-triggered crash when misusing certain commands
  3589. from a v0 controller on platforms that do not handle
  3590. printf("%s",NULL) gracefully.
  3591. - Don't crash when a controller sends a third argument to an
  3592. "extendcircuit" request.
  3593. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  3594. response; fix error code when "getinfo dir/status/" fails.
  3595. - Avoid crash when telling controller stream-status and a stream
  3596. is detached.
  3597. - Patch from Adam Langley to fix assert() in eventdns.c.
  3598. - Fix a debug log message in eventdns to say "X resolved to Y"
  3599. instead of "X resolved to X".
  3600. - Make eventdns give strings for DNS errors, not just error numbers.
  3601. - Track unreachable entry guards correctly: don't conflate
  3602. 'unreachable by us right now' with 'listed as down by the directory
  3603. authorities'. With the old code, if a guard was unreachable by
  3604. us but listed as running, it would clog our guard list forever.
  3605. - Behave correctly in case we ever have a network with more than
  3606. 2GB/s total advertised capacity.
  3607. - Make TrackExitHosts case-insensitive, and fix the behavior of
  3608. ".suffix" TrackExitHosts items to avoid matching in the middle of
  3609. an address.
  3610. - Finally fix the openssl warnings from newer gccs that believe that
  3611. ignoring a return value is okay, but casting a return value and
  3612. then ignoring it is a sign of madness.
  3613. - Prevent the contrib/exitlist script from printing the same
  3614. result more than once.
  3615. - Patch from Steve Hildrey: Generate network status correctly on
  3616. non-versioning dirservers.
  3617. - Don't listen to the X-Your-Address-Is hint if you did the lookup
  3618. via Tor; otherwise you'll think you're the exit node's IP address.
  3619. o Minor bugfixes, performance:
  3620. - Two small performance improvements on parsing descriptors.
  3621. - Major performance improvement on inserting descriptors: change
  3622. algorithm from O(n^2) to O(n).
  3623. - Make the common memory allocation path faster on machines where
  3624. malloc(0) returns a pointer.
  3625. - Start remembering X-Your-Address-Is directory hints even if you're
  3626. a client, so you can become a server more smoothly.
  3627. - Avoid duplicate entries on MyFamily line in server descriptor.
  3628. o Packaging, features:
  3629. - Remove architecture from OS X builds. The official builds are
  3630. now universal binaries.
  3631. - The Debian package now uses --verify-config when (re)starting,
  3632. to distinguish configuration errors from other errors.
  3633. - Update RPMs to require libevent 1.1b.
  3634. o Packaging, bugfixes:
  3635. - Patches so Tor builds with MinGW on Windows.
  3636. - Patches so Tor might run on Cygwin again.
  3637. - Resume building on non-gcc compilers and ancient gcc. Resume
  3638. building with the -O0 compile flag. Resume building cleanly on
  3639. Debian woody.
  3640. - Run correctly on OS X platforms with case-sensitive filesystems.
  3641. - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
  3642. - Add autoconf checks so Tor can build on Solaris x86 again.
  3643. o Documentation
  3644. - Documented (and renamed) ServerDNSSearchDomains and
  3645. ServerDNSResolvConfFile options.
  3646. - Be clearer that the *ListenAddress directives can be repeated
  3647. multiple times.
  3648. Changes in version 0.1.1.24 - 2006-09-29
  3649. o Major bugfixes:
  3650. - Allow really slow clients to not hang up five minutes into their
  3651. directory downloads (suggested by Adam J. Richter).
  3652. - Fix major performance regression from 0.1.0.x: instead of checking
  3653. whether we have enough directory information every time we want to
  3654. do something, only check when the directory information has changed.
  3655. This should improve client CPU usage by 25-50%.
  3656. - Don't crash if, after a server has been running for a while,
  3657. it can't resolve its hostname.
  3658. o Minor bugfixes:
  3659. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  3660. - Don't crash when the controller receives a third argument to an
  3661. "extendcircuit" request.
  3662. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  3663. response; fix error code when "getinfo dir/status/" fails.
  3664. - Fix configure.in to not produce broken configure files with
  3665. more recent versions of autoconf. Thanks to Clint for his auto*
  3666. voodoo.
  3667. - Fix security bug on NetBSD that could allow someone to force
  3668. uninitialized RAM to be sent to a server's DNS resolver. This
  3669. only affects NetBSD and other platforms that do not bounds-check
  3670. tolower().
  3671. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  3672. methods: these are known to be buggy.
  3673. - If we're a directory mirror and we ask for "all" network status
  3674. documents, we would discard status documents from authorities
  3675. we don't recognize.
  3676. Changes in version 0.1.2.1-alpha - 2006-08-27
  3677. o Major features:
  3678. - Add "eventdns" async dns library from Adam Langley, tweaked to
  3679. build on OSX and Windows. Only enabled if you pass the
  3680. --enable-eventdns argument to configure.
  3681. - Allow servers with no hostname or IP address to learn their
  3682. IP address by asking the directory authorities. This code only
  3683. kicks in when you would normally have exited with a "no address"
  3684. error. Nothing's authenticated, so use with care.
  3685. - Rather than waiting a fixed amount of time between retrying
  3686. application connections, we wait only 5 seconds for the first,
  3687. 10 seconds for the second, and 15 seconds for each retry after
  3688. that. Hopefully this will improve the expected user experience.
  3689. - Patch from Tup to add support for transparent AP connections:
  3690. this basically bundles the functionality of trans-proxy-tor
  3691. into the Tor mainline. Now hosts with compliant pf/netfilter
  3692. implementations can redirect TCP connections straight to Tor
  3693. without diverting through SOCKS. Needs docs.
  3694. - Busy directory servers save lots of memory by spooling server
  3695. descriptors, v1 directories, and v2 networkstatus docs to buffers
  3696. as needed rather than en masse. Also mmap the cached-routers
  3697. files, so we don't need to keep the whole thing in memory too.
  3698. - Automatically avoid picking more than one node from the same
  3699. /16 network when constructing a circuit.
  3700. - Revise and clean up the torrc.sample that we ship with; add
  3701. a section for BandwidthRate and BandwidthBurst.
  3702. o Minor features:
  3703. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  3704. split connection_t into edge, or, dir, control, and base structs.
  3705. These will save quite a bit of memory on busy servers, and they'll
  3706. also help us track down bugs in the code and bugs in the spec.
  3707. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  3708. or later. Log when we are doing this, so we can diagnose it when
  3709. it fails. (Also, recommend libevent 1.1b for kqueue and
  3710. win32 methods; deprecate libevent 1.0b harder; make libevent
  3711. recommendation system saner.)
  3712. - Start being able to build universal binaries on OS X (thanks
  3713. to Phobos).
  3714. - Export the default exit policy via the control port, so controllers
  3715. don't need to guess what it is / will be later.
  3716. - Add a man page entry for ProtocolWarnings.
  3717. - Add TestVia config option to the man page.
  3718. - Remove even more protocol-related warnings from Tor server logs,
  3719. such as bad TLS handshakes and malformed begin cells.
  3720. - Stop fetching descriptors if you're not a dir mirror and you
  3721. haven't tried to establish any circuits lately. [This currently
  3722. causes some dangerous behavior, because when you start up again
  3723. you'll use your ancient server descriptors.]
  3724. - New DirPort behavior: if you have your dirport set, you download
  3725. descriptors aggressively like a directory mirror, whether or not
  3726. your ORPort is set.
  3727. - Get rid of the router_retry_connections notion. Now routers
  3728. no longer try to rebuild long-term connections to directory
  3729. authorities, and directory authorities no longer try to rebuild
  3730. long-term connections to all servers. We still don't hang up
  3731. connections in these two cases though -- we need to look at it
  3732. more carefully to avoid flapping, and we likely need to wait til
  3733. 0.1.1.x is obsolete.
  3734. - Drop compatibility with obsolete Tors that permit create cells
  3735. to have the wrong circ_id_type.
  3736. - Re-enable per-connection rate limiting. Get rid of the "OP
  3737. bandwidth" concept. Lay groundwork for "bandwidth classes" --
  3738. separate global buckets that apply depending on what sort of conn
  3739. it is.
  3740. - Start publishing one minute or so after we find our ORPort
  3741. to be reachable. This will help reduce the number of descriptors
  3742. we have for ourselves floating around, since it's quite likely
  3743. other things (e.g. DirPort) will change during that minute too.
  3744. - Fork the v1 directory protocol into its own spec document,
  3745. and mark dir-spec.txt as the currently correct (v2) spec.
  3746. o Major bugfixes:
  3747. - When we find our DirPort to be reachable, publish a new descriptor
  3748. so we'll tell the world (reported by pnx).
  3749. - Publish a new descriptor after we hup/reload. This is important
  3750. if our config has changed such that we'll want to start advertising
  3751. our DirPort now, etc.
  3752. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  3753. - When we have a state file we cannot parse, tell the user and
  3754. move it aside. Now we avoid situations where the user starts
  3755. Tor in 1904, Tor writes a state file with that timestamp in it,
  3756. the user fixes her clock, and Tor refuses to start.
  3757. - Fix configure.in to not produce broken configure files with
  3758. more recent versions of autoconf. Thanks to Clint for his auto*
  3759. voodoo.
  3760. - "tor --verify-config" now exits with -1(255) or 0 depending on
  3761. whether the config options are bad or good.
  3762. - Resolve bug 321 when using dnsworkers: append a period to every
  3763. address we resolve at the exit node, so that we do not accidentally
  3764. pick up local addresses, and so that failing searches are retried
  3765. in the resolver search domains. (This is already solved for
  3766. eventdns.) (This breaks Blossom servers for now.)
  3767. - If we are using an exit enclave and we can't connect, e.g. because
  3768. its webserver is misconfigured to not listen on localhost, then
  3769. back off and try connecting from somewhere else before we fail.
  3770. o Minor bugfixes:
  3771. - Start compiling on MinGW on Windows (patches from Mike Chiussi).
  3772. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  3773. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  3774. when the IP address is mapped through MapAddress to a hostname.
  3775. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  3776. useless IPv6 DNS resolves.
  3777. - Patch suggested by Karsten Loesing: respond to SIGNAL command
  3778. before we execute the signal, in case the signal shuts us down.
  3779. - Clean up AllowInvalidNodes man page entry.
  3780. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  3781. - Add more asserts to track down an assert error on a windows Tor
  3782. server with connection_add being called with socket == -1.
  3783. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  3784. - Fix misleading log messages: an entry guard that is "unlisted",
  3785. as well as not known to be "down" (because we've never heard
  3786. of it), is not therefore "up".
  3787. - Remove code to special-case "-cvs" ending, since it has not
  3788. actually mattered since 0.0.9.
  3789. - Make our socks5 handling more robust to broken socks clients:
  3790. throw out everything waiting on the buffer in between socks
  3791. handshake phases, since they can't possibly (so the theory
  3792. goes) have predicted what we plan to respond to them.
  3793. Changes in version 0.1.1.23 - 2006-07-30
  3794. o Major bugfixes:
  3795. - Fast Tor servers, especially exit nodes, were triggering asserts
  3796. due to a bug in handling the list of pending DNS resolves. Some
  3797. bugs still remain here; we're hunting them.
  3798. - Entry guards could crash clients by sending unexpected input.
  3799. - More fixes on reachability testing: if you find yourself reachable,
  3800. then don't ever make any client requests (so you stop predicting
  3801. circuits), then hup or have your clock jump, then later your IP
  3802. changes, you won't think circuits are working, so you won't try to
  3803. test reachability, so you won't publish.
  3804. o Minor bugfixes:
  3805. - Avoid a crash if the controller does a resetconf firewallports
  3806. and then a setconf fascistfirewall=1.
  3807. - Avoid an integer underflow when the dir authority decides whether
  3808. a router is stable: we might wrongly label it stable, and compute
  3809. a slightly wrong median stability, when a descriptor is published
  3810. later than now.
  3811. - Fix a place where we might trigger an assert if we can't build our
  3812. own server descriptor yet.
  3813. Changes in version 0.1.1.22 - 2006-07-05
  3814. o Major bugfixes:
  3815. - Fix a big bug that was causing servers to not find themselves
  3816. reachable if they changed IP addresses. Since only 0.1.1.22+
  3817. servers can do reachability testing correctly, now we automatically
  3818. make sure to test via one of these.
  3819. - Fix to allow clients and mirrors to learn directory info from
  3820. descriptor downloads that get cut off partway through.
  3821. - Directory authorities had a bug in deciding if a newly published
  3822. descriptor was novel enough to make everybody want a copy -- a few
  3823. servers seem to be publishing new descriptors many times a minute.
  3824. o Minor bugfixes:
  3825. - Fix a rare bug that was causing some servers to complain about
  3826. "closing wedged cpuworkers" and skip some circuit create requests.
  3827. - Make the Exit flag in directory status documents actually work.
  3828. Changes in version 0.1.1.21 - 2006-06-10
  3829. o Crash and assert fixes from 0.1.1.20:
  3830. - Fix a rare crash on Tor servers that have enabled hibernation.
  3831. - Fix a seg fault on startup for Tor networks that use only one
  3832. directory authority.
  3833. - Fix an assert from a race condition that occurs on Tor servers
  3834. while exiting, where various threads are trying to log that they're
  3835. exiting, and delete the logs, at the same time.
  3836. - Make our unit tests pass again on certain obscure platforms.
  3837. o Other fixes:
  3838. - Add support for building SUSE RPM packages.
  3839. - Speed up initial bootstrapping for clients: if we are making our
  3840. first ever connection to any entry guard, then don't mark it down
  3841. right after that.
  3842. - When only one Tor server in the network is labelled as a guard,
  3843. and we've already picked him, we would cycle endlessly picking him
  3844. again, being unhappy about it, etc. Now we specifically exclude
  3845. current guards when picking a new guard.
  3846. - Servers send create cells more reliably after the TLS connection
  3847. is established: we were sometimes forgetting to send half of them
  3848. when we had more than one pending.
  3849. - If we get a create cell that asks us to extend somewhere, but the
  3850. Tor server there doesn't match the expected digest, we now send
  3851. a destroy cell back, rather than silently doing nothing.
  3852. - Make options->RedirectExit work again.
  3853. - Make cookie authentication for the controller work again.
  3854. - Stop being picky about unusual characters in the arguments to
  3855. mapaddress. It's none of our business.
  3856. - Add a new config option "TestVia" that lets you specify preferred
  3857. middle hops to use for test circuits. Perhaps this will let me
  3858. debug the reachability problems better.
  3859. o Log / documentation fixes:
  3860. - If we're a server and some peer has a broken TLS certificate, don't
  3861. log about it unless ProtocolWarnings is set, i.e., we want to hear
  3862. about protocol violations by others.
  3863. - Fix spelling of VirtualAddrNetwork in man page.
  3864. - Add a better explanation at the top of the autogenerated torrc file
  3865. about what happened to our old torrc.
  3866. Changes in version 0.1.1.20 - 2006-05-23
  3867. o Bugfixes:
  3868. - Downgrade a log severity where servers complain that they're
  3869. invalid.
  3870. - Avoid a compile warning on FreeBSD.
  3871. - Remove string size limit on NEWDESC messages; solve bug 291.
  3872. - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
  3873. more thoroughly when we're running on windows.
  3874. Changes in version 0.1.1.19-rc - 2006-05-03
  3875. o Minor bugs:
  3876. - Regenerate our local descriptor if it's dirty and we try to use
  3877. it locally (e.g. if it changes during reachability detection).
  3878. - If we setconf our ORPort to 0, we continued to listen on the
  3879. old ORPort and receive connections.
  3880. - Avoid a second warning about machine/limits.h on Debian
  3881. GNU/kFreeBSD.
  3882. - Be willing to add our own routerinfo into the routerlist.
  3883. Now authorities will include themselves in their directories
  3884. and network-statuses.
  3885. - Stop trying to upload rendezvous descriptors to every
  3886. directory authority: only try the v1 authorities.
  3887. - Servers no longer complain when they think they're not
  3888. registered with the directory authorities. There were too many
  3889. false positives.
  3890. - Backport dist-rpm changes so rpms can be built without errors.
  3891. o Features:
  3892. - Implement an option, VirtualAddrMask, to set which addresses
  3893. get handed out in response to mapaddress requests. This works
  3894. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  3895. Changes in version 0.1.1.18-rc - 2006-04-10
  3896. o Major fixes:
  3897. - Work harder to download live network-statuses from all the
  3898. directory authorities we know about. Improve the threshold
  3899. decision logic so we're more robust to edge cases.
  3900. - When fetching rendezvous descriptors, we were willing to ask
  3901. v2 authorities too, which would always return 404.
  3902. o Minor fixes:
  3903. - Stop listing down or invalid nodes in the v1 directory. This will
  3904. reduce its bulk by about 1/3, and reduce load on directory
  3905. mirrors.
  3906. - When deciding whether a router is Fast or Guard-worthy, consider
  3907. his advertised BandwidthRate and not just the BandwidthCapacity.
  3908. - No longer ship INSTALL and README files -- they are useless now.
  3909. - Force rpmbuild to behave and honor target_cpu.
  3910. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  3911. - Start to include translated versions of the tor-doc-*.html
  3912. files, along with the screenshots. Still needs more work.
  3913. - Start sending back 512 and 451 errors if mapaddress fails,
  3914. rather than not sending anything back at all.
  3915. - When we fail to bind or listen on an incoming or outgoing
  3916. socket, we should close it before failing. otherwise we just
  3917. leak it. (thanks to weasel for finding.)
  3918. - Allow "getinfo dir/status/foo" to work, as long as your DirPort
  3919. is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
  3920. - Make NoPublish (even though deprecated) work again.
  3921. - Fix a minor security flaw where a versioning auth dirserver
  3922. could list a recommended version many times in a row to make
  3923. clients more convinced that it's recommended.
  3924. - Fix crash bug if there are two unregistered servers running
  3925. with the same nickname, one of them is down, and you ask for
  3926. them by nickname in your EntryNodes or ExitNodes. Also, try
  3927. to pick the one that's running rather than an arbitrary one.
  3928. - Fix an infinite loop we could hit if we go offline for too long.
  3929. - Complain when we hit WSAENOBUFS on recv() or write() too.
  3930. Perhaps this will help us hunt the bug.
  3931. - If you're not a versioning dirserver, don't put the string
  3932. "client-versions \nserver-versions \n" in your network-status.
  3933. - Lower the minimum required number of file descriptors to 1000,
  3934. so we can have some overhead for Valgrind on Linux, where the
  3935. default ulimit -n is 1024.
  3936. o New features:
  3937. - Add tor.dizum.com as the fifth authoritative directory server.
  3938. - Add a new config option FetchUselessDescriptors, off by default,
  3939. for when you plan to run "exitlist" on your client and you want
  3940. to know about even the non-running descriptors.
  3941. Changes in version 0.1.1.17-rc - 2006-03-28
  3942. o Major fixes:
  3943. - Clients and servers since 0.1.1.10-alpha have been expiring
  3944. connections whenever they are idle for 5 minutes and they *do*
  3945. have circuits on them. Oops. With this new version, clients will
  3946. discard their previous entry guard choices and avoid choosing
  3947. entry guards running these flawed versions.
  3948. - Fix memory leak when uncompressing concatenated zlib streams. This
  3949. was causing substantial leaks over time on Tor servers.
  3950. - The v1 directory was including servers as much as 48 hours old,
  3951. because that's how the new routerlist->routers works. Now only
  3952. include them if they're 20 hours old or less.
  3953. o Minor fixes:
  3954. - Resume building on irix64, netbsd 2.0, etc.
  3955. - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
  3956. "-Wall -g -O2".
  3957. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  3958. and it is confusing some users.
  3959. - Mirrors stop caching the v1 directory so often.
  3960. - Make the max number of old descriptors that a cache will hold
  3961. rise with the number of directory authorities, so we can scale.
  3962. - Change our win32 uname() hack to be more forgiving about what
  3963. win32 versions it thinks it's found.
  3964. o New features:
  3965. - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
  3966. server.
  3967. - When the controller's *setconf commands fail, collect an error
  3968. message in a string and hand it back to the controller.
  3969. - Make the v2 dir's "Fast" flag based on relative capacity, just
  3970. like "Stable" is based on median uptime. Name everything in the
  3971. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  3972. - Log server fingerprint on startup, so new server operators don't
  3973. have to go hunting around their filesystem for it.
  3974. - Return a robots.txt on our dirport to discourage google indexing.
  3975. - Let the controller ask for GETINFO dir/status/foo so it can ask
  3976. directly rather than connecting to the dir port. Only works when
  3977. dirport is set for now.
  3978. o New config options rather than constants in the code:
  3979. - SocksTimeout: How long do we let a socks connection wait
  3980. unattached before we fail it?
  3981. - CircuitBuildTimeout: Cull non-open circuits that were born
  3982. at least this many seconds ago.
  3983. - CircuitIdleTimeout: Cull open clean circuits that were born
  3984. at least this many seconds ago.
  3985. Changes in version 0.1.1.16-rc - 2006-03-18
  3986. o Bugfixes on 0.1.1.15-rc:
  3987. - Fix assert when the controller asks to attachstream a connect-wait
  3988. or resolve-wait stream.
  3989. - Now do address rewriting when the controller asks us to attach
  3990. to a particular circuit too. This will let Blossom specify
  3991. "moria2.exit" without having to learn what moria2's IP address is.
  3992. - Make the "tor --verify-config" command-line work again, so people
  3993. can automatically check if their torrc will parse.
  3994. - Authoritative dirservers no longer require an open connection from
  3995. a server to consider him "reachable". We need this change because
  3996. when we add new auth dirservers, old servers won't know not to
  3997. hang up on them.
  3998. - Let Tor build on Sun CC again.
  3999. - Fix an off-by-one buffer size in dirserv.c that magically never
  4000. hit our three authorities but broke sjmurdoch's own tor network.
  4001. - If we as a directory mirror don't know of any v1 directory
  4002. authorities, then don't try to cache any v1 directories.
  4003. - Stop warning about unknown servers in our family when they are
  4004. given as hex digests.
  4005. - Stop complaining as quickly to the server operator that he
  4006. hasn't registered his nickname/key binding.
  4007. - Various cleanups so we can add new V2 Auth Dirservers.
  4008. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  4009. reflect the updated flags in our v2 dir protocol.
  4010. - Resume allowing non-printable characters for exit streams (both
  4011. for connecting and for resolving). Now we tolerate applications
  4012. that don't follow the RFCs. But continue to block malformed names
  4013. at the socks side.
  4014. o Bugfixes on 0.1.0.x:
  4015. - Fix assert bug in close_logs(): when we close and delete logs,
  4016. remove them all from the global "logfiles" list.
  4017. - Fix minor integer overflow in calculating when we expect to use up
  4018. our bandwidth allocation before hibernating.
  4019. - Fix a couple of bugs in OpenSSL detection. Also, deal better when
  4020. there are multiple SSLs installed with different versions.
  4021. - When we try to be a server and Address is not explicitly set and
  4022. our hostname resolves to a private IP address, try to use an
  4023. interface address if it has a public address. Now Windows machines
  4024. that think of themselves as localhost can work by default.
  4025. o New features:
  4026. - Let the controller ask for GETINFO dir/server/foo so it can ask
  4027. directly rather than connecting to the dir port.
  4028. - Let the controller tell us about certain router descriptors
  4029. that it doesn't want Tor to use in circuits. Implement
  4030. SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
  4031. - New config option SafeSocks to reject all application connections
  4032. using unsafe socks protocols. Defaults to off.
  4033. Changes in version 0.1.1.15-rc - 2006-03-11
  4034. o Bugfixes and cleanups:
  4035. - When we're printing strings from the network, don't try to print
  4036. non-printable characters. This protects us against shell escape
  4037. sequence exploits, and also against attacks to fool humans into
  4038. misreading their logs.
  4039. - Fix a bug where Tor would fail to establish any connections if you
  4040. left it off for 24 hours and then started it: we were happy with
  4041. the obsolete network statuses, but they all referred to router
  4042. descriptors that were too old to fetch, so we ended up with no
  4043. valid router descriptors.
  4044. - Fix a seg fault in the controller's "getinfo orconn-status"
  4045. command while listing status on incoming handshaking connections.
  4046. Introduce a status name "NEW" for these connections.
  4047. - If we get a linelist or linelist_s config option from the torrc
  4048. (e.g. ExitPolicy) and it has no value, warn and skip rather than
  4049. silently resetting it to its default.
  4050. - Don't abandon entry guards until they've been down or gone for
  4051. a whole month.
  4052. - Cleaner and quieter log messages.
  4053. o New features:
  4054. - New controller signal NEWNYM that makes new application requests
  4055. use clean circuits.
  4056. - Add a new circuit purpose 'controller' to let the controller ask
  4057. for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
  4058. controller command to let you specify the purpose if you're
  4059. starting a new circuit. Add a new SETCIRCUITPURPOSE controller
  4060. command to let you change a circuit's purpose after it's been
  4061. created.
  4062. - Accept "private:*" in routerdesc exit policies; not generated yet
  4063. because older Tors do not understand it.
  4064. - Add BSD-style contributed startup script "rc.subr" from Peter
  4065. Thoenen.
  4066. Changes in version 0.1.1.14-alpha - 2006-02-20
  4067. o Bugfixes on 0.1.1.x:
  4068. - Don't die if we ask for a stdout or stderr log (even implicitly)
  4069. and we're set to RunAsDaemon -- just warn.
  4070. - We still had a few bugs in the OR connection rotation code that
  4071. caused directory servers to slowly aggregate connections to other
  4072. fast Tor servers. This time for sure!
  4073. - Make log entries on Win32 include the name of the function again.
  4074. - We were treating a pair of exit policies if they were equal even
  4075. if one said accept and the other said reject -- causing us to
  4076. not always publish a new descriptor since we thought nothing
  4077. had changed.
  4078. - Retry pending server downloads as well as pending networkstatus
  4079. downloads when we unexpectedly get a socks request.
  4080. - We were ignoring the IS_FAST flag in the directory status,
  4081. meaning we were willing to pick trivial-bandwidth nodes for "fast"
  4082. connections.
  4083. - If the controller's SAVECONF command fails (e.g. due to file
  4084. permissions), let the controller know that it failed.
  4085. o Features:
  4086. - If we're trying to be a Tor server and running Windows 95/98/ME
  4087. as a server, explain that we'll likely crash.
  4088. - When we're a server, a client asks for an old-style directory,
  4089. and our write bucket is empty, don't give it to him. This way
  4090. small servers can continue to serve the directory *sometimes*,
  4091. without getting overloaded.
  4092. - Compress exit policies even more -- look for duplicate lines
  4093. and remove them.
  4094. - Clients now honor the "guard" flag in the router status when
  4095. picking entry guards, rather than looking at is_fast or is_stable.
  4096. - Retain unrecognized lines in $DATADIR/state file, so that we can
  4097. be forward-compatible.
  4098. - Generate 18.0.0.0/8 address policy format in descs when we can;
  4099. warn when the mask is not reducible to a bit-prefix.
  4100. - Let the user set ControlListenAddress in the torrc. This can be
  4101. dangerous, but there are some cases (like a secured LAN) where it
  4102. makes sense.
  4103. - Split ReachableAddresses into ReachableDirAddresses and
  4104. ReachableORAddresses, so we can restrict Dir conns to port 80
  4105. and OR conns to port 443.
  4106. - Now we can target arch and OS in rpm builds (contributed by
  4107. Phobos). Also make the resulting dist-rpm filename match the
  4108. target arch.
  4109. - New config options to help controllers: FetchServerDescriptors
  4110. and FetchHidServDescriptors for whether to fetch server
  4111. info and hidserv info or let the controller do it, and
  4112. PublishServerDescriptor and PublishHidServDescriptors.
  4113. - Also let the controller set the __AllDirActionsPrivate config
  4114. option if you want all directory fetches/publishes to happen via
  4115. Tor (it assumes your controller bootstraps your circuits).
  4116. Changes in version 0.1.0.17 - 2006-02-17
  4117. o Crash bugfixes on 0.1.0.x:
  4118. - When servers with a non-zero DirPort came out of hibernation,
  4119. sometimes they would trigger an assert.
  4120. o Other important bugfixes:
  4121. - On platforms that don't have getrlimit (like Windows), we were
  4122. artificially constraining ourselves to a max of 1024
  4123. connections. Now just assume that we can handle as many as 15000
  4124. connections. Hopefully this won't cause other problems.
  4125. o Backported features:
  4126. - When we're a server, a client asks for an old-style directory,
  4127. and our write bucket is empty, don't give it to him. This way
  4128. small servers can continue to serve the directory *sometimes*,
  4129. without getting overloaded.
  4130. - Whenever you get a 503 in response to a directory fetch, try
  4131. once more. This will become important once servers start sending
  4132. 503's whenever they feel busy.
  4133. - Fetch a new directory every 120 minutes, not every 40 minutes.
  4134. Now that we have hundreds of thousands of users running the old
  4135. directory algorithm, it's starting to hurt a lot.
  4136. - Bump up the period for forcing a hidden service descriptor upload
  4137. from 20 minutes to 1 hour.
  4138. Changes in version 0.1.1.13-alpha - 2006-02-09
  4139. o Crashes in 0.1.1.x:
  4140. - When you tried to setconf ORPort via the controller, Tor would
  4141. crash. So people using TorCP to become a server were sad.
  4142. - Solve (I hope) the stack-smashing bug that we were seeing on fast
  4143. servers. The problem appears to be something do with OpenSSL's
  4144. random number generation, or how we call it, or something. Let me
  4145. know if the crashes continue.
  4146. - Turn crypto hardware acceleration off by default, until we find
  4147. somebody smart who can test it for us. (It appears to produce
  4148. seg faults in at least some cases.)
  4149. - Fix a rare assert error when we've tried all intro points for
  4150. a hidden service and we try fetching the service descriptor again:
  4151. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
  4152. o Major fixes:
  4153. - Fix a major load balance bug: we were round-robining in 16 KB
  4154. chunks, and servers with bandwidthrate of 20 KB, while downloading
  4155. a 600 KB directory, would starve their other connections. Now we
  4156. try to be a bit more fair.
  4157. - Dir authorities and mirrors were never expiring the newest
  4158. descriptor for each server, causing memory and directory bloat.
  4159. - Fix memory-bloating and connection-bloating bug on servers: We
  4160. were never closing any connection that had ever had a circuit on
  4161. it, because we were checking conn->n_circuits == 0, yet we had a
  4162. bug that let it go negative.
  4163. - Make Tor work using squid as your http proxy again -- squid
  4164. returns an error if you ask for a URL that's too long, and it uses
  4165. a really generic error message. Plus, many people are behind a
  4166. transparent squid so they don't even realize it.
  4167. - On platforms that don't have getrlimit (like Windows), we were
  4168. artificially constraining ourselves to a max of 1024
  4169. connections. Now just assume that we can handle as many as 15000
  4170. connections. Hopefully this won't cause other problems.
  4171. - Add a new config option ExitPolicyRejectPrivate which defaults to
  4172. 1. This means all exit policies will begin with rejecting private
  4173. addresses, unless the server operator explicitly turns it off.
  4174. o Major features:
  4175. - Clients no longer download descriptors for non-running
  4176. descriptors.
  4177. - Before we add new directory authorities, we should make it
  4178. clear that only v1 authorities should receive/publish hidden
  4179. service descriptors.
  4180. o Minor features:
  4181. - As soon as we've fetched some more directory info, immediately
  4182. try to download more server descriptors. This way we don't have
  4183. a 10 second pause during initial bootstrapping.
  4184. - Remove even more loud log messages that the server operator can't
  4185. do anything about.
  4186. - When we're running an obsolete or un-recommended version, make
  4187. the log message more clear about what the problem is and what
  4188. versions *are* still recommended.
  4189. - Provide a more useful warn message when our onion queue gets full:
  4190. the CPU is too slow or the exit policy is too liberal.
  4191. - Don't warn when we receive a 503 from a dirserver/cache -- this
  4192. will pave the way for them being able to refuse if they're busy.
  4193. - When we fail to bind a listener, try to provide a more useful
  4194. log message: e.g., "Is Tor already running?"
  4195. - Adjust tor-spec to parameterize cell and key lengths. Now Ian
  4196. Goldberg can prove things about our handshake protocol more
  4197. easily.
  4198. - MaxConn has been obsolete for a while now. Document the ConnLimit
  4199. config option, which is a *minimum* number of file descriptors
  4200. that must be available else Tor refuses to start.
  4201. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  4202. if you log to syslog and want something other than LOG_DAEMON.
  4203. - Make dirservers generate a separate "guard" flag to mean,
  4204. "would make a good entry guard". Make clients parse it and vote
  4205. on it. Not used by clients yet.
  4206. - Implement --with-libevent-dir option to ./configure. Also, improve
  4207. search techniques to find libevent, and use those for openssl too.
  4208. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
  4209. - Only start testing reachability once we've established a
  4210. circuit. This will make startup on dirservers less noisy.
  4211. - Don't try to upload hidden service descriptors until we have
  4212. established a circuit.
  4213. - Fix the controller's "attachstream 0" command to treat conn like
  4214. it just connected, doing address remapping, handling .exit and
  4215. .onion idioms, and so on. Now we're more uniform in making sure
  4216. that the controller hears about new and closing connections.
  4217. Changes in version 0.1.1.12-alpha - 2006-01-11
  4218. o Bugfixes on 0.1.1.x:
  4219. - The fix to close duplicate server connections was closing all
  4220. Tor client connections if they didn't establish a circuit
  4221. quickly enough. Oops.
  4222. - Fix minor memory issue (double-free) that happened on exit.
  4223. o Bugfixes on 0.1.0.x:
  4224. - Tor didn't warn when it failed to open a log file.
  4225. Changes in version 0.1.1.11-alpha - 2006-01-10
  4226. o Crashes in 0.1.1.x:
  4227. - Include all the assert/crash fixes from 0.1.0.16.
  4228. - If you start Tor and then quit very quickly, there were some
  4229. races that tried to free things that weren't allocated yet.
  4230. - Fix a rare memory stomp if you're running hidden services.
  4231. - Fix segfault when specifying DirServer in config without nickname.
  4232. - Fix a seg fault when you finish connecting to a server but at
  4233. that moment you dump his server descriptor.
  4234. - Extendcircuit and Attachstream controller commands would
  4235. assert/crash if you don't give them enough arguments.
  4236. - Fix an assert error when we're out of space in the connection_list
  4237. and we try to post a hidden service descriptor (reported by weasel).
  4238. - If you specify a relative torrc path and you set RunAsDaemon in
  4239. your torrc, then it chdir()'s to the new directory. If you HUP,
  4240. it tries to load the new torrc location, fails, and exits.
  4241. The fix: no longer allow a relative path to torrc using -f.
  4242. o Major features:
  4243. - Implement "entry guards": automatically choose a handful of entry
  4244. nodes and stick with them for all circuits. Only pick new guards
  4245. when the ones you have are unsuitable, and if the old guards
  4246. become suitable again, switch back. This will increase security
  4247. dramatically against certain end-point attacks. The EntryNodes
  4248. config option now provides some hints about which entry guards you
  4249. want to use most; and StrictEntryNodes means to only use those.
  4250. - New directory logic: download by descriptor digest, not by
  4251. fingerprint. Caches try to download all listed digests from
  4252. authorities; clients try to download "best" digests from caches.
  4253. This avoids partitioning and isolating attacks better.
  4254. - Make the "stable" router flag in network-status be the median of
  4255. the uptimes of running valid servers, and make clients pay
  4256. attention to the network-status flags. Thus the cutoff adapts
  4257. to the stability of the network as a whole, making IRC, IM, etc
  4258. connections more reliable.
  4259. o Major fixes:
  4260. - Tor servers with dynamic IP addresses were needing to wait 18
  4261. hours before they could start doing reachability testing using
  4262. the new IP address and ports. This is because they were using
  4263. the internal descriptor to learn what to test, yet they were only
  4264. rebuilding the descriptor once they decided they were reachable.
  4265. - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
  4266. to download certain server descriptors, throw them away, and then
  4267. fetch them again after 30 minutes. Now mirrors throw away these
  4268. server descriptors so clients can't get them.
  4269. - We were leaving duplicate connections to other ORs open for a week,
  4270. rather than closing them once we detect a duplicate. This only
  4271. really affected authdirservers, but it affected them a lot.
  4272. - Spread the authdirservers' reachability testing over the entire
  4273. testing interval, so we don't try to do 500 TLS's at once every
  4274. 20 minutes.
  4275. o Minor fixes:
  4276. - If the network is down, and we try to connect to a conn because
  4277. we have a circuit in mind, and we timeout (30 seconds) because the
  4278. network never answers, we were expiring the circuit, but we weren't
  4279. obsoleting the connection or telling the entry_guards functions.
  4280. - Some Tor servers process billions of cells per day. These statistics
  4281. need to be uint64_t's.
  4282. - Check for integer overflows in more places, when adding elements
  4283. to smartlists. This could possibly prevent a buffer overflow
  4284. on malicious huge inputs. I don't see any, but I haven't looked
  4285. carefully.
  4286. - ReachableAddresses kept growing new "reject *:*" lines on every
  4287. setconf/reload.
  4288. - When you "setconf log" via the controller, it should remove all
  4289. logs. We were automatically adding back in a "log notice stdout".
  4290. - Newly bootstrapped Tor networks couldn't establish hidden service
  4291. circuits until they had nodes with high uptime. Be more tolerant.
  4292. - We were marking servers down when they could not answer every piece
  4293. of the directory request we sent them. This was far too harsh.
  4294. - Fix the torify (tsocks) config file to not use Tor for localhost
  4295. connections.
  4296. - Directory authorities now go to the proper authority when asking for
  4297. a networkstatus, even when they want a compressed one.
  4298. - Fix a harmless bug that was causing Tor servers to log
  4299. "Got an end because of misc error, but we're not an AP. Closing."
  4300. - Authorities were treating their own descriptor changes as cosmetic,
  4301. meaning the descriptor available in the network-status and the
  4302. descriptor that clients downloaded were different.
  4303. - The OS X installer was adding a symlink for tor_resolve but
  4304. the binary was called tor-resolve (reported by Thomas Hardly).
  4305. - Workaround a problem with some http proxies where they refuse GET
  4306. requests that specify "Content-Length: 0" (reported by Adrian).
  4307. - Fix wrong log message when you add a "HiddenServiceNodes" config
  4308. line without any HiddenServiceDir line (reported by Chris Thomas).
  4309. o Minor features:
  4310. - Write the TorVersion into the state file so we have a prayer of
  4311. keeping forward and backward compatibility.
  4312. - Revive the FascistFirewall config option rather than eliminating it:
  4313. now it's a synonym for ReachableAddresses *:80,*:443.
  4314. - Clients choose directory servers from the network status lists,
  4315. not from their internal list of router descriptors. Now they can
  4316. go to caches directly rather than needing to go to authorities
  4317. to bootstrap.
  4318. - Directory authorities ignore router descriptors that have only
  4319. cosmetic differences: do this for 0.1.0.x servers now too.
  4320. - Add a new flag to network-status indicating whether the server
  4321. can answer v2 directory requests too.
  4322. - Authdirs now stop whining so loudly about bad descriptors that
  4323. they fetch from other dirservers. So when there's a log complaint,
  4324. it's for sure from a freshly uploaded descriptor.
  4325. - Reduce memory requirements in our structs by changing the order
  4326. of fields.
  4327. - There used to be two ways to specify your listening ports in a
  4328. server descriptor: on the "router" line and with a separate "ports"
  4329. line. Remove support for the "ports" line.
  4330. - New config option "AuthDirRejectUnlisted" for auth dirservers as
  4331. a panic button: if we get flooded with unusable servers we can
  4332. revert to only listing servers in the approved-routers file.
  4333. - Auth dir servers can now mark a fingerprint as "!reject" or
  4334. "!invalid" in the approved-routers file (as its nickname), to
  4335. refuse descriptors outright or include them but marked as invalid.
  4336. - Servers store bandwidth history across restarts/crashes.
  4337. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  4338. get a better idea of why their circuits failed. Not used yet.
  4339. - Directory mirrors now cache up to 16 unrecognized network-status
  4340. docs. Now we can add new authdirservers and they'll be cached too.
  4341. - When picking a random directory, prefer non-authorities if any
  4342. are known.
  4343. - New controller option "getinfo desc/all-recent" to fetch the
  4344. latest server descriptor for every router that Tor knows about.
  4345. Changes in version 0.1.0.16 - 2006-01-02
  4346. o Crash bugfixes on 0.1.0.x:
  4347. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  4348. corrupting the heap, losing FDs, or crashing when we need to resize
  4349. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  4350. - It turns out sparc64 platforms crash on unaligned memory access
  4351. too -- so detect and avoid this.
  4352. - Handle truncated compressed data correctly (by detecting it and
  4353. giving an error).
  4354. - Fix possible-but-unlikely free(NULL) in control.c.
  4355. - When we were closing connections, there was a rare case that
  4356. stomped on memory, triggering seg faults and asserts.
  4357. - Avoid potential infinite recursion when building a descriptor. (We
  4358. don't know that it ever happened, but better to fix it anyway.)
  4359. - We were neglecting to unlink marked circuits from soon-to-close OR
  4360. connections, which caused some rare scribbling on freed memory.
  4361. - Fix a memory stomping race bug when closing the joining point of two
  4362. rendezvous circuits.
  4363. - Fix an assert in time parsing found by Steven Murdoch.
  4364. o Other bugfixes on 0.1.0.x:
  4365. - When we're doing reachability testing, provide more useful log
  4366. messages so the operator knows what to expect.
  4367. - Do not check whether DirPort is reachable when we are suppressing
  4368. advertising it because of hibernation.
  4369. - When building with -static or on Solaris, we sometimes needed -ldl.
  4370. - When we're deciding whether a stream has enough circuits around
  4371. that can handle it, count the freshly dirty ones and not the ones
  4372. that are so dirty they won't be able to handle it.
  4373. - When we're expiring old circuits, we had a logic error that caused
  4374. us to close new rendezvous circuits rather than old ones.
  4375. - Give a more helpful log message when you try to change ORPort via
  4376. the controller: you should upgrade Tor if you want that to work.
  4377. - We were failing to parse Tor versions that start with "Tor ".
  4378. - Tolerate faulty streams better: when a stream fails for reason
  4379. exitpolicy, stop assuming that the router is lying about his exit
  4380. policy. When a stream fails for reason misc, allow it to retry just
  4381. as if it was resolvefailed. When a stream has failed three times,
  4382. reset its failure count so we can try again and get all three tries.
  4383. Changes in version 0.1.1.10-alpha - 2005-12-11
  4384. o Correctness bugfixes on 0.1.0.x:
  4385. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  4386. corrupting the heap, losing FDs, or crashing when we need to resize
  4387. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  4388. - Stop doing the complex voodoo overkill checking for insecure
  4389. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  4390. - When we were closing connections, there was a rare case that
  4391. stomped on memory, triggering seg faults and asserts.
  4392. - We were neglecting to unlink marked circuits from soon-to-close OR
  4393. connections, which caused some rare scribbling on freed memory.
  4394. - When we're deciding whether a stream has enough circuits around
  4395. that can handle it, count the freshly dirty ones and not the ones
  4396. that are so dirty they won't be able to handle it.
  4397. - Recover better from TCP connections to Tor servers that are
  4398. broken but don't tell you (it happens!); and rotate TLS
  4399. connections once a week.
  4400. - When we're expiring old circuits, we had a logic error that caused
  4401. us to close new rendezvous circuits rather than old ones.
  4402. - Fix a scary-looking but apparently harmless bug where circuits
  4403. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  4404. servers, and never switch to state CIRCUIT_STATE_OPEN.
  4405. - When building with -static or on Solaris, we sometimes needed to
  4406. build with -ldl.
  4407. - Give a useful message when people run Tor as the wrong user,
  4408. rather than telling them to start chowning random directories.
  4409. - We were failing to inform the controller about new .onion streams.
  4410. o Security bugfixes on 0.1.0.x:
  4411. - Refuse server descriptors if the fingerprint line doesn't match
  4412. the included identity key. Tor doesn't care, but other apps (and
  4413. humans) might actually be trusting the fingerprint line.
  4414. - We used to kill the circuit when we receive a relay command we
  4415. don't recognize. Now we just drop it.
  4416. - Start obeying our firewall options more rigorously:
  4417. . If we can't get to a dirserver directly, try going via Tor.
  4418. . Don't ever try to connect (as a client) to a place our
  4419. firewall options forbid.
  4420. . If we specify a proxy and also firewall options, obey the
  4421. firewall options even when we're using the proxy: some proxies
  4422. can only proxy to certain destinations.
  4423. - Fix a bug found by Lasse Overlier: when we were making internal
  4424. circuits (intended to be cannibalized later for rendezvous and
  4425. introduction circuits), we were picking them so that they had
  4426. useful exit nodes. There was no need for this, and it actually
  4427. aids some statistical attacks.
  4428. - Start treating internal circuits and exit circuits separately.
  4429. It's important to keep them separate because internal circuits
  4430. have their last hops picked like middle hops, rather than like
  4431. exit hops. So exiting on them will break the user's expectations.
  4432. o Bugfixes on 0.1.1.x:
  4433. - Take out the mis-feature where we tried to detect IP address
  4434. flapping for people with DynDNS, and chose not to upload a new
  4435. server descriptor sometimes.
  4436. - Try to be compatible with OpenSSL 0.9.6 again.
  4437. - Log fix: when the controller is logging about .onion addresses,
  4438. sometimes it didn't include the ".onion" part of the address.
  4439. - Don't try to modify options->DirServers internally -- if the
  4440. user didn't specify any, just add the default ones directly to
  4441. the trusted dirserver list. This fixes a bug where people running
  4442. controllers would use SETCONF on some totally unrelated config
  4443. option, and Tor would start yelling at them about changing their
  4444. DirServer lines.
  4445. - Let the controller's redirectstream command specify a port, in
  4446. case the controller wants to change that too.
  4447. - When we requested a pile of server descriptors, we sometimes
  4448. accidentally launched a duplicate request for the first one.
  4449. - Bugfix for trackhostexits: write down the fingerprint of the
  4450. chosen exit, not its nickname, because the chosen exit might not
  4451. be verified.
  4452. - When parsing foo.exit, if foo is unknown, and we are leaving
  4453. circuits unattached, set the chosen_exit field and leave the
  4454. address empty. This matters because controllers got confused
  4455. otherwise.
  4456. - Directory authorities no longer try to download server
  4457. descriptors that they know they will reject.
  4458. o Features and updates:
  4459. - Replace balanced trees with hash tables: this should make stuff
  4460. significantly faster.
  4461. - Resume using the AES counter-mode implementation that we ship,
  4462. rather than OpenSSL's. Ours is significantly faster.
  4463. - Many other CPU and memory improvements.
  4464. - Add a new config option FastFirstHopPK (on by default) so clients
  4465. do a trivial crypto handshake for their first hop, since TLS has
  4466. already taken care of confidentiality and authentication.
  4467. - Add a new config option TestSocks so people can see if their
  4468. applications are using socks4, socks4a, socks5-with-ip, or
  4469. socks5-with-hostname. This way they don't have to keep mucking
  4470. with tcpdump and wondering if something got cached somewhere.
  4471. - Warn when listening on a public address for socks. I suspect a
  4472. lot of people are setting themselves up as open socks proxies,
  4473. and they have no idea that jerks on the Internet are using them,
  4474. since they simply proxy the traffic into the Tor network.
  4475. - Add "private:*" as an alias in configuration for policies. Now
  4476. you can simplify your exit policy rather than needing to list
  4477. every single internal or nonroutable network space.
  4478. - Add a new controller event type that allows controllers to get
  4479. all server descriptors that were uploaded to a router in its role
  4480. as authoritative dirserver.
  4481. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  4482. tor-doc-server.html, and stylesheet.css in the tarball.
  4483. - Stop shipping tor-doc.html in the tarball.
  4484. Changes in version 0.1.1.9-alpha - 2005-11-15
  4485. o Usability improvements:
  4486. - Start calling it FooListenAddress rather than FooBindAddress,
  4487. since few of our users know what it means to bind an address
  4488. or port.
  4489. - Reduce clutter in server logs. We're going to try to make
  4490. them actually usable now. New config option ProtocolWarnings that
  4491. lets you hear about how _other Tors_ are breaking the protocol. Off
  4492. by default.
  4493. - Divide log messages into logging domains. Once we put some sort
  4494. of interface on this, it will let people looking at more verbose
  4495. log levels specify the topics they want to hear more about.
  4496. - Make directory servers return better http 404 error messages
  4497. instead of a generic "Servers unavailable".
  4498. - Check for even more Windows version flags when writing the platform
  4499. string in server descriptors, and note any we don't recognize.
  4500. - Clean up more of the OpenSSL memory when exiting, so we can detect
  4501. memory leaks better.
  4502. - Make directory authorities be non-versioning, non-naming by
  4503. default. Now we can add new directory servers without requiring
  4504. their operators to pay close attention.
  4505. - When logging via syslog, include the pid whenever we provide
  4506. a log entry. Suggested by Todd Fries.
  4507. o Performance improvements:
  4508. - Directory servers now silently throw away new descriptors that
  4509. haven't changed much if the timestamps are similar. We do this to
  4510. tolerate older Tor servers that upload a new descriptor every 15
  4511. minutes. (It seemed like a good idea at the time.)
  4512. - Inline bottleneck smartlist functions; use fast versions by default.
  4513. - Add a "Map from digest to void*" abstraction digestmap_t so we
  4514. can do less hex encoding/decoding. Use it in router_get_by_digest()
  4515. to resolve a performance bottleneck.
  4516. - Allow tor_gzip_uncompress to extract as much as possible from
  4517. truncated compressed data. Try to extract as many
  4518. descriptors as possible from truncated http responses (when
  4519. DIR_PURPOSE_FETCH_ROUTERDESC).
  4520. - Make circ->onionskin a pointer, not a static array. moria2 was using
  4521. 125000 circuit_t's after it had been up for a few weeks, which
  4522. translates to 20+ megs of wasted space.
  4523. - The private half of our EDH handshake keys are now chosen out
  4524. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  4525. o Security improvements:
  4526. - Start making directory caches retain old routerinfos, so soon
  4527. clients can start asking by digest of descriptor rather than by
  4528. fingerprint of server.
  4529. - Add half our entropy from RAND_poll in OpenSSL. This knows how
  4530. to use egd (if present), openbsd weirdness (if present), vms/os2
  4531. weirdness (if we ever port there), and more in the future.
  4532. o Bugfixes on 0.1.0.x:
  4533. - Do round-robin writes of at most 16 kB per write. This might be
  4534. more fair on loaded Tor servers, and it might resolve our Windows
  4535. crash bug. It might also slow things down.
  4536. - Our TLS handshakes were generating a single public/private
  4537. keypair for the TLS context, rather than making a new one for
  4538. each new connections. Oops. (But we were still rotating them
  4539. periodically, so it's not so bad.)
  4540. - When we were cannibalizing a circuit with a particular exit
  4541. node in mind, we weren't checking to see if that exit node was
  4542. already present earlier in the circuit. Oops.
  4543. - When a Tor server's IP changes (e.g. from a dyndns address),
  4544. upload a new descriptor so clients will learn too.
  4545. - Really busy servers were keeping enough circuits open on stable
  4546. connections that they were wrapping around the circuit_id
  4547. space. (It's only two bytes.) This exposed a bug where we would
  4548. feel free to reuse a circuit_id even if it still exists but has
  4549. been marked for close. Try to fix this bug. Some bug remains.
  4550. - If we would close a stream early (e.g. it asks for a .exit that
  4551. we know would refuse it) but the LeaveStreamsUnattached config
  4552. option is set by the controller, then don't close it.
  4553. o Bugfixes on 0.1.1.8-alpha:
  4554. - Fix a big pile of memory leaks, some of them serious.
  4555. - Do not try to download a routerdesc if we would immediately reject
  4556. it as obsolete.
  4557. - Resume inserting a newline between all router descriptors when
  4558. generating (old style) signed directories, since our spec says
  4559. we do.
  4560. - When providing content-type application/octet-stream for
  4561. server descriptors using .z, we were leaving out the
  4562. content-encoding header. Oops. (Everything tolerated this just
  4563. fine, but that doesn't mean we need to be part of the problem.)
  4564. - Fix a potential seg fault in getconf and getinfo using version 1
  4565. of the controller protocol.
  4566. - Avoid crash: do not check whether DirPort is reachable when we
  4567. are suppressing it because of hibernation.
  4568. - Make --hash-password not crash on exit.
  4569. Changes in version 0.1.1.8-alpha - 2005-10-07
  4570. o New features (major):
  4571. - Clients don't download or use the directory anymore. Now they
  4572. download and use network-statuses from the trusted dirservers,
  4573. and fetch individual server descriptors as needed from mirrors.
  4574. See dir-spec.txt for all the gory details.
  4575. - Be more conservative about whether to advertise our DirPort.
  4576. The main change is to not advertise if we're running at capacity
  4577. and either a) we could hibernate or b) our capacity is low and
  4578. we're using a default DirPort.
  4579. - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
  4580. o New features (minor):
  4581. - Try to be smart about when to retry network-status and
  4582. server-descriptor fetches. Still needs some tuning.
  4583. - Stop parsing, storing, or using running-routers output (but
  4584. mirrors still cache and serve it).
  4585. - Consider a threshold of versioning dirservers (dirservers who have
  4586. an opinion about which Tor versions are still recommended) before
  4587. deciding whether to warn the user that he's obsolete.
  4588. - Dirservers can now reject/invalidate by key and IP, with the
  4589. config options "AuthDirInvalid" and "AuthDirReject". This is
  4590. useful since currently we automatically list servers as running
  4591. and usable even if we know they're jerks.
  4592. - Provide dire warnings to any users who set DirServer; move it out
  4593. of torrc.sample and into torrc.complete.
  4594. - Add MyFamily to torrc.sample in the server section.
  4595. - Add nicknames to the DirServer line, so we can refer to them
  4596. without requiring all our users to memorize their IP addresses.
  4597. - When we get an EOF or a timeout on a directory connection, note
  4598. how many bytes of serverdesc we are dropping. This will help
  4599. us determine whether it is smart to parse incomplete serverdesc
  4600. responses.
  4601. - Add a new function to "change pseudonyms" -- that is, to stop
  4602. using any currently-dirty circuits for new streams, so we don't
  4603. link new actions to old actions. Currently it's only called on
  4604. HUP (or SIGNAL RELOAD).
  4605. - On sighup, if UseHelperNodes changed to 1, use new circuits.
  4606. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  4607. OpenSSL. Also, reseed our entropy every hour, not just at
  4608. startup. And entropy in 512-bit chunks, not 160-bit chunks.
  4609. o Fixes on 0.1.1.7-alpha:
  4610. - Nobody ever implemented EVENT_ADDRMAP for control protocol
  4611. version 0, so don't let version 0 controllers ask for it.
  4612. - If you requested something with too many newlines via the
  4613. v1 controller protocol, you could crash tor.
  4614. - Fix a number of memory leaks, including some pretty serious ones.
  4615. - Re-enable DirPort testing again, so Tor servers will be willing
  4616. to advertise their DirPort if it's reachable.
  4617. - On TLS handshake, only check the other router's nickname against
  4618. its expected nickname if is_named is set.
  4619. o Fixes forward-ported from 0.1.0.15:
  4620. - Don't crash when we don't have any spare file descriptors and we
  4621. try to spawn a dns or cpu worker.
  4622. - Make the numbers in read-history and write-history into uint64s,
  4623. so they don't overflow and publish negatives in the descriptor.
  4624. o Fixes on 0.1.0.x:
  4625. - For the OS X package's modified privoxy config file, comment
  4626. out the "logfile" line so we don't log everything passed
  4627. through privoxy.
  4628. - We were whining about using socks4 or socks5-with-local-lookup
  4629. even when it's an IP in the "virtual" range we designed exactly
  4630. for this case.
  4631. - We were leaking some memory every time the client changes IPs.
  4632. - Never call free() on tor_malloc()d memory. This will help us
  4633. use dmalloc to detect memory leaks.
  4634. - Check for named servers when looking them up by nickname;
  4635. warn when we'recalling a non-named server by its nickname;
  4636. don't warn twice about the same name.
  4637. - Try to list MyFamily elements by key, not by nickname, and warn
  4638. if we've not heard of the server.
  4639. - Make windows platform detection (uname equivalent) smarter.
  4640. - It turns out sparc64 doesn't like unaligned access either.
  4641. Changes in version 0.1.0.15 - 2005-09-23
  4642. o Bugfixes on 0.1.0.x:
  4643. - Reject ports 465 and 587 (spam targets) in default exit policy.
  4644. - Don't crash when we don't have any spare file descriptors and we
  4645. try to spawn a dns or cpu worker.
  4646. - Get rid of IgnoreVersion undocumented config option, and make us
  4647. only warn, never exit, when we're running an obsolete version.
  4648. - Don't try to print a null string when your server finds itself to
  4649. be unreachable and the Address config option is empty.
  4650. - Make the numbers in read-history and write-history into uint64s,
  4651. so they don't overflow and publish negatives in the descriptor.
  4652. - Fix a minor memory leak in smartlist_string_remove().
  4653. - We were only allowing ourselves to upload a server descriptor at
  4654. most every 20 minutes, even if it changed earlier than that.
  4655. - Clean up log entries that pointed to old URLs.
  4656. Changes in version 0.1.1.7-alpha - 2005-09-14
  4657. o Fixes on 0.1.1.6-alpha:
  4658. - Exit servers were crashing when people asked them to make a
  4659. connection to an address not in their exit policy.
  4660. - Looking up a non-existent stream for a v1 control connection would
  4661. cause a segfault.
  4662. - Fix a seg fault if we ask a dirserver for a descriptor by
  4663. fingerprint but he doesn't know about him.
  4664. - SETCONF was appending items to linelists, not clearing them.
  4665. - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
  4666. out and refuse the setconf if it would fail.
  4667. - Downgrade the dirserver log messages when whining about
  4668. unreachability.
  4669. o New features:
  4670. - Add Peter Palfrader's check-tor script to tor/contrib/
  4671. It lets you easily check whether a given server (referenced by
  4672. nickname) is reachable by you.
  4673. - Numerous changes to move towards client-side v2 directories. Not
  4674. enabled yet.
  4675. o Fixes on 0.1.0.x:
  4676. - If the user gave tor an odd number of command-line arguments,
  4677. we were silently ignoring the last one. Now we complain and fail.
  4678. [This wins the oldest-bug prize -- this bug has been present since
  4679. November 2002, as released in Tor 0.0.0.]
  4680. - Do not use unaligned memory access on alpha, mips, or mipsel.
  4681. It *works*, but is very slow, so we treat them as if it doesn't.
  4682. - Retry directory requests if we fail to get an answer we like
  4683. from a given dirserver (we were retrying before, but only if
  4684. we fail to connect).
  4685. - When writing the RecommendedVersions line, sort them first.
  4686. - When the client asked for a rendezvous port that the hidden
  4687. service didn't want to provide, we were sending an IP address
  4688. back along with the end cell. Fortunately, it was zero. But stop
  4689. that anyway.
  4690. - Correct "your server is reachable" log entries to indicate that
  4691. it was self-testing that told us so.
  4692. Changes in version 0.1.1.6-alpha - 2005-09-09
  4693. o Fixes on 0.1.1.5-alpha:
  4694. - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
  4695. - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
  4696. - Fix bug with tor_memmem finding a match at the end of the string.
  4697. - Make unit tests run without segfaulting.
  4698. - Resolve some solaris x86 compile warnings.
  4699. - Handle duplicate lines in approved-routers files without warning.
  4700. - Fix bug where as soon as a server refused any requests due to his
  4701. exit policy (e.g. when we ask for localhost and he tells us that's
  4702. 127.0.0.1 and he won't do it), we decided he wasn't obeying his
  4703. exit policy using him for any exits.
  4704. - Only do openssl hardware accelerator stuff if openssl version is
  4705. at least 0.9.7.
  4706. o New controller features/fixes:
  4707. - Add a "RESETCONF" command so you can set config options like
  4708. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  4709. a config option in the torrc with no value, then it clears it
  4710. entirely (rather than setting it to its default).
  4711. - Add a "GETINFO config-file" to tell us where torrc is.
  4712. - Avoid sending blank lines when GETINFO replies should be empty.
  4713. - Add a QUIT command for the controller (for using it manually).
  4714. - Fix a bug in SAVECONF that was adding default dirservers and
  4715. other redundant entries to the torrc file.
  4716. o Start on the new directory design:
  4717. - Generate, publish, cache, serve new network-status format.
  4718. - Publish individual descriptors (by fingerprint, by "all", and by
  4719. "tell me yours").
  4720. - Publish client and server recommended versions separately.
  4721. - Allow tor_gzip_uncompress() to handle multiple concatenated
  4722. compressed strings. Serve compressed groups of router
  4723. descriptors. The compression logic here could be more
  4724. memory-efficient.
  4725. - Distinguish v1 authorities (all currently trusted directories)
  4726. from v2 authorities (all trusted directories).
  4727. - Change DirServers config line to note which dirs are v1 authorities.
  4728. - Add configuration option "V1AuthoritativeDirectory 1" which
  4729. moria1, moria2, and tor26 should set.
  4730. - Remove option when getting directory cache to see whether they
  4731. support running-routers; they all do now. Replace it with one
  4732. to see whether caches support v2 stuff.
  4733. o New features:
  4734. - Dirservers now do their own external reachability testing of each
  4735. Tor server, and only list them as running if they've been found to
  4736. be reachable. We also send back warnings to the server's logs if
  4737. it uploads a descriptor that we already believe is unreachable.
  4738. - Implement exit enclaves: if we know an IP address for the
  4739. destination, and there's a running Tor server at that address
  4740. which allows exit to the destination, then extend the circuit to
  4741. that exit first. This provides end-to-end encryption and end-to-end
  4742. authentication. Also, if the user wants a .exit address or enclave,
  4743. use 4 hops rather than 3, and cannibalize a general circ for it
  4744. if you can.
  4745. - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
  4746. controller. Also, rotate dns and cpu workers if the controller
  4747. changes options that will affect them; and initialize the dns
  4748. worker cache tree whether or not we start out as a server.
  4749. - Only upload a new server descriptor when options change, 18
  4750. hours have passed, uptime is reset, or bandwidth changes a lot.
  4751. - Check [X-]Forwarded-For headers in HTTP requests when generating
  4752. log messages. This lets people run dirservers (and caches) behind
  4753. Apache but still know which IP addresses are causing warnings.
  4754. o Config option changes:
  4755. - Replace (Fascist)Firewall* config options with a new
  4756. ReachableAddresses option that understands address policies.
  4757. For example, "ReachableAddresses *:80,*:443"
  4758. - Get rid of IgnoreVersion undocumented config option, and make us
  4759. only warn, never exit, when we're running an obsolete version.
  4760. - Make MonthlyAccountingStart config option truly obsolete now.
  4761. o Fixes on 0.1.0.x:
  4762. - Reject ports 465 and 587 in the default exit policy, since
  4763. people have started using them for spam too.
  4764. - It turns out we couldn't bootstrap a network since we added
  4765. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  4766. has never gone down. Add an AssumeReachable config option to let
  4767. servers and dirservers bootstrap. When we're trying to build a
  4768. high-uptime or high-bandwidth circuit but there aren't enough
  4769. suitable servers, try being less picky rather than simply failing.
  4770. - Our logic to decide if the OR we connected to was the right guy
  4771. was brittle and maybe open to a mitm for unverified routers.
  4772. - We weren't cannibalizing circuits correctly for
  4773. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  4774. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  4775. build those from scratch. This should make hidden services faster.
  4776. - Predict required circuits better, with an eye toward making hidden
  4777. services faster on the service end.
  4778. - Retry streams if the exit node sends back a 'misc' failure. This
  4779. should result in fewer random failures. Also, after failing
  4780. from resolve failed or misc, reset the num failures, so we give
  4781. it a fair shake next time we try.
  4782. - Clean up the rendezvous warn log msgs, and downgrade some to info.
  4783. - Reduce severity on logs about dns worker spawning and culling.
  4784. - When we're shutting down and we do something like try to post a
  4785. server descriptor or rendezvous descriptor, don't complain that
  4786. we seem to be unreachable. Of course we are, we're shutting down.
  4787. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  4788. We don't use them yet, but maybe one day our DNS resolver will be
  4789. able to discover them.
  4790. - Make ContactInfo mandatory for authoritative directory servers.
  4791. - Require server descriptors to list IPv4 addresses -- hostnames
  4792. are no longer allowed. This also fixes some potential security
  4793. problems with people providing hostnames as their address and then
  4794. preferentially resolving them to partition users.
  4795. - Change log line for unreachability to explicitly suggest /etc/hosts
  4796. as the culprit. Also make it clearer what IP address and ports we're
  4797. testing for reachability.
  4798. - Put quotes around user-supplied strings when logging so users are
  4799. more likely to realize if they add bad characters (like quotes)
  4800. to the torrc.
  4801. - Let auth dir servers start without specifying an Address config
  4802. option.
  4803. - Make unit tests (and other invocations that aren't the real Tor)
  4804. run without launching listeners, creating subdirectories, and so on.
  4805. Changes in version 0.1.1.5-alpha - 2005-08-08
  4806. o Bugfixes included in 0.1.0.14.
  4807. o Bugfixes on 0.1.0.x:
  4808. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  4809. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  4810. it would silently using ignore the 6668.
  4811. Changes in version 0.1.0.14 - 2005-08-08
  4812. o Bugfixes on 0.1.0.x:
  4813. - Fix the other half of the bug with crypto handshakes
  4814. (CVE-2005-2643).
  4815. - Fix an assert trigger if you send a 'signal term' via the
  4816. controller when it's listening for 'event info' messages.
  4817. Changes in version 0.1.1.4-alpha - 2005-08-04
  4818. o Bugfixes included in 0.1.0.13.
  4819. o Features:
  4820. - Improve tor_gettimeofday() granularity on windows.
  4821. - Make clients regenerate their keys when their IP address changes.
  4822. - Implement some more GETINFO goodness: expose helper nodes, config
  4823. options, getinfo keys.
  4824. Changes in version 0.1.0.13 - 2005-08-04
  4825. o Bugfixes on 0.1.0.x:
  4826. - Fix a critical bug in the security of our crypto handshakes.
  4827. - Fix a size_t underflow in smartlist_join_strings2() that made
  4828. it do bad things when you hand it an empty smartlist.
  4829. - Fix Windows installer to ship Tor license (thanks to Aphex for
  4830. pointing out this oversight) and put a link to the doc directory
  4831. in the start menu.
  4832. - Explicitly set no-unaligned-access for sparc: it turns out the
  4833. new gcc's let you compile broken code, but that doesn't make it
  4834. not-broken.
  4835. Changes in version 0.1.1.3-alpha - 2005-07-23
  4836. o Bugfixes on 0.1.1.2-alpha:
  4837. - Fix a bug in handling the controller's "post descriptor"
  4838. function.
  4839. - Fix several bugs in handling the controller's "extend circuit"
  4840. function.
  4841. - Fix a bug in handling the controller's "stream status" event.
  4842. - Fix an assert failure if we have a controller listening for
  4843. circuit events and we go offline.
  4844. - Re-allow hidden service descriptors to publish 0 intro points.
  4845. - Fix a crash when generating your hidden service descriptor if
  4846. you don't have enough intro points already.
  4847. o New features on 0.1.1.2-alpha:
  4848. - New controller function "getinfo accounting", to ask how
  4849. many bytes we've used in this time period.
  4850. - Experimental support for helper nodes: a lot of the risk from
  4851. a small static adversary comes because users pick new random
  4852. nodes every time they rebuild a circuit. Now users will try to
  4853. stick to the same small set of entry nodes if they can. Not
  4854. enabled by default yet.
  4855. o Bugfixes on 0.1.0.12:
  4856. - If you're an auth dir server, always publish your dirport,
  4857. even if you haven't yet found yourself to be reachable.
  4858. - Fix a size_t underflow in smartlist_join_strings2() that made
  4859. it do bad things when you hand it an empty smartlist.
  4860. Changes in version 0.1.0.12 - 2005-07-18
  4861. o New directory servers:
  4862. - tor26 has changed IP address.
  4863. o Bugfixes on 0.1.0.x:
  4864. - Fix a possible double-free in tor_gzip_uncompress().
  4865. - When --disable-threads is set, do not search for or link against
  4866. pthreads libraries.
  4867. - Don't trigger an assert if an authoritative directory server
  4868. claims its dirport is 0.
  4869. - Fix bug with removing Tor as an NT service: some people were
  4870. getting "The service did not return an error." Thanks to Matt
  4871. Edman for the fix.
  4872. Changes in version 0.1.1.2-alpha - 2005-07-15
  4873. o New directory servers:
  4874. - tor26 has changed IP address.
  4875. o Bugfixes on 0.1.0.x, crashes/leaks:
  4876. - Port the servers-not-obeying-their-exit-policies fix from
  4877. 0.1.0.11.
  4878. - Fix an fd leak in start_daemon().
  4879. - On Windows, you can't always reopen a port right after you've
  4880. closed it. So change retry_listeners() to only close and re-open
  4881. ports that have changed.
  4882. - Fix a possible double-free in tor_gzip_uncompress().
  4883. o Bugfixes on 0.1.0.x, usability:
  4884. - When tor_socketpair() fails in Windows, give a reasonable
  4885. Windows-style errno back.
  4886. - Let people type "tor --install" as well as "tor -install" when
  4887. they
  4888. want to make it an NT service.
  4889. - NT service patch from Matt Edman to improve error messages.
  4890. - When the controller asks for a config option with an abbreviated
  4891. name, give the full name in our response.
  4892. - Correct the man page entry on TrackHostExitsExpire.
  4893. - Looks like we were never delivering deflated (i.e. compressed)
  4894. running-routers lists, even when asked. Oops.
  4895. - When --disable-threads is set, do not search for or link against
  4896. pthreads libraries.
  4897. o Bugfixes on 0.1.1.x:
  4898. - Fix a seg fault with autodetecting which controller version is
  4899. being used.
  4900. o Features:
  4901. - New hidden service descriptor format: put a version in it, and
  4902. let people specify introduction/rendezvous points that aren't
  4903. in "the directory" (which is subjective anyway).
  4904. - Allow the DEBUG controller event to work again. Mark certain log
  4905. entries as "don't tell this to controllers", so we avoid cycles.
  4906. Changes in version 0.1.0.11 - 2005-06-30
  4907. o Bugfixes on 0.1.0.x:
  4908. - Fix major security bug: servers were disregarding their
  4909. exit policies if clients behaved unexpectedly.
  4910. - Make OS X init script check for missing argument, so we don't
  4911. confuse users who invoke it incorrectly.
  4912. - Fix a seg fault in "tor --hash-password foo".
  4913. - The MAPADDRESS control command was broken.
  4914. Changes in version 0.1.1.1-alpha - 2005-06-29
  4915. o Bugfixes:
  4916. - Make OS X init script check for missing argument, so we don't
  4917. confuse users who invoke it incorrectly.
  4918. - Fix a seg fault in "tor --hash-password foo".
  4919. - Fix a possible way to DoS dirservers.
  4920. - When we complain that your exit policy implicitly allows local or
  4921. private address spaces, name them explicitly so operators can
  4922. fix it.
  4923. - Make the log message less scary when all the dirservers are
  4924. temporarily unreachable.
  4925. - We were printing the number of idle dns workers incorrectly when
  4926. culling them.
  4927. o Features:
  4928. - Revised controller protocol (version 1) that uses ascii rather
  4929. than binary. Add supporting libraries in python and java so you
  4930. can use the controller from your applications without caring how
  4931. our protocol works.
  4932. - Spiffy new support for crypto hardware accelerators. Can somebody
  4933. test this?
  4934. Changes in version 0.0.9.10 - 2005-06-16
  4935. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  4936. - Refuse relay cells that claim to have a length larger than the
  4937. maximum allowed. This prevents a potential attack that could read
  4938. arbitrary memory (e.g. keys) from an exit server's process
  4939. (CVE-2005-2050).
  4940. Changes in version 0.1.0.10 - 2005-06-14
  4941. o Allow a few EINVALs from libevent before dying. Warn on kqueue with
  4942. libevent before 1.1a.
  4943. Changes in version 0.1.0.9-rc - 2005-06-09
  4944. o Bugfixes:
  4945. - Reset buf->highwater every time buf_shrink() is called, not just on
  4946. a successful shrink. This was causing significant memory bloat.
  4947. - Fix buffer overflow when checking hashed passwords.
  4948. - Security fix: if seeding the RNG on Win32 fails, quit.
  4949. - Allow seeding the RNG on Win32 even when you're not running as
  4950. Administrator.
  4951. - Disable threading on Solaris too. Something is wonky with it,
  4952. cpuworkers, and reentrant libs.
  4953. - Reenable the part of the code that tries to flush as soon as an
  4954. OR outbuf has a full TLS record available. Perhaps this will make
  4955. OR outbufs not grow as huge except in rare cases, thus saving lots
  4956. of CPU time plus memory.
  4957. - Reject malformed .onion addresses rather then passing them on as
  4958. normal web requests.
  4959. - Adapt patch from Adam Langley: fix possible memory leak in
  4960. tor_lookup_hostname().
  4961. - Initialize libevent later in the startup process, so the logs are
  4962. already established by the time we start logging libevent warns.
  4963. - Use correct errno on win32 if libevent fails.
  4964. - Check and warn about known-bad/slow libevent versions.
  4965. - Pay more attention to the ClientOnly config option.
  4966. - Have torctl.in/tor.sh.in check for location of su binary (needed
  4967. on FreeBSD)
  4968. - Correct/add man page entries for LongLivedPorts, ExitPolicy,
  4969. KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
  4970. HttpProxyAuthenticator
  4971. - Stop warning about sigpipes in the logs. We're going to
  4972. pretend that getting these occassionally is normal and fine.
  4973. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
  4974. certain
  4975. installer screens; and don't put stuff into StartupItems unless
  4976. the user asks you to.
  4977. - Require servers that use the default dirservers to have public IP
  4978. addresses. We have too many servers that are configured with private
  4979. IPs and their admins never notice the log entries complaining that
  4980. their descriptors are being rejected.
  4981. - Add OSX uninstall instructions. An actual uninstall script will
  4982. come later.
  4983. Changes in version 0.1.0.8-rc - 2005-05-23
  4984. o Bugfixes:
  4985. - It turns out that kqueue on OS X 10.3.9 was causing kernel
  4986. panics. Disable kqueue on all OS X Tors.
  4987. - Fix RPM: remove duplicate line accidentally added to the rpm
  4988. spec file.
  4989. - Disable threads on openbsd too, since its gethostaddr is not
  4990. reentrant either.
  4991. - Tolerate libevent 0.8 since it still works, even though it's
  4992. ancient.
  4993. - Enable building on Red Hat 9.0 again.
  4994. - Allow the middle hop of the testing circuit to be running any
  4995. version, now that most of them have the bugfix to let them connect
  4996. to unknown servers. This will allow reachability testing to work
  4997. even when 0.0.9.7-0.0.9.9 become obsolete.
  4998. - Handle relay cells with rh.length too large. This prevents
  4999. a potential attack that could read arbitrary memory (maybe even
  5000. keys) from the exit server's process.
  5001. - We screwed up the dirport reachability testing when we don't yet
  5002. have a cached version of the directory. Hopefully now fixed.
  5003. - Clean up router_load_single_router() (used by the controller),
  5004. so it doesn't seg fault on error.
  5005. - Fix a minor memory leak when somebody establishes an introduction
  5006. point at your Tor server.
  5007. - If a socks connection ends because read fails, don't warn that
  5008. you're not sending a socks reply back.
  5009. o Features:
  5010. - Add HttpProxyAuthenticator config option too, that works like
  5011. the HttpsProxyAuthenticator config option.
  5012. - Encode hashed controller passwords in hex instead of base64,
  5013. to make it easier to write controllers.
  5014. Changes in version 0.1.0.7-rc - 2005-05-17
  5015. o Bugfixes:
  5016. - Fix a bug in the OS X package installer that prevented it from
  5017. installing on Tiger.
  5018. - Fix a script bug in the OS X package installer that made it
  5019. complain during installation.
  5020. - Find libevent even if it's hiding in /usr/local/ and your
  5021. CFLAGS and LDFLAGS don't tell you to look there.
  5022. - Be able to link with libevent as a shared library (the default
  5023. after 1.0d), even if it's hiding in /usr/local/lib and even
  5024. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  5025. assuming you're running gcc. Otherwise fail and give a useful
  5026. error message.
  5027. - Fix a bug in the RPM packager: set home directory for _tor to
  5028. something more reasonable when first installing.
  5029. - Free a minor amount of memory that is still reachable on exit.
  5030. Changes in version 0.1.0.6-rc - 2005-05-14
  5031. o Bugfixes:
  5032. - Implement --disable-threads configure option. Disable threads on
  5033. netbsd by default, because it appears to have no reentrant resolver
  5034. functions.
  5035. - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
  5036. release (1.1) detects and disables kqueue if it's broken.
  5037. - Append default exit policy before checking for implicit internal
  5038. addresses. Now we don't log a bunch of complaints on startup
  5039. when using the default exit policy.
  5040. - Some people were putting "Address " in their torrc, and they had
  5041. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  5042. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  5043. LOCALSTATEDIR/tor instead.
  5044. - Fix fragmented-message bug in TorControl.py.
  5045. - Resolve a minor bug which would prevent unreachable dirports
  5046. from getting suppressed in the published descriptor.
  5047. - When the controller gave us a new descriptor, we weren't resolving
  5048. it immediately, so Tor would think its address was 0.0.0.0 until
  5049. we fetched a new directory.
  5050. - Fix an uppercase/lowercase case error in suppressing a bogus
  5051. libevent warning on some Linuxes.
  5052. o Features:
  5053. - Begin scrubbing sensitive strings from logs by default. Turn off
  5054. the config option SafeLogging if you need to do debugging.
  5055. - Switch to a new buffer management algorithm, which tries to avoid
  5056. reallocing and copying quite as much. In first tests it looks like
  5057. it uses *more* memory on average, but less cpu.
  5058. - First cut at support for "create-fast" cells. Clients can use
  5059. these when extending to their first hop, since the TLS already
  5060. provides forward secrecy and authentication. Not enabled on
  5061. clients yet.
  5062. - When dirservers refuse a router descriptor, we now log its
  5063. contactinfo, platform, and the poster's IP address.
  5064. - Call tor_free_all instead of connections_free_all after forking, to
  5065. save memory on systems that need to fork.
  5066. - Whine at you if you're a server and you don't set your contactinfo.
  5067. - Implement --verify-config command-line option to check if your torrc
  5068. is valid without actually launching Tor.
  5069. - Rewrite address "serifos.exit" to "localhost.serifos.exit"
  5070. rather than just rejecting it.
  5071. Changes in version 0.1.0.5-rc - 2005-04-27
  5072. o Bugfixes:
  5073. - Stop trying to print a null pointer if an OR conn fails because
  5074. we didn't like its cert.
  5075. o Features:
  5076. - Switch our internal buffers implementation to use a ring buffer,
  5077. to hopefully improve performance for fast servers a lot.
  5078. - Add HttpsProxyAuthenticator support (basic auth only), based
  5079. on patch from Adam Langley.
  5080. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  5081. the fast servers that have been joining lately.
  5082. - Give hidden service accesses extra time on the first attempt,
  5083. since 60 seconds is often only barely enough. This might improve
  5084. robustness more.
  5085. - Improve performance for dirservers: stop re-parsing the whole
  5086. directory every time you regenerate it.
  5087. - Add more debugging info to help us find the weird dns freebsd
  5088. pthreads bug; cleaner debug messages to help track future issues.
  5089. Changes in version 0.0.9.9 - 2005-04-23
  5090. o Bugfixes on 0.0.9.x:
  5091. - If unofficial Tor clients connect and send weird TLS certs, our
  5092. Tor server triggers an assert. This release contains a minimal
  5093. backport from the broader fix that we put into 0.1.0.4-rc.
  5094. Changes in version 0.1.0.4-rc - 2005-04-23
  5095. o Bugfixes:
  5096. - If unofficial Tor clients connect and send weird TLS certs, our
  5097. Tor server triggers an assert. Stop asserting, and start handling
  5098. TLS errors better in other situations too.
  5099. - When the controller asks us to tell it about all the debug-level
  5100. logs, it turns out we were generating debug-level logs while
  5101. telling it about them, which turns into a bad loop. Now keep
  5102. track of whether you're sending a debug log to the controller,
  5103. and don't log when you are.
  5104. - Fix the "postdescriptor" feature of the controller interface: on
  5105. non-complete success, only say "done" once.
  5106. o Features:
  5107. - Clients are now willing to load balance over up to 2mB, not 1mB,
  5108. of advertised bandwidth capacity.
  5109. - Add a NoPublish config option, so you can be a server (e.g. for
  5110. testing running Tor servers in other Tor networks) without
  5111. publishing your descriptor to the primary dirservers.
  5112. Changes in version 0.1.0.3-rc - 2005-04-08
  5113. o Improvements on 0.1.0.2-rc:
  5114. - Client now retries when streams end early for 'hibernating' or
  5115. 'resource limit' reasons, rather than failing them.
  5116. - More automated handling for dirserver operators:
  5117. - Automatically approve nodes running 0.1.0.2-rc or later,
  5118. now that the the reachability detection stuff is working.
  5119. - Now we allow two unverified servers with the same nickname
  5120. but different keys. But if a nickname is verified, only that
  5121. nickname+key are allowed.
  5122. - If you're an authdirserver connecting to an address:port,
  5123. and it's not the OR you were expecting, forget about that
  5124. descriptor. If he *was* the one you were expecting, then forget
  5125. about all other descriptors for that address:port.
  5126. - Allow servers to publish descriptors from 12 hours in the future.
  5127. Corollary: only whine about clock skew from the dirserver if
  5128. he's a trusted dirserver (since now even verified servers could
  5129. have quite wrong clocks).
  5130. - Adjust maximum skew and age for rendezvous descriptors: let skew
  5131. be 48 hours rather than 90 minutes.
  5132. - Efficiency improvements:
  5133. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  5134. it much faster to look up a circuit for each relay cell.
  5135. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  5136. since they're eating our cpu on exit nodes.
  5137. - Stop wasting time doing a case insensitive comparison for every
  5138. dns name every time we do any lookup. Canonicalize the names to
  5139. lowercase and be done with it.
  5140. - Start sending 'truncated' cells back rather than destroy cells,
  5141. if the circuit closes in front of you. This means we won't have
  5142. to abandon partially built circuits.
  5143. - Only warn once per nickname from add_nickname_list_to_smartlist
  5144. per failure, so an entrynode or exitnode choice that's down won't
  5145. yell so much.
  5146. - Put a note in the torrc about abuse potential with the default
  5147. exit policy.
  5148. - Revise control spec and implementation to allow all log messages to
  5149. be sent to controller with their severities intact (suggested by
  5150. Matt Edman). Update TorControl to handle new log event types.
  5151. - Provide better explanation messages when controller's POSTDESCRIPTOR
  5152. fails.
  5153. - Stop putting nodename in the Platform string in server descriptors.
  5154. It doesn't actually help, and it is confusing/upsetting some people.
  5155. o Bugfixes on 0.1.0.2-rc:
  5156. - We were printing the host mask wrong in exit policies in server
  5157. descriptors. This isn't a critical bug though, since we were still
  5158. obeying the exit policy internally.
  5159. - Fix Tor when compiled with libevent but without pthreads: move
  5160. connection_unregister() from _connection_free() to
  5161. connection_free().
  5162. - Fix an assert trigger (already fixed in 0.0.9.x): when we have
  5163. the rare mysterious case of accepting a conn on 0.0.0.0:0, then
  5164. when we look through the connection array, we'll find any of the
  5165. cpu/dnsworkers. This is no good.
  5166. o Bugfixes on 0.0.9.8:
  5167. - Fix possible bug on threading platforms (e.g. win32) which was
  5168. leaking a file descriptor whenever a cpuworker or dnsworker died.
  5169. - When using preferred entry or exit nodes, ignore whether the
  5170. circuit wants uptime or capacity. They asked for the nodes, they
  5171. get the nodes.
  5172. - chdir() to your datadirectory at the *end* of the daemonize process,
  5173. not the beginning. This was a problem because the first time you
  5174. run tor, if your datadir isn't there, and you have runasdaemon set
  5175. to 1, it will try to chdir to it before it tries to create it. Oops.
  5176. - Handle changed router status correctly when dirserver reloads
  5177. fingerprint file. We used to be dropping all unverified descriptors
  5178. right then. The bug was hidden because we would immediately
  5179. fetch a directory from another dirserver, which would include the
  5180. descriptors we just dropped.
  5181. - When we're connecting to an OR and he's got a different nickname/key
  5182. than we were expecting, only complain loudly if we're an OP or a
  5183. dirserver. Complaining loudly to the OR admins just confuses them.
  5184. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  5185. artificially capped at 500kB.
  5186. Changes in version 0.0.9.8 - 2005-04-07
  5187. o Bugfixes on 0.0.9.x:
  5188. - We have a bug that I haven't found yet. Sometimes, very rarely,
  5189. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  5190. thinks of itself as idle. This meant that no new circuits ever got
  5191. established. Here's a workaround to kill any cpuworker that's been
  5192. busy for more than 100 seconds.
  5193. Changes in version 0.1.0.2-rc - 2005-04-01
  5194. o Bugfixes on 0.1.0.1-rc:
  5195. - Fixes on reachability detection:
  5196. - Don't check for reachability while hibernating.
  5197. - If ORPort is reachable but DirPort isn't, still publish the
  5198. descriptor, but zero out DirPort until it's found reachable.
  5199. - When building testing circs for ORPort testing, use only
  5200. high-bandwidth nodes, so fewer circuits fail.
  5201. - Complain about unreachable ORPort separately from unreachable
  5202. DirPort, so the user knows what's going on.
  5203. - Make sure we only conclude ORPort reachability if we didn't
  5204. initiate the conn. Otherwise we could falsely conclude that
  5205. we're reachable just because we connected to the guy earlier
  5206. and he used that same pipe to extend to us.
  5207. - Authdirservers shouldn't do ORPort reachability detection,
  5208. since they're in clique mode, so it will be rare to find a
  5209. server not already connected to them.
  5210. - When building testing circuits, always pick middle hops running
  5211. Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
  5212. bug. (This is a kludge; it will go away when 0.0.9.x becomes
  5213. obsolete.)
  5214. - When we decide we're reachable, actually publish our descriptor
  5215. right then.
  5216. - Fix bug in redirectstream in the controller.
  5217. - Fix the state descriptor strings so logs don't claim edge streams
  5218. are in a different state than they actually are.
  5219. - Use recent libevent features when possible (this only really affects
  5220. win32 and osx right now, because the new libevent with these
  5221. features hasn't been released yet). Add code to suppress spurious
  5222. libevent log msgs.
  5223. - Prevent possible segfault in connection_close_unattached_ap().
  5224. - Fix newlines on torrc in win32.
  5225. - Improve error msgs when tor-resolve fails.
  5226. o Improvements on 0.0.9.x:
  5227. - New experimental script tor/contrib/ExerciseServer.py (needs more
  5228. work) that uses the controller interface to build circuits and
  5229. fetch pages over them. This will help us bootstrap servers that
  5230. have lots of capacity but haven't noticed it yet.
  5231. - New experimental script tor/contrib/PathDemo.py (needs more work)
  5232. that uses the controller interface to let you choose whole paths
  5233. via addresses like
  5234. "<hostname>.<path,separated by dots>.<length of path>.path"
  5235. - When we've connected to an OR and handshaked but didn't like
  5236. the result, we were closing the conn without sending destroy
  5237. cells back for pending circuits. Now send those destroys.
  5238. Changes in version 0.0.9.7 - 2005-04-01
  5239. o Bugfixes on 0.0.9.x:
  5240. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  5241. - Compare identity to identity, not to nickname, when extending to
  5242. a router not already in the directory. This was preventing us from
  5243. extending to unknown routers. Oops.
  5244. - Make sure to create OS X Tor user in <500 range, so we aren't
  5245. creating actual system users.
  5246. - Note where connection-that-hasn't-sent-end was marked, and fix
  5247. a few really loud instances of this harmless bug (it's fixed more
  5248. in 0.1.0.x).
  5249. Changes in version 0.1.0.1-rc - 2005-03-28
  5250. o New features:
  5251. - Add reachability testing. Your Tor server will automatically try
  5252. to see if its ORPort and DirPort are reachable from the outside,
  5253. and it won't upload its descriptor until it decides they are.
  5254. - Handle unavailable hidden services better. Handle slow or busy
  5255. hidden services better.
  5256. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  5257. config option.
  5258. - New exit policy: accept most low-numbered ports, rather than
  5259. rejecting most low-numbered ports.
  5260. - More Tor controller support (still experimental). See
  5261. http://tor.eff.org/doc/control-spec.txt for all the new features,
  5262. including signals to emulate unix signals from any platform;
  5263. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  5264. closestream; closecircuit; etc.
  5265. - Make nt services work and start on startup on win32 (based on
  5266. patch by Matt Edman).
  5267. - Add a new AddressMap config directive to rewrite incoming socks
  5268. addresses. This lets you, for example, declare an implicit
  5269. required exit node for certain sites.
  5270. - Add a new TrackHostExits config directive to trigger addressmaps
  5271. for certain incoming socks addresses -- for sites that break when
  5272. your exit keeps changing (based on patch by Mike Perry).
  5273. - Redo the client-side dns cache so it's just an addressmap too.
  5274. - Notice when our IP changes, and reset stats/uptime/reachability.
  5275. - When an application is using socks5, give him the whole variety of
  5276. potential socks5 responses (connect refused, host unreachable, etc),
  5277. rather than just "success" or "failure".
  5278. - A more sane version numbering system. See
  5279. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  5280. - New contributed script "exitlist": a simple python script to
  5281. parse directories and find Tor nodes that exit to listed
  5282. addresses/ports.
  5283. - New contributed script "privoxy-tor-toggle" to toggle whether
  5284. Privoxy uses Tor. Seems to be configured for Debian by default.
  5285. - Report HTTP reasons to client when getting a response from directory
  5286. servers -- so you can actually know what went wrong.
  5287. - New config option MaxAdvertisedBandwidth which lets you advertise
  5288. a low bandwidthrate (to not attract as many circuits) while still
  5289. allowing a higher bandwidthrate in reality.
  5290. o Robustness/stability fixes:
  5291. - Make Tor use Niels Provos's libevent instead of its current
  5292. poll-but-sometimes-select mess. This will let us use faster async
  5293. cores (like epoll, kpoll, and /dev/poll), and hopefully work better
  5294. on Windows too.
  5295. - pthread support now too. This was forced because when we forked,
  5296. we ended up wasting a lot of duplicate ram over time. Also switch
  5297. to foo_r versions of some library calls to allow reentry and
  5298. threadsafeness.
  5299. - Better handling for heterogeneous / unreliable nodes:
  5300. - Annotate circuits w/ whether they aim to contain high uptime nodes
  5301. and/or high capacity nodes. When building circuits, choose
  5302. appropriate nodes.
  5303. - This means that every single node in an intro rend circuit,
  5304. not just the last one, will have a minimum uptime.
  5305. - New config option LongLivedPorts to indicate application streams
  5306. that will want high uptime circuits.
  5307. - Servers reset uptime when a dir fetch entirely fails. This
  5308. hopefully reflects stability of the server's network connectivity.
  5309. - If somebody starts his tor server in Jan 2004 and then fixes his
  5310. clock, don't make his published uptime be a year.
  5311. - Reset published uptime when you wake up from hibernation.
  5312. - Introduce a notion of 'internal' circs, which are chosen without
  5313. regard to the exit policy of the last hop. Intro and rendezvous
  5314. circs must be internal circs, to avoid leaking information. Resolve
  5315. and connect streams can use internal circs if they want.
  5316. - New circuit pooling algorithm: make sure to have enough circs around
  5317. to satisfy any predicted ports, and also make sure to have 2 internal
  5318. circs around if we've required internal circs lately (and with high
  5319. uptime if we've seen that lately too).
  5320. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  5321. which describes how often we retry making new circuits if current
  5322. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  5323. how long we're willing to make use of an already-dirty circuit.
  5324. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  5325. circ as necessary, if there are any completed ones lying around
  5326. when we try to launch one.
  5327. - Make hidden services try to establish a rendezvous for 30 seconds,
  5328. rather than for n (where n=3) attempts to build a circuit.
  5329. - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
  5330. "ShutdownWaitLength".
  5331. - Try to be more zealous about calling connection_edge_end when
  5332. things go bad with edge conns in connection.c.
  5333. - Revise tor-spec to add more/better stream end reasons.
  5334. - Revise all calls to connection_edge_end to avoid sending "misc",
  5335. and to take errno into account where possible.
  5336. o Bug fixes:
  5337. - Fix a race condition that can trigger an assert, when we have a
  5338. pending create cell and an OR connection fails right then.
  5339. - Fix several double-mark-for-close bugs, e.g. where we were finding
  5340. a conn for a cell even if that conn is already marked for close.
  5341. - Make sequence of log messages when starting on win32 with no config
  5342. file more reasonable.
  5343. - When choosing an exit node for a new non-internal circ, don't take
  5344. into account whether it'll be useful for any pending x.onion
  5345. addresses -- it won't.
  5346. - Turn addr_policy_compare from a tristate to a quadstate; this should
  5347. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  5348. for google.com" problem.
  5349. - Make "platform" string in descriptor more accurate for Win32 servers,
  5350. so it's not just "unknown platform".
  5351. - Fix an edge case in parsing config options (thanks weasel).
  5352. If they say "--" on the commandline, it's not an option.
  5353. - Reject odd-looking addresses at the client (e.g. addresses that
  5354. contain a colon), rather than having the server drop them because
  5355. they're malformed.
  5356. - tor-resolve requests were ignoring .exit if there was a working circuit
  5357. they could use instead.
  5358. - REUSEADDR on normal platforms means you can rebind to the port
  5359. right after somebody else has let it go. But REUSEADDR on win32
  5360. means to let you bind to the port _even when somebody else
  5361. already has it bound_! So, don't do that on Win32.
  5362. - Change version parsing logic: a version is "obsolete" if it is not
  5363. recommended and (1) there is a newer recommended version in the
  5364. same series, or (2) there are no recommended versions in the same
  5365. series, but there are some recommended versions in a newer series.
  5366. A version is "new" if it is newer than any recommended version in
  5367. the same series.
  5368. - Stop most cases of hanging up on a socks connection without sending
  5369. the socks reject.
  5370. o Helpful fixes:
  5371. - Require BandwidthRate to be at least 20kB/s for servers.
  5372. - When a dirserver causes you to give a warn, mention which dirserver
  5373. it was.
  5374. - New config option DirAllowPrivateAddresses for authdirservers.
  5375. Now by default they refuse router descriptors that have non-IP or
  5376. private-IP addresses.
  5377. - Stop publishing socksport in the directory, since it's not
  5378. actually meant to be public. For compatibility, publish a 0 there
  5379. for now.
  5380. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  5381. smart" value, that is low for servers and high for clients.
  5382. - If our clock jumps forward by 100 seconds or more, assume something
  5383. has gone wrong with our network and abandon all not-yet-used circs.
  5384. - Warn when exit policy implicitly allows local addresses.
  5385. - If we get an incredibly skewed timestamp from a dirserver mirror
  5386. that isn't a verified OR, don't warn -- it's probably him that's
  5387. wrong.
  5388. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  5389. cookies to disk and doesn't log each web request to disk. (Thanks
  5390. to Brett Carrington for pointing this out.)
  5391. - When a client asks us for a dir mirror and we don't have one,
  5392. launch an attempt to get a fresh one.
  5393. - If we're hibernating and we get a SIGINT, exit immediately.
  5394. - Add --with-dmalloc ./configure option, to track memory leaks.
  5395. - And try to free all memory on closing, so we can detect what
  5396. we're leaking.
  5397. - Cache local dns resolves correctly even when they're .exit
  5398. addresses.
  5399. - Give a better warning when some other server advertises an
  5400. ORPort that is actually an apache running ssl.
  5401. - Add "opt hibernating 1" to server descriptor to make it clearer
  5402. whether the server is hibernating.
  5403. Changes in version 0.0.9.6 - 2005-03-24
  5404. o Bugfixes on 0.0.9.x (crashes and asserts):
  5405. - Add new end stream reasons to maintainance branch. Fix bug where
  5406. reason (8) could trigger an assert. Prevent bug from recurring.
  5407. - Apparently win32 stat wants paths to not end with a slash.
  5408. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  5409. blowing away the circuit that conn->cpath_layer points to, then
  5410. checking to see if the circ is well-formed. Backport check to make
  5411. sure we dont use the cpath on a closed connection.
  5412. - Prevent circuit_resume_edge_reading_helper() from trying to package
  5413. inbufs for marked-for-close streams.
  5414. - Don't crash on hup if your options->address has become unresolvable.
  5415. - Some systems (like OS X) sometimes accept() a connection and tell
  5416. you the remote host is 0.0.0.0:0. If this happens, due to some
  5417. other mis-features, we get confused; so refuse the conn for now.
  5418. o Bugfixes on 0.0.9.x (other):
  5419. - Fix harmless but scary "Unrecognized content encoding" warn message.
  5420. - Add new stream error reason: TORPROTOCOL reason means "you are not
  5421. speaking a version of Tor I understand; say bye-bye to your stream."
  5422. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  5423. into the future, now that we are more tolerant of skew. This
  5424. resolves a bug where a Tor server would refuse to cache a directory
  5425. because all the directories it gets are too far in the future;
  5426. yet the Tor server never logs any complaints about clock skew.
  5427. - Mac packaging magic: make man pages useable, and do not overwrite
  5428. existing torrc files.
  5429. - Make OS X log happily to /var/log/tor/tor.log
  5430. Changes in version 0.0.9.5 - 2005-02-22
  5431. o Bugfixes on 0.0.9.x:
  5432. - Fix an assert race at exit nodes when resolve requests fail.
  5433. - Stop picking unverified dir mirrors--it only leads to misery.
  5434. - Patch from Matt Edman to make NT services work better. Service
  5435. support is still not compiled into the executable by default.
  5436. - Patch from Dmitri Bely so the Tor service runs better under
  5437. the win32 SYSTEM account.
  5438. - Make tor-resolve actually work (?) on Win32.
  5439. - Fix a sign bug when getrlimit claims to have 4+ billion
  5440. file descriptors available.
  5441. - Stop refusing to start when bandwidthburst == bandwidthrate.
  5442. - When create cells have been on the onion queue more than five
  5443. seconds, just send back a destroy and take them off the list.
  5444. Changes in version 0.0.9.4 - 2005-02-03
  5445. o Bugfixes on 0.0.9:
  5446. - Fix an assert bug that took down most of our servers: when
  5447. a server claims to have 1 GB of bandwidthburst, don't
  5448. freak out.
  5449. - Don't crash as badly if we have spawned the max allowed number
  5450. of dnsworkers, or we're out of file descriptors.
  5451. - Block more file-sharing ports in the default exit policy.
  5452. - MaxConn is now automatically set to the hard limit of max
  5453. file descriptors we're allowed (ulimit -n), minus a few for
  5454. logs, etc.
  5455. - Give a clearer message when servers need to raise their
  5456. ulimit -n when they start running out of file descriptors.
  5457. - SGI Compatibility patches from Jan Schaumann.
  5458. - Tolerate a corrupt cached directory better.
  5459. - When a dirserver hasn't approved your server, list which one.
  5460. - Go into soft hibernation after 95% of the bandwidth is used,
  5461. not 99%. This is especially important for daily hibernators who
  5462. have a small accounting max. Hopefully it will result in fewer
  5463. cut connections when the hard hibernation starts.
  5464. - Load-balance better when using servers that claim more than
  5465. 800kB/s of capacity.
  5466. - Make NT services work (experimental, only used if compiled in).
  5467. Changes in version 0.0.9.3 - 2005-01-21
  5468. o Bugfixes on 0.0.9:
  5469. - Backport the cpu use fixes from main branch, so busy servers won't
  5470. need as much processor time.
  5471. - Work better when we go offline and then come back, or when we
  5472. run Tor at boot before the network is up. We do this by
  5473. optimistically trying to fetch a new directory whenever an
  5474. application request comes in and we think we're offline -- the
  5475. human is hopefully a good measure of when the network is back.
  5476. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  5477. long as you keep using them; actually publish hidserv descriptors
  5478. shortly after they change, rather than waiting 20-40 minutes.
  5479. - Enable Mac startup script by default.
  5480. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  5481. - When you update AllowUnverifiedNodes or FirewallPorts via the
  5482. controller's setconf feature, we were always appending, never
  5483. resetting.
  5484. - When you update HiddenServiceDir via setconf, it was screwing up
  5485. the order of reading the lines, making it fail.
  5486. - Do not rewrite a cached directory back to the cache; otherwise we
  5487. will think it is recent and not fetch a newer one on startup.
  5488. - Workaround for webservers that lie about Content-Encoding: Tor
  5489. now tries to autodetect compressed directories and compression
  5490. itself. This lets us Proxypass dir fetches through apache.
  5491. Changes in version 0.0.9.2 - 2005-01-04
  5492. o Bugfixes on 0.0.9 (crashes and asserts):
  5493. - Fix an assert on startup when the disk is full and you're logging
  5494. to a file.
  5495. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  5496. style address, then we'd crash.
  5497. - Fix an assert trigger when the running-routers string we get from
  5498. a dirserver is broken.
  5499. - Make worker threads start and run on win32. Now win32 servers
  5500. may work better.
  5501. - Bandaid (not actually fix, but now it doesn't crash) an assert
  5502. where the dns worker dies mysteriously and the main Tor process
  5503. doesn't remember anything about the address it was resolving.
  5504. o Bugfixes on 0.0.9 (Win32):
  5505. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  5506. name out of the warning/assert messages.
  5507. - Fix a superficial "unhandled error on read" bug on win32.
  5508. - The win32 installer no longer requires a click-through for our
  5509. license, since our Free Software license grants rights but does not
  5510. take any away.
  5511. - Win32: When connecting to a dirserver fails, try another one
  5512. immediately. (This was already working for non-win32 Tors.)
  5513. - Stop trying to parse $HOME on win32 when hunting for default
  5514. DataDirectory.
  5515. - Make tor-resolve.c work on win32 by calling network_init().
  5516. o Bugfixes on 0.0.9 (other):
  5517. - Make 0.0.9.x build on Solaris again.
  5518. - Due to a fencepost error, we were blowing away the \n when reporting
  5519. confvalue items in the controller. So asking for multiple config
  5520. values at once couldn't work.
  5521. - When listing circuits that are pending on an opening OR connection,
  5522. if we're an OR we were listing circuits that *end* at us as
  5523. being pending on every listener, dns/cpu worker, etc. Stop that.
  5524. - Dirservers were failing to create 'running-routers' or 'directory'
  5525. strings if we had more than some threshold of routers. Fix them so
  5526. they can handle any number of routers.
  5527. - Fix a superficial "Duplicate mark for close" bug.
  5528. - Stop checking for clock skew for OR connections, even for servers.
  5529. - Fix a fencepost error that was chopping off the last letter of any
  5530. nickname that is the maximum allowed nickname length.
  5531. - Update URLs in log messages so they point to the new website.
  5532. - Fix a potential problem in mangling server private keys while
  5533. writing to disk (not triggered yet, as far as we know).
  5534. - Include the licenses for other free software we include in Tor,
  5535. now that we're shipping binary distributions more regularly.
  5536. Changes in version 0.0.9.1 - 2004-12-15
  5537. o Bugfixes on 0.0.9:
  5538. - Make hibernation actually work.
  5539. - Make HashedControlPassword config option work.
  5540. - When we're reporting event circuit status to a controller,
  5541. don't use the stream status code.
  5542. Changes in version 0.0.9 - 2004-12-12
  5543. o Cleanups:
  5544. - Clean up manpage and torrc.sample file.
  5545. - Clean up severities and text of log warnings.
  5546. o Mistakes:
  5547. - Make servers trigger an assert when they enter hibernation.
  5548. Changes in version 0.0.9rc7 - 2004-12-08
  5549. o Bugfixes on 0.0.9rc:
  5550. - Fix a stack-trashing crash when an exit node begins hibernating.
  5551. - Avoid looking at unallocated memory while considering which
  5552. ports we need to build circuits to cover.
  5553. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  5554. we shouldn't hold-open-until-flush if the eof arrived first.
  5555. - Fix a bug with init_cookie_authentication() in the controller.
  5556. - When recommending new-format log lines, if the upper bound is
  5557. LOG_ERR, leave it implicit.
  5558. o Bugfixes on 0.0.8.1:
  5559. - Fix a whole slew of memory leaks.
  5560. - Fix isspace() and friends so they still make Solaris happy
  5561. but also so they don't trigger asserts on win32.
  5562. - Fix parse_iso_time on platforms without strptime (eg win32).
  5563. - win32: tolerate extra "readable" events better.
  5564. - win32: when being multithreaded, leave parent fdarray open.
  5565. - Make unit tests work on win32.
  5566. Changes in version 0.0.9rc6 - 2004-12-06
  5567. o Bugfixes on 0.0.9pre:
  5568. - Clean up some more integer underflow opportunities (not exploitable
  5569. we think).
  5570. - While hibernating, hup should not regrow our listeners.
  5571. - Send an end to the streams we close when we hibernate, rather
  5572. than just chopping them off.
  5573. - React to eof immediately on non-open edge connections.
  5574. o Bugfixes on 0.0.8.1:
  5575. - Calculate timeout for waiting for a connected cell from the time
  5576. we sent the begin cell, not from the time the stream started. If
  5577. it took a long time to establish the circuit, we would time out
  5578. right after sending the begin cell.
  5579. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  5580. of * as always matching, so we were picking reject *:* nodes as
  5581. exit nodes too. Oops.
  5582. o Features:
  5583. - New circuit building strategy: keep a list of ports that we've
  5584. used in the past 6 hours, and always try to have 2 circuits open
  5585. or on the way that will handle each such port. Seed us with port
  5586. 80 so web users won't complain that Tor is "slow to start up".
  5587. - Make kill -USR1 dump more useful stats about circuits.
  5588. - When warning about retrying or giving up, print the address, so
  5589. the user knows which one it's talking about.
  5590. - If you haven't used a clean circuit in an hour, throw it away,
  5591. just to be on the safe side. (This means after 6 hours a totally
  5592. unused Tor client will have no circuits open.)
  5593. Changes in version 0.0.9rc5 - 2004-12-01
  5594. o Bugfixes on 0.0.8.1:
  5595. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  5596. - Let resolve conns retry/expire also, rather than sticking around
  5597. forever.
  5598. - If we are using select, make sure we stay within FD_SETSIZE.
  5599. o Bugfixes on 0.0.9pre:
  5600. - Fix integer underflow in tor_vsnprintf() that may be exploitable,
  5601. but doesn't seem to be currently; thanks to Ilja van Sprundel for
  5602. finding it.
  5603. - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
  5604. instead. Impose minima and maxima for all *Period options; impose
  5605. even tighter maxima for fetching if we are a caching dirserver.
  5606. Clip rather than rejecting.
  5607. - Fetch cached running-routers from servers that serve it (that is,
  5608. authdirservers and servers running 0.0.9rc5-cvs or later.)
  5609. o Features:
  5610. - Accept *:706 (silc) in default exit policy.
  5611. - Implement new versioning format for post 0.1.
  5612. - Support "foo.nickname.exit" addresses, to let Alice request the
  5613. address "foo" as viewed by exit node "nickname". Based on a patch
  5614. by Geoff Goodell.
  5615. - Make tor --version --version dump the cvs Id of every file.
  5616. Changes in version 0.0.9rc4 - 2004-11-28
  5617. o Bugfixes on 0.0.8.1:
  5618. - Make windows sockets actually non-blocking (oops), and handle
  5619. win32 socket errors better.
  5620. o Bugfixes on 0.0.9rc1:
  5621. - Actually catch the -USR2 signal.
  5622. Changes in version 0.0.9rc3 - 2004-11-25
  5623. o Bugfixes on 0.0.8.1:
  5624. - Flush the log file descriptor after we print "Tor opening log file",
  5625. so we don't see those messages days later.
  5626. o Bugfixes on 0.0.9rc1:
  5627. - Make tor-resolve work again.
  5628. - Avoid infinite loop in tor-resolve if tor hangs up on it.
  5629. - Fix an assert trigger for clients/servers handling resolves.
  5630. Changes in version 0.0.9rc2 - 2004-11-24
  5631. o Bugfixes on 0.0.9rc1:
  5632. - I broke socks5 support while fixing the eof bug.
  5633. - Allow unitless bandwidths and intervals; they default to bytes
  5634. and seconds.
  5635. - New servers don't start out hibernating; they are active until
  5636. they run out of bytes, so they have a better estimate of how
  5637. long it takes, and so their operators can know they're working.
  5638. Changes in version 0.0.9rc1 - 2004-11-23
  5639. o Bugfixes on 0.0.8.1:
  5640. - Finally fix a bug that's been plaguing us for a year:
  5641. With high load, circuit package window was reaching 0. Whenever
  5642. we got a circuit-level sendme, we were reading a lot on each
  5643. socket, but only writing out a bit. So we would eventually reach
  5644. eof. This would be noticed and acted on even when there were still
  5645. bytes sitting in the inbuf.
  5646. - When poll() is interrupted, we shouldn't believe the revents values.
  5647. o Bugfixes on 0.0.9pre6:
  5648. - Fix hibernate bug that caused pre6 to be broken.
  5649. - Don't keep rephist info for routers that haven't had activity for
  5650. 24 hours. (This matters now that clients have keys, since we track
  5651. them too.)
  5652. - Never call close_temp_logs while validating log options.
  5653. - Fix backslash-escaping on tor.sh.in and torctl.in.
  5654. o Features:
  5655. - Implement weekly/monthly/daily accounting: now you specify your
  5656. hibernation properties by
  5657. AccountingMax N bytes|KB|MB|GB|TB
  5658. AccountingStart day|week|month [day] HH:MM
  5659. Defaults to "month 1 0:00".
  5660. - Let bandwidth and interval config options be specified as 5 bytes,
  5661. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  5662. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  5663. get back to normal.)
  5664. - If your requested entry or exit node has advertised bandwidth 0,
  5665. pick it anyway.
  5666. - Be more greedy about filling up relay cells -- we try reading again
  5667. once we've processed the stuff we read, in case enough has arrived
  5668. to fill the last cell completely.
  5669. - Apply NT service patch from Osamu Fujino. Still needs more work.
  5670. Changes in version 0.0.9pre6 - 2004-11-15
  5671. o Bugfixes on 0.0.8.1:
  5672. - Fix assert failure on malformed socks4a requests.
  5673. - Use identity comparison, not nickname comparison, to choose which
  5674. half of circuit-ID-space each side gets to use. This is needed
  5675. because sometimes we think of a router as a nickname, and sometimes
  5676. as a hex ID, and we can't predict what the other side will do.
  5677. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  5678. write() call will fail and we handle it there.
  5679. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  5680. and smartlist_len, which are two major profiling offenders.
  5681. o Bugfixes on 0.0.9pre5:
  5682. - Fix a bug in read_all that was corrupting config files on windows.
  5683. - When we're raising the max number of open file descriptors to
  5684. 'unlimited', don't log that we just raised it to '-1'.
  5685. - Include event code with events, as required by control-spec.txt.
  5686. - Don't give a fingerprint when clients do --list-fingerprint:
  5687. it's misleading, because it will never be the same again.
  5688. - Stop using strlcpy in tor_strndup, since it was slowing us
  5689. down a lot.
  5690. - Remove warn on startup about missing cached-directory file.
  5691. - Make kill -USR1 work again.
  5692. - Hibernate if we start tor during the "wait for wakeup-time" phase
  5693. of an accounting interval. Log our hibernation plans better.
  5694. - Authoritative dirservers now also cache their directory, so they
  5695. have it on start-up.
  5696. o Features:
  5697. - Fetch running-routers; cache running-routers; compress
  5698. running-routers; serve compressed running-routers.z
  5699. - Add NSI installer script contributed by J Doe.
  5700. - Commit VC6 and VC7 workspace/project files.
  5701. - Commit a tor.spec for making RPM files, with help from jbash.
  5702. - Add contrib/torctl.in contributed by Glenn Fink.
  5703. - Implement the control-spec's SAVECONF command, to write your
  5704. configuration to torrc.
  5705. - Get cookie authentication for the controller closer to working.
  5706. - Include control-spec.txt in the tarball.
  5707. - When set_conf changes our server descriptor, upload a new copy.
  5708. But don't upload it too often if there are frequent changes.
  5709. - Document authentication config in man page, and document signals
  5710. we catch.
  5711. - Clean up confusing parts of man page and torrc.sample.
  5712. - Make expand_filename handle ~ and ~username.
  5713. - Use autoconf to enable largefile support where necessary. Use
  5714. ftello where available, since ftell can fail at 2GB.
  5715. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  5716. log more informatively.
  5717. - Give a slightly more useful output for "tor -h".
  5718. - Refuse application socks connections to port 0.
  5719. - Check clock skew for verified servers, but allow unverified
  5720. servers and clients to have any clock skew.
  5721. - Break DirFetchPostPeriod into:
  5722. - DirFetchPeriod for fetching full directory,
  5723. - StatusFetchPeriod for fetching running-routers,
  5724. - DirPostPeriod for posting server descriptor,
  5725. - RendPostPeriod for posting hidden service descriptors.
  5726. - Make sure the hidden service descriptors are at a random offset
  5727. from each other, to hinder linkability.
  5728. Changes in version 0.0.9pre5 - 2004-11-09
  5729. o Bugfixes on 0.0.9pre4:
  5730. - Fix a seg fault in unit tests (doesn't affect main program).
  5731. - Fix an assert bug where a hidden service provider would fail if
  5732. the first hop of his rendezvous circuit was down.
  5733. - Hidden service operators now correctly handle version 1 style
  5734. INTRODUCE1 cells (nobody generates them still, so not a critical
  5735. bug).
  5736. - If do_hup fails, actually notice.
  5737. - Handle more errnos from accept() without closing the listener.
  5738. Some OpenBSD machines were closing their listeners because
  5739. they ran out of file descriptors.
  5740. - Send resolve cells to exit routers that are running a new
  5741. enough version of the resolve code to work right.
  5742. - Better handling of winsock includes on non-MSV win32 compilers.
  5743. - Some people had wrapped their tor client/server in a script
  5744. that would restart it whenever it died. This did not play well
  5745. with our "shut down if your version is obsolete" code. Now people
  5746. don't fetch a new directory if their local cached version is
  5747. recent enough.
  5748. - Make our autogen.sh work on ksh as well as bash.
  5749. o Major Features:
  5750. - Hibernation: New config option "AccountingMaxKB" lets you
  5751. set how many KBytes per month you want to allow your server to
  5752. consume. Rather than spreading those bytes out evenly over the
  5753. month, we instead hibernate for some of the month and pop up
  5754. at a deterministic time, work until the bytes are consumed, then
  5755. hibernate again. Config option "MonthlyAccountingStart" lets you
  5756. specify which day of the month your billing cycle starts on.
  5757. - Control interface: a separate program can now talk to your
  5758. client/server over a socket, and get/set config options, receive
  5759. notifications of circuits and streams starting/finishing/dying,
  5760. bandwidth used, etc. The next step is to get some GUIs working.
  5761. Let us know if you want to help out. See doc/control-spec.txt .
  5762. - Ship a contrib/tor-control.py as an example script to interact
  5763. with the control port.
  5764. - "tor --hash-password zzyxz" will output a salted password for
  5765. use in authenticating to the control interface.
  5766. - New log format in config:
  5767. "Log minsev[-maxsev] stdout|stderr|syslog" or
  5768. "Log minsev[-maxsev] file /var/foo"
  5769. o Minor Features:
  5770. - DirPolicy config option, to let people reject incoming addresses
  5771. from their dirserver.
  5772. - "tor --list-fingerprint" will list your identity key fingerprint
  5773. and then exit.
  5774. - Add "pass" target for RedirectExit, to make it easier to break
  5775. out of a sequence of RedirectExit rules.
  5776. - Clients now generate a TLS cert too, in preparation for having
  5777. them act more like real nodes.
  5778. - Ship src/win32/ in the tarball, so people can use it to build.
  5779. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  5780. is broken.
  5781. - New "router-status" line in directory, to better bind each verified
  5782. nickname to its identity key.
  5783. - Deprecate unofficial config option abbreviations, and abbreviations
  5784. not on the command line.
  5785. - Add a pure-C tor-resolve implementation.
  5786. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  5787. 1024) file descriptors.
  5788. o Code security improvements, inspired by Ilja:
  5789. - Replace sprintf with snprintf. (I think they were all safe, but
  5790. hey.)
  5791. - Replace strcpy/strncpy with strlcpy in more places.
  5792. - Avoid strcat; use snprintf or strlcat instead.
  5793. - snprintf wrapper with consistent (though not C99) overflow behavior.
  5794. Changes in version 0.0.9pre4 - 2004-10-17
  5795. o Bugfixes on 0.0.9pre3:
  5796. - If the server doesn't specify an exit policy, use the real default
  5797. exit policy, not reject *:*.
  5798. - Ignore fascistfirewall when uploading/downloading hidden service
  5799. descriptors, since we go through Tor for those; and when using
  5800. an HttpProxy, since we assume it can reach them all.
  5801. - When looking for an authoritative dirserver, use only the ones
  5802. configured at boot. Don't bother looking in the directory.
  5803. - The rest of the fix for get_default_conf_file() on older win32.
  5804. - Make 'Routerfile' config option obsolete.
  5805. o Features:
  5806. - New 'MyFamily nick1,...' config option for a server to
  5807. specify other servers that shouldn't be used in the same circuit
  5808. with it. Only believed if nick1 also specifies us.
  5809. - New 'NodeFamily nick1,nick2,...' config option for a client to
  5810. specify nodes that it doesn't want to use in the same circuit.
  5811. - New 'Redirectexit pattern address:port' config option for a
  5812. server to redirect exit connections, e.g. to a local squid.
  5813. Changes in version 0.0.9pre3 - 2004-10-13
  5814. o Bugfixes on 0.0.8.1:
  5815. - Better torrc example lines for dirbindaddress and orbindaddress.
  5816. - Improved bounds checking on parsed ints (e.g. config options and
  5817. the ones we find in directories.)
  5818. - Better handling of size_t vs int, so we're more robust on 64
  5819. bit platforms.
  5820. - Fix the rest of the bug where a newly started OR would appear
  5821. as unverified even after we've added his fingerprint and hupped
  5822. the dirserver.
  5823. - Fix a bug from 0.0.7: when read() failed on a stream, we would
  5824. close it without sending back an end. So 'connection refused'
  5825. would simply be ignored and the user would get no response.
  5826. o Bugfixes on 0.0.9pre2:
  5827. - Serving the cached-on-disk directory to people is bad. We now
  5828. provide no directory until we've fetched a fresh one.
  5829. - Workaround for bug on windows where cached-directories get crlf
  5830. corruption.
  5831. - Make get_default_conf_file() work on older windows too.
  5832. - If we write a *:* exit policy line in the descriptor, don't write
  5833. any more exit policy lines.
  5834. o Features:
  5835. - Use only 0.0.9pre1 and later servers for resolve cells.
  5836. - Make the dirservers file obsolete.
  5837. - Include a dir-signing-key token in directories to tell the
  5838. parsing entity which key is being used to sign.
  5839. - Remove the built-in bulky default dirservers string.
  5840. - New config option "Dirserver %s:%d [fingerprint]", which can be
  5841. repeated as many times as needed. If no dirservers specified,
  5842. default to moria1,moria2,tor26.
  5843. - Make moria2 advertise a dirport of 80, so people behind firewalls
  5844. will be able to get a directory.
  5845. - Http proxy support
  5846. - Dirservers translate requests for http://%s:%d/x to /x
  5847. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  5848. be routed through this host.
  5849. - Clients ask for /tor/x rather than /x for new enough dirservers.
  5850. This way we can one day coexist peacefully with apache.
  5851. - Clients specify a "Host: %s%d" http header, to be compatible
  5852. with more proxies, and so running squid on an exit node can work.
  5853. Changes in version 0.0.8.1 - 2004-10-13
  5854. o Bugfixes:
  5855. - Fix a seg fault that can be triggered remotely for Tor
  5856. clients/servers with an open dirport.
  5857. - Fix a rare assert trigger, where routerinfos for entries in
  5858. our cpath would expire while we're building the path.
  5859. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  5860. - Fix a rare seg fault for people running hidden services on
  5861. intermittent connections.
  5862. - Fix a bug in parsing opt keywords with objects.
  5863. - Fix a stale pointer assert bug when a stream detaches and
  5864. reattaches.
  5865. - Fix a string format vulnerability (probably not exploitable)
  5866. in reporting stats locally.
  5867. - Fix an assert trigger: sometimes launching circuits can fail
  5868. immediately, e.g. because too many circuits have failed recently.
  5869. - Fix a compile warning on 64 bit platforms.
  5870. Changes in version 0.0.9pre2 - 2004-10-03
  5871. o Bugfixes:
  5872. - Make fetching a cached directory work for 64-bit platforms too.
  5873. - Make zlib.h a required header, not an optional header.
  5874. Changes in version 0.0.9pre1 - 2004-10-01
  5875. o Bugfixes:
  5876. - Stop using separate defaults for no-config-file and
  5877. empty-config-file. Now you have to explicitly turn off SocksPort,
  5878. if you don't want it open.
  5879. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  5880. - Improve man page to mention more of the 0.0.8 features.
  5881. - Fix a rare seg fault for people running hidden services on
  5882. intermittent connections.
  5883. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  5884. happier.
  5885. - Fix more dns related bugs: send back resolve_failed and end cells
  5886. more reliably when the resolve fails, rather than closing the
  5887. circuit and then trying to send the cell. Also attach dummy resolve
  5888. connections to a circuit *before* calling dns_resolve(), to fix
  5889. a bug where cached answers would never be sent in RESOLVED cells.
  5890. - When we run out of disk space, or other log writing error, don't
  5891. crash. Just stop logging to that log and continue.
  5892. - We were starting to daemonize before we opened our logs, so if
  5893. there were any problems opening logs, we would complain to stderr,
  5894. which wouldn't work, and then mysteriously exit.
  5895. - Fix a rare bug where sometimes a verified OR would connect to us
  5896. before he'd uploaded his descriptor, which would cause us to
  5897. assign conn->nickname as though he's unverified. Now we look through
  5898. the fingerprint list to see if he's there.
  5899. - Fix a rare assert trigger, where routerinfos for entries in
  5900. our cpath would expire while we're building the path.
  5901. o Features:
  5902. - Clients can ask dirservers for /dir.z to get a compressed version
  5903. of the directory. Only works for servers running 0.0.9, of course.
  5904. - Make clients cache directories and use them to seed their router
  5905. lists at startup. This means clients have a datadir again.
  5906. - Configuration infrastructure support for warning on obsolete
  5907. options.
  5908. - Respond to content-encoding headers by trying to uncompress as
  5909. appropriate.
  5910. - Reply with a deflated directory when a client asks for "dir.z".
  5911. We could use allow-encodings instead, but allow-encodings isn't
  5912. specified in HTTP 1.0.
  5913. - Raise the max dns workers from 50 to 100.
  5914. - Discourage people from setting their dirfetchpostperiod more often
  5915. than once per minute.
  5916. - Protect dirservers from overzealous descriptor uploading -- wait
  5917. 10 seconds after directory gets dirty, before regenerating.
  5918. Changes in version 0.0.8 - 2004-08-25
  5919. o Port it to SunOS 5.9 / Athena
  5920. Changes in version 0.0.8rc2 - 2004-08-20
  5921. o Make it compile on cygwin again.
  5922. o When picking unverified routers, skip those with low uptime and/or
  5923. low bandwidth, depending on what properties you care about.
  5924. Changes in version 0.0.8rc1 - 2004-08-18
  5925. o Changes from 0.0.7.3:
  5926. - Bugfixes:
  5927. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  5928. don't put it into the client dns cache.
  5929. - If a begin failed due to exit policy, but we believe the IP address
  5930. should have been allowed, switch that router to exitpolicy reject *:*
  5931. until we get our next directory.
  5932. - Features:
  5933. - Clients choose nodes proportional to advertised bandwidth.
  5934. - Avoid using nodes with low uptime as introduction points.
  5935. - Handle servers with dynamic IP addresses: don't replace
  5936. options->Address with the resolved one at startup, and
  5937. detect our address right before we make a routerinfo each time.
  5938. - 'FascistFirewall' option to pick dirservers and ORs on specific
  5939. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  5940. which ports are open. (Defaults to 80,443)
  5941. - Be more aggressive about trying to make circuits when the network
  5942. has changed (e.g. when you unsuspend your laptop).
  5943. - Check for time skew on http headers; report date in response to
  5944. "GET /".
  5945. - If the entrynode config line has only one node, don't pick it as
  5946. an exitnode.
  5947. - Add strict{entry|exit}nodes config options. If set to 1, then
  5948. we refuse to build circuits that don't include the specified entry
  5949. or exit nodes.
  5950. - OutboundBindAddress config option, to bind to a specific
  5951. IP address for outgoing connect()s.
  5952. - End truncated log entries (e.g. directories) with "[truncated]".
  5953. o Patches to 0.0.8preX:
  5954. - Bugfixes:
  5955. - Patches to compile and run on win32 again (maybe)?
  5956. - Fix crash when looking for ~/.torrc with no $HOME set.
  5957. - Fix a race bug in the unit tests.
  5958. - Handle verified/unverified name collisions better when new
  5959. routerinfo's arrive in a directory.
  5960. - Sometimes routers were getting entered into the stats before
  5961. we'd assigned their identity_digest. Oops.
  5962. - Only pick and establish intro points after we've gotten a
  5963. directory.
  5964. - Features:
  5965. - AllowUnverifiedNodes config option to let circuits choose no-name
  5966. routers in entry,middle,exit,introduction,rendezvous positions.
  5967. Allow middle and rendezvous positions by default.
  5968. - Add a man page for tor-resolve.
  5969. Changes in version 0.0.7.3 - 2004-08-12
  5970. o Stop dnsworkers from triggering an assert failure when you
  5971. ask them to resolve the host "".
  5972. Changes in version 0.0.8pre3 - 2004-08-09
  5973. o Changes from 0.0.7.2:
  5974. - Allow multiple ORs with same nickname in routerlist -- now when
  5975. people give us one identity key for a nickname, then later
  5976. another, we don't constantly complain until the first expires.
  5977. - Remember used bandwidth (both in and out), and publish 15-minute
  5978. snapshots for the past day into our descriptor.
  5979. - You can now fetch $DIRURL/running-routers to get just the
  5980. running-routers line, not the whole descriptor list. (But
  5981. clients don't use this yet.)
  5982. - When people mistakenly use Tor as an http proxy, point them
  5983. at the tor-doc.html rather than the INSTALL.
  5984. - Remove our mostly unused -- and broken -- hex_encode()
  5985. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  5986. for pointing out this bug.)
  5987. - Rotate onion keys every 12 hours, not every 2 hours, so we have
  5988. fewer problems with people using the wrong key.
  5989. - Change the default exit policy to reject the default edonkey,
  5990. kazaa, gnutella ports.
  5991. - Add replace_file() to util.[ch] to handle win32's rename().
  5992. o Changes from 0.0.8preX:
  5993. - Fix two bugs in saving onion keys to disk when rotating, so
  5994. hopefully we'll get fewer people using old onion keys.
  5995. - Fix an assert error that was making SocksPolicy not work.
  5996. - Be willing to expire routers that have an open dirport -- it's
  5997. just the authoritative dirservers we want to not forget.
  5998. - Reject tor-resolve requests for .onion addresses early, so we
  5999. don't build a whole rendezvous circuit and then fail.
  6000. - When you're warning a server that he's unverified, don't cry
  6001. wolf unpredictably.
  6002. - Fix a race condition: don't try to extend onto a connection
  6003. that's still handshaking.
  6004. - For servers in clique mode, require the conn to be open before
  6005. you'll choose it for your path.
  6006. - Fix some cosmetic bugs about duplicate mark-for-close, lack of
  6007. end relay cell, etc.
  6008. - Measure bandwidth capacity over the last 24 hours, not just 12
  6009. - Bugfix: authoritative dirservers were making and signing a new
  6010. directory for each client, rather than reusing the cached one.
  6011. Changes in version 0.0.8pre2 - 2004-08-04
  6012. o Changes from 0.0.7.2:
  6013. - Security fixes:
  6014. - Check directory signature _before_ you decide whether you're
  6015. you're running an obsolete version and should exit.
  6016. - Check directory signature _before_ you parse the running-routers
  6017. list to decide who's running or verified.
  6018. - Bugfixes and features:
  6019. - Check return value of fclose while writing to disk, so we don't
  6020. end up with broken files when servers run out of disk space.
  6021. - Log a warning if the user uses an unsafe socks variant, so people
  6022. are more likely to learn about privoxy or socat.
  6023. - Dirservers now include RFC1123-style dates in the HTTP headers,
  6024. which one day we will use to better detect clock skew.
  6025. o Changes from 0.0.8pre1:
  6026. - Make it compile without warnings again on win32.
  6027. - Log a warning if you're running an unverified server, to let you
  6028. know you might want to get it verified.
  6029. - Only pick a default nickname if you plan to be a server.
  6030. Changes in version 0.0.8pre1 - 2004-07-23
  6031. o Bugfixes:
  6032. - Made our unit tests compile again on OpenBSD 3.5, and tor
  6033. itself compile again on OpenBSD on a sparc64.
  6034. - We were neglecting milliseconds when logging on win32, so
  6035. everything appeared to happen at the beginning of each second.
  6036. o Protocol changes:
  6037. - 'Extend' relay cell payloads now include the digest of the
  6038. intended next hop's identity key. Now we can verify that we're
  6039. extending to the right router, and also extend to routers we
  6040. hadn't heard of before.
  6041. o Features:
  6042. - Tor nodes can now act as relays (with an advertised ORPort)
  6043. without being manually verified by the dirserver operators.
  6044. - Uploaded descriptors of unverified routers are now accepted
  6045. by the dirservers, and included in the directory.
  6046. - Verified routers are listed by nickname in the running-routers
  6047. list; unverified routers are listed as "$<fingerprint>".
  6048. - We now use hash-of-identity-key in most places rather than
  6049. nickname or addr:port, for improved security/flexibility.
  6050. - To avoid Sybil attacks, paths still use only verified servers.
  6051. But now we have a chance to play around with hybrid approaches.
  6052. - Nodes track bandwidth usage to estimate capacity (not used yet).
  6053. - ClientOnly option for nodes that never want to become servers.
  6054. - Directory caching.
  6055. - "AuthoritativeDir 1" option for the official dirservers.
  6056. - Now other nodes (clients and servers) will cache the latest
  6057. directory they've pulled down.
  6058. - They can enable their DirPort to serve it to others.
  6059. - Clients will pull down a directory from any node with an open
  6060. DirPort, and check the signature/timestamp correctly.
  6061. - Authoritative dirservers now fetch directories from other
  6062. authdirservers, to stay better synced.
  6063. - Running-routers list tells who's down also, along with noting
  6064. if they're verified (listed by nickname) or unverified (listed
  6065. by hash-of-key).
  6066. - Allow dirservers to serve running-router list separately.
  6067. This isn't used yet.
  6068. - ORs connect-on-demand to other ORs
  6069. - If you get an extend cell to an OR you're not connected to,
  6070. connect, handshake, and forward the create cell.
  6071. - The authoritative dirservers stay connected to everybody,
  6072. and everybody stays connected to 0.0.7 servers, but otherwise
  6073. clients/servers expire unused connections after 5 minutes.
  6074. - When servers get a sigint, they delay 30 seconds (refusing new
  6075. connections) then exit. A second sigint causes immediate exit.
  6076. - File and name management:
  6077. - Look for .torrc if no CONFDIR "torrc" is found.
  6078. - If no datadir is defined, then choose, make, and secure ~/.tor
  6079. as datadir.
  6080. - If torrc not found, exitpolicy reject *:*.
  6081. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  6082. - If no nickname is defined, derive default from hostname.
  6083. - Rename secret key files, e.g. identity.key -> secret_id_key,
  6084. to discourage people from mailing their identity key to tor-ops.
  6085. - Refuse to build a circuit before the directory has arrived --
  6086. it won't work anyway, since you won't know the right onion keys
  6087. to use.
  6088. - Try other dirservers immediately if the one you try is down. This
  6089. should tolerate down dirservers better now.
  6090. - Parse tor version numbers so we can do an is-newer-than check
  6091. rather than an is-in-the-list check.
  6092. - New socks command 'resolve', to let us shim gethostbyname()
  6093. locally.
  6094. - A 'tor_resolve' script to access the socks resolve functionality.
  6095. - A new socks-extensions.txt doc file to describe our
  6096. interpretation and extensions to the socks protocols.
  6097. - Add a ContactInfo option, which gets published in descriptor.
  6098. - Publish OR uptime in descriptor (and thus in directory) too.
  6099. - Write tor version at the top of each log file
  6100. - New docs in the tarball:
  6101. - tor-doc.html.
  6102. - Document that you should proxy your SSL traffic too.
  6103. Changes in version 0.0.7.2 - 2004-07-07
  6104. o A better fix for the 0.0.0.0 problem, that will hopefully
  6105. eliminate the remaining related assertion failures.
  6106. Changes in version 0.0.7.1 - 2004-07-04
  6107. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  6108. since internally we use 0.0.0.0 to signify "not yet resolved".
  6109. Changes in version 0.0.7 - 2004-06-07
  6110. o Updated the man page to reflect the new features.
  6111. Changes in version 0.0.7rc2 - 2004-06-06
  6112. o Changes from 0.0.7rc1:
  6113. - Make it build on Win32 again.
  6114. o Changes from 0.0.6.2:
  6115. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  6116. settings too.
  6117. Changes in version 0.0.7rc1 - 2004-06-02
  6118. o Bugfixes:
  6119. - On sighup, we were adding another log without removing the first
  6120. one. So log messages would get duplicated n times for n sighups.
  6121. - Several cases of using a connection after we'd freed it. The
  6122. problem was that connections that are pending resolve are in both
  6123. the pending_resolve tree, and also the circuit's resolving_streams
  6124. list. When you want to remove one, you must remove it from both.
  6125. - Fix a double-mark-for-close where an end cell arrived for a
  6126. resolving stream, and then the resolve failed.
  6127. - Check directory signatures based on name of signer, not on whom
  6128. we got the directory from. This will let us cache directories more
  6129. easily.
  6130. o Features:
  6131. - Crank up some of our constants to handle more users.
  6132. Changes in version 0.0.7pre1 - 2004-06-02
  6133. o Fixes for crashes and other obnoxious bugs:
  6134. - Fix an epipe bug: sometimes when directory connections failed
  6135. to connect, we would give them a chance to flush before closing
  6136. them.
  6137. - When we detached from a circuit because of resolvefailed, we
  6138. would immediately try the same circuit twice more, and then
  6139. give up on the resolve thinking we'd tried three different
  6140. exit nodes.
  6141. - Limit the number of intro circuits we'll attempt to build for a
  6142. hidden service per 15-minute period.
  6143. - Check recommended-software string *early*, before actually parsing
  6144. the directory. Thus we can detect an obsolete version and exit,
  6145. even if the new directory format doesn't parse.
  6146. o Fixes for security bugs:
  6147. - Remember which nodes are dirservers when you startup, and if a
  6148. random OR enables his dirport, don't automatically assume he's
  6149. a trusted dirserver.
  6150. o Other bugfixes:
  6151. - Directory connections were asking the wrong poll socket to
  6152. start writing, and not asking themselves to start writing.
  6153. - When we detached from a circuit because we sent a begin but
  6154. didn't get a connected, we would use it again the first time;
  6155. but after that we would correctly switch to a different one.
  6156. - Stop warning when the first onion decrypt attempt fails; they
  6157. will sometimes legitimately fail now that we rotate keys.
  6158. - Override unaligned-access-ok check when $host_cpu is ia64 or
  6159. arm. Apparently they allow it but the kernel whines.
  6160. - Dirservers try to reconnect periodically too, in case connections
  6161. have failed.
  6162. - Fix some memory leaks in directory servers.
  6163. - Allow backslash in Win32 filenames.
  6164. - Made Tor build complain-free on FreeBSD, hopefully without
  6165. breaking other BSD builds. We'll see.
  6166. o Features:
  6167. - Doxygen markup on all functions and global variables.
  6168. - Make directory functions update routerlist, not replace it. So
  6169. now directory disagreements are not so critical a problem.
  6170. - Remove the upper limit on number of descriptors in a dirserver's
  6171. directory (not that we were anywhere close).
  6172. - Allow multiple logfiles at different severity ranges.
  6173. - Allow *BindAddress to specify ":port" rather than setting *Port
  6174. separately. Allow multiple instances of each BindAddress config
  6175. option, so you can bind to multiple interfaces if you want.
  6176. - Allow multiple exit policy lines, which are processed in order.
  6177. Now we don't need that huge line with all the commas in it.
  6178. - Enable accept/reject policies on SOCKS connections, so you can bind
  6179. to 0.0.0.0 but still control who can use your OP.
  6180. Changes in version 0.0.6.2 - 2004-05-16
  6181. o Our integrity-checking digest was checking only the most recent cell,
  6182. not the previous cells like we'd thought.
  6183. Thanks to Stefan Mark for finding the flaw!
  6184. Changes in version 0.0.6.1 - 2004-05-06
  6185. o Fix two bugs in our AES counter-mode implementation (this affected
  6186. onion-level stream encryption, but not TLS-level). It turns
  6187. out we were doing something much more akin to a 16-character
  6188. polyalphabetic cipher. Oops.
  6189. Thanks to Stefan Mark for finding the flaw!
  6190. o Retire moria3 as a directory server, and add tor26 as a directory
  6191. server.
  6192. Changes in version 0.0.6 - 2004-05-02
  6193. [version bump only]
  6194. Changes in version 0.0.6rc4 - 2004-05-01
  6195. o Update the built-in dirservers list to use the new directory format
  6196. o Fix a rare seg fault: if a node offering a hidden service attempts
  6197. to build a circuit to Alice's rendezvous point and fails before it
  6198. reaches the last hop, it retries with a different circuit, but
  6199. then dies.
  6200. o Handle windows socket errors correctly.
  6201. Changes in version 0.0.6rc3 - 2004-04-28
  6202. o Don't expire non-general excess circuits (if we had enough
  6203. circuits open, we were expiring rendezvous circuits -- even
  6204. when they had a stream attached. oops.)
  6205. o Fetch randomness from /dev/urandom better (not via fopen/fread)
  6206. o Better debugging for tls errors
  6207. o Some versions of openssl have an SSL_pending function that erroneously
  6208. returns bytes when there is a non-application record pending.
  6209. o Set Content-Type on the directory and hidserv descriptor.
  6210. o Remove IVs from cipher code, since AES-ctr has none.
  6211. o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  6212. o We were using an array of length zero in a few places.
  6213. o win32's gethostbyname can't resolve an IP to an IP.
  6214. o win32's close can't close a socket.
  6215. Changes in version 0.0.6rc2 - 2004-04-26
  6216. o Fix a bug where we were closing tls connections intermittently.
  6217. It turns out openssl keeps its errors around -- so if an error
  6218. happens, and you don't ask about it, and then another openssl
  6219. operation happens and succeeds, and you ask if there was an error,
  6220. it tells you about the first error. Fun fun.
  6221. o Fix a bug that's been lurking since 27 may 03 (!)
  6222. When passing back a destroy cell, we would use the wrong circ id.
  6223. 'Mostly harmless', but still worth fixing.
  6224. o Since we don't support truncateds much, don't bother sending them;
  6225. just close the circ.
  6226. o check for <machine/limits.h> so we build on NetBSD again (I hope).
  6227. o don't crash if a conn that sent a begin has suddenly lost its circuit
  6228. (this was quite rare).
  6229. Changes in version 0.0.6rc1 - 2004-04-25
  6230. o We now rotate link (tls context) keys and onion keys.
  6231. o CREATE cells now include oaep padding, so you can tell
  6232. if you decrypted them correctly.
  6233. o Add bandwidthburst to server descriptor.
  6234. o Directories now say which dirserver signed them.
  6235. o Use a tor_assert macro that logs failed assertions too.
  6236. Changes in version 0.0.6pre5 - 2004-04-18
  6237. o changes from 0.0.6pre4:
  6238. - make tor build on broken freebsd 5.2 installs
  6239. - fix a failed assert when you try an intro point, get a nack, and try
  6240. a second one and it works.
  6241. - when alice uses a port that the hidden service doesn't accept,
  6242. it now sends back an end cell (denied by exit policy). otherwise
  6243. alice would just have to wait to time out.
  6244. - fix another rare bug: when we had tried all the intro
  6245. points for a hidden service, we fetched the descriptor
  6246. again, but we left our introcirc thinking it had already
  6247. sent an intro, so it kept waiting for a response...
  6248. - bugfix: when you sleep your hidden-service laptop, as soon
  6249. as it wakes up it tries to upload a service descriptor, but
  6250. socketpair fails for some reason (localhost not up yet?).
  6251. now we simply give up on that upload, and we'll try again later.
  6252. i'd still like to find the bug though.
  6253. - if an intro circ waiting for an ack dies before getting one, then
  6254. count it as a nack
  6255. - we were reusing stale service descriptors and refetching usable
  6256. ones. oops.
  6257. Changes in version 0.0.6pre4 - 2004-04-14
  6258. o changes from 0.0.6pre3:
  6259. - when bob fails to connect to the rendezvous point, and his
  6260. circ didn't fail because of the rendezvous point itself, then
  6261. he retries a couple of times
  6262. - we expire introduction and rendezvous circs more thoroughly
  6263. (sometimes they were hanging around forever)
  6264. - we expire unattached rendezvous streams that have been around
  6265. too long (they were sticking around forever).
  6266. - fix a measly fencepost error that was crashing everybody with
  6267. a strict glibc.
  6268. Changes in version 0.0.6pre3 - 2004-04-14
  6269. o changes from 0.0.6pre2:
  6270. - make hup work again
  6271. - fix some memory leaks for dirservers
  6272. - allow more skew in rendezvous descriptor timestamps, to help
  6273. handle people like blanu who don't know what time it is
  6274. - normal circs are 3 hops, but some rend/intro circs are 4, if
  6275. the initiator doesn't get to choose the last hop
  6276. - send acks for introductions, so alice can know whether to try
  6277. again
  6278. - bob publishes intro points more correctly
  6279. o changes from 0.0.5:
  6280. - fix an assert trigger that's been plaguing us since the days
  6281. of 0.0.2prexx (thanks weasel!)
  6282. - retry stream correctly when we fail to connect because of
  6283. exit-policy-reject (should try another) or can't-resolve-address
  6284. (also should try another, because dns on random internet servers
  6285. is flaky).
  6286. - when we hup a dirserver and we've *removed* a server from the
  6287. approved-routers list, now we remove that server from the
  6288. in-memory directories too
  6289. Changes in version 0.0.6pre2 - 2004-04-08
  6290. o We fixed our base32 implementation. Now it works on all architectures.
  6291. Changes in version 0.0.6pre1 - 2004-04-08
  6292. o Features:
  6293. - Hidden services and rendezvous points are implemented. Go to
  6294. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  6295. hidden services. (This only works via a socks4a proxy such as
  6296. Privoxy, and currently it's quite slow.)
  6297. Changes in version 0.0.5 - 2004-03-30
  6298. [version bump only]
  6299. Changes in version 0.0.5rc3 - 2004-03-29
  6300. o Install torrc as torrc.sample -- we no longer clobber your
  6301. torrc. (Woo!)
  6302. o Re-enable recommendedversion checking (we broke it in rc2, oops)
  6303. o Add in a 'notice' log level for things the operator should hear
  6304. but that aren't warnings
  6305. Changes in version 0.0.5rc2 - 2004-03-29
  6306. o Hold socks connection open until reply is flushed (if possible)
  6307. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  6308. the dns farm to do it.
  6309. o Fix c99 aliasing warnings in rephist.c
  6310. o Don't include server descriptors that are older than 24 hours in the
  6311. directory.
  6312. o Give socks 'reject' replies their whole 15s to attempt to flush,
  6313. rather than seeing the 60s timeout and assuming the flush had failed.
  6314. o Clean automake droppings from the cvs repository
  6315. Changes in version 0.0.5rc1 - 2004-03-28
  6316. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  6317. o Only build circuits after we've fetched the directory: clients were
  6318. using only the directory servers before they'd fetched a directory.
  6319. This also means longer startup time; so it goes.
  6320. o Fix an assert trigger where an OP would fail to handshake, and we'd
  6321. expect it to have a nickname.
  6322. o Work around a tsocks bug: do a socks reject when AP connection dies
  6323. early, else tsocks goes into an infinite loop.
  6324. Changes in version 0.0.4 - 2004-03-26
  6325. o When connecting to a dirserver or OR and the network is down,
  6326. we would crash.
  6327. Changes in version 0.0.3 - 2004-03-26
  6328. o Warn and fail if server chose a nickname with illegal characters
  6329. o Port to Solaris and Sparc:
  6330. - include missing header fcntl.h
  6331. - have autoconf find -lsocket -lnsl automatically
  6332. - deal with hardware word alignment
  6333. - make uname() work (solaris has a different return convention)
  6334. - switch from using signal() to sigaction()
  6335. o Preliminary work on reputation system:
  6336. - Keep statistics on success/fail of connect attempts; they're published
  6337. by kill -USR1 currently.
  6338. - Add a RunTesting option to try to learn link state by creating test
  6339. circuits, even when SocksPort is off.
  6340. - Remove unused open circuits when there are too many.
  6341. Changes in version 0.0.2 - 2004-03-19
  6342. - Include strlcpy and strlcat for safer string ops
  6343. - define INADDR_NONE so we compile (but still not run) on solaris
  6344. Changes in version 0.0.2pre27 - 2004-03-14
  6345. o Bugfixes:
  6346. - Allow internal tor networks (we were rejecting internal IPs,
  6347. now we allow them if they're set explicitly).
  6348. - And fix a few endian issues.
  6349. Changes in version 0.0.2pre26 - 2004-03-14
  6350. o New features:
  6351. - If a stream times out after 15s without a connected cell, don't
  6352. try that circuit again: try a new one.
  6353. - Retry streams at most 4 times. Then give up.
  6354. - When a dirserver gets a descriptor from an unknown router, it
  6355. logs its fingerprint (so the dirserver operator can choose to
  6356. accept it even without mail from the server operator).
  6357. - Inform unapproved servers when we reject their descriptors.
  6358. - Make tor build on Windows again. It works as a client, who knows
  6359. about as a server.
  6360. - Clearer instructions in the torrc for how to set up a server.
  6361. - Be more efficient about reading fd's when our global token bucket
  6362. (used for rate limiting) becomes empty.
  6363. o Bugfixes:
  6364. - Stop asserting that computers always go forward in time. It's
  6365. simply not true.
  6366. - When we sent a cell (e.g. destroy) and then marked an OR connection
  6367. expired, we might close it before finishing a flush if the other
  6368. side isn't reading right then.
  6369. - Don't allow dirservers to start if they haven't defined
  6370. RecommendedVersions
  6371. - We were caching transient dns failures. Oops.
  6372. - Prevent servers from publishing an internal IP as their address.
  6373. - Address a strcat vulnerability in circuit.c
  6374. Changes in version 0.0.2pre25 - 2004-03-04
  6375. o New features:
  6376. - Put the OR's IP in its router descriptor, not its fqdn. That way
  6377. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  6378. e.g. poblano.
  6379. o Bugfixes:
  6380. - If the user typed in an address that didn't resolve, the server
  6381. crashed.
  6382. Changes in version 0.0.2pre24 - 2004-03-03
  6383. o Bugfixes:
  6384. - Fix an assertion failure in dns.c, where we were trying to dequeue
  6385. a pending dns resolve even if it wasn't pending
  6386. - Fix a spurious socks5 warning about still trying to write after the
  6387. connection is finished.
  6388. - Hold certain marked_for_close connections open until they're finished
  6389. flushing, rather than losing bytes by closing them too early.
  6390. - Correctly report the reason for ending a stream
  6391. - Remove some duplicate calls to connection_mark_for_close
  6392. - Put switch_id and start_daemon earlier in the boot sequence, so it
  6393. will actually try to chdir() to options.DataDirectory
  6394. - Make 'make test' exit(1) if a test fails; fix some unit tests
  6395. - Make tor fail when you use a config option it doesn't know about,
  6396. rather than warn and continue.
  6397. - Make --version work
  6398. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  6399. Changes in version 0.0.2pre23 - 2004-02-29
  6400. o New features:
  6401. - Print a statement when the first circ is finished, so the user
  6402. knows it's working.
  6403. - If a relay cell is unrecognized at the end of the circuit,
  6404. send back a destroy. (So attacks to mutate cells are more
  6405. clearly thwarted.)
  6406. - New config option 'excludenodes' to avoid certain nodes for circuits.
  6407. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  6408. so you can collect coredumps there.
  6409. o Bugfixes:
  6410. - Fix a bug in tls flushing where sometimes data got wedged and
  6411. didn't flush until more data got sent. Hopefully this bug was
  6412. a big factor in the random delays we were seeing.
  6413. - Make 'connected' cells include the resolved IP, so the client
  6414. dns cache actually gets populated.
  6415. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  6416. - When we time-out on a stream and detach from the circuit, send an
  6417. end cell down it first.
  6418. - Only warn about an unknown router (in exitnodes, entrynodes,
  6419. excludenodes) after we've fetched a directory.
  6420. Changes in version 0.0.2pre22 - 2004-02-26
  6421. o New features:
  6422. - Servers publish less revealing uname information in descriptors.
  6423. - More memory tracking and assertions, to crash more usefully when
  6424. errors happen.
  6425. - If the default torrc isn't there, just use some default defaults.
  6426. Plus provide an internal dirservers file if they don't have one.
  6427. - When the user tries to use Tor as an http proxy, give them an http
  6428. 501 failure explaining that we're a socks proxy.
  6429. - Dump a new router.desc on hup, to help confused people who change
  6430. their exit policies and then wonder why router.desc doesn't reflect
  6431. it.
  6432. - Clean up the generic tor.sh init script that we ship with.
  6433. o Bugfixes:
  6434. - If the exit stream is pending on the resolve, and a destroy arrives,
  6435. then the stream wasn't getting removed from the pending list. I
  6436. think this was the one causing recent server crashes.
  6437. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  6438. - When it couldn't resolve any dirservers, it was useless from then on.
  6439. Now it reloads the RouterFile (or default dirservers) if it has no
  6440. dirservers.
  6441. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  6442. many users don't even *have* a /usr/local/sbin/.
  6443. Changes in version 0.0.2pre21 - 2004-02-18
  6444. o New features:
  6445. - There's a ChangeLog file that actually reflects the changelog.
  6446. - There's a 'torify' wrapper script, with an accompanying
  6447. tor-tsocks.conf, that simplifies the process of using tsocks for
  6448. tor. It even has a man page.
  6449. - The tor binary gets installed to sbin rather than bin now.
  6450. - Retry streams where the connected cell hasn't arrived in 15 seconds
  6451. - Clean up exit policy handling -- get the default out of the torrc,
  6452. so we can update it without forcing each server operator to fix
  6453. his/her torrc.
  6454. - Allow imaps and pop3s in default exit policy
  6455. o Bugfixes:
  6456. - Prevent picking middleman nodes as the last node in the circuit
  6457. Changes in version 0.0.2pre20 - 2004-01-30
  6458. o New features:
  6459. - We now have a deb package, and it's in debian unstable. Go to
  6460. it, apt-getters. :)
  6461. - I've split the TotalBandwidth option into BandwidthRate (how many
  6462. bytes per second you want to allow, long-term) and
  6463. BandwidthBurst (how many bytes you will allow at once before the cap
  6464. kicks in). This better token bucket approach lets you, say, set
  6465. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  6466. performance while not exceeding your monthly bandwidth quota.
  6467. - Push out a tls record's worth of data once you've got it, rather
  6468. than waiting until you've read everything waiting to be read. This
  6469. may improve performance by pipelining better. We'll see.
  6470. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  6471. from failed circuits (if they haven't been connected yet) and attach
  6472. to new ones.
  6473. - Expire old streams that haven't managed to connect. Some day we'll
  6474. have them reattach to new circuits instead.
  6475. o Bugfixes:
  6476. - Fix several memory leaks that were causing servers to become bloated
  6477. after a while.
  6478. - Fix a few very rare assert triggers. A few more remain.
  6479. - Setuid to User _before_ complaining about running as root.
  6480. Changes in version 0.0.2pre19 - 2004-01-07
  6481. o Bugfixes:
  6482. - Fix deadlock condition in dns farm. We were telling a child to die by
  6483. closing the parent's file descriptor to him. But newer children were
  6484. inheriting the open file descriptor from the parent, and since they
  6485. weren't closing it, the socket never closed, so the child never read
  6486. eof, so he never knew to exit. Similarly, dns workers were holding
  6487. open other sockets, leading to all sorts of chaos.
  6488. - New cleaner daemon() code for forking and backgrounding.
  6489. - If you log to a file, it now prints an entry at the top of the
  6490. logfile so you know it's working.
  6491. - The onionskin challenge length was 30 bytes longer than necessary.
  6492. - Started to patch up the spec so it's not quite so out of date.
  6493. Changes in version 0.0.2pre18 - 2004-01-02
  6494. o Bugfixes:
  6495. - Fix endian issues with the 'integrity' field in the relay header.
  6496. - Fix a potential bug where connections in state
  6497. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  6498. Changes in version 0.0.2pre17 - 2003-12-30
  6499. o Bugfixes:
  6500. - Made --debuglogfile (or any second log file, actually) work.
  6501. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  6502. adversary could force us into an infinite loop.
  6503. o Features:
  6504. - Each onionskin handshake now includes a hash of the computed key,
  6505. to prove the server's identity and help perfect forward secrecy.
  6506. - Changed cell size from 256 to 512 bytes (working toward compatibility
  6507. with MorphMix).
  6508. - Changed cell length to 2 bytes, and moved it to the relay header.
  6509. - Implemented end-to-end integrity checking for the payloads of
  6510. relay cells.
  6511. - Separated streamid from 'recognized' (otherwise circuits will get
  6512. messed up when we try to have streams exit from the middle). We
  6513. use the integrity-checking to confirm that a cell is addressed to
  6514. this hop.
  6515. - Randomize the initial circid and streamid values, so an adversary who
  6516. breaks into a node can't learn how many circuits or streams have
  6517. been made so far.
  6518. Changes in version 0.0.2pre16 - 2003-12-14
  6519. o Bugfixes:
  6520. - Fixed a bug that made HUP trigger an assert
  6521. - Fixed a bug where a circuit that immediately failed wasn't being
  6522. counted as a failed circuit in counting retries.
  6523. o Features:
  6524. - Now we close the circuit when we get a truncated cell: otherwise we're
  6525. open to an anonymity attack where a bad node in the path truncates
  6526. the circuit and then we open streams at him.
  6527. - Add port ranges to exit policies
  6528. - Add a conservative default exit policy
  6529. - Warn if you're running tor as root
  6530. - on HUP, retry OR connections and close/rebind listeners
  6531. - options.EntryNodes: try these nodes first when picking the first node
  6532. - options.ExitNodes: if your best choices happen to include any of
  6533. your preferred exit nodes, you choose among just those preferred
  6534. exit nodes.
  6535. - options.ExcludedNodes: nodes that are never picked in path building
  6536. Changes in version 0.0.2pre15 - 2003-12-03
  6537. o Robustness and bugfixes:
  6538. - Sometimes clients would cache incorrect DNS resolves, which would
  6539. really screw things up.
  6540. - An OP that goes offline would slowly leak all its sockets and stop
  6541. working.
  6542. - A wide variety of bugfixes in exit node selection, exit policy
  6543. handling, and processing pending streams when a new circuit is
  6544. established.
  6545. - Pick nodes for a path only from those the directory says are up
  6546. - Choose randomly from all running dirservers, not always the first one
  6547. - Increase allowed http header size for directory fetch.
  6548. - Stop writing to stderr (if we're daemonized it will be closed).
  6549. - Enable -g always, so cores will be more useful to me.
  6550. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  6551. o Documentation:
  6552. - Wrote a man page. It lists commonly used options.
  6553. o Configuration:
  6554. - Change default loglevel to warn.
  6555. - Make PidFile default to null rather than littering in your CWD.
  6556. - OnionRouter config option is now obsolete. Instead it just checks
  6557. ORPort>0.
  6558. - Moved to a single unified torrc file for both clients and servers.
  6559. Changes in version 0.0.2pre14 - 2003-11-29
  6560. o Robustness and bugfixes:
  6561. - Force the admin to make the DataDirectory himself
  6562. - to get ownership/permissions right
  6563. - so clients no longer make a DataDirectory and then never use it
  6564. - fix bug where a client who was offline for 45 minutes would never
  6565. pull down a directory again
  6566. - fix (or at least hide really well) the dns assert bug that was
  6567. causing server crashes
  6568. - warnings and improved robustness wrt clockskew for certs
  6569. - use the native daemon(3) to daemonize, when available
  6570. - exit if bind() fails
  6571. - exit if neither socksport nor orport is defined
  6572. - include our own tor_timegm (Win32 doesn't have its own)
  6573. - bugfix for win32 with lots of connections
  6574. - fix minor bias in PRNG
  6575. - make dirserver more robust to corrupt cached directory
  6576. o Documentation:
  6577. - Wrote the design document (woo)
  6578. o Circuit building and exit policies:
  6579. - Circuits no longer try to use nodes that the directory has told them
  6580. are down.
  6581. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  6582. bitcounts (18.0.0.0/8).
  6583. - Make AP connections standby for a circuit if no suitable circuit
  6584. exists, rather than failing
  6585. - Circuits choose exit node based on addr/port, exit policies, and
  6586. which AP connections are standing by
  6587. - Bump min pathlen from 2 to 3
  6588. - Relay end cells have a payload to describe why the stream ended.
  6589. - If the stream failed because of exit policy, try again with a new
  6590. circuit.
  6591. - Clients have a dns cache to remember resolved addresses.
  6592. - Notice more quickly when we have no working circuits
  6593. o Configuration:
  6594. - APPort is now called SocksPort
  6595. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  6596. where to bind
  6597. - RecommendedVersions is now a config variable rather than
  6598. hardcoded (for dirservers)
  6599. - Reloads config on HUP
  6600. - Usage info on -h or --help
  6601. - If you set User and Group config vars, it'll setu/gid to them.
  6602. Changes in version 0.0.2pre13 - 2003-10-19
  6603. o General stability:
  6604. - SSL_write no longer fails when it returns WANTWRITE and the number
  6605. of bytes in the buf has changed by the next SSL_write call.
  6606. - Fix segfault fetching directory when network is down
  6607. - Fix a variety of minor memory leaks
  6608. - Dirservers reload the fingerprints file on HUP, so I don't have
  6609. to take down the network when I approve a new router
  6610. - Default server config file has explicit Address line to specify fqdn
  6611. o Buffers:
  6612. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  6613. - Make listener connections not ever alloc bufs
  6614. o Autoconf improvements:
  6615. - don't clobber an external CFLAGS in ./configure
  6616. - Make install now works
  6617. - create var/lib/tor on make install
  6618. - autocreate a tor.sh initscript to help distribs
  6619. - autocreate the torrc and sample-server-torrc with correct paths
  6620. o Log files and Daemonizing now work:
  6621. - If --DebugLogFile is specified, log to it at -l debug
  6622. - If --LogFile is specified, use it instead of commandline
  6623. - If --RunAsDaemon is set, tor forks and backgrounds on startup