ChangeLog 1009 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591
  1. Changes in version 0.2.7.4-rc - 2015-10-21
  2. Tor 0.2.7.4-rc is the second release candidate in the 0.2.7 series. It
  3. fixes some important memory leaks, and a scary-looking (but mostly
  4. harmless in practice) invalid-read bug. It also has a few small
  5. bugfixes, notably fixes for compilation and portability on different
  6. platforms. If no further significant bounds are found, the next
  7. release will the the official stable release.
  8. o Major bugfixes (security, correctness):
  9. - Fix an error that could cause us to read 4 bytes before the
  10. beginning of an openssl string. This bug could be used to cause
  11. Tor to crash on systems with unusual malloc implementations, or
  12. systems with unusual hardening installed. Fixes bug 17404; bugfix
  13. on 0.2.3.6-alpha.
  14. o Major bugfixes (correctness):
  15. - Fix a use-after-free bug in validate_intro_point_failure(). Fixes
  16. bug 17401; bugfix on 0.2.7.3-rc.
  17. o Major bugfixes (memory leaks):
  18. - Fix a memory leak in ed25519 batch signature checking. Fixes bug
  19. 17398; bugfix on 0.2.6.1-alpha.
  20. - Fix a memory leak in rend_cache_failure_entry_free(). Fixes bug
  21. 17402; bugfix on 0.2.7.3-rc.
  22. - Fix a memory leak when reading an expired signing key from disk.
  23. Fixes bug 17403; bugfix on 0.2.7.2-rc.
  24. o Minor features (geoIP):
  25. - Update geoip and geoip6 to the October 9 2015 Maxmind GeoLite2
  26. Country database.
  27. o Minor bugfixes (compilation):
  28. - Repair compilation with the most recent (unreleased, alpha)
  29. vesions of OpenSSL 1.1. Fixes part of ticket 17237.
  30. - Fix an integer overflow warning in test_crypto_slow.c. Fixes bug
  31. 17251; bugfix on 0.2.7.2-alpha.
  32. - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
  33. bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
  34. o Minor bugfixes (portability):
  35. - Use libexecinfo on FreeBSD to enable backtrace support. Fixes part
  36. of bug 17151; bugfix on 0.2.5.2-alpha. Patch from Marcin Cieślak.
  37. o Minor bugfixes (sandbox):
  38. - Add the "hidserv-stats" filename to our sandbox filter for the
  39. HiddenServiceStatistics option to work properly. Fixes bug 17354;
  40. bugfix on tor-0.2.6.2-alpha. Patch from David Goulet.
  41. o Minor bugfixes (testing):
  42. - Add unit tests for get_interface_address* failure cases. Fixes bug
  43. 17173; bugfix on 0.2.7.3-rc. Patch by fk/teor.
  44. - Fix breakage when running 'make check' with BSD make. Fixes bug
  45. 17154; bugfix on 0.2.7.3-rc. Patch by Marcin Cieślak.
  46. - Make the get_ifaddrs_* unit tests more tolerant of different
  47. network configurations. (Don't assume every test box has an IPv4
  48. address, and don't assume every test box has a non-localhost
  49. address.) Fixes bug 17255; bugfix on 0.2.7.3-rc. Patch by "teor".
  50. - Skip backtrace tests when backtrace support is not compiled in.
  51. Fixes part of bug 17151; bugfix on 0.2.7.1-alpha. Patch from
  52. Marcin Cieślak.
  53. o Documentation:
  54. - Fix capitalization of SOCKS in sample torrc. Closes ticket 15609.
  55. - Note that HiddenServicePorts can take a unix domain socket. Closes
  56. ticket 17364.
  57. Changes in version 0.2.7.3-rc - 2015-09-25
  58. Tor 0.2.7.3-rc is the first release candidate in the 0.2.7 series. It
  59. contains numerous usability fixes for Ed25519 keys, safeguards against
  60. several misconfiguration problems, significant simplifications to
  61. Tor's callgraph, and numerous bugfixes and small features.
  62. This is the most tested release of Tor to date. The unit tests cover
  63. 39.40% of the code, and the integration tests (accessible with "make
  64. test-full-online", requiring stem and chutney and a network
  65. connection) raise the coverage to 64.49%.
  66. o Major features (security, hidden services):
  67. - Hidden services, if using the EntryNodes option, are required to
  68. use more than one EntryNode, in order to avoid a guard discovery
  69. attack. (This would only affect people who had configured hidden
  70. services and manually specified the EntryNodes option with a
  71. single entry-node. The impact was that it would be easy to
  72. remotely identify the guard node used by such a hidden service.
  73. See ticket for more information.) Fixes ticket 14917.
  74. o Major features (Ed25519 keys, keypinning):
  75. - The key-pinning option on directory authorities is now advisory-
  76. only by default. In a future version, or when the AuthDirPinKeys
  77. option is set, pins are enforced again. Disabling key-pinning
  78. seemed like a good idea so that we can survive the fallout of any
  79. usability problems associated with Ed25519 keys. Closes
  80. ticket 17135.
  81. o Major features (Ed25519 performance):
  82. - Improve the speed of Ed25519 operations and Curve25519 keypair
  83. generation when built targeting 32 bit x86 platforms with SSE2
  84. available. Implements ticket 16535.
  85. - Improve the runtime speed of Ed25519 signature verification by
  86. using Ed25519-donna's batch verification support. Implements
  87. ticket 16533.
  88. o Major features (performance testing):
  89. - The test-network.sh script now supports performance testing.
  90. Requires corresponding chutney performance testing changes. Patch
  91. by "teor". Closes ticket 14175.
  92. o Major features (relay, Ed25519):
  93. - Significant usability improvements for Ed25519 key management. Log
  94. messages are better, and the code can recover from far more
  95. failure conditions. Thanks to "s7r" for reporting and diagnosing
  96. so many of these!
  97. - Add a new OfflineMasterKey option to tell Tor never to try loading
  98. or generating a secret Ed25519 identity key. You can use this in
  99. combination with tor --keygen to manage offline and/or encrypted
  100. Ed25519 keys. Implements ticket 16944.
  101. - Add a --newpass option to allow changing or removing the
  102. passphrase of an encrypted key with tor --keygen. Implements part
  103. of ticket 16769.
  104. - On receiving a HUP signal, check to see whether the Ed25519
  105. signing key has changed, and reload it if so. Closes ticket 16790.
  106. o Major bugfixes (relay, Ed25519):
  107. - Avoid crashing on 'tor --keygen'. Fixes bug 16679; bugfix on
  108. 0.2.7.2-alpha. Reported by "s7r".
  109. - Improve handling of expired signing keys with offline master keys.
  110. Fixes bug 16685; bugfix on 0.2.7.2-alpha. Reported by "s7r".
  111. o Minor features (client-side privacy):
  112. - New KeepAliveIsolateSOCKSAuth option to indefinitely extend circuit
  113. lifespan when IsolateSOCKSAuth and streams with SOCKS
  114. authentication are attached to the circuit. This allows
  115. applications like TorBrowser to manage circuit lifetime on their
  116. own. Implements feature 15482.
  117. - When logging malformed hostnames from SOCKS5 requests, respect
  118. SafeLogging configuration. Fixes bug 16891; bugfix on 0.1.1.16-rc.
  119. o Minor features (compilation):
  120. - Give a warning as early as possible when trying to build with an
  121. unsupported OpenSSL version. Closes ticket 16901.
  122. - Fail during configure if we're trying to build against an OpenSSL
  123. built without ECC support. Fixes bug 17109, bugfix on 0.2.7.1-alpha
  124. which started requiring ECC.
  125. o Minor features (geoip):
  126. - Update geoip and geoip6 to the September 3 2015 Maxmind GeoLite2
  127. Country database.
  128. o Minor features (hidden services):
  129. - Relays need to have the Fast flag to get the HSDir flag. As this
  130. is being written, we'll go from 2745 HSDirs down to 2342, a ~14%
  131. drop. This change should make some attacks against the hidden
  132. service directory system harder. Fixes ticket 15963.
  133. - Turn on hidden service statistics collection by setting the torrc
  134. option HiddenServiceStatistics to "1" by default. (This keeps
  135. track only of the fraction of traffic used by hidden services, and
  136. the total number of hidden services in existence.) Closes
  137. ticket 15254.
  138. - Client now uses an introduction point failure cache to know when
  139. to fetch or keep a descriptor in their cache. Previously, failures
  140. were recorded implicitly, but not explicitly remembered. Closes
  141. ticket 16389.
  142. o Minor features (testing, authorities, documentation):
  143. - New TestingDirAuthVote{Exit,Guard,HSDir}IsStrict flags to
  144. explicitly manage consensus flags in testing networks. Patch by
  145. "robgjansen", modified by "teor". Implements part of ticket 14882.
  146. o Minor bugfixes (security, exit policies):
  147. - ExitPolicyRejectPrivate now also rejects the relay's published
  148. IPv6 address (if any), and any publicly routable IPv4 or IPv6
  149. addresses on any local interfaces. ticket 17027. Patch by "teor".
  150. Fixes bug 17027; bugfix on 0.2.0.11-alpha.
  151. o Minor bug fixes (torrc exit policies):
  152. - In torrc, "accept6 *" and "reject6 *" ExitPolicy lines now only
  153. produce IPv6 wildcard addresses. Previously they would produce
  154. both IPv4 and IPv6 wildcard addresses. Patch by "teor". Fixes part
  155. of bug 16069; bugfix on 0.2.4.7-alpha.
  156. - When parsing torrc ExitPolicies, we now warn for a number of cases
  157. where the user's intent is likely to differ from Tor's actual
  158. behavior. These include: using an IPv4 address with an accept6 or
  159. reject6 line; using "private" on an accept6 or reject6 line; and
  160. including any ExitPolicy lines after accept *:* or reject *:*.
  161. Related to ticket 16069.
  162. - When parsing torrc ExitPolicies, we now issue an info-level
  163. message when expanding an "accept/reject *" line to include both
  164. IPv4 and IPv6 wildcard addresses. Related to ticket 16069.
  165. - In each instance above, usage advice is provided to avoid the
  166. message. Resolves ticket 16069. Patch by "teor". Fixes part of bug
  167. 16069; bugfix on 0.2.4.7-alpha.
  168. o Minor bugfixes (authority):
  169. - Don't assign "HSDir" to a router if it isn't Valid and Running.
  170. Fixes bug 16524; bugfix on 0.2.7.2-alpha.
  171. - Downgrade log messages about Ed25519 key issues if they are in old
  172. cached router descriptors. Fixes part of bug 16286; bugfix
  173. on 0.2.7.2-alpha.
  174. - When we find an Ed25519 key issue in a cached descriptor, stop
  175. saying the descriptor was just "uploaded". Fixes another part of
  176. bug 16286; bugfix on 0.2.7.2-alpha.
  177. o Minor bugfixes (control port):
  178. - Repair a warning and a spurious result when getting the maximum
  179. number of file descriptors from the controller. Fixes bug 16697;
  180. bugfix on 0.2.7.2-alpha.
  181. o Minor bugfixes (correctness):
  182. - When calling channel_free_list(), avoid calling smartlist_remove()
  183. while inside a FOREACH loop. This partially reverts commit
  184. 17356fe7fd96af where the correct SMARTLIST_DEL_CURRENT was
  185. incorrectly removed. Fixes bug 16924; bugfix on 0.2.4.4-alpha.
  186. o Minor bugfixes (documentation):
  187. - Advise users on how to configure separate IPv4 and IPv6 exit
  188. policies in the manpage and sample torrcs. Related to ticket 16069.
  189. - Fix the usage message of tor-resolve(1) so that it no longer lists
  190. the removed -F option. Fixes bug 16913; bugfix on 0.2.2.28-beta.
  191. - Fix an error in the manual page and comments for
  192. TestingDirAuthVoteHSDir[IsStrict], which suggested that a HSDir
  193. required "ORPort connectivity". While this is true, it is in no
  194. way unique to the HSDir flag. Of all the flags, only HSDirs need a
  195. DirPort configured in order for the authorities to assign that
  196. particular flag. Patch by "teor". Fixed as part of 14882; bugfix
  197. on 0.2.6.3-alpha.
  198. o Minor bugfixes (Ed25519):
  199. - Fix a memory leak when reading router descriptors with expired
  200. Ed25519 certificates. Fixes bug 16539; bugfix on 0.2.7.2-alpha.
  201. o Minor bugfixes (linux seccomp2 sandbox):
  202. - Allow bridge authorities to run correctly under the seccomp2
  203. sandbox. Fixes bug 16964; bugfix on 0.2.5.1-alpha.
  204. - Allow routers with ed25519 keys to run correctly under the
  205. seccomp2 sandbox. Fixes bug 16965; bugfix on 0.2.7.2-alpha.
  206. o Minor bugfixes (open file limit):
  207. - Fix set_max_file_descriptors() to set by default the max open file
  208. limit to the current limit when setrlimit() fails. Fixes bug
  209. 16274; bugfix on tor- 0.2.0.10-alpha. Patch by dgoulet.
  210. o Minor bugfixes (portability):
  211. - Try harder to normalize the exit status of the Tor process to the
  212. standard-provided range. Fixes bug 16975; bugfix on every version
  213. of Tor ever.
  214. - Check correctly for Windows socket errors in the workqueue
  215. backend. Fixes bug 16741; bugfix on 0.2.6.3-alpha.
  216. - Fix the behavior of crypto_rand_time_range() when told to consider
  217. times before 1970. (These times were possible when running in a
  218. simulated network environment where time()'s output starts at
  219. zero.) Fixes bug 16980; bugfix on 0.2.7.1-alpha.
  220. - Restore correct operation of TLS client-cipher detection on
  221. OpenSSL 1.1. Fixes bug 14047; bugfix on 0.2.7.2-alpha.
  222. o Minor bugfixes (relay):
  223. - Ensure that worker threads actually exit when a fatal error or
  224. shutdown is indicated. This fix doesn't currently affect the
  225. behavior of Tor, because Tor workers never indicates fatal error
  226. or shutdown except in the unit tests. Fixes bug 16868; bugfix
  227. on 0.2.6.3-alpha.
  228. - Unblock threads before releasing the work queue mutex to ensure
  229. predictable scheduling behavior. Fixes bug 16644; bugfix
  230. on 0.2.6.3-alpha.
  231. o Code simplification and refactoring:
  232. - Change the function that's called when we need to retry all
  233. downloads so that it only reschedules the downloads to happen
  234. immediately, rather than launching them all at once itself. This
  235. further simplifies Tor's callgraph.
  236. - Move some format-parsing functions out of crypto.c and
  237. crypto_curve25519.c into crypto_format.c and/or util_format.c.
  238. - Move the client-only parts of init_keys() into a separate
  239. function. Closes ticket 16763.
  240. - Simplify the microdesc_free() implementation so that it no longer
  241. appears (to code analysis tools) to potentially invoke a huge
  242. suite of other microdesc functions.
  243. - Simply the control graph further by deferring the inner body of
  244. directory_all_unreachable() into a callback. Closes ticket 16762.
  245. - Treat the loss of an owning controller as equivalent to a SIGTERM
  246. signal. This removes a tiny amount of duplicated code, and
  247. simplifies our callgraph. Closes ticket 16788.
  248. - When generating an event to send to the controller, we no longer
  249. put the event over the network immediately. Instead, we queue
  250. these events, and use a Libevent callback to deliver them. This
  251. change simplifies Tor's callgraph by reducing the number of
  252. functions from which all other Tor functions are reachable. Closes
  253. ticket 16695.
  254. - Wrap Windows-only C files inside '#ifdef _WIN32' so that tools
  255. that try to scan or compile every file on Unix won't decide that
  256. they are broken.
  257. - Remove the unused "nulterminate" argument from buf_pullup().
  258. o Documentation:
  259. - Recommend a 40 GB example AccountingMax in torrc.sample rather
  260. than a 4 GB max. Closes ticket 16742.
  261. - Include the TUNING document in our source tarball. It is referred
  262. to in the ChangeLog and an error message. Fixes bug 16929; bugfix
  263. on 0.2.6.1-alpha.
  264. o Removed code:
  265. - The internal pure-C tor-fw-helper tool is now removed from the Tor
  266. distribution, in favor of the pure-Go clone available from
  267. https://gitweb.torproject.org/tor-fw-helper.git/ . The libraries
  268. used by the C tor-fw-helper are not, in our opinion, very
  269. confidence- inspiring in their secure-programming techniques.
  270. Closes ticket 13338.
  271. - Remove the code that would try to aggressively flush controller
  272. connections while writing to them. This code was introduced in
  273. 0.1.2.7-alpha, in order to keep output buffers from exceeding
  274. their limits. But there is no longer a maximum output buffer size,
  275. and flushing data in this way caused some undesirable recursions
  276. in our call graph. Closes ticket 16480.
  277. o Testing:
  278. - Make "bridges+hs" the default test network. This tests almost all
  279. tor functionality during make test-network, while allowing tests
  280. to succeed on non-IPv6 systems. Requires chutney commit 396da92 in
  281. test-network-bridges-hs. Closes tickets 16945 (tor) and 16946
  282. (chutney). Patches by "teor".
  283. - Autodetect CHUTNEY_PATH if the chutney and Tor sources are side-
  284. by-side in the same parent directory. Closes ticket 16903. Patch
  285. by "teor".
  286. - Use environment variables rather than autoconf substitutions to
  287. send variables from the build system to the test scripts. This
  288. change should be easier to maintain, and cause 'make distcheck' to
  289. work better than before. Fixes bug 17148.
  290. - Add a new set of callgraph analysis scripts that use clang to
  291. produce a list of which Tor functions are reachable from which
  292. other Tor functions. We're planning to use these to help simplify
  293. our code structure by identifying illogical dependencies.
  294. - Add new 'test-full' and 'test-full-online' targets to run all
  295. tests, including integration tests with stem and chutney.
  296. - Make the test-workqueue test work on Windows by initializing the
  297. network before we begin.
  298. - New make target (make test-network-all) to run multiple applicable
  299. chutney test cases. Patch from Teor; closes 16953.
  300. - Unit test dns_resolve(), dns_clip_ttl() and dns_get_expiry_ttl()
  301. functions in dns.c. Implements a portion of ticket 16831.
  302. - When building Tor with testing coverage enabled, run Chutney tests
  303. (if any) using the 'tor-cov' coverage binary.
  304. - When running test-network or test-stem, check for the absence of
  305. stem/chutney before doing any build operations.
  306. Changes in version 0.2.7.2-alpha - 2015-07-27
  307. This, the second alpha in the Tor 0.2.7 series, has a number of new
  308. features, including a way to manually pick the number of introduction
  309. points for hidden services, and the much stronger Ed25519 signing key
  310. algorithm for regular Tor relays (including support for encrypted
  311. offline identity keys in the new algorithm).
  312. Support for Ed25519 on relays is currently limited to signing router
  313. descriptors; later alphas in this series will extend Ed25519 key
  314. support to more parts of the Tor protocol.
  315. o Major features (Ed25519 identity keys, Proposal 220):
  316. - All relays now maintain a stronger identity key, using the Ed25519
  317. elliptic curve signature format. This master key is designed so
  318. that it can be kept offline. Relays also generate an online
  319. signing key, and a set of other Ed25519 keys and certificates.
  320. These are all automatically regenerated and rotated as needed.
  321. Implements part of ticket 12498.
  322. - Directory authorities now vote on Ed25519 identity keys along with
  323. RSA1024 keys. Implements part of ticket 12498.
  324. - Directory authorities track which Ed25519 identity keys have been
  325. used with which RSA1024 identity keys, and do not allow them to
  326. vary freely. Implements part of ticket 12498.
  327. - Microdescriptors now include Ed25519 identity keys. Implements
  328. part of ticket 12498.
  329. - Add support for offline encrypted Ed25519 master keys. To use this
  330. feature on your tor relay, run "tor --keygen" to make a new master
  331. key (or to make a new signing key if you already have a master
  332. key). Closes ticket 13642.
  333. o Major features (Hidden services):
  334. - Add the torrc option HiddenServiceNumIntroductionPoints, to
  335. specify a fixed number of introduction points. Its maximum value
  336. is 10 and default is 3. Using this option can increase a hidden
  337. service's reliability under load, at the cost of making it more
  338. visible that the hidden service is facing extra load. Closes
  339. ticket 4862.
  340. - Remove the adaptive algorithm for choosing the number of
  341. introduction points, which used to change the number of
  342. introduction points (poorly) depending on the number of
  343. connections the HS sees. Closes ticket 4862.
  344. o Major features (onion key cross-certification):
  345. - Relay descriptors now include signatures of their own identity
  346. keys, made using the TAP and ntor onion keys. These signatures
  347. allow relays to prove ownership of their own onion keys. Because
  348. of this change, microdescriptors will no longer need to include
  349. RSA identity keys. Implements proposal 228; closes ticket 12499.
  350. o Major features (performance):
  351. - Improve the runtime speed of Ed25519 operations by using the
  352. public-domain Ed25519-donna by Andrew M. ("floodyberry").
  353. Implements ticket 16467.
  354. - Improve the runtime speed of the ntor handshake by using an
  355. optimized curve25519 basepoint scalarmult implementation from the
  356. public-domain Ed25519-donna by Andrew M. ("floodyberry"), based on
  357. ideas by Adam Langley. Implements ticket 9663.
  358. o Major bugfixes (client-side privacy, also in 0.2.6.9):
  359. - Properly separate out each SOCKSPort when applying stream
  360. isolation. The error occurred because each port's session group
  361. was being overwritten by a default value when the listener
  362. connection was initialized. Fixes bug 16247; bugfix on
  363. 0.2.6.3-alpha. Patch by "jojelino".
  364. o Major bugfixes (hidden service clients, stability, also in 0.2.6.10):
  365. - Stop refusing to store updated hidden service descriptors on a
  366. client. This reverts commit 9407040c59218 (which indeed fixed bug
  367. 14219, but introduced a major hidden service reachability
  368. regression detailed in bug 16381). This is a temporary fix since
  369. we can live with the minor issue in bug 14219 (it just results in
  370. some load on the network) but the regression of 16381 is too much
  371. of a setback. First-round fix for bug 16381; bugfix
  372. on 0.2.6.3-alpha.
  373. o Major bugfixes (hidden services):
  374. - When cannibalizing a circuit for an introduction point, always
  375. extend to the chosen exit node (creating a 4 hop circuit).
  376. Previously Tor would use the current circuit exit node, which
  377. changed the original choice of introduction point, and could cause
  378. the hidden service to skip excluded introduction points or
  379. reconnect to a skipped introduction point. Fixes bug 16260; bugfix
  380. on 0.1.0.1-rc.
  381. o Major bugfixes (open file limit):
  382. - The open file limit wasn't checked before calling
  383. tor_accept_socket_nonblocking(), which would make Tor exceed the
  384. limit. Now, before opening a new socket, Tor validates the open
  385. file limit just before, and if the max has been reached, return an
  386. error. Fixes bug 16288; bugfix on 0.1.1.1-alpha.
  387. o Major bugfixes (stability, also in 0.2.6.10):
  388. - Stop crashing with an assertion failure when parsing certain kinds
  389. of malformed or truncated microdescriptors. Fixes bug 16400;
  390. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  391. by "cypherpunks_backup".
  392. - Stop random client-side assertion failures that could occur when
  393. connecting to a busy hidden service, or connecting to a hidden
  394. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  395. on 0.1.0.1-rc.
  396. o Minor features (directory authorities, security, also in 0.2.6.9):
  397. - The HSDir flag given by authorities now requires the Stable flag.
  398. For the current network, this results in going from 2887 to 2806
  399. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  400. attack by raising the effort for a relay to become Stable to
  401. require at the very least 7 days, while maintaining the 96 hours
  402. uptime requirement for HSDir. Implements ticket 8243.
  403. o Minor features (client):
  404. - Relax the validation of hostnames in SOCKS5 requests, allowing the
  405. character '_' to appear, in order to cope with domains observed in
  406. the wild that are serving non-RFC compliant records. Resolves
  407. ticket 16430.
  408. - Relax the validation done to hostnames in SOCKS5 requests, and
  409. allow a single trailing '.' to cope with clients that pass FQDNs
  410. using that syntax to explicitly indicate that the domain name is
  411. fully-qualified. Fixes bug 16674; bugfix on 0.2.6.2-alpha.
  412. - Add GroupWritable and WorldWritable options to unix-socket based
  413. SocksPort and ControlPort options. These options apply to a single
  414. socket, and override {Control,Socks}SocketsGroupWritable. Closes
  415. ticket 15220.
  416. o Minor features (control protocol):
  417. - Support network-liveness GETINFO key and NETWORK_LIVENESS event in
  418. the control protocol. Resolves ticket 15358.
  419. o Minor features (directory authorities):
  420. - Directory authorities no longer vote against the "Fast", "Stable",
  421. and "HSDir" flags just because they were going to vote against
  422. "Running": if the consensus turns out to be that the router was
  423. running, then the authority's vote should count. Patch from Peter
  424. Retzlaff; closes issue 8712.
  425. o Minor features (geoip, also in 0.2.6.10):
  426. - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
  427. - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
  428. o Minor features (hidden services):
  429. - Add the new options "HiddenServiceMaxStreams" and
  430. "HiddenServiceMaxStreamsCloseCircuit" to allow hidden services to
  431. limit the maximum number of simultaneous streams per circuit, and
  432. optionally tear down the circuit when the limit is exceeded. Part
  433. of ticket 16052.
  434. o Minor features (portability):
  435. - Use C99 variadic macros when the compiler is not GCC. This avoids
  436. failing compilations on MSVC, and fixes a log-file-based race
  437. condition in our old workarounds. Original patch from Gisle Vanem.
  438. o Minor bugfixes (compilation, also in 0.2.6.9):
  439. - Build with --enable-systemd correctly when libsystemd is
  440. installed, but systemd is not. Fixes bug 16164; bugfix on
  441. 0.2.6.3-alpha. Patch from Peter Palfrader.
  442. o Minor bugfixes (controller):
  443. - Add the descriptor ID in each HS_DESC control event. It was
  444. missing, but specified in control-spec.txt. Fixes bug 15881;
  445. bugfix on 0.2.5.2-alpha.
  446. o Minor bugfixes (crypto error-handling, also in 0.2.6.10):
  447. - Check for failures from crypto_early_init, and refuse to continue.
  448. A previous typo meant that we could keep going with an
  449. uninitialized crypto library, and would have OpenSSL initialize
  450. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  451. when implementing ticket 4900. Patch by "teor".
  452. o Minor bugfixes (hidden services):
  453. - Fix a crash when reloading configuration while at least one
  454. configured and one ephemeral hidden service exists. Fixes bug
  455. 16060; bugfix on 0.2.7.1-alpha.
  456. - Avoid crashing with a double-free bug when we create an ephemeral
  457. hidden service but adding it fails for some reason. Fixes bug
  458. 16228; bugfix on 0.2.7.1-alpha.
  459. o Minor bugfixes (Linux seccomp2 sandbox):
  460. - Use the sandbox in tor_open_cloexec whether or not O_CLOEXEC is
  461. defined. Patch by "teor". Fixes bug 16515; bugfix on 0.2.3.1-alpha.
  462. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.10):
  463. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  464. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  465. on 0.2.6.3-alpha. Patch from "teor".
  466. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.9):
  467. - Fix sandboxing to work when running as a relay, by allowing the
  468. renaming of secret_id_key, and allowing the eventfd2 and futex
  469. syscalls. Fixes bug 16244; bugfix on 0.2.6.1-alpha. Patch by
  470. Peter Palfrader.
  471. - Allow systemd connections to work with the Linux seccomp2 sandbox
  472. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  473. Peter Palfrader.
  474. o Minor bugfixes (relay):
  475. - Fix a rarely-encountered memory leak when failing to initialize
  476. the thread pool. Fixes bug 16631; bugfix on 0.2.6.3-alpha. Patch
  477. from "cypherpunks".
  478. o Minor bugfixes (systemd):
  479. - Fix an accidental formatting error that broke the systemd
  480. configuration file. Fixes bug 16152; bugfix on 0.2.7.1-alpha.
  481. - Tor's systemd unit file no longer contains extraneous spaces.
  482. These spaces would sometimes confuse tools like deb-systemd-
  483. helper. Fixes bug 16162; bugfix on 0.2.5.5-alpha.
  484. o Minor bugfixes (tests):
  485. - Use the configured Python executable when running test-stem-full.
  486. Fixes bug 16470; bugfix on 0.2.7.1-alpha.
  487. o Minor bugfixes (tests, also in 0.2.6.9):
  488. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  489. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  490. o Minor bugfixes (threads, comments):
  491. - Always initialize return value in compute_desc_id in rendcommon.c
  492. Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  493. - Check for NULL values in getinfo_helper_onions(). Patch by "teor".
  494. Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  495. - Remove undefined directive-in-macro in test_util_writepid clang
  496. 3.7 complains that using a preprocessor directive inside a macro
  497. invocation in test_util_writepid in test_util.c is undefined.
  498. Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  499. o Code simplification and refactoring:
  500. - Define WINVER and _WIN32_WINNT centrally, in orconfig.h, in order
  501. to ensure they remain consistent and visible everywhere.
  502. - Remove some vestigial workarounds for the MSVC6 compiler. We
  503. haven't supported that in ages.
  504. - The link authentication code has been refactored for better
  505. testability and reliability. It now uses code generated with the
  506. "trunnel" binary encoding generator, to reduce the risk of bugs
  507. due to programmer error. Done as part of ticket 12498.
  508. o Documentation:
  509. - Include a specific and (hopefully) accurate documentation of the
  510. torrc file's meta-format in doc/torrc_format.txt. This is mainly
  511. of interest to people writing programs to parse or generate torrc
  512. files. This document is not a commitment to long-term
  513. compatibility; some aspects of the current format are a bit
  514. ridiculous. Closes ticket 2325.
  515. o Removed features:
  516. - Tor no longer supports copies of OpenSSL that are missing support
  517. for Elliptic Curve Cryptography. (We began using ECC when
  518. available in 0.2.4.8-alpha, for more safe and efficient key
  519. negotiation.) In particular, support for at least one of P256 or
  520. P224 is now required, with manual configuration needed if only
  521. P224 is available. Resolves ticket 16140.
  522. - Tor no longer supports versions of OpenSSL before 1.0. (If you are
  523. on an operating system that has not upgraded to OpenSSL 1.0 or
  524. later, and you compile Tor from source, you will need to install a
  525. more recent OpenSSL to link Tor against.) These versions of
  526. OpenSSL are still supported by the OpenSSL, but the numerous
  527. cryptographic improvements in later OpenSSL releases makes them a
  528. clear choice. Resolves ticket 16034.
  529. - Remove the HidServDirectoryV2 option. Now all relays offer to
  530. store hidden service descriptors. Related to 16543.
  531. - Remove the VoteOnHidServDirectoriesV2 option, since all
  532. authorities have long set it to 1. Closes ticket 16543.
  533. o Testing:
  534. - Document use of coverity, clang static analyzer, and clang dynamic
  535. undefined behavior and address sanitizers in doc/HACKING. Include
  536. detailed usage instructions in the blacklist. Patch by "teor".
  537. Closes ticket 15817.
  538. - The link authentication protocol code now has extensive tests.
  539. - The relay descriptor signature testing code now has
  540. extensive tests.
  541. - The test_workqueue program now runs faster, and is enabled by
  542. default as a part of "make check".
  543. - Now that OpenSSL has its own scrypt implementation, add an unit
  544. test that checks for interoperability between libscrypt_scrypt()
  545. and OpenSSL's EVP_PBE_scrypt() so that we could not use libscrypt
  546. and rely on EVP_PBE_scrypt() whenever possible. Resolves
  547. ticket 16189.
  548. Changes in version 0.2.6.10 - 2015-07-12
  549. Tor version 0.2.6.10 fixes some significant stability and hidden
  550. service client bugs, bulletproofs the cryptography init process, and
  551. fixes a bug when using the sandbox code with some older versions of
  552. Linux. Everyone running an older version, especially an older version
  553. of 0.2.6, should upgrade.
  554. o Major bugfixes (hidden service clients, stability):
  555. - Stop refusing to store updated hidden service descriptors on a
  556. client. This reverts commit 9407040c59218 (which indeed fixed bug
  557. 14219, but introduced a major hidden service reachability
  558. regression detailed in bug 16381). This is a temporary fix since
  559. we can live with the minor issue in bug 14219 (it just results in
  560. some load on the network) but the regression of 16381 is too much
  561. of a setback. First-round fix for bug 16381; bugfix
  562. on 0.2.6.3-alpha.
  563. o Major bugfixes (stability):
  564. - Stop crashing with an assertion failure when parsing certain kinds
  565. of malformed or truncated microdescriptors. Fixes bug 16400;
  566. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  567. by "cypherpunks_backup".
  568. - Stop random client-side assertion failures that could occur when
  569. connecting to a busy hidden service, or connecting to a hidden
  570. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  571. on 0.1.0.1-rc.
  572. o Minor features (geoip):
  573. - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
  574. - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
  575. o Minor bugfixes (crypto error-handling):
  576. - Check for failures from crypto_early_init, and refuse to continue.
  577. A previous typo meant that we could keep going with an
  578. uninitialized crypto library, and would have OpenSSL initialize
  579. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  580. when implementing ticket 4900. Patch by "teor".
  581. o Minor bugfixes (Linux seccomp2 sandbox):
  582. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  583. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  584. on 0.2.6.3-alpha. Patch from "teor".
  585. Changes in version 0.2.6.9 - 2015-06-11
  586. Tor 0.2.6.9 fixes a regression in the circuit isolation code, increases the
  587. requirements for receiving an HSDir flag, and addresses some other small
  588. bugs in the systemd and sandbox code. Clients using circuit isolation
  589. should upgrade; all directory authorities should upgrade.
  590. o Major bugfixes (client-side privacy):
  591. - Properly separate out each SOCKSPort when applying stream
  592. isolation. The error occurred because each port's session group was
  593. being overwritten by a default value when the listener connection
  594. was initialized. Fixes bug 16247; bugfix on 0.2.6.3-alpha. Patch
  595. by "jojelino".
  596. o Minor feature (directory authorities, security):
  597. - The HSDir flag given by authorities now requires the Stable flag.
  598. For the current network, this results in going from 2887 to 2806
  599. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  600. attack by raising the effort for a relay to become Stable which
  601. takes at the very least 7 days to do so and by keeping the 96
  602. hours uptime requirement for HSDir. Implements ticket 8243.
  603. o Minor bugfixes (compilation):
  604. - Build with --enable-systemd correctly when libsystemd is
  605. installed, but systemd is not. Fixes bug 16164; bugfix on
  606. 0.2.6.3-alpha. Patch from Peter Palfrader.
  607. o Minor bugfixes (Linux seccomp2 sandbox):
  608. - Fix sandboxing to work when running as a relaymby renaming of
  609. secret_id_key, and allowing the eventfd2 and futex syscalls. Fixes
  610. bug 16244; bugfix on 0.2.6.1-alpha. Patch by Peter Palfrader.
  611. - Allow systemd connections to work with the Linux seccomp2 sandbox
  612. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  613. Peter Palfrader.
  614. o Minor bugfixes (tests):
  615. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  616. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  617. Changes in version 0.2.6.8 - 2015-05-21
  618. Tor 0.2.6.8 fixes a bit of dodgy code in parsing INTRODUCE2 cells, and
  619. fixes an authority-side bug in assigning the HSDir flag. All directory
  620. authorities should upgrade.
  621. o Major bugfixes (hidden services, backport from 0.2.7.1-alpha):
  622. - Revert commit that made directory authorities assign the HSDir
  623. flag to relay without a DirPort; this was bad because such relays
  624. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  625. on tor-0.2.6.3-alpha.
  626. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  627. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  628. a client authorized hidden service. Fixes bug 15823; bugfix
  629. on 0.2.1.6-alpha.
  630. o Minor features (geoip):
  631. - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
  632. - Update geoip6 to the April 8 2015 Maxmind GeoLite2
  633. Country database.
  634. Changes in version 0.2.7.1-alpha - 2015-05-12
  635. Tor 0.2.7.1-alpha is the first alpha release in its series. It
  636. includes numerous small features and bugfixes against previous Tor
  637. versions, and numerous small infrastructure improvements. The most
  638. notable features are several new ways for controllers to interact with
  639. the hidden services subsystem.
  640. o New system requirements:
  641. - Tor no longer includes workarounds to support Libevent versions
  642. before 1.3e. Libevent 2.0 or later is recommended. Closes
  643. ticket 15248.
  644. o Major features (controller):
  645. - Add the ADD_ONION and DEL_ONION commands that allow the creation
  646. and management of hidden services via the controller. Closes
  647. ticket 6411.
  648. - New "GETINFO onions/current" and "GETINFO onions/detached"
  649. commands to get information about hidden services created via the
  650. controller. Part of ticket 6411.
  651. - New HSFETCH command to launch a request for a hidden service
  652. descriptor. Closes ticket 14847.
  653. - New HSPOST command to upload a hidden service descriptor. Closes
  654. ticket 3523. Patch by "DonnchaC".
  655. o Major bugfixes (hidden services):
  656. - Revert commit that made directory authorities assign the HSDir
  657. flag to relay without a DirPort; this was bad because such relays
  658. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  659. on tor-0.2.6.3-alpha.
  660. o Minor features (clock-jump tolerance):
  661. - Recover better when our clock jumps back many hours, like might
  662. happen for Tails or Whonix users who start with a very wrong
  663. hardware clock, use Tor to discover a more accurate time, and then
  664. fix their clock. Resolves part of ticket 8766.
  665. o Minor features (command-line interface):
  666. - Make --hash-password imply --hush to prevent unnecessary noise.
  667. Closes ticket 15542. Patch from "cypherpunks".
  668. - Print a warning whenever we find a relative file path being used
  669. as torrc option. Resolves issue 14018.
  670. o Minor features (controller):
  671. - Add DirAuthority lines for default directory authorities to the
  672. output of the "GETINFO config/defaults" command if not already
  673. present. Implements ticket 14840.
  674. - Controllers can now use "GETINFO hs/client/desc/id/..." to
  675. retrieve items from the client's hidden service descriptor cache.
  676. Closes ticket 14845.
  677. - Implement a new controller command "GETINFO status/fresh-relay-
  678. descs" to fetch a descriptor/extrainfo pair that was generated on
  679. demand just for the controller's use. Implements ticket 14784.
  680. o Minor features (DoS-resistance):
  681. - Make it harder for attackers to overload hidden services with
  682. introductions, by blocking multiple introduction requests on the
  683. same circuit. Resolves ticket 15515.
  684. o Minor features (geoip):
  685. - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
  686. - Update geoip6 to the April 8 2015 Maxmind GeoLite2
  687. Country database.
  688. o Minor features (HS popularity countermeasure):
  689. - To avoid leaking HS popularity, don't cycle the introduction point
  690. when we've handled a fixed number of INTRODUCE2 cells but instead
  691. cycle it when a random number of introductions is reached, thus
  692. making it more difficult for an attacker to find out the amount of
  693. clients that have used the introduction point for a specific HS.
  694. Closes ticket 15745.
  695. o Minor features (logging):
  696. - Include the Tor version in all LD_BUG log messages, since people
  697. tend to cut and paste those into the bugtracker. Implements
  698. ticket 15026.
  699. o Minor features (pluggable transports):
  700. - When launching managed pluggable transports on Linux systems,
  701. attempt to have the kernel deliver a SIGTERM on tor exit if the
  702. pluggable transport process is still running. Resolves
  703. ticket 15471.
  704. - When launching managed pluggable transports, setup a valid open
  705. stdin in the child process that can be used to detect if tor has
  706. terminated. The "TOR_PT_EXIT_ON_STDIN_CLOSE" environment variable
  707. can be used by implementations to detect this new behavior.
  708. Resolves ticket 15435.
  709. o Minor features (testing):
  710. - Add a test to verify that the compiler does not eliminate our
  711. memwipe() implementation. Closes ticket 15377.
  712. - Add make rule `check-changes` to verify the format of changes
  713. files. Closes ticket 15180.
  714. - Add unit tests for control_event_is_interesting(). Add a compile-
  715. time check that the number of events doesn't exceed the capacity
  716. of control_event_t.event_mask. Closes ticket 15431, checks for
  717. bugs similar to 13085. Patch by "teor".
  718. - Command-line argument tests moved to Stem. Resolves ticket 14806.
  719. - Integrate the ntor, backtrace, and zero-length keys tests into the
  720. automake test suite. Closes ticket 15344.
  721. - Remove assertions during builds to determine Tor's test coverage.
  722. We don't want to trigger these even in assertions, so including
  723. them artificially makes our branch coverage look worse than it is.
  724. This patch provides the new test-stem-full and coverage-html-full
  725. configure options. Implements ticket 15400.
  726. o Minor bugfixes (build):
  727. - Improve out-of-tree builds by making non-standard rules work and
  728. clean up additional files and directories. Fixes bug 15053; bugfix
  729. on 0.2.7.0-alpha.
  730. o Minor bugfixes (command-line interface):
  731. - When "--quiet" is provided along with "--validate-config", do not
  732. write anything to stdout on success. Fixes bug 14994; bugfix
  733. on 0.2.3.3-alpha.
  734. - When complaining about bad arguments to "--dump-config", use
  735. stderr, not stdout.
  736. o Minor bugfixes (configuration, unit tests):
  737. - Only add the default fallback directories when the DirAuthorities,
  738. AlternateDirAuthority, and FallbackDir directory config options
  739. are set to their defaults. The default fallback directory list is
  740. currently empty, this fix will only change tor's behavior when it
  741. has default fallback directories. Includes unit tests for
  742. consider_adding_dir_servers(). Fixes bug 15642; bugfix on
  743. 90f6071d8dc0 in 0.2.4.7-alpha. Patch by "teor".
  744. o Minor bugfixes (correctness):
  745. - For correctness, avoid modifying a constant string in
  746. handle_control_postdescriptor. Fixes bug 15546; bugfix
  747. on 0.1.1.16-rc.
  748. - Remove side-effects from tor_assert() calls. This was harmless,
  749. because we never disable assertions, but it is bad style and
  750. unnecessary. Fixes bug 15211; bugfix on 0.2.5.5, 0.2.2.36,
  751. and 0.2.0.10.
  752. o Minor bugfixes (hidden service):
  753. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  754. a client authorized hidden service. Fixes bug 15823; bugfix
  755. on 0.2.1.6-alpha.
  756. - Remove an extraneous newline character from the end of hidden
  757. service descriptors. Fixes bug 15296; bugfix on 0.2.0.10-alpha.
  758. o Minor bugfixes (interface):
  759. - Print usage information for --dump-config when it is used without
  760. an argument. Also, fix the error message to use different wording
  761. and add newline at the end. Fixes bug 15541; bugfix
  762. on 0.2.5.1-alpha.
  763. o Minor bugfixes (logs):
  764. - When building Tor under Clang, do not include an extra set of
  765. parentheses in log messages that include function names. Fixes bug
  766. 15269; bugfix on every released version of Tor when compiled with
  767. recent enough Clang.
  768. o Minor bugfixes (network):
  769. - When attempting to use fallback technique for network interface
  770. lookup, disregard loopback and multicast addresses since they are
  771. unsuitable for public communications.
  772. o Minor bugfixes (statistics):
  773. - Disregard the ConnDirectionStatistics torrc options when Tor is
  774. not a relay since in that mode of operation no sensible data is
  775. being collected and because Tor might run into measurement hiccups
  776. when running as a client for some time, then becoming a relay.
  777. Fixes bug 15604; bugfix on 0.2.2.35.
  778. o Minor bugfixes (test networks):
  779. - When self-testing reachability, use ExtendAllowPrivateAddresses to
  780. determine if local/private addresses imply reachability. The
  781. previous fix used TestingTorNetwork, which implies
  782. ExtendAllowPrivateAddresses, but this excluded rare configurations
  783. where ExtendAllowPrivateAddresses is set but TestingTorNetwork is
  784. not. Fixes bug 15771; bugfix on 0.2.6.1-alpha. Patch by "teor",
  785. issue discovered by CJ Ess.
  786. o Minor bugfixes (testing):
  787. - Check for matching value in server response in ntor_ref.py. Fixes
  788. bug 15591; bugfix on 0.2.4.8-alpha. Reported and fixed
  789. by "joelanders".
  790. - Set the severity correctly when testing
  791. get_interface_addresses_ifaddrs() and
  792. get_interface_addresses_win32(), so that the tests fail gracefully
  793. instead of triggering an assertion. Fixes bug 15759; bugfix on
  794. 0.2.6.3-alpha. Reported by Nicolas Derive.
  795. o Code simplification and refactoring:
  796. - Move the hacky fallback code out of get_interface_address6() into
  797. separate function and get it covered with unit-tests. Resolves
  798. ticket 14710.
  799. - Refactor hidden service client-side cache lookup to intelligently
  800. report its various failure cases, and disentangle failure cases
  801. involving a lack of introduction points. Closes ticket 14391.
  802. - Use our own Base64 encoder instead of OpenSSL's, to allow more
  803. control over the output. Part of ticket 15652.
  804. o Documentation:
  805. - Improve the descriptions of statistics-related torrc options in
  806. the manpage to describe rationale and possible uses cases. Fixes
  807. issue 15550.
  808. - Improve the layout and formatting of ./configure --help messages.
  809. Closes ticket 15024. Patch from "cypherpunks".
  810. - Standardize on the term "server descriptor" in the manual page.
  811. Previously, we had used "router descriptor", "server descriptor",
  812. and "relay descriptor" interchangeably. Part of ticket 14987.
  813. o Removed code:
  814. - Remove `USE_OPENSSL_BASE64` and the corresponding fallback code
  815. and always use the internal Base64 decoder. The internal decoder
  816. has been part of tor since tor-0.2.0.10-alpha, and no one should
  817. be using the OpenSSL one. Part of ticket 15652.
  818. - Remove the 'tor_strclear()' function; use memwipe() instead.
  819. Closes ticket 14922.
  820. o Removed features:
  821. - Remove the (seldom-used) DynamicDHGroups feature. For anti-
  822. fingerprinting we now recommend pluggable transports; for forward-
  823. secrecy in TLS, we now use the P-256 group. Closes ticket 13736.
  824. - Remove the undocumented "--digests" command-line option. It
  825. complicated our build process, caused subtle build issues on
  826. multiple platforms, and is now redundant since we started
  827. including git version identifiers. Closes ticket 14742.
  828. - Tor no longer contains checks for ancient directory cache versions
  829. that didn't know about microdescriptors.
  830. - Tor no longer contains workarounds for stat files generated by
  831. super-old versions of Tor that didn't choose guards sensibly.
  832. Changes in version 0.2.4.27 - 2015-04-06
  833. Tor 0.2.4.27 backports two fixes from 0.2.6.7 for security issues that
  834. could be used by an attacker to crash hidden services, or crash clients
  835. visiting hidden services. Hidden services should upgrade as soon as
  836. possible; clients should upgrade whenever packages become available.
  837. This release also backports a simple improvement to make hidden
  838. services a bit less vulnerable to denial-of-service attacks.
  839. o Major bugfixes (security, hidden service):
  840. - Fix an issue that would allow a malicious client to trigger an
  841. assertion failure and halt a hidden service. Fixes bug 15600;
  842. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  843. - Fix a bug that could cause a client to crash with an assertion
  844. failure when parsing a malformed hidden service descriptor. Fixes
  845. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  846. o Minor features (DoS-resistance, hidden service):
  847. - Introduction points no longer allow multiple INTRODUCE1 cells to
  848. arrive on the same circuit. This should make it more expensive for
  849. attackers to overwhelm hidden services with introductions.
  850. Resolves ticket 15515.
  851. Changes in version 0.2.6.7 - 2015-04-06
  852. Tor 0.2.6.7 fixes two security issues that could be used by an
  853. attacker to crash hidden services, or crash clients visiting hidden
  854. services. Hidden services should upgrade as soon as possible; clients
  855. should upgrade whenever packages become available.
  856. This release also contains two simple improvements to make hidden
  857. services a bit less vulnerable to denial-of-service attacks.
  858. o Major bugfixes (security, hidden service):
  859. - Fix an issue that would allow a malicious client to trigger an
  860. assertion failure and halt a hidden service. Fixes bug 15600;
  861. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  862. - Fix a bug that could cause a client to crash with an assertion
  863. failure when parsing a malformed hidden service descriptor. Fixes
  864. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  865. o Minor features (DoS-resistance, hidden service):
  866. - Introduction points no longer allow multiple INTRODUCE1 cells to
  867. arrive on the same circuit. This should make it more expensive for
  868. attackers to overwhelm hidden services with introductions.
  869. Resolves ticket 15515.
  870. - Decrease the amount of reattempts that a hidden service performs
  871. when its rendezvous circuits fail. This reduces the computational
  872. cost for running a hidden service under heavy load. Resolves
  873. ticket 11447.
  874. Changes in version 0.2.6.6 - 2015-03-24
  875. Tor 0.2.6.6 is the first stable release in the 0.2.6 series.
  876. It adds numerous safety, security, correctness, and performance
  877. improvements. Client programs can be configured to use more kinds of
  878. sockets, AutomapHosts works better, the multithreading backend is
  879. improved, cell transmission is refactored, test coverage is much
  880. higher, more denial-of-service attacks are handled, guard selection is
  881. improved to handle long-term guards better, pluggable transports
  882. should work a bit better, and some annoying hidden service performance
  883. bugs should be addressed.
  884. o Minor bugfixes (portability):
  885. - Use the correct datatype in the SipHash-2-4 function to prevent
  886. compilers from assuming any sort of alignment. Fixes bug 15436;
  887. bugfix on 0.2.5.3-alpha.
  888. Changes in version 0.2.6.5-rc - 2015-03-18
  889. Tor 0.2.6.5-rc is the second and (hopefully) last release candidate in
  890. the 0.2.6. It fixes a small number of bugs found in 0.2.6.4-rc.
  891. o Major bugfixes (client):
  892. - Avoid crashing when making certain configuration option changes on
  893. clients. Fixes bug 15245; bugfix on 0.2.6.3-alpha. Reported
  894. by "anonym".
  895. o Major bugfixes (pluggable transports):
  896. - Initialize the extended OR Port authentication cookie before
  897. launching pluggable transports. This prevents a race condition
  898. that occured when server-side pluggable transports would cache the
  899. authentication cookie before it has been (re)generated. Fixes bug
  900. 15240; bugfix on 0.2.5.1-alpha.
  901. o Major bugfixes (portability):
  902. - Do not crash on startup when running on Solaris. Fixes a bug
  903. related to our fix for 9495; bugfix on 0.2.6.1-alpha. Reported
  904. by "ruebezahl".
  905. o Minor features (heartbeat):
  906. - On relays, report how many connections we negotiated using each
  907. version of the Tor link protocols. This information will let us
  908. know if removing support for very old versions of the Tor
  909. protocols is harming the network. Closes ticket 15212.
  910. o Code simplification and refactoring:
  911. - Refactor main loop to extract the 'loop' part. This makes it
  912. easier to run Tor under Shadow. Closes ticket 15176.
  913. Changes in version 0.2.5.11 - 2015-03-17
  914. Tor 0.2.5.11 is the second stable release in the 0.2.5 series.
  915. It backports several bugfixes from the 0.2.6 branch, including a
  916. couple of medium-level security fixes for relays and exit nodes.
  917. It also updates the list of directory authorities.
  918. o Directory authority changes:
  919. - Remove turtles as a directory authority.
  920. - Add longclaw as a new (v3) directory authority. This implements
  921. ticket 13296. This keeps the directory authority count at 9.
  922. - The directory authority Faravahar has a new IP address. This
  923. closes ticket 14487.
  924. o Major bugfixes (crash, OSX, security):
  925. - Fix a remote denial-of-service opportunity caused by a bug in
  926. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  927. in OSX 10.9.
  928. o Major bugfixes (relay, stability, possible security):
  929. - Fix a bug that could lead to a relay crashing with an assertion
  930. failure if a buffer of exactly the wrong layout was passed to
  931. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  932. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  933. - Do not assert if the 'data' pointer on a buffer is advanced to the
  934. very end of the buffer; log a BUG message instead. Only assert if
  935. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  936. o Major bugfixes (exit node stability):
  937. - Fix an assertion failure that could occur under high DNS load.
  938. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  939. diagnosed and fixed by "cypherpunks".
  940. o Major bugfixes (Linux seccomp2 sandbox):
  941. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  942. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  943. 0.2.5.1-alpha. Patch from "sanic".
  944. o Minor features (controller):
  945. - New "GETINFO bw-event-cache" to get information about recent
  946. bandwidth events. Closes ticket 14128. Useful for controllers to
  947. get recent bandwidth history after the fix for ticket 13988.
  948. o Minor features (geoip):
  949. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  950. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  951. Country database.
  952. o Minor bugfixes (client, automapping):
  953. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  954. no value follows the option. Fixes bug 14142; bugfix on
  955. 0.2.4.7-alpha. Patch by "teor".
  956. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  957. 14195; bugfix on 0.1.0.1-rc.
  958. o Minor bugfixes (compilation):
  959. - Build without warnings with the stock OpenSSL srtp.h header, which
  960. has a duplicate declaration of SSL_get_selected_srtp_profile().
  961. Fixes bug 14220; this is OpenSSL's bug, not ours.
  962. o Minor bugfixes (directory authority):
  963. - Allow directory authorities to fetch more data from one another if
  964. they find themselves missing lots of votes. Previously, they had
  965. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  966. bugfix on 0.1.2.5-alpha.
  967. - Enlarge the buffer to read bwauth generated files to avoid an
  968. issue when parsing the file in dirserv_read_measured_bandwidths().
  969. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  970. o Minor bugfixes (statistics):
  971. - Increase period over which bandwidth observations are aggregated
  972. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  973. o Minor bugfixes (preventative security, C safety):
  974. - When reading a hexadecimal, base-32, or base-64 encoded value from
  975. a string, always overwrite the whole output buffer. This prevents
  976. some bugs where we would look at (but fortunately, not reveal)
  977. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  978. versions of Tor.
  979. Changes in version 0.2.4.26 - 2015-03-17
  980. Tor 0.2.4.26 includes an updated list of directory authorities. It
  981. also backports a couple of stability and security bugfixes from 0.2.5
  982. and beyond.
  983. o Directory authority changes:
  984. - Remove turtles as a directory authority.
  985. - Add longclaw as a new (v3) directory authority. This implements
  986. ticket 13296. This keeps the directory authority count at 9.
  987. - The directory authority Faravahar has a new IP address. This
  988. closes ticket 14487.
  989. o Major bugfixes (exit node stability, also in 0.2.6.3-alpha):
  990. - Fix an assertion failure that could occur under high DNS load.
  991. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  992. diagnosed and fixed by "cypherpunks".
  993. o Major bugfixes (relay, stability, possible security, also in 0.2.6.4-rc):
  994. - Fix a bug that could lead to a relay crashing with an assertion
  995. failure if a buffer of exactly the wrong layout was passed to
  996. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  997. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  998. - Do not assert if the 'data' pointer on a buffer is advanced to the
  999. very end of the buffer; log a BUG message instead. Only assert if
  1000. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  1001. o Minor features (geoip):
  1002. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  1003. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  1004. Country database.
  1005. Changes in version 0.2.6.4-rc - 2015-03-09
  1006. Tor 0.2.6.4-alpha fixes an issue in the directory code that an
  1007. attacker might be able to use in order to crash certain Tor
  1008. directories. It also resolves some minor issues left over from, or
  1009. introduced in, Tor 0.2.6.3-alpha or earlier.
  1010. o Major bugfixes (crash, OSX, security):
  1011. - Fix a remote denial-of-service opportunity caused by a bug in
  1012. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  1013. in OSX 10.9.
  1014. o Major bugfixes (relay, stability, possible security):
  1015. - Fix a bug that could lead to a relay crashing with an assertion
  1016. failure if a buffer of exactly the wrong layout is passed to
  1017. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  1018. 0.2.0.10-alpha. Patch from "cypherpunks".
  1019. - Do not assert if the 'data' pointer on a buffer is advanced to the
  1020. very end of the buffer; log a BUG message instead. Only assert if
  1021. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  1022. o Major bugfixes (FreeBSD IPFW transparent proxy):
  1023. - Fix address detection with FreeBSD transparent proxies, when
  1024. "TransProxyType ipfw" is in use. Fixes bug 15064; bugfix
  1025. on 0.2.5.4-alpha.
  1026. o Major bugfixes (Linux seccomp2 sandbox):
  1027. - Pass IPPROTO_TCP rather than 0 to socket(), so that the Linux
  1028. seccomp2 sandbox doesn't fail. Fixes bug 14989; bugfix
  1029. on 0.2.6.3-alpha.
  1030. - Allow AF_UNIX hidden services to be used with the seccomp2
  1031. sandbox. Fixes bug 15003; bugfix on 0.2.6.3-alpha.
  1032. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  1033. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  1034. 0.2.5.1-alpha. Patch from "sanic".
  1035. o Minor features (controller):
  1036. - Messages about problems in the bootstrap process now include
  1037. information about the server we were trying to connect to when we
  1038. noticed the problem. Closes ticket 15006.
  1039. o Minor features (geoip):
  1040. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  1041. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  1042. Country database.
  1043. o Minor features (logs):
  1044. - Quiet some log messages in the heartbeat and at startup. Closes
  1045. ticket 14950.
  1046. o Minor bugfixes (certificate handling):
  1047. - If an authority operator accidentally makes a signing certificate
  1048. with a future publication time, do not discard its real signing
  1049. certificates. Fixes bug 11457; bugfix on 0.2.0.3-alpha.
  1050. - Remove any old authority certificates that have been superseded
  1051. for at least two days. Previously, we would keep superseded
  1052. certificates until they expired, if they were published close in
  1053. time to the certificate that superseded them. Fixes bug 11454;
  1054. bugfix on 0.2.1.8-alpha.
  1055. o Minor bugfixes (compilation):
  1056. - Fix a compilation warning on s390. Fixes bug 14988; bugfix
  1057. on 0.2.5.2-alpha.
  1058. - Fix a compilation warning on FreeBSD. Fixes bug 15151; bugfix
  1059. on 0.2.6.2-alpha.
  1060. o Minor bugfixes (testing):
  1061. - Fix endianness issues in unit test for resolve_my_address() to
  1062. have it pass on big endian systems. Fixes bug 14980; bugfix on
  1063. Tor 0.2.6.3-alpha.
  1064. - Avoid a side-effect in a tor_assert() in the unit tests. Fixes bug
  1065. 15188; bugfix on 0.1.2.3-alpha. Patch from Tom van der Woerdt.
  1066. - When running the new 'make test-stem' target, use the configured
  1067. python binary. Fixes bug 15037; bugfix on 0.2.6.3-alpha. Patch
  1068. from "cypherpunks".
  1069. - When running the zero-length-keys tests, do not use the default
  1070. torrc file. Fixes bug 15033; bugfix on 0.2.6.3-alpha. Reported
  1071. by "reezer".
  1072. o Directory authority IP change:
  1073. - The directory authority Faravahar has a new IP address. This
  1074. closes ticket 14487.
  1075. o Removed code:
  1076. - Remove some lingering dead code that once supported mempools.
  1077. Mempools were disabled by default in 0.2.5, and removed entirely
  1078. in 0.2.6.3-alpha. Closes more of ticket 14848; patch
  1079. by "cypherpunks".
  1080. Changes in version 0.2.6.3-alpha - 2015-02-19
  1081. Tor 0.2.6.3-alpha is the third (and hopefully final) alpha release in
  1082. the 0.2.6.x series. It introduces support for more kinds of sockets,
  1083. makes it harder to accidentally run an exit, improves our
  1084. multithreading backend, incorporates several fixes for the
  1085. AutomapHostsOnResolve option, and fixes numerous other bugs besides.
  1086. If no major regressions or security holes are found in this version,
  1087. the next version will be a release candidate.
  1088. o Deprecated versions:
  1089. - Tor relays older than 0.2.4.18-rc are no longer allowed to
  1090. advertise themselves on the network. Closes ticket 13555.
  1091. o Major features (security, unix domain sockets):
  1092. - Allow SocksPort to be an AF_UNIX Unix Domain Socket. Now high risk
  1093. applications can reach Tor without having to create AF_INET or
  1094. AF_INET6 sockets, meaning they can completely disable their
  1095. ability to make non-Tor network connections. To create a socket of
  1096. this type, use "SocksPort unix:/path/to/socket". Implements
  1097. ticket 12585.
  1098. - Support mapping hidden service virtual ports to AF_UNIX sockets.
  1099. The syntax is "HiddenServicePort 80 unix:/path/to/socket".
  1100. Implements ticket 11485.
  1101. o Major features (changed defaults):
  1102. - Prevent relay operators from unintentionally running exits: When a
  1103. relay is configured as an exit node, we now warn the user unless
  1104. the "ExitRelay" option is set to 1. We warn even more loudly if
  1105. the relay is configured with the default exit policy, since this
  1106. can indicate accidental misconfiguration. Setting "ExitRelay 0"
  1107. stops Tor from running as an exit relay. Closes ticket 10067.
  1108. o Major features (directory system):
  1109. - When downloading server- or microdescriptors from a directory
  1110. server, we no longer launch multiple simultaneous requests to the
  1111. same server. This reduces load on the directory servers,
  1112. especially when directory guards are in use. Closes ticket 9969.
  1113. - When downloading server- or microdescriptors over a tunneled
  1114. connection, do not limit the length of our requests to what the
  1115. Squid proxy is willing to handle. Part of ticket 9969.
  1116. - Authorities can now vote on the correct digests and latest
  1117. versions for different software packages. This allows packages
  1118. that include Tor to use the Tor authority system as a way to get
  1119. notified of updates and their correct digests. Implements proposal
  1120. 227. Closes ticket 10395.
  1121. o Major features (guards):
  1122. - Introduce the Guardfraction feature to improves load balancing on
  1123. guard nodes. Specifically, it aims to reduce the traffic gap that
  1124. guard nodes experience when they first get the Guard flag. This is
  1125. a required step if we want to increase the guard lifetime to 9
  1126. months or greater. Closes ticket 9321.
  1127. o Major features (performance):
  1128. - Make the CPU worker implementation more efficient by avoiding the
  1129. kernel and lengthening pipelines. The original implementation used
  1130. sockets to transfer data from the main thread to the workers, and
  1131. didn't allow any thread to be assigned more than a single piece of
  1132. work at once. The new implementation avoids communications
  1133. overhead by making requests in shared memory, avoiding kernel IO
  1134. where possible, and keeping more requests in flight at once.
  1135. Implements ticket 9682.
  1136. o Major features (relay):
  1137. - Raise the minimum acceptable configured bandwidth rate for bridges
  1138. to 50 KiB/sec and for relays to 75 KiB/sec. (The old values were
  1139. 20 KiB/sec.) Closes ticket 13822.
  1140. o Major bugfixes (exit node stability):
  1141. - Fix an assertion failure that could occur under high DNS load.
  1142. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  1143. diagnosed and fixed by "cypherpunks".
  1144. o Major bugfixes (mixed relay-client operation):
  1145. - When running as a relay and client at the same time (not
  1146. recommended), if we decide not to use a new guard because we want
  1147. to retry older guards, only close the locally-originating circuits
  1148. passing through that guard. Previously we would close all the
  1149. circuits through that guard. Fixes bug 9819; bugfix on
  1150. 0.2.1.1-alpha. Reported by "skruffy".
  1151. o Minor features (build):
  1152. - New --disable-system-torrc compile-time option to prevent Tor from
  1153. looking for the system-wide torrc or torrc-defaults files.
  1154. Resolves ticket 13037.
  1155. o Minor features (controller):
  1156. - Include SOCKS_USERNAME and SOCKS_PASSWORD values in controller
  1157. events so controllers can observe circuit isolation inputs. Closes
  1158. ticket 8405.
  1159. - ControlPort now supports the unix:/path/to/socket syntax as an
  1160. alternative to the ControlSocket option, for consistency with
  1161. SocksPort and HiddenServicePort. Closes ticket 14451.
  1162. - New "GETINFO bw-event-cache" to get information about recent
  1163. bandwidth events. Closes ticket 14128. Useful for controllers to
  1164. get recent bandwidth history after the fix for ticket 13988.
  1165. o Minor features (Denial of service resistance):
  1166. - Count the total number of bytes used storing hidden service
  1167. descriptors against the value of MaxMemInQueues. If we're low on
  1168. memory, and more than 20% of our memory is used holding hidden
  1169. service descriptors, free them until no more than 10% of our
  1170. memory holds hidden service descriptors. Free the least recently
  1171. fetched descriptors first. Resolves ticket 13806.
  1172. - When we have recently been under memory pressure (over 3/4 of
  1173. MaxMemInQueues is allocated), then allocate smaller zlib objects
  1174. for small requests. Closes ticket 11791.
  1175. o Minor features (geoip):
  1176. - Update geoip and geoip6 files to the January 7 2015 Maxmind
  1177. GeoLite2 Country database.
  1178. o Minor features (guard nodes):
  1179. - Reduce the time delay before saving guard status to disk from 10
  1180. minutes to 30 seconds (or from one hour to 10 minutes if
  1181. AvoidDiskWrites is set). Closes ticket 12485.
  1182. o Minor features (hidden service):
  1183. - Make Sybil attacks against hidden services harder by changing the
  1184. minimum time required to get the HSDir flag from 25 hours up to 96
  1185. hours. Addresses ticket 14149.
  1186. - New option "HiddenServiceAllowUnknownPorts" to allow hidden
  1187. services to disable the anti-scanning feature introduced in
  1188. 0.2.6.2-alpha. With this option not set, a connection to an
  1189. unlisted port closes the circuit. With this option set, only a
  1190. RELAY_DONE cell is sent. Closes ticket 14084.
  1191. o Minor features (interface):
  1192. - Implement "-f -" command-line option to read torrc configuration
  1193. from standard input, if you don't want to store the torrc file in
  1194. the file system. Implements feature 13865.
  1195. o Minor features (logging):
  1196. - Add a count of unique clients to the bridge heartbeat message.
  1197. Resolves ticket 6852.
  1198. - Suppress "router info incompatible with extra info" message when
  1199. reading extrainfo documents from cache. (This message got loud
  1200. around when we closed bug 9812 in 0.2.6.2-alpha.) Closes
  1201. ticket 13762.
  1202. - Elevate hidden service authorized-client message from DEBUG to
  1203. INFO. Closes ticket 14015.
  1204. o Minor features (stability):
  1205. - Add assertions in our hash-table iteration code to check for
  1206. corrupted values that could cause infinite loops. Closes
  1207. ticket 11737.
  1208. o Minor features (systemd):
  1209. - Various improvements and modernizations in systemd hardening
  1210. support. Closes ticket 13805. Patch from Craig Andrews.
  1211. o Minor features (testing networks):
  1212. - Drop the minimum RendPostPeriod on a testing network to 5 seconds,
  1213. and the default on a testing network to 2 minutes. Drop the
  1214. MIN_REND_INITIAL_POST_DELAY on a testing network to 5 seconds, but
  1215. keep the default on a testing network at 30 seconds. This reduces
  1216. HS bootstrap time to around 25 seconds. Also, change the default
  1217. time in test-network.sh to match. Closes ticket 13401. Patch
  1218. by "teor".
  1219. - Create TestingDirAuthVoteHSDir to correspond to
  1220. TestingDirAuthVoteExit/Guard. Ensures that authorities vote the
  1221. HSDir flag for the listed relays regardless of uptime or ORPort
  1222. connectivity. Respects the value of VoteOnHidServDirectoriesV2.
  1223. Partial implementation for ticket 14067. Patch by "teor".
  1224. o Minor features (tor2web mode):
  1225. - Introduce the config option Tor2webRendezvousPoints, which allows
  1226. clients in Tor2webMode to select a specific Rendezvous Point to be
  1227. used in HS circuits. This might allow better performance for
  1228. Tor2Web nodes. Implements ticket 12844.
  1229. o Minor bugfixes (client DNS):
  1230. - Report the correct cached DNS expiration times on SOCKS port or in
  1231. DNS replies. Previously, we would report everything as "never
  1232. expires." Fixes bug 14193; bugfix on 0.2.3.17-beta.
  1233. - Avoid a small memory leak when we find a cached answer for a
  1234. reverse DNS lookup in a client-side DNS cache. (Remember, client-
  1235. side DNS caching is off by default, and is not recommended.) Fixes
  1236. bug 14259; bugfix on 0.2.0.1-alpha.
  1237. o Minor bugfixes (client, automapping):
  1238. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  1239. no value follows the option. Fixes bug 14142; bugfix on
  1240. 0.2.4.7-alpha. Patch by "teor".
  1241. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  1242. 14195; bugfix on 0.1.0.1-rc.
  1243. - Prevent changes to other options from removing the wildcard value
  1244. "." from "AutomapHostsSuffixes". Fixes bug 12509; bugfix
  1245. on 0.2.0.1-alpha.
  1246. - Allow MapAddress and AutomapHostsOnResolve to work together when
  1247. an address is mapped into another address type (like .onion) that
  1248. must be automapped at resolve time. Fixes bug 7555; bugfix
  1249. on 0.2.0.1-alpha.
  1250. o Minor bugfixes (client, bridges):
  1251. - When we are using bridges and we had a network connectivity
  1252. problem, only retry connecting to our currently configured
  1253. bridges, not all bridges we know about and remember using. Fixes
  1254. bug 14216; bugfix on 0.2.2.17-alpha.
  1255. o Minor bugfixes (client, IPv6):
  1256. - Reject socks requests to literal IPv6 addresses when IPv6Traffic
  1257. flag is not set; and not because the NoIPv4Traffic flag was set.
  1258. Previously we'd looked at the NoIPv4Traffic flag for both types of
  1259. literal addresses. Fixes bug 14280; bugfix on 0.2.4.7-alpha.
  1260. o Minor bugfixes (compilation):
  1261. - The address of an array in the middle of a structure will always
  1262. be non-NULL. clang recognises this and complains. Disable the
  1263. tautologous and redundant check to silence this warning. Fixes bug
  1264. 14001; bugfix on 0.2.1.2-alpha.
  1265. - Avoid warnings when building with systemd 209 or later. Fixes bug
  1266. 14072; bugfix on 0.2.6.2-alpha. Patch from "h.venev".
  1267. - Compile correctly with (unreleased) OpenSSL 1.1.0 headers.
  1268. Addresses ticket 14188.
  1269. - Build without warnings with the stock OpenSSL srtp.h header, which
  1270. has a duplicate declaration of SSL_get_selected_srtp_profile().
  1271. Fixes bug 14220; this is OpenSSL's bug, not ours.
  1272. - Do not compile any code related to Tor2Web mode when Tor2Web mode
  1273. is not enabled at compile time. Previously, this code was included
  1274. in a disabled state. See discussion on ticket 12844.
  1275. - Remove the --disable-threads configure option again. It was
  1276. accidentally partially reintroduced in 29ac883606d6d. Fixes bug
  1277. 14819; bugfix on 0.2.6.2-alpha.
  1278. o Minor bugfixes (controller):
  1279. - Report "down" in response to the "GETINFO entry-guards" command
  1280. when relays are down with an unreachable_since value. Previously,
  1281. we would report "up". Fixes bug 14184; bugfix on 0.1.2.2-alpha.
  1282. - Avoid crashing on a malformed EXTENDCIRCUIT command. Fixes bug
  1283. 14116; bugfix on 0.2.2.9-alpha.
  1284. - Add a code for the END_CIRC_REASON_IP_NOW_REDUNDANT circuit close
  1285. reason. Fixes bug 14207; bugfix on 0.2.6.2-alpha.
  1286. o Minor bugfixes (directory authority):
  1287. - Allow directory authorities to fetch more data from one another if
  1288. they find themselves missing lots of votes. Previously, they had
  1289. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  1290. bugfix on 0.1.2.5-alpha.
  1291. - Do not attempt to download extrainfo documents which we will be
  1292. unable to validate with a matching server descriptor. Fixes bug
  1293. 13762; bugfix on 0.2.0.1-alpha.
  1294. - Fix a bug that was truncating AUTHDIR_NEWDESC events sent to the
  1295. control port. Fixes bug 14953; bugfix on 0.2.0.1-alpha.
  1296. - Enlarge the buffer to read bwauth generated files to avoid an
  1297. issue when parsing the file in dirserv_read_measured_bandwidths().
  1298. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  1299. o Minor bugfixes (file handling):
  1300. - Stop failing when key files are zero-length. Instead, generate new
  1301. keys, and overwrite the empty key files. Fixes bug 13111; bugfix
  1302. on all versions of Tor. Patch by "teor".
  1303. - Stop generating a fresh .old RSA onion key file when the .old file
  1304. is missing. Fixes part of 13111; bugfix on 0.0.6rc1.
  1305. - Avoid overwriting .old key files with empty key files.
  1306. - Skip loading zero-length extrainfo store, router store, stats,
  1307. state, and key files.
  1308. - Avoid crashing when trying to reload a torrc specified as a
  1309. relative path with RunAsDaemon turned on. Fixes bug 13397; bugfix
  1310. on 0.2.3.11-alpha.
  1311. o Minor bugfixes (hidden services):
  1312. - Close the introduction circuit when we have no more usable intro
  1313. points, instead of waiting for it to time out. This also ensures
  1314. that no follow-up HS descriptor fetch is triggered when the
  1315. circuit eventually times out. Fixes bug 14224; bugfix on 0.0.6.
  1316. - When fetching a hidden service descriptor for a down service that
  1317. was recently up, do not keep refetching until we try the same
  1318. replica twice in a row. Fixes bug 14219; bugfix on 0.2.0.10-alpha.
  1319. - Successfully launch Tor with a nonexistent hidden service
  1320. directory. Our fix for bug 13942 didn't catch this case. Fixes bug
  1321. 14106; bugfix on 0.2.6.2-alpha.
  1322. o Minor bugfixes (logging):
  1323. - Avoid crashing when there are more log domains than entries in
  1324. domain_list. Bugfix on 0.2.3.1-alpha.
  1325. - Add a string representation for LD_SCHED. Fixes bug 14740; bugfix
  1326. on 0.2.6.1-alpha.
  1327. - Don't log messages to stdout twice when starting up. Fixes bug
  1328. 13993; bugfix on 0.2.6.1-alpha.
  1329. o Minor bugfixes (parsing):
  1330. - Stop accepting milliseconds (or other junk) at the end of
  1331. descriptor publication times. Fixes bug 9286; bugfix on 0.0.2pre25.
  1332. - Support two-number and three-number version numbers correctly, in
  1333. case we change the Tor versioning system in the future. Fixes bug
  1334. 13661; bugfix on 0.0.8pre1.
  1335. o Minor bugfixes (path counting):
  1336. - When deciding whether the consensus lists any exit nodes, count
  1337. the number listed in the consensus, not the number we have
  1338. descriptors for. Fixes part of bug 14918; bugfix on 0.2.6.2-alpha.
  1339. - When deciding whether we have any exit nodes, only examine
  1340. ExitNodes when the ExitNodes option is actually set. Fixes part of
  1341. bug 14918; bugfix on 0.2.6.2-alpha.
  1342. - Get rid of redundant and possibly scary warnings that we are
  1343. missing directory information while we bootstrap. Fixes part of
  1344. bug 14918; bugfix on 0.2.6.2-alpha.
  1345. o Minor bugfixes (portability):
  1346. - Fix the ioctl()-based network interface lookup code so that it
  1347. will work on systems that have variable-length struct ifreq, for
  1348. example Mac OS X.
  1349. - Fix scheduler compilation on targets where char is unsigned. Fixes
  1350. bug 14764; bugfix on 0.2.6.2-alpha. Reported by Christian Kujau.
  1351. o Minor bugfixes (sandbox):
  1352. - Allow glibc fatal errors to be sent to stderr before Tor exits.
  1353. Previously, glibc would try to write them to /dev/tty, and the
  1354. sandbox would trap the call and make Tor exit prematurely. Fixes
  1355. bug 14759; bugfix on 0.2.5.1-alpha.
  1356. o Minor bugfixes (shutdown):
  1357. - When shutting down, always call event_del() on lingering read or
  1358. write events before freeing them. Otherwise, we risk double-frees
  1359. or read-after-frees in event_base_free(). Fixes bug 12985; bugfix
  1360. on 0.1.0.2-rc.
  1361. o Minor bugfixes (small memory leaks):
  1362. - Avoid leaking memory when using IPv6 virtual address mappings.
  1363. Fixes bug 14123; bugfix on 0.2.4.7-alpha. Patch by Tom van
  1364. der Woerdt.
  1365. o Minor bugfixes (statistics):
  1366. - Increase period over which bandwidth observations are aggregated
  1367. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  1368. o Minor bugfixes (systemd support):
  1369. - Fix detection and operation of systemd watchdog. Fixes part of bug
  1370. 14141; bugfix on 0.2.6.2-alpha. Patch from Tomasz Torcz.
  1371. - Run correctly under systemd with the RunAsDaemon option set. Fixes
  1372. part of bug 14141; bugfix on 0.2.5.7-rc. Patch from Tomasz Torcz.
  1373. - Inform the systemd supervisor about more changes in the Tor
  1374. process status. Implements part of ticket 14141. Patch from
  1375. Tomasz Torcz.
  1376. - Cause the "--disable-systemd" option to actually disable systemd
  1377. support. Fixes bug 14350; bugfix on 0.2.6.2-alpha. Patch
  1378. from "blueness".
  1379. o Minor bugfixes (TLS):
  1380. - Check more thoroughly throughout the TLS code for possible
  1381. unlogged TLS errors. Possible diagnostic or fix for bug 13319.
  1382. o Minor bugfixes (transparent proxy):
  1383. - Use getsockname, not getsockopt, to retrieve the address for a
  1384. TPROXY-redirected connection. Fixes bug 13796; bugfix
  1385. on 0.2.5.2-alpha.
  1386. o Code simplification and refactoring:
  1387. - Move fields related to isolating and configuring client ports into
  1388. a shared structure. Previously, they were duplicated across
  1389. port_cfg_t, listener_connection_t, and edge_connection_t. Failure
  1390. to copy them correctly had been the cause of at least one bug in
  1391. the past. Closes ticket 8546.
  1392. - Refactor the get_interface_addresses_raw() doom-function into
  1393. multiple smaller and simpler subfunctions. Cover the resulting
  1394. subfunctions with unit-tests. Fixes a significant portion of
  1395. issue 12376.
  1396. - Remove workaround in dirserv_thinks_router_is_hs_dir() that was
  1397. only for version <= 0.2.2.24 which is now deprecated. Closes
  1398. ticket 14202.
  1399. - Remove a test for a long-defunct broken version-one
  1400. directory server.
  1401. o Documentation:
  1402. - Adding section on OpenBSD to our TUNING document. Thanks to mmcc
  1403. for writing the OpenBSD-specific tips. Resolves ticket 13702.
  1404. - Make the tor-resolve documentation match its help string and its
  1405. options. Resolves part of ticket 14325.
  1406. - Log a more useful error message from tor-resolve when failing to
  1407. look up a hidden service address. Resolves part of ticket 14325.
  1408. o Downgraded warnings:
  1409. - Don't warn when we've attempted to contact a relay using the wrong
  1410. ntor onion key. Closes ticket 9635.
  1411. o Removed features:
  1412. - To avoid confusion with the "ExitRelay" option, "ExitNode" is no
  1413. longer silently accepted as an alias for "ExitNodes".
  1414. - The --enable-mempool and --enable-buf-freelists options, which
  1415. were originally created to work around bad malloc implementations,
  1416. no longer exist. They were off-by-default in 0.2.5. Closes
  1417. ticket 14848.
  1418. o Testing:
  1419. - Make the checkdir/perms test complete successfully even if the
  1420. global umask is not 022. Fixes bug 14215; bugfix on 0.2.6.2-alpha.
  1421. - Test that tor does not fail when key files are zero-length. Check
  1422. that tor generates new keys, and overwrites the empty key files.
  1423. - Test that tor generates new keys when keys are missing
  1424. (existing behavior).
  1425. - Test that tor does not overwrite key files that already contain
  1426. data (existing behavior). Tests bug 13111. Patch by "teor".
  1427. - New "make test-stem" target to run stem integration tests.
  1428. Requires that the "STEM_SOURCE_DIR" environment variable be set.
  1429. Closes ticket 14107.
  1430. - Make the test_cmdline_args.py script work correctly on Windows.
  1431. Patch from Gisle Vanem.
  1432. - Move the slower unit tests into a new "./src/test/test-slow"
  1433. binary that can be run independently of the other tests. Closes
  1434. ticket 13243.
  1435. - Avoid undefined behavior when sampling huge values from the
  1436. Laplace distribution. This made unittests fail on Raspberry Pi.
  1437. Bug found by Device. Fixes bug 14090; bugfix on 0.2.6.2-alpha.
  1438. Changes in version 0.2.6.2-alpha - 2014-12-31
  1439. Tor 0.2.6.2-alpha is the second alpha release in the 0.2.6.x series.
  1440. It introduces a major new backend for deciding when to send cells on
  1441. channels, which should lead down the road to big performance
  1442. increases. It contains security and statistics features for better
  1443. work on hidden services, and numerous bugfixes.
  1444. This release contains many new unit tests, along with major
  1445. performance improvements for running testing networks using Chutney.
  1446. Thanks to a series of patches contributed by "teor", testing networks
  1447. should now bootstrap in seconds, rather than minutes.
  1448. o Major features (relay, infrastructure):
  1449. - Complete revision of the code that relays use to decide which cell
  1450. to send next. Formerly, we selected the best circuit to write on
  1451. each channel, but we didn't select among channels in any
  1452. sophisticated way. Now, we choose the best circuits globally from
  1453. among those whose channels are ready to deliver traffic.
  1454. This patch implements a new inter-cmux comparison API, a global
  1455. high/low watermark mechanism and a global scheduler loop for
  1456. transmission prioritization across all channels as well as among
  1457. circuits on one channel. This schedule is currently tuned to
  1458. (tolerantly) avoid making changes in network performance, but it
  1459. should form the basis for major circuit performance increases in
  1460. the future. Code by Andrea; tuning by Rob Jansen; implements
  1461. ticket 9262.
  1462. o Major features (hidden services):
  1463. - Make HS port scanning more difficult by immediately closing the
  1464. circuit when a user attempts to connect to a nonexistent port.
  1465. Closes ticket 13667.
  1466. - Add a HiddenServiceStatistics option that allows Tor relays to
  1467. gather and publish statistics about the overall size and volume of
  1468. hidden service usage. Specifically, when this option is turned on,
  1469. an HSDir will publish an approximate number of hidden services
  1470. that have published descriptors to it the past 24 hours. Also, if
  1471. a relay has acted as a hidden service rendezvous point, it will
  1472. publish the approximate amount of rendezvous cells it has relayed
  1473. the past 24 hours. The statistics themselves are obfuscated so
  1474. that the exact values cannot be derived. For more details see
  1475. proposal 238, "Better hidden service stats from Tor relays". This
  1476. feature is currently disabled by default. Implements feature 13192.
  1477. o Major bugfixes (client, automap):
  1478. - Repair automapping with IPv6 addresses. This automapping should
  1479. have worked previously, but one piece of debugging code that we
  1480. inserted to detect a regression actually caused the regression to
  1481. manifest itself again. Fixes bug 13811 and bug 12831; bugfix on
  1482. 0.2.4.7-alpha. Diagnosed and fixed by Francisco Blas
  1483. Izquierdo Riera.
  1484. o Major bugfixes (hidden services):
  1485. - When closing an introduction circuit that was opened in parallel
  1486. with others, don't mark the introduction point as unreachable.
  1487. Previously, the first successful connection to an introduction
  1488. point would make the other introduction points get marked as
  1489. having timed out. Fixes bug 13698; bugfix on 0.0.6rc2.
  1490. o Directory authority changes:
  1491. - Remove turtles as a directory authority.
  1492. - Add longclaw as a new (v3) directory authority. This implements
  1493. ticket 13296. This keeps the directory authority count at 9.
  1494. o Major removed features:
  1495. - Tor clients no longer support connecting to hidden services
  1496. running on Tor 0.2.2.x and earlier; the Support022HiddenServices
  1497. option has been removed. (There shouldn't be any hidden services
  1498. running these versions on the network.) Closes ticket 7803.
  1499. o Minor features (client):
  1500. - Validate hostnames in SOCKS5 requests more strictly. If SafeSocks
  1501. is enabled, reject requests with IP addresses as hostnames.
  1502. Resolves ticket 13315.
  1503. o Minor features (controller):
  1504. - Add a "SIGNAL HEARTBEAT" controller command that tells Tor to
  1505. write an unscheduled heartbeat message to the log. Implements
  1506. feature 9503.
  1507. o Minor features (geoip):
  1508. - Update geoip and geoip6 to the November 15 2014 Maxmind GeoLite2
  1509. Country database.
  1510. o Minor features (hidden services):
  1511. - When re-enabling the network, don't try to build introduction
  1512. circuits until we have successfully built a circuit. This makes
  1513. hidden services come up faster when the network is re-enabled.
  1514. Patch from "akwizgran". Closes ticket 13447.
  1515. - When we fail to retrieve a hidden service descriptor, send the
  1516. controller an "HS_DESC FAILED" controller event. Implements
  1517. feature 13212.
  1518. - New HiddenServiceDirGroupReadable option to cause hidden service
  1519. directories and hostname files to be created group-readable. Patch
  1520. from "anon", David Stainton, and "meejah". Closes ticket 11291.
  1521. o Minor features (systemd):
  1522. - Where supported, when running with systemd, report successful
  1523. startup to systemd. Part of ticket 11016. Patch by Michael Scherer.
  1524. - When running with systemd, support systemd watchdog messages. Part
  1525. of ticket 11016. Patch by Michael Scherer.
  1526. o Minor features (transparent proxy):
  1527. - Update the transparent proxy option checks to allow for both ipfw
  1528. and pf on OS X. Closes ticket 14002.
  1529. - Use the correct option when using IPv6 with transparent proxy
  1530. support on Linux. Resolves 13808. Patch by Francisco Blas
  1531. Izquierdo Riera.
  1532. o Minor bugfixes (preventative security, C safety):
  1533. - When reading a hexadecimal, base-32, or base-64 encoded value from
  1534. a string, always overwrite the whole output buffer. This prevents
  1535. some bugs where we would look at (but fortunately, not reveal)
  1536. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  1537. versions of Tor.
  1538. - Clear all memory targetted by tor_addr_{to,from}_sockaddr(), not
  1539. just the part that's used. This makes it harder for data leak bugs
  1540. to occur in the event of other programming failures. Resolves
  1541. ticket 14041.
  1542. o Minor bugfixes (client, microdescriptors):
  1543. - Use a full 256 bits of the SHA256 digest of a microdescriptor when
  1544. computing which microdescriptors to download. This keeps us from
  1545. erroneous download behavior if two microdescriptor digests ever
  1546. have the same first 160 bits. Fixes part of bug 13399; bugfix
  1547. on 0.2.3.1-alpha.
  1548. - Reset a router's status if its microdescriptor digest changes,
  1549. even if the first 160 bits remain the same. Fixes part of bug
  1550. 13399; bugfix on 0.2.3.1-alpha.
  1551. o Minor bugfixes (compilation):
  1552. - Silence clang warnings under --enable-expensive-hardening,
  1553. including implicit truncation of 64 bit values to 32 bit, const
  1554. char assignment to self, tautological compare, and additional
  1555. parentheses around equality tests. Fixes bug 13577; bugfix
  1556. on 0.2.5.4-alpha.
  1557. - Fix a clang warning about checking whether an address in the
  1558. middle of a structure is NULL. Fixes bug 14001; bugfix
  1559. on 0.2.1.2-alpha.
  1560. o Minor bugfixes (hidden services):
  1561. - Correctly send a controller event when we find that a rendezvous
  1562. circuit has finished. Fixes bug 13936; bugfix on 0.1.1.5-alpha.
  1563. - Pre-check directory permissions for new hidden-services to avoid
  1564. at least one case of "Bug: Acting on config options left us in a
  1565. broken state. Dying." Fixes bug 13942; bugfix on 0.0.6pre1.
  1566. - When adding a new hidden service (for example, via SETCONF), Tor
  1567. no longer congratulates the user for running a relay. Fixes bug
  1568. 13941; bugfix on 0.2.6.1-alpha.
  1569. - When fetching hidden service descriptors, we now check not only
  1570. for whether we got the hidden service we had in mind, but also
  1571. whether we got the particular descriptors we wanted. This prevents
  1572. a class of inefficient but annoying DoS attacks by hidden service
  1573. directories. Fixes bug 13214; bugfix on 0.2.1.6-alpha. Reported
  1574. by "special".
  1575. o Minor bugfixes (Linux seccomp2 sandbox):
  1576. - Make transparent proxy support work along with the seccomp2
  1577. sandbox. Fixes part of bug 13808; bugfix on 0.2.5.1-alpha. Patch
  1578. by Francisco Blas Izquierdo Riera.
  1579. - Fix a memory leak in tor-resolve when running with the sandbox
  1580. enabled. Fixes bug 14050; bugfix on 0.2.5.9-rc.
  1581. o Minor bugfixes (logging):
  1582. - Downgrade warnings about RSA signature failures to info log level.
  1583. Emit a warning when an extra info document is found incompatible
  1584. with a corresponding router descriptor. Fixes bug 9812; bugfix
  1585. on 0.0.6rc3.
  1586. - Make connection_ap_handshake_attach_circuit() log the circuit ID
  1587. correctly. Fixes bug 13701; bugfix on 0.0.6.
  1588. o Minor bugfixes (misc):
  1589. - Stop allowing invalid address patterns like "*/24" that contain
  1590. both a wildcard address and a bit prefix length. This affects all
  1591. our address-range parsing code. Fixes bug 7484; bugfix
  1592. on 0.0.2pre14.
  1593. o Minor bugfixes (testing networks, fast startup):
  1594. - Allow Tor to build circuits using a consensus with no exits. If
  1595. the consensus has no exits (typical of a bootstrapping test
  1596. network), allow Tor to build circuits once enough descriptors have
  1597. been downloaded. This assists in bootstrapping a testing Tor
  1598. network. Fixes bug 13718; bugfix on 0.2.4.10-alpha. Patch
  1599. by "teor".
  1600. - When V3AuthVotingInterval is low, give a lower If-Modified-Since
  1601. header to directory servers. This allows us to obtain consensuses
  1602. promptly when the consensus interval is very short. This assists
  1603. in bootstrapping a testing Tor network. Fixes parts of bugs 13718
  1604. and 13963; bugfix on 0.2.0.3-alpha. Patch by "teor".
  1605. - Stop assuming that private addresses are local when checking
  1606. reachability in a TestingTorNetwork. Instead, when testing, assume
  1607. all OR connections are remote. (This is necessary due to many test
  1608. scenarios running all relays on localhost.) This assists in
  1609. bootstrapping a testing Tor network. Fixes bug 13924; bugfix on
  1610. 0.1.0.1-rc. Patch by "teor".
  1611. - Avoid building exit circuits from a consensus with no exits. Now
  1612. thanks to our fix for 13718, we accept a no-exit network as not
  1613. wholly lost, but we need to remember not to try to build exit
  1614. circuits on it. Closes ticket 13814; patch by "teor".
  1615. - Stop requiring exits to have non-zero bandwithcapacity in a
  1616. TestingTorNetwork. Instead, when TestingMinExitFlagThreshold is 0,
  1617. ignore exit bandwidthcapacity. This assists in bootstrapping a
  1618. testing Tor network. Fixes parts of bugs 13718 and 13839; bugfix
  1619. on 0.2.0.3-alpha. Patch by "teor".
  1620. - Add "internal" to some bootstrap statuses when no exits are
  1621. available. If the consensus does not contain Exits, Tor will only
  1622. build internal circuits. In this case, relevant statuses will
  1623. contain the word "internal" as indicated in the Tor control-
  1624. spec.txt. When bootstrap completes, Tor will be ready to build
  1625. internal circuits. If a future consensus contains Exits, exit
  1626. circuits may become available. Fixes part of bug 13718; bugfix on
  1627. 0.2.4.10-alpha. Patch by "teor".
  1628. - Decrease minimum consensus interval to 10 seconds when
  1629. TestingTorNetwork is set, or 5 seconds for the first consensus.
  1630. Fix assumptions throughout the code that assume larger intervals.
  1631. Fixes bugs 13718 and 13823; bugfix on 0.2.0.3-alpha. Patch
  1632. by "teor".
  1633. - Avoid excluding guards from path building in minimal test
  1634. networks, when we're in a test network and excluding guards would
  1635. exclude all relays. This typically occurs in incredibly small tor
  1636. networks, and those using "TestingAuthVoteGuard *". Fixes part of
  1637. bug 13718; bugfix on 0.1.1.11-alpha. Patch by "teor".
  1638. o Code simplification and refactoring:
  1639. - Stop using can_complete_circuits as a global variable; access it
  1640. with a function instead.
  1641. - Avoid using operators directly as macro arguments: this lets us
  1642. apply coccinelle transformations to our codebase more directly.
  1643. Closes ticket 13172.
  1644. - Combine the functions used to parse ClientTransportPlugin and
  1645. ServerTransportPlugin into a single function. Closes ticket 6456.
  1646. - Add inline functions and convenience macros for inspecting channel
  1647. state. Refactor the code to use convenience macros instead of
  1648. checking channel state directly. Fixes issue 7356.
  1649. - Document all members of was_router_added_t and rename
  1650. ROUTER_WAS_NOT_NEW to ROUTER_IS_ALREADY_KNOWN to make it less
  1651. confusable with ROUTER_WAS_TOO_OLD. Fixes issue 13644.
  1652. - In connection_exit_begin_conn(), use END_CIRC_REASON_TORPROTOCOL
  1653. constant instead of hardcoded value. Fixes issue 13840.
  1654. - Refactor our generic strmap and digestmap types into a single
  1655. implementation, so that we can add a new digest256map
  1656. type trivially.
  1657. o Documentation:
  1658. - Document the bridge-authority-only 'networkstatus-bridges' file.
  1659. Closes ticket 13713; patch from "tom".
  1660. - Fix typo in PredictedPortsRelevanceTime option description in
  1661. manpage. Resolves issue 13707.
  1662. - Stop suggesting that users specify relays by nickname: it isn't a
  1663. good idea. Also, properly cross-reference how to specify relays in
  1664. all parts of manual documenting options that take a list of
  1665. relays. Closes ticket 13381.
  1666. - Clarify the HiddenServiceDir option description in manpage to make
  1667. it clear that relative paths are taken with respect to the current
  1668. working directory. Also clarify that this behavior is not
  1669. guaranteed to remain indefinitely. Fixes issue 13913.
  1670. o Testing:
  1671. - New tests for many parts of channel, relay, and circuitmux
  1672. functionality. Code by Andrea; part of 9262.
  1673. - New tests for parse_transport_line(). Part of ticket 6456.
  1674. - In the unit tests, use chgrp() to change the group of the unit
  1675. test temporary directory to the current user, so that the sticky
  1676. bit doesn't interfere with tests that check directory groups.
  1677. Closes 13678.
  1678. - Add unit tests for resolve_my_addr(). Part of ticket 12376; patch
  1679. by 'rl1987'.
  1680. Changes in version 0.2.6.1-alpha - 2014-10-30
  1681. Tor 0.2.6.1-alpha is the first release in the Tor 0.2.6.x series. It
  1682. includes numerous code cleanups and new tests, and fixes a large
  1683. number of annoying bugs. Out-of-memory conditions are handled better
  1684. than in 0.2.5, pluggable transports have improved proxy support, and
  1685. clients now use optimistic data for contacting hidden services. Also,
  1686. we are now more robust to changes in what we consider a parseable
  1687. directory object, so that tightening restrictions does not have a risk
  1688. of introducing infinite download loops.
  1689. This is the first alpha release in a new series, so expect there to be
  1690. bugs. Users who would rather test out a more stable branch should stay
  1691. with 0.2.5.x for now.
  1692. o New compiler and system requirements:
  1693. - Tor 0.2.6.x requires that your compiler support more of the C99
  1694. language standard than before. The 'configure' script now detects
  1695. whether your compiler supports C99 mid-block declarations and
  1696. designated initializers. If it does not, Tor will not compile.
  1697. We may revisit this requirement if it turns out that a significant
  1698. number of people need to build Tor with compilers that don't
  1699. bother implementing a 15-year-old standard. Closes ticket 13233.
  1700. - Tor no longer supports systems without threading support. When we
  1701. began working on Tor, there were several systems that didn't have
  1702. threads, or where the thread support wasn't able to run the
  1703. threads of a single process on multiple CPUs. That no longer
  1704. holds: every system where Tor needs to run well now has threading
  1705. support. Resolves ticket 12439.
  1706. o Removed platform support:
  1707. - We no longer include special code to build on Windows CE; as far
  1708. as we know, nobody has used Tor on Windows CE in a very long time.
  1709. Closes ticket 11446.
  1710. o Major features (bridges):
  1711. - Expose the outgoing upstream HTTP/SOCKS proxy to pluggable
  1712. transports if they are configured via the "TOR_PT_PROXY"
  1713. environment variable. Implements proposal 232. Resolves
  1714. ticket 8402.
  1715. o Major features (client performance, hidden services):
  1716. - Allow clients to use optimistic data when connecting to a hidden
  1717. service, which should remove a round-trip from hidden service
  1718. initialization. See proposal 181 for details. Implements
  1719. ticket 13211.
  1720. o Major features (directory system):
  1721. - Upon receiving an unparseable directory object, if its digest
  1722. matches what we expected, then don't try to download it again.
  1723. Previously, when we got a descriptor we didn't like, we would keep
  1724. trying to download it over and over. Closes ticket 11243.
  1725. o Major features (sample torrc):
  1726. - Add a new, infrequently-changed "torrc.minimal". This file is
  1727. similar to torrc.sample, but it will change as infrequently as
  1728. possible, for the benefit of users whose systems prompt them for
  1729. intervention whenever a default configuration file is changed.
  1730. Making this change allows us to update torrc.sample to be a more
  1731. generally useful "sample torrc".
  1732. o Major bugfixes (directory authorities):
  1733. - Do not assign the HSDir flag to relays if they are not Valid, or
  1734. currently hibernating. Fixes 12573; bugfix on 0.2.0.10-alpha.
  1735. o Major bugfixes (directory bandwidth performance):
  1736. - Don't flush the zlib buffer aggressively when compressing
  1737. directory information for clients. This should save about 7% of
  1738. the bandwidth currently used for compressed descriptors and
  1739. microdescriptors. Fixes bug 11787; bugfix on 0.1.1.23.
  1740. o Minor features (security, memory wiping):
  1741. - Ensure we securely wipe keys from memory after
  1742. crypto_digest_get_digest and init_curve25519_keypair_from_file
  1743. have finished using them. Resolves ticket 13477.
  1744. o Minor features (security, out-of-memory handling):
  1745. - When handling an out-of-memory condition, allocate less memory for
  1746. temporary data structures. Fixes issue 10115.
  1747. - When handling an out-of-memory condition, consider more types of
  1748. buffers, including those on directory connections, and zlib
  1749. buffers. Resolves ticket 11792.
  1750. o Minor features:
  1751. - When identity keypair is generated for first time, log a
  1752. congratulatory message that links to the new relay lifecycle
  1753. document. Implements feature 10427.
  1754. o Minor features (client):
  1755. - Clients are now willing to send optimistic data (before they
  1756. receive a 'connected' cell) to relays of any version. (Relays
  1757. without support for optimistic data are no longer supported on the
  1758. Tor network.) Resolves ticket 13153.
  1759. o Minor features (directory authorities):
  1760. - Don't list relays with a bandwidth estimate of 0 in the consensus.
  1761. Implements a feature proposed during discussion of bug 13000.
  1762. - In tor-gencert, report an error if the user provides the same
  1763. argument more than once.
  1764. - If a directory authority can't find a best consensus method in the
  1765. votes that it holds, it now falls back to its favorite consensus
  1766. method. Previously, it fell back to method 1. Neither of these is
  1767. likely to get enough signatures, but "fall back to favorite"
  1768. doesn't require us to maintain support an obsolete consensus
  1769. method. Implements part of proposal 215.
  1770. o Minor features (logging):
  1771. - On Unix-like systems, you can now use named pipes as the target of
  1772. the Log option, and other options that try to append to files.
  1773. Closes ticket 12061. Patch from "carlo von lynX".
  1774. - When opening a log file at startup, send it every log message that
  1775. we generated between startup and opening it. Previously, log
  1776. messages that were generated before opening the log file were only
  1777. logged to stdout. Closes ticket 6938.
  1778. - Add a TruncateLogFile option to overwrite logs instead of
  1779. appending to them. Closes ticket 5583.
  1780. o Minor features (portability, Solaris):
  1781. - Threads are no longer disabled by default on Solaris; we believe
  1782. that the versions of Solaris with broken threading support are all
  1783. obsolete by now. Resolves ticket 9495.
  1784. o Minor features (relay):
  1785. - Re-check our address after we detect a changed IP address from
  1786. getsockname(). This ensures that the controller command "GETINFO
  1787. address" will report the correct value. Resolves ticket 11582.
  1788. Patch from "ra".
  1789. - A new AccountingRule option lets Relays set whether they'd like
  1790. AccountingMax to be applied separately to inbound and outbound
  1791. traffic, or applied to the sum of inbound and outbound traffic.
  1792. Resolves ticket 961. Patch by "chobe".
  1793. o Minor features (testing networks):
  1794. - Add the TestingDirAuthVoteExit option, which lists nodes to assign
  1795. the "Exit" flag regardless of their uptime, bandwidth, or exit
  1796. policy. TestingTorNetwork must be set for this option to have any
  1797. effect. Previously, authorities would take up to 35 minutes to
  1798. give nodes the Exit flag in a test network. Partially implements
  1799. ticket 13161.
  1800. o Minor features (validation):
  1801. - Check all date/time values passed to tor_timegm and
  1802. parse_rfc1123_time for validity, taking leap years into account.
  1803. Improves HTTP header validation. Implemented with bug 13476.
  1804. - In correct_tm(), limit the range of values returned by system
  1805. localtime(_r) and gmtime(_r) to be between the years 1 and 8099.
  1806. This means we don't have to deal with negative or too large dates,
  1807. even if a clock is wrong. Otherwise we might fail to read a file
  1808. written by us which includes such a date. Fixes bug 13476.
  1809. o Minor bugfixes (bridge clients):
  1810. - When configured to use a bridge without an identity digest (not
  1811. recommended), avoid launching an extra channel to it when
  1812. bootstrapping. Fixes bug 7733; bugfix on 0.2.4.4-alpha.
  1813. o Minor bugfixes (bridges):
  1814. - When DisableNetwork is set, do not launch pluggable transport
  1815. plugins, and if any are running, terminate them. Fixes bug 13213;
  1816. bugfix on 0.2.3.6-alpha.
  1817. o Minor bugfixes (C correctness):
  1818. - Fix several instances of possible integer overflow/underflow/NaN.
  1819. Fixes bug 13104; bugfix on 0.2.3.1-alpha and later. Patches
  1820. from "teor".
  1821. - In circuit_build_times_calculate_timeout() in circuitstats.c,
  1822. avoid dividing by zero in the pareto calculations. This traps
  1823. under clang's "undefined-trap" sanitizer. Fixes bug 13290; bugfix
  1824. on 0.2.2.2-alpha.
  1825. - Fix an integer overflow in format_time_interval(). Fixes bug
  1826. 13393; bugfix on 0.2.0.10-alpha.
  1827. - Set the correct day of year value when the system's localtime(_r)
  1828. or gmtime(_r) functions fail to set struct tm. Not externally
  1829. visible. Fixes bug 13476; bugfix on 0.0.2pre14.
  1830. - Avoid unlikely signed integer overflow in tor_timegm on systems
  1831. with 32-bit time_t. Fixes bug 13476; bugfix on 0.0.2pre14.
  1832. o Minor bugfixes (client):
  1833. - Fix smartlist_choose_node_by_bandwidth() so that relays with the
  1834. BadExit flag are not considered worthy candidates. Fixes bug
  1835. 13066; bugfix on 0.1.2.3-alpha.
  1836. - Use the consensus schedule for downloading consensuses, and not
  1837. the generic schedule. Fixes bug 11679; bugfix on 0.2.2.6-alpha.
  1838. - Handle unsupported or malformed SOCKS5 requests properly by
  1839. responding with the appropriate error message before closing the
  1840. connection. Fixes bugs 12971 and 13314; bugfix on 0.0.2pre13.
  1841. o Minor bugfixes (client, torrc):
  1842. - Stop modifying the value of our DirReqStatistics torrc option just
  1843. because we're not a bridge or relay. This bug was causing Tor
  1844. Browser users to write "DirReqStatistics 0" in their torrc files
  1845. as if they had chosen to change the config. Fixes bug 4244; bugfix
  1846. on 0.2.3.1-alpha.
  1847. - When GeoIPExcludeUnknown is enabled, do not incorrectly decide
  1848. that our options have changed every time we SIGHUP. Fixes bug
  1849. 9801; bugfix on 0.2.4.10-alpha. Patch from "qwerty1".
  1850. o Minor bugfixes (controller):
  1851. - Return an error when the second or later arguments of the
  1852. "setevents" controller command are invalid events. Previously we
  1853. would return success while silently skipping invalid events. Fixes
  1854. bug 13205; bugfix on 0.2.3.2-alpha. Reported by "fpxnns".
  1855. o Minor bugfixes (directory system):
  1856. - Always believe that v3 directory authorities serve extra-info
  1857. documents, whether they advertise "caches-extra-info" or not.
  1858. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  1859. - When running as a v3 directory authority, advertise that you serve
  1860. extra-info documents so that clients who want them can find them
  1861. from you too. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  1862. - Check the BRIDGE_DIRINFO flag bitwise rather than using equality.
  1863. Previously, directories offering BRIDGE_DIRINFO and some other
  1864. flag (i.e. microdescriptors or extrainfo) would be ignored when
  1865. looking for bridges. Partially fixes bug 13163; bugfix
  1866. on 0.2.0.7-alpha.
  1867. o Minor bugfixes (networking):
  1868. - Check for orconns and use connection_or_close_for_error() rather
  1869. than connection_mark_for_close() directly in the getsockopt()
  1870. failure case of connection_handle_write_impl(). Fixes bug 11302;
  1871. bugfix on 0.2.4.4-alpha.
  1872. o Minor bugfixes (relay):
  1873. - When generating our family list, remove spaces from around the
  1874. entries. Fixes bug 12728; bugfix on 0.2.1.7-alpha.
  1875. - If our previous bandwidth estimate was 0 bytes, allow publishing a
  1876. new relay descriptor immediately. Fixes bug 13000; bugfix
  1877. on 0.1.1.6-alpha.
  1878. o Minor bugfixes (testing networks):
  1879. - Fix TestingDirAuthVoteGuard to properly give out Guard flags in a
  1880. testing network. Fixes bug 13064; bugfix on 0.2.5.2-alpha.
  1881. - Stop using the default authorities in networks which provide both
  1882. AlternateDirAuthority and AlternateBridgeAuthority. Partially
  1883. fixes bug 13163; bugfix on 0.2.0.13-alpha.
  1884. o Minor bugfixes (testing):
  1885. - Stop spawn test failures due to a race condition between the
  1886. SIGCHLD handler updating the process status, and the test reading
  1887. it. Fixes bug 13291; bugfix on 0.2.3.3-alpha.
  1888. o Minor bugfixes (testing, Windows):
  1889. - Avoid passing an extra backslash when creating a temporary
  1890. directory for running the unit tests on Windows. Fixes bug 12392;
  1891. bugfix on 0.2.2.25-alpha. Patch from Gisle Vanem.
  1892. o Minor bugfixes (windows):
  1893. - Remove code to special-case handling of NTE_BAD_KEYSET when
  1894. acquiring windows CryptoAPI context. This error can't actually
  1895. occur for the parameters we're providing. Fixes bug 10816; bugfix
  1896. on 0.0.2pre26.
  1897. o Minor bugfixes (zlib):
  1898. - Avoid truncating a zlib stream when trying to finalize it with an
  1899. empty output buffer. Fixes bug 11824; bugfix on 0.1.1.23.
  1900. o Build fixes:
  1901. - Allow our configure script to build correctly with autoconf 2.62
  1902. again. Fixes bug 12693; bugfix on 0.2.5.2-alpha.
  1903. - Improve the error message from ./configure to make it clear that
  1904. when asciidoc has not been found, the user will have to either add
  1905. --disable-asciidoc argument or install asciidoc. Resolves
  1906. ticket 13228.
  1907. o Code simplification and refactoring:
  1908. - Change the entry_is_live() function to take named bitfield
  1909. elements instead of an unnamed list of booleans. Closes
  1910. ticket 12202.
  1911. - Refactor and unit-test entry_is_time_to_retry() in entrynodes.c.
  1912. Resolves ticket 12205.
  1913. - Use calloc and reallocarray functions instead of multiply-
  1914. then-malloc. This makes it less likely for us to fall victim to an
  1915. integer overflow attack when allocating. Resolves ticket 12855.
  1916. - Use the standard macro name SIZE_MAX, instead of our
  1917. own SIZE_T_MAX.
  1918. - Document usage of the NO_DIRINFO and ALL_DIRINFO flags clearly in
  1919. functions which take them as arguments. Replace 0 with NO_DIRINFO
  1920. in a function call for clarity. Seeks to prevent future issues
  1921. like 13163.
  1922. - Avoid 4 null pointer errors under clang static analysis by using
  1923. tor_assert() to prove that the pointers aren't null. Fixes
  1924. bug 13284.
  1925. - Rework the API of policies_parse_exit_policy() to use a bitmask to
  1926. represent parsing options, instead of a confusing mess of
  1927. booleans. Resolves ticket 8197.
  1928. - Introduce a helper function to parse ExitPolicy in
  1929. or_options_t structure.
  1930. o Documentation:
  1931. - Add a doc/TUNING document with tips for handling large numbers of
  1932. TCP connections when running busy Tor relay. Update the warning
  1933. message to point to this file when running out of sockets
  1934. operating system is allowing to use simultaneously. Resolves
  1935. ticket 9708.
  1936. o Removed features:
  1937. - We no longer remind the user about configuration options that have
  1938. been obsolete since 0.2.3.x or earlier. Patch by Adrien Bak.
  1939. - Remove our old, non-weighted bandwidth-based node selection code.
  1940. Previously, we used it as a fallback when we couldn't perform
  1941. weighted bandwidth-based node selection. But that would only
  1942. happen in the cases where we had no consensus, or when we had a
  1943. consensus generated by buggy or ancient directory authorities. In
  1944. either case, it's better to use the more modern, better maintained
  1945. algorithm, with reasonable defaults for the weights. Closes
  1946. ticket 13126.
  1947. - Remove the --disable-curve25519 configure option. Relays and
  1948. clients now are required to support curve25519 and the
  1949. ntor handshake.
  1950. - The old "StrictEntryNodes" and "StrictExitNodes" options, which
  1951. used to be deprecated synonyms for "StrictNodes", are now marked
  1952. obsolete. Resolves ticket 12226.
  1953. - Clients don't understand the BadDirectory flag in the consensus
  1954. anymore, and ignore it.
  1955. o Testing:
  1956. - Refactor the function that chooses guard nodes so that it can more
  1957. easily be tested; write some tests for it.
  1958. - Fix and re-enable the fgets_eagain unit test. Fixes bug 12503;
  1959. bugfix on 0.2.3.1-alpha. Patch from "cypherpunks."
  1960. - Create unit tests for format_time_interval(). With bug 13393.
  1961. - Add unit tests for tor_timegm signed overflow, tor_timegm and
  1962. parse_rfc1123_time validity checks, correct_tm year clamping. Unit
  1963. tests (visible) fixes in bug 13476.
  1964. - Add a "coverage-html" make target to generate HTML-visualized
  1965. coverage results when building with --enable-coverage. (Requires
  1966. lcov.) Patch from Kevin Murray.
  1967. - Enable the backtrace handler (where supported) when running the
  1968. unit tests.
  1969. - Revise all unit tests that used the legacy test_* macros to
  1970. instead use the recommended tt_* macros. This patch was generated
  1971. with coccinelle, to avoid manual errors. Closes ticket 13119.
  1972. o Distribution (systemd):
  1973. - systemd unit file: only allow tor to write to /var/lib/tor and
  1974. /var/log/tor. The rest of the filesystem is accessible for reading
  1975. only. Patch by intrigeri; resolves ticket 12751.
  1976. - systemd unit file: ensure that the process and all its children
  1977. can never gain new privileges. Patch by intrigeri; resolves
  1978. ticket 12939.
  1979. - systemd unit file: set up /var/run/tor as writable for the Tor
  1980. service. Patch by intrigeri; resolves ticket 13196.
  1981. o Removed features (directory authorities):
  1982. - Remove code that prevented authorities from listing Tor relays
  1983. affected by CVE-2011-2769 as guards. These relays are already
  1984. rejected altogether due to the minimum version requirement of
  1985. 0.2.3.16-alpha. Closes ticket 13152.
  1986. - The "AuthDirRejectUnlisted" option no longer has any effect, as
  1987. the fingerprints file (approved-routers) has been deprecated.
  1988. - Directory authorities do not support being Naming dirauths anymore.
  1989. The "NamingAuthoritativeDir" config option is now obsolete.
  1990. - Directory authorities do not support giving out the BadDirectory
  1991. flag anymore.
  1992. - Directory authorities no longer advertise or support consensus
  1993. methods 1 through 12 inclusive. These consensus methods were
  1994. obsolete and/or insecure: maintaining the ability to support them
  1995. served no good purpose. Implements part of proposal 215; closes
  1996. ticket 10163.
  1997. o Testing (test-network.sh):
  1998. - Stop using "echo -n", as some shells' built-in echo doesn't
  1999. support "-n". Instead, use "/bin/echo -n". Partially fixes
  2000. bug 13161.
  2001. - Stop an apparent test-network hang when used with make -j2. Fixes
  2002. bug 13331.
  2003. - Add a --delay option to test-network.sh, which configures the
  2004. delay before the chutney network tests for data transmission.
  2005. Partially implements ticket 13161.
  2006. Changes in version 0.2.5.10 - 2014-10-24
  2007. Tor 0.2.5.10 is the first stable release in the 0.2.5 series.
  2008. It adds several new security features, including improved
  2009. denial-of-service resistance for relays, new compiler hardening
  2010. options, and a system-call sandbox for hardened installations on Linux
  2011. (requires seccomp2). The controller protocol has several new features,
  2012. resolving IPv6 addresses should work better than before, and relays
  2013. should be a little more CPU-efficient. We've added support for more
  2014. OpenBSD and FreeBSD transparent proxy types. We've improved the build
  2015. system and testing infrastructure to allow unit testing of more parts
  2016. of the Tor codebase. Finally, we've addressed several nagging pluggable
  2017. transport usability issues, and included numerous other small bugfixes
  2018. and features mentioned below.
  2019. This release marks end-of-life for Tor 0.2.3.x; those Tor versions
  2020. have accumulated many known flaws; everyone should upgrade.
  2021. o Deprecated versions:
  2022. - Tor 0.2.3.x has reached end-of-life; it has received no patches or
  2023. attention for some while.
  2024. Changes in version 0.2.5.9-rc - 2014-10-20
  2025. Tor 0.2.5.9-rc is the third release candidate for the Tor 0.2.5.x
  2026. series. It disables SSL3 in response to the recent "POODLE" attack
  2027. (even though POODLE does not affect Tor). It also works around a crash
  2028. bug caused by some operating systems' response to the "POODLE" attack
  2029. (which does affect Tor). It also contains a few miscellaneous fixes.
  2030. o Major security fixes:
  2031. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  2032. today support TLS 1.0 or later, so we can safely turn off support
  2033. for this old (and insecure) protocol. Fixes bug 13426.
  2034. o Major bugfixes (openssl bug workaround):
  2035. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  2036. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
  2037. 13471. This is a workaround for an OpenSSL bug.
  2038. o Minor bugfixes:
  2039. - Disable the sandbox name resolver cache when running tor-resolve:
  2040. tor-resolve doesn't use the sandbox code, and turning it on was
  2041. breaking attempts to do tor-resolve on a non-default server on
  2042. Linux. Fixes bug 13295; bugfix on 0.2.5.3-alpha.
  2043. o Compilation fixes:
  2044. - Build and run correctly on systems like OpenBSD-current that have
  2045. patched OpenSSL to remove get_cipher_by_char and/or its
  2046. implementations. Fixes issue 13325.
  2047. o Downgraded warnings:
  2048. - Downgrade the severity of the 'unexpected sendme cell from client'
  2049. from 'warn' to 'protocol warning'. Closes ticket 8093.
  2050. Changes in version 0.2.4.25 - 2014-10-20
  2051. Tor 0.2.4.25 disables SSL3 in response to the recent "POODLE" attack
  2052. (even though POODLE does not affect Tor). It also works around a crash
  2053. bug caused by some operating systems' response to the "POODLE" attack
  2054. (which does affect Tor).
  2055. o Major security fixes (also in 0.2.5.9-rc):
  2056. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  2057. today support TLS 1.0 or later, so we can safely turn off support
  2058. for this old (and insecure) protocol. Fixes bug 13426.
  2059. o Major bugfixes (openssl bug workaround, also in 0.2.5.9-rc):
  2060. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  2061. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
  2062. 13471. This is a workaround for an OpenSSL bug.
  2063. Changes in version 0.2.5.8-rc - 2014-09-22
  2064. Tor 0.2.5.8-rc is the second release candidate for the Tor 0.2.5.x
  2065. series. It fixes a bug that affects consistency and speed when
  2066. connecting to hidden services, and it updates the location of one of
  2067. the directory authorities.
  2068. o Major bugfixes:
  2069. - Clients now send the correct address for their chosen rendezvous
  2070. point when trying to access a hidden service. They used to send
  2071. the wrong address, which would still work some of the time because
  2072. they also sent the identity digest of the rendezvous point, and if
  2073. the hidden service happened to try connecting to the rendezvous
  2074. point from a relay that already had a connection open to it,
  2075. the relay would reuse that connection. Now connections to hidden
  2076. services should be more robust and faster. Also, this bug meant
  2077. that clients were leaking to the hidden service whether they were
  2078. on a little-endian (common) or big-endian (rare) system, which for
  2079. some users might have reduced their anonymity. Fixes bug 13151;
  2080. bugfix on 0.2.1.5-alpha.
  2081. o Directory authority changes:
  2082. - Change IP address for gabelmoo (v3 directory authority).
  2083. Changes in version 0.2.4.24 - 2014-09-22
  2084. Tor 0.2.4.24 fixes a bug that affects consistency and speed when
  2085. connecting to hidden services, and it updates the location of one of
  2086. the directory authorities.
  2087. o Major bugfixes:
  2088. - Clients now send the correct address for their chosen rendezvous
  2089. point when trying to access a hidden service. They used to send
  2090. the wrong address, which would still work some of the time because
  2091. they also sent the identity digest of the rendezvous point, and if
  2092. the hidden service happened to try connecting to the rendezvous
  2093. point from a relay that already had a connection open to it,
  2094. the relay would reuse that connection. Now connections to hidden
  2095. services should be more robust and faster. Also, this bug meant
  2096. that clients were leaking to the hidden service whether they were
  2097. on a little-endian (common) or big-endian (rare) system, which for
  2098. some users might have reduced their anonymity. Fixes bug 13151;
  2099. bugfix on 0.2.1.5-alpha.
  2100. o Directory authority changes:
  2101. - Change IP address for gabelmoo (v3 directory authority).
  2102. o Minor features (geoip):
  2103. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  2104. Country database.
  2105. Changes in version 0.2.5.7-rc - 2014-09-11
  2106. Tor 0.2.5.7-rc fixes several regressions from earlier in the 0.2.5.x
  2107. release series, and some long-standing bugs related to ORPort reachability
  2108. testing and failure to send CREATE cells. It is the first release
  2109. candidate for the Tor 0.2.5.x series.
  2110. o Major bugfixes (client, startup):
  2111. - Start making circuits as soon as DisabledNetwork is turned off.
  2112. When Tor started with DisabledNetwork set, it would correctly
  2113. conclude that it shouldn't build circuits, but it would mistakenly
  2114. cache this conclusion, and continue believing it even when
  2115. DisableNetwork is set to 0. Fixes the bug introduced by the fix
  2116. for bug 11200; bugfix on 0.2.5.4-alpha.
  2117. - Resume expanding abbreviations for command-line options. The fix
  2118. for bug 4647 accidentally removed our hack from bug 586 that
  2119. rewrote HashedControlPassword to __HashedControlSessionPassword
  2120. when it appears on the commandline (which allowed the user to set
  2121. her own HashedControlPassword in the torrc file while the
  2122. controller generates a fresh session password for each run). Fixes
  2123. bug 12948; bugfix on 0.2.5.1-alpha.
  2124. - Warn about attempts to run hidden services and relays in the same
  2125. process: that's probably not a good idea. Closes ticket 12908.
  2126. o Major bugfixes (relay):
  2127. - Avoid queuing or sending destroy cells for circuit ID zero when we
  2128. fail to send a CREATE cell. Fixes bug 12848; bugfix on 0.0.8pre1.
  2129. Found and fixed by "cypherpunks".
  2130. - Fix ORPort reachability detection on relays running behind a
  2131. proxy, by correctly updating the "local" mark on the controlling
  2132. channel when changing the address of an or_connection_t after the
  2133. handshake. Fixes bug 12160; bugfix on 0.2.4.4-alpha.
  2134. o Minor features (bridge):
  2135. - Add an ExtORPortCookieAuthFileGroupReadable option to make the
  2136. cookie file for the ExtORPort g+r by default.
  2137. o Minor features (geoip):
  2138. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  2139. Country database.
  2140. o Minor bugfixes (logging):
  2141. - Reduce the log severity of the "Pluggable transport proxy does not
  2142. provide any needed transports and will not be launched." message,
  2143. since Tor Browser includes several ClientTransportPlugin lines in
  2144. its torrc-defaults file, leading every Tor Browser user who looks
  2145. at her logs to see these notices and wonder if they're dangerous.
  2146. Resolves bug 13124; bugfix on 0.2.5.3-alpha.
  2147. - Downgrade "Unexpected onionskin length after decryption" warning
  2148. to a protocol-warn, since there's nothing relay operators can do
  2149. about a client that sends them a malformed create cell. Resolves
  2150. bug 12996; bugfix on 0.0.6rc1.
  2151. - Log more specific warnings when we get an ESTABLISH_RENDEZVOUS
  2152. cell on a cannibalized or non-OR circuit. Resolves ticket 12997.
  2153. - When logging information about an EXTEND2 or EXTENDED2 cell, log
  2154. their names correctly. Fixes part of bug 12700; bugfix
  2155. on 0.2.4.8-alpha.
  2156. - When logging information about a relay cell whose command we don't
  2157. recognize, log its command as an integer. Fixes part of bug 12700;
  2158. bugfix on 0.2.1.10-alpha.
  2159. - Escape all strings from the directory connection before logging
  2160. them. Fixes bug 13071; bugfix on 0.1.1.15. Patch from "teor".
  2161. o Minor bugfixes (controller):
  2162. - Restore the functionality of CookieAuthFileGroupReadable. Fixes
  2163. bug 12864; bugfix on 0.2.5.1-alpha.
  2164. - Actually send TRANSPORT_LAUNCHED and HS_DESC events to
  2165. controllers. Fixes bug 13085; bugfix on 0.2.5.1-alpha. Patch
  2166. by "teor".
  2167. o Minor bugfixes (compilation):
  2168. - Fix compilation of test.h with MSVC. Patch from Gisle Vanem;
  2169. bugfix on 0.2.5.5-alpha.
  2170. - Make the nmake make files work again. Fixes bug 13081. Bugfix on
  2171. 0.2.5.1-alpha. Patch from "NewEraCracker".
  2172. - In routerlist_assert_ok(), don't take the address of a
  2173. routerinfo's cache_info member unless that routerinfo is non-NULL.
  2174. Fixes bug 13096; bugfix on 0.1.1.9-alpha. Patch by "teor".
  2175. - Fix a large number of false positive warnings from the clang
  2176. analyzer static analysis tool. This should make real warnings
  2177. easier for clang analyzer to find. Patch from "teor". Closes
  2178. ticket 13036.
  2179. o Distribution (systemd):
  2180. - Verify configuration file via ExecStartPre in the systemd unit
  2181. file. Patch from intrigeri; resolves ticket 12730.
  2182. - Explicitly disable RunAsDaemon in the systemd unit file. Our
  2183. current systemd unit uses "Type = simple", so systemd does not
  2184. expect tor to fork. If the user has "RunAsDaemon 1" in their
  2185. torrc, then things won't work as expected. This is e.g. the case
  2186. on Debian (and derivatives), since there we pass "--defaults-torrc
  2187. /usr/share/tor/tor-service-defaults-torrc" (that contains
  2188. "RunAsDaemon 1") by default. Patch by intrigeri; resolves
  2189. ticket 12731.
  2190. o Documentation:
  2191. - Adjust the URLs in the README to refer to the new locations of
  2192. several documents on the website. Fixes bug 12830. Patch from
  2193. Matt Pagan.
  2194. - Document 'reject6' and 'accept6' ExitPolicy entries. Resolves
  2195. ticket 12878.
  2196. Changes in version 0.2.5.6-alpha - 2014-07-28
  2197. Tor 0.2.5.6-alpha brings us a big step closer to slowing down the
  2198. risk from guard rotation, and fixes a variety of other issues to get
  2199. us closer to a release candidate.
  2200. o Major features (also in 0.2.4.23):
  2201. - Make the number of entry guards configurable via a new
  2202. NumEntryGuards consensus parameter, and the number of directory
  2203. guards configurable via a new NumDirectoryGuards consensus
  2204. parameter. Implements ticket 12688.
  2205. o Major bugfixes (also in 0.2.4.23):
  2206. - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
  2207. implementation that caused incorrect results on 32-bit
  2208. implementations when certain malformed inputs were used along with
  2209. a small class of private ntor keys. This bug does not currently
  2210. appear to allow an attacker to learn private keys or impersonate a
  2211. Tor server, but it could provide a means to distinguish 32-bit Tor
  2212. implementations from 64-bit Tor implementations. Fixes bug 12694;
  2213. bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
  2214. Adam Langley.
  2215. o Major bugfixes:
  2216. - Perform circuit cleanup operations even when circuit
  2217. construction operations are disabled (because the network is
  2218. disabled, or because there isn't enough directory information).
  2219. Previously, when we were not building predictive circuits, we
  2220. were not closing expired circuits either. Fixes bug 8387; bugfix on
  2221. 0.1.1.11-alpha. This bug became visible in 0.2.4.10-alpha when we
  2222. became more strict about when we have "enough directory information
  2223. to build circuits".
  2224. o Minor features:
  2225. - Authorities now assign the Guard flag to the fastest 25% of the
  2226. network (it used to be the fastest 50%). Also raise the consensus
  2227. weight that guarantees the Guard flag from 250 to 2000. For the
  2228. current network, this results in about 1100 guards, down from 2500.
  2229. This step paves the way for moving the number of entry guards
  2230. down to 1 (proposal 236) while still providing reasonable expected
  2231. performance for most users. Implements ticket 12690.
  2232. - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
  2233. Country database.
  2234. - Slightly enhance the diagnostic message for bug 12184.
  2235. o Minor bugfixes (also in 0.2.4.23):
  2236. - Warn and drop the circuit if we receive an inbound 'relay early'
  2237. cell. Those used to be normal to receive on hidden service circuits
  2238. due to bug 1038, but the buggy Tor versions are long gone from
  2239. the network so we can afford to resume watching for them. Resolves
  2240. the rest of bug 1038; bugfix on 0.2.1.19.
  2241. - Correct a confusing error message when trying to extend a circuit
  2242. via the control protocol but we don't know a descriptor or
  2243. microdescriptor for one of the specified relays. Fixes bug 12718;
  2244. bugfix on 0.2.3.1-alpha.
  2245. o Minor bugfixes:
  2246. - Fix compilation when building with bufferevents enabled. (This
  2247. configuration is still not expected to work, however.)
  2248. Fixes bugs 12438, 12474, 11578; bugfixes on 0.2.5.1-alpha and
  2249. 0.2.5.3-alpha. Patches from Anthony G. Basile and Sathyanarayanan
  2250. Gunasekaran.
  2251. - Compile correctly with builds and forks of OpenSSL (such as
  2252. LibreSSL) that disable compression. Fixes bug 12602; bugfix on
  2253. 0.2.1.1-alpha. Patch from "dhill".
  2254. Changes in version 0.2.4.23 - 2014-07-28
  2255. Tor 0.2.4.23 brings us a big step closer to slowing down the risk from
  2256. guard rotation, and also backports several important fixes from the
  2257. Tor 0.2.5 alpha release series.
  2258. o Major features:
  2259. - Clients now look at the "usecreatefast" consensus parameter to
  2260. decide whether to use CREATE_FAST or CREATE cells for the first hop
  2261. of their circuit. This approach can improve security on connections
  2262. where Tor's circuit handshake is stronger than the available TLS
  2263. connection security levels, but the tradeoff is more computational
  2264. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  2265. - Make the number of entry guards configurable via a new
  2266. NumEntryGuards consensus parameter, and the number of directory
  2267. guards configurable via a new NumDirectoryGuards consensus
  2268. parameter. Implements ticket 12688.
  2269. o Major bugfixes:
  2270. - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
  2271. implementation that caused incorrect results on 32-bit
  2272. implementations when certain malformed inputs were used along with
  2273. a small class of private ntor keys. This bug does not currently
  2274. appear to allow an attacker to learn private keys or impersonate a
  2275. Tor server, but it could provide a means to distinguish 32-bit Tor
  2276. implementations from 64-bit Tor implementations. Fixes bug 12694;
  2277. bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
  2278. Adam Langley.
  2279. o Minor bugfixes:
  2280. - Warn and drop the circuit if we receive an inbound 'relay early'
  2281. cell. Those used to be normal to receive on hidden service circuits
  2282. due to bug 1038, but the buggy Tor versions are long gone from
  2283. the network so we can afford to resume watching for them. Resolves
  2284. the rest of bug 1038; bugfix on 0.2.1.19.
  2285. - Correct a confusing error message when trying to extend a circuit
  2286. via the control protocol but we don't know a descriptor or
  2287. microdescriptor for one of the specified relays. Fixes bug 12718;
  2288. bugfix on 0.2.3.1-alpha.
  2289. - Avoid an illegal read from stack when initializing the TLS
  2290. module using a version of OpenSSL without all of the ciphers
  2291. used by the v2 link handshake. Fixes bug 12227; bugfix on
  2292. 0.2.4.8-alpha. Found by "starlight".
  2293. o Minor features:
  2294. - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
  2295. Country database.
  2296. Changes in version 0.2.5.5-alpha - 2014-06-18
  2297. Tor 0.2.5.5-alpha fixes a wide variety of remaining issues in the Tor
  2298. 0.2.5.x release series, including a couple of DoS issues, some
  2299. performance regressions, a large number of bugs affecting the Linux
  2300. seccomp2 sandbox code, and various other bugfixes. It also adds
  2301. diagnostic bugfixes for a few tricky issues that we're trying to
  2302. track down.
  2303. o Major features (security, traffic analysis resistance):
  2304. - Several major improvements to the algorithm used to decide when to
  2305. close TLS connections. Previous versions of Tor closed connections
  2306. at a fixed interval after the last time a non-padding cell was
  2307. sent over the connection, regardless of the target of the
  2308. connection. Now, we randomize the intervals by adding up to 50% of
  2309. their base value, we measure the length of time since connection
  2310. last had at least one circuit, and we allow connections to known
  2311. ORs to remain open a little longer (15 minutes instead of 3
  2312. minutes minimum). These changes should improve Tor's resistance
  2313. against some kinds of traffic analysis, and lower some overhead
  2314. from needlessly closed connections. Fixes ticket 6799.
  2315. Incidentally fixes ticket 12023; bugfix on 0.2.5.1-alpha.
  2316. o Major bugfixes (security, OOM, new since 0.2.5.4-alpha, also in 0.2.4.22):
  2317. - Fix a memory leak that could occur if a microdescriptor parse
  2318. fails during the tokenizing step. This bug could enable a memory
  2319. exhaustion attack by directory servers. Fixes bug 11649; bugfix
  2320. on 0.2.2.6-alpha.
  2321. o Major bugfixes (security, directory authorities):
  2322. - Directory authorities now include a digest of each relay's
  2323. identity key as a part of its microdescriptor.
  2324. This is a workaround for bug 11743 (reported by "cypherpunks"),
  2325. where Tor clients do not support receiving multiple
  2326. microdescriptors with the same SHA256 digest in the same
  2327. consensus. When clients receive a consensus like this, they only
  2328. use one of the relays. Without this fix, a hostile relay could
  2329. selectively disable some client use of target relays by
  2330. constructing a router descriptor with a different identity and the
  2331. same microdescriptor parameters and getting the authorities to
  2332. list it in a microdescriptor consensus. This fix prevents an
  2333. attacker from causing a microdescriptor collision, because the
  2334. router's identity is not forgeable.
  2335. o Major bugfixes (relay):
  2336. - Use a direct dirport connection when uploading non-anonymous
  2337. descriptors to the directory authorities. Previously, relays would
  2338. incorrectly use tunnel connections under a fairly wide variety of
  2339. circumstances. Fixes bug 11469; bugfix on 0.2.4.3-alpha.
  2340. - When a circuit accidentally has the same circuit ID for its
  2341. forward and reverse direction, correctly detect the direction of
  2342. cells using that circuit. Previously, this bug made roughly one
  2343. circuit in a million non-functional. Fixes bug 12195; this is a
  2344. bugfix on every version of Tor.
  2345. o Major bugfixes (client, pluggable transports):
  2346. - When managing pluggable transports, use OS notification facilities
  2347. to learn if they have crashed, and don't attempt to kill any
  2348. process that has already exited. Fixes bug 8746; bugfix
  2349. on 0.2.3.6-alpha.
  2350. o Minor features (diagnostic):
  2351. - When logging a warning because of bug 7164, additionally check the
  2352. hash table for consistency (as proposed on ticket 11737). This may
  2353. help diagnose bug 7164.
  2354. - When we log a heartbeat, log how many one-hop circuits we have
  2355. that are at least 30 minutes old, and log status information about
  2356. a few of them. This is an attempt to track down bug 8387.
  2357. - When encountering an unexpected CR while writing text to a file on
  2358. Windows, log the name of the file. Should help diagnosing
  2359. bug 11233.
  2360. - Give more specific warnings when a client notices that an onion
  2361. handshake has failed. Fixes ticket 9635.
  2362. - Add significant new logging code to attempt to diagnose bug 12184,
  2363. where relays seem to run out of available circuit IDs.
  2364. - Improve the diagnostic log message for bug 8387 even further to
  2365. try to improve our odds of figuring out why one-hop directory
  2366. circuits sometimes do not get closed.
  2367. o Minor features (security, memory management):
  2368. - Memory allocation tricks (mempools and buffer freelists) are now
  2369. disabled by default. You can turn them back on with
  2370. --enable-mempools and --enable-buf-freelists respectively. We're
  2371. disabling these features because malloc performance is good enough
  2372. on most platforms, and a similar feature in OpenSSL exacerbated
  2373. exploitation of the Heartbleed attack. Resolves ticket 11476.
  2374. o Minor features (security):
  2375. - Apply the secure SipHash-2-4 function to the hash table mapping
  2376. circuit IDs and channels to circuits. We missed this one when we
  2377. were converting all the other hash functions to use SipHash back
  2378. in 0.2.5.3-alpha. Resolves ticket 11750.
  2379. o Minor features (build):
  2380. - The configure script has a --disable-seccomp option to turn off
  2381. support for libseccomp on systems that have it, in case it (or
  2382. Tor's use of it) is broken. Resolves ticket 11628.
  2383. o Minor features (other):
  2384. - Update geoip and geoip6 to the June 4 2014 Maxmind GeoLite2
  2385. Country database.
  2386. o Minor bugfixes (security, new since 0.2.5.4-alpha, also in 0.2.4.22):
  2387. - When running a hidden service, do not allow TunneledDirConns 0;
  2388. this will keep the hidden service from running, and also
  2389. make it publish its descriptors directly over HTTP. Fixes bug 10849;
  2390. bugfix on 0.2.1.1-alpha.
  2391. o Minor bugfixes (performance):
  2392. - Avoid a bug where every successful connection made us recompute
  2393. the flag telling us whether we have sufficient information to
  2394. build circuits. Previously, we would forget our cached value
  2395. whenever we successfully opened a channel (or marked a router as
  2396. running or not running for any other reason), regardless of
  2397. whether we had previously believed the router to be running. This
  2398. forced us to run an expensive update operation far too often.
  2399. Fixes bug 12170; bugfix on 0.1.2.1-alpha.
  2400. - Avoid using tor_memeq() for checking relay cell integrity. This
  2401. removes a possible performance bottleneck. Fixes part of bug
  2402. 12169; bugfix on 0.2.1.31.
  2403. o Minor bugfixes (compilation):
  2404. - Fix compilation of test_status.c when building with MVSC. Bugfix
  2405. on 0.2.5.4-alpha. Patch from Gisle Vanem.
  2406. - Resolve GCC complaints on OpenBSD about discarding constness in
  2407. TO_{ORIGIN,OR}_CIRCUIT functions. Fixes part of bug 11633; bugfix
  2408. on 0.1.1.23. Patch from Dana Koch.
  2409. - Resolve clang complaints on OpenBSD with -Wshorten-64-to-32 due to
  2410. treatment of long and time_t as comparable types. Fixes part of
  2411. bug 11633. Patch from Dana Koch.
  2412. - Make Tor compile correctly with --disable-buf-freelists. Fixes bug
  2413. 11623; bugfix on 0.2.5.3-alpha.
  2414. - When deciding whether to build the 64-bit curve25519
  2415. implementation, detect platforms where we can compile 128-bit
  2416. arithmetic but cannot link it. Fixes bug 11729; bugfix on
  2417. 0.2.4.8-alpha. Patch from "conradev".
  2418. - Fix compilation when DNS_CACHE_DEBUG is enabled. Fixes bug 11761;
  2419. bugfix on 0.2.3.13-alpha. Found by "cypherpunks".
  2420. - Fix compilation with dmalloc. Fixes bug 11605; bugfix
  2421. on 0.2.4.10-alpha.
  2422. o Minor bugfixes (Directory server):
  2423. - When sending a compressed set of descriptors or microdescriptors,
  2424. make sure to finalize the zlib stream. Previously, we would write
  2425. all the compressed data, but if the last descriptor we wanted to
  2426. send was missing or too old, we would not mark the stream as
  2427. finished. This caused problems for decompression tools. Fixes bug
  2428. 11648; bugfix on 0.1.1.23.
  2429. o Minor bugfixes (Linux seccomp sandbox):
  2430. - Make the seccomp sandbox code compile under ARM Linux. Fixes bug
  2431. 11622; bugfix on 0.2.5.1-alpha.
  2432. - Avoid crashing when re-opening listener ports with the seccomp
  2433. sandbox active. Fixes bug 12115; bugfix on 0.2.5.1-alpha.
  2434. - Avoid crashing with the seccomp sandbox enabled along with
  2435. ConstrainedSockets. Fixes bug 12139; bugfix on 0.2.5.1-alpha.
  2436. - When we receive a SIGHUP with the sandbox enabled, correctly
  2437. support rotating our log files. Fixes bug 12032; bugfix
  2438. on 0.2.5.1-alpha.
  2439. - Avoid crash when running with sandboxing enabled and
  2440. DirReqStatistics not disabled. Fixes bug 12035; bugfix
  2441. on 0.2.5.1-alpha.
  2442. - Fix a "BUG" warning when trying to write bridge-stats files with
  2443. the Linux syscall sandbox filter enabled. Fixes bug 12041; bugfix
  2444. on 0.2.5.1-alpha.
  2445. - Prevent the sandbox from crashing on startup when run with the
  2446. --enable-expensive-hardening configuration option. Fixes bug
  2447. 11477; bugfix on 0.2.5.4-alpha.
  2448. - When running with DirPortFrontPage and sandboxing both enabled,
  2449. reload the DirPortFrontPage correctly when restarting. Fixes bug
  2450. 12028; bugfix on 0.2.5.1-alpha.
  2451. - Don't try to enable the sandbox when using the Tor binary to check
  2452. its configuration, hash a passphrase, or so on. Doing so was
  2453. crashing on startup for some users. Fixes bug 11609; bugfix
  2454. on 0.2.5.1-alpha.
  2455. - Avoid warnings when running with sandboxing and node statistics
  2456. enabled at the same time. Fixes part of 12064; bugfix on
  2457. 0.2.5.1-alpha. Patch from Michael Wolf.
  2458. - Avoid warnings when running with sandboxing enabled at the same
  2459. time as cookie authentication, hidden services, or directory
  2460. authority voting. Fixes part of 12064; bugfix on 0.2.5.1-alpha.
  2461. - Do not allow options that require calls to exec to be enabled
  2462. alongside the seccomp2 sandbox: they will inevitably crash. Fixes
  2463. bug 12043; bugfix on 0.2.5.1-alpha.
  2464. - Handle failures in getpwnam()/getpwuid() when running with the
  2465. User option set and the Linux syscall sandbox enabled. Fixes bug
  2466. 11946; bugfix on 0.2.5.1-alpha.
  2467. - Refactor the getaddrinfo workaround that the seccomp sandbox uses
  2468. to avoid calling getaddrinfo() after installing the sandbox
  2469. filters. Previously, it preloaded a cache with the IPv4 address
  2470. for our hostname, and nothing else. Now, it loads the cache with
  2471. every address that it used to initialize the Tor process. Fixes
  2472. bug 11970; bugfix on 0.2.5.1-alpha.
  2473. o Minor bugfixes (pluggable transports):
  2474. - Enable the ExtORPortCookieAuthFile option, to allow changing the
  2475. default location of the authentication token for the extended OR
  2476. Port as used by sever-side pluggable transports. We had
  2477. implemented this option before, but the code to make it settable
  2478. had been omitted. Fixes bug 11635; bugfix on 0.2.5.1-alpha.
  2479. - Avoid another 60-second delay when starting Tor in a pluggable-
  2480. transport-using configuration when we already have cached
  2481. descriptors for our bridges. Fixes bug 11965; bugfix
  2482. on 0.2.3.6-alpha.
  2483. o Minor bugfixes (client):
  2484. - Avoid "Tried to open a socket with DisableNetwork set" warnings
  2485. when starting a client with bridges configured and DisableNetwork
  2486. set. (Tor launcher starts Tor with DisableNetwork set the first
  2487. time it runs.) Fixes bug 10405; bugfix on 0.2.3.9-alpha.
  2488. o Minor bugfixes (testing):
  2489. - The Python parts of the test scripts now work on Python 3 as well
  2490. as Python 2, so systems where '/usr/bin/python' is Python 3 will
  2491. no longer have the tests break. Fixes bug 11608; bugfix
  2492. on 0.2.5.2-alpha.
  2493. - When looking for versions of python that we could run the tests
  2494. with, check for "python2.7" and "python3.3"; previously we were
  2495. only looking for "python", "python2", and "python3". Patch from
  2496. Dana Koch. Fixes bug 11632; bugfix on 0.2.5.2-alpha.
  2497. - Fix all valgrind warnings produced by the unit tests. There were
  2498. over a thousand memory leak warnings previously, mostly produced
  2499. by forgetting to free things in the unit test code. Fixes bug
  2500. 11618, bugfixes on many versions of Tor.
  2501. o Minor bugfixes (tor-fw-helper):
  2502. - Give a correct log message when tor-fw-helper fails to launch.
  2503. (Previously, we would say something like "tor-fw-helper sent us a
  2504. string we could not parse".) Fixes bug 9781; bugfix
  2505. on 0.2.4.2-alpha.
  2506. o Minor bugfixes (relay, threading):
  2507. - Check return code on spawn_func() in cpuworker code, so that we
  2508. don't think we've spawned a nonworking cpuworker and write junk to
  2509. it forever. Fix related to bug 4345; bugfix on all released Tor
  2510. versions. Found by "skruffy".
  2511. - Use a pthread_attr to make sure that spawn_func() cannot return an
  2512. error while at the same time launching a thread. Fix related to
  2513. bug 4345; bugfix on all released Tor versions. Reported
  2514. by "cypherpunks".
  2515. o Minor bugfixes (relay, oom prevention):
  2516. - Correctly detect the total available system memory. We tried to do
  2517. this in 0.2.5.4-alpha, but the code was set up to always return an
  2518. error value, even on success. Fixes bug 11805; bugfix
  2519. on 0.2.5.4-alpha.
  2520. o Minor bugfixes (relay, other):
  2521. - We now drop CREATE cells for already-existent circuit IDs and for
  2522. zero-valued circuit IDs, regardless of other factors that might
  2523. otherwise have called for DESTROY cells. Fixes bug 12191; bugfix
  2524. on 0.0.8pre1.
  2525. - Avoid an illegal read from stack when initializing the TLS module
  2526. using a version of OpenSSL without all of the ciphers used by the
  2527. v2 link handshake. Fixes bug 12227; bugfix on 0.2.4.8-alpha. Found
  2528. by "starlight".
  2529. - When rejecting DATA cells for stream_id zero, still count them
  2530. against the circuit's deliver window so that we don't fail to send
  2531. a SENDME. Fixes bug 11246; bugfix on 0.2.4.10-alpha.
  2532. o Minor bugfixes (logging):
  2533. - Fix a misformatted log message about delayed directory fetches.
  2534. Fixes bug 11654; bugfix on 0.2.5.3-alpha.
  2535. - Squelch a spurious LD_BUG message "No origin circuit for
  2536. successful SOCKS stream" in certain hidden service failure cases;
  2537. fixes bug 10616.
  2538. o Distribution:
  2539. - Include a tor.service file in contrib/dist for use with systemd.
  2540. Some distributions will be able to use this file unmodified;
  2541. others will need to tweak it, or write their own. Patch from Jamie
  2542. Nguyen; resolves ticket 8368.
  2543. o Documentation:
  2544. - Clean up several option names in the manpage to match their real
  2545. names, add the missing documentation for a couple of testing and
  2546. directory authority options, remove the documentation for a
  2547. V2-directory fetching option that no longer exists. Resolves
  2548. ticket 11634.
  2549. - Correct the documenation so that it lists the correct directory
  2550. for the stats files. (They are in a subdirectory called "stats",
  2551. not "status".)
  2552. - In the manpage, move more authority-only options into the
  2553. directory authority section so that operators of regular directory
  2554. caches don't get confused.
  2555. o Package cleanup:
  2556. - The contrib directory has been sorted and tidied. Before, it was
  2557. an unsorted dumping ground for useful and not-so-useful things.
  2558. Now, it is divided based on functionality, and the items which
  2559. seemed to be nonfunctional or useless have been removed. Resolves
  2560. ticket 8966; based on patches from "rl1987".
  2561. o Removed code:
  2562. - Remove /tor/dbg-stability.txt URL that was meant to help debug WFU
  2563. and MTBF calculations, but that nobody was using. Fixes ticket 11742.
  2564. - The TunnelDirConns and PreferTunnelledDirConns options no longer
  2565. exist; tunneled directory connections have been available since
  2566. 0.1.2.5-alpha, and turning them off is not a good idea. This is a
  2567. brute-force fix for 10849, where "TunnelDirConns 0" would break
  2568. hidden services.
  2569. Changes in version 0.2.4.22 - 2014-05-16
  2570. Tor 0.2.4.22 backports numerous high-priority fixes from the Tor 0.2.5
  2571. alpha release series. These include blocking all authority signing
  2572. keys that may have been affected by the OpenSSL "heartbleed" bug,
  2573. choosing a far more secure set of TLS ciphersuites by default, closing
  2574. a couple of memory leaks that could be used to run a target relay out
  2575. of RAM, and several others.
  2576. o Major features (security, backport from 0.2.5.4-alpha):
  2577. - Block authority signing keys that were used on authorities
  2578. vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
  2579. don't have any evidence that these keys _were_ compromised; we're
  2580. doing this to be prudent.) Resolves ticket 11464.
  2581. o Major bugfixes (security, OOM):
  2582. - Fix a memory leak that could occur if a microdescriptor parse
  2583. fails during the tokenizing step. This bug could enable a memory
  2584. exhaustion attack by directory servers. Fixes bug 11649; bugfix
  2585. on 0.2.2.6-alpha.
  2586. o Major bugfixes (TLS cipher selection, backport from 0.2.5.4-alpha):
  2587. - The relay ciphersuite list is now generated automatically based on
  2588. uniform criteria, and includes all OpenSSL ciphersuites with
  2589. acceptable strength and forward secrecy. Previously, we had left
  2590. some perfectly fine ciphersuites unsupported due to omission or
  2591. typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
  2592. 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
  2593. - Relays now trust themselves to have a better view than clients of
  2594. which TLS ciphersuites are better than others. (Thanks to bug
  2595. 11513, the relay list is now well-considered, whereas the client
  2596. list has been chosen mainly for anti-fingerprinting purposes.)
  2597. Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
  2598. CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
  2599. AES128. Resolves ticket 11528.
  2600. - Clients now try to advertise the same list of ciphersuites as
  2601. Firefox 28. This change enables selection of (fast) GCM
  2602. ciphersuites, disables some strange old ciphers, and stops
  2603. advertising the ECDH (not to be confused with ECDHE) ciphersuites.
  2604. Resolves ticket 11438.
  2605. o Minor bugfixes (configuration, security):
  2606. - When running a hidden service, do not allow TunneledDirConns 0:
  2607. trying to set that option together with a hidden service would
  2608. otherwise prevent the hidden service from running, and also make
  2609. it publish its descriptors directly over HTTP. Fixes bug 10849;
  2610. bugfix on 0.2.1.1-alpha.
  2611. o Minor bugfixes (controller, backport from 0.2.5.4-alpha):
  2612. - Avoid sending a garbage value to the controller when a circuit is
  2613. cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
  2614. o Minor bugfixes (exit relay, backport from 0.2.5.4-alpha):
  2615. - Stop leaking memory when we successfully resolve a PTR record.
  2616. Fixes bug 11437; bugfix on 0.2.4.7-alpha.
  2617. o Minor bugfixes (bridge client, backport from 0.2.5.4-alpha):
  2618. - Avoid 60-second delays in the bootstrapping process when Tor is
  2619. launching for a second time while using bridges. Fixes bug 9229;
  2620. bugfix on 0.2.0.3-alpha.
  2621. o Minor bugfixes (relays and bridges, backport from 0.2.5.4-alpha):
  2622. - Give the correct URL in the warning message when trying to run a
  2623. relay on an ancient version of Windows. Fixes bug 9393.
  2624. o Minor bugfixes (compilation):
  2625. - Fix a compilation error when compiling with --disable-curve25519.
  2626. Fixes bug 9700; bugfix on 0.2.4.17-rc.
  2627. o Minor bugfixes:
  2628. - Downgrade the warning severity for the the "md was still
  2629. referenced 1 node(s)" warning. Tor 0.2.5.4-alpha has better code
  2630. for trying to diagnose this bug, and the current warning in
  2631. earlier versions of tor achieves nothing useful. Addresses warning
  2632. from bug 7164.
  2633. o Minor features (log verbosity, backport from 0.2.5.4-alpha):
  2634. - When we run out of usable circuit IDs on a channel, log only one
  2635. warning for the whole channel, and describe how many circuits
  2636. there were on the channel. Fixes part of ticket 11553.
  2637. o Minor features (security, backport from 0.2.5.4-alpha):
  2638. - Decrease the lower limit of MaxMemInCellQueues to 256 MBytes (but
  2639. leave the default at 8GBytes), to better support Raspberry Pi
  2640. users. Fixes bug 9686; bugfix on 0.2.4.14-alpha.
  2641. o Documentation (backport from 0.2.5.4-alpha):
  2642. - Correctly document that we search for a system torrc file before
  2643. looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
  2644. 0.2.3.18-rc.
  2645. Changes in version 0.2.5.4-alpha - 2014-04-25
  2646. Tor 0.2.5.4-alpha includes several security and performance
  2647. improvements for clients and relays, including blacklisting authority
  2648. signing keys that were used while susceptible to the OpenSSL
  2649. "heartbleed" bug, fixing two expensive functions on busy relays,
  2650. improved TLS ciphersuite preference lists, support for run-time
  2651. hardening on compilers that support AddressSanitizer, and more work on
  2652. the Linux sandbox code.
  2653. There are also several usability fixes for clients (especially clients
  2654. that use bridges), two new TransPort protocols supported (one on
  2655. OpenBSD, one on FreeBSD), and various other bugfixes.
  2656. This release marks end-of-life for Tor 0.2.2.x; those Tor versions
  2657. have accumulated many known flaws; everyone should upgrade.
  2658. o Major features (security):
  2659. - If you don't specify MaxMemInQueues yourself, Tor now tries to
  2660. pick a good value based on your total system memory. Previously,
  2661. the default was always 8 GB. You can still override the default by
  2662. setting MaxMemInQueues yourself. Resolves ticket 11396.
  2663. - Block authority signing keys that were used on authorities
  2664. vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
  2665. don't have any evidence that these keys _were_ compromised; we're
  2666. doing this to be prudent.) Resolves ticket 11464.
  2667. o Major features (relay performance):
  2668. - Speed up server-side lookups of rendezvous and introduction point
  2669. circuits by using hashtables instead of linear searches. These
  2670. functions previously accounted between 3 and 7% of CPU usage on
  2671. some busy relays. Resolves ticket 9841.
  2672. - Avoid wasting CPU when extending a circuit over a channel that is
  2673. nearly out of circuit IDs. Previously, we would do a linear scan
  2674. over possible circuit IDs before finding one or deciding that we
  2675. had exhausted our possibilities. Now, we try at most 64 random
  2676. circuit IDs before deciding that we probably won't succeed. Fixes
  2677. a possible root cause of ticket 11553.
  2678. o Major features (seccomp2 sandbox, Linux only):
  2679. - The seccomp2 sandbox can now run a test network for multiple hours
  2680. without crashing. The sandbox is still experimental, and more bugs
  2681. will probably turn up. To try it, enable "Sandbox 1" on a Linux
  2682. host. Resolves ticket 11351.
  2683. - Strengthen sandbox code: the sandbox can now test the arguments
  2684. for rename(), and blocks _sysctl() entirely. Resolves another part
  2685. of ticket 11351.
  2686. - When the sandbox blocks a system call, it now tries to log a stack
  2687. trace before exiting. Resolves ticket 11465.
  2688. o Major bugfixes (TLS cipher selection):
  2689. - The relay ciphersuite list is now generated automatically based on
  2690. uniform criteria, and includes all OpenSSL ciphersuites with
  2691. acceptable strength and forward secrecy. Previously, we had left
  2692. some perfectly fine ciphersuites unsupported due to omission or
  2693. typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
  2694. 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
  2695. - Relays now trust themselves to have a better view than clients of
  2696. which TLS ciphersuites are better than others. (Thanks to bug
  2697. 11513, the relay list is now well-considered, whereas the client
  2698. list has been chosen mainly for anti-fingerprinting purposes.)
  2699. Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
  2700. CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
  2701. AES128. Resolves ticket 11528.
  2702. - Clients now try to advertise the same list of ciphersuites as
  2703. Firefox 28. This change enables selection of (fast) GCM
  2704. ciphersuites, disables some strange old ciphers, and stops
  2705. advertising the ECDH (not to be confused with ECDHE) ciphersuites.
  2706. Resolves ticket 11438.
  2707. o Major bugfixes (bridge client):
  2708. - Avoid 60-second delays in the bootstrapping process when Tor is
  2709. launching for a second time while using bridges. Fixes bug 9229;
  2710. bugfix on 0.2.0.3-alpha.
  2711. o Minor features (transparent proxy, *BSD):
  2712. - Support FreeBSD's ipfw firewall interface for TransPort ports on
  2713. FreeBSD. To enable it, set "TransProxyType ipfw". Resolves ticket
  2714. 10267; patch from "yurivict".
  2715. - Support OpenBSD's divert-to rules with the pf firewall for
  2716. transparent proxy ports. To enable it, set "TransProxyType
  2717. pf-divert". This allows Tor to run a TransPort transparent proxy
  2718. port on OpenBSD 4.4 or later without root privileges. See the
  2719. pf.conf(5) manual page for information on configuring pf to use
  2720. divert-to rules. Closes ticket 10896; patch from Dana Koch.
  2721. o Minor features (security):
  2722. - New --enable-expensive-hardening option to enable security
  2723. hardening options that consume nontrivial amounts of CPU and
  2724. memory. Right now, this includes AddressSanitizer and UbSan, which
  2725. are supported in newer versions of GCC and Clang. Closes ticket
  2726. 11477.
  2727. o Minor features (log verbosity):
  2728. - Demote the message that we give when a flushing connection times
  2729. out for too long from NOTICE to INFO. It was usually meaningless.
  2730. Resolves ticket 5286.
  2731. - Don't log so many notice-level bootstrapping messages at startup
  2732. about downloading descriptors. Previously, we'd log a notice
  2733. whenever we learned about more routers. Now, we only log a notice
  2734. at every 5% of progress. Fixes bug 9963.
  2735. - Warn less verbosely when receiving a malformed
  2736. ESTABLISH_RENDEZVOUS cell. Fixes ticket 11279.
  2737. - When we run out of usable circuit IDs on a channel, log only one
  2738. warning for the whole channel, and describe how many circuits
  2739. there were on the channel. Fixes part of ticket 11553.
  2740. o Minor features (relay):
  2741. - If a circuit timed out for at least 3 minutes, check if we have a
  2742. new external IP address, and publish a new descriptor with the new
  2743. IP address if it changed. Resolves ticket 2454.
  2744. o Minor features (controller):
  2745. - Make the entire exit policy available from the control port via
  2746. GETINFO exit-policy/*. Implements enhancement 7952. Patch from
  2747. "rl1987".
  2748. - Because of the fix for ticket 11396, the real limit for memory
  2749. usage may no longer match the configured MaxMemInQueues value. The
  2750. real limit is now exposed via GETINFO limits/max-mem-in-queues.
  2751. o Minor features (bridge client):
  2752. - Report a more useful failure message when we can't connect to a
  2753. bridge because we don't have the right pluggable transport
  2754. configured. Resolves ticket 9665. Patch from Fábio J. Bertinatto.
  2755. o Minor features (diagnostic):
  2756. - Add more log messages to diagnose bug 7164, which causes
  2757. intermittent "microdesc_free() called but md was still referenced"
  2758. warnings. We now include more information, to figure out why we
  2759. might be cleaning a microdescriptor for being too old if it's
  2760. still referenced by a live node_t object.
  2761. o Minor bugfixes (client, DNSPort):
  2762. - When using DNSPort, try to respond to AAAA requests with AAAA
  2763. answers. Previously, we hadn't looked at the request type when
  2764. deciding which answer type to prefer. Fixes bug 10468; bugfix on
  2765. 0.2.4.7-alpha.
  2766. - When receiving a DNS query for an unsupported record type, reply
  2767. with no answer rather than with a NOTIMPL error. This behavior
  2768. isn't correct either, but it will break fewer client programs, we
  2769. hope. Fixes bug 10268; bugfix on 0.2.0.1-alpha. Original patch
  2770. from "epoch".
  2771. o Minor bugfixes (exit relay):
  2772. - Stop leaking memory when we successfully resolve a PTR record.
  2773. Fixes bug 11437; bugfix on 0.2.4.7-alpha.
  2774. o Minor bugfixes (bridge client):
  2775. - Stop accepting bridge lines containing hostnames. Doing so would
  2776. cause clients to perform DNS requests on the hostnames, which was
  2777. not sensible behavior. Fixes bug 10801; bugfix on 0.2.0.1-alpha.
  2778. - Avoid a 60-second delay in the bootstrapping process when a Tor
  2779. client with pluggable transports re-reads its configuration at
  2780. just the wrong time. Re-fixes bug 11156; bugfix on 0.2.5.3-alpha.
  2781. o Minor bugfixes (client, logging during bootstrap):
  2782. - Warn only once if we start logging in an unsafe way. Previously,
  2783. we complain as many times as we had problems. Fixes bug 9870;
  2784. bugfix on 0.2.5.1-alpha.
  2785. - Only report the first fatal bootstrap error on a given OR
  2786. connection. This stops us from telling the controller bogus error
  2787. messages like "DONE". Fixes bug 10431; bugfix on 0.2.1.1-alpha.
  2788. - Be more helpful when trying to run sandboxed on Linux without
  2789. libseccomp. Instead of saying "Sandbox is not implemented on this
  2790. platform", we now explain that we need to be built with
  2791. libseccomp. Fixes bug 11543; bugfix on 0.2.5.1-alpha.
  2792. - Avoid generating spurious warnings when starting with
  2793. DisableNetwork enabled. Fixes bug 11200 and bug 10405; bugfix on
  2794. 0.2.3.9-alpha.
  2795. o Minor bugfixes (closing OR connections):
  2796. - If write_to_buf() in connection_write_to_buf_impl_() ever fails,
  2797. check if it's an or_connection_t and correctly call
  2798. connection_or_close_for_error() rather than
  2799. connection_mark_for_close() directly. Fixes bug 11304; bugfix on
  2800. 0.2.4.4-alpha.
  2801. - When closing all connections on setting DisableNetwork to 1, use
  2802. connection_or_close_normally() rather than closing OR connections
  2803. out from under the channel layer. Fixes bug 11306; bugfix on
  2804. 0.2.4.4-alpha.
  2805. o Minor bugfixes (controller):
  2806. - Avoid sending a garbage value to the controller when a circuit is
  2807. cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
  2808. o Minor bugfixes (tor-fw-helper):
  2809. - Allow tor-fw-helper to build again by adding src/ext to its
  2810. CPPFLAGS. Fixes bug 11296; bugfix on 0.2.5.3-alpha.
  2811. o Minor bugfixes (bridges):
  2812. - Avoid potential crashes or bad behavior when launching a
  2813. server-side managed proxy with ORPort or ExtORPort temporarily
  2814. disabled. Fixes bug 9650; bugfix on 0.2.3.16-alpha.
  2815. o Minor bugfixes (platform-specific):
  2816. - Fix compilation on Solaris, which does not have <endian.h>. Fixes
  2817. bug 11426; bugfix on 0.2.5.3-alpha.
  2818. - When dumping a malformed directory object to disk, save it in
  2819. binary mode on Windows, not text mode. Fixes bug 11342; bugfix on
  2820. 0.2.2.1-alpha.
  2821. - Don't report failures from make_socket_reuseable() on incoming
  2822. sockets on OSX: this can happen when incoming connections close
  2823. early. Fixes bug 10081.
  2824. o Minor bugfixes (trivial memory leaks):
  2825. - Fix a small memory leak when signing a directory object. Fixes bug
  2826. 11275; bugfix on 0.2.4.13-alpha.
  2827. - Free placeholder entries in our circuit table at exit; fixes a
  2828. harmless memory leak. Fixes bug 11278; bugfix on 0.2.5.1-alpha.
  2829. - Don't re-initialize a second set of OpenSSL mutexes when starting
  2830. up. Previously, we'd make one set of mutexes, and then immediately
  2831. replace them with another. Fixes bug 11726; bugfix on
  2832. 0.2.5.3-alpha.
  2833. - Resolve some memory leaks found by coverity in the unit tests, on
  2834. exit in tor-gencert, and on a failure to compute digests for our
  2835. own keys when generating a v3 networkstatus vote. These leaks
  2836. should never have affected anyone in practice.
  2837. o Minor bugfixes (hidden service):
  2838. - Only retry attempts to connect to a chosen rendezvous point 8
  2839. times, not 30. Fixes bug 4241; bugfix on 0.1.0.1-rc.
  2840. o Minor bugfixes (misc code correctness):
  2841. - Fix various instances of undefined behavior in channeltls.c,
  2842. tor_memmem(), and eventdns.c that would cause us to construct
  2843. pointers to memory outside an allocated object. (These invalid
  2844. pointers were not accessed, but C does not even allow them to
  2845. exist.) Fixes bug 10363; bugfixes on 0.1.1.1-alpha, 0.1.2.1-alpha,
  2846. 0.2.0.10-alpha, and 0.2.3.6-alpha. Reported by "bobnomnom".
  2847. - Use the AddressSanitizer and Ubsan sanitizers (in clang-3.4) to
  2848. fix some miscellaneous errors in our tests and codebase. Fixes bug
  2849. 11232. Bugfixes on versions back as far as 0.2.1.11-alpha.
  2850. - Always check return values for unlink, munmap, UnmapViewOfFile;
  2851. check strftime return values more often. In some cases all we can
  2852. do is report a warning, but this may help prevent deeper bugs from
  2853. going unnoticed. Closes ticket 8787; bugfixes on many, many tor
  2854. versions.
  2855. - Fix numerous warnings from the clang "scan-build" static analyzer.
  2856. Some of these are programming style issues; some of them are false
  2857. positives that indicated awkward code; some are undefined behavior
  2858. cases related to constructing (but not using) invalid pointers;
  2859. some are assumptions about API behavior; some are (harmlessly)
  2860. logging sizeof(ptr) bytes from a token when sizeof(*ptr) would be
  2861. correct; and one or two are genuine bugs that weren't reachable
  2862. from the rest of the program. Fixes bug 8793; bugfixes on many,
  2863. many tor versions.
  2864. o Documentation:
  2865. - Build the torify.1 manpage again. Previously, we were only trying
  2866. to build it when also building tor-fw-helper. That's why we didn't
  2867. notice that we'd broken the ability to build it. Fixes bug 11321;
  2868. bugfix on 0.2.5.1-alpha.
  2869. - Fix the layout of the SOCKSPort flags in the manpage. Fixes bug
  2870. 11061; bugfix on 0.2.4.7-alpha.
  2871. - Correctly document that we search for a system torrc file before
  2872. looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
  2873. 0.2.3.18-rc.
  2874. - Resolve warnings from Doxygen.
  2875. o Code simplifications and refactoring:
  2876. - Remove is_internal_IP() function. Resolves ticket 4645.
  2877. - Remove unused function circuit_dump_by_chan from circuitlist.c.
  2878. Closes issue 9107; patch from "marek".
  2879. - Change our use of the ENUM_BF macro to avoid declarations that
  2880. confuse Doxygen.
  2881. o Deprecated versions:
  2882. - Tor 0.2.2.x has reached end-of-life; it has received no patches or
  2883. attention for some while. Directory authorities no longer accept
  2884. descriptors from relays running any version of Tor prior to Tor
  2885. 0.2.3.16-alpha. Resolves ticket 11149.
  2886. o Testing:
  2887. - New macros in test.h to simplify writing mock-functions for unit
  2888. tests. Part of ticket 11507. Patch from Dana Koch.
  2889. - Complete tests for the status.c module. Resolves ticket 11507.
  2890. Patch from Dana Koch.
  2891. o Removed code:
  2892. - Remove all code for the long unused v1 directory protocol.
  2893. Resolves ticket 11070.
  2894. Changes in version 0.2.5.3-alpha - 2014-03-22
  2895. Tor 0.2.5.3-alpha includes all the fixes from 0.2.4.21. It contains
  2896. two new anti-DoS features for Tor relays, resolves a bug that kept
  2897. SOCKS5 support for IPv6 from working, fixes several annoying usability
  2898. issues for bridge users, and removes more old code for unused
  2899. directory formats.
  2900. The Tor 0.2.5.x release series is now in patch-freeze: no feature
  2901. patches not already written will be considered for inclusion in 0.2.5.x.
  2902. o Major features (relay security, DoS-resistance):
  2903. - When deciding whether we have run out of memory and we need to
  2904. close circuits, also consider memory allocated in buffers for
  2905. streams attached to each circuit.
  2906. This change, which extends an anti-DoS feature introduced in
  2907. 0.2.4.13-alpha and improved in 0.2.4.14-alpha, lets Tor exit relays
  2908. better resist more memory-based DoS attacks than before. Since the
  2909. MaxMemInCellQueues option now applies to all queues, it is renamed
  2910. to MaxMemInQueues. This feature fixes bug 10169.
  2911. - Avoid hash-flooding denial-of-service attacks by using the secure
  2912. SipHash-2-4 hash function for our hashtables. Without this
  2913. feature, an attacker could degrade performance of a targeted
  2914. client or server by flooding their data structures with a large
  2915. number of entries to be stored at the same hash table position,
  2916. thereby slowing down the Tor instance. With this feature, hash
  2917. table positions are derived from a randomized cryptographic key,
  2918. and an attacker cannot predict which entries will collide. Closes
  2919. ticket 4900.
  2920. - Decrease the lower limit of MaxMemInQueues to 256 MBytes (but leave
  2921. the default at 8GBytes), to better support Raspberry Pi users. Fixes
  2922. bug 9686; bugfix on 0.2.4.14-alpha.
  2923. o Minor features (bridges, pluggable transports):
  2924. - Bridges now write the SHA1 digest of their identity key
  2925. fingerprint (that is, a hash of a hash of their public key) to
  2926. notice-level logs, and to a new hashed-fingerprint file. This
  2927. information will help bridge operators look up their bridge in
  2928. Globe and similar tools. Resolves ticket 10884.
  2929. - Improve the message that Tor displays when running as a bridge
  2930. using pluggable transports without an Extended ORPort listener.
  2931. Also, log the message in the log file too. Resolves ticket 11043.
  2932. o Minor features (other):
  2933. - Add a new option, PredictedPortsRelevanceTime, to control how long
  2934. after having received a request to connect to a given port Tor
  2935. will try to keep circuits ready in anticipation of future requests
  2936. for that port. Patch from "unixninja92"; implements ticket 9176.
  2937. - Generate a warning if any ports are listed in the SocksPolicy,
  2938. DirPolicy, AuthDirReject, AuthDirInvalid, AuthDirBadDir, or
  2939. AuthDirBadExit options. (These options only support address
  2940. ranges.) Fixes part of ticket 11108.
  2941. - Update geoip and geoip6 to the February 7 2014 Maxmind GeoLite2
  2942. Country database.
  2943. o Minor bugfixes (new since 0.2.5.2-alpha, also in 0.2.4.21):
  2944. - Build without warnings under clang 3.4. (We have some macros that
  2945. define static functions only some of which will get used later in
  2946. the module. Starting with clang 3.4, these give a warning unless the
  2947. unused attribute is set on them.) Resolves ticket 10904.
  2948. - Fix build warnings about missing "a2x" comment when building the
  2949. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  2950. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  2951. o Minor bugfixes (client):
  2952. - Improve the log message when we can't connect to a hidden service
  2953. because all of the hidden service directory nodes hosting its
  2954. descriptor are excluded. Improves on our fix for bug 10722, which
  2955. was a bugfix on 0.2.0.10-alpha.
  2956. - Raise a control port warning when we fail to connect to all of
  2957. our bridges. Previously, we didn't inform the controller, and
  2958. the bootstrap process would stall. Fixes bug 11069; bugfix on
  2959. 0.2.1.2-alpha.
  2960. - Exit immediately when a process-owning controller exits.
  2961. Previously, tor relays would wait for a little while after their
  2962. controller exited, as if they had gotten an INT signal -- but this
  2963. was problematic, since there was no feedback for the user. To do a
  2964. clean shutdown, controllers should send an INT signal and give Tor
  2965. a chance to clean up. Fixes bug 10449; bugfix on 0.2.2.28-beta.
  2966. - Stop attempting to connect to bridges before our pluggable
  2967. transports are configured (harmless but resulted in some erroneous
  2968. log messages). Fixes bug 11156; bugfix on 0.2.3.2-alpha.
  2969. - Fix connections to IPv6 addresses over SOCKS5. Previously, we were
  2970. generating incorrect SOCKS5 responses, and confusing client
  2971. applications. Fixes bug 10987; bugfix on 0.2.4.7-alpha.
  2972. o Minor bugfixes (relays and bridges):
  2973. - Avoid crashing on a malformed resolv.conf file when running a
  2974. relay using Libevent 1. Fixes bug 8788; bugfix on 0.1.1.23.
  2975. - Non-exit relays no longer launch mock DNS requests to check for
  2976. DNS hijacking. This has been unnecessary since 0.2.1.7-alpha, when
  2977. non-exit relays stopped servicing DNS requests. Fixes bug 965;
  2978. bugfix on 0.2.1.7-alpha. Patch from Matt Pagan.
  2979. - Bridges now report complete directory request statistics. Related
  2980. to bug 5824; bugfix on 0.2.2.1-alpha.
  2981. - Bridges now never collect statistics that were designed for
  2982. relays. Fixes bug 5824; bugfix on 0.2.3.8-alpha.
  2983. - Stop giving annoying warning messages when we decide not to launch
  2984. a pluggable transport proxy that we don't need (because there are
  2985. no bridges configured to use it). Resolves ticket 5018; bugfix
  2986. on 0.2.5.2-alpha.
  2987. - Give the correct URL in the warning message when trying to run a
  2988. relay on an ancient version of Windows. Fixes bug 9393.
  2989. o Minor bugfixes (backtrace support):
  2990. - Support automatic backtraces on more platforms by using the
  2991. "-fasynchronous-unwind-tables" compiler option. This option is
  2992. needed for platforms like 32-bit Intel where "-fomit-frame-pointer"
  2993. is on by default and table generation is not. This doesn't yet
  2994. add Windows support; only Linux, OSX, and some BSDs are affected.
  2995. Reported by 'cypherpunks'; fixes bug 11047; bugfix on 0.2.5.2-alpha.
  2996. - Avoid strange behavior if two threads hit failed assertions at the
  2997. same time and both try to log backtraces at once. (Previously, if
  2998. this had happened, both threads would have stored their intermediate
  2999. results in the same buffer, and generated junk outputs.) Reported by
  3000. "cypherpunks". Fixes bug 11048; bugfix on 0.2.5.2-alpha.
  3001. - Fix a compiler warning in format_number_sigsafe(). Bugfix on
  3002. 0.2.5.2-alpha; patch from Nick Hopper.
  3003. o Minor bugfixes (unit tests):
  3004. - Fix a small bug in the unit tests that might have made the tests
  3005. call 'chmod' with an uninitialized bitmask. Fixes bug 10928;
  3006. bugfix on 0.2.5.1-alpha. Patch from Dana Koch.
  3007. o Removed code:
  3008. - Remove all remaining code related to version-0 hidden service
  3009. descriptors: they have not been in use since 0.2.2.1-alpha. Fixes
  3010. the rest of bug 10841.
  3011. o Documentation:
  3012. - Document in the manpage that "KBytes" may also be written as
  3013. "kilobytes" or "KB", that "Kbits" may also be written as
  3014. "kilobits", and so forth. Closes ticket 9222.
  3015. - Document that the ClientOnly config option overrides ORPort.
  3016. Our old explanation made ClientOnly sound as though it did
  3017. nothing at all. Resolves bug 9059.
  3018. - Explain that SocksPolicy, DirPolicy, and similar options don't
  3019. take port arguments. Fixes the other part of ticket 11108.
  3020. - Fix a comment about the rend_server_descriptor_t.protocols field
  3021. to more accurately describe its range. Also, make that field
  3022. unsigned, to more accurately reflect its usage. Fixes bug 9099;
  3023. bugfix on 0.2.1.5-alpha.
  3024. - Fix the manpage's description of HiddenServiceAuthorizeClient:
  3025. the maximum client name length is 16, not 19. Fixes bug 11118;
  3026. bugfix on 0.2.1.6-alpha.
  3027. o Code simplifications and refactoring:
  3028. - Get rid of router->address, since in all cases it was just the
  3029. string representation of router->addr. Resolves ticket 5528.
  3030. o Test infrastructure:
  3031. - Update to the latest version of tinytest.
  3032. - Improve the tinytest implementation of string operation tests so
  3033. that comparisons with NULL strings no longer crash the tests; they
  3034. now just fail, normally. Fixes bug 9004; bugfix on 0.2.2.4-alpha.
  3035. Changes in version 0.2.4.21 - 2014-02-28
  3036. Tor 0.2.4.21 further improves security against potential adversaries who
  3037. find breaking 1024-bit crypto doable, and backports several stability
  3038. and robustness patches from the 0.2.5 branch.
  3039. o Major features (client security):
  3040. - When we choose a path for a 3-hop circuit, make sure it contains
  3041. at least one relay that supports the NTor circuit extension
  3042. handshake. Otherwise, there is a chance that we're building
  3043. a circuit that's worth attacking by an adversary who finds
  3044. breaking 1024-bit crypto doable, and that chance changes the game
  3045. theory. Implements ticket 9777.
  3046. o Major bugfixes:
  3047. - Do not treat streams that fail with reason
  3048. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  3049. since it could also indicate an ENETUNREACH connection error. Fixes
  3050. part of bug 10777; bugfix on 0.2.4.8-alpha.
  3051. o Code simplification and refactoring:
  3052. - Remove data structures which were introduced to implement the
  3053. CellStatistics option: they are now redundant with the new timestamp
  3054. field in the regular packed_cell_t data structure, which we did
  3055. in 0.2.4.18-rc in order to resolve bug 9093. Resolves ticket 10870.
  3056. o Minor features:
  3057. - Always clear OpenSSL bignums before freeing them -- even bignums
  3058. that don't contain secrets. Resolves ticket 10793. Patch by
  3059. Florent Daigniere.
  3060. - Build without warnings under clang 3.4. (We have some macros that
  3061. define static functions only some of which will get used later in
  3062. the module. Starting with clang 3.4, these give a warning unless the
  3063. unused attribute is set on them.) Resolves ticket 10904.
  3064. - Update geoip and geoip6 files to the February 7 2014 Maxmind
  3065. GeoLite2 Country database.
  3066. o Minor bugfixes:
  3067. - Set the listen() backlog limit to the largest actually supported
  3068. on the system, not to the value in a header file. Fixes bug 9716;
  3069. bugfix on every released Tor.
  3070. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  3071. exit node as a NOROUTE error, not an INTERNAL error, since they
  3072. can apparently happen when trying to connect to the wrong sort
  3073. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  3074. - Fix build warnings about missing "a2x" comment when building the
  3075. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  3076. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  3077. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  3078. not entirely remove it from the connection lists. Fixes bug 9602;
  3079. bugfix on 0.2.4.4-alpha.
  3080. - Fix a segmentation fault in our benchmark code when running with
  3081. Fedora's OpenSSL package, or any other OpenSSL that provides
  3082. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  3083. - Turn "circuit handshake stats since last time" log messages into a
  3084. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  3085. o Documentation fixes:
  3086. - Document that all but one DirPort entry must have the NoAdvertise
  3087. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  3088. Changes in version 0.2.5.2-alpha - 2014-02-13
  3089. Tor 0.2.5.2-alpha includes all the fixes from 0.2.4.18-rc and 0.2.4.20,
  3090. like the "poor random number generation" fix and the "building too many
  3091. circuits" fix. It also further improves security against potential
  3092. adversaries who find breaking 1024-bit crypto doable, and launches
  3093. pluggable transports on demand (which gets us closer to integrating
  3094. pluggable transport support by default -- not to be confused with Tor
  3095. bundles enabling pluggable transports and bridges by default).
  3096. o Major features (client security):
  3097. - When we choose a path for a 3-hop circuit, make sure it contains
  3098. at least one relay that supports the NTor circuit extension
  3099. handshake. Otherwise, there is a chance that we're building
  3100. a circuit that's worth attacking by an adversary who finds
  3101. breaking 1024-bit crypto doable, and that chance changes the game
  3102. theory. Implements ticket 9777.
  3103. - Clients now look at the "usecreatefast" consensus parameter to
  3104. decide whether to use CREATE_FAST or CREATE cells for the first hop
  3105. of their circuit. This approach can improve security on connections
  3106. where Tor's circuit handshake is stronger than the available TLS
  3107. connection security levels, but the tradeoff is more computational
  3108. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  3109. o Major features (bridges):
  3110. - Don't launch pluggable transport proxies if we don't have any
  3111. bridges configured that would use them. Now we can list many
  3112. pluggable transports, and Tor will dynamically start one when it
  3113. hears a bridge address that needs it. Resolves ticket 5018.
  3114. - The bridge directory authority now assigns status flags (Stable,
  3115. Guard, etc) to bridges based on thresholds calculated over all
  3116. Running bridges. Now bridgedb can finally make use of its features
  3117. to e.g. include at least one Stable bridge in its answers. Fixes
  3118. bug 9859.
  3119. o Major features (other):
  3120. - Extend ORCONN controller event to include an "ID" parameter,
  3121. and add four new controller event types CONN_BW, CIRC_BW,
  3122. CELL_STATS, and TB_EMPTY that show connection and circuit usage.
  3123. The new events are emitted in private Tor networks only, with the
  3124. goal of being able to better track performance and load during
  3125. full-network simulations. Implements proposal 218 and ticket 7359.
  3126. - On some platforms (currently: recent OSX versions, glibc-based
  3127. platforms that support the ELF format, and a few other
  3128. Unix-like operating systems), Tor can now dump stack traces
  3129. when a crash occurs or an assertion fails. By default, traces
  3130. are dumped to stderr (if possible) and to any logs that are
  3131. reporting errors. Implements ticket 9299.
  3132. o Major bugfixes:
  3133. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  3134. not entirely remove it from the connection lists. Fixes bug 9602;
  3135. bugfix on 0.2.4.4-alpha.
  3136. - Do not treat streams that fail with reason
  3137. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  3138. since it could also indicate an ENETUNREACH connection error. Fixes
  3139. part of bug 10777; bugfix on 0.2.4.8-alpha.
  3140. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  3141. - Do not allow OpenSSL engines to replace the PRNG, even when
  3142. HardwareAccel is set. The only default builtin PRNG engine uses
  3143. the Intel RDRAND instruction to replace the entire PRNG, and
  3144. ignores all attempts to seed it with more entropy. That's
  3145. cryptographically stupid: the right response to a new alleged
  3146. entropy source is never to discard all previously used entropy
  3147. sources. Fixes bug 10402; works around behavior introduced in
  3148. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  3149. and "rl1987".
  3150. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  3151. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  3152. - Avoid launching spurious extra circuits when a stream is pending.
  3153. This fixes a bug where any circuit that _wasn't_ unusable for new
  3154. streams would be treated as if it were, causing extra circuits to
  3155. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  3156. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  3157. - No longer stop reading or writing on cpuworker connections when
  3158. our rate limiting buckets go empty. Now we should handle circuit
  3159. handshake requests more promptly. Resolves bug 9731.
  3160. - Stop trying to bootstrap all our directory information from
  3161. only our first guard. Discovered while fixing bug 9946; bugfix
  3162. on 0.2.4.8-alpha.
  3163. o Minor features (bridges, pluggable transports):
  3164. - Add threshold cutoffs to the networkstatus document created by
  3165. the Bridge Authority. Fixes bug 1117.
  3166. - On Windows, spawn background processes using the CREATE_NO_WINDOW
  3167. flag. Now Tor Browser Bundle 3.5 with pluggable transports enabled
  3168. doesn't pop up a blank console window. (In Tor Browser Bundle 2.x,
  3169. Vidalia set this option for us.) Implements ticket 10297.
  3170. o Minor features (security):
  3171. - Always clear OpenSSL bignums before freeing them -- even bignums
  3172. that don't contain secrets. Resolves ticket 10793. Patch by
  3173. Florent Daignière.
  3174. o Minor features (config options and command line):
  3175. - Add an --allow-missing-torrc commandline option that tells Tor to
  3176. run even if the configuration file specified by -f is not available.
  3177. Implements ticket 10060.
  3178. - Add support for the TPROXY transparent proxying facility on Linux.
  3179. See documentation for the new TransProxyType option for more
  3180. details. Implementation by "thomo". Closes ticket 10582.
  3181. o Minor features (controller):
  3182. - Add a new "HS_DESC" controller event that reports activities
  3183. related to hidden service descriptors. Resolves ticket 8510.
  3184. - New "DROPGUARDS" controller command to forget all current entry
  3185. guards. Not recommended for ordinary use, since replacing guards
  3186. too frequently makes several attacks easier. Resolves ticket 9934;
  3187. patch from "ra".
  3188. o Minor features (build):
  3189. - Assume that a user using ./configure --host wants to cross-compile,
  3190. and give an error if we cannot find a properly named
  3191. tool-chain. Add a --disable-tool-name-check option to proceed
  3192. nevertheless. Addresses ticket 9869. Patch by Benedikt Gollatz.
  3193. - If we run ./configure and the compiler recognizes -fstack-protector
  3194. but the linker rejects it, warn the user about a potentially missing
  3195. libssp package. Addresses ticket 9948. Patch from Benedikt Gollatz.
  3196. o Minor features (testing):
  3197. - If Python is installed, "make check" now runs extra tests beyond
  3198. the unit test scripts.
  3199. - When bootstrapping a test network, sometimes very few relays get
  3200. the Guard flag. Now a new option "TestingDirAuthVoteGuard" can
  3201. specify a set of relays which should be voted Guard regardless of
  3202. their uptime or bandwidth. Addresses ticket 9206.
  3203. o Minor features (log messages):
  3204. - When ServerTransportPlugin is set on a bridge, Tor can write more
  3205. useful statistics about bridge use in its extrainfo descriptors,
  3206. but only if the Extended ORPort ("ExtORPort") is set too. Add a
  3207. log message to inform the user in this case. Resolves ticket 9651.
  3208. - When receiving a new controller connection, log the origin address.
  3209. Resolves ticket 9698; patch from "sigpipe".
  3210. - When logging OpenSSL engine status at startup, log the status of
  3211. more engines. Fixes ticket 10043; patch from Joshua Datko.
  3212. - Turn "circuit handshake stats since last time" log messages into a
  3213. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  3214. o Minor features (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  3215. - Improve the circuit queue out-of-memory handler. Previously, when
  3216. we ran low on memory, we'd close whichever circuits had the most
  3217. queued cells. Now, we close those that have the *oldest* queued
  3218. cells, on the theory that those are most responsible for us
  3219. running low on memory. Based on analysis from a forthcoming paper
  3220. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  3221. - Generate bootstrapping status update events correctly when fetching
  3222. microdescriptors. Fixes bug 9927.
  3223. - Update to the October 2 2013 Maxmind GeoLite Country database.
  3224. o Minor bugfixes (clients):
  3225. - When closing a channel that has already been open, do not close
  3226. pending circuits that were waiting to connect to the same relay.
  3227. Fixes bug 9880; bugfix on 0.2.5.1-alpha. Thanks to skruffy for
  3228. finding this bug.
  3229. o Minor bugfixes (relays):
  3230. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  3231. exit node as a NOROUTE error, not an INTERNAL error, since they
  3232. can apparently happen when trying to connect to the wrong sort
  3233. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  3234. o Minor bugfixes (bridges):
  3235. - Fix a bug where the first connection works to a bridge that uses a
  3236. pluggable transport with client-side parameters, but we don't send
  3237. the client-side parameters on subsequent connections. (We don't
  3238. use any pluggable transports with client-side parameters yet,
  3239. but ScrambleSuit will soon become the first one.) Fixes bug 9162;
  3240. bugfix on 0.2.0.3-alpha. Based on a patch from "rl1987".
  3241. o Minor bugfixes (node selection):
  3242. - If ExcludeNodes is set, consider non-excluded hidden service
  3243. directory servers before excluded ones. Do not consider excluded
  3244. hidden service directory servers at all if StrictNodes is
  3245. set. (Previously, we would sometimes decide to connect to those
  3246. servers, and then realize before we initiated a connection that
  3247. we had excluded them.) Fixes bug 10722; bugfix on 0.2.0.10-alpha.
  3248. Reported by "mr-4".
  3249. - If we set the ExitNodes option but it doesn't include any nodes
  3250. that have the Exit flag, we would choose not to bootstrap. Now we
  3251. bootstrap so long as ExitNodes includes nodes which can exit to
  3252. some port. Fixes bug 10543; bugfix on 0.2.4.10-alpha.
  3253. o Minor bugfixes (controller and command-line):
  3254. - If changing a config option via "setconf" fails in a recoverable
  3255. way, we used to nonetheless write our new control ports to the
  3256. file described by the "ControlPortWriteToFile" option. Now we only
  3257. write out that file if we successfully switch to the new config
  3258. option. Fixes bug 5605; bugfix on 0.2.2.26-beta. Patch from "Ryman".
  3259. - When a command-line option such as --version or --help that
  3260. ordinarily implies --hush appears on the command line along with
  3261. --quiet, then actually obey --quiet. Previously, we obeyed --quiet
  3262. only if it appeared later on the command line. Fixes bug 9578;
  3263. bugfix on 0.2.5.1-alpha.
  3264. o Minor bugfixes (code correctness):
  3265. - Previously we used two temporary files when writing descriptors to
  3266. disk; now we only use one. Fixes bug 1376.
  3267. - Remove an erroneous (but impossible and thus harmless) pointer
  3268. comparison that would have allowed compilers to skip a bounds
  3269. check in channeltls.c. Fixes bugs 10313 and 9980; bugfix on
  3270. 0.2.0.10-alpha. Noticed by Jared L Wong and David Fifield.
  3271. - Fix an always-true assertion in pluggable transports code so it
  3272. actually checks what it was trying to check. Fixes bug 10046;
  3273. bugfix on 0.2.3.9-alpha. Found by "dcb".
  3274. o Minor bugfixes (protocol correctness):
  3275. - When receiving a VERSIONS cell with an odd number of bytes, close
  3276. the connection immediately since the cell is malformed. Fixes bug
  3277. 10365; bugfix on 0.2.0.10-alpha. Spotted by "bobnomnom"; fix by
  3278. "rl1987".
  3279. o Minor bugfixes (build):
  3280. - Restore the ability to compile Tor with V2_HANDSHAKE_SERVER
  3281. turned off (that is, without support for v2 link handshakes). Fixes
  3282. bug 4677; bugfix on 0.2.3.2-alpha. Patch from "piet".
  3283. - Fix compilation warnings and startup issues when running with
  3284. "Sandbox 1" and libseccomp-2.1.0. Fixes bug 10563; bugfix on
  3285. 0.2.5.1-alpha.
  3286. - Fix compilation on Solaris 9, which didn't like us having an
  3287. identifier named "sun". Fixes bug 10565; bugfix in 0.2.5.1-alpha.
  3288. o Minor bugfixes (testing):
  3289. - Fix a segmentation fault in our benchmark code when running with
  3290. Fedora's OpenSSL package, or any other OpenSSL that provides
  3291. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  3292. o Minor bugfixes (log messages):
  3293. - Fix a bug where clients using bridges would report themselves
  3294. as 50% bootstrapped even without a live consensus document.
  3295. Fixes bug 9922; bugfix on 0.2.1.1-alpha.
  3296. - Suppress a warning where, if there's only one directory authority
  3297. in the network, we would complain that votes and signatures cannot
  3298. be uploaded to other directory authorities. Fixes bug 10842;
  3299. bugfix on 0.2.2.26-beta.
  3300. - Report bootstrapping progress correctly when we're downloading
  3301. microdescriptors. We had updated our "do we have enough microdescs
  3302. to begin building circuits?" logic most recently in 0.2.4.10-alpha
  3303. (see bug 5956), but we left the bootstrap status event logic at
  3304. "how far through getting 1/4 of them are we?" Fixes bug 9958;
  3305. bugfix on 0.2.2.36, which is where they diverged (see bug 5343).
  3306. o Minor bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  3307. - Avoid a crash bug when starting with a corrupted microdescriptor
  3308. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  3309. - If we fail to dump a previously cached microdescriptor to disk, avoid
  3310. freeing duplicate data later on. Fixes bug 10423; bugfix on
  3311. 0.2.4.13-alpha. Spotted by "bobnomnom".
  3312. o Minor bugfixes on 0.2.4.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  3313. - Correctly log long IPv6 exit policies, instead of truncating them
  3314. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  3315. - Our default TLS ecdhe groups were backwards: we meant to be using
  3316. P224 for relays (for performance win) and P256 for bridges (since
  3317. it is more common in the wild). Instead we had it backwards. After
  3318. reconsideration, we decided that the default should be P256 on all
  3319. hosts, since its security is probably better, and since P224 is
  3320. reportedly used quite little in the wild. Found by "skruffy" on
  3321. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  3322. - Free directory authority certificate download statuses on exit
  3323. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  3324. o Minor bugfixes on 0.2.3.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  3325. - If the guard we choose first doesn't answer, we would try the
  3326. second guard, but once we connected to the second guard we would
  3327. abandon it and retry the first one, slowing down bootstrapping.
  3328. The fix is to treat all our initially chosen guards as acceptable
  3329. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  3330. - Fix an assertion failure that would occur when disabling the
  3331. ORPort setting on a running Tor process while accounting was
  3332. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  3333. - When examining the list of network interfaces to find our address,
  3334. do not consider non-running or disabled network interfaces. Fixes
  3335. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  3336. - Avoid an off-by-one error when checking buffer boundaries when
  3337. formatting the exit status of a pluggable transport helper.
  3338. This is probably not an exploitable bug, but better safe than
  3339. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  3340. Pedro Ribeiro.
  3341. o Removed code and features:
  3342. - Clients now reject any directory authority certificates lacking
  3343. a dir-key-crosscert element. These have been included since
  3344. 0.2.1.9-alpha, so there's no real reason for them to be optional
  3345. any longer. Completes proposal 157. Resolves ticket 10162.
  3346. - Remove all code that existed to support the v2 directory system,
  3347. since there are no longer any v2 directory authorities. Resolves
  3348. ticket 10758.
  3349. - Remove the HSAuthoritativeDir and AlternateHSAuthority torrc
  3350. options, which were used for designating authorities as "Hidden
  3351. service authorities". There has been no use of hidden service
  3352. authorities since 0.2.2.1-alpha, when we stopped uploading or
  3353. downloading v0 hidden service descriptors. Fixes bug 10881; also
  3354. part of a fix for bug 10841.
  3355. o Code simplification and refactoring:
  3356. - Remove some old fallback code designed to keep Tor clients working
  3357. in a network with only two working relays. Elsewhere in the code we
  3358. have long since stopped supporting such networks, so there wasn't
  3359. much point in keeping it around. Addresses ticket 9926.
  3360. - Reject 0-length EXTEND2 cells more explicitly. Fixes bug 10536;
  3361. bugfix on 0.2.4.8-alpha. Reported by "cypherpunks".
  3362. - Remove data structures which were introduced to implement the
  3363. CellStatistics option: they are now redundant with the addition
  3364. of a timestamp to the regular packed_cell_t data structure, which
  3365. we did in 0.2.4.18-rc in order to resolve ticket 9093. Implements
  3366. ticket 10870.
  3367. o Documentation (man page) fixes:
  3368. - Update manpage to describe some of the files you can expect to
  3369. find in Tor's DataDirectory. Addresses ticket 9839.
  3370. - Document that all but one DirPort entry must have the NoAdvertise
  3371. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  3372. o Documentation fixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  3373. - Clarify the usage and risks of setting the ContactInfo torrc line
  3374. for your relay or bridge. Resolves ticket 9854.
  3375. - Add anchors to the manpage so we can link to the html version of
  3376. the documentation for specific options. Resolves ticket 9866.
  3377. - Replace remaining references to DirServer in man page and
  3378. log entries. Resolves ticket 10124.
  3379. o Tool changes:
  3380. - Make the "tor-gencert" tool used by directory authority operators
  3381. create 2048-bit signing keys by default (rather than 1024-bit, since
  3382. 1024-bit is uncomfortably small these days). Addresses ticket 10324.
  3383. Changes in version 0.2.4.20 - 2013-12-22
  3384. Tor 0.2.4.20 fixes potentially poor random number generation for users
  3385. who 1) use OpenSSL 1.0.0 or later, 2) set "HardwareAccel 1" in their
  3386. torrc file, 3) have "Sandy Bridge" or "Ivy Bridge" Intel processors,
  3387. and 4) have no state file in their DataDirectory (as would happen on
  3388. first start). Users who generated relay or hidden service identity
  3389. keys in such a situation should discard them and generate new ones.
  3390. This release also fixes a logic error that caused Tor clients to build
  3391. many more preemptive circuits than they actually need.
  3392. o Major bugfixes:
  3393. - Do not allow OpenSSL engines to replace the PRNG, even when
  3394. HardwareAccel is set. The only default builtin PRNG engine uses
  3395. the Intel RDRAND instruction to replace the entire PRNG, and
  3396. ignores all attempts to seed it with more entropy. That's
  3397. cryptographically stupid: the right response to a new alleged
  3398. entropy source is never to discard all previously used entropy
  3399. sources. Fixes bug 10402; works around behavior introduced in
  3400. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  3401. and "rl1987".
  3402. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  3403. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  3404. - Avoid launching spurious extra circuits when a stream is pending.
  3405. This fixes a bug where any circuit that _wasn't_ unusable for new
  3406. streams would be treated as if it were, causing extra circuits to
  3407. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  3408. o Minor bugfixes:
  3409. - Avoid a crash bug when starting with a corrupted microdescriptor
  3410. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  3411. - If we fail to dump a previously cached microdescriptor to disk, avoid
  3412. freeing duplicate data later on. Fixes bug 10423; bugfix on
  3413. 0.2.4.13-alpha. Spotted by "bobnomnom".
  3414. Changes in version 0.2.4.19 - 2013-12-11
  3415. The Tor 0.2.4 release series is dedicated to the memory of Aaron Swartz
  3416. (1986-2013). Aaron worked on diverse projects including helping to guide
  3417. Creative Commons, playing a key role in stopping SOPA/PIPA, bringing
  3418. transparency to the U.S government's PACER documents, and contributing
  3419. design and development for Tor and Tor2Web. Aaron was one of the latest
  3420. martyrs in our collective fight for civil liberties and human rights,
  3421. and his death is all the more painful because he was one of us.
  3422. Tor 0.2.4.19, the first stable release in the 0.2.4 branch, features
  3423. a new circuit handshake and link encryption that use ECC to provide
  3424. better security and efficiency; makes relays better manage circuit
  3425. creation requests; uses "directory guards" to reduce client enumeration
  3426. risks; makes bridges collect and report statistics about the pluggable
  3427. transports they support; cleans up and improves our geoip database;
  3428. gets much closer to IPv6 support for clients, bridges, and relays; makes
  3429. directory authorities use measured bandwidths rather than advertised
  3430. ones when computing flags and thresholds; disables client-side DNS
  3431. caching to reduce tracking risks; and fixes a big bug in bridge
  3432. reachability testing. This release introduces two new design
  3433. abstractions in the code: a new "channel" abstraction between circuits
  3434. and or_connections to allow for implementing alternate relay-to-relay
  3435. transports, and a new "circuitmux" abstraction storing the queue of
  3436. circuits for a channel. The release also includes many stability,
  3437. security, and privacy fixes.
  3438. Changes in version 0.2.4.18-rc - 2013-11-16
  3439. Tor 0.2.4.18-rc is the fourth release candidate for the Tor 0.2.4.x
  3440. series. It takes a variety of fixes from the 0.2.5.x branch to improve
  3441. stability, performance, and better handling of edge cases.
  3442. o Major features:
  3443. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  3444. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  3445. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  3446. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  3447. them to solve bug 6033.)
  3448. o Major bugfixes:
  3449. - No longer stop reading or writing on cpuworker connections when
  3450. our rate limiting buckets go empty. Now we should handle circuit
  3451. handshake requests more promptly. Resolves bug 9731.
  3452. - If we are unable to save a microdescriptor to the journal, do not
  3453. drop it from memory and then reattempt downloading it. Fixes bug
  3454. 9645; bugfix on 0.2.2.6-alpha.
  3455. - Stop trying to bootstrap all our directory information from
  3456. only our first guard. Discovered while fixing bug 9946; bugfix
  3457. on 0.2.4.8-alpha.
  3458. - The new channel code sometimes lost track of in-progress circuits,
  3459. causing long-running clients to stop building new circuits. The
  3460. fix is to always call circuit_n_chan_done(chan, 0) from
  3461. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  3462. o Minor bugfixes (on 0.2.4.x):
  3463. - Correctly log long IPv6 exit policies, instead of truncating them
  3464. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  3465. - Our default TLS ecdhe groups were backwards: we meant to be using
  3466. P224 for relays (for performance win) and P256 for bridges (since
  3467. it is more common in the wild). Instead we had it backwards. After
  3468. reconsideration, we decided that the default should be P256 on all
  3469. hosts, since its security is probably better, and since P224 is
  3470. reportedly used quite little in the wild. Found by "skruffy" on
  3471. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  3472. - Free directory authority certificate download statuses on exit
  3473. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  3474. o Minor bugfixes (on 0.2.3.x and earlier):
  3475. - If the guard we choose first doesn't answer, we would try the
  3476. second guard, but once we connected to the second guard we would
  3477. abandon it and retry the first one, slowing down bootstrapping.
  3478. The fix is to treat all our initially chosen guards as acceptable
  3479. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  3480. - Fix an assertion failure that would occur when disabling the
  3481. ORPort setting on a running Tor process while accounting was
  3482. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  3483. - When examining the list of network interfaces to find our address,
  3484. do not consider non-running or disabled network interfaces. Fixes
  3485. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  3486. - Avoid an off-by-one error when checking buffer boundaries when
  3487. formatting the exit status of a pluggable transport helper.
  3488. This is probably not an exploitable bug, but better safe than
  3489. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  3490. Pedro Ribeiro.
  3491. o Minor features (protecting client timestamps):
  3492. - Clients no longer send timestamps in their NETINFO cells. These were
  3493. not used for anything, and they provided one small way for clients
  3494. to be distinguished from each other as they moved from network to
  3495. network or behind NAT. Implements part of proposal 222.
  3496. - Clients now round timestamps in INTRODUCE cells down to the nearest
  3497. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  3498. if it's set to "auto" and the feature is disabled in the consensus,
  3499. the timestamp is sent as 0 instead. Implements part of proposal 222.
  3500. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  3501. a big deal from a security point of view, but it achieves no actual
  3502. good purpose, and isn't needed. Implements part of proposal 222.
  3503. - Reduce down accuracy of timestamps in hidden service descriptors.
  3504. Implements part of proposal 222.
  3505. o Minor features (other):
  3506. - Improve the circuit queue out-of-memory handler. Previously, when
  3507. we ran low on memory, we'd close whichever circuits had the most
  3508. queued cells. Now, we close those that have the *oldest* queued
  3509. cells, on the theory that those are most responsible for us
  3510. running low on memory. Based on analysis from a forthcoming paper
  3511. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  3512. - Generate bootstrapping status update events correctly when fetching
  3513. microdescriptors. Fixes bug 9927.
  3514. - Update to the October 2 2013 Maxmind GeoLite Country database.
  3515. o Documentation fixes:
  3516. - Clarify the usage and risks of setting the ContactInfo torrc line
  3517. for your relay or bridge. Resolves ticket 9854.
  3518. - Add anchors to the manpage so we can link to the html version of
  3519. the documentation for specific options. Resolves ticket 9866.
  3520. - Replace remaining references to DirServer in man page and
  3521. log entries. Resolves ticket 10124.
  3522. Changes in version 0.2.5.1-alpha - 2013-10-02
  3523. Tor 0.2.5.1-alpha introduces experimental support for syscall sandboxing
  3524. on Linux, allows bridges that offer pluggable transports to report usage
  3525. statistics, fixes many issues to make testing easier, and provides
  3526. a pile of minor features and bugfixes that have been waiting for a
  3527. release of the new branch.
  3528. This is the first alpha release in a new series, so expect there to
  3529. be bugs. Users who would rather test out a more stable branch should
  3530. stay with 0.2.4.x for now.
  3531. o Major features (security):
  3532. - Use the seccomp2 syscall filtering facility on Linux to limit
  3533. which system calls Tor can invoke. This is an experimental,
  3534. Linux-only feature to provide defense-in-depth against unknown
  3535. attacks. To try turning it on, set "Sandbox 1" in your torrc
  3536. file. Please be ready to report bugs. We hope to add support
  3537. for better sandboxing in the future, including more fine-grained
  3538. filters, better division of responsibility, and support for more
  3539. platforms. This work has been done by Cristian-Matei Toader for
  3540. Google Summer of Code.
  3541. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  3542. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  3543. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  3544. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  3545. them to solve bug 6033.)
  3546. o Major features (other):
  3547. - Add support for passing arguments to managed pluggable transport
  3548. proxies. Implements ticket 3594.
  3549. - Bridges now track GeoIP information and the number of their users
  3550. even when pluggable transports are in use, and report usage
  3551. statistics in their extra-info descriptors. Resolves tickets 4773
  3552. and 5040.
  3553. - Make testing Tor networks bootstrap better: lower directory fetch
  3554. retry schedules and maximum interval without directory requests,
  3555. and raise maximum download tries. Implements ticket 6752.
  3556. - Add make target 'test-network' to run tests on a Chutney network.
  3557. Implements ticket 8530.
  3558. - The ntor handshake is now on-by-default, no matter what the
  3559. directory authorities recommend. Implements ticket 8561.
  3560. o Major bugfixes:
  3561. - Instead of writing destroy cells directly to outgoing connection
  3562. buffers, queue them and intersperse them with other outgoing cells.
  3563. This can prevent a set of resource starvation conditions where too
  3564. many pending destroy cells prevent data cells from actually getting
  3565. delivered. Reported by "oftc_must_be_destroyed". Fixes bug 7912;
  3566. bugfix on 0.2.0.1-alpha.
  3567. - If we are unable to save a microdescriptor to the journal, do not
  3568. drop it from memory and then reattempt downloading it. Fixes bug
  3569. 9645; bugfix on 0.2.2.6-alpha.
  3570. - The new channel code sometimes lost track of in-progress circuits,
  3571. causing long-running clients to stop building new circuits. The
  3572. fix is to always call circuit_n_chan_done(chan, 0) from
  3573. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  3574. o Build features:
  3575. - Tor now builds each source file in two modes: a mode that avoids
  3576. exposing identifiers needlessly, and another mode that exposes
  3577. more identifiers for testing. This lets the compiler do better at
  3578. optimizing the production code, while enabling us to take more
  3579. radical measures to let the unit tests test things.
  3580. - The production builds no longer include functions used only in
  3581. the unit tests; all functions exposed from a module only for
  3582. unit-testing are now static in production builds.
  3583. - Add an --enable-coverage configuration option to make the unit
  3584. tests (and a new src/or/tor-cov target) to build with gcov test
  3585. coverage support.
  3586. o Testing:
  3587. - We now have rudimentary function mocking support that our unit
  3588. tests can use to test functions in isolation. Function mocking
  3589. lets the tests temporarily replace a function's dependencies with
  3590. stub functions, so that the tests can check the function without
  3591. invoking the other functions it calls.
  3592. - Add more unit tests for the <circid,channel>->circuit map, and
  3593. the destroy-cell-tracking code to fix bug 7912.
  3594. - Unit tests for failing cases of the TAP onion handshake.
  3595. - More unit tests for address-manipulation functions.
  3596. o Minor features (protecting client timestamps):
  3597. - Clients no longer send timestamps in their NETINFO cells. These were
  3598. not used for anything, and they provided one small way for clients
  3599. to be distinguished from each other as they moved from network to
  3600. network or behind NAT. Implements part of proposal 222.
  3601. - Clients now round timestamps in INTRODUCE cells down to the nearest
  3602. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  3603. if it's set to "auto" and the feature is disabled in the consensus,
  3604. the timestamp is sent as 0 instead. Implements part of proposal 222.
  3605. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  3606. a big deal from a security point of view, but it achieves no actual
  3607. good purpose, and isn't needed. Implements part of proposal 222.
  3608. - Reduce down accuracy of timestamps in hidden service descriptors.
  3609. Implements part of proposal 222.
  3610. o Minor features (config options):
  3611. - Config (torrc) lines now handle fingerprints which are missing
  3612. their initial '$'. Resolves ticket 4341; improvement over 0.0.9pre5.
  3613. - Support a --dump-config option to print some or all of the
  3614. configured options. Mainly useful for debugging the command-line
  3615. option parsing code. Helps resolve ticket 4647.
  3616. - Raise awareness of safer logging: notify user of potentially
  3617. unsafe config options, like logging more verbosely than severity
  3618. "notice" or setting SafeLogging to 0. Resolves ticket 5584.
  3619. - Add a new configuration option TestingV3AuthVotingStartOffset
  3620. that bootstraps a network faster by changing the timing for
  3621. consensus votes. Addresses ticket 8532.
  3622. - Add a new torrc option "ServerTransportOptions" that allows
  3623. bridge operators to pass configuration parameters to their
  3624. pluggable transports. Resolves ticket 8929.
  3625. - The config (torrc) file now accepts bandwidth and space limits in
  3626. bits as well as bytes. (Anywhere that you can say "2 Kilobytes",
  3627. you can now say "16 kilobits", and so on.) Resolves ticket 9214.
  3628. Patch by CharlieB.
  3629. o Minor features (build):
  3630. - Add support for `--library-versions` flag. Implements ticket 6384.
  3631. - Return the "unexpected sendme" warnings to a warn severity, but make
  3632. them rate limited, to help diagnose ticket 8093.
  3633. - Detect a missing asciidoc, and warn the user about it, during
  3634. configure rather than at build time. Fixes issue 6506. Patch from
  3635. Arlo Breault.
  3636. o Minor features (other):
  3637. - Use the SOCK_NONBLOCK socket type, if supported, to open nonblocking
  3638. sockets in a single system call. Implements ticket 5129.
  3639. - Log current accounting state (bytes sent and received + remaining
  3640. time for the current accounting period) in the relay's heartbeat
  3641. message. Implements ticket 5526; patch from Peter Retzlaff.
  3642. - Implement the TRANSPORT_LAUNCHED control port event that
  3643. notifies controllers about new launched pluggable
  3644. transports. Resolves ticket 5609.
  3645. - If we're using the pure-C 32-bit curve25519_donna implementation
  3646. of curve25519, build it with the -fomit-frame-pointer option to
  3647. make it go faster on register-starved hosts. This improves our
  3648. handshake performance by about 6% on i386 hosts without nacl.
  3649. Closes ticket 8109.
  3650. - Update to the September 4 2013 Maxmind GeoLite Country database.
  3651. o Minor bugfixes:
  3652. - Set the listen() backlog limit to the largest actually supported
  3653. on the system, not to the value in a header file. Fixes bug 9716;
  3654. bugfix on every released Tor.
  3655. - No longer accept malformed http headers when parsing urls from
  3656. headers. Now we reply with Bad Request ("400"). Fixes bug 2767;
  3657. bugfix on 0.0.6pre1.
  3658. - In munge_extrainfo_into_routerinfo(), check the return value of
  3659. memchr(). This would have been a serious issue if we ever passed
  3660. it a non-extrainfo. Fixes bug 8791; bugfix on 0.2.0.6-alpha. Patch
  3661. from Arlo Breault.
  3662. - On the chance that somebody manages to build Tor on a
  3663. platform where time_t is unsigned, correct the way that
  3664. microdesc_add_to_cache() handles negative time arguments.
  3665. Fixes bug 8042; bugfix on 0.2.3.1-alpha.
  3666. - Reject relative control socket paths and emit a warning. Previously,
  3667. single-component control socket paths would be rejected, but Tor
  3668. would not log why it could not validate the config. Fixes bug 9258;
  3669. bugfix on 0.2.3.16-alpha.
  3670. o Minor bugfixes (command line):
  3671. - Use a single command-line parser for parsing torrc options on the
  3672. command line and for finding special command-line options to avoid
  3673. inconsistent behavior for torrc option arguments that have the same
  3674. names as command-line options. Fixes bugs 4647 and 9578; bugfix on
  3675. 0.0.9pre5.
  3676. - No longer allow 'tor --hash-password' with no arguments. Fixes bug
  3677. 9573; bugfix on 0.0.9pre5.
  3678. o Minor fixes (build, auxiliary programs):
  3679. - Stop preprocessing the "torify" script with autoconf, since
  3680. it no longer refers to LOCALSTATEDIR. Fixes bug 5505; patch
  3681. from Guilhem.
  3682. - The tor-fw-helper program now follows the standard convention and
  3683. exits with status code "0" on success. Fixes bug 9030; bugfix on
  3684. 0.2.3.1-alpha. Patch by Arlo Breault.
  3685. - Corrected ./configure advice for what openssl dev package you should
  3686. install on Debian. Fixes bug 9207; bugfix on 0.2.0.1-alpha.
  3687. o Minor code improvements:
  3688. - Remove constants and tests for PKCS1 padding; it's insecure and
  3689. shouldn't be used for anything new. Fixes bug 8792; patch
  3690. from Arlo Breault.
  3691. - Remove instances of strcpy() from the unit tests. They weren't
  3692. hurting anything, since they were only in the unit tests, but it's
  3693. embarassing to have strcpy() in the code at all, and some analysis
  3694. tools don't like it. Fixes bug 8790; bugfix on 0.2.3.6-alpha and
  3695. 0.2.3.8-alpha. Patch from Arlo Breault.
  3696. o Removed features:
  3697. - Remove migration code from when we renamed the "cached-routers"
  3698. file to "cached-descriptors" back in 0.2.0.8-alpha. This
  3699. incidentally resolves ticket 6502 by cleaning up the related code
  3700. a bit. Patch from Akshay Hebbar.
  3701. o Code simplification and refactoring:
  3702. - Extract the common duplicated code for creating a subdirectory
  3703. of the data directory and writing to a file in it. Fixes ticket
  3704. 4282; patch from Peter Retzlaff.
  3705. - Since OpenSSL 0.9.7, the i2d_*() functions support allocating output
  3706. buffer. Avoid calling twice: i2d_RSAPublicKey(), i2d_DHparams(),
  3707. i2d_X509(), and i2d_PublicKey(). Resolves ticket 5170.
  3708. - Add a set of accessor functions for the circuit timeout data
  3709. structure. Fixes ticket 6153; patch from "piet".
  3710. - Clean up exit paths from connection_listener_new(). Closes ticket
  3711. 8789. Patch from Arlo Breault.
  3712. - Since we rely on OpenSSL 0.9.8 now, we can use EVP_PKEY_cmp()
  3713. and drop our own custom pkey_eq() implementation. Fixes bug 9043.
  3714. - Use a doubly-linked list to implement the global circuit list.
  3715. Resolves ticket 9108. Patch from Marek Majkowski.
  3716. - Remove contrib/id_to_fp.c since it wasn't used anywhere.
  3717. Changes in version 0.2.4.17-rc - 2013-09-05
  3718. Tor 0.2.4.17-rc is the third release candidate for the Tor 0.2.4.x
  3719. series. It adds an emergency step to help us tolerate the massive
  3720. influx of users: 0.2.4 clients using the new (faster and safer) "NTor"
  3721. circuit-level handshakes now effectively jump the queue compared to
  3722. the 0.2.3 clients using "TAP" handshakes. This release also fixes a
  3723. big bug hindering bridge reachability tests.
  3724. o Major features:
  3725. - Relays now process the new "NTor" circuit-level handshake requests
  3726. with higher priority than the old "TAP" circuit-level handshake
  3727. requests. We still process some TAP requests to not totally starve
  3728. 0.2.3 clients when NTor becomes popular. A new consensus parameter
  3729. "NumNTorsPerTAP" lets us tune the balance later if we need to.
  3730. Implements ticket 9574.
  3731. o Major bugfixes:
  3732. - If the circuit build timeout logic is disabled (via the consensus,
  3733. or because we are an authority), then don't build testing circuits.
  3734. Fixes bug 9657; bugfix on 0.2.2.14-alpha.
  3735. - Bridges now send AUTH_CHALLENGE cells during their v3 handshakes;
  3736. previously they did not, which prevented them from receiving
  3737. successful connections from relays for self-test or bandwidth
  3738. testing. Also, when a relay is extending a circuit to a bridge,
  3739. it needs to send a NETINFO cell, even when the bridge hasn't sent
  3740. an AUTH_CHALLENGE cell. Fixes bug 9546; bugfix on 0.2.3.6-alpha.
  3741. - If the time to download the next old-style networkstatus is in
  3742. the future, do not decline to consider whether to download the
  3743. next microdescriptor networkstatus. Fixes bug 9564; bugfix on
  3744. 0.2.3.14-alpha.
  3745. o Minor bugfixes:
  3746. - Avoid double-closing the listener socket in our socketpair()
  3747. replacement (used on Windows) in the case where the addresses on
  3748. our opened sockets don't match what we expected. Fixes bug 9400;
  3749. bugfix on 0.0.2pre7. Found by Coverity.
  3750. o Minor fixes (config options):
  3751. - Avoid overflows when the user sets MaxCircuitDirtiness to a
  3752. ridiculously high value, by imposing a (ridiculously high) 30-day
  3753. maximum on MaxCircuitDirtiness.
  3754. - Fix the documentation of HeartbeatPeriod to say that the heartbeat
  3755. message is logged at notice, not at info.
  3756. - Warn and fail if a server is configured not to advertise any
  3757. ORPorts at all. (We need *something* to put in our descriptor,
  3758. or we just won't work.)
  3759. o Minor features:
  3760. - Track how many "TAP" and "NTor" circuit handshake requests we get,
  3761. and how many we complete, and log it every hour to help relay
  3762. operators follow trends in network load. Addresses ticket 9658.
  3763. - Update to the August 7 2013 Maxmind GeoLite Country database.
  3764. Changes in version 0.2.4.16-rc - 2013-08-10
  3765. Tor 0.2.4.16-rc is the second release candidate for the Tor 0.2.4.x
  3766. series. It fixes several crash bugs in the 0.2.4 branch.
  3767. o Major bugfixes:
  3768. - Fix a bug in the voting algorithm that could yield incorrect results
  3769. when a non-naming authority declared too many flags. Fixes bug 9200;
  3770. bugfix on 0.2.0.3-alpha.
  3771. - Fix an uninitialized read that could in some cases lead to a remote
  3772. crash while parsing INTRODUCE2 cells. Bugfix on 0.2.4.1-alpha.
  3773. Anybody running a hidden service on the experimental 0.2.4.x
  3774. branch should upgrade. (This is, so far as we know, unrelated to
  3775. the recent news.)
  3776. - Avoid an assertion failure when processing DNS replies without the
  3777. answer types we expected. Fixes bug 9337; bugfix on 0.2.4.7-alpha.
  3778. - Avoid a crash when using --hash-password. Fixes bug 9295; bugfix on
  3779. 0.2.4.15-rc. Found by stem integration tests.
  3780. o Minor bugfixes:
  3781. - Fix an invalid memory read that occured when a pluggable
  3782. transport proxy failed its configuration protocol.
  3783. Fixes bug 9288; bugfix on 0.2.4.1-alpha.
  3784. - When evaluating whether to use a connection that we haven't
  3785. decided is canonical using a recent link protocol version,
  3786. decide that it's canonical only if it used address _does_
  3787. match the desired address. Fixes bug 9309; bugfix on
  3788. 0.2.4.4-alpha. Reported by skruffy.
  3789. - Make the default behavior of NumDirectoryGuards be to track
  3790. NumEntryGuards. Now a user who changes only NumEntryGuards will get
  3791. the behavior she expects. Fixes bug 9354; bugfix on 0.2.4.8-alpha.
  3792. - Fix a spurious compilation warning with some older versions of
  3793. GCC on FreeBSD. Fixes bug 9254; bugfix on 0.2.4.14-alpha.
  3794. o Minor features:
  3795. - Update to the July 3 2013 Maxmind GeoLite Country database.
  3796. Changes in version 0.2.4.15-rc - 2013-07-01
  3797. Tor 0.2.4.15-rc is the first release candidate for the Tor 0.2.4.x
  3798. series. It fixes a few smaller bugs, but generally appears stable.
  3799. Please test it and let us know whether it is!
  3800. o Major bugfixes:
  3801. - When receiving a new configuration file via the control port's
  3802. LOADCONF command, do not treat the defaults file as absent.
  3803. Fixes bug 9122; bugfix on 0.2.3.9-alpha.
  3804. o Minor features:
  3805. - Issue a warning when running with the bufferevents backend enabled.
  3806. It's still not stable, and people should know that they're likely
  3807. to hit unexpected problems. Closes ticket 9147.
  3808. Changes in version 0.2.4.14-alpha - 2013-06-18
  3809. Tor 0.2.4.14-alpha fixes a pair of client guard enumeration problems
  3810. present in 0.2.4.13-alpha.
  3811. o Major bugfixes:
  3812. - When we have too much memory queued in circuits (according to a new
  3813. MaxMemInCellQueues option), close the circuits consuming the most
  3814. memory. This prevents us from running out of memory as a relay if
  3815. circuits fill up faster than they can be drained. Fixes bug 9063;
  3816. bugfix on the 54th commit of Tor. This bug is a further fix beyond
  3817. bug 6252, whose fix was merged into 0.2.3.21-rc.
  3818. This change also fixes an earlier approach taken in 0.2.4.13-alpha,
  3819. where we tried to solve this issue simply by imposing an upper limit
  3820. on the number of queued cells for a single circuit. That approach
  3821. proved to be problematic, since there are ways to provoke clients to
  3822. send a number of cells in excess of any such reasonable limit. Fixes
  3823. bug 9072; bugfix on 0.2.4.13-alpha.
  3824. - Limit hidden service descriptors to at most ten introduction
  3825. points, to slow one kind of guard enumeration. Fixes bug 9002;
  3826. bugfix on 0.1.1.11-alpha.
  3827. Changes in version 0.2.4.13-alpha - 2013-06-14
  3828. Tor 0.2.4.13-alpha fixes a variety of potential remote crash
  3829. vulnerabilities, makes socks5 username/password circuit isolation
  3830. actually actually work (this time for sure!), and cleans up a bunch
  3831. of other issues in preparation for a release candidate.
  3832. o Major bugfixes (robustness):
  3833. - Close any circuit that has too many cells queued on it. Fixes
  3834. bug 9063; bugfix on the 54th commit of Tor. This bug is a further
  3835. fix beyond bug 6252, whose fix was merged into 0.2.3.21-rc.
  3836. - Prevent the get_freelists() function from running off the end of
  3837. the list of freelists if it somehow gets an unrecognized
  3838. allocation. Fixes bug 8844; bugfix on 0.2.0.16-alpha. Reported by
  3839. eugenis.
  3840. - Avoid an assertion failure on OpenBSD (and perhaps other BSDs)
  3841. when an exit connection with optimistic data succeeds immediately
  3842. rather than returning EINPROGRESS. Fixes bug 9017; bugfix on
  3843. 0.2.3.1-alpha.
  3844. - Fix a directory authority crash bug when building a consensus
  3845. using an older consensus as its basis. Fixes bug 8833. Bugfix
  3846. on 0.2.4.12-alpha.
  3847. o Major bugfixes:
  3848. - Avoid a memory leak where we would leak a consensus body when we
  3849. find that a consensus which we couldn't previously verify due to
  3850. missing certificates is now verifiable. Fixes bug 8719; bugfix
  3851. on 0.2.0.10-alpha.
  3852. - We used to always request authority certificates by identity digest,
  3853. meaning we'd get the newest one even when we wanted one with a
  3854. different signing key. Then we would complain about being given
  3855. a certificate we already had, and never get the one we really
  3856. wanted. Now we use the "fp-sk/" resource as well as the "fp/"
  3857. resource to request the one we want. Fixes bug 5595; bugfix on
  3858. 0.2.0.8-alpha.
  3859. - Follow the socks5 protocol when offering username/password
  3860. authentication. The fix for bug 8117 exposed this bug, and it
  3861. turns out real-world applications like Pidgin do care. Bugfix on
  3862. 0.2.3.2-alpha; fixes bug 8879.
  3863. - Prevent failures on Windows Vista and later when rebuilding the
  3864. microdescriptor cache. Diagnosed by Robert Ransom. Fixes bug 8822;
  3865. bugfix on 0.2.4.12-alpha.
  3866. o Minor bugfixes:
  3867. - Fix an impossible buffer overrun in the AES unit tests. Fixes
  3868. bug 8845; bugfix on 0.2.0.7-alpha. Found by eugenis.
  3869. - If for some reason we fail to write a microdescriptor while
  3870. rebuilding the cache, do not let the annotations from that
  3871. microdescriptor linger in the cache file, and do not let the
  3872. microdescriptor stay recorded as present in its old location.
  3873. Fixes bug 9047; bugfix on 0.2.2.6-alpha.
  3874. - Fix a memory leak that would occur whenever a configuration
  3875. option changed. Fixes bug 8718; bugfix on 0.2.3.3-alpha.
  3876. - Paste the description for PathBias parameters from the man
  3877. page into or.h, so the code documents them too. Fixes bug 7982;
  3878. bugfix on 0.2.3.17-beta and 0.2.4.8-alpha.
  3879. - Relays now treat a changed IPv6 ORPort as sufficient reason to
  3880. publish an updated descriptor. Fixes bug 6026; bugfix on
  3881. 0.2.4.1-alpha.
  3882. - When launching a resolve request on behalf of an AF_UNIX control
  3883. socket, omit the address field of the new entry connection, used in
  3884. subsequent controller events, rather than letting tor_dup_addr()
  3885. set it to "<unknown address type>". Fixes bug 8639; bugfix on
  3886. 0.2.4.12-alpha.
  3887. o Minor bugfixes (log messages):
  3888. - Fix a scaling issue in the path bias accounting code that
  3889. resulted in "Bug:" log messages from either
  3890. pathbias_scale_close_rates() or pathbias_count_build_success().
  3891. This represents a bugfix on a previous bugfix: the original fix
  3892. attempted in 0.2.4.10-alpha was incomplete. Fixes bug 8235; bugfix
  3893. on 0.2.4.1-alpha.
  3894. - Give a less useless error message when the user asks for an IPv4
  3895. address on an IPv6-only port, or vice versa. Fixes bug 8846; bugfix
  3896. on 0.2.4.7-alpha.
  3897. o Minor features:
  3898. - Downgrade "unexpected SENDME" warnings to protocol-warn for 0.2.4.x,
  3899. to tolerate bug 8093 for now.
  3900. - Add an "ignoring-advertised-bws" boolean to the flag-threshold lines
  3901. in directory authority votes to describe whether they have enough
  3902. measured bandwidths to ignore advertised (relay descriptor)
  3903. bandwidth claims. Resolves ticket 8711.
  3904. - Update to the June 5 2013 Maxmind GeoLite Country database.
  3905. o Removed documentation:
  3906. - Remove some of the older contents of doc/ as obsolete; move others
  3907. to torspec.git. Fixes bug 8965.
  3908. o Code simplification and refactoring:
  3909. - Avoid using character buffers when constructing most directory
  3910. objects: this approach was unwieldy and error-prone. Instead,
  3911. build smartlists of strings, and concatenate them when done.
  3912. Changes in version 0.2.4.12-alpha - 2013-04-18
  3913. Tor 0.2.4.12-alpha moves Tor forward on several fronts: it starts the
  3914. process for lengthening the guard rotation period, makes directory
  3915. authority opinions in the consensus a bit less gameable, makes socks5
  3916. username/password circuit isolation actually work, and fixes a wide
  3917. variety of other issues.
  3918. o Major features:
  3919. - Raise the default time that a client keeps an entry guard from
  3920. "1-2 months" to "2-3 months", as suggested by Tariq Elahi's WPES
  3921. 2012 paper. (We would make it even longer, but we need better client
  3922. load balancing first.) Also, make the guard lifetime controllable
  3923. via a new GuardLifetime torrc option and a GuardLifetime consensus
  3924. parameter. Start of a fix for bug 8240; bugfix on 0.1.1.11-alpha.
  3925. - Directory authorities now prefer using measured bandwidths to
  3926. advertised ones when computing flags and thresholds. Resolves
  3927. ticket 8273.
  3928. - Directory authorities that have more than a threshold number
  3929. of relays with measured bandwidths now treat relays with unmeasured
  3930. bandwidths as having bandwidth 0. Resolves ticket 8435.
  3931. o Major bugfixes (assert / resource use):
  3932. - Avoid a bug where our response to TLS renegotiation under certain
  3933. network conditions could lead to a busy-loop, with 100% CPU
  3934. consumption. Fixes bug 5650; bugfix on 0.2.0.16-alpha.
  3935. - Avoid an assertion when we discover that we'd like to write a cell
  3936. onto a closing connection: just discard the cell. Fixes another
  3937. case of bug 7350; bugfix on 0.2.4.4-alpha.
  3938. o Major bugfixes (client-side privacy):
  3939. - When we mark a circuit as unusable for new circuits, have it
  3940. continue to be unusable for new circuits even if MaxCircuitDirtiness
  3941. is increased too much at the wrong time, or the system clock jumps
  3942. backwards. Fixes bug 6174; bugfix on 0.0.2pre26.
  3943. - If ClientDNSRejectInternalAddresses ("do not believe DNS queries
  3944. which have resolved to internal addresses") is set, apply that
  3945. rule to IPv6 as well. Fixes bug 8475; bugfix on 0.2.0.7-alpha.
  3946. - When an exit relay rejects a stream with reason "exit policy", but
  3947. we only know an exit policy summary (e.g. from the microdesc
  3948. consensus) for it, do not mark the relay as useless for all exiting.
  3949. Instead, mark just the circuit as unsuitable for that particular
  3950. address. Fixes part of bug 7582; bugfix on 0.2.3.2-alpha.
  3951. - Allow applications to get proper stream isolation with
  3952. IsolateSOCKSAuth. Many SOCKS5 clients that want to offer
  3953. username/password authentication also offer "no authentication". Tor
  3954. had previously preferred "no authentication", so the applications
  3955. never actually sent Tor their auth details. Now Tor selects
  3956. username/password authentication if it's offered. You can disable
  3957. this behavior on a per-SOCKSPort basis via PreferSOCKSNoAuth. Fixes
  3958. bug 8117; bugfix on 0.2.3.3-alpha.
  3959. o Major bugfixes (other):
  3960. - When unable to find any working directory nodes to use as a
  3961. directory guard, give up rather than adding the same non-working
  3962. nodes to the directory guard list over and over. Fixes bug 8231;
  3963. bugfix on 0.2.4.8-alpha.
  3964. o Minor features:
  3965. - Reject as invalid most directory objects containing a NUL.
  3966. Belt-and-suspender fix for bug 8037.
  3967. - In our testsuite, create temporary directories with a bit more
  3968. entropy in their name to make name collisions less likely. Fixes
  3969. bug 8638.
  3970. - Add CACHED keyword to ADDRMAP events in the control protocol
  3971. to indicate whether a DNS result will be cached or not. Resolves
  3972. ticket 8596.
  3973. - Update to the April 3 2013 Maxmind GeoLite Country database.
  3974. o Minor features (build):
  3975. - Detect and reject attempts to build Tor with threading support
  3976. when OpenSSL has been compiled without threading support.
  3977. Fixes bug 6673.
  3978. - Clarify that when autoconf is checking for nacl, it is checking
  3979. specifically for nacl with a fast curve25519 implementation.
  3980. Fixes bug 8014.
  3981. - Warn if building on a platform with an unsigned time_t: there
  3982. are too many places where Tor currently assumes that time_t can
  3983. hold negative values. We'd like to fix them all, but probably
  3984. some will remain.
  3985. o Minor bugfixes (build):
  3986. - Fix some bugs in tor-fw-helper-natpmp when trying to build and
  3987. run it on Windows. More bugs likely remain. Patch from Gisle Vanem.
  3988. Fixes bug 7280; bugfix on 0.2.3.1-alpha.
  3989. - Add the old src/or/micro-revision.i filename to CLEANFILES.
  3990. On the off chance that somebody has one, it will go away as soon
  3991. as they run "make clean". Fix for bug 7143; bugfix on 0.2.4.1-alpha.
  3992. - Build Tor correctly on 32-bit platforms where the compiler can build
  3993. but not run code using the "uint128_t" construction. Fixes bug 8587;
  3994. bugfix on 0.2.4.8-alpha.
  3995. - Fix compilation warning with some versions of clang that would
  3996. prefer the -Wswitch-enum compiler flag to warn about switch
  3997. statements with missing enum values, even if those switch
  3998. statements have a "default:" statement. Fixes bug 8598; bugfix
  3999. on 0.2.4.10-alpha.
  4000. o Minor bugfixes (protocol):
  4001. - Fix the handling of a TRUNCATE cell when it arrives while the
  4002. circuit extension is in progress. Fixes bug 7947; bugfix on 0.0.7.1.
  4003. - Fix a misframing issue when reading the version numbers in a
  4004. VERSIONS cell. Previously we would recognize [00 01 00 02] as
  4005. 'version 1, version 2, and version 0x100', when it should have
  4006. only included versions 1 and 2. Fixes bug 8059; bugfix on
  4007. 0.2.0.10-alpha. Reported pseudonymously.
  4008. - Make the format and order of STREAM events for DNS lookups
  4009. consistent among the various ways to launch DNS lookups. Fixes
  4010. bug 8203; bugfix on 0.2.0.24-rc. Patch by "Desoxy."
  4011. - Correct our check for which versions of Tor support the EXTEND2
  4012. cell. We had been willing to send it to Tor 0.2.4.7-alpha and
  4013. later, when support was really added in version 0.2.4.8-alpha.
  4014. Fixes bug 8464; bugfix on 0.2.4.8-alpha.
  4015. o Minor bugfixes (other):
  4016. - Correctly store microdescriptors and extrainfo descriptors with
  4017. an internal NUL byte. Fixes bug 8037; bugfix on 0.2.0.1-alpha.
  4018. Bug reported by "cypherpunks".
  4019. - Increase the width of the field used to remember a connection's
  4020. link protocol version to two bytes. Harmless for now, since the
  4021. only currently recognized versions are one byte long. Reported
  4022. pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha.
  4023. - If the state file's path bias counts are invalid (presumably from a
  4024. buggy Tor prior to 0.2.4.10-alpha), make them correct. Also add
  4025. additional checks and log messages to the scaling of Path Bias
  4026. counts, in case there still are remaining issues with scaling.
  4027. Should help resolve bug 8235.
  4028. - Eliminate several instances where we use "Nickname=ID" to refer to
  4029. nodes in logs. Use "Nickname (ID)" instead. (Elsewhere, we still use
  4030. "$ID=Nickname", which is also acceptable.) Fixes bug 7065. Bugfix
  4031. on 0.2.3.21-rc, 0.2.4.5-alpha, 0.2.4.8-alpha, and 0.2.4.10-alpha.
  4032. o Minor bugfixes (syscalls):
  4033. - Always check the return values of functions fcntl() and
  4034. setsockopt(). We don't believe these are ever actually failing in
  4035. practice, but better safe than sorry. Also, checking these return
  4036. values should please analysis tools like Coverity. Patch from
  4037. 'flupzor'. Fixes bug 8206; bugfix on all versions of Tor.
  4038. - Use direct writes rather than stdio when building microdescriptor
  4039. caches, in an attempt to mitigate bug 8031, or at least make it
  4040. less common.
  4041. o Minor bugfixes (config):
  4042. - When rejecting a configuration because we were unable to parse a
  4043. quoted string, log an actual error message. Fixes bug 7950; bugfix
  4044. on 0.2.0.16-alpha.
  4045. - Behave correctly when the user disables LearnCircuitBuildTimeout
  4046. but doesn't tell us what they would like the timeout to be. Fixes
  4047. bug 6304; bugfix on 0.2.2.14-alpha.
  4048. - When autodetecting the number of CPUs, use the number of available
  4049. CPUs in preference to the number of configured CPUs. Inform the
  4050. user if this reduces the number of available CPUs. Fixes bug 8002;
  4051. bugfix on 0.2.3.1-alpha.
  4052. - Make it an error when you set EntryNodes but disable UseGuardNodes,
  4053. since it will (surprisingly to some users) ignore EntryNodes. Fixes
  4054. bug 8180; bugfix on 0.2.3.11-alpha.
  4055. - Allow TestingTorNetworks to override the 4096-byte minimum for
  4056. the Fast threshold. Otherwise they can't bootstrap until they've
  4057. observed more traffic. Fixes bug 8508; bugfix on 0.2.4.10-alpha.
  4058. - Fix some logic errors when the user manually overrides the
  4059. PathsNeededToBuildCircuits option in torrc. Fixes bug 8599; bugfix
  4060. on 0.2.4.10-alpha.
  4061. o Minor bugfixes (log messages to help diagnose bugs):
  4062. - If we fail to free a microdescriptor because of bug 7164, log
  4063. the filename and line number from which we tried to free it.
  4064. - Add another diagnostic to the heartbeat message: track and log
  4065. overhead that TLS is adding to the data we write. If this is
  4066. high, we are sending too little data to SSL_write at a time.
  4067. Diagnostic for bug 7707.
  4068. - Add more detail to a log message about relaxed timeouts, to help
  4069. track bug 7799.
  4070. - Warn more aggressively when flushing microdescriptors to a
  4071. microdescriptor cache fails, in an attempt to mitigate bug 8031,
  4072. or at least make it more diagnosable.
  4073. - Improve debugging output to help track down bug 8185 ("Bug:
  4074. outgoing relay cell has n_chan==NULL. Dropping.")
  4075. - Log the purpose of a path-bias testing circuit correctly.
  4076. Improves a log message from bug 8477; bugfix on 0.2.4.8-alpha.
  4077. o Minor bugfixes (0.2.4.x log messages that were too noisy):
  4078. - Don't attempt to relax the timeout of already opened 1-hop circuits.
  4079. They might never timeout. This should eliminate some/all cases of
  4080. the relaxed timeout log message.
  4081. - Use circuit creation time for network liveness evaluation. This
  4082. should eliminate warning log messages about liveness caused
  4083. by changes in timeout evaluation. Fixes bug 6572; bugfix on
  4084. 0.2.4.8-alpha.
  4085. - Reduce a path bias length check from notice to info. The message
  4086. is triggered when creating controller circuits. Fixes bug 8196;
  4087. bugfix on 0.2.4.8-alpha.
  4088. - Fix a path state issue that triggered a notice during relay startup.
  4089. Fixes bug 8320; bugfix on 0.2.4.10-alpha.
  4090. - Reduce occurrences of warns about circuit purpose in
  4091. connection_ap_expire_building(). Fixes bug 8477; bugfix on
  4092. 0.2.4.11-alpha.
  4093. o Minor bugfixes (pre-0.2.4.x log messages that were too noisy):
  4094. - If we encounter a write failure on a SOCKS connection before we
  4095. finish our SOCKS handshake, don't warn that we closed the
  4096. connection before we could send a SOCKS reply. Fixes bug 8427;
  4097. bugfix on 0.1.0.1-rc.
  4098. - Correctly recognize that [::1] is a loopback address. Fixes
  4099. bug 8377; bugfix on 0.2.1.3-alpha.
  4100. - Fix a directory authority warn caused when we have a large amount
  4101. of badexit bandwidth. Fixes bug 8419; bugfix on 0.2.2.10-alpha.
  4102. - Don't log inappropriate heartbeat messages when hibernating: a
  4103. hibernating node is _expected_ to drop out of the consensus,
  4104. decide it isn't bootstrapped, and so forth. Fixes bug 7302;
  4105. bugfix on 0.2.3.1-alpha.
  4106. - Don't complain about bootstrapping problems while hibernating.
  4107. These complaints reflect a general code problem, but not one
  4108. with any problematic effects (no connections are actually
  4109. opened). Fixes part of bug 7302; bugfix on 0.2.3.2-alpha.
  4110. o Documentation fixes:
  4111. - Update tor-fw-helper.1.txt and tor-fw-helper.c to make option
  4112. names match. Fixes bug 7768.
  4113. - Make the torify manpage no longer refer to tsocks; torify hasn't
  4114. supported tsocks since 0.2.3.14-alpha.
  4115. - Make the tor manpage no longer reference tsocks.
  4116. - Fix the GeoIPExcludeUnknown documentation to refer to
  4117. ExcludeExitNodes rather than the currently nonexistent
  4118. ExcludeEntryNodes. Spotted by "hamahangi" on tor-talk.
  4119. o Removed files:
  4120. - The tor-tsocks.conf is no longer distributed or installed. We
  4121. recommend that tsocks users use torsocks instead. Resolves
  4122. ticket 8290.
  4123. Changes in version 0.2.4.11-alpha - 2013-03-11
  4124. Tor 0.2.4.11-alpha makes relay measurement by directory authorities
  4125. more robust, makes hidden service authentication work again, and
  4126. resolves a DPI fingerprint for Tor's SSL transport.
  4127. o Major features (directory authorities):
  4128. - Directory authorities now support a new consensus method (17)
  4129. where they cap the published bandwidth of servers for which
  4130. insufficient bandwidth measurements exist. Fixes part of bug 2286.
  4131. - Directory authorities that set "DisableV2DirectoryInfo_ 1" no longer
  4132. serve any v2 directory information. Now we can test disabling the
  4133. old deprecated v2 directory format, and see whether doing so has
  4134. any effect on network load. Begins to fix bug 6783.
  4135. - Directory authorities now include inside each vote a statement of
  4136. the performance thresholds they used when assigning flags.
  4137. Implements ticket 8151.
  4138. o Major bugfixes (directory authorities):
  4139. - Stop marking every relay as having been down for one hour every
  4140. time we restart a directory authority. These artificial downtimes
  4141. were messing with our Stable and Guard flag calculations. Fixes
  4142. bug 8218 (introduced by the fix for 1035). Bugfix on 0.2.2.23-alpha.
  4143. o Major bugfixes (hidden services):
  4144. - Allow hidden service authentication to succeed again. When we
  4145. refactored the hidden service introduction code back
  4146. in 0.2.4.1-alpha, we didn't update the code that checks
  4147. whether authentication information is present, causing all
  4148. authentication checks to return "false". Fix for bug 8207; bugfix
  4149. on 0.2.4.1-alpha. Found by Coverity; this is CID 718615.
  4150. o Minor features (relays, bridges):
  4151. - Make bridge relays check once a minute for whether their IP
  4152. address has changed, rather than only every 15 minutes. Resolves
  4153. bugs 1913 and 1992.
  4154. - Refactor resolve_my_address() so it returns the method by which we
  4155. decided our public IP address (explicitly configured, resolved from
  4156. explicit hostname, guessed from interfaces, learned by gethostname).
  4157. Now we can provide more helpful log messages when a relay guesses
  4158. its IP address incorrectly (e.g. due to unexpected lines in
  4159. /etc/hosts). Resolves ticket 2267.
  4160. - Teach bridge-using clients to avoid 0.2.2 bridges when making
  4161. microdescriptor-related dir requests, and only fall back to normal
  4162. descriptors if none of their bridges can handle microdescriptors
  4163. (as opposed to the fix in ticket 4013, which caused them to fall
  4164. back to normal descriptors if *any* of their bridges preferred
  4165. them). Resolves ticket 4994.
  4166. - Randomize the lifetime of our SSL link certificate, so censors can't
  4167. use the static value for filtering Tor flows. Resolves ticket 8443;
  4168. related to ticket 4014 which was included in 0.2.2.33.
  4169. - Support a new version of the link protocol that allows 4-byte circuit
  4170. IDs. Previously, circuit IDs were limited to 2 bytes, which presented
  4171. a possible resource exhaustion issue. Closes ticket 7351; implements
  4172. proposal 214.
  4173. o Minor features (portability):
  4174. - Tweak the curve25519-donna*.c implementations to tolerate systems
  4175. that lack stdint.h. Fixes bug 3894; bugfix on 0.2.4.8-alpha.
  4176. - Use Ville Laurikari's implementation of AX_CHECK_SIGN() to determine
  4177. the signs of types during autoconf. This is better than our old
  4178. approach, which didn't work when cross-compiling.
  4179. - Detect the sign of enum values, rather than assuming that MSC is the
  4180. only compiler where enum types are all signed. Fixes bug 7727;
  4181. bugfix on 0.2.4.10-alpha.
  4182. o Minor features (other):
  4183. - Say "KBytes" rather than "KB" in the man page (for various values
  4184. of K), to further reduce confusion about whether Tor counts in
  4185. units of memory or fractions of units of memory. Resolves ticket 7054.
  4186. - Clear the high bit on curve25519 public keys before passing them to
  4187. our backend, in case we ever wind up using a backend that doesn't do
  4188. so itself. If we used such a backend, and *didn't* clear the high bit,
  4189. we could wind up in a situation where users with such backends would
  4190. be distinguishable from users without. Fixes bug 8121; bugfix on
  4191. 0.2.4.8-alpha.
  4192. - Update to the March 6 2013 Maxmind GeoLite Country database.
  4193. o Minor bugfixes (clients):
  4194. - When we receive a RELAY_END cell with the reason DONE, or with no
  4195. reason, before receiving a RELAY_CONNECTED cell, report the SOCKS
  4196. status as "connection refused". Previously we reported these cases
  4197. as success but then immediately closed the connection. Fixes bug
  4198. 7902; bugfix on 0.1.0.1-rc. Reported by "oftc_must_be_destroyed".
  4199. - Downgrade an assertion in connection_ap_expire_beginning to an
  4200. LD_BUG message. The fix for bug 8024 should prevent this message
  4201. from displaying, but just in case, a warn that we can diagnose
  4202. is better than more assert crashes. Fixes bug 8065; bugfix on
  4203. 0.2.4.8-alpha.
  4204. - Lower path use bias thresholds to .80 for notice and .60 for warn.
  4205. Also make the rate limiting flags for the path use bias log messages
  4206. independent from the original path bias flags. Fixes bug 8161;
  4207. bugfix on 0.2.4.10-alpha.
  4208. o Minor bugfixes (relays):
  4209. - Stop trying to resolve our hostname so often (e.g. every time we
  4210. think about doing a directory fetch). Now we reuse the cached
  4211. answer in some cases. Fixes bugs 1992 (bugfix on 0.2.0.20-rc)
  4212. and 2410 (bugfix on 0.1.2.2-alpha).
  4213. - Stop sending a stray "(null)" in some cases for the server status
  4214. "EXTERNAL_ADDRESS" controller event. Resolves bug 8200; bugfix
  4215. on 0.1.2.6-alpha.
  4216. - When choosing which stream on a formerly stalled circuit to wake
  4217. first, make better use of the platform's weak RNG. Previously,
  4218. we had been using the % ("modulo") operator to try to generate a
  4219. 1/N chance of picking each stream, but this behaves badly with
  4220. many platforms' choice of weak RNG. Fixes bug 7801; bugfix on
  4221. 0.2.2.20-alpha.
  4222. - Use our own weak RNG when we need a weak RNG. Windows's rand() and
  4223. Irix's random() only return 15 bits; Solaris's random() returns more
  4224. bits but its RAND_MAX says it only returns 15, and so on. Motivated
  4225. by the fix for bug 7801; bugfix on 0.2.2.20-alpha.
  4226. o Minor bugfixes (directory authorities):
  4227. - Directory authorities now use less space when formatting identical
  4228. microdescriptor lines in directory votes. Fixes bug 8158; bugfix
  4229. on 0.2.4.1-alpha.
  4230. o Minor bugfixes (memory leaks spotted by Coverity -- bug 7816):
  4231. - Avoid leaking memory if we fail to compute a consensus signature
  4232. or we generate a consensus we can't parse. Bugfix on 0.2.0.5-alpha.
  4233. - Fix a memory leak when receiving headers from an HTTPS proxy. Bugfix
  4234. on 0.2.1.1-alpha.
  4235. - Fix a memory leak during safe-cookie controller authentication.
  4236. Bugfix on 0.2.3.13-alpha.
  4237. - Avoid memory leak of IPv6 policy content if we fail to format it into
  4238. a router descriptor. Bugfix on 0.2.4.7-alpha.
  4239. o Minor bugfixes (other code correctness issues):
  4240. - Avoid a crash if we fail to generate an extrainfo descriptor.
  4241. Fixes bug 8208; bugfix on 0.2.3.16-alpha. Found by Coverity;
  4242. this is CID 718634.
  4243. - When detecting the largest possible file descriptor (in order to
  4244. close all file descriptors when launching a new program), actually
  4245. use _SC_OPEN_MAX. The old code for doing this was very, very broken.
  4246. Fixes bug 8209; bugfix on 0.2.3.1-alpha. Found by Coverity; this
  4247. is CID 743383.
  4248. - Fix a copy-and-paste error when adding a missing A1 to a routerset
  4249. because of GeoIPExcludeUnknown. Fix for Coverity CID 980650.
  4250. Bugfix on 0.2.4.10-alpha.
  4251. - Fix an impossible-to-trigger integer overflow when estimating how
  4252. long our onionskin queue would take. (This overflow would require us
  4253. to accept 4 million onionskins before processing 100 of them.) Fixes
  4254. bug 8210; bugfix on 0.2.4.10-alpha.
  4255. o Code simplification and refactoring:
  4256. - Add a wrapper function for the common "log a message with a
  4257. rate-limit" case.
  4258. Changes in version 0.2.4.10-alpha - 2013-02-04
  4259. Tor 0.2.4.10-alpha adds defenses at the directory authority level from
  4260. certain attacks that flood the network with relays; changes the queue
  4261. for circuit create requests from a sized-based limit to a time-based
  4262. limit; resumes building with MSVC on Windows; and fixes a wide variety
  4263. of other issues.
  4264. o Major bugfixes (directory authority):
  4265. - When computing directory thresholds, ignore any rejected-as-sybil
  4266. nodes during the computation so that they can't influence Fast,
  4267. Guard, etc. (We should have done this for proposal 109.) Fixes
  4268. bug 8146.
  4269. - When marking a node as a likely sybil, reset its uptime metrics
  4270. to zero, so that it cannot time towards getting marked as Guard,
  4271. Stable, or HSDir. (We should have done this for proposal 109.) Fixes
  4272. bug 8147.
  4273. o Major bugfixes:
  4274. - When a TLS write is partially successful but incomplete, remember
  4275. that the flushed part has been flushed, and notice that bytes were
  4276. actually written. Reported and fixed pseudonymously. Fixes bug
  4277. 7708; bugfix on Tor 0.1.0.5-rc.
  4278. - Reject bogus create and relay cells with 0 circuit ID or 0 stream
  4279. ID: these could be used to create unexpected streams and circuits
  4280. which would count as "present" to some parts of Tor but "absent"
  4281. to others, leading to zombie circuits and streams or to a bandwidth
  4282. denial-of-service. Fixes bug 7889; bugfix on every released version
  4283. of Tor. Reported by "oftc_must_be_destroyed".
  4284. - Rename all macros in our local copy of queue.h to begin with "TOR_".
  4285. This change seems the only good way to permanently prevent conflicts
  4286. with queue.h on various operating systems. Fixes bug 8107; bugfix
  4287. on 0.2.4.6-alpha.
  4288. o Major features (relay):
  4289. - Instead of limiting the number of queued onionskins (aka circuit
  4290. create requests) to a fixed, hard-to-configure number, we limit
  4291. the size of the queue based on how many we expect to be able to
  4292. process in a given amount of time. We estimate the time it will
  4293. take to process an onionskin based on average processing time
  4294. of previous onionskins. Closes ticket 7291. You'll never have to
  4295. configure MaxOnionsPending again.
  4296. o Major features (portability):
  4297. - Resume building correctly with MSVC and Makefile.nmake. This patch
  4298. resolves numerous bugs and fixes reported by ultramage, including
  4299. 7305, 7308, 7309, 7310, 7312, 7313, 7315, 7316, and 7669.
  4300. - Make the ntor and curve25519 code build correctly with MSVC.
  4301. Fix on 0.2.4.8-alpha.
  4302. o Minor features:
  4303. - When directory authorities are computing thresholds for flags,
  4304. never let the threshold for the Fast flag fall below 4096
  4305. bytes. Also, do not consider nodes with extremely low bandwidths
  4306. when deciding thresholds for various directory flags. This change
  4307. should raise our threshold for Fast relays, possibly in turn
  4308. improving overall network performance; see ticket 1854. Resolves
  4309. ticket 8145.
  4310. - The Tor client now ignores sub-domain components of a .onion
  4311. address. This change makes HTTP "virtual" hosting
  4312. possible: http://foo.aaaaaaaaaaaaaaaa.onion/ and
  4313. http://bar.aaaaaaaaaaaaaaaa.onion/ can be two different websites
  4314. hosted on the same hidden service. Implements proposal 204.
  4315. - We compute the overhead from passing onionskins back and forth to
  4316. cpuworkers, and report it when dumping statistics in response to
  4317. SIGUSR1. Supports ticket 7291.
  4318. o Minor features (path selection):
  4319. - When deciding whether we have enough descriptors to build circuits,
  4320. instead of looking at raw relay counts, look at which fraction
  4321. of (bandwidth-weighted) paths we're able to build. This approach
  4322. keeps clients from building circuits if their paths are likely to
  4323. stand out statistically. The default fraction of paths needed is
  4324. taken from the consensus directory; you can override it with the
  4325. new PathsNeededToBuildCircuits option. Fixes ticket 5956.
  4326. - When any country code is listed in ExcludeNodes or ExcludeExitNodes,
  4327. and we have GeoIP information, also exclude all nodes with unknown
  4328. countries "??" and "A1". This behavior is controlled by the
  4329. new GeoIPExcludeUnknown option: you can make such nodes always
  4330. excluded with "GeoIPExcludeUnknown 1", and disable the feature
  4331. with "GeoIPExcludeUnknown 0". Setting "GeoIPExcludeUnknown auto"
  4332. gets you the default behavior. Implements feature 7706.
  4333. - Path Use Bias: Perform separate accounting for successful circuit
  4334. use. Keep separate statistics on stream attempt rates versus stream
  4335. success rates for each guard. Provide configurable thresholds to
  4336. determine when to emit log messages or disable use of guards that
  4337. fail too many stream attempts. Resolves ticket 7802.
  4338. o Minor features (log messages):
  4339. - When learning a fingerprint for a bridge, log its corresponding
  4340. transport type. Implements ticket 7896.
  4341. - Improve the log message when "Bug/attack: unexpected sendme cell
  4342. from client" occurs, to help us track bug 8093.
  4343. o Minor bugfixes:
  4344. - Remove a couple of extraneous semicolons that were upsetting the
  4345. cparser library. Patch by Christian Grothoff. Fixes bug 7115;
  4346. bugfix on 0.2.2.1-alpha.
  4347. - Remove a source of rounding error during path bias count scaling;
  4348. don't count cannibalized circuits as used for path bias until we
  4349. actually try to use them; and fix a circuit_package_relay_cell()
  4350. warning message about n_chan==NULL. Fixes bug 7802.
  4351. - Detect nacl when its headers are in a nacl/ subdirectory. Also,
  4352. actually link against nacl when we're configured to use it. Fixes
  4353. bug 7972; bugfix on 0.2.4.8-alpha.
  4354. - Compile correctly with the --disable-curve25519 option. Fixes
  4355. bug 8153; bugfix on 0.2.4.8-alpha.
  4356. o Build improvements:
  4357. - Do not report status verbosely from autogen.sh unless the -v flag
  4358. is specified. Fixes issue 4664. Patch from Onizuka.
  4359. - Replace all calls to snprintf() outside of src/ext with
  4360. tor_snprintf(). Also remove the #define to replace snprintf with
  4361. _snprintf on Windows; they have different semantics, and all of
  4362. our callers should be using tor_snprintf() anyway. Fixes bug 7304.
  4363. - Try to detect if we are ever building on a platform where
  4364. memset(...,0,...) does not set the value of a double to 0.0. Such
  4365. platforms are permitted by the C standard, though in practice
  4366. they're pretty rare (since IEEE 754 is nigh-ubiquitous). We don't
  4367. currently support them, but it's better to detect them and fail
  4368. than to perform erroneously.
  4369. o Removed features:
  4370. - Stop exporting estimates of v2 and v3 directory traffic shares
  4371. in extrainfo documents. They were unneeded and sometimes inaccurate.
  4372. Also stop exporting any v2 directory request statistics. Resolves
  4373. ticket 5823.
  4374. - Drop support for detecting and warning about versions of Libevent
  4375. before 1.3e. Nothing reasonable ships with them any longer;
  4376. warning the user about them shouldn't be needed. Resolves ticket
  4377. 6826.
  4378. o Code simplifications and refactoring:
  4379. - Rename "isin" functions to "contains", for grammar. Resolves
  4380. ticket 5285.
  4381. - Rename Tor's logging function log() to tor_log(), to avoid conflicts
  4382. with the natural logarithm function from the system libm. Resolves
  4383. ticket 7599.
  4384. Changes in version 0.2.4.9-alpha - 2013-01-15
  4385. Tor 0.2.4.9-alpha provides a quick fix to make the new ntor handshake
  4386. work more robustly.
  4387. o Major bugfixes:
  4388. - Fix backward compatibility logic when receiving an embedded ntor
  4389. handshake tunneled in a CREATE cell. This clears up the "Bug:
  4390. couldn't format CREATED cell" warning. Fixes bug 7959; bugfix
  4391. on 0.2.4.8-alpha.
  4392. Changes in version 0.2.4.8-alpha - 2013-01-14
  4393. Tor 0.2.4.8-alpha introduces directory guards to reduce user enumeration
  4394. risks, adds a new stronger and faster circuit handshake, and offers
  4395. stronger and faster link encryption when both sides support it.
  4396. o Major features:
  4397. - Preliminary support for directory guards (proposal 207): when
  4398. possible, clients now use their entry guards for non-anonymous
  4399. directory requests. This can help prevent client enumeration. Note
  4400. that this behavior only works when we have a usable consensus
  4401. directory, and when options about what to download are more or less
  4402. standard. In the future we should re-bootstrap from our guards,
  4403. rather than re-bootstrapping from the preconfigured list of
  4404. directory sources that ships with Tor. Resolves ticket 6526.
  4405. - Tor relays and clients now support a better CREATE/EXTEND cell
  4406. format, allowing the sender to specify multiple address, identity,
  4407. and handshake types. Implements Robert Ransom's proposal 200;
  4408. closes ticket 7199.
  4409. o Major features (new circuit handshake):
  4410. - Tor now supports a new circuit extension handshake designed by Ian
  4411. Goldberg, Douglas Stebila, and Berkant Ustaoglu. Our original
  4412. circuit extension handshake, later called "TAP", was a bit slow
  4413. (especially on the relay side), had a fragile security proof, and
  4414. used weaker keys than we'd now prefer. The new circuit handshake
  4415. uses Dan Bernstein's "curve25519" elliptic-curve Diffie-Hellman
  4416. function, making it significantly more secure than the older
  4417. handshake, and significantly faster. Tor can use one of two built-in
  4418. pure-C curve25519-donna implementations by Adam Langley, or it
  4419. can link against the "nacl" library for a tuned version if present.
  4420. The built-in version is very fast for 64-bit systems when building
  4421. with GCC. The built-in 32-bit version is still faster than the
  4422. old TAP protocol, but using libnacl is better on most such hosts.
  4423. Clients don't currently use this protocol by default, since
  4424. comparatively few clients support it so far. To try it, set
  4425. UseNTorHandshake to 1.
  4426. Implements proposal 216; closes ticket 7202.
  4427. o Major features (better link encryption):
  4428. - Relays can now enable the ECDHE TLS ciphersuites when available
  4429. and appropriate. These ciphersuites let us negotiate forward-secure
  4430. TLS secret keys more safely and more efficiently than with our
  4431. previous use of Diffie-Hellman modulo a 1024-bit prime. By default,
  4432. public relays prefer the (faster) P224 group, and bridges prefer
  4433. the (more common) P256 group; you can override this with the
  4434. TLSECGroup option.
  4435. Enabling these ciphers was a little tricky, since for a long time,
  4436. clients had been claiming to support them without actually doing
  4437. so, in order to foil fingerprinting. But with the client-side
  4438. implementation of proposal 198 in 0.2.3.17-beta, clients can now
  4439. match the ciphers from recent Firefox versions *and* list the
  4440. ciphers they actually mean, so relays can believe such clients
  4441. when they advertise ECDHE support in their TLS ClientHello messages.
  4442. This feature requires clients running 0.2.3.17-beta or later,
  4443. and requires both sides to be running OpenSSL 1.0.0 or later
  4444. with ECC support. OpenSSL 1.0.1, with the compile-time option
  4445. "enable-ec_nistp_64_gcc_128", is highly recommended.
  4446. Implements the relay side of proposal 198; closes ticket 7200.
  4447. o Major bugfixes:
  4448. - Avoid crashing when, as a relay without IPv6-exit support, a
  4449. client insists on getting an IPv6 address or nothing. Fixes bug
  4450. 7814; bugfix on 0.2.4.7-alpha.
  4451. o Minor features:
  4452. - Improve circuit build timeout handling for hidden services.
  4453. In particular: adjust build timeouts more accurately depending
  4454. upon the number of hop-RTTs that a particular circuit type
  4455. undergoes. Additionally, launch intro circuits in parallel
  4456. if they timeout, and take the first one to reply as valid.
  4457. - Work correctly on Unix systems where EAGAIN and EWOULDBLOCK are
  4458. separate error codes; or at least, don't break for that reason.
  4459. Fixes bug 7935. Reported by "oftc_must_be_destroyed".
  4460. - Update to the January 2 2013 Maxmind GeoLite Country database.
  4461. o Minor features (testing):
  4462. - Add benchmarks for DH (1024-bit multiplicative group) and ECDH
  4463. (P-256) Diffie-Hellman handshakes to src/or/bench.
  4464. - Add benchmark functions to test onion handshake performance.
  4465. o Minor features (path bias detection):
  4466. - Alter the Path Bias log messages to be more descriptive in terms
  4467. of reporting timeouts and other statistics.
  4468. - Create three levels of Path Bias log messages, as opposed to just
  4469. two. These are configurable via consensus as well as via the torrc
  4470. options PathBiasNoticeRate, PathBiasWarnRate, PathBiasExtremeRate.
  4471. The default values are 0.70, 0.50, and 0.30 respectively.
  4472. - Separate the log message levels from the decision to drop guards,
  4473. which also is available via torrc option PathBiasDropGuards.
  4474. PathBiasDropGuards still defaults to 0 (off).
  4475. - Deprecate PathBiasDisableRate in favor of PathBiasDropGuards
  4476. in combination with PathBiasExtremeRate.
  4477. - Increase the default values for PathBiasScaleThreshold and
  4478. PathBiasCircThreshold from (200, 20) to (300, 150).
  4479. - Add in circuit usage accounting to path bias. If we try to use a
  4480. built circuit but fail for any reason, it counts as path bias.
  4481. Certain classes of circuits where the adversary gets to pick your
  4482. destination node are exempt from this accounting. Usage accounting
  4483. can be specifically disabled via consensus parameter or torrc.
  4484. - Convert all internal path bias state to double-precision floating
  4485. point, to avoid roundoff error and other issues.
  4486. - Only record path bias information for circuits that have completed
  4487. *two* hops. Assuming end-to-end tagging is the attack vector, this
  4488. makes us more resilient to ambient circuit failure without any
  4489. detection capability loss.
  4490. o Minor bugfixes (log messages):
  4491. - Rate-limit the "No circuits are opened. Relaxed timeout for a
  4492. circuit with channel state open..." message to once per hour to
  4493. keep it from filling the notice logs. Mitigates bug 7799 but does
  4494. not fix the underlying cause. Bugfix on 0.2.4.7-alpha.
  4495. - Avoid spurious warnings when configuring multiple client ports of
  4496. which only some are nonlocal. Previously, we had claimed that some
  4497. were nonlocal when in fact they weren't. Fixes bug 7836; bugfix on
  4498. 0.2.3.3-alpha.
  4499. o Code simplifications and refactoring:
  4500. - Get rid of a couple of harmless clang warnings, where we compared
  4501. enums to ints. These warnings are newly introduced in clang 3.2.
  4502. - Split the onion.c file into separate modules for the onion queue
  4503. and the different handshakes it supports.
  4504. - Remove the marshalling/unmarshalling code for sending requests to
  4505. cpuworkers over a socket, and instead just send structs. The
  4506. recipient will always be the same Tor binary as the sender, so
  4507. any encoding is overkill.
  4508. Changes in version 0.2.4.7-alpha - 2012-12-24
  4509. Tor 0.2.4.7-alpha introduces a new approach to providing fallback
  4510. directory mirrors for more robust bootstrapping; fixes more issues where
  4511. clients with changing network conditions refuse to make any circuits;
  4512. adds initial support for exiting to IPv6 addresses; resumes being able
  4513. to update our GeoIP database, and includes the geoip6 file this time;
  4514. turns off the client-side DNS cache by default due to privacy risks;
  4515. and fixes a variety of other issues.
  4516. o Major features (client resilience):
  4517. - Add a new "FallbackDir" torrc option to use when we can't use
  4518. a directory mirror from the consensus (either because we lack a
  4519. consensus, or because they're all down). Currently, all authorities
  4520. are fallbacks by default, and there are no other default fallbacks,
  4521. but that will change. This option will allow us to give clients a
  4522. longer list of servers to try to get a consensus from when first
  4523. connecting to the Tor network, and thereby reduce load on the
  4524. directory authorities. Implements proposal 206, "Preconfigured
  4525. directory sources for bootstrapping". We also removed the old
  4526. "FallbackNetworkstatus" option, since we never got it working well
  4527. enough to use it. Closes bug 572.
  4528. - If we have no circuits open, use a relaxed timeout (the
  4529. 95-percentile cutoff) until a circuit succeeds. This heuristic
  4530. should allow Tor to succeed at building circuits even when the
  4531. network connection drastically changes. Should help with bug 3443.
  4532. o Major features (IPv6):
  4533. - Relays can now exit to IPv6 addresses: make sure that you have IPv6
  4534. connectivity, then set the IPv6Exit flag to 1. Also make sure your
  4535. exit policy reads as you would like: the address * applies to all
  4536. address families, whereas *4 is IPv4 address only, and *6 is IPv6
  4537. addresses only. On the client side, you'll need to wait until the
  4538. authorities have upgraded, wait for enough exits to support IPv6,
  4539. apply the "IPv6Traffic" flag to a SocksPort, and use Socks5. Closes
  4540. ticket 5547, implements proposal 117 as revised in proposal 208.
  4541. We DO NOT recommend that clients with actual anonymity needs start
  4542. using IPv6 over Tor yet, since not enough exits support it yet.
  4543. o Major features (geoip database):
  4544. - Maxmind began labelling Tor relays as being in country "A1",
  4545. which breaks by-country node selection inside Tor. Now we use a
  4546. script to replace "A1" ("Anonymous Proxy") entries in our geoip
  4547. file with real country codes. This script fixes about 90% of "A1"
  4548. entries automatically and uses manual country code assignments to
  4549. fix the remaining 10%. See src/config/README.geoip for details.
  4550. Fixes bug 6266. Also update to the December 5 2012 Maxmind GeoLite
  4551. Country database, as modified above.
  4552. o Major bugfixes (client-side DNS):
  4553. - Turn off the client-side DNS cache by default. Updating and using
  4554. the DNS cache is now configurable on a per-client-port
  4555. level. SOCKSPort, DNSPort, etc lines may now contain
  4556. {No,}Cache{IPv4,IPv6,}DNS lines to indicate that we shouldn't
  4557. cache these types of DNS answers when we receive them from an
  4558. exit node in response to an application request on this port, and
  4559. {No,}UseCached{IPv4,IPv6,DNS} lines to indicate that if we have
  4560. cached DNS answers of these types, we shouldn't use them. It's
  4561. potentially risky to use cached DNS answers at the client, since
  4562. doing so can indicate to one exit what answers we've gotten
  4563. for DNS lookups in the past. With IPv6, this becomes especially
  4564. problematic. Using cached DNS answers for requests on the same
  4565. circuit would present less linkability risk, since all traffic
  4566. on a circuit is already linkable, but it would also provide
  4567. little performance benefit: the exit node caches DNS replies
  4568. too. Implements a simplified version of Proposal 205. Implements
  4569. ticket 7570.
  4570. o Major bugfixes (other):
  4571. - Alter circuit build timeout measurement to start at the point
  4572. where we begin the CREATE/CREATE_FAST step (as opposed to circuit
  4573. initialization). This should make our timeout measurements more
  4574. uniform. Previously, we were sometimes including ORconn setup time
  4575. in our circuit build time measurements. Should resolve bug 3443.
  4576. - Fix an assertion that could trigger in hibernate_go_dormant() when
  4577. closing an or_connection_t: call channel_mark_for_close() rather
  4578. than connection_mark_for_close(). Fixes bug 7267. Bugfix on
  4579. 0.2.4.4-alpha.
  4580. - Include the geoip6 IPv6 GeoIP database in the tarball. Fixes bug
  4581. 7655; bugfix on 0.2.4.6-alpha.
  4582. o Minor features:
  4583. - Add a new torrc option "ServerTransportListenAddr" to let bridge
  4584. operators select the address where their pluggable transports will
  4585. listen for connections. Resolves ticket 7013.
  4586. - Allow an optional $ before the node identity digest in the
  4587. controller command GETINFO ns/id/<identity>, for consistency with
  4588. md/id/<identity> and desc/id/<identity>. Resolves ticket 7059.
  4589. - Log packaged cell fullness as part of the heartbeat message.
  4590. Diagnosis to try to determine the extent of bug 7743.
  4591. o Minor features (IPv6):
  4592. - AutomapHostsOnResolve now supports IPv6 addresses. By default, we
  4593. prefer to hand out virtual IPv6 addresses, since there are more of
  4594. them and we can't run out. To override this behavior and make IPv4
  4595. addresses preferred, set NoPreferIPv6Automap on whatever SOCKSPort
  4596. or DNSPort you're using for resolving. Implements ticket 7571.
  4597. - AutomapHostsOnResolve responses are now randomized, to avoid
  4598. annoying situations where Tor is restarted and applications
  4599. connect to the wrong addresses.
  4600. - Never try more than 1000 times to pick a new virtual address when
  4601. AutomapHostsOnResolve is set. That's good enough so long as we
  4602. aren't close to handing out our entire virtual address space;
  4603. if you're getting there, it's best to switch to IPv6 virtual
  4604. addresses anyway.
  4605. o Minor bugfixes:
  4606. - The ADDRMAP command can no longer generate an ill-formed error
  4607. code on a failed MAPADDRESS. It now says "internal" rather than
  4608. an English sentence fragment with spaces in the middle. Bugfix on
  4609. Tor 0.2.0.19-alpha.
  4610. - Fix log messages and comments to avoid saying "GMT" when we mean
  4611. "UTC". Fixes bug 6113.
  4612. - Compile on win64 using mingw64. Fixes bug 7260; patches from
  4613. "yayooo".
  4614. - Fix a crash when debugging unit tests on Windows: deallocate a
  4615. shared library with FreeLibrary, not CloseHandle. Fixes bug 7306;
  4616. bugfix on 0.2.2.17-alpha. Reported by "ultramage".
  4617. o Renamed options:
  4618. - The DirServer option is now DirAuthority, for consistency with
  4619. current naming patterns. You can still use the old DirServer form.
  4620. o Code simplification and refactoring:
  4621. - Move the client-side address-map/virtual-address/DNS-cache code
  4622. out of connection_edge.c into a new addressmap.c module.
  4623. - Remove unused code for parsing v1 directories and "running routers"
  4624. documents. Fixes bug 6887.
  4625. Changes in version 0.2.3.25 - 2012-11-19
  4626. The Tor 0.2.3 release series is dedicated to the memory of Len "rabbi"
  4627. Sassaman (1980-2011), a long-time cypherpunk, anonymity researcher,
  4628. Mixmaster maintainer, Pynchon Gate co-designer, CodeCon organizer,
  4629. programmer, and friend. Unstinting in his dedication to the cause of
  4630. freedom, he inspired and helped many of us as we began our work on
  4631. anonymity, and inspires us still. Please honor his memory by writing
  4632. software to protect people's freedoms, and by helping others to do so.
  4633. Tor 0.2.3.25, the first stable release in the 0.2.3 branch, features
  4634. significantly reduced directory overhead (via microdescriptors),
  4635. enormous crypto performance improvements for fast relays on new
  4636. enough hardware, a new v3 TLS handshake protocol that can better
  4637. resist fingerprinting, support for protocol obfuscation plugins (aka
  4638. pluggable transports), better scalability for hidden services, IPv6
  4639. support for bridges, performance improvements like allowing clients
  4640. to skip the first round-trip on the circuit ("optimistic data") and
  4641. refilling token buckets more often, a new "stream isolation" design
  4642. to isolate different applications on different circuits, and many
  4643. stability, security, and privacy fixes.
  4644. o Major bugfixes:
  4645. - Tor tries to wipe potentially sensitive data after using it, so
  4646. that if some subsequent security failure exposes Tor's memory,
  4647. the damage will be limited. But we had a bug where the compiler
  4648. was eliminating these wipe operations when it decided that the
  4649. memory was no longer visible to a (correctly running) program,
  4650. hence defeating our attempt at defense in depth. We fix that
  4651. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  4652. is unlikely to optimize away. Future versions of Tor may use
  4653. a less ridiculously heavy approach for this. Fixes bug 7352.
  4654. Reported in an article by Andrey Karpov.
  4655. o Minor bugfixes:
  4656. - Fix a harmless bug when opting against publishing a relay descriptor
  4657. because DisableNetwork is set. Fixes bug 7464; bugfix on
  4658. 0.2.3.9-alpha.
  4659. Changes in version 0.2.4.6-alpha - 2012-11-13
  4660. Tor 0.2.4.6-alpha fixes an assert bug that has been plaguing relays,
  4661. makes our defense-in-depth memory wiping more reliable, and begins to
  4662. count IPv6 addresses in bridge statistics,
  4663. o Major bugfixes:
  4664. - Fix an assertion failure that could occur when closing a connection
  4665. with a spliced rendezvous circuit. Fix for bug 7212; bugfix on
  4666. Tor 0.2.4.4-alpha.
  4667. - Tor tries to wipe potentially sensitive data after using it, so
  4668. that if some subsequent security failure exposes Tor's memory,
  4669. the damage will be limited. But we had a bug where the compiler
  4670. was eliminating these wipe operations when it decided that the
  4671. memory was no longer visible to a (correctly running) program,
  4672. hence defeating our attempt at defense in depth. We fix that
  4673. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  4674. is unlikely to optimize away. Future versions of Tor may use
  4675. a less ridiculously heavy approach for this. Fixes bug 7352.
  4676. Reported in an article by Andrey Karpov.
  4677. o Minor features:
  4678. - Add GeoIP database for IPv6 addresses. The new config option
  4679. is GeoIPv6File.
  4680. - Bridge statistics now count bridge clients connecting over IPv6:
  4681. bridge statistics files now list "bridge-ip-versions" and
  4682. extra-info documents list "geoip6-db-digest". The control protocol
  4683. "CLIENTS_SEEN" and "ip-to-country" queries now support IPv6. Initial
  4684. implementation by "shkoo", addressing ticket 5055.
  4685. o Minor bugfixes:
  4686. - Warn when we are binding low ports when hibernation is enabled;
  4687. previously we had warned when we were _advertising_ low ports with
  4688. hibernation enabled. Fixes bug 7285; bugfix on 0.2.3.9-alpha.
  4689. - Fix a harmless bug when opting against publishing a relay descriptor
  4690. because DisableNetwork is set. Fixes bug 7464; bugfix on
  4691. 0.2.3.9-alpha.
  4692. - Add warning message when a managed proxy dies during configuration.
  4693. Fixes bug 7195; bugfix on 0.2.4.2-alpha.
  4694. - Fix a linking error when building tor-fw-helper without miniupnp.
  4695. Fixes bug 7235; bugfix on 0.2.4.2-alpha. Fix by Anthony G. Basile.
  4696. - Check for closing an or_connection_t without going through correct
  4697. channel functions; emit a warning and then call
  4698. connection_or_close_for_error() so we don't assert as in bugs 7212
  4699. and 7267.
  4700. - Compile correctly on compilers without C99 designated initializer
  4701. support. Fixes bug 7286; bugfix on 0.2.4.4-alpha.
  4702. - Avoid a possible assert that can occur when channel_send_destroy() is
  4703. called on a channel in CHANNEL_STATE_CLOSING, CHANNEL_STATE_CLOSED,
  4704. or CHANNEL_STATE_ERROR when the Tor process is resumed after being
  4705. blocked for a long interval. Fixes bug 7350; bugfix on 0.2.4.4-alpha.
  4706. - Fix a memory leak on failing cases of channel_tls_process_certs_cell.
  4707. Fixes bug 7422; bugfix on 0.2.4.4-alpha.
  4708. o Code simplification and refactoring:
  4709. - Start using OpenBSD's implementation of queue.h, so that we don't
  4710. need to hand-roll our own pointer and list structures whenever we
  4711. need them. (We can't rely on a sys/queue.h, since some operating
  4712. systems don't have them, and the ones that do have them don't all
  4713. present the same extensions.)
  4714. Changes in version 0.2.4.5-alpha - 2012-10-25
  4715. Tor 0.2.4.5-alpha comes hard at the heels of 0.2.4.4-alpha, to fix
  4716. two important security vulnerabilities that could lead to remotely
  4717. triggerable relay crashes, fix a major bug that was preventing clients
  4718. from choosing suitable exit nodes, and refactor some of our code.
  4719. o Major bugfixes (security, also in 0.2.3.24-rc):
  4720. - Fix a group of remotely triggerable assertion failures related to
  4721. incorrect link protocol negotiation. Found, diagnosed, and fixed
  4722. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  4723. 0.2.3.6-alpha.
  4724. - Fix a denial of service attack by which any directory authority
  4725. could crash all the others, or by which a single v2 directory
  4726. authority could crash everybody downloading v2 directory
  4727. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  4728. o Major bugfixes (also in 0.2.3.24-rc):
  4729. - When parsing exit policy summaries from microdescriptors, we had
  4730. previously been ignoring the last character in each one, so that
  4731. "accept 80,443,8080" would be treated by clients as indicating
  4732. a node that allows access to ports 80, 443, and 808. That would
  4733. lead to clients attempting connections that could never work,
  4734. and ignoring exit nodes that would support their connections. Now
  4735. clients parse these exit policy summaries correctly. Fixes bug 7192;
  4736. bugfix on 0.2.3.1-alpha.
  4737. o Minor bugfixes (also in 0.2.3.24-rc):
  4738. - Clients now consider the ClientRejectInternalAddresses config option
  4739. when using a microdescriptor consensus stanza to decide whether
  4740. an exit relay would allow exiting to an internal address. Fixes
  4741. bug 7190; bugfix on 0.2.3.1-alpha.
  4742. o Minor bugfixes:
  4743. - Only disable TLS session ticket support when running as a TLS
  4744. server. Now clients will blend better with regular Firefox
  4745. connections. Fixes bug 7189; bugfix on Tor 0.2.3.23-rc.
  4746. o Code simplification and refactoring:
  4747. - Start using OpenBSD's implementation of queue.h (originally by
  4748. Niels Provos).
  4749. - Move the entry node code from circuitbuild.c to its own file.
  4750. - Move the circuit build timeout tracking code from circuitbuild.c
  4751. to its own file.
  4752. Changes in version 0.2.3.24-rc - 2012-10-25
  4753. Tor 0.2.3.24-rc fixes two important security vulnerabilities that
  4754. could lead to remotely triggerable relay crashes, and fixes
  4755. a major bug that was preventing clients from choosing suitable exit
  4756. nodes.
  4757. o Major bugfixes (security):
  4758. - Fix a group of remotely triggerable assertion failures related to
  4759. incorrect link protocol negotiation. Found, diagnosed, and fixed
  4760. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  4761. 0.2.3.6-alpha.
  4762. - Fix a denial of service attack by which any directory authority
  4763. could crash all the others, or by which a single v2 directory
  4764. authority could crash everybody downloading v2 directory
  4765. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  4766. o Major bugfixes:
  4767. - When parsing exit policy summaries from microdescriptors, we had
  4768. previously been ignoring the last character in each one, so that
  4769. "accept 80,443,8080" would be treated by clients as indicating
  4770. a node that allows access to ports 80, 443, and 808. That would
  4771. lead to clients attempting connections that could never work,
  4772. and ignoring exit nodes that would support their connections. Now
  4773. clients parse these exit policy summaries correctly. Fixes bug 7192;
  4774. bugfix on 0.2.3.1-alpha.
  4775. o Minor bugfixes:
  4776. - Clients now consider the ClientRejectInternalAddresses config option
  4777. when using a microdescriptor consensus stanza to decide whether
  4778. an exit relay would allow exiting to an internal address. Fixes
  4779. bug 7190; bugfix on 0.2.3.1-alpha.
  4780. Changes in version 0.2.4.4-alpha - 2012-10-20
  4781. Tor 0.2.4.4-alpha adds a new v3 directory authority, fixes a privacy
  4782. vulnerability introduced by a change in OpenSSL, fixes a remotely
  4783. triggerable assert, and adds new channel_t and circuitmux_t abstractions
  4784. that will make it easier to test new connection transport and cell
  4785. scheduling algorithms.
  4786. o New directory authorities (also in 0.2.3.23-rc):
  4787. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  4788. authority. Closes ticket 5749.
  4789. o Major bugfixes (security/privacy, also in 0.2.3.23-rc):
  4790. - Disable TLS session tickets. OpenSSL's implementation was giving
  4791. our TLS session keys the lifetime of our TLS context objects, when
  4792. perfect forward secrecy would want us to discard anything that
  4793. could decrypt a link connection as soon as the link connection
  4794. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  4795. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  4796. - Discard extraneous renegotiation attempts once the V3 link
  4797. protocol has been initiated. Failure to do so left us open to
  4798. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  4799. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  4800. o Internal abstraction features:
  4801. - Introduce new channel_t abstraction between circuits and
  4802. or_connection_t to allow for implementing alternate OR-to-OR
  4803. transports. A channel_t is an abstract object which can either be a
  4804. cell-bearing channel, which is responsible for authenticating and
  4805. handshaking with the remote OR and transmitting cells to and from
  4806. it, or a listening channel, which spawns new cell-bearing channels
  4807. at the request of remote ORs. Implements part of ticket 6465.
  4808. - Also new is the channel_tls_t subclass of channel_t, adapting it
  4809. to the existing or_connection_t code. The V2/V3 protocol handshaking
  4810. code which formerly resided in command.c has been moved below the
  4811. channel_t abstraction layer and may be found in channeltls.c now.
  4812. Implements the rest of ticket 6465.
  4813. - Introduce new circuitmux_t storing the queue of circuits for
  4814. a channel; this encapsulates and abstracts the queue logic and
  4815. circuit selection policy, and allows the latter to be overridden
  4816. easily by switching out a policy object. The existing EWMA behavior
  4817. is now implemented as a circuitmux_policy_t. Resolves ticket 6816.
  4818. o Required libraries:
  4819. - Tor now requires OpenSSL 0.9.8 or later. OpenSSL 1.0.0 or later is
  4820. strongly recommended.
  4821. o Minor features:
  4822. - Warn users who run hidden services on a Tor client with
  4823. UseEntryGuards disabled that their hidden services will be
  4824. vulnerable to http://freehaven.net/anonbib/#hs-attack06 (the
  4825. attack which motivated Tor to support entry guards in the first
  4826. place). Resolves ticket 6889.
  4827. - Tor now builds correctly on Bitrig, an OpenBSD fork. Patch from
  4828. dhill. Resolves ticket 6982.
  4829. - Option OutboundBindAddress can be specified multiple times and
  4830. accepts IPv6 addresses. Resolves ticket 6876.
  4831. o Minor bugfixes (also in 0.2.3.23-rc):
  4832. - Don't serve or accept v2 hidden service descriptors over a
  4833. relay's DirPort. It's never correct to do so, and disabling it
  4834. might make it more annoying to exploit any bugs that turn up in the
  4835. descriptor-parsing code. Fixes bug 7149.
  4836. - Fix two cases in src/or/transports.c where we were calling
  4837. fmt_addr() twice in a parameter list. Bug found by David
  4838. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  4839. - Fix memory leaks whenever we logged any message about the "path
  4840. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  4841. - When relays refuse a "create" cell because their queue of pending
  4842. create cells is too big (typically because their cpu can't keep up
  4843. with the arrival rate), send back reason "resource limit" rather
  4844. than reason "internal", so network measurement scripts can get a
  4845. more accurate picture. Fixes bug 7037; bugfix on 0.1.1.11-alpha.
  4846. o Minor bugfixes:
  4847. - Command-line option "--version" implies "--quiet". Fixes bug 6997.
  4848. - Free some more still-in-use memory at exit, to make hunting for
  4849. memory leaks easier. Resolves bug 7029.
  4850. - When a Tor client gets a "truncated" relay cell, the first byte of
  4851. its payload specifies why the circuit was truncated. We were
  4852. ignoring this 'reason' byte when tearing down the circuit, resulting
  4853. in the controller not being told why the circuit closed. Now we
  4854. pass the reason from the truncated cell to the controller. Bugfix
  4855. on 0.1.2.3-alpha; fixes bug 7039.
  4856. - Downgrade "Failed to hand off onionskin" messages to "debug"
  4857. severity, since they're typically redundant with the "Your computer
  4858. is too slow" messages. Fixes bug 7038; bugfix on 0.2.2.16-alpha.
  4859. - Make clients running with IPv6 bridges connect over IPv6 again,
  4860. even without setting new config options ClientUseIPv6 and
  4861. ClientPreferIPv6ORPort. Fixes bug 6757; bugfix on 0.2.4.1-alpha.
  4862. - Use square brackets around IPv6 addresses in numerous places
  4863. that needed them, including log messages, HTTPS CONNECT proxy
  4864. requests, TransportProxy statefile entries, and pluggable transport
  4865. extra-info lines. Fixes bug 7011; patch by David Fifield.
  4866. o Code refactoring and cleanup:
  4867. - Source files taken from other packages now reside in src/ext;
  4868. previously they were scattered around the rest of Tor.
  4869. - Avoid use of reserved identifiers in our C code. The C standard
  4870. doesn't like us declaring anything that starts with an
  4871. underscore, so let's knock it off before we get in trouble. Fix
  4872. for bug 1031; bugfix on the first Tor commit.
  4873. Changes in version 0.2.3.23-rc - 2012-10-20
  4874. Tor 0.2.3.23-rc adds a new v3 directory authority, fixes a privacy
  4875. vulnerability introduced by a change in OpenSSL, and fixes a variety
  4876. of smaller bugs in preparation for the release.
  4877. o New directory authorities:
  4878. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  4879. authority. Closes ticket 5749.
  4880. o Major bugfixes (security/privacy):
  4881. - Disable TLS session tickets. OpenSSL's implementation was giving
  4882. our TLS session keys the lifetime of our TLS context objects, when
  4883. perfect forward secrecy would want us to discard anything that
  4884. could decrypt a link connection as soon as the link connection
  4885. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  4886. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  4887. - Discard extraneous renegotiation attempts once the V3 link
  4888. protocol has been initiated. Failure to do so left us open to
  4889. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  4890. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  4891. o Major bugfixes:
  4892. - Fix a possible crash bug when checking for deactivated circuits
  4893. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  4894. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  4895. o Minor bugfixes (on 0.2.3.x):
  4896. - Fix two cases in src/or/transports.c where we were calling
  4897. fmt_addr() twice in a parameter list. Bug found by David
  4898. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  4899. - Convert an assert in the pathbias code to a log message. The assert
  4900. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  4901. bugfix on 0.2.3.17-beta.
  4902. - Fix memory leaks whenever we logged any message about the "path
  4903. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  4904. o Minor bugfixes (on 0.2.2.x and earlier):
  4905. - Don't serve or accept v2 hidden service descriptors over a relay's
  4906. DirPort. It's never correct to do so, and disabling it might
  4907. make it more annoying to exploit any bugs that turn up in the
  4908. descriptor-parsing code. Fixes bug 7149.
  4909. - When relays refuse a "create" cell because their queue of pending
  4910. create cells is too big (typically because their cpu can't keep up
  4911. with the arrival rate), send back reason "resource limit" rather
  4912. than reason "internal", so network measurement scripts can get a
  4913. more accurate picture. Bugfix on 0.1.1.11-alpha; fixes bug 7037.
  4914. - Correct file sizes when reading binary files on Cygwin, to avoid
  4915. a bug where Tor would fail to read its state file. Fixes bug 6844;
  4916. bugfix on 0.1.2.7-alpha.
  4917. - Avoid undefined behavior when parsing the list of supported
  4918. rendezvous/introduction protocols in a hidden service descriptor.
  4919. Previously, Tor would have confused (as-yet-unused) protocol version
  4920. numbers greater than 32 with lower ones on many platforms. Fixes
  4921. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  4922. o Documentation fixes:
  4923. - Clarify that hidden services are TCP only. Fixes bug 6024.
  4924. Changes in version 0.2.4.3-alpha - 2012-09-22
  4925. Tor 0.2.4.3-alpha fixes another opportunity for a remotely triggerable
  4926. assertion, resumes letting relays test reachability of their DirPort,
  4927. and cleans up a bunch of smaller bugs.
  4928. o Security fixes:
  4929. - Fix an assertion failure in tor_timegm() that could be triggered
  4930. by a badly formatted directory object. Bug found by fuzzing with
  4931. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  4932. o Major bugfixes:
  4933. - Fix a possible crash bug when checking for deactivated circuits
  4934. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  4935. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  4936. - Allow routers to detect that their own DirPorts are running. When
  4937. we removed support for versions_supports_begindir, we also
  4938. accidentally removed the mechanism we used to self-test our
  4939. DirPort. Diagnosed with help from kargig. Fixes bugs 6814 and 6815;
  4940. bugfix on 0.2.4.2-alpha.
  4941. o Security features:
  4942. - Switch to a completely time-invariant approach for picking nodes
  4943. weighted by bandwidth. Our old approach would run through the
  4944. part of the loop after it had made its choice slightly slower
  4945. than it ran through the part of the loop before it had made its
  4946. choice. Addresses ticket 6538.
  4947. - Disable the use of Guard nodes when in Tor2WebMode. Guard usage
  4948. by tor2web clients allows hidden services to identify tor2web
  4949. clients through their repeated selection of the same rendezvous
  4950. and introduction point circuit endpoints (their guards). Resolves
  4951. ticket 6888.
  4952. o Minor features:
  4953. - Enable Tor to read configuration, state, and key information from
  4954. a FIFO. Previously Tor would only read from files with a positive
  4955. stat.st_size. Code from meejah; fixes bug 6044.
  4956. o Minor bugfixes:
  4957. - Correct file sizes when reading binary files on Cygwin, to avoid
  4958. a bug where Tor would fail to read its state file. Fixes bug 6844;
  4959. bugfix on 0.1.2.7-alpha.
  4960. - Correctly handle votes with more than 31 flags. Fixes bug 6853;
  4961. bugfix on 0.2.0.3-alpha.
  4962. - When complaining about a client port on a public address, log
  4963. which address we're complaining about. Fixes bug 4020; bugfix on
  4964. 0.2.3.3-alpha. Patch by Tom Fitzhenry.
  4965. - Convert an assert in the pathbias code to a log message. The assert
  4966. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  4967. bugfix on 0.2.3.17-beta.
  4968. - Our new buildsystem was overzealous about rebuilding manpages: it
  4969. would rebuild them all whenever any one of them changed. Now our
  4970. dependency checking should be correct. Fixes bug 6843; bugfix on
  4971. 0.2.4.1-alpha.
  4972. - Don't do reachability testing over IPv6 unless AuthDirPublishIPv6
  4973. is set. Fixes bug 6880. Bugfix on 0.2.4.1-alpha.
  4974. - Correct log printout about which address family is preferred
  4975. when connecting to a bridge with both an IPv4 and IPv6 OR port.
  4976. Fixes bug 6884; bugfix on 0.2.4.1-alpha.
  4977. o Minor bugfixes (code cleanliness):
  4978. - Fix round_to_power_of_2() so it doesn't invoke undefined behavior
  4979. with large values. This situation was untriggered, but nevertheless
  4980. incorrect. Fixes bug 6831; bugfix on 0.2.0.1-alpha.
  4981. - Reject consensus votes with more than 64 known-flags. We aren't even
  4982. close to that limit yet, and our code doesn't handle it correctly.
  4983. Fixes bug 6833; bugfix on 0.2.0.1-alpha.
  4984. - Avoid undefined behavior when parsing the list of supported
  4985. rendezvous/introduction protocols in a hidden service descriptor.
  4986. Previously, Tor would have confused (as-yet-unused) protocol version
  4987. numbers greater than 32 with lower ones on many platforms. Fixes
  4988. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  4989. - Fix handling of rendezvous client authorization types over 8.
  4990. Fixes bug 6861; bugfix on 0.2.1.5-alpha.
  4991. - Fix building with older versions of GCC (2.95, for one) that don't
  4992. like preprocessor directives inside macro arguments. Found by
  4993. grarpamp. Fixes bug 6842; bugfix on 0.2.4.2-alpha.
  4994. - Switch weighted node selection rule from using a list of doubles
  4995. to using a list of int64_t. This change should make the process
  4996. slightly easier to debug and maintain. Needed to finish ticket 6538.
  4997. o Code simplification and refactoring:
  4998. - Move the generic "config" code into a new file, and have "config.c"
  4999. hold only torrc- and state-related code. Resolves ticket 6823.
  5000. - Move the core of our "choose a weighted element at random" logic
  5001. into its own function, and give it unit tests. Now the logic is
  5002. testable, and a little less fragile too.
  5003. - Removed the testing_since field of node_t, which hasn't been used
  5004. for anything since 0.2.0.9-alpha.
  5005. o Documentation fixes:
  5006. - Clarify that hidden services are TCP only. Fixes bug 6024.
  5007. - Resolve a typo in torrc.sample.in. Fixes bug 6819; bugfix on
  5008. 0.2.3.14-alpha.
  5009. Changes in version 0.2.3.22-rc - 2012-09-11
  5010. Tor 0.2.3.22-rc fixes another opportunity for a remotely triggerable
  5011. assertion.
  5012. o Security fixes:
  5013. - Fix an assertion failure in tor_timegm() that could be triggered
  5014. by a badly formatted directory object. Bug found by fuzzing with
  5015. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  5016. o Minor bugfixes:
  5017. - Avoid segfault when starting up having run with an extremely old
  5018. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  5019. on 0.2.2.23-alpha.
  5020. Changes in version 0.2.2.39 - 2012-09-11
  5021. Tor 0.2.2.39 fixes two more opportunities for remotely triggerable
  5022. assertions.
  5023. o Security fixes:
  5024. - Fix an assertion failure in tor_timegm() that could be triggered
  5025. by a badly formatted directory object. Bug found by fuzzing with
  5026. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  5027. - Do not crash when comparing an address with port value 0 to an
  5028. address policy. This bug could have been used to cause a remote
  5029. assertion failure by or against directory authorities, or to
  5030. allow some applications to crash clients. Fixes bug 6690; bugfix
  5031. on 0.2.1.10-alpha.
  5032. Changes in version 0.2.4.2-alpha - 2012-09-10
  5033. Tor 0.2.4.2-alpha enables port forwarding for pluggable transports,
  5034. raises the default rate limiting even more, and makes the bootstrapping
  5035. log messages less noisy.
  5036. o Major features:
  5037. - Automatically forward the TCP ports of pluggable transport
  5038. proxies using tor-fw-helper if PortForwarding is enabled. Implements
  5039. ticket 4567.
  5040. o Major bugfixes:
  5041. - Raise the default BandwidthRate/BandwidthBurst values from 5MB/10MB
  5042. to 1GB/1GB. The previous defaults were intended to be "basically
  5043. infinite", but it turns out they're now limiting our 100mbit+
  5044. relays and bridges. Fixes bug 6605; bugfix on 0.2.0.10-alpha (the
  5045. last time we raised it).
  5046. o Minor features:
  5047. - Detect when we're running with a version of OpenSSL other than the
  5048. one we compiled with. This has occasionally given people hard-to-
  5049. track-down errors.
  5050. - Log fewer lines at level "notice" about our OpenSSL and Libevent
  5051. versions and capabilities when everything is going right. Resolves
  5052. part of ticket 6736.
  5053. - Directory authorities no long accept descriptors for any version of
  5054. Tor before 0.2.2.35, or for any 0.2.3 release before 0.2.3.10-alpha.
  5055. These versions are insecure, unsupported, or both. Implements
  5056. ticket 6789.
  5057. o Minor bugfixes:
  5058. - Rename the (internal-use-only) UsingTestingNetworkDefaults option
  5059. to start with a triple-underscore so the controller won't touch it.
  5060. Patch by Meejah. Fixes bug 3155. Bugfix on 0.2.2.23-alpha.
  5061. - Avoid segfault when starting up having run with an extremely old
  5062. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  5063. on 0.2.2.23-alpha.
  5064. - Rename the (testing-use-only) _UseFilteringSSLBufferevents option
  5065. so it doesn't start with _. Fixes bug 3155. Bugfix on 0.2.3.1-alpha.
  5066. - Don't follow the NULL pointer if microdescriptor generation fails.
  5067. (This does not appear to be triggerable, but it's best to be safe.)
  5068. Found by "f. tp.". Fixes bug 6797; bugfix on 0.2.4.1-alpha.
  5069. - Fix mis-declared dependencies on src/common/crypto.c and
  5070. src/or/tor_main.c that could break out-of-tree builds under some
  5071. circumstances. Fixes bug 6778; bugfix on 0.2.4.1-alpha.
  5072. - Avoid a warning when building common_sha1.i out of tree. Fixes bug
  5073. 6778; bugfix on 0.2.4.1-alpha.
  5074. - Fix a harmless (in this case) build warning for implicitly
  5075. converting a strlen() to an int. Bugfix on 0.2.4.1-alpha.
  5076. o Removed features:
  5077. - Now that all versions before 0.2.2.x are disallowed, we no longer
  5078. need to work around their missing features. Thus we can remove a
  5079. bunch of compatibility code.
  5080. o Code refactoring:
  5081. - Tweak tor-fw-helper to accept an arbitrary amount of arbitrary
  5082. TCP ports to forward. In the past it only accepted two ports:
  5083. the ORPort and the DirPort.
  5084. Changes in version 0.2.4.1-alpha - 2012-09-05
  5085. Tor 0.2.4.1-alpha lets bridges publish their pluggable transports to
  5086. bridgedb; lets relays use IPv6 addresses and directory authorities
  5087. advertise them; and switches to a cleaner build interface.
  5088. This is the first alpha release in a new series, so expect there to
  5089. be bugs. Users who would rather test out a more stable branch should
  5090. stay with 0.2.3.x for now.
  5091. o Major features (bridges):
  5092. - Bridges now report the pluggable transports they support to the
  5093. bridge authority, so it can pass the supported transports on to
  5094. bridgedb and/or eventually do reachability testing. Implements
  5095. ticket 3589.
  5096. o Major features (IPv6):
  5097. - Bridge authorities now accept IPv6 bridge addresses and include
  5098. them in network status documents. Implements ticket 5534.
  5099. - Clients who set "ClientUseIPv6 1" may connect to entry nodes over
  5100. IPv6. Set "ClientPreferIPv6ORPort 1" to make this even more likely
  5101. to happen. Implements ticket 5535.
  5102. - All kind of relays, not just bridges, can now advertise an IPv6
  5103. OR port. Implements ticket 6362.
  5104. - Directory authorities vote on IPv6 OR ports using the new consensus
  5105. method 14. Implements ticket 6363.
  5106. o Major features (build):
  5107. - Switch to a nonrecursive Makefile structure. Now instead of each
  5108. Makefile.am invoking other Makefile.am's, there is a master
  5109. Makefile.am that includes the others. This change makes our build
  5110. process slightly more maintainable, and improves parallelism for
  5111. building with make -j. Original patch by Stewart Smith; various
  5112. fixes by Jim Meyering.
  5113. - Where available, we now use automake's "silent" make rules by
  5114. default, so that warnings are easier to spot. You can get the old
  5115. behavior with "make V=1". Patch by Stewart Smith for ticket 6522.
  5116. o Minor features (code security and spec conformance):
  5117. - Clear keys and key-derived material left on the stack in
  5118. rendservice.c and rendclient.c. Check return value of
  5119. crypto_pk_write_private_key_to_string() in rend_service_load_keys().
  5120. These fixes should make us more forward-secure against cold-boot
  5121. attacks and the like. Fixes bug 2385.
  5122. - Reject EXTEND cells sent to nonexistent streams. According to the
  5123. spec, an EXTEND cell sent to _any_ nonzero stream ID is invalid, but
  5124. we were only checking for stream IDs that were currently in use.
  5125. Found while hunting for more instances of bug 6271. Bugfix on
  5126. 0.0.2pre8, which introduced incremental circuit construction.
  5127. o Minor features (streamlining);
  5128. - No longer include the "opt" prefix when generating routerinfos
  5129. or v2 directories: it has been needless since Tor 0.1.2. Closes
  5130. ticket 5124.
  5131. - Remove some now-needless code that tried to aggressively flush
  5132. OR connections as data was added to them. Since 0.2.0.1-alpha, our
  5133. cell queue logic has saved us from the failure mode that this code
  5134. was supposed to prevent. Removing this code will limit the number
  5135. of baroque control flow paths through Tor's network logic. Reported
  5136. pseudonymously on IRC. Fixes bug 6468; bugfix on 0.2.0.1-alpha.
  5137. o Minor features (controller):
  5138. - Add a "GETINFO signal/names" control port command. Implements
  5139. ticket 3842.
  5140. - Provide default values for all options via "GETINFO config/defaults".
  5141. Implements ticket 4971.
  5142. o Minor features (IPv6):
  5143. - New config option "AuthDirHasIPv6Connectivity 1" that directory
  5144. authorities should set if they have IPv6 connectivity and want to
  5145. do reachability tests for IPv6 relays. Implements feature 5974.
  5146. - A relay with an IPv6 OR port now sends that address in NETINFO
  5147. cells (in addition to its other address). Implements ticket 6364.
  5148. o Minor features (log messages):
  5149. - Omit the first heartbeat log message, because it never has anything
  5150. useful to say, and it clutters up the bootstrapping messages.
  5151. Resolves ticket 6758.
  5152. - Don't log about reloading the microdescriptor cache at startup. Our
  5153. bootstrap warnings are supposed to tell the user when there's a
  5154. problem, and our bootstrap notices say when there isn't. Resolves
  5155. ticket 6759; bugfix on 0.2.2.6-alpha.
  5156. - Don't log "I learned some more directory information" when we're
  5157. reading cached directory information. Reserve it for when new
  5158. directory information arrives in response to a fetch. Resolves
  5159. ticket 6760.
  5160. - Prevent rounding error in path bias counts when scaling
  5161. them down, and use the correct scale factor default. Also demote
  5162. some path bias related log messages down a level and make others
  5163. less scary sounding. Fixes bug 6647. Bugfix against 0.2.3.17-beta.
  5164. - We no longer warn so much when generating manpages from their
  5165. asciidoc source.
  5166. o Code simplifications and refactoring:
  5167. - Enhance our internal sscanf replacement so that we can eliminate
  5168. the last remaining uses of the system sscanf. (Though those uses
  5169. of sscanf were safe, sscanf itself is generally error prone, so
  5170. we want to eliminate when we can.) Fixes ticket 4195 and Coverity
  5171. CID 448.
  5172. - Move ipv6_preferred from routerinfo_t to node_t. Addresses bug 4620.
  5173. - Move last_reachable and testing_since from routerinfo_t to node_t.
  5174. Implements ticket 5529.
  5175. - Add replaycache_t structure, functions and unit tests, then refactor
  5176. rend_service_introduce() to be more clear to read, improve, debug,
  5177. and test. Resolves bug 6177.
  5178. - Finally remove support for malloc_good_size and malloc_usable_size.
  5179. We had hoped that these functions would let us eke a little more
  5180. memory out of our malloc implementation. Unfortunately, the only
  5181. implementations that provided these functions are also ones that
  5182. are already efficient about not overallocation: they never got us
  5183. more than 7 or so bytes per allocation. Removing them saves us a
  5184. little code complexity and a nontrivial amount of build complexity.
  5185. o New requirements:
  5186. - Tor maintainers now require Automake version 1.9 or later to build
  5187. Tor from the Git repository. (Automake is not required when building
  5188. from a source distribution.)
  5189. Changes in version 0.2.3.21-rc - 2012-09-05
  5190. Tor 0.2.3.21-rc is the fourth release candidate for the Tor 0.2.3.x
  5191. series. It fixes a trio of potential security bugs, fixes a bug where
  5192. we were leaving some of the fast relays out of the microdescriptor
  5193. consensus, resumes interpreting "ORPort 0" and "DirPort 0" correctly,
  5194. and cleans up other smaller issues.
  5195. o Major bugfixes (security):
  5196. - Tear down the circuit if we get an unexpected SENDME cell. Clients
  5197. could use this trick to make their circuits receive cells faster
  5198. than our flow control would have allowed, or to gum up the network,
  5199. or possibly to do targeted memory denial-of-service attacks on
  5200. entry nodes. Fixes bug 6252. Bugfix on the 54th commit on Tor --
  5201. from July 2002, before the release of Tor 0.0.0. We had committed
  5202. this patch previously, but we had to revert it because of bug 6271.
  5203. Now that 6271 is fixed, this patch appears to work.
  5204. - Reject any attempt to extend to an internal address. Without
  5205. this fix, a router could be used to probe addresses on an internal
  5206. network to see whether they were accepting connections. Fixes bug
  5207. 6710; bugfix on 0.0.8pre1.
  5208. - Do not crash when comparing an address with port value 0 to an
  5209. address policy. This bug could have been used to cause a remote
  5210. assertion failure by or against directory authorities, or to
  5211. allow some applications to crash clients. Fixes bug 6690; bugfix
  5212. on 0.2.1.10-alpha.
  5213. o Major bugfixes:
  5214. - Remove the upper bound on microdescriptor length. We were hitting
  5215. the limit for routers with complex exit policies or family
  5216. declarations, causing clients to not use them. Fixes the first
  5217. piece of bug 6404; fix on 0.2.2.6-alpha.
  5218. - Detect "ORPort 0" as meaning, uniformly, that we're not running
  5219. as a relay. Previously, some of our code would treat the presence
  5220. of any ORPort line as meaning that we should act like a relay,
  5221. even though our new listener code would correctly not open any
  5222. ORPorts for ORPort 0. Similar bugs in other Port options are also
  5223. fixed. Fixes the first half of bug 6507; bugfix on 0.2.3.3-alpha.
  5224. o Minor bugfixes:
  5225. - Avoid a pair of double-free and use-after-mark bugs that can
  5226. occur with certain timings in canceled and re-received DNS
  5227. requests. Fixes bug 6472; bugfix on 0.0.7rc1.
  5228. - Fix build and 64-bit compile warnings from --enable-openbsd-malloc.
  5229. Fixes bug 6379. Bugfix on 0.2.0.20-rc.
  5230. - Allow one-hop directory fetching circuits the full "circuit build
  5231. timeout" period, rather than just half of it, before failing them
  5232. and marking the relay down. This fix should help reduce cases where
  5233. clients declare relays (or worse, bridges) unreachable because
  5234. the TLS handshake takes a few seconds to complete. Fixes bug 6743;
  5235. bugfix on 0.2.2.2-alpha, where we changed the timeout from a static
  5236. 30 seconds.
  5237. - Authorities no longer include any router in their microdescriptor
  5238. consensuses for which they couldn't generate or agree on a
  5239. microdescriptor. Fixes the second piece of bug 6404; fix on
  5240. 0.2.2.6-alpha.
  5241. - Detect and reject attempts to specify both "FooPort" and
  5242. "FooPort 0" in the same configuration domain. (It's still okay
  5243. to have a FooPort in your configuration file, and use "FooPort 0"
  5244. on the command line to disable it.) Fixes the second half of bug
  5245. 6507; bugfix on 0.2.3.3-alpha.
  5246. - Make wildcarded addresses (that is, ones beginning with "*.") work
  5247. when provided via the controller's MapAddress command. Previously,
  5248. they were accepted, but we never actually noticed that they were
  5249. wildcards. Fixes bug 6244; bugfix on 0.2.3.9-alpha.
  5250. - Avoid crashing on a malformed state file where EntryGuardPathBias
  5251. precedes EntryGuard. Fix for bug 6774; bugfix on 0.2.3.17-beta.
  5252. - Add a (probably redundant) memory clear between iterations of
  5253. the router status voting loop, to prevent future coding errors
  5254. where data might leak between iterations of the loop. Resolves
  5255. ticket 6514.
  5256. o Minor bugfixes (log messages):
  5257. - Downgrade "set buildtimeout to low value" messages to "info"
  5258. severity; they were never an actual problem, there was never
  5259. anything reasonable to do about them, and they tended to spam logs
  5260. from time to time. Fixes bug 6251; bugfix on 0.2.2.2-alpha.
  5261. - Downgrade path-bias warning messages to "info". We'll try to get
  5262. them working better in 0.2.4. Add internal circuit construction
  5263. state to protect against the noisy warn message "Unexpectedly high
  5264. circuit_successes". Also add some additional rate-limited notice
  5265. messages to help determine the root cause of the warn. Fixes bug
  5266. 6475. Bugfix against 0.2.3.17-beta.
  5267. - Move log message when unable to find a microdesc in a routerstatus
  5268. entry to parse time. Previously we'd spam this warning every time
  5269. we tried to figure out which microdescriptors to download. Fixes
  5270. the third piece of bug 6404; fix on 0.2.3.18-rc.
  5271. o Minor features:
  5272. - Consider new, removed or changed IPv6 OR ports a non-cosmetic
  5273. change when the authority is deciding whether to accept a newly
  5274. uploaded descriptor. Implements ticket 6423.
  5275. - Add missing documentation for consensus and microdesc files.
  5276. Resolves ticket 6732.
  5277. Changes in version 0.2.2.38 - 2012-08-12
  5278. Tor 0.2.2.38 fixes a remotely triggerable crash bug, and fixes a timing
  5279. attack that could in theory leak path information.
  5280. o Security fixes:
  5281. - Avoid an uninitialized memory read when reading a vote or consensus
  5282. document that has an unrecognized flavor name. This read could
  5283. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  5284. - Try to leak less information about what relays a client is
  5285. choosing to a side-channel attacker. Previously, a Tor client would
  5286. stop iterating through the list of available relays as soon as it
  5287. had chosen one, thus finishing a little earlier when it picked
  5288. a router earlier in the list. If an attacker can recover this
  5289. timing information (nontrivial but not proven to be impossible),
  5290. they could learn some coarse-grained information about which relays
  5291. a client was picking (middle nodes in particular are likelier to
  5292. be affected than exits). The timing attack might be mitigated by
  5293. other factors (see bug 6537 for some discussion), but it's best
  5294. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  5295. Changes in version 0.2.3.20-rc - 2012-08-05
  5296. Tor 0.2.3.20-rc is the third release candidate for the Tor 0.2.3.x
  5297. series. It fixes a pair of code security bugs and a potential anonymity
  5298. issue, updates our RPM spec files, and cleans up other smaller issues.
  5299. o Security fixes:
  5300. - Avoid read-from-freed-memory and double-free bugs that could occur
  5301. when a DNS request fails while launching it. Fixes bug 6480;
  5302. bugfix on 0.2.0.1-alpha.
  5303. - Avoid an uninitialized memory read when reading a vote or consensus
  5304. document that has an unrecognized flavor name. This read could
  5305. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  5306. - Try to leak less information about what relays a client is
  5307. choosing to a side-channel attacker. Previously, a Tor client would
  5308. stop iterating through the list of available relays as soon as it
  5309. had chosen one, thus finishing a little earlier when it picked
  5310. a router earlier in the list. If an attacker can recover this
  5311. timing information (nontrivial but not proven to be impossible),
  5312. they could learn some coarse-grained information about which relays
  5313. a client was picking (middle nodes in particular are likelier to
  5314. be affected than exits). The timing attack might be mitigated by
  5315. other factors (see bug 6537 for some discussion), but it's best
  5316. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  5317. o Minor features:
  5318. - Try to make the warning when giving an obsolete SOCKSListenAddress
  5319. a little more useful.
  5320. - Terminate active server managed proxies if Tor stops being a
  5321. relay. Addresses parts of bug 6274; bugfix on 0.2.3.6-alpha.
  5322. - Provide a better error message about possible OSX Asciidoc failure
  5323. reasons. Fixes bug 6436.
  5324. - Warn when Tor is configured to use accounting in a way that can
  5325. link a hidden service to some other hidden service or public
  5326. address. Resolves ticket 6490.
  5327. o Minor bugfixes:
  5328. - Check return value of fputs() when writing authority certificate
  5329. file. Fixes Coverity issue 709056; bugfix on 0.2.0.1-alpha.
  5330. - Ignore ServerTransportPlugin lines when Tor is not configured as
  5331. a relay. Fixes bug 6274; bugfix on 0.2.3.6-alpha.
  5332. - When disabling guards for having too high a proportion of failed
  5333. circuits, make sure to look at each guard. Fixes bug 6397; bugfix
  5334. on 0.2.3.17-beta.
  5335. o Packaging (RPM):
  5336. - Update our default RPM spec files to work with mock and rpmbuild
  5337. on RHEL/Fedora. They have an updated set of dependencies and
  5338. conflicts, a fix for an ancient typo when creating the "_tor"
  5339. user, and better instructions. Thanks to Ondrej Mikle for the
  5340. patch series. Fixes bug 6043.
  5341. o Testing:
  5342. - Make it possible to set the TestingTorNetwork configuration
  5343. option using AlternateDirAuthority and AlternateBridgeAuthority
  5344. as an alternative to setting DirServer. Addresses ticket 6377.
  5345. o Documentation:
  5346. - Clarify the documentation for the Alternate*Authority options.
  5347. Fixes bug 6387.
  5348. - Fix some typos in the manpages. Patch from A. Costa. Fixes bug 6500.
  5349. o Code simplification and refactoring:
  5350. - Do not use SMARTLIST_FOREACH for any loop whose body exceeds
  5351. 10 lines. Also, don't nest them. Doing so in the past has
  5352. led to hard-to-debug code. The new style is to use the
  5353. SMARTLIST_FOREACH_{BEGIN,END} pair. Addresses issue 6400.
  5354. Changes in version 0.2.3.19-rc - 2012-07-06
  5355. Tor 0.2.3.19-rc is the second release candidate for the Tor 0.2.3.x
  5356. series. It fixes the compile on Windows, reverts to a GeoIP database
  5357. that isn't as broken, and fixes a flow control bug that has been around
  5358. since the beginning of Tor.
  5359. o Major bugfixes:
  5360. - Fix a bug handling SENDME cells on nonexistent streams that could
  5361. result in bizarre window values. Report and patch contributed
  5362. pseudonymously. Fixes part of bug 6271. This bug was introduced
  5363. before the first Tor release, in svn commit r152.
  5364. - Revert to the May 1 2012 Maxmind GeoLite Country database. In the
  5365. June 2012 database, Maxmind marked many Tor relays as country "A1",
  5366. which will cause risky behavior for clients that set EntryNodes
  5367. or ExitNodes. Addresses bug 6334; bugfix on 0.2.3.17-beta.
  5368. - Instead of ENOBUFS on Windows, say WSAENOBUFS. Fixes compilation
  5369. on Windows. Fixes bug 6296; bugfix on 0.2.3.18-rc.
  5370. o Minor bugfixes:
  5371. - Fix wrong TCP port range in parse_port_range(). Fixes bug 6218;
  5372. bugfix on 0.2.1.10-alpha.
  5373. Changes in version 0.2.3.18-rc - 2012-06-28
  5374. Tor 0.2.3.18-rc is the first release candidate for the Tor 0.2.3.x
  5375. series. It fixes a few smaller bugs, but generally appears stable.
  5376. Please test it and let us know whether it is!
  5377. o Major bugfixes:
  5378. - Allow wildcarded mapaddress targets to be specified on the
  5379. controlport. Partially fixes bug 6244; bugfix on 0.2.3.9-alpha.
  5380. - Make our linker option detection code more robust against linkers
  5381. such as on FreeBSD 8, where a bad combination of options completes
  5382. successfully but makes an unrunnable binary. Fixes bug 6173;
  5383. bugfix on 0.2.3.17-beta.
  5384. o Minor bugfixes (on 0.2.2.x and earlier):
  5385. - Avoid a false positive in the util/threads unit test by increasing
  5386. the maximum timeout time. Fixes bug 6227; bugfix on 0.2.0.4-alpha.
  5387. - Replace "Sending publish request" log messages with "Launching
  5388. upload", so that they no longer confusingly imply that we're
  5389. sending something to a directory we might not even be connected
  5390. to yet. Fixes bug 3311; bugfix on 0.2.0.10-alpha.
  5391. - Make sure to set *socket_error in all error cases in
  5392. connection_connect(), so it can't produce a warning about
  5393. errno being zero from errno_to_orconn_end_reason(). Bugfix on
  5394. 0.2.1.1-alpha; resolves ticket 6028.
  5395. - Downgrade "Got a certificate, but we already have it" log messages
  5396. from warning to info, except when we're a dirauth. Fixes bug 5238;
  5397. bugfix on 0.2.1.7-alpha.
  5398. - When checking for requested signatures on the latest consensus
  5399. before serving it to a client, make sure to check the right
  5400. consensus flavor. Bugfix on 0.2.2.6-alpha.
  5401. - Downgrade "eventdns rejected address" message to LOG_PROTOCOL_WARN.
  5402. Fixes bug 5932; bugfix on 0.2.2.7-alpha.
  5403. o Minor bugfixes (on 0.2.3.x):
  5404. - Make format_helper_exit_status() avoid unnecessary space padding
  5405. and stop confusing log_from_pipe(). Fixes ticket 5557; bugfix
  5406. on 0.2.3.1-alpha.
  5407. - Downgrade a message about cleaning the microdescriptor cache to
  5408. "info" from "notice". Fixes bug 6238; bugfix on 0.2.3.1-alpha.
  5409. - Log a BUG message at severity INFO if we have a networkstatus with
  5410. a missing entry for some microdescriptor. Continues on a patch
  5411. to 0.2.3.2-alpha.
  5412. - Improve the log message when a managed proxy fails to launch. Fixes
  5413. bug 5099; bugfix on 0.2.3.6-alpha.
  5414. - Don't do DNS lookups when parsing corrupted managed proxy protocol
  5415. messages. Fixes bug 6226; bugfix on 0.2.3.6-alpha.
  5416. - When formatting wildcarded address mappings for the controller,
  5417. be sure to include "*." as appropriate. Partially fixes bug 6244;
  5418. bugfix on 0.2.3.9-alpha.
  5419. - Avoid a warning caused by using strcspn() from glibc with clang 3.0.
  5420. Bugfix on 0.2.3.13-alpha.
  5421. - Stop logging messages about running with circuit timeout learning
  5422. enabled at severity LD_BUG. Fixes bug 6169; bugfix on 0.2.3.17-beta.
  5423. - Disable a spurious warning about reading on a marked and flushing
  5424. connection. We shouldn't be doing that, but apparently we
  5425. sometimes do. Fixes bug 6203; bugfix on 0.2.3.17-beta.
  5426. - Fix a bug that stopped AllowDotExit from working on addresses
  5427. that had an entry in the DNS cache. Fixes bug 6211; bugfix on
  5428. 0.2.3.17-beta.
  5429. o Code simplification, refactoring, unit tests:
  5430. - Move tor_gettimeofday_cached() into compat_libevent.c, and use
  5431. Libevent's notion of cached time when possible.
  5432. - Remove duplicate code for invoking getrlimit() from control.c.
  5433. - Add a unit test for the environment_variable_names_equal function.
  5434. o Documentation:
  5435. - Document the --defaults-torrc option, and the new (in 0.2.3)
  5436. semantics for overriding, extending, and clearing lists of
  5437. options. Closes bug 4748.
  5438. Changes in version 0.2.3.17-beta - 2012-06-15
  5439. Tor 0.2.3.17-beta enables compiler and linker hardening by default,
  5440. gets our TLS handshake back on track for being able to blend in with
  5441. Firefox, fixes a big bug in 0.2.3.16-alpha that broke Tor's interaction
  5442. with Vidalia, and otherwise continues to get us closer to a release
  5443. candidate.
  5444. o Major features:
  5445. - Enable gcc and ld hardening by default. Resolves ticket 5210.
  5446. - Update TLS cipher list to match Firefox 8 and later. Resolves
  5447. ticket 4744.
  5448. - Implement the client side of proposal 198: remove support for
  5449. clients falsely claiming to support standard ciphersuites that
  5450. they can actually provide. As of modern OpenSSL versions, it's not
  5451. necessary to fake any standard ciphersuite, and doing so prevents
  5452. us from using better ciphersuites in the future, since servers
  5453. can't know whether an advertised ciphersuite is really supported or
  5454. not. Some hosts -- notably, ones with very old versions of OpenSSL
  5455. or where OpenSSL has been built with ECC disabled -- will stand
  5456. out because of this change; TBB users should not be affected.
  5457. o Major bugfixes:
  5458. - Change the default value for DynamicDHGroups (introduced in
  5459. 0.2.3.9-alpha) to 0. This feature can make Tor relays less
  5460. identifiable by their use of the mod_ssl DH group, but at
  5461. the cost of some usability (#4721) and bridge tracing (#6087)
  5462. regressions. Resolves ticket 5598.
  5463. - Send a CRLF at the end of each STATUS_* control protocol event. This
  5464. bug tickled a bug in Vidalia which would make it freeze. Fixes
  5465. bug 6094; bugfix on 0.2.3.16-alpha.
  5466. o Minor bugfixes:
  5467. - Disable writing on marked-for-close connections when they are
  5468. blocked on bandwidth, to prevent busy-looping in Libevent. Fixes
  5469. bug 5263; bugfix on 0.0.2pre13, where we first added a special
  5470. case for flushing marked connections.
  5471. - Detect SSL handshake even when the initial attempt to write the
  5472. server hello fails. Fixes bug 4592; bugfix on 0.2.0.13-alpha.
  5473. - Change the AllowDotExit rules so they should actually work.
  5474. We now enforce AllowDotExit only immediately after receiving an
  5475. address via SOCKS or DNSPort: other sources are free to provide
  5476. .exit addresses after the resolution occurs. Fixes bug 3940;
  5477. bugfix on 0.2.2.1-alpha.
  5478. - Fix a (harmless) integer overflow in cell statistics reported by
  5479. some fast relays. Fixes bug 5849; bugfix on 0.2.2.1-alpha.
  5480. - Make sure circuitbuild.c checks LearnCircuitBuildTimeout in all the
  5481. right places and never depends on the consensus parameters or
  5482. computes adaptive timeouts when it is disabled. Fixes bug 5049;
  5483. bugfix on 0.2.2.14-alpha.
  5484. - When building Tor on Windows with -DUNICODE (not default), ensure
  5485. that error messages, filenames, and DNS server names are always
  5486. NUL-terminated when we convert them to a single-byte encoding.
  5487. Fixes bug 5909; bugfix on 0.2.2.16-alpha.
  5488. - Make Tor build correctly again with -DUNICODE -D_UNICODE defined.
  5489. Fixes bug 6097; bugfix on 0.2.2.16-alpha.
  5490. - Fix an edge case where TestingTorNetwork is set but the authorities
  5491. and relays all have an uptime of zero, where the private Tor network
  5492. could briefly lack support for hidden services. Fixes bug 3886;
  5493. bugfix on 0.2.2.18-alpha.
  5494. - Correct the manpage's descriptions for the default values of
  5495. DirReqStatistics and ExtraInfoStatistics. Fixes bug 2865; bugfix
  5496. on 0.2.3.1-alpha.
  5497. - Fix the documentation for the --hush and --quiet command line
  5498. options, which changed their behavior back in 0.2.3.3-alpha.
  5499. - Fix compilation warning with clang 3.1. Fixes bug 6141; bugfix on
  5500. 0.2.3.11-alpha.
  5501. o Minor features:
  5502. - Rate-limit the "Weighted bandwidth is 0.000000" message, and add
  5503. more information to it, so that we can track it down in case it
  5504. returns again. Mitigates bug 5235.
  5505. - Check CircuitBuildTimeout and LearnCircuitBuildTimeout in
  5506. options_validate(); warn if LearnCircuitBuildTimeout is disabled and
  5507. CircuitBuildTimeout is set unreasonably low. Resolves ticket 5452.
  5508. - Warn the user when HTTPProxy, but no other proxy type, is
  5509. configured. This can cause surprising behavior: it doesn't send
  5510. all of Tor's traffic over the HTTPProxy -- it sends unencrypted
  5511. directory traffic only. Resolves ticket 4663.
  5512. - Issue a notice if a guard completes less than 40% of your circuits.
  5513. Threshold is configurable by torrc option PathBiasNoticeRate and
  5514. consensus parameter pb_noticepct. There is additional, off-by-
  5515. default code to disable guards which fail too many circuits.
  5516. Addresses ticket 5458.
  5517. - Update to the June 6 2012 Maxmind GeoLite Country database.
  5518. o Code simplifications and refactoring:
  5519. - Remove validate_pluggable_transports_config(): its warning
  5520. message is now handled by connection_or_connect().
  5521. Changes in version 0.2.2.37 - 2012-06-06
  5522. Tor 0.2.2.37 introduces a workaround for a critical renegotiation
  5523. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  5524. currently).
  5525. o Major bugfixes:
  5526. - Work around a bug in OpenSSL that broke renegotiation with TLS
  5527. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  5528. the v2 Tor connection protocol when both sides were using OpenSSL
  5529. 1.0.1 would fail. Resolves ticket 6033.
  5530. - When waiting for a client to renegotiate, don't allow it to add
  5531. any bytes to the input buffer. This fixes a potential DoS issue.
  5532. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  5533. - Fix an edge case where if we fetch or publish a hidden service
  5534. descriptor, we might build a 4-hop circuit and then use that circuit
  5535. for exiting afterwards -- even if the new last hop doesn't obey our
  5536. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  5537. o Minor bugfixes:
  5538. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  5539. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  5540. o Minor features:
  5541. - Tell GCC and Clang to check for any errors in format strings passed
  5542. to the tor_v*(print|scan)f functions.
  5543. Changes in version 0.2.3.16-alpha - 2012-06-05
  5544. Tor 0.2.3.16-alpha introduces a workaround for a critical renegotiation
  5545. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  5546. currently). It also fixes a variety of smaller bugs and other cleanups
  5547. that get us closer to a release candidate.
  5548. o Major bugfixes (general):
  5549. - Work around a bug in OpenSSL that broke renegotiation with TLS
  5550. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  5551. the v2 Tor connection protocol when both sides were using OpenSSL
  5552. 1.0.1 would fail. Resolves ticket 6033.
  5553. - When waiting for a client to renegotiate, don't allow it to add
  5554. any bytes to the input buffer. This fixes a potential DoS issue.
  5555. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  5556. - Pass correct OR address to managed proxies (like obfsproxy),
  5557. even when ORListenAddress is used. Fixes bug 4865; bugfix on
  5558. 0.2.3.9-alpha.
  5559. - The advertised platform of a router now includes only its operating
  5560. system's name (e.g., "Linux", "Darwin", "Windows 7"), and not its
  5561. service pack level (for Windows) or its CPU architecture (for Unix).
  5562. We also no longer include the "git-XYZ" tag in the version. Resolves
  5563. part of bug 2988.
  5564. o Major bugfixes (clients):
  5565. - If we are unable to find any exit that supports our predicted ports,
  5566. stop calling them predicted, so that we don't loop and build
  5567. hopeless circuits indefinitely. Fixes bug 3296; bugfix on 0.0.9pre6,
  5568. which introduced predicted ports.
  5569. - Fix an edge case where if we fetch or publish a hidden service
  5570. descriptor, we might build a 4-hop circuit and then use that circuit
  5571. for exiting afterwards -- even if the new last hop doesn't obey our
  5572. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  5573. - Check at each new consensus whether our entry guards were picked
  5574. long enough ago that we should rotate them. Previously, we only
  5575. did this check at startup, which could lead to us holding a guard
  5576. indefinitely. Fixes bug 5380; bugfix on 0.2.1.14-rc.
  5577. - When fetching a bridge descriptor from a bridge authority,
  5578. always do so anonymously, whether we have been able to open
  5579. circuits or not. Partial fix for bug 1938; bugfix on 0.2.0.7-alpha.
  5580. This behavior makes it *safer* to use UpdateBridgesFromAuthority,
  5581. but we'll need to wait for bug 6010 before it's actually usable.
  5582. o Major bugfixes (directory authorities):
  5583. - When computing weight parameters, behave more robustly in the
  5584. presence of a bad bwweightscale value. Previously, the authorities
  5585. would crash if they agreed on a sufficiently broken weight_scale
  5586. value: now, they use a reasonable default and carry on. Partial
  5587. fix for 5786; bugfix on 0.2.2.17-alpha.
  5588. - Check more thoroughly to prevent a rogue authority from
  5589. double-voting on any consensus directory parameter. Previously,
  5590. authorities would crash in this case if the total number of
  5591. votes for any parameter exceeded the number of active voters,
  5592. but would let it pass otherwise. Partial fix for bug 5786; bugfix
  5593. on 0.2.2.2-alpha.
  5594. o Minor features:
  5595. - Rate-limit log messages when asked to connect anonymously to
  5596. a private address. When these hit, they tended to hit fast and
  5597. often. Also, don't bother trying to connect to addresses that we
  5598. are sure will resolve to 127.0.0.1: getting 127.0.0.1 in a directory
  5599. reply makes us think we have been lied to, even when the address the
  5600. client tried to connect to was "localhost." Resolves ticket 2822.
  5601. - Allow packagers to insert an extra string in server descriptor
  5602. platform lines by setting the preprocessor variable TOR_BUILD_TAG.
  5603. Resolves the rest of ticket 2988.
  5604. - Raise the threshold of server descriptors needed (75%) and exit
  5605. server descriptors needed (50%) before we will declare ourselves
  5606. bootstrapped. This will make clients start building circuits a
  5607. little later, but makes the initially constructed circuits less
  5608. skewed and less in conflict with further directory fetches. Fixes
  5609. ticket 3196.
  5610. - Close any connection that sends unrecognized junk before the
  5611. handshake. Solves an issue noted in bug 4369.
  5612. - Improve log messages about managed transports. Resolves ticket 5070.
  5613. - Tag a bridge's descriptor as "never to be sent unencrypted".
  5614. This shouldn't matter, since bridges don't open non-anonymous
  5615. connections to the bridge authority and don't allow unencrypted
  5616. directory connections from clients, but we might as well make
  5617. sure. Closes bug 5139.
  5618. - Expose our view of whether we have gone dormant to the controller,
  5619. via a new "GETINFO dormant" value. Torbutton and other controllers
  5620. can use this to avoid doing periodic requests through Tor while
  5621. it's dormant (bug 4718). Fixes bug 5954.
  5622. - Tell GCC and Clang to check for any errors in format strings passed
  5623. to the tor_v*(print|scan)f functions.
  5624. - Update to the May 1 2012 Maxmind GeoLite Country database.
  5625. o Minor bugfixes (already included in 0.2.2.36):
  5626. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  5627. Fixes bug 5346; bugfix on 0.0.8pre3.
  5628. - Correct parsing of certain date types in parse_http_time().
  5629. Without this patch, If-Modified-Since would behave
  5630. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  5631. Esteban Manchado Velázques.
  5632. - Make our number-parsing functions always treat too-large values
  5633. as an error, even when those values exceed the width of the
  5634. underlying type. Previously, if the caller provided these
  5635. functions with minima or maxima set to the extreme values of the
  5636. underlying integer type, these functions would return those
  5637. values on overflow rather than treating overflow as an error.
  5638. Fixes part of bug 5786; bugfix on 0.0.9.
  5639. - If we hit the error case where routerlist_insert() replaces an
  5640. existing (old) server descriptor, make sure to remove that
  5641. server descriptor from the old_routers list. Fix related to bug
  5642. 1776. Bugfix on 0.2.2.18-alpha.
  5643. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  5644. circuits. Fixes issue 5259.
  5645. o Minor bugfixes (coding cleanup, on 0.2.2.x and earlier):
  5646. - Prevent a null-pointer dereference when receiving a data cell
  5647. for a nonexistent stream when the circuit in question has an
  5648. empty deliver window. We don't believe this is triggerable,
  5649. since we don't currently allow deliver windows to become empty,
  5650. but the logic is tricky enough that it's better to make the code
  5651. robust. Fixes bug 5541; bugfix on 0.0.2pre14.
  5652. - Fix a memory leak when trying to launch a DNS request when the
  5653. network is disabled or the nameservers are unconfigurable. Fixes
  5654. bug 5916; bugfix on Tor 0.1.2.1-alpha (for the unconfigurable
  5655. nameserver case) and on 0.2.3.9-alpha (for the DisableNetwork case).
  5656. - Don't hold a Windows file handle open for every file mapping;
  5657. the file mapping handle is sufficient. Fixes bug 5951; bugfix on
  5658. 0.1.2.1-alpha.
  5659. - Avoid O(n^2) performance characteristics when parsing a large
  5660. extrainfo cache. Fixes bug 5828; bugfix on 0.2.0.1-alpha.
  5661. - Format more doubles with %f, not %lf. Patch from grarpamp to make
  5662. Tor build correctly on older BSDs again. Fixes bug 3894; bugfix on
  5663. Tor 0.2.0.8-alpha.
  5664. - Make our replacement implementation of strtok_r() compatible with
  5665. the standard behavior of strtok_r(). Patch by nils. Fixes bug 5091;
  5666. bugfix on 0.2.2.1-alpha.
  5667. - Fix a NULL-pointer dereference on a badly formed
  5668. SETCIRCUITPURPOSE command. Found by mikeyc. Fixes bug 5796;
  5669. bugfix on 0.2.2.9-alpha.
  5670. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  5671. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  5672. - Defensively refactor rend_mid_rendezvous() so that protocol
  5673. violations and length checks happen in the beginning. Fixes
  5674. bug 5645.
  5675. - Set _WIN32_WINNT to 0x0501 consistently throughout the code, so
  5676. that IPv6 stuff will compile on MSVC, and compilation issues
  5677. will be easier to track down. Fixes bug 5861.
  5678. o Minor bugfixes (correctness, on 0.2.2.x and earlier):
  5679. - Exit nodes now correctly report EADDRINUSE and EADDRNOTAVAIL as
  5680. resource exhaustion, so that clients can adjust their load to
  5681. try other exits. Fixes bug 4710; bugfix on 0.1.0.1-rc, which
  5682. started using END_STREAM_REASON_RESOURCELIMIT.
  5683. - Don't check for whether the address we're using for outbound
  5684. connections has changed until after the outbound connection has
  5685. completed. On Windows, getsockname() doesn't succeed until the
  5686. connection is finished. Fixes bug 5374; bugfix on 0.1.1.14-alpha.
  5687. - If the configuration tries to set MyFamily on a bridge, refuse to
  5688. do so, and warn about the security implications. Fixes bug 4657;
  5689. bugfix on 0.2.0.3-alpha.
  5690. - If the client fails to set a reasonable set of ciphersuites
  5691. during its v2 handshake renegotiation, allow the renegotiation to
  5692. continue nevertheless (i.e. send all the required certificates).
  5693. Fixes bug 4591; bugfix on 0.2.0.20-rc.
  5694. - When we receive a SIGHUP and the controller __ReloadTorrcOnSIGHUP
  5695. option is set to 0 (which Vidalia version 0.2.16 now does when
  5696. a SAVECONF attempt fails), perform other actions that SIGHUP
  5697. usually causes (like reopening the logs). Fixes bug 5095; bugfix
  5698. on 0.2.1.9-alpha.
  5699. - If we fail to write a microdescriptor to the disk cache, do not
  5700. continue replacing the old microdescriptor file. Fixes bug 2954;
  5701. bugfix on 0.2.2.6-alpha.
  5702. - Exit nodes don't need to fetch certificates for authorities that
  5703. they don't recognize; only directory authorities, bridges,
  5704. and caches need to do that. Fixes part of bug 2297; bugfix on
  5705. 0.2.2.11-alpha.
  5706. - Correctly handle checking the permissions on the parent
  5707. directory of a control socket in the root directory. Bug found
  5708. by Esteban Manchado Velázquez. Fixes bug 5089; bugfix on Tor
  5709. 0.2.2.26-beta.
  5710. - When told to add a bridge with the same digest as a preexisting
  5711. bridge but a different addr:port, change the addr:port as
  5712. requested. Previously we would not notice the change. Fixes half
  5713. of bug 5603; fix on 0.2.2.26-beta.
  5714. - End AUTHCHALLENGE error messages (in the control protocol) with
  5715. a CRLF. Fixes bug 5760; bugfix on 0.2.2.36 and 0.2.3.13-alpha.
  5716. o Minor bugfixes (on 0.2.3.x):
  5717. - Turn an assertion (that the number of handshakes received as a
  5718. server is not < 1) into a warning. Fixes bug 4873; bugfix on
  5719. 0.2.3.1-alpha.
  5720. - Format IPv4 addresses correctly in ADDRMAP events. (Previously,
  5721. we had reversed them when the answer was cached.) Fixes bug
  5722. 5723; bugfix on 0.2.3.1-alpha.
  5723. - Work correctly on Linux systems with accept4 support advertised in
  5724. their headers, but without accept4 support in the kernel. Fix
  5725. by murb. Fixes bug 5762; bugfix on 0.2.3.1-alpha.
  5726. - When told to add a bridge with the same addr:port as a preexisting
  5727. bridge but a different transport, change the transport as
  5728. requested. Previously we would not notice the change. Fixes half
  5729. of bug 5603; fix on 0.2.3.2-alpha.
  5730. - Avoid a "double-reply" warning when replying to a SOCKS request
  5731. with a parse error. Patch from Fabian Keil. Fixes bug 4108;
  5732. bugfix on 0.2.3.4-alpha.
  5733. - Fix a bug where a bridge authority crashes if it has seen no
  5734. directory requests when it's time to write statistics to disk.
  5735. Fixes bug 5891; bugfix on 0.2.3.6-alpha. Also fixes bug 5508 in
  5736. a better way.
  5737. - Don't try to open non-control listeners when DisableNetwork is set.
  5738. Previously, we'd open all listeners, then immediately close them.
  5739. Fixes bug 5604; bugfix on 0.2.3.9-alpha.
  5740. - Don't abort the managed proxy protocol if the managed proxy
  5741. sends us an unrecognized line; ignore it instead. Fixes bug
  5742. 5910; bugfix on 0.2.3.9-alpha.
  5743. - Fix a compile warning in crypto.c when compiling with clang 3.1.
  5744. Fixes bug 5969, bugfix on 0.2.3.9-alpha.
  5745. - Fix a compilation issue on GNU Hurd, which doesn't have PATH_MAX.
  5746. Fixes bug 5355; bugfix on 0.2.3.11-alpha.
  5747. - Remove bogus definition of "_WIN32" from src/win32/orconfig.h, to
  5748. unbreak the MSVC build. Fixes bug 5858; bugfix on 0.2.3.12-alpha.
  5749. - Resolve numerous small warnings and build issues with MSVC. Resolves
  5750. bug 5859.
  5751. o Documentation fixes:
  5752. - Improve the manual's documentation for the NT Service command-line
  5753. options. Addresses ticket 3964.
  5754. - Clarify SessionGroup documentation slightly; resolves ticket 5437.
  5755. - Document the changes to the ORPort and DirPort options, and the
  5756. fact that {OR/Dir}ListenAddress is now unnecessary (and
  5757. therefore deprecated). Resolves ticket 5597.
  5758. o Removed files:
  5759. - Remove the torrc.bridge file: we don't use it for anything, and
  5760. it had become badly desynchronized from torrc.sample. Resolves
  5761. bug 5622.
  5762. Changes in version 0.2.2.36 - 2012-05-24
  5763. Tor 0.2.2.36 updates the addresses for two of the eight directory
  5764. authorities, fixes some potential anonymity and security issues,
  5765. and fixes several crash bugs.
  5766. Tor 0.2.1.x has reached its end-of-life. Those Tor versions have many
  5767. known flaws, and nobody should be using them. You should upgrade. If
  5768. you're using a Linux or BSD and its packages are obsolete, stop using
  5769. those packages and upgrade anyway.
  5770. o Directory authority changes:
  5771. - Change IP address for maatuska (v3 directory authority).
  5772. - Change IP address for ides (v3 directory authority), and rename
  5773. it to turtles.
  5774. o Security fixes:
  5775. - When building or running with any version of OpenSSL earlier
  5776. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  5777. versions have a bug (CVE-2011-4576) in which their block cipher
  5778. padding includes uninitialized data, potentially leaking sensitive
  5779. information to any peer with whom they make a SSLv3 connection. Tor
  5780. does not use SSL v3 by default, but a hostile client or server
  5781. could force an SSLv3 connection in order to gain information that
  5782. they shouldn't have been able to get. The best solution here is to
  5783. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  5784. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  5785. to make sure that the bug can't happen.
  5786. - Never use a bridge or a controller-supplied node as an exit, even
  5787. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  5788. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  5789. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  5790. - Only build circuits if we have a sufficient threshold of the total
  5791. descriptors that are marked in the consensus with the "Exit"
  5792. flag. This mitigates an attack proposed by wanoskarnet, in which
  5793. all of a client's bridges collude to restrict the exit nodes that
  5794. the client knows about. Fixes bug 5343.
  5795. - Provide controllers with a safer way to implement the cookie
  5796. authentication mechanism. With the old method, if another locally
  5797. running program could convince a controller that it was the Tor
  5798. process, then that program could trick the controller into telling
  5799. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  5800. authentication method uses a challenge-response approach to prevent
  5801. this attack. Fixes bug 5185; implements proposal 193.
  5802. o Major bugfixes:
  5803. - Avoid logging uninitialized data when unable to decode a hidden
  5804. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  5805. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  5806. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  5807. 0.2.1.6-alpha.
  5808. - Fix builds when the path to sed, openssl, or sha1sum contains
  5809. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  5810. on 0.2.2.1-alpha.
  5811. - Correct our replacements for the timeradd() and timersub() functions
  5812. on platforms that lack them (for example, Windows). The timersub()
  5813. function is used when expiring circuits, while timeradd() is
  5814. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  5815. bugfix on 0.2.2.24-alpha.
  5816. - Fix the SOCKET_OK test that we use to tell when socket
  5817. creation fails so that it works on Win64. Fixes part of bug 4533;
  5818. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  5819. o Minor bugfixes:
  5820. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  5821. Fixes bug 5346; bugfix on 0.0.8pre3.
  5822. - Make our number-parsing functions always treat too-large values
  5823. as an error, even when those values exceed the width of the
  5824. underlying type. Previously, if the caller provided these
  5825. functions with minima or maxima set to the extreme values of the
  5826. underlying integer type, these functions would return those
  5827. values on overflow rather than treating overflow as an error.
  5828. Fixes part of bug 5786; bugfix on 0.0.9.
  5829. - Older Linux kernels erroneously respond to strange nmap behavior
  5830. by having accept() return successfully with a zero-length
  5831. socket. When this happens, just close the connection. Previously,
  5832. we would try harder to learn the remote address: but there was
  5833. no such remote address to learn, and our method for trying to
  5834. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  5835. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  5836. - Correct parsing of certain date types in parse_http_time().
  5837. Without this patch, If-Modified-Since would behave
  5838. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  5839. Esteban Manchado Velázques.
  5840. - Change the BridgePassword feature (part of the "bridge community"
  5841. design, which is not yet implemented) to use a time-independent
  5842. comparison. The old behavior might have allowed an adversary
  5843. to use timing to guess the BridgePassword value. Fixes bug 5543;
  5844. bugfix on 0.2.0.14-alpha.
  5845. - Detect and reject certain misformed escape sequences in
  5846. configuration values. Previously, these values would cause us
  5847. to crash if received in a torrc file or over an authenticated
  5848. control port. Bug found by Esteban Manchado Velázquez, and
  5849. independently by Robert Connolly from Matta Consulting who further
  5850. noted that it allows a post-authentication heap overflow. Patch
  5851. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  5852. bugfix on 0.2.0.16-alpha.
  5853. - Fix a compile warning when using the --enable-openbsd-malloc
  5854. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  5855. - During configure, detect when we're building with clang version
  5856. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  5857. CFLAGS. clang doesn't support them yet.
  5858. - When sending an HTTP/1.1 proxy request, include a Host header.
  5859. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  5860. - Fix a NULL-pointer dereference on a badly formed SETCIRCUITPURPOSE
  5861. command. Found by mikeyc. Fixes bug 5796; bugfix on 0.2.2.9-alpha.
  5862. - If we hit the error case where routerlist_insert() replaces an
  5863. existing (old) server descriptor, make sure to remove that
  5864. server descriptor from the old_routers list. Fix related to bug
  5865. 1776. Bugfix on 0.2.2.18-alpha.
  5866. o Minor bugfixes (documentation and log messages):
  5867. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  5868. Fixes bug 4856; bugfix on Tor 0.0.6.
  5869. - Update "ClientOnly" man page entry to explain that there isn't
  5870. really any point to messing with it. Resolves ticket 5005.
  5871. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  5872. directory authority option (introduced in Tor 0.2.2.34).
  5873. - Downgrade the "We're missing a certificate" message from notice
  5874. to info: people kept mistaking it for a real problem, whereas it
  5875. is seldom the problem even when we are failing to bootstrap. Fixes
  5876. bug 5067; bugfix on 0.2.0.10-alpha.
  5877. - Correctly spell "connect" in a log message on failure to create a
  5878. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta.
  5879. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  5880. circuits. Fixes issue 5259.
  5881. o Minor features:
  5882. - Directory authorities now reject versions of Tor older than
  5883. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  5884. inclusive. These versions accounted for only a small fraction of
  5885. the Tor network, and have numerous known security issues. Resolves
  5886. issue 4788.
  5887. - Update to the May 1 2012 Maxmind GeoLite Country database.
  5888. - Feature removal:
  5889. - When sending or relaying a RELAY_EARLY cell, we used to convert
  5890. it to a RELAY cell if the connection was using the v1 link
  5891. protocol. This was a workaround for older versions of Tor, which
  5892. didn't handle RELAY_EARLY cells properly. Now that all supported
  5893. versions can handle RELAY_EARLY cells, and now that we're enforcing
  5894. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  5895. remove this workaround. Addresses bug 4786.
  5896. Changes in version 0.2.3.15-alpha - 2012-04-30
  5897. Tor 0.2.3.15-alpha fixes a variety of smaller bugs, including making
  5898. the development branch build on Windows again.
  5899. o Minor bugfixes (on 0.2.2.x and earlier):
  5900. - Make sure that there are no unhandled pending TLS errors before
  5901. reading from a TLS stream. We had checks in 0.1.0.3-rc, but
  5902. lost them in 0.1.0.5-rc when we refactored read_to_buf_tls().
  5903. Bugfix on 0.1.0.5-rc; fixes bug 4528.
  5904. - Fix an assert that directory authorities could trigger on sighup
  5905. during some configuration state transitions. We now don't treat
  5906. it as a fatal error when the new descriptor we just generated in
  5907. init_keys() isn't accepted. Fixes bug 4438; bugfix on 0.2.1.9-alpha.
  5908. - After we pick a directory mirror, we would refuse to use it if
  5909. it's in our ExcludeExitNodes list, resulting in mysterious failures
  5910. to bootstrap for people who just wanted to avoid exiting from
  5911. certain locations. Fixes bug 5623; bugfix on 0.2.2.25-alpha.
  5912. - When building with --enable-static-tor on OpenBSD, do not
  5913. erroneously attempt to link -lrt. Fixes bug 5103.
  5914. o Minor bugfixes (on 0.2.3.x):
  5915. - When Tor is built with kernel headers from a recent (last few
  5916. years) Linux kernel, do not fail to run on older (pre-2.6.28
  5917. Linux kernels). Fixes bug 5112; bugfix on 0.2.3.1-alpha.
  5918. - Fix cross-compilation issues with mingw. Bugfixes on 0.2.3.6-alpha
  5919. and 0.2.3.12-alpha.
  5920. - Fix compilation with miniupnpc version 1.6; patch from
  5921. Anthony G. Basile. Fixes bug 5434; bugfix on 0.2.3.12-alpha.
  5922. - Fix compilation with MSVC, which had defined MS_WINDOWS. Bugfix
  5923. on 0.2.3.13-alpha; found and fixed by Gisle Vanem.
  5924. - Fix compilation on platforms without unistd.h, or where environ
  5925. is defined in stdlib.h. Fixes bug 5704; bugfix on 0.2.3.13-alpha.
  5926. o Minor features:
  5927. - Directory authorities are now a little more lenient at accepting
  5928. older router descriptors, or newer router descriptors that don't
  5929. make big changes. This should help ameliorate past and future
  5930. issues where routers think they have uploaded valid descriptors,
  5931. but the authorities don't think so. Fix for ticket 2479.
  5932. - Make the code that clients use to detect an address change be
  5933. IPv6-aware, so that it won't fill clients' logs with error
  5934. messages when trying to get the IPv4 address of an IPv6
  5935. connection. Implements ticket 5537.
  5936. o Removed features:
  5937. - Remove the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays option;
  5938. authorities needed to use it for a while to keep the network working
  5939. as people upgraded to 0.2.1.31, 0.2.2.34, or 0.2.3.6-alpha, but
  5940. that was six months ago. As of now, it should no longer be needed
  5941. or used.
  5942. Changes in version 0.2.3.14-alpha - 2012-04-23
  5943. Tor 0.2.3.14-alpha fixes yet more bugs to get us closer to a release
  5944. candidate. It also dramatically speeds up AES: fast relays should
  5945. consider switching to the newer OpenSSL library.
  5946. o Directory authority changes:
  5947. - Change IP address for ides (v3 directory authority), and rename
  5948. it to turtles.
  5949. o Major bugfixes:
  5950. - Avoid logging uninitialized data when unable to decode a hidden
  5951. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  5952. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  5953. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  5954. 0.2.1.6-alpha.
  5955. - If authorities are unable to get a v2 consensus document from other
  5956. directory authorities, they no longer fall back to fetching
  5957. them from regular directory caches. Fixes bug 5635; bugfix on
  5958. 0.2.2.26-beta, where routers stopped downloading v2 consensus
  5959. documents entirely.
  5960. - When we start a Tor client with a normal consensus already cached,
  5961. be willing to download a microdescriptor consensus. Fixes bug 4011;
  5962. fix on 0.2.3.1-alpha.
  5963. o Major features (performance):
  5964. - When built to use OpenSSL 1.0.1, and built for an x86 or x86_64
  5965. instruction set, take advantage of OpenSSL's AESNI, bitsliced, or
  5966. vectorized AES implementations as appropriate. These can be much,
  5967. much faster than other AES implementations.
  5968. o Minor bugfixes (0.2.2.x and earlier):
  5969. - Don't launch more than 10 service-side introduction-point circuits
  5970. for a hidden service in five minutes. Previously, we would consider
  5971. launching more introduction-point circuits if at least one second
  5972. had passed without any introduction-point circuits failing. Fixes
  5973. bug 4607; bugfix on 0.0.7pre1.
  5974. - Change the BridgePassword feature (part of the "bridge community"
  5975. design, which is not yet implemented) to use a time-independent
  5976. comparison. The old behavior might have allowed an adversary
  5977. to use timing to guess the BridgePassword value. Fixes bug 5543;
  5978. bugfix on 0.2.0.14-alpha.
  5979. - Enforce correct return behavior of tor_vsscanf() when the '%%'
  5980. pattern is used. Fixes bug 5558. Bugfix on 0.2.1.13.
  5981. - When sending an HTTP/1.1 proxy request, include a Host header.
  5982. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  5983. - Don't log that we have "decided to publish new relay descriptor"
  5984. unless we are actually publishing a descriptor. Fixes bug 3942;
  5985. bugfix on 0.2.2.28-beta.
  5986. o Minor bugfixes (0.2.3.x):
  5987. - Fix a bug where a bridge authority crashes (on a failed assert)
  5988. if it has seen no directory requests when it's time to write
  5989. statistics to disk. Fixes bug 5508. Bugfix on 0.2.3.6-alpha.
  5990. - Fix bug stomping on ORPort option NoListen and ignoring option
  5991. NoAdvertise. Fixes bug 5151; bugfix on 0.2.3.9-alpha.
  5992. - In the testsuite, provide a large enough buffer in the tor_sscanf
  5993. unit test. Otherwise we'd overrun that buffer and crash during
  5994. the unit tests. Found by weasel. Fixes bug 5449; bugfix on
  5995. 0.2.3.12-alpha.
  5996. - Make sure we create the keys directory if it doesn't exist and we're
  5997. about to store the dynamic Diffie-Hellman parameters. Fixes bug
  5998. 5572; bugfix on 0.2.3.13-alpha.
  5999. - Fix a small memory leak when trying to decode incorrect base16
  6000. authenticator during SAFECOOKIE authentication. Found by
  6001. Coverity Scan. Fixes CID 507. Bugfix on 0.2.3.13-alpha.
  6002. o Minor features:
  6003. - Add more information to a log statement that might help track down
  6004. bug 4091. If you're seeing "Bug: tor_addr_is_internal() called with a
  6005. non-IP address" messages (or any Bug messages, for that matter!),
  6006. please let us know about it.
  6007. - Relays now understand an IPv6 address when they get one from a
  6008. directory server. Resolves ticket 4875.
  6009. - Resolve IPv6 addresses in bridge and entry statistics to country
  6010. code "??" which means we at least count them. Resolves ticket 5053;
  6011. improves on 0.2.3.9-alpha.
  6012. - Update to the April 3 2012 Maxmind GeoLite Country database.
  6013. - Begin a doc/state-contents.txt file to explain the contents of
  6014. the Tor state file. Fixes bug 2987.
  6015. o Default torrc changes:
  6016. - Stop listing "socksport 9050" in torrc.sample. We open a socks
  6017. port on 9050 by default anyway, so this should not change anything
  6018. in practice.
  6019. - Stop mentioning the deprecated *ListenAddress options in
  6020. torrc.sample. Fixes bug 5438.
  6021. - Document unit of bandwidth related options in sample torrc.
  6022. Fixes bug 5621.
  6023. o Removed features:
  6024. - The "torify" script no longer supports the "tsocks" socksifier
  6025. tool, since tsocks doesn't support DNS and UDP right for Tor.
  6026. Everyone should be using torsocks instead. Fixes bugs 3530 and
  6027. 5180. Based on a patch by "ugh".
  6028. o Code refactoring:
  6029. - Change the symmetric cipher interface so that creating and
  6030. initializing a stream cipher are no longer separate functions.
  6031. - Remove all internal support for unpadded RSA. We never used it, and
  6032. it would be a bad idea to start.
  6033. Changes in version 0.2.3.13-alpha - 2012-03-26
  6034. Tor 0.2.3.13-alpha fixes a variety of stability and correctness bugs
  6035. in managed pluggable transports, as well as providing other cleanups
  6036. that get us closer to a release candidate.
  6037. o Directory authority changes:
  6038. - Change IP address for maatuska (v3 directory authority).
  6039. o Security fixes:
  6040. - Provide controllers with a safer way to implement the cookie
  6041. authentication mechanism. With the old method, if another locally
  6042. running program could convince a controller that it was the Tor
  6043. process, then that program could trick the controller into telling
  6044. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  6045. authentication method uses a challenge-response approach to prevent
  6046. this attack. Fixes bug 5185, implements proposal 193.
  6047. - Never use a bridge or a controller-supplied node as an exit, even
  6048. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  6049. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  6050. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  6051. - Only build circuits if we have a sufficient threshold of the total
  6052. descriptors that are marked in the consensus with the "Exit"
  6053. flag. This mitigates an attack proposed by wanoskarnet, in which
  6054. all of a client's bridges collude to restrict the exit nodes that
  6055. the client knows about. Fixes bug 5343.
  6056. o Major bugfixes (on Tor 0.2.3.x):
  6057. - Avoid an assert when managed proxies like obfsproxy are configured,
  6058. and we receive HUP signals or setconf attempts too rapidly. This
  6059. situation happens most commonly when Vidalia tries to attach to
  6060. Tor or tries to configure the Tor it's attached to. Fixes bug 5084;
  6061. bugfix on 0.2.3.6-alpha.
  6062. - Fix a relay-side pluggable transports bug where managed proxies were
  6063. unreachable from the Internet, because Tor asked them to bind on
  6064. localhost. Fixes bug 4725; bugfix on 0.2.3.9-alpha.
  6065. - Stop discarding command-line arguments when TestingTorNetwork
  6066. is set. Discovered by Kevin Bauer. Fixes bug 5373; bugfix on
  6067. 0.2.3.9-alpha, where task 4552 added support for two layers of
  6068. torrc files.
  6069. - Resume allowing the unit tests to run in gdb. This was accidentally
  6070. made impossible when the DisableDebuggerAttachment option was
  6071. introduced. Fixes bug 5448; bugfix on 0.2.3.9-alpha.
  6072. - Resume building with nat-pmp support. Fixes bug 4955; bugfix on
  6073. 0.2.3.11-alpha. Reported by Anthony G. Basile.
  6074. o Minor bugfixes (on 0.2.2.x and earlier):
  6075. - Ensure we don't cannibalize circuits that are longer than three hops
  6076. already, so we don't end up making circuits with 5 or more
  6077. hops. Patch contributed by wanoskarnet. Fixes bug 5231; bugfix on
  6078. 0.1.0.1-rc which introduced cannibalization.
  6079. - Detect and reject certain misformed escape sequences in
  6080. configuration values. Previously, these values would cause us
  6081. to crash if received in a torrc file or over an authenticated
  6082. control port. Bug found by Esteban Manchado Velázquez, and
  6083. independently by Robert Connolly from Matta Consulting who further
  6084. noted that it allows a post-authentication heap overflow. Patch
  6085. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  6086. bugfix on 0.2.0.16-alpha.
  6087. - Fix a compile warning when using the --enable-openbsd-malloc
  6088. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  6089. - Directory caches no longer refuse to clean out descriptors because
  6090. of missing v2 networkstatus documents, unless they're configured
  6091. to retrieve v2 networkstatus documents. Fixes bug 4838; bugfix on
  6092. 0.2.2.26-beta. Patch by Daniel Bryg.
  6093. - Update to the latest version of the tinytest unit testing framework.
  6094. This includes a couple of bugfixes that can be relevant for
  6095. running forked unit tests on Windows, and removes all reserved
  6096. identifiers.
  6097. o Minor bugfixes (on 0.2.3.x):
  6098. - On a failed pipe() call, don't leak file descriptors. Fixes bug
  6099. 4296; bugfix on 0.2.3.1-alpha.
  6100. - Spec conformance: on a v3 handshake, do not send a NETINFO cell
  6101. until after we have received a CERTS cell. Fixes bug 4361; bugfix
  6102. on 0.2.3.6-alpha. Patch by "frosty".
  6103. - When binding to an IPv6 address, set the IPV6_V6ONLY socket
  6104. option, so that the IP stack doesn't decide to use it for IPv4
  6105. too. Fixes bug 4760; bugfix on 0.2.3.9-alpha.
  6106. - Ensure that variables set in Tor's environment cannot override
  6107. environment variables that Tor passes to a managed
  6108. pluggable-transport proxy. Previously, Tor would pass every
  6109. variable in its environment to managed proxies along with the new
  6110. ones, in such a way that on many operating systems, the inherited
  6111. environment variables would override those which Tor tried to
  6112. explicitly set. Bugfix on 0.2.3.12-alpha for most Unixoid systems;
  6113. bugfix on 0.2.3.9-alpha for Windows.
  6114. o Minor features:
  6115. - A wide variety of new unit tests by Esteban Manchado Velázquez.
  6116. - Shorten links in the tor-exit-notice file. Patch by Christian Kujau.
  6117. - Update to the March 6 2012 Maxmind GeoLite Country database.
  6118. Changes in version 0.2.3.12-alpha - 2012-02-13
  6119. Tor 0.2.3.12-alpha lets fast exit relays scale better, allows clients
  6120. to use bridges that run Tor 0.2.2.x, and resolves several big bugs
  6121. when Tor is configured to use a pluggable transport like obfsproxy.
  6122. o Major bugfixes:
  6123. - Fix builds when the path to sed, openssl, or sha1sum contains
  6124. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  6125. on 0.2.2.1-alpha.
  6126. - Set the SO_REUSEADDR socket option before we call bind() on outgoing
  6127. connections. This change should allow busy exit relays to stop
  6128. running out of available sockets as quickly. Fixes bug 4950;
  6129. bugfix on 0.2.2.26-beta.
  6130. - Allow 0.2.3.x clients to use 0.2.2.x bridges. Previously the client
  6131. would ask the bridge for microdescriptors, which are only supported
  6132. in 0.2.3.x, and then fail to bootstrap when it didn't get the
  6133. answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha.
  6134. - Properly set up obfsproxy's environment when in managed mode. The
  6135. Tor Browser Bundle needs LD_LIBRARY_PATH to be passed to obfsproxy,
  6136. and when you run your Tor as a daemon, there's no HOME. Fixes bugs
  6137. 5076 and 5082; bugfix on 0.2.3.6-alpha.
  6138. o Minor features:
  6139. - Use the dead_strip option when building Tor on OS X. This reduces
  6140. binary size by almost 19% when linking openssl and libevent
  6141. statically, which we do for Tor Browser Bundle.
  6142. - Fix broken URLs in the sample torrc file, and tell readers about
  6143. the OutboundBindAddress, ExitPolicyRejectPrivate, and
  6144. PublishServerDescriptor options. Addresses bug 4652.
  6145. - Update to the February 7 2012 Maxmind GeoLite Country database.
  6146. o Minor bugfixes:
  6147. - Downgrade the "We're missing a certificate" message from notice
  6148. to info: people kept mistaking it for a real problem, whereas it
  6149. is seldom the problem even when we are failing to bootstrap. Fixes
  6150. bug 5067; bugfix on 0.2.0.10-alpha.
  6151. - Don't put "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200" in a
  6152. managed pluggable transport server proxy's environment.
  6153. Previously, we would put it there, even though Tor doesn't
  6154. implement an 'extended server port' yet, and even though Tor
  6155. almost certainly isn't listening at that address. For now, we set
  6156. it to an empty string to avoid crashing older obfsproxies. Bugfix
  6157. on 0.2.3.6-alpha.
  6158. - Log the heartbeat message every HeartbeatPeriod seconds, not every
  6159. HeartbeatPeriod + 1 seconds. Fixes bug 4942; bugfix on
  6160. 0.2.3.1-alpha. Bug reported by Scott Bennett.
  6161. - Calculate absolute paths correctly on Windows. Fixes bug 4973;
  6162. bugfix on 0.2.3.11-alpha.
  6163. - Update "ClientOnly" man page entry to explain that there isn't
  6164. really any point to messing with it. Resolves ticket 5005.
  6165. - Use the correct CVE number for CVE-2011-4576 in our comments and
  6166. log messages. Found by "fermenthor". Resolves bug 5066; bugfix on
  6167. 0.2.3.11-alpha.
  6168. o Code simplifications and refactoring:
  6169. - Use the _WIN32 macro throughout our code to detect Windows.
  6170. (Previously we had used the obsolete 'WIN32' and the idiosyncratic
  6171. 'MS_WINDOWS'.)
  6172. Changes in version 0.2.3.11-alpha - 2012-01-22
  6173. Tor 0.2.3.11-alpha marks feature-freeze for the 0.2.3 tree. It deploys
  6174. the last step of the plan to limit maximum circuit length, includes
  6175. a wide variety of hidden service performance and correctness fixes,
  6176. works around an OpenSSL security flaw if your distro is too stubborn
  6177. to upgrade, and fixes a bunch of smaller issues.
  6178. o Major features:
  6179. - Now that Tor 0.2.0.x is completely deprecated, enable the final
  6180. part of "Proposal 110: Avoiding infinite length circuits" by
  6181. refusing all circuit-extend requests that do not use a relay_early
  6182. cell. This change helps Tor resist a class of denial-of-service
  6183. attacks by limiting the maximum circuit length.
  6184. - Adjust the number of introduction points that a hidden service
  6185. will try to maintain based on how long its introduction points
  6186. remain in use and how many introductions they handle. Fixes
  6187. part of bug 3825.
  6188. - Try to use system facilities for enumerating local interface
  6189. addresses, before falling back to our old approach (which was
  6190. binding a UDP socket, and calling getsockname() on it). That
  6191. approach was scaring OS X users whose draconian firewall
  6192. software warned about binding to UDP sockets, regardless of
  6193. whether packets were sent. Now we try to use getifaddrs(),
  6194. SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
  6195. system supports. Resolves ticket 1827.
  6196. o Major security workaround:
  6197. - When building or running with any version of OpenSSL earlier
  6198. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  6199. versions have a bug (CVE-2011-4576) in which their block cipher
  6200. padding includes uninitialized data, potentially leaking sensitive
  6201. information to any peer with whom they make a SSLv3 connection. Tor
  6202. does not use SSL v3 by default, but a hostile client or server
  6203. could force an SSLv3 connection in order to gain information that
  6204. they shouldn't have been able to get. The best solution here is to
  6205. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  6206. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  6207. to make sure that the bug can't happen.
  6208. o Major bugfixes:
  6209. - Fix the SOCKET_OK test that we use to tell when socket
  6210. creation fails so that it works on Win64. Fixes part of bug 4533;
  6211. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  6212. - Correct our replacements for the timeradd() and timersub() functions
  6213. on platforms that lack them (for example, Windows). The timersub()
  6214. function is used when expiring circuits, while timeradd() is
  6215. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  6216. bugfix on 0.2.2.24-alpha and 0.2.3.1-alpha.
  6217. - Do not use OpenSSL 1.0.0's counter mode: it has a critical bug
  6218. that was fixed in OpenSSL 1.0.0a. We test for the counter mode
  6219. bug at runtime, not compile time, because some distributions hack
  6220. their OpenSSL to mis-report its version. Fixes bug 4779; bugfix
  6221. on 0.2.3.9-alpha. Found by Pascal.
  6222. o Minor features (controller):
  6223. - Use absolute path names when reporting the torrc filename in the
  6224. control protocol, so a controller can more easily find the torrc
  6225. file. Resolves bug 1101.
  6226. - Extend the control protocol to report flags that control a circuit's
  6227. path selection in CIRC events and in replies to 'GETINFO
  6228. circuit-status'. Implements part of ticket 2411.
  6229. - Extend the control protocol to report the hidden service address
  6230. and current state of a hidden-service-related circuit in CIRC
  6231. events and in replies to 'GETINFO circuit-status'. Implements part
  6232. of ticket 2411.
  6233. - When reporting the path to the cookie file to the controller,
  6234. give an absolute path. Resolves ticket 4881.
  6235. - Allow controllers to request an event notification whenever a
  6236. circuit is cannibalized or its purpose is changed. Implements
  6237. part of ticket 3457.
  6238. - Include the creation time of a circuit in CIRC and CIRC2
  6239. control-port events and the list produced by the 'GETINFO
  6240. circuit-status' control-port command.
  6241. o Minor features (directory authorities):
  6242. - Directory authorities now reject versions of Tor older than
  6243. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  6244. inclusive. These versions accounted for only a small fraction of
  6245. the Tor network, and have numerous known security issues. Resolves
  6246. issue 4788.
  6247. - Authority operators can now vote for all relays in a given
  6248. set of countries to be BadDir/BadExit/Invalid/Rejected.
  6249. - Provide two consensus parameters (FastFlagMinThreshold and
  6250. FastFlagMaxThreshold) to control the range of allowable bandwidths
  6251. for the Fast directory flag. These allow authorities to run
  6252. experiments on appropriate requirements for being a "Fast" node.
  6253. The AuthDirFastGuarantee config value still applies. Implements
  6254. ticket 3946.
  6255. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  6256. directory authority option (introduced in Tor 0.2.2.34).
  6257. o Minor features (other):
  6258. - Don't disable the DirPort when we cannot exceed our AccountingMax
  6259. limit during this interval because the effective bandwidthrate is
  6260. low enough. This is useful in a situation where AccountMax is only
  6261. used as an additional safeguard or to provide statistics.
  6262. - Prepend an informative header to generated dynamic_dh_params files.
  6263. - If EntryNodes are given, but UseEntryGuards is set to 0, warn that
  6264. EntryNodes will have no effect. Resolves issue 2571.
  6265. - Log more useful messages when we fail to disable debugger
  6266. attachment.
  6267. - Log which authority we're missing votes from when we go to fetch
  6268. them from the other auths.
  6269. - Log (at debug level) whenever a circuit's purpose is changed.
  6270. - Add missing documentation for the MaxClientCircuitsPending,
  6271. UseMicrodescriptors, UserspaceIOCPBuffers, and
  6272. _UseFilteringSSLBufferevents options, all introduced during
  6273. the 0.2.3.x series.
  6274. - Update to the January 3 2012 Maxmind GeoLite Country database.
  6275. o Minor bugfixes (hidden services):
  6276. - Don't close hidden service client circuits which have almost
  6277. finished connecting to their destination when they reach
  6278. the normal circuit-build timeout. Previously, we would close
  6279. introduction circuits which are waiting for an acknowledgement
  6280. from the introduction point, and rendezvous circuits which have
  6281. been specified in an INTRODUCE1 cell sent to a hidden service,
  6282. after the normal CBT. Now, we mark them as 'timed out', and launch
  6283. another rendezvous attempt in parallel. This behavior change can
  6284. be disabled using the new CloseHSClientCircuitsImmediatelyOnTimeout
  6285. option. Fixes part of bug 1297; bugfix on 0.2.2.2-alpha.
  6286. - Don't close hidden-service-side rendezvous circuits when they
  6287. reach the normal circuit-build timeout. This behavior change can
  6288. be disabled using the new
  6289. CloseHSServiceRendCircuitsImmediatelyOnTimeout option. Fixes the
  6290. remaining part of bug 1297; bugfix on 0.2.2.2-alpha.
  6291. - Make sure we never mark the wrong rendezvous circuit as having
  6292. had its introduction cell acknowleged by the introduction-point
  6293. relay. Previously, when we received an INTRODUCE_ACK cell on a
  6294. client-side hidden-service introduction circuit, we might have
  6295. marked a rendezvous circuit other than the one we specified in
  6296. the INTRODUCE1 cell as INTRO_ACKED, which would have produced
  6297. a warning message and interfered with the hidden service
  6298. connection-establishment process. Fixes bug 4759; bugfix on
  6299. 0.2.3.3-alpha, when we added the stream-isolation feature which
  6300. might cause Tor to open multiple rendezvous circuits for the same
  6301. hidden service.
  6302. - Don't trigger an assertion failure when we mark a new client-side
  6303. hidden-service introduction circuit for close during the process
  6304. of creating it. Fixes bug 4796; bugfix on 0.2.3.6-alpha. Reported
  6305. by murb.
  6306. o Minor bugfixes (log messages):
  6307. - Correctly spell "connect" in a log message on failure to create a
  6308. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta and
  6309. 0.2.3.2-alpha.
  6310. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  6311. Fixes bug 4856; bugfix on Tor 0.0.6.
  6312. - Fix the log message describing how we work around discovering
  6313. that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
  6314. 4837; bugfix on 0.2.2.9-alpha.
  6315. - When logging about a disallowed .exit name, do not also call it
  6316. an "invalid onion address". Fixes bug 3325; bugfix on 0.2.2.9-alpha.
  6317. o Minor bugfixes (build fixes):
  6318. - During configure, detect when we're building with clang version
  6319. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  6320. CFLAGS. clang doesn't support them yet.
  6321. - During configure, search for library containing cos function as
  6322. libm lives in libcore on some platforms (BeOS/Haiku). Linking
  6323. against libm was hard-coded before. Fixes the first part of bug
  6324. 4727; bugfix on 0.2.2.2-alpha. Patch and analysis by Martin Hebnes
  6325. Pedersen.
  6326. - Detect attempts to build Tor on (as yet hypothetical) versions
  6327. of Windows where sizeof(intptr_t) != sizeof(SOCKET). Partial
  6328. fix for bug 4533. Bugfix on 0.2.2.28-beta.
  6329. - Preprocessor directives should not be put inside the arguments
  6330. of a macro. This would break compilation with GCC releases prior
  6331. to version 3.3. We would never recommend such an old GCC version,
  6332. but it is apparently required for binary compatibility on some
  6333. platforms (namely, certain builds of Haiku). Fixes the other part
  6334. of bug 4727; bugfix on 0.2.3.3-alpha. Patch and analysis by Martin
  6335. Hebnes Pedersen.
  6336. o Minor bugfixes (other):
  6337. - Older Linux kernels erroneously respond to strange nmap behavior
  6338. by having accept() return successfully with a zero-length
  6339. socket. When this happens, just close the connection. Previously,
  6340. we would try harder to learn the remote address: but there was
  6341. no such remote address to learn, and our method for trying to
  6342. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  6343. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  6344. - Fix null-pointer access that could occur if TLS allocation failed.
  6345. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un". This was
  6346. erroneously listed as fixed in 0.2.3.9-alpha, but the fix had
  6347. accidentally been reverted.
  6348. - Fix our implementation of crypto_random_hostname() so it can't
  6349. overflow on ridiculously large inputs. (No Tor version has ever
  6350. provided this kind of bad inputs, but let's be correct in depth.)
  6351. Fixes bug 4413; bugfix on 0.2.2.9-alpha. Fix by Stephen Palmateer.
  6352. - Find more places in the code that should have been testing for
  6353. invalid sockets using the SOCKET_OK macro. Required for a fix
  6354. for bug 4533. Bugfix on 0.2.2.28-beta.
  6355. - Fix an assertion failure when, while running with bufferevents, a
  6356. connection finishes connecting after it is marked for close, but
  6357. before it is closed. Fixes bug 4697; bugfix on 0.2.3.1-alpha.
  6358. - test_util_spawn_background_ok() hardcoded the expected value
  6359. for ENOENT to 2. This isn't portable as error numbers are
  6360. platform specific, and particularly the hurd has ENOENT at
  6361. 0x40000002. Construct expected string at runtime, using the correct
  6362. value for ENOENT. Fixes bug 4733; bugfix on 0.2.3.1-alpha.
  6363. - Reject attempts to disable DisableDebuggerAttachment while Tor is
  6364. running. Fixes bug 4650; bugfix on 0.2.3.9-alpha.
  6365. - Use an appropriate-width type for sockets in tor-fw-helper on
  6366. win64. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
  6367. o Feature removal:
  6368. - When sending or relaying a RELAY_EARLY cell, we used to convert
  6369. it to a RELAY cell if the connection was using the v1 link
  6370. protocol. This was a workaround for older versions of Tor, which
  6371. didn't handle RELAY_EARLY cells properly. Now that all supported
  6372. versions can handle RELAY_EARLY cells, and now that we're enforcing
  6373. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  6374. remove this workaround. Addresses bug 4786.
  6375. o Code simplifications and refactoring:
  6376. - Use OpenSSL's built-in SSL_state_string_long() instead of our
  6377. own homebrewed ssl_state_to_string() replacement. Patch from
  6378. Emile Snyder. Fixes bug 4653.
  6379. - Use macros to indicate OpenSSL versions, so we don't need to worry
  6380. about accidental hexadecimal bit shifts.
  6381. - Remove some workaround code for OpenSSL 0.9.6 (which is no longer
  6382. supported).
  6383. - Convert more instances of tor_snprintf+tor_strdup into tor_asprintf.
  6384. - Use the smartlist_add_asprintf() alias more consistently.
  6385. - Use a TOR_INVALID_SOCKET macro when initializing a socket to an
  6386. invalid value, rather than just -1.
  6387. - Rename a handful of old identifiers, mostly related to crypto
  6388. structures and crypto functions. By convention, our "create an
  6389. object" functions are called "type_new()", our "free an object"
  6390. functions are called "type_free()", and our types indicate that
  6391. they are types only with a final "_t". But a handful of older
  6392. types and functions broke these rules, with function names like
  6393. "type_create" or "subsystem_op_type", or with type names like
  6394. type_env_t.
  6395. Changes in version 0.2.3.10-alpha - 2011-12-16
  6396. Tor 0.2.3.10-alpha fixes a critical heap-overflow security issue in
  6397. Tor's buffers code. Absolutely everybody should upgrade.
  6398. The bug relied on an incorrect calculation when making data continuous
  6399. in one of our IO buffers, if the first chunk of the buffer was
  6400. misaligned by just the wrong amount. The miscalculation would allow an
  6401. attacker to overflow a piece of heap-allocated memory. To mount this
  6402. attack, the attacker would need to either open a SOCKS connection to
  6403. Tor's SocksPort (usually restricted to localhost), or target a Tor
  6404. instance configured to make its connections through a SOCKS proxy
  6405. (which Tor does not do by default).
  6406. Good security practice requires that all heap-overflow bugs should be
  6407. presumed to be exploitable until proven otherwise, so we are treating
  6408. this as a potential code execution attack. Please upgrade immediately!
  6409. This bug does not affect bufferevents-based builds of Tor. Special
  6410. thanks to "Vektor" for reporting this issue to us!
  6411. This release also contains a few minor bugfixes for issues discovered
  6412. in 0.2.3.9-alpha.
  6413. o Major bugfixes:
  6414. - Fix a heap overflow bug that could occur when trying to pull
  6415. data into the first chunk of a buffer, when that chunk had
  6416. already had some data drained from it. Fixes CVE-2011-2778;
  6417. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  6418. o Minor bugfixes:
  6419. - If we can't attach streams to a rendezvous circuit when we
  6420. finish connecting to a hidden service, clear the rendezvous
  6421. circuit's stream-isolation state and try to attach streams
  6422. again. Previously, we cleared rendezvous circuits' isolation
  6423. state either too early (if they were freshly built) or not at all
  6424. (if they had been built earlier and were cannibalized). Bugfix on
  6425. 0.2.3.3-alpha; fixes bug 4655.
  6426. - Fix compilation of the libnatpmp helper on non-Windows. Bugfix on
  6427. 0.2.3.9-alpha; fixes bug 4691. Reported by Anthony G. Basile.
  6428. - Fix an assertion failure when a relay with accounting enabled
  6429. starts up while dormant. Fixes bug 4702; bugfix on 0.2.3.9-alpha.
  6430. o Minor features:
  6431. - Update to the December 6 2011 Maxmind GeoLite Country database.
  6432. Changes in version 0.2.2.35 - 2011-12-16
  6433. Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
  6434. buffers code. Absolutely everybody should upgrade.
  6435. The bug relied on an incorrect calculation when making data continuous
  6436. in one of our IO buffers, if the first chunk of the buffer was
  6437. misaligned by just the wrong amount. The miscalculation would allow an
  6438. attacker to overflow a piece of heap-allocated memory. To mount this
  6439. attack, the attacker would need to either open a SOCKS connection to
  6440. Tor's SocksPort (usually restricted to localhost), or target a Tor
  6441. instance configured to make its connections through a SOCKS proxy
  6442. (which Tor does not do by default).
  6443. Good security practice requires that all heap-overflow bugs should be
  6444. presumed to be exploitable until proven otherwise, so we are treating
  6445. this as a potential code execution attack. Please upgrade immediately!
  6446. This bug does not affect bufferevents-based builds of Tor. Special
  6447. thanks to "Vektor" for reporting this issue to us!
  6448. Tor 0.2.2.35 also fixes several bugs in previous versions, including
  6449. crash bugs for unusual configurations, and a long-term bug that
  6450. would prevent Tor from starting on Windows machines with draconian
  6451. AV software.
  6452. With this release, we remind everyone that 0.2.0.x has reached its
  6453. formal end-of-life. Those Tor versions have many known flaws, and
  6454. nobody should be using them. You should upgrade -- ideally to the
  6455. 0.2.2.x series. If you're using a Linux or BSD and its packages are
  6456. obsolete, stop using those packages and upgrade anyway.
  6457. The Tor 0.2.1.x series is also approaching its end-of-life: it will no
  6458. longer receive support after some time in early 2012.
  6459. o Major bugfixes:
  6460. - Fix a heap overflow bug that could occur when trying to pull
  6461. data into the first chunk of a buffer, when that chunk had
  6462. already had some data drained from it. Fixes CVE-2011-2778;
  6463. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  6464. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  6465. that it doesn't attempt to allocate a socketpair. This could cause
  6466. some problems on Windows systems with overzealous firewalls. Fix for
  6467. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  6468. 2.0.15-stable.
  6469. - If we mark an OR connection for close based on a cell we process,
  6470. don't process any further cells on it. We already avoid further
  6471. reads on marked-for-close connections, but now we also discard the
  6472. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  6473. which was the first version where we might mark a connection for
  6474. close based on processing a cell on it.
  6475. - Correctly sanity-check that we don't underflow on a memory
  6476. allocation (and then assert) for hidden service introduction
  6477. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  6478. bugfix on 0.2.1.5-alpha.
  6479. - Fix a memory leak when we check whether a hidden service
  6480. descriptor has any usable introduction points left. Fixes bug
  6481. 4424. Bugfix on 0.2.2.25-alpha.
  6482. - Don't crash when we're running as a relay and don't have a GeoIP
  6483. file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
  6484. we've had in the 0.2.3.x branch already.
  6485. - When running as a client, do not print a misleading (and plain
  6486. wrong) log message that we're collecting "directory request"
  6487. statistics: clients don't collect statistics. Also don't create a
  6488. useless (because empty) stats file in the stats/ directory. Fixes
  6489. bug 4353; bugfix on 0.2.2.34.
  6490. o Minor bugfixes:
  6491. - Detect failure to initialize Libevent. This fix provides better
  6492. detection for future instances of bug 4457.
  6493. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  6494. function. This was eating up hideously large amounts of time on some
  6495. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  6496. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  6497. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  6498. Mansour Moufid.
  6499. - Don't warn about unused log_mutex in log.c when building with
  6500. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  6501. 0.1.0.6-rc which introduced --disable-threads.
  6502. - When configuring, starting, or stopping an NT service, stop
  6503. immediately after the service configuration attempt has succeeded
  6504. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  6505. - When sending a NETINFO cell, include the original address
  6506. received for the other side, not its canonical address. Found
  6507. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  6508. - Fix a typo in a hibernation-related log message. Fixes bug 4331;
  6509. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  6510. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  6511. occurred when a client tried to fetch a descriptor for a bridge
  6512. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  6513. - Backport fixes for a pair of compilation warnings on Windows.
  6514. Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
  6515. - If we had ever tried to call tor_addr_to_str on an address of
  6516. unknown type, we would have done a strdup on an uninitialized
  6517. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  6518. Reported by "troll_un".
  6519. - Correctly detect and handle transient lookup failures from
  6520. tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  6521. Reported by "troll_un".
  6522. - Fix null-pointer access that could occur if TLS allocation failed.
  6523. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  6524. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  6525. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  6526. o Minor features:
  6527. - Add two new config options for directory authorities:
  6528. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  6529. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  6530. that is always sufficient to satisfy the bandwidth requirement for
  6531. the Guard flag. Now it will be easier for researchers to simulate
  6532. Tor networks with different values. Resolves ticket 4484.
  6533. - When Tor ignores a hidden service specified in its configuration,
  6534. include the hidden service's directory in the warning message.
  6535. Previously, we would only tell the user that some hidden service
  6536. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  6537. - Update to the December 6 2011 Maxmind GeoLite Country database.
  6538. o Packaging changes:
  6539. - Make it easier to automate expert package builds on Windows,
  6540. by removing an absolute path from makensis.exe command.
  6541. Changes in version 0.2.1.32 - 2011-12-16
  6542. Tor 0.2.1.32 backports important security and privacy fixes for
  6543. oldstable. This release is intended only for package maintainers and
  6544. others who cannot use the 0.2.2 stable series. All others should be
  6545. using Tor 0.2.2.x or newer.
  6546. The Tor 0.2.1.x series will reach formal end-of-life some time in
  6547. early 2012; we will stop releasing patches for it then.
  6548. o Major bugfixes (also included in 0.2.2.x):
  6549. - Correctly sanity-check that we don't underflow on a memory
  6550. allocation (and then assert) for hidden service introduction
  6551. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  6552. bugfix on 0.2.1.5-alpha.
  6553. - Fix a heap overflow bug that could occur when trying to pull
  6554. data into the first chunk of a buffer, when that chunk had
  6555. already had some data drained from it. Fixes CVE-2011-2778;
  6556. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  6557. o Minor features:
  6558. - Update to the December 6 2011 Maxmind GeoLite Country database.
  6559. Changes in version 0.2.3.9-alpha - 2011-12-08
  6560. Tor 0.2.3.9-alpha introduces initial IPv6 support for bridges, adds
  6561. a "DisableNetwork" security feature that bundles can use to avoid
  6562. touching the network until bridges are configured, moves forward on
  6563. the pluggable transport design, fixes a flaw in the hidden service
  6564. design that unnecessarily prevented clients with wrong clocks from
  6565. reaching hidden services, and fixes a wide variety of other issues.
  6566. o Major features:
  6567. - Clients can now connect to private bridges over IPv6. Bridges
  6568. still need at least one IPv4 address in order to connect to
  6569. other relays. Note that we don't yet handle the case where the
  6570. user has two bridge lines for the same bridge (one IPv4, one
  6571. IPv6). Implements parts of proposal 186.
  6572. - New "DisableNetwork" config option to prevent Tor from launching any
  6573. connections or accepting any connections except on a control port.
  6574. Bundles and controllers can set this option before letting Tor talk
  6575. to the rest of the network, for example to prevent any connections
  6576. to a non-bridge address. Packages like Orbot can also use this
  6577. option to instruct Tor to save power when the network is off.
  6578. - Clients and bridges can now be configured to use a separate
  6579. "transport" proxy. This approach makes the censorship arms race
  6580. easier by allowing bridges to use protocol obfuscation plugins. It
  6581. implements the "managed proxy" part of proposal 180 (ticket 3472).
  6582. - When using OpenSSL 1.0.0 or later, use OpenSSL's counter mode
  6583. implementation. It makes AES_CTR about 7% faster than our old one
  6584. (which was about 10% faster than the one OpenSSL used to provide).
  6585. Resolves ticket 4526.
  6586. - Add a "tor2web mode" for clients that want to connect to hidden
  6587. services non-anonymously (and possibly more quickly). As a safety
  6588. measure to try to keep users from turning this on without knowing
  6589. what they are doing, tor2web mode must be explicitly enabled at
  6590. compile time, and a copy of Tor compiled to run in tor2web mode
  6591. cannot be used as a normal Tor client. Implements feature 2553.
  6592. - Add experimental support for running on Windows with IOCP and no
  6593. kernel-space socket buffers. This feature is controlled by a new
  6594. "UserspaceIOCPBuffers" config option (off by default), which has
  6595. no effect unless Tor has been built with support for bufferevents,
  6596. is running on Windows, and has enabled IOCP. This may, in the long
  6597. run, help solve or mitigate bug 98.
  6598. - Use a more secure consensus parameter voting algorithm. Now at
  6599. least three directory authorities or a majority of them must
  6600. vote on a given parameter before it will be included in the
  6601. consensus. Implements proposal 178.
  6602. o Major bugfixes:
  6603. - Hidden services now ignore the timestamps on INTRODUCE2 cells.
  6604. They used to check that the timestamp was within 30 minutes
  6605. of their system clock, so they could cap the size of their
  6606. replay-detection cache, but that approach unnecessarily refused
  6607. service to clients with wrong clocks. Bugfix on 0.2.1.6-alpha, when
  6608. the v3 intro-point protocol (the first one which sent a timestamp
  6609. field in the INTRODUCE2 cell) was introduced; fixes bug 3460.
  6610. - Only use the EVP interface when AES acceleration is enabled,
  6611. to avoid a 5-7% performance regression. Resolves issue 4525;
  6612. bugfix on 0.2.3.8-alpha.
  6613. o Privacy/anonymity features (bridge detection):
  6614. - Make bridge SSL certificates a bit more stealthy by using random
  6615. serial numbers, in the same fashion as OpenSSL when generating
  6616. self-signed certificates. Implements ticket 4584.
  6617. - Introduce a new config option "DynamicDHGroups", enabled by
  6618. default, which provides each bridge with a unique prime DH modulus
  6619. to be used during SSL handshakes. This option attempts to help
  6620. against censors who might use the Apache DH modulus as a static
  6621. identifier for bridges. Addresses ticket 4548.
  6622. o Minor features (new/different config options):
  6623. - New configuration option "DisableDebuggerAttachment" (on by default)
  6624. to prevent basic debugging attachment attempts by other processes.
  6625. Supports Mac OS X and Gnu/Linux. Resolves ticket 3313.
  6626. - Allow MapAddress directives to specify matches against super-domains,
  6627. as in "MapAddress *.torproject.org *.torproject.org.torserver.exit".
  6628. Implements issue 933.
  6629. - Slightly change behavior of "list" options (that is, config
  6630. options that can appear more than once) when they appear both in
  6631. torrc and on the command line. Previously, the command-line options
  6632. would be appended to the ones from torrc. Now, the command-line
  6633. options override the torrc options entirely. This new behavior
  6634. allows the user to override list options (like exit policies and
  6635. ports to listen on) from the command line, rather than simply
  6636. appending to the list.
  6637. - You can get the old (appending) command-line behavior for "list"
  6638. options by prefixing the option name with a "+".
  6639. - You can remove all the values for a "list" option from the command
  6640. line without adding any new ones by prefixing the option name
  6641. with a "/".
  6642. - Add experimental support for a "defaults" torrc file to be parsed
  6643. before the regular torrc. Torrc options override the defaults file's
  6644. options in the same way that the command line overrides the torrc.
  6645. The SAVECONF controller command saves only those options which
  6646. differ between the current configuration and the defaults file. HUP
  6647. reloads both files. (Note: This is an experimental feature; its
  6648. behavior will probably be refined in future 0.2.3.x-alpha versions
  6649. to better meet packagers' needs.) Implements task 4552.
  6650. o Minor features:
  6651. - Try to make the introductory warning message that Tor prints on
  6652. startup more useful for actually finding help and information.
  6653. Resolves ticket 2474.
  6654. - Running "make version" now displays the version of Tor that
  6655. we're about to build. Idea from katmagic; resolves issue 4400.
  6656. - Expire old or over-used hidden service introduction points.
  6657. Required by fix for bug 3460.
  6658. - Move the replay-detection cache for the RSA-encrypted parts of
  6659. INTRODUCE2 cells to the introduction point data structures.
  6660. Previously, we would use one replay-detection cache per hidden
  6661. service. Required by fix for bug 3460.
  6662. - Reduce the lifetime of elements of hidden services' Diffie-Hellman
  6663. public key replay-detection cache from 60 minutes to 5 minutes. This
  6664. replay-detection cache is now used only to detect multiple
  6665. INTRODUCE2 cells specifying the same rendezvous point, so we can
  6666. avoid launching multiple simultaneous attempts to connect to it.
  6667. o Minor bugfixes (on Tor 0.2.2.x and earlier):
  6668. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  6669. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  6670. Mansour Moufid.
  6671. - Fix a minor formatting issue in one of tor-gencert's error messages.
  6672. Fixes bug 4574.
  6673. - Prevent a false positive from the check-spaces script, by disabling
  6674. the "whitespace between function name and (" check for functions
  6675. named 'op()'.
  6676. - Fix a log message suggesting that people contact a non-existent
  6677. email address. Fixes bug 3448.
  6678. - Fix null-pointer access that could occur if TLS allocation failed.
  6679. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  6680. - Report a real bootstrap problem to the controller on router
  6681. identity mismatch. Previously we just said "foo", which probably
  6682. made a lot of sense at the time. Fixes bug 4169; bugfix on
  6683. 0.2.1.1-alpha.
  6684. - If we had ever tried to call tor_addr_to_str() on an address of
  6685. unknown type, we would have done a strdup() on an uninitialized
  6686. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  6687. Reported by "troll_un".
  6688. - Correctly detect and handle transient lookup failures from
  6689. tor_addr_lookup(). Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  6690. Reported by "troll_un".
  6691. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  6692. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  6693. - Initialize conn->addr to a valid state in spawn_cpuworker(). Fixes
  6694. bug 4532; found by "troll_un".
  6695. o Minor bugfixes (on Tor 0.2.3.x):
  6696. - Fix a compile warning in tor_inet_pton(). Bugfix on 0.2.3.8-alpha;
  6697. fixes bug 4554.
  6698. - Don't send two ESTABLISH_RENDEZVOUS cells when opening a new
  6699. circuit for use as a hidden service client's rendezvous point.
  6700. Fixes bugs 4641 and 4171; bugfix on 0.2.3.3-alpha. Diagnosed
  6701. with help from wanoskarnet.
  6702. - Restore behavior of overriding SocksPort, ORPort, and similar
  6703. options from the command line. Bugfix on 0.2.3.3-alpha.
  6704. o Build fixes:
  6705. - Properly handle the case where the build-tree is not the same
  6706. as the source tree when generating src/common/common_sha1.i,
  6707. src/or/micro-revision.i, and src/or/or_sha1.i. Fixes bug 3953;
  6708. bugfix on 0.2.0.1-alpha.
  6709. o Code simplifications, cleanups, and refactorings:
  6710. - Remove the pure attribute from all functions that used it
  6711. previously. In many cases we assigned it incorrectly, because the
  6712. functions might assert or call impure functions, and we don't have
  6713. evidence that keeping the pure attribute is worthwhile. Implements
  6714. changes suggested in ticket 4421.
  6715. - Remove some dead code spotted by coverity. Fixes cid 432.
  6716. Bugfix on 0.2.3.1-alpha, closes bug 4637.
  6717. Changes in version 0.2.3.8-alpha - 2011-11-22
  6718. Tor 0.2.3.8-alpha fixes some crash and assert bugs, including a
  6719. socketpair-related bug that has been bothering Windows users. It adds
  6720. support to serve microdescriptors to controllers, so Vidalia's network
  6721. map can resume listing relays (once Vidalia implements its side),
  6722. and adds better support for hardware AES acceleration. Finally, it
  6723. starts the process of adjusting the bandwidth cutoff for getting the
  6724. "Fast" flag from 20KB to (currently) 32KB -- preliminary results show
  6725. that tiny relays harm performance more than they help network capacity.
  6726. o Major bugfixes:
  6727. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  6728. that it doesn't attempt to allocate a socketpair. This could cause
  6729. some problems on Windows systems with overzealous firewalls. Fix for
  6730. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  6731. 2.0.15-stable.
  6732. - Correctly sanity-check that we don't underflow on a memory
  6733. allocation (and then assert) for hidden service introduction
  6734. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  6735. bugfix on 0.2.1.5-alpha.
  6736. - Remove the artificially low cutoff of 20KB to guarantee the Fast
  6737. flag. In the past few years the average relay speed has picked
  6738. up, and while the "top 7/8 of the network get the Fast flag" and
  6739. "all relays with 20KB or more of capacity get the Fast flag" rules
  6740. used to have the same result, now the top 7/8 of the network has
  6741. a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
  6742. - Fix a rare assertion failure when checking whether a v0 hidden
  6743. service descriptor has any usable introduction points left, and
  6744. we don't have enough information to build a circuit to the first
  6745. intro point named in the descriptor. The HS client code in
  6746. 0.2.3.x no longer uses v0 HS descriptors, but this assertion can
  6747. trigger on (and crash) v0 HS authorities. Fixes bug 4411.
  6748. Bugfix on 0.2.3.1-alpha; diagnosed by frosty_un.
  6749. - Make bridge authorities not crash when they are asked for their own
  6750. descriptor. Bugfix on 0.2.3.7-alpha, reported by Lucky Green.
  6751. - When running as a client, do not print a misleading (and plain
  6752. wrong) log message that we're collecting "directory request"
  6753. statistics: clients don't collect statistics. Also don't create a
  6754. useless (because empty) stats file in the stats/ directory. Fixes
  6755. bug 4353; bugfix on 0.2.2.34 and 0.2.3.7-alpha.
  6756. o Major features:
  6757. - Allow Tor controllers like Vidalia to obtain the microdescriptor
  6758. for a relay by identity digest or nickname. Previously,
  6759. microdescriptors were only available by their own digests, so a
  6760. controller would have to ask for and parse the whole microdescriptor
  6761. consensus in order to look up a single relay's microdesc. Fixes
  6762. bug 3832; bugfix on 0.2.3.1-alpha.
  6763. - Use OpenSSL's EVP interface for AES encryption, so that all AES
  6764. operations can use hardware acceleration (if present). Resolves
  6765. ticket 4442.
  6766. o Minor bugfixes (on 0.2.2.x and earlier):
  6767. - Detect failure to initialize Libevent. This fix provides better
  6768. detection for future instances of bug 4457.
  6769. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  6770. function. This was eating up hideously large amounts of time on some
  6771. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  6772. - Don't warn about unused log_mutex in log.c when building with
  6773. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  6774. 0.1.0.6-rc which introduced --disable-threads.
  6775. - Allow manual 'authenticate' commands to the controller interface
  6776. from netcat (nc) as well as telnet. We were rejecting them because
  6777. they didn't come with the expected whitespace at the end of the
  6778. command. Bugfix on 0.1.1.1-alpha; fixes bug 2893.
  6779. - Fix some (not actually triggerable) buffer size checks in usage of
  6780. tor_inet_ntop. Fixes bug 4434; bugfix on Tor 0.2.0.1-alpha. Patch
  6781. by Anders Sundman.
  6782. - Fix parsing of some corner-cases with tor_inet_pton(). Fixes
  6783. bug 4515; bugfix on 0.2.0.1-alpha; fix by Anders Sundman.
  6784. - When configuring, starting, or stopping an NT service, stop
  6785. immediately after the service configuration attempt has succeeded
  6786. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  6787. - When sending a NETINFO cell, include the original address
  6788. received for the other side, not its canonical address. Found
  6789. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  6790. - Rename the bench_{aes,dmap} functions to test_*, so that tinytest
  6791. can pick them up when the tests aren't disabled. Bugfix on
  6792. 0.2.2.4-alpha which introduced tinytest.
  6793. - Fix a memory leak when we check whether a hidden service
  6794. descriptor has any usable introduction points left. Fixes bug
  6795. 4424. Bugfix on 0.2.2.25-alpha.
  6796. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  6797. occurred when a client tried to fetch a descriptor for a bridge
  6798. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  6799. o Minor bugfixes (on 0.2.3.x):
  6800. - Make util unit tests build correctly with MSVC. Bugfix on
  6801. 0.2.3.3-alpha. Patch by Gisle Vanem.
  6802. - Successfully detect AUTH_CHALLENGE cells with no recognized
  6803. authentication type listed. Fixes bug 4367; bugfix on 0.2.3.6-alpha.
  6804. Found by frosty_un.
  6805. - If a relay receives an AUTH_CHALLENGE cell it can't answer,
  6806. it should still send a NETINFO cell to allow the connection to
  6807. become open. Fixes bug 4368; fix on 0.2.3.6-alpha; bug found by
  6808. "frosty".
  6809. - Log less loudly when we get an invalid authentication certificate
  6810. from a source other than a directory authority: it's not unusual
  6811. to see invalid certs because of clock skew. Fixes bug 4370; bugfix
  6812. on 0.2.3.6-alpha.
  6813. - Tolerate servers with more clock skew in their authentication
  6814. certificates than previously. Fixes bug 4371; bugfix on
  6815. 0.2.3.6-alpha.
  6816. - Fix a couple of compile warnings on Windows. Fixes bug 4469; bugfix
  6817. on 0.2.3.4-alpha and 0.2.3.6-alpha.
  6818. o Minor features:
  6819. - Add two new config options for directory authorities:
  6820. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  6821. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  6822. that is always sufficient to satisfy the bandwidth requirement for
  6823. the Guard flag. Now it will be easier for researchers to simulate
  6824. Tor networks with different values. Resolves ticket 4484.
  6825. - When Tor ignores a hidden service specified in its configuration,
  6826. include the hidden service's directory in the warning message.
  6827. Previously, we would only tell the user that some hidden service
  6828. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  6829. - When we fail to initialize Libevent, retry with IOCP disabled so we
  6830. don't need to turn on multi-threading support in Libevent, which in
  6831. turn requires a working socketpair(). This is a workaround for bug
  6832. 4457, which affects Libevent versions from 2.0.1-alpha through
  6833. 2.0.15-stable.
  6834. - Detect when we try to build on a platform that doesn't define
  6835. AF_UNSPEC to 0. We don't work there, so refuse to compile.
  6836. - Update to the November 1 2011 Maxmind GeoLite Country database.
  6837. o Packaging changes:
  6838. - Make it easier to automate expert package builds on Windows,
  6839. by removing an absolute path from makensis.exe command.
  6840. o Code simplifications and refactoring:
  6841. - Remove some redundant #include directives throughout the code.
  6842. Patch from Andrea Gelmini.
  6843. - Unconditionally use OpenSSL's AES implementation instead of our
  6844. old built-in one. OpenSSL's AES has been better for a while, and
  6845. relatively few servers should still be on any version of OpenSSL
  6846. that doesn't have good optimized assembly AES.
  6847. - Use the name "CERTS" consistently to refer to the new cell type;
  6848. we were calling it CERT in some places and CERTS in others.
  6849. o Testing:
  6850. - Numerous new unit tests for functions in util.c and address.c by
  6851. Anders Sundman.
  6852. - The long-disabled benchmark tests are now split into their own
  6853. ./src/test/bench binary.
  6854. - The benchmark tests can now use more accurate timers than
  6855. gettimeofday() when such timers are available.
  6856. Changes in version 0.2.3.7-alpha - 2011-10-30
  6857. Tor 0.2.3.7-alpha fixes a crash bug in 0.2.3.6-alpha introduced by
  6858. the new v3 handshake. It also resolves yet another bridge address
  6859. enumeration issue.
  6860. o Major bugfixes:
  6861. - If we mark an OR connection for close based on a cell we process,
  6862. don't process any further cells on it. We already avoid further
  6863. reads on marked-for-close connections, but now we also discard the
  6864. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  6865. which was the first version where we might mark a connection for
  6866. close based on processing a cell on it.
  6867. - Fix a double-free bug that would occur when we received an invalid
  6868. certificate in a CERT cell in the new v3 handshake. Fixes bug 4343;
  6869. bugfix on 0.2.3.6-alpha.
  6870. - Bridges no longer include their address in NETINFO cells on outgoing
  6871. OR connections, to allow them to blend in better with clients.
  6872. Removes another avenue for enumerating bridges. Reported by
  6873. "troll_un". Fixes bug 4348; bugfix on 0.2.0.10-alpha, when NETINFO
  6874. cells were introduced.
  6875. o Trivial fixes:
  6876. - Fixed a typo in a hibernation-related log message. Fixes bug 4331;
  6877. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  6878. Changes in version 0.2.3.6-alpha - 2011-10-26
  6879. Tor 0.2.3.6-alpha includes the fix from 0.2.2.34 for a critical
  6880. anonymity vulnerability where an attacker can deanonymize Tor
  6881. users. Everybody should upgrade.
  6882. This release also features support for a new v3 connection handshake
  6883. protocol, and fixes to make hidden service connections more robust.
  6884. o Major features:
  6885. - Implement a new handshake protocol (v3) for authenticating Tors to
  6886. each other over TLS. It should be more resistant to fingerprinting
  6887. than previous protocols, and should require less TLS hacking for
  6888. future Tor implementations. Implements proposal 176.
  6889. - Allow variable-length padding cells to disguise the length of
  6890. Tor's TLS records. Implements part of proposal 184.
  6891. o Privacy/anonymity fixes (clients):
  6892. - Clients and bridges no longer send TLS certificate chains on
  6893. outgoing OR connections. Previously, each client or bridge would
  6894. use the same cert chain for all outgoing OR connections until
  6895. its IP address changes, which allowed any relay that the client
  6896. or bridge contacted to determine which entry guards it is using.
  6897. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  6898. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  6899. no longer considers that connection as suitable for satisfying a
  6900. circuit EXTEND request. Now relays can protect clients from the
  6901. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  6902. - Directory authorities no longer assign the Guard flag to relays
  6903. that haven't upgraded to the above "refuse EXTEND requests
  6904. to client connections" fix. Now directory authorities can
  6905. protect clients from the CVE-2011-2768 issue even if neither
  6906. the clients nor the relays have upgraded yet. There's a new
  6907. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  6908. to let us transition smoothly, else tomorrow there would be no
  6909. guard relays.
  6910. o Major bugfixes (hidden services):
  6911. - Improve hidden service robustness: when an attempt to connect to
  6912. a hidden service ends, be willing to refetch its hidden service
  6913. descriptors from each of the HSDir relays responsible for them
  6914. immediately. Previously, we would not consider refetching the
  6915. service's descriptors from each HSDir for 15 minutes after the last
  6916. fetch, which was inconvenient if the hidden service was not running
  6917. during the first attempt. Bugfix on 0.2.0.18-alpha; fixes bug 3335.
  6918. - When one of a hidden service's introduction points appears to be
  6919. unreachable, stop trying it. Previously, we would keep trying
  6920. to build circuits to the introduction point until we lost the
  6921. descriptor, usually because the user gave up and restarted Tor.
  6922. Partly fixes bug 3825.
  6923. - Don't launch a useless circuit after failing to use one of a
  6924. hidden service's introduction points. Previously, we would
  6925. launch a new introduction circuit, but not set the hidden service
  6926. which that circuit was intended to connect to, so it would never
  6927. actually be used. A different piece of code would then create a
  6928. new introduction circuit correctly. Bug reported by katmagic and
  6929. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  6930. o Major bugfixes (other):
  6931. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  6932. that they initiated. Relays could distinguish incoming bridge
  6933. connections from client connections, creating another avenue for
  6934. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  6935. Found by "frosty_un".
  6936. - Don't update the AccountingSoftLimitHitAt state file entry whenever
  6937. tor gets started. This prevents a wrong average bandwidth
  6938. estimate, which would cause relays to always start a new accounting
  6939. interval at the earliest possible moment. Fixes bug 2003; bugfix
  6940. on 0.2.2.7-alpha. Reported by BryonEldridge, who also helped
  6941. immensely in tracking this bug down.
  6942. - Fix a crash bug when changing node restrictions while a DNS lookup
  6943. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  6944. by "Tey'".
  6945. o Minor bugfixes (on 0.2.2.x and earlier):
  6946. - When a hidden service turns an extra service-side introduction
  6947. circuit into a general-purpose circuit, free the rend_data and
  6948. intro_key fields first, so we won't leak memory if the circuit
  6949. is cannibalized for use as another service-side introduction
  6950. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  6951. - Rephrase the log message emitted if the TestSocks check is
  6952. successful. Patch from Fabian Keil; fixes bug 4094.
  6953. - Bridges now skip DNS self-tests, to act a little more stealthily.
  6954. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  6955. bridges. Patch by "warms0x".
  6956. - Remove a confusing dollar sign from the example fingerprint in the
  6957. man page, and also make the example fingerprint a valid one. Fixes
  6958. bug 4309; bugfix on 0.2.1.3-alpha.
  6959. - Fix internal bug-checking logic that was supposed to catch
  6960. failures in digest generation so that it will fail more robustly
  6961. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  6962. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  6963. - Report any failure in init_keys() calls launched because our
  6964. IP address has changed. Spotted by Coverity Scan. Bugfix on
  6965. 0.1.1.4-alpha; fixes CID 484.
  6966. o Minor bugfixes (on 0.2.3.x):
  6967. - Fix a bug in configure.in that kept it from building a configure
  6968. script with autoconf versions earlier than 2.61. Fixes bug 2430;
  6969. bugfix on 0.2.3.1-alpha.
  6970. - Don't warn users that they are exposing a client port to the
  6971. Internet if they have specified an RFC1918 address. Previously,
  6972. we would warn if the user had specified any non-loopback
  6973. address. Bugfix on 0.2.3.3-alpha. Fixes bug 4018; reported by Tas.
  6974. - Fix memory leaks in the failing cases of the new SocksPort and
  6975. ControlPort code. Found by Coverity Scan. Bugfix on 0.2.3.3-alpha;
  6976. fixes coverity CIDs 485, 486, and 487.
  6977. o Minor features:
  6978. - When a hidden service's introduction point times out, consider
  6979. trying it again during the next attempt to connect to the
  6980. HS. Previously, we would not try it again unless a newly fetched
  6981. descriptor contained it. Required by fixes for bugs 1297 and 3825.
  6982. - The next version of Windows will be called Windows 8, and it has
  6983. a major version of 6, minor version of 2. Correctly identify that
  6984. version instead of calling it "Very recent version". Resolves
  6985. ticket 4153; reported by funkstar.
  6986. - The Bridge Authority now writes statistics on how many bridge
  6987. descriptors it gave out in total, and how many unique descriptors
  6988. it gave out. It also lists how often the most and least commonly
  6989. fetched descriptors were given out, as well as the median and
  6990. 25th/75th percentile. Implements tickets 4200 and 4294.
  6991. - Update to the October 4 2011 Maxmind GeoLite Country database.
  6992. o Code simplifications and refactoring:
  6993. - Remove some old code to remember statistics about which descriptors
  6994. we've served as a directory mirror. The feature wasn't used and
  6995. is outdated now that microdescriptors are around.
  6996. - Rename Tor functions that turn strings into addresses, so that
  6997. "parse" indicates that no hostname resolution occurs, and
  6998. "lookup" indicates that hostname resolution may occur. This
  6999. should help prevent mistakes in the future. Fixes bug 3512.
  7000. Changes in version 0.2.2.34 - 2011-10-26
  7001. Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
  7002. can deanonymize Tor users. Everybody should upgrade.
  7003. The attack relies on four components: 1) Clients reuse their TLS cert
  7004. when talking to different relays, so relays can recognize a user by
  7005. the identity key in her cert. 2) An attacker who knows the client's
  7006. identity key can probe each guard relay to see if that identity key
  7007. is connected to that guard relay right now. 3) A variety of active
  7008. attacks in the literature (starting from "Low-Cost Traffic Analysis
  7009. of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
  7010. discover the guard relays that a Tor user visiting the website is using.
  7011. 4) Clients typically pick three guards at random, so the set of guards
  7012. for a given user could well be a unique fingerprint for her. This
  7013. release fixes components #1 and #2, which is enough to block the attack;
  7014. the other two remain as open research problems. Special thanks to
  7015. "frosty_un" for reporting the issue to us!
  7016. Clients should upgrade so they are no longer recognizable by the TLS
  7017. certs they present. Relays should upgrade so they no longer allow a
  7018. remote attacker to probe them to test whether unpatched clients are
  7019. currently connected to them.
  7020. This release also fixes several vulnerabilities that allow an attacker
  7021. to enumerate bridge relays. Some bridge enumeration attacks still
  7022. remain; see for example proposal 188.
  7023. o Privacy/anonymity fixes (clients):
  7024. - Clients and bridges no longer send TLS certificate chains on
  7025. outgoing OR connections. Previously, each client or bridge would
  7026. use the same cert chain for all outgoing OR connections until
  7027. its IP address changes, which allowed any relay that the client
  7028. or bridge contacted to determine which entry guards it is using.
  7029. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  7030. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  7031. no longer considers that connection as suitable for satisfying a
  7032. circuit EXTEND request. Now relays can protect clients from the
  7033. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  7034. - Directory authorities no longer assign the Guard flag to relays
  7035. that haven't upgraded to the above "refuse EXTEND requests
  7036. to client connections" fix. Now directory authorities can
  7037. protect clients from the CVE-2011-2768 issue even if neither
  7038. the clients nor the relays have upgraded yet. There's a new
  7039. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  7040. to let us transition smoothly, else tomorrow there would be no
  7041. guard relays.
  7042. o Privacy/anonymity fixes (bridge enumeration):
  7043. - Bridge relays now do their directory fetches inside Tor TLS
  7044. connections, like all the other clients do, rather than connecting
  7045. directly to the DirPort like public relays do. Removes another
  7046. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  7047. - Bridges relays now build circuits for themselves in a more similar
  7048. way to how clients build them. Removes another avenue for
  7049. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  7050. when bridges were introduced.
  7051. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  7052. that they initiated. Relays could distinguish incoming bridge
  7053. connections from client connections, creating another avenue for
  7054. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  7055. Found by "frosty_un".
  7056. o Major bugfixes:
  7057. - Fix a crash bug when changing node restrictions while a DNS lookup
  7058. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  7059. by "Tey'".
  7060. - Don't launch a useless circuit after failing to use one of a
  7061. hidden service's introduction points. Previously, we would
  7062. launch a new introduction circuit, but not set the hidden service
  7063. which that circuit was intended to connect to, so it would never
  7064. actually be used. A different piece of code would then create a
  7065. new introduction circuit correctly. Bug reported by katmagic and
  7066. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  7067. o Minor bugfixes:
  7068. - Change an integer overflow check in the OpenBSD_Malloc code so
  7069. that GCC is less likely to eliminate it as impossible. Patch
  7070. from Mansour Moufid. Fixes bug 4059.
  7071. - When a hidden service turns an extra service-side introduction
  7072. circuit into a general-purpose circuit, free the rend_data and
  7073. intro_key fields first, so we won't leak memory if the circuit
  7074. is cannibalized for use as another service-side introduction
  7075. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  7076. - Bridges now skip DNS self-tests, to act a little more stealthily.
  7077. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  7078. bridges. Patch by "warms0x".
  7079. - Fix internal bug-checking logic that was supposed to catch
  7080. failures in digest generation so that it will fail more robustly
  7081. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  7082. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  7083. - Report any failure in init_keys() calls launched because our
  7084. IP address has changed. Spotted by Coverity Scan. Bugfix on
  7085. 0.1.1.4-alpha; fixes CID 484.
  7086. o Minor bugfixes (log messages and documentation):
  7087. - Remove a confusing dollar sign from the example fingerprint in the
  7088. man page, and also make the example fingerprint a valid one. Fixes
  7089. bug 4309; bugfix on 0.2.1.3-alpha.
  7090. - The next version of Windows will be called Windows 8, and it has
  7091. a major version of 6, minor version of 2. Correctly identify that
  7092. version instead of calling it "Very recent version". Resolves
  7093. ticket 4153; reported by funkstar.
  7094. - Downgrade log messages about circuit timeout calibration from
  7095. "notice" to "info": they don't require or suggest any human
  7096. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  7097. bugfix on 0.2.2.14-alpha.
  7098. o Minor features:
  7099. - Turn on directory request statistics by default and include them in
  7100. extra-info descriptors. Don't break if we have no GeoIP database.
  7101. Backported from 0.2.3.1-alpha; implements ticket 3951.
  7102. - Update to the October 4 2011 Maxmind GeoLite Country database.
  7103. Changes in version 0.2.1.31 - 2011-10-26
  7104. Tor 0.2.1.31 backports important security and privacy fixes for
  7105. oldstable. This release is intended only for package maintainers and
  7106. others who cannot use the 0.2.2 stable series. All others should be
  7107. using Tor 0.2.2.x or newer.
  7108. o Security fixes (also included in 0.2.2.x):
  7109. - Replace all potentially sensitive memory comparison operations
  7110. with versions whose runtime does not depend on the data being
  7111. compared. This will help resist a class of attacks where an
  7112. adversary can use variations in timing information to learn
  7113. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  7114. implementation by Robert Ransom based partially on code by DJB.)
  7115. - Fix an assert in parsing router descriptors containing IPv6
  7116. addresses. This one took down the directory authorities when
  7117. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  7118. o Privacy/anonymity fixes (also included in 0.2.2.x):
  7119. - Clients and bridges no longer send TLS certificate chains on
  7120. outgoing OR connections. Previously, each client or bridge would
  7121. use the same cert chain for all outgoing OR connections until
  7122. its IP address changes, which allowed any relay that the client
  7123. or bridge contacted to determine which entry guards it is using.
  7124. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  7125. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  7126. no longer considers that connection as suitable for satisfying a
  7127. circuit EXTEND request. Now relays can protect clients from the
  7128. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  7129. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  7130. that they initiated. Relays could distinguish incoming bridge
  7131. connections from client connections, creating another avenue for
  7132. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  7133. Found by "frosty_un".
  7134. - When receiving a hidden service descriptor, check that it is for
  7135. the hidden service we wanted. Previously, Tor would store any
  7136. hidden service descriptors that a directory gave it, whether it
  7137. wanted them or not. This wouldn't have let an attacker impersonate
  7138. a hidden service, but it did let directories pre-seed a client
  7139. with descriptors that it didn't want. Bugfix on 0.0.6.
  7140. - Avoid linkability based on cached hidden service descriptors: forget
  7141. all hidden service descriptors cached as a client when processing a
  7142. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  7143. - Make the bridge directory authority refuse to answer directory
  7144. requests for "all" descriptors. It used to include bridge
  7145. descriptors in its answer, which was a major information leak.
  7146. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  7147. - Don't attach new streams to old rendezvous circuits after SIGNAL
  7148. NEWNYM. Previously, we would keep using an existing rendezvous
  7149. circuit if it remained open (i.e. if it were kept open by a
  7150. long-lived stream, or if a new stream were attached to it before
  7151. Tor could notice that it was old and no longer in use). Bugfix on
  7152. 0.1.1.15-rc; fixes bug 3375.
  7153. o Minor bugfixes (also included in 0.2.2.x):
  7154. - When we restart our relay, we might get a successful connection
  7155. from the outside before we've started our reachability tests,
  7156. triggering a warning: "ORPort found reachable, but I have no
  7157. routerinfo yet. Failing to inform controller of success." This
  7158. bug was harmless unless Tor is running under a controller
  7159. like Vidalia, in which case the controller would never get a
  7160. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  7161. fixes bug 1172.
  7162. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  7163. enabled. Fixes bug 1526.
  7164. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  7165. anything since 0.2.1.16-rc.
  7166. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  7167. None of the cases where we did this before were wrong, but by making
  7168. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  7169. - Fix a rare crash bug that could occur when a client was configured
  7170. with a large number of bridges. Fixes bug 2629; bugfix on
  7171. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  7172. - Correct the warning displayed when a rendezvous descriptor exceeds
  7173. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  7174. John Brooks.
  7175. - Fix an uncommon assertion failure when running with DNSPort under
  7176. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  7177. - When warning about missing zlib development packages during compile,
  7178. give the correct package names. Bugfix on 0.2.0.1-alpha.
  7179. - Require that introduction point keys and onion keys have public
  7180. exponent 65537. Bugfix on 0.2.0.10-alpha.
  7181. - Do not crash when our configuration file becomes unreadable, for
  7182. example due to a permissions change, between when we start up
  7183. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  7184. on 0.0.9pre6.
  7185. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  7186. Fixes bug 3208.
  7187. - Always NUL-terminate the sun_path field of a sockaddr_un before
  7188. passing it to the kernel. (Not a security issue: kernels are
  7189. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  7190. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  7191. - Don't stack-allocate the list of supplementary GIDs when we're
  7192. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  7193. could take up to 256K, which is way too much stack. Found by
  7194. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  7195. o Minor bugfixes (only in 0.2.1.x):
  7196. - Resume using micro-version numbers in 0.2.1.x: our Debian packages
  7197. rely on them. Bugfix on 0.2.1.30.
  7198. - Use git revisions instead of svn revisions when generating our
  7199. micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  7200. o Minor features (also included in 0.2.2.x):
  7201. - Adjust the expiration time on our SSL session certificates to
  7202. better match SSL certs seen in the wild. Resolves ticket 4014.
  7203. - Allow nameservers with IPv6 address. Resolves bug 2574.
  7204. - Update to the October 4 2011 Maxmind GeoLite Country database.
  7205. Changes in version 0.2.3.5-alpha - 2011-09-28
  7206. Tor 0.2.3.5-alpha fixes two bugs that make it possible to enumerate
  7207. bridge relays; fixes an assertion error that many users started hitting
  7208. today; and adds the ability to refill token buckets more often than
  7209. once per second, allowing significant performance improvements.
  7210. o Security fixes:
  7211. - Bridge relays now do their directory fetches inside Tor TLS
  7212. connections, like all the other clients do, rather than connecting
  7213. directly to the DirPort like public relays do. Removes another
  7214. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  7215. - Bridges relays now build circuits for themselves in a more similar
  7216. way to how clients build them. Removes another avenue for
  7217. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  7218. when bridges were introduced.
  7219. o Major bugfixes:
  7220. - Fix an "Assertion md->held_by_node == 1 failed" error that could
  7221. occur when the same microdescriptor was referenced by two node_t
  7222. objects at once. Fix for bug 4118; bugfix on Tor 0.2.3.1-alpha.
  7223. o Major features (networking):
  7224. - Add a new TokenBucketRefillInterval option to refill token buckets
  7225. more frequently than once per second. This should improve network
  7226. performance, alleviate queueing problems, and make traffic less
  7227. bursty. Implements proposal 183; closes ticket 3630. Design by
  7228. Florian Tschorsch and Björn Scheuermann; implementation by
  7229. Florian Tschorsch.
  7230. o Minor bugfixes:
  7231. - Change an integer overflow check in the OpenBSD_Malloc code so
  7232. that GCC is less likely to eliminate it as impossible. Patch
  7233. from Mansour Moufid. Fixes bug 4059.
  7234. o Minor bugfixes (usability):
  7235. - Downgrade log messages about circuit timeout calibration from
  7236. "notice" to "info": they don't require or suggest any human
  7237. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  7238. bugfix on 0.2.2.14-alpha.
  7239. o Minor features (diagnostics):
  7240. - When the system call to create a listener socket fails, log the
  7241. error message explaining why. This may help diagnose bug 4027.
  7242. Changes in version 0.2.3.4-alpha - 2011-09-13
  7243. Tor 0.2.3.4-alpha includes the fixes from 0.2.2.33, including a slight
  7244. tweak to Tor's TLS handshake that makes relays and bridges that run
  7245. this new version reachable from Iran again. It also fixes a few new
  7246. bugs in 0.2.3.x, and teaches relays to recognize when they're not
  7247. listed in the network consensus and republish.
  7248. o Major bugfixes (also part of 0.2.2.33):
  7249. - Avoid an assertion failure when reloading a configuration with
  7250. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  7251. 3923; bugfix on 0.2.2.25-alpha.
  7252. o Minor features (security, also part of 0.2.2.33):
  7253. - Check for replays of the public-key encrypted portion of an
  7254. INTRODUCE1 cell, in addition to the current check for replays of
  7255. the g^x value. This prevents a possible class of active attacks
  7256. by an attacker who controls both an introduction point and a
  7257. rendezvous point, and who uses the malleability of AES-CTR to
  7258. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  7259. that these attacks are infeasible (requiring the attacker to send
  7260. on the order of zettabytes of altered cells in a short interval),
  7261. but we'd rather block them off in case there are any classes of
  7262. this attack that we missed. Reported by Willem Pinckaers.
  7263. o Minor features (also part of 0.2.2.33):
  7264. - Adjust the expiration time on our SSL session certificates to
  7265. better match SSL certs seen in the wild. Resolves ticket 4014.
  7266. - Change the default required uptime for a relay to be accepted as
  7267. a HSDir (hidden service directory) from 24 hours to 25 hours.
  7268. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  7269. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  7270. authorities to abstain from voting on assignment of the HSDir
  7271. consensus flag. Related to bug 2649.
  7272. - Update to the September 6 2011 Maxmind GeoLite Country database.
  7273. o Minor bugfixes (also part of 0.2.2.33):
  7274. - Demote the 'replay detected' log message emitted when a hidden
  7275. service receives the same Diffie-Hellman public key in two different
  7276. INTRODUCE2 cells to info level. A normal Tor client can cause that
  7277. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  7278. fixes part of bug 2442.
  7279. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  7280. level. There is nothing that a hidden service's operator can do
  7281. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  7282. of bug 2442.
  7283. - Clarify a log message specifying the characters permitted in
  7284. HiddenServiceAuthorizeClient client names. Previously, the log
  7285. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  7286. given the impression that every ASCII character between "+" and "_"
  7287. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  7288. o Build fixes (also part of 0.2.2.33):
  7289. - Clean up some code issues that prevented Tor from building on older
  7290. BSDs. Fixes bug 3894; reported by "grarpamp".
  7291. - Search for a platform-specific version of "ar" when cross-compiling.
  7292. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  7293. o Major bugfixes:
  7294. - Fix a bug where the SocksPort option (for example) would get
  7295. ignored and replaced by the default if a SocksListenAddress
  7296. option was set. Bugfix on 0.2.3.3-alpha; fixes bug 3936. Fix by
  7297. Fabian Keil.
  7298. o Major features:
  7299. - Relays now try regenerating and uploading their descriptor more
  7300. frequently if they are not listed in the consensus, or if the
  7301. version of their descriptor listed in the consensus is too
  7302. old. This fix should prevent situations where a server declines
  7303. to re-publish itself because it has done so too recently, even
  7304. though the authorities decided not to list its recent-enough
  7305. descriptor. Fix for bug 3327.
  7306. o Minor features:
  7307. - Relays now include a reason for regenerating their descriptors
  7308. in an HTTP header when uploading to the authorities. This will
  7309. make it easier to debug descriptor-upload issues in the future.
  7310. - When starting as root and then changing our UID via the User
  7311. control option, and we have a ControlSocket configured, make sure
  7312. that the ControlSocket is owned by the same account that Tor will
  7313. run under. Implements ticket 3421; fix by Jérémy Bobbio.
  7314. o Minor bugfixes:
  7315. - Abort if tor_vasprintf fails in connection_printf_to_buf (a
  7316. utility function used in the control-port code). This shouldn't
  7317. ever happen unless Tor is completely out of memory, but if it did
  7318. happen and Tor somehow recovered from it, Tor could have sent a log
  7319. message to a control port in the middle of a reply to a controller
  7320. command. Fixes part of bug 3428; bugfix on 0.1.2.3-alpha.
  7321. - Make 'FetchUselessDescriptors' cause all descriptor types and
  7322. all consensus types (including microdescriptors) to get fetched.
  7323. Fixes bug 3851; bugfix on 0.2.3.1-alpha.
  7324. o Code refactoring:
  7325. - Make a new "entry connection" struct as an internal subtype of "edge
  7326. connection", to simplify the code and make exit connections smaller.
  7327. Changes in version 0.2.2.33 - 2011-09-13
  7328. Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
  7329. TLS handshake that makes relays and bridges that run this new version
  7330. reachable from Iran again.
  7331. o Major bugfixes:
  7332. - Avoid an assertion failure when reloading a configuration with
  7333. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  7334. 3923; bugfix on 0.2.2.25-alpha.
  7335. o Minor features (security):
  7336. - Check for replays of the public-key encrypted portion of an
  7337. INTRODUCE1 cell, in addition to the current check for replays of
  7338. the g^x value. This prevents a possible class of active attacks
  7339. by an attacker who controls both an introduction point and a
  7340. rendezvous point, and who uses the malleability of AES-CTR to
  7341. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  7342. that these attacks are infeasible (requiring the attacker to send
  7343. on the order of zettabytes of altered cells in a short interval),
  7344. but we'd rather block them off in case there are any classes of
  7345. this attack that we missed. Reported by Willem Pinckaers.
  7346. o Minor features:
  7347. - Adjust the expiration time on our SSL session certificates to
  7348. better match SSL certs seen in the wild. Resolves ticket 4014.
  7349. - Change the default required uptime for a relay to be accepted as
  7350. a HSDir (hidden service directory) from 24 hours to 25 hours.
  7351. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  7352. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  7353. authorities to abstain from voting on assignment of the HSDir
  7354. consensus flag. Related to bug 2649.
  7355. - Update to the September 6 2011 Maxmind GeoLite Country database.
  7356. o Minor bugfixes (documentation and log messages):
  7357. - Correct the man page to explain that HashedControlPassword and
  7358. CookieAuthentication can both be set, in which case either method
  7359. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  7360. when we decided to allow these config options to both be set. Issue
  7361. raised by bug 3898.
  7362. - Demote the 'replay detected' log message emitted when a hidden
  7363. service receives the same Diffie-Hellman public key in two different
  7364. INTRODUCE2 cells to info level. A normal Tor client can cause that
  7365. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  7366. fixes part of bug 2442.
  7367. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  7368. level. There is nothing that a hidden service's operator can do
  7369. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  7370. of bug 2442.
  7371. - Clarify a log message specifying the characters permitted in
  7372. HiddenServiceAuthorizeClient client names. Previously, the log
  7373. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  7374. given the impression that every ASCII character between "+" and "_"
  7375. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  7376. o Build fixes:
  7377. - Provide a substitute implementation of lround() for MSVC, which
  7378. apparently lacks it. Patch from Gisle Vanem.
  7379. - Clean up some code issues that prevented Tor from building on older
  7380. BSDs. Fixes bug 3894; reported by "grarpamp".
  7381. - Search for a platform-specific version of "ar" when cross-compiling.
  7382. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  7383. Changes in version 0.2.3.3-alpha - 2011-09-01
  7384. Tor 0.2.3.3-alpha adds a new "stream isolation" feature to improve Tor's
  7385. security, and provides client-side support for the microdescriptor
  7386. and optimistic data features introduced earlier in the 0.2.3.x
  7387. series. It also includes numerous critical bugfixes in the (optional)
  7388. bufferevent-based networking backend.
  7389. o Major features (stream isolation):
  7390. - You can now configure Tor so that streams from different
  7391. applications are isolated on different circuits, to prevent an
  7392. attacker who sees your streams as they leave an exit node from
  7393. linking your sessions to one another. To do this, choose some way
  7394. to distinguish the applications: have them connect to different
  7395. SocksPorts, or have one of them use SOCKS4 while the other uses
  7396. SOCKS5, or have them pass different authentication strings to the
  7397. SOCKS proxy. Then, use the new SocksPort syntax to configure the
  7398. degree of isolation you need. This implements Proposal 171.
  7399. - There's a new syntax for specifying multiple client ports (such as
  7400. SOCKSPort, TransPort, DNSPort, NATDPort): you can now just declare
  7401. multiple *Port entries with full addr:port syntax on each.
  7402. The old *ListenAddress format is still supported, but you can't
  7403. mix it with the new *Port syntax.
  7404. o Major features (other):
  7405. - Enable microdescriptor fetching by default for clients. This allows
  7406. clients to download a much smaller amount of directory information.
  7407. To disable it (and go back to the old-style consensus and
  7408. descriptors), set "UseMicrodescriptors 0" in your torrc file.
  7409. - Tor's firewall-helper feature, introduced in 0.2.3.1-alpha (see the
  7410. "PortForwarding" config option), now supports Windows.
  7411. - When using an exit relay running 0.2.3.x, clients can now
  7412. "optimistically" send data before the exit relay reports that
  7413. the stream has opened. This saves a round trip when starting
  7414. connections where the client speaks first (such as web browsing).
  7415. This behavior is controlled by a consensus parameter (currently
  7416. disabled). To turn it on or off manually, use the "OptimisticData"
  7417. torrc option. Implements proposal 181; code by Ian Goldberg.
  7418. o Major bugfixes (bufferevents, fixes on 0.2.3.1-alpha):
  7419. - When using IOCP on Windows, we need to enable Libevent windows
  7420. threading support.
  7421. - The IOCP backend now works even when the user has not specified
  7422. the (internal, debugging-only) _UseFilteringSSLBufferevents option.
  7423. Fixes part of bug 3752.
  7424. - Correctly record the bytes we've read and written when using
  7425. bufferevents, so that we can include them in our bandwidth history
  7426. and advertised bandwidth. Fixes bug 3803.
  7427. - Apply rate-limiting only at the bottom of a chain of filtering
  7428. bufferevents. This prevents us from filling up internal read
  7429. buffers and violating rate-limits when filtering bufferevents
  7430. are enabled. Fixes part of bug 3804.
  7431. - Add high-watermarks to the output buffers for filtered
  7432. bufferevents. This prevents us from filling up internal write
  7433. buffers and wasting CPU cycles when filtering bufferevents are
  7434. enabled. Fixes part of bug 3804.
  7435. - Correctly notice when data has been written from a bufferevent
  7436. without flushing it completely. Fixes bug 3805.
  7437. - Fix a bug where server-side tunneled bufferevent-based directory
  7438. streams would get closed prematurely. Fixes bug 3814.
  7439. - Fix a use-after-free error with per-connection rate-limiting
  7440. buckets. Fixes bug 3888.
  7441. o Major bugfixes (also part of 0.2.2.31-rc):
  7442. - If we're configured to write our ControlPorts to disk, only write
  7443. them after switching UID and creating the data directory. This way,
  7444. we don't fail when starting up with a nonexistent DataDirectory
  7445. and a ControlPortWriteToFile setting based on that directory. Fixes
  7446. bug 3747; bugfix on Tor 0.2.2.26-beta.
  7447. o Minor features:
  7448. - Added a new CONF_CHANGED event so that controllers can be notified
  7449. of any configuration changes made by other controllers, or by the
  7450. user. Implements ticket 1692.
  7451. - Use evbuffer_copyout() in inspect_evbuffer(). This fixes a memory
  7452. leak when using bufferevents, and lets Libevent worry about how to
  7453. best copy data out of a buffer.
  7454. - Replace files in stats/ rather than appending to them. Now that we
  7455. include statistics in extra-info descriptors, it makes no sense to
  7456. keep old statistics forever. Implements ticket 2930.
  7457. o Minor features (build compatibility):
  7458. - Limited, experimental support for building with nmake and MSVC.
  7459. - Provide a substitute implementation of lround() for MSVC, which
  7460. apparently lacks it. Patch from Gisle Vanem.
  7461. o Minor features (also part of 0.2.2.31-rc):
  7462. - Update to the August 2 2011 Maxmind GeoLite Country database.
  7463. o Minor bugfixes (on 0.2.3.x-alpha):
  7464. - Fix a spurious warning when parsing SOCKS requests with
  7465. bufferevents enabled. Fixes bug 3615; bugfix on 0.2.3.2-alpha.
  7466. - Get rid of a harmless warning that could happen on relays running
  7467. with bufferevents. The warning was caused by someone doing an http
  7468. request to a relay's orport. Also don't warn for a few related
  7469. non-errors. Fixes bug 3700; bugfix on 0.2.3.1-alpha.
  7470. o Minor bugfixes (on 2.2.x and earlier):
  7471. - Correct the man page to explain that HashedControlPassword and
  7472. CookieAuthentication can both be set, in which case either method
  7473. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  7474. when we decided to allow these config options to both be set. Issue
  7475. raised by bug 3898.
  7476. - The "--quiet" and "--hush" options now apply not only to Tor's
  7477. behavior before logs are configured, but also to Tor's behavior in
  7478. the absense of configured logs. Fixes bug 3550; bugfix on
  7479. 0.2.0.10-alpha.
  7480. o Minor bugfixes (also part of 0.2.2.31-rc):
  7481. - Write several files in text mode, on OSes that distinguish text
  7482. mode from binary mode (namely, Windows). These files are:
  7483. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  7484. that collect those statistics; 'client_keys' and 'hostname' for
  7485. hidden services that use authentication; and (in the tor-gencert
  7486. utility) newly generated identity and signing keys. Previously,
  7487. we wouldn't specify text mode or binary mode, leading to an
  7488. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  7489. the DirRecordUsageByCountry option which would have triggered
  7490. the assertion failure was added), although this assertion failure
  7491. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  7492. - Selectively disable deprecation warnings on OS X because Lion
  7493. started deprecating the shipped copy of openssl. Fixes bug 3643.
  7494. - Remove an extra pair of quotation marks around the error
  7495. message in control-port STATUS_GENERAL BUG events. Bugfix on
  7496. 0.1.2.6-alpha; fixes bug 3732.
  7497. - When unable to format an address as a string, report its value
  7498. as "???" rather than reusing the last formatted address. Bugfix
  7499. on 0.2.1.5-alpha.
  7500. o Code simplifications and refactoring:
  7501. - Rewrite the listener-selection logic so that parsing which ports
  7502. we want to listen on is now separate from binding to the ports
  7503. we want.
  7504. o Build changes:
  7505. - Building Tor with bufferevent support now requires Libevent
  7506. 2.0.13-stable or later. Previous versions of Libevent had bugs in
  7507. SSL-related bufferevents and related issues that would make Tor
  7508. work badly with bufferevents. Requiring 2.0.13-stable also allows
  7509. Tor with bufferevents to take advantage of Libevent APIs
  7510. introduced after 2.0.8-rc.
  7511. Changes in version 0.2.2.32 - 2011-08-27
  7512. The Tor 0.2.2 release series is dedicated to the memory of Andreas
  7513. Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
  7514. a founder of the PETS community, a leader in our field, a mentor,
  7515. and a friend. He left us with these words: "I had the possibility
  7516. to contribute to this world that is not as it should be. I hope I
  7517. could help in some areas to make the world a better place, and that
  7518. I could also encourage other people to be engaged in improving the
  7519. world. Please, stay engaged. This world needs you, your love, your
  7520. initiative -- now I cannot be part of that anymore."
  7521. Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
  7522. ready. More than two years in the making, this release features improved
  7523. client performance and hidden service reliability, better compatibility
  7524. for Android, correct behavior for bridges that listen on more than
  7525. one address, more extensible and flexible directory object handling,
  7526. better reporting of network statistics, improved code security, and
  7527. many many other features and bugfixes.
  7528. Changes in version 0.2.2.31-rc - 2011-08-17
  7529. Tor 0.2.2.31-rc is the second and hopefully final release candidate
  7530. for the Tor 0.2.2.x series.
  7531. o Major bugfixes:
  7532. - Remove an extra pair of quotation marks around the error
  7533. message in control-port STATUS_GENERAL BUG events. Bugfix on
  7534. 0.1.2.6-alpha; fixes bug 3732.
  7535. - If we're configured to write our ControlPorts to disk, only write
  7536. them after switching UID and creating the data directory. This way,
  7537. we don't fail when starting up with a nonexistent DataDirectory
  7538. and a ControlPortWriteToFile setting based on that directory. Fixes
  7539. bug 3747; bugfix on Tor 0.2.2.26-beta.
  7540. o Minor features:
  7541. - Update to the August 2 2011 Maxmind GeoLite Country database.
  7542. o Minor bugfixes:
  7543. - Allow GETINFO fingerprint to return a fingerprint even when
  7544. we have not yet built a router descriptor. Fixes bug 3577;
  7545. bugfix on 0.2.0.1-alpha.
  7546. - Write several files in text mode, on OSes that distinguish text
  7547. mode from binary mode (namely, Windows). These files are:
  7548. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  7549. that collect those statistics; 'client_keys' and 'hostname' for
  7550. hidden services that use authentication; and (in the tor-gencert
  7551. utility) newly generated identity and signing keys. Previously,
  7552. we wouldn't specify text mode or binary mode, leading to an
  7553. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  7554. the DirRecordUsageByCountry option which would have triggered
  7555. the assertion failure was added), although this assertion failure
  7556. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  7557. - Selectively disable deprecation warnings on OS X because Lion
  7558. started deprecating the shipped copy of openssl. Fixes bug 3643.
  7559. - When unable to format an address as a string, report its value
  7560. as "???" rather than reusing the last formatted address. Bugfix
  7561. on 0.2.1.5-alpha.
  7562. Changes in version 0.2.3.2-alpha - 2011-07-18
  7563. Tor 0.2.3.2-alpha introduces two new experimental features:
  7564. microdescriptors and pluggable transports. It also continues cleaning
  7565. up a variety of recently introduced features.
  7566. o Major features:
  7567. - Clients can now use microdescriptors instead of regular descriptors
  7568. to build circuits. Microdescriptors are authority-generated
  7569. summaries of regular descriptors' contents, designed to change
  7570. very rarely (see proposal 158 for details). This feature is
  7571. designed to save bandwidth, especially for clients on slow internet
  7572. connections. It's off by default for now, since nearly no caches
  7573. support it, but it will be on-by-default for clients in a future
  7574. version. You can use the UseMicrodescriptors option to turn it on.
  7575. - Tor clients using bridges can now be configured to use a separate
  7576. 'transport' proxy for each bridge. This approach helps to resist
  7577. censorship by allowing bridges to use protocol obfuscation
  7578. plugins. It implements part of proposal 180. Implements ticket 2841.
  7579. - While we're trying to bootstrap, record how many TLS connections
  7580. fail in each state, and report which states saw the most failures
  7581. in response to any bootstrap failures. This feature may speed up
  7582. diagnosis of censorship events. Implements ticket 3116.
  7583. o Major bugfixes (on 0.2.3.1-alpha):
  7584. - When configuring a large set of nodes in EntryNodes (as with
  7585. 'EntryNodes {cc}' or 'EntryNodes 1.1.1.1/16'), choose only a
  7586. random subset to be guards, and choose them in random
  7587. order. Fixes bug 2798.
  7588. - Tor could crash when remembering a consensus in a non-used consensus
  7589. flavor without having a current consensus set. Fixes bug 3361.
  7590. - Comparing an unknown address to a microdescriptor's shortened exit
  7591. policy would always give a "rejected" result. Fixes bug 3599.
  7592. - Using microdescriptors as a client no longer prevents Tor from
  7593. uploading and downloading hidden service descriptors. Fixes
  7594. bug 3601.
  7595. o Minor features:
  7596. - Allow nameservers with IPv6 address. Resolves bug 2574.
  7597. - Accept attempts to include a password authenticator in the
  7598. handshake, as supported by SOCKS5. This handles SOCKS clients that
  7599. don't know how to omit a password when authenticating. Resolves
  7600. bug 1666.
  7601. - When configuring a large set of nodes in EntryNodes, and there are
  7602. enough of them listed as Guard so that we don't need to consider
  7603. the non-guard entries, prefer the ones listed with the Guard flag.
  7604. - Check for and recover from inconsistency in the microdescriptor
  7605. cache. This will make it harder for us to accidentally free a
  7606. microdescriptor without removing it from the appropriate data
  7607. structures. Fixes issue 3135; issue noted by "wanoskarnet".
  7608. - Log SSL state transitions at log level DEBUG, log domain
  7609. HANDSHAKE. This can be useful for debugging censorship events.
  7610. Implements ticket 3264.
  7611. - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
  7612. implements ticket 3439.
  7613. o Minor bugfixes (on 0.2.3.1-alpha):
  7614. - Do not free all general-purpose regular descriptors just
  7615. because microdescriptor use is enabled. Fixes bug 3113.
  7616. - Correctly link libevent_openssl when --enable-static-libevent
  7617. is passed to configure. Fixes bug 3118.
  7618. - Bridges should not complain during their heartbeat log messages that
  7619. they are unlisted in the consensus: that's more or less the point
  7620. of being a bridge. Fixes bug 3183.
  7621. - Report a SIGNAL event to controllers when acting on a delayed
  7622. SIGNAL NEWNYM command. Previously, we would report a SIGNAL
  7623. event to the controller if we acted on a SIGNAL NEWNYM command
  7624. immediately, and otherwise not report a SIGNAL event for the
  7625. command at all. Fixes bug 3349.
  7626. - Fix a crash when handling the SIGNAL controller command or
  7627. reporting ERR-level status events with bufferevents enabled. Found
  7628. by Robert Ransom. Fixes bug 3367.
  7629. - Always ship the tor-fw-helper manpage in our release tarballs.
  7630. Fixes bug 3389. Reported by Stephen Walker.
  7631. - Fix a class of double-mark-for-close bugs when bufferevents
  7632. are enabled. Fixes bug 3403.
  7633. - Update tor-fw-helper to support libnatpmp-20110618. Fixes bug 3434.
  7634. - Add SIGNAL to the list returned by the 'GETINFO events/names'
  7635. control-port command. Fixes part of bug 3465.
  7636. - Prevent using negative indices during unit test runs when read_all()
  7637. fails. Spotted by coverity.
  7638. - Fix a rare memory leak when checking the nodelist without it being
  7639. present. Found by coverity.
  7640. - Only try to download a microdescriptor-flavored consensus from
  7641. a directory cache that provides them.
  7642. o Minor bugfixes (on 0.2.2.x and earlier):
  7643. - Assert that hidden-service-related operations are not performed
  7644. using single-hop circuits. Previously, Tor would assert that
  7645. client-side streams are not attached to single-hop circuits,
  7646. but not that other sensitive operations on the client and service
  7647. side are not performed using single-hop circuits. Fixes bug 3332;
  7648. bugfix on 0.0.6.
  7649. - Don't publish a new relay descriptor when we reload our onion key,
  7650. unless the onion key has actually changed. Fixes bug 3263 and
  7651. resolves another cause of bug 1810. Bugfix on 0.1.1.11-alpha.
  7652. - Allow GETINFO fingerprint to return a fingerprint even when
  7653. we have not yet built a router descriptor. Fixes bug 3577;
  7654. bugfix on 0.2.0.1-alpha.
  7655. - Make 'tor --digests' list hashes of all Tor source files. Bugfix
  7656. on 0.2.2.4-alpha; fixes bug 3427.
  7657. o Code simplification and refactoring:
  7658. - Use tor_sscanf() in place of scanf() in more places through the
  7659. code. This makes us a little more locale-independent, and
  7660. should help shut up code-analysis tools that can't tell
  7661. a safe sscanf string from a dangerous one.
  7662. - Use tt_assert(), not tor_assert(), for checking for test failures.
  7663. This makes the unit tests more able to go on in the event that
  7664. one of them fails.
  7665. - Split connection_about_to_close() into separate functions for each
  7666. connection type.
  7667. o Build changes:
  7668. - On Windows, we now define the _WIN32_WINNT macros only if they
  7669. are not already defined. This lets the person building Tor decide,
  7670. if they want, to require a later version of Windows.
  7671. Changes in version 0.2.2.30-rc - 2011-07-07
  7672. Tor 0.2.2.30-rc is the first release candidate for the Tor 0.2.2.x
  7673. series. It fixes a few smaller bugs, but generally appears stable.
  7674. Please test it and let us know whether it is!
  7675. o Minor bugfixes:
  7676. - Send a SUCCEEDED stream event to the controller when a reverse
  7677. resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
  7678. discovered by katmagic.
  7679. - Always NUL-terminate the sun_path field of a sockaddr_un before
  7680. passing it to the kernel. (Not a security issue: kernels are
  7681. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  7682. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  7683. - Don't stack-allocate the list of supplementary GIDs when we're
  7684. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  7685. could take up to 256K, which is way too much stack. Found by
  7686. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  7687. - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
  7688. events/names' control-port command. Bugfix on 0.2.2.9-alpha;
  7689. fixes part of bug 3465.
  7690. - Fix a memory leak when receiving a descriptor for a hidden
  7691. service we didn't ask for. Found by Coverity; CID #30. Bugfix
  7692. on 0.2.2.26-beta.
  7693. o Minor features:
  7694. - Update to the July 1 2011 Maxmind GeoLite Country database.
  7695. Changes in version 0.2.2.29-beta - 2011-06-20
  7696. Tor 0.2.2.29-beta reverts an accidental behavior change for users who
  7697. have bridge lines in their torrc but don't want to use them; gets
  7698. us closer to having the control socket feature working on Debian;
  7699. and fixes a variety of smaller bugs.
  7700. o Major bugfixes:
  7701. - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
  7702. When we changed the default behavior to "use bridges if any
  7703. are listed in the torrc", we surprised users who had bridges
  7704. in their torrc files but who didn't actually want to use them.
  7705. Partial resolution for bug 3354.
  7706. o Privacy fixes:
  7707. - Don't attach new streams to old rendezvous circuits after SIGNAL
  7708. NEWNYM. Previously, we would keep using an existing rendezvous
  7709. circuit if it remained open (i.e. if it were kept open by a
  7710. long-lived stream, or if a new stream were attached to it before
  7711. Tor could notice that it was old and no longer in use). Bugfix on
  7712. 0.1.1.15-rc; fixes bug 3375.
  7713. o Minor bugfixes:
  7714. - Fix a bug when using ControlSocketsGroupWritable with User. The
  7715. directory's group would be checked against the current group, not
  7716. the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
  7717. bugfix on 0.2.2.26-beta.
  7718. - Make connection_printf_to_buf()'s behavior sane. Its callers
  7719. expect it to emit a CRLF iff the format string ends with CRLF;
  7720. it actually emitted a CRLF iff (a) the format string ended with
  7721. CRLF or (b) the resulting string was over 1023 characters long or
  7722. (c) the format string did not end with CRLF *and* the resulting
  7723. string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
  7724. fixes part of bug 3407.
  7725. - Make send_control_event_impl()'s behavior sane. Its callers
  7726. expect it to always emit a CRLF at the end of the string; it
  7727. might have emitted extra control characters as well. Bugfix on
  7728. 0.1.1.9-alpha; fixes another part of bug 3407.
  7729. - Make crypto_rand_int() check the value of its input correctly.
  7730. Previously, it accepted values up to UINT_MAX, but could return a
  7731. negative number if given a value above INT_MAX+1. Found by George
  7732. Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
  7733. - Avoid a segfault when reading a malformed circuit build state
  7734. with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
  7735. 0.2.2.4-alpha.
  7736. - When asked about a DNS record type we don't support via a
  7737. client DNSPort, reply with NOTIMPL rather than an empty
  7738. reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
  7739. - Fix a rare memory leak during stats writing. Found by coverity.
  7740. o Minor features:
  7741. - Update to the June 1 2011 Maxmind GeoLite Country database.
  7742. o Code simplifications and refactoring:
  7743. - Remove some dead code as indicated by coverity.
  7744. - Remove a few dead assignments during router parsing. Found by
  7745. coverity.
  7746. - Add some forgotten return value checks during unit tests. Found
  7747. by coverity.
  7748. - Don't use 1-bit wide signed bit fields. Found by coverity.
  7749. Changes in version 0.2.2.28-beta - 2011-06-04
  7750. Tor 0.2.2.28-beta makes great progress towards a new stable release: we
  7751. fixed a big bug in whether relays stay in the consensus consistently,
  7752. we moved closer to handling bridges and hidden services correctly,
  7753. and we started the process of better handling the dreaded "my Vidalia
  7754. died, and now my Tor demands a password when I try to reconnect to it"
  7755. usability issue.
  7756. o Major bugfixes:
  7757. - Don't decide to make a new descriptor when receiving a HUP signal.
  7758. This bug has caused a lot of 0.2.2.x relays to disappear from the
  7759. consensus periodically. Fixes the most common case of triggering
  7760. bug 1810; bugfix on 0.2.2.7-alpha.
  7761. - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
  7762. - Don't try to build descriptors if "ORPort auto" is set and we
  7763. don't know our actual ORPort yet. Fix for bug 3216; bugfix on
  7764. 0.2.2.26-beta.
  7765. - Resolve a crash that occurred when setting BridgeRelay to 1 with
  7766. accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
  7767. - Apply circuit timeouts to opened hidden-service-related circuits
  7768. based on the correct start time. Previously, we would apply the
  7769. circuit build timeout based on time since the circuit's creation;
  7770. it was supposed to be applied based on time since the circuit
  7771. entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
  7772. - Use the same circuit timeout for client-side introduction
  7773. circuits as for other four-hop circuits, rather than the timeout
  7774. for single-hop directory-fetch circuits; the shorter timeout may
  7775. have been appropriate with the static circuit build timeout in
  7776. 0.2.1.x and earlier, but caused many hidden service access attempts
  7777. to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
  7778. on 0.2.2.2-alpha; fixes another part of bug 1297.
  7779. - In ticket 2511 we fixed a case where you could use an unconfigured
  7780. bridge if you had configured it as a bridge the last time you ran
  7781. Tor. Now fix another edge case: if you had configured it as a bridge
  7782. but then switched to a different bridge via the controller, you
  7783. would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
  7784. fixes bug 3321.
  7785. o Major features:
  7786. - Add an __OwningControllerProcess configuration option and a
  7787. TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
  7788. that when it exits, Tor will shut down. Implements feature 3049.
  7789. - If "UseBridges 1" is set and no bridges are configured, Tor will
  7790. now refuse to build any circuits until some bridges are set.
  7791. If "UseBridges auto" is set, Tor will use bridges if they are
  7792. configured and we are not running as a server, but otherwise will
  7793. make circuits as usual. The new default is "auto". Patch by anonym,
  7794. so the Tails LiveCD can stop automatically revealing you as a Tor
  7795. user on startup.
  7796. o Minor bugfixes:
  7797. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  7798. - Remove a trailing asterisk from "exit-policy/default" in the
  7799. output of the control port command "GETINFO info/names". Bugfix
  7800. on 0.1.2.5-alpha.
  7801. - Use a wide type to hold sockets when built for 64-bit Windows builds.
  7802. Fixes bug 3270.
  7803. - Warn when the user configures two HiddenServiceDir lines that point
  7804. to the same directory. Bugfix on 0.0.6 (the version introducing
  7805. HiddenServiceDir); fixes bug 3289.
  7806. - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
  7807. part of bug 2748; bugfix on 0.2.0.10-alpha.
  7808. - Log malformed requests for rendezvous descriptors as protocol
  7809. warnings, not warnings. Also, use a more informative log message
  7810. in case someone sees it at log level warning without prior
  7811. info-level messages. Fixes the other part of bug 2748; bugfix
  7812. on 0.2.0.10-alpha.
  7813. - Clear the table recording the time of the last request for each
  7814. hidden service descriptor from each HS directory on SIGNAL NEWNYM.
  7815. Previously, we would clear our HS descriptor cache on SIGNAL
  7816. NEWNYM, but if we had previously retrieved a descriptor (or tried
  7817. to) from every directory responsible for it, we would refuse to
  7818. fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
  7819. fixes bug 3309.
  7820. - Fix a log message that said "bits" while displaying a value in
  7821. bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
  7822. 0.2.0.1-alpha.
  7823. - When checking for 1024-bit keys, check for 1024 bits, not 128
  7824. bytes. This allows Tor to correctly discard keys of length 1017
  7825. through 1023. Bugfix on 0.0.9pre5.
  7826. o Minor features:
  7827. - Relays now log the reason for publishing a new relay descriptor,
  7828. so we have a better chance of hunting down instances of bug 1810.
  7829. Resolves ticket 3252.
  7830. - Revise most log messages that refer to nodes by nickname to
  7831. instead use the "$key=nickname at address" format. This should be
  7832. more useful, especially since nicknames are less and less likely
  7833. to be unique. Resolves ticket 3045.
  7834. - Log (at info level) when purging pieces of hidden-service-client
  7835. state because of SIGNAL NEWNYM.
  7836. o Removed options:
  7837. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  7838. anything since 0.2.1.16-rc.
  7839. Changes in version 0.2.2.27-beta - 2011-05-18
  7840. Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
  7841. release, and also adds a few more general bugfixes.
  7842. o Major bugfixes:
  7843. - Fix a crash bug when changing bridges in a running Tor process.
  7844. Fixes bug 3213; bugfix on 0.2.2.26-beta.
  7845. - When the controller configures a new bridge, don't wait 10 to 60
  7846. seconds before trying to fetch its descriptor. Bugfix on
  7847. 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
  7848. o Minor bugfixes:
  7849. - Require that onion keys have exponent 65537 in microdescriptors too.
  7850. Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
  7851. - Tor used to limit HttpProxyAuthenticator values to 48 characters.
  7852. Changed the limit to 512 characters by removing base64 newlines.
  7853. Fixes bug 2752. Fix by Michael Yakubovich.
  7854. - When a client starts or stops using bridges, never use a circuit
  7855. that was built before the configuration change. This behavior could
  7856. put at risk a user who uses bridges to ensure that her traffic
  7857. only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
  7858. bug 3200.
  7859. Changes in version 0.2.2.26-beta - 2011-05-17
  7860. Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
  7861. also introduces a new "socksport auto" approach that should make it
  7862. easier to run multiple Tors on the same system, and does a lot of
  7863. cleanup to get us closer to a release candidate.
  7864. o Security/privacy fixes:
  7865. - Replace all potentially sensitive memory comparison operations
  7866. with versions whose runtime does not depend on the data being
  7867. compared. This will help resist a class of attacks where an
  7868. adversary can use variations in timing information to learn
  7869. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  7870. implementation by Robert Ransom based partially on code by DJB.)
  7871. - When receiving a hidden service descriptor, check that it is for
  7872. the hidden service we wanted. Previously, Tor would store any
  7873. hidden service descriptors that a directory gave it, whether it
  7874. wanted them or not. This wouldn't have let an attacker impersonate
  7875. a hidden service, but it did let directories pre-seed a client
  7876. with descriptors that it didn't want. Bugfix on 0.0.6.
  7877. - On SIGHUP, do not clear out all TrackHostExits mappings, client
  7878. DNS cache entries, and virtual address mappings: that's what
  7879. NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
  7880. o Major features:
  7881. - The options SocksPort, ControlPort, and so on now all accept a
  7882. value "auto" that opens a socket on an OS-selected port. A
  7883. new ControlPortWriteToFile option tells Tor to write its
  7884. actual control port or ports to a chosen file. If the option
  7885. ControlPortFileGroupReadable is set, the file is created as
  7886. group-readable. Now users can run two Tor clients on the same
  7887. system without needing to manually mess with parameters. Resolves
  7888. part of ticket 3076.
  7889. - Set SO_REUSEADDR on all sockets, not just listeners. This should
  7890. help busy exit nodes avoid running out of useable ports just
  7891. because all the ports have been used in the near past. Resolves
  7892. issue 2850.
  7893. o Minor features:
  7894. - New "GETINFO net/listeners/(type)" controller command to return
  7895. a list of addresses and ports that are bound for listeners for a
  7896. given connection type. This is useful when the user has configured
  7897. "SocksPort auto" and the controller needs to know which port got
  7898. chosen. Resolves another part of ticket 3076.
  7899. - Add a new ControlSocketsGroupWritable configuration option: when
  7900. it is turned on, ControlSockets are group-writeable by the default
  7901. group of the current user. Patch by Jérémy Bobbio; implements
  7902. ticket 2972.
  7903. - Tor now refuses to create a ControlSocket in a directory that is
  7904. world-readable (or group-readable if ControlSocketsGroupWritable
  7905. is 0). This is necessary because some operating systems do not
  7906. enforce permissions on an AF_UNIX sockets. Permissions on the
  7907. directory holding the socket, however, seems to work everywhere.
  7908. - Rate-limit a warning about failures to download v2 networkstatus
  7909. documents. Resolves part of bug 1352.
  7910. - Backport code from 0.2.3.x that allows directory authorities to
  7911. clean their microdescriptor caches. Needed to resolve bug 2230.
  7912. - When an HTTPS proxy reports "403 Forbidden", we now explain
  7913. what it means rather than calling it an unexpected status code.
  7914. Closes bug 2503. Patch from Michael Yakubovich.
  7915. - Update to the May 1 2011 Maxmind GeoLite Country database.
  7916. o Minor bugfixes:
  7917. - Authorities now clean their microdesc cache periodically and when
  7918. reading from disk initially, not only when adding new descriptors.
  7919. This prevents a bug where we could lose microdescriptors. Bugfix
  7920. on 0.2.2.6-alpha. Fixes bug 2230.
  7921. - Do not crash when our configuration file becomes unreadable, for
  7922. example due to a permissions change, between when we start up
  7923. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  7924. on 0.0.9pre6.
  7925. - Avoid a bug that would keep us from replacing a microdescriptor
  7926. cache on Windows. (We would try to replace the file while still
  7927. holding it open. That's fine on Unix, but Windows doesn't let us
  7928. do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
  7929. - Add missing explanations for the authority-related torrc options
  7930. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
  7931. man page. Resolves issue 2379.
  7932. - As an authority, do not upload our own vote or signature set to
  7933. ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
  7934. it would get flagged as a duplicate. Resolves bug 3026.
  7935. - Accept hidden service descriptors if we think we might be a hidden
  7936. service directory, regardless of what our consensus says. This
  7937. helps robustness, since clients and hidden services can sometimes
  7938. have a more up-to-date view of the network consensus than we do,
  7939. and if they think that the directory authorities list us a HSDir,
  7940. we might actually be one. Related to bug 2732; bugfix on
  7941. 0.2.0.10-alpha.
  7942. - When a controller changes TrackHostExits, remove mappings for
  7943. hosts that should no longer have their exits tracked. Bugfix on
  7944. 0.1.0.1-rc.
  7945. - When a controller changes VirtualAddrNetwork, remove any mappings
  7946. for hosts that were automapped to the old network. Bugfix on
  7947. 0.1.1.19-rc.
  7948. - When a controller changes one of the AutomapHosts* options, remove
  7949. any mappings for hosts that should no longer be automapped. Bugfix
  7950. on 0.2.0.1-alpha.
  7951. - Do not reset the bridge descriptor download status every time we
  7952. re-parse our configuration or get a configuration change. Fixes
  7953. bug 3019; bugfix on 0.2.0.3-alpha.
  7954. o Minor bugfixes (code cleanup):
  7955. - When loading the microdesc journal, remember its current size.
  7956. In 0.2.2, this helps prevent the microdesc journal from growing
  7957. without limit on authorities (who are the only ones to use it in
  7958. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  7959. Fix posted by "cypherpunks."
  7960. - The microdesc journal is supposed to get rebuilt only if it is
  7961. at least _half_ the length of the store, not _twice_ the length
  7962. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  7963. - Fix a potential null-pointer dereference while computing a
  7964. consensus. Bugfix on tor-0.2.0.3-alpha, found with the help of
  7965. clang's analyzer.
  7966. - Avoid a possible null-pointer dereference when rebuilding the mdesc
  7967. cache without actually having any descriptors to cache. Bugfix on
  7968. 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
  7969. - If we fail to compute the identity digest of a v3 legacy keypair,
  7970. warn, and don't use a buffer-full of junk instead. Bugfix on
  7971. 0.2.1.1-alpha; fixes bug 3106.
  7972. - Resolve an untriggerable issue in smartlist_string_num_isin(),
  7973. where if the function had ever in the future been used to check
  7974. for the presence of a too-large number, it would have given an
  7975. incorrect result. (Fortunately, we only used it for 16-bit
  7976. values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
  7977. - Require that introduction point keys and onion handshake keys
  7978. have a public exponent of 65537. Starts to fix bug 3207; bugfix
  7979. on 0.2.0.10-alpha.
  7980. o Removed features:
  7981. - Caches no longer download and serve v2 networkstatus documents
  7982. unless FetchV2Networkstatus flag is set: these documents haven't
  7983. haven't been used by clients or relays since 0.2.0.x. Resolves
  7984. bug 3022.
  7985. Changes in version 0.2.3.1-alpha - 2011-05-05
  7986. Tor 0.2.3.1-alpha adds some new experimental features, including support
  7987. for an improved network IO backend, IOCP networking on Windows,
  7988. microdescriptor caching, "fast-start" support for streams, and automatic
  7989. home router configuration. There are also numerous internal improvements
  7990. to try to make the code easier for developers to work with.
  7991. This is the first alpha release in a new series, so expect there to be
  7992. bugs. Users who would rather test out a more stable branch should
  7993. stay with 0.2.2.x for now.
  7994. o Major features:
  7995. - Tor can now optionally build with the "bufferevents" buffered IO
  7996. backend provided by Libevent 2. To use this feature, make sure you
  7997. have the latest possible version of Libevent, and pass the
  7998. --enable-bufferevents flag to configure when building Tor from
  7999. source. This feature will make our networking code more flexible,
  8000. let us stack layers on each other, and let us use more efficient
  8001. zero-copy transports where available.
  8002. - As an experimental feature, Tor can use IOCP for networking on Windows.
  8003. Once this code is tuned and optimized, it promises much better
  8004. performance than the select-based backend we've used in the past. To
  8005. try this feature, you must build Tor with Libevent 2, configure Tor
  8006. with the "bufferevents" buffered IO backend, and add "DisableIOCP 0" to
  8007. your torrc. There are known bugs here: only try this if you can help
  8008. debug it as it breaks.
  8009. - The EntryNodes option can now include country codes like {de} or IP
  8010. addresses or network masks. Previously we had disallowed these options
  8011. because we didn't have an efficient way to keep the list up to
  8012. date. Fixes bug 1982, but see bug 2798 for an unresolved issue here.
  8013. - Exit nodes now accept and queue data on not-yet-connected streams.
  8014. Previously, the client wasn't allowed to send data until the stream was
  8015. connected, which slowed down all connections. This change will enable
  8016. clients to perform a "fast-start" on streams and send data without
  8017. having to wait for a confirmation that the stream has opened. (Patch
  8018. from Ian Goldberg; implements the server side of Proposal 174.)
  8019. - Tor now has initial support for automatic port mapping on the many
  8020. home routers that support NAT-PMP or UPnP. (Not yet supported on
  8021. Windows). To build the support code, you'll need to have libnatpnp
  8022. library and/or the libminiupnpc library, and you'll need to enable the
  8023. feature specifically by passing "--enable-upnp" and/or
  8024. "--enable-natpnp" to configure. To turn it on, use the new
  8025. PortForwarding option.
  8026. - Caches now download, cache, and serve multiple "flavors" of the
  8027. consensus, including a flavor that describes microdescriptors.
  8028. - Caches now download, cache, and serve microdescriptors -- small
  8029. summaries of router descriptors that are authenticated by all of the
  8030. directory authorities. Once enough caches are running this code,
  8031. clients will be able to save significant amounts of directory bandwidth
  8032. by downloading microdescriptors instead of router descriptors.
  8033. o Minor features:
  8034. - Make logging resolution configurable with a new LogTimeGranularity
  8035. option, and change the default from 1 millisecond to 1 second.
  8036. Implements enhancement 1668.
  8037. - We log which torrc file we're using on startup. Implements ticket
  8038. 2444.
  8039. - Ordinarily, Tor does not count traffic from private addresses (like
  8040. 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
  8041. There is now a new option, CountPrivateBandwidth, to disable this
  8042. behavior. Patch from Daniel Cagara.
  8043. - New --enable-static-tor configure option for building Tor as
  8044. statically as possible. Idea, general hackery and thoughts from
  8045. Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
  8046. 2702.
  8047. - If you set the NumCPUs option to 0, Tor will now try to detect how
  8048. many CPUs you have. This is the new default behavior.
  8049. - Turn on directory request statistics by default and include them in
  8050. extra-info descriptors. Don't break if we have no GeoIP database.
  8051. - Relays that set "ConnDirectionStatistics 1" write statistics on the
  8052. bidirectional use of connections to disk every 24 hours.
  8053. - Add a GeoIP file digest to the extra-info descriptor. Implements
  8054. enhancement 1883.
  8055. - The NodeFamily option -- which let you declare that you want to
  8056. consider nodes to be part of a family whether they list themselves
  8057. that way or not -- now allows IP address ranges and country codes.
  8058. - Add a new 'Heartbeat' log message type to periodically log a message
  8059. describing Tor's status at level Notice. This feature is meant for
  8060. operators who log at notice, and want to make sure that their Tor
  8061. server is still working. Implementation by George Kadianakis.
  8062. o Minor bugfixes (on 0.2.2.25-alpha):
  8063. - When loading the microdesc journal, remember its current size.
  8064. In 0.2.2, this helps prevent the microdesc journal from growing
  8065. without limit on authorities (who are the only ones to use it in
  8066. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  8067. Fix posted by "cypherpunks."
  8068. - The microdesc journal is supposed to get rebuilt only if it is
  8069. at least _half_ the length of the store, not _twice_ the length
  8070. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  8071. - If as an authority we fail to compute the identity digest of a v3
  8072. legacy keypair, warn, and don't use a buffer-full of junk instead.
  8073. Bugfix on 0.2.1.1-alpha; fixes bug 3106.
  8074. - Authorities now clean their microdesc cache periodically and when
  8075. reading from disk initially, not only when adding new descriptors.
  8076. This prevents a bug where we could lose microdescriptors. Bugfix
  8077. on 0.2.2.6-alpha.
  8078. o Minor features (controller):
  8079. - Add a new SIGNAL event to the controller interface so that
  8080. controllers can be notified when Tor handles a signal. Resolves
  8081. issue 1955. Patch by John Brooks.
  8082. - Add a new GETINFO option to get total bytes read and written. Patch
  8083. from pipe, revised by atagar. Resolves ticket 2345.
  8084. - Implement some GETINFO controller fields to provide information about
  8085. the Tor process's pid, euid, username, and resource limits.
  8086. o Build changes:
  8087. - Our build system requires automake 1.6 or later to create the
  8088. Makefile.in files. Previously, you could have used 1.4.
  8089. This only affects developers and people building Tor from git;
  8090. people who build Tor from the source distribution without changing
  8091. the Makefile.am files should be fine.
  8092. - Our autogen.sh script uses autoreconf to launch autoconf, automake, and
  8093. so on. This is more robust against some of the failure modes
  8094. associated with running the autotools pieces on their own.
  8095. o Minor packaging issues:
  8096. - On OpenSUSE, create the /var/run/tor directory on startup if it is not
  8097. already created. Patch from Andreas Stieger. Fixes bug 2573.
  8098. o Code simplifications and refactoring:
  8099. - A major revision to our internal node-selecting and listing logic.
  8100. Tor already had at least two major ways to look at the question of
  8101. "which Tor servers do we know about": a list of router descriptors,
  8102. and a list of entries in the current consensus. With
  8103. microdescriptors, we're adding a third. Having so many systems
  8104. without an abstraction layer over them was hurting the codebase.
  8105. Now, we have a new "node_t" abstraction that presents a consistent
  8106. interface to a client's view of a Tor node, and holds (nearly) all
  8107. of the mutable state formerly in routerinfo_t and routerstatus_t.
  8108. - The helper programs tor-gencert, tor-resolve, and tor-checkkey
  8109. no longer link against Libevent: they never used it, but
  8110. our library structure used to force them to link it.
  8111. o Removed features:
  8112. - Remove some old code to work around even older versions of Tor that
  8113. used forked processes to handle DNS requests. Such versions of Tor
  8114. are no longer in use as servers.
  8115. o Documentation fixes:
  8116. - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
  8117. - Add missing documentation for the authority-related torrc options
  8118. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey. Resolves
  8119. issue 2379.
  8120. Changes in version 0.2.2.25-alpha - 2011-04-29
  8121. Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
  8122. robust, routers no longer overreport their bandwidth, Win7 should crash
  8123. a little less, and NEWNYM (as used by Vidalia's "new identity" button)
  8124. now prevents hidden service-related activity from being linkable. It
  8125. provides more information to Vidalia so you can see if your bridge is
  8126. working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
  8127. StrictNodes configuration options to make them more reliable, more
  8128. understandable, and more regularly applied. If you use those options,
  8129. please see the revised documentation for them in the manual page.
  8130. o Major bugfixes:
  8131. - Relays were publishing grossly inflated bandwidth values because
  8132. they were writing their state files wrong--now they write the
  8133. correct value. Also, resume reading bandwidth history from the
  8134. state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
  8135. - Improve hidden service robustness: When we find that we have
  8136. extended a hidden service's introduction circuit to a relay not
  8137. listed as an introduction point in the HS descriptor we currently
  8138. have, retry with an introduction point from the current
  8139. descriptor. Previously we would just give up. Fixes bugs 1024 and
  8140. 1930; bugfix on 0.2.0.10-alpha.
  8141. - Clients now stop trying to use an exit node associated with a given
  8142. destination by TrackHostExits if they fail to reach that exit node.
  8143. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
  8144. - Fix crash bug on platforms where gmtime and localtime can return
  8145. NULL. Windows 7 users were running into this one. Fixes part of bug
  8146. 2077. Bugfix on all versions of Tor. Found by boboper.
  8147. o Security and stability fixes:
  8148. - Don't double-free a parsable, but invalid, microdescriptor, even if
  8149. it is followed in the blob we're parsing by an unparsable
  8150. microdescriptor. Fixes an issue reported in a comment on bug 2954.
  8151. Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
  8152. - If the Nickname configuration option isn't given, Tor would pick a
  8153. nickname based on the local hostname as the nickname for a relay.
  8154. Because nicknames are not very important in today's Tor and the
  8155. "Unnamed" nickname has been implemented, this is now problematic
  8156. behavior: It leaks information about the hostname without being
  8157. useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
  8158. introduced the Unnamed nickname. Reported by tagnaq.
  8159. - Fix an uncommon assertion failure when running with DNSPort under
  8160. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  8161. - Avoid linkability based on cached hidden service descriptors: forget
  8162. all hidden service descriptors cached as a client when processing a
  8163. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  8164. o Major features:
  8165. - Export GeoIP information on bridge usage to controllers even if we
  8166. have not yet been running for 24 hours. Now Vidalia bridge operators
  8167. can get more accurate and immediate feedback about their
  8168. contributions to the network.
  8169. o Major features and bugfixes (node selection):
  8170. - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
  8171. ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
  8172. options. Previously, we had been ambiguous in describing what
  8173. counted as an "exit" node, and what operations exactly "StrictNodes
  8174. 0" would permit. This created confusion when people saw nodes built
  8175. through unexpected circuits, and made it hard to tell real bugs from
  8176. surprises. Now the intended behavior is:
  8177. . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
  8178. a node that delivers user traffic outside the Tor network.
  8179. . "Entry", in the context of EntryNodes, means a node used as the
  8180. first hop of a multihop circuit. It doesn't include direct
  8181. connections to directory servers.
  8182. . "ExcludeNodes" applies to all nodes.
  8183. . "StrictNodes" changes the behavior of ExcludeNodes only. When
  8184. StrictNodes is set, Tor should avoid all nodes listed in
  8185. ExcludeNodes, even when it will make user requests fail. When
  8186. StrictNodes is *not* set, then Tor should follow ExcludeNodes
  8187. whenever it can, except when it must use an excluded node to
  8188. perform self-tests, connect to a hidden service, provide a
  8189. hidden service, fulfill a .exit request, upload directory
  8190. information, or fetch directory information.
  8191. Collectively, the changes to implement the behavior fix bug 1090.
  8192. - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
  8193. a node is listed in both, it's treated as excluded.
  8194. - ExcludeNodes now applies to directory nodes -- as a preference if
  8195. StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
  8196. Don't exclude all the directory authorities and set StrictNodes to 1
  8197. unless you really want your Tor to break.
  8198. - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
  8199. - ExcludeExitNodes now overrides .exit requests.
  8200. - We don't use bridges listed in ExcludeNodes.
  8201. - When StrictNodes is 1:
  8202. . We now apply ExcludeNodes to hidden service introduction points
  8203. and to rendezvous points selected by hidden service users. This
  8204. can make your hidden service less reliable: use it with caution!
  8205. . If we have used ExcludeNodes on ourself, do not try relay
  8206. reachability self-tests.
  8207. . If we have excluded all the directory authorities, we will not
  8208. even try to upload our descriptor if we're a relay.
  8209. . Do not honor .exit requests to an excluded node.
  8210. - Remove a misfeature that caused us to ignore the Fast/Stable flags
  8211. when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
  8212. - When the set of permitted nodes changes, we now remove any mappings
  8213. introduced via TrackExitHosts to now-excluded nodes. Bugfix on
  8214. 0.1.0.1-rc.
  8215. - We never cannibalize a circuit that had excluded nodes on it, even
  8216. if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
  8217. - Revert a change where we would be laxer about attaching streams to
  8218. circuits than when building the circuits. This was meant to prevent
  8219. a set of bugs where streams were never attachable, but our improved
  8220. code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
  8221. - Keep track of how many times we launch a new circuit to handle a
  8222. given stream. Too many launches could indicate an inconsistency
  8223. between our "launch a circuit to handle this stream" logic and our
  8224. "attach this stream to one of the available circuits" logic.
  8225. - Improve log messages related to excluded nodes.
  8226. o Minor bugfixes:
  8227. - Fix a spurious warning when moving from a short month to a long
  8228. month on relays with month-based BandwidthAccounting. Bugfix on
  8229. 0.2.2.17-alpha; fixes bug 3020.
  8230. - When a client finds that an origin circuit has run out of 16-bit
  8231. stream IDs, we now mark it as unusable for new streams. Previously,
  8232. we would try to close the entire circuit. Bugfix on 0.0.6.
  8233. - Add a forgotten cast that caused a compile warning on OS X 10.6.
  8234. Bugfix on 0.2.2.24-alpha.
  8235. - Be more careful about reporting the correct error from a failed
  8236. connect() system call. Under some circumstances, it was possible to
  8237. look at an incorrect value for errno when sending the end reason.
  8238. Bugfix on 0.1.0.1-rc.
  8239. - Correctly handle an "impossible" overflow cases in connection byte
  8240. counting, where we write or read more than 4GB on an edge connection
  8241. in a single second. Bugfix on 0.1.2.8-beta.
  8242. - Correct the warning displayed when a rendezvous descriptor exceeds
  8243. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  8244. John Brooks.
  8245. - Clients and hidden services now use HSDir-flagged relays for hidden
  8246. service descriptor downloads and uploads even if the relays have no
  8247. DirPort set and the client has disabled TunnelDirConns. This will
  8248. eventually allow us to give the HSDir flag to relays with no
  8249. DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
  8250. - Downgrade "no current certificates known for authority" message from
  8251. Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
  8252. - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
  8253. 2917. Bugfix on 0.1.1.1-alpha.
  8254. - Only limit the lengths of single HS descriptors, even when multiple
  8255. HS descriptors are published to an HSDir relay in a single POST
  8256. operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
  8257. - Write the current time into the LastWritten line in our state file,
  8258. rather than the time from the previous write attempt. Also, stop
  8259. trying to use a time of -1 in our log statements. Fixes bug 3039;
  8260. bugfix on 0.2.2.14-alpha.
  8261. - Be more consistent in our treatment of file system paths. "~" should
  8262. get expanded to the user's home directory in the Log config option.
  8263. Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
  8264. feature for the -f and --DataDirectory options.
  8265. o Minor features:
  8266. - Make sure every relay writes a state file at least every 12 hours.
  8267. Previously, a relay could go for weeks without writing its state
  8268. file, and on a crash could lose its bandwidth history, capacity
  8269. estimates, client country statistics, and so on. Addresses bug 3012.
  8270. - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
  8271. Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
  8272. clients are already deprecated because of security bugs.
  8273. - Don't allow v0 hidden service authorities to act as clients.
  8274. Required by fix for bug 3000.
  8275. - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
  8276. by fix for bug 3000.
  8277. - Ensure that no empty [dirreq-](read|write)-history lines are added
  8278. to an extrainfo document. Implements ticket 2497.
  8279. o Code simplification and refactoring:
  8280. - Remove workaround code to handle directory responses from servers
  8281. that had bug 539 (they would send HTTP status 503 responses _and_
  8282. send a body too). Since only server versions before
  8283. 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
  8284. keep the workaround in place.
  8285. - Remove the old 'fuzzy time' logic. It was supposed to be used for
  8286. handling calculations where we have a known amount of clock skew and
  8287. an allowed amount of unknown skew. But we only used it in three
  8288. places, and we never adjusted the known/unknown skew values. This is
  8289. still something we might want to do someday, but if we do, we'll
  8290. want to do it differently.
  8291. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  8292. None of the cases where we did this before were wrong, but by making
  8293. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  8294. - Use GetTempDir to find the proper temporary directory location on
  8295. Windows when generating temporary files for the unit tests. Patch by
  8296. Gisle Vanem.
  8297. Changes in version 0.2.2.24-alpha - 2011-04-08
  8298. Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
  8299. prevented Tor clients from effectively using "multihomed" bridges,
  8300. that is, bridges that listen on multiple ports or IP addresses so users
  8301. can continue to use some of their addresses even if others get blocked.
  8302. o Major bugfixes:
  8303. - Fix a bug where bridge users who configure the non-canonical
  8304. address of a bridge automatically switch to its canonical
  8305. address. If a bridge listens at more than one address, it should be
  8306. able to advertise those addresses independently and any non-blocked
  8307. addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
  8308. bug 2510.
  8309. - If you configured Tor to use bridge A, and then quit and
  8310. configured Tor to use bridge B instead, it would happily continue
  8311. to use bridge A if it's still reachable. While this behavior is
  8312. a feature if your goal is connectivity, in some scenarios it's a
  8313. dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
  8314. - Directory authorities now use data collected from their own
  8315. uptime observations when choosing whether to assign the HSDir flag
  8316. to relays, instead of trusting the uptime value the relay reports in
  8317. its descriptor. This change helps prevent an attack where a small
  8318. set of nodes with frequently-changing identity keys can blackhole
  8319. a hidden service. (Only authorities need upgrade; others will be
  8320. fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
  8321. o Minor bugfixes:
  8322. - When we restart our relay, we might get a successful connection
  8323. from the outside before we've started our reachability tests,
  8324. triggering a warning: "ORPort found reachable, but I have no
  8325. routerinfo yet. Failing to inform controller of success." This
  8326. bug was harmless unless Tor is running under a controller
  8327. like Vidalia, in which case the controller would never get a
  8328. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  8329. fixes bug 1172.
  8330. - Make directory authorities more accurate at recording when
  8331. relays that have failed several reachability tests became
  8332. unreachable, so we can provide more accuracy at assigning Stable,
  8333. Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
  8334. - Fix an issue that prevented static linking of libevent on
  8335. some platforms (notably Linux). Fixes bug 2698; bugfix on
  8336. versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
  8337. the --with-static-libevent configure option).
  8338. - We now ask the other side of a stream (the client or the exit)
  8339. for more data on that stream when the amount of queued data on
  8340. that stream dips low enough. Previously, we wouldn't ask the
  8341. other side for more data until either it sent us more data (which
  8342. it wasn't supposed to do if it had exhausted its window!) or we
  8343. had completely flushed all our queued data. This flow control fix
  8344. should improve throughput. Fixes bug 2756; bugfix on the earliest
  8345. released versions of Tor (svn commit r152).
  8346. - Avoid a double-mark-for-free warning when failing to attach a
  8347. transparent proxy connection. (We thought we had fixed this in
  8348. 0.2.2.23-alpha, but it turns out our fix was checking the wrong
  8349. connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
  8350. bug) and 0.2.2.23-alpha (the incorrect fix).
  8351. - When warning about missing zlib development packages during compile,
  8352. give the correct package names. Bugfix on 0.2.0.1-alpha.
  8353. o Minor features:
  8354. - Directory authorities now log the source of a rejected POSTed v3
  8355. networkstatus vote.
  8356. - Make compilation with clang possible when using
  8357. --enable-gcc-warnings by removing two warning options that clang
  8358. hasn't implemented yet and by fixing a few warnings. Implements
  8359. ticket 2696.
  8360. - When expiring circuits, use microsecond timers rather than
  8361. one-second timers. This can avoid an unpleasant situation where a
  8362. circuit is launched near the end of one second and expired right
  8363. near the beginning of the next, and prevent fluctuations in circuit
  8364. timeout values.
  8365. - Use computed circuit-build timeouts to decide when to launch
  8366. parallel introduction circuits for hidden services. (Previously,
  8367. we would retry after 15 seconds.)
  8368. - Update to the April 1 2011 Maxmind GeoLite Country database.
  8369. o Packaging fixes:
  8370. - Create the /var/run/tor directory on startup on OpenSUSE if it is
  8371. not already created. Patch from Andreas Stieger. Fixes bug 2573.
  8372. o Documentation changes:
  8373. - Modernize the doxygen configuration file slightly. Fixes bug 2707.
  8374. - Resolve all doxygen warnings except those for missing documentation.
  8375. Fixes bug 2705.
  8376. - Add doxygen documentation for more functions, fields, and types.
  8377. Changes in version 0.2.2.23-alpha - 2011-03-08
  8378. Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
  8379. they restart they don't lose their bandwidth capacity estimate. This
  8380. release also fixes a diverse set of user-facing bugs, ranging from
  8381. relays overrunning their rate limiting to clients falsely warning about
  8382. clock skew to bridge descriptor leaks by our bridge directory authority.
  8383. o Major bugfixes:
  8384. - Stop sending a CLOCK_SKEW controller status event whenever
  8385. we fetch directory information from a relay that has a wrong clock.
  8386. Instead, only inform the controller when it's a trusted authority
  8387. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  8388. the rest of bug 1074.
  8389. - Fix an assert in parsing router descriptors containing IPv6
  8390. addresses. This one took down the directory authorities when
  8391. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  8392. - Make the bridge directory authority refuse to answer directory
  8393. requests for "all" descriptors. It used to include bridge
  8394. descriptors in its answer, which was a major information leak.
  8395. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  8396. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  8397. Tor would ignore their RelayBandwidthBurst setting,
  8398. potentially using more bandwidth than expected. Bugfix on
  8399. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  8400. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  8401. hidserv" in her torrc. The 'hidserv' argument never controlled
  8402. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  8403. o Major features:
  8404. - Relays now save observed peak bandwidth throughput rates to their
  8405. state file (along with total usage, which was already saved)
  8406. so that they can determine their correct estimated bandwidth on
  8407. restart. Resolves bug 1863, where Tor relays would reset their
  8408. estimated bandwidth to 0 after restarting.
  8409. - Directory authorities now take changes in router IP address and
  8410. ORPort into account when determining router stability. Previously,
  8411. if a router changed its IP or ORPort, the authorities would not
  8412. treat it as having any downtime for the purposes of stability
  8413. calculation, whereas clients would experience downtime since the
  8414. change could take a while to propagate to them. Resolves issue 1035.
  8415. - Enable Address Space Layout Randomization (ASLR) and Data Execution
  8416. Prevention (DEP) by default on Windows to make it harder for
  8417. attackers to exploit vulnerabilities. Patch from John Brooks.
  8418. o Minor bugfixes (on 0.2.1.x and earlier):
  8419. - Fix a rare crash bug that could occur when a client was configured
  8420. with a large number of bridges. Fixes bug 2629; bugfix on
  8421. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  8422. - Avoid a double mark-for-free warning when failing to attach a
  8423. transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
  8424. bug 2279.
  8425. - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
  8426. found by "cypherpunks". This bug was introduced before the first
  8427. Tor release, in svn commit r110.
  8428. - Country codes aren't supported in EntryNodes until 0.2.3.x, so
  8429. don't mention them in the manpage. Fixes bug 2450; issue
  8430. spotted by keb and G-Lo.
  8431. - Fix a bug in bandwidth history state parsing that could have been
  8432. triggered if a future version of Tor ever changed the timing
  8433. granularity at which bandwidth history is measured. Bugfix on
  8434. Tor 0.1.1.11-alpha.
  8435. - When a relay decides that its DNS is too broken for it to serve
  8436. as an exit server, it advertised itself as a non-exit, but
  8437. continued to act as an exit. This could create accidental
  8438. partitioning opportunities for users. Instead, if a relay is
  8439. going to advertise reject *:* as its exit policy, it should
  8440. really act with exit policy "reject *:*". Fixes bug 2366.
  8441. Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
  8442. - In the special case where you configure a public exit relay as your
  8443. bridge, Tor would be willing to use that exit relay as the last
  8444. hop in your circuit as well. Now we fail that circuit instead.
  8445. Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
  8446. - Fix a bug with our locking implementation on Windows that couldn't
  8447. correctly detect when a file was already locked. Fixes bug 2504,
  8448. bugfix on 0.2.1.6-alpha.
  8449. - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
  8450. Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
  8451. "piebeer".
  8452. - Set target port in get_interface_address6() correctly. Bugfix
  8453. on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
  8454. - Directory authorities are now more robust to hops back in time
  8455. when calculating router stability. Previously, if a run of uptime
  8456. or downtime appeared to be negative, the calculation could give
  8457. incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
  8458. bug 1035.
  8459. - Fix an assert that got triggered when using the TestingTorNetwork
  8460. configuration option and then issuing a GETINFO config-text control
  8461. command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
  8462. o Minor bugfixes (on 0.2.2.x):
  8463. - Clients should not weight BadExit nodes as Exits in their node
  8464. selection. Similarly, directory authorities should not count BadExit
  8465. bandwidth as Exit bandwidth when computing bandwidth-weights.
  8466. Bugfix on 0.2.2.10-alpha; fixes bug 2203.
  8467. - Correctly clear our dir_read/dir_write history when there is an
  8468. error parsing any bw history value from the state file. Bugfix on
  8469. Tor 0.2.2.15-alpha.
  8470. - Resolve a bug in verifying signatures of directory objects
  8471. with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
  8472. Fixes bug 2409. Found by "piebeer".
  8473. - Bridge authorities no longer crash on SIGHUP when they try to
  8474. publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
  8475. on 0.2.2.22-alpha.
  8476. o Minor features:
  8477. - Log less aggressively about circuit timeout changes, and improve
  8478. some other circuit timeout messages. Resolves bug 2004.
  8479. - Log a little more clearly about the times at which we're no longer
  8480. accepting new connections. Resolves bug 2181.
  8481. - Reject attempts at the client side to open connections to private
  8482. IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
  8483. a randomly chosen exit node. Attempts to do so are always
  8484. ill-defined, generally prevented by exit policies, and usually
  8485. in error. This will also help to detect loops in transparent
  8486. proxy configurations. You can disable this feature by setting
  8487. "ClientRejectInternalAddresses 0" in your torrc.
  8488. - Always treat failure to allocate an RSA key as an unrecoverable
  8489. allocation error.
  8490. - Update to the March 1 2011 Maxmind GeoLite Country database.
  8491. o Minor features (log subsystem):
  8492. - Add documentation for configuring logging at different severities in
  8493. different log domains. We've had this feature since 0.2.1.1-alpha,
  8494. but for some reason it never made it into the manpage. Fixes
  8495. bug 2215.
  8496. - Make it simpler to specify "All log domains except for A and B".
  8497. Previously you needed to say "[*,~A,~B]". Now you can just say
  8498. "[~A,~B]".
  8499. - Add a "LogMessageDomains 1" option to include the domains of log
  8500. messages along with the messages. Without this, there's no way
  8501. to use log domains without reading the source or doing a lot
  8502. of guessing.
  8503. o Packaging changes:
  8504. - Stop shipping the Tor specs files and development proposal documents
  8505. in the tarball. They are now in a separate git repository at
  8506. git://git.torproject.org/torspec.git
  8507. Changes in version 0.2.1.30 - 2011-02-23
  8508. Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
  8509. change is a slight tweak to Tor's TLS handshake that makes relays
  8510. and bridges that run this new version reachable from Iran again.
  8511. We don't expect this tweak will win the arms race long-term, but it
  8512. buys us time until we roll out a better solution.
  8513. o Major bugfixes:
  8514. - Stop sending a CLOCK_SKEW controller status event whenever
  8515. we fetch directory information from a relay that has a wrong clock.
  8516. Instead, only inform the controller when it's a trusted authority
  8517. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  8518. the rest of bug 1074.
  8519. - Fix a bounds-checking error that could allow an attacker to
  8520. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  8521. Found by "piebeer".
  8522. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  8523. Tor would ignore their RelayBandwidthBurst setting,
  8524. potentially using more bandwidth than expected. Bugfix on
  8525. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  8526. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  8527. hidserv" in her torrc. The 'hidserv' argument never controlled
  8528. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  8529. o Minor features:
  8530. - Adjust our TLS Diffie-Hellman parameters to match those used by
  8531. Apache's mod_ssl.
  8532. - Update to the February 1 2011 Maxmind GeoLite Country database.
  8533. o Minor bugfixes:
  8534. - Check for and reject overly long directory certificates and
  8535. directory tokens before they have a chance to hit any assertions.
  8536. Bugfix on 0.2.1.28. Found by "doorss".
  8537. - Bring the logic that gathers routerinfos and assesses the
  8538. acceptability of circuits into line. This prevents a Tor OP from
  8539. getting locked in a cycle of choosing its local OR as an exit for a
  8540. path (due to a .exit request) and then rejecting the circuit because
  8541. its OR is not listed yet. It also prevents Tor clients from using an
  8542. OR running in the same instance as an exit (due to a .exit request)
  8543. if the OR does not meet the same requirements expected of an OR
  8544. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  8545. o Packaging changes:
  8546. - Stop shipping the Tor specs files and development proposal documents
  8547. in the tarball. They are now in a separate git repository at
  8548. git://git.torproject.org/torspec.git
  8549. - Do not include Git version tags as though they are SVN tags when
  8550. generating a tarball from inside a repository that has switched
  8551. between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  8552. Changes in version 0.2.2.22-alpha - 2011-01-25
  8553. Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
  8554. main other change is a slight tweak to Tor's TLS handshake that makes
  8555. relays and bridges that run this new version reachable from Iran again.
  8556. We don't expect this tweak will win the arms race long-term, but it
  8557. will buy us a bit more time until we roll out a better solution.
  8558. o Major bugfixes:
  8559. - Fix a bounds-checking error that could allow an attacker to
  8560. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  8561. Found by "piebeer".
  8562. - Don't assert when changing from bridge to relay or vice versa
  8563. via the controller. The assert happened because we didn't properly
  8564. initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
  8565. bug 2433. Reported by bastik.
  8566. o Minor features:
  8567. - Adjust our TLS Diffie-Hellman parameters to match those used by
  8568. Apache's mod_ssl.
  8569. - Provide a log message stating which geoip file we're parsing
  8570. instead of just stating that we're parsing the geoip file.
  8571. Implements ticket 2432.
  8572. o Minor bugfixes:
  8573. - Check for and reject overly long directory certificates and
  8574. directory tokens before they have a chance to hit any assertions.
  8575. Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
  8576. Changes in version 0.2.2.21-alpha - 2011-01-15
  8577. Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
  8578. continues our recent code security audit work. The main fix resolves
  8579. a remote heap overflow vulnerability that can allow remote code
  8580. execution (CVE-2011-0427). Other fixes address a variety of assert
  8581. and crash bugs, most of which we think are hard to exploit remotely.
  8582. o Major bugfixes (security), also included in 0.2.1.29:
  8583. - Fix a heap overflow bug where an adversary could cause heap
  8584. corruption. This bug probably allows remote code execution
  8585. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  8586. 0.1.2.10-rc.
  8587. - Prevent a denial-of-service attack by disallowing any
  8588. zlib-compressed data whose compression factor is implausibly
  8589. high. Fixes part of bug 2324; reported by "doorss".
  8590. - Zero out a few more keys in memory before freeing them. Fixes
  8591. bug 2384 and part of bug 2385. These key instances found by
  8592. "cypherpunks", based on Andrew Case's report about being able
  8593. to find sensitive data in Tor's memory space if you have enough
  8594. permissions. Bugfix on 0.0.2pre9.
  8595. o Major bugfixes (crashes), also included in 0.2.1.29:
  8596. - Prevent calls to Libevent from inside Libevent log handlers.
  8597. This had potential to cause a nasty set of crashes, especially
  8598. if running Libevent with debug logging enabled, and running
  8599. Tor with a controller watching for low-severity log messages.
  8600. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  8601. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  8602. underflow errors there too. Fixes the other part of bug 2324.
  8603. - Fix a bug where we would assert if we ever had a
  8604. cached-descriptors.new file (or another file read directly into
  8605. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  8606. on 0.2.1.25. Found by doorss.
  8607. - Fix some potential asserts and parsing issues with grossly
  8608. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  8609. Found by doorss.
  8610. o Minor bugfixes (other), also included in 0.2.1.29:
  8611. - Fix a bug with handling misformed replies to reverse DNS lookup
  8612. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  8613. bug reported by doorss.
  8614. - Fix compilation on mingw when a pthreads compatibility library
  8615. has been installed. (We don't want to use it, so we shouldn't
  8616. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  8617. - Fix a bug where we would declare that we had run out of virtual
  8618. addresses when the address space was only half-exhausted. Bugfix
  8619. on 0.1.2.1-alpha.
  8620. - Correctly handle the case where AutomapHostsOnResolve is set but
  8621. no virtual addresses are available. Fixes bug 2328; bugfix on
  8622. 0.1.2.1-alpha. Bug found by doorss.
  8623. - Correctly handle wrapping around when we run out of virtual
  8624. address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
  8625. o Minor features, also included in 0.2.1.29:
  8626. - Update to the January 1 2011 Maxmind GeoLite Country database.
  8627. - Introduce output size checks on all of our decryption functions.
  8628. o Build changes, also included in 0.2.1.29:
  8629. - Tor does not build packages correctly with Automake 1.6 and earlier;
  8630. added a check to Makefile.am to make sure that we're building with
  8631. Automake 1.7 or later.
  8632. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  8633. because we built it with a too-old version of automake. Thus that
  8634. release broke ./configure --enable-openbsd-malloc, which is popular
  8635. among really fast exit relays on Linux.
  8636. o Major bugfixes, new in 0.2.2.21-alpha:
  8637. - Prevent crash/heap corruption when the cbtnummodes consensus
  8638. parameter is set to 0 or large values. Fixes bug 2317; bugfix
  8639. on 0.2.2.14-alpha.
  8640. o Major features, new in 0.2.2.21-alpha:
  8641. - Introduce minimum/maximum values that clients will believe
  8642. from the consensus. Now we'll have a better chance to avoid crashes
  8643. or worse when a consensus param has a weird value.
  8644. o Minor features, new in 0.2.2.21-alpha:
  8645. - Make sure to disable DirPort if running as a bridge. DirPorts aren't
  8646. used on bridges, and it makes bridge scanning somewhat easier.
  8647. - If writing the state file to disk fails, wait up to an hour before
  8648. retrying again, rather than trying again each second. Fixes bug
  8649. 2346; bugfix on Tor 0.1.1.3-alpha.
  8650. - Make Libevent log messages get delivered to controllers later,
  8651. and not from inside the Libevent log handler. This prevents unsafe
  8652. reentrant Libevent calls while still letting the log messages
  8653. get through.
  8654. - Detect platforms that brokenly use a signed size_t, and refuse to
  8655. build there. Found and analyzed by doorss and rransom.
  8656. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
  8657. Resolves bug 2314.
  8658. o Minor bugfixes, new in 0.2.2.21-alpha:
  8659. - Handle SOCKS messages longer than 128 bytes long correctly, rather
  8660. than waiting forever for them to finish. Fixes bug 2330; bugfix
  8661. on 0.2.0.16-alpha. Found by doorss.
  8662. - Add assertions to check for overflow in arguments to
  8663. base32_encode() and base32_decode(); fix a signed-unsigned
  8664. comparison there too. These bugs are not actually reachable in Tor,
  8665. but it's good to prevent future errors too. Found by doorss.
  8666. - Correctly detect failures to create DNS requests when using Libevent
  8667. versions before v2. (Before Libevent 2, we used our own evdns
  8668. implementation. Its return values for Libevent's evdns_resolve_*()
  8669. functions are not consistent with those from Libevent.) Fixes bug
  8670. 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
  8671. o Documentation, new in 0.2.2.21-alpha:
  8672. - Document the default socks host and port (127.0.0.1:9050) for
  8673. tor-resolve.
  8674. Changes in version 0.2.1.29 - 2011-01-15
  8675. Tor 0.2.1.29 continues our recent code security audit work. The main
  8676. fix resolves a remote heap overflow vulnerability that can allow remote
  8677. code execution. Other fixes address a variety of assert and crash bugs,
  8678. most of which we think are hard to exploit remotely.
  8679. o Major bugfixes (security):
  8680. - Fix a heap overflow bug where an adversary could cause heap
  8681. corruption. This bug probably allows remote code execution
  8682. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  8683. 0.1.2.10-rc.
  8684. - Prevent a denial-of-service attack by disallowing any
  8685. zlib-compressed data whose compression factor is implausibly
  8686. high. Fixes part of bug 2324; reported by "doorss".
  8687. - Zero out a few more keys in memory before freeing them. Fixes
  8688. bug 2384 and part of bug 2385. These key instances found by
  8689. "cypherpunks", based on Andrew Case's report about being able
  8690. to find sensitive data in Tor's memory space if you have enough
  8691. permissions. Bugfix on 0.0.2pre9.
  8692. o Major bugfixes (crashes):
  8693. - Prevent calls to Libevent from inside Libevent log handlers.
  8694. This had potential to cause a nasty set of crashes, especially
  8695. if running Libevent with debug logging enabled, and running
  8696. Tor with a controller watching for low-severity log messages.
  8697. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  8698. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  8699. underflow errors there too. Fixes the other part of bug 2324.
  8700. - Fix a bug where we would assert if we ever had a
  8701. cached-descriptors.new file (or another file read directly into
  8702. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  8703. on 0.2.1.25. Found by doorss.
  8704. - Fix some potential asserts and parsing issues with grossly
  8705. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  8706. Found by doorss.
  8707. o Minor bugfixes (other):
  8708. - Fix a bug with handling misformed replies to reverse DNS lookup
  8709. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  8710. bug reported by doorss.
  8711. - Fix compilation on mingw when a pthreads compatibility library
  8712. has been installed. (We don't want to use it, so we shouldn't
  8713. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  8714. - Fix a bug where we would declare that we had run out of virtual
  8715. addresses when the address space was only half-exhausted. Bugfix
  8716. on 0.1.2.1-alpha.
  8717. - Correctly handle the case where AutomapHostsOnResolve is set but
  8718. no virtual addresses are available. Fixes bug 2328; bugfix on
  8719. 0.1.2.1-alpha. Bug found by doorss.
  8720. - Correctly handle wrapping around to when we run out of virtual
  8721. address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
  8722. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  8723. because we built it with a too-old version of automake. Thus that
  8724. release broke ./configure --enable-openbsd-malloc, which is popular
  8725. among really fast exit relays on Linux.
  8726. o Minor features:
  8727. - Update to the January 1 2011 Maxmind GeoLite Country database.
  8728. - Introduce output size checks on all of our decryption functions.
  8729. o Build changes:
  8730. - Tor does not build packages correctly with Automake 1.6 and earlier;
  8731. added a check to Makefile.am to make sure that we're building with
  8732. Automake 1.7 or later.
  8733. Changes in version 0.2.2.20-alpha - 2010-12-17
  8734. Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
  8735. exploitable bugs. We also fix a variety of other significant bugs,
  8736. change the IP address for one of our directory authorities, and update
  8737. the minimum version that Tor relays must run to join the network.
  8738. o Major bugfixes:
  8739. - Fix a remotely exploitable bug that could be used to crash instances
  8740. of Tor remotely by overflowing on the heap. Remote-code execution
  8741. hasn't been confirmed, but can't be ruled out. Everyone should
  8742. upgrade. Bugfix on the 0.1.1 series and later.
  8743. - Fix a bug that could break accounting on 64-bit systems with large
  8744. time_t values, making them hibernate for impossibly long intervals.
  8745. Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
  8746. - Fix a logic error in directory_fetches_from_authorities() that
  8747. would cause all _non_-exits refusing single-hop-like circuits
  8748. to fetch from authorities, when we wanted to have _exits_ fetch
  8749. from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
  8750. fix by boboper.
  8751. - Fix a stream fairness bug that would cause newer streams on a given
  8752. circuit to get preference when reading bytes from the origin or
  8753. destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
  8754. introduced before the first Tor release, in svn revision r152.
  8755. o Directory authority changes:
  8756. - Change IP address and ports for gabelmoo (v3 directory authority).
  8757. o Minor bugfixes:
  8758. - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
  8759. Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
  8760. - Fix an off-by-one error in calculating some controller command
  8761. argument lengths. Fortunately, this mistake is harmless since
  8762. the controller code does redundant NUL termination too. Found by
  8763. boboper. Bugfix on 0.1.1.1-alpha.
  8764. - Do not dereference NULL if a bridge fails to build its
  8765. extra-info descriptor. Found by an anonymous commenter on
  8766. Trac. Bugfix on 0.2.2.19-alpha.
  8767. o Minor features:
  8768. - Update to the December 1 2010 Maxmind GeoLite Country database.
  8769. - Directory authorities now reject relays running any versions of
  8770. Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
  8771. known bugs that keep RELAY_EARLY cells from working on rendezvous
  8772. circuits. Followup to fix for bug 2081.
  8773. - Directory authorities now reject relays running any version of Tor
  8774. older than 0.2.0.26-rc. That version is the earliest that fetches
  8775. current directory information correctly. Fixes bug 2156.
  8776. - Report only the top 10 ports in exit-port stats in order not to
  8777. exceed the maximum extra-info descriptor length of 50 KB. Implements
  8778. task 2196.
  8779. Changes in version 0.2.1.28 - 2010-12-17
  8780. Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
  8781. exploitable bugs. We also took this opportunity to change the IP address
  8782. for one of our directory authorities, and to update the geoip database
  8783. we ship.
  8784. o Major bugfixes:
  8785. - Fix a remotely exploitable bug that could be used to crash instances
  8786. of Tor remotely by overflowing on the heap. Remote-code execution
  8787. hasn't been confirmed, but can't be ruled out. Everyone should
  8788. upgrade. Bugfix on the 0.1.1 series and later.
  8789. o Directory authority changes:
  8790. - Change IP address and ports for gabelmoo (v3 directory authority).
  8791. o Minor features:
  8792. - Update to the December 1 2010 Maxmind GeoLite Country database.
  8793. Changes in version 0.2.1.27 - 2010-11-23
  8794. Yet another OpenSSL security patch broke its compatibility with Tor:
  8795. Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
  8796. also took this opportunity to fix several crash bugs, integrate a new
  8797. directory authority, and update the bundled GeoIP database.
  8798. o Major bugfixes:
  8799. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  8800. No longer set the tlsext_host_name extension on server SSL objects;
  8801. but continue to set it on client SSL objects. Our goal in setting
  8802. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  8803. bugfix on 0.2.1.1-alpha.
  8804. - Do not log messages to the controller while shrinking buffer
  8805. freelists. Doing so would sometimes make the controller connection
  8806. try to allocate a buffer chunk, which would mess up the internals
  8807. of the freelist and cause an assertion failure. Fixes bug 1125;
  8808. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  8809. - Learn our external IP address when we're a relay or bridge, even if
  8810. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  8811. where we introduced bridge relays that don't need to publish to
  8812. be useful. Fixes bug 2050.
  8813. - Do even more to reject (and not just ignore) annotations on
  8814. router descriptors received anywhere but from the cache. Previously
  8815. we would ignore such annotations at first, but cache them to disk
  8816. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  8817. - When you're using bridges and your network goes away and your
  8818. bridges get marked as down, recover when you attempt a new socks
  8819. connection (if the network is back), rather than waiting up to an
  8820. hour to try fetching new descriptors for your bridges. Bugfix on
  8821. 0.2.0.3-alpha; fixes bug 1981.
  8822. o Major features:
  8823. - Move to the November 2010 Maxmind GeoLite country db (rather
  8824. than the June 2009 ip-to-country GeoIP db) for our statistics that
  8825. count how many users relays are seeing from each country. Now we'll
  8826. have more accurate data, especially for many African countries.
  8827. o New directory authorities:
  8828. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  8829. authority.
  8830. o Minor bugfixes:
  8831. - Fix an assertion failure that could occur in directory caches or
  8832. bridge users when using a very short voting interval on a testing
  8833. network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
  8834. 0.2.0.8-alpha.
  8835. - Enforce multiplicity rules when parsing annotations. Bugfix on
  8836. 0.2.0.8-alpha. Found by piebeer.
  8837. - Allow handshaking OR connections to take a full KeepalivePeriod
  8838. seconds to handshake. Previously, we would close them after
  8839. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  8840. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  8841. for analysis help.
  8842. - When building with --enable-gcc-warnings on OpenBSD, disable
  8843. warnings in system headers. This makes --enable-gcc-warnings
  8844. pass on OpenBSD 4.8.
  8845. o Minor features:
  8846. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  8847. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  8848. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  8849. Servers can start sending this code when enough clients recognize
  8850. it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
  8851. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  8852. Patch from mingw-san.
  8853. o Removed files:
  8854. - Remove the old debian/ directory from the main Tor distribution.
  8855. The official Tor-for-debian git repository lives at the URL
  8856. https://git.torproject.org/debian/tor.git
  8857. - Stop shipping the old doc/website/ directory in the tarball. We
  8858. changed the website format in late 2010, and what we shipped in
  8859. 0.2.1.26 really wasn't that useful anyway.
  8860. Changes in version 0.2.2.19-alpha - 2010-11-22
  8861. Yet another OpenSSL security patch broke its compatibility with Tor:
  8862. Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
  8863. o Major bugfixes:
  8864. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  8865. No longer set the tlsext_host_name extension on server SSL objects;
  8866. but continue to set it on client SSL objects. Our goal in setting
  8867. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  8868. bugfix on 0.2.1.1-alpha.
  8869. o Minor bugfixes:
  8870. - Try harder not to exceed the maximum length of 50 KB when writing
  8871. statistics to extra-info descriptors. This bug was triggered by very
  8872. fast relays reporting exit-port, entry, and dirreq statistics.
  8873. Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
  8874. - Publish a router descriptor even if generating an extra-info
  8875. descriptor fails. Previously we would not publish a router
  8876. descriptor without an extra-info descriptor; this can cause fast
  8877. exit relays collecting exit-port statistics to drop from the
  8878. consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
  8879. Changes in version 0.2.2.18-alpha - 2010-11-16
  8880. Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
  8881. us lately, makes unpublished bridge relays able to detect their IP
  8882. address, and fixes a wide variety of other bugs to get us much closer
  8883. to a stable release.
  8884. o Major bugfixes:
  8885. - Do even more to reject (and not just ignore) annotations on
  8886. router descriptors received anywhere but from the cache. Previously
  8887. we would ignore such annotations at first, but cache them to disk
  8888. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  8889. - Do not log messages to the controller while shrinking buffer
  8890. freelists. Doing so would sometimes make the controller connection
  8891. try to allocate a buffer chunk, which would mess up the internals
  8892. of the freelist and cause an assertion failure. Fixes bug 1125;
  8893. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  8894. - Learn our external IP address when we're a relay or bridge, even if
  8895. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  8896. where we introduced bridge relays that don't need to publish to
  8897. be useful. Fixes bug 2050.
  8898. - Maintain separate TLS contexts and certificates for incoming and
  8899. outgoing connections in bridge relays. Previously we would use the
  8900. same TLS contexts and certs for incoming and outgoing connections.
  8901. Bugfix on 0.2.0.3-alpha; addresses bug 988.
  8902. - Maintain separate identity keys for incoming and outgoing TLS
  8903. contexts in bridge relays. Previously we would use the same
  8904. identity keys for incoming and outgoing TLS contexts. Bugfix on
  8905. 0.2.0.3-alpha; addresses the other half of bug 988.
  8906. - Avoid an assertion failure when we as an authority receive a
  8907. duplicate upload of a router descriptor that we already have,
  8908. but which we previously considered an obsolete descriptor.
  8909. Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
  8910. - Avoid a crash bug triggered by looking at a dangling pointer while
  8911. setting the network status consensus. Found by Robert Ransom.
  8912. Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
  8913. - Fix a logic error where servers that _didn't_ act as exits would
  8914. try to keep their server lists more aggressively up to date than
  8915. exits, when it was supposed to be the other way around. Bugfix
  8916. on 0.2.2.17-alpha.
  8917. o Minor bugfixes (on Tor 0.2.1.x and earlier):
  8918. - When we're trying to guess whether we know our IP address as
  8919. a relay, we would log various ways that we failed to guess
  8920. our address, but never log that we ended up guessing it
  8921. successfully. Now add a log line to help confused and anxious
  8922. relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
  8923. - Bring the logic that gathers routerinfos and assesses the
  8924. acceptability of circuits into line. This prevents a Tor OP from
  8925. getting locked in a cycle of choosing its local OR as an exit for a
  8926. path (due to a .exit request) and then rejecting the circuit because
  8927. its OR is not listed yet. It also prevents Tor clients from using an
  8928. OR running in the same instance as an exit (due to a .exit request)
  8929. if the OR does not meet the same requirements expected of an OR
  8930. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  8931. - Correctly describe errors that occur when generating a TLS object.
  8932. Previously we would attribute them to a failure while generating a
  8933. TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
  8934. bug 1994.
  8935. - Enforce multiplicity rules when parsing annotations. Bugfix on
  8936. 0.2.0.8-alpha. Found by piebeer.
  8937. - Fix warnings that newer versions of autoconf produced during
  8938. ./autogen.sh. These warnings appear to be harmless in our case,
  8939. but they were extremely verbose. Fixes bug 2020.
  8940. o Minor bugfixes (on Tor 0.2.2.x):
  8941. - Enable protection of small arrays whenever we build with gcc
  8942. hardening features, not only when also building with warnings
  8943. enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
  8944. o Minor features:
  8945. - Make hidden services work better in private Tor networks by not
  8946. requiring any uptime to join the hidden service descriptor
  8947. DHT. Implements ticket 2088.
  8948. - Rate-limit the "your application is giving Tor only an IP address"
  8949. warning. Addresses bug 2000; bugfix on 0.0.8pre2.
  8950. - When AllowSingleHopExits is set, print a warning to explain to the
  8951. relay operator why most clients are avoiding her relay.
  8952. - Update to the November 1 2010 Maxmind GeoLite Country database.
  8953. o Code simplifications and refactoring:
  8954. - When we fixed bug 1038 we had to put in a restriction not to send
  8955. RELAY_EARLY cells on rend circuits. This was necessary as long
  8956. as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
  8957. active. Now remove this obsolete check. Resolves bug 2081.
  8958. - Some options used different conventions for uppercasing of acronyms
  8959. when comparing manpage and source. Fix those in favor of the
  8960. manpage, as it makes sense to capitalize acronyms.
  8961. - Remove the torrc.complete file. It hasn't been kept up to date
  8962. and users will have better luck checking out the manpage.
  8963. - Remove the obsolete "NoPublish" option; it has been flagged
  8964. as obsolete and has produced a warning since 0.1.1.18-rc.
  8965. - Remove everything related to building the expert bundle for OS X.
  8966. It has confused many users, doesn't work right on OS X 10.6,
  8967. and is hard to get rid of once installed. Resolves bug 1274.
  8968. Changes in version 0.2.2.17-alpha - 2010-09-30
  8969. Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
  8970. to use one-hop circuits (which can put the exit relays at higher risk,
  8971. plus unbalance the network); fixes a big bug in bandwidth accounting
  8972. for relays that want to limit their monthly bandwidth use; fixes a
  8973. big pile of bugs in how clients tolerate temporary network failure;
  8974. and makes our adaptive circuit build timeout feature (which improves
  8975. client performance if your network is fast while not breaking things
  8976. if your network is slow) better handle bad networks.
  8977. o Major features:
  8978. - Exit relays now try harder to block exit attempts from unknown
  8979. relays, to make it harder for people to use them as one-hop proxies
  8980. a la tortunnel. Controlled by the refuseunknownexits consensus
  8981. parameter (currently enabled), or you can override it on your
  8982. relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
  8983. o Major bugfixes (0.2.1.x and earlier):
  8984. - Fix a bug in bandwidth accounting that could make us use twice
  8985. the intended bandwidth when our interval start changes due to
  8986. daylight saving time. Now we tolerate skew in stored vs computed
  8987. interval starts: if the start of the period changes by no more than
  8988. 50% of the period's duration, we remember bytes that we transferred
  8989. in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
  8990. - Always search the Windows system directory for system DLLs, and
  8991. nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
  8992. - When you're using bridges and your network goes away and your
  8993. bridges get marked as down, recover when you attempt a new socks
  8994. connection (if the network is back), rather than waiting up to an
  8995. hour to try fetching new descriptors for your bridges. Bugfix on
  8996. 0.2.0.3-alpha; fixes bug 1981.
  8997. o Major bugfixes (on 0.2.2.x):
  8998. - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
  8999. bug 1797.
  9000. - Fix a segfault that could happen when operating a bridge relay with
  9001. no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
  9002. - The consensus bandwidth-weights (used by clients to choose fast
  9003. relays) entered an unexpected edge case in September where
  9004. Exits were much scarcer than Guards, resulting in bad weight
  9005. recommendations. Now we compute them using new constraints that
  9006. should succeed in all cases. Also alter directory authorities to
  9007. not include the bandwidth-weights line if they fail to produce
  9008. valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
  9009. - When weighting bridges during path selection, we used to trust
  9010. the bandwidths they provided in their descriptor, only capping them
  9011. at 10MB/s. This turned out to be problematic for two reasons:
  9012. Bridges could claim to handle a lot more traffic then they
  9013. actually would, thus making more clients pick them and have a
  9014. pretty effective DoS attack. The other issue is that new bridges
  9015. that might not have a good estimate for their bw capacity yet
  9016. would not get used at all unless no other bridges are available
  9017. to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
  9018. o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
  9019. - Ignore cannibalized circuits when recording circuit build times.
  9020. This should provide for a minor performance improvement for hidden
  9021. service users using 0.2.2.14-alpha, and should remove two spurious
  9022. notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
  9023. - Simplify the logic that causes us to decide if the network is
  9024. unavailable for purposes of recording circuit build times. If we
  9025. receive no cells whatsoever for the entire duration of a circuit's
  9026. full measured lifetime, the network is probably down. Also ignore
  9027. one-hop directory fetching circuit timeouts when calculating our
  9028. circuit build times. These changes should hopefully reduce the
  9029. cases where we see ridiculous circuit build timeouts for people
  9030. with spotty wireless connections. Fixes part of bug 1772; bugfix
  9031. on 0.2.2.2-alpha.
  9032. - Prevent the circuit build timeout from becoming larger than
  9033. the maximum build time we have ever seen. Also, prevent the time
  9034. period for measurement circuits from becoming larger than twice that
  9035. value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
  9036. o Minor features:
  9037. - When we run out of directory information such that we can't build
  9038. circuits, but then get enough that we can build circuits, log when
  9039. we actually construct a circuit, so the user has a better chance of
  9040. knowing what's going on. Fixes bug 1362.
  9041. - Be more generous with how much bandwidth we'd use up (with
  9042. accounting enabled) before entering "soft hibernation". Previously,
  9043. we'd refuse new connections and circuits once we'd used up 95% of
  9044. our allotment. Now, we use up 95% of our allotment, AND make sure
  9045. that we have no more than 500MB (or 3 hours of expected traffic,
  9046. whichever is lower) remaining before we enter soft hibernation.
  9047. - If we've configured EntryNodes and our network goes away and/or all
  9048. our entrynodes get marked down, optimistically retry them all when
  9049. a new socks application request appears. Fixes bug 1882.
  9050. - Add some more defensive programming for architectures that can't
  9051. handle unaligned integer accesses. We don't know of any actual bugs
  9052. right now, but that's the best time to fix them. Fixes bug 1943.
  9053. - Support line continuations in the torrc config file. If a line
  9054. ends with a single backslash character, the newline is ignored, and
  9055. the configuration value is treated as continuing on the next line.
  9056. Resolves bug 1929.
  9057. o Minor bugfixes (on 0.2.1.x and earlier):
  9058. - For bandwidth accounting, calculate our expected bandwidth rate
  9059. based on the time during which we were active and not in
  9060. soft-hibernation during the last interval. Previously, we were
  9061. also considering the time spent in soft-hibernation. If this
  9062. was a long time, we would wind up underestimating our bandwidth
  9063. by a lot, and skewing our wakeup time towards the start of the
  9064. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
  9065. o Minor bugfixes (on 0.2.2.x):
  9066. - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
  9067. which were disabled by the circuit build timeout changes in
  9068. 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
  9069. - Make sure we don't warn about missing bandwidth weights when
  9070. choosing bridges or other relays not in the consensus. Bugfix on
  9071. 0.2.2.10-alpha; fixes bug 1805.
  9072. - In our logs, do not double-report signatures from unrecognized
  9073. authorities both as "from unknown authority" and "not
  9074. present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
  9075. Changes in version 0.2.2.16-alpha - 2010-09-17
  9076. Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
  9077. evident at exit relays), and also continues to resolve all the little
  9078. bugs that have been filling up trac lately.
  9079. o Major bugfixes (stream-level fairness):
  9080. - When receiving a circuit-level SENDME for a blocked circuit, try
  9081. to package cells fairly from all the streams that had previously
  9082. been blocked on that circuit. Previously, we had started with the
  9083. oldest stream, and allowed each stream to potentially exhaust
  9084. the circuit's package window. This gave older streams on any
  9085. given circuit priority over newer ones. Fixes bug 1937. Detected
  9086. originally by Camilo Viecco. This bug was introduced before the
  9087. first Tor release, in svn commit r152: it is the new winner of
  9088. the longest-lived bug prize.
  9089. - When the exit relay got a circuit-level sendme cell, it started
  9090. reading on the exit streams, even if had 500 cells queued in the
  9091. circuit queue already, so the circuit queue just grew and grew in
  9092. some cases. We fix this by not re-enabling reading on receipt of a
  9093. sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
  9094. on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
  9095. "yetonetime".
  9096. - Newly created streams were allowed to read cells onto circuits,
  9097. even if the circuit's cell queue was blocked and waiting to drain.
  9098. This created potential unfairness, as older streams would be
  9099. blocked, but newer streams would gladly fill the queue completely.
  9100. We add code to detect this situation and prevent any stream from
  9101. getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
  9102. fixes bug 1298.
  9103. o Minor features:
  9104. - Update to the September 1 2010 Maxmind GeoLite Country database.
  9105. - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
  9106. not. This would lead to a cookie that is still not group readable.
  9107. Closes bug 1843. Suggested by katmagic.
  9108. - When logging a rate-limited warning, we now mention how many messages
  9109. got suppressed since the last warning.
  9110. - Add new "perconnbwrate" and "perconnbwburst" consensus params to
  9111. do individual connection-level rate limiting of clients. The torrc
  9112. config options with the same names trump the consensus params, if
  9113. both are present. Replaces the old "bwconnrate" and "bwconnburst"
  9114. consensus params which were broken from 0.2.2.7-alpha through
  9115. 0.2.2.14-alpha. Closes bug 1947.
  9116. - When a router changes IP address or port, authorities now launch
  9117. a new reachability test for it. Implements ticket 1899.
  9118. - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
  9119. 2 no signature, 4 required" messages about consensus signatures
  9120. easier to read, and make sure they get logged at the same severity
  9121. as the messages explaining which keys are which. Fixes bug 1290.
  9122. - Don't warn when we have a consensus that we can't verify because
  9123. of missing certificates, unless those certificates are ones
  9124. that we have been trying and failing to download. Fixes bug 1145.
  9125. - If you configure your bridge with a known identity fingerprint,
  9126. and the bridge authority is unreachable (as it is in at least
  9127. one country now), fall back to directly requesting the descriptor
  9128. from the bridge. Finishes the feature started in 0.2.0.10-alpha;
  9129. closes bug 1138.
  9130. - When building with --enable-gcc-warnings on OpenBSD, disable
  9131. warnings in system headers. This makes --enable-gcc-warnings
  9132. pass on OpenBSD 4.8.
  9133. o Minor bugfixes (on 0.2.1.x and earlier):
  9134. - Authorities will now attempt to download consensuses if their
  9135. own efforts to make a live consensus have failed. This change
  9136. means authorities that restart will fetch a valid consensus, and
  9137. it means authorities that didn't agree with the current consensus
  9138. will still fetch and serve it if it has enough signatures. Bugfix
  9139. on 0.2.0.9-alpha; fixes bug 1300.
  9140. - Ensure DNS requests launched by "RESOLVE" commands from the
  9141. controller respect the __LeaveStreamsUnattached setconf options. The
  9142. same goes for requests launched via DNSPort or transparent
  9143. proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
  9144. - Allow handshaking OR connections to take a full KeepalivePeriod
  9145. seconds to handshake. Previously, we would close them after
  9146. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  9147. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  9148. for analysis help.
  9149. - Rate-limit "Failed to hand off onionskin" warnings.
  9150. - Never relay a cell for a circuit we have already destroyed.
  9151. Between marking a circuit as closeable and finally closing it,
  9152. it may have been possible for a few queued cells to get relayed,
  9153. even though they would have been immediately dropped by the next
  9154. OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
  9155. - Never queue a cell for a circuit that's already been marked
  9156. for close.
  9157. - Never vote for a server as "Running" if we have a descriptor for
  9158. it claiming to be hibernating, and that descriptor was published
  9159. more recently than our last contact with the server. Bugfix on
  9160. 0.2.0.3-alpha; fixes bug 911.
  9161. - Squash a compile warning on OpenBSD. Reported by Tas; fixes
  9162. bug 1848.
  9163. o Minor bugfixes (on 0.2.2.x):
  9164. - Fix a regression introduced in 0.2.2.7-alpha that marked relays
  9165. down if a directory fetch fails and you've configured either
  9166. bridges or EntryNodes. The intent was to mark the relay as down
  9167. _unless_ you're using bridges or EntryNodes, since if you are
  9168. then you could quickly run out of entry points.
  9169. - Fix the Windows directory-listing code. A bug introduced in
  9170. 0.2.2.14-alpha could make Windows directory servers forget to load
  9171. some of their cached v2 networkstatus files.
  9172. - Really allow clients to use relays as bridges. Fixes bug 1776;
  9173. bugfix on 0.2.2.15-alpha.
  9174. - Demote a warn to info that happens when the CellStatistics option
  9175. was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
  9176. Reported by Moritz Bartl.
  9177. - On Windows, build correctly either with or without Unicode support.
  9178. This is necessary so that Tor can support fringe platforms like
  9179. Windows 98 (which has no Unicode), or Windows CE (which has no
  9180. non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
  9181. o Testing
  9182. - Add a unit test for cross-platform directory-listing code.
  9183. Changes in version 0.2.2.15-alpha - 2010-08-18
  9184. Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
  9185. fixes a variety of other bugs that were preventing performance
  9186. experiments from moving forward, fixes several bothersome memory leaks,
  9187. and generally closes a lot of smaller bugs that have been filling up
  9188. trac lately.
  9189. o Major bugfixes:
  9190. - Stop assigning the HSDir flag to relays that disable their
  9191. DirPort (and thus will refuse to answer directory requests). This
  9192. fix should dramatically improve the reachability of hidden services:
  9193. hidden services and hidden service clients pick six HSDir relays
  9194. to store and retrieve the hidden service descriptor, and currently
  9195. about half of the HSDir relays will refuse to work. Bugfix on
  9196. 0.2.0.10-alpha; fixes part of bug 1693.
  9197. - The PerConnBWRate and Burst config options, along with the
  9198. bwconnrate and bwconnburst consensus params, initialized each conn's
  9199. token bucket values only when the connection is established. Now we
  9200. update them if the config options change, and update them every time
  9201. we get a new consensus. Otherwise we can encounter an ugly edge
  9202. case where we initialize an OR conn to client-level bandwidth,
  9203. but then later the relay joins the consensus and we leave it
  9204. throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
  9205. - Fix a regression that caused Tor to rebind its ports if it receives
  9206. SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
  9207. o Major features:
  9208. - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
  9209. should give us approximately 40-50% more Guard-flagged nodes,
  9210. improving the anonymity the Tor network can provide and also
  9211. decreasing the dropoff in throughput that relays experience when
  9212. they first get the Guard flag.
  9213. - Allow enabling or disabling the *Statistics config options while
  9214. Tor is running.
  9215. o Minor features:
  9216. - Update to the August 1 2010 Maxmind GeoLite Country database.
  9217. - Have the controller interface give a more useful message than
  9218. "Internal Error" in response to failed GETINFO requests.
  9219. - Warn when the same option is provided more than once in a torrc
  9220. file, on the command line, or in a single SETCONF statement, and
  9221. the option is one that only accepts a single line. Closes bug 1384.
  9222. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  9223. Patch from mingw-san.
  9224. - Add support for the country code "{??}" in torrc options like
  9225. ExcludeNodes, to indicate all routers of unknown country. Closes
  9226. bug 1094.
  9227. - Relays report the number of bytes spent on answering directory
  9228. requests in extra-info descriptors similar to {read,write}-history.
  9229. Implements enhancement 1790.
  9230. o Minor bugfixes (on 0.2.1.x and earlier):
  9231. - Complain if PublishServerDescriptor is given multiple arguments that
  9232. include 0 or 1. This configuration will be rejected in the future.
  9233. Bugfix on 0.2.0.1-alpha; closes bug 1107.
  9234. - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
  9235. Bugfix on 0.2.0.13-alpha; closes bug 928.
  9236. - Change "Application request when we're believed to be offline."
  9237. notice to "Application request when we haven't used client
  9238. functionality lately.", to clarify that it's not an error. Bugfix
  9239. on 0.0.9.3; fixes bug 1222.
  9240. - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
  9241. would return "551 Internal error" rather than "552 Unrecognized key
  9242. ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
  9243. - Users can't configure a regular relay to be their bridge. It didn't
  9244. work because when Tor fetched the bridge descriptor, it found
  9245. that it already had it, and didn't realize that the purpose of the
  9246. descriptor had changed. Now we replace routers with a purpose other
  9247. than bridge with bridge descriptors when fetching them. Bugfix on
  9248. 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
  9249. refetch the descriptor with router purpose 'general', disabling
  9250. it as a bridge.
  9251. - Fix a rare bug in rend_fn unit tests: we would fail a test when
  9252. a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
  9253. on 0.2.0.10-alpha; fixes bug 1808.
  9254. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  9255. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  9256. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  9257. Servers can start sending this code when enough clients recognize
  9258. it. Also update the spec to reflect this new reason. Bugfix on
  9259. 0.1.0.1-rc; fixes part of bug 1793.
  9260. - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
  9261. when we switch from being a public relay to a bridge. Otherwise
  9262. there will still be clients that see the relay in their consensus,
  9263. and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
  9264. 932 even more.
  9265. - Instead of giving an assertion failure on an internal mismatch
  9266. on estimated freelist size, just log a BUG warning and try later.
  9267. Mitigates but does not fix bug 1125.
  9268. - Fix an assertion failure that could occur in caches or bridge users
  9269. when using a very short voting interval on a testing network.
  9270. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
  9271. o Minor bugfixes (on 0.2.2.x):
  9272. - Alter directory authorities to always consider Exit-flagged nodes
  9273. as potential Guard nodes in their votes. The actual decision to
  9274. use Exits as Guards is done in the consensus bandwidth weights.
  9275. Fixes bug 1294; bugfix on 0.2.2.10-alpha.
  9276. - When the controller is reporting the purpose of circuits that
  9277. didn't finish building before the circuit build timeout, it was
  9278. printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
  9279. - Our libevent version parsing code couldn't handle versions like
  9280. 1.4.14b-stable and incorrectly warned the user about using an
  9281. old and broken version of libevent. Treat 1.4.14b-stable like
  9282. 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
  9283. on 0.2.2.1-alpha.
  9284. - Don't use substitution references like $(VAR:MOD) when
  9285. $(asciidoc_files) is empty -- make(1) on NetBSD transforms
  9286. '$(:x)' to 'x' rather than the empty string. This bites us in
  9287. doc/ when configured with --disable-asciidoc. Bugfix on
  9288. 0.2.2.9-alpha; fixes bug 1773.
  9289. - Remove a spurious hidden service server-side log notice about
  9290. "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
  9291. bug 1741.
  9292. - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
  9293. fixes bug 1832.
  9294. - Correctly report written bytes on linked connections. Found while
  9295. implementing 1790. Bugfix on 0.2.2.4-alpha.
  9296. - Fix three memory leaks: one in circuit_build_times_parse_state(),
  9297. one in dirvote_add_signatures_to_pending_consensus(), and one every
  9298. time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
  9299. 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
  9300. o Code simplifications and refactoring:
  9301. - Take a first step towards making or.h smaller by splitting out
  9302. function definitions for all source files in src/or/. Leave
  9303. structures and defines in or.h for now.
  9304. - Remove a bunch of unused function declarations as well as a block of
  9305. #if 0'd code from the unit tests. Closes bug 1824.
  9306. - New unit tests for exit-port history statistics; refactored exit
  9307. statistics code to be more easily tested.
  9308. - Remove the old debian/ directory from the main Tor distribution.
  9309. The official Tor-for-debian git repository lives at the URL
  9310. https://git.torproject.org/debian/tor.git
  9311. Changes in version 0.2.2.14-alpha - 2010-07-12
  9312. Tor 0.2.2.14-alpha greatly improves client-side handling of
  9313. circuit build timeouts, which are used to estimate speed and improve
  9314. performance. We also move to a much better GeoIP database, port Tor to
  9315. Windows CE, introduce new compile flags that improve code security,
  9316. add an eighth v3 directory authority, and address a lot of more
  9317. minor issues.
  9318. o Major bugfixes:
  9319. - Tor directory authorities no longer crash when started with a
  9320. cached-microdesc-consensus file in their data directory. Bugfix
  9321. on 0.2.2.6-alpha; fixes bug 1532.
  9322. - Treat an unset $HOME like an empty $HOME rather than triggering an
  9323. assert. Bugfix on 0.0.8pre1; fixes bug 1522.
  9324. - Ignore negative and large circuit build timeout values that can
  9325. happen during a suspend or hibernate. These values caused various
  9326. asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
  9327. - Alter calculation of Pareto distribution parameter 'Xm' for
  9328. Circuit Build Timeout learning to use the weighted average of the
  9329. top N=3 modes (because we have three entry guards). Considering
  9330. multiple modes should improve the timeout calculation in some cases,
  9331. and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
  9332. fixes bug 1335.
  9333. - Alter calculation of Pareto distribution parameter 'Alpha' to use a
  9334. right censored distribution model. This approach improves over the
  9335. synthetic timeout generation approach that was producing insanely
  9336. high timeout values. Now we calculate build timeouts using truncated
  9337. times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
  9338. - Do not close circuits that are under construction when they reach
  9339. the circuit build timeout. Instead, leave them building (but do not
  9340. use them) for up until the time corresponding to the 95th percentile
  9341. on the Pareto CDF or 60 seconds, whichever is greater. This is done
  9342. to provide better data for the new Pareto model. This percentile
  9343. can be controlled by the consensus.
  9344. o Major features:
  9345. - Move to the June 2010 Maxmind GeoLite country db (rather than the
  9346. June 2009 ip-to-country GeoIP db) for our statistics that count
  9347. how many users relays are seeing from each country. Now we have
  9348. more accurate data for many African countries.
  9349. - Port Tor to build and run correctly on Windows CE systems, using
  9350. the wcecompat library. Contributed by Valerio Lupi.
  9351. - New "--enable-gcc-hardening" ./configure flag (off by default)
  9352. to turn on gcc compile time hardening options. It ensures
  9353. that signed ints have defined behavior (-fwrapv), enables
  9354. -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
  9355. with canaries (-fstack-protector-all), turns on ASLR protection if
  9356. supported by the kernel (-fPIE, -pie), and adds additional security
  9357. related warnings. Verified to work on Mac OS X and Debian Lenny.
  9358. - New "--enable-linker-hardening" ./configure flag (off by default)
  9359. to turn on ELF specific hardening features (relro, now). This does
  9360. not work with Mac OS X or any other non-ELF binary format.
  9361. o New directory authorities:
  9362. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  9363. authority.
  9364. o Minor features:
  9365. - New config option "WarnUnsafeSocks 0" disables the warning that
  9366. occurs whenever Tor receives a socks handshake using a version of
  9367. the socks protocol that can only provide an IP address (rather
  9368. than a hostname). Setups that do DNS locally over Tor are fine,
  9369. and we shouldn't spam the logs in that case.
  9370. - Convert the HACKING file to asciidoc, and add a few new sections
  9371. to it, explaining how we use Git, how we make changelogs, and
  9372. what should go in a patch.
  9373. - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
  9374. event, to give information on the current rate of circuit timeouts
  9375. over our stored history.
  9376. - Add ability to disable circuit build time learning via consensus
  9377. parameter and via a LearnCircuitBuildTimeout config option. Also
  9378. automatically disable circuit build time calculation if we are
  9379. either a AuthoritativeDirectory, or if we fail to write our state
  9380. file. Fixes bug 1296.
  9381. - More gracefully handle corrupt state files, removing asserts
  9382. in favor of saving a backup and resetting state.
  9383. - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
  9384. system headers.
  9385. o Minor bugfixes:
  9386. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  9387. enabled.
  9388. - When a2x fails, mention that the user could disable manpages instead
  9389. of trying to fix their asciidoc installation.
  9390. - Where available, use Libevent 2.0's periodic timers so that our
  9391. once-per-second cleanup code gets called even more closely to
  9392. once per second than it would otherwise. Fixes bug 943.
  9393. - If you run a bridge that listens on multiple IP addresses, and
  9394. some user configures a bridge address that uses a different IP
  9395. address than your bridge writes in its router descriptor, and the
  9396. user doesn't specify an identity key, their Tor would discard the
  9397. descriptor because "it isn't one of our configured bridges", and
  9398. fail to bootstrap. Now believe the descriptor and bootstrap anyway.
  9399. Bugfix on 0.2.0.3-alpha.
  9400. - If OpenSSL fails to make a duplicate of a private or public key, log
  9401. an error message and try to exit cleanly. May help with debugging
  9402. if bug 1209 ever remanifests.
  9403. - Save a couple bytes in memory allocation every time we escape
  9404. certain characters in a string. Patch from Florian Zumbiehl.
  9405. - Make it explicit that we don't cannibalize one-hop circuits. This
  9406. happens in the wild, but doesn't turn out to be a problem because
  9407. we fortunately don't use those circuits. Many thanks to outofwords
  9408. for the initial analysis and to swissknife who confirmed that
  9409. two-hop circuits are actually created.
  9410. - Make directory mirrors report non-zero dirreq-v[23]-shares again.
  9411. Fixes bug 1564; bugfix on 0.2.2.9-alpha.
  9412. - Eliminate a case where a circuit build time warning was displayed
  9413. after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
  9414. Changes in version 0.2.1.26 - 2010-05-02
  9415. Tor 0.2.1.26 addresses the recent connection and memory overload
  9416. problems we've been seeing on relays, especially relays with their
  9417. DirPort open. If your relay has been crashing, or you turned it off
  9418. because it used too many resources, give this release a try.
  9419. This release also fixes yet another instance of broken OpenSSL libraries
  9420. that was causing some relays to drop out of the consensus.
  9421. o Major bugfixes:
  9422. - Teach relays to defend themselves from connection overload. Relays
  9423. now close idle circuits early if it looks like they were intended
  9424. for directory fetches. Relays are also more aggressive about closing
  9425. TLS connections that have no circuits on them. Such circuits are
  9426. unlikely to be re-used, and tens of thousands of them were piling
  9427. up at the fast relays, causing the relays to run out of sockets
  9428. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  9429. their directory fetches over TLS).
  9430. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  9431. that claim to be earlier than 0.9.8m, but which have in reality
  9432. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  9433. behavior. Possible fix for some cases of bug 1346.
  9434. - Directory mirrors were fetching relay descriptors only from v2
  9435. directory authorities, rather than v3 authorities like they should.
  9436. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  9437. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  9438. o Minor bugfixes:
  9439. - Finally get rid of the deprecated and now harmful notion of "clique
  9440. mode", where directory authorities maintain TLS connections to
  9441. every other relay.
  9442. o Testsuite fixes:
  9443. - In the util/threads test, no longer free the test_mutex before all
  9444. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  9445. - The master thread could starve the worker threads quite badly on
  9446. certain systems, causing them to run only partially in the allowed
  9447. window. This resulted in test failures. Now the master thread sleeps
  9448. occasionally for a few microseconds while the two worker-threads
  9449. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  9450. Changes in version 0.2.2.13-alpha - 2010-04-24
  9451. Tor 0.2.2.13-alpha addresses the recent connection and memory overload
  9452. problems we've been seeing on relays, especially relays with their
  9453. DirPort open. If your relay has been crashing, or you turned it off
  9454. because it used too many resources, give this release a try.
  9455. o Major bugfixes:
  9456. - Teach relays to defend themselves from connection overload. Relays
  9457. now close idle circuits early if it looks like they were intended
  9458. for directory fetches. Relays are also more aggressive about closing
  9459. TLS connections that have no circuits on them. Such circuits are
  9460. unlikely to be re-used, and tens of thousands of them were piling
  9461. up at the fast relays, causing the relays to run out of sockets
  9462. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  9463. their directory fetches over TLS).
  9464. o Minor features:
  9465. - Finally get rid of the deprecated and now harmful notion of "clique
  9466. mode", where directory authorities maintain TLS connections to
  9467. every other relay.
  9468. - Directory authorities now do an immediate reachability check as soon
  9469. as they hear about a new relay. This change should slightly reduce
  9470. the time between setting up a relay and getting listed as running
  9471. in the consensus. It should also improve the time between setting
  9472. up a bridge and seeing use by bridge users.
  9473. - Directory authorities no longer launch a TLS connection to every
  9474. relay as they startup. Now that we have 2k+ descriptors cached,
  9475. the resulting network hiccup is becoming a burden. Besides,
  9476. authorities already avoid voting about Running for the first half
  9477. hour of their uptime.
  9478. Changes in version 0.2.2.12-alpha - 2010-04-20
  9479. Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
  9480. handle and vote on descriptors. It was causing relays to drop out of
  9481. the consensus.
  9482. o Major bugfixes:
  9483. - Many relays have been falling out of the consensus lately because
  9484. not enough authorities know about their descriptor for them to get
  9485. a majority of votes. When we deprecated the v2 directory protocol,
  9486. we got rid of the only way that v3 authorities can hear from each
  9487. other about other descriptors. Now authorities examine every v3
  9488. vote for new descriptors, and fetch them from that authority. Bugfix
  9489. on 0.2.1.23.
  9490. - Fix two typos in tor_vasprintf() that broke the compile on Windows,
  9491. and a warning in or.h related to bandwidth_weight_rule_t that
  9492. prevented clean compile on OS X. Fixes bug 1363; bugfix on
  9493. 0.2.2.11-alpha.
  9494. - Fix a segfault on relays when DirReqStatistics is enabled
  9495. and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
  9496. 0.2.2.11-alpha.
  9497. o Minor bugfixes:
  9498. - Demote a confusing TLS warning that relay operators might get when
  9499. someone tries to talk to their OrPort. It is neither the operator's
  9500. fault nor can they do anything about it. Fixes bug 1364; bugfix
  9501. on 0.2.0.14-alpha.
  9502. Changes in version 0.2.2.11-alpha - 2010-04-15
  9503. Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
  9504. libraries that was causing some relays to drop out of the consensus.
  9505. o Major bugfixes:
  9506. - Directory mirrors were fetching relay descriptors only from v2
  9507. directory authorities, rather than v3 authorities like they should.
  9508. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  9509. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  9510. - Fix a parsing error that made every possible value of
  9511. CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
  9512. on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
  9513. CircuitPriorityHalflifeMsec, so authorities can tell newer relays
  9514. about the option without breaking older ones.
  9515. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  9516. that claim to be earlier than 0.9.8m, but which have in reality
  9517. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  9518. behavior. Possible fix for some cases of bug 1346.
  9519. o Minor features:
  9520. - Experiment with a more aggressive approach to preventing clients
  9521. from making one-hop exit streams. Exit relays who want to try it
  9522. out can set "RefuseUnknownExits 1" in their torrc, and then look
  9523. for "Attempt by %s to open a stream" log messages. Let us know
  9524. how it goes!
  9525. - Add support for statically linking zlib by specifying
  9526. --enable-static-zlib, to go with our support for statically linking
  9527. openssl and libevent. Resolves bug 1358.
  9528. o Minor bugfixes:
  9529. - Fix a segfault that happens whenever a Tor client that is using
  9530. libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
  9531. fixes bug 1341.
  9532. - When we cleaned up the contrib/tor-exit-notice.html file, we left
  9533. out the first line. Fixes bug 1295.
  9534. - When building the manpage from a tarball, we required asciidoc, but
  9535. the asciidoc -> roff/html conversion was already done for the
  9536. tarball. Make 'make' complain only when we need asciidoc (either
  9537. because we're compiling directly from git, or because we altered
  9538. the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
  9539. - When none of the directory authorities vote on any params, Tor
  9540. segfaulted when trying to make the consensus from the votes. We
  9541. didn't trigger the bug in practice, because authorities do include
  9542. params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
  9543. o Testsuite fixes:
  9544. - In the util/threads test, no longer free the test_mutex before all
  9545. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  9546. - The master thread could starve the worker threads quite badly on
  9547. certain systems, causing them to run only partially in the allowed
  9548. window. This resulted in test failures. Now the master thread sleeps
  9549. occasionally for a few microseconds while the two worker-threads
  9550. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  9551. Changes in version 0.2.2.10-alpha - 2010-03-07
  9552. Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
  9553. could prevent relays from guessing their IP address correctly. It also
  9554. starts the groundwork for another client-side performance boost, since
  9555. currently we're not making efficient use of relays that have both the
  9556. Guard flag and the Exit flag.
  9557. o Major bugfixes:
  9558. - Fix a regression from our patch for bug 1244 that caused relays
  9559. to guess their IP address incorrectly if they didn't set Address
  9560. in their torrc and/or their address fails to resolve. Bugfix on
  9561. 0.2.2.9-alpha; fixes bug 1269.
  9562. o Major features (performance):
  9563. - Directory authorities now compute consensus weightings that instruct
  9564. clients how to weight relays flagged as Guard, Exit, Guard+Exit,
  9565. and no flag. Clients that use these weightings will distribute
  9566. network load more evenly across these different relay types. The
  9567. weightings are in the consensus so we can change them globally in
  9568. the future. Extra thanks to "outofwords" for finding some nasty
  9569. security bugs in the first implementation of this feature.
  9570. o Minor features (performance):
  9571. - Always perform router selections using weighted relay bandwidth,
  9572. even if we don't need a high capacity circuit at the time. Non-fast
  9573. circuits now only differ from fast ones in that they can use relays
  9574. not marked with the Fast flag. This "feature" could turn out to
  9575. be a horrible bug; we should investigate more before it goes into
  9576. a stable release.
  9577. o Minor features:
  9578. - Allow disabling building of the manpages. Skipping the manpage
  9579. speeds up the build considerably.
  9580. o Minor bugfixes (on 0.2.2.x):
  9581. - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
  9582. Bugfix on 0.2.2.9-alpha.
  9583. - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
  9584. config option. Bugfix on 0.2.2.7-alpha.
  9585. - Ship the asciidoc-helper file in the tarball, so that people can
  9586. build from source if they want to, and touching the .1.txt files
  9587. doesn't break the build. Bugfix on 0.2.2.9-alpha.
  9588. o Minor bugfixes (on 0.2.1.x or earlier):
  9589. - Fix a dereference-then-NULL-check sequence when publishing
  9590. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  9591. bug 1255.
  9592. - Fix another dereference-then-NULL-check sequence. Bugfix on
  9593. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  9594. - Make sure we treat potentially not NUL-terminated strings correctly.
  9595. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  9596. o Code simplifications and refactoring:
  9597. - Fix some urls in the exit notice file and make it XHTML1.1 strict
  9598. compliant. Based on a patch from Christian Kujau.
  9599. - Don't use sed in asciidoc-helper anymore.
  9600. - Make the build process fail if asciidoc cannot be found and
  9601. building with asciidoc isn't disabled.
  9602. Changes in version 0.2.2.9-alpha - 2010-02-22
  9603. Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
  9604. location of a directory authority, and cleans up a bunch of small bugs.
  9605. o Directory authority changes:
  9606. - Change IP address for dannenberg (v3 directory authority), and
  9607. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  9608. service directory authority) from the list.
  9609. o Major bugfixes:
  9610. - Make Tor work again on the latest OS X: when deciding whether to
  9611. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  9612. version at run-time, not compile time. We need to do this because
  9613. Apple doesn't update its dev-tools headers when it updates its
  9614. libraries in a security patch.
  9615. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  9616. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  9617. a memory leak when requesting a hidden service descriptor we've
  9618. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  9619. by aakova.
  9620. - Authorities could be tricked into giving out the Exit flag to relays
  9621. that didn't allow exiting to any ports. This bug could screw
  9622. with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
  9623. 1238. Bug discovered by Martin Kowalczyk.
  9624. - When freeing a session key, zero it out completely. We only zeroed
  9625. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  9626. patched by ekir. Fixes bug 1254.
  9627. o Minor bugfixes:
  9628. - Fix static compilation by listing the openssl libraries in the right
  9629. order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
  9630. - Resume handling .exit hostnames in a special way: originally we
  9631. stripped the .exit part and used the requested exit relay. In
  9632. 0.2.2.1-alpha we stopped treating them in any special way, meaning
  9633. if you use a .exit address then Tor will pass it on to the exit
  9634. relay. Now we reject the .exit stream outright, since that behavior
  9635. might be more expected by the user. Found and diagnosed by Scott
  9636. Bennett and Downie on or-talk.
  9637. - Don't spam the controller with events when we have no file
  9638. descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
  9639. for log messages was already solved from bug 748.)
  9640. - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
  9641. "memcpyfail".
  9642. - Make the DNSPort option work with libevent 2.x. Don't alter the
  9643. behavior for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
  9644. - Emit a GUARD DROPPED controller event for a case we missed.
  9645. - Make more fields in the controller protocol case-insensitive, since
  9646. control-spec.txt said they were.
  9647. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  9648. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  9649. - Fix a spec conformance issue: the network-status-version token
  9650. must be the first token in a v3 consensus or vote. Discovered by
  9651. parakeep. Bugfix on 0.2.0.3-alpha.
  9652. o Code simplifications and refactoring:
  9653. - Generate our manpage and HTML documentation using Asciidoc. This
  9654. change should make it easier to maintain the documentation, and
  9655. produce nicer HTML.
  9656. - Remove the --enable-iphone option. According to reports from Marco
  9657. Bonetti, Tor builds fine without any special tweaking on recent
  9658. iPhone SDK versions.
  9659. - Removed some unnecessary files from the source distribution. The
  9660. AUTHORS file has now been merged into the people page on the
  9661. website. The roadmaps and design doc can now be found in the
  9662. projects directory in svn.
  9663. - Enabled various circuit build timeout constants to be controlled
  9664. by consensus parameters. Also set better defaults for these
  9665. parameters based on experimentation on broadband and simulated
  9666. high latency links.
  9667. o Minor features:
  9668. - The 'EXTENDCIRCUIT' control port command can now be used with
  9669. a circ id of 0 and no path. This feature will cause Tor to build
  9670. a new 'fast' general purpose circuit using its own path selection
  9671. algorithms.
  9672. - Added a BUILDTIMEOUT_SET controller event to describe changes
  9673. to the circuit build timeout.
  9674. - Future-proof the controller protocol a bit by ignoring keyword
  9675. arguments we do not recognize.
  9676. - Expand homedirs passed to tor-checkkey. This should silence a
  9677. coverity complaint about passing a user-supplied string into
  9678. open() without checking it.
  9679. Changes in version 0.2.1.25 - 2010-03-16
  9680. Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
  9681. prevent relays from guessing their IP address correctly. It also fixes
  9682. several minor potential security bugs.
  9683. o Major bugfixes:
  9684. - Fix a regression from our patch for bug 1244 that caused relays
  9685. to guess their IP address incorrectly if they didn't set Address
  9686. in their torrc and/or their address fails to resolve. Bugfix on
  9687. 0.2.1.23; fixes bug 1269.
  9688. - When freeing a session key, zero it out completely. We only zeroed
  9689. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  9690. patched by ekir. Fixes bug 1254.
  9691. o Minor bugfixes:
  9692. - Fix a dereference-then-NULL-check sequence when publishing
  9693. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  9694. bug 1255.
  9695. - Fix another dereference-then-NULL-check sequence. Bugfix on
  9696. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  9697. - Make sure we treat potentially not NUL-terminated strings correctly.
  9698. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  9699. Changes in version 0.2.1.24 - 2010-02-21
  9700. Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  9701. for sure!
  9702. o Minor bugfixes:
  9703. - Work correctly out-of-the-box with even more vendor-patched versions
  9704. of OpenSSL. In particular, make it so Debian and OS X don't need
  9705. customized patches to run/build.
  9706. Changes in version 0.2.1.23 - 2010-02-13
  9707. Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  9708. again on the latest OS X, and updates the location of a directory
  9709. authority.
  9710. o Major bugfixes (performance):
  9711. - We were selecting our guards uniformly at random, and then weighting
  9712. which of our guards we'd use uniformly at random. This imbalance
  9713. meant that Tor clients were severely limited on throughput (and
  9714. probably latency too) by the first hop in their circuit. Now we
  9715. select guards weighted by currently advertised bandwidth. We also
  9716. automatically discard guards picked using the old algorithm. Fixes
  9717. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  9718. o Major bugfixes:
  9719. - Make Tor work again on the latest OS X: when deciding whether to
  9720. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  9721. version at run-time, not compile time. We need to do this because
  9722. Apple doesn't update its dev-tools headers when it updates its
  9723. libraries in a security patch.
  9724. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  9725. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  9726. a memory leak when requesting a hidden service descriptor we've
  9727. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  9728. by aakova.
  9729. o Directory authority changes:
  9730. - Change IP address for dannenberg (v3 directory authority), and
  9731. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  9732. service directory authority) from the list.
  9733. o Minor bugfixes:
  9734. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  9735. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  9736. o Minor features:
  9737. - Avoid a mad rush at the beginning of each month when each client
  9738. rotates half of its guards. Instead we spread the rotation out
  9739. throughout the month, but we still avoid leaving a precise timestamp
  9740. in the state file about when we first picked the guard. Improves
  9741. over the behavior introduced in 0.1.2.17.
  9742. Changes in version 0.2.2.8-alpha - 2010-01-26
  9743. Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
  9744. causing bridge relays to disappear. If you're running a bridge,
  9745. please upgrade.
  9746. o Major bugfixes:
  9747. - Fix a memory corruption bug on bridges that occured during the
  9748. inclusion of stats data in extra-info descriptors. Also fix the
  9749. interface for geoip_get_bridge_stats* to prevent similar bugs in
  9750. the future. Diagnosis by Tas, patch by Karsten and Sebastian.
  9751. Fixes bug 1208; bugfix on 0.2.2.7-alpha.
  9752. o Minor bugfixes:
  9753. - Ignore OutboundBindAddress when connecting to localhost.
  9754. Connections to localhost need to come _from_ localhost, or else
  9755. local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
  9756. refuse to listen.
  9757. Changes in version 0.2.2.7-alpha - 2010-01-19
  9758. Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
  9759. as laying the groundwork for further relay-side performance fixes. It
  9760. also starts cleaning up client behavior with respect to the EntryNodes,
  9761. ExitNodes, and StrictNodes config options.
  9762. This release also rotates two directory authority keys, due to a
  9763. security breach of some of the Torproject servers.
  9764. o Directory authority changes:
  9765. - Rotate keys (both v3 identity and relay identity) for moria1
  9766. and gabelmoo.
  9767. o Major features (performance):
  9768. - We were selecting our guards uniformly at random, and then weighting
  9769. which of our guards we'd use uniformly at random. This imbalance
  9770. meant that Tor clients were severely limited on throughput (and
  9771. probably latency too) by the first hop in their circuit. Now we
  9772. select guards weighted by currently advertised bandwidth. We also
  9773. automatically discard guards picked using the old algorithm. Fixes
  9774. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  9775. - When choosing which cells to relay first, relays can now favor
  9776. circuits that have been quiet recently, to provide lower latency
  9777. for low-volume circuits. By default, relays enable or disable this
  9778. feature based on a setting in the consensus. You can override
  9779. this default by using the new "CircuitPriorityHalflife" config
  9780. option. Design and code by Ian Goldberg, Can Tang, and Chris
  9781. Alexander.
  9782. - Add separate per-conn write limiting to go with the per-conn read
  9783. limiting. We added a global write limit in Tor 0.1.2.5-alpha,
  9784. but never per-conn write limits.
  9785. - New consensus params "bwconnrate" and "bwconnburst" to let us
  9786. rate-limit client connections as they enter the network. It's
  9787. controlled in the consensus so we can turn it on and off for
  9788. experiments. It's starting out off. Based on proposal 163.
  9789. o Major features (relay selection options):
  9790. - Switch to a StrictNodes config option, rather than the previous
  9791. "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
  9792. "StrictExcludeNodes" option.
  9793. - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
  9794. change during a config reload, mark and discard all our origin
  9795. circuits. This fix should address edge cases where we change the
  9796. config options and but then choose a circuit that we created before
  9797. the change.
  9798. - If EntryNodes or ExitNodes are set, be more willing to use an
  9799. unsuitable (e.g. slow or unstable) circuit. The user asked for it,
  9800. they get it.
  9801. - Make EntryNodes config option much more aggressive even when
  9802. StrictNodes is not set. Before it would prepend your requested
  9803. entrynodes to your list of guard nodes, but feel free to use others
  9804. after that. Now it chooses only from your EntryNodes if any of
  9805. those are available, and only falls back to others if a) they're
  9806. all down and b) StrictNodes is not set.
  9807. - Now we refresh your entry guards from EntryNodes at each consensus
  9808. fetch -- rather than just at startup and then they slowly rot as
  9809. the network changes.
  9810. o Major bugfixes:
  9811. - Stop bridge directory authorities from answering dbg-stability.txt
  9812. directory queries, which would let people fetch a list of all
  9813. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  9814. o Minor features:
  9815. - Log a notice when we get a new control connection. Now it's easier
  9816. for security-conscious users to recognize when a local application
  9817. is knocking on their controller door. Suggested by bug 1196.
  9818. - New config option "CircuitStreamTimeout" to override our internal
  9819. timeout schedule for how many seconds until we detach a stream from
  9820. a circuit and try a new circuit. If your network is particularly
  9821. slow, you might want to set this to a number like 60.
  9822. - New controller command "getinfo config-text". It returns the
  9823. contents that Tor would write if you send it a SAVECONF command,
  9824. so the controller can write the file to disk itself.
  9825. - New options for SafeLogging to allow scrubbing only log messages
  9826. generated while acting as a relay.
  9827. - Ship the bridges spec file in the tarball too.
  9828. - Avoid a mad rush at the beginning of each month when each client
  9829. rotates half of its guards. Instead we spread the rotation out
  9830. throughout the month, but we still avoid leaving a precise timestamp
  9831. in the state file about when we first picked the guard. Improves
  9832. over the behavior introduced in 0.1.2.17.
  9833. o Minor bugfixes (compiling):
  9834. - Fix compilation on OS X 10.3, which has a stub mlockall() but
  9835. hides it. Bugfix on 0.2.2.6-alpha.
  9836. - Fix compilation on Solaris by removing support for the
  9837. DisableAllSwap config option. Solaris doesn't have an rlimit for
  9838. mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
  9839. 0.2.2.6-alpha.
  9840. o Minor bugfixes (crashes):
  9841. - Do not segfault when writing buffer stats when we haven't observed
  9842. a single circuit to report about. Found by Fabian Lanze. Bugfix on
  9843. 0.2.2.1-alpha.
  9844. - If we're in the pathological case where there's no exit bandwidth
  9845. but there is non-exit bandwidth, or no guard bandwidth but there
  9846. is non-guard bandwidth, don't crash during path selection. Bugfix
  9847. on 0.2.0.3-alpha.
  9848. - Fix an impossible-to-actually-trigger buffer overflow in relay
  9849. descriptor generation. Bugfix on 0.1.0.15.
  9850. o Minor bugfixes (privacy):
  9851. - Fix an instance where a Tor directory mirror might accidentally
  9852. log the IP address of a misbehaving Tor client. Bugfix on
  9853. 0.1.0.1-rc.
  9854. - Don't list Windows capabilities in relay descriptors. We never made
  9855. use of them, and maybe it's a bad idea to publish them. Bugfix
  9856. on 0.1.1.8-alpha.
  9857. o Minor bugfixes (other):
  9858. - Resolve an edge case in path weighting that could make us misweight
  9859. our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
  9860. - Fix statistics on client numbers by country as seen by bridges that
  9861. were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
  9862. intervals instead of variable 12-to-48-hour intervals.
  9863. - After we free an internal connection structure, overwrite it
  9864. with a different memory value than we use for overwriting a freed
  9865. internal circuit structure. Should help with debugging. Suggested
  9866. by bug 1055.
  9867. - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
  9868. too.
  9869. o Removed features:
  9870. - Remove the HSAuthorityRecordStats option that version 0 hidden
  9871. service authorities could have used to track statistics of overall
  9872. hidden service usage.
  9873. Changes in version 0.2.1.22 - 2010-01-19
  9874. Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
  9875. authorities -- it would tell you its whole history of bridge descriptors
  9876. if you make the right directory request. This stable update also
  9877. rotates two of the seven v3 directory authority keys and locations.
  9878. o Directory authority changes:
  9879. - Rotate keys (both v3 identity and relay identity) for moria1
  9880. and gabelmoo.
  9881. o Major bugfixes:
  9882. - Stop bridge directory authorities from answering dbg-stability.txt
  9883. directory queries, which would let people fetch a list of all
  9884. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  9885. Changes in version 0.2.1.21 - 2009-12-21
  9886. Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
  9887. library. If you use Tor on Linux / Unix and you're getting SSL
  9888. renegotiation errors, upgrading should help. We also recommend an
  9889. upgrade if you're an exit relay.
  9890. o Major bugfixes:
  9891. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  9892. handshake from working unless we explicitly tell OpenSSL that we
  9893. are using SSL renegotiation safely. We are, of course, but OpenSSL
  9894. 0.9.8l won't work unless we say we are.
  9895. - Avoid crashing if the client is trying to upload many bytes and the
  9896. circuit gets torn down at the same time, or if the flip side
  9897. happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
  9898. o Minor bugfixes:
  9899. - Do not refuse to learn about authority certs and v2 networkstatus
  9900. documents that are older than the latest consensus. This bug might
  9901. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  9902. Spotted and fixed by xmux.
  9903. - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
  9904. trigger platform-specific option misparsing case found by Coverity
  9905. Scan.
  9906. - Fix a compilation warning on Fedora 12 by removing an impossible-to-
  9907. trigger assert. Fixes bug 1173.
  9908. Changes in version 0.2.2.6-alpha - 2009-11-19
  9909. Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
  9910. support for the new lower-footprint "microdescriptor" directory design,
  9911. future-proofing our consensus format against new hash functions or
  9912. other changes, and an Android port. It also makes Tor compatible with
  9913. the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
  9914. o Major features:
  9915. - Directory authorities can now create, vote on, and serve multiple
  9916. parallel formats of directory data as part of their voting process.
  9917. Partially implements Proposal 162: "Publish the consensus in
  9918. multiple flavors".
  9919. - Directory authorities can now agree on and publish small summaries
  9920. of router information that clients can use in place of regular
  9921. server descriptors. This transition will eventually allow clients
  9922. to use far less bandwidth for downloading information about the
  9923. network. Begins the implementation of Proposal 158: "Clients
  9924. download consensus + microdescriptors".
  9925. - The directory voting system is now extensible to use multiple hash
  9926. algorithms for signatures and resource selection. Newer formats
  9927. are signed with SHA256, with a possibility for moving to a better
  9928. hash algorithm in the future.
  9929. - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
  9930. current and future memory pages via mlockall(). On supported
  9931. platforms (modern Linux and probably BSD but not Windows or OS X),
  9932. this should effectively disable any and all attempts to page out
  9933. memory. This option requires that you start your Tor as root --
  9934. if you use DisableAllSwap, please consider using the User option
  9935. to properly reduce the privileges of your Tor.
  9936. - Numerous changes, bugfixes, and workarounds from Nathan Freitas
  9937. to help Tor build correctly for Android phones.
  9938. o Major bugfixes:
  9939. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  9940. handshake from working unless we explicitly tell OpenSSL that we
  9941. are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
  9942. won't work unless we say we are.
  9943. o Minor bugfixes:
  9944. - Fix a crash bug when trying to initialize the evdns module in
  9945. Libevent 2. Bugfix on 0.2.1.16-rc.
  9946. - Stop logging at severity 'warn' when some other Tor client tries
  9947. to establish a circuit with us using weak DH keys. It's a protocol
  9948. violation, but that doesn't mean ordinary users need to hear about
  9949. it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
  9950. - Do not refuse to learn about authority certs and v2 networkstatus
  9951. documents that are older than the latest consensus. This bug might
  9952. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  9953. Spotted and fixed by xmux.
  9954. - Fix numerous small code-flaws found by Coverity Scan Rung 3.
  9955. - If all authorities restart at once right before a consensus vote,
  9956. nobody will vote about "Running", and clients will get a consensus
  9957. with no usable relays. Instead, authorities refuse to build a
  9958. consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
  9959. - If your relay can't keep up with the number of incoming create
  9960. cells, it would log one warning per failure into your logs. Limit
  9961. warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
  9962. - Bridges now use "reject *:*" as their default exit policy. Bugfix
  9963. on 0.2.0.3-alpha; fixes bug 1113.
  9964. - Fix a memory leak on directory authorities during voting that was
  9965. introduced in 0.2.2.1-alpha. Found via valgrind.
  9966. Changes in version 0.2.1.20 - 2009-10-15
  9967. Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
  9968. services at once, prepares for more performance improvements, and
  9969. fixes a bunch of smaller bugs.
  9970. The Windows and OS X bundles also include a more recent Vidalia,
  9971. and switch from Privoxy to Polipo.
  9972. The OS X installers are now drag and drop. It's best to un-install
  9973. Tor/Vidalia and then install this new bundle, rather than upgrade. If
  9974. you want to upgrade, you'll need to update the paths for Tor and Polipo
  9975. in the Vidalia Settings window.
  9976. o Major bugfixes:
  9977. - Send circuit or stream sendme cells when our window has decreased
  9978. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  9979. by Karsten when testing the "reduce circuit window" performance
  9980. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  9981. before the release of Tor 0.0.0. This is the new winner of the
  9982. oldest-bug prize.
  9983. - Fix a remotely triggerable memory leak when a consensus document
  9984. contains more than one signature from the same voter. Bugfix on
  9985. 0.2.0.3-alpha.
  9986. - Avoid segfault in rare cases when finishing an introduction circuit
  9987. as a client and finding out that we don't have an introduction key
  9988. for it. Fixes bug 1073. Reported by Aaron Swartz.
  9989. o Major features:
  9990. - Tor now reads the "circwindow" parameter out of the consensus,
  9991. and uses that value for its circuit package window rather than the
  9992. default of 1000 cells. Begins the implementation of proposal 168.
  9993. o New directory authorities:
  9994. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  9995. authority.
  9996. - Move moria1 and tonga to alternate IP addresses.
  9997. o Minor bugfixes:
  9998. - Fix a signed/unsigned compile warning in 0.2.1.19.
  9999. - Fix possible segmentation fault on directory authorities. Bugfix on
  10000. 0.2.1.14-rc.
  10001. - Fix an extremely rare infinite recursion bug that could occur if
  10002. we tried to log a message after shutting down the log subsystem.
  10003. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  10004. - Fix an obscure bug where hidden services on 64-bit big-endian
  10005. systems might mis-read the timestamp in v3 introduce cells, and
  10006. refuse to connect back to the client. Discovered by "rotor".
  10007. Bugfix on 0.2.1.6-alpha.
  10008. - We were triggering a CLOCK_SKEW controller status event whenever
  10009. we connect via the v2 connection protocol to any relay that has
  10010. a wrong clock. Instead, we should only inform the controller when
  10011. it's a trusted authority that claims our clock is wrong. Bugfix
  10012. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  10013. - We were telling the controller about CHECKING_REACHABILITY and
  10014. REACHABILITY_FAILED status events whenever we launch a testing
  10015. circuit or notice that one has failed. Instead, only tell the
  10016. controller when we want to inform the user of overall success or
  10017. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  10018. by SwissTorExit.
  10019. - Don't warn when we're using a circuit that ends with a node
  10020. excluded in ExcludeExitNodes, but the circuit is not used to access
  10021. the outside world. This should help fix bug 1090. Bugfix on
  10022. 0.2.1.6-alpha.
  10023. - Work around a small memory leak in some versions of OpenSSL that
  10024. stopped the memory used by the hostname TLS extension from being
  10025. freed.
  10026. o Minor features:
  10027. - Add a "getinfo status/accepted-server-descriptor" controller
  10028. command, which is the recommended way for controllers to learn
  10029. whether our server descriptor has been successfully received by at
  10030. least on directory authority. Un-recommend good-server-descriptor
  10031. getinfo and status events until we have a better design for them.
  10032. Changes in version 0.2.2.5-alpha - 2009-10-11
  10033. Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
  10034. o Major bugfixes:
  10035. - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
  10036. o Directory authorities:
  10037. - Temporarily (just for this release) move dizum to an alternate
  10038. IP address.
  10039. Changes in version 0.2.2.4-alpha - 2009-10-10
  10040. Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
  10041. introduces a new unit test framework, shifts directry authority
  10042. addresses around to reduce the impact from recent blocking events,
  10043. and fixes a few smaller bugs.
  10044. o Major bugfixes:
  10045. - Fix several more asserts in the circuit_build_times code, for
  10046. example one that causes Tor to fail to start once we have
  10047. accumulated 5000 build times in the state file. Bugfixes on
  10048. 0.2.2.2-alpha; fixes bug 1108.
  10049. o New directory authorities:
  10050. - Move moria1 and Tonga to alternate IP addresses.
  10051. o Minor features:
  10052. - Log SSL state transitions at debug level during handshake, and
  10053. include SSL states in error messages. This may help debug future
  10054. SSL handshake issues.
  10055. - Add a new "Handshake" log domain for activities that happen
  10056. during the TLS handshake.
  10057. - Revert to the "June 3 2009" ip-to-country file. The September one
  10058. seems to have removed most US IP addresses.
  10059. - Directory authorities now reject Tor relays with versions less than
  10060. 0.1.2.14. This step cuts out four relays from the current network,
  10061. none of which are very big.
  10062. o Minor bugfixes:
  10063. - Fix a couple of smaller issues with gathering statistics. Bugfixes
  10064. on 0.2.2.1-alpha.
  10065. - Fix two memory leaks in the error case of
  10066. circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
  10067. - Don't count one-hop circuits when we're estimating how long it
  10068. takes circuits to build on average. Otherwise we'll set our circuit
  10069. build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
  10070. - Directory authorities no longer change their opinion of, or vote on,
  10071. whether a router is Running, unless they have themselves been
  10072. online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
  10073. Fixes bug 1023.
  10074. o Code simplifications and refactoring:
  10075. - Revise our unit tests to use the "tinytest" framework, so we
  10076. can run tests in their own processes, have smarter setup/teardown
  10077. code, and so on. The unit test code has moved to its own
  10078. subdirectory, and has been split into multiple modules.
  10079. Changes in version 0.2.2.3-alpha - 2009-09-23
  10080. Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
  10081. o Major bugfixes:
  10082. - Fix an overzealous assert in our new circuit build timeout code.
  10083. Bugfix on 0.2.2.2-alpha; fixes bug 1103.
  10084. o Minor bugfixes:
  10085. - If the networkstatus consensus tells us that we should use a
  10086. negative circuit package window, ignore it. Otherwise we'll
  10087. believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
  10088. Changes in version 0.2.2.2-alpha - 2009-09-21
  10089. Tor 0.2.2.2-alpha introduces our latest performance improvement for
  10090. clients: Tor tracks the average time it takes to build a circuit, and
  10091. avoids using circuits that take too long to build. For fast connections,
  10092. this feature can cut your expected latency in half. For slow or flaky
  10093. connections, it could ruin your Tor experience. Let us know if it does!
  10094. o Major features:
  10095. - Tor now tracks how long it takes to build client-side circuits
  10096. over time, and adapts its timeout to local network performance.
  10097. Since a circuit that takes a long time to build will also provide
  10098. bad performance, we get significant latency improvements by
  10099. discarding the slowest 20% of circuits. Specifically, Tor creates
  10100. circuits more aggressively than usual until it has enough data
  10101. points for a good timeout estimate. Implements proposal 151.
  10102. We are especially looking for reports (good and bad) from users with
  10103. both EDGE and broadband connections that can move from broadband
  10104. to EDGE and find out if the build-time data in the .tor/state gets
  10105. reset without loss of Tor usability. You should also see a notice
  10106. log message telling you that Tor has reset its timeout.
  10107. - Directory authorities can now vote on arbitary integer values as
  10108. part of the consensus process. This is designed to help set
  10109. network-wide parameters. Implements proposal 167.
  10110. - Tor now reads the "circwindow" parameter out of the consensus,
  10111. and uses that value for its circuit package window rather than the
  10112. default of 1000 cells. Begins the implementation of proposal 168.
  10113. o Major bugfixes:
  10114. - Fix a remotely triggerable memory leak when a consensus document
  10115. contains more than one signature from the same voter. Bugfix on
  10116. 0.2.0.3-alpha.
  10117. o Minor bugfixes:
  10118. - Fix an extremely rare infinite recursion bug that could occur if
  10119. we tried to log a message after shutting down the log subsystem.
  10120. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  10121. - Fix parsing for memory or time units given without a space between
  10122. the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
  10123. - A networkstatus vote must contain exactly one signature. Spec
  10124. conformance issue. Bugfix on 0.2.0.3-alpha.
  10125. - Fix an obscure bug where hidden services on 64-bit big-endian
  10126. systems might mis-read the timestamp in v3 introduce cells, and
  10127. refuse to connect back to the client. Discovered by "rotor".
  10128. Bugfix on 0.2.1.6-alpha.
  10129. - We were triggering a CLOCK_SKEW controller status event whenever
  10130. we connect via the v2 connection protocol to any relay that has
  10131. a wrong clock. Instead, we should only inform the controller when
  10132. it's a trusted authority that claims our clock is wrong. Bugfix
  10133. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  10134. - We were telling the controller about CHECKING_REACHABILITY and
  10135. REACHABILITY_FAILED status events whenever we launch a testing
  10136. circuit or notice that one has failed. Instead, only tell the
  10137. controller when we want to inform the user of overall success or
  10138. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  10139. by SwissTorExit.
  10140. - Don't warn when we're using a circuit that ends with a node
  10141. excluded in ExcludeExitNodes, but the circuit is not used to access
  10142. the outside world. This should help fix bug 1090, but more problems
  10143. remain. Bugfix on 0.2.1.6-alpha.
  10144. - Work around a small memory leak in some versions of OpenSSL that
  10145. stopped the memory used by the hostname TLS extension from being
  10146. freed.
  10147. - Make our 'torify' script more portable; if we have only one of
  10148. 'torsocks' or 'tsocks' installed, don't complain to the user;
  10149. and explain our warning about tsocks better.
  10150. o Minor features:
  10151. - Add a "getinfo status/accepted-server-descriptor" controller
  10152. command, which is the recommended way for controllers to learn
  10153. whether our server descriptor has been successfully received by at
  10154. least on directory authority. Un-recommend good-server-descriptor
  10155. getinfo and status events until we have a better design for them.
  10156. - Update to the "September 4 2009" ip-to-country file.
  10157. Changes in version 0.2.2.1-alpha - 2009-08-26
  10158. Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
  10159. Tor clients to bootstrap on networks where only port 80 is reachable,
  10160. makes it more straightforward to support hardware crypto accelerators,
  10161. and starts the groundwork for gathering stats safely at relays.
  10162. o Security fixes:
  10163. - Start the process of disabling ".exit" address notation, since it
  10164. can be used for a variety of esoteric application-level attacks
  10165. on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
  10166. on 0.0.9rc5.
  10167. o New directory authorities:
  10168. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  10169. authority.
  10170. o Major features:
  10171. - New AccelName and AccelDir options add support for dynamic OpenSSL
  10172. hardware crypto acceleration engines.
  10173. - Tor now supports tunneling all of its outgoing connections over
  10174. a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
  10175. configuration options. Code by Christopher Davis.
  10176. o Major bugfixes:
  10177. - Send circuit or stream sendme cells when our window has decreased
  10178. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  10179. by Karsten when testing the "reduce circuit window" performance
  10180. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  10181. before the release of Tor 0.0.0. This is the new winner of the
  10182. oldest-bug prize.
  10183. o New options for gathering stats safely:
  10184. - Directory mirrors that set "DirReqStatistics 1" write statistics
  10185. about directory requests to disk every 24 hours. As compared to the
  10186. --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
  10187. 1) stats are written to disk exactly every 24 hours; 2) estimated
  10188. shares of v2 and v3 requests are determined as mean values, not at
  10189. the end of a measurement period; 3) unresolved requests are listed
  10190. with country code '??'; 4) directories also measure download times.
  10191. - Exit nodes that set "ExitPortStatistics 1" write statistics on the
  10192. number of exit streams and transferred bytes per port to disk every
  10193. 24 hours.
  10194. - Relays that set "CellStatistics 1" write statistics on how long
  10195. cells spend in their circuit queues to disk every 24 hours.
  10196. - Entry nodes that set "EntryStatistics 1" write statistics on the
  10197. rough number and origins of connecting clients to disk every 24
  10198. hours.
  10199. - Relays that write any of the above statistics to disk and set
  10200. "ExtraInfoStatistics 1" include the past 24 hours of statistics in
  10201. their extra-info documents.
  10202. o Minor features:
  10203. - New --digests command-line switch to output the digests of the
  10204. source files Tor was built with.
  10205. - The "torify" script now uses torsocks where available.
  10206. - The memarea code now uses a sentinel value at the end of each area
  10207. to make sure nothing writes beyond the end of an area. This might
  10208. help debug some conceivable causes of bug 930.
  10209. - Time and memory units in the configuration file can now be set to
  10210. fractional units. For example, "2.5 GB" is now a valid value for
  10211. AccountingMax.
  10212. - Certain Tor clients (such as those behind check.torproject.org) may
  10213. want to fetch the consensus in an extra early manner. To enable this
  10214. a user may now set FetchDirInfoExtraEarly to 1. This also depends on
  10215. setting FetchDirInfoEarly to 1. Previous behavior will stay the same
  10216. as only certain clients who must have this information sooner should
  10217. set this option.
  10218. - Instead of adding the svn revision to the Tor version string, report
  10219. the git commit (when we're building from a git checkout).
  10220. o Minor bugfixes:
  10221. - If any of the v3 certs we download are unparseable, we should
  10222. actually notice the failure so we don't retry indefinitely. Bugfix
  10223. on 0.2.0.x; reported by "rotator".
  10224. - If the cached cert file is unparseable, warn but don't exit.
  10225. - Fix possible segmentation fault on directory authorities. Bugfix on
  10226. 0.2.1.14-rc.
  10227. - When Tor fails to parse a descriptor of any kind, dump it to disk.
  10228. Might help diagnosing bug 1051.
  10229. o Deprecated and removed features:
  10230. - The controller no longer accepts the old obsolete "addr-mappings/"
  10231. or "unregistered-servers-" GETINFO values.
  10232. - Hidden services no longer publish version 0 descriptors, and clients
  10233. do not request or use version 0 descriptors. However, the old hidden
  10234. service authorities still accept and serve version 0 descriptors
  10235. when contacted by older hidden services/clients.
  10236. - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
  10237. always on; using them is necessary for correct forward-compatible
  10238. controllers.
  10239. - Remove support for .noconnect style addresses. Nobody was using
  10240. them, and they provided another avenue for detecting Tor users
  10241. via application-level web tricks.
  10242. o Packaging changes:
  10243. - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
  10244. installer bundles. See
  10245. https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
  10246. for details of what's new in Vidalia 0.2.3.
  10247. - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
  10248. - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
  10249. configuration file, rather than the old Privoxy.
  10250. - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
  10251. x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
  10252. - OS X Tor Expert Bundle: Tor is compiled as x86-only for
  10253. better compatibility with OS X 10.6, aka Snow Leopard.
  10254. - OS X Vidalia Bundle: The multi-package installer is now replaced
  10255. by a simple drag and drop to the /Applications folder. This change
  10256. occurred with the upgrade to Vidalia 0.2.3.
  10257. Changes in version 0.2.1.19 - 2009-07-28
  10258. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
  10259. services on Tor 0.2.1.3-alpha through 0.2.1.18.
  10260. o Major bugfixes:
  10261. - Make accessing hidden services on 0.2.1.x work right again.
  10262. Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
  10263. part of patch provided by "optimist".
  10264. o Minor features:
  10265. - When a relay/bridge is writing out its identity key fingerprint to
  10266. the "fingerprint" file and to its logs, write it without spaces. Now
  10267. it will look like the fingerprints in our bridges documentation,
  10268. and confuse fewer users.
  10269. o Minor bugfixes:
  10270. - Relays no longer publish a new server descriptor if they change
  10271. their MaxAdvertisedBandwidth config option but it doesn't end up
  10272. changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
  10273. fixes bug 1026. Patch from Sebastian.
  10274. - Avoid leaking memory every time we get a create cell but we have
  10275. so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
  10276. fixes bug 1034. Reported by BarkerJr.
  10277. Changes in version 0.2.1.18 - 2009-07-24
  10278. Tor 0.2.1.18 lays the foundations for performance improvements,
  10279. adds status events to help users diagnose bootstrap problems, adds
  10280. optional authentication/authorization for hidden services, fixes a
  10281. variety of potential anonymity problems, and includes a huge pile of
  10282. other features and bug fixes.
  10283. o Build fixes:
  10284. - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
  10285. Changes in version 0.2.1.17-rc - 2009-07-07
  10286. Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
  10287. candidate for the 0.2.1.x series. It lays the groundwork for further
  10288. client performance improvements, and also fixes a big bug with directory
  10289. authorities that were causing them to assign Guard and Stable flags
  10290. poorly.
  10291. The Windows bundles also finally include the geoip database that we
  10292. thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
  10293. should actually install Torbutton rather than giving you a cryptic
  10294. failure message (oops).
  10295. o Major features:
  10296. - Clients now use the bandwidth values in the consensus, rather than
  10297. the bandwidth values in each relay descriptor. This approach opens
  10298. the door to more accurate bandwidth estimates once the directory
  10299. authorities start doing active measurements. Implements more of
  10300. proposal 141.
  10301. o Major bugfixes:
  10302. - When Tor clients restart after 1-5 days, they discard all their
  10303. cached descriptors as too old, but they still use the cached
  10304. consensus document. This approach is good for robustness, but
  10305. bad for performance: since they don't know any bandwidths, they
  10306. end up choosing at random rather than weighting their choice by
  10307. speed. Fixed by the above feature of putting bandwidths in the
  10308. consensus. Bugfix on 0.2.0.x.
  10309. - Directory authorities were neglecting to mark relays down in their
  10310. internal histories if the relays fall off the routerlist without
  10311. ever being found unreachable. So there were relays in the histories
  10312. that haven't been seen for eight months, and are listed as being
  10313. up for eight months. This wreaked havoc on the "median wfu"
  10314. and "median mtbf" calculations, in turn making Guard and Stable
  10315. flags very wrong, hurting network performance. Fixes bugs 696 and
  10316. 969. Bugfix on 0.2.0.6-alpha.
  10317. o Minor bugfixes:
  10318. - Serve the DirPortFrontPage page even when we have been approaching
  10319. our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
  10320. - The control port would close the connection before flushing long
  10321. replies, such as the network consensus, if a QUIT command was issued
  10322. before the reply had completed. Now, the control port flushes all
  10323. pending replies before closing the connection. Also fixed a spurious
  10324. warning when a QUIT command is issued after a malformed or rejected
  10325. AUTHENTICATE command, but before the connection was closed. Patch
  10326. by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
  10327. - When we can't find an intro key for a v2 hidden service descriptor,
  10328. fall back to the v0 hidden service descriptor and log a bug message.
  10329. Workaround for bug 1024.
  10330. - Fix a log message that did not respect the SafeLogging option.
  10331. Resolves bug 1027.
  10332. o Minor features:
  10333. - If we're a relay and we change our IP address, be more verbose
  10334. about the reason that made us change. Should help track down
  10335. further bugs for relays on dynamic IP addresses.
  10336. Changes in version 0.2.0.35 - 2009-06-24
  10337. o Security fix:
  10338. - Avoid crashing in the presence of certain malformed descriptors.
  10339. Found by lark, and by automated fuzzing.
  10340. - Fix an edge case where a malicious exit relay could convince a
  10341. controller that the client's DNS question resolves to an internal IP
  10342. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  10343. o Major bugfixes:
  10344. - Finally fix the bug where dynamic-IP relays disappear when their
  10345. IP address changes: directory mirrors were mistakenly telling
  10346. them their old address if they asked via begin_dir, so they
  10347. never got an accurate answer about their new address, so they
  10348. just vanished after a day. For belt-and-suspenders, relays that
  10349. don't set Address in their config now avoid using begin_dir for
  10350. all direct connections. Should fix bugs 827, 883, and 900.
  10351. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  10352. that would occur on some exit nodes when DNS failures and timeouts
  10353. occurred in certain patterns. Fix for bug 957.
  10354. o Minor bugfixes:
  10355. - When starting with a cache over a few days old, do not leak
  10356. memory for the obsolete router descriptors in it. Bugfix on
  10357. 0.2.0.33; fixes bug 672.
  10358. - Hidden service clients didn't use a cached service descriptor that
  10359. was older than 15 minutes, but wouldn't fetch a new one either,
  10360. because there was already one in the cache. Now, fetch a v2
  10361. descriptor unless the same descriptor was added to the cache within
  10362. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  10363. Changes in version 0.2.1.16-rc - 2009-06-20
  10364. Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
  10365. a bunch of minor bugs.
  10366. o Security fixes:
  10367. - Fix an edge case where a malicious exit relay could convince a
  10368. controller that the client's DNS question resolves to an internal IP
  10369. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  10370. o Major performance improvements (on 0.2.0.x):
  10371. - Disable and refactor some debugging checks that forced a linear scan
  10372. over the whole server-side DNS cache. These accounted for over 50%
  10373. of CPU time on a relatively busy exit node's gprof profile. Found
  10374. by Jacob.
  10375. - Disable some debugging checks that appeared in exit node profile
  10376. data.
  10377. o Minor features:
  10378. - Update to the "June 3 2009" ip-to-country file.
  10379. - Do not have tor-resolve automatically refuse all .onion addresses;
  10380. if AutomapHostsOnResolve is set in your torrc, this will work fine.
  10381. o Minor bugfixes (on 0.2.0.x):
  10382. - Log correct error messages for DNS-related network errors on
  10383. Windows.
  10384. - Fix a race condition that could cause crashes or memory corruption
  10385. when running as a server with a controller listening for log
  10386. messages.
  10387. - Avoid crashing when we have a policy specified in a DirPolicy or
  10388. SocksPolicy or ReachableAddresses option with ports set on it,
  10389. and we re-load the policy. May fix bug 996.
  10390. - Hidden service clients didn't use a cached service descriptor that
  10391. was older than 15 minutes, but wouldn't fetch a new one either,
  10392. because there was already one in the cache. Now, fetch a v2
  10393. descriptor unless the same descriptor was added to the cache within
  10394. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  10395. o Minor bugfixes (on 0.2.1.x):
  10396. - Don't warn users about low port and hibernation mix when they
  10397. provide a *ListenAddress directive to fix that. Bugfix on
  10398. 0.2.1.15-rc.
  10399. - When switching back and forth between bridge mode, do not start
  10400. gathering GeoIP data until two hours have passed.
  10401. - Do not complain that the user has requested an excluded node as
  10402. an exit when the node is not really an exit. This could happen
  10403. because the circuit was for testing, or an introduction point.
  10404. Fix for bug 984.
  10405. Changes in version 0.2.1.15-rc - 2009-05-25
  10406. Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
  10407. series. It fixes a major bug on fast exit relays, as well as a variety
  10408. of more minor bugs.
  10409. o Major bugfixes (on 0.2.0.x):
  10410. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  10411. that would occur on some exit nodes when DNS failures and timeouts
  10412. occurred in certain patterns. Fix for bug 957.
  10413. o Minor bugfixes (on 0.2.0.x):
  10414. - Actually return -1 in the error case for read_bandwidth_usage().
  10415. Harmless bug, since we currently don't care about the return value
  10416. anywhere. Bugfix on 0.2.0.9-alpha.
  10417. - Provide a more useful log message if bug 977 (related to buffer
  10418. freelists) ever reappears, and do not crash right away.
  10419. - Fix an assertion failure on 64-bit platforms when we allocated
  10420. memory right up to the end of a memarea, then realigned the memory
  10421. one step beyond the end. Fixes a possible cause of bug 930.
  10422. - Protect the count of open sockets with a mutex, so we can't
  10423. corrupt it when two threads are closing or opening sockets at once.
  10424. Fix for bug 939. Bugfix on 0.2.0.1-alpha.
  10425. - Don't allow a bridge to publish its router descriptor to a
  10426. non-bridge directory authority. Fixes part of bug 932.
  10427. - When we change to or from being a bridge, reset our counts of
  10428. client usage by country. Fixes bug 932.
  10429. - Fix a bug that made stream bandwidth get misreported to the
  10430. controller.
  10431. - Stop using malloc_usable_size() to use more area than we had
  10432. actually allocated: it was safe, but made valgrind really unhappy.
  10433. - Fix a memory leak when v3 directory authorities load their keys
  10434. and cert from disk. Bugfix on 0.2.0.1-alpha.
  10435. o Minor bugfixes (on 0.2.1.x):
  10436. - Fix use of freed memory when deciding to mark a non-addable
  10437. descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
  10438. Changes in version 0.2.1.14-rc - 2009-04-12
  10439. Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
  10440. series. It begins fixing some major performance problems, and also
  10441. finally addresses the bug that was causing relays on dynamic IP
  10442. addresses to fall out of the directory.
  10443. o Major features:
  10444. - Clients replace entry guards that were chosen more than a few months
  10445. ago. This change should significantly improve client performance,
  10446. especially once more people upgrade, since relays that have been
  10447. a guard for a long time are currently overloaded.
  10448. o Major bugfixes (on 0.2.0):
  10449. - Finally fix the bug where dynamic-IP relays disappear when their
  10450. IP address changes: directory mirrors were mistakenly telling
  10451. them their old address if they asked via begin_dir, so they
  10452. never got an accurate answer about their new address, so they
  10453. just vanished after a day. For belt-and-suspenders, relays that
  10454. don't set Address in their config now avoid using begin_dir for
  10455. all direct connections. Should fix bugs 827, 883, and 900.
  10456. - Relays were falling out of the networkstatus consensus for
  10457. part of a day if they changed their local config but the
  10458. authorities discarded their new descriptor as "not sufficiently
  10459. different". Now directory authorities accept a descriptor as changed
  10460. if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
  10461. patch by Sebastian.
  10462. - Avoid crashing in the presence of certain malformed descriptors.
  10463. Found by lark, and by automated fuzzing.
  10464. o Minor features:
  10465. - When generating circuit events with verbose nicknames for
  10466. controllers, try harder to look up nicknames for routers on a
  10467. circuit. (Previously, we would look in the router descriptors we had
  10468. for nicknames, but not in the consensus.) Partial fix for bug 941.
  10469. - If the bridge config line doesn't specify a port, assume 443.
  10470. This makes bridge lines a bit smaller and easier for users to
  10471. understand.
  10472. - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
  10473. bytes (aka 20KB/s), to match our documentation. Also update
  10474. directory authorities so they always assign the Fast flag to relays
  10475. with 20KB/s of capacity. Now people running relays won't suddenly
  10476. find themselves not seeing any use, if the network gets faster
  10477. on average.
  10478. - Update to the "April 3 2009" ip-to-country file.
  10479. o Minor bugfixes:
  10480. - Avoid trying to print raw memory to the logs when we decide to
  10481. give up on downloading a given relay descriptor. Bugfix on
  10482. 0.2.1.9-alpha.
  10483. - In tor-resolve, when the Tor client to use is specified by
  10484. <hostname>:<port>, actually use the specified port rather than
  10485. defaulting to 9050. Bugfix on 0.2.1.6-alpha.
  10486. - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
  10487. - When starting with a cache over a few days old, do not leak
  10488. memory for the obsolete router descriptors in it. Bugfix on
  10489. 0.2.0.33.
  10490. - Avoid double-free on list of successfully uploaded hidden
  10491. service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
  10492. - Change memarea_strndup() implementation to work even when
  10493. duplicating a string at the end of a page. This bug was
  10494. harmless for now, but could have meant crashes later. Fix by
  10495. lark. Bugfix on 0.2.1.1-alpha.
  10496. - Limit uploaded directory documents to be 16M rather than 500K.
  10497. The directory authorities were refusing v3 consensus votes from
  10498. other authorities, since the votes are now 504K. Fixes bug 959;
  10499. bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
  10500. - Directory authorities should never send a 503 "busy" response to
  10501. requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
  10502. bug 959.
  10503. Changes in version 0.2.1.13-alpha - 2009-03-09
  10504. Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
  10505. cleanups. We're finally getting close to a release candidate.
  10506. o Major bugfixes:
  10507. - Correctly update the list of which countries we exclude as
  10508. exits, when the GeoIP file is loaded or reloaded. Diagnosed by
  10509. lark. Bugfix on 0.2.1.6-alpha.
  10510. o Minor bugfixes (on 0.2.0.x and earlier):
  10511. - Automatically detect MacOSX versions earlier than 10.4.0, and
  10512. disable kqueue from inside Tor when running with these versions.
  10513. We previously did this from the startup script, but that was no
  10514. help to people who didn't use the startup script. Resolves bug 863.
  10515. - When we had picked an exit node for a connection, but marked it as
  10516. "optional", and it turned out we had no onion key for the exit,
  10517. stop wanting that exit and try again. This situation may not
  10518. be possible now, but will probably become feasible with proposal
  10519. 158. Spotted by rovv. Fixes another case of bug 752.
  10520. - Clients no longer cache certificates for authorities they do not
  10521. recognize. Bugfix on 0.2.0.9-alpha.
  10522. - When we can't transmit a DNS request due to a network error, retry
  10523. it after a while, and eventually transmit a failing response to
  10524. the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
  10525. - If the controller claimed responsibility for a stream, but that
  10526. stream never finished making its connection, it would live
  10527. forever in circuit_wait state. Now we close it after SocksTimeout
  10528. seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
  10529. - Drop begin cells to a hidden service if they come from the middle
  10530. of a circuit. Patch from lark.
  10531. - When we erroneously receive two EXTEND cells for the same circuit
  10532. ID on the same connection, drop the second. Patch from lark.
  10533. - Fix a crash that occurs on exit nodes when a nameserver request
  10534. timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
  10535. been suppressing the bug since 0.1.2.10-alpha. Partial fix for
  10536. bug 929.
  10537. - Do not assume that a stack-allocated character array will be
  10538. 64-bit aligned on platforms that demand that uint64_t access is
  10539. aligned. Possible fix for bug 604.
  10540. - Parse dates and IPv4 addresses in a locale- and libc-independent
  10541. manner, to avoid platform-dependent behavior on malformed input.
  10542. - Build correctly when configured to build outside the main source
  10543. path. Patch from Michael Gold.
  10544. - We were already rejecting relay begin cells with destination port
  10545. of 0. Now also reject extend cells with destination port or address
  10546. of 0. Suggested by lark.
  10547. o Minor bugfixes (on 0.2.1.x):
  10548. - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
  10549. cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
  10550. - If we're an exit node, scrub the IP address to which we are exiting
  10551. in the logs. Bugfix on 0.2.1.8-alpha.
  10552. o Minor features:
  10553. - On Linux, use the prctl call to re-enable core dumps when the user
  10554. is option is set.
  10555. - New controller event NEWCONSENSUS that lists the networkstatus
  10556. lines for every recommended relay. Now controllers like Torflow
  10557. can keep up-to-date on which relays they should be using.
  10558. - Update to the "February 26 2009" ip-to-country file.
  10559. Changes in version 0.2.0.34 - 2009-02-08
  10560. Tor 0.2.0.34 features several more security-related fixes. You should
  10561. upgrade, especially if you run an exit relay (remote crash) or a
  10562. directory authority (remote infinite loop), or you're on an older
  10563. (pre-XP) or not-recently-patched Windows (remote exploit).
  10564. This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
  10565. have many known flaws, and nobody should be using them. You should
  10566. upgrade. If you're using a Linux or BSD and its packages are obsolete,
  10567. stop using those packages and upgrade anyway.
  10568. o Security fixes:
  10569. - Fix an infinite-loop bug on handling corrupt votes under certain
  10570. circumstances. Bugfix on 0.2.0.8-alpha.
  10571. - Fix a temporary DoS vulnerability that could be performed by
  10572. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  10573. - Avoid a potential crash on exit nodes when processing malformed
  10574. input. Remote DoS opportunity. Bugfix on 0.2.0.33.
  10575. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  10576. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  10577. o Minor bugfixes:
  10578. - Fix compilation on systems where time_t is a 64-bit integer.
  10579. Patch from Matthias Drochner.
  10580. - Don't consider expiring already-closed client connections. Fixes
  10581. bug 893. Bugfix on 0.0.2pre20.
  10582. Changes in version 0.2.1.12-alpha - 2009-02-08
  10583. Tor 0.2.1.12-alpha features several more security-related fixes. You
  10584. should upgrade, especially if you run an exit relay (remote crash) or
  10585. a directory authority (remote infinite loop), or you're on an older
  10586. (pre-XP) or not-recently-patched Windows (remote exploit). It also
  10587. includes a big pile of minor bugfixes and cleanups.
  10588. o Security fixes:
  10589. - Fix an infinite-loop bug on handling corrupt votes under certain
  10590. circumstances. Bugfix on 0.2.0.8-alpha.
  10591. - Fix a temporary DoS vulnerability that could be performed by
  10592. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  10593. - Avoid a potential crash on exit nodes when processing malformed
  10594. input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
  10595. o Minor bugfixes:
  10596. - Let controllers actually ask for the "clients_seen" event for
  10597. getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
  10598. reported by Matt Edman.
  10599. - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
  10600. 0.2.1.11-alpha.
  10601. - Fix a bug in address parsing that was preventing bridges or hidden
  10602. service targets from being at IPv6 addresses.
  10603. - Solve a bug that kept hardware crypto acceleration from getting
  10604. enabled when accounting was turned on. Fixes bug 907. Bugfix on
  10605. 0.0.9pre6.
  10606. - Remove a bash-ism from configure.in to build properly on non-Linux
  10607. platforms. Bugfix on 0.2.1.1-alpha.
  10608. - Fix code so authorities _actually_ send back X-Descriptor-Not-New
  10609. headers. Bugfix on 0.2.0.10-alpha.
  10610. - Don't consider expiring already-closed client connections. Fixes
  10611. bug 893. Bugfix on 0.0.2pre20.
  10612. - Fix another interesting corner-case of bug 891 spotted by rovv:
  10613. Previously, if two hosts had different amounts of clock drift, and
  10614. one of them created a new connection with just the wrong timing,
  10615. the other might decide to deprecate the new connection erroneously.
  10616. Bugfix on 0.1.1.13-alpha.
  10617. - Resolve a very rare crash bug that could occur when the user forced
  10618. a nameserver reconfiguration during the middle of a nameserver
  10619. probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
  10620. - Support changing value of ServerDNSRandomizeCase during SIGHUP.
  10621. Bugfix on 0.2.1.7-alpha.
  10622. - If we're using bridges and our network goes away, be more willing
  10623. to forgive our bridges and try again when we get an application
  10624. request. Bugfix on 0.2.0.x.
  10625. o Minor features:
  10626. - Support platforms where time_t is 64 bits long. (Congratulations,
  10627. NetBSD!) Patch from Matthias Drochner.
  10628. - Add a 'getinfo status/clients-seen' controller command, in case
  10629. controllers want to hear clients_seen events but connect late.
  10630. o Build changes:
  10631. - Disable GCC's strict alias optimization by default, to avoid the
  10632. likelihood of its introducing subtle bugs whenever our code violates
  10633. the letter of C99's alias rules.
  10634. Changes in version 0.2.0.33 - 2009-01-21
  10635. Tor 0.2.0.33 fixes a variety of bugs that were making relays less
  10636. useful to users. It also finally fixes a bug where a relay or client
  10637. that's been off for many days would take a long time to bootstrap.
  10638. This update also fixes an important security-related bug reported by
  10639. Ilja van Sprundel. You should upgrade. (We'll send out more details
  10640. about the bug once people have had some time to upgrade.)
  10641. o Security fixes:
  10642. - Fix a heap-corruption bug that may be remotely triggerable on
  10643. some platforms. Reported by Ilja van Sprundel.
  10644. o Major bugfixes:
  10645. - When a stream at an exit relay is in state "resolving" or
  10646. "connecting" and it receives an "end" relay cell, the exit relay
  10647. would silently ignore the end cell and not close the stream. If
  10648. the client never closes the circuit, then the exit relay never
  10649. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  10650. reported by "wood".
  10651. - When sending CREATED cells back for a given circuit, use a 64-bit
  10652. connection ID to find the right connection, rather than an addr:port
  10653. combination. Now that we can have multiple OR connections between
  10654. the same ORs, it is no longer possible to use addr:port to uniquely
  10655. identify a connection.
  10656. - Bridge relays that had DirPort set to 0 would stop fetching
  10657. descriptors shortly after startup, and then briefly resume
  10658. after a new bandwidth test and/or after publishing a new bridge
  10659. descriptor. Bridge users that try to bootstrap from them would
  10660. get a recent networkstatus but would get descriptors from up to
  10661. 18 hours earlier, meaning most of the descriptors were obsolete
  10662. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  10663. - Prevent bridge relays from serving their 'extrainfo' document
  10664. to anybody who asks, now that extrainfo docs include potentially
  10665. sensitive aggregated client geoip summaries. Bugfix on
  10666. 0.2.0.13-alpha.
  10667. - If the cached networkstatus consensus is more than five days old,
  10668. discard it rather than trying to use it. In theory it could be
  10669. useful because it lists alternate directory mirrors, but in practice
  10670. it just means we spend many minutes trying directory mirrors that
  10671. are long gone from the network. Also discard router descriptors as
  10672. we load them if they are more than five days old, since the onion
  10673. key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
  10674. o Minor bugfixes:
  10675. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  10676. could make gcc generate non-functional binary search code. Bugfix
  10677. on 0.2.0.10-alpha.
  10678. - Build correctly on platforms without socklen_t.
  10679. - Compile without warnings on solaris.
  10680. - Avoid potential crash on internal error during signature collection.
  10681. Fixes bug 864. Patch from rovv.
  10682. - Correct handling of possible malformed authority signing key
  10683. certificates with internal signature types. Fixes bug 880.
  10684. Bugfix on 0.2.0.3-alpha.
  10685. - Fix a hard-to-trigger resource leak when logging credential status.
  10686. CID 349.
  10687. - When we can't initialize DNS because the network is down, do not
  10688. automatically stop Tor from starting. Instead, we retry failed
  10689. dns_init() every 10 minutes, and change the exit policy to reject
  10690. *:* until one succeeds. Fixes bug 691.
  10691. - Use 64 bits instead of 32 bits for connection identifiers used with
  10692. the controller protocol, to greatly reduce risk of identifier reuse.
  10693. - When we're choosing an exit node for a circuit, and we have
  10694. no pending streams, choose a good general exit rather than one that
  10695. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  10696. - Fix another case of assuming, when a specific exit is requested,
  10697. that we know more than the user about what hosts it allows.
  10698. Fixes one case of bug 752. Patch from rovv.
  10699. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  10700. seconds. Warn the user if lower values are given in the
  10701. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  10702. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  10703. user if lower values are given in the configuration. Bugfix on
  10704. 0.1.1.17-rc. Patch by Sebastian.
  10705. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  10706. the cache because we already had a v0 descriptor with the same ID.
  10707. Bugfix on 0.2.0.18-alpha.
  10708. - Fix a race condition when freeing keys shared between main thread
  10709. and CPU workers that could result in a memory leak. Bugfix on
  10710. 0.1.0.1-rc. Fixes bug 889.
  10711. - Send a valid END cell back when a client tries to connect to a
  10712. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  10713. 840. Patch from rovv.
  10714. - Check which hops rendezvous stream cells are associated with to
  10715. prevent possible guess-the-streamid injection attacks from
  10716. intermediate hops. Fixes another case of bug 446. Based on patch
  10717. from rovv.
  10718. - If a broken client asks a non-exit router to connect somewhere,
  10719. do not even do the DNS lookup before rejecting the connection.
  10720. Fixes another case of bug 619. Patch from rovv.
  10721. - When a relay gets a create cell it can't decrypt (e.g. because it's
  10722. using the wrong onion key), we were dropping it and letting the
  10723. client time out. Now actually answer with a destroy cell. Fixes
  10724. bug 904. Bugfix on 0.0.2pre8.
  10725. o Minor bugfixes (hidden services):
  10726. - Do not throw away existing introduction points on SIGHUP. Bugfix on
  10727. 0.0.6pre1. Patch by Karsten. Fixes bug 874.
  10728. o Minor features:
  10729. - Report the case where all signatures in a detached set are rejected
  10730. differently than the case where there is an error handling the
  10731. detached set.
  10732. - When we realize that another process has modified our cached
  10733. descriptors, print out a more useful error message rather than
  10734. triggering an assertion. Fixes bug 885. Patch from Karsten.
  10735. - Implement the 0x20 hack to better resist DNS poisoning: set the
  10736. case on outgoing DNS requests randomly, and reject responses that do
  10737. not match the case correctly. This logic can be disabled with the
  10738. ServerDNSRamdomizeCase setting, if you are using one of the 0.3%
  10739. of servers that do not reliably preserve case in replies. See
  10740. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  10741. for more info.
  10742. - Check DNS replies for more matching fields to better resist DNS
  10743. poisoning.
  10744. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  10745. compress cells, which are basically all encrypted, compressed, or
  10746. both.
  10747. Changes in version 0.2.1.11-alpha - 2009-01-20
  10748. Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
  10749. week it will take a long time to bootstrap again" bug. It also fixes
  10750. an important security-related bug reported by Ilja van Sprundel. You
  10751. should upgrade. (We'll send out more details about the bug once people
  10752. have had some time to upgrade.)
  10753. o Security fixes:
  10754. - Fix a heap-corruption bug that may be remotely triggerable on
  10755. some platforms. Reported by Ilja van Sprundel.
  10756. o Major bugfixes:
  10757. - Discard router descriptors as we load them if they are more than
  10758. five days old. Otherwise if Tor is off for a long time and then
  10759. starts with cached descriptors, it will try to use the onion
  10760. keys in those obsolete descriptors when building circuits. Bugfix
  10761. on 0.2.0.x. Fixes bug 887.
  10762. o Minor features:
  10763. - Try to make sure that the version of Libevent we're running with
  10764. is binary-compatible with the one we built with. May address bug
  10765. 897 and others.
  10766. - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
  10767. for bug 905. Bugfix on 0.2.1.7-alpha.
  10768. - Add a new --enable-local-appdata configuration switch to change
  10769. the default location of the datadir on win32 from APPDATA to
  10770. LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
  10771. entirely. Patch from coderman.
  10772. o Minor bugfixes:
  10773. - Make outbound DNS packets respect the OutboundBindAddress setting.
  10774. Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
  10775. - When our circuit fails at the first hop (e.g. we get a destroy
  10776. cell back), avoid using that OR connection anymore, and also
  10777. tell all the one-hop directory requests waiting for it that they
  10778. should fail. Bugfix on 0.2.1.3-alpha.
  10779. - In the torify(1) manpage, mention that tsocks will leak your
  10780. DNS requests.
  10781. Changes in version 0.2.1.10-alpha - 2009-01-06
  10782. Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
  10783. would make the bridge relay not so useful if it had DirPort set to 0,
  10784. and one that could let an attacker learn a little bit of information
  10785. about the bridge's users), and a bug that would cause your Tor relay
  10786. to ignore a circuit create request it can't decrypt (rather than reply
  10787. with an error). It also fixes a wide variety of other bugs.
  10788. o Major bugfixes:
  10789. - If the cached networkstatus consensus is more than five days old,
  10790. discard it rather than trying to use it. In theory it could
  10791. be useful because it lists alternate directory mirrors, but in
  10792. practice it just means we spend many minutes trying directory
  10793. mirrors that are long gone from the network. Helps bug 887 a bit;
  10794. bugfix on 0.2.0.x.
  10795. - Bridge relays that had DirPort set to 0 would stop fetching
  10796. descriptors shortly after startup, and then briefly resume
  10797. after a new bandwidth test and/or after publishing a new bridge
  10798. descriptor. Bridge users that try to bootstrap from them would
  10799. get a recent networkstatus but would get descriptors from up to
  10800. 18 hours earlier, meaning most of the descriptors were obsolete
  10801. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  10802. - Prevent bridge relays from serving their 'extrainfo' document
  10803. to anybody who asks, now that extrainfo docs include potentially
  10804. sensitive aggregated client geoip summaries. Bugfix on
  10805. 0.2.0.13-alpha.
  10806. o Minor features:
  10807. - New controller event "clients_seen" to report a geoip-based summary
  10808. of which countries we've seen clients from recently. Now controllers
  10809. like Vidalia can show bridge operators that they're actually making
  10810. a difference.
  10811. - Build correctly against versions of OpenSSL 0.9.8 or later built
  10812. without support for deprecated functions.
  10813. - Update to the "December 19 2008" ip-to-country file.
  10814. o Minor bugfixes (on 0.2.0.x):
  10815. - Authorities now vote for the Stable flag for any router whose
  10816. weighted MTBF is at least 5 days, regardless of the mean MTBF.
  10817. - Do not remove routers as too old if we do not have any consensus
  10818. document. Bugfix on 0.2.0.7-alpha.
  10819. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  10820. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  10821. - When an exit relay resolves a stream address to a local IP address,
  10822. do not just keep retrying that same exit relay over and
  10823. over. Instead, just close the stream. Addresses bug 872. Bugfix
  10824. on 0.2.0.32. Patch from rovv.
  10825. - If a hidden service sends us an END cell, do not consider
  10826. retrying the connection; just close it. Patch from rovv.
  10827. - When we made bridge authorities stop serving bridge descriptors over
  10828. unencrypted links, we also broke DirPort reachability testing for
  10829. bridges. So bridges with a non-zero DirPort were printing spurious
  10830. warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
  10831. - When a relay gets a create cell it can't decrypt (e.g. because it's
  10832. using the wrong onion key), we were dropping it and letting the
  10833. client time out. Now actually answer with a destroy cell. Fixes
  10834. bug 904. Bugfix on 0.0.2pre8.
  10835. - Squeeze 2-5% out of client performance (according to oprofile) by
  10836. improving the implementation of some policy-manipulation functions.
  10837. o Minor bugfixes (on 0.2.1.x):
  10838. - Make get_interface_address() function work properly again; stop
  10839. guessing the wrong parts of our address as our address.
  10840. - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
  10841. send on that circuit. Otherwise we might violate the proposal-110
  10842. limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
  10843. thanks to Karsten.
  10844. - When we're sending non-EXTEND cells to the first hop in a circuit,
  10845. for example to use an encrypted directory connection, we don't need
  10846. to use RELAY_EARLY cells: the first hop knows what kind of cell
  10847. it is, and nobody else can even see the cell type. Conserving
  10848. RELAY_EARLY cells makes it easier to cannibalize circuits like
  10849. this later.
  10850. - Stop logging nameserver addresses in reverse order.
  10851. - If we are retrying a directory download slowly over and over, do
  10852. not automatically give up after the 254th failure. Bugfix on
  10853. 0.2.1.9-alpha.
  10854. - Resume reporting accurate "stream end" reasons to the local control
  10855. port. They were lost in the changes for Proposal 148. Bugfix on
  10856. 0.2.1.9-alpha.
  10857. o Deprecated and removed features:
  10858. - The old "tor --version --version" command, which would print out
  10859. the subversion "Id" of most of the source files, is now removed. It
  10860. turned out to be less useful than we'd expected, and harder to
  10861. maintain.
  10862. o Code simplifications and refactoring:
  10863. - Change our header file guard macros to be less likely to conflict
  10864. with system headers. Adam Langley noticed that we were conflicting
  10865. with log.h on Android.
  10866. - Tool-assisted documentation cleanup. Nearly every function or
  10867. static variable in Tor should have its own documentation now.
  10868. Changes in version 0.2.1.9-alpha - 2008-12-25
  10869. Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
  10870. o New directory authorities:
  10871. - gabelmoo (the authority run by Karsten Loesing) now has a new
  10872. IP address.
  10873. o Security fixes:
  10874. - Never use a connection with a mismatched address to extend a
  10875. circuit, unless that connection is canonical. A canonical
  10876. connection is one whose address is authenticated by the router's
  10877. identity key, either in a NETINFO cell or in a router descriptor.
  10878. - Avoid a possible memory corruption bug when receiving hidden service
  10879. descriptors. Bugfix on 0.2.1.6-alpha.
  10880. o Major bugfixes:
  10881. - Fix a logic error that would automatically reject all but the first
  10882. configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
  10883. part of bug 813/868. Bug spotted by coderman.
  10884. - When a stream at an exit relay is in state "resolving" or
  10885. "connecting" and it receives an "end" relay cell, the exit relay
  10886. would silently ignore the end cell and not close the stream. If
  10887. the client never closes the circuit, then the exit relay never
  10888. closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
  10889. reported by "wood".
  10890. - When we can't initialize DNS because the network is down, do not
  10891. automatically stop Tor from starting. Instead, retry failed
  10892. dns_init() every 10 minutes, and change the exit policy to reject
  10893. *:* until one succeeds. Fixes bug 691.
  10894. o Minor features:
  10895. - Give a better error message when an overzealous init script says
  10896. "sudo -u username tor --user username". Makes Bug 882 easier for
  10897. users to diagnose.
  10898. - When a directory authority gives us a new guess for our IP address,
  10899. log which authority we used. Hopefully this will help us debug
  10900. the recent complaints about bad IP address guesses.
  10901. - Detect svn revision properly when we're using git-svn.
  10902. - Try not to open more than one descriptor-downloading connection
  10903. to an authority at once. This should reduce load on directory
  10904. authorities. Fixes bug 366.
  10905. - Add cross-certification to newly generated certificates, so that
  10906. a signing key is enough information to look up a certificate.
  10907. Partial implementation of proposal 157.
  10908. - Start serving certificates by <identity digest, signing key digest>
  10909. pairs. Partial implementation of proposal 157.
  10910. - Clients now never report any stream end reason except 'MISC'.
  10911. Implements proposal 148.
  10912. - On platforms with a maximum syslog string length, truncate syslog
  10913. messages to that length ourselves, rather than relying on the
  10914. system to do it for us.
  10915. - Optimize out calls to time(NULL) that occur for every IO operation,
  10916. or for every cell. On systems where time() is a slow syscall,
  10917. this fix will be slightly helpful.
  10918. - Exit servers can now answer resolve requests for ip6.arpa addresses.
  10919. - When we download a descriptor that we then immediately (as
  10920. a directory authority) reject, do not retry downloading it right
  10921. away. Should save some bandwidth on authorities. Fix for bug
  10922. 888. Patch by Sebastian Hahn.
  10923. - When a download gets us zero good descriptors, do not notify
  10924. Tor that new directory information has arrived.
  10925. - Avoid some nasty corner cases in the logic for marking connections
  10926. as too old or obsolete or noncanonical for circuits. Partial
  10927. bugfix on bug 891.
  10928. o Minor features (controller):
  10929. - New CONSENSUS_ARRIVED event to note when a new consensus has
  10930. been fetched and validated.
  10931. - When we realize that another process has modified our cached
  10932. descriptors file, print out a more useful error message rather
  10933. than triggering an assertion. Fixes bug 885. Patch from Karsten.
  10934. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  10935. controllers to prevent SIGHUP from reloading the
  10936. configuration. Fixes bug 856.
  10937. o Minor bugfixes:
  10938. - Resume using the correct "REASON=" stream when telling the
  10939. controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
  10940. - When a canonical connection appears later in our internal list
  10941. than a noncanonical one for a given OR ID, always use the
  10942. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  10943. Spotted by rovv.
  10944. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  10945. seconds. Warn the user if lower values are given in the
  10946. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  10947. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  10948. user if lower values are given in the configuration. Bugfix on
  10949. 0.1.1.17-rc. Patch by Sebastian.
  10950. - Fix a race condition when freeing keys shared between main thread
  10951. and CPU workers that could result in a memory leak. Bugfix on
  10952. 0.1.0.1-rc. Fixes bug 889.
  10953. o Minor bugfixes (hidden services):
  10954. - Do not throw away existing introduction points on SIGHUP (bugfix on
  10955. 0.0.6pre1); also, do not stall hidden services because we're
  10956. throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
  10957. by John Brooks. Patch by Karsten. Fixes bug 874.
  10958. - Fix a memory leak when we decline to add a v2 rendezvous
  10959. descriptor to the cache because we already had a v0 descriptor
  10960. with the same ID. Bugfix on 0.2.0.18-alpha.
  10961. o Deprecated and removed features:
  10962. - RedirectExits has been removed. It was deprecated since
  10963. 0.2.0.3-alpha.
  10964. - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
  10965. has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  10966. - Cell pools are now always enabled; --disable-cell-pools is ignored.
  10967. o Code simplifications and refactoring:
  10968. - Rename the confusing or_is_obsolete field to the more appropriate
  10969. is_bad_for_new_circs, and move it to or_connection_t where it
  10970. belongs.
  10971. - Move edge-only flags from connection_t to edge_connection_t: not
  10972. only is this better coding, but on machines of plausible alignment,
  10973. it should save 4-8 bytes per connection_t. "Every little bit helps."
  10974. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  10975. for consistency; keep old option working for backward compatibility.
  10976. - Simplify the code for finding connections to use for a circuit.
  10977. Changes in version 0.2.1.8-alpha - 2008-12-08
  10978. Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
  10979. builds better on unusual platforms like Solaris and old OS X, and
  10980. fixes a variety of other issues.
  10981. o Major features:
  10982. - New DirPortFrontPage option that takes an html file and publishes
  10983. it as "/" on the DirPort. Now relay operators can provide a
  10984. disclaimer without needing to set up a separate webserver. There's
  10985. a sample disclaimer in contrib/tor-exit-notice.html.
  10986. o Security fixes:
  10987. - When the client is choosing entry guards, now it selects at most
  10988. one guard from a given relay family. Otherwise we could end up with
  10989. all of our entry points into the network run by the same operator.
  10990. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  10991. o Major bugfixes:
  10992. - Fix a DOS opportunity during the voting signature collection process
  10993. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  10994. - Fix a possible segfault when establishing an exit connection. Bugfix
  10995. on 0.2.1.5-alpha.
  10996. o Minor bugfixes:
  10997. - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
  10998. bug 859.
  10999. - Made Tor a little less aggressive about deleting expired
  11000. certificates. Partial fix for bug 854.
  11001. - Stop doing unaligned memory access that generated bus errors on
  11002. sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
  11003. - Fix a crash bug when changing EntryNodes from the controller. Bugfix
  11004. on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
  11005. - Make USR2 log-level switch take effect immediately. Bugfix on
  11006. 0.1.2.8-beta.
  11007. - If one win32 nameserver fails to get added, continue adding the
  11008. rest, and don't automatically fail.
  11009. - Use fcntl() for locking when flock() is not available. Should fix
  11010. compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
  11011. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  11012. could make gcc generate non-functional binary search code. Bugfix
  11013. on 0.2.0.10-alpha.
  11014. - Build correctly on platforms without socklen_t.
  11015. - Avoid potential crash on internal error during signature collection.
  11016. Fixes bug 864. Patch from rovv.
  11017. - Do not use C's stdio library for writing to log files. This will
  11018. improve logging performance by a minute amount, and will stop
  11019. leaking fds when our disk is full. Fixes bug 861.
  11020. - Stop erroneous use of O_APPEND in cases where we did not in fact
  11021. want to re-seek to the end of a file before every last write().
  11022. - Correct handling of possible malformed authority signing key
  11023. certificates with internal signature types. Fixes bug 880. Bugfix
  11024. on 0.2.0.3-alpha.
  11025. - Fix a hard-to-trigger resource leak when logging credential status.
  11026. CID 349.
  11027. o Minor features:
  11028. - Directory mirrors no longer fetch the v1 directory or
  11029. running-routers files. They are obsolete, and nobody asks for them
  11030. anymore. This is the first step to making v1 authorities obsolete.
  11031. o Minor features (controller):
  11032. - Return circuit purposes in response to GETINFO circuit-status. Fixes
  11033. bug 858.
  11034. Changes in version 0.2.0.32 - 2008-11-20
  11035. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  11036. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  11037. a smaller security flaw that might allow an attacker to access local
  11038. services, further improves hidden service performance, and fixes a
  11039. variety of other issues.
  11040. o Security fixes:
  11041. - The "User" and "Group" config options did not clear the
  11042. supplementary group entries for the Tor process. The "User" option
  11043. is now more robust, and we now set the groups to the specified
  11044. user's primary group. The "Group" option is now ignored. For more
  11045. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  11046. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  11047. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  11048. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  11049. consistently obeyed: if an exit relay refuses a stream because its
  11050. exit policy doesn't allow it, we would remember what IP address
  11051. the relay said the destination address resolves to, even if it's
  11052. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  11053. o Major bugfixes:
  11054. - Fix a DOS opportunity during the voting signature collection process
  11055. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  11056. o Major bugfixes (hidden services):
  11057. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  11058. we were failing the whole hidden service request when the v0
  11059. descriptor fetch fails, even if the v2 fetch is still pending and
  11060. might succeed. Similarly, if the last v2 fetch fails, we were
  11061. failing the whole hidden service request even if a v0 fetch is
  11062. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  11063. - When extending a circuit to a hidden service directory to upload a
  11064. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  11065. requests failed, because the router descriptor has not been
  11066. downloaded yet. In these cases, do not attempt to upload the
  11067. rendezvous descriptor, but wait until the router descriptor is
  11068. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  11069. descriptor from a hidden service directory for which the router
  11070. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  11071. on 0.2.0.10-alpha.
  11072. o Minor bugfixes:
  11073. - Fix several infrequent memory leaks spotted by Coverity.
  11074. - When testing for libevent functions, set the LDFLAGS variable
  11075. correctly. Found by Riastradh.
  11076. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  11077. bootstrapping with tunneled directory connections. Bugfix on
  11078. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  11079. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  11080. and we know that server B rejects most-but-not all connections to
  11081. port 80, we would previously reject the connection. Now, we assume
  11082. the user knows what they were asking for. Fixes bug 752. Bugfix
  11083. on 0.0.9rc5. Diagnosed by BarkerJr.
  11084. - If we overrun our per-second write limits a little, count this as
  11085. having used up our write allocation for the second, and choke
  11086. outgoing directory writes. Previously, we had only counted this when
  11087. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  11088. Bugfix on 0.2.0.x (??).
  11089. - Remove the old v2 directory authority 'lefkada' from the default
  11090. list. It has been gone for many months.
  11091. - Stop doing unaligned memory access that generated bus errors on
  11092. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  11093. - Make USR2 log-level switch take effect immediately. Bugfix on
  11094. 0.1.2.8-beta.
  11095. o Minor bugfixes (controller):
  11096. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  11097. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  11098. Changes in version 0.2.1.7-alpha - 2008-11-08
  11099. Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
  11100. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  11101. a smaller security flaw that might allow an attacker to access local
  11102. services, adds better defense against DNS poisoning attacks on exit
  11103. relays, further improves hidden service performance, and fixes a
  11104. variety of other issues.
  11105. o Security fixes:
  11106. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  11107. consistently obeyed: if an exit relay refuses a stream because its
  11108. exit policy doesn't allow it, we would remember what IP address
  11109. the relay said the destination address resolves to, even if it's
  11110. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  11111. - The "User" and "Group" config options did not clear the
  11112. supplementary group entries for the Tor process. The "User" option
  11113. is now more robust, and we now set the groups to the specified
  11114. user's primary group. The "Group" option is now ignored. For more
  11115. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  11116. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  11117. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
  11118. - Do not use or believe expired v3 authority certificates. Patch
  11119. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  11120. o Minor features:
  11121. - Now NodeFamily and MyFamily config options allow spaces in
  11122. identity fingerprints, so it's easier to paste them in.
  11123. Suggested by Lucky Green.
  11124. - Implement the 0x20 hack to better resist DNS poisoning: set the
  11125. case on outgoing DNS requests randomly, and reject responses that do
  11126. not match the case correctly. This logic can be disabled with the
  11127. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  11128. of servers that do not reliably preserve case in replies. See
  11129. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  11130. for more info.
  11131. - Preserve case in replies to DNSPort requests in order to support
  11132. the 0x20 hack for resisting DNS poisoning attacks.
  11133. o Hidden service performance improvements:
  11134. - When the client launches an introduction circuit, retry with a
  11135. new circuit after 30 seconds rather than 60 seconds.
  11136. - Launch a second client-side introduction circuit in parallel
  11137. after a delay of 15 seconds (based on work by Christian Wilms).
  11138. - Hidden services start out building five intro circuits rather
  11139. than three, and when the first three finish they publish a service
  11140. descriptor using those. Now we publish our service descriptor much
  11141. faster after restart.
  11142. o Minor bugfixes:
  11143. - Minor fix in the warning messages when you're having problems
  11144. bootstrapping; also, be more forgiving of bootstrap problems when
  11145. we're still making incremental progress on a given bootstrap phase.
  11146. - When we're choosing an exit node for a circuit, and we have
  11147. no pending streams, choose a good general exit rather than one that
  11148. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  11149. - Send a valid END cell back when a client tries to connect to a
  11150. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  11151. 840. Patch from rovv.
  11152. - If a broken client asks a non-exit router to connect somewhere,
  11153. do not even do the DNS lookup before rejecting the connection.
  11154. Fixes another case of bug 619. Patch from rovv.
  11155. - Fix another case of assuming, when a specific exit is requested,
  11156. that we know more than the user about what hosts it allows.
  11157. Fixes another case of bug 752. Patch from rovv.
  11158. - Check which hops rendezvous stream cells are associated with to
  11159. prevent possible guess-the-streamid injection attacks from
  11160. intermediate hops. Fixes another case of bug 446. Based on patch
  11161. from rovv.
  11162. - Avoid using a negative right-shift when comparing 32-bit
  11163. addresses. Possible fix for bug 845 and bug 811.
  11164. - Make the assert_circuit_ok() function work correctly on circuits that
  11165. have already been marked for close.
  11166. - Fix read-off-the-end-of-string error in unit tests when decoding
  11167. introduction points.
  11168. - Fix uninitialized size field for memory area allocation: may improve
  11169. memory performance during directory parsing.
  11170. - Treat duplicate certificate fetches as failures, so that we do
  11171. not try to re-fetch an expired certificate over and over and over.
  11172. - Do not say we're fetching a certificate when we'll in fact skip it
  11173. because of a pending download.
  11174. Changes in version 0.2.1.6-alpha - 2008-09-30
  11175. Tor 0.2.1.6-alpha further improves performance and robustness of
  11176. hidden services, starts work on supporting per-country relay selection,
  11177. and fixes a variety of smaller issues.
  11178. o Major features:
  11179. - Implement proposal 121: make it possible to build hidden services
  11180. that only certain clients are allowed to connect to. This is
  11181. enforced at several points, so that unauthorized clients are unable
  11182. to send INTRODUCE cells to the service, or even (depending on the
  11183. type of authentication) to learn introduction points. This feature
  11184. raises the bar for certain kinds of active attacks against hidden
  11185. services. Code by Karsten Loesing.
  11186. - Relays now store and serve v2 hidden service descriptors by default,
  11187. i.e., the new default value for HidServDirectoryV2 is 1. This is
  11188. the last step in proposal 114, which aims to make hidden service
  11189. lookups more reliable.
  11190. - Start work to allow node restrictions to include country codes. The
  11191. syntax to exclude nodes in a country with country code XX is
  11192. "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
  11193. refinement to decide what config options should take priority if
  11194. you ask to both use a particular node and exclude it.
  11195. - Allow ExitNodes list to include IP ranges and country codes, just
  11196. like the Exclude*Nodes lists. Patch from Robert Hogan.
  11197. o Major bugfixes:
  11198. - Fix a bug when parsing ports in tor_addr_port_parse() that caused
  11199. Tor to fail to start if you had it configured to use a bridge
  11200. relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
  11201. - When extending a circuit to a hidden service directory to upload a
  11202. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  11203. requests failed, because the router descriptor had not been
  11204. downloaded yet. In these cases, we now wait until the router
  11205. descriptor is downloaded, and then retry. Likewise, clients
  11206. now skip over a hidden service directory if they don't yet have
  11207. its router descriptor, rather than futilely requesting it and
  11208. putting mysterious complaints in the logs. Fixes bug 767. Bugfix
  11209. on 0.2.0.10-alpha.
  11210. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  11211. we were failing the whole hidden service request when the v0
  11212. descriptor fetch fails, even if the v2 fetch is still pending and
  11213. might succeed. Similarly, if the last v2 fetch fails, we were
  11214. failing the whole hidden service request even if a v0 fetch is
  11215. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  11216. - DNS replies need to have names matching their requests, but
  11217. these names should be in the questions section, not necessarily
  11218. in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
  11219. o Minor features:
  11220. - Update to the "September 1 2008" ip-to-country file.
  11221. - Allow ports 465 and 587 in the default exit policy again. We had
  11222. rejected them in 0.1.0.15, because back in 2005 they were commonly
  11223. misconfigured and ended up as spam targets. We hear they are better
  11224. locked down these days.
  11225. - Use a lockfile to make sure that two Tor processes are not
  11226. simultaneously running with the same datadir.
  11227. - Serve the latest v3 networkstatus consensus via the control
  11228. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  11229. - Better logging about stability/reliability calculations on directory
  11230. servers.
  11231. - Drop the requirement to have an open dir port for storing and
  11232. serving v2 hidden service descriptors.
  11233. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  11234. help debug WFU and MTBF calculations.
  11235. - Implement most of Proposal 152: allow specialized servers to permit
  11236. single-hop circuits, and clients to use those servers to build
  11237. single-hop circuits when using a specialized controller. Patch
  11238. from Josh Albrecht. Resolves feature request 768.
  11239. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  11240. people find host:port too confusing.
  11241. - Make TrackHostExit mappings expire a while after their last use, not
  11242. after their creation. Patch from Robert Hogan.
  11243. - Provide circuit purposes along with circuit events to the controller.
  11244. o Minor bugfixes:
  11245. - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
  11246. Reported by Tas.
  11247. - Fixed some memory leaks -- some quite frequent, some almost
  11248. impossible to trigger -- based on results from Coverity.
  11249. - When testing for libevent functions, set the LDFLAGS variable
  11250. correctly. Found by Riastradh.
  11251. - Fix an assertion bug in parsing policy-related options; possible fix
  11252. for bug 811.
  11253. - Catch and report a few more bootstrapping failure cases when Tor
  11254. fails to establish a TCP connection. Cleanup on 0.2.1.x.
  11255. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  11256. bootstrapping with tunneled directory connections. Bugfix on
  11257. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  11258. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  11259. and we know that server B rejects most-but-not all connections to
  11260. port 80, we would previously reject the connection. Now, we assume
  11261. the user knows what they were asking for. Fixes bug 752. Bugfix
  11262. on 0.0.9rc5. Diagnosed by BarkerJr.
  11263. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  11264. service directories if they have no advertised dir port. Bugfix
  11265. on 0.2.0.10-alpha.
  11266. - If we overrun our per-second write limits a little, count this as
  11267. having used up our write allocation for the second, and choke
  11268. outgoing directory writes. Previously, we had only counted this when
  11269. we had met our limits precisely. Fixes bug 824. Patch by rovv.
  11270. Bugfix on 0.2.0.x (??).
  11271. - Avoid a "0 divided by 0" calculation when calculating router uptime
  11272. at directory authorities. Bugfix on 0.2.0.8-alpha.
  11273. - Make DNS resolved controller events into "CLOSED", not
  11274. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  11275. bug 807.
  11276. - Fix a bug where an unreachable relay would establish enough
  11277. reachability testing circuits to do a bandwidth test -- if
  11278. we already have a connection to the middle hop of the testing
  11279. circuit, then it could establish the last hop by using the existing
  11280. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  11281. circuits no longer use entry guards in 0.2.1.3-alpha.
  11282. - If we have correct permissions on $datadir, we complain to stdout
  11283. and fail to start. But dangerous permissions on
  11284. $datadir/cached-status/ would cause us to open a log and complain
  11285. there. Now complain to stdout and fail to start in both cases. Fixes
  11286. bug 820, reported by seeess.
  11287. - Remove the old v2 directory authority 'lefkada' from the default
  11288. list. It has been gone for many months.
  11289. o Code simplifications and refactoring:
  11290. - Revise the connection_new functions so that a more typesafe variant
  11291. exists. This will work better with Coverity, and let us find any
  11292. actual mistakes we're making here.
  11293. - Refactor unit testing logic so that dmalloc can be used sensibly
  11294. with unit tests to check for memory leaks.
  11295. - Move all hidden-service related fields from connection and circuit
  11296. structure to substructures: this way they won't eat so much memory.
  11297. Changes in version 0.2.0.31 - 2008-09-03
  11298. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  11299. a big bug we're seeing where in rare cases traffic from one Tor stream
  11300. gets mixed into another stream, and fixes a variety of smaller issues.
  11301. o Major bugfixes:
  11302. - Make sure that two circuits can never exist on the same connection
  11303. with the same circuit ID, even if one is marked for close. This
  11304. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  11305. - Relays now reject risky extend cells: if the extend cell includes
  11306. a digest of all zeroes, or asks to extend back to the relay that
  11307. sent the extend cell, tear down the circuit. Ideas suggested
  11308. by rovv.
  11309. - If not enough of our entry guards are available so we add a new
  11310. one, we might use the new one even if it overlapped with the
  11311. current circuit's exit relay (or its family). Anonymity bugfix
  11312. pointed out by rovv.
  11313. o Minor bugfixes:
  11314. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  11315. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  11316. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  11317. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  11318. - Pick size of default geoip filename string correctly on windows.
  11319. Fixes bug 806. Bugfix on 0.2.0.30.
  11320. - Make the autoconf script accept the obsolete --with-ssl-dir
  11321. option as an alias for the actually-working --with-openssl-dir
  11322. option. Fix the help documentation to recommend --with-openssl-dir.
  11323. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  11324. - When using the TransPort option on OpenBSD, and using the User
  11325. option to change UID and drop privileges, make sure to open
  11326. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  11327. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  11328. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  11329. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  11330. on the client side when connecting to a hidden service. Bugfix
  11331. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  11332. - When closing an application-side connection because its circuit is
  11333. getting torn down, generate the stream event correctly. Bugfix on
  11334. 0.1.2.x. Anonymous patch.
  11335. Changes in version 0.2.1.5-alpha - 2008-08-31
  11336. Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
  11337. in a lot of the infrastructure for adding authorization to hidden
  11338. services, lays the groundwork for having clients read their load
  11339. balancing information out of the networkstatus consensus rather than
  11340. the individual router descriptors, addresses two potential anonymity
  11341. issues, and fixes a variety of smaller issues.
  11342. o Major features:
  11343. - Convert many internal address representations to optionally hold
  11344. IPv6 addresses.
  11345. - Generate and accept IPv6 addresses in many protocol elements.
  11346. - Make resolver code handle nameservers located at ipv6 addresses.
  11347. - Begin implementation of proposal 121 ("Client authorization for
  11348. hidden services"): configure hidden services with client
  11349. authorization, publish descriptors for them, and configure
  11350. authorization data for hidden services at clients. The next
  11351. step is to actually access hidden services that perform client
  11352. authorization.
  11353. - More progress toward proposal 141: Network status consensus
  11354. documents and votes now contain bandwidth information for each
  11355. router and a summary of that router's exit policy. Eventually this
  11356. will be used by clients so that they do not have to download every
  11357. known descriptor before building circuits.
  11358. o Major bugfixes (on 0.2.0.x and before):
  11359. - When sending CREATED cells back for a given circuit, use a 64-bit
  11360. connection ID to find the right connection, rather than an addr:port
  11361. combination. Now that we can have multiple OR connections between
  11362. the same ORs, it is no longer possible to use addr:port to uniquely
  11363. identify a connection.
  11364. - Relays now reject risky extend cells: if the extend cell includes
  11365. a digest of all zeroes, or asks to extend back to the relay that
  11366. sent the extend cell, tear down the circuit. Ideas suggested
  11367. by rovv.
  11368. - If not enough of our entry guards are available so we add a new
  11369. one, we might use the new one even if it overlapped with the
  11370. current circuit's exit relay (or its family). Anonymity bugfix
  11371. pointed out by rovv.
  11372. o Minor bugfixes:
  11373. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  11374. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  11375. - When using the TransPort option on OpenBSD, and using the User
  11376. option to change UID and drop privileges, make sure to open /dev/pf
  11377. before dropping privileges. Fixes bug 782. Patch from Christopher
  11378. Davis. Bugfix on 0.1.2.1-alpha.
  11379. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  11380. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  11381. - Add a missing safe_str() call for a debug log message.
  11382. - Use 64 bits instead of 32 bits for connection identifiers used with
  11383. the controller protocol, to greatly reduce risk of identifier reuse.
  11384. - Make the autoconf script accept the obsolete --with-ssl-dir
  11385. option as an alias for the actually-working --with-openssl-dir
  11386. option. Fix the help documentation to recommend --with-openssl-dir.
  11387. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  11388. o Minor features:
  11389. - Rate-limit too-many-sockets messages: when they happen, they happen
  11390. a lot. Resolves bug 748.
  11391. - Resist DNS poisoning a little better by making sure that names in
  11392. answer sections match.
  11393. - Print the SOCKS5 error message string as well as the error code
  11394. when a tor-resolve request fails. Patch from Jacob.
  11395. Changes in version 0.2.1.4-alpha - 2008-08-04
  11396. Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
  11397. o Major bugfixes:
  11398. - The address part of exit policies was not correctly written
  11399. to router descriptors. This generated router descriptors that failed
  11400. their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
  11401. on 0.2.1.3-alpha.
  11402. - Tor triggered a false assert when extending a circuit to a relay
  11403. but we already have a connection open to that relay. Noticed by
  11404. phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
  11405. o Minor bugfixes:
  11406. - Fix a hidden service logging bug: in some edge cases, the router
  11407. descriptor of a previously picked introduction point becomes
  11408. obsolete and we need to give up on it rather than continually
  11409. complaining that it has become obsolete. Observed by xiando. Bugfix
  11410. on 0.2.1.3-alpha.
  11411. o Removed features:
  11412. - Take out the TestVia config option, since it was a workaround for
  11413. a bug that was fixed in Tor 0.1.1.21.
  11414. Changes in version 0.2.1.3-alpha - 2008-08-03
  11415. Tor 0.2.1.3-alpha implements most of the pieces to prevent
  11416. infinite-length circuit attacks (see proposal 110); fixes a bug that
  11417. might cause exit relays to corrupt streams they send back; allows
  11418. address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
  11419. ExcludeExitNodes config options; and fixes a big pile of bugs.
  11420. o Bootstrapping bugfixes (on 0.2.1.x-alpha):
  11421. - Send a bootstrap problem "warn" event on the first problem if the
  11422. reason is NO_ROUTE (that is, our network is down).
  11423. o Major features:
  11424. - Implement most of proposal 110: The first K cells to be sent
  11425. along a circuit are marked as special "early" cells; only K "early"
  11426. cells will be allowed. Once this code is universal, we can block
  11427. certain kinds of DOS attack by requiring that EXTEND commands must
  11428. be sent using an "early" cell.
  11429. o Major bugfixes:
  11430. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  11431. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  11432. on the client side when connecting to a hidden service. Bugfix
  11433. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  11434. - Ensure that two circuits can never exist on the same connection
  11435. with the same circuit ID, even if one is marked for close. This
  11436. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  11437. o Minor features:
  11438. - When relays do their initial bandwidth measurement, don't limit
  11439. to just our entry guards for the test circuits. Otherwise we tend
  11440. to have multiple test circuits going through a single entry guard,
  11441. which makes our bandwidth test less accurate. Fixes part of bug 654;
  11442. patch contributed by Josh Albrecht.
  11443. - Add an ExcludeExitNodes option so users can list a set of nodes
  11444. that should be be excluded from the exit node position, but
  11445. allowed elsewhere. Implements proposal 151.
  11446. - Allow address patterns (e.g., 255.128.0.0/16) to appear in
  11447. ExcludeNodes and ExcludeExitNodes lists.
  11448. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  11449. be more efficient. Formerly it was quadratic in the number of
  11450. servers; now it should be linear. Fixes bug 509.
  11451. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  11452. and n_conn_id_digest fields into a separate structure that's
  11453. only needed when the circuit has not yet attached to an n_conn.
  11454. o Minor bugfixes:
  11455. - Change the contrib/tor.logrotate script so it makes the new
  11456. logs as "_tor:_tor" rather than the default, which is generally
  11457. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  11458. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  11459. warnings (occasionally), but it can also cause the compiler to
  11460. eliminate error-checking code. Suggested by Peter Gutmann.
  11461. - When a hidden service is giving up on an introduction point candidate
  11462. that was not included in the last published rendezvous descriptor,
  11463. don't reschedule publication of the next descriptor. Fixes bug 763.
  11464. Bugfix on 0.0.9.3.
  11465. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  11466. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  11467. and nobody claims to be using them. Fixes bug 754. Bugfix on
  11468. 0.1.0.1-rc. Patch from Christian Wilms.
  11469. - Fix a small alignment and memory-wasting bug on buffer chunks.
  11470. Spotted by rovv.
  11471. o Minor bugfixes (controller):
  11472. - When closing an application-side connection because its circuit
  11473. is getting torn down, generate the stream event correctly.
  11474. Bugfix on 0.1.2.x. Anonymous patch.
  11475. o Removed features:
  11476. - Remove all backward-compatibility code to support relays running
  11477. versions of Tor so old that they no longer work at all on the
  11478. Tor network.
  11479. Changes in version 0.2.0.30 - 2008-07-15
  11480. o Minor bugfixes:
  11481. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  11482. warnings (occasionally), but it can also cause the compiler to
  11483. eliminate error-checking code. Suggested by Peter Gutmann.
  11484. Changes in version 0.2.0.29-rc - 2008-07-08
  11485. Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
  11486. hidden-service performance bugs, and fixes a bunch of smaller bugs.
  11487. o Major bugfixes:
  11488. - If you have more than one bridge but don't know their keys,
  11489. you would only launch a request for the descriptor of the first one
  11490. on your list. (Tor considered launching requests for the others, but
  11491. found that it already had a connection on the way for $0000...0000
  11492. so it didn't open another.) Bugfix on 0.2.0.x.
  11493. - If you have more than one bridge but don't know their keys, and the
  11494. connection to one of the bridges failed, you would cancel all
  11495. pending bridge connections. (After all, they all have the same
  11496. digest.) Bugfix on 0.2.0.x.
  11497. - When a hidden service was trying to establish an introduction point,
  11498. and Tor had built circuits preemptively for such purposes, we
  11499. were ignoring all the preemptive circuits and launching a new one
  11500. instead. Bugfix on 0.2.0.14-alpha.
  11501. - When a hidden service was trying to establish an introduction point,
  11502. and Tor *did* manage to reuse one of the preemptively built
  11503. circuits, it didn't correctly remember which one it used,
  11504. so it asked for another one soon after, until there were no
  11505. more preemptive circuits, at which point it launched one from
  11506. scratch. Bugfix on 0.0.9.x.
  11507. - Make directory servers include the X-Your-Address-Is: http header in
  11508. their responses even for begin_dir conns. Now clients who only
  11509. ever use begin_dir connections still have a way to learn their IP
  11510. address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
  11511. o Minor bugfixes:
  11512. - Fix a macro/CPP interaction that was confusing some compilers:
  11513. some GCCs don't like #if/#endif pairs inside macro arguments.
  11514. Fixes bug 707.
  11515. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  11516. Fixes bug 704; fix from Steven Murdoch.
  11517. - When opening /dev/null in finish_daemonize(), do not pass the
  11518. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  11519. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  11520. - Correctly detect transparent proxy support on Linux hosts that
  11521. require in.h to be included before netfilter_ipv4.h. Patch
  11522. from coderman.
  11523. - Disallow session resumption attempts during the renegotiation
  11524. stage of the v2 handshake protocol. Clients should never be trying
  11525. session resumption at this point, but apparently some did, in
  11526. ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
  11527. found by Geoff Goodell.
  11528. Changes in version 0.2.1.2-alpha - 2008-06-20
  11529. Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
  11530. make it easier to set up your own private Tor network; fixes several
  11531. big bugs with using more than one bridge relay; fixes a big bug with
  11532. offering hidden services quickly after Tor starts; and uses a better
  11533. API for reporting potential bootstrapping problems to the controller.
  11534. o Major features:
  11535. - New TestingTorNetwork config option to allow adjustment of
  11536. previously constant values that, while reasonable, could slow
  11537. bootstrapping. Implements proposal 135. Patch from Karsten.
  11538. o Major bugfixes:
  11539. - If you have more than one bridge but don't know their digests,
  11540. you would only learn a request for the descriptor of the first one
  11541. on your list. (Tor considered launching requests for the others, but
  11542. found that it already had a connection on the way for $0000...0000
  11543. so it didn't open another.) Bugfix on 0.2.0.x.
  11544. - If you have more than one bridge but don't know their digests,
  11545. and the connection to one of the bridges failed, you would cancel
  11546. all pending bridge connections. (After all, they all have the
  11547. same digest.) Bugfix on 0.2.0.x.
  11548. - When establishing a hidden service, introduction points that
  11549. originate from cannibalized circuits are completely ignored and not
  11550. included in rendezvous service descriptors. This might be another
  11551. reason for delay in making a hidden service available. Bugfix
  11552. from long ago (0.0.9.x?)
  11553. o Minor features:
  11554. - Allow OpenSSL to use dynamic locks if it wants.
  11555. - When building a consensus, do not include routers that are down.
  11556. This will cut down 30% to 40% on consensus size. Implements
  11557. proposal 138.
  11558. - In directory authorities' approved-routers files, allow
  11559. fingerprints with or without space.
  11560. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  11561. controller can query our current bootstrap state in case it attaches
  11562. partway through and wants to catch up.
  11563. - Send an initial "Starting" bootstrap status event, so we have a
  11564. state to start out in.
  11565. o Minor bugfixes:
  11566. - Asking for a conditional consensus at .../consensus/<fingerprints>
  11567. would crash a dirserver if it did not already have a
  11568. consensus. Bugfix on 0.2.1.1-alpha.
  11569. - Clean up some macro/CPP interactions: some GCC versions don't like
  11570. #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
  11571. 0.2.0.x.
  11572. o Bootstrapping bugfixes (on 0.2.1.1-alpha):
  11573. - Directory authorities shouldn't complain about bootstrapping
  11574. problems just because they do a lot of reachability testing and
  11575. some of the connection attempts fail.
  11576. - Start sending "count" and "recommendation" key/value pairs in
  11577. bootstrap problem status events, so the controller can hear about
  11578. problems even before Tor decides they're worth reporting for sure.
  11579. - If you're using bridges, generate "bootstrap problem" warnings
  11580. as soon as you run out of working bridges, rather than waiting
  11581. for ten failures -- which will never happen if you have less than
  11582. ten bridges.
  11583. - If we close our OR connection because there's been a circuit
  11584. pending on it for too long, we were telling our bootstrap status
  11585. events "REASON=NONE". Now tell them "REASON=TIMEOUT".
  11586. Changes in version 0.2.1.1-alpha - 2008-06-13
  11587. Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
  11588. were making the Tor process bloat especially on Linux; makes our TLS
  11589. handshake blend in better; sends "bootstrap phase" status events to
  11590. the controller, so it can keep the user informed of progress (and
  11591. problems) fetching directory information and establishing circuits;
  11592. and adds a variety of smaller features.
  11593. o Major features:
  11594. - More work on making our TLS handshake blend in: modify the list
  11595. of ciphers advertised by OpenSSL in client mode to even more
  11596. closely resemble a common web browser. We cheat a little so that
  11597. we can advertise ciphers that the locally installed OpenSSL doesn't
  11598. know about.
  11599. - Start sending "bootstrap phase" status events to the controller,
  11600. so it can keep the user informed of progress fetching directory
  11601. information and establishing circuits. Also inform the controller
  11602. if we think we're stuck at a particular bootstrap phase. Implements
  11603. proposal 137.
  11604. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  11605. cross-platform entropy collection again. We used to use it, then
  11606. stopped using it because of a bug that could crash systems that
  11607. called RAND_poll when they had a lot of fds open. It looks like the
  11608. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  11609. at startup, and to call RAND_poll() when we reseed later only if
  11610. we have a non-buggy OpenSSL version.
  11611. o Major bugfixes:
  11612. - When we choose to abandon a new entry guard because we think our
  11613. older ones might be better, close any circuits pending on that
  11614. new entry guard connection. This fix should make us recover much
  11615. faster when our network is down and then comes back. Bugfix on
  11616. 0.1.2.8-beta; found by lodger.
  11617. o Memory fixes and improvements:
  11618. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  11619. to avoid unused RAM in buffer chunks and memory pools.
  11620. - Speed up parsing and cut down on memory fragmentation by using
  11621. stack-style allocations for parsing directory objects. Previously,
  11622. this accounted for over 40% of allocations from within Tor's code
  11623. on a typical directory cache.
  11624. - Use a Bloom filter rather than a digest-based set to track which
  11625. descriptors we need to keep around when we're cleaning out old
  11626. router descriptors. This speeds up the computation significantly,
  11627. and may reduce fragmentation.
  11628. - Reduce the default smartlist size from 32 to 16; it turns out that
  11629. most smartlists hold around 8-12 elements tops.
  11630. - Make dumpstats() log the fullness and size of openssl-internal
  11631. buffers.
  11632. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  11633. patch to their OpenSSL, turn it on to save memory on servers. This
  11634. patch will (with any luck) get included in a mainline distribution
  11635. before too long.
  11636. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  11637. compress cells, which are basically all encrypted, compressed,
  11638. or both.
  11639. o Minor bugfixes:
  11640. - Stop reloading the router list from disk for no reason when we
  11641. run out of reachable directory mirrors. Once upon a time reloading
  11642. it would set the 'is_running' flag back to 1 for them. It hasn't
  11643. done that for a long time.
  11644. - In very rare situations new hidden service descriptors were
  11645. published earlier than 30 seconds after the last change to the
  11646. service. (We currently think that a hidden service descriptor
  11647. that's been stable for 30 seconds is worth publishing.)
  11648. o Minor features:
  11649. - Allow separate log levels to be configured for different logging
  11650. domains. For example, this allows one to log all notices, warnings,
  11651. or errors, plus all memory management messages of level debug or
  11652. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  11653. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  11654. and stop using a warning that had become unfixably verbose under
  11655. GCC 4.3.
  11656. - New --hush command-line option similar to --quiet. While --quiet
  11657. disables all logging to the console on startup, --hush limits the
  11658. output to messages of warning and error severity.
  11659. - Servers support a new URL scheme for consensus downloads that
  11660. allows the client to specify which authorities are trusted.
  11661. The server then only sends the consensus if the client will trust
  11662. it. Otherwise a 404 error is sent back. Clients use this
  11663. new scheme when the server supports it (meaning it's running
  11664. 0.2.1.1-alpha or later). Implements proposal 134.
  11665. - New configure/torrc options (--enable-geoip-stats,
  11666. DirRecordUsageByCountry) to record how many IPs we've served
  11667. directory info to in each country code, how many status documents
  11668. total we've sent to each country code, and what share of the total
  11669. directory requests we should expect to see.
  11670. - Use the TLS1 hostname extension to more closely resemble browser
  11671. behavior.
  11672. - Lots of new unit tests.
  11673. - Add a macro to implement the common pattern of iterating through
  11674. two parallel lists in lockstep.
  11675. Changes in version 0.2.0.28-rc - 2008-06-13
  11676. Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
  11677. performance bug, and fixes a bunch of smaller bugs.
  11678. o Anonymity fixes:
  11679. - Fix a bug where, when we were choosing the 'end stream reason' to
  11680. put in our relay end cell that we send to the exit relay, Tor
  11681. clients on Windows were sometimes sending the wrong 'reason'. The
  11682. anonymity problem is that exit relays may be able to guess whether
  11683. the client is running Windows, thus helping partition the anonymity
  11684. set. Down the road we should stop sending reasons to exit relays,
  11685. or otherwise prevent future versions of this bug.
  11686. o Major bugfixes:
  11687. - While setting up a hidden service, some valid introduction circuits
  11688. were overlooked and abandoned. This might be the reason for
  11689. the long delay in making a hidden service available. Bugfix on
  11690. 0.2.0.14-alpha.
  11691. o Minor features:
  11692. - Update to the "June 9 2008" ip-to-country file.
  11693. - Run 'make test' as part of 'make dist', so we stop releasing so
  11694. many development snapshots that fail their unit tests.
  11695. o Minor bugfixes:
  11696. - When we're checking if we have enough dir info for each relay
  11697. to begin establishing circuits, make sure that we actually have
  11698. the descriptor listed in the consensus, not just any descriptor.
  11699. Bugfix on 0.1.2.x.
  11700. - Bridge relays no longer print "xx=0" in their extrainfo document
  11701. for every single country code in the geoip db. Bugfix on
  11702. 0.2.0.27-rc.
  11703. - Only warn when we fail to load the geoip file if we were planning to
  11704. include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
  11705. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  11706. Tor won't realize it should publish a new relay descriptor. Fixes
  11707. bug 688, reported by mfr. Bugfix on 0.1.2.x.
  11708. - When we haven't had any application requests lately, don't bother
  11709. logging that we have expired a bunch of descriptors. Bugfix
  11710. on 0.1.2.x.
  11711. - Make relay cells written on a connection count as non-padding when
  11712. tracking how long a connection has been in use. Bugfix on
  11713. 0.2.0.1-alpha. Spotted by lodger.
  11714. - Fix unit tests in 0.2.0.27-rc.
  11715. - Fix compile on Windows.
  11716. Changes in version 0.2.0.27-rc - 2008-06-03
  11717. Tor 0.2.0.27-rc adds a few features we left out of the earlier
  11718. release candidates. In particular, we now include an IP-to-country
  11719. GeoIP database, so controllers can easily look up what country a
  11720. given relay is in, and so bridge relays can give us some sanitized
  11721. summaries about which countries are making use of bridges. (See proposal
  11722. 126-geoip-fetching.txt for details.)
  11723. o Major features:
  11724. - Include an IP-to-country GeoIP file in the tarball, so bridge
  11725. relays can report sanitized summaries of the usage they're seeing.
  11726. o Minor features:
  11727. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  11728. Robert Hogan. Fixes the first part of bug 681.
  11729. - Make bridge authorities never serve extrainfo docs.
  11730. - Add support to detect Libevent versions in the 1.4.x series
  11731. on mingw.
  11732. - Fix build on gcc 4.3 with --enable-gcc-warnings set.
  11733. - Include a new contrib/tor-exit-notice.html file that exit relay
  11734. operators can put on their website to help reduce abuse queries.
  11735. o Minor bugfixes:
  11736. - When tunneling an encrypted directory connection, and its first
  11737. circuit fails, do not leave it unattached and ask the controller
  11738. to deal. Fixes the second part of bug 681.
  11739. - Make bridge authorities correctly expire old extrainfo documents
  11740. from time to time.
  11741. Changes in version 0.2.0.26-rc - 2008-05-13
  11742. Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
  11743. in Debian's OpenSSL packages. All users running any 0.2.0.x version
  11744. should upgrade, whether they're running Debian or not.
  11745. o Major security fixes:
  11746. - Use new V3 directory authority keys on the tor26, gabelmoo, and
  11747. moria1 V3 directory authorities. The old keys were generated with
  11748. a vulnerable version of Debian's OpenSSL package, and must be
  11749. considered compromised. Other authorities' keys were not generated
  11750. with an affected version of OpenSSL.
  11751. o Major bugfixes:
  11752. - List authority signatures as "unrecognized" based on DirServer
  11753. lines, not on cert cache. Bugfix on 0.2.0.x.
  11754. o Minor features:
  11755. - Add a new V3AuthUseLegacyKey option to make it easier for
  11756. authorities to change their identity keys if they have to.
  11757. Changes in version 0.2.0.25-rc - 2008-04-23
  11758. Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
  11759. o Major bugfixes:
  11760. - Remember to initialize threading before initializing logging.
  11761. Otherwise, many BSD-family implementations will crash hard on
  11762. startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
  11763. o Minor bugfixes:
  11764. - Authorities correctly free policies on bad servers on
  11765. exit. Fixes bug 672. Bugfix on 0.2.0.x.
  11766. Changes in version 0.2.0.24-rc - 2008-04-22
  11767. Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
  11768. v3 directory authority, makes relays with dynamic IP addresses and no
  11769. DirPort notice more quickly when their IP address changes, fixes a few
  11770. rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
  11771. o New directory authorities:
  11772. - Take lefkada out of the list of v3 directory authorities, since
  11773. it has been down for months.
  11774. - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
  11775. authority.
  11776. o Major bugfixes:
  11777. - Detect address changes more quickly on non-directory mirror
  11778. relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
  11779. o Minor features (security):
  11780. - Reject requests for reverse-dns lookup of names that are in
  11781. a private address space. Patch from lodger.
  11782. - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
  11783. from lodger.
  11784. o Minor bugfixes (crashes):
  11785. - Avoid a rare assert that can trigger when Tor doesn't have much
  11786. directory information yet and it tries to fetch a v2 hidden
  11787. service descriptor. Fixes bug 651, reported by nwf.
  11788. - Initialize log mutex before initializing dmalloc. Otherwise,
  11789. running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
  11790. - Use recursive pthread mutexes in order to avoid deadlock when
  11791. logging debug-level messages to a controller. Bug spotted by nwf,
  11792. bugfix on 0.2.0.16-alpha.
  11793. o Minor bugfixes (resource management):
  11794. - Keep address policies from leaking memory: start their refcount
  11795. at 1, not 2. Bugfix on 0.2.0.16-alpha.
  11796. - Free authority certificates on exit, so they don't look like memory
  11797. leaks. Bugfix on 0.2.0.19-alpha.
  11798. - Free static hashtables for policy maps and for TLS connections on
  11799. shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
  11800. - Avoid allocating extra space when computing consensuses on 64-bit
  11801. platforms. Bug spotted by aakova.
  11802. o Minor bugfixes (misc):
  11803. - Do not read the configuration file when we've only been told to
  11804. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  11805. based on patch from Sebastian Hahn.
  11806. - Exit relays that are used as a client can now reach themselves
  11807. using the .exit notation, rather than just launching an infinite
  11808. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  11809. - When attempting to open a logfile fails, tell us why.
  11810. - Fix a dumb bug that was preventing us from knowing that we should
  11811. preemptively build circuits to handle expected directory requests.
  11812. Fixes bug 660. Bugfix on 0.1.2.x.
  11813. - Warn less verbosely about clock skew from netinfo cells from
  11814. untrusted sources. Fixes bug 663.
  11815. - Make controller stream events for DNS requests more consistent,
  11816. by adding "new stream" events for DNS requests, and removing
  11817. spurious "stream closed" events" for cached reverse resolves.
  11818. Patch from mwenge. Fixes bug 646.
  11819. - Correctly notify one-hop connections when a circuit build has
  11820. failed. Possible fix for bug 669. Found by lodger.
  11821. Changes in version 0.2.0.23-rc - 2008-03-24
  11822. Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
  11823. makes bootstrapping faster if the first directory mirror you contact
  11824. is down. The bundles also include the new Vidalia 0.1.2 release.
  11825. o Major bugfixes:
  11826. - When a tunneled directory request is made to a directory server
  11827. that's down, notice after 30 seconds rather than 120 seconds. Also,
  11828. fail any begindir streams that are pending on it, so they can
  11829. retry elsewhere. This was causing multi-minute delays on bootstrap.
  11830. Changes in version 0.2.0.22-rc - 2008-03-18
  11831. Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
  11832. enables encrypted directory connections by default for non-relays, fixes
  11833. some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
  11834. other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
  11835. o Major features:
  11836. - Enable encrypted directory connections by default for non-relays,
  11837. so censor tools that block Tor directory connections based on their
  11838. plaintext patterns will no longer work. This means Tor works in
  11839. certain censored countries by default again.
  11840. o Major bugfixes:
  11841. - Make sure servers always request certificates from clients during
  11842. TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
  11843. - Do not enter a CPU-eating loop when a connection is closed in
  11844. the middle of client-side TLS renegotiation. Fixes bug 622. Bug
  11845. diagnosed by lodger; bugfix on 0.2.0.20-rc.
  11846. - Fix assertion failure that could occur when a blocked circuit
  11847. became unblocked, and it had pending client DNS requests. Bugfix
  11848. on 0.2.0.1-alpha. Fixes bug 632.
  11849. o Minor bugfixes (on 0.1.2.x):
  11850. - Generate "STATUS_SERVER" events rather than misspelled
  11851. "STATUS_SEVER" events. Caught by mwenge.
  11852. - When counting the number of bytes written on a TLS connection,
  11853. look at the BIO actually used for writing to the network, not
  11854. at the BIO used (sometimes) to buffer data for the network.
  11855. Looking at different BIOs could result in write counts on the
  11856. order of ULONG_MAX. Fixes bug 614.
  11857. - On Windows, correctly detect errors when listing the contents of
  11858. a directory. Fix from lodger.
  11859. o Minor bugfixes (on 0.2.0.x):
  11860. - Downgrade "sslv3 alert handshake failure" message to INFO.
  11861. - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
  11862. left BandwidthRate and BandwidthBurst at the default, we would be
  11863. silently limited by those defaults. Now raise them to match the
  11864. RelayBandwidth* values.
  11865. - Fix the SVK version detection logic to work correctly on a branch.
  11866. - Make --enable-openbsd-malloc work correctly on Linux with alpha
  11867. CPUs. Fixes bug 625.
  11868. - Logging functions now check that the passed severity is sane.
  11869. - Use proper log levels in the testsuite call of
  11870. get_interface_address6().
  11871. - When using a nonstandard malloc, do not use the platform values for
  11872. HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
  11873. - Make the openbsd malloc code use 8k pages on alpha CPUs and
  11874. 16k pages on ia64.
  11875. - Detect mismatched page sizes when using --enable-openbsd-malloc.
  11876. - Avoid double-marked-for-close warning when certain kinds of invalid
  11877. .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
  11878. for bug 617. Bugfix on 0.2.0.1-alpha.
  11879. - Make sure that the "NULL-means-reject *:*" convention is followed by
  11880. all the policy manipulation functions, avoiding some possible crash
  11881. bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
  11882. - Fix the implementation of ClientDNSRejectInternalAddresses so that it
  11883. actually works, and doesn't warn about every single reverse lookup.
  11884. Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
  11885. o Minor features:
  11886. - Only log guard node status when guard node status has changed.
  11887. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  11888. make "INFO" 75% less verbose.
  11889. Changes in version 0.2.0.21-rc - 2008-03-02
  11890. Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
  11891. makes Tor work well with Vidalia again, fixes a rare assert bug,
  11892. and fixes a pair of more minor bugs. The bundles also include Vidalia
  11893. 0.1.0 and Torbutton 1.1.16.
  11894. o Major bugfixes:
  11895. - The control port should declare that it requires password auth
  11896. when HashedControlSessionPassword is set too. Patch from Matt Edman;
  11897. bugfix on 0.2.0.20-rc. Fixes bug 615.
  11898. - Downgrade assert in connection_buckets_decrement() to a log message.
  11899. This may help us solve bug 614, and in any case will make its
  11900. symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
  11901. - We were sometimes miscounting the number of bytes read from the
  11902. network, causing our rate limiting to not be followed exactly.
  11903. Bugfix on 0.2.0.16-alpha. Reported by lodger.
  11904. o Minor bugfixes:
  11905. - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
  11906. OpenSSL versions should have been working fine. Diagnosis and patch
  11907. from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
  11908. Bugfix on 0.2.0.20-rc.
  11909. Changes in version 0.2.0.20-rc - 2008-02-24
  11910. Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
  11911. makes more progress towards normalizing Tor's TLS handshake, makes
  11912. hidden services work better again, helps relays bootstrap if they don't
  11913. know their IP address, adds optional support for linking in openbsd's
  11914. allocator or tcmalloc, allows really fast relays to scale past 15000
  11915. sockets, and fixes a bunch of minor bugs reported by Veracode.
  11916. o Major features:
  11917. - Enable the revised TLS handshake based on the one designed by
  11918. Steven Murdoch in proposal 124, as revised in proposal 130. It
  11919. includes version negotiation for OR connections as described in
  11920. proposal 105. The new handshake is meant to be harder for censors
  11921. to fingerprint, and it adds the ability to detect certain kinds of
  11922. man-in-the-middle traffic analysis attacks. The version negotiation
  11923. feature will allow us to improve Tor's link protocol more safely
  11924. in the future.
  11925. - Choose which bridge to use proportional to its advertised bandwidth,
  11926. rather than uniformly at random. This should speed up Tor for
  11927. bridge users. Also do this for people who set StrictEntryNodes.
  11928. - When a TrackHostExits-chosen exit fails too many times in a row,
  11929. stop using it. Bugfix on 0.1.2.x; fixes bug 437.
  11930. o Major bugfixes:
  11931. - Resolved problems with (re-)fetching hidden service descriptors.
  11932. Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
  11933. and 0.2.0.19-alpha.
  11934. - If we only ever used Tor for hidden service lookups or posts, we
  11935. would stop building circuits and start refusing connections after
  11936. 24 hours, since we falsely believed that Tor was dormant. Reported
  11937. by nwf; bugfix on 0.1.2.x.
  11938. - Servers that don't know their own IP address should go to the
  11939. authorities for their first directory fetch, even if their DirPort
  11940. is off or if they don't know they're reachable yet. This will help
  11941. them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
  11942. - When counting the number of open sockets, count not only the number
  11943. of sockets we have received from the socket() call, but also
  11944. the number we've gotten from accept() and socketpair(). This bug
  11945. made us fail to count all sockets that we were using for incoming
  11946. connections. Bugfix on 0.2.0.x.
  11947. - Fix code used to find strings within buffers, when those strings
  11948. are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
  11949. - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
  11950. - Add a new __HashedControlSessionPassword option for controllers
  11951. to use for one-off session password hashes that shouldn't get
  11952. saved to disk by SAVECONF --- Vidalia users were accumulating a
  11953. pile of HashedControlPassword lines in their torrc files, one for
  11954. each time they had restarted Tor and then clicked Save. Make Tor
  11955. automatically convert "HashedControlPassword" to this new option but
  11956. only when it's given on the command line. Partial fix for bug 586.
  11957. o Minor features (performance):
  11958. - Tune parameters for cell pool allocation to minimize amount of
  11959. RAM overhead used.
  11960. - Add OpenBSD malloc code from phk as an optional malloc
  11961. replacement on Linux: some glibc libraries do very poorly
  11962. with Tor's memory allocation patterns. Pass
  11963. --enable-openbsd-malloc to get the replacement malloc code.
  11964. - Add a --with-tcmalloc option to the configure script to link
  11965. against tcmalloc (if present). Does not yet search for
  11966. non-system include paths.
  11967. - Stop imposing an arbitrary maximum on the number of file descriptors
  11968. used for busy servers. Bug reported by Olaf Selke; patch from
  11969. Sebastian Hahn.
  11970. o Minor features (other):
  11971. - When SafeLogging is disabled, log addresses along with all TLS
  11972. errors.
  11973. - When building with --enable-gcc-warnings, check for whether Apple's
  11974. warning "-Wshorten-64-to-32" is available.
  11975. - Add a --passphrase-fd argument to the tor-gencert command for
  11976. scriptability.
  11977. o Minor bugfixes (memory leaks and code problems):
  11978. - We were leaking a file descriptor if Tor started with a zero-length
  11979. cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
  11980. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  11981. Dan Kaminsky.
  11982. - We were comparing the raw BridgePassword entry with a base64'ed
  11983. version of it, when handling a "/tor/networkstatus-bridges"
  11984. directory request. Now compare correctly. Noticed by Veracode.
  11985. - Recover from bad tracked-since value in MTBF-history file.
  11986. Should fix bug 537.
  11987. - Alter the code that tries to recover from unhandled write
  11988. errors, to not try to flush onto a socket that's given us
  11989. unhandled errors. Bugfix on 0.1.2.x.
  11990. - Make Unix controlsockets work correctly on OpenBSD. Patch from
  11991. tup. Bugfix on 0.2.0.3-alpha.
  11992. o Minor bugfixes (other):
  11993. - If we have an extra-info document for our server, always make
  11994. it available on the control port, even if we haven't gotten
  11995. a copy of it from an authority yet. Patch from mwenge.
  11996. - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
  11997. - Directory mirrors no longer include a guess at the client's IP
  11998. address if the connection appears to be coming from the same /24
  11999. network; it was producing too many wrong guesses.
  12000. - Make the new hidden service code respect the SafeLogging setting.
  12001. Bugfix on 0.2.0.x. Patch from Karsten.
  12002. - When starting as an authority, do not overwrite all certificates
  12003. cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
  12004. - If we're trying to flush the last bytes on a connection (for
  12005. example, when answering a directory request), reset the
  12006. time-to-give-up timeout every time we manage to write something
  12007. on the socket. Bugfix on 0.1.2.x.
  12008. - Change the behavior of "getinfo status/good-server-descriptor"
  12009. so it doesn't return failure when any authority disappears.
  12010. - Even though the man page said that "TrackHostExits ." should
  12011. work, nobody had ever implemented it. Bugfix on 0.1.0.x.
  12012. - Report TLS "zero return" case as a "clean close" and "IO error"
  12013. as a "close". Stop calling closes "unexpected closes": existing
  12014. Tors don't use SSL_close(), so having a connection close without
  12015. the TLS shutdown handshake is hardly unexpected.
  12016. - Send NAMESERVER_STATUS messages for a single failed nameserver
  12017. correctly.
  12018. o Code simplifications and refactoring:
  12019. - Remove the tor_strpartition function: its logic was confused,
  12020. and it was only used for one thing that could be implemented far
  12021. more easily.
  12022. Changes in version 0.2.0.19-alpha - 2008-02-09
  12023. Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
  12024. handshake, makes path selection for relays more secure and IP address
  12025. guessing more robust, and generally fixes a lot of bugs in preparation
  12026. for calling the 0.2.0 branch stable.
  12027. o Major features:
  12028. - Do not include recognizeable strings in the commonname part of
  12029. Tor's x509 certificates.
  12030. o Major bugfixes:
  12031. - If we're a relay, avoid picking ourselves as an introduction point,
  12032. a rendezvous point, or as the final hop for internal circuits. Bug
  12033. reported by taranis and lodger. Bugfix on 0.1.2.x.
  12034. - Patch from "Andrew S. Lists" to catch when we contact a directory
  12035. mirror at IP address X and he says we look like we're coming from
  12036. IP address X. Bugfix on 0.1.2.x.
  12037. o Minor features (security):
  12038. - Be more paranoid about overwriting sensitive memory on free(),
  12039. as a defensive programming tactic to ensure forward secrecy.
  12040. o Minor features (directory authority):
  12041. - Actually validate the options passed to AuthDirReject,
  12042. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  12043. - Reject router descriptors with out-of-range bandwidthcapacity or
  12044. bandwidthburst values.
  12045. o Minor features (controller):
  12046. - Reject controller commands over 1MB in length. This keeps rogue
  12047. processes from running us out of memory.
  12048. o Minor features (misc):
  12049. - Give more descriptive well-formedness errors for out-of-range
  12050. hidden service descriptor/protocol versions.
  12051. - Make memory debugging information describe more about history
  12052. of cell allocation, so we can help reduce our memory use.
  12053. o Deprecated features (controller):
  12054. - The status/version/num-versioning and status/version/num-concurring
  12055. GETINFO options are no longer useful in the v3 directory protocol:
  12056. treat them as deprecated, and warn when they're used.
  12057. o Minor bugfixes:
  12058. - When our consensus networkstatus has been expired for a while, stop
  12059. being willing to build circuits using it. Fixes bug 401. Bugfix
  12060. on 0.1.2.x.
  12061. - Directory caches now fetch certificates from all authorities
  12062. listed in a networkstatus consensus, even when they do not
  12063. recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
  12064. - When connecting to a bridge without specifying its key, insert
  12065. the connection into the identity-to-connection map as soon as
  12066. a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
  12067. - Detect versions of OS X where malloc_good_size() is present in the
  12068. library but never actually declared. Resolves bug 587. Bugfix
  12069. on 0.2.0.x.
  12070. - Stop incorrectly truncating zlib responses to directory authority
  12071. signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
  12072. - Stop recommending that every server operator send mail to tor-ops.
  12073. Resolves bug 597. Bugfix on 0.1.2.x.
  12074. - Don't trigger an assert if we start a directory authority with a
  12075. private IP address (like 127.0.0.1).
  12076. - Avoid possible failures when generating a directory with routers
  12077. with over-long versions strings, or too many flags set. Bugfix
  12078. on 0.1.2.x.
  12079. - If an attempt to launch a DNS resolve request over the control
  12080. port fails because we have overrun the limit on the number of
  12081. connections, tell the controller that the request has failed.
  12082. - Avoid using too little bandwidth when our clock skips a few
  12083. seconds. Bugfix on 0.1.2.x.
  12084. - Fix shell error when warning about missing packages in configure
  12085. script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
  12086. - Do not become confused when receiving a spurious VERSIONS-like
  12087. cell from a confused v1 client. Bugfix on 0.2.0.x.
  12088. - Re-fetch v2 (as well as v0) rendezvous descriptors when all
  12089. introduction points for a hidden service have failed. Patch from
  12090. Karsten Loesing. Bugfix on 0.2.0.x.
  12091. o Code simplifications and refactoring:
  12092. - Remove some needless generality from cpuworker code, for improved
  12093. type-safety.
  12094. - Stop overloading the circuit_t.onionskin field for both "onionskin
  12095. from a CREATE cell that we are waiting for a cpuworker to be
  12096. assigned" and "onionskin from an EXTEND cell that we are going to
  12097. send to an OR as soon as we are connected". Might help with bug 600.
  12098. - Add an in-place version of aes_crypt() so that we can avoid doing a
  12099. needless memcpy() call on each cell payload.
  12100. Changes in version 0.2.0.18-alpha - 2008-01-25
  12101. Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
  12102. fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
  12103. that can warn or reject connections to ports generally associated with
  12104. vulnerable-plaintext protocols.
  12105. o New directory authorities:
  12106. - Set up dannenberg (run by CCC) as the sixth v3 directory
  12107. authority.
  12108. o Major bugfixes:
  12109. - Fix a major memory leak when attempting to use the v2 TLS
  12110. handshake code. Bugfix on 0.2.0.x; fixes bug 589.
  12111. - We accidentally enabled the under-development v2 TLS handshake
  12112. code, which was causing log entries like "TLS error while
  12113. renegotiating handshake". Disable it again. Resolves bug 590.
  12114. - We were computing the wrong Content-Length: header for directory
  12115. responses that need to be compressed on the fly, causing clients
  12116. asking for those items to always fail. Bugfix on 0.2.0.x; partially
  12117. fixes bug 593.
  12118. o Major features:
  12119. - Avoid going directly to the directory authorities even if you're a
  12120. relay, if you haven't found yourself reachable yet or if you've
  12121. decided not to advertise your dirport yet. Addresses bug 556.
  12122. - If we've gone 12 hours since our last bandwidth check, and we
  12123. estimate we have less than 50KB bandwidth capacity but we could
  12124. handle more, do another bandwidth test.
  12125. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  12126. Tor can warn and/or refuse connections to ports commonly used with
  12127. vulnerable-plaintext protocols. Currently we warn on ports 23,
  12128. 109, 110, and 143, but we don't reject any.
  12129. o Minor bugfixes:
  12130. - When we setconf ClientOnly to 1, close any current OR and Dir
  12131. listeners. Reported by mwenge.
  12132. - When we get a consensus that's been signed by more people than
  12133. we expect, don't log about it; it's not a big deal. Reported
  12134. by Kyle Williams.
  12135. o Minor features:
  12136. - Don't answer "/tor/networkstatus-bridges" directory requests if
  12137. the request isn't encrypted.
  12138. - Make "ClientOnly 1" config option disable directory ports too.
  12139. - Patches from Karsten Loesing to make v2 hidden services more
  12140. robust: work even when there aren't enough HSDir relays available;
  12141. retry when a v2 rend desc fetch fails; but don't retry if we
  12142. already have a usable v0 rend desc.
  12143. Changes in version 0.2.0.17-alpha - 2008-01-17
  12144. Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
  12145. o Compile fixes:
  12146. - Make the tor-gencert man page get included correctly in the tarball.
  12147. Changes in version 0.2.0.16-alpha - 2008-01-17
  12148. Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
  12149. Loesing, and generally cleans up a lot of features and minor bugs.
  12150. o New directory authorities:
  12151. - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
  12152. authority.
  12153. o Major performance improvements:
  12154. - Switch our old ring buffer implementation for one more like that
  12155. used by free Unix kernels. The wasted space in a buffer with 1mb
  12156. of data will now be more like 8k than 1mb. The new implementation
  12157. also avoids realloc();realloc(); patterns that can contribute to
  12158. memory fragmentation.
  12159. o Minor features:
  12160. - Configuration files now accept C-style strings as values. This
  12161. helps encode characters not allowed in the current configuration
  12162. file format, such as newline or #. Addresses bug 557.
  12163. - Although we fixed bug 539 (where servers would send HTTP status 503
  12164. responses _and_ send a body too), there are still servers out
  12165. there that haven't upgraded. Therefore, make clients parse such
  12166. bodies when they receive them.
  12167. - When we're not serving v2 directory information, there is no reason
  12168. to actually keep any around. Remove the obsolete files and directory
  12169. on startup if they are very old and we aren't going to serve them.
  12170. o Minor performance improvements:
  12171. - Reference-count and share copies of address policy entries; only 5%
  12172. of them were actually distinct.
  12173. - Never walk through the list of logs if we know that no log is
  12174. interested in a given message.
  12175. o Minor bugfixes:
  12176. - When an authority has not signed a consensus, do not try to
  12177. download a nonexistent "certificate with key 00000000". Bugfix
  12178. on 0.2.0.x. Fixes bug 569.
  12179. - Fix a rare assert error when we're closing one of our threads:
  12180. use a mutex to protect the list of logs, so we never write to the
  12181. list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
  12182. bug 575, which is kind of the revenge of bug 222.
  12183. - Patch from Karsten Loesing to complain less at both the client
  12184. and the relay when a relay used to have the HSDir flag but doesn't
  12185. anymore, and we try to upload a hidden service descriptor.
  12186. - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
  12187. 0.2.0.15-alpha.
  12188. - Do not try to download missing certificates until we have tried
  12189. to check our fallback consensus. Fixes bug 583.
  12190. - Make bridges round reported GeoIP stats info up to the nearest
  12191. estimate, not down. Now we can distinguish between "0 people from
  12192. this country" and "1 person from this country".
  12193. - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
  12194. - Avoid possible segfault if key generation fails in
  12195. crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
  12196. - Avoid segfault in the case where a badly behaved v2 versioning
  12197. directory sends a signed networkstatus with missing client-versions.
  12198. Bugfix on 0.1.2.
  12199. - Avoid segfaults on certain complex invocations of
  12200. router_get_by_hexdigest(). Bugfix on 0.1.2.
  12201. - Correct bad index on array access in parse_http_time(). Bugfix
  12202. on 0.2.0.
  12203. - Fix possible bug in vote generation when server versions are present
  12204. but client versions are not.
  12205. - Fix rare bug on REDIRECTSTREAM control command when called with no
  12206. port set: it could erroneously report an error when none had
  12207. happened.
  12208. - Avoid bogus crash-prone, leak-prone tor_realloc when we're
  12209. compressing large objects and find ourselves with more than 4k
  12210. left over. Bugfix on 0.2.0.
  12211. - Fix a small memory leak when setting up a hidden service.
  12212. - Fix a few memory leaks that could in theory happen under bizarre
  12213. error conditions.
  12214. - Fix an assert if we post a general-purpose descriptor via the
  12215. control port but that descriptor isn't mentioned in our current
  12216. network consensus. Bug reported by Jon McLachlan; bugfix on
  12217. 0.2.0.9-alpha.
  12218. o Minor features (controller):
  12219. - Get NS events working again. Patch from tup.
  12220. - The GETCONF command now escapes and quotes configuration values
  12221. that don't otherwise fit into the torrc file.
  12222. - The SETCONF command now handles quoted values correctly.
  12223. o Minor features (directory authorities):
  12224. - New configuration options to override default maximum number of
  12225. servers allowed on a single IP address. This is important for
  12226. running a test network on a single host.
  12227. - Actually implement the -s option to tor-gencert.
  12228. - Add a manual page for tor-gencert.
  12229. o Minor features (bridges):
  12230. - Bridge authorities no longer serve bridge descriptors over
  12231. unencrypted connections.
  12232. o Minor features (other):
  12233. - Add hidden services and DNSPorts to the list of things that make
  12234. Tor accept that it has running ports. Change starting Tor with no
  12235. ports from a fatal error to a warning; we might change it back if
  12236. this turns out to confuse anybody. Fixes bug 579.
  12237. Changes in version 0.1.2.19 - 2008-01-17
  12238. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  12239. exit policy a little bit more conservative so it's safer to run an
  12240. exit relay on a home system, and fixes a variety of smaller issues.
  12241. o Security fixes:
  12242. - Exit policies now reject connections that are addressed to a
  12243. relay's public (external) IP address too, unless
  12244. ExitPolicyRejectPrivate is turned off. We do this because too
  12245. many relays are running nearby to services that trust them based
  12246. on network address.
  12247. o Major bugfixes:
  12248. - When the clock jumps forward a lot, do not allow the bandwidth
  12249. buckets to become negative. Fixes bug 544.
  12250. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  12251. on every successful resolve. Reported by Mike Perry.
  12252. - Purge old entries from the "rephist" database and the hidden
  12253. service descriptor database even when DirPort is zero.
  12254. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  12255. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  12256. crashing or mis-answering these requests.
  12257. - When we decide to send a 503 response to a request for servers, do
  12258. not then also send the server descriptors: this defeats the whole
  12259. purpose. Fixes bug 539.
  12260. o Minor bugfixes:
  12261. - Changing the ExitPolicyRejectPrivate setting should cause us to
  12262. rebuild our server descriptor.
  12263. - Fix handling of hex nicknames when answering controller requests for
  12264. networkstatus by name, or when deciding whether to warn about
  12265. unknown routers in a config option. (Patch from mwenge.)
  12266. - Fix a couple of hard-to-trigger autoconf problems that could result
  12267. in really weird results on platforms whose sys/types.h files define
  12268. nonstandard integer types.
  12269. - Don't try to create the datadir when running --verify-config or
  12270. --hash-password. Resolves bug 540.
  12271. - If we were having problems getting a particular descriptor from the
  12272. directory caches, and then we learned about a new descriptor for
  12273. that router, we weren't resetting our failure count. Reported
  12274. by lodger.
  12275. - Although we fixed bug 539 (where servers would send HTTP status 503
  12276. responses _and_ send a body too), there are still servers out there
  12277. that haven't upgraded. Therefore, make clients parse such bodies
  12278. when they receive them.
  12279. - Run correctly on systems where rlim_t is larger than unsigned long.
  12280. This includes some 64-bit systems.
  12281. - Run correctly on platforms (like some versions of OS X 10.5) where
  12282. the real limit for number of open files is OPEN_FILES, not rlim_max
  12283. from getrlimit(RLIMIT_NOFILES).
  12284. - Avoid a spurious free on base64 failure.
  12285. - Avoid segfaults on certain complex invocations of
  12286. router_get_by_hexdigest().
  12287. - Fix rare bug on REDIRECTSTREAM control command when called with no
  12288. port set: it could erroneously report an error when none had
  12289. happened.
  12290. Changes in version 0.2.0.15-alpha - 2007-12-25
  12291. Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
  12292. features added in 0.2.0.13-alpha.
  12293. o Major bugfixes:
  12294. - Fix several remotely triggerable asserts based on DirPort requests
  12295. for a v2 or v3 networkstatus object before we were prepared. This
  12296. was particularly bad for 0.2.0.13 and later bridge relays, who
  12297. would never have a v2 networkstatus and would thus always crash
  12298. when used. Bugfixes on 0.2.0.x.
  12299. - Estimate the v3 networkstatus size more accurately, rather than
  12300. estimating it at zero bytes and giving it artificially high priority
  12301. compared to other directory requests. Bugfix on 0.2.0.x.
  12302. o Minor bugfixes:
  12303. - Fix configure.in logic for cross-compilation.
  12304. - When we load a bridge descriptor from the cache, and it was
  12305. previously unreachable, mark it as retriable so we won't just
  12306. ignore it. Also, try fetching a new copy immediately. Bugfixes
  12307. on 0.2.0.13-alpha.
  12308. - The bridge GeoIP stats were counting other relays, for example
  12309. self-reachability and authority-reachability tests.
  12310. o Minor features:
  12311. - Support compilation to target iPhone; patch from cjacker huang.
  12312. To build for iPhone, pass the --enable-iphone option to configure.
  12313. Changes in version 0.2.0.14-alpha - 2007-12-23
  12314. o Major bugfixes:
  12315. - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
  12316. without a datadirectory from a previous Tor install. Reported
  12317. by Zax.
  12318. - Fix a crash when we fetch a descriptor that turns out to be
  12319. unexpected (it used to be in our networkstatus when we started
  12320. fetching it, but it isn't in our current networkstatus), and we
  12321. aren't using bridges. Bugfix on 0.2.0.x.
  12322. - Fix a crash when accessing hidden services: it would work the first
  12323. time you use a given introduction point for your service, but
  12324. on subsequent requests we'd be using garbage memory. Fixed by
  12325. Karsten Loesing. Bugfix on 0.2.0.13-alpha.
  12326. - Fix a crash when we load a bridge descriptor from disk but we don't
  12327. currently have a Bridge line for it in our torrc. Bugfix on
  12328. 0.2.0.13-alpha.
  12329. o Major features:
  12330. - If bridge authorities set BridgePassword, they will serve a
  12331. snapshot of known bridge routerstatuses from their DirPort to
  12332. anybody who knows that password. Unset by default.
  12333. o Minor bugfixes:
  12334. - Make the unit tests build again.
  12335. - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
  12336. - Make PublishServerDescriptor default to 1, so the default doesn't
  12337. have to change as we invent new directory protocol versions.
  12338. - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
  12339. be included unless sys/time.h is already included. Fixes
  12340. bug 553. Bugfix on 0.2.0.x.
  12341. - If we receive a general-purpose descriptor and then receive an
  12342. identical bridge-purpose descriptor soon after, don't discard
  12343. the next one as a duplicate.
  12344. o Minor features:
  12345. - If BridgeRelay is set to 1, then the default for
  12346. PublishServerDescriptor is now "bridge" rather than "v2,v3".
  12347. - If the user sets RelayBandwidthRate but doesn't set
  12348. RelayBandwidthBurst, then make them equal rather than erroring out.
  12349. Changes in version 0.2.0.13-alpha - 2007-12-21
  12350. Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
  12351. Goodell, fixes many more bugs, and adds a lot of infrastructure for
  12352. upcoming features.
  12353. o New directory authorities:
  12354. - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
  12355. authority.
  12356. o Major bugfixes:
  12357. - Only update guard status (usable / not usable) once we have
  12358. enough directory information. This was causing us to always pick
  12359. two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
  12360. causing us to discard all our guards on startup if we hadn't been
  12361. running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
  12362. - Purge old entries from the "rephist" database and the hidden
  12363. service descriptor databases even when DirPort is zero. Bugfix
  12364. on 0.1.2.x.
  12365. - We were ignoring our RelayBandwidthRate for the first 30 seconds
  12366. after opening a circuit -- even a relayed circuit. Bugfix on
  12367. 0.2.0.3-alpha.
  12368. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  12369. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  12370. crashing or mis-answering these types of requests.
  12371. - Relays were publishing their server descriptor to v1 and v2
  12372. directory authorities, but they didn't try publishing to v3-only
  12373. authorities. Fix this; and also stop publishing to v1 authorities.
  12374. Bugfix on 0.2.0.x.
  12375. - When we were reading router descriptors from cache, we were ignoring
  12376. the annotations -- so for example we were reading in bridge-purpose
  12377. descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
  12378. - When we decided to send a 503 response to a request for servers, we
  12379. were then also sending the server descriptors: this defeats the
  12380. whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
  12381. o Major features:
  12382. - Bridge relays now behave like clients with respect to time
  12383. intervals for downloading new consensus documents -- otherwise they
  12384. stand out. Bridge users now wait until the end of the interval,
  12385. so their bridge relay will be sure to have a new consensus document.
  12386. - Three new config options (AlternateDirAuthority,
  12387. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  12388. user selectively replace the default directory authorities by type,
  12389. rather than the all-or-nothing replacement that DirServer offers.
  12390. - Tor can now be configured to read a GeoIP file from disk in one
  12391. of two formats. This can be used by controllers to map IP addresses
  12392. to countries. Eventually, it may support exit-by-country.
  12393. - When possible, bridge relays remember which countries users
  12394. are coming from, and report aggregate information in their
  12395. extra-info documents, so that the bridge authorities can learn
  12396. where Tor is blocked.
  12397. - Bridge directory authorities now do reachability testing on the
  12398. bridges they know. They provide router status summaries to the
  12399. controller via "getinfo ns/purpose/bridge", and also dump summaries
  12400. to a file periodically.
  12401. - Stop fetching directory info so aggressively if your DirPort is
  12402. on but your ORPort is off; stop fetching v2 dir info entirely.
  12403. You can override these choices with the new FetchDirInfoEarly
  12404. config option.
  12405. o Minor bugfixes:
  12406. - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
  12407. consensus documents when there are too many relays at a single
  12408. IP address. Now clear it in v2 network status documents too, and
  12409. also clear it in routerinfo_t when the relay is no longer listed
  12410. in the relevant networkstatus document.
  12411. - Don't crash if we get an unexpected value for the
  12412. PublishServerDescriptor config option. Reported by Matt Edman;
  12413. bugfix on 0.2.0.9-alpha.
  12414. - Our new v2 hidden service descriptor format allows descriptors
  12415. that have no introduction points. But Tor crashed when we tried
  12416. to build a descriptor with no intro points (and it would have
  12417. crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
  12418. by Karsten Loesing.
  12419. - Fix building with dmalloc 5.5.2 with glibc.
  12420. - Reject uploaded descriptors and extrainfo documents if they're
  12421. huge. Otherwise we'll cache them all over the network and it'll
  12422. clog everything up. Reported by Aljosha Judmayer.
  12423. - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
  12424. via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
  12425. - When the DANGEROUS_VERSION controller status event told us we're
  12426. running an obsolete version, it used the string "OLD" to describe
  12427. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  12428. "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
  12429. - If we can't expand our list of entry guards (e.g. because we're
  12430. using bridges or we have StrictEntryNodes set), don't mark relays
  12431. down when they fail a directory request. Otherwise we're too quick
  12432. to mark all our entry points down. Bugfix on 0.1.2.x.
  12433. - Fix handling of hex nicknames when answering controller requests for
  12434. networkstatus by name, or when deciding whether to warn about unknown
  12435. routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
  12436. - Fix a couple of hard-to-trigger autoconf problems that could result
  12437. in really weird results on platforms whose sys/types.h files define
  12438. nonstandard integer types. Bugfix on 0.1.2.x.
  12439. - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
  12440. - Don't crash on name lookup when we have no current consensus. Fixes
  12441. bug 538; bugfix on 0.2.0.x.
  12442. - Only Tors that want to mirror the v2 directory info should
  12443. create the "cached-status" directory in their datadir. (All Tors
  12444. used to create it.) Bugfix on 0.2.0.9-alpha.
  12445. - Directory authorities should only automatically download Extra Info
  12446. documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
  12447. o Minor features:
  12448. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  12449. consumers. (We already do this on HUP.)
  12450. - Authorities and caches fetch the v2 networkstatus documents
  12451. less often, now that v3 is encouraged.
  12452. - Add a new config option BridgeRelay that specifies you want to
  12453. be a bridge relay. Right now the only difference is that it makes
  12454. you answer begin_dir requests, and it makes you cache dir info,
  12455. even if your DirPort isn't on.
  12456. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  12457. ask about source, timestamp of arrival, purpose, etc. We need
  12458. something like this to help Vidalia not do GeoIP lookups on bridge
  12459. addresses.
  12460. - Allow multiple HashedControlPassword config lines, to support
  12461. multiple controller passwords.
  12462. - Authorities now decide whether they're authoritative for a given
  12463. router based on the router's purpose.
  12464. - New config options AuthDirBadDir and AuthDirListBadDirs for
  12465. authorities to mark certain relays as "bad directories" in the
  12466. networkstatus documents. Also supports the "!baddir" directive in
  12467. the approved-routers file.
  12468. Changes in version 0.2.0.12-alpha - 2007-11-16
  12469. This twelfth development snapshot fixes some more build problems as
  12470. well as a few minor bugs.
  12471. o Compile fixes:
  12472. - Make it build on OpenBSD again. Patch from tup.
  12473. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
  12474. package-building for Red Hat, OS X, etc.
  12475. o Minor bugfixes (on 0.1.2.x):
  12476. - Changing the ExitPolicyRejectPrivate setting should cause us to
  12477. rebuild our server descriptor.
  12478. o Minor bugfixes (on 0.2.0.x):
  12479. - When we're lacking a consensus, don't try to perform rendezvous
  12480. operations. Reported by Karsten Loesing.
  12481. - Fix a small memory leak whenever we decide against using a
  12482. newly picked entry guard. Reported by Mike Perry.
  12483. - When authorities detected more than two relays running on the same
  12484. IP address, they were clearing all the status flags but forgetting
  12485. to clear the "hsdir" flag. So clients were being told that a
  12486. given relay was the right choice for a v2 hsdir lookup, yet they
  12487. never had its descriptor because it was marked as 'not running'
  12488. in the consensus.
  12489. - If we're trying to fetch a bridge descriptor and there's no way
  12490. the bridge authority could help us (for example, we don't know
  12491. a digest, or there is no bridge authority), don't be so eager to
  12492. fall back to asking the bridge authority.
  12493. - If we're using bridges or have strictentrynodes set, and our
  12494. chosen exit is in the same family as all our bridges/entry guards,
  12495. then be flexible about families.
  12496. o Minor features:
  12497. - When we negotiate a v2 link-layer connection (not yet implemented),
  12498. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  12499. negotiated a v1 connection for their next step. Initial code for
  12500. proposal 110.
  12501. Changes in version 0.2.0.11-alpha - 2007-11-12
  12502. This eleventh development snapshot fixes some build problems with
  12503. the previous snapshot. It also includes a more secure-by-default exit
  12504. policy for relays, fixes an enormous memory leak for exit relays, and
  12505. fixes another bug where servers were falling out of the directory list.
  12506. o Security fixes:
  12507. - Exit policies now reject connections that are addressed to a
  12508. relay's public (external) IP address too, unless
  12509. ExitPolicyRejectPrivate is turned off. We do this because too
  12510. many relays are running nearby to services that trust them based
  12511. on network address. Bugfix on 0.1.2.x.
  12512. o Major bugfixes:
  12513. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  12514. on every successful resolve. Reported by Mike Perry; bugfix
  12515. on 0.1.2.x.
  12516. - On authorities, never downgrade to old router descriptors simply
  12517. because they're listed in the consensus. This created a catch-22
  12518. where we wouldn't list a new descriptor because there was an
  12519. old one in the consensus, and we couldn't get the new one in the
  12520. consensus because we wouldn't list it. Possible fix for bug 548.
  12521. Also, this might cause bug 543 to appear on authorities; if so,
  12522. we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
  12523. o Packaging fixes on 0.2.0.10-alpha:
  12524. - We were including instructions about what to do with the
  12525. src/config/fallback-consensus file, but we weren't actually
  12526. including it in the tarball. Disable all of that for now.
  12527. o Minor features:
  12528. - Allow people to say PreferTunnelledDirConns rather than
  12529. PreferTunneledDirConns, for those alternate-spellers out there.
  12530. o Minor bugfixes:
  12531. - Don't reevaluate all the information from our consensus document
  12532. just because we've downloaded a v2 networkstatus that we intend
  12533. to cache. Fixes bug 545; bugfix on 0.2.0.x.
  12534. Changes in version 0.2.0.10-alpha - 2007-11-10
  12535. This tenth development snapshot adds a third v3 directory authority
  12536. run by Mike Perry, adds most of Karsten Loesing's new hidden service
  12537. descriptor format, fixes a bad crash bug and new bridge bugs introduced
  12538. in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
  12539. fixes some minor memory leaks in previous 0.2.0.x snapshots, and
  12540. addresses many more minor issues.
  12541. o New directory authorities:
  12542. - Set up ides (run by Mike Perry) as the third v3 directory authority.
  12543. o Major features:
  12544. - Allow tunnelled directory connections to ask for an encrypted
  12545. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  12546. connection independently. Now we can make anonymized begin_dir
  12547. connections for (e.g.) more secure hidden service posting and
  12548. fetching.
  12549. - More progress on proposal 114: code from Karsten Loesing to
  12550. implement new hidden service descriptor format.
  12551. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  12552. accommodate the growing number of servers that use the default
  12553. and are reaching it.
  12554. - Directory authorities use a new formula for selecting which nodes
  12555. to advertise as Guards: they must be in the top 7/8 in terms of
  12556. how long we have known about them, and above the median of those
  12557. nodes in terms of weighted fractional uptime.
  12558. - Make "not enough dir info yet" warnings describe *why* Tor feels
  12559. it doesn't have enough directory info yet.
  12560. o Major bugfixes:
  12561. - Stop servers from crashing if they set a Family option (or
  12562. maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
  12563. by Fabian Keil.
  12564. - Make bridge users work again -- the move to v3 directories in
  12565. 0.2.0.9-alpha had introduced a number of bugs that made bridges
  12566. no longer work for clients.
  12567. - When the clock jumps forward a lot, do not allow the bandwidth
  12568. buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
  12569. o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
  12570. - When the consensus lists a router descriptor that we previously were
  12571. mirroring, but that we considered non-canonical, reload the
  12572. descriptor as canonical. This fixes bug 543 where Tor servers
  12573. would start complaining after a few days that they don't have
  12574. enough directory information to build a circuit.
  12575. - Consider replacing the current consensus when certificates arrive
  12576. that make the pending consensus valid. Previously, we were only
  12577. considering replacement when the new certs _didn't_ help.
  12578. - Fix an assert error on startup if we didn't already have the
  12579. consensus and certs cached in our datadirectory: we were caching
  12580. the consensus in consensus_waiting_for_certs but then free'ing it
  12581. right after.
  12582. - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
  12583. Request) if we need more v3 certs but we've already got pending
  12584. requests for all of them.
  12585. - Correctly back off from failing certificate downloads. Fixes
  12586. bug 546.
  12587. - Authorities don't vote on the Running flag if they have been running
  12588. for less than 30 minutes themselves. Fixes bug 547, where a newly
  12589. started authority would vote that everyone was down.
  12590. o New requirements:
  12591. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  12592. it, it had no AES, and it hasn't seen any security patches since
  12593. 2004.
  12594. o Minor features:
  12595. - Clients now hold circuitless TLS connections open for 1.5 times
  12596. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  12597. rebuild a new circuit over them within that timeframe. Previously,
  12598. they held them open only for KeepalivePeriod (5 minutes).
  12599. - Use "If-Modified-Since" to avoid retrieving consensus
  12600. networkstatuses that we already have.
  12601. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  12602. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  12603. we start knowing some directory caches.
  12604. - When we receive a consensus from the future, warn about skew.
  12605. - Improve skew reporting: try to give the user a better log message
  12606. about how skewed they are, and how much this matters.
  12607. - When we have a certificate for an authority, believe that
  12608. certificate's claims about the authority's IP address.
  12609. - New --quiet command-line option to suppress the default console log.
  12610. Good in combination with --hash-password.
  12611. - Authorities send back an X-Descriptor-Not-New header in response to
  12612. an accepted-but-discarded descriptor upload. Partially implements
  12613. fix for bug 535.
  12614. - Make the log message for "tls error. breaking." more useful.
  12615. - Better log messages about certificate downloads, to attempt to
  12616. track down the second incarnation of bug 546.
  12617. o Minor features (bridges):
  12618. - If bridge users set UpdateBridgesFromAuthority, but the digest
  12619. they ask for is a 404 from the bridge authority, they now fall
  12620. back to trying the bridge directly.
  12621. - Bridges now use begin_dir to publish their server descriptor to
  12622. the bridge authority, even when they haven't set TunnelDirConns.
  12623. o Minor features (controller):
  12624. - When reporting clock skew, and we know that the clock is _at least
  12625. as skewed_ as some value, but we don't know the actual value,
  12626. report the value as a "minimum skew."
  12627. o Utilities:
  12628. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  12629. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  12630. Perry.
  12631. o Minor bugfixes:
  12632. - Refuse to start if both ORPort and UseBridges are set. Bugfix
  12633. on 0.2.0.x, suggested by Matt Edman.
  12634. - Don't stop fetching descriptors when FetchUselessDescriptors is
  12635. set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
  12636. reported by tup and ioerror.
  12637. - Better log message on vote from unknown authority.
  12638. - Don't log "Launching 0 request for 0 router" message.
  12639. o Minor bugfixes (memory leaks):
  12640. - Stop leaking memory every time we parse a v3 certificate. Bugfix
  12641. on 0.2.0.1-alpha.
  12642. - Stop leaking memory every time we load a v3 certificate. Bugfix
  12643. on 0.2.0.1-alpha. Fixes bug 536.
  12644. - Stop leaking a cached networkstatus on exit. Bugfix on
  12645. 0.2.0.3-alpha.
  12646. - Stop leaking voter information every time we free a consensus.
  12647. Bugfix on 0.2.0.3-alpha.
  12648. - Stop leaking signed data every time we check a voter signature.
  12649. Bugfix on 0.2.0.3-alpha.
  12650. - Stop leaking a signature every time we fail to parse a consensus or
  12651. a vote. Bugfix on 0.2.0.3-alpha.
  12652. - Stop leaking v2_download_status_map on shutdown. Bugfix on
  12653. 0.2.0.9-alpha.
  12654. - Stop leaking conn->nickname every time we make a connection to a
  12655. Tor relay without knowing its expected identity digest (e.g. when
  12656. using bridges). Bugfix on 0.2.0.3-alpha.
  12657. - Minor bugfixes (portability):
  12658. - Run correctly on platforms where rlim_t is larger than unsigned
  12659. long, and/or where the real limit for number of open files is
  12660. OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
  12661. particular, these may be needed for OS X 10.5.
  12662. Changes in version 0.1.2.18 - 2007-10-28
  12663. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  12664. hidden service introduction that were causing huge delays, and a big
  12665. bug that was causing some servers to disappear from the network status
  12666. lists for a few hours each day.
  12667. o Major bugfixes (crashes):
  12668. - If a connection is shut down abruptly because of something that
  12669. happened inside connection_flushed_some(), do not call
  12670. connection_finished_flushing(). Should fix bug 451:
  12671. "connection_stop_writing: Assertion conn->write_event failed"
  12672. Bugfix on 0.1.2.7-alpha.
  12673. - Fix possible segfaults in functions called from
  12674. rend_process_relay_cell().
  12675. o Major bugfixes (hidden services):
  12676. - Hidden services were choosing introduction points uniquely by
  12677. hexdigest, but when constructing the hidden service descriptor
  12678. they merely wrote the (potentially ambiguous) nickname.
  12679. - Clients now use the v2 intro format for hidden service
  12680. connections: they specify their chosen rendezvous point by identity
  12681. digest rather than by (potentially ambiguous) nickname. These
  12682. changes could speed up hidden service connections dramatically.
  12683. o Major bugfixes (other):
  12684. - Stop publishing a new server descriptor just because we get a
  12685. HUP signal. This led (in a roundabout way) to some servers getting
  12686. dropped from the networkstatus lists for a few hours each day.
  12687. - When looking for a circuit to cannibalize, consider family as well
  12688. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  12689. circuit cannibalization).
  12690. - When a router wasn't listed in a new networkstatus, we were leaving
  12691. the flags for that router alone -- meaning it remained Named,
  12692. Running, etc -- even though absence from the networkstatus means
  12693. that it shouldn't be considered to exist at all anymore. Now we
  12694. clear all the flags for routers that fall out of the networkstatus
  12695. consensus. Fixes bug 529.
  12696. o Minor bugfixes:
  12697. - Don't try to access (or alter) the state file when running
  12698. --list-fingerprint or --verify-config or --hash-password. Resolves
  12699. bug 499.
  12700. - When generating information telling us how to extend to a given
  12701. router, do not try to include the nickname if it is
  12702. absent. Resolves bug 467.
  12703. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  12704. a way to trigger this remotely.)
  12705. - When sending a status event to the controller telling it that an
  12706. OR address is reachable, set the port correctly. (Previously we
  12707. were reporting the dir port.)
  12708. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  12709. command. Bugfix on 0.1.2.17.
  12710. - When loading bandwidth history, do not believe any information in
  12711. the future. Fixes bug 434.
  12712. - When loading entry guard information, do not believe any information
  12713. in the future.
  12714. - When we have our clock set far in the future and generate an
  12715. onion key, then re-set our clock to be correct, we should not stop
  12716. the onion key from getting rotated.
  12717. - On some platforms, accept() can return a broken address. Detect
  12718. this more quietly, and deal accordingly. Fixes bug 483.
  12719. - It's not actually an error to find a non-pending entry in the DNS
  12720. cache when canceling a pending resolve. Don't log unless stuff
  12721. is fishy. Resolves bug 463.
  12722. - Don't reset trusted dir server list when we set a configuration
  12723. option. Patch from Robert Hogan.
  12724. - Don't try to create the datadir when running --verify-config or
  12725. --hash-password. Resolves bug 540.
  12726. Changes in version 0.2.0.9-alpha - 2007-10-24
  12727. This ninth development snapshot switches clients to the new v3 directory
  12728. system; allows servers to be listed in the network status even when they
  12729. have the same nickname as a registered server; and fixes many other
  12730. bugs including a big one that was causing some servers to disappear
  12731. from the network status lists for a few hours each day.
  12732. o Major features (directory system):
  12733. - Clients now download v3 consensus networkstatus documents instead
  12734. of v2 networkstatus documents. Clients and caches now base their
  12735. opinions about routers on these consensus documents. Clients only
  12736. download router descriptors listed in the consensus.
  12737. - Authorities now list servers who have the same nickname as
  12738. a different named server, but list them with a new flag,
  12739. "Unnamed". Now we can list servers that happen to pick the same
  12740. nickname as a server that registered two years ago and then
  12741. disappeared. Partially implements proposal 122.
  12742. - If the consensus lists a router as "Unnamed", the name is assigned
  12743. to a different router: do not identify the router by that name.
  12744. Partially implements proposal 122.
  12745. - Authorities can now come to a consensus on which method to use to
  12746. compute the consensus. This gives us forward compatibility.
  12747. o Major bugfixes:
  12748. - Stop publishing a new server descriptor just because we HUP or
  12749. when we find our DirPort to be reachable but won't actually publish
  12750. it. New descriptors without any real changes are dropped by the
  12751. authorities, and can screw up our "publish every 18 hours" schedule.
  12752. Bugfix on 0.1.2.x.
  12753. - When a router wasn't listed in a new networkstatus, we were leaving
  12754. the flags for that router alone -- meaning it remained Named,
  12755. Running, etc -- even though absence from the networkstatus means
  12756. that it shouldn't be considered to exist at all anymore. Now we
  12757. clear all the flags for routers that fall out of the networkstatus
  12758. consensus. Fixes bug 529; bugfix on 0.1.2.x.
  12759. - Fix awful behavior in DownloadExtraInfo option where we'd fetch
  12760. extrainfo documents and then discard them immediately for not
  12761. matching the latest router. Bugfix on 0.2.0.1-alpha.
  12762. o Minor features (v3 directory protocol):
  12763. - Allow tor-gencert to generate a new certificate without replacing
  12764. the signing key.
  12765. - Allow certificates to include an address.
  12766. - When we change our directory-cache settings, reschedule all voting
  12767. and download operations.
  12768. - Reattempt certificate downloads immediately on failure, as long as
  12769. we haven't failed a threshold number of times yet.
  12770. - Delay retrying consensus downloads while we're downloading
  12771. certificates to verify the one we just got. Also, count getting a
  12772. consensus that we already have (or one that isn't valid) as a failure,
  12773. and count failing to get the certificates after 20 minutes as a
  12774. failure.
  12775. - Build circuits and download descriptors even if our consensus is a
  12776. little expired. (This feature will go away once authorities are
  12777. more reliable.)
  12778. o Minor features (router descriptor cache):
  12779. - If we find a cached-routers file that's been sitting around for more
  12780. than 28 days unmodified, then most likely it's a leftover from
  12781. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  12782. routers anyway.
  12783. - When we (as a cache) download a descriptor because it was listed
  12784. in a consensus, remember when the consensus was supposed to expire,
  12785. and don't expire the descriptor until then.
  12786. o Minor features (performance):
  12787. - Call routerlist_remove_old_routers() much less often. This should
  12788. speed startup, especially on directory caches.
  12789. - Don't try to launch new descriptor downloads quite so often when we
  12790. already have enough directory information to build circuits.
  12791. - Base64 decoding was actually showing up on our profile when parsing
  12792. the initial descriptor file; switch to an in-process all-at-once
  12793. implementation that's about 3.5x times faster than calling out to
  12794. OpenSSL.
  12795. o Minor features (compilation):
  12796. - Detect non-ASCII platforms (if any still exist) and refuse to
  12797. build there: some of our code assumes that 'A' is 65 and so on.
  12798. o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
  12799. - Make the "next period" votes into "current period" votes immediately
  12800. after publishing the consensus; avoid a heisenbug that made them
  12801. stick around indefinitely.
  12802. - When we discard a vote as a duplicate, do not report this as
  12803. an error.
  12804. - Treat missing v3 keys or certificates as an error when running as a
  12805. v3 directory authority.
  12806. - When we're configured to be a v3 authority, but we're only listed
  12807. as a non-v3 authority in our DirServer line for ourself, correct
  12808. the listing.
  12809. - If an authority doesn't have a qualified hostname, just put
  12810. its address in the vote. This fixes the problem where we referred to
  12811. "moria on moria:9031."
  12812. - Distinguish between detached signatures for the wrong period, and
  12813. detached signatures for a divergent vote.
  12814. - Fix a small memory leak when computing a consensus.
  12815. - When there's no concensus, we were forming a vote every 30
  12816. minutes, but writing the "valid-after" line in our vote based
  12817. on our configured V3AuthVotingInterval: so unless the intervals
  12818. matched up, we immediately rejected our own vote because it didn't
  12819. start at the voting interval that caused us to construct a vote.
  12820. o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
  12821. - Delete unverified-consensus when the real consensus is set.
  12822. - Consider retrying a consensus networkstatus fetch immediately
  12823. after one fails: don't wait 60 seconds to notice.
  12824. - When fetching a consensus as a cache, wait until a newer consensus
  12825. should exist before trying to replace the current one.
  12826. - Use a more forgiving schedule for retrying failed consensus
  12827. downloads than for other types.
  12828. o Minor bugfixes (other directory issues):
  12829. - Correct the implementation of "download votes by digest." Bugfix on
  12830. 0.2.0.8-alpha.
  12831. - Authorities no longer send back "400 you're unreachable please fix
  12832. it" errors to Tor servers that aren't online all the time. We're
  12833. supposed to tolerate these servers now. Bugfix on 0.1.2.x.
  12834. o Minor bugfixes (controller):
  12835. - Don't reset trusted dir server list when we set a configuration
  12836. option. Patch from Robert Hogan; bugfix on 0.1.2.x.
  12837. - Respond to INT and TERM SIGNAL commands before we execute the
  12838. signal, in case the signal shuts us down. We had a patch in
  12839. 0.1.2.1-alpha that tried to do this by queueing the response on
  12840. the connection's buffer before shutting down, but that really
  12841. isn't the same thing at all. Bug located by Matt Edman.
  12842. o Minor bugfixes (misc):
  12843. - Correctly check for bad options to the "PublishServerDescriptor"
  12844. config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
  12845. - Stop leaking memory on failing case of base32_decode, and make
  12846. it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
  12847. - Don't try to download extrainfo documents when we're trying to
  12848. fetch enough directory info to build a circuit: having enough
  12849. info should get priority. Bugfix on 0.2.0.x.
  12850. - Don't complain that "your server has not managed to confirm that its
  12851. ports are reachable" if we haven't been able to build any circuits
  12852. yet. Bug found by spending four hours without a v3 consensus. Bugfix
  12853. on 0.1.2.x.
  12854. - Detect the reason for failing to mmap a descriptor file we just
  12855. wrote, and give a more useful log message. Fixes bug 533. Bugfix
  12856. on 0.1.2.x.
  12857. o Code simplifications and refactoring:
  12858. - Remove support for the old bw_accounting file: we've been storing
  12859. bandwidth accounting information in the state file since
  12860. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  12861. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  12862. downgrade to 0.1.1.x or earlier.
  12863. - New convenience code to locate a file within the DataDirectory.
  12864. - Move non-authority functionality out of dirvote.c.
  12865. - Refactor the arguments for router_pick_{directory_|trusteddir}server
  12866. so that they all take the same named flags.
  12867. o Utilities
  12868. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  12869. Unix users an easy way to script their Tor process (e.g. by
  12870. adjusting bandwidth based on the time of the day).
  12871. Changes in version 0.2.0.8-alpha - 2007-10-12
  12872. This eighth development snapshot fixes a crash bug that's been bothering
  12873. us since February 2007, lets bridge authorities store a list of bridge
  12874. descriptors they've seen, gets v3 directory voting closer to working,
  12875. starts caching v3 directory consensus documents on directory mirrors,
  12876. and fixes a variety of smaller issues including some minor memory leaks.
  12877. o Major features (router descriptor cache):
  12878. - Store routers in a file called cached-descriptors instead of in
  12879. cached-routers. Initialize cached-descriptors from cached-routers
  12880. if the old format is around. The new format allows us to store
  12881. annotations along with descriptors.
  12882. - Use annotations to record the time we received each descriptor, its
  12883. source, and its purpose.
  12884. - Disable the SETROUTERPURPOSE controller command: it is now
  12885. obsolete.
  12886. - Controllers should now specify cache=no or cache=yes when using
  12887. the +POSTDESCRIPTOR command.
  12888. - Bridge authorities now write bridge descriptors to disk, meaning
  12889. we can export them to other programs and begin distributing them
  12890. to blocked users.
  12891. o Major features (directory authorities):
  12892. - When a v3 authority is missing votes or signatures, it now tries
  12893. to fetch them.
  12894. - Directory authorities track weighted fractional uptime as well as
  12895. weighted mean-time-between failures. WFU is suitable for deciding
  12896. whether a node is "usually up", while MTBF is suitable for deciding
  12897. whether a node is "likely to stay up." We need both, because
  12898. "usually up" is a good requirement for guards, while "likely to
  12899. stay up" is a good requirement for long-lived connections.
  12900. o Major features (v3 directory system):
  12901. - Caches now download v3 network status documents as needed,
  12902. and download the descriptors listed in them.
  12903. - All hosts now attempt to download and keep fresh v3 authority
  12904. certificates, and re-attempt after failures.
  12905. - More internal-consistency checks for vote parsing.
  12906. o Major bugfixes (crashes):
  12907. - If a connection is shut down abruptly because of something that
  12908. happened inside connection_flushed_some(), do not call
  12909. connection_finished_flushing(). Should fix bug 451. Bugfix on
  12910. 0.1.2.7-alpha.
  12911. o Major bugfixes (performance):
  12912. - Fix really bad O(n^2) performance when parsing a long list of
  12913. routers: Instead of searching the entire list for an "extra-info "
  12914. string which usually wasn't there, once for every routerinfo
  12915. we read, just scan lines forward until we find one we like.
  12916. Bugfix on 0.2.0.1.
  12917. - When we add data to a write buffer in response to the data on that
  12918. write buffer getting low because of a flush, do not consider the
  12919. newly added data as a candidate for immediate flushing, but rather
  12920. make it wait until the next round of writing. Otherwise, we flush
  12921. and refill recursively, and a single greedy TLS connection can
  12922. eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
  12923. o Minor features (v3 authority system):
  12924. - Add more ways for tools to download the votes that lead to the
  12925. current consensus.
  12926. - Send a 503 when low on bandwidth and a vote, consensus, or
  12927. certificate is requested.
  12928. - If-modified-since is now implemented properly for all kinds of
  12929. certificate requests.
  12930. o Minor bugfixes (network statuses):
  12931. - Tweak the implementation of proposal 109 slightly: allow at most
  12932. two Tor servers on the same IP address, except if it's the location
  12933. of a directory authority, in which case allow five. Bugfix on
  12934. 0.2.0.3-alpha.
  12935. o Minor bugfixes (controller):
  12936. - When sending a status event to the controller telling it that an
  12937. OR address is reachable, set the port correctly. (Previously we
  12938. were reporting the dir port.) Bugfix on 0.1.2.x.
  12939. o Minor bugfixes (v3 directory system):
  12940. - Fix logic to look up a cert by its signing key digest. Bugfix on
  12941. 0.2.0.7-alpha.
  12942. - Only change the reply to a vote to "OK" if it's not already
  12943. set. This gets rid of annoying "400 OK" log messages, which may
  12944. have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
  12945. - When we get a valid consensus, recompute the voting schedule.
  12946. - Base the valid-after time of a vote on the consensus voting
  12947. schedule, not on our preferred schedule.
  12948. - Make the return values and messages from signature uploads and
  12949. downloads more sensible.
  12950. - Fix a memory leak when serving votes and consensus documents, and
  12951. another when serving certificates.
  12952. o Minor bugfixes (performance):
  12953. - Use a slightly simpler string hashing algorithm (copying Python's
  12954. instead of Java's) and optimize our digest hashing algorithm to take
  12955. advantage of 64-bit platforms and to remove some possibly-costly
  12956. voodoo.
  12957. - Fix a minor memory leak whenever we parse guards from our state
  12958. file. Bugfix on 0.2.0.7-alpha.
  12959. - Fix a minor memory leak whenever we write out a file. Bugfix on
  12960. 0.2.0.7-alpha.
  12961. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  12962. command. Bugfix on 0.2.0.5-alpha.
  12963. o Minor bugfixes (portability):
  12964. - On some platforms, accept() can return a broken address. Detect
  12965. this more quietly, and deal accordingly. Fixes bug 483.
  12966. - Stop calling tor_strlower() on uninitialized memory in some cases.
  12967. Bugfix in 0.2.0.7-alpha.
  12968. o Minor bugfixes (usability):
  12969. - Treat some 403 responses from directory servers as INFO rather than
  12970. WARN-severity events.
  12971. - It's not actually an error to find a non-pending entry in the DNS
  12972. cache when canceling a pending resolve. Don't log unless stuff is
  12973. fishy. Resolves bug 463.
  12974. o Minor bugfixes (anonymity):
  12975. - Never report that we've used more bandwidth than we're willing to
  12976. relay: it leaks how much non-relay traffic we're using. Resolves
  12977. bug 516.
  12978. - When looking for a circuit to cannibalize, consider family as well
  12979. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  12980. circuit cannibalization).
  12981. o Code simplifications and refactoring:
  12982. - Make a bunch of functions static. Remove some dead code.
  12983. - Pull out about a third of the really big routerlist.c; put it in a
  12984. new module, networkstatus.c.
  12985. - Merge the extra fields in local_routerstatus_t back into
  12986. routerstatus_t: we used to need one routerstatus_t for each
  12987. authority's opinion, plus a local_routerstatus_t for the locally
  12988. computed consensus opinion. To save space, we put the locally
  12989. modified fields into local_routerstatus_t, and only the common
  12990. stuff into routerstatus_t. But once v3 directories are in use,
  12991. clients and caches will no longer need to hold authority opinions;
  12992. thus, the rationale for keeping the types separate is now gone.
  12993. - Make the code used to reschedule and reattempt downloads more
  12994. uniform.
  12995. - Turn all 'Are we a directory server/mirror?' logic into a call to
  12996. dirserver_mode().
  12997. - Remove the code to generate the oldest (v1) directory format.
  12998. The code has been disabled since 0.2.0.5-alpha.
  12999. Changes in version 0.2.0.7-alpha - 2007-09-21
  13000. This seventh development snapshot makes bridges work again, makes bridge
  13001. authorities work for the first time, fixes two huge performance flaws
  13002. in hidden services, and fixes a variety of minor issues.
  13003. o New directory authorities:
  13004. - Set up moria1 and tor26 as the first v3 directory authorities. See
  13005. doc/spec/dir-spec.txt for details on the new directory design.
  13006. o Major bugfixes (crashes):
  13007. - Fix possible segfaults in functions called from
  13008. rend_process_relay_cell(). Bugfix on 0.1.2.x.
  13009. o Major bugfixes (bridges):
  13010. - Fix a bug that made servers send a "404 Not found" in response to
  13011. attempts to fetch their server descriptor. This caused Tor servers
  13012. to take many minutes to establish reachability for their DirPort,
  13013. and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
  13014. - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
  13015. users configure that and specify a bridge with an identity
  13016. fingerprint, now they will lookup the bridge descriptor at the
  13017. default bridge authority via a one-hop tunnel, but once circuits
  13018. are established they will switch to a three-hop tunnel for later
  13019. connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
  13020. o Major bugfixes (hidden services):
  13021. - Hidden services were choosing introduction points uniquely by
  13022. hexdigest, but when constructing the hidden service descriptor
  13023. they merely wrote the (potentially ambiguous) nickname.
  13024. - Clients now use the v2 intro format for hidden service
  13025. connections: they specify their chosen rendezvous point by identity
  13026. digest rather than by (potentially ambiguous) nickname. Both
  13027. are bugfixes on 0.1.2.x, and they could speed up hidden service
  13028. connections dramatically. Thanks to Karsten Loesing.
  13029. o Minor features (security):
  13030. - As a client, do not believe any server that tells us that an
  13031. address maps to an internal address space.
  13032. - Make it possible to enable HashedControlPassword and
  13033. CookieAuthentication at the same time.
  13034. o Minor features (guard nodes):
  13035. - Tag every guard node in our state file with the version that
  13036. we believe added it, or with our own version if we add it. This way,
  13037. if a user temporarily runs an old version of Tor and then switches
  13038. back to a new one, she doesn't automatically lose her guards.
  13039. o Minor features (speed):
  13040. - When implementing AES counter mode, update only the portions of the
  13041. counter buffer that need to change, and don't keep separate
  13042. network-order and host-order counters when they are the same (i.e.,
  13043. on big-endian hosts.)
  13044. o Minor features (controller):
  13045. - Accept LF instead of CRLF on controller, since some software has a
  13046. hard time generating real Internet newlines.
  13047. - Add GETINFO values for the server status events
  13048. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  13049. Robert Hogan.
  13050. o Removed features:
  13051. - Routers no longer include bandwidth-history lines in their
  13052. descriptors; this information is already available in extra-info
  13053. documents, and including it in router descriptors took up 60%
  13054. (!) of compressed router descriptor downloads. Completes
  13055. implementation of proposal 104.
  13056. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  13057. and TorControl.py, as they use the old v0 controller protocol,
  13058. and are obsoleted by TorFlow anyway.
  13059. - Drop support for v1 rendezvous descriptors, since we never used
  13060. them anyway, and the code has probably rotted by now. Based on
  13061. patch from Karsten Loesing.
  13062. - On OSX, stop warning the user that kqueue support in libevent is
  13063. "experimental", since it seems to have worked fine for ages.
  13064. o Minor bugfixes:
  13065. - When generating information telling us how to extend to a given
  13066. router, do not try to include the nickname if it is absent. Fixes
  13067. bug 467. Bugfix on 0.2.0.3-alpha.
  13068. - Fix a user-triggerable (but not remotely-triggerable) segfault
  13069. in expand_filename(). Bugfix on 0.1.2.x.
  13070. - Fix a memory leak when freeing incomplete requests from DNSPort.
  13071. Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
  13072. - Don't try to access (or alter) the state file when running
  13073. --list-fingerprint or --verify-config or --hash-password. (Resolves
  13074. bug 499.) Bugfix on 0.1.2.x.
  13075. - Servers used to decline to publish their DirPort if their
  13076. BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
  13077. were below a threshold. Now they only look at BandwidthRate and
  13078. RelayBandwidthRate. Bugfix on 0.1.2.x.
  13079. - Remove an optimization in the AES counter-mode code that assumed
  13080. that the counter never exceeded 2^68. When the counter can be set
  13081. arbitrarily as an IV (as it is by Karsten's new hidden services
  13082. code), this assumption no longer holds. Bugfix on 0.1.2.x.
  13083. - Resume listing "AUTHORITY" flag for authorities in network status.
  13084. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
  13085. o Code simplifications and refactoring:
  13086. - Revamp file-writing logic so we don't need to have the entire
  13087. contents of a file in memory at once before we write to disk. Tor,
  13088. meet stdio.
  13089. - Turn "descriptor store" into a full-fledged type.
  13090. - Move all NT services code into a separate source file.
  13091. - Unify all code that computes medians, percentile elements, etc.
  13092. - Get rid of a needless malloc when parsing address policies.
  13093. Changes in version 0.1.2.17 - 2007-08-30
  13094. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  13095. X bundles. Vidalia 0.0.14 makes authentication required for the
  13096. ControlPort in the default configuration, which addresses important
  13097. security risks. Everybody who uses Vidalia (or another controller)
  13098. should upgrade.
  13099. In addition, this Tor update fixes major load balancing problems with
  13100. path selection, which should speed things up a lot once many people
  13101. have upgraded.
  13102. o Major bugfixes (security):
  13103. - We removed support for the old (v0) control protocol. It has been
  13104. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  13105. become more of a headache than it's worth.
  13106. o Major bugfixes (load balancing):
  13107. - When choosing nodes for non-guard positions, weight guards
  13108. proportionally less, since they already have enough load. Patch
  13109. from Mike Perry.
  13110. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  13111. will allow fast Tor servers to get more attention.
  13112. - When we're upgrading from an old Tor version, forget our current
  13113. guards and pick new ones according to the new weightings. These
  13114. three load balancing patches could raise effective network capacity
  13115. by a factor of four. Thanks to Mike Perry for measurements.
  13116. o Major bugfixes (stream expiration):
  13117. - Expire not-yet-successful application streams in all cases if
  13118. they've been around longer than SocksTimeout. Right now there are
  13119. some cases where the stream will live forever, demanding a new
  13120. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  13121. o Minor features (controller):
  13122. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  13123. is valid before any authentication has been received. It tells
  13124. a controller what kind of authentication is expected, and what
  13125. protocol is spoken. Implements proposal 119.
  13126. o Minor bugfixes (performance):
  13127. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  13128. greatly speeding up loading cached-routers from disk on startup.
  13129. - Disable sentinel-based debugging for buffer code: we squashed all
  13130. the bugs that this was supposed to detect a long time ago, and now
  13131. its only effect is to change our buffer sizes from nice powers of
  13132. two (which platform mallocs tend to like) to values slightly over
  13133. powers of two (which make some platform mallocs sad).
  13134. o Minor bugfixes (misc):
  13135. - If exit bandwidth ever exceeds one third of total bandwidth, then
  13136. use the correct formula to weight exit nodes when choosing paths.
  13137. Based on patch from Mike Perry.
  13138. - Choose perfectly fairly among routers when choosing by bandwidth and
  13139. weighting by fraction of bandwidth provided by exits. Previously, we
  13140. would choose with only approximate fairness, and correct ourselves
  13141. if we ran off the end of the list.
  13142. - If we require CookieAuthentication but we fail to write the
  13143. cookie file, we would warn but not exit, and end up in a state
  13144. where no controller could authenticate. Now we exit.
  13145. - If we require CookieAuthentication, stop generating a new cookie
  13146. every time we change any piece of our config.
  13147. - Refuse to start with certain directory authority keys, and
  13148. encourage people using them to stop.
  13149. - Terminate multi-line control events properly. Original patch
  13150. from tup.
  13151. - Fix a minor memory leak when we fail to find enough suitable
  13152. servers to choose a circuit.
  13153. - Stop leaking part of the descriptor when we run into a particularly
  13154. unparseable piece of it.
  13155. Changes in version 0.2.0.6-alpha - 2007-08-26
  13156. This sixth development snapshot features a new Vidalia version in the
  13157. Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
  13158. the ControlPort in the default configuration, which addresses important
  13159. security risks.
  13160. In addition, this snapshot fixes major load balancing problems
  13161. with path selection, which should speed things up a lot once many
  13162. people have upgraded. The directory authorities also use a new
  13163. mean-time-between-failure approach to tracking which servers are stable,
  13164. rather than just looking at the most recent uptime.
  13165. o New directory authorities:
  13166. - Set up Tonga as the default bridge directory authority.
  13167. o Major features:
  13168. - Directory authorities now track servers by weighted
  13169. mean-times-between-failures. When we have 4 or more days of data,
  13170. use measured MTBF rather than declared uptime to decide whether
  13171. to call a router Stable. Implements proposal 108.
  13172. o Major bugfixes (load balancing):
  13173. - When choosing nodes for non-guard positions, weight guards
  13174. proportionally less, since they already have enough load. Patch
  13175. from Mike Perry.
  13176. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  13177. will allow fast Tor servers to get more attention.
  13178. - When we're upgrading from an old Tor version, forget our current
  13179. guards and pick new ones according to the new weightings. These
  13180. three load balancing patches could raise effective network capacity
  13181. by a factor of four. Thanks to Mike Perry for measurements.
  13182. o Major bugfixes (descriptor parsing):
  13183. - Handle unexpected whitespace better in malformed descriptors. Bug
  13184. found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
  13185. o Minor features:
  13186. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  13187. GETINFO for Torstat to use until it can switch to using extrainfos.
  13188. - Optionally (if built with -DEXPORTMALLINFO) export the output
  13189. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  13190. from localhost.
  13191. o Minor bugfixes:
  13192. - Do not intermix bridge routers with controller-added
  13193. routers. (Bugfix on 0.2.0.x)
  13194. - Do not fail with an assert when accept() returns an unexpected
  13195. address family. Addresses but does not wholly fix bug 483. (Bugfix
  13196. on 0.2.0.x)
  13197. - Let directory authorities startup even when they can't generate
  13198. a descriptor immediately, e.g. because they don't know their
  13199. address.
  13200. - Stop putting the authentication cookie in a file called "0"
  13201. in your working directory if you don't specify anything for the
  13202. new CookieAuthFile option. Reported by Matt Edman.
  13203. - Make it possible to read the PROTOCOLINFO response in a way that
  13204. conforms to our control-spec. Reported by Matt Edman.
  13205. - Fix a minor memory leak when we fail to find enough suitable
  13206. servers to choose a circuit. Bugfix on 0.1.2.x.
  13207. - Stop leaking part of the descriptor when we run into a particularly
  13208. unparseable piece of it. Bugfix on 0.1.2.x.
  13209. - Unmap the extrainfo cache file on exit.
  13210. Changes in version 0.2.0.5-alpha - 2007-08-19
  13211. This fifth development snapshot fixes compilation on Windows again;
  13212. fixes an obnoxious client-side bug that slowed things down and put
  13213. extra load on the network; gets us closer to using the v3 directory
  13214. voting scheme; makes it easier for Tor controllers to use cookie-based
  13215. authentication; and fixes a variety of other bugs.
  13216. o Removed features:
  13217. - Version 1 directories are no longer generated in full. Instead,
  13218. authorities generate and serve "stub" v1 directories that list
  13219. no servers. This will stop Tor versions 0.1.0.x and earlier from
  13220. working, but (for security reasons) nobody should be running those
  13221. versions anyway.
  13222. o Major bugfixes (compilation, 0.2.0.x):
  13223. - Try to fix Win32 compilation again: improve checking for IPv6 types.
  13224. - Try to fix MSVC compilation: build correctly on platforms that do
  13225. not define s6_addr16 or s6_addr32.
  13226. - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
  13227. Zhou.
  13228. o Major bugfixes (stream expiration):
  13229. - Expire not-yet-successful application streams in all cases if
  13230. they've been around longer than SocksTimeout. Right now there are
  13231. some cases where the stream will live forever, demanding a new
  13232. circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
  13233. reported by lodger.
  13234. o Minor features (directory servers):
  13235. - When somebody requests a list of statuses or servers, and we have
  13236. none of those, return a 404 rather than an empty 200.
  13237. o Minor features (directory voting):
  13238. - Store v3 consensus status consensuses on disk, and reload them
  13239. on startup.
  13240. o Minor features (security):
  13241. - Warn about unsafe ControlPort configurations.
  13242. - Refuse to start with certain directory authority keys, and
  13243. encourage people using them to stop.
  13244. o Minor features (controller):
  13245. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  13246. is valid before any authentication has been received. It tells
  13247. a controller what kind of authentication is expected, and what
  13248. protocol is spoken. Implements proposal 119.
  13249. - New config option CookieAuthFile to choose a new location for the
  13250. cookie authentication file, and config option
  13251. CookieAuthFileGroupReadable to make it group-readable.
  13252. o Minor features (unit testing):
  13253. - Add command-line arguments to unit-test executable so that we can
  13254. invoke any chosen test from the command line rather than having
  13255. to run the whole test suite at once; and so that we can turn on
  13256. logging for the unit tests.
  13257. o Minor bugfixes (on 0.1.2.x):
  13258. - If we require CookieAuthentication but we fail to write the
  13259. cookie file, we would warn but not exit, and end up in a state
  13260. where no controller could authenticate. Now we exit.
  13261. - If we require CookieAuthentication, stop generating a new cookie
  13262. every time we change any piece of our config.
  13263. - When loading bandwidth history, do not believe any information in
  13264. the future. Fixes bug 434.
  13265. - When loading entry guard information, do not believe any information
  13266. in the future.
  13267. - When we have our clock set far in the future and generate an
  13268. onion key, then re-set our clock to be correct, we should not stop
  13269. the onion key from getting rotated.
  13270. - Clean up torrc sample config file.
  13271. - Do not automatically run configure from autogen.sh. This
  13272. non-standard behavior tended to annoy people who have built other
  13273. programs.
  13274. o Minor bugfixes (on 0.2.0.x):
  13275. - Fix a bug with AutomapHostsOnResolve that would always cause
  13276. the second request to fail. Bug reported by Kate. Bugfix on
  13277. 0.2.0.3-alpha.
  13278. - Fix a bug in ADDRMAP controller replies that would sometimes
  13279. try to print a NULL. Patch from tup.
  13280. - Read v3 directory authority keys from the right location.
  13281. - Numerous bugfixes to directory voting code.
  13282. Changes in version 0.1.2.16 - 2007-08-01
  13283. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  13284. remote attacker in certain situations to rewrite the user's torrc
  13285. configuration file. This can completely compromise anonymity of users
  13286. in most configurations, including those running the Vidalia bundles,
  13287. TorK, etc. Or worse.
  13288. o Major security fixes:
  13289. - Close immediately after missing authentication on control port;
  13290. do not allow multiple authentication attempts.
  13291. Changes in version 0.2.0.4-alpha - 2007-08-01
  13292. This fourth development snapshot fixes a critical security vulnerability
  13293. for most users, specifically those running Vidalia, TorK, etc. Everybody
  13294. should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
  13295. o Major security fixes:
  13296. - Close immediately after missing authentication on control port;
  13297. do not allow multiple authentication attempts.
  13298. o Major bugfixes (compilation):
  13299. - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
  13300. defined there.
  13301. o Minor features (performance):
  13302. - Be even more aggressive about releasing RAM from small
  13303. empty buffers. Thanks to our free-list code, this shouldn't be too
  13304. performance-intensive.
  13305. - Disable sentinel-based debugging for buffer code: we squashed all
  13306. the bugs that this was supposed to detect a long time ago, and
  13307. now its only effect is to change our buffer sizes from nice
  13308. powers of two (which platform mallocs tend to like) to values
  13309. slightly over powers of two (which make some platform mallocs sad).
  13310. - Log malloc statistics from mallinfo() on platforms where it
  13311. exists.
  13312. Changes in version 0.2.0.3-alpha - 2007-07-29
  13313. This third development snapshot introduces new experimental
  13314. blocking-resistance features and a preliminary version of the v3
  13315. directory voting design, and includes many other smaller features
  13316. and bugfixes.
  13317. o Major features:
  13318. - The first pieces of our "bridge" design for blocking-resistance
  13319. are implemented. People can run bridge directory authorities;
  13320. people can run bridges; and people can configure their Tor clients
  13321. with a set of bridges to use as the first hop into the Tor network.
  13322. See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
  13323. details.
  13324. - Create listener connections before we setuid to the configured
  13325. User and Group. Now non-Windows users can choose port values
  13326. under 1024, start Tor as root, and have Tor bind those ports
  13327. before it changes to another UID. (Windows users could already
  13328. pick these ports.)
  13329. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  13330. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  13331. on "vserver" accounts. (Patch from coderman.)
  13332. - Be even more aggressive about separating local traffic from relayed
  13333. traffic when RelayBandwidthRate is set. (Refines proposal 111.)
  13334. o Major features (experimental):
  13335. - First cut of code for "v3 dir voting": directory authorities will
  13336. vote on a common network status document rather than each publishing
  13337. their own opinion. This code needs more testing and more corner-case
  13338. handling before it's ready for use.
  13339. o Security fixes:
  13340. - Directory authorities now call routers Fast if their bandwidth is
  13341. at least 100KB/s, and consider their bandwidth adequate to be a
  13342. Guard if it is at least 250KB/s, no matter the medians. This fix
  13343. complements proposal 107. [Bugfix on 0.1.2.x]
  13344. - Directory authorities now never mark more than 3 servers per IP as
  13345. Valid and Running. (Implements proposal 109, by Kevin Bauer and
  13346. Damon McCoy.)
  13347. - Minor change to organizationName and commonName generation
  13348. procedures in TLS certificates during Tor handshakes, to invalidate
  13349. some earlier censorware approaches. This is not a long-term
  13350. solution, but applying it will give us a bit of time to look into
  13351. the epidemiology of countermeasures as they spread.
  13352. o Major bugfixes (directory):
  13353. - Rewrite directory tokenization code to never run off the end of
  13354. a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
  13355. o Minor features (controller):
  13356. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  13357. match requests to applications. (Patch from Robert Hogan.)
  13358. - Report address and port correctly on connections to DNSPort. (Patch
  13359. from Robert Hogan.)
  13360. - Add a RESOLVE command to launch hostname lookups. (Original patch
  13361. from Robert Hogan.)
  13362. - Add GETINFO status/enough-dir-info to let controllers tell whether
  13363. Tor has downloaded sufficient directory information. (Patch
  13364. from Tup.)
  13365. - You can now use the ControlSocket option to tell Tor to listen for
  13366. controller connections on Unix domain sockets on systems that
  13367. support them. (Patch from Peter Palfrader.)
  13368. - STREAM NEW events are generated for DNSPort requests and for
  13369. tunneled directory connections. (Patch from Robert Hogan.)
  13370. - New "GETINFO address-mappings/*" command to get address mappings
  13371. with expiry information. "addr-mappings/*" is now deprecated.
  13372. (Patch from Tup.)
  13373. o Minor features (misc):
  13374. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  13375. from croup.)
  13376. - The tor-gencert tool for v3 directory authorities now creates all
  13377. files as readable to the file creator only, and write-protects
  13378. the authority identity key.
  13379. - When dumping memory usage, list bytes used in buffer memory
  13380. free-lists.
  13381. - When running with dmalloc, dump more stats on hup and on exit.
  13382. - Directory authorities now fail quickly and (relatively) harmlessly
  13383. if they generate a network status document that is somehow
  13384. malformed.
  13385. o Traffic load balancing improvements:
  13386. - If exit bandwidth ever exceeds one third of total bandwidth, then
  13387. use the correct formula to weight exit nodes when choosing paths.
  13388. (Based on patch from Mike Perry.)
  13389. - Choose perfectly fairly among routers when choosing by bandwidth and
  13390. weighting by fraction of bandwidth provided by exits. Previously, we
  13391. would choose with only approximate fairness, and correct ourselves
  13392. if we ran off the end of the list. [Bugfix on 0.1.2.x]
  13393. o Performance improvements:
  13394. - Be more aggressive with freeing buffer RAM or putting it on the
  13395. memory free lists.
  13396. - Use Critical Sections rather than Mutexes for synchronizing threads
  13397. on win32; Mutexes are heavier-weight, and designed for synchronizing
  13398. between processes.
  13399. o Deprecated and removed features:
  13400. - RedirectExits is now deprecated.
  13401. - Stop allowing address masks that do not correspond to bit prefixes.
  13402. We have warned about these for a really long time; now it's time
  13403. to reject them. (Patch from croup.)
  13404. o Minor bugfixes (directory):
  13405. - Fix another crash bug related to extra-info caching. (Bug found by
  13406. Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
  13407. - Directories no longer return a "304 not modified" when they don't
  13408. have the networkstatus the client asked for. Also fix a memory
  13409. leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
  13410. - We had accidentally labelled 0.1.2.x directory servers as not
  13411. suitable for begin_dir requests, and had labelled no directory
  13412. servers as suitable for uploading extra-info documents. [Bugfix
  13413. on 0.2.0.1-alpha]
  13414. o Minor bugfixes (dns):
  13415. - Fix a crash when DNSPort is set more than once. (Patch from Robert
  13416. Hogan.) [Bugfix on 0.2.0.2-alpha]
  13417. - Add DNSPort connections to the global connection list, so that we
  13418. can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
  13419. on 0.2.0.2-alpha]
  13420. - Fix a dangling reference that could lead to a crash when DNSPort is
  13421. changed or closed (Patch from Robert Hogan.) [Bugfix on
  13422. 0.2.0.2-alpha]
  13423. o Minor bugfixes (controller):
  13424. - Provide DNS expiry times in GMT, not in local time. For backward
  13425. compatibility, ADDRMAP events only provide GMT expiry in an extended
  13426. field. "GETINFO address-mappings" always does the right thing.
  13427. - Use CRLF line endings properly in NS events.
  13428. - Terminate multi-line control events properly. (Original patch
  13429. from tup.) [Bugfix on 0.1.2.x-alpha]
  13430. - Do not include spaces in SOURCE_ADDR fields in STREAM
  13431. events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
  13432. Changes in version 0.1.2.15 - 2007-07-17
  13433. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  13434. problems, fixes compilation on BSD, and fixes a variety of other
  13435. bugs. Everybody should upgrade.
  13436. o Major bugfixes (compilation):
  13437. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  13438. o Major bugfixes (crashes):
  13439. - Try even harder not to dereference the first character after
  13440. an mmap(). Reported by lodger.
  13441. - Fix a crash bug in directory authorities when we re-number the
  13442. routerlist while inserting a new router.
  13443. - When the cached-routers file is an even multiple of the page size,
  13444. don't run off the end and crash. (Fixes bug 455; based on idea
  13445. from croup.)
  13446. - Fix eventdns.c behavior on Solaris: It is critical to include
  13447. orconfig.h _before_ sys/types.h, so that we can get the expected
  13448. definition of _FILE_OFFSET_BITS.
  13449. o Major bugfixes (security):
  13450. - Fix a possible buffer overrun when using BSD natd support. Bug
  13451. found by croup.
  13452. - When sending destroy cells from a circuit's origin, don't include
  13453. the reason for tearing down the circuit. The spec says we didn't,
  13454. and now we actually don't. Reported by lodger.
  13455. - Keep streamids from different exits on a circuit separate. This
  13456. bug may have allowed other routers on a given circuit to inject
  13457. cells into streams. Reported by lodger; fixes bug 446.
  13458. - If there's a never-before-connected-to guard node in our list,
  13459. never choose any guards past it. This way we don't expand our
  13460. guard list unless we need to.
  13461. o Minor bugfixes (guard nodes):
  13462. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  13463. don't get overused as guards.
  13464. o Minor bugfixes (directory):
  13465. - Correctly count the number of authorities that recommend each
  13466. version. Previously, we were under-counting by 1.
  13467. - Fix a potential crash bug when we load many server descriptors at
  13468. once and some of them make others of them obsolete. Fixes bug 458.
  13469. o Minor bugfixes (hidden services):
  13470. - Stop tearing down the whole circuit when the user asks for a
  13471. connection to a port that the hidden service didn't configure.
  13472. Resolves bug 444.
  13473. o Minor bugfixes (misc):
  13474. - On Windows, we were preventing other processes from reading
  13475. cached-routers while Tor was running. Reported by janbar.
  13476. - Fix a possible (but very unlikely) bug in picking routers by
  13477. bandwidth. Add a log message to confirm that it is in fact
  13478. unlikely. Patch from lodger.
  13479. - Backport a couple of memory leak fixes.
  13480. - Backport miscellaneous cosmetic bugfixes.
  13481. Changes in version 0.2.0.2-alpha - 2007-06-02
  13482. o Major bugfixes on 0.2.0.1-alpha:
  13483. - Fix an assertion failure related to servers without extra-info digests.
  13484. Resolves bugs 441 and 442.
  13485. o Minor features (directory):
  13486. - Support "If-Modified-Since" when answering HTTP requests for
  13487. directories, running-routers documents, and network-status documents.
  13488. (There's no need to support it for router descriptors, since those
  13489. are downloaded by descriptor digest.)
  13490. o Minor build issues:
  13491. - Clear up some MIPSPro compiler warnings.
  13492. - When building from a tarball on a machine that happens to have SVK
  13493. installed, report the micro-revision as whatever version existed
  13494. in the tarball, not as "x".
  13495. Changes in version 0.2.0.1-alpha - 2007-06-01
  13496. This early development snapshot provides new features for people running
  13497. Tor as both a client and a server (check out the new RelayBandwidth
  13498. config options); lets Tor run as a DNS proxy; and generally moves us
  13499. forward on a lot of fronts.
  13500. o Major features, server usability:
  13501. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  13502. a separate set of token buckets for relayed traffic. Right now
  13503. relayed traffic is defined as answers to directory requests, and
  13504. OR connections that don't have any local circuits on them.
  13505. o Major features, client usability:
  13506. - A client-side DNS proxy feature to replace the need for
  13507. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  13508. for DNS requests on port 9999, use the Tor network to resolve them
  13509. anonymously, and send the reply back like a regular DNS server.
  13510. The code still only implements a subset of DNS.
  13511. - Make PreferTunneledDirConns and TunnelDirConns work even when
  13512. we have no cached directory info. This means Tor clients can now
  13513. do all of their connections protected by TLS.
  13514. o Major features, performance and efficiency:
  13515. - Directory authorities accept and serve "extra info" documents for
  13516. routers. These documents contain fields from router descriptors
  13517. that aren't usually needed, and that use a lot of excess
  13518. bandwidth. Once these fields are removed from router descriptors,
  13519. the bandwidth savings should be about 60%. [Partially implements
  13520. proposal 104.]
  13521. - Servers upload extra-info documents to any authority that accepts
  13522. them. Authorities (and caches that have been configured to download
  13523. extra-info documents) download them as needed. [Partially implements
  13524. proposal 104.]
  13525. - Change the way that Tor buffers data that it is waiting to write.
  13526. Instead of queueing data cells in an enormous ring buffer for each
  13527. client->OR or OR->OR connection, we now queue cells on a separate
  13528. queue for each circuit. This lets us use less slack memory, and
  13529. will eventually let us be smarter about prioritizing different kinds
  13530. of traffic.
  13531. - Use memory pools to allocate cells with better speed and memory
  13532. efficiency, especially on platforms where malloc() is inefficient.
  13533. - Stop reading on edge connections when their corresponding circuit
  13534. buffers are full; start again as the circuits empty out.
  13535. o Major features, other:
  13536. - Add an HSAuthorityRecordStats option that hidden service authorities
  13537. can use to track statistics of overall hidden service usage without
  13538. logging information that would be very useful to an attacker.
  13539. - Start work implementing multi-level keys for directory authorities:
  13540. Add a standalone tool to generate key certificates. (Proposal 103.)
  13541. o Security fixes:
  13542. - Directory authorities now call routers Stable if they have an
  13543. uptime of at least 30 days, even if that's not the median uptime
  13544. in the network. Implements proposal 107, suggested by Kevin Bauer
  13545. and Damon McCoy.
  13546. o Minor fixes (resource management):
  13547. - Count the number of open sockets separately from the number
  13548. of active connection_t objects. This will let us avoid underusing
  13549. our allocated connection limit.
  13550. - We no longer use socket pairs to link an edge connection to an
  13551. anonymous directory connection or a DirPort test connection.
  13552. Instead, we track the link internally and transfer the data
  13553. in-process. This saves two sockets per "linked" connection (at the
  13554. client and at the server), and avoids the nasty Windows socketpair()
  13555. workaround.
  13556. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  13557. for every single inactive connection_t. Free items from the
  13558. 4k/16k-buffer free lists when they haven't been used for a while.
  13559. o Minor features (build):
  13560. - Make autoconf search for libevent, openssl, and zlib consistently.
  13561. - Update deprecated macros in configure.in.
  13562. - When warning about missing headers, tell the user to let us
  13563. know if the compile succeeds anyway, so we can downgrade the
  13564. warning.
  13565. - Include the current subversion revision as part of the version
  13566. string: either fetch it directly if we're in an SVN checkout, do
  13567. some magic to guess it if we're in an SVK checkout, or use
  13568. the last-detected version if we're building from a .tar.gz.
  13569. Use this version consistently in log messages.
  13570. o Minor features (logging):
  13571. - Always prepend "Bug: " to any log message about a bug.
  13572. - Put a platform string (e.g. "Linux i686") in the startup log
  13573. message, so when people paste just their logs, we know if it's
  13574. OpenBSD or Windows or what.
  13575. - When logging memory usage, break down memory used in buffers by
  13576. buffer type.
  13577. o Minor features (directory system):
  13578. - New config option V2AuthoritativeDirectory that all directory
  13579. authorities should set. This will let future authorities choose
  13580. not to serve V2 directory information.
  13581. - Directory authorities allow multiple router descriptors and/or extra
  13582. info documents to be uploaded in a single go. This will make
  13583. implementing proposal 104 simpler.
  13584. o Minor features (controller):
  13585. - Add a new config option __DisablePredictedCircuits designed for
  13586. use by the controller, when we don't want Tor to build any circuits
  13587. preemptively.
  13588. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  13589. so we can exit from the middle of the circuit.
  13590. - Implement "getinfo status/circuit-established".
  13591. - Implement "getinfo status/version/..." so a controller can tell
  13592. whether the current version is recommended, and whether any versions
  13593. are good, and how many authorities agree. (Patch from shibz.)
  13594. o Minor features (hidden services):
  13595. - Allow multiple HiddenServicePort directives with the same virtual
  13596. port; when they occur, the user is sent round-robin to one
  13597. of the target ports chosen at random. Partially fixes bug 393 by
  13598. adding limited ad-hoc round-robining.
  13599. o Minor features (other):
  13600. - More unit tests.
  13601. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  13602. resolve request for hosts matching a given pattern causes Tor to
  13603. generate an internal virtual address mapping for that host. This
  13604. allows DNSPort to work sensibly with hidden service users. By
  13605. default, .exit and .onion addresses are remapped; the list of
  13606. patterns can be reconfigured with AutomapHostsSuffixes.
  13607. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  13608. address. Thanks to the AutomapHostsOnResolve option, this is no
  13609. longer a completely silly thing to do.
  13610. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  13611. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  13612. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  13613. minus 1 byte: the actual maximum declared bandwidth.
  13614. o Removed features:
  13615. - Removed support for the old binary "version 0" controller protocol.
  13616. This has been deprecated since 0.1.1, and warnings have been issued
  13617. since 0.1.2. When we encounter a v0 control message, we now send
  13618. back an error and close the connection.
  13619. - Remove the old "dns worker" server DNS code: it hasn't been default
  13620. since 0.1.2.2-alpha, and all the servers seem to be using the new
  13621. eventdns code.
  13622. o Minor bugfixes (portability):
  13623. - Even though Windows is equally happy with / and \ as path separators,
  13624. try to use \ consistently on Windows and / consistently on Unix: it
  13625. makes the log messages nicer.
  13626. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  13627. - Read resolv.conf files correctly on platforms where read() returns
  13628. partial results on small file reads.
  13629. o Minor bugfixes (directory):
  13630. - Correctly enforce that elements of directory objects do not appear
  13631. more often than they are allowed to appear.
  13632. - When we are reporting the DirServer line we just parsed, we were
  13633. logging the second stanza of the key fingerprint, not the first.
  13634. o Minor bugfixes (logging):
  13635. - When we hit an EOF on a log (probably because we're shutting down),
  13636. don't try to remove the log from the list: just mark it as
  13637. unusable. (Bulletproofs against bug 222.)
  13638. o Minor bugfixes (other):
  13639. - In the exitlist script, only consider the most recently published
  13640. server descriptor for each server. Also, when the user requests
  13641. a list of servers that _reject_ connections to a given address,
  13642. explicitly exclude the IPs that also have servers that accept
  13643. connections to that address. (Resolves bug 405.)
  13644. - Stop allowing hibernating servers to be "stable" or "fast".
  13645. - On Windows, we were preventing other processes from reading
  13646. cached-routers while Tor was running. (Reported by janbar)
  13647. - Make the NodeFamilies config option work. (Reported by
  13648. lodger -- it has never actually worked, even though we added it
  13649. in Oct 2004.)
  13650. - Check return values from pthread_mutex functions.
  13651. - Don't save non-general-purpose router descriptors to the disk cache,
  13652. because we have no way of remembering what their purpose was when
  13653. we restart.
  13654. - Add even more asserts to hunt down bug 417.
  13655. - Build without verbose warnings even on (not-yet-released) gcc 4.2.
  13656. - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
  13657. Add a log message to confirm that it is in fact unlikely.
  13658. o Minor bugfixes (controller):
  13659. - Make 'getinfo fingerprint' return a 551 error if we're not a
  13660. server, so we match what the control spec claims we do. Reported
  13661. by daejees.
  13662. - Fix a typo in an error message when extendcircuit fails that
  13663. caused us to not follow the \r\n-based delimiter protocol. Reported
  13664. by daejees.
  13665. o Code simplifications and refactoring:
  13666. - Stop passing around circuit_t and crypt_path_t pointers that are
  13667. implicit in other procedure arguments.
  13668. - Drop the old code to choke directory connections when the
  13669. corresponding OR connections got full: thanks to the cell queue
  13670. feature, OR conns don't get full any more.
  13671. - Make dns_resolve() handle attaching connections to circuits
  13672. properly, so the caller doesn't have to.
  13673. - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
  13674. - Keep the connection array as a dynamic smartlist_t, rather than as
  13675. a fixed-sized array. This is important, as the number of connections
  13676. is becoming increasingly decoupled from the number of sockets.
  13677. Changes in version 0.1.2.14 - 2007-05-25
  13678. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  13679. change especially affects those who serve or use hidden services),
  13680. and fixes several other crash- and security-related bugs.
  13681. o Directory authority changes:
  13682. - Two directory authorities (moria1 and moria2) just moved to new
  13683. IP addresses. This change will particularly affect those who serve
  13684. or use hidden services.
  13685. o Major bugfixes (crashes):
  13686. - If a directory server runs out of space in the connection table
  13687. as it's processing a begin_dir request, it will free the exit stream
  13688. but leave it attached to the circuit, leading to unpredictable
  13689. behavior. (Reported by seeess, fixes bug 425.)
  13690. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  13691. to corrupt memory under some really unlikely scenarios.
  13692. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  13693. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  13694. by lodger.)
  13695. o Major bugfixes (security):
  13696. - When choosing an entry guard for a circuit, avoid using guards
  13697. that are in the same family as the chosen exit -- not just guards
  13698. that are exactly the chosen exit. (Reported by lodger.)
  13699. o Major bugfixes (resource management):
  13700. - If a directory authority is down, skip it when deciding where to get
  13701. networkstatus objects or descriptors. Otherwise we keep asking
  13702. every 10 seconds forever. Fixes bug 384.
  13703. - Count it as a failure if we fetch a valid network-status but we
  13704. don't want to keep it. Otherwise we'll keep fetching it and keep
  13705. not wanting to keep it. Fixes part of bug 422.
  13706. - If all of our dirservers have given us bad or no networkstatuses
  13707. lately, then stop hammering them once per minute even when we
  13708. think they're failed. Fixes another part of bug 422.
  13709. o Minor bugfixes:
  13710. - Actually set the purpose correctly for descriptors inserted with
  13711. purpose=controller.
  13712. - When we have k non-v2 authorities in our DirServer config,
  13713. we ignored the last k authorities in the list when updating our
  13714. network-statuses.
  13715. - Correctly back-off from requesting router descriptors that we are
  13716. having a hard time downloading.
  13717. - Read resolv.conf files correctly on platforms where read() returns
  13718. partial results on small file reads.
  13719. - Don't rebuild the entire router store every time we get 32K of
  13720. routers: rebuild it when the journal gets very large, or when
  13721. the gaps in the store get very large.
  13722. o Minor features:
  13723. - When routers publish SVN revisions in their router descriptors,
  13724. authorities now include those versions correctly in networkstatus
  13725. documents.
  13726. - Warn when using a version of libevent before 1.3b to run a server on
  13727. OSX or BSD: these versions interact badly with userspace threads.
  13728. Changes in version 0.1.2.13 - 2007-04-24
  13729. This release features some major anonymity fixes, such as safer path
  13730. selection; better client performance; faster bootstrapping, better
  13731. address detection, and better DNS support for servers; write limiting as
  13732. well as read limiting to make servers easier to run; and a huge pile of
  13733. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  13734. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  13735. of the Freenode IRC network, remembering his patience and vision for
  13736. free speech on the Internet.
  13737. o Minor fixes:
  13738. - Fix a memory leak when we ask for "all" networkstatuses and we
  13739. get one we don't recognize.
  13740. - Add more asserts to hunt down bug 417.
  13741. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  13742. Changes in version 0.1.2.12-rc - 2007-03-16
  13743. o Major bugfixes:
  13744. - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
  13745. directory information requested inside Tor connections (i.e. via
  13746. begin_dir cells). It only triggered when the same connection was
  13747. serving other data at the same time. Reported by seeess.
  13748. o Minor bugfixes:
  13749. - When creating a circuit via the controller, send a 'launched'
  13750. event when we're done, so we follow the spec better.
  13751. Changes in version 0.1.2.11-rc - 2007-03-15
  13752. o Minor bugfixes (controller), reported by daejees:
  13753. - Correct the control spec to match how the code actually responds
  13754. to 'getinfo addr-mappings/*'.
  13755. - The control spec described a GUARDS event, but the code
  13756. implemented a GUARD event. Standardize on GUARD, but let people
  13757. ask for GUARDS too.
  13758. Changes in version 0.1.2.10-rc - 2007-03-07
  13759. o Major bugfixes (Windows):
  13760. - Do not load the NT services library functions (which may not exist)
  13761. just to detect if we're a service trying to shut down. Now we run
  13762. on Win98 and friends again.
  13763. o Minor bugfixes (other):
  13764. - Clarify a couple of log messages.
  13765. - Fix a misleading socks5 error number.
  13766. Changes in version 0.1.2.9-rc - 2007-03-02
  13767. o Major bugfixes (Windows):
  13768. - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
  13769. of the usual GCC "%llu". This prevents a bug when saving 64-bit
  13770. int configuration values: the high-order 32 bits would get
  13771. truncated. In particular, we were being bitten by the default
  13772. MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
  13773. and maybe also bug 397.)
  13774. o Minor bugfixes (performance):
  13775. - Use OpenSSL's AES implementation on platforms where it's faster.
  13776. This could save us as much as 10% CPU usage.
  13777. o Minor bugfixes (server):
  13778. - Do not rotate onion key immediately after setting it for the first
  13779. time.
  13780. o Minor bugfixes (directory authorities):
  13781. - Stop calling servers that have been hibernating for a long time
  13782. "stable". Also, stop letting hibernating or obsolete servers affect
  13783. uptime and bandwidth cutoffs.
  13784. - Stop listing hibernating servers in the v1 directory.
  13785. o Minor bugfixes (hidden services):
  13786. - Upload hidden service descriptors slightly less often, to reduce
  13787. load on authorities.
  13788. o Minor bugfixes (other):
  13789. - Fix an assert that could trigger if a controller quickly set then
  13790. cleared EntryNodes. Bug found by Udo van den Heuvel.
  13791. - On architectures where sizeof(int)>4, still clamp declarable bandwidth
  13792. to INT32_MAX.
  13793. - Fix a potential race condition in the rpm installer. Found by
  13794. Stefan Nordhausen.
  13795. - Try to fix eventdns warnings once and for all: do not treat a dns rcode
  13796. of 2 as indicating that the server is completely bad; it sometimes
  13797. means that the server is just bad for the request in question. (may fix
  13798. the last of bug 326.)
  13799. - Disable encrypted directory connections when we don't have a server
  13800. descriptor for the destination. We'll get this working again in
  13801. the 0.2.0 branch.
  13802. Changes in version 0.1.2.8-beta - 2007-02-26
  13803. o Major bugfixes (crashes):
  13804. - Stop crashing when the controller asks us to resetconf more than
  13805. one config option at once. (Vidalia 0.0.11 does this.)
  13806. - Fix a crash that happened on Win98 when we're given command-line
  13807. arguments: don't try to load NT service functions from advapi32.dll
  13808. except when we need them. (Bug introduced in 0.1.2.7-alpha;
  13809. resolves bug 389.)
  13810. - Fix a longstanding obscure crash bug that could occur when
  13811. we run out of DNS worker processes. (Resolves bug 390.)
  13812. o Major bugfixes (hidden services):
  13813. - Correctly detect whether hidden service descriptor downloads are
  13814. in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
  13815. o Major bugfixes (accounting):
  13816. - When we start during an accounting interval before it's time to wake
  13817. up, remember to wake up at the correct time. (May fix bug 342.)
  13818. o Minor bugfixes (controller):
  13819. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  13820. clear the corresponding on_circuit variable, and remember later
  13821. that we don't need to send a redundant CLOSED event. Resolves part
  13822. 3 of bug 367.
  13823. - Report events where a resolve succeeded or where we got a socks
  13824. protocol error correctly, rather than calling both of them
  13825. "INTERNAL".
  13826. - Change reported stream target addresses to IP consistently when
  13827. we finally get the IP from an exit node.
  13828. - Send log messages to the controller even if they happen to be very
  13829. long.
  13830. o Minor bugfixes (other):
  13831. - Display correct results when reporting which versions are
  13832. recommended, and how recommended they are. (Resolves bug 383.)
  13833. - Improve our estimates for directory bandwidth to be less random:
  13834. guess that an unrecognized directory will have the average bandwidth
  13835. from all known directories, not that it will have the average
  13836. bandwidth from those directories earlier than it on the list.
  13837. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  13838. and hup, stop triggering an assert based on an empty onion_key.
  13839. - On platforms with no working mmap() equivalent, don't warn the
  13840. user when cached-routers doesn't exist.
  13841. - Warn the user when mmap() [or its equivalent] fails for some reason
  13842. other than file-not-found.
  13843. - Don't warn the user when cached-routers.new doesn't exist: that's
  13844. perfectly fine when starting up for the first time.
  13845. - When EntryNodes are configured, rebuild the guard list to contain,
  13846. in order: the EntryNodes that were guards before; the rest of the
  13847. EntryNodes; the nodes that were guards before.
  13848. - Mask out all signals in sub-threads; only the libevent signal
  13849. handler should be processing them. This should prevent some crashes
  13850. on some machines using pthreads. (Patch from coderman.)
  13851. - Fix switched arguments on memset in the implementation of
  13852. tor_munmap() for systems with no mmap() call.
  13853. - When Tor receives a router descriptor that it asked for, but
  13854. no longer wants (because it has received fresh networkstatuses
  13855. in the meantime), do not warn the user. Cache the descriptor if
  13856. we're a cache; drop it if we aren't.
  13857. - Make earlier entry guards _really_ get retried when the network
  13858. comes back online.
  13859. - On a malformed DNS reply, always give an error to the corresponding
  13860. DNS request.
  13861. - Build with recent libevents on platforms that do not define the
  13862. nonstandard types "u_int8_t" and friends.
  13863. o Minor features (controller):
  13864. - Warn the user when an application uses the obsolete binary v0
  13865. control protocol. We're planning to remove support for it during
  13866. the next development series, so it's good to give people some
  13867. advance warning.
  13868. - Add STREAM_BW events to report per-entry-stream bandwidth
  13869. use. (Patch from Robert Hogan.)
  13870. - Rate-limit SIGNEWNYM signals in response to controllers that
  13871. impolitely generate them for every single stream. (Patch from
  13872. mwenge; closes bug 394.)
  13873. - Make REMAP stream events have a SOURCE (cache or exit), and
  13874. make them generated in every case where we get a successful
  13875. connected or resolved cell.
  13876. o Minor bugfixes (performance):
  13877. - Call router_have_min_dir_info half as often. (This is showing up in
  13878. some profiles, but not others.)
  13879. - When using GCC, make log_debug never get called at all, and its
  13880. arguments never get evaluated, when no debug logs are configured.
  13881. (This is showing up in some profiles, but not others.)
  13882. o Minor features:
  13883. - Remove some never-implemented options. Mark PathlenCoinWeight as
  13884. obsolete.
  13885. - Implement proposal 106: Stop requiring clients to have well-formed
  13886. certificates; stop checking nicknames in certificates. (Clients
  13887. have certificates so that they can look like Tor servers, but in
  13888. the future we might want to allow them to look like regular TLS
  13889. clients instead. Nicknames in certificates serve no purpose other
  13890. than making our protocol easier to recognize on the wire.)
  13891. - Revise messages on handshake failure again to be even more clear about
  13892. which are incoming connections and which are outgoing.
  13893. - Discard any v1 directory info that's over 1 month old (for
  13894. directories) or over 1 week old (for running-routers lists).
  13895. - Do not warn when individual nodes in the configuration's EntryNodes,
  13896. ExitNodes, etc are down: warn only when all possible nodes
  13897. are down. (Fixes bug 348.)
  13898. - Always remove expired routers and networkstatus docs before checking
  13899. whether we have enough information to build circuits. (Fixes
  13900. bug 373.)
  13901. - Put a lower-bound on MaxAdvertisedBandwidth.
  13902. Changes in version 0.1.2.7-alpha - 2007-02-06
  13903. o Major bugfixes (rate limiting):
  13904. - Servers decline directory requests much more aggressively when
  13905. they're low on bandwidth. Otherwise they end up queueing more and
  13906. more directory responses, which can't be good for latency.
  13907. - But never refuse directory requests from local addresses.
  13908. - Fix a memory leak when sending a 503 response for a networkstatus
  13909. request.
  13910. - Be willing to read or write on local connections (e.g. controller
  13911. connections) even when the global rate limiting buckets are empty.
  13912. - If our system clock jumps back in time, don't publish a negative
  13913. uptime in the descriptor. Also, don't let the global rate limiting
  13914. buckets go absurdly negative.
  13915. - Flush local controller connection buffers periodically as we're
  13916. writing to them, so we avoid queueing 4+ megabytes of data before
  13917. trying to flush.
  13918. o Major bugfixes (NT services):
  13919. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  13920. command-line flag so that admins can override the default by saying
  13921. "tor --service install --user "SomeUser"". This will not affect
  13922. existing installed services. Also, warn the user that the service
  13923. will look for its configuration file in the service user's
  13924. %appdata% directory. (We can't do the 'hardwire the user's appdata
  13925. directory' trick any more, since we may not have read access to that
  13926. directory.)
  13927. o Major bugfixes (other):
  13928. - Previously, we would cache up to 16 old networkstatus documents
  13929. indefinitely, if they came from nontrusted authorities. Now we
  13930. discard them if they are more than 10 days old.
  13931. - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
  13932. Del Vecchio).
  13933. - Detect and reject malformed DNS responses containing circular
  13934. pointer loops.
  13935. - If exits are rare enough that we're not marking exits as guards,
  13936. ignore exit bandwidth when we're deciding the required bandwidth
  13937. to become a guard.
  13938. - When we're handling a directory connection tunneled over Tor,
  13939. don't fill up internal memory buffers with all the data we want
  13940. to tunnel; instead, only add it if the OR connection that will
  13941. eventually receive it has some room for it. (This can lead to
  13942. slowdowns in tunneled dir connections; a better solution will have
  13943. to wait for 0.2.0.)
  13944. o Minor bugfixes (dns):
  13945. - Add some defensive programming to eventdns.c in an attempt to catch
  13946. possible memory-stomping bugs.
  13947. - Detect and reject DNS replies containing IPv4 or IPv6 records with
  13948. an incorrect number of bytes. (Previously, we would ignore the
  13949. extra bytes.)
  13950. - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
  13951. in the correct order, and doesn't crash.
  13952. - Free memory held in recently-completed DNS lookup attempts on exit.
  13953. This was not a memory leak, but may have been hiding memory leaks.
  13954. - Handle TTL values correctly on reverse DNS lookups.
  13955. - Treat failure to parse resolv.conf as an error.
  13956. o Minor bugfixes (other):
  13957. - Fix crash with "tor --list-fingerprint" (reported by seeess).
  13958. - When computing clock skew from directory HTTP headers, consider what
  13959. time it was when we finished asking for the directory, not what
  13960. time it is now.
  13961. - Expire socks connections if they spend too long waiting for the
  13962. handshake to finish. Previously we would let them sit around for
  13963. days, if the connecting application didn't close them either.
  13964. - And if the socks handshake hasn't started, don't send a
  13965. "DNS resolve socks failed" handshake reply; just close it.
  13966. - Stop using C functions that OpenBSD's linker doesn't like.
  13967. - Don't launch requests for descriptors unless we have networkstatuses
  13968. from at least half of the authorities. This delays the first
  13969. download slightly under pathological circumstances, but can prevent
  13970. us from downloading a bunch of descriptors we don't need.
  13971. - Do not log IPs with TLS failures for incoming TLS
  13972. connections. (Fixes bug 382.)
  13973. - If the user asks to use invalid exit nodes, be willing to use
  13974. unstable ones.
  13975. - Stop using the reserved ac_cv namespace in our configure script.
  13976. - Call stat() slightly less often; use fstat() when possible.
  13977. - Refactor the way we handle pending circuits when an OR connection
  13978. completes or fails, in an attempt to fix a rare crash bug.
  13979. - Only rewrite a conn's address based on X-Forwarded-For: headers
  13980. if it's a parseable public IP address; and stop adding extra quotes
  13981. to the resulting address.
  13982. o Major features:
  13983. - Weight directory requests by advertised bandwidth. Now we can
  13984. let servers enable write limiting but still allow most clients to
  13985. succeed at their directory requests. (We still ignore weights when
  13986. choosing a directory authority; I hope this is a feature.)
  13987. o Minor features:
  13988. - Create a new file ReleaseNotes which was the old ChangeLog. The
  13989. new ChangeLog file now includes the summaries for all development
  13990. versions too.
  13991. - Check for addresses with invalid characters at the exit as well
  13992. as at the client, and warn less verbosely when they fail. You can
  13993. override this by setting ServerDNSAllowNonRFC953Addresses to 1.
  13994. - Adapt a patch from goodell to let the contrib/exitlist script
  13995. take arguments rather than require direct editing.
  13996. - Inform the server operator when we decide not to advertise a
  13997. DirPort due to AccountingMax enabled or a low BandwidthRate. It
  13998. was confusing Zax, so now we're hopefully more helpful.
  13999. - Bring us one step closer to being able to establish an encrypted
  14000. directory tunnel without knowing a descriptor first. Still not
  14001. ready yet. As part of the change, now assume we can use a
  14002. create_fast cell if we don't know anything about a router.
  14003. - Allow exit nodes to use nameservers running on ports other than 53.
  14004. - Servers now cache reverse DNS replies.
  14005. - Add an --ignore-missing-torrc command-line option so that we can
  14006. get the "use sensible defaults if the configuration file doesn't
  14007. exist" behavior even when specifying a torrc location on the command
  14008. line.
  14009. o Minor features (controller):
  14010. - Track reasons for OR connection failure; make these reasons
  14011. available via the controller interface. (Patch from Mike Perry.)
  14012. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  14013. can learn when clients are sending malformed hostnames to Tor.
  14014. - Clean up documentation for controller status events.
  14015. - Add a REMAP status to stream events to note that a stream's
  14016. address has changed because of a cached address or a MapAddress
  14017. directive.
  14018. Changes in version 0.1.2.6-alpha - 2007-01-09
  14019. o Major bugfixes:
  14020. - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
  14021. connection handles more than 4 gigs in either direction, we crash.
  14022. - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
  14023. advertised exit node, somebody might try to exit from us when
  14024. we're bootstrapping and before we've built our descriptor yet.
  14025. Refuse the connection rather than crashing.
  14026. o Minor bugfixes:
  14027. - Warn if we (as a server) find that we've resolved an address that we
  14028. weren't planning to resolve.
  14029. - Warn that using select() on any libevent version before 1.1 will be
  14030. unnecessarily slow (even for select()).
  14031. - Flush ERR-level controller status events just like we currently
  14032. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  14033. the controller from learning about current events.
  14034. o Minor features (more controller status events):
  14035. - Implement EXTERNAL_ADDRESS server status event so controllers can
  14036. learn when our address changes.
  14037. - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
  14038. can learn when directories reject our descriptor.
  14039. - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
  14040. can learn when a client application is speaking a non-socks protocol
  14041. to our SocksPort.
  14042. - Implement DANGEROUS_SOCKS client status event so controllers
  14043. can learn when a client application is leaking DNS addresses.
  14044. - Implement BUG general status event so controllers can learn when
  14045. Tor is unhappy about its internal invariants.
  14046. - Implement CLOCK_SKEW general status event so controllers can learn
  14047. when Tor thinks the system clock is set incorrectly.
  14048. - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
  14049. server status events so controllers can learn when their descriptors
  14050. are accepted by a directory.
  14051. - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
  14052. server status events so controllers can learn about Tor's progress in
  14053. deciding whether it's reachable from the outside.
  14054. - Implement BAD_LIBEVENT general status event so controllers can learn
  14055. when we have a version/method combination in libevent that needs to
  14056. be changed.
  14057. - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
  14058. and DNS_USELESS server status events so controllers can learn
  14059. about changes to DNS server status.
  14060. o Minor features (directory):
  14061. - Authorities no longer recommend exits as guards if this would shift
  14062. too much load to the exit nodes.
  14063. Changes in version 0.1.2.5-alpha - 2007-01-06
  14064. o Major features:
  14065. - Enable write limiting as well as read limiting. Now we sacrifice
  14066. capacity if we're pushing out lots of directory traffic, rather
  14067. than overrunning the user's intended bandwidth limits.
  14068. - Include TLS overhead when counting bandwidth usage; previously, we
  14069. would count only the bytes sent over TLS, but not the bytes used
  14070. to send them.
  14071. - Support running the Tor service with a torrc not in the same
  14072. directory as tor.exe and default to using the torrc located in
  14073. the %appdata%\Tor\ of the user who installed the service. Patch
  14074. from Matt Edman.
  14075. - Servers now check for the case when common DNS requests are going to
  14076. wildcarded addresses (i.e. all getting the same answer), and change
  14077. their exit policy to reject *:* if it's happening.
  14078. - Implement BEGIN_DIR cells, so we can connect to the directory
  14079. server via TLS to do encrypted directory requests rather than
  14080. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  14081. config options if you like.
  14082. o Minor features (config and docs):
  14083. - Start using the state file to store bandwidth accounting data:
  14084. the bw_accounting file is now obsolete. We'll keep generating it
  14085. for a while for people who are still using 0.1.2.4-alpha.
  14086. - Try to batch changes to the state file so that we do as few
  14087. disk writes as possible while still storing important things in
  14088. a timely fashion.
  14089. - The state file and the bw_accounting file get saved less often when
  14090. the AvoidDiskWrites config option is set.
  14091. - Make PIDFile work on Windows (untested).
  14092. - Add internal descriptions for a bunch of configuration options:
  14093. accessible via controller interface and in comments in saved
  14094. options files.
  14095. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  14096. NNTP by default, so this seems like a sensible addition.
  14097. - Clients now reject hostnames with invalid characters. This should
  14098. avoid some inadvertent info leaks. Add an option
  14099. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  14100. is running a private network with hosts called @, !, and #.
  14101. - Add a maintainer script to tell us which options are missing
  14102. documentation: "make check-docs".
  14103. - Add a new address-spec.txt document to describe our special-case
  14104. addresses: .exit, .onion, and .noconnnect.
  14105. o Minor features (DNS):
  14106. - Ongoing work on eventdns infrastructure: now it has dns server
  14107. and ipv6 support. One day Tor will make use of it.
  14108. - Add client-side caching for reverse DNS lookups.
  14109. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  14110. - When we change nameservers or IP addresses, reset and re-launch
  14111. our tests for DNS hijacking.
  14112. o Minor features (directory):
  14113. - Authorities now specify server versions in networkstatus. This adds
  14114. about 2% to the size of compressed networkstatus docs, and allows
  14115. clients to tell which servers support BEGIN_DIR and which don't.
  14116. The implementation is forward-compatible with a proposed future
  14117. protocol version scheme not tied to Tor versions.
  14118. - DirServer configuration lines now have an orport= option so
  14119. clients can open encrypted tunnels to the authorities without
  14120. having downloaded their descriptors yet. Enabled for moria1,
  14121. moria2, tor26, and lefkada now in the default configuration.
  14122. - Directory servers are more willing to send a 503 "busy" if they
  14123. are near their write limit, especially for v1 directory requests.
  14124. Now they can use their limited bandwidth for actual Tor traffic.
  14125. - Clients track responses with status 503 from dirservers. After a
  14126. dirserver has given us a 503, we try not to use it until an hour has
  14127. gone by, or until we have no dirservers that haven't given us a 503.
  14128. - When we get a 503 from a directory, and we're not a server, we don't
  14129. count the failure against the total number of failures allowed
  14130. for the thing we're trying to download.
  14131. - Report X-Your-Address-Is correctly from tunneled directory
  14132. connections; don't report X-Your-Address-Is when it's an internal
  14133. address; and never believe reported remote addresses when they're
  14134. internal.
  14135. - Protect against an unlikely DoS attack on directory servers.
  14136. - Add a BadDirectory flag to network status docs so that authorities
  14137. can (eventually) tell clients about caches they believe to be
  14138. broken.
  14139. o Minor features (controller):
  14140. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  14141. - Reimplement GETINFO so that info/names stays in sync with the
  14142. actual keys.
  14143. - Implement "GETINFO fingerprint".
  14144. - Implement "SETEVENTS GUARD" so controllers can get updates on
  14145. entry guard status as it changes.
  14146. o Minor features (clean up obsolete pieces):
  14147. - Remove some options that have been deprecated since at least
  14148. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  14149. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  14150. to set log options.
  14151. - We no longer look for identity and onion keys in "identity.key" and
  14152. "onion.key" -- these were replaced by secret_id_key and
  14153. secret_onion_key in 0.0.8pre1.
  14154. - We no longer require unrecognized directory entries to be
  14155. preceded by "opt".
  14156. o Major bugfixes (security):
  14157. - Stop sending the HttpProxyAuthenticator string to directory
  14158. servers when directory connections are tunnelled through Tor.
  14159. - Clients no longer store bandwidth history in the state file.
  14160. - Do not log introduction points for hidden services if SafeLogging
  14161. is set.
  14162. - When generating bandwidth history, round down to the nearest
  14163. 1k. When storing accounting data, round up to the nearest 1k.
  14164. - When we're running as a server, remember when we last rotated onion
  14165. keys, so that we will rotate keys once they're a week old even if
  14166. we never stay up for a week ourselves.
  14167. o Major bugfixes (other):
  14168. - Fix a longstanding bug in eventdns that prevented the count of
  14169. timed-out resolves from ever being reset. This bug caused us to
  14170. give up on a nameserver the third time it timed out, and try it
  14171. 10 seconds later... and to give up on it every time it timed out
  14172. after that.
  14173. - Take out the '5 second' timeout from the connection retry
  14174. schedule. Now the first connect attempt will wait a full 10
  14175. seconds before switching to a new circuit. Perhaps this will help
  14176. a lot. Based on observations from Mike Perry.
  14177. - Fix a bug on the Windows implementation of tor_mmap_file() that
  14178. would prevent the cached-routers file from ever loading. Reported
  14179. by John Kimble.
  14180. o Minor bugfixes:
  14181. - Fix an assert failure when a directory authority sets
  14182. AuthDirRejectUnlisted and then receives a descriptor from an
  14183. unlisted router. Reported by seeess.
  14184. - Avoid a double-free when parsing malformed DirServer lines.
  14185. - Fix a bug when a BSD-style PF socket is first used. Patch from
  14186. Fabian Keil.
  14187. - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
  14188. to resolve an address at a given exit node even when they ask for
  14189. it by name.
  14190. - Servers no longer ever list themselves in their "family" line,
  14191. even if configured to do so. This makes it easier to configure
  14192. family lists conveniently.
  14193. - When running as a server, don't fall back to 127.0.0.1 when no
  14194. nameservers are configured in /etc/resolv.conf; instead, make the
  14195. user fix resolv.conf or specify nameservers explicitly. (Resolves
  14196. bug 363.)
  14197. - Stop accepting certain malformed ports in configured exit policies.
  14198. - Don't re-write the fingerprint file every restart, unless it has
  14199. changed.
  14200. - Stop warning when a single nameserver fails: only warn when _all_ of
  14201. our nameservers have failed. Also, when we only have one nameserver,
  14202. raise the threshold for deciding that the nameserver is dead.
  14203. - Directory authorities now only decide that routers are reachable
  14204. if their identity keys are as expected.
  14205. - When the user uses bad syntax in the Log config line, stop
  14206. suggesting other bad syntax as a replacement.
  14207. - Correctly detect ipv6 DNS capability on OpenBSD.
  14208. o Minor bugfixes (controller):
  14209. - Report the circuit number correctly in STREAM CLOSED events. Bug
  14210. reported by Mike Perry.
  14211. - Do not report bizarre values for results of accounting GETINFOs
  14212. when the last second's write or read exceeds the allotted bandwidth.
  14213. - Report "unrecognized key" rather than an empty string when the
  14214. controller tries to fetch a networkstatus that doesn't exist.
  14215. Changes in version 0.1.1.26 - 2006-12-14
  14216. o Security bugfixes:
  14217. - Stop sending the HttpProxyAuthenticator string to directory
  14218. servers when directory connections are tunnelled through Tor.
  14219. - Clients no longer store bandwidth history in the state file.
  14220. - Do not log introduction points for hidden services if SafeLogging
  14221. is set.
  14222. o Minor bugfixes:
  14223. - Fix an assert failure when a directory authority sets
  14224. AuthDirRejectUnlisted and then receives a descriptor from an
  14225. unlisted router (reported by seeess).
  14226. Changes in version 0.1.2.4-alpha - 2006-12-03
  14227. o Major features:
  14228. - Add support for using natd; this allows FreeBSDs earlier than
  14229. 5.1.2 to have ipfw send connections through Tor without using
  14230. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  14231. o Minor features:
  14232. - Make all connections to addresses of the form ".noconnect"
  14233. immediately get closed. This lets application/controller combos
  14234. successfully test whether they're talking to the same Tor by
  14235. watching for STREAM events.
  14236. - Make cross.sh cross-compilation script work even when autogen.sh
  14237. hasn't been run. (Patch from Michael Mohr.)
  14238. - Statistics dumped by -USR2 now include a breakdown of public key
  14239. operations, for profiling.
  14240. o Major bugfixes:
  14241. - Fix a major leak when directory authorities parse their
  14242. approved-routers list, a minor memory leak when we fail to pick
  14243. an exit node, and a few rare leaks on errors.
  14244. - Handle TransPort connections even when the server sends data before
  14245. the client sends data. Previously, the connection would just hang
  14246. until the client sent data. (Patch from tup based on patch from
  14247. Zajcev Evgeny.)
  14248. - Avoid assert failure when our cached-routers file is empty on
  14249. startup.
  14250. o Minor bugfixes:
  14251. - Don't log spurious warnings when we see a circuit close reason we
  14252. don't recognize; it's probably just from a newer version of Tor.
  14253. - Have directory authorities allow larger amounts of drift in uptime
  14254. without replacing the server descriptor: previously, a server that
  14255. restarted every 30 minutes could have 48 "interesting" descriptors
  14256. per day.
  14257. - Start linking to the Tor specification and Tor reference manual
  14258. correctly in the Windows installer.
  14259. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  14260. Tor/Privoxy we also uninstall Vidalia.
  14261. - Resume building on Irix64, and fix a lot of warnings from its
  14262. MIPSpro C compiler.
  14263. - Don't corrupt last_guessed_ip in router_new_address_suggestion()
  14264. when we're running as a client.
  14265. Changes in version 0.1.1.25 - 2006-11-04
  14266. o Major bugfixes:
  14267. - When a client asks us to resolve (rather than connect to)
  14268. an address, and we have a cached answer, give them the cached
  14269. answer. Previously, we would give them no answer at all.
  14270. - We were building exactly the wrong circuits when we predict
  14271. hidden service requirements, meaning Tor would have to build all
  14272. its circuits on demand.
  14273. - If none of our live entry guards have a high uptime, but we
  14274. require a guard with a high uptime, try adding a new guard before
  14275. we give up on the requirement. This patch should make long-lived
  14276. connections more stable on average.
  14277. - When testing reachability of our DirPort, don't launch new
  14278. tests when there's already one in progress -- unreachable
  14279. servers were stacking up dozens of testing streams.
  14280. o Security bugfixes:
  14281. - When the user sends a NEWNYM signal, clear the client-side DNS
  14282. cache too. Otherwise we continue to act on previous information.
  14283. o Minor bugfixes:
  14284. - Avoid a memory corruption bug when creating a hash table for
  14285. the first time.
  14286. - Avoid possibility of controller-triggered crash when misusing
  14287. certain commands from a v0 controller on platforms that do not
  14288. handle printf("%s",NULL) gracefully.
  14289. - Avoid infinite loop on unexpected controller input.
  14290. - Don't log spurious warnings when we see a circuit close reason we
  14291. don't recognize; it's probably just from a newer version of Tor.
  14292. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  14293. Tor/Privoxy we also uninstall Vidalia.
  14294. Changes in version 0.1.2.3-alpha - 2006-10-29
  14295. o Minor features:
  14296. - Prepare for servers to publish descriptors less often: never
  14297. discard a descriptor simply for being too old until either it is
  14298. recommended by no authorities, or until we get a better one for
  14299. the same router. Make caches consider retaining old recommended
  14300. routers for even longer.
  14301. - If most authorities set a BadExit flag for a server, clients
  14302. don't think of it as a general-purpose exit. Clients only consider
  14303. authorities that advertise themselves as listing bad exits.
  14304. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  14305. headers for content, so that we can work better in the presence of
  14306. caching HTTP proxies.
  14307. - Allow authorities to list nodes as bad exits by fingerprint or by
  14308. address.
  14309. o Minor features, controller:
  14310. - Add a REASON field to CIRC events; for backward compatibility, this
  14311. field is sent only to controllers that have enabled the extended
  14312. event format. Also, add additional reason codes to explain why
  14313. a given circuit has been destroyed or truncated. (Patches from
  14314. Mike Perry)
  14315. - Add a REMOTE_REASON field to extended CIRC events to tell the
  14316. controller about why a remote OR told us to close a circuit.
  14317. - Stream events also now have REASON and REMOTE_REASON fields,
  14318. working much like those for circuit events.
  14319. - There's now a GETINFO ns/... field so that controllers can ask Tor
  14320. about the current status of a router.
  14321. - A new event type "NS" to inform a controller when our opinion of
  14322. a router's status has changed.
  14323. - Add a GETINFO events/names and GETINFO features/names so controllers
  14324. can tell which events and features are supported.
  14325. - A new CLEARDNSCACHE signal to allow controllers to clear the
  14326. client-side DNS cache without expiring circuits.
  14327. o Security bugfixes:
  14328. - When the user sends a NEWNYM signal, clear the client-side DNS
  14329. cache too. Otherwise we continue to act on previous information.
  14330. o Minor bugfixes:
  14331. - Avoid sending junk to controllers or segfaulting when a controller
  14332. uses EVENT_NEW_DESC with verbose nicknames.
  14333. - Stop triggering asserts if the controller tries to extend hidden
  14334. service circuits (reported by mwenge).
  14335. - Avoid infinite loop on unexpected controller input.
  14336. - When the controller does a "GETINFO network-status", tell it
  14337. about even those routers whose descriptors are very old, and use
  14338. long nicknames where appropriate.
  14339. - Change NT service functions to be loaded on demand. This lets us
  14340. build with MinGW without breaking Tor for Windows 98 users.
  14341. - Do DirPort reachability tests less often, since a single test
  14342. chews through many circuits before giving up.
  14343. - In the hidden service example in torrc.sample, stop recommending
  14344. esoteric and discouraged hidden service options.
  14345. - When stopping an NT service, wait up to 10 sec for it to actually
  14346. stop. Patch from Matt Edman; resolves bug 295.
  14347. - Fix handling of verbose nicknames with ORCONN controller events:
  14348. make them show up exactly when requested, rather than exactly when
  14349. not requested.
  14350. - When reporting verbose nicknames in entry_guards_getinfo(), avoid
  14351. printing a duplicate "$" in the keys we send (reported by mwenge).
  14352. - Correctly set maximum connection limit on Cygwin. (This time
  14353. for sure!)
  14354. - Try to detect Windows correctly when cross-compiling.
  14355. - Detect the size of the routers file correctly even if it is
  14356. corrupted (on systems without mmap) or not page-aligned (on systems
  14357. with mmap). This bug was harmless.
  14358. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  14359. to open a stream fails; now we do in more cases. This should
  14360. make clients able to find a good exit faster in some cases, since
  14361. unhandleable requests will now get an error rather than timing out.
  14362. - Resolve two memory leaks when rebuilding the on-disk router cache
  14363. (reported by fookoowa).
  14364. - Clean up minor code warnings suggested by the MIPSpro C compiler,
  14365. and reported by some Centos users.
  14366. - Controller signals now work on non-Unix platforms that don't define
  14367. SIGUSR1 and SIGUSR2 the way we expect.
  14368. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  14369. values before failing, and always enables eventdns.
  14370. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  14371. Try to fix this in configure.in by checking for most functions
  14372. before we check for libevent.
  14373. Changes in version 0.1.2.2-alpha - 2006-10-07
  14374. o Major features:
  14375. - Make our async eventdns library on-by-default for Tor servers,
  14376. and plan to deprecate the separate dnsworker threads.
  14377. - Add server-side support for "reverse" DNS lookups (using PTR
  14378. records so clients can determine the canonical hostname for a given
  14379. IPv4 address). Only supported by servers using eventdns; servers
  14380. now announce in their descriptors whether they support eventdns.
  14381. - Specify and implement client-side SOCKS5 interface for reverse DNS
  14382. lookups (see doc/socks-extensions.txt).
  14383. - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
  14384. connect to directory servers through Tor. Previously, clients needed
  14385. to find Tor exits to make private connections to directory servers.
  14386. - Avoid choosing Exit nodes for entry or middle hops when the
  14387. total bandwidth available from non-Exit nodes is much higher than
  14388. the total bandwidth available from Exit nodes.
  14389. - Workaround for name servers (like Earthlink's) that hijack failing
  14390. DNS requests and replace the no-such-server answer with a "helpful"
  14391. redirect to an advertising-driven search portal. Also work around
  14392. DNS hijackers who "helpfully" decline to hijack known-invalid
  14393. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  14394. lets you turn it off.
  14395. - Send out a burst of long-range padding cells once we've established
  14396. that we're reachable. Spread them over 4 circuits, so hopefully
  14397. a few will be fast. This exercises our bandwidth and bootstraps
  14398. us into the directory more quickly.
  14399. o New/improved config options:
  14400. - Add new config option "ResolvConf" to let the server operator
  14401. choose an alternate resolve.conf file when using eventdns.
  14402. - Add an "EnforceDistinctSubnets" option to control our "exclude
  14403. servers on the same /16" behavior. It's still on by default; this
  14404. is mostly for people who want to operate private test networks with
  14405. all the machines on the same subnet.
  14406. - If one of our entry guards is on the ExcludeNodes list, or the
  14407. directory authorities don't think it's a good guard, treat it as
  14408. if it were unlisted: stop using it as a guard, and throw it off
  14409. the guards list if it stays that way for a long time.
  14410. - Allow directory authorities to be marked separately as authorities
  14411. for the v1 directory protocol, the v2 directory protocol, and
  14412. as hidden service directories, to make it easier to retire old
  14413. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  14414. to continue being hidden service authorities too.
  14415. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  14416. o Minor features, controller:
  14417. - Fix CIRC controller events so that controllers can learn the
  14418. identity digests of non-Named servers used in circuit paths.
  14419. - Let controllers ask for more useful identifiers for servers. Instead
  14420. of learning identity digests for un-Named servers and nicknames
  14421. for Named servers, the new identifiers include digest, nickname,
  14422. and indication of Named status. Off by default; see control-spec.txt
  14423. for more information.
  14424. - Add a "getinfo address" controller command so it can display Tor's
  14425. best guess to the user.
  14426. - New controller event to alert the controller when our server
  14427. descriptor has changed.
  14428. - Give more meaningful errors on controller authentication failure.
  14429. o Minor features, other:
  14430. - When asked to resolve a hostname, don't use non-exit servers unless
  14431. requested to do so. This allows servers with broken DNS to be
  14432. useful to the network.
  14433. - Divide eventdns log messages into warn and info messages.
  14434. - Reserve the nickname "Unnamed" for routers that can't pick
  14435. a hostname: any router can call itself Unnamed; directory
  14436. authorities will never allocate Unnamed to any particular router;
  14437. clients won't believe that any router is the canonical Unnamed.
  14438. - Only include function names in log messages for info/debug messages.
  14439. For notice/warn/err, the content of the message should be clear on
  14440. its own, and printing the function name only confuses users.
  14441. - Avoid some false positives during reachability testing: don't try
  14442. to test via a server that's on the same /24 as us.
  14443. - If we fail to build a circuit to an intended enclave, and it's
  14444. not mandatory that we use that enclave, stop wanting it.
  14445. - When eventdns is enabled, allow multithreaded builds on NetBSD and
  14446. OpenBSD. (We had previously disabled threads on these platforms
  14447. because they didn't have working thread-safe resolver functions.)
  14448. o Major bugfixes, anonymity/security:
  14449. - If a client asked for a server by name, and there's a named server
  14450. in our network-status but we don't have its descriptor yet, we
  14451. could return an unnamed server instead.
  14452. - Fix NetBSD bug that could allow someone to force uninitialized RAM
  14453. to be sent to a server's DNS resolver. This only affects NetBSD
  14454. and other platforms that do not bounds-check tolower().
  14455. - Reject (most) attempts to use Tor circuits with length one. (If
  14456. many people start using Tor as a one-hop proxy, exit nodes become
  14457. a more attractive target for compromise.)
  14458. - Just because your DirPort is open doesn't mean people should be
  14459. able to remotely teach you about hidden service descriptors. Now
  14460. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  14461. o Major bugfixes, other:
  14462. - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
  14463. - When a client asks the server to resolve (not connect to)
  14464. an address, and it has a cached answer, give them the cached answer.
  14465. Previously, the server would give them no answer at all.
  14466. - Allow really slow clients to not hang up five minutes into their
  14467. directory downloads (suggested by Adam J. Richter).
  14468. - We were building exactly the wrong circuits when we anticipated
  14469. hidden service requirements, meaning Tor would have to build all
  14470. its circuits on demand.
  14471. - Avoid crashing when we mmap a router cache file of size 0.
  14472. - When testing reachability of our DirPort, don't launch new
  14473. tests when there's already one in progress -- unreachable
  14474. servers were stacking up dozens of testing streams.
  14475. o Minor bugfixes, correctness:
  14476. - If we're a directory mirror and we ask for "all" network status
  14477. documents, we would discard status documents from authorities
  14478. we don't recognize.
  14479. - Avoid a memory corruption bug when creating a hash table for
  14480. the first time.
  14481. - Avoid controller-triggered crash when misusing certain commands
  14482. from a v0 controller on platforms that do not handle
  14483. printf("%s",NULL) gracefully.
  14484. - Don't crash when a controller sends a third argument to an
  14485. "extendcircuit" request.
  14486. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  14487. response; fix error code when "getinfo dir/status/" fails.
  14488. - Avoid crash when telling controller stream-status and a stream
  14489. is detached.
  14490. - Patch from Adam Langley to fix assert() in eventdns.c.
  14491. - Fix a debug log message in eventdns to say "X resolved to Y"
  14492. instead of "X resolved to X".
  14493. - Make eventdns give strings for DNS errors, not just error numbers.
  14494. - Track unreachable entry guards correctly: don't conflate
  14495. 'unreachable by us right now' with 'listed as down by the directory
  14496. authorities'. With the old code, if a guard was unreachable by
  14497. us but listed as running, it would clog our guard list forever.
  14498. - Behave correctly in case we ever have a network with more than
  14499. 2GB/s total advertised capacity.
  14500. - Make TrackExitHosts case-insensitive, and fix the behavior of
  14501. ".suffix" TrackExitHosts items to avoid matching in the middle of
  14502. an address.
  14503. - Finally fix the openssl warnings from newer gccs that believe that
  14504. ignoring a return value is okay, but casting a return value and
  14505. then ignoring it is a sign of madness.
  14506. - Prevent the contrib/exitlist script from printing the same
  14507. result more than once.
  14508. - Patch from Steve Hildrey: Generate network status correctly on
  14509. non-versioning dirservers.
  14510. - Don't listen to the X-Your-Address-Is hint if you did the lookup
  14511. via Tor; otherwise you'll think you're the exit node's IP address.
  14512. o Minor bugfixes, performance:
  14513. - Two small performance improvements on parsing descriptors.
  14514. - Major performance improvement on inserting descriptors: change
  14515. algorithm from O(n^2) to O(n).
  14516. - Make the common memory allocation path faster on machines where
  14517. malloc(0) returns a pointer.
  14518. - Start remembering X-Your-Address-Is directory hints even if you're
  14519. a client, so you can become a server more smoothly.
  14520. - Avoid duplicate entries on MyFamily line in server descriptor.
  14521. o Packaging, features:
  14522. - Remove architecture from OS X builds. The official builds are
  14523. now universal binaries.
  14524. - The Debian package now uses --verify-config when (re)starting,
  14525. to distinguish configuration errors from other errors.
  14526. - Update RPMs to require libevent 1.1b.
  14527. o Packaging, bugfixes:
  14528. - Patches so Tor builds with MinGW on Windows.
  14529. - Patches so Tor might run on Cygwin again.
  14530. - Resume building on non-gcc compilers and ancient gcc. Resume
  14531. building with the -O0 compile flag. Resume building cleanly on
  14532. Debian woody.
  14533. - Run correctly on OS X platforms with case-sensitive filesystems.
  14534. - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
  14535. - Add autoconf checks so Tor can build on Solaris x86 again.
  14536. o Documentation
  14537. - Documented (and renamed) ServerDNSSearchDomains and
  14538. ServerDNSResolvConfFile options.
  14539. - Be clearer that the *ListenAddress directives can be repeated
  14540. multiple times.
  14541. Changes in version 0.1.1.24 - 2006-09-29
  14542. o Major bugfixes:
  14543. - Allow really slow clients to not hang up five minutes into their
  14544. directory downloads (suggested by Adam J. Richter).
  14545. - Fix major performance regression from 0.1.0.x: instead of checking
  14546. whether we have enough directory information every time we want to
  14547. do something, only check when the directory information has changed.
  14548. This should improve client CPU usage by 25-50%.
  14549. - Don't crash if, after a server has been running for a while,
  14550. it can't resolve its hostname.
  14551. o Minor bugfixes:
  14552. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  14553. - Don't crash when the controller receives a third argument to an
  14554. "extendcircuit" request.
  14555. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  14556. response; fix error code when "getinfo dir/status/" fails.
  14557. - Fix configure.in to not produce broken configure files with
  14558. more recent versions of autoconf. Thanks to Clint for his auto*
  14559. voodoo.
  14560. - Fix security bug on NetBSD that could allow someone to force
  14561. uninitialized RAM to be sent to a server's DNS resolver. This
  14562. only affects NetBSD and other platforms that do not bounds-check
  14563. tolower().
  14564. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  14565. methods: these are known to be buggy.
  14566. - If we're a directory mirror and we ask for "all" network status
  14567. documents, we would discard status documents from authorities
  14568. we don't recognize.
  14569. Changes in version 0.1.2.1-alpha - 2006-08-27
  14570. o Major features:
  14571. - Add "eventdns" async dns library from Adam Langley, tweaked to
  14572. build on OSX and Windows. Only enabled if you pass the
  14573. --enable-eventdns argument to configure.
  14574. - Allow servers with no hostname or IP address to learn their
  14575. IP address by asking the directory authorities. This code only
  14576. kicks in when you would normally have exited with a "no address"
  14577. error. Nothing's authenticated, so use with care.
  14578. - Rather than waiting a fixed amount of time between retrying
  14579. application connections, we wait only 5 seconds for the first,
  14580. 10 seconds for the second, and 15 seconds for each retry after
  14581. that. Hopefully this will improve the expected user experience.
  14582. - Patch from Tup to add support for transparent AP connections:
  14583. this basically bundles the functionality of trans-proxy-tor
  14584. into the Tor mainline. Now hosts with compliant pf/netfilter
  14585. implementations can redirect TCP connections straight to Tor
  14586. without diverting through SOCKS. Needs docs.
  14587. - Busy directory servers save lots of memory by spooling server
  14588. descriptors, v1 directories, and v2 networkstatus docs to buffers
  14589. as needed rather than en masse. Also mmap the cached-routers
  14590. files, so we don't need to keep the whole thing in memory too.
  14591. - Automatically avoid picking more than one node from the same
  14592. /16 network when constructing a circuit.
  14593. - Revise and clean up the torrc.sample that we ship with; add
  14594. a section for BandwidthRate and BandwidthBurst.
  14595. o Minor features:
  14596. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  14597. split connection_t into edge, or, dir, control, and base structs.
  14598. These will save quite a bit of memory on busy servers, and they'll
  14599. also help us track down bugs in the code and bugs in the spec.
  14600. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  14601. or later. Log when we are doing this, so we can diagnose it when
  14602. it fails. (Also, recommend libevent 1.1b for kqueue and
  14603. win32 methods; deprecate libevent 1.0b harder; make libevent
  14604. recommendation system saner.)
  14605. - Start being able to build universal binaries on OS X (thanks
  14606. to Phobos).
  14607. - Export the default exit policy via the control port, so controllers
  14608. don't need to guess what it is / will be later.
  14609. - Add a man page entry for ProtocolWarnings.
  14610. - Add TestVia config option to the man page.
  14611. - Remove even more protocol-related warnings from Tor server logs,
  14612. such as bad TLS handshakes and malformed begin cells.
  14613. - Stop fetching descriptors if you're not a dir mirror and you
  14614. haven't tried to establish any circuits lately. [This currently
  14615. causes some dangerous behavior, because when you start up again
  14616. you'll use your ancient server descriptors.]
  14617. - New DirPort behavior: if you have your dirport set, you download
  14618. descriptors aggressively like a directory mirror, whether or not
  14619. your ORPort is set.
  14620. - Get rid of the router_retry_connections notion. Now routers
  14621. no longer try to rebuild long-term connections to directory
  14622. authorities, and directory authorities no longer try to rebuild
  14623. long-term connections to all servers. We still don't hang up
  14624. connections in these two cases though -- we need to look at it
  14625. more carefully to avoid flapping, and we likely need to wait til
  14626. 0.1.1.x is obsolete.
  14627. - Drop compatibility with obsolete Tors that permit create cells
  14628. to have the wrong circ_id_type.
  14629. - Re-enable per-connection rate limiting. Get rid of the "OP
  14630. bandwidth" concept. Lay groundwork for "bandwidth classes" --
  14631. separate global buckets that apply depending on what sort of conn
  14632. it is.
  14633. - Start publishing one minute or so after we find our ORPort
  14634. to be reachable. This will help reduce the number of descriptors
  14635. we have for ourselves floating around, since it's quite likely
  14636. other things (e.g. DirPort) will change during that minute too.
  14637. - Fork the v1 directory protocol into its own spec document,
  14638. and mark dir-spec.txt as the currently correct (v2) spec.
  14639. o Major bugfixes:
  14640. - When we find our DirPort to be reachable, publish a new descriptor
  14641. so we'll tell the world (reported by pnx).
  14642. - Publish a new descriptor after we hup/reload. This is important
  14643. if our config has changed such that we'll want to start advertising
  14644. our DirPort now, etc.
  14645. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  14646. - When we have a state file we cannot parse, tell the user and
  14647. move it aside. Now we avoid situations where the user starts
  14648. Tor in 1904, Tor writes a state file with that timestamp in it,
  14649. the user fixes her clock, and Tor refuses to start.
  14650. - Fix configure.in to not produce broken configure files with
  14651. more recent versions of autoconf. Thanks to Clint for his auto*
  14652. voodoo.
  14653. - "tor --verify-config" now exits with -1(255) or 0 depending on
  14654. whether the config options are bad or good.
  14655. - Resolve bug 321 when using dnsworkers: append a period to every
  14656. address we resolve at the exit node, so that we do not accidentally
  14657. pick up local addresses, and so that failing searches are retried
  14658. in the resolver search domains. (This is already solved for
  14659. eventdns.) (This breaks Blossom servers for now.)
  14660. - If we are using an exit enclave and we can't connect, e.g. because
  14661. its webserver is misconfigured to not listen on localhost, then
  14662. back off and try connecting from somewhere else before we fail.
  14663. o Minor bugfixes:
  14664. - Start compiling on MinGW on Windows (patches from Mike Chiussi).
  14665. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  14666. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  14667. when the IP address is mapped through MapAddress to a hostname.
  14668. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  14669. useless IPv6 DNS resolves.
  14670. - Patch suggested by Karsten Loesing: respond to SIGNAL command
  14671. before we execute the signal, in case the signal shuts us down.
  14672. - Clean up AllowInvalidNodes man page entry.
  14673. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  14674. - Add more asserts to track down an assert error on a windows Tor
  14675. server with connection_add being called with socket == -1.
  14676. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  14677. - Fix misleading log messages: an entry guard that is "unlisted",
  14678. as well as not known to be "down" (because we've never heard
  14679. of it), is not therefore "up".
  14680. - Remove code to special-case "-cvs" ending, since it has not
  14681. actually mattered since 0.0.9.
  14682. - Make our socks5 handling more robust to broken socks clients:
  14683. throw out everything waiting on the buffer in between socks
  14684. handshake phases, since they can't possibly (so the theory
  14685. goes) have predicted what we plan to respond to them.
  14686. Changes in version 0.1.1.23 - 2006-07-30
  14687. o Major bugfixes:
  14688. - Fast Tor servers, especially exit nodes, were triggering asserts
  14689. due to a bug in handling the list of pending DNS resolves. Some
  14690. bugs still remain here; we're hunting them.
  14691. - Entry guards could crash clients by sending unexpected input.
  14692. - More fixes on reachability testing: if you find yourself reachable,
  14693. then don't ever make any client requests (so you stop predicting
  14694. circuits), then hup or have your clock jump, then later your IP
  14695. changes, you won't think circuits are working, so you won't try to
  14696. test reachability, so you won't publish.
  14697. o Minor bugfixes:
  14698. - Avoid a crash if the controller does a resetconf firewallports
  14699. and then a setconf fascistfirewall=1.
  14700. - Avoid an integer underflow when the dir authority decides whether
  14701. a router is stable: we might wrongly label it stable, and compute
  14702. a slightly wrong median stability, when a descriptor is published
  14703. later than now.
  14704. - Fix a place where we might trigger an assert if we can't build our
  14705. own server descriptor yet.
  14706. Changes in version 0.1.1.22 - 2006-07-05
  14707. o Major bugfixes:
  14708. - Fix a big bug that was causing servers to not find themselves
  14709. reachable if they changed IP addresses. Since only 0.1.1.22+
  14710. servers can do reachability testing correctly, now we automatically
  14711. make sure to test via one of these.
  14712. - Fix to allow clients and mirrors to learn directory info from
  14713. descriptor downloads that get cut off partway through.
  14714. - Directory authorities had a bug in deciding if a newly published
  14715. descriptor was novel enough to make everybody want a copy -- a few
  14716. servers seem to be publishing new descriptors many times a minute.
  14717. o Minor bugfixes:
  14718. - Fix a rare bug that was causing some servers to complain about
  14719. "closing wedged cpuworkers" and skip some circuit create requests.
  14720. - Make the Exit flag in directory status documents actually work.
  14721. Changes in version 0.1.1.21 - 2006-06-10
  14722. o Crash and assert fixes from 0.1.1.20:
  14723. - Fix a rare crash on Tor servers that have enabled hibernation.
  14724. - Fix a seg fault on startup for Tor networks that use only one
  14725. directory authority.
  14726. - Fix an assert from a race condition that occurs on Tor servers
  14727. while exiting, where various threads are trying to log that they're
  14728. exiting, and delete the logs, at the same time.
  14729. - Make our unit tests pass again on certain obscure platforms.
  14730. o Other fixes:
  14731. - Add support for building SUSE RPM packages.
  14732. - Speed up initial bootstrapping for clients: if we are making our
  14733. first ever connection to any entry guard, then don't mark it down
  14734. right after that.
  14735. - When only one Tor server in the network is labelled as a guard,
  14736. and we've already picked him, we would cycle endlessly picking him
  14737. again, being unhappy about it, etc. Now we specifically exclude
  14738. current guards when picking a new guard.
  14739. - Servers send create cells more reliably after the TLS connection
  14740. is established: we were sometimes forgetting to send half of them
  14741. when we had more than one pending.
  14742. - If we get a create cell that asks us to extend somewhere, but the
  14743. Tor server there doesn't match the expected digest, we now send
  14744. a destroy cell back, rather than silently doing nothing.
  14745. - Make options->RedirectExit work again.
  14746. - Make cookie authentication for the controller work again.
  14747. - Stop being picky about unusual characters in the arguments to
  14748. mapaddress. It's none of our business.
  14749. - Add a new config option "TestVia" that lets you specify preferred
  14750. middle hops to use for test circuits. Perhaps this will let me
  14751. debug the reachability problems better.
  14752. o Log / documentation fixes:
  14753. - If we're a server and some peer has a broken TLS certificate, don't
  14754. log about it unless ProtocolWarnings is set, i.e., we want to hear
  14755. about protocol violations by others.
  14756. - Fix spelling of VirtualAddrNetwork in man page.
  14757. - Add a better explanation at the top of the autogenerated torrc file
  14758. about what happened to our old torrc.
  14759. Changes in version 0.1.1.20 - 2006-05-23
  14760. o Bugfixes:
  14761. - Downgrade a log severity where servers complain that they're
  14762. invalid.
  14763. - Avoid a compile warning on FreeBSD.
  14764. - Remove string size limit on NEWDESC messages; solve bug 291.
  14765. - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
  14766. more thoroughly when we're running on windows.
  14767. Changes in version 0.1.1.19-rc - 2006-05-03
  14768. o Minor bugs:
  14769. - Regenerate our local descriptor if it's dirty and we try to use
  14770. it locally (e.g. if it changes during reachability detection).
  14771. - If we setconf our ORPort to 0, we continued to listen on the
  14772. old ORPort and receive connections.
  14773. - Avoid a second warning about machine/limits.h on Debian
  14774. GNU/kFreeBSD.
  14775. - Be willing to add our own routerinfo into the routerlist.
  14776. Now authorities will include themselves in their directories
  14777. and network-statuses.
  14778. - Stop trying to upload rendezvous descriptors to every
  14779. directory authority: only try the v1 authorities.
  14780. - Servers no longer complain when they think they're not
  14781. registered with the directory authorities. There were too many
  14782. false positives.
  14783. - Backport dist-rpm changes so rpms can be built without errors.
  14784. o Features:
  14785. - Implement an option, VirtualAddrMask, to set which addresses
  14786. get handed out in response to mapaddress requests. This works
  14787. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  14788. Changes in version 0.1.1.18-rc - 2006-04-10
  14789. o Major fixes:
  14790. - Work harder to download live network-statuses from all the
  14791. directory authorities we know about. Improve the threshold
  14792. decision logic so we're more robust to edge cases.
  14793. - When fetching rendezvous descriptors, we were willing to ask
  14794. v2 authorities too, which would always return 404.
  14795. o Minor fixes:
  14796. - Stop listing down or invalid nodes in the v1 directory. This will
  14797. reduce its bulk by about 1/3, and reduce load on directory
  14798. mirrors.
  14799. - When deciding whether a router is Fast or Guard-worthy, consider
  14800. his advertised BandwidthRate and not just the BandwidthCapacity.
  14801. - No longer ship INSTALL and README files -- they are useless now.
  14802. - Force rpmbuild to behave and honor target_cpu.
  14803. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  14804. - Start to include translated versions of the tor-doc-*.html
  14805. files, along with the screenshots. Still needs more work.
  14806. - Start sending back 512 and 451 errors if mapaddress fails,
  14807. rather than not sending anything back at all.
  14808. - When we fail to bind or listen on an incoming or outgoing
  14809. socket, we should close it before failing. otherwise we just
  14810. leak it. (thanks to weasel for finding.)
  14811. - Allow "getinfo dir/status/foo" to work, as long as your DirPort
  14812. is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
  14813. - Make NoPublish (even though deprecated) work again.
  14814. - Fix a minor security flaw where a versioning auth dirserver
  14815. could list a recommended version many times in a row to make
  14816. clients more convinced that it's recommended.
  14817. - Fix crash bug if there are two unregistered servers running
  14818. with the same nickname, one of them is down, and you ask for
  14819. them by nickname in your EntryNodes or ExitNodes. Also, try
  14820. to pick the one that's running rather than an arbitrary one.
  14821. - Fix an infinite loop we could hit if we go offline for too long.
  14822. - Complain when we hit WSAENOBUFS on recv() or write() too.
  14823. Perhaps this will help us hunt the bug.
  14824. - If you're not a versioning dirserver, don't put the string
  14825. "client-versions \nserver-versions \n" in your network-status.
  14826. - Lower the minimum required number of file descriptors to 1000,
  14827. so we can have some overhead for Valgrind on Linux, where the
  14828. default ulimit -n is 1024.
  14829. o New features:
  14830. - Add tor.dizum.com as the fifth authoritative directory server.
  14831. - Add a new config option FetchUselessDescriptors, off by default,
  14832. for when you plan to run "exitlist" on your client and you want
  14833. to know about even the non-running descriptors.
  14834. Changes in version 0.1.1.17-rc - 2006-03-28
  14835. o Major fixes:
  14836. - Clients and servers since 0.1.1.10-alpha have been expiring
  14837. connections whenever they are idle for 5 minutes and they *do*
  14838. have circuits on them. Oops. With this new version, clients will
  14839. discard their previous entry guard choices and avoid choosing
  14840. entry guards running these flawed versions.
  14841. - Fix memory leak when uncompressing concatenated zlib streams. This
  14842. was causing substantial leaks over time on Tor servers.
  14843. - The v1 directory was including servers as much as 48 hours old,
  14844. because that's how the new routerlist->routers works. Now only
  14845. include them if they're 20 hours old or less.
  14846. o Minor fixes:
  14847. - Resume building on irix64, netbsd 2.0, etc.
  14848. - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
  14849. "-Wall -g -O2".
  14850. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  14851. and it is confusing some users.
  14852. - Mirrors stop caching the v1 directory so often.
  14853. - Make the max number of old descriptors that a cache will hold
  14854. rise with the number of directory authorities, so we can scale.
  14855. - Change our win32 uname() hack to be more forgiving about what
  14856. win32 versions it thinks it's found.
  14857. o New features:
  14858. - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
  14859. server.
  14860. - When the controller's *setconf commands fail, collect an error
  14861. message in a string and hand it back to the controller.
  14862. - Make the v2 dir's "Fast" flag based on relative capacity, just
  14863. like "Stable" is based on median uptime. Name everything in the
  14864. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  14865. - Log server fingerprint on startup, so new server operators don't
  14866. have to go hunting around their filesystem for it.
  14867. - Return a robots.txt on our dirport to discourage google indexing.
  14868. - Let the controller ask for GETINFO dir/status/foo so it can ask
  14869. directly rather than connecting to the dir port. Only works when
  14870. dirport is set for now.
  14871. o New config options rather than constants in the code:
  14872. - SocksTimeout: How long do we let a socks connection wait
  14873. unattached before we fail it?
  14874. - CircuitBuildTimeout: Cull non-open circuits that were born
  14875. at least this many seconds ago.
  14876. - CircuitIdleTimeout: Cull open clean circuits that were born
  14877. at least this many seconds ago.
  14878. Changes in version 0.1.1.16-rc - 2006-03-18
  14879. o Bugfixes on 0.1.1.15-rc:
  14880. - Fix assert when the controller asks to attachstream a connect-wait
  14881. or resolve-wait stream.
  14882. - Now do address rewriting when the controller asks us to attach
  14883. to a particular circuit too. This will let Blossom specify
  14884. "moria2.exit" without having to learn what moria2's IP address is.
  14885. - Make the "tor --verify-config" command-line work again, so people
  14886. can automatically check if their torrc will parse.
  14887. - Authoritative dirservers no longer require an open connection from
  14888. a server to consider him "reachable". We need this change because
  14889. when we add new auth dirservers, old servers won't know not to
  14890. hang up on them.
  14891. - Let Tor build on Sun CC again.
  14892. - Fix an off-by-one buffer size in dirserv.c that magically never
  14893. hit our three authorities but broke sjmurdoch's own tor network.
  14894. - If we as a directory mirror don't know of any v1 directory
  14895. authorities, then don't try to cache any v1 directories.
  14896. - Stop warning about unknown servers in our family when they are
  14897. given as hex digests.
  14898. - Stop complaining as quickly to the server operator that he
  14899. hasn't registered his nickname/key binding.
  14900. - Various cleanups so we can add new V2 Auth Dirservers.
  14901. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  14902. reflect the updated flags in our v2 dir protocol.
  14903. - Resume allowing non-printable characters for exit streams (both
  14904. for connecting and for resolving). Now we tolerate applications
  14905. that don't follow the RFCs. But continue to block malformed names
  14906. at the socks side.
  14907. o Bugfixes on 0.1.0.x:
  14908. - Fix assert bug in close_logs(): when we close and delete logs,
  14909. remove them all from the global "logfiles" list.
  14910. - Fix minor integer overflow in calculating when we expect to use up
  14911. our bandwidth allocation before hibernating.
  14912. - Fix a couple of bugs in OpenSSL detection. Also, deal better when
  14913. there are multiple SSLs installed with different versions.
  14914. - When we try to be a server and Address is not explicitly set and
  14915. our hostname resolves to a private IP address, try to use an
  14916. interface address if it has a public address. Now Windows machines
  14917. that think of themselves as localhost can work by default.
  14918. o New features:
  14919. - Let the controller ask for GETINFO dir/server/foo so it can ask
  14920. directly rather than connecting to the dir port.
  14921. - Let the controller tell us about certain router descriptors
  14922. that it doesn't want Tor to use in circuits. Implement
  14923. SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
  14924. - New config option SafeSocks to reject all application connections
  14925. using unsafe socks protocols. Defaults to off.
  14926. Changes in version 0.1.1.15-rc - 2006-03-11
  14927. o Bugfixes and cleanups:
  14928. - When we're printing strings from the network, don't try to print
  14929. non-printable characters. This protects us against shell escape
  14930. sequence exploits, and also against attacks to fool humans into
  14931. misreading their logs.
  14932. - Fix a bug where Tor would fail to establish any connections if you
  14933. left it off for 24 hours and then started it: we were happy with
  14934. the obsolete network statuses, but they all referred to router
  14935. descriptors that were too old to fetch, so we ended up with no
  14936. valid router descriptors.
  14937. - Fix a seg fault in the controller's "getinfo orconn-status"
  14938. command while listing status on incoming handshaking connections.
  14939. Introduce a status name "NEW" for these connections.
  14940. - If we get a linelist or linelist_s config option from the torrc
  14941. (e.g. ExitPolicy) and it has no value, warn and skip rather than
  14942. silently resetting it to its default.
  14943. - Don't abandon entry guards until they've been down or gone for
  14944. a whole month.
  14945. - Cleaner and quieter log messages.
  14946. o New features:
  14947. - New controller signal NEWNYM that makes new application requests
  14948. use clean circuits.
  14949. - Add a new circuit purpose 'controller' to let the controller ask
  14950. for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
  14951. controller command to let you specify the purpose if you're
  14952. starting a new circuit. Add a new SETCIRCUITPURPOSE controller
  14953. command to let you change a circuit's purpose after it's been
  14954. created.
  14955. - Accept "private:*" in routerdesc exit policies; not generated yet
  14956. because older Tors do not understand it.
  14957. - Add BSD-style contributed startup script "rc.subr" from Peter
  14958. Thoenen.
  14959. Changes in version 0.1.1.14-alpha - 2006-02-20
  14960. o Bugfixes on 0.1.1.x:
  14961. - Don't die if we ask for a stdout or stderr log (even implicitly)
  14962. and we're set to RunAsDaemon -- just warn.
  14963. - We still had a few bugs in the OR connection rotation code that
  14964. caused directory servers to slowly aggregate connections to other
  14965. fast Tor servers. This time for sure!
  14966. - Make log entries on Win32 include the name of the function again.
  14967. - We were treating a pair of exit policies if they were equal even
  14968. if one said accept and the other said reject -- causing us to
  14969. not always publish a new descriptor since we thought nothing
  14970. had changed.
  14971. - Retry pending server downloads as well as pending networkstatus
  14972. downloads when we unexpectedly get a socks request.
  14973. - We were ignoring the IS_FAST flag in the directory status,
  14974. meaning we were willing to pick trivial-bandwidth nodes for "fast"
  14975. connections.
  14976. - If the controller's SAVECONF command fails (e.g. due to file
  14977. permissions), let the controller know that it failed.
  14978. o Features:
  14979. - If we're trying to be a Tor server and running Windows 95/98/ME
  14980. as a server, explain that we'll likely crash.
  14981. - When we're a server, a client asks for an old-style directory,
  14982. and our write bucket is empty, don't give it to him. This way
  14983. small servers can continue to serve the directory *sometimes*,
  14984. without getting overloaded.
  14985. - Compress exit policies even more -- look for duplicate lines
  14986. and remove them.
  14987. - Clients now honor the "guard" flag in the router status when
  14988. picking entry guards, rather than looking at is_fast or is_stable.
  14989. - Retain unrecognized lines in $DATADIR/state file, so that we can
  14990. be forward-compatible.
  14991. - Generate 18.0.0.0/8 address policy format in descs when we can;
  14992. warn when the mask is not reducible to a bit-prefix.
  14993. - Let the user set ControlListenAddress in the torrc. This can be
  14994. dangerous, but there are some cases (like a secured LAN) where it
  14995. makes sense.
  14996. - Split ReachableAddresses into ReachableDirAddresses and
  14997. ReachableORAddresses, so we can restrict Dir conns to port 80
  14998. and OR conns to port 443.
  14999. - Now we can target arch and OS in rpm builds (contributed by
  15000. Phobos). Also make the resulting dist-rpm filename match the
  15001. target arch.
  15002. - New config options to help controllers: FetchServerDescriptors
  15003. and FetchHidServDescriptors for whether to fetch server
  15004. info and hidserv info or let the controller do it, and
  15005. PublishServerDescriptor and PublishHidServDescriptors.
  15006. - Also let the controller set the __AllDirActionsPrivate config
  15007. option if you want all directory fetches/publishes to happen via
  15008. Tor (it assumes your controller bootstraps your circuits).
  15009. Changes in version 0.1.0.17 - 2006-02-17
  15010. o Crash bugfixes on 0.1.0.x:
  15011. - When servers with a non-zero DirPort came out of hibernation,
  15012. sometimes they would trigger an assert.
  15013. o Other important bugfixes:
  15014. - On platforms that don't have getrlimit (like Windows), we were
  15015. artificially constraining ourselves to a max of 1024
  15016. connections. Now just assume that we can handle as many as 15000
  15017. connections. Hopefully this won't cause other problems.
  15018. o Backported features:
  15019. - When we're a server, a client asks for an old-style directory,
  15020. and our write bucket is empty, don't give it to him. This way
  15021. small servers can continue to serve the directory *sometimes*,
  15022. without getting overloaded.
  15023. - Whenever you get a 503 in response to a directory fetch, try
  15024. once more. This will become important once servers start sending
  15025. 503's whenever they feel busy.
  15026. - Fetch a new directory every 120 minutes, not every 40 minutes.
  15027. Now that we have hundreds of thousands of users running the old
  15028. directory algorithm, it's starting to hurt a lot.
  15029. - Bump up the period for forcing a hidden service descriptor upload
  15030. from 20 minutes to 1 hour.
  15031. Changes in version 0.1.1.13-alpha - 2006-02-09
  15032. o Crashes in 0.1.1.x:
  15033. - When you tried to setconf ORPort via the controller, Tor would
  15034. crash. So people using TorCP to become a server were sad.
  15035. - Solve (I hope) the stack-smashing bug that we were seeing on fast
  15036. servers. The problem appears to be something do with OpenSSL's
  15037. random number generation, or how we call it, or something. Let me
  15038. know if the crashes continue.
  15039. - Turn crypto hardware acceleration off by default, until we find
  15040. somebody smart who can test it for us. (It appears to produce
  15041. seg faults in at least some cases.)
  15042. - Fix a rare assert error when we've tried all intro points for
  15043. a hidden service and we try fetching the service descriptor again:
  15044. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
  15045. o Major fixes:
  15046. - Fix a major load balance bug: we were round-robining in 16 KB
  15047. chunks, and servers with bandwidthrate of 20 KB, while downloading
  15048. a 600 KB directory, would starve their other connections. Now we
  15049. try to be a bit more fair.
  15050. - Dir authorities and mirrors were never expiring the newest
  15051. descriptor for each server, causing memory and directory bloat.
  15052. - Fix memory-bloating and connection-bloating bug on servers: We
  15053. were never closing any connection that had ever had a circuit on
  15054. it, because we were checking conn->n_circuits == 0, yet we had a
  15055. bug that let it go negative.
  15056. - Make Tor work using squid as your http proxy again -- squid
  15057. returns an error if you ask for a URL that's too long, and it uses
  15058. a really generic error message. Plus, many people are behind a
  15059. transparent squid so they don't even realize it.
  15060. - On platforms that don't have getrlimit (like Windows), we were
  15061. artificially constraining ourselves to a max of 1024
  15062. connections. Now just assume that we can handle as many as 15000
  15063. connections. Hopefully this won't cause other problems.
  15064. - Add a new config option ExitPolicyRejectPrivate which defaults to
  15065. 1. This means all exit policies will begin with rejecting private
  15066. addresses, unless the server operator explicitly turns it off.
  15067. o Major features:
  15068. - Clients no longer download descriptors for non-running
  15069. descriptors.
  15070. - Before we add new directory authorities, we should make it
  15071. clear that only v1 authorities should receive/publish hidden
  15072. service descriptors.
  15073. o Minor features:
  15074. - As soon as we've fetched some more directory info, immediately
  15075. try to download more server descriptors. This way we don't have
  15076. a 10 second pause during initial bootstrapping.
  15077. - Remove even more loud log messages that the server operator can't
  15078. do anything about.
  15079. - When we're running an obsolete or un-recommended version, make
  15080. the log message more clear about what the problem is and what
  15081. versions *are* still recommended.
  15082. - Provide a more useful warn message when our onion queue gets full:
  15083. the CPU is too slow or the exit policy is too liberal.
  15084. - Don't warn when we receive a 503 from a dirserver/cache -- this
  15085. will pave the way for them being able to refuse if they're busy.
  15086. - When we fail to bind a listener, try to provide a more useful
  15087. log message: e.g., "Is Tor already running?"
  15088. - Adjust tor-spec to parameterize cell and key lengths. Now Ian
  15089. Goldberg can prove things about our handshake protocol more
  15090. easily.
  15091. - MaxConn has been obsolete for a while now. Document the ConnLimit
  15092. config option, which is a *minimum* number of file descriptors
  15093. that must be available else Tor refuses to start.
  15094. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  15095. if you log to syslog and want something other than LOG_DAEMON.
  15096. - Make dirservers generate a separate "guard" flag to mean,
  15097. "would make a good entry guard". Make clients parse it and vote
  15098. on it. Not used by clients yet.
  15099. - Implement --with-libevent-dir option to ./configure. Also, improve
  15100. search techniques to find libevent, and use those for openssl too.
  15101. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
  15102. - Only start testing reachability once we've established a
  15103. circuit. This will make startup on dirservers less noisy.
  15104. - Don't try to upload hidden service descriptors until we have
  15105. established a circuit.
  15106. - Fix the controller's "attachstream 0" command to treat conn like
  15107. it just connected, doing address remapping, handling .exit and
  15108. .onion idioms, and so on. Now we're more uniform in making sure
  15109. that the controller hears about new and closing connections.
  15110. Changes in version 0.1.1.12-alpha - 2006-01-11
  15111. o Bugfixes on 0.1.1.x:
  15112. - The fix to close duplicate server connections was closing all
  15113. Tor client connections if they didn't establish a circuit
  15114. quickly enough. Oops.
  15115. - Fix minor memory issue (double-free) that happened on exit.
  15116. o Bugfixes on 0.1.0.x:
  15117. - Tor didn't warn when it failed to open a log file.
  15118. Changes in version 0.1.1.11-alpha - 2006-01-10
  15119. o Crashes in 0.1.1.x:
  15120. - Include all the assert/crash fixes from 0.1.0.16.
  15121. - If you start Tor and then quit very quickly, there were some
  15122. races that tried to free things that weren't allocated yet.
  15123. - Fix a rare memory stomp if you're running hidden services.
  15124. - Fix segfault when specifying DirServer in config without nickname.
  15125. - Fix a seg fault when you finish connecting to a server but at
  15126. that moment you dump his server descriptor.
  15127. - Extendcircuit and Attachstream controller commands would
  15128. assert/crash if you don't give them enough arguments.
  15129. - Fix an assert error when we're out of space in the connection_list
  15130. and we try to post a hidden service descriptor (reported by weasel).
  15131. - If you specify a relative torrc path and you set RunAsDaemon in
  15132. your torrc, then it chdir()'s to the new directory. If you HUP,
  15133. it tries to load the new torrc location, fails, and exits.
  15134. The fix: no longer allow a relative path to torrc using -f.
  15135. o Major features:
  15136. - Implement "entry guards": automatically choose a handful of entry
  15137. nodes and stick with them for all circuits. Only pick new guards
  15138. when the ones you have are unsuitable, and if the old guards
  15139. become suitable again, switch back. This will increase security
  15140. dramatically against certain end-point attacks. The EntryNodes
  15141. config option now provides some hints about which entry guards you
  15142. want to use most; and StrictEntryNodes means to only use those.
  15143. - New directory logic: download by descriptor digest, not by
  15144. fingerprint. Caches try to download all listed digests from
  15145. authorities; clients try to download "best" digests from caches.
  15146. This avoids partitioning and isolating attacks better.
  15147. - Make the "stable" router flag in network-status be the median of
  15148. the uptimes of running valid servers, and make clients pay
  15149. attention to the network-status flags. Thus the cutoff adapts
  15150. to the stability of the network as a whole, making IRC, IM, etc
  15151. connections more reliable.
  15152. o Major fixes:
  15153. - Tor servers with dynamic IP addresses were needing to wait 18
  15154. hours before they could start doing reachability testing using
  15155. the new IP address and ports. This is because they were using
  15156. the internal descriptor to learn what to test, yet they were only
  15157. rebuilding the descriptor once they decided they were reachable.
  15158. - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
  15159. to download certain server descriptors, throw them away, and then
  15160. fetch them again after 30 minutes. Now mirrors throw away these
  15161. server descriptors so clients can't get them.
  15162. - We were leaving duplicate connections to other ORs open for a week,
  15163. rather than closing them once we detect a duplicate. This only
  15164. really affected authdirservers, but it affected them a lot.
  15165. - Spread the authdirservers' reachability testing over the entire
  15166. testing interval, so we don't try to do 500 TLS's at once every
  15167. 20 minutes.
  15168. o Minor fixes:
  15169. - If the network is down, and we try to connect to a conn because
  15170. we have a circuit in mind, and we timeout (30 seconds) because the
  15171. network never answers, we were expiring the circuit, but we weren't
  15172. obsoleting the connection or telling the entry_guards functions.
  15173. - Some Tor servers process billions of cells per day. These statistics
  15174. need to be uint64_t's.
  15175. - Check for integer overflows in more places, when adding elements
  15176. to smartlists. This could possibly prevent a buffer overflow
  15177. on malicious huge inputs. I don't see any, but I haven't looked
  15178. carefully.
  15179. - ReachableAddresses kept growing new "reject *:*" lines on every
  15180. setconf/reload.
  15181. - When you "setconf log" via the controller, it should remove all
  15182. logs. We were automatically adding back in a "log notice stdout".
  15183. - Newly bootstrapped Tor networks couldn't establish hidden service
  15184. circuits until they had nodes with high uptime. Be more tolerant.
  15185. - We were marking servers down when they could not answer every piece
  15186. of the directory request we sent them. This was far too harsh.
  15187. - Fix the torify (tsocks) config file to not use Tor for localhost
  15188. connections.
  15189. - Directory authorities now go to the proper authority when asking for
  15190. a networkstatus, even when they want a compressed one.
  15191. - Fix a harmless bug that was causing Tor servers to log
  15192. "Got an end because of misc error, but we're not an AP. Closing."
  15193. - Authorities were treating their own descriptor changes as cosmetic,
  15194. meaning the descriptor available in the network-status and the
  15195. descriptor that clients downloaded were different.
  15196. - The OS X installer was adding a symlink for tor_resolve but
  15197. the binary was called tor-resolve (reported by Thomas Hardly).
  15198. - Workaround a problem with some http proxies where they refuse GET
  15199. requests that specify "Content-Length: 0" (reported by Adrian).
  15200. - Fix wrong log message when you add a "HiddenServiceNodes" config
  15201. line without any HiddenServiceDir line (reported by Chris Thomas).
  15202. o Minor features:
  15203. - Write the TorVersion into the state file so we have a prayer of
  15204. keeping forward and backward compatibility.
  15205. - Revive the FascistFirewall config option rather than eliminating it:
  15206. now it's a synonym for ReachableAddresses *:80,*:443.
  15207. - Clients choose directory servers from the network status lists,
  15208. not from their internal list of router descriptors. Now they can
  15209. go to caches directly rather than needing to go to authorities
  15210. to bootstrap.
  15211. - Directory authorities ignore router descriptors that have only
  15212. cosmetic differences: do this for 0.1.0.x servers now too.
  15213. - Add a new flag to network-status indicating whether the server
  15214. can answer v2 directory requests too.
  15215. - Authdirs now stop whining so loudly about bad descriptors that
  15216. they fetch from other dirservers. So when there's a log complaint,
  15217. it's for sure from a freshly uploaded descriptor.
  15218. - Reduce memory requirements in our structs by changing the order
  15219. of fields.
  15220. - There used to be two ways to specify your listening ports in a
  15221. server descriptor: on the "router" line and with a separate "ports"
  15222. line. Remove support for the "ports" line.
  15223. - New config option "AuthDirRejectUnlisted" for auth dirservers as
  15224. a panic button: if we get flooded with unusable servers we can
  15225. revert to only listing servers in the approved-routers file.
  15226. - Auth dir servers can now mark a fingerprint as "!reject" or
  15227. "!invalid" in the approved-routers file (as its nickname), to
  15228. refuse descriptors outright or include them but marked as invalid.
  15229. - Servers store bandwidth history across restarts/crashes.
  15230. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  15231. get a better idea of why their circuits failed. Not used yet.
  15232. - Directory mirrors now cache up to 16 unrecognized network-status
  15233. docs. Now we can add new authdirservers and they'll be cached too.
  15234. - When picking a random directory, prefer non-authorities if any
  15235. are known.
  15236. - New controller option "getinfo desc/all-recent" to fetch the
  15237. latest server descriptor for every router that Tor knows about.
  15238. Changes in version 0.1.0.16 - 2006-01-02
  15239. o Crash bugfixes on 0.1.0.x:
  15240. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  15241. corrupting the heap, losing FDs, or crashing when we need to resize
  15242. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  15243. - It turns out sparc64 platforms crash on unaligned memory access
  15244. too -- so detect and avoid this.
  15245. - Handle truncated compressed data correctly (by detecting it and
  15246. giving an error).
  15247. - Fix possible-but-unlikely free(NULL) in control.c.
  15248. - When we were closing connections, there was a rare case that
  15249. stomped on memory, triggering seg faults and asserts.
  15250. - Avoid potential infinite recursion when building a descriptor. (We
  15251. don't know that it ever happened, but better to fix it anyway.)
  15252. - We were neglecting to unlink marked circuits from soon-to-close OR
  15253. connections, which caused some rare scribbling on freed memory.
  15254. - Fix a memory stomping race bug when closing the joining point of two
  15255. rendezvous circuits.
  15256. - Fix an assert in time parsing found by Steven Murdoch.
  15257. o Other bugfixes on 0.1.0.x:
  15258. - When we're doing reachability testing, provide more useful log
  15259. messages so the operator knows what to expect.
  15260. - Do not check whether DirPort is reachable when we are suppressing
  15261. advertising it because of hibernation.
  15262. - When building with -static or on Solaris, we sometimes needed -ldl.
  15263. - When we're deciding whether a stream has enough circuits around
  15264. that can handle it, count the freshly dirty ones and not the ones
  15265. that are so dirty they won't be able to handle it.
  15266. - When we're expiring old circuits, we had a logic error that caused
  15267. us to close new rendezvous circuits rather than old ones.
  15268. - Give a more helpful log message when you try to change ORPort via
  15269. the controller: you should upgrade Tor if you want that to work.
  15270. - We were failing to parse Tor versions that start with "Tor ".
  15271. - Tolerate faulty streams better: when a stream fails for reason
  15272. exitpolicy, stop assuming that the router is lying about his exit
  15273. policy. When a stream fails for reason misc, allow it to retry just
  15274. as if it was resolvefailed. When a stream has failed three times,
  15275. reset its failure count so we can try again and get all three tries.
  15276. Changes in version 0.1.1.10-alpha - 2005-12-11
  15277. o Correctness bugfixes on 0.1.0.x:
  15278. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  15279. corrupting the heap, losing FDs, or crashing when we need to resize
  15280. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  15281. - Stop doing the complex voodoo overkill checking for insecure
  15282. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  15283. - When we were closing connections, there was a rare case that
  15284. stomped on memory, triggering seg faults and asserts.
  15285. - We were neglecting to unlink marked circuits from soon-to-close OR
  15286. connections, which caused some rare scribbling on freed memory.
  15287. - When we're deciding whether a stream has enough circuits around
  15288. that can handle it, count the freshly dirty ones and not the ones
  15289. that are so dirty they won't be able to handle it.
  15290. - Recover better from TCP connections to Tor servers that are
  15291. broken but don't tell you (it happens!); and rotate TLS
  15292. connections once a week.
  15293. - When we're expiring old circuits, we had a logic error that caused
  15294. us to close new rendezvous circuits rather than old ones.
  15295. - Fix a scary-looking but apparently harmless bug where circuits
  15296. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  15297. servers, and never switch to state CIRCUIT_STATE_OPEN.
  15298. - When building with -static or on Solaris, we sometimes needed to
  15299. build with -ldl.
  15300. - Give a useful message when people run Tor as the wrong user,
  15301. rather than telling them to start chowning random directories.
  15302. - We were failing to inform the controller about new .onion streams.
  15303. o Security bugfixes on 0.1.0.x:
  15304. - Refuse server descriptors if the fingerprint line doesn't match
  15305. the included identity key. Tor doesn't care, but other apps (and
  15306. humans) might actually be trusting the fingerprint line.
  15307. - We used to kill the circuit when we receive a relay command we
  15308. don't recognize. Now we just drop it.
  15309. - Start obeying our firewall options more rigorously:
  15310. . If we can't get to a dirserver directly, try going via Tor.
  15311. . Don't ever try to connect (as a client) to a place our
  15312. firewall options forbid.
  15313. . If we specify a proxy and also firewall options, obey the
  15314. firewall options even when we're using the proxy: some proxies
  15315. can only proxy to certain destinations.
  15316. - Fix a bug found by Lasse Overlier: when we were making internal
  15317. circuits (intended to be cannibalized later for rendezvous and
  15318. introduction circuits), we were picking them so that they had
  15319. useful exit nodes. There was no need for this, and it actually
  15320. aids some statistical attacks.
  15321. - Start treating internal circuits and exit circuits separately.
  15322. It's important to keep them separate because internal circuits
  15323. have their last hops picked like middle hops, rather than like
  15324. exit hops. So exiting on them will break the user's expectations.
  15325. o Bugfixes on 0.1.1.x:
  15326. - Take out the mis-feature where we tried to detect IP address
  15327. flapping for people with DynDNS, and chose not to upload a new
  15328. server descriptor sometimes.
  15329. - Try to be compatible with OpenSSL 0.9.6 again.
  15330. - Log fix: when the controller is logging about .onion addresses,
  15331. sometimes it didn't include the ".onion" part of the address.
  15332. - Don't try to modify options->DirServers internally -- if the
  15333. user didn't specify any, just add the default ones directly to
  15334. the trusted dirserver list. This fixes a bug where people running
  15335. controllers would use SETCONF on some totally unrelated config
  15336. option, and Tor would start yelling at them about changing their
  15337. DirServer lines.
  15338. - Let the controller's redirectstream command specify a port, in
  15339. case the controller wants to change that too.
  15340. - When we requested a pile of server descriptors, we sometimes
  15341. accidentally launched a duplicate request for the first one.
  15342. - Bugfix for trackhostexits: write down the fingerprint of the
  15343. chosen exit, not its nickname, because the chosen exit might not
  15344. be verified.
  15345. - When parsing foo.exit, if foo is unknown, and we are leaving
  15346. circuits unattached, set the chosen_exit field and leave the
  15347. address empty. This matters because controllers got confused
  15348. otherwise.
  15349. - Directory authorities no longer try to download server
  15350. descriptors that they know they will reject.
  15351. o Features and updates:
  15352. - Replace balanced trees with hash tables: this should make stuff
  15353. significantly faster.
  15354. - Resume using the AES counter-mode implementation that we ship,
  15355. rather than OpenSSL's. Ours is significantly faster.
  15356. - Many other CPU and memory improvements.
  15357. - Add a new config option FastFirstHopPK (on by default) so clients
  15358. do a trivial crypto handshake for their first hop, since TLS has
  15359. already taken care of confidentiality and authentication.
  15360. - Add a new config option TestSocks so people can see if their
  15361. applications are using socks4, socks4a, socks5-with-ip, or
  15362. socks5-with-hostname. This way they don't have to keep mucking
  15363. with tcpdump and wondering if something got cached somewhere.
  15364. - Warn when listening on a public address for socks. I suspect a
  15365. lot of people are setting themselves up as open socks proxies,
  15366. and they have no idea that jerks on the Internet are using them,
  15367. since they simply proxy the traffic into the Tor network.
  15368. - Add "private:*" as an alias in configuration for policies. Now
  15369. you can simplify your exit policy rather than needing to list
  15370. every single internal or nonroutable network space.
  15371. - Add a new controller event type that allows controllers to get
  15372. all server descriptors that were uploaded to a router in its role
  15373. as authoritative dirserver.
  15374. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  15375. tor-doc-server.html, and stylesheet.css in the tarball.
  15376. - Stop shipping tor-doc.html in the tarball.
  15377. Changes in version 0.1.1.9-alpha - 2005-11-15
  15378. o Usability improvements:
  15379. - Start calling it FooListenAddress rather than FooBindAddress,
  15380. since few of our users know what it means to bind an address
  15381. or port.
  15382. - Reduce clutter in server logs. We're going to try to make
  15383. them actually usable now. New config option ProtocolWarnings that
  15384. lets you hear about how _other Tors_ are breaking the protocol. Off
  15385. by default.
  15386. - Divide log messages into logging domains. Once we put some sort
  15387. of interface on this, it will let people looking at more verbose
  15388. log levels specify the topics they want to hear more about.
  15389. - Make directory servers return better http 404 error messages
  15390. instead of a generic "Servers unavailable".
  15391. - Check for even more Windows version flags when writing the platform
  15392. string in server descriptors, and note any we don't recognize.
  15393. - Clean up more of the OpenSSL memory when exiting, so we can detect
  15394. memory leaks better.
  15395. - Make directory authorities be non-versioning, non-naming by
  15396. default. Now we can add new directory servers without requiring
  15397. their operators to pay close attention.
  15398. - When logging via syslog, include the pid whenever we provide
  15399. a log entry. Suggested by Todd Fries.
  15400. o Performance improvements:
  15401. - Directory servers now silently throw away new descriptors that
  15402. haven't changed much if the timestamps are similar. We do this to
  15403. tolerate older Tor servers that upload a new descriptor every 15
  15404. minutes. (It seemed like a good idea at the time.)
  15405. - Inline bottleneck smartlist functions; use fast versions by default.
  15406. - Add a "Map from digest to void*" abstraction digestmap_t so we
  15407. can do less hex encoding/decoding. Use it in router_get_by_digest()
  15408. to resolve a performance bottleneck.
  15409. - Allow tor_gzip_uncompress to extract as much as possible from
  15410. truncated compressed data. Try to extract as many
  15411. descriptors as possible from truncated http responses (when
  15412. DIR_PURPOSE_FETCH_ROUTERDESC).
  15413. - Make circ->onionskin a pointer, not a static array. moria2 was using
  15414. 125000 circuit_t's after it had been up for a few weeks, which
  15415. translates to 20+ megs of wasted space.
  15416. - The private half of our EDH handshake keys are now chosen out
  15417. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  15418. o Security improvements:
  15419. - Start making directory caches retain old routerinfos, so soon
  15420. clients can start asking by digest of descriptor rather than by
  15421. fingerprint of server.
  15422. - Add half our entropy from RAND_poll in OpenSSL. This knows how
  15423. to use egd (if present), openbsd weirdness (if present), vms/os2
  15424. weirdness (if we ever port there), and more in the future.
  15425. o Bugfixes on 0.1.0.x:
  15426. - Do round-robin writes of at most 16 kB per write. This might be
  15427. more fair on loaded Tor servers, and it might resolve our Windows
  15428. crash bug. It might also slow things down.
  15429. - Our TLS handshakes were generating a single public/private
  15430. keypair for the TLS context, rather than making a new one for
  15431. each new connections. Oops. (But we were still rotating them
  15432. periodically, so it's not so bad.)
  15433. - When we were cannibalizing a circuit with a particular exit
  15434. node in mind, we weren't checking to see if that exit node was
  15435. already present earlier in the circuit. Oops.
  15436. - When a Tor server's IP changes (e.g. from a dyndns address),
  15437. upload a new descriptor so clients will learn too.
  15438. - Really busy servers were keeping enough circuits open on stable
  15439. connections that they were wrapping around the circuit_id
  15440. space. (It's only two bytes.) This exposed a bug where we would
  15441. feel free to reuse a circuit_id even if it still exists but has
  15442. been marked for close. Try to fix this bug. Some bug remains.
  15443. - If we would close a stream early (e.g. it asks for a .exit that
  15444. we know would refuse it) but the LeaveStreamsUnattached config
  15445. option is set by the controller, then don't close it.
  15446. o Bugfixes on 0.1.1.8-alpha:
  15447. - Fix a big pile of memory leaks, some of them serious.
  15448. - Do not try to download a routerdesc if we would immediately reject
  15449. it as obsolete.
  15450. - Resume inserting a newline between all router descriptors when
  15451. generating (old style) signed directories, since our spec says
  15452. we do.
  15453. - When providing content-type application/octet-stream for
  15454. server descriptors using .z, we were leaving out the
  15455. content-encoding header. Oops. (Everything tolerated this just
  15456. fine, but that doesn't mean we need to be part of the problem.)
  15457. - Fix a potential seg fault in getconf and getinfo using version 1
  15458. of the controller protocol.
  15459. - Avoid crash: do not check whether DirPort is reachable when we
  15460. are suppressing it because of hibernation.
  15461. - Make --hash-password not crash on exit.
  15462. Changes in version 0.1.1.8-alpha - 2005-10-07
  15463. o New features (major):
  15464. - Clients don't download or use the directory anymore. Now they
  15465. download and use network-statuses from the trusted dirservers,
  15466. and fetch individual server descriptors as needed from mirrors.
  15467. See dir-spec.txt for all the gory details.
  15468. - Be more conservative about whether to advertise our DirPort.
  15469. The main change is to not advertise if we're running at capacity
  15470. and either a) we could hibernate or b) our capacity is low and
  15471. we're using a default DirPort.
  15472. - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
  15473. o New features (minor):
  15474. - Try to be smart about when to retry network-status and
  15475. server-descriptor fetches. Still needs some tuning.
  15476. - Stop parsing, storing, or using running-routers output (but
  15477. mirrors still cache and serve it).
  15478. - Consider a threshold of versioning dirservers (dirservers who have
  15479. an opinion about which Tor versions are still recommended) before
  15480. deciding whether to warn the user that he's obsolete.
  15481. - Dirservers can now reject/invalidate by key and IP, with the
  15482. config options "AuthDirInvalid" and "AuthDirReject". This is
  15483. useful since currently we automatically list servers as running
  15484. and usable even if we know they're jerks.
  15485. - Provide dire warnings to any users who set DirServer; move it out
  15486. of torrc.sample and into torrc.complete.
  15487. - Add MyFamily to torrc.sample in the server section.
  15488. - Add nicknames to the DirServer line, so we can refer to them
  15489. without requiring all our users to memorize their IP addresses.
  15490. - When we get an EOF or a timeout on a directory connection, note
  15491. how many bytes of serverdesc we are dropping. This will help
  15492. us determine whether it is smart to parse incomplete serverdesc
  15493. responses.
  15494. - Add a new function to "change pseudonyms" -- that is, to stop
  15495. using any currently-dirty circuits for new streams, so we don't
  15496. link new actions to old actions. Currently it's only called on
  15497. HUP (or SIGNAL RELOAD).
  15498. - On sighup, if UseHelperNodes changed to 1, use new circuits.
  15499. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  15500. OpenSSL. Also, reseed our entropy every hour, not just at
  15501. startup. And entropy in 512-bit chunks, not 160-bit chunks.
  15502. o Fixes on 0.1.1.7-alpha:
  15503. - Nobody ever implemented EVENT_ADDRMAP for control protocol
  15504. version 0, so don't let version 0 controllers ask for it.
  15505. - If you requested something with too many newlines via the
  15506. v1 controller protocol, you could crash tor.
  15507. - Fix a number of memory leaks, including some pretty serious ones.
  15508. - Re-enable DirPort testing again, so Tor servers will be willing
  15509. to advertise their DirPort if it's reachable.
  15510. - On TLS handshake, only check the other router's nickname against
  15511. its expected nickname if is_named is set.
  15512. o Fixes forward-ported from 0.1.0.15:
  15513. - Don't crash when we don't have any spare file descriptors and we
  15514. try to spawn a dns or cpu worker.
  15515. - Make the numbers in read-history and write-history into uint64s,
  15516. so they don't overflow and publish negatives in the descriptor.
  15517. o Fixes on 0.1.0.x:
  15518. - For the OS X package's modified privoxy config file, comment
  15519. out the "logfile" line so we don't log everything passed
  15520. through privoxy.
  15521. - We were whining about using socks4 or socks5-with-local-lookup
  15522. even when it's an IP in the "virtual" range we designed exactly
  15523. for this case.
  15524. - We were leaking some memory every time the client changes IPs.
  15525. - Never call free() on tor_malloc()d memory. This will help us
  15526. use dmalloc to detect memory leaks.
  15527. - Check for named servers when looking them up by nickname;
  15528. warn when we'recalling a non-named server by its nickname;
  15529. don't warn twice about the same name.
  15530. - Try to list MyFamily elements by key, not by nickname, and warn
  15531. if we've not heard of the server.
  15532. - Make windows platform detection (uname equivalent) smarter.
  15533. - It turns out sparc64 doesn't like unaligned access either.
  15534. Changes in version 0.1.0.15 - 2005-09-23
  15535. o Bugfixes on 0.1.0.x:
  15536. - Reject ports 465 and 587 (spam targets) in default exit policy.
  15537. - Don't crash when we don't have any spare file descriptors and we
  15538. try to spawn a dns or cpu worker.
  15539. - Get rid of IgnoreVersion undocumented config option, and make us
  15540. only warn, never exit, when we're running an obsolete version.
  15541. - Don't try to print a null string when your server finds itself to
  15542. be unreachable and the Address config option is empty.
  15543. - Make the numbers in read-history and write-history into uint64s,
  15544. so they don't overflow and publish negatives in the descriptor.
  15545. - Fix a minor memory leak in smartlist_string_remove().
  15546. - We were only allowing ourselves to upload a server descriptor at
  15547. most every 20 minutes, even if it changed earlier than that.
  15548. - Clean up log entries that pointed to old URLs.
  15549. Changes in version 0.1.1.7-alpha - 2005-09-14
  15550. o Fixes on 0.1.1.6-alpha:
  15551. - Exit servers were crashing when people asked them to make a
  15552. connection to an address not in their exit policy.
  15553. - Looking up a non-existent stream for a v1 control connection would
  15554. cause a segfault.
  15555. - Fix a seg fault if we ask a dirserver for a descriptor by
  15556. fingerprint but he doesn't know about him.
  15557. - SETCONF was appending items to linelists, not clearing them.
  15558. - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
  15559. out and refuse the setconf if it would fail.
  15560. - Downgrade the dirserver log messages when whining about
  15561. unreachability.
  15562. o New features:
  15563. - Add Peter Palfrader's check-tor script to tor/contrib/
  15564. It lets you easily check whether a given server (referenced by
  15565. nickname) is reachable by you.
  15566. - Numerous changes to move towards client-side v2 directories. Not
  15567. enabled yet.
  15568. o Fixes on 0.1.0.x:
  15569. - If the user gave tor an odd number of command-line arguments,
  15570. we were silently ignoring the last one. Now we complain and fail.
  15571. [This wins the oldest-bug prize -- this bug has been present since
  15572. November 2002, as released in Tor 0.0.0.]
  15573. - Do not use unaligned memory access on alpha, mips, or mipsel.
  15574. It *works*, but is very slow, so we treat them as if it doesn't.
  15575. - Retry directory requests if we fail to get an answer we like
  15576. from a given dirserver (we were retrying before, but only if
  15577. we fail to connect).
  15578. - When writing the RecommendedVersions line, sort them first.
  15579. - When the client asked for a rendezvous port that the hidden
  15580. service didn't want to provide, we were sending an IP address
  15581. back along with the end cell. Fortunately, it was zero. But stop
  15582. that anyway.
  15583. - Correct "your server is reachable" log entries to indicate that
  15584. it was self-testing that told us so.
  15585. Changes in version 0.1.1.6-alpha - 2005-09-09
  15586. o Fixes on 0.1.1.5-alpha:
  15587. - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
  15588. - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
  15589. - Fix bug with tor_memmem finding a match at the end of the string.
  15590. - Make unit tests run without segfaulting.
  15591. - Resolve some solaris x86 compile warnings.
  15592. - Handle duplicate lines in approved-routers files without warning.
  15593. - Fix bug where as soon as a server refused any requests due to his
  15594. exit policy (e.g. when we ask for localhost and he tells us that's
  15595. 127.0.0.1 and he won't do it), we decided he wasn't obeying his
  15596. exit policy using him for any exits.
  15597. - Only do openssl hardware accelerator stuff if openssl version is
  15598. at least 0.9.7.
  15599. o New controller features/fixes:
  15600. - Add a "RESETCONF" command so you can set config options like
  15601. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  15602. a config option in the torrc with no value, then it clears it
  15603. entirely (rather than setting it to its default).
  15604. - Add a "GETINFO config-file" to tell us where torrc is.
  15605. - Avoid sending blank lines when GETINFO replies should be empty.
  15606. - Add a QUIT command for the controller (for using it manually).
  15607. - Fix a bug in SAVECONF that was adding default dirservers and
  15608. other redundant entries to the torrc file.
  15609. o Start on the new directory design:
  15610. - Generate, publish, cache, serve new network-status format.
  15611. - Publish individual descriptors (by fingerprint, by "all", and by
  15612. "tell me yours").
  15613. - Publish client and server recommended versions separately.
  15614. - Allow tor_gzip_uncompress() to handle multiple concatenated
  15615. compressed strings. Serve compressed groups of router
  15616. descriptors. The compression logic here could be more
  15617. memory-efficient.
  15618. - Distinguish v1 authorities (all currently trusted directories)
  15619. from v2 authorities (all trusted directories).
  15620. - Change DirServers config line to note which dirs are v1 authorities.
  15621. - Add configuration option "V1AuthoritativeDirectory 1" which
  15622. moria1, moria2, and tor26 should set.
  15623. - Remove option when getting directory cache to see whether they
  15624. support running-routers; they all do now. Replace it with one
  15625. to see whether caches support v2 stuff.
  15626. o New features:
  15627. - Dirservers now do their own external reachability testing of each
  15628. Tor server, and only list them as running if they've been found to
  15629. be reachable. We also send back warnings to the server's logs if
  15630. it uploads a descriptor that we already believe is unreachable.
  15631. - Implement exit enclaves: if we know an IP address for the
  15632. destination, and there's a running Tor server at that address
  15633. which allows exit to the destination, then extend the circuit to
  15634. that exit first. This provides end-to-end encryption and end-to-end
  15635. authentication. Also, if the user wants a .exit address or enclave,
  15636. use 4 hops rather than 3, and cannibalize a general circ for it
  15637. if you can.
  15638. - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
  15639. controller. Also, rotate dns and cpu workers if the controller
  15640. changes options that will affect them; and initialize the dns
  15641. worker cache tree whether or not we start out as a server.
  15642. - Only upload a new server descriptor when options change, 18
  15643. hours have passed, uptime is reset, or bandwidth changes a lot.
  15644. - Check [X-]Forwarded-For headers in HTTP requests when generating
  15645. log messages. This lets people run dirservers (and caches) behind
  15646. Apache but still know which IP addresses are causing warnings.
  15647. o Config option changes:
  15648. - Replace (Fascist)Firewall* config options with a new
  15649. ReachableAddresses option that understands address policies.
  15650. For example, "ReachableAddresses *:80,*:443"
  15651. - Get rid of IgnoreVersion undocumented config option, and make us
  15652. only warn, never exit, when we're running an obsolete version.
  15653. - Make MonthlyAccountingStart config option truly obsolete now.
  15654. o Fixes on 0.1.0.x:
  15655. - Reject ports 465 and 587 in the default exit policy, since
  15656. people have started using them for spam too.
  15657. - It turns out we couldn't bootstrap a network since we added
  15658. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  15659. has never gone down. Add an AssumeReachable config option to let
  15660. servers and dirservers bootstrap. When we're trying to build a
  15661. high-uptime or high-bandwidth circuit but there aren't enough
  15662. suitable servers, try being less picky rather than simply failing.
  15663. - Our logic to decide if the OR we connected to was the right guy
  15664. was brittle and maybe open to a mitm for unverified routers.
  15665. - We weren't cannibalizing circuits correctly for
  15666. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  15667. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  15668. build those from scratch. This should make hidden services faster.
  15669. - Predict required circuits better, with an eye toward making hidden
  15670. services faster on the service end.
  15671. - Retry streams if the exit node sends back a 'misc' failure. This
  15672. should result in fewer random failures. Also, after failing
  15673. from resolve failed or misc, reset the num failures, so we give
  15674. it a fair shake next time we try.
  15675. - Clean up the rendezvous warn log msgs, and downgrade some to info.
  15676. - Reduce severity on logs about dns worker spawning and culling.
  15677. - When we're shutting down and we do something like try to post a
  15678. server descriptor or rendezvous descriptor, don't complain that
  15679. we seem to be unreachable. Of course we are, we're shutting down.
  15680. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  15681. We don't use them yet, but maybe one day our DNS resolver will be
  15682. able to discover them.
  15683. - Make ContactInfo mandatory for authoritative directory servers.
  15684. - Require server descriptors to list IPv4 addresses -- hostnames
  15685. are no longer allowed. This also fixes some potential security
  15686. problems with people providing hostnames as their address and then
  15687. preferentially resolving them to partition users.
  15688. - Change log line for unreachability to explicitly suggest /etc/hosts
  15689. as the culprit. Also make it clearer what IP address and ports we're
  15690. testing for reachability.
  15691. - Put quotes around user-supplied strings when logging so users are
  15692. more likely to realize if they add bad characters (like quotes)
  15693. to the torrc.
  15694. - Let auth dir servers start without specifying an Address config
  15695. option.
  15696. - Make unit tests (and other invocations that aren't the real Tor)
  15697. run without launching listeners, creating subdirectories, and so on.
  15698. Changes in version 0.1.1.5-alpha - 2005-08-08
  15699. o Bugfixes included in 0.1.0.14.
  15700. o Bugfixes on 0.1.0.x:
  15701. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  15702. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  15703. it would silently using ignore the 6668.
  15704. Changes in version 0.1.0.14 - 2005-08-08
  15705. o Bugfixes on 0.1.0.x:
  15706. - Fix the other half of the bug with crypto handshakes
  15707. (CVE-2005-2643).
  15708. - Fix an assert trigger if you send a 'signal term' via the
  15709. controller when it's listening for 'event info' messages.
  15710. Changes in version 0.1.1.4-alpha - 2005-08-04
  15711. o Bugfixes included in 0.1.0.13.
  15712. o Features:
  15713. - Improve tor_gettimeofday() granularity on windows.
  15714. - Make clients regenerate their keys when their IP address changes.
  15715. - Implement some more GETINFO goodness: expose helper nodes, config
  15716. options, getinfo keys.
  15717. Changes in version 0.1.0.13 - 2005-08-04
  15718. o Bugfixes on 0.1.0.x:
  15719. - Fix a critical bug in the security of our crypto handshakes.
  15720. - Fix a size_t underflow in smartlist_join_strings2() that made
  15721. it do bad things when you hand it an empty smartlist.
  15722. - Fix Windows installer to ship Tor license (thanks to Aphex for
  15723. pointing out this oversight) and put a link to the doc directory
  15724. in the start menu.
  15725. - Explicitly set no-unaligned-access for sparc: it turns out the
  15726. new gcc's let you compile broken code, but that doesn't make it
  15727. not-broken.
  15728. Changes in version 0.1.1.3-alpha - 2005-07-23
  15729. o Bugfixes on 0.1.1.2-alpha:
  15730. - Fix a bug in handling the controller's "post descriptor"
  15731. function.
  15732. - Fix several bugs in handling the controller's "extend circuit"
  15733. function.
  15734. - Fix a bug in handling the controller's "stream status" event.
  15735. - Fix an assert failure if we have a controller listening for
  15736. circuit events and we go offline.
  15737. - Re-allow hidden service descriptors to publish 0 intro points.
  15738. - Fix a crash when generating your hidden service descriptor if
  15739. you don't have enough intro points already.
  15740. o New features on 0.1.1.2-alpha:
  15741. - New controller function "getinfo accounting", to ask how
  15742. many bytes we've used in this time period.
  15743. - Experimental support for helper nodes: a lot of the risk from
  15744. a small static adversary comes because users pick new random
  15745. nodes every time they rebuild a circuit. Now users will try to
  15746. stick to the same small set of entry nodes if they can. Not
  15747. enabled by default yet.
  15748. o Bugfixes on 0.1.0.12:
  15749. - If you're an auth dir server, always publish your dirport,
  15750. even if you haven't yet found yourself to be reachable.
  15751. - Fix a size_t underflow in smartlist_join_strings2() that made
  15752. it do bad things when you hand it an empty smartlist.
  15753. Changes in version 0.1.0.12 - 2005-07-18
  15754. o New directory servers:
  15755. - tor26 has changed IP address.
  15756. o Bugfixes on 0.1.0.x:
  15757. - Fix a possible double-free in tor_gzip_uncompress().
  15758. - When --disable-threads is set, do not search for or link against
  15759. pthreads libraries.
  15760. - Don't trigger an assert if an authoritative directory server
  15761. claims its dirport is 0.
  15762. - Fix bug with removing Tor as an NT service: some people were
  15763. getting "The service did not return an error." Thanks to Matt
  15764. Edman for the fix.
  15765. Changes in version 0.1.1.2-alpha - 2005-07-15
  15766. o New directory servers:
  15767. - tor26 has changed IP address.
  15768. o Bugfixes on 0.1.0.x, crashes/leaks:
  15769. - Port the servers-not-obeying-their-exit-policies fix from
  15770. 0.1.0.11.
  15771. - Fix an fd leak in start_daemon().
  15772. - On Windows, you can't always reopen a port right after you've
  15773. closed it. So change retry_listeners() to only close and re-open
  15774. ports that have changed.
  15775. - Fix a possible double-free in tor_gzip_uncompress().
  15776. o Bugfixes on 0.1.0.x, usability:
  15777. - When tor_socketpair() fails in Windows, give a reasonable
  15778. Windows-style errno back.
  15779. - Let people type "tor --install" as well as "tor -install" when
  15780. they
  15781. want to make it an NT service.
  15782. - NT service patch from Matt Edman to improve error messages.
  15783. - When the controller asks for a config option with an abbreviated
  15784. name, give the full name in our response.
  15785. - Correct the man page entry on TrackHostExitsExpire.
  15786. - Looks like we were never delivering deflated (i.e. compressed)
  15787. running-routers lists, even when asked. Oops.
  15788. - When --disable-threads is set, do not search for or link against
  15789. pthreads libraries.
  15790. o Bugfixes on 0.1.1.x:
  15791. - Fix a seg fault with autodetecting which controller version is
  15792. being used.
  15793. o Features:
  15794. - New hidden service descriptor format: put a version in it, and
  15795. let people specify introduction/rendezvous points that aren't
  15796. in "the directory" (which is subjective anyway).
  15797. - Allow the DEBUG controller event to work again. Mark certain log
  15798. entries as "don't tell this to controllers", so we avoid cycles.
  15799. Changes in version 0.1.0.11 - 2005-06-30
  15800. o Bugfixes on 0.1.0.x:
  15801. - Fix major security bug: servers were disregarding their
  15802. exit policies if clients behaved unexpectedly.
  15803. - Make OS X init script check for missing argument, so we don't
  15804. confuse users who invoke it incorrectly.
  15805. - Fix a seg fault in "tor --hash-password foo".
  15806. - The MAPADDRESS control command was broken.
  15807. Changes in version 0.1.1.1-alpha - 2005-06-29
  15808. o Bugfixes:
  15809. - Make OS X init script check for missing argument, so we don't
  15810. confuse users who invoke it incorrectly.
  15811. - Fix a seg fault in "tor --hash-password foo".
  15812. - Fix a possible way to DoS dirservers.
  15813. - When we complain that your exit policy implicitly allows local or
  15814. private address spaces, name them explicitly so operators can
  15815. fix it.
  15816. - Make the log message less scary when all the dirservers are
  15817. temporarily unreachable.
  15818. - We were printing the number of idle dns workers incorrectly when
  15819. culling them.
  15820. o Features:
  15821. - Revised controller protocol (version 1) that uses ascii rather
  15822. than binary. Add supporting libraries in python and java so you
  15823. can use the controller from your applications without caring how
  15824. our protocol works.
  15825. - Spiffy new support for crypto hardware accelerators. Can somebody
  15826. test this?
  15827. Changes in version 0.0.9.10 - 2005-06-16
  15828. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  15829. - Refuse relay cells that claim to have a length larger than the
  15830. maximum allowed. This prevents a potential attack that could read
  15831. arbitrary memory (e.g. keys) from an exit server's process
  15832. (CVE-2005-2050).
  15833. Changes in version 0.1.0.10 - 2005-06-14
  15834. o Allow a few EINVALs from libevent before dying. Warn on kqueue with
  15835. libevent before 1.1a.
  15836. Changes in version 0.1.0.9-rc - 2005-06-09
  15837. o Bugfixes:
  15838. - Reset buf->highwater every time buf_shrink() is called, not just on
  15839. a successful shrink. This was causing significant memory bloat.
  15840. - Fix buffer overflow when checking hashed passwords.
  15841. - Security fix: if seeding the RNG on Win32 fails, quit.
  15842. - Allow seeding the RNG on Win32 even when you're not running as
  15843. Administrator.
  15844. - Disable threading on Solaris too. Something is wonky with it,
  15845. cpuworkers, and reentrant libs.
  15846. - Reenable the part of the code that tries to flush as soon as an
  15847. OR outbuf has a full TLS record available. Perhaps this will make
  15848. OR outbufs not grow as huge except in rare cases, thus saving lots
  15849. of CPU time plus memory.
  15850. - Reject malformed .onion addresses rather then passing them on as
  15851. normal web requests.
  15852. - Adapt patch from Adam Langley: fix possible memory leak in
  15853. tor_lookup_hostname().
  15854. - Initialize libevent later in the startup process, so the logs are
  15855. already established by the time we start logging libevent warns.
  15856. - Use correct errno on win32 if libevent fails.
  15857. - Check and warn about known-bad/slow libevent versions.
  15858. - Pay more attention to the ClientOnly config option.
  15859. - Have torctl.in/tor.sh.in check for location of su binary (needed
  15860. on FreeBSD)
  15861. - Correct/add man page entries for LongLivedPorts, ExitPolicy,
  15862. KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
  15863. HttpProxyAuthenticator
  15864. - Stop warning about sigpipes in the logs. We're going to
  15865. pretend that getting these occassionally is normal and fine.
  15866. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
  15867. certain
  15868. installer screens; and don't put stuff into StartupItems unless
  15869. the user asks you to.
  15870. - Require servers that use the default dirservers to have public IP
  15871. addresses. We have too many servers that are configured with private
  15872. IPs and their admins never notice the log entries complaining that
  15873. their descriptors are being rejected.
  15874. - Add OSX uninstall instructions. An actual uninstall script will
  15875. come later.
  15876. Changes in version 0.1.0.8-rc - 2005-05-23
  15877. o Bugfixes:
  15878. - It turns out that kqueue on OS X 10.3.9 was causing kernel
  15879. panics. Disable kqueue on all OS X Tors.
  15880. - Fix RPM: remove duplicate line accidentally added to the rpm
  15881. spec file.
  15882. - Disable threads on openbsd too, since its gethostaddr is not
  15883. reentrant either.
  15884. - Tolerate libevent 0.8 since it still works, even though it's
  15885. ancient.
  15886. - Enable building on Red Hat 9.0 again.
  15887. - Allow the middle hop of the testing circuit to be running any
  15888. version, now that most of them have the bugfix to let them connect
  15889. to unknown servers. This will allow reachability testing to work
  15890. even when 0.0.9.7-0.0.9.9 become obsolete.
  15891. - Handle relay cells with rh.length too large. This prevents
  15892. a potential attack that could read arbitrary memory (maybe even
  15893. keys) from the exit server's process.
  15894. - We screwed up the dirport reachability testing when we don't yet
  15895. have a cached version of the directory. Hopefully now fixed.
  15896. - Clean up router_load_single_router() (used by the controller),
  15897. so it doesn't seg fault on error.
  15898. - Fix a minor memory leak when somebody establishes an introduction
  15899. point at your Tor server.
  15900. - If a socks connection ends because read fails, don't warn that
  15901. you're not sending a socks reply back.
  15902. o Features:
  15903. - Add HttpProxyAuthenticator config option too, that works like
  15904. the HttpsProxyAuthenticator config option.
  15905. - Encode hashed controller passwords in hex instead of base64,
  15906. to make it easier to write controllers.
  15907. Changes in version 0.1.0.7-rc - 2005-05-17
  15908. o Bugfixes:
  15909. - Fix a bug in the OS X package installer that prevented it from
  15910. installing on Tiger.
  15911. - Fix a script bug in the OS X package installer that made it
  15912. complain during installation.
  15913. - Find libevent even if it's hiding in /usr/local/ and your
  15914. CFLAGS and LDFLAGS don't tell you to look there.
  15915. - Be able to link with libevent as a shared library (the default
  15916. after 1.0d), even if it's hiding in /usr/local/lib and even
  15917. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  15918. assuming you're running gcc. Otherwise fail and give a useful
  15919. error message.
  15920. - Fix a bug in the RPM packager: set home directory for _tor to
  15921. something more reasonable when first installing.
  15922. - Free a minor amount of memory that is still reachable on exit.
  15923. Changes in version 0.1.0.6-rc - 2005-05-14
  15924. o Bugfixes:
  15925. - Implement --disable-threads configure option. Disable threads on
  15926. netbsd by default, because it appears to have no reentrant resolver
  15927. functions.
  15928. - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
  15929. release (1.1) detects and disables kqueue if it's broken.
  15930. - Append default exit policy before checking for implicit internal
  15931. addresses. Now we don't log a bunch of complaints on startup
  15932. when using the default exit policy.
  15933. - Some people were putting "Address " in their torrc, and they had
  15934. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  15935. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  15936. LOCALSTATEDIR/tor instead.
  15937. - Fix fragmented-message bug in TorControl.py.
  15938. - Resolve a minor bug which would prevent unreachable dirports
  15939. from getting suppressed in the published descriptor.
  15940. - When the controller gave us a new descriptor, we weren't resolving
  15941. it immediately, so Tor would think its address was 0.0.0.0 until
  15942. we fetched a new directory.
  15943. - Fix an uppercase/lowercase case error in suppressing a bogus
  15944. libevent warning on some Linuxes.
  15945. o Features:
  15946. - Begin scrubbing sensitive strings from logs by default. Turn off
  15947. the config option SafeLogging if you need to do debugging.
  15948. - Switch to a new buffer management algorithm, which tries to avoid
  15949. reallocing and copying quite as much. In first tests it looks like
  15950. it uses *more* memory on average, but less cpu.
  15951. - First cut at support for "create-fast" cells. Clients can use
  15952. these when extending to their first hop, since the TLS already
  15953. provides forward secrecy and authentication. Not enabled on
  15954. clients yet.
  15955. - When dirservers refuse a router descriptor, we now log its
  15956. contactinfo, platform, and the poster's IP address.
  15957. - Call tor_free_all instead of connections_free_all after forking, to
  15958. save memory on systems that need to fork.
  15959. - Whine at you if you're a server and you don't set your contactinfo.
  15960. - Implement --verify-config command-line option to check if your torrc
  15961. is valid without actually launching Tor.
  15962. - Rewrite address "serifos.exit" to "localhost.serifos.exit"
  15963. rather than just rejecting it.
  15964. Changes in version 0.1.0.5-rc - 2005-04-27
  15965. o Bugfixes:
  15966. - Stop trying to print a null pointer if an OR conn fails because
  15967. we didn't like its cert.
  15968. o Features:
  15969. - Switch our internal buffers implementation to use a ring buffer,
  15970. to hopefully improve performance for fast servers a lot.
  15971. - Add HttpsProxyAuthenticator support (basic auth only), based
  15972. on patch from Adam Langley.
  15973. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  15974. the fast servers that have been joining lately.
  15975. - Give hidden service accesses extra time on the first attempt,
  15976. since 60 seconds is often only barely enough. This might improve
  15977. robustness more.
  15978. - Improve performance for dirservers: stop re-parsing the whole
  15979. directory every time you regenerate it.
  15980. - Add more debugging info to help us find the weird dns freebsd
  15981. pthreads bug; cleaner debug messages to help track future issues.
  15982. Changes in version 0.0.9.9 - 2005-04-23
  15983. o Bugfixes on 0.0.9.x:
  15984. - If unofficial Tor clients connect and send weird TLS certs, our
  15985. Tor server triggers an assert. This release contains a minimal
  15986. backport from the broader fix that we put into 0.1.0.4-rc.
  15987. Changes in version 0.1.0.4-rc - 2005-04-23
  15988. o Bugfixes:
  15989. - If unofficial Tor clients connect and send weird TLS certs, our
  15990. Tor server triggers an assert. Stop asserting, and start handling
  15991. TLS errors better in other situations too.
  15992. - When the controller asks us to tell it about all the debug-level
  15993. logs, it turns out we were generating debug-level logs while
  15994. telling it about them, which turns into a bad loop. Now keep
  15995. track of whether you're sending a debug log to the controller,
  15996. and don't log when you are.
  15997. - Fix the "postdescriptor" feature of the controller interface: on
  15998. non-complete success, only say "done" once.
  15999. o Features:
  16000. - Clients are now willing to load balance over up to 2mB, not 1mB,
  16001. of advertised bandwidth capacity.
  16002. - Add a NoPublish config option, so you can be a server (e.g. for
  16003. testing running Tor servers in other Tor networks) without
  16004. publishing your descriptor to the primary dirservers.
  16005. Changes in version 0.1.0.3-rc - 2005-04-08
  16006. o Improvements on 0.1.0.2-rc:
  16007. - Client now retries when streams end early for 'hibernating' or
  16008. 'resource limit' reasons, rather than failing them.
  16009. - More automated handling for dirserver operators:
  16010. - Automatically approve nodes running 0.1.0.2-rc or later,
  16011. now that the the reachability detection stuff is working.
  16012. - Now we allow two unverified servers with the same nickname
  16013. but different keys. But if a nickname is verified, only that
  16014. nickname+key are allowed.
  16015. - If you're an authdirserver connecting to an address:port,
  16016. and it's not the OR you were expecting, forget about that
  16017. descriptor. If he *was* the one you were expecting, then forget
  16018. about all other descriptors for that address:port.
  16019. - Allow servers to publish descriptors from 12 hours in the future.
  16020. Corollary: only whine about clock skew from the dirserver if
  16021. he's a trusted dirserver (since now even verified servers could
  16022. have quite wrong clocks).
  16023. - Adjust maximum skew and age for rendezvous descriptors: let skew
  16024. be 48 hours rather than 90 minutes.
  16025. - Efficiency improvements:
  16026. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  16027. it much faster to look up a circuit for each relay cell.
  16028. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  16029. since they're eating our cpu on exit nodes.
  16030. - Stop wasting time doing a case insensitive comparison for every
  16031. dns name every time we do any lookup. Canonicalize the names to
  16032. lowercase and be done with it.
  16033. - Start sending 'truncated' cells back rather than destroy cells,
  16034. if the circuit closes in front of you. This means we won't have
  16035. to abandon partially built circuits.
  16036. - Only warn once per nickname from add_nickname_list_to_smartlist
  16037. per failure, so an entrynode or exitnode choice that's down won't
  16038. yell so much.
  16039. - Put a note in the torrc about abuse potential with the default
  16040. exit policy.
  16041. - Revise control spec and implementation to allow all log messages to
  16042. be sent to controller with their severities intact (suggested by
  16043. Matt Edman). Update TorControl to handle new log event types.
  16044. - Provide better explanation messages when controller's POSTDESCRIPTOR
  16045. fails.
  16046. - Stop putting nodename in the Platform string in server descriptors.
  16047. It doesn't actually help, and it is confusing/upsetting some people.
  16048. o Bugfixes on 0.1.0.2-rc:
  16049. - We were printing the host mask wrong in exit policies in server
  16050. descriptors. This isn't a critical bug though, since we were still
  16051. obeying the exit policy internally.
  16052. - Fix Tor when compiled with libevent but without pthreads: move
  16053. connection_unregister() from _connection_free() to
  16054. connection_free().
  16055. - Fix an assert trigger (already fixed in 0.0.9.x): when we have
  16056. the rare mysterious case of accepting a conn on 0.0.0.0:0, then
  16057. when we look through the connection array, we'll find any of the
  16058. cpu/dnsworkers. This is no good.
  16059. o Bugfixes on 0.0.9.8:
  16060. - Fix possible bug on threading platforms (e.g. win32) which was
  16061. leaking a file descriptor whenever a cpuworker or dnsworker died.
  16062. - When using preferred entry or exit nodes, ignore whether the
  16063. circuit wants uptime or capacity. They asked for the nodes, they
  16064. get the nodes.
  16065. - chdir() to your datadirectory at the *end* of the daemonize process,
  16066. not the beginning. This was a problem because the first time you
  16067. run tor, if your datadir isn't there, and you have runasdaemon set
  16068. to 1, it will try to chdir to it before it tries to create it. Oops.
  16069. - Handle changed router status correctly when dirserver reloads
  16070. fingerprint file. We used to be dropping all unverified descriptors
  16071. right then. The bug was hidden because we would immediately
  16072. fetch a directory from another dirserver, which would include the
  16073. descriptors we just dropped.
  16074. - When we're connecting to an OR and he's got a different nickname/key
  16075. than we were expecting, only complain loudly if we're an OP or a
  16076. dirserver. Complaining loudly to the OR admins just confuses them.
  16077. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  16078. artificially capped at 500kB.
  16079. Changes in version 0.0.9.8 - 2005-04-07
  16080. o Bugfixes on 0.0.9.x:
  16081. - We have a bug that I haven't found yet. Sometimes, very rarely,
  16082. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  16083. thinks of itself as idle. This meant that no new circuits ever got
  16084. established. Here's a workaround to kill any cpuworker that's been
  16085. busy for more than 100 seconds.
  16086. Changes in version 0.1.0.2-rc - 2005-04-01
  16087. o Bugfixes on 0.1.0.1-rc:
  16088. - Fixes on reachability detection:
  16089. - Don't check for reachability while hibernating.
  16090. - If ORPort is reachable but DirPort isn't, still publish the
  16091. descriptor, but zero out DirPort until it's found reachable.
  16092. - When building testing circs for ORPort testing, use only
  16093. high-bandwidth nodes, so fewer circuits fail.
  16094. - Complain about unreachable ORPort separately from unreachable
  16095. DirPort, so the user knows what's going on.
  16096. - Make sure we only conclude ORPort reachability if we didn't
  16097. initiate the conn. Otherwise we could falsely conclude that
  16098. we're reachable just because we connected to the guy earlier
  16099. and he used that same pipe to extend to us.
  16100. - Authdirservers shouldn't do ORPort reachability detection,
  16101. since they're in clique mode, so it will be rare to find a
  16102. server not already connected to them.
  16103. - When building testing circuits, always pick middle hops running
  16104. Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
  16105. bug. (This is a kludge; it will go away when 0.0.9.x becomes
  16106. obsolete.)
  16107. - When we decide we're reachable, actually publish our descriptor
  16108. right then.
  16109. - Fix bug in redirectstream in the controller.
  16110. - Fix the state descriptor strings so logs don't claim edge streams
  16111. are in a different state than they actually are.
  16112. - Use recent libevent features when possible (this only really affects
  16113. win32 and osx right now, because the new libevent with these
  16114. features hasn't been released yet). Add code to suppress spurious
  16115. libevent log msgs.
  16116. - Prevent possible segfault in connection_close_unattached_ap().
  16117. - Fix newlines on torrc in win32.
  16118. - Improve error msgs when tor-resolve fails.
  16119. o Improvements on 0.0.9.x:
  16120. - New experimental script tor/contrib/ExerciseServer.py (needs more
  16121. work) that uses the controller interface to build circuits and
  16122. fetch pages over them. This will help us bootstrap servers that
  16123. have lots of capacity but haven't noticed it yet.
  16124. - New experimental script tor/contrib/PathDemo.py (needs more work)
  16125. that uses the controller interface to let you choose whole paths
  16126. via addresses like
  16127. "<hostname>.<path,separated by dots>.<length of path>.path"
  16128. - When we've connected to an OR and handshaked but didn't like
  16129. the result, we were closing the conn without sending destroy
  16130. cells back for pending circuits. Now send those destroys.
  16131. Changes in version 0.0.9.7 - 2005-04-01
  16132. o Bugfixes on 0.0.9.x:
  16133. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  16134. - Compare identity to identity, not to nickname, when extending to
  16135. a router not already in the directory. This was preventing us from
  16136. extending to unknown routers. Oops.
  16137. - Make sure to create OS X Tor user in <500 range, so we aren't
  16138. creating actual system users.
  16139. - Note where connection-that-hasn't-sent-end was marked, and fix
  16140. a few really loud instances of this harmless bug (it's fixed more
  16141. in 0.1.0.x).
  16142. Changes in version 0.1.0.1-rc - 2005-03-28
  16143. o New features:
  16144. - Add reachability testing. Your Tor server will automatically try
  16145. to see if its ORPort and DirPort are reachable from the outside,
  16146. and it won't upload its descriptor until it decides they are.
  16147. - Handle unavailable hidden services better. Handle slow or busy
  16148. hidden services better.
  16149. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  16150. config option.
  16151. - New exit policy: accept most low-numbered ports, rather than
  16152. rejecting most low-numbered ports.
  16153. - More Tor controller support (still experimental). See
  16154. http://tor.eff.org/doc/control-spec.txt for all the new features,
  16155. including signals to emulate unix signals from any platform;
  16156. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  16157. closestream; closecircuit; etc.
  16158. - Make nt services work and start on startup on win32 (based on
  16159. patch by Matt Edman).
  16160. - Add a new AddressMap config directive to rewrite incoming socks
  16161. addresses. This lets you, for example, declare an implicit
  16162. required exit node for certain sites.
  16163. - Add a new TrackHostExits config directive to trigger addressmaps
  16164. for certain incoming socks addresses -- for sites that break when
  16165. your exit keeps changing (based on patch by Mike Perry).
  16166. - Redo the client-side dns cache so it's just an addressmap too.
  16167. - Notice when our IP changes, and reset stats/uptime/reachability.
  16168. - When an application is using socks5, give him the whole variety of
  16169. potential socks5 responses (connect refused, host unreachable, etc),
  16170. rather than just "success" or "failure".
  16171. - A more sane version numbering system. See
  16172. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  16173. - New contributed script "exitlist": a simple python script to
  16174. parse directories and find Tor nodes that exit to listed
  16175. addresses/ports.
  16176. - New contributed script "privoxy-tor-toggle" to toggle whether
  16177. Privoxy uses Tor. Seems to be configured for Debian by default.
  16178. - Report HTTP reasons to client when getting a response from directory
  16179. servers -- so you can actually know what went wrong.
  16180. - New config option MaxAdvertisedBandwidth which lets you advertise
  16181. a low bandwidthrate (to not attract as many circuits) while still
  16182. allowing a higher bandwidthrate in reality.
  16183. o Robustness/stability fixes:
  16184. - Make Tor use Niels Provos's libevent instead of its current
  16185. poll-but-sometimes-select mess. This will let us use faster async
  16186. cores (like epoll, kpoll, and /dev/poll), and hopefully work better
  16187. on Windows too.
  16188. - pthread support now too. This was forced because when we forked,
  16189. we ended up wasting a lot of duplicate ram over time. Also switch
  16190. to foo_r versions of some library calls to allow reentry and
  16191. threadsafeness.
  16192. - Better handling for heterogeneous / unreliable nodes:
  16193. - Annotate circuits w/ whether they aim to contain high uptime nodes
  16194. and/or high capacity nodes. When building circuits, choose
  16195. appropriate nodes.
  16196. - This means that every single node in an intro rend circuit,
  16197. not just the last one, will have a minimum uptime.
  16198. - New config option LongLivedPorts to indicate application streams
  16199. that will want high uptime circuits.
  16200. - Servers reset uptime when a dir fetch entirely fails. This
  16201. hopefully reflects stability of the server's network connectivity.
  16202. - If somebody starts his tor server in Jan 2004 and then fixes his
  16203. clock, don't make his published uptime be a year.
  16204. - Reset published uptime when you wake up from hibernation.
  16205. - Introduce a notion of 'internal' circs, which are chosen without
  16206. regard to the exit policy of the last hop. Intro and rendezvous
  16207. circs must be internal circs, to avoid leaking information. Resolve
  16208. and connect streams can use internal circs if they want.
  16209. - New circuit pooling algorithm: make sure to have enough circs around
  16210. to satisfy any predicted ports, and also make sure to have 2 internal
  16211. circs around if we've required internal circs lately (and with high
  16212. uptime if we've seen that lately too).
  16213. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  16214. which describes how often we retry making new circuits if current
  16215. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  16216. how long we're willing to make use of an already-dirty circuit.
  16217. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  16218. circ as necessary, if there are any completed ones lying around
  16219. when we try to launch one.
  16220. - Make hidden services try to establish a rendezvous for 30 seconds,
  16221. rather than for n (where n=3) attempts to build a circuit.
  16222. - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
  16223. "ShutdownWaitLength".
  16224. - Try to be more zealous about calling connection_edge_end when
  16225. things go bad with edge conns in connection.c.
  16226. - Revise tor-spec to add more/better stream end reasons.
  16227. - Revise all calls to connection_edge_end to avoid sending "misc",
  16228. and to take errno into account where possible.
  16229. o Bug fixes:
  16230. - Fix a race condition that can trigger an assert, when we have a
  16231. pending create cell and an OR connection fails right then.
  16232. - Fix several double-mark-for-close bugs, e.g. where we were finding
  16233. a conn for a cell even if that conn is already marked for close.
  16234. - Make sequence of log messages when starting on win32 with no config
  16235. file more reasonable.
  16236. - When choosing an exit node for a new non-internal circ, don't take
  16237. into account whether it'll be useful for any pending x.onion
  16238. addresses -- it won't.
  16239. - Turn addr_policy_compare from a tristate to a quadstate; this should
  16240. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  16241. for google.com" problem.
  16242. - Make "platform" string in descriptor more accurate for Win32 servers,
  16243. so it's not just "unknown platform".
  16244. - Fix an edge case in parsing config options (thanks weasel).
  16245. If they say "--" on the commandline, it's not an option.
  16246. - Reject odd-looking addresses at the client (e.g. addresses that
  16247. contain a colon), rather than having the server drop them because
  16248. they're malformed.
  16249. - tor-resolve requests were ignoring .exit if there was a working circuit
  16250. they could use instead.
  16251. - REUSEADDR on normal platforms means you can rebind to the port
  16252. right after somebody else has let it go. But REUSEADDR on win32
  16253. means to let you bind to the port _even when somebody else
  16254. already has it bound_! So, don't do that on Win32.
  16255. - Change version parsing logic: a version is "obsolete" if it is not
  16256. recommended and (1) there is a newer recommended version in the
  16257. same series, or (2) there are no recommended versions in the same
  16258. series, but there are some recommended versions in a newer series.
  16259. A version is "new" if it is newer than any recommended version in
  16260. the same series.
  16261. - Stop most cases of hanging up on a socks connection without sending
  16262. the socks reject.
  16263. o Helpful fixes:
  16264. - Require BandwidthRate to be at least 20kB/s for servers.
  16265. - When a dirserver causes you to give a warn, mention which dirserver
  16266. it was.
  16267. - New config option DirAllowPrivateAddresses for authdirservers.
  16268. Now by default they refuse router descriptors that have non-IP or
  16269. private-IP addresses.
  16270. - Stop publishing socksport in the directory, since it's not
  16271. actually meant to be public. For compatibility, publish a 0 there
  16272. for now.
  16273. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  16274. smart" value, that is low for servers and high for clients.
  16275. - If our clock jumps forward by 100 seconds or more, assume something
  16276. has gone wrong with our network and abandon all not-yet-used circs.
  16277. - Warn when exit policy implicitly allows local addresses.
  16278. - If we get an incredibly skewed timestamp from a dirserver mirror
  16279. that isn't a verified OR, don't warn -- it's probably him that's
  16280. wrong.
  16281. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  16282. cookies to disk and doesn't log each web request to disk. (Thanks
  16283. to Brett Carrington for pointing this out.)
  16284. - When a client asks us for a dir mirror and we don't have one,
  16285. launch an attempt to get a fresh one.
  16286. - If we're hibernating and we get a SIGINT, exit immediately.
  16287. - Add --with-dmalloc ./configure option, to track memory leaks.
  16288. - And try to free all memory on closing, so we can detect what
  16289. we're leaking.
  16290. - Cache local dns resolves correctly even when they're .exit
  16291. addresses.
  16292. - Give a better warning when some other server advertises an
  16293. ORPort that is actually an apache running ssl.
  16294. - Add "opt hibernating 1" to server descriptor to make it clearer
  16295. whether the server is hibernating.
  16296. Changes in version 0.0.9.6 - 2005-03-24
  16297. o Bugfixes on 0.0.9.x (crashes and asserts):
  16298. - Add new end stream reasons to maintainance branch. Fix bug where
  16299. reason (8) could trigger an assert. Prevent bug from recurring.
  16300. - Apparently win32 stat wants paths to not end with a slash.
  16301. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  16302. blowing away the circuit that conn->cpath_layer points to, then
  16303. checking to see if the circ is well-formed. Backport check to make
  16304. sure we dont use the cpath on a closed connection.
  16305. - Prevent circuit_resume_edge_reading_helper() from trying to package
  16306. inbufs for marked-for-close streams.
  16307. - Don't crash on hup if your options->address has become unresolvable.
  16308. - Some systems (like OS X) sometimes accept() a connection and tell
  16309. you the remote host is 0.0.0.0:0. If this happens, due to some
  16310. other mis-features, we get confused; so refuse the conn for now.
  16311. o Bugfixes on 0.0.9.x (other):
  16312. - Fix harmless but scary "Unrecognized content encoding" warn message.
  16313. - Add new stream error reason: TORPROTOCOL reason means "you are not
  16314. speaking a version of Tor I understand; say bye-bye to your stream."
  16315. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  16316. into the future, now that we are more tolerant of skew. This
  16317. resolves a bug where a Tor server would refuse to cache a directory
  16318. because all the directories it gets are too far in the future;
  16319. yet the Tor server never logs any complaints about clock skew.
  16320. - Mac packaging magic: make man pages useable, and do not overwrite
  16321. existing torrc files.
  16322. - Make OS X log happily to /var/log/tor/tor.log
  16323. Changes in version 0.0.9.5 - 2005-02-22
  16324. o Bugfixes on 0.0.9.x:
  16325. - Fix an assert race at exit nodes when resolve requests fail.
  16326. - Stop picking unverified dir mirrors--it only leads to misery.
  16327. - Patch from Matt Edman to make NT services work better. Service
  16328. support is still not compiled into the executable by default.
  16329. - Patch from Dmitri Bely so the Tor service runs better under
  16330. the win32 SYSTEM account.
  16331. - Make tor-resolve actually work (?) on Win32.
  16332. - Fix a sign bug when getrlimit claims to have 4+ billion
  16333. file descriptors available.
  16334. - Stop refusing to start when bandwidthburst == bandwidthrate.
  16335. - When create cells have been on the onion queue more than five
  16336. seconds, just send back a destroy and take them off the list.
  16337. Changes in version 0.0.9.4 - 2005-02-03
  16338. o Bugfixes on 0.0.9:
  16339. - Fix an assert bug that took down most of our servers: when
  16340. a server claims to have 1 GB of bandwidthburst, don't
  16341. freak out.
  16342. - Don't crash as badly if we have spawned the max allowed number
  16343. of dnsworkers, or we're out of file descriptors.
  16344. - Block more file-sharing ports in the default exit policy.
  16345. - MaxConn is now automatically set to the hard limit of max
  16346. file descriptors we're allowed (ulimit -n), minus a few for
  16347. logs, etc.
  16348. - Give a clearer message when servers need to raise their
  16349. ulimit -n when they start running out of file descriptors.
  16350. - SGI Compatibility patches from Jan Schaumann.
  16351. - Tolerate a corrupt cached directory better.
  16352. - When a dirserver hasn't approved your server, list which one.
  16353. - Go into soft hibernation after 95% of the bandwidth is used,
  16354. not 99%. This is especially important for daily hibernators who
  16355. have a small accounting max. Hopefully it will result in fewer
  16356. cut connections when the hard hibernation starts.
  16357. - Load-balance better when using servers that claim more than
  16358. 800kB/s of capacity.
  16359. - Make NT services work (experimental, only used if compiled in).
  16360. Changes in version 0.0.9.3 - 2005-01-21
  16361. o Bugfixes on 0.0.9:
  16362. - Backport the cpu use fixes from main branch, so busy servers won't
  16363. need as much processor time.
  16364. - Work better when we go offline and then come back, or when we
  16365. run Tor at boot before the network is up. We do this by
  16366. optimistically trying to fetch a new directory whenever an
  16367. application request comes in and we think we're offline -- the
  16368. human is hopefully a good measure of when the network is back.
  16369. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  16370. long as you keep using them; actually publish hidserv descriptors
  16371. shortly after they change, rather than waiting 20-40 minutes.
  16372. - Enable Mac startup script by default.
  16373. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  16374. - When you update AllowUnverifiedNodes or FirewallPorts via the
  16375. controller's setconf feature, we were always appending, never
  16376. resetting.
  16377. - When you update HiddenServiceDir via setconf, it was screwing up
  16378. the order of reading the lines, making it fail.
  16379. - Do not rewrite a cached directory back to the cache; otherwise we
  16380. will think it is recent and not fetch a newer one on startup.
  16381. - Workaround for webservers that lie about Content-Encoding: Tor
  16382. now tries to autodetect compressed directories and compression
  16383. itself. This lets us Proxypass dir fetches through apache.
  16384. Changes in version 0.0.9.2 - 2005-01-04
  16385. o Bugfixes on 0.0.9 (crashes and asserts):
  16386. - Fix an assert on startup when the disk is full and you're logging
  16387. to a file.
  16388. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  16389. style address, then we'd crash.
  16390. - Fix an assert trigger when the running-routers string we get from
  16391. a dirserver is broken.
  16392. - Make worker threads start and run on win32. Now win32 servers
  16393. may work better.
  16394. - Bandaid (not actually fix, but now it doesn't crash) an assert
  16395. where the dns worker dies mysteriously and the main Tor process
  16396. doesn't remember anything about the address it was resolving.
  16397. o Bugfixes on 0.0.9 (Win32):
  16398. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  16399. name out of the warning/assert messages.
  16400. - Fix a superficial "unhandled error on read" bug on win32.
  16401. - The win32 installer no longer requires a click-through for our
  16402. license, since our Free Software license grants rights but does not
  16403. take any away.
  16404. - Win32: When connecting to a dirserver fails, try another one
  16405. immediately. (This was already working for non-win32 Tors.)
  16406. - Stop trying to parse $HOME on win32 when hunting for default
  16407. DataDirectory.
  16408. - Make tor-resolve.c work on win32 by calling network_init().
  16409. o Bugfixes on 0.0.9 (other):
  16410. - Make 0.0.9.x build on Solaris again.
  16411. - Due to a fencepost error, we were blowing away the \n when reporting
  16412. confvalue items in the controller. So asking for multiple config
  16413. values at once couldn't work.
  16414. - When listing circuits that are pending on an opening OR connection,
  16415. if we're an OR we were listing circuits that *end* at us as
  16416. being pending on every listener, dns/cpu worker, etc. Stop that.
  16417. - Dirservers were failing to create 'running-routers' or 'directory'
  16418. strings if we had more than some threshold of routers. Fix them so
  16419. they can handle any number of routers.
  16420. - Fix a superficial "Duplicate mark for close" bug.
  16421. - Stop checking for clock skew for OR connections, even for servers.
  16422. - Fix a fencepost error that was chopping off the last letter of any
  16423. nickname that is the maximum allowed nickname length.
  16424. - Update URLs in log messages so they point to the new website.
  16425. - Fix a potential problem in mangling server private keys while
  16426. writing to disk (not triggered yet, as far as we know).
  16427. - Include the licenses for other free software we include in Tor,
  16428. now that we're shipping binary distributions more regularly.
  16429. Changes in version 0.0.9.1 - 2004-12-15
  16430. o Bugfixes on 0.0.9:
  16431. - Make hibernation actually work.
  16432. - Make HashedControlPassword config option work.
  16433. - When we're reporting event circuit status to a controller,
  16434. don't use the stream status code.
  16435. Changes in version 0.0.9 - 2004-12-12
  16436. o Cleanups:
  16437. - Clean up manpage and torrc.sample file.
  16438. - Clean up severities and text of log warnings.
  16439. o Mistakes:
  16440. - Make servers trigger an assert when they enter hibernation.
  16441. Changes in version 0.0.9rc7 - 2004-12-08
  16442. o Bugfixes on 0.0.9rc:
  16443. - Fix a stack-trashing crash when an exit node begins hibernating.
  16444. - Avoid looking at unallocated memory while considering which
  16445. ports we need to build circuits to cover.
  16446. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  16447. we shouldn't hold-open-until-flush if the eof arrived first.
  16448. - Fix a bug with init_cookie_authentication() in the controller.
  16449. - When recommending new-format log lines, if the upper bound is
  16450. LOG_ERR, leave it implicit.
  16451. o Bugfixes on 0.0.8.1:
  16452. - Fix a whole slew of memory leaks.
  16453. - Fix isspace() and friends so they still make Solaris happy
  16454. but also so they don't trigger asserts on win32.
  16455. - Fix parse_iso_time on platforms without strptime (eg win32).
  16456. - win32: tolerate extra "readable" events better.
  16457. - win32: when being multithreaded, leave parent fdarray open.
  16458. - Make unit tests work on win32.
  16459. Changes in version 0.0.9rc6 - 2004-12-06
  16460. o Bugfixes on 0.0.9pre:
  16461. - Clean up some more integer underflow opportunities (not exploitable
  16462. we think).
  16463. - While hibernating, hup should not regrow our listeners.
  16464. - Send an end to the streams we close when we hibernate, rather
  16465. than just chopping them off.
  16466. - React to eof immediately on non-open edge connections.
  16467. o Bugfixes on 0.0.8.1:
  16468. - Calculate timeout for waiting for a connected cell from the time
  16469. we sent the begin cell, not from the time the stream started. If
  16470. it took a long time to establish the circuit, we would time out
  16471. right after sending the begin cell.
  16472. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  16473. of * as always matching, so we were picking reject *:* nodes as
  16474. exit nodes too. Oops.
  16475. o Features:
  16476. - New circuit building strategy: keep a list of ports that we've
  16477. used in the past 6 hours, and always try to have 2 circuits open
  16478. or on the way that will handle each such port. Seed us with port
  16479. 80 so web users won't complain that Tor is "slow to start up".
  16480. - Make kill -USR1 dump more useful stats about circuits.
  16481. - When warning about retrying or giving up, print the address, so
  16482. the user knows which one it's talking about.
  16483. - If you haven't used a clean circuit in an hour, throw it away,
  16484. just to be on the safe side. (This means after 6 hours a totally
  16485. unused Tor client will have no circuits open.)
  16486. Changes in version 0.0.9rc5 - 2004-12-01
  16487. o Bugfixes on 0.0.8.1:
  16488. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  16489. - Let resolve conns retry/expire also, rather than sticking around
  16490. forever.
  16491. - If we are using select, make sure we stay within FD_SETSIZE.
  16492. o Bugfixes on 0.0.9pre:
  16493. - Fix integer underflow in tor_vsnprintf() that may be exploitable,
  16494. but doesn't seem to be currently; thanks to Ilja van Sprundel for
  16495. finding it.
  16496. - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
  16497. instead. Impose minima and maxima for all *Period options; impose
  16498. even tighter maxima for fetching if we are a caching dirserver.
  16499. Clip rather than rejecting.
  16500. - Fetch cached running-routers from servers that serve it (that is,
  16501. authdirservers and servers running 0.0.9rc5-cvs or later.)
  16502. o Features:
  16503. - Accept *:706 (silc) in default exit policy.
  16504. - Implement new versioning format for post 0.1.
  16505. - Support "foo.nickname.exit" addresses, to let Alice request the
  16506. address "foo" as viewed by exit node "nickname". Based on a patch
  16507. by Geoff Goodell.
  16508. - Make tor --version --version dump the cvs Id of every file.
  16509. Changes in version 0.0.9rc4 - 2004-11-28
  16510. o Bugfixes on 0.0.8.1:
  16511. - Make windows sockets actually non-blocking (oops), and handle
  16512. win32 socket errors better.
  16513. o Bugfixes on 0.0.9rc1:
  16514. - Actually catch the -USR2 signal.
  16515. Changes in version 0.0.9rc3 - 2004-11-25
  16516. o Bugfixes on 0.0.8.1:
  16517. - Flush the log file descriptor after we print "Tor opening log file",
  16518. so we don't see those messages days later.
  16519. o Bugfixes on 0.0.9rc1:
  16520. - Make tor-resolve work again.
  16521. - Avoid infinite loop in tor-resolve if tor hangs up on it.
  16522. - Fix an assert trigger for clients/servers handling resolves.
  16523. Changes in version 0.0.9rc2 - 2004-11-24
  16524. o Bugfixes on 0.0.9rc1:
  16525. - I broke socks5 support while fixing the eof bug.
  16526. - Allow unitless bandwidths and intervals; they default to bytes
  16527. and seconds.
  16528. - New servers don't start out hibernating; they are active until
  16529. they run out of bytes, so they have a better estimate of how
  16530. long it takes, and so their operators can know they're working.
  16531. Changes in version 0.0.9rc1 - 2004-11-23
  16532. o Bugfixes on 0.0.8.1:
  16533. - Finally fix a bug that's been plaguing us for a year:
  16534. With high load, circuit package window was reaching 0. Whenever
  16535. we got a circuit-level sendme, we were reading a lot on each
  16536. socket, but only writing out a bit. So we would eventually reach
  16537. eof. This would be noticed and acted on even when there were still
  16538. bytes sitting in the inbuf.
  16539. - When poll() is interrupted, we shouldn't believe the revents values.
  16540. o Bugfixes on 0.0.9pre6:
  16541. - Fix hibernate bug that caused pre6 to be broken.
  16542. - Don't keep rephist info for routers that haven't had activity for
  16543. 24 hours. (This matters now that clients have keys, since we track
  16544. them too.)
  16545. - Never call close_temp_logs while validating log options.
  16546. - Fix backslash-escaping on tor.sh.in and torctl.in.
  16547. o Features:
  16548. - Implement weekly/monthly/daily accounting: now you specify your
  16549. hibernation properties by
  16550. AccountingMax N bytes|KB|MB|GB|TB
  16551. AccountingStart day|week|month [day] HH:MM
  16552. Defaults to "month 1 0:00".
  16553. - Let bandwidth and interval config options be specified as 5 bytes,
  16554. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  16555. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  16556. get back to normal.)
  16557. - If your requested entry or exit node has advertised bandwidth 0,
  16558. pick it anyway.
  16559. - Be more greedy about filling up relay cells -- we try reading again
  16560. once we've processed the stuff we read, in case enough has arrived
  16561. to fill the last cell completely.
  16562. - Apply NT service patch from Osamu Fujino. Still needs more work.
  16563. Changes in version 0.0.9pre6 - 2004-11-15
  16564. o Bugfixes on 0.0.8.1:
  16565. - Fix assert failure on malformed socks4a requests.
  16566. - Use identity comparison, not nickname comparison, to choose which
  16567. half of circuit-ID-space each side gets to use. This is needed
  16568. because sometimes we think of a router as a nickname, and sometimes
  16569. as a hex ID, and we can't predict what the other side will do.
  16570. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  16571. write() call will fail and we handle it there.
  16572. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  16573. and smartlist_len, which are two major profiling offenders.
  16574. o Bugfixes on 0.0.9pre5:
  16575. - Fix a bug in read_all that was corrupting config files on windows.
  16576. - When we're raising the max number of open file descriptors to
  16577. 'unlimited', don't log that we just raised it to '-1'.
  16578. - Include event code with events, as required by control-spec.txt.
  16579. - Don't give a fingerprint when clients do --list-fingerprint:
  16580. it's misleading, because it will never be the same again.
  16581. - Stop using strlcpy in tor_strndup, since it was slowing us
  16582. down a lot.
  16583. - Remove warn on startup about missing cached-directory file.
  16584. - Make kill -USR1 work again.
  16585. - Hibernate if we start tor during the "wait for wakeup-time" phase
  16586. of an accounting interval. Log our hibernation plans better.
  16587. - Authoritative dirservers now also cache their directory, so they
  16588. have it on start-up.
  16589. o Features:
  16590. - Fetch running-routers; cache running-routers; compress
  16591. running-routers; serve compressed running-routers.z
  16592. - Add NSI installer script contributed by J Doe.
  16593. - Commit VC6 and VC7 workspace/project files.
  16594. - Commit a tor.spec for making RPM files, with help from jbash.
  16595. - Add contrib/torctl.in contributed by Glenn Fink.
  16596. - Implement the control-spec's SAVECONF command, to write your
  16597. configuration to torrc.
  16598. - Get cookie authentication for the controller closer to working.
  16599. - Include control-spec.txt in the tarball.
  16600. - When set_conf changes our server descriptor, upload a new copy.
  16601. But don't upload it too often if there are frequent changes.
  16602. - Document authentication config in man page, and document signals
  16603. we catch.
  16604. - Clean up confusing parts of man page and torrc.sample.
  16605. - Make expand_filename handle ~ and ~username.
  16606. - Use autoconf to enable largefile support where necessary. Use
  16607. ftello where available, since ftell can fail at 2GB.
  16608. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  16609. log more informatively.
  16610. - Give a slightly more useful output for "tor -h".
  16611. - Refuse application socks connections to port 0.
  16612. - Check clock skew for verified servers, but allow unverified
  16613. servers and clients to have any clock skew.
  16614. - Break DirFetchPostPeriod into:
  16615. - DirFetchPeriod for fetching full directory,
  16616. - StatusFetchPeriod for fetching running-routers,
  16617. - DirPostPeriod for posting server descriptor,
  16618. - RendPostPeriod for posting hidden service descriptors.
  16619. - Make sure the hidden service descriptors are at a random offset
  16620. from each other, to hinder linkability.
  16621. Changes in version 0.0.9pre5 - 2004-11-09
  16622. o Bugfixes on 0.0.9pre4:
  16623. - Fix a seg fault in unit tests (doesn't affect main program).
  16624. - Fix an assert bug where a hidden service provider would fail if
  16625. the first hop of his rendezvous circuit was down.
  16626. - Hidden service operators now correctly handle version 1 style
  16627. INTRODUCE1 cells (nobody generates them still, so not a critical
  16628. bug).
  16629. - If do_hup fails, actually notice.
  16630. - Handle more errnos from accept() without closing the listener.
  16631. Some OpenBSD machines were closing their listeners because
  16632. they ran out of file descriptors.
  16633. - Send resolve cells to exit routers that are running a new
  16634. enough version of the resolve code to work right.
  16635. - Better handling of winsock includes on non-MSV win32 compilers.
  16636. - Some people had wrapped their tor client/server in a script
  16637. that would restart it whenever it died. This did not play well
  16638. with our "shut down if your version is obsolete" code. Now people
  16639. don't fetch a new directory if their local cached version is
  16640. recent enough.
  16641. - Make our autogen.sh work on ksh as well as bash.
  16642. o Major Features:
  16643. - Hibernation: New config option "AccountingMaxKB" lets you
  16644. set how many KBytes per month you want to allow your server to
  16645. consume. Rather than spreading those bytes out evenly over the
  16646. month, we instead hibernate for some of the month and pop up
  16647. at a deterministic time, work until the bytes are consumed, then
  16648. hibernate again. Config option "MonthlyAccountingStart" lets you
  16649. specify which day of the month your billing cycle starts on.
  16650. - Control interface: a separate program can now talk to your
  16651. client/server over a socket, and get/set config options, receive
  16652. notifications of circuits and streams starting/finishing/dying,
  16653. bandwidth used, etc. The next step is to get some GUIs working.
  16654. Let us know if you want to help out. See doc/control-spec.txt .
  16655. - Ship a contrib/tor-control.py as an example script to interact
  16656. with the control port.
  16657. - "tor --hash-password zzyxz" will output a salted password for
  16658. use in authenticating to the control interface.
  16659. - New log format in config:
  16660. "Log minsev[-maxsev] stdout|stderr|syslog" or
  16661. "Log minsev[-maxsev] file /var/foo"
  16662. o Minor Features:
  16663. - DirPolicy config option, to let people reject incoming addresses
  16664. from their dirserver.
  16665. - "tor --list-fingerprint" will list your identity key fingerprint
  16666. and then exit.
  16667. - Add "pass" target for RedirectExit, to make it easier to break
  16668. out of a sequence of RedirectExit rules.
  16669. - Clients now generate a TLS cert too, in preparation for having
  16670. them act more like real nodes.
  16671. - Ship src/win32/ in the tarball, so people can use it to build.
  16672. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  16673. is broken.
  16674. - New "router-status" line in directory, to better bind each verified
  16675. nickname to its identity key.
  16676. - Deprecate unofficial config option abbreviations, and abbreviations
  16677. not on the command line.
  16678. - Add a pure-C tor-resolve implementation.
  16679. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  16680. 1024) file descriptors.
  16681. o Code security improvements, inspired by Ilja:
  16682. - Replace sprintf with snprintf. (I think they were all safe, but
  16683. hey.)
  16684. - Replace strcpy/strncpy with strlcpy in more places.
  16685. - Avoid strcat; use snprintf or strlcat instead.
  16686. - snprintf wrapper with consistent (though not C99) overflow behavior.
  16687. Changes in version 0.0.9pre4 - 2004-10-17
  16688. o Bugfixes on 0.0.9pre3:
  16689. - If the server doesn't specify an exit policy, use the real default
  16690. exit policy, not reject *:*.
  16691. - Ignore fascistfirewall when uploading/downloading hidden service
  16692. descriptors, since we go through Tor for those; and when using
  16693. an HttpProxy, since we assume it can reach them all.
  16694. - When looking for an authoritative dirserver, use only the ones
  16695. configured at boot. Don't bother looking in the directory.
  16696. - The rest of the fix for get_default_conf_file() on older win32.
  16697. - Make 'Routerfile' config option obsolete.
  16698. o Features:
  16699. - New 'MyFamily nick1,...' config option for a server to
  16700. specify other servers that shouldn't be used in the same circuit
  16701. with it. Only believed if nick1 also specifies us.
  16702. - New 'NodeFamily nick1,nick2,...' config option for a client to
  16703. specify nodes that it doesn't want to use in the same circuit.
  16704. - New 'Redirectexit pattern address:port' config option for a
  16705. server to redirect exit connections, e.g. to a local squid.
  16706. Changes in version 0.0.9pre3 - 2004-10-13
  16707. o Bugfixes on 0.0.8.1:
  16708. - Better torrc example lines for dirbindaddress and orbindaddress.
  16709. - Improved bounds checking on parsed ints (e.g. config options and
  16710. the ones we find in directories.)
  16711. - Better handling of size_t vs int, so we're more robust on 64
  16712. bit platforms.
  16713. - Fix the rest of the bug where a newly started OR would appear
  16714. as unverified even after we've added his fingerprint and hupped
  16715. the dirserver.
  16716. - Fix a bug from 0.0.7: when read() failed on a stream, we would
  16717. close it without sending back an end. So 'connection refused'
  16718. would simply be ignored and the user would get no response.
  16719. o Bugfixes on 0.0.9pre2:
  16720. - Serving the cached-on-disk directory to people is bad. We now
  16721. provide no directory until we've fetched a fresh one.
  16722. - Workaround for bug on windows where cached-directories get crlf
  16723. corruption.
  16724. - Make get_default_conf_file() work on older windows too.
  16725. - If we write a *:* exit policy line in the descriptor, don't write
  16726. any more exit policy lines.
  16727. o Features:
  16728. - Use only 0.0.9pre1 and later servers for resolve cells.
  16729. - Make the dirservers file obsolete.
  16730. - Include a dir-signing-key token in directories to tell the
  16731. parsing entity which key is being used to sign.
  16732. - Remove the built-in bulky default dirservers string.
  16733. - New config option "Dirserver %s:%d [fingerprint]", which can be
  16734. repeated as many times as needed. If no dirservers specified,
  16735. default to moria1,moria2,tor26.
  16736. - Make moria2 advertise a dirport of 80, so people behind firewalls
  16737. will be able to get a directory.
  16738. - Http proxy support
  16739. - Dirservers translate requests for http://%s:%d/x to /x
  16740. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  16741. be routed through this host.
  16742. - Clients ask for /tor/x rather than /x for new enough dirservers.
  16743. This way we can one day coexist peacefully with apache.
  16744. - Clients specify a "Host: %s%d" http header, to be compatible
  16745. with more proxies, and so running squid on an exit node can work.
  16746. Changes in version 0.0.8.1 - 2004-10-13
  16747. o Bugfixes:
  16748. - Fix a seg fault that can be triggered remotely for Tor
  16749. clients/servers with an open dirport.
  16750. - Fix a rare assert trigger, where routerinfos for entries in
  16751. our cpath would expire while we're building the path.
  16752. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  16753. - Fix a rare seg fault for people running hidden services on
  16754. intermittent connections.
  16755. - Fix a bug in parsing opt keywords with objects.
  16756. - Fix a stale pointer assert bug when a stream detaches and
  16757. reattaches.
  16758. - Fix a string format vulnerability (probably not exploitable)
  16759. in reporting stats locally.
  16760. - Fix an assert trigger: sometimes launching circuits can fail
  16761. immediately, e.g. because too many circuits have failed recently.
  16762. - Fix a compile warning on 64 bit platforms.
  16763. Changes in version 0.0.9pre2 - 2004-10-03
  16764. o Bugfixes:
  16765. - Make fetching a cached directory work for 64-bit platforms too.
  16766. - Make zlib.h a required header, not an optional header.
  16767. Changes in version 0.0.9pre1 - 2004-10-01
  16768. o Bugfixes:
  16769. - Stop using separate defaults for no-config-file and
  16770. empty-config-file. Now you have to explicitly turn off SocksPort,
  16771. if you don't want it open.
  16772. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  16773. - Improve man page to mention more of the 0.0.8 features.
  16774. - Fix a rare seg fault for people running hidden services on
  16775. intermittent connections.
  16776. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  16777. happier.
  16778. - Fix more dns related bugs: send back resolve_failed and end cells
  16779. more reliably when the resolve fails, rather than closing the
  16780. circuit and then trying to send the cell. Also attach dummy resolve
  16781. connections to a circuit *before* calling dns_resolve(), to fix
  16782. a bug where cached answers would never be sent in RESOLVED cells.
  16783. - When we run out of disk space, or other log writing error, don't
  16784. crash. Just stop logging to that log and continue.
  16785. - We were starting to daemonize before we opened our logs, so if
  16786. there were any problems opening logs, we would complain to stderr,
  16787. which wouldn't work, and then mysteriously exit.
  16788. - Fix a rare bug where sometimes a verified OR would connect to us
  16789. before he'd uploaded his descriptor, which would cause us to
  16790. assign conn->nickname as though he's unverified. Now we look through
  16791. the fingerprint list to see if he's there.
  16792. - Fix a rare assert trigger, where routerinfos for entries in
  16793. our cpath would expire while we're building the path.
  16794. o Features:
  16795. - Clients can ask dirservers for /dir.z to get a compressed version
  16796. of the directory. Only works for servers running 0.0.9, of course.
  16797. - Make clients cache directories and use them to seed their router
  16798. lists at startup. This means clients have a datadir again.
  16799. - Configuration infrastructure support for warning on obsolete
  16800. options.
  16801. - Respond to content-encoding headers by trying to uncompress as
  16802. appropriate.
  16803. - Reply with a deflated directory when a client asks for "dir.z".
  16804. We could use allow-encodings instead, but allow-encodings isn't
  16805. specified in HTTP 1.0.
  16806. - Raise the max dns workers from 50 to 100.
  16807. - Discourage people from setting their dirfetchpostperiod more often
  16808. than once per minute.
  16809. - Protect dirservers from overzealous descriptor uploading -- wait
  16810. 10 seconds after directory gets dirty, before regenerating.
  16811. Changes in version 0.0.8 - 2004-08-25
  16812. o Port it to SunOS 5.9 / Athena
  16813. Changes in version 0.0.8rc2 - 2004-08-20
  16814. o Make it compile on cygwin again.
  16815. o When picking unverified routers, skip those with low uptime and/or
  16816. low bandwidth, depending on what properties you care about.
  16817. Changes in version 0.0.8rc1 - 2004-08-18
  16818. o Changes from 0.0.7.3:
  16819. - Bugfixes:
  16820. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  16821. don't put it into the client dns cache.
  16822. - If a begin failed due to exit policy, but we believe the IP address
  16823. should have been allowed, switch that router to exitpolicy reject *:*
  16824. until we get our next directory.
  16825. - Features:
  16826. - Clients choose nodes proportional to advertised bandwidth.
  16827. - Avoid using nodes with low uptime as introduction points.
  16828. - Handle servers with dynamic IP addresses: don't replace
  16829. options->Address with the resolved one at startup, and
  16830. detect our address right before we make a routerinfo each time.
  16831. - 'FascistFirewall' option to pick dirservers and ORs on specific
  16832. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  16833. which ports are open. (Defaults to 80,443)
  16834. - Be more aggressive about trying to make circuits when the network
  16835. has changed (e.g. when you unsuspend your laptop).
  16836. - Check for time skew on http headers; report date in response to
  16837. "GET /".
  16838. - If the entrynode config line has only one node, don't pick it as
  16839. an exitnode.
  16840. - Add strict{entry|exit}nodes config options. If set to 1, then
  16841. we refuse to build circuits that don't include the specified entry
  16842. or exit nodes.
  16843. - OutboundBindAddress config option, to bind to a specific
  16844. IP address for outgoing connect()s.
  16845. - End truncated log entries (e.g. directories) with "[truncated]".
  16846. o Patches to 0.0.8preX:
  16847. - Bugfixes:
  16848. - Patches to compile and run on win32 again (maybe)?
  16849. - Fix crash when looking for ~/.torrc with no $HOME set.
  16850. - Fix a race bug in the unit tests.
  16851. - Handle verified/unverified name collisions better when new
  16852. routerinfo's arrive in a directory.
  16853. - Sometimes routers were getting entered into the stats before
  16854. we'd assigned their identity_digest. Oops.
  16855. - Only pick and establish intro points after we've gotten a
  16856. directory.
  16857. - Features:
  16858. - AllowUnverifiedNodes config option to let circuits choose no-name
  16859. routers in entry,middle,exit,introduction,rendezvous positions.
  16860. Allow middle and rendezvous positions by default.
  16861. - Add a man page for tor-resolve.
  16862. Changes in version 0.0.7.3 - 2004-08-12
  16863. o Stop dnsworkers from triggering an assert failure when you
  16864. ask them to resolve the host "".
  16865. Changes in version 0.0.8pre3 - 2004-08-09
  16866. o Changes from 0.0.7.2:
  16867. - Allow multiple ORs with same nickname in routerlist -- now when
  16868. people give us one identity key for a nickname, then later
  16869. another, we don't constantly complain until the first expires.
  16870. - Remember used bandwidth (both in and out), and publish 15-minute
  16871. snapshots for the past day into our descriptor.
  16872. - You can now fetch $DIRURL/running-routers to get just the
  16873. running-routers line, not the whole descriptor list. (But
  16874. clients don't use this yet.)
  16875. - When people mistakenly use Tor as an http proxy, point them
  16876. at the tor-doc.html rather than the INSTALL.
  16877. - Remove our mostly unused -- and broken -- hex_encode()
  16878. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  16879. for pointing out this bug.)
  16880. - Rotate onion keys every 12 hours, not every 2 hours, so we have
  16881. fewer problems with people using the wrong key.
  16882. - Change the default exit policy to reject the default edonkey,
  16883. kazaa, gnutella ports.
  16884. - Add replace_file() to util.[ch] to handle win32's rename().
  16885. o Changes from 0.0.8preX:
  16886. - Fix two bugs in saving onion keys to disk when rotating, so
  16887. hopefully we'll get fewer people using old onion keys.
  16888. - Fix an assert error that was making SocksPolicy not work.
  16889. - Be willing to expire routers that have an open dirport -- it's
  16890. just the authoritative dirservers we want to not forget.
  16891. - Reject tor-resolve requests for .onion addresses early, so we
  16892. don't build a whole rendezvous circuit and then fail.
  16893. - When you're warning a server that he's unverified, don't cry
  16894. wolf unpredictably.
  16895. - Fix a race condition: don't try to extend onto a connection
  16896. that's still handshaking.
  16897. - For servers in clique mode, require the conn to be open before
  16898. you'll choose it for your path.
  16899. - Fix some cosmetic bugs about duplicate mark-for-close, lack of
  16900. end relay cell, etc.
  16901. - Measure bandwidth capacity over the last 24 hours, not just 12
  16902. - Bugfix: authoritative dirservers were making and signing a new
  16903. directory for each client, rather than reusing the cached one.
  16904. Changes in version 0.0.8pre2 - 2004-08-04
  16905. o Changes from 0.0.7.2:
  16906. - Security fixes:
  16907. - Check directory signature _before_ you decide whether you're
  16908. you're running an obsolete version and should exit.
  16909. - Check directory signature _before_ you parse the running-routers
  16910. list to decide who's running or verified.
  16911. - Bugfixes and features:
  16912. - Check return value of fclose while writing to disk, so we don't
  16913. end up with broken files when servers run out of disk space.
  16914. - Log a warning if the user uses an unsafe socks variant, so people
  16915. are more likely to learn about privoxy or socat.
  16916. - Dirservers now include RFC1123-style dates in the HTTP headers,
  16917. which one day we will use to better detect clock skew.
  16918. o Changes from 0.0.8pre1:
  16919. - Make it compile without warnings again on win32.
  16920. - Log a warning if you're running an unverified server, to let you
  16921. know you might want to get it verified.
  16922. - Only pick a default nickname if you plan to be a server.
  16923. Changes in version 0.0.8pre1 - 2004-07-23
  16924. o Bugfixes:
  16925. - Made our unit tests compile again on OpenBSD 3.5, and tor
  16926. itself compile again on OpenBSD on a sparc64.
  16927. - We were neglecting milliseconds when logging on win32, so
  16928. everything appeared to happen at the beginning of each second.
  16929. o Protocol changes:
  16930. - 'Extend' relay cell payloads now include the digest of the
  16931. intended next hop's identity key. Now we can verify that we're
  16932. extending to the right router, and also extend to routers we
  16933. hadn't heard of before.
  16934. o Features:
  16935. - Tor nodes can now act as relays (with an advertised ORPort)
  16936. without being manually verified by the dirserver operators.
  16937. - Uploaded descriptors of unverified routers are now accepted
  16938. by the dirservers, and included in the directory.
  16939. - Verified routers are listed by nickname in the running-routers
  16940. list; unverified routers are listed as "$<fingerprint>".
  16941. - We now use hash-of-identity-key in most places rather than
  16942. nickname or addr:port, for improved security/flexibility.
  16943. - To avoid Sybil attacks, paths still use only verified servers.
  16944. But now we have a chance to play around with hybrid approaches.
  16945. - Nodes track bandwidth usage to estimate capacity (not used yet).
  16946. - ClientOnly option for nodes that never want to become servers.
  16947. - Directory caching.
  16948. - "AuthoritativeDir 1" option for the official dirservers.
  16949. - Now other nodes (clients and servers) will cache the latest
  16950. directory they've pulled down.
  16951. - They can enable their DirPort to serve it to others.
  16952. - Clients will pull down a directory from any node with an open
  16953. DirPort, and check the signature/timestamp correctly.
  16954. - Authoritative dirservers now fetch directories from other
  16955. authdirservers, to stay better synced.
  16956. - Running-routers list tells who's down also, along with noting
  16957. if they're verified (listed by nickname) or unverified (listed
  16958. by hash-of-key).
  16959. - Allow dirservers to serve running-router list separately.
  16960. This isn't used yet.
  16961. - ORs connect-on-demand to other ORs
  16962. - If you get an extend cell to an OR you're not connected to,
  16963. connect, handshake, and forward the create cell.
  16964. - The authoritative dirservers stay connected to everybody,
  16965. and everybody stays connected to 0.0.7 servers, but otherwise
  16966. clients/servers expire unused connections after 5 minutes.
  16967. - When servers get a sigint, they delay 30 seconds (refusing new
  16968. connections) then exit. A second sigint causes immediate exit.
  16969. - File and name management:
  16970. - Look for .torrc if no CONFDIR "torrc" is found.
  16971. - If no datadir is defined, then choose, make, and secure ~/.tor
  16972. as datadir.
  16973. - If torrc not found, exitpolicy reject *:*.
  16974. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  16975. - If no nickname is defined, derive default from hostname.
  16976. - Rename secret key files, e.g. identity.key -> secret_id_key,
  16977. to discourage people from mailing their identity key to tor-ops.
  16978. - Refuse to build a circuit before the directory has arrived --
  16979. it won't work anyway, since you won't know the right onion keys
  16980. to use.
  16981. - Try other dirservers immediately if the one you try is down. This
  16982. should tolerate down dirservers better now.
  16983. - Parse tor version numbers so we can do an is-newer-than check
  16984. rather than an is-in-the-list check.
  16985. - New socks command 'resolve', to let us shim gethostbyname()
  16986. locally.
  16987. - A 'tor_resolve' script to access the socks resolve functionality.
  16988. - A new socks-extensions.txt doc file to describe our
  16989. interpretation and extensions to the socks protocols.
  16990. - Add a ContactInfo option, which gets published in descriptor.
  16991. - Publish OR uptime in descriptor (and thus in directory) too.
  16992. - Write tor version at the top of each log file
  16993. - New docs in the tarball:
  16994. - tor-doc.html.
  16995. - Document that you should proxy your SSL traffic too.
  16996. Changes in version 0.0.7.2 - 2004-07-07
  16997. o A better fix for the 0.0.0.0 problem, that will hopefully
  16998. eliminate the remaining related assertion failures.
  16999. Changes in version 0.0.7.1 - 2004-07-04
  17000. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  17001. since internally we use 0.0.0.0 to signify "not yet resolved".
  17002. Changes in version 0.0.7 - 2004-06-07
  17003. o Updated the man page to reflect the new features.
  17004. Changes in version 0.0.7rc2 - 2004-06-06
  17005. o Changes from 0.0.7rc1:
  17006. - Make it build on Win32 again.
  17007. o Changes from 0.0.6.2:
  17008. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  17009. settings too.
  17010. Changes in version 0.0.7rc1 - 2004-06-02
  17011. o Bugfixes:
  17012. - On sighup, we were adding another log without removing the first
  17013. one. So log messages would get duplicated n times for n sighups.
  17014. - Several cases of using a connection after we'd freed it. The
  17015. problem was that connections that are pending resolve are in both
  17016. the pending_resolve tree, and also the circuit's resolving_streams
  17017. list. When you want to remove one, you must remove it from both.
  17018. - Fix a double-mark-for-close where an end cell arrived for a
  17019. resolving stream, and then the resolve failed.
  17020. - Check directory signatures based on name of signer, not on whom
  17021. we got the directory from. This will let us cache directories more
  17022. easily.
  17023. o Features:
  17024. - Crank up some of our constants to handle more users.
  17025. Changes in version 0.0.7pre1 - 2004-06-02
  17026. o Fixes for crashes and other obnoxious bugs:
  17027. - Fix an epipe bug: sometimes when directory connections failed
  17028. to connect, we would give them a chance to flush before closing
  17029. them.
  17030. - When we detached from a circuit because of resolvefailed, we
  17031. would immediately try the same circuit twice more, and then
  17032. give up on the resolve thinking we'd tried three different
  17033. exit nodes.
  17034. - Limit the number of intro circuits we'll attempt to build for a
  17035. hidden service per 15-minute period.
  17036. - Check recommended-software string *early*, before actually parsing
  17037. the directory. Thus we can detect an obsolete version and exit,
  17038. even if the new directory format doesn't parse.
  17039. o Fixes for security bugs:
  17040. - Remember which nodes are dirservers when you startup, and if a
  17041. random OR enables his dirport, don't automatically assume he's
  17042. a trusted dirserver.
  17043. o Other bugfixes:
  17044. - Directory connections were asking the wrong poll socket to
  17045. start writing, and not asking themselves to start writing.
  17046. - When we detached from a circuit because we sent a begin but
  17047. didn't get a connected, we would use it again the first time;
  17048. but after that we would correctly switch to a different one.
  17049. - Stop warning when the first onion decrypt attempt fails; they
  17050. will sometimes legitimately fail now that we rotate keys.
  17051. - Override unaligned-access-ok check when $host_cpu is ia64 or
  17052. arm. Apparently they allow it but the kernel whines.
  17053. - Dirservers try to reconnect periodically too, in case connections
  17054. have failed.
  17055. - Fix some memory leaks in directory servers.
  17056. - Allow backslash in Win32 filenames.
  17057. - Made Tor build complain-free on FreeBSD, hopefully without
  17058. breaking other BSD builds. We'll see.
  17059. o Features:
  17060. - Doxygen markup on all functions and global variables.
  17061. - Make directory functions update routerlist, not replace it. So
  17062. now directory disagreements are not so critical a problem.
  17063. - Remove the upper limit on number of descriptors in a dirserver's
  17064. directory (not that we were anywhere close).
  17065. - Allow multiple logfiles at different severity ranges.
  17066. - Allow *BindAddress to specify ":port" rather than setting *Port
  17067. separately. Allow multiple instances of each BindAddress config
  17068. option, so you can bind to multiple interfaces if you want.
  17069. - Allow multiple exit policy lines, which are processed in order.
  17070. Now we don't need that huge line with all the commas in it.
  17071. - Enable accept/reject policies on SOCKS connections, so you can bind
  17072. to 0.0.0.0 but still control who can use your OP.
  17073. Changes in version 0.0.6.2 - 2004-05-16
  17074. o Our integrity-checking digest was checking only the most recent cell,
  17075. not the previous cells like we'd thought.
  17076. Thanks to Stefan Mark for finding the flaw!
  17077. Changes in version 0.0.6.1 - 2004-05-06
  17078. o Fix two bugs in our AES counter-mode implementation (this affected
  17079. onion-level stream encryption, but not TLS-level). It turns
  17080. out we were doing something much more akin to a 16-character
  17081. polyalphabetic cipher. Oops.
  17082. Thanks to Stefan Mark for finding the flaw!
  17083. o Retire moria3 as a directory server, and add tor26 as a directory
  17084. server.
  17085. Changes in version 0.0.6 - 2004-05-02
  17086. [version bump only]
  17087. Changes in version 0.0.6rc4 - 2004-05-01
  17088. o Update the built-in dirservers list to use the new directory format
  17089. o Fix a rare seg fault: if a node offering a hidden service attempts
  17090. to build a circuit to Alice's rendezvous point and fails before it
  17091. reaches the last hop, it retries with a different circuit, but
  17092. then dies.
  17093. o Handle windows socket errors correctly.
  17094. Changes in version 0.0.6rc3 - 2004-04-28
  17095. o Don't expire non-general excess circuits (if we had enough
  17096. circuits open, we were expiring rendezvous circuits -- even
  17097. when they had a stream attached. oops.)
  17098. o Fetch randomness from /dev/urandom better (not via fopen/fread)
  17099. o Better debugging for tls errors
  17100. o Some versions of openssl have an SSL_pending function that erroneously
  17101. returns bytes when there is a non-application record pending.
  17102. o Set Content-Type on the directory and hidserv descriptor.
  17103. o Remove IVs from cipher code, since AES-ctr has none.
  17104. o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  17105. o We were using an array of length zero in a few places.
  17106. o win32's gethostbyname can't resolve an IP to an IP.
  17107. o win32's close can't close a socket.
  17108. Changes in version 0.0.6rc2 - 2004-04-26
  17109. o Fix a bug where we were closing tls connections intermittently.
  17110. It turns out openssl keeps its errors around -- so if an error
  17111. happens, and you don't ask about it, and then another openssl
  17112. operation happens and succeeds, and you ask if there was an error,
  17113. it tells you about the first error. Fun fun.
  17114. o Fix a bug that's been lurking since 27 may 03 (!)
  17115. When passing back a destroy cell, we would use the wrong circ id.
  17116. 'Mostly harmless', but still worth fixing.
  17117. o Since we don't support truncateds much, don't bother sending them;
  17118. just close the circ.
  17119. o check for <machine/limits.h> so we build on NetBSD again (I hope).
  17120. o don't crash if a conn that sent a begin has suddenly lost its circuit
  17121. (this was quite rare).
  17122. Changes in version 0.0.6rc1 - 2004-04-25
  17123. o We now rotate link (tls context) keys and onion keys.
  17124. o CREATE cells now include oaep padding, so you can tell
  17125. if you decrypted them correctly.
  17126. o Add bandwidthburst to server descriptor.
  17127. o Directories now say which dirserver signed them.
  17128. o Use a tor_assert macro that logs failed assertions too.
  17129. Changes in version 0.0.6pre5 - 2004-04-18
  17130. o changes from 0.0.6pre4:
  17131. - make tor build on broken freebsd 5.2 installs
  17132. - fix a failed assert when you try an intro point, get a nack, and try
  17133. a second one and it works.
  17134. - when alice uses a port that the hidden service doesn't accept,
  17135. it now sends back an end cell (denied by exit policy). otherwise
  17136. alice would just have to wait to time out.
  17137. - fix another rare bug: when we had tried all the intro
  17138. points for a hidden service, we fetched the descriptor
  17139. again, but we left our introcirc thinking it had already
  17140. sent an intro, so it kept waiting for a response...
  17141. - bugfix: when you sleep your hidden-service laptop, as soon
  17142. as it wakes up it tries to upload a service descriptor, but
  17143. socketpair fails for some reason (localhost not up yet?).
  17144. now we simply give up on that upload, and we'll try again later.
  17145. i'd still like to find the bug though.
  17146. - if an intro circ waiting for an ack dies before getting one, then
  17147. count it as a nack
  17148. - we were reusing stale service descriptors and refetching usable
  17149. ones. oops.
  17150. Changes in version 0.0.6pre4 - 2004-04-14
  17151. o changes from 0.0.6pre3:
  17152. - when bob fails to connect to the rendezvous point, and his
  17153. circ didn't fail because of the rendezvous point itself, then
  17154. he retries a couple of times
  17155. - we expire introduction and rendezvous circs more thoroughly
  17156. (sometimes they were hanging around forever)
  17157. - we expire unattached rendezvous streams that have been around
  17158. too long (they were sticking around forever).
  17159. - fix a measly fencepost error that was crashing everybody with
  17160. a strict glibc.
  17161. Changes in version 0.0.6pre3 - 2004-04-14
  17162. o changes from 0.0.6pre2:
  17163. - make hup work again
  17164. - fix some memory leaks for dirservers
  17165. - allow more skew in rendezvous descriptor timestamps, to help
  17166. handle people like blanu who don't know what time it is
  17167. - normal circs are 3 hops, but some rend/intro circs are 4, if
  17168. the initiator doesn't get to choose the last hop
  17169. - send acks for introductions, so alice can know whether to try
  17170. again
  17171. - bob publishes intro points more correctly
  17172. o changes from 0.0.5:
  17173. - fix an assert trigger that's been plaguing us since the days
  17174. of 0.0.2prexx (thanks weasel!)
  17175. - retry stream correctly when we fail to connect because of
  17176. exit-policy-reject (should try another) or can't-resolve-address
  17177. (also should try another, because dns on random internet servers
  17178. is flaky).
  17179. - when we hup a dirserver and we've *removed* a server from the
  17180. approved-routers list, now we remove that server from the
  17181. in-memory directories too
  17182. Changes in version 0.0.6pre2 - 2004-04-08
  17183. o We fixed our base32 implementation. Now it works on all architectures.
  17184. Changes in version 0.0.6pre1 - 2004-04-08
  17185. o Features:
  17186. - Hidden services and rendezvous points are implemented. Go to
  17187. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  17188. hidden services. (This only works via a socks4a proxy such as
  17189. Privoxy, and currently it's quite slow.)
  17190. Changes in version 0.0.5 - 2004-03-30
  17191. [version bump only]
  17192. Changes in version 0.0.5rc3 - 2004-03-29
  17193. o Install torrc as torrc.sample -- we no longer clobber your
  17194. torrc. (Woo!)
  17195. o Re-enable recommendedversion checking (we broke it in rc2, oops)
  17196. o Add in a 'notice' log level for things the operator should hear
  17197. but that aren't warnings
  17198. Changes in version 0.0.5rc2 - 2004-03-29
  17199. o Hold socks connection open until reply is flushed (if possible)
  17200. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  17201. the dns farm to do it.
  17202. o Fix c99 aliasing warnings in rephist.c
  17203. o Don't include server descriptors that are older than 24 hours in the
  17204. directory.
  17205. o Give socks 'reject' replies their whole 15s to attempt to flush,
  17206. rather than seeing the 60s timeout and assuming the flush had failed.
  17207. o Clean automake droppings from the cvs repository
  17208. Changes in version 0.0.5rc1 - 2004-03-28
  17209. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  17210. o Only build circuits after we've fetched the directory: clients were
  17211. using only the directory servers before they'd fetched a directory.
  17212. This also means longer startup time; so it goes.
  17213. o Fix an assert trigger where an OP would fail to handshake, and we'd
  17214. expect it to have a nickname.
  17215. o Work around a tsocks bug: do a socks reject when AP connection dies
  17216. early, else tsocks goes into an infinite loop.
  17217. Changes in version 0.0.4 - 2004-03-26
  17218. o When connecting to a dirserver or OR and the network is down,
  17219. we would crash.
  17220. Changes in version 0.0.3 - 2004-03-26
  17221. o Warn and fail if server chose a nickname with illegal characters
  17222. o Port to Solaris and Sparc:
  17223. - include missing header fcntl.h
  17224. - have autoconf find -lsocket -lnsl automatically
  17225. - deal with hardware word alignment
  17226. - make uname() work (solaris has a different return convention)
  17227. - switch from using signal() to sigaction()
  17228. o Preliminary work on reputation system:
  17229. - Keep statistics on success/fail of connect attempts; they're published
  17230. by kill -USR1 currently.
  17231. - Add a RunTesting option to try to learn link state by creating test
  17232. circuits, even when SocksPort is off.
  17233. - Remove unused open circuits when there are too many.
  17234. Changes in version 0.0.2 - 2004-03-19
  17235. - Include strlcpy and strlcat for safer string ops
  17236. - define INADDR_NONE so we compile (but still not run) on solaris
  17237. Changes in version 0.0.2pre27 - 2004-03-14
  17238. o Bugfixes:
  17239. - Allow internal tor networks (we were rejecting internal IPs,
  17240. now we allow them if they're set explicitly).
  17241. - And fix a few endian issues.
  17242. Changes in version 0.0.2pre26 - 2004-03-14
  17243. o New features:
  17244. - If a stream times out after 15s without a connected cell, don't
  17245. try that circuit again: try a new one.
  17246. - Retry streams at most 4 times. Then give up.
  17247. - When a dirserver gets a descriptor from an unknown router, it
  17248. logs its fingerprint (so the dirserver operator can choose to
  17249. accept it even without mail from the server operator).
  17250. - Inform unapproved servers when we reject their descriptors.
  17251. - Make tor build on Windows again. It works as a client, who knows
  17252. about as a server.
  17253. - Clearer instructions in the torrc for how to set up a server.
  17254. - Be more efficient about reading fd's when our global token bucket
  17255. (used for rate limiting) becomes empty.
  17256. o Bugfixes:
  17257. - Stop asserting that computers always go forward in time. It's
  17258. simply not true.
  17259. - When we sent a cell (e.g. destroy) and then marked an OR connection
  17260. expired, we might close it before finishing a flush if the other
  17261. side isn't reading right then.
  17262. - Don't allow dirservers to start if they haven't defined
  17263. RecommendedVersions
  17264. - We were caching transient dns failures. Oops.
  17265. - Prevent servers from publishing an internal IP as their address.
  17266. - Address a strcat vulnerability in circuit.c
  17267. Changes in version 0.0.2pre25 - 2004-03-04
  17268. o New features:
  17269. - Put the OR's IP in its router descriptor, not its fqdn. That way
  17270. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  17271. e.g. poblano.
  17272. o Bugfixes:
  17273. - If the user typed in an address that didn't resolve, the server
  17274. crashed.
  17275. Changes in version 0.0.2pre24 - 2004-03-03
  17276. o Bugfixes:
  17277. - Fix an assertion failure in dns.c, where we were trying to dequeue
  17278. a pending dns resolve even if it wasn't pending
  17279. - Fix a spurious socks5 warning about still trying to write after the
  17280. connection is finished.
  17281. - Hold certain marked_for_close connections open until they're finished
  17282. flushing, rather than losing bytes by closing them too early.
  17283. - Correctly report the reason for ending a stream
  17284. - Remove some duplicate calls to connection_mark_for_close
  17285. - Put switch_id and start_daemon earlier in the boot sequence, so it
  17286. will actually try to chdir() to options.DataDirectory
  17287. - Make 'make test' exit(1) if a test fails; fix some unit tests
  17288. - Make tor fail when you use a config option it doesn't know about,
  17289. rather than warn and continue.
  17290. - Make --version work
  17291. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  17292. Changes in version 0.0.2pre23 - 2004-02-29
  17293. o New features:
  17294. - Print a statement when the first circ is finished, so the user
  17295. knows it's working.
  17296. - If a relay cell is unrecognized at the end of the circuit,
  17297. send back a destroy. (So attacks to mutate cells are more
  17298. clearly thwarted.)
  17299. - New config option 'excludenodes' to avoid certain nodes for circuits.
  17300. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  17301. so you can collect coredumps there.
  17302. o Bugfixes:
  17303. - Fix a bug in tls flushing where sometimes data got wedged and
  17304. didn't flush until more data got sent. Hopefully this bug was
  17305. a big factor in the random delays we were seeing.
  17306. - Make 'connected' cells include the resolved IP, so the client
  17307. dns cache actually gets populated.
  17308. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  17309. - When we time-out on a stream and detach from the circuit, send an
  17310. end cell down it first.
  17311. - Only warn about an unknown router (in exitnodes, entrynodes,
  17312. excludenodes) after we've fetched a directory.
  17313. Changes in version 0.0.2pre22 - 2004-02-26
  17314. o New features:
  17315. - Servers publish less revealing uname information in descriptors.
  17316. - More memory tracking and assertions, to crash more usefully when
  17317. errors happen.
  17318. - If the default torrc isn't there, just use some default defaults.
  17319. Plus provide an internal dirservers file if they don't have one.
  17320. - When the user tries to use Tor as an http proxy, give them an http
  17321. 501 failure explaining that we're a socks proxy.
  17322. - Dump a new router.desc on hup, to help confused people who change
  17323. their exit policies and then wonder why router.desc doesn't reflect
  17324. it.
  17325. - Clean up the generic tor.sh init script that we ship with.
  17326. o Bugfixes:
  17327. - If the exit stream is pending on the resolve, and a destroy arrives,
  17328. then the stream wasn't getting removed from the pending list. I
  17329. think this was the one causing recent server crashes.
  17330. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  17331. - When it couldn't resolve any dirservers, it was useless from then on.
  17332. Now it reloads the RouterFile (or default dirservers) if it has no
  17333. dirservers.
  17334. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  17335. many users don't even *have* a /usr/local/sbin/.
  17336. Changes in version 0.0.2pre21 - 2004-02-18
  17337. o New features:
  17338. - There's a ChangeLog file that actually reflects the changelog.
  17339. - There's a 'torify' wrapper script, with an accompanying
  17340. tor-tsocks.conf, that simplifies the process of using tsocks for
  17341. tor. It even has a man page.
  17342. - The tor binary gets installed to sbin rather than bin now.
  17343. - Retry streams where the connected cell hasn't arrived in 15 seconds
  17344. - Clean up exit policy handling -- get the default out of the torrc,
  17345. so we can update it without forcing each server operator to fix
  17346. his/her torrc.
  17347. - Allow imaps and pop3s in default exit policy
  17348. o Bugfixes:
  17349. - Prevent picking middleman nodes as the last node in the circuit
  17350. Changes in version 0.0.2pre20 - 2004-01-30
  17351. o New features:
  17352. - We now have a deb package, and it's in debian unstable. Go to
  17353. it, apt-getters. :)
  17354. - I've split the TotalBandwidth option into BandwidthRate (how many
  17355. bytes per second you want to allow, long-term) and
  17356. BandwidthBurst (how many bytes you will allow at once before the cap
  17357. kicks in). This better token bucket approach lets you, say, set
  17358. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  17359. performance while not exceeding your monthly bandwidth quota.
  17360. - Push out a tls record's worth of data once you've got it, rather
  17361. than waiting until you've read everything waiting to be read. This
  17362. may improve performance by pipelining better. We'll see.
  17363. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  17364. from failed circuits (if they haven't been connected yet) and attach
  17365. to new ones.
  17366. - Expire old streams that haven't managed to connect. Some day we'll
  17367. have them reattach to new circuits instead.
  17368. o Bugfixes:
  17369. - Fix several memory leaks that were causing servers to become bloated
  17370. after a while.
  17371. - Fix a few very rare assert triggers. A few more remain.
  17372. - Setuid to User _before_ complaining about running as root.
  17373. Changes in version 0.0.2pre19 - 2004-01-07
  17374. o Bugfixes:
  17375. - Fix deadlock condition in dns farm. We were telling a child to die by
  17376. closing the parent's file descriptor to him. But newer children were
  17377. inheriting the open file descriptor from the parent, and since they
  17378. weren't closing it, the socket never closed, so the child never read
  17379. eof, so he never knew to exit. Similarly, dns workers were holding
  17380. open other sockets, leading to all sorts of chaos.
  17381. - New cleaner daemon() code for forking and backgrounding.
  17382. - If you log to a file, it now prints an entry at the top of the
  17383. logfile so you know it's working.
  17384. - The onionskin challenge length was 30 bytes longer than necessary.
  17385. - Started to patch up the spec so it's not quite so out of date.
  17386. Changes in version 0.0.2pre18 - 2004-01-02
  17387. o Bugfixes:
  17388. - Fix endian issues with the 'integrity' field in the relay header.
  17389. - Fix a potential bug where connections in state
  17390. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  17391. Changes in version 0.0.2pre17 - 2003-12-30
  17392. o Bugfixes:
  17393. - Made --debuglogfile (or any second log file, actually) work.
  17394. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  17395. adversary could force us into an infinite loop.
  17396. o Features:
  17397. - Each onionskin handshake now includes a hash of the computed key,
  17398. to prove the server's identity and help perfect forward secrecy.
  17399. - Changed cell size from 256 to 512 bytes (working toward compatibility
  17400. with MorphMix).
  17401. - Changed cell length to 2 bytes, and moved it to the relay header.
  17402. - Implemented end-to-end integrity checking for the payloads of
  17403. relay cells.
  17404. - Separated streamid from 'recognized' (otherwise circuits will get
  17405. messed up when we try to have streams exit from the middle). We
  17406. use the integrity-checking to confirm that a cell is addressed to
  17407. this hop.
  17408. - Randomize the initial circid and streamid values, so an adversary who
  17409. breaks into a node can't learn how many circuits or streams have
  17410. been made so far.
  17411. Changes in version 0.0.2pre16 - 2003-12-14
  17412. o Bugfixes:
  17413. - Fixed a bug that made HUP trigger an assert
  17414. - Fixed a bug where a circuit that immediately failed wasn't being
  17415. counted as a failed circuit in counting retries.
  17416. o Features:
  17417. - Now we close the circuit when we get a truncated cell: otherwise we're
  17418. open to an anonymity attack where a bad node in the path truncates
  17419. the circuit and then we open streams at him.
  17420. - Add port ranges to exit policies
  17421. - Add a conservative default exit policy
  17422. - Warn if you're running tor as root
  17423. - on HUP, retry OR connections and close/rebind listeners
  17424. - options.EntryNodes: try these nodes first when picking the first node
  17425. - options.ExitNodes: if your best choices happen to include any of
  17426. your preferred exit nodes, you choose among just those preferred
  17427. exit nodes.
  17428. - options.ExcludedNodes: nodes that are never picked in path building
  17429. Changes in version 0.0.2pre15 - 2003-12-03
  17430. o Robustness and bugfixes:
  17431. - Sometimes clients would cache incorrect DNS resolves, which would
  17432. really screw things up.
  17433. - An OP that goes offline would slowly leak all its sockets and stop
  17434. working.
  17435. - A wide variety of bugfixes in exit node selection, exit policy
  17436. handling, and processing pending streams when a new circuit is
  17437. established.
  17438. - Pick nodes for a path only from those the directory says are up
  17439. - Choose randomly from all running dirservers, not always the first one
  17440. - Increase allowed http header size for directory fetch.
  17441. - Stop writing to stderr (if we're daemonized it will be closed).
  17442. - Enable -g always, so cores will be more useful to me.
  17443. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  17444. o Documentation:
  17445. - Wrote a man page. It lists commonly used options.
  17446. o Configuration:
  17447. - Change default loglevel to warn.
  17448. - Make PidFile default to null rather than littering in your CWD.
  17449. - OnionRouter config option is now obsolete. Instead it just checks
  17450. ORPort>0.
  17451. - Moved to a single unified torrc file for both clients and servers.
  17452. Changes in version 0.0.2pre14 - 2003-11-29
  17453. o Robustness and bugfixes:
  17454. - Force the admin to make the DataDirectory himself
  17455. - to get ownership/permissions right
  17456. - so clients no longer make a DataDirectory and then never use it
  17457. - fix bug where a client who was offline for 45 minutes would never
  17458. pull down a directory again
  17459. - fix (or at least hide really well) the dns assert bug that was
  17460. causing server crashes
  17461. - warnings and improved robustness wrt clockskew for certs
  17462. - use the native daemon(3) to daemonize, when available
  17463. - exit if bind() fails
  17464. - exit if neither socksport nor orport is defined
  17465. - include our own tor_timegm (Win32 doesn't have its own)
  17466. - bugfix for win32 with lots of connections
  17467. - fix minor bias in PRNG
  17468. - make dirserver more robust to corrupt cached directory
  17469. o Documentation:
  17470. - Wrote the design document (woo)
  17471. o Circuit building and exit policies:
  17472. - Circuits no longer try to use nodes that the directory has told them
  17473. are down.
  17474. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  17475. bitcounts (18.0.0.0/8).
  17476. - Make AP connections standby for a circuit if no suitable circuit
  17477. exists, rather than failing
  17478. - Circuits choose exit node based on addr/port, exit policies, and
  17479. which AP connections are standing by
  17480. - Bump min pathlen from 2 to 3
  17481. - Relay end cells have a payload to describe why the stream ended.
  17482. - If the stream failed because of exit policy, try again with a new
  17483. circuit.
  17484. - Clients have a dns cache to remember resolved addresses.
  17485. - Notice more quickly when we have no working circuits
  17486. o Configuration:
  17487. - APPort is now called SocksPort
  17488. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  17489. where to bind
  17490. - RecommendedVersions is now a config variable rather than
  17491. hardcoded (for dirservers)
  17492. - Reloads config on HUP
  17493. - Usage info on -h or --help
  17494. - If you set User and Group config vars, it'll setu/gid to them.
  17495. Changes in version 0.0.2pre13 - 2003-10-19
  17496. o General stability:
  17497. - SSL_write no longer fails when it returns WANTWRITE and the number
  17498. of bytes in the buf has changed by the next SSL_write call.
  17499. - Fix segfault fetching directory when network is down
  17500. - Fix a variety of minor memory leaks
  17501. - Dirservers reload the fingerprints file on HUP, so I don't have
  17502. to take down the network when I approve a new router
  17503. - Default server config file has explicit Address line to specify fqdn
  17504. o Buffers:
  17505. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  17506. - Make listener connections not ever alloc bufs
  17507. o Autoconf improvements:
  17508. - don't clobber an external CFLAGS in ./configure
  17509. - Make install now works
  17510. - create var/lib/tor on make install
  17511. - autocreate a tor.sh initscript to help distribs
  17512. - autocreate the torrc and sample-server-torrc with correct paths
  17513. o Log files and Daemonizing now work:
  17514. - If --DebugLogFile is specified, log to it at -l debug
  17515. - If --LogFile is specified, use it instead of commandline
  17516. - If --RunAsDaemon is set, tor forks and backgrounds on startup