ChangeLog 589 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518
  1. Changes in version 0.2.2.39 - 2012-09-11
  2. Tor 0.2.2.39 fixes two more opportunities for remotely triggerable
  3. assertions.
  4. o Security fixes:
  5. - Fix an assertion failure in tor_timegm() that could be triggered
  6. by a badly formatted directory object. Bug found by fuzzing with
  7. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  8. - Do not crash when comparing an address with port value 0 to an
  9. address policy. This bug could have been used to cause a remote
  10. assertion failure by or against directory authorities, or to
  11. allow some applications to crash clients. Fixes bug 6690; bugfix
  12. on 0.2.1.10-alpha.
  13. Changes in version 0.2.2.38 - 2012-08-12
  14. Tor 0.2.2.38 fixes a remotely triggerable crash bug, and fixes a timing
  15. attack that could in theory leak path information.
  16. o Security fixes:
  17. - Avoid an uninitialized memory read when reading a vote or consensus
  18. document that has an unrecognized flavor name. This read could
  19. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  20. - Try to leak less information about what relays a client is
  21. choosing to a side-channel attacker. Previously, a Tor client would
  22. stop iterating through the list of available relays as soon as it
  23. had chosen one, thus finishing a little earlier when it picked
  24. a router earlier in the list. If an attacker can recover this
  25. timing information (nontrivial but not proven to be impossible),
  26. they could learn some coarse-grained information about which relays
  27. a client was picking (middle nodes in particular are likelier to
  28. be affected than exits). The timing attack might be mitigated by
  29. other factors (see bug 6537 for some discussion), but it's best
  30. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  31. Changes in version 0.2.2.37 - 2012-06-06
  32. Tor 0.2.2.37 introduces a workaround for a critical renegotiation
  33. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  34. currently).
  35. o Major bugfixes:
  36. - Work around a bug in OpenSSL that broke renegotiation with TLS
  37. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  38. the v2 Tor connection protocol when both sides were using OpenSSL
  39. 1.0.1 would fail. Resolves ticket 6033.
  40. - When waiting for a client to renegotiate, don't allow it to add
  41. any bytes to the input buffer. This fixes a potential DoS issue.
  42. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  43. - Fix an edge case where if we fetch or publish a hidden service
  44. descriptor, we might build a 4-hop circuit and then use that circuit
  45. for exiting afterwards -- even if the new last hop doesn't obey our
  46. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  47. o Minor bugfixes:
  48. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  49. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  50. o Minor features:
  51. - Tell GCC and Clang to check for any errors in format strings passed
  52. to the tor_v*(print|scan)f functions.
  53. Changes in version 0.2.2.36 - 2012-05-24
  54. Tor 0.2.2.36 updates the addresses for two of the eight directory
  55. authorities, fixes some potential anonymity and security issues,
  56. and fixes several crash bugs.
  57. Tor 0.2.1.x has reached its end-of-life. Those Tor versions have many
  58. known flaws, and nobody should be using them. You should upgrade. If
  59. you're using a Linux or BSD and its packages are obsolete, stop using
  60. those packages and upgrade anyway.
  61. o Directory authority changes:
  62. - Change IP address for maatuska (v3 directory authority).
  63. - Change IP address for ides (v3 directory authority), and rename
  64. it to turtles.
  65. o Security fixes:
  66. - When building or running with any version of OpenSSL earlier
  67. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  68. versions have a bug (CVE-2011-4576) in which their block cipher
  69. padding includes uninitialized data, potentially leaking sensitive
  70. information to any peer with whom they make a SSLv3 connection. Tor
  71. does not use SSL v3 by default, but a hostile client or server
  72. could force an SSLv3 connection in order to gain information that
  73. they shouldn't have been able to get. The best solution here is to
  74. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  75. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  76. to make sure that the bug can't happen.
  77. - Never use a bridge or a controller-supplied node as an exit, even
  78. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  79. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  80. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  81. - Only build circuits if we have a sufficient threshold of the total
  82. descriptors that are marked in the consensus with the "Exit"
  83. flag. This mitigates an attack proposed by wanoskarnet, in which
  84. all of a client's bridges collude to restrict the exit nodes that
  85. the client knows about. Fixes bug 5343.
  86. - Provide controllers with a safer way to implement the cookie
  87. authentication mechanism. With the old method, if another locally
  88. running program could convince a controller that it was the Tor
  89. process, then that program could trick the contoller into telling
  90. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  91. authentication method uses a challenge-response approach to prevent
  92. this attack. Fixes bug 5185; implements proposal 193.
  93. o Major bugfixes:
  94. - Avoid logging uninitialized data when unable to decode a hidden
  95. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  96. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  97. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  98. 0.2.1.6-alpha.
  99. - Fix builds when the path to sed, openssl, or sha1sum contains
  100. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  101. on 0.2.2.1-alpha.
  102. - Correct our replacements for the timeradd() and timersub() functions
  103. on platforms that lack them (for example, Windows). The timersub()
  104. function is used when expiring circuits, while timeradd() is
  105. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  106. bugfix on 0.2.2.24-alpha.
  107. - Fix the SOCKET_OK test that we use to tell when socket
  108. creation fails so that it works on Win64. Fixes part of bug 4533;
  109. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  110. o Minor bugfixes:
  111. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  112. Fixes bug 5346; bugfix on 0.0.8pre3.
  113. - Make our number-parsing functions always treat too-large values
  114. as an error, even when those values exceed the width of the
  115. underlying type. Previously, if the caller provided these
  116. functions with minima or maxima set to the extreme values of the
  117. underlying integer type, these functions would return those
  118. values on overflow rather than treating overflow as an error.
  119. Fixes part of bug 5786; bugfix on 0.0.9.
  120. - Older Linux kernels erroneously respond to strange nmap behavior
  121. by having accept() return successfully with a zero-length
  122. socket. When this happens, just close the connection. Previously,
  123. we would try harder to learn the remote address: but there was
  124. no such remote address to learn, and our method for trying to
  125. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  126. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  127. - Correct parsing of certain date types in parse_http_time().
  128. Without this patch, If-Modified-Since would behave
  129. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  130. Esteban Manchado Velázques.
  131. - Change the BridgePassword feature (part of the "bridge community"
  132. design, which is not yet implemented) to use a time-independent
  133. comparison. The old behavior might have allowed an adversary
  134. to use timing to guess the BridgePassword value. Fixes bug 5543;
  135. bugfix on 0.2.0.14-alpha.
  136. - Detect and reject certain misformed escape sequences in
  137. configuration values. Previously, these values would cause us
  138. to crash if received in a torrc file or over an authenticated
  139. control port. Bug found by Esteban Manchado Velázquez, and
  140. independently by Robert Connolly from Matta Consulting who further
  141. noted that it allows a post-authentication heap overflow. Patch
  142. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  143. bugfix on 0.2.0.16-alpha.
  144. - Fix a compile warning when using the --enable-openbsd-malloc
  145. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  146. - During configure, detect when we're building with clang version
  147. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  148. CFLAGS. clang doesn't support them yet.
  149. - When sending an HTTP/1.1 proxy request, include a Host header.
  150. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  151. - Fix a NULL-pointer dereference on a badly formed SETCIRCUITPURPOSE
  152. command. Found by mikeyc. Fixes bug 5796; bugfix on 0.2.2.9-alpha.
  153. - If we hit the error case where routerlist_insert() replaces an
  154. existing (old) server descriptor, make sure to remove that
  155. server descriptor from the old_routers list. Fix related to bug
  156. 1776. Bugfix on 0.2.2.18-alpha.
  157. o Minor bugfixes (documentation and log messages):
  158. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  159. Fixes bug 4856; bugfix on Tor 0.0.6.
  160. - Update "ClientOnly" man page entry to explain that there isn't
  161. really any point to messing with it. Resolves ticket 5005.
  162. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  163. directory authority option (introduced in Tor 0.2.2.34).
  164. - Downgrade the "We're missing a certificate" message from notice
  165. to info: people kept mistaking it for a real problem, whereas it
  166. is seldom the problem even when we are failing to bootstrap. Fixes
  167. bug 5067; bugfix on 0.2.0.10-alpha.
  168. - Correctly spell "connect" in a log message on failure to create a
  169. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta.
  170. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  171. circuits. Fixes issue 5259.
  172. o Minor features:
  173. - Directory authorities now reject versions of Tor older than
  174. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  175. inclusive. These versions accounted for only a small fraction of
  176. the Tor network, and have numerous known security issues. Resolves
  177. issue 4788.
  178. - Update to the May 1 2012 Maxmind GeoLite Country database.
  179. - Feature removal:
  180. - When sending or relaying a RELAY_EARLY cell, we used to convert
  181. it to a RELAY cell if the connection was using the v1 link
  182. protocol. This was a workaround for older versions of Tor, which
  183. didn't handle RELAY_EARLY cells properly. Now that all supported
  184. versions can handle RELAY_EARLY cells, and now that we're enforcing
  185. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  186. remove this workaround. Addresses bug 4786.
  187. Changes in version 0.2.2.35 - 2011-12-16
  188. Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
  189. buffers code. Absolutely everybody should upgrade.
  190. The bug relied on an incorrect calculation when making data continuous
  191. in one of our IO buffers, if the first chunk of the buffer was
  192. misaligned by just the wrong amount. The miscalculation would allow an
  193. attacker to overflow a piece of heap-allocated memory. To mount this
  194. attack, the attacker would need to either open a SOCKS connection to
  195. Tor's SocksPort (usually restricted to localhost), or target a Tor
  196. instance configured to make its connections through a SOCKS proxy
  197. (which Tor does not do by default).
  198. Good security practice requires that all heap-overflow bugs should be
  199. presumed to be exploitable until proven otherwise, so we are treating
  200. this as a potential code execution attack. Please upgrade immediately!
  201. This bug does not affect bufferevents-based builds of Tor. Special
  202. thanks to "Vektor" for reporting this issue to us!
  203. Tor 0.2.2.35 also fixes several bugs in previous versions, including
  204. crash bugs for unusual configurations, and a long-term bug that
  205. would prevent Tor from starting on Windows machines with draconian
  206. AV software.
  207. With this release, we remind everyone that 0.2.0.x has reached its
  208. formal end-of-life. Those Tor versions have many known flaws, and
  209. nobody should be using them. You should upgrade -- ideally to the
  210. 0.2.2.x series. If you're using a Linux or BSD and its packages are
  211. obsolete, stop using those packages and upgrade anyway.
  212. The Tor 0.2.1.x series is also approaching its end-of-life: it will no
  213. longer receive support after some time in early 2012.
  214. o Major bugfixes:
  215. - Fix a heap overflow bug that could occur when trying to pull
  216. data into the first chunk of a buffer, when that chunk had
  217. already had some data drained from it. Fixes CVE-2011-2778;
  218. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  219. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  220. that it doesn't attempt to allocate a socketpair. This could cause
  221. some problems on Windows systems with overzealous firewalls. Fix for
  222. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  223. 2.0.15-stable.
  224. - If we mark an OR connection for close based on a cell we process,
  225. don't process any further cells on it. We already avoid further
  226. reads on marked-for-close connections, but now we also discard the
  227. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  228. which was the first version where we might mark a connection for
  229. close based on processing a cell on it.
  230. - Correctly sanity-check that we don't underflow on a memory
  231. allocation (and then assert) for hidden service introduction
  232. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  233. bugfix on 0.2.1.5-alpha.
  234. - Fix a memory leak when we check whether a hidden service
  235. descriptor has any usable introduction points left. Fixes bug
  236. 4424. Bugfix on 0.2.2.25-alpha.
  237. - Don't crash when we're running as a relay and don't have a GeoIP
  238. file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
  239. we've had in the 0.2.3.x branch already.
  240. - When running as a client, do not print a misleading (and plain
  241. wrong) log message that we're collecting "directory request"
  242. statistics: clients don't collect statistics. Also don't create a
  243. useless (because empty) stats file in the stats/ directory. Fixes
  244. bug 4353; bugfix on 0.2.2.34.
  245. o Minor bugfixes:
  246. - Detect failure to initialize Libevent. This fix provides better
  247. detection for future instances of bug 4457.
  248. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  249. function. This was eating up hideously large amounts of time on some
  250. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  251. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  252. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  253. Mansour Moufid.
  254. - Don't warn about unused log_mutex in log.c when building with
  255. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  256. 0.1.0.6-rc which introduced --disable-threads.
  257. - When configuring, starting, or stopping an NT service, stop
  258. immediately after the service configuration attempt has succeeded
  259. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  260. - When sending a NETINFO cell, include the original address
  261. received for the other side, not its canonical address. Found
  262. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  263. - Fix a typo in a hibernation-related log message. Fixes bug 4331;
  264. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  265. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  266. occurred when a client tried to fetch a descriptor for a bridge
  267. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  268. - Backport fixes for a pair of compilation warnings on Windows.
  269. Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
  270. - If we had ever tried to call tor_addr_to_str on an address of
  271. unknown type, we would have done a strdup on an uninitialized
  272. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  273. Reported by "troll_un".
  274. - Correctly detect and handle transient lookup failures from
  275. tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  276. Reported by "troll_un".
  277. - Fix null-pointer access that could occur if TLS allocation failed.
  278. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  279. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  280. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  281. o Minor features:
  282. - Add two new config options for directory authorities:
  283. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  284. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  285. that is always sufficient to satisfy the bandwidth requirement for
  286. the Guard flag. Now it will be easier for researchers to simulate
  287. Tor networks with different values. Resolves ticket 4484.
  288. - When Tor ignores a hidden service specified in its configuration,
  289. include the hidden service's directory in the warning message.
  290. Previously, we would only tell the user that some hidden service
  291. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  292. - Update to the December 6 2011 Maxmind GeoLite Country database.
  293. o Packaging changes:
  294. - Make it easier to automate expert package builds on Windows,
  295. by removing an absolute path from makensis.exe command.
  296. Changes in version 0.2.1.32 - 2011-12-16
  297. Tor 0.2.1.32 backports important security and privacy fixes for
  298. oldstable. This release is intended only for package maintainers and
  299. others who cannot use the 0.2.2 stable series. All others should be
  300. using Tor 0.2.2.x or newer.
  301. The Tor 0.2.1.x series will reach formal end-of-life some time in
  302. early 2012; we will stop releasing patches for it then.
  303. o Major bugfixes (also included in 0.2.2.x):
  304. - Correctly sanity-check that we don't underflow on a memory
  305. allocation (and then assert) for hidden service introduction
  306. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  307. bugfix on 0.2.1.5-alpha.
  308. - Fix a heap overflow bug that could occur when trying to pull
  309. data into the first chunk of a buffer, when that chunk had
  310. already had some data drained from it. Fixes CVE-2011-2778;
  311. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  312. o Minor features:
  313. - Update to the December 6 2011 Maxmind GeoLite Country database.
  314. Changes in version 0.2.2.34 - 2011-10-26
  315. Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
  316. can deanonymize Tor users. Everybody should upgrade.
  317. The attack relies on four components: 1) Clients reuse their TLS cert
  318. when talking to different relays, so relays can recognize a user by
  319. the identity key in her cert. 2) An attacker who knows the client's
  320. identity key can probe each guard relay to see if that identity key
  321. is connected to that guard relay right now. 3) A variety of active
  322. attacks in the literature (starting from "Low-Cost Traffic Analysis
  323. of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
  324. discover the guard relays that a Tor user visiting the website is using.
  325. 4) Clients typically pick three guards at random, so the set of guards
  326. for a given user could well be a unique fingerprint for her. This
  327. release fixes components #1 and #2, which is enough to block the attack;
  328. the other two remain as open research problems. Special thanks to
  329. "frosty_un" for reporting the issue to us!
  330. Clients should upgrade so they are no longer recognizable by the TLS
  331. certs they present. Relays should upgrade so they no longer allow a
  332. remote attacker to probe them to test whether unpatched clients are
  333. currently connected to them.
  334. This release also fixes several vulnerabilities that allow an attacker
  335. to enumerate bridge relays. Some bridge enumeration attacks still
  336. remain; see for example proposal 188.
  337. o Privacy/anonymity fixes (clients):
  338. - Clients and bridges no longer send TLS certificate chains on
  339. outgoing OR connections. Previously, each client or bridge would
  340. use the same cert chain for all outgoing OR connections until
  341. its IP address changes, which allowed any relay that the client
  342. or bridge contacted to determine which entry guards it is using.
  343. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  344. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  345. no longer considers that connection as suitable for satisfying a
  346. circuit EXTEND request. Now relays can protect clients from the
  347. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  348. - Directory authorities no longer assign the Guard flag to relays
  349. that haven't upgraded to the above "refuse EXTEND requests
  350. to client connections" fix. Now directory authorities can
  351. protect clients from the CVE-2011-2768 issue even if neither
  352. the clients nor the relays have upgraded yet. There's a new
  353. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  354. to let us transition smoothly, else tomorrow there would be no
  355. guard relays.
  356. o Privacy/anonymity fixes (bridge enumeration):
  357. - Bridge relays now do their directory fetches inside Tor TLS
  358. connections, like all the other clients do, rather than connecting
  359. directly to the DirPort like public relays do. Removes another
  360. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  361. - Bridges relays now build circuits for themselves in a more similar
  362. way to how clients build them. Removes another avenue for
  363. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  364. when bridges were introduced.
  365. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  366. that they initiated. Relays could distinguish incoming bridge
  367. connections from client connections, creating another avenue for
  368. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  369. Found by "frosty_un".
  370. o Major bugfixes:
  371. - Fix a crash bug when changing node restrictions while a DNS lookup
  372. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  373. by "Tey'".
  374. - Don't launch a useless circuit after failing to use one of a
  375. hidden service's introduction points. Previously, we would
  376. launch a new introduction circuit, but not set the hidden service
  377. which that circuit was intended to connect to, so it would never
  378. actually be used. A different piece of code would then create a
  379. new introduction circuit correctly. Bug reported by katmagic and
  380. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  381. o Minor bugfixes:
  382. - Change an integer overflow check in the OpenBSD_Malloc code so
  383. that GCC is less likely to eliminate it as impossible. Patch
  384. from Mansour Moufid. Fixes bug 4059.
  385. - When a hidden service turns an extra service-side introduction
  386. circuit into a general-purpose circuit, free the rend_data and
  387. intro_key fields first, so we won't leak memory if the circuit
  388. is cannibalized for use as another service-side introduction
  389. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  390. - Bridges now skip DNS self-tests, to act a little more stealthily.
  391. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  392. bridges. Patch by "warms0x".
  393. - Fix internal bug-checking logic that was supposed to catch
  394. failures in digest generation so that it will fail more robustly
  395. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  396. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  397. - Report any failure in init_keys() calls launched because our
  398. IP address has changed. Spotted by Coverity Scan. Bugfix on
  399. 0.1.1.4-alpha; fixes CID 484.
  400. o Minor bugfixes (log messages and documentation):
  401. - Remove a confusing dollar sign from the example fingerprint in the
  402. man page, and also make the example fingerprint a valid one. Fixes
  403. bug 4309; bugfix on 0.2.1.3-alpha.
  404. - The next version of Windows will be called Windows 8, and it has
  405. a major version of 6, minor version of 2. Correctly identify that
  406. version instead of calling it "Very recent version". Resolves
  407. ticket 4153; reported by funkstar.
  408. - Downgrade log messages about circuit timeout calibration from
  409. "notice" to "info": they don't require or suggest any human
  410. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  411. bugfix on 0.2.2.14-alpha.
  412. o Minor features:
  413. - Turn on directory request statistics by default and include them in
  414. extra-info descriptors. Don't break if we have no GeoIP database.
  415. Backported from 0.2.3.1-alpha; implements ticket 3951.
  416. - Update to the October 4 2011 Maxmind GeoLite Country database.
  417. Changes in version 0.2.1.31 - 2011-10-26
  418. Tor 0.2.1.31 backports important security and privacy fixes for
  419. oldstable. This release is intended only for package maintainers and
  420. others who cannot use the 0.2.2 stable series. All others should be
  421. using Tor 0.2.2.x or newer.
  422. o Security fixes (also included in 0.2.2.x):
  423. - Replace all potentially sensitive memory comparison operations
  424. with versions whose runtime does not depend on the data being
  425. compared. This will help resist a class of attacks where an
  426. adversary can use variations in timing information to learn
  427. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  428. implementation by Robert Ransom based partially on code by DJB.)
  429. - Fix an assert in parsing router descriptors containing IPv6
  430. addresses. This one took down the directory authorities when
  431. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  432. o Privacy/anonymity fixes (also included in 0.2.2.x):
  433. - Clients and bridges no longer send TLS certificate chains on
  434. outgoing OR connections. Previously, each client or bridge
  435. would use the same cert chain for all outgoing OR connections
  436. for up to 24 hours, which allowed any relay that the client or
  437. bridge contacted to determine which entry guards it is using.
  438. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by frosty_un.
  439. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  440. no longer considers that connection as suitable for satisfying a
  441. circuit EXTEND request. Now relays can protect clients from the
  442. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  443. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  444. that they initiated. Relays could distinguish incoming bridge
  445. connections from client connections, creating another avenue for
  446. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  447. Found by "frosty_un".
  448. - When receiving a hidden service descriptor, check that it is for
  449. the hidden service we wanted. Previously, Tor would store any
  450. hidden service descriptors that a directory gave it, whether it
  451. wanted them or not. This wouldn't have let an attacker impersonate
  452. a hidden service, but it did let directories pre-seed a client
  453. with descriptors that it didn't want. Bugfix on 0.0.6.
  454. - Avoid linkability based on cached hidden service descriptors: forget
  455. all hidden service descriptors cached as a client when processing a
  456. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  457. - Make the bridge directory authority refuse to answer directory
  458. requests for "all" descriptors. It used to include bridge
  459. descriptors in its answer, which was a major information leak.
  460. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  461. - Don't attach new streams to old rendezvous circuits after SIGNAL
  462. NEWNYM. Previously, we would keep using an existing rendezvous
  463. circuit if it remained open (i.e. if it were kept open by a
  464. long-lived stream, or if a new stream were attached to it before
  465. Tor could notice that it was old and no longer in use). Bugfix on
  466. 0.1.1.15-rc; fixes bug 3375.
  467. o Minor bugfixes (also included in 0.2.2.x):
  468. - When we restart our relay, we might get a successful connection
  469. from the outside before we've started our reachability tests,
  470. triggering a warning: "ORPort found reachable, but I have no
  471. routerinfo yet. Failing to inform controller of success." This
  472. bug was harmless unless Tor is running under a controller
  473. like Vidalia, in which case the controller would never get a
  474. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  475. fixes bug 1172.
  476. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  477. enabled. Fixes bug 1526.
  478. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  479. anything since 0.2.1.16-rc.
  480. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  481. None of the cases where we did this before were wrong, but by making
  482. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  483. - Fix a rare crash bug that could occur when a client was configured
  484. with a large number of bridges. Fixes bug 2629; bugfix on
  485. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  486. - Correct the warning displayed when a rendezvous descriptor exceeds
  487. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  488. John Brooks.
  489. - Fix an uncommon assertion failure when running with DNSPort under
  490. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  491. - When warning about missing zlib development packages during compile,
  492. give the correct package names. Bugfix on 0.2.0.1-alpha.
  493. - Require that introduction point keys and onion keys have public
  494. exponent 65537. Bugfix on 0.2.0.10-alpha.
  495. - Do not crash when our configuration file becomes unreadable, for
  496. example due to a permissions change, between when we start up
  497. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  498. on 0.0.9pre6.
  499. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  500. Fixes bug 3208.
  501. - Always NUL-terminate the sun_path field of a sockaddr_un before
  502. passing it to the kernel. (Not a security issue: kernels are
  503. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  504. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  505. - Don't stack-allocate the list of supplementary GIDs when we're
  506. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  507. could take up to 256K, which is way too much stack. Found by
  508. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  509. o Minor bugfixes (only in 0.2.1.x):
  510. - Resume using micro-version numbers in 0.2.1.x: our Debian packages
  511. rely on them. Bugfix on 0.2.1.30.
  512. - Use git revisions instead of svn revisions when generating our
  513. micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  514. o Minor features (also included in 0.2.2.x):
  515. - Adjust the expiration time on our SSL session certificates to
  516. better match SSL certs seen in the wild. Resolves ticket 4014.
  517. - Allow nameservers with IPv6 address. Resolves bug 2574.
  518. - Update to the October 4 2011 Maxmind GeoLite Country database.
  519. Changes in version 0.2.2.33 - 2011-09-13
  520. Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
  521. TLS handshake that makes relays and bridges that run this new version
  522. reachable from Iran again.
  523. o Major bugfixes:
  524. - Avoid an assertion failure when reloading a configuration with
  525. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  526. 3923; bugfix on 0.2.2.25-alpha.
  527. o Minor features (security):
  528. - Check for replays of the public-key encrypted portion of an
  529. INTRODUCE1 cell, in addition to the current check for replays of
  530. the g^x value. This prevents a possible class of active attacks
  531. by an attacker who controls both an introduction point and a
  532. rendezvous point, and who uses the malleability of AES-CTR to
  533. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  534. that these attacks are infeasible (requiring the attacker to send
  535. on the order of zettabytes of altered cells in a short interval),
  536. but we'd rather block them off in case there are any classes of
  537. this attack that we missed. Reported by Willem Pinckaers.
  538. o Minor features:
  539. - Adjust the expiration time on our SSL session certificates to
  540. better match SSL certs seen in the wild. Resolves ticket 4014.
  541. - Change the default required uptime for a relay to be accepted as
  542. a HSDir (hidden service directory) from 24 hours to 25 hours.
  543. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  544. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  545. authorities to abstain from voting on assignment of the HSDir
  546. consensus flag. Related to bug 2649.
  547. - Update to the September 6 2011 Maxmind GeoLite Country database.
  548. o Minor bugfixes (documentation and log messages):
  549. - Correct the man page to explain that HashedControlPassword and
  550. CookieAuthentication can both be set, in which case either method
  551. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  552. when we decided to allow these config options to both be set. Issue
  553. raised by bug 3898.
  554. - Demote the 'replay detected' log message emitted when a hidden
  555. service receives the same Diffie-Hellman public key in two different
  556. INTRODUCE2 cells to info level. A normal Tor client can cause that
  557. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  558. fixes part of bug 2442.
  559. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  560. level. There is nothing that a hidden service's operator can do
  561. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  562. of bug 2442.
  563. - Clarify a log message specifying the characters permitted in
  564. HiddenServiceAuthorizeClient client names. Previously, the log
  565. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  566. given the impression that every ASCII character between "+" and "_"
  567. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  568. o Build fixes:
  569. - Provide a substitute implementation of lround() for MSVC, which
  570. apparently lacks it. Patch from Gisle Vanem.
  571. - Clean up some code issues that prevented Tor from building on older
  572. BSDs. Fixes bug 3894; reported by "grarpamp".
  573. - Search for a platform-specific version of "ar" when cross-compiling.
  574. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  575. Changes in version 0.2.2.32 - 2011-08-27
  576. The Tor 0.2.2 release series is dedicated to the memory of Andreas
  577. Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
  578. a founder of the PETS community, a leader in our field, a mentor,
  579. and a friend. He left us with these words: "I had the possibility
  580. to contribute to this world that is not as it should be. I hope I
  581. could help in some areas to make the world a better place, and that
  582. I could also encourage other people to be engaged in improving the
  583. world. Please, stay engaged. This world needs you, your love, your
  584. initiative -- now I cannot be part of that anymore."
  585. Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
  586. ready. More than two years in the making, this release features improved
  587. client performance and hidden service reliability, better compatibility
  588. for Android, correct behavior for bridges that listen on more than
  589. one address, more extensible and flexible directory object handling,
  590. better reporting of network statistics, improved code security, and
  591. many many other features and bugfixes.
  592. Changes in version 0.2.2.31-rc - 2011-08-17
  593. Tor 0.2.2.31-rc is the second and hopefully final release candidate
  594. for the Tor 0.2.2.x series.
  595. o Major bugfixes:
  596. - Remove an extra pair of quotation marks around the error
  597. message in control-port STATUS_GENERAL BUG events. Bugfix on
  598. 0.1.2.6-alpha; fixes bug 3732.
  599. - If we're configured to write our ControlPorts to disk, only write
  600. them after switching UID and creating the data directory. This way,
  601. we don't fail when starting up with a nonexistent DataDirectory
  602. and a ControlPortWriteToFile setting based on that directory. Fixes
  603. bug 3747; bugfix on Tor 0.2.2.26-beta.
  604. o Minor features:
  605. - Update to the August 2 2011 Maxmind GeoLite Country database.
  606. o Minor bugfixes:
  607. - Allow GETINFO fingerprint to return a fingerprint even when
  608. we have not yet built a router descriptor. Fixes bug 3577;
  609. bugfix on 0.2.0.1-alpha.
  610. - Write several files in text mode, on OSes that distinguish text
  611. mode from binary mode (namely, Windows). These files are:
  612. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  613. that collect those statistics; 'client_keys' and 'hostname' for
  614. hidden services that use authentication; and (in the tor-gencert
  615. utility) newly generated identity and signing keys. Previously,
  616. we wouldn't specify text mode or binary mode, leading to an
  617. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  618. the DirRecordUsageByCountry option which would have triggered
  619. the assertion failure was added), although this assertion failure
  620. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  621. - Selectively disable deprecation warnings on OS X because Lion
  622. started deprecating the shipped copy of openssl. Fixes bug 3643.
  623. - When unable to format an address as a string, report its value
  624. as "???" rather than reusing the last formatted address. Bugfix
  625. on 0.2.1.5-alpha.
  626. Changes in version 0.2.2.30-rc - 2011-07-07
  627. Tor 0.2.2.30-rc is the first release candidate for the Tor 0.2.2.x
  628. series. It fixes a few smaller bugs, but generally appears stable.
  629. Please test it and let us know whether it is!
  630. o Minor bugfixes:
  631. - Send a SUCCEEDED stream event to the controller when a reverse
  632. resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
  633. discovered by katmagic.
  634. - Always NUL-terminate the sun_path field of a sockaddr_un before
  635. passing it to the kernel. (Not a security issue: kernels are
  636. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  637. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  638. - Don't stack-allocate the list of supplementary GIDs when we're
  639. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  640. could take up to 256K, which is way too much stack. Found by
  641. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  642. - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
  643. events/names' control-port command. Bugfix on 0.2.2.9-alpha;
  644. fixes part of bug 3465.
  645. - Fix a memory leak when receiving a descriptor for a hidden
  646. service we didn't ask for. Found by Coverity; CID #30. Bugfix
  647. on 0.2.2.26-beta.
  648. o Minor features:
  649. - Update to the July 1 2011 Maxmind GeoLite Country database.
  650. Changes in version 0.2.2.29-beta - 2011-06-20
  651. Tor 0.2.2.29-beta reverts an accidental behavior change for users who
  652. have bridge lines in their torrc but don't want to use them; gets
  653. us closer to having the control socket feature working on Debian;
  654. and fixes a variety of smaller bugs.
  655. o Major bugfixes:
  656. - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
  657. When we changed the default behavior to "use bridges if any
  658. are listed in the torrc", we surprised users who had bridges
  659. in their torrc files but who didn't actually want to use them.
  660. Partial resolution for bug 3354.
  661. o Privacy fixes:
  662. - Don't attach new streams to old rendezvous circuits after SIGNAL
  663. NEWNYM. Previously, we would keep using an existing rendezvous
  664. circuit if it remained open (i.e. if it were kept open by a
  665. long-lived stream, or if a new stream were attached to it before
  666. Tor could notice that it was old and no longer in use). Bugfix on
  667. 0.1.1.15-rc; fixes bug 3375.
  668. o Minor bugfixes:
  669. - Fix a bug when using ControlSocketsGroupWritable with User. The
  670. directory's group would be checked against the current group, not
  671. the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
  672. bugfix on 0.2.2.26-beta.
  673. - Make connection_printf_to_buf()'s behaviour sane. Its callers
  674. expect it to emit a CRLF iff the format string ends with CRLF;
  675. it actually emitted a CRLF iff (a) the format string ended with
  676. CRLF or (b) the resulting string was over 1023 characters long or
  677. (c) the format string did not end with CRLF *and* the resulting
  678. string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
  679. fixes part of bug 3407.
  680. - Make send_control_event_impl()'s behaviour sane. Its callers
  681. expect it to always emit a CRLF at the end of the string; it
  682. might have emitted extra control characters as well. Bugfix on
  683. 0.1.1.9-alpha; fixes another part of bug 3407.
  684. - Make crypto_rand_int() check the value of its input correctly.
  685. Previously, it accepted values up to UINT_MAX, but could return a
  686. negative number if given a value above INT_MAX+1. Found by George
  687. Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
  688. - Avoid a segfault when reading a malformed circuit build state
  689. with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
  690. 0.2.2.4-alpha.
  691. - When asked about a DNS record type we don't support via a
  692. client DNSPort, reply with NOTIMPL rather than an empty
  693. reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
  694. - Fix a rare memory leak during stats writing. Found by coverity.
  695. o Minor features:
  696. - Update to the June 1 2011 Maxmind GeoLite Country database.
  697. o Code simplifications and refactoring:
  698. - Remove some dead code as indicated by coverity.
  699. - Remove a few dead assignments during router parsing. Found by
  700. coverity.
  701. - Add some forgotten return value checks during unit tests. Found
  702. by coverity.
  703. - Don't use 1-bit wide signed bit fields. Found by coverity.
  704. Changes in version 0.2.2.28-beta - 2011-06-04
  705. Tor 0.2.2.28-beta makes great progress towards a new stable release: we
  706. fixed a big bug in whether relays stay in the consensus consistently,
  707. we moved closer to handling bridges and hidden services correctly,
  708. and we started the process of better handling the dreaded "my Vidalia
  709. died, and now my Tor demands a password when I try to reconnect to it"
  710. usability issue.
  711. o Major bugfixes:
  712. - Don't decide to make a new descriptor when receiving a HUP signal.
  713. This bug has caused a lot of 0.2.2.x relays to disappear from the
  714. consensus periodically. Fixes the most common case of triggering
  715. bug 1810; bugfix on 0.2.2.7-alpha.
  716. - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
  717. - Don't try to build descriptors if "ORPort auto" is set and we
  718. don't know our actual ORPort yet. Fix for bug 3216; bugfix on
  719. 0.2.2.26-beta.
  720. - Resolve a crash that occurred when setting BridgeRelay to 1 with
  721. accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
  722. - Apply circuit timeouts to opened hidden-service-related circuits
  723. based on the correct start time. Previously, we would apply the
  724. circuit build timeout based on time since the circuit's creation;
  725. it was supposed to be applied based on time since the circuit
  726. entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
  727. - Use the same circuit timeout for client-side introduction
  728. circuits as for other four-hop circuits, rather than the timeout
  729. for single-hop directory-fetch circuits; the shorter timeout may
  730. have been appropriate with the static circuit build timeout in
  731. 0.2.1.x and earlier, but caused many hidden service access attempts
  732. to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
  733. on 0.2.2.2-alpha; fixes another part of bug 1297.
  734. - In ticket 2511 we fixed a case where you could use an unconfigured
  735. bridge if you had configured it as a bridge the last time you ran
  736. Tor. Now fix another edge case: if you had configured it as a bridge
  737. but then switched to a different bridge via the controller, you
  738. would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
  739. fixes bug 3321.
  740. o Major features:
  741. - Add an __OwningControllerProcess configuration option and a
  742. TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
  743. that when it exits, Tor will shut down. Implements feature 3049.
  744. - If "UseBridges 1" is set and no bridges are configured, Tor will
  745. now refuse to build any circuits until some bridges are set.
  746. If "UseBridges auto" is set, Tor will use bridges if they are
  747. configured and we are not running as a server, but otherwise will
  748. make circuits as usual. The new default is "auto". Patch by anonym,
  749. so the Tails LiveCD can stop automatically revealing you as a Tor
  750. user on startup.
  751. o Minor bugfixes:
  752. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  753. - Remove a trailing asterisk from "exit-policy/default" in the
  754. output of the control port command "GETINFO info/names". Bugfix
  755. on 0.1.2.5-alpha.
  756. - Use a wide type to hold sockets when built for 64-bit Windows builds.
  757. Fixes bug 3270.
  758. - Warn when the user configures two HiddenServiceDir lines that point
  759. to the same directory. Bugfix on 0.0.6 (the version introducing
  760. HiddenServiceDir); fixes bug 3289.
  761. - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
  762. part of bug 2748; bugfix on 0.2.0.10-alpha.
  763. - Log malformed requests for rendezvous descriptors as protocol
  764. warnings, not warnings. Also, use a more informative log message
  765. in case someone sees it at log level warning without prior
  766. info-level messages. Fixes the other part of bug 2748; bugfix
  767. on 0.2.0.10-alpha.
  768. - Clear the table recording the time of the last request for each
  769. hidden service descriptor from each HS directory on SIGNAL NEWNYM.
  770. Previously, we would clear our HS descriptor cache on SIGNAL
  771. NEWNYM, but if we had previously retrieved a descriptor (or tried
  772. to) from every directory responsible for it, we would refuse to
  773. fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
  774. fixes bug 3309.
  775. - Fix a log message that said "bits" while displaying a value in
  776. bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
  777. 0.2.0.1-alpha.
  778. - When checking for 1024-bit keys, check for 1024 bits, not 128
  779. bytes. This allows Tor to correctly discard keys of length 1017
  780. through 1023. Bugfix on 0.0.9pre5.
  781. o Minor features:
  782. - Relays now log the reason for publishing a new relay descriptor,
  783. so we have a better chance of hunting down instances of bug 1810.
  784. Resolves ticket 3252.
  785. - Revise most log messages that refer to nodes by nickname to
  786. instead use the "$key=nickname at address" format. This should be
  787. more useful, especially since nicknames are less and less likely
  788. to be unique. Resolves ticket 3045.
  789. - Log (at info level) when purging pieces of hidden-service-client
  790. state because of SIGNAL NEWNYM.
  791. o Removed options:
  792. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  793. anything since 0.2.1.16-rc.
  794. Changes in version 0.2.2.27-beta - 2011-05-18
  795. Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
  796. release, and also adds a few more general bugfixes.
  797. o Major bugfixes:
  798. - Fix a crash bug when changing bridges in a running Tor process.
  799. Fixes bug 3213; bugfix on 0.2.2.26-beta.
  800. - When the controller configures a new bridge, don't wait 10 to 60
  801. seconds before trying to fetch its descriptor. Bugfix on
  802. 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
  803. o Minor bugfixes:
  804. - Require that onion keys have exponent 65537 in microdescriptors too.
  805. Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
  806. - Tor used to limit HttpProxyAuthenticator values to 48 characters.
  807. Changed the limit to 512 characters by removing base64 newlines.
  808. Fixes bug 2752. Fix by Michael Yakubovich.
  809. - When a client starts or stops using bridges, never use a circuit
  810. that was built before the configuration change. This behavior could
  811. put at risk a user who uses bridges to ensure that her traffic
  812. only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
  813. bug 3200.
  814. Changes in version 0.2.2.26-beta - 2011-05-17
  815. Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
  816. also introduces a new "socksport auto" approach that should make it
  817. easier to run multiple Tors on the same system, and does a lot of
  818. cleanup to get us closer to a release candidate.
  819. o Security/privacy fixes:
  820. - Replace all potentially sensitive memory comparison operations
  821. with versions whose runtime does not depend on the data being
  822. compared. This will help resist a class of attacks where an
  823. adversary can use variations in timing information to learn
  824. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  825. implementation by Robert Ransom based partially on code by DJB.)
  826. - When receiving a hidden service descriptor, check that it is for
  827. the hidden service we wanted. Previously, Tor would store any
  828. hidden service descriptors that a directory gave it, whether it
  829. wanted them or not. This wouldn't have let an attacker impersonate
  830. a hidden service, but it did let directories pre-seed a client
  831. with descriptors that it didn't want. Bugfix on 0.0.6.
  832. - On SIGHUP, do not clear out all TrackHostExits mappings, client
  833. DNS cache entries, and virtual address mappings: that's what
  834. NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
  835. o Major features:
  836. - The options SocksPort, ControlPort, and so on now all accept a
  837. value "auto" that opens a socket on an OS-selected port. A
  838. new ControlPortWriteToFile option tells Tor to write its
  839. actual control port or ports to a chosen file. If the option
  840. ControlPortFileGroupReadable is set, the file is created as
  841. group-readable. Now users can run two Tor clients on the same
  842. system without needing to manually mess with parameters. Resolves
  843. part of ticket 3076.
  844. - Set SO_REUSEADDR on all sockets, not just listeners. This should
  845. help busy exit nodes avoid running out of useable ports just
  846. because all the ports have been used in the near past. Resolves
  847. issue 2850.
  848. o Minor features:
  849. - New "GETINFO net/listeners/(type)" controller command to return
  850. a list of addresses and ports that are bound for listeners for a
  851. given connection type. This is useful when the user has configured
  852. "SocksPort auto" and the controller needs to know which port got
  853. chosen. Resolves another part of ticket 3076.
  854. - Add a new ControlSocketsGroupWritable configuration option: when
  855. it is turned on, ControlSockets are group-writeable by the default
  856. group of the current user. Patch by Jérémy Bobbio; implements
  857. ticket 2972.
  858. - Tor now refuses to create a ControlSocket in a directory that is
  859. world-readable (or group-readable if ControlSocketsGroupWritable
  860. is 0). This is necessary because some operating systems do not
  861. enforce permissions on an AF_UNIX sockets. Permissions on the
  862. directory holding the socket, however, seems to work everywhere.
  863. - Rate-limit a warning about failures to download v2 networkstatus
  864. documents. Resolves part of bug 1352.
  865. - Backport code from 0.2.3.x that allows directory authorities to
  866. clean their microdescriptor caches. Needed to resolve bug 2230.
  867. - When an HTTPS proxy reports "403 Forbidden", we now explain
  868. what it means rather than calling it an unexpected status code.
  869. Closes bug 2503. Patch from Michael Yakubovich.
  870. - Update to the May 1 2011 Maxmind GeoLite Country database.
  871. o Minor bugfixes:
  872. - Authorities now clean their microdesc cache periodically and when
  873. reading from disk initially, not only when adding new descriptors.
  874. This prevents a bug where we could lose microdescriptors. Bugfix
  875. on 0.2.2.6-alpha. 2230
  876. - Do not crash when our configuration file becomes unreadable, for
  877. example due to a permissions change, between when we start up
  878. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  879. on 0.0.9pre6.
  880. - Avoid a bug that would keep us from replacing a microdescriptor
  881. cache on Windows. (We would try to replace the file while still
  882. holding it open. That's fine on Unix, but Windows doesn't let us
  883. do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
  884. - Add missing explanations for the authority-related torrc options
  885. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
  886. man page. Resolves issue 2379.
  887. - As an authority, do not upload our own vote or signature set to
  888. ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
  889. it would get flagged as a duplicate. Resolves bug 3026.
  890. - Accept hidden service descriptors if we think we might be a hidden
  891. service directory, regardless of what our consensus says. This
  892. helps robustness, since clients and hidden services can sometimes
  893. have a more up-to-date view of the network consensus than we do,
  894. and if they think that the directory authorities list us a HSDir,
  895. we might actually be one. Related to bug 2732; bugfix on
  896. 0.2.0.10-alpha.
  897. - When a controller changes TrackHostExits, remove mappings for
  898. hosts that should no longer have their exits tracked. Bugfix on
  899. 0.1.0.1-rc.
  900. - When a controller changes VirtualAddrNetwork, remove any mappings
  901. for hosts that were automapped to the old network. Bugfix on
  902. 0.1.1.19-rc.
  903. - When a controller changes one of the AutomapHosts* options, remove
  904. any mappings for hosts that should no longer be automapped. Bugfix
  905. on 0.2.0.1-alpha.
  906. - Do not reset the bridge descriptor download status every time we
  907. re-parse our configuration or get a configuration change. Fixes
  908. bug 3019; bugfix on 0.2.0.3-alpha.
  909. o Minor bugfixes (code cleanup):
  910. - When loading the microdesc journal, remember its current size.
  911. In 0.2.2, this helps prevent the microdesc journal from growing
  912. without limit on authorities (who are the only ones to use it in
  913. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  914. Fix posted by "cypherpunks."
  915. - The microdesc journal is supposed to get rebuilt only if it is
  916. at least _half_ the length of the store, not _twice_ the length
  917. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  918. - Fix a potential null-pointer dereference while computing a
  919. consensus. Bugfix on tor-0.2.0.3-alpha, found with the help of
  920. clang's analyzer.
  921. - Avoid a possible null-pointer dereference when rebuilding the mdesc
  922. cache without actually having any descriptors to cache. Bugfix on
  923. 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
  924. - If we fail to compute the identity digest of a v3 legacy keypair,
  925. warn, and don't use a buffer-full of junk instead. Bugfix on
  926. 0.2.1.1-alpha; fixes bug 3106.
  927. - Resolve an untriggerable issue in smartlist_string_num_isin(),
  928. where if the function had ever in the future been used to check
  929. for the presence of a too-large number, it would have given an
  930. incorrect result. (Fortunately, we only used it for 16-bit
  931. values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
  932. - Require that introduction point keys and onion handshake keys
  933. have a public exponent of 65537. Starts to fix bug 3207; bugfix
  934. on 0.2.0.10-alpha.
  935. o Removed features:
  936. - Caches no longer download and serve v2 networkstatus documents
  937. unless FetchV2Networkstatus flag is set: these documents haven't
  938. haven't been used by clients or relays since 0.2.0.x. Resolves
  939. bug 3022.
  940. Changes in version 0.2.2.25-alpha - 2011-04-29
  941. Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
  942. robust, routers no longer overreport their bandwidth, Win7 should crash
  943. a little less, and NEWNYM (as used by Vidalia's "new identity" button)
  944. now prevents hidden service-related activity from being linkable. It
  945. provides more information to Vidalia so you can see if your bridge is
  946. working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
  947. StrictNodes configuration options to make them more reliable, more
  948. understandable, and more regularly applied. If you use those options,
  949. please see the revised documentation for them in the manual page.
  950. o Major bugfixes:
  951. - Relays were publishing grossly inflated bandwidth values because
  952. they were writing their state files wrong--now they write the
  953. correct value. Also, resume reading bandwidth history from the
  954. state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
  955. - Improve hidden service robustness: When we find that we have
  956. extended a hidden service's introduction circuit to a relay not
  957. listed as an introduction point in the HS descriptor we currently
  958. have, retry with an introduction point from the current
  959. descriptor. Previously we would just give up. Fixes bugs 1024 and
  960. 1930; bugfix on 0.2.0.10-alpha.
  961. - Clients now stop trying to use an exit node associated with a given
  962. destination by TrackHostExits if they fail to reach that exit node.
  963. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
  964. - Fix crash bug on platforms where gmtime and localtime can return
  965. NULL. Windows 7 users were running into this one. Fixes part of bug
  966. 2077. Bugfix on all versions of Tor. Found by boboper.
  967. o Security and stability fixes:
  968. - Don't double-free a parsable, but invalid, microdescriptor, even if
  969. it is followed in the blob we're parsing by an unparsable
  970. microdescriptor. Fixes an issue reported in a comment on bug 2954.
  971. Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
  972. - If the Nickname configuration option isn't given, Tor would pick a
  973. nickname based on the local hostname as the nickname for a relay.
  974. Because nicknames are not very important in today's Tor and the
  975. "Unnamed" nickname has been implemented, this is now problematic
  976. behavior: It leaks information about the hostname without being
  977. useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
  978. introduced the Unnamed nickname. Reported by tagnaq.
  979. - Fix an uncommon assertion failure when running with DNSPort under
  980. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  981. - Avoid linkability based on cached hidden service descriptors: forget
  982. all hidden service descriptors cached as a client when processing a
  983. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  984. o Major features:
  985. - Export GeoIP information on bridge usage to controllers even if we
  986. have not yet been running for 24 hours. Now Vidalia bridge operators
  987. can get more accurate and immediate feedback about their
  988. contributions to the network.
  989. o Major features and bugfixes (node selection):
  990. - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
  991. ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
  992. options. Previously, we had been ambiguous in describing what
  993. counted as an "exit" node, and what operations exactly "StrictNodes
  994. 0" would permit. This created confusion when people saw nodes built
  995. through unexpected circuits, and made it hard to tell real bugs from
  996. surprises. Now the intended behavior is:
  997. . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
  998. a node that delivers user traffic outside the Tor network.
  999. . "Entry", in the context of EntryNodes, means a node used as the
  1000. first hop of a multihop circuit. It doesn't include direct
  1001. connections to directory servers.
  1002. . "ExcludeNodes" applies to all nodes.
  1003. . "StrictNodes" changes the behavior of ExcludeNodes only. When
  1004. StrictNodes is set, Tor should avoid all nodes listed in
  1005. ExcludeNodes, even when it will make user requests fail. When
  1006. StrictNodes is *not* set, then Tor should follow ExcludeNodes
  1007. whenever it can, except when it must use an excluded node to
  1008. perform self-tests, connect to a hidden service, provide a
  1009. hidden service, fulfill a .exit request, upload directory
  1010. information, or fetch directory information.
  1011. Collectively, the changes to implement the behavior fix bug 1090.
  1012. - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
  1013. a node is listed in both, it's treated as excluded.
  1014. - ExcludeNodes now applies to directory nodes -- as a preference if
  1015. StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
  1016. Don't exclude all the directory authorities and set StrictNodes to 1
  1017. unless you really want your Tor to break.
  1018. - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
  1019. - ExcludeExitNodes now overrides .exit requests.
  1020. - We don't use bridges listed in ExcludeNodes.
  1021. - When StrictNodes is 1:
  1022. . We now apply ExcludeNodes to hidden service introduction points
  1023. and to rendezvous points selected by hidden service users. This
  1024. can make your hidden service less reliable: use it with caution!
  1025. . If we have used ExcludeNodes on ourself, do not try relay
  1026. reachability self-tests.
  1027. . If we have excluded all the directory authorities, we will not
  1028. even try to upload our descriptor if we're a relay.
  1029. . Do not honor .exit requests to an excluded node.
  1030. - Remove a misfeature that caused us to ignore the Fast/Stable flags
  1031. when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
  1032. - When the set of permitted nodes changes, we now remove any mappings
  1033. introduced via TrackExitHosts to now-excluded nodes. Bugfix on
  1034. 0.1.0.1-rc.
  1035. - We never cannibalize a circuit that had excluded nodes on it, even
  1036. if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
  1037. - Revert a change where we would be laxer about attaching streams to
  1038. circuits than when building the circuits. This was meant to prevent
  1039. a set of bugs where streams were never attachable, but our improved
  1040. code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
  1041. - Keep track of how many times we launch a new circuit to handle a
  1042. given stream. Too many launches could indicate an inconsistency
  1043. between our "launch a circuit to handle this stream" logic and our
  1044. "attach this stream to one of the available circuits" logic.
  1045. - Improve log messages related to excluded nodes.
  1046. o Minor bugfixes:
  1047. - Fix a spurious warning when moving from a short month to a long
  1048. month on relays with month-based BandwidthAccounting. Bugfix on
  1049. 0.2.2.17-alpha; fixes bug 3020.
  1050. - When a client finds that an origin circuit has run out of 16-bit
  1051. stream IDs, we now mark it as unusable for new streams. Previously,
  1052. we would try to close the entire circuit. Bugfix on 0.0.6.
  1053. - Add a forgotten cast that caused a compile warning on OS X 10.6.
  1054. Bugfix on 0.2.2.24-alpha.
  1055. - Be more careful about reporting the correct error from a failed
  1056. connect() system call. Under some circumstances, it was possible to
  1057. look at an incorrect value for errno when sending the end reason.
  1058. Bugfix on 0.1.0.1-rc.
  1059. - Correctly handle an "impossible" overflow cases in connection byte
  1060. counting, where we write or read more than 4GB on an edge connection
  1061. in a single second. Bugfix on 0.1.2.8-beta.
  1062. - Correct the warning displayed when a rendezvous descriptor exceeds
  1063. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  1064. John Brooks.
  1065. - Clients and hidden services now use HSDir-flagged relays for hidden
  1066. service descriptor downloads and uploads even if the relays have no
  1067. DirPort set and the client has disabled TunnelDirConns. This will
  1068. eventually allow us to give the HSDir flag to relays with no
  1069. DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
  1070. - Downgrade "no current certificates known for authority" message from
  1071. Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
  1072. - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
  1073. 2917. Bugfix on 0.1.1.1-alpha.
  1074. - Only limit the lengths of single HS descriptors, even when multiple
  1075. HS descriptors are published to an HSDir relay in a single POST
  1076. operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
  1077. - Write the current time into the LastWritten line in our state file,
  1078. rather than the time from the previous write attempt. Also, stop
  1079. trying to use a time of -1 in our log statements. Fixes bug 3039;
  1080. bugfix on 0.2.2.14-alpha.
  1081. - Be more consistent in our treatment of file system paths. "~" should
  1082. get expanded to the user's home directory in the Log config option.
  1083. Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
  1084. feature for the -f and --DataDirectory options.
  1085. o Minor features:
  1086. - Make sure every relay writes a state file at least every 12 hours.
  1087. Previously, a relay could go for weeks without writing its state
  1088. file, and on a crash could lose its bandwidth history, capacity
  1089. estimates, client country statistics, and so on. Addresses bug 3012.
  1090. - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
  1091. Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
  1092. clients are already deprecated because of security bugs.
  1093. - Don't allow v0 hidden service authorities to act as clients.
  1094. Required by fix for bug 3000.
  1095. - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
  1096. by fix for bug 3000.
  1097. - Ensure that no empty [dirreq-](read|write)-history lines are added
  1098. to an extrainfo document. Implements ticket 2497.
  1099. o Code simplification and refactoring:
  1100. - Remove workaround code to handle directory responses from servers
  1101. that had bug 539 (they would send HTTP status 503 responses _and_
  1102. send a body too). Since only server versions before
  1103. 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
  1104. keep the workaround in place.
  1105. - Remove the old 'fuzzy time' logic. It was supposed to be used for
  1106. handling calculations where we have a known amount of clock skew and
  1107. an allowed amount of unknown skew. But we only used it in three
  1108. places, and we never adjusted the known/unknown skew values. This is
  1109. still something we might want to do someday, but if we do, we'll
  1110. want to do it differently.
  1111. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  1112. None of the cases where we did this before were wrong, but by making
  1113. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  1114. - Use GetTempDir to find the proper temporary directory location on
  1115. Windows when generating temporary files for the unit tests. Patch by
  1116. Gisle Vanem.
  1117. Changes in version 0.2.2.24-alpha - 2011-04-08
  1118. Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
  1119. prevented Tor clients from effectively using "multihomed" bridges,
  1120. that is, bridges that listen on multiple ports or IP addresses so users
  1121. can continue to use some of their addresses even if others get blocked.
  1122. o Major bugfixes:
  1123. - Fix a bug where bridge users who configure the non-canonical
  1124. address of a bridge automatically switch to its canonical
  1125. address. If a bridge listens at more than one address, it should be
  1126. able to advertise those addresses independently and any non-blocked
  1127. addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
  1128. bug 2510.
  1129. - If you configured Tor to use bridge A, and then quit and
  1130. configured Tor to use bridge B instead, it would happily continue
  1131. to use bridge A if it's still reachable. While this behavior is
  1132. a feature if your goal is connectivity, in some scenarios it's a
  1133. dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
  1134. - Directory authorities now use data collected from their own
  1135. uptime observations when choosing whether to assign the HSDir flag
  1136. to relays, instead of trusting the uptime value the relay reports in
  1137. its descriptor. This change helps prevent an attack where a small
  1138. set of nodes with frequently-changing identity keys can blackhole
  1139. a hidden service. (Only authorities need upgrade; others will be
  1140. fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
  1141. o Minor bugfixes:
  1142. - When we restart our relay, we might get a successful connection
  1143. from the outside before we've started our reachability tests,
  1144. triggering a warning: "ORPort found reachable, but I have no
  1145. routerinfo yet. Failing to inform controller of success." This
  1146. bug was harmless unless Tor is running under a controller
  1147. like Vidalia, in which case the controller would never get a
  1148. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  1149. fixes bug 1172.
  1150. - Make directory authorities more accurate at recording when
  1151. relays that have failed several reachability tests became
  1152. unreachable, so we can provide more accuracy at assigning Stable,
  1153. Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
  1154. - Fix an issue that prevented static linking of libevent on
  1155. some platforms (notably Linux). Fixes bug 2698; bugfix on
  1156. versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
  1157. the --with-static-libevent configure option).
  1158. - We now ask the other side of a stream (the client or the exit)
  1159. for more data on that stream when the amount of queued data on
  1160. that stream dips low enough. Previously, we wouldn't ask the
  1161. other side for more data until either it sent us more data (which
  1162. it wasn't supposed to do if it had exhausted its window!) or we
  1163. had completely flushed all our queued data. This flow control fix
  1164. should improve throughput. Fixes bug 2756; bugfix on the earliest
  1165. released versions of Tor (svn commit r152).
  1166. - Avoid a double-mark-for-free warning when failing to attach a
  1167. transparent proxy connection. (We thought we had fixed this in
  1168. 0.2.2.23-alpha, but it turns out our fix was checking the wrong
  1169. connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
  1170. bug) and 0.2.2.23-alpha (the incorrect fix).
  1171. - When warning about missing zlib development packages during compile,
  1172. give the correct package names. Bugfix on 0.2.0.1-alpha.
  1173. o Minor features:
  1174. - Directory authorities now log the source of a rejected POSTed v3
  1175. networkstatus vote.
  1176. - Make compilation with clang possible when using
  1177. --enable-gcc-warnings by removing two warning options that clang
  1178. hasn't implemented yet and by fixing a few warnings. Implements
  1179. ticket 2696.
  1180. - When expiring circuits, use microsecond timers rather than
  1181. one-second timers. This can avoid an unpleasant situation where a
  1182. circuit is launched near the end of one second and expired right
  1183. near the beginning of the next, and prevent fluctuations in circuit
  1184. timeout values.
  1185. - Use computed circuit-build timeouts to decide when to launch
  1186. parallel introduction circuits for hidden services. (Previously,
  1187. we would retry after 15 seconds.)
  1188. - Update to the April 1 2011 Maxmind GeoLite Country database.
  1189. o Packaging fixes:
  1190. - Create the /var/run/tor directory on startup on OpenSUSE if it is
  1191. not already created. Patch from Andreas Stieger. Fixes bug 2573.
  1192. o Documentation changes:
  1193. - Modernize the doxygen configuration file slightly. Fixes bug 2707.
  1194. - Resolve all doxygen warnings except those for missing documentation.
  1195. Fixes bug 2705.
  1196. - Add doxygen documentation for more functions, fields, and types.
  1197. Changes in version 0.2.2.23-alpha - 2011-03-08
  1198. Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
  1199. they restart they don't lose their bandwidth capacity estimate. This
  1200. release also fixes a diverse set of user-facing bugs, ranging from
  1201. relays overrunning their rate limiting to clients falsely warning about
  1202. clock skew to bridge descriptor leaks by our bridge directory authority.
  1203. o Major bugfixes:
  1204. - Stop sending a CLOCK_SKEW controller status event whenever
  1205. we fetch directory information from a relay that has a wrong clock.
  1206. Instead, only inform the controller when it's a trusted authority
  1207. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  1208. the rest of bug 1074.
  1209. - Fix an assert in parsing router descriptors containing IPv6
  1210. addresses. This one took down the directory authorities when
  1211. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  1212. - Make the bridge directory authority refuse to answer directory
  1213. requests for "all" descriptors. It used to include bridge
  1214. descriptors in its answer, which was a major information leak.
  1215. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  1216. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  1217. Tor would ignore their RelayBandwidthBurst setting,
  1218. potentially using more bandwidth than expected. Bugfix on
  1219. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  1220. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  1221. hidserv" in her torrc. The 'hidserv' argument never controlled
  1222. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  1223. o Major features:
  1224. - Relays now save observed peak bandwidth throughput rates to their
  1225. state file (along with total usage, which was already saved)
  1226. so that they can determine their correct estimated bandwidth on
  1227. restart. Resolves bug 1863, where Tor relays would reset their
  1228. estimated bandwidth to 0 after restarting.
  1229. - Directory authorities now take changes in router IP address and
  1230. ORPort into account when determining router stability. Previously,
  1231. if a router changed its IP or ORPort, the authorities would not
  1232. treat it as having any downtime for the purposes of stability
  1233. calculation, whereas clients would experience downtime since the
  1234. change could take a while to propagate to them. Resolves issue 1035.
  1235. - Enable Address Space Layout Randomization (ASLR) and Data Execution
  1236. Prevention (DEP) by default on Windows to make it harder for
  1237. attackers to exploit vulnerabilities. Patch from John Brooks.
  1238. o Minor bugfixes (on 0.2.1.x and earlier):
  1239. - Fix a rare crash bug that could occur when a client was configured
  1240. with a large number of bridges. Fixes bug 2629; bugfix on
  1241. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  1242. - Avoid a double mark-for-free warning when failing to attach a
  1243. transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
  1244. bug 2279.
  1245. - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
  1246. found by "cypherpunks". This bug was introduced before the first
  1247. Tor release, in svn commit r110.
  1248. - Country codes aren't supported in EntryNodes until 0.2.3.x, so
  1249. don't mention them in the manpage. Fixes bug 2450; issue
  1250. spotted by keb and G-Lo.
  1251. - Fix a bug in bandwidth history state parsing that could have been
  1252. triggered if a future version of Tor ever changed the timing
  1253. granularity at which bandwidth history is measured. Bugfix on
  1254. Tor 0.1.1.11-alpha.
  1255. - When a relay decides that its DNS is too broken for it to serve
  1256. as an exit server, it advertised itself as a non-exit, but
  1257. continued to act as an exit. This could create accidental
  1258. partitioning opportunities for users. Instead, if a relay is
  1259. going to advertise reject *:* as its exit policy, it should
  1260. really act with exit policy "reject *:*". Fixes bug 2366.
  1261. Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
  1262. - In the special case where you configure a public exit relay as your
  1263. bridge, Tor would be willing to use that exit relay as the last
  1264. hop in your circuit as well. Now we fail that circuit instead.
  1265. Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
  1266. - Fix a bug with our locking implementation on Windows that couldn't
  1267. correctly detect when a file was already locked. Fixes bug 2504,
  1268. bugfix on 0.2.1.6-alpha.
  1269. - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
  1270. Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
  1271. "piebeer".
  1272. - Set target port in get_interface_address6() correctly. Bugfix
  1273. on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
  1274. - Directory authorities are now more robust to hops back in time
  1275. when calculating router stability. Previously, if a run of uptime
  1276. or downtime appeared to be negative, the calculation could give
  1277. incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
  1278. bug 1035.
  1279. - Fix an assert that got triggered when using the TestingTorNetwork
  1280. configuration option and then issuing a GETINFO config-text control
  1281. command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
  1282. o Minor bugfixes (on 0.2.2.x):
  1283. - Clients should not weight BadExit nodes as Exits in their node
  1284. selection. Similarly, directory authorities should not count BadExit
  1285. bandwidth as Exit bandwidth when computing bandwidth-weights.
  1286. Bugfix on 0.2.2.10-alpha; fixes bug 2203.
  1287. - Correctly clear our dir_read/dir_write history when there is an
  1288. error parsing any bw history value from the state file. Bugfix on
  1289. Tor 0.2.2.15-alpha.
  1290. - Resolve a bug in verifying signatures of directory objects
  1291. with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
  1292. Fixes bug 2409. Found by "piebeer".
  1293. - Bridge authorities no longer crash on SIGHUP when they try to
  1294. publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
  1295. on 0.2.2.22-alpha.
  1296. o Minor features:
  1297. - Log less aggressively about circuit timeout changes, and improve
  1298. some other circuit timeout messages. Resolves bug 2004.
  1299. - Log a little more clearly about the times at which we're no longer
  1300. accepting new connections. Resolves bug 2181.
  1301. - Reject attempts at the client side to open connections to private
  1302. IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
  1303. a randomly chosen exit node. Attempts to do so are always
  1304. ill-defined, generally prevented by exit policies, and usually
  1305. in error. This will also help to detect loops in transparent
  1306. proxy configurations. You can disable this feature by setting
  1307. "ClientRejectInternalAddresses 0" in your torrc.
  1308. - Always treat failure to allocate an RSA key as an unrecoverable
  1309. allocation error.
  1310. - Update to the March 1 2011 Maxmind GeoLite Country database.
  1311. o Minor features (log subsystem):
  1312. - Add documentation for configuring logging at different severities in
  1313. different log domains. We've had this feature since 0.2.1.1-alpha,
  1314. but for some reason it never made it into the manpage. Fixes
  1315. bug 2215.
  1316. - Make it simpler to specify "All log domains except for A and B".
  1317. Previously you needed to say "[*,~A,~B]". Now you can just say
  1318. "[~A,~B]".
  1319. - Add a "LogMessageDomains 1" option to include the domains of log
  1320. messages along with the messages. Without this, there's no way
  1321. to use log domains without reading the source or doing a lot
  1322. of guessing.
  1323. o Packaging changes:
  1324. - Stop shipping the Tor specs files and development proposal documents
  1325. in the tarball. They are now in a separate git repository at
  1326. git://git.torproject.org/torspec.git
  1327. Changes in version 0.2.1.30 - 2011-02-23
  1328. Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
  1329. change is a slight tweak to Tor's TLS handshake that makes relays
  1330. and bridges that run this new version reachable from Iran again.
  1331. We don't expect this tweak will win the arms race long-term, but it
  1332. buys us time until we roll out a better solution.
  1333. o Major bugfixes:
  1334. - Stop sending a CLOCK_SKEW controller status event whenever
  1335. we fetch directory information from a relay that has a wrong clock.
  1336. Instead, only inform the controller when it's a trusted authority
  1337. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  1338. the rest of bug 1074.
  1339. - Fix a bounds-checking error that could allow an attacker to
  1340. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  1341. Found by "piebeer".
  1342. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  1343. Tor would ignore their RelayBandwidthBurst setting,
  1344. potentially using more bandwidth than expected. Bugfix on
  1345. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  1346. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  1347. hidserv" in her torrc. The 'hidserv' argument never controlled
  1348. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  1349. o Minor features:
  1350. - Adjust our TLS Diffie-Hellman parameters to match those used by
  1351. Apache's mod_ssl.
  1352. - Update to the February 1 2011 Maxmind GeoLite Country database.
  1353. o Minor bugfixes:
  1354. - Check for and reject overly long directory certificates and
  1355. directory tokens before they have a chance to hit any assertions.
  1356. Bugfix on 0.2.1.28. Found by "doorss".
  1357. - Bring the logic that gathers routerinfos and assesses the
  1358. acceptability of circuits into line. This prevents a Tor OP from
  1359. getting locked in a cycle of choosing its local OR as an exit for a
  1360. path (due to a .exit request) and then rejecting the circuit because
  1361. its OR is not listed yet. It also prevents Tor clients from using an
  1362. OR running in the same instance as an exit (due to a .exit request)
  1363. if the OR does not meet the same requirements expected of an OR
  1364. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  1365. o Packaging changes:
  1366. - Stop shipping the Tor specs files and development proposal documents
  1367. in the tarball. They are now in a separate git repository at
  1368. git://git.torproject.org/torspec.git
  1369. - Do not include Git version tags as though they are SVN tags when
  1370. generating a tarball from inside a repository that has switched
  1371. between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  1372. Changes in version 0.2.2.22-alpha - 2011-01-25
  1373. Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
  1374. main other change is a slight tweak to Tor's TLS handshake that makes
  1375. relays and bridges that run this new version reachable from Iran again.
  1376. We don't expect this tweak will win the arms race long-term, but it
  1377. will buy us a bit more time until we roll out a better solution.
  1378. o Major bugfixes:
  1379. - Fix a bounds-checking error that could allow an attacker to
  1380. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  1381. Found by "piebeer".
  1382. - Don't assert when changing from bridge to relay or vice versa
  1383. via the controller. The assert happened because we didn't properly
  1384. initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
  1385. bug 2433. Reported by bastik.
  1386. o Minor features:
  1387. - Adjust our TLS Diffie-Hellman parameters to match those used by
  1388. Apache's mod_ssl.
  1389. - Provide a log message stating which geoip file we're parsing
  1390. instead of just stating that we're parsing the geoip file.
  1391. Implements ticket 2432.
  1392. o Minor bugfixes:
  1393. - Check for and reject overly long directory certificates and
  1394. directory tokens before they have a chance to hit any assertions.
  1395. Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
  1396. Changes in version 0.2.2.21-alpha - 2011-01-15
  1397. Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
  1398. continues our recent code security audit work. The main fix resolves
  1399. a remote heap overflow vulnerability that can allow remote code
  1400. execution (CVE-2011-0427). Other fixes address a variety of assert
  1401. and crash bugs, most of which we think are hard to exploit remotely.
  1402. o Major bugfixes (security), also included in 0.2.1.29:
  1403. - Fix a heap overflow bug where an adversary could cause heap
  1404. corruption. This bug probably allows remote code execution
  1405. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  1406. 0.1.2.10-rc.
  1407. - Prevent a denial-of-service attack by disallowing any
  1408. zlib-compressed data whose compression factor is implausibly
  1409. high. Fixes part of bug 2324; reported by "doorss".
  1410. - Zero out a few more keys in memory before freeing them. Fixes
  1411. bug 2384 and part of bug 2385. These key instances found by
  1412. "cypherpunks", based on Andrew Case's report about being able
  1413. to find sensitive data in Tor's memory space if you have enough
  1414. permissions. Bugfix on 0.0.2pre9.
  1415. o Major bugfixes (crashes), also included in 0.2.1.29:
  1416. - Prevent calls to Libevent from inside Libevent log handlers.
  1417. This had potential to cause a nasty set of crashes, especially
  1418. if running Libevent with debug logging enabled, and running
  1419. Tor with a controller watching for low-severity log messages.
  1420. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  1421. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  1422. underflow errors there too. Fixes the other part of bug 2324.
  1423. - Fix a bug where we would assert if we ever had a
  1424. cached-descriptors.new file (or another file read directly into
  1425. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  1426. on 0.2.1.25. Found by doorss.
  1427. - Fix some potential asserts and parsing issues with grossly
  1428. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  1429. Found by doorss.
  1430. o Minor bugfixes (other), also included in 0.2.1.29:
  1431. - Fix a bug with handling misformed replies to reverse DNS lookup
  1432. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  1433. bug reported by doorss.
  1434. - Fix compilation on mingw when a pthreads compatibility library
  1435. has been installed. (We don't want to use it, so we shouldn't
  1436. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  1437. - Fix a bug where we would declare that we had run out of virtual
  1438. addresses when the address space was only half-exhausted. Bugfix
  1439. on 0.1.2.1-alpha.
  1440. - Correctly handle the case where AutomapHostsOnResolve is set but
  1441. no virtual addresses are available. Fixes bug 2328; bugfix on
  1442. 0.1.2.1-alpha. Bug found by doorss.
  1443. - Correctly handle wrapping around when we run out of virtual
  1444. address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
  1445. o Minor features, also included in 0.2.1.29:
  1446. - Update to the January 1 2011 Maxmind GeoLite Country database.
  1447. - Introduce output size checks on all of our decryption functions.
  1448. o Build changes, also included in 0.2.1.29:
  1449. - Tor does not build packages correctly with Automake 1.6 and earlier;
  1450. added a check to Makefile.am to make sure that we're building with
  1451. Automake 1.7 or later.
  1452. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  1453. because we built it with a too-old version of automake. Thus that
  1454. release broke ./configure --enable-openbsd-malloc, which is popular
  1455. among really fast exit relays on Linux.
  1456. o Major bugfixes, new in 0.2.2.21-alpha:
  1457. - Prevent crash/heap corruption when the cbtnummodes consensus
  1458. parameter is set to 0 or large values. Fixes bug 2317; bugfix
  1459. on 0.2.2.14-alpha.
  1460. o Major features, new in 0.2.2.21-alpha:
  1461. - Introduce minimum/maximum values that clients will believe
  1462. from the consensus. Now we'll have a better chance to avoid crashes
  1463. or worse when a consensus param has a weird value.
  1464. o Minor features, new in 0.2.2.21-alpha:
  1465. - Make sure to disable DirPort if running as a bridge. DirPorts aren't
  1466. used on bridges, and it makes bridge scanning somewhat easier.
  1467. - If writing the state file to disk fails, wait up to an hour before
  1468. retrying again, rather than trying again each second. Fixes bug
  1469. 2346; bugfix on Tor 0.1.1.3-alpha.
  1470. - Make Libevent log messages get delivered to controllers later,
  1471. and not from inside the Libevent log handler. This prevents unsafe
  1472. reentrant Libevent calls while still letting the log messages
  1473. get through.
  1474. - Detect platforms that brokenly use a signed size_t, and refuse to
  1475. build there. Found and analyzed by doorss and rransom.
  1476. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
  1477. Resolves bug 2314.
  1478. o Minor bugfixes, new in 0.2.2.21-alpha:
  1479. - Handle SOCKS messages longer than 128 bytes long correctly, rather
  1480. than waiting forever for them to finish. Fixes bug 2330; bugfix
  1481. on 0.2.0.16-alpha. Found by doorss.
  1482. - Add assertions to check for overflow in arguments to
  1483. base32_encode() and base32_decode(); fix a signed-unsigned
  1484. comparison there too. These bugs are not actually reachable in Tor,
  1485. but it's good to prevent future errors too. Found by doorss.
  1486. - Correctly detect failures to create DNS requests when using Libevent
  1487. versions before v2. (Before Libevent 2, we used our own evdns
  1488. implementation. Its return values for Libevent's evdns_resolve_*()
  1489. functions are not consistent with those from Libevent.) Fixes bug
  1490. 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
  1491. o Documentation, new in 0.2.2.21-alpha:
  1492. - Document the default socks host and port (127.0.0.1:9050) for
  1493. tor-resolve.
  1494. Changes in version 0.2.1.29 - 2011-01-15
  1495. Tor 0.2.1.29 continues our recent code security audit work. The main
  1496. fix resolves a remote heap overflow vulnerability that can allow remote
  1497. code execution. Other fixes address a variety of assert and crash bugs,
  1498. most of which we think are hard to exploit remotely.
  1499. o Major bugfixes (security):
  1500. - Fix a heap overflow bug where an adversary could cause heap
  1501. corruption. This bug probably allows remote code execution
  1502. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  1503. 0.1.2.10-rc.
  1504. - Prevent a denial-of-service attack by disallowing any
  1505. zlib-compressed data whose compression factor is implausibly
  1506. high. Fixes part of bug 2324; reported by "doorss".
  1507. - Zero out a few more keys in memory before freeing them. Fixes
  1508. bug 2384 and part of bug 2385. These key instances found by
  1509. "cypherpunks", based on Andrew Case's report about being able
  1510. to find sensitive data in Tor's memory space if you have enough
  1511. permissions. Bugfix on 0.0.2pre9.
  1512. o Major bugfixes (crashes):
  1513. - Prevent calls to Libevent from inside Libevent log handlers.
  1514. This had potential to cause a nasty set of crashes, especially
  1515. if running Libevent with debug logging enabled, and running
  1516. Tor with a controller watching for low-severity log messages.
  1517. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  1518. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  1519. underflow errors there too. Fixes the other part of bug 2324.
  1520. - Fix a bug where we would assert if we ever had a
  1521. cached-descriptors.new file (or another file read directly into
  1522. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  1523. on 0.2.1.25. Found by doorss.
  1524. - Fix some potential asserts and parsing issues with grossly
  1525. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  1526. Found by doorss.
  1527. o Minor bugfixes (other):
  1528. - Fix a bug with handling misformed replies to reverse DNS lookup
  1529. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  1530. bug reported by doorss.
  1531. - Fix compilation on mingw when a pthreads compatibility library
  1532. has been installed. (We don't want to use it, so we shouldn't
  1533. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  1534. - Fix a bug where we would declare that we had run out of virtual
  1535. addresses when the address space was only half-exhausted. Bugfix
  1536. on 0.1.2.1-alpha.
  1537. - Correctly handle the case where AutomapHostsOnResolve is set but
  1538. no virtual addresses are available. Fixes bug 2328; bugfix on
  1539. 0.1.2.1-alpha. Bug found by doorss.
  1540. - Correctly handle wrapping around to when we run out of virtual
  1541. address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
  1542. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  1543. because we built it with a too-old version of automake. Thus that
  1544. release broke ./configure --enable-openbsd-malloc, which is popular
  1545. among really fast exit relays on Linux.
  1546. o Minor features:
  1547. - Update to the January 1 2011 Maxmind GeoLite Country database.
  1548. - Introduce output size checks on all of our decryption functions.
  1549. o Build changes:
  1550. - Tor does not build packages correctly with Automake 1.6 and earlier;
  1551. added a check to Makefile.am to make sure that we're building with
  1552. Automake 1.7 or later.
  1553. Changes in version 0.2.2.20-alpha - 2010-12-17
  1554. Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
  1555. exploitable bugs. We also fix a variety of other significant bugs,
  1556. change the IP address for one of our directory authorities, and update
  1557. the minimum version that Tor relays must run to join the network.
  1558. o Major bugfixes:
  1559. - Fix a remotely exploitable bug that could be used to crash instances
  1560. of Tor remotely by overflowing on the heap. Remote-code execution
  1561. hasn't been confirmed, but can't be ruled out. Everyone should
  1562. upgrade. Bugfix on the 0.1.1 series and later.
  1563. - Fix a bug that could break accounting on 64-bit systems with large
  1564. time_t values, making them hibernate for impossibly long intervals.
  1565. Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
  1566. - Fix a logic error in directory_fetches_from_authorities() that
  1567. would cause all _non_-exits refusing single-hop-like circuits
  1568. to fetch from authorities, when we wanted to have _exits_ fetch
  1569. from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
  1570. fix by boboper.
  1571. - Fix a stream fairness bug that would cause newer streams on a given
  1572. circuit to get preference when reading bytes from the origin or
  1573. destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
  1574. introduced before the first Tor release, in svn revision r152.
  1575. o Directory authority changes:
  1576. - Change IP address and ports for gabelmoo (v3 directory authority).
  1577. o Minor bugfixes:
  1578. - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
  1579. Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
  1580. - Fix an off-by-one error in calculating some controller command
  1581. argument lengths. Fortunately, this mistake is harmless since
  1582. the controller code does redundant NUL termination too. Found by
  1583. boboper. Bugfix on 0.1.1.1-alpha.
  1584. - Do not dereference NULL if a bridge fails to build its
  1585. extra-info descriptor. Found by an anonymous commenter on
  1586. Trac. Bugfix on 0.2.2.19-alpha.
  1587. o Minor features:
  1588. - Update to the December 1 2010 Maxmind GeoLite Country database.
  1589. - Directory authorities now reject relays running any versions of
  1590. Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
  1591. known bugs that keep RELAY_EARLY cells from working on rendezvous
  1592. circuits. Followup to fix for bug 2081.
  1593. - Directory authorities now reject relays running any version of Tor
  1594. older than 0.2.0.26-rc. That version is the earliest that fetches
  1595. current directory information correctly. Fixes bug 2156.
  1596. - Report only the top 10 ports in exit-port stats in order not to
  1597. exceed the maximum extra-info descriptor length of 50 KB. Implements
  1598. task 2196.
  1599. Changes in version 0.2.1.28 - 2010-12-17
  1600. Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
  1601. exploitable bugs. We also took this opportunity to change the IP address
  1602. for one of our directory authorities, and to update the geoip database
  1603. we ship.
  1604. o Major bugfixes:
  1605. - Fix a remotely exploitable bug that could be used to crash instances
  1606. of Tor remotely by overflowing on the heap. Remote-code execution
  1607. hasn't been confirmed, but can't be ruled out. Everyone should
  1608. upgrade. Bugfix on the 0.1.1 series and later.
  1609. o Directory authority changes:
  1610. - Change IP address and ports for gabelmoo (v3 directory authority).
  1611. o Minor features:
  1612. - Update to the December 1 2010 Maxmind GeoLite Country database.
  1613. Changes in version 0.2.1.27 - 2010-11-23
  1614. Yet another OpenSSL security patch broke its compatibility with Tor:
  1615. Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
  1616. also took this opportunity to fix several crash bugs, integrate a new
  1617. directory authority, and update the bundled GeoIP database.
  1618. o Major bugfixes:
  1619. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  1620. No longer set the tlsext_host_name extension on server SSL objects;
  1621. but continue to set it on client SSL objects. Our goal in setting
  1622. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  1623. bugfix on 0.2.1.1-alpha.
  1624. - Do not log messages to the controller while shrinking buffer
  1625. freelists. Doing so would sometimes make the controller connection
  1626. try to allocate a buffer chunk, which would mess up the internals
  1627. of the freelist and cause an assertion failure. Fixes bug 1125;
  1628. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  1629. - Learn our external IP address when we're a relay or bridge, even if
  1630. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  1631. where we introduced bridge relays that don't need to publish to
  1632. be useful. Fixes bug 2050.
  1633. - Do even more to reject (and not just ignore) annotations on
  1634. router descriptors received anywhere but from the cache. Previously
  1635. we would ignore such annotations at first, but cache them to disk
  1636. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  1637. - When you're using bridges and your network goes away and your
  1638. bridges get marked as down, recover when you attempt a new socks
  1639. connection (if the network is back), rather than waiting up to an
  1640. hour to try fetching new descriptors for your bridges. Bugfix on
  1641. 0.2.0.3-alpha; fixes bug 1981.
  1642. o Major features:
  1643. - Move to the November 2010 Maxmind GeoLite country db (rather
  1644. than the June 2009 ip-to-country GeoIP db) for our statistics that
  1645. count how many users relays are seeing from each country. Now we'll
  1646. have more accurate data, especially for many African countries.
  1647. o New directory authorities:
  1648. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  1649. authority.
  1650. o Minor bugfixes:
  1651. - Fix an assertion failure that could occur in directory caches or
  1652. bridge users when using a very short voting interval on a testing
  1653. network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
  1654. 0.2.0.8-alpha.
  1655. - Enforce multiplicity rules when parsing annotations. Bugfix on
  1656. 0.2.0.8-alpha. Found by piebeer.
  1657. - Allow handshaking OR connections to take a full KeepalivePeriod
  1658. seconds to handshake. Previously, we would close them after
  1659. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  1660. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  1661. for analysis help.
  1662. - When building with --enable-gcc-warnings on OpenBSD, disable
  1663. warnings in system headers. This makes --enable-gcc-warnings
  1664. pass on OpenBSD 4.8.
  1665. o Minor features:
  1666. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  1667. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  1668. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  1669. Servers can start sending this code when enough clients recognize
  1670. it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
  1671. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  1672. Patch from mingw-san.
  1673. o Removed files:
  1674. - Remove the old debian/ directory from the main Tor distribution.
  1675. The official Tor-for-debian git repository lives at the URL
  1676. https://git.torproject.org/debian/tor.git
  1677. - Stop shipping the old doc/website/ directory in the tarball. We
  1678. changed the website format in late 2010, and what we shipped in
  1679. 0.2.1.26 really wasn't that useful anyway.
  1680. Changes in version 0.2.2.19-alpha - 2010-11-22
  1681. Yet another OpenSSL security patch broke its compatibility with Tor:
  1682. Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
  1683. o Major bugfixes:
  1684. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  1685. No longer set the tlsext_host_name extension on server SSL objects;
  1686. but continue to set it on client SSL objects. Our goal in setting
  1687. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  1688. bugfix on 0.2.1.1-alpha.
  1689. o Minor bugfixes:
  1690. - Try harder not to exceed the maximum length of 50 KB when writing
  1691. statistics to extra-info descriptors. This bug was triggered by very
  1692. fast relays reporting exit-port, entry, and dirreq statistics.
  1693. Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
  1694. - Publish a router descriptor even if generating an extra-info
  1695. descriptor fails. Previously we would not publish a router
  1696. descriptor without an extra-info descriptor; this can cause fast
  1697. exit relays collecting exit-port statistics to drop from the
  1698. consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
  1699. Changes in version 0.2.2.18-alpha - 2010-11-16
  1700. Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
  1701. us lately, makes unpublished bridge relays able to detect their IP
  1702. address, and fixes a wide variety of other bugs to get us much closer
  1703. to a stable release.
  1704. o Major bugfixes:
  1705. - Do even more to reject (and not just ignore) annotations on
  1706. router descriptors received anywhere but from the cache. Previously
  1707. we would ignore such annotations at first, but cache them to disk
  1708. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  1709. - Do not log messages to the controller while shrinking buffer
  1710. freelists. Doing so would sometimes make the controller connection
  1711. try to allocate a buffer chunk, which would mess up the internals
  1712. of the freelist and cause an assertion failure. Fixes bug 1125;
  1713. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  1714. - Learn our external IP address when we're a relay or bridge, even if
  1715. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  1716. where we introduced bridge relays that don't need to publish to
  1717. be useful. Fixes bug 2050.
  1718. - Maintain separate TLS contexts and certificates for incoming and
  1719. outgoing connections in bridge relays. Previously we would use the
  1720. same TLS contexts and certs for incoming and outgoing connections.
  1721. Bugfix on 0.2.0.3-alpha; addresses bug 988.
  1722. - Maintain separate identity keys for incoming and outgoing TLS
  1723. contexts in bridge relays. Previously we would use the same
  1724. identity keys for incoming and outgoing TLS contexts. Bugfix on
  1725. 0.2.0.3-alpha; addresses the other half of bug 988.
  1726. - Avoid an assertion failure when we as an authority receive a
  1727. duplicate upload of a router descriptor that we already have,
  1728. but which we previously considered an obsolete descriptor.
  1729. Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
  1730. - Avoid a crash bug triggered by looking at a dangling pointer while
  1731. setting the network status consensus. Found by Robert Ransom.
  1732. Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
  1733. - Fix a logic error where servers that _didn't_ act as exits would
  1734. try to keep their server lists more aggressively up to date than
  1735. exits, when it was supposed to be the other way around. Bugfix
  1736. on 0.2.2.17-alpha.
  1737. o Minor bugfixes (on Tor 0.2.1.x and earlier):
  1738. - When we're trying to guess whether we know our IP address as
  1739. a relay, we would log various ways that we failed to guess
  1740. our address, but never log that we ended up guessing it
  1741. successfully. Now add a log line to help confused and anxious
  1742. relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
  1743. - Bring the logic that gathers routerinfos and assesses the
  1744. acceptability of circuits into line. This prevents a Tor OP from
  1745. getting locked in a cycle of choosing its local OR as an exit for a
  1746. path (due to a .exit request) and then rejecting the circuit because
  1747. its OR is not listed yet. It also prevents Tor clients from using an
  1748. OR running in the same instance as an exit (due to a .exit request)
  1749. if the OR does not meet the same requirements expected of an OR
  1750. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  1751. - Correctly describe errors that occur when generating a TLS object.
  1752. Previously we would attribute them to a failure while generating a
  1753. TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
  1754. bug 1994.
  1755. - Enforce multiplicity rules when parsing annotations. Bugfix on
  1756. 0.2.0.8-alpha. Found by piebeer.
  1757. - Fix warnings that newer versions of autoconf produced during
  1758. ./autogen.sh. These warnings appear to be harmless in our case,
  1759. but they were extremely verbose. Fixes bug 2020.
  1760. o Minor bugfixes (on Tor 0.2.2.x):
  1761. - Enable protection of small arrays whenever we build with gcc
  1762. hardening features, not only when also building with warnings
  1763. enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
  1764. o Minor features:
  1765. - Make hidden services work better in private Tor networks by not
  1766. requiring any uptime to join the hidden service descriptor
  1767. DHT. Implements ticket 2088.
  1768. - Rate-limit the "your application is giving Tor only an IP address"
  1769. warning. Addresses bug 2000; bugfix on 0.0.8pre2.
  1770. - When AllowSingleHopExits is set, print a warning to explain to the
  1771. relay operator why most clients are avoiding her relay.
  1772. - Update to the November 1 2010 Maxmind GeoLite Country database.
  1773. o Code simplifications and refactoring:
  1774. - When we fixed bug 1038 we had to put in a restriction not to send
  1775. RELAY_EARLY cells on rend circuits. This was necessary as long
  1776. as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
  1777. active. Now remove this obsolete check. Resolves bug 2081.
  1778. - Some options used different conventions for uppercasing of acronyms
  1779. when comparing manpage and source. Fix those in favor of the
  1780. manpage, as it makes sense to capitalize acronyms.
  1781. - Remove the torrc.complete file. It hasn't been kept up to date
  1782. and users will have better luck checking out the manpage.
  1783. - Remove the obsolete "NoPublish" option; it has been flagged
  1784. as obsolete and has produced a warning since 0.1.1.18-rc.
  1785. - Remove everything related to building the expert bundle for OS X.
  1786. It has confused many users, doesn't work right on OS X 10.6,
  1787. and is hard to get rid of once installed. Resolves bug 1274.
  1788. Changes in version 0.2.2.17-alpha - 2010-09-30
  1789. Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
  1790. to use one-hop circuits (which can put the exit relays at higher risk,
  1791. plus unbalance the network); fixes a big bug in bandwidth accounting
  1792. for relays that want to limit their monthly bandwidth use; fixes a
  1793. big pile of bugs in how clients tolerate temporary network failure;
  1794. and makes our adaptive circuit build timeout feature (which improves
  1795. client performance if your network is fast while not breaking things
  1796. if your network is slow) better handle bad networks.
  1797. o Major features:
  1798. - Exit relays now try harder to block exit attempts from unknown
  1799. relays, to make it harder for people to use them as one-hop proxies
  1800. a la tortunnel. Controlled by the refuseunknownexits consensus
  1801. parameter (currently enabled), or you can override it on your
  1802. relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
  1803. o Major bugfixes (0.2.1.x and earlier):
  1804. - Fix a bug in bandwidth accounting that could make us use twice
  1805. the intended bandwidth when our interval start changes due to
  1806. daylight saving time. Now we tolerate skew in stored vs computed
  1807. interval starts: if the start of the period changes by no more than
  1808. 50% of the period's duration, we remember bytes that we transferred
  1809. in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
  1810. - Always search the Windows system directory for system DLLs, and
  1811. nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
  1812. - When you're using bridges and your network goes away and your
  1813. bridges get marked as down, recover when you attempt a new socks
  1814. connection (if the network is back), rather than waiting up to an
  1815. hour to try fetching new descriptors for your bridges. Bugfix on
  1816. 0.2.0.3-alpha; fixes bug 1981.
  1817. o Major bugfixes (on 0.2.2.x):
  1818. - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
  1819. bug 1797.
  1820. - Fix a segfault that could happen when operating a bridge relay with
  1821. no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
  1822. - The consensus bandwidth-weights (used by clients to choose fast
  1823. relays) entered an unexpected edge case in September where
  1824. Exits were much scarcer than Guards, resulting in bad weight
  1825. recommendations. Now we compute them using new constraints that
  1826. should succeed in all cases. Also alter directory authorities to
  1827. not include the bandwidth-weights line if they fail to produce
  1828. valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
  1829. - When weighting bridges during path selection, we used to trust
  1830. the bandwidths they provided in their descriptor, only capping them
  1831. at 10MB/s. This turned out to be problematic for two reasons:
  1832. Bridges could claim to handle a lot more traffic then they
  1833. actually would, thus making more clients pick them and have a
  1834. pretty effective DoS attack. The other issue is that new bridges
  1835. that might not have a good estimate for their bw capacity yet
  1836. would not get used at all unless no other bridges are available
  1837. to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
  1838. o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
  1839. - Ignore cannibalized circuits when recording circuit build times.
  1840. This should provide for a minor performance improvement for hidden
  1841. service users using 0.2.2.14-alpha, and should remove two spurious
  1842. notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
  1843. - Simplify the logic that causes us to decide if the network is
  1844. unavailable for purposes of recording circuit build times. If we
  1845. receive no cells whatsoever for the entire duration of a circuit's
  1846. full measured lifetime, the network is probably down. Also ignore
  1847. one-hop directory fetching circuit timeouts when calculating our
  1848. circuit build times. These changes should hopefully reduce the
  1849. cases where we see ridiculous circuit build timeouts for people
  1850. with spotty wireless connections. Fixes part of bug 1772; bugfix
  1851. on 0.2.2.2-alpha.
  1852. - Prevent the circuit build timeout from becoming larger than
  1853. the maximum build time we have ever seen. Also, prevent the time
  1854. period for measurement circuits from becoming larger than twice that
  1855. value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
  1856. o Minor features:
  1857. - When we run out of directory information such that we can't build
  1858. circuits, but then get enough that we can build circuits, log when
  1859. we actually construct a circuit, so the user has a better chance of
  1860. knowing what's going on. Fixes bug 1362.
  1861. - Be more generous with how much bandwidth we'd use up (with
  1862. accounting enabled) before entering "soft hibernation". Previously,
  1863. we'd refuse new connections and circuits once we'd used up 95% of
  1864. our allotment. Now, we use up 95% of our allotment, AND make sure
  1865. that we have no more than 500MB (or 3 hours of expected traffic,
  1866. whichever is lower) remaining before we enter soft hibernation.
  1867. - If we've configured EntryNodes and our network goes away and/or all
  1868. our entrynodes get marked down, optimistically retry them all when
  1869. a new socks application request appears. Fixes bug 1882.
  1870. - Add some more defensive programming for architectures that can't
  1871. handle unaligned integer accesses. We don't know of any actual bugs
  1872. right now, but that's the best time to fix them. Fixes bug 1943.
  1873. - Support line continuations in the torrc config file. If a line
  1874. ends with a single backslash character, the newline is ignored, and
  1875. the configuration value is treated as continuing on the next line.
  1876. Resolves bug 1929.
  1877. o Minor bugfixes (on 0.2.1.x and earlier):
  1878. - For bandwidth accounting, calculate our expected bandwidth rate
  1879. based on the time during which we were active and not in
  1880. soft-hibernation during the last interval. Previously, we were
  1881. also considering the time spent in soft-hibernation. If this
  1882. was a long time, we would wind up underestimating our bandwidth
  1883. by a lot, and skewing our wakeup time towards the start of the
  1884. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
  1885. o Minor bugfixes (on 0.2.2.x):
  1886. - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
  1887. which were disabled by the circuit build timeout changes in
  1888. 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
  1889. - Make sure we don't warn about missing bandwidth weights when
  1890. choosing bridges or other relays not in the consensus. Bugfix on
  1891. 0.2.2.10-alpha; fixes bug 1805.
  1892. - In our logs, do not double-report signatures from unrecognized
  1893. authorities both as "from unknown authority" and "not
  1894. present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
  1895. Changes in version 0.2.2.16-alpha - 2010-09-17
  1896. Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
  1897. evident at exit relays), and also continues to resolve all the little
  1898. bugs that have been filling up trac lately.
  1899. o Major bugfixes (stream-level fairness):
  1900. - When receiving a circuit-level SENDME for a blocked circuit, try
  1901. to package cells fairly from all the streams that had previously
  1902. been blocked on that circuit. Previously, we had started with the
  1903. oldest stream, and allowed each stream to potentially exhaust
  1904. the circuit's package window. This gave older streams on any
  1905. given circuit priority over newer ones. Fixes bug 1937. Detected
  1906. originally by Camilo Viecco. This bug was introduced before the
  1907. first Tor release, in svn commit r152: it is the new winner of
  1908. the longest-lived bug prize.
  1909. - When the exit relay got a circuit-level sendme cell, it started
  1910. reading on the exit streams, even if had 500 cells queued in the
  1911. circuit queue already, so the circuit queue just grew and grew in
  1912. some cases. We fix this by not re-enabling reading on receipt of a
  1913. sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
  1914. on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
  1915. "yetonetime".
  1916. - Newly created streams were allowed to read cells onto circuits,
  1917. even if the circuit's cell queue was blocked and waiting to drain.
  1918. This created potential unfairness, as older streams would be
  1919. blocked, but newer streams would gladly fill the queue completely.
  1920. We add code to detect this situation and prevent any stream from
  1921. getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
  1922. fixes bug 1298.
  1923. o Minor features:
  1924. - Update to the September 1 2010 Maxmind GeoLite Country database.
  1925. - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
  1926. not. This would lead to a cookie that is still not group readable.
  1927. Closes bug 1843. Suggested by katmagic.
  1928. - When logging a rate-limited warning, we now mention how many messages
  1929. got suppressed since the last warning.
  1930. - Add new "perconnbwrate" and "perconnbwburst" consensus params to
  1931. do individual connection-level rate limiting of clients. The torrc
  1932. config options with the same names trump the consensus params, if
  1933. both are present. Replaces the old "bwconnrate" and "bwconnburst"
  1934. consensus params which were broken from 0.2.2.7-alpha through
  1935. 0.2.2.14-alpha. Closes bug 1947.
  1936. - When a router changes IP address or port, authorities now launch
  1937. a new reachability test for it. Implements ticket 1899.
  1938. - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
  1939. 2 no signature, 4 required" messages about consensus signatures
  1940. easier to read, and make sure they get logged at the same severity
  1941. as the messages explaining which keys are which. Fixes bug 1290.
  1942. - Don't warn when we have a consensus that we can't verify because
  1943. of missing certificates, unless those certificates are ones
  1944. that we have been trying and failing to download. Fixes bug 1145.
  1945. - If you configure your bridge with a known identity fingerprint,
  1946. and the bridge authority is unreachable (as it is in at least
  1947. one country now), fall back to directly requesting the descriptor
  1948. from the bridge. Finishes the feature started in 0.2.0.10-alpha;
  1949. closes bug 1138.
  1950. - When building with --enable-gcc-warnings on OpenBSD, disable
  1951. warnings in system headers. This makes --enable-gcc-warnings
  1952. pass on OpenBSD 4.8.
  1953. o Minor bugfixes (on 0.2.1.x and earlier):
  1954. - Authorities will now attempt to download consensuses if their
  1955. own efforts to make a live consensus have failed. This change
  1956. means authorities that restart will fetch a valid consensus, and
  1957. it means authorities that didn't agree with the current consensus
  1958. will still fetch and serve it if it has enough signatures. Bugfix
  1959. on 0.2.0.9-alpha; fixes bug 1300.
  1960. - Ensure DNS requests launched by "RESOLVE" commands from the
  1961. controller respect the __LeaveStreamsUnattached setconf options. The
  1962. same goes for requests launched via DNSPort or transparent
  1963. proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
  1964. - Allow handshaking OR connections to take a full KeepalivePeriod
  1965. seconds to handshake. Previously, we would close them after
  1966. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  1967. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  1968. for analysis help.
  1969. - Rate-limit "Failed to hand off onionskin" warnings.
  1970. - Never relay a cell for a circuit we have already destroyed.
  1971. Between marking a circuit as closeable and finally closing it,
  1972. it may have been possible for a few queued cells to get relayed,
  1973. even though they would have been immediately dropped by the next
  1974. OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
  1975. - Never queue a cell for a circuit that's already been marked
  1976. for close.
  1977. - Never vote for a server as "Running" if we have a descriptor for
  1978. it claiming to be hibernating, and that descriptor was published
  1979. more recently than our last contact with the server. Bugfix on
  1980. 0.2.0.3-alpha; fixes bug 911.
  1981. - Squash a compile warning on OpenBSD. Reported by Tas; fixes
  1982. bug 1848.
  1983. o Minor bugfixes (on 0.2.2.x):
  1984. - Fix a regression introduced in 0.2.2.7-alpha that marked relays
  1985. down if a directory fetch fails and you've configured either
  1986. bridges or EntryNodes. The intent was to mark the relay as down
  1987. _unless_ you're using bridges or EntryNodes, since if you are
  1988. then you could quickly run out of entry points.
  1989. - Fix the Windows directory-listing code. A bug introduced in
  1990. 0.2.2.14-alpha could make Windows directory servers forget to load
  1991. some of their cached v2 networkstatus files.
  1992. - Really allow clients to use relays as bridges. Fixes bug 1776;
  1993. bugfix on 0.2.2.15-alpha.
  1994. - Demote a warn to info that happens when the CellStatistics option
  1995. was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
  1996. Reported by Moritz Bartl.
  1997. - On Windows, build correctly either with or without Unicode support.
  1998. This is necessary so that Tor can support fringe platforms like
  1999. Windows 98 (which has no Unicode), or Windows CE (which has no
  2000. non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
  2001. o Testing
  2002. - Add a unit test for cross-platform directory-listing code.
  2003. Changes in version 0.2.2.15-alpha - 2010-08-18
  2004. Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
  2005. fixes a variety of other bugs that were preventing performance
  2006. experiments from moving forward, fixes several bothersome memory leaks,
  2007. and generally closes a lot of smaller bugs that have been filling up
  2008. trac lately.
  2009. o Major bugfixes:
  2010. - Stop assigning the HSDir flag to relays that disable their
  2011. DirPort (and thus will refuse to answer directory requests). This
  2012. fix should dramatically improve the reachability of hidden services:
  2013. hidden services and hidden service clients pick six HSDir relays
  2014. to store and retrieve the hidden service descriptor, and currently
  2015. about half of the HSDir relays will refuse to work. Bugfix on
  2016. 0.2.0.10-alpha; fixes part of bug 1693.
  2017. - The PerConnBWRate and Burst config options, along with the
  2018. bwconnrate and bwconnburst consensus params, initialized each conn's
  2019. token bucket values only when the connection is established. Now we
  2020. update them if the config options change, and update them every time
  2021. we get a new consensus. Otherwise we can encounter an ugly edge
  2022. case where we initialize an OR conn to client-level bandwidth,
  2023. but then later the relay joins the consensus and we leave it
  2024. throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
  2025. - Fix a regression that caused Tor to rebind its ports if it receives
  2026. SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
  2027. o Major features:
  2028. - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
  2029. should give us approximately 40-50% more Guard-flagged nodes,
  2030. improving the anonymity the Tor network can provide and also
  2031. decreasing the dropoff in throughput that relays experience when
  2032. they first get the Guard flag.
  2033. - Allow enabling or disabling the *Statistics config options while
  2034. Tor is running.
  2035. o Minor features:
  2036. - Update to the August 1 2010 Maxmind GeoLite Country database.
  2037. - Have the controller interface give a more useful message than
  2038. "Internal Error" in response to failed GETINFO requests.
  2039. - Warn when the same option is provided more than once in a torrc
  2040. file, on the command line, or in a single SETCONF statement, and
  2041. the option is one that only accepts a single line. Closes bug 1384.
  2042. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  2043. Patch from mingw-san.
  2044. - Add support for the country code "{??}" in torrc options like
  2045. ExcludeNodes, to indicate all routers of unknown country. Closes
  2046. bug 1094.
  2047. - Relays report the number of bytes spent on answering directory
  2048. requests in extra-info descriptors similar to {read,write}-history.
  2049. Implements enhancement 1790.
  2050. o Minor bugfixes (on 0.2.1.x and earlier):
  2051. - Complain if PublishServerDescriptor is given multiple arguments that
  2052. include 0 or 1. This configuration will be rejected in the future.
  2053. Bugfix on 0.2.0.1-alpha; closes bug 1107.
  2054. - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
  2055. Bugfix on 0.2.0.13-alpha; closes bug 928.
  2056. - Change "Application request when we're believed to be offline."
  2057. notice to "Application request when we haven't used client
  2058. functionality lately.", to clarify that it's not an error. Bugfix
  2059. on 0.0.9.3; fixes bug 1222.
  2060. - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
  2061. would return "551 Internal error" rather than "552 Unrecognized key
  2062. ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
  2063. - Users can't configure a regular relay to be their bridge. It didn't
  2064. work because when Tor fetched the bridge descriptor, it found
  2065. that it already had it, and didn't realize that the purpose of the
  2066. descriptor had changed. Now we replace routers with a purpose other
  2067. than bridge with bridge descriptors when fetching them. Bugfix on
  2068. 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
  2069. refetch the descriptor with router purpose 'general', disabling
  2070. it as a bridge.
  2071. - Fix a rare bug in rend_fn unit tests: we would fail a test when
  2072. a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
  2073. on 0.2.0.10-alpha; fixes bug 1808.
  2074. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  2075. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  2076. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  2077. Servers can start sending this code when enough clients recognize
  2078. it. Also update the spec to reflect this new reason. Bugfix on
  2079. 0.1.0.1-rc; fixes part of bug 1793.
  2080. - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
  2081. when we switch from being a public relay to a bridge. Otherwise
  2082. there will still be clients that see the relay in their consensus,
  2083. and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
  2084. 932 even more.
  2085. - Instead of giving an assertion failure on an internal mismatch
  2086. on estimated freelist size, just log a BUG warning and try later.
  2087. Mitigates but does not fix bug 1125.
  2088. - Fix an assertion failure that could occur in caches or bridge users
  2089. when using a very short voting interval on a testing network.
  2090. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
  2091. o Minor bugfixes (on 0.2.2.x):
  2092. - Alter directory authorities to always consider Exit-flagged nodes
  2093. as potential Guard nodes in their votes. The actual decision to
  2094. use Exits as Guards is done in the consensus bandwidth weights.
  2095. Fixes bug 1294; bugfix on 0.2.2.10-alpha.
  2096. - When the controller is reporting the purpose of circuits that
  2097. didn't finish building before the circuit build timeout, it was
  2098. printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
  2099. - Our libevent version parsing code couldn't handle versions like
  2100. 1.4.14b-stable and incorrectly warned the user about using an
  2101. old and broken version of libevent. Treat 1.4.14b-stable like
  2102. 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
  2103. on 0.2.2.1-alpha.
  2104. - Don't use substitution references like $(VAR:MOD) when
  2105. $(asciidoc_files) is empty -- make(1) on NetBSD transforms
  2106. '$(:x)' to 'x' rather than the empty string. This bites us in
  2107. doc/ when configured with --disable-asciidoc. Bugfix on
  2108. 0.2.2.9-alpha; fixes bug 1773.
  2109. - Remove a spurious hidden service server-side log notice about
  2110. "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
  2111. bug 1741.
  2112. - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
  2113. fixes bug 1832.
  2114. - Correctly report written bytes on linked connections. Found while
  2115. implementing 1790. Bugfix on 0.2.2.4-alpha.
  2116. - Fix three memory leaks: one in circuit_build_times_parse_state(),
  2117. one in dirvote_add_signatures_to_pending_consensus(), and one every
  2118. time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
  2119. 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
  2120. o Code simplifications and refactoring:
  2121. - Take a first step towards making or.h smaller by splitting out
  2122. function definitions for all source files in src/or/. Leave
  2123. structures and defines in or.h for now.
  2124. - Remove a bunch of unused function declarations as well as a block of
  2125. #if 0'd code from the unit tests. Closes bug 1824.
  2126. - New unit tests for exit-port history statistics; refactored exit
  2127. statistics code to be more easily tested.
  2128. - Remove the old debian/ directory from the main Tor distribution.
  2129. The official Tor-for-debian git repository lives at the URL
  2130. https://git.torproject.org/debian/tor.git
  2131. Changes in version 0.2.2.14-alpha - 2010-07-12
  2132. Tor 0.2.2.14-alpha greatly improves client-side handling of
  2133. circuit build timeouts, which are used to estimate speed and improve
  2134. performance. We also move to a much better GeoIP database, port Tor to
  2135. Windows CE, introduce new compile flags that improve code security,
  2136. add an eighth v3 directory authority, and address a lot of more
  2137. minor issues.
  2138. o Major bugfixes:
  2139. - Tor directory authorities no longer crash when started with a
  2140. cached-microdesc-consensus file in their data directory. Bugfix
  2141. on 0.2.2.6-alpha; fixes bug 1532.
  2142. - Treat an unset $HOME like an empty $HOME rather than triggering an
  2143. assert. Bugfix on 0.0.8pre1; fixes bug 1522.
  2144. - Ignore negative and large circuit build timeout values that can
  2145. happen during a suspend or hibernate. These values caused various
  2146. asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
  2147. - Alter calculation of Pareto distribution parameter 'Xm' for
  2148. Circuit Build Timeout learning to use the weighted average of the
  2149. top N=3 modes (because we have three entry guards). Considering
  2150. multiple modes should improve the timeout calculation in some cases,
  2151. and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
  2152. fixes bug 1335.
  2153. - Alter calculation of Pareto distribution parameter 'Alpha' to use a
  2154. right censored distribution model. This approach improves over the
  2155. synthetic timeout generation approach that was producing insanely
  2156. high timeout values. Now we calculate build timeouts using truncated
  2157. times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
  2158. - Do not close circuits that are under construction when they reach
  2159. the circuit build timeout. Instead, leave them building (but do not
  2160. use them) for up until the time corresponding to the 95th percentile
  2161. on the Pareto CDF or 60 seconds, whichever is greater. This is done
  2162. to provide better data for the new Pareto model. This percentile
  2163. can be controlled by the consensus.
  2164. o Major features:
  2165. - Move to the June 2010 Maxmind GeoLite country db (rather than the
  2166. June 2009 ip-to-country GeoIP db) for our statistics that count
  2167. how many users relays are seeing from each country. Now we have
  2168. more accurate data for many African countries.
  2169. - Port Tor to build and run correctly on Windows CE systems, using
  2170. the wcecompat library. Contributed by Valerio Lupi.
  2171. - New "--enable-gcc-hardening" ./configure flag (off by default)
  2172. to turn on gcc compile time hardening options. It ensures
  2173. that signed ints have defined behavior (-fwrapv), enables
  2174. -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
  2175. with canaries (-fstack-protector-all), turns on ASLR protection if
  2176. supported by the kernel (-fPIE, -pie), and adds additional security
  2177. related warnings. Verified to work on Mac OS X and Debian Lenny.
  2178. - New "--enable-linker-hardening" ./configure flag (off by default)
  2179. to turn on ELF specific hardening features (relro, now). This does
  2180. not work with Mac OS X or any other non-ELF binary format.
  2181. o New directory authorities:
  2182. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  2183. authority.
  2184. o Minor features:
  2185. - New config option "WarnUnsafeSocks 0" disables the warning that
  2186. occurs whenever Tor receives a socks handshake using a version of
  2187. the socks protocol that can only provide an IP address (rather
  2188. than a hostname). Setups that do DNS locally over Tor are fine,
  2189. and we shouldn't spam the logs in that case.
  2190. - Convert the HACKING file to asciidoc, and add a few new sections
  2191. to it, explaining how we use Git, how we make changelogs, and
  2192. what should go in a patch.
  2193. - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
  2194. event, to give information on the current rate of circuit timeouts
  2195. over our stored history.
  2196. - Add ability to disable circuit build time learning via consensus
  2197. parameter and via a LearnCircuitBuildTimeout config option. Also
  2198. automatically disable circuit build time calculation if we are
  2199. either a AuthoritativeDirectory, or if we fail to write our state
  2200. file. Fixes bug 1296.
  2201. - More gracefully handle corrupt state files, removing asserts
  2202. in favor of saving a backup and resetting state.
  2203. - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
  2204. system headers.
  2205. o Minor bugfixes:
  2206. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  2207. enabled.
  2208. - When a2x fails, mention that the user could disable manpages instead
  2209. of trying to fix their asciidoc installation.
  2210. - Where available, use Libevent 2.0's periodic timers so that our
  2211. once-per-second cleanup code gets called even more closely to
  2212. once per second than it would otherwise. Fixes bug 943.
  2213. - If you run a bridge that listens on multiple IP addresses, and
  2214. some user configures a bridge address that uses a different IP
  2215. address than your bridge writes in its router descriptor, and the
  2216. user doesn't specify an identity key, their Tor would discard the
  2217. descriptor because "it isn't one of our configured bridges", and
  2218. fail to bootstrap. Now believe the descriptor and bootstrap anyway.
  2219. Bugfix on 0.2.0.3-alpha.
  2220. - If OpenSSL fails to make a duplicate of a private or public key, log
  2221. an error message and try to exit cleanly. May help with debugging
  2222. if bug 1209 ever remanifests.
  2223. - Save a couple bytes in memory allocation every time we escape
  2224. certain characters in a string. Patch from Florian Zumbiehl.
  2225. - Make it explicit that we don't cannibalize one-hop circuits. This
  2226. happens in the wild, but doesn't turn out to be a problem because
  2227. we fortunately don't use those circuits. Many thanks to outofwords
  2228. for the initial analysis and to swissknife who confirmed that
  2229. two-hop circuits are actually created.
  2230. - Make directory mirrors report non-zero dirreq-v[23]-shares again.
  2231. Fixes bug 1564; bugfix on 0.2.2.9-alpha.
  2232. - Eliminate a case where a circuit build time warning was displayed
  2233. after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
  2234. Changes in version 0.2.1.26 - 2010-05-02
  2235. Tor 0.2.1.26 addresses the recent connection and memory overload
  2236. problems we've been seeing on relays, especially relays with their
  2237. DirPort open. If your relay has been crashing, or you turned it off
  2238. because it used too many resources, give this release a try.
  2239. This release also fixes yet another instance of broken OpenSSL libraries
  2240. that was causing some relays to drop out of the consensus.
  2241. o Major bugfixes:
  2242. - Teach relays to defend themselves from connection overload. Relays
  2243. now close idle circuits early if it looks like they were intended
  2244. for directory fetches. Relays are also more aggressive about closing
  2245. TLS connections that have no circuits on them. Such circuits are
  2246. unlikely to be re-used, and tens of thousands of them were piling
  2247. up at the fast relays, causing the relays to run out of sockets
  2248. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  2249. their directory fetches over TLS).
  2250. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  2251. that claim to be earlier than 0.9.8m, but which have in reality
  2252. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  2253. behavior. Possible fix for some cases of bug 1346.
  2254. - Directory mirrors were fetching relay descriptors only from v2
  2255. directory authorities, rather than v3 authorities like they should.
  2256. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  2257. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  2258. o Minor bugfixes:
  2259. - Finally get rid of the deprecated and now harmful notion of "clique
  2260. mode", where directory authorities maintain TLS connections to
  2261. every other relay.
  2262. o Testsuite fixes:
  2263. - In the util/threads test, no longer free the test_mutex before all
  2264. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  2265. - The master thread could starve the worker threads quite badly on
  2266. certain systems, causing them to run only partially in the allowed
  2267. window. This resulted in test failures. Now the master thread sleeps
  2268. occasionally for a few microseconds while the two worker-threads
  2269. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  2270. Changes in version 0.2.2.13-alpha - 2010-04-24
  2271. Tor 0.2.2.13-alpha addresses the recent connection and memory overload
  2272. problems we've been seeing on relays, especially relays with their
  2273. DirPort open. If your relay has been crashing, or you turned it off
  2274. because it used too many resources, give this release a try.
  2275. o Major bugfixes:
  2276. - Teach relays to defend themselves from connection overload. Relays
  2277. now close idle circuits early if it looks like they were intended
  2278. for directory fetches. Relays are also more aggressive about closing
  2279. TLS connections that have no circuits on them. Such circuits are
  2280. unlikely to be re-used, and tens of thousands of them were piling
  2281. up at the fast relays, causing the relays to run out of sockets
  2282. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  2283. their directory fetches over TLS).
  2284. o Minor features:
  2285. - Finally get rid of the deprecated and now harmful notion of "clique
  2286. mode", where directory authorities maintain TLS connections to
  2287. every other relay.
  2288. - Directory authorities now do an immediate reachability check as soon
  2289. as they hear about a new relay. This change should slightly reduce
  2290. the time between setting up a relay and getting listed as running
  2291. in the consensus. It should also improve the time between setting
  2292. up a bridge and seeing use by bridge users.
  2293. - Directory authorities no longer launch a TLS connection to every
  2294. relay as they startup. Now that we have 2k+ descriptors cached,
  2295. the resulting network hiccup is becoming a burden. Besides,
  2296. authorities already avoid voting about Running for the first half
  2297. hour of their uptime.
  2298. Changes in version 0.2.2.12-alpha - 2010-04-20
  2299. Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
  2300. handle and vote on descriptors. It was causing relays to drop out of
  2301. the consensus.
  2302. o Major bugfixes:
  2303. - Many relays have been falling out of the consensus lately because
  2304. not enough authorities know about their descriptor for them to get
  2305. a majority of votes. When we deprecated the v2 directory protocol,
  2306. we got rid of the only way that v3 authorities can hear from each
  2307. other about other descriptors. Now authorities examine every v3
  2308. vote for new descriptors, and fetch them from that authority. Bugfix
  2309. on 0.2.1.23.
  2310. - Fix two typos in tor_vasprintf() that broke the compile on Windows,
  2311. and a warning in or.h related to bandwidth_weight_rule_t that
  2312. prevented clean compile on OS X. Fixes bug 1363; bugfix on
  2313. 0.2.2.11-alpha.
  2314. - Fix a segfault on relays when DirReqStatistics is enabled
  2315. and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
  2316. 0.2.2.11-alpha.
  2317. o Minor bugfixes:
  2318. - Demote a confusing TLS warning that relay operators might get when
  2319. someone tries to talk to their OrPort. It is neither the operator's
  2320. fault nor can they do anything about it. Fixes bug 1364; bugfix
  2321. on 0.2.0.14-alpha.
  2322. Changes in version 0.2.2.11-alpha - 2010-04-15
  2323. Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
  2324. libraries that was causing some relays to drop out of the consensus.
  2325. o Major bugfixes:
  2326. - Directory mirrors were fetching relay descriptors only from v2
  2327. directory authorities, rather than v3 authorities like they should.
  2328. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  2329. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  2330. - Fix a parsing error that made every possible value of
  2331. CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
  2332. on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
  2333. CircuitPriorityHalflifeMsec, so authorities can tell newer relays
  2334. about the option without breaking older ones.
  2335. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  2336. that claim to be earlier than 0.9.8m, but which have in reality
  2337. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  2338. behavior. Possible fix for some cases of bug 1346.
  2339. o Minor features:
  2340. - Experiment with a more aggressive approach to preventing clients
  2341. from making one-hop exit streams. Exit relays who want to try it
  2342. out can set "RefuseUnknownExits 1" in their torrc, and then look
  2343. for "Attempt by %s to open a stream" log messages. Let us know
  2344. how it goes!
  2345. - Add support for statically linking zlib by specifying
  2346. --enable-static-zlib, to go with our support for statically linking
  2347. openssl and libevent. Resolves bug 1358.
  2348. o Minor bugfixes:
  2349. - Fix a segfault that happens whenever a Tor client that is using
  2350. libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
  2351. fixes bug 1341.
  2352. - When we cleaned up the contrib/tor-exit-notice.html file, we left
  2353. out the first line. Fixes bug 1295.
  2354. - When building the manpage from a tarball, we required asciidoc, but
  2355. the asciidoc -> roff/html conversion was already done for the
  2356. tarball. Make 'make' complain only when we need asciidoc (either
  2357. because we're compiling directly from git, or because we altered
  2358. the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
  2359. - When none of the directory authorities vote on any params, Tor
  2360. segfaulted when trying to make the consensus from the votes. We
  2361. didn't trigger the bug in practice, because authorities do include
  2362. params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
  2363. o Testsuite fixes:
  2364. - In the util/threads test, no longer free the test_mutex before all
  2365. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  2366. - The master thread could starve the worker threads quite badly on
  2367. certain systems, causing them to run only partially in the allowed
  2368. window. This resulted in test failures. Now the master thread sleeps
  2369. occasionally for a few microseconds while the two worker-threads
  2370. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  2371. Changes in version 0.2.2.10-alpha - 2010-03-07
  2372. Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
  2373. could prevent relays from guessing their IP address correctly. It also
  2374. starts the groundwork for another client-side performance boost, since
  2375. currently we're not making efficient use of relays that have both the
  2376. Guard flag and the Exit flag.
  2377. o Major bugfixes:
  2378. - Fix a regression from our patch for bug 1244 that caused relays
  2379. to guess their IP address incorrectly if they didn't set Address
  2380. in their torrc and/or their address fails to resolve. Bugfix on
  2381. 0.2.2.9-alpha; fixes bug 1269.
  2382. o Major features (performance):
  2383. - Directory authorities now compute consensus weightings that instruct
  2384. clients how to weight relays flagged as Guard, Exit, Guard+Exit,
  2385. and no flag. Clients that use these weightings will distribute
  2386. network load more evenly across these different relay types. The
  2387. weightings are in the consensus so we can change them globally in
  2388. the future. Extra thanks to "outofwords" for finding some nasty
  2389. security bugs in the first implementation of this feature.
  2390. o Minor features (performance):
  2391. - Always perform router selections using weighted relay bandwidth,
  2392. even if we don't need a high capacity circuit at the time. Non-fast
  2393. circuits now only differ from fast ones in that they can use relays
  2394. not marked with the Fast flag. This "feature" could turn out to
  2395. be a horrible bug; we should investigate more before it goes into
  2396. a stable release.
  2397. o Minor features:
  2398. - Allow disabling building of the manpages. Skipping the manpage
  2399. speeds up the build considerably.
  2400. o Minor bugfixes (on 0.2.2.x):
  2401. - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
  2402. Bugfix on 0.2.2.9-alpha.
  2403. - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
  2404. config option. Bugfix on 0.2.2.7-alpha.
  2405. - Ship the asciidoc-helper file in the tarball, so that people can
  2406. build from source if they want to, and touching the .1.txt files
  2407. doesn't break the build. Bugfix on 0.2.2.9-alpha.
  2408. o Minor bugfixes (on 0.2.1.x or earlier):
  2409. - Fix a dereference-then-NULL-check sequence when publishing
  2410. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  2411. bug 1255.
  2412. - Fix another dereference-then-NULL-check sequence. Bugfix on
  2413. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  2414. - Make sure we treat potentially not NUL-terminated strings correctly.
  2415. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  2416. o Code simplifications and refactoring:
  2417. - Fix some urls in the exit notice file and make it XHTML1.1 strict
  2418. compliant. Based on a patch from Christian Kujau.
  2419. - Don't use sed in asciidoc-helper anymore.
  2420. - Make the build process fail if asciidoc cannot be found and
  2421. building with asciidoc isn't disabled.
  2422. Changes in version 0.2.2.9-alpha - 2010-02-22
  2423. Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
  2424. location of a directory authority, and cleans up a bunch of small bugs.
  2425. o Directory authority changes:
  2426. - Change IP address for dannenberg (v3 directory authority), and
  2427. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  2428. service directory authority) from the list.
  2429. o Major bugfixes:
  2430. - Make Tor work again on the latest OS X: when deciding whether to
  2431. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  2432. version at run-time, not compile time. We need to do this because
  2433. Apple doesn't update its dev-tools headers when it updates its
  2434. libraries in a security patch.
  2435. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  2436. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  2437. a memory leak when requesting a hidden service descriptor we've
  2438. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  2439. by aakova.
  2440. - Authorities could be tricked into giving out the Exit flag to relays
  2441. that didn't allow exiting to any ports. This bug could screw
  2442. with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
  2443. 1238. Bug discovered by Martin Kowalczyk.
  2444. - When freeing a session key, zero it out completely. We only zeroed
  2445. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  2446. patched by ekir. Fixes bug 1254.
  2447. o Minor bugfixes:
  2448. - Fix static compilation by listing the openssl libraries in the right
  2449. order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
  2450. - Resume handling .exit hostnames in a special way: originally we
  2451. stripped the .exit part and used the requested exit relay. In
  2452. 0.2.2.1-alpha we stopped treating them in any special way, meaning
  2453. if you use a .exit address then Tor will pass it on to the exit
  2454. relay. Now we reject the .exit stream outright, since that behavior
  2455. might be more expected by the user. Found and diagnosed by Scott
  2456. Bennett and Downie on or-talk.
  2457. - Don't spam the controller with events when we have no file
  2458. descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
  2459. for log messages was already solved from bug 748.)
  2460. - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
  2461. "memcpyfail".
  2462. - Make the DNSPort option work with libevent 2.x. Don't alter the
  2463. behaviour for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
  2464. - Emit a GUARD DROPPED controller event for a case we missed.
  2465. - Make more fields in the controller protocol case-insensitive, since
  2466. control-spec.txt said they were.
  2467. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  2468. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  2469. - Fix a spec conformance issue: the network-status-version token
  2470. must be the first token in a v3 consensus or vote. Discovered by
  2471. parakeep. Bugfix on 0.2.0.3-alpha.
  2472. o Code simplifications and refactoring:
  2473. - Generate our manpage and HTML documentation using Asciidoc. This
  2474. change should make it easier to maintain the documentation, and
  2475. produce nicer HTML.
  2476. - Remove the --enable-iphone option. According to reports from Marco
  2477. Bonetti, Tor builds fine without any special tweaking on recent
  2478. iPhone SDK versions.
  2479. - Removed some unnecessary files from the source distribution. The
  2480. AUTHORS file has now been merged into the people page on the
  2481. website. The roadmaps and design doc can now be found in the
  2482. projects directory in svn.
  2483. - Enabled various circuit build timeout constants to be controlled
  2484. by consensus parameters. Also set better defaults for these
  2485. parameters based on experimentation on broadband and simulated
  2486. high latency links.
  2487. o Minor features:
  2488. - The 'EXTENDCIRCUIT' control port command can now be used with
  2489. a circ id of 0 and no path. This feature will cause Tor to build
  2490. a new 'fast' general purpose circuit using its own path selection
  2491. algorithms.
  2492. - Added a BUILDTIMEOUT_SET controller event to describe changes
  2493. to the circuit build timeout.
  2494. - Future-proof the controller protocol a bit by ignoring keyword
  2495. arguments we do not recognize.
  2496. - Expand homedirs passed to tor-checkkey. This should silence a
  2497. coverity complaint about passing a user-supplied string into
  2498. open() without checking it.
  2499. Changes in version 0.2.1.25 - 2010-03-16
  2500. Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
  2501. prevent relays from guessing their IP address correctly. It also fixes
  2502. several minor potential security bugs.
  2503. o Major bugfixes:
  2504. - Fix a regression from our patch for bug 1244 that caused relays
  2505. to guess their IP address incorrectly if they didn't set Address
  2506. in their torrc and/or their address fails to resolve. Bugfix on
  2507. 0.2.1.23; fixes bug 1269.
  2508. - When freeing a session key, zero it out completely. We only zeroed
  2509. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  2510. patched by ekir. Fixes bug 1254.
  2511. o Minor bugfixes:
  2512. - Fix a dereference-then-NULL-check sequence when publishing
  2513. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  2514. bug 1255.
  2515. - Fix another dereference-then-NULL-check sequence. Bugfix on
  2516. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  2517. - Make sure we treat potentially not NUL-terminated strings correctly.
  2518. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  2519. Changes in version 0.2.1.24 - 2010-02-21
  2520. Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  2521. for sure!
  2522. o Minor bugfixes:
  2523. - Work correctly out-of-the-box with even more vendor-patched versions
  2524. of OpenSSL. In particular, make it so Debian and OS X don't need
  2525. customized patches to run/build.
  2526. Changes in version 0.2.1.23 - 2010-02-13
  2527. Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  2528. again on the latest OS X, and updates the location of a directory
  2529. authority.
  2530. o Major bugfixes (performance):
  2531. - We were selecting our guards uniformly at random, and then weighting
  2532. which of our guards we'd use uniformly at random. This imbalance
  2533. meant that Tor clients were severely limited on throughput (and
  2534. probably latency too) by the first hop in their circuit. Now we
  2535. select guards weighted by currently advertised bandwidth. We also
  2536. automatically discard guards picked using the old algorithm. Fixes
  2537. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  2538. o Major bugfixes:
  2539. - Make Tor work again on the latest OS X: when deciding whether to
  2540. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  2541. version at run-time, not compile time. We need to do this because
  2542. Apple doesn't update its dev-tools headers when it updates its
  2543. libraries in a security patch.
  2544. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  2545. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  2546. a memory leak when requesting a hidden service descriptor we've
  2547. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  2548. by aakova.
  2549. o Directory authority changes:
  2550. - Change IP address for dannenberg (v3 directory authority), and
  2551. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  2552. service directory authority) from the list.
  2553. o Minor bugfixes:
  2554. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  2555. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  2556. o Minor features:
  2557. - Avoid a mad rush at the beginning of each month when each client
  2558. rotates half of its guards. Instead we spread the rotation out
  2559. throughout the month, but we still avoid leaving a precise timestamp
  2560. in the state file about when we first picked the guard. Improves
  2561. over the behavior introduced in 0.1.2.17.
  2562. Changes in version 0.2.2.8-alpha - 2010-01-26
  2563. Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
  2564. causing bridge relays to disappear. If you're running a bridge,
  2565. please upgrade.
  2566. o Major bugfixes:
  2567. - Fix a memory corruption bug on bridges that occured during the
  2568. inclusion of stats data in extra-info descriptors. Also fix the
  2569. interface for geoip_get_bridge_stats* to prevent similar bugs in
  2570. the future. Diagnosis by Tas, patch by Karsten and Sebastian.
  2571. Fixes bug 1208; bugfix on 0.2.2.7-alpha.
  2572. o Minor bugfixes:
  2573. - Ignore OutboundBindAddress when connecting to localhost.
  2574. Connections to localhost need to come _from_ localhost, or else
  2575. local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
  2576. refuse to listen.
  2577. Changes in version 0.2.2.7-alpha - 2010-01-19
  2578. Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
  2579. as laying the groundwork for further relay-side performance fixes. It
  2580. also starts cleaning up client behavior with respect to the EntryNodes,
  2581. ExitNodes, and StrictNodes config options.
  2582. This release also rotates two directory authority keys, due to a
  2583. security breach of some of the Torproject servers.
  2584. o Directory authority changes:
  2585. - Rotate keys (both v3 identity and relay identity) for moria1
  2586. and gabelmoo.
  2587. o Major features (performance):
  2588. - We were selecting our guards uniformly at random, and then weighting
  2589. which of our guards we'd use uniformly at random. This imbalance
  2590. meant that Tor clients were severely limited on throughput (and
  2591. probably latency too) by the first hop in their circuit. Now we
  2592. select guards weighted by currently advertised bandwidth. We also
  2593. automatically discard guards picked using the old algorithm. Fixes
  2594. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  2595. - When choosing which cells to relay first, relays can now favor
  2596. circuits that have been quiet recently, to provide lower latency
  2597. for low-volume circuits. By default, relays enable or disable this
  2598. feature based on a setting in the consensus. You can override
  2599. this default by using the new "CircuitPriorityHalflife" config
  2600. option. Design and code by Ian Goldberg, Can Tang, and Chris
  2601. Alexander.
  2602. - Add separate per-conn write limiting to go with the per-conn read
  2603. limiting. We added a global write limit in Tor 0.1.2.5-alpha,
  2604. but never per-conn write limits.
  2605. - New consensus params "bwconnrate" and "bwconnburst" to let us
  2606. rate-limit client connections as they enter the network. It's
  2607. controlled in the consensus so we can turn it on and off for
  2608. experiments. It's starting out off. Based on proposal 163.
  2609. o Major features (relay selection options):
  2610. - Switch to a StrictNodes config option, rather than the previous
  2611. "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
  2612. "StrictExcludeNodes" option.
  2613. - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
  2614. change during a config reload, mark and discard all our origin
  2615. circuits. This fix should address edge cases where we change the
  2616. config options and but then choose a circuit that we created before
  2617. the change.
  2618. - If EntryNodes or ExitNodes are set, be more willing to use an
  2619. unsuitable (e.g. slow or unstable) circuit. The user asked for it,
  2620. they get it.
  2621. - Make EntryNodes config option much more aggressive even when
  2622. StrictNodes is not set. Before it would prepend your requested
  2623. entrynodes to your list of guard nodes, but feel free to use others
  2624. after that. Now it chooses only from your EntryNodes if any of
  2625. those are available, and only falls back to others if a) they're
  2626. all down and b) StrictNodes is not set.
  2627. - Now we refresh your entry guards from EntryNodes at each consensus
  2628. fetch -- rather than just at startup and then they slowly rot as
  2629. the network changes.
  2630. o Major bugfixes:
  2631. - Stop bridge directory authorities from answering dbg-stability.txt
  2632. directory queries, which would let people fetch a list of all
  2633. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  2634. o Minor features:
  2635. - Log a notice when we get a new control connection. Now it's easier
  2636. for security-conscious users to recognize when a local application
  2637. is knocking on their controller door. Suggested by bug 1196.
  2638. - New config option "CircuitStreamTimeout" to override our internal
  2639. timeout schedule for how many seconds until we detach a stream from
  2640. a circuit and try a new circuit. If your network is particularly
  2641. slow, you might want to set this to a number like 60.
  2642. - New controller command "getinfo config-text". It returns the
  2643. contents that Tor would write if you send it a SAVECONF command,
  2644. so the controller can write the file to disk itself.
  2645. - New options for SafeLogging to allow scrubbing only log messages
  2646. generated while acting as a relay.
  2647. - Ship the bridges spec file in the tarball too.
  2648. - Avoid a mad rush at the beginning of each month when each client
  2649. rotates half of its guards. Instead we spread the rotation out
  2650. throughout the month, but we still avoid leaving a precise timestamp
  2651. in the state file about when we first picked the guard. Improves
  2652. over the behavior introduced in 0.1.2.17.
  2653. o Minor bugfixes (compiling):
  2654. - Fix compilation on OS X 10.3, which has a stub mlockall() but
  2655. hides it. Bugfix on 0.2.2.6-alpha.
  2656. - Fix compilation on Solaris by removing support for the
  2657. DisableAllSwap config option. Solaris doesn't have an rlimit for
  2658. mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
  2659. 0.2.2.6-alpha.
  2660. o Minor bugfixes (crashes):
  2661. - Do not segfault when writing buffer stats when we haven't observed
  2662. a single circuit to report about. Found by Fabian Lanze. Bugfix on
  2663. 0.2.2.1-alpha.
  2664. - If we're in the pathological case where there's no exit bandwidth
  2665. but there is non-exit bandwidth, or no guard bandwidth but there
  2666. is non-guard bandwidth, don't crash during path selection. Bugfix
  2667. on 0.2.0.3-alpha.
  2668. - Fix an impossible-to-actually-trigger buffer overflow in relay
  2669. descriptor generation. Bugfix on 0.1.0.15.
  2670. o Minor bugfixes (privacy):
  2671. - Fix an instance where a Tor directory mirror might accidentally
  2672. log the IP address of a misbehaving Tor client. Bugfix on
  2673. 0.1.0.1-rc.
  2674. - Don't list Windows capabilities in relay descriptors. We never made
  2675. use of them, and maybe it's a bad idea to publish them. Bugfix
  2676. on 0.1.1.8-alpha.
  2677. o Minor bugfixes (other):
  2678. - Resolve an edge case in path weighting that could make us misweight
  2679. our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
  2680. - Fix statistics on client numbers by country as seen by bridges that
  2681. were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
  2682. intervals instead of variable 12-to-48-hour intervals.
  2683. - After we free an internal connection structure, overwrite it
  2684. with a different memory value than we use for overwriting a freed
  2685. internal circuit structure. Should help with debugging. Suggested
  2686. by bug 1055.
  2687. - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
  2688. too.
  2689. o Removed features:
  2690. - Remove the HSAuthorityRecordStats option that version 0 hidden
  2691. service authorities could have used to track statistics of overall
  2692. hidden service usage.
  2693. Changes in version 0.2.1.22 - 2010-01-19
  2694. Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
  2695. authorities -- it would tell you its whole history of bridge descriptors
  2696. if you make the right directory request. This stable update also
  2697. rotates two of the seven v3 directory authority keys and locations.
  2698. o Directory authority changes:
  2699. - Rotate keys (both v3 identity and relay identity) for moria1
  2700. and gabelmoo.
  2701. o Major bugfixes:
  2702. - Stop bridge directory authorities from answering dbg-stability.txt
  2703. directory queries, which would let people fetch a list of all
  2704. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  2705. Changes in version 0.2.1.21 - 2009-12-21
  2706. Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
  2707. library. If you use Tor on Linux / Unix and you're getting SSL
  2708. renegotiation errors, upgrading should help. We also recommend an
  2709. upgrade if you're an exit relay.
  2710. o Major bugfixes:
  2711. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  2712. handshake from working unless we explicitly tell OpenSSL that we
  2713. are using SSL renegotiation safely. We are, of course, but OpenSSL
  2714. 0.9.8l won't work unless we say we are.
  2715. - Avoid crashing if the client is trying to upload many bytes and the
  2716. circuit gets torn down at the same time, or if the flip side
  2717. happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
  2718. o Minor bugfixes:
  2719. - Do not refuse to learn about authority certs and v2 networkstatus
  2720. documents that are older than the latest consensus. This bug might
  2721. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  2722. Spotted and fixed by xmux.
  2723. - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
  2724. trigger platform-specific option misparsing case found by Coverity
  2725. Scan.
  2726. - Fix a compilation warning on Fedora 12 by removing an impossible-to-
  2727. trigger assert. Fixes bug 1173.
  2728. Changes in version 0.2.2.6-alpha - 2009-11-19
  2729. Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
  2730. support for the new lower-footprint "microdescriptor" directory design,
  2731. future-proofing our consensus format against new hash functions or
  2732. other changes, and an Android port. It also makes Tor compatible with
  2733. the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
  2734. o Major features:
  2735. - Directory authorities can now create, vote on, and serve multiple
  2736. parallel formats of directory data as part of their voting process.
  2737. Partially implements Proposal 162: "Publish the consensus in
  2738. multiple flavors".
  2739. - Directory authorities can now agree on and publish small summaries
  2740. of router information that clients can use in place of regular
  2741. server descriptors. This transition will eventually allow clients
  2742. to use far less bandwidth for downloading information about the
  2743. network. Begins the implementation of Proposal 158: "Clients
  2744. download consensus + microdescriptors".
  2745. - The directory voting system is now extensible to use multiple hash
  2746. algorithms for signatures and resource selection. Newer formats
  2747. are signed with SHA256, with a possibility for moving to a better
  2748. hash algorithm in the future.
  2749. - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
  2750. current and future memory pages via mlockall(). On supported
  2751. platforms (modern Linux and probably BSD but not Windows or OS X),
  2752. this should effectively disable any and all attempts to page out
  2753. memory. This option requires that you start your Tor as root --
  2754. if you use DisableAllSwap, please consider using the User option
  2755. to properly reduce the privileges of your Tor.
  2756. - Numerous changes, bugfixes, and workarounds from Nathan Freitas
  2757. to help Tor build correctly for Android phones.
  2758. o Major bugfixes:
  2759. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  2760. handshake from working unless we explicitly tell OpenSSL that we
  2761. are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
  2762. won't work unless we say we are.
  2763. o Minor bugfixes:
  2764. - Fix a crash bug when trying to initialize the evdns module in
  2765. Libevent 2. Bugfix on 0.2.1.16-rc.
  2766. - Stop logging at severity 'warn' when some other Tor client tries
  2767. to establish a circuit with us using weak DH keys. It's a protocol
  2768. violation, but that doesn't mean ordinary users need to hear about
  2769. it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
  2770. - Do not refuse to learn about authority certs and v2 networkstatus
  2771. documents that are older than the latest consensus. This bug might
  2772. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  2773. Spotted and fixed by xmux.
  2774. - Fix numerous small code-flaws found by Coverity Scan Rung 3.
  2775. - If all authorities restart at once right before a consensus vote,
  2776. nobody will vote about "Running", and clients will get a consensus
  2777. with no usable relays. Instead, authorities refuse to build a
  2778. consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
  2779. - If your relay can't keep up with the number of incoming create
  2780. cells, it would log one warning per failure into your logs. Limit
  2781. warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
  2782. - Bridges now use "reject *:*" as their default exit policy. Bugfix
  2783. on 0.2.0.3-alpha; fixes bug 1113.
  2784. - Fix a memory leak on directory authorities during voting that was
  2785. introduced in 0.2.2.1-alpha. Found via valgrind.
  2786. Changes in version 0.2.1.20 - 2009-10-15
  2787. Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
  2788. services at once, prepares for more performance improvements, and
  2789. fixes a bunch of smaller bugs.
  2790. The Windows and OS X bundles also include a more recent Vidalia,
  2791. and switch from Privoxy to Polipo.
  2792. The OS X installers are now drag and drop. It's best to un-install
  2793. Tor/Vidalia and then install this new bundle, rather than upgrade. If
  2794. you want to upgrade, you'll need to update the paths for Tor and Polipo
  2795. in the Vidalia Settings window.
  2796. o Major bugfixes:
  2797. - Send circuit or stream sendme cells when our window has decreased
  2798. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  2799. by Karsten when testing the "reduce circuit window" performance
  2800. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  2801. before the release of Tor 0.0.0. This is the new winner of the
  2802. oldest-bug prize.
  2803. - Fix a remotely triggerable memory leak when a consensus document
  2804. contains more than one signature from the same voter. Bugfix on
  2805. 0.2.0.3-alpha.
  2806. - Avoid segfault in rare cases when finishing an introduction circuit
  2807. as a client and finding out that we don't have an introduction key
  2808. for it. Fixes bug 1073. Reported by Aaron Swartz.
  2809. o Major features:
  2810. - Tor now reads the "circwindow" parameter out of the consensus,
  2811. and uses that value for its circuit package window rather than the
  2812. default of 1000 cells. Begins the implementation of proposal 168.
  2813. o New directory authorities:
  2814. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  2815. authority.
  2816. - Move moria1 and tonga to alternate IP addresses.
  2817. o Minor bugfixes:
  2818. - Fix a signed/unsigned compile warning in 0.2.1.19.
  2819. - Fix possible segmentation fault on directory authorities. Bugfix on
  2820. 0.2.1.14-rc.
  2821. - Fix an extremely rare infinite recursion bug that could occur if
  2822. we tried to log a message after shutting down the log subsystem.
  2823. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  2824. - Fix an obscure bug where hidden services on 64-bit big-endian
  2825. systems might mis-read the timestamp in v3 introduce cells, and
  2826. refuse to connect back to the client. Discovered by "rotor".
  2827. Bugfix on 0.2.1.6-alpha.
  2828. - We were triggering a CLOCK_SKEW controller status event whenever
  2829. we connect via the v2 connection protocol to any relay that has
  2830. a wrong clock. Instead, we should only inform the controller when
  2831. it's a trusted authority that claims our clock is wrong. Bugfix
  2832. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  2833. - We were telling the controller about CHECKING_REACHABILITY and
  2834. REACHABILITY_FAILED status events whenever we launch a testing
  2835. circuit or notice that one has failed. Instead, only tell the
  2836. controller when we want to inform the user of overall success or
  2837. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  2838. by SwissTorExit.
  2839. - Don't warn when we're using a circuit that ends with a node
  2840. excluded in ExcludeExitNodes, but the circuit is not used to access
  2841. the outside world. This should help fix bug 1090. Bugfix on
  2842. 0.2.1.6-alpha.
  2843. - Work around a small memory leak in some versions of OpenSSL that
  2844. stopped the memory used by the hostname TLS extension from being
  2845. freed.
  2846. o Minor features:
  2847. - Add a "getinfo status/accepted-server-descriptor" controller
  2848. command, which is the recommended way for controllers to learn
  2849. whether our server descriptor has been successfully received by at
  2850. least on directory authority. Un-recommend good-server-descriptor
  2851. getinfo and status events until we have a better design for them.
  2852. Changes in version 0.2.2.5-alpha - 2009-10-11
  2853. Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
  2854. o Major bugfixes:
  2855. - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
  2856. o New directory authorities:
  2857. - Move dizum to an alternate IP address.
  2858. Changes in version 0.2.2.4-alpha - 2009-10-10
  2859. Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
  2860. introduces a new unit test framework, shifts directry authority
  2861. addresses around to reduce the impact from recent blocking events,
  2862. and fixes a few smaller bugs.
  2863. o Major bugfixes:
  2864. - Fix several more asserts in the circuit_build_times code, for
  2865. example one that causes Tor to fail to start once we have
  2866. accumulated 5000 build times in the state file. Bugfixes on
  2867. 0.2.2.2-alpha; fixes bug 1108.
  2868. o New directory authorities:
  2869. - Move moria1 and Tonga to alternate IP addresses.
  2870. o Minor features:
  2871. - Log SSL state transitions at debug level during handshake, and
  2872. include SSL states in error messages. This may help debug future
  2873. SSL handshake issues.
  2874. - Add a new "Handshake" log domain for activities that happen
  2875. during the TLS handshake.
  2876. - Revert to the "June 3 2009" ip-to-country file. The September one
  2877. seems to have removed most US IP addresses.
  2878. - Directory authorities now reject Tor relays with versions less than
  2879. 0.1.2.14. This step cuts out four relays from the current network,
  2880. none of which are very big.
  2881. o Minor bugfixes:
  2882. - Fix a couple of smaller issues with gathering statistics. Bugfixes
  2883. on 0.2.2.1-alpha.
  2884. - Fix two memory leaks in the error case of
  2885. circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
  2886. - Don't count one-hop circuits when we're estimating how long it
  2887. takes circuits to build on average. Otherwise we'll set our circuit
  2888. build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
  2889. - Directory authorities no longer change their opinion of, or vote on,
  2890. whether a router is Running, unless they have themselves been
  2891. online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
  2892. Fixes bug 1023.
  2893. o Code simplifications and refactoring:
  2894. - Revise our unit tests to use the "tinytest" framework, so we
  2895. can run tests in their own processes, have smarter setup/teardown
  2896. code, and so on. The unit test code has moved to its own
  2897. subdirectory, and has been split into multiple modules.
  2898. Changes in version 0.2.2.3-alpha - 2009-09-23
  2899. Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
  2900. o Major bugfixes:
  2901. - Fix an overzealous assert in our new circuit build timeout code.
  2902. Bugfix on 0.2.2.2-alpha; fixes bug 1103.
  2903. o Minor bugfixes:
  2904. - If the networkstatus consensus tells us that we should use a
  2905. negative circuit package window, ignore it. Otherwise we'll
  2906. believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
  2907. Changes in version 0.2.2.2-alpha - 2009-09-21
  2908. Tor 0.2.2.2-alpha introduces our latest performance improvement for
  2909. clients: Tor tracks the average time it takes to build a circuit, and
  2910. avoids using circuits that take too long to build. For fast connections,
  2911. this feature can cut your expected latency in half. For slow or flaky
  2912. connections, it could ruin your Tor experience. Let us know if it does!
  2913. o Major features:
  2914. - Tor now tracks how long it takes to build client-side circuits
  2915. over time, and adapts its timeout to local network performance.
  2916. Since a circuit that takes a long time to build will also provide
  2917. bad performance, we get significant latency improvements by
  2918. discarding the slowest 20% of circuits. Specifically, Tor creates
  2919. circuits more aggressively than usual until it has enough data
  2920. points for a good timeout estimate. Implements proposal 151.
  2921. We are especially looking for reports (good and bad) from users with
  2922. both EDGE and broadband connections that can move from broadband
  2923. to EDGE and find out if the build-time data in the .tor/state gets
  2924. reset without loss of Tor usability. You should also see a notice
  2925. log message telling you that Tor has reset its timeout.
  2926. - Directory authorities can now vote on arbitary integer values as
  2927. part of the consensus process. This is designed to help set
  2928. network-wide parameters. Implements proposal 167.
  2929. - Tor now reads the "circwindow" parameter out of the consensus,
  2930. and uses that value for its circuit package window rather than the
  2931. default of 1000 cells. Begins the implementation of proposal 168.
  2932. o Major bugfixes:
  2933. - Fix a remotely triggerable memory leak when a consensus document
  2934. contains more than one signature from the same voter. Bugfix on
  2935. 0.2.0.3-alpha.
  2936. o Minor bugfixes:
  2937. - Fix an extremely rare infinite recursion bug that could occur if
  2938. we tried to log a message after shutting down the log subsystem.
  2939. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  2940. - Fix parsing for memory or time units given without a space between
  2941. the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
  2942. - A networkstatus vote must contain exactly one signature. Spec
  2943. conformance issue. Bugfix on 0.2.0.3-alpha.
  2944. - Fix an obscure bug where hidden services on 64-bit big-endian
  2945. systems might mis-read the timestamp in v3 introduce cells, and
  2946. refuse to connect back to the client. Discovered by "rotor".
  2947. Bugfix on 0.2.1.6-alpha.
  2948. - We were triggering a CLOCK_SKEW controller status event whenever
  2949. we connect via the v2 connection protocol to any relay that has
  2950. a wrong clock. Instead, we should only inform the controller when
  2951. it's a trusted authority that claims our clock is wrong. Bugfix
  2952. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  2953. - We were telling the controller about CHECKING_REACHABILITY and
  2954. REACHABILITY_FAILED status events whenever we launch a testing
  2955. circuit or notice that one has failed. Instead, only tell the
  2956. controller when we want to inform the user of overall success or
  2957. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  2958. by SwissTorExit.
  2959. - Don't warn when we're using a circuit that ends with a node
  2960. excluded in ExcludeExitNodes, but the circuit is not used to access
  2961. the outside world. This should help fix bug 1090, but more problems
  2962. remain. Bugfix on 0.2.1.6-alpha.
  2963. - Work around a small memory leak in some versions of OpenSSL that
  2964. stopped the memory used by the hostname TLS extension from being
  2965. freed.
  2966. - Make our 'torify' script more portable; if we have only one of
  2967. 'torsocks' or 'tsocks' installed, don't complain to the user;
  2968. and explain our warning about tsocks better.
  2969. o Minor features:
  2970. - Add a "getinfo status/accepted-server-descriptor" controller
  2971. command, which is the recommended way for controllers to learn
  2972. whether our server descriptor has been successfully received by at
  2973. least on directory authority. Un-recommend good-server-descriptor
  2974. getinfo and status events until we have a better design for them.
  2975. - Update to the "September 4 2009" ip-to-country file.
  2976. Changes in version 0.2.2.1-alpha - 2009-08-26
  2977. Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
  2978. Tor clients to bootstrap on networks where only port 80 is reachable,
  2979. makes it more straightforward to support hardware crypto accelerators,
  2980. and starts the groundwork for gathering stats safely at relays.
  2981. o Security fixes:
  2982. - Start the process of disabling ".exit" address notation, since it
  2983. can be used for a variety of esoteric application-level attacks
  2984. on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
  2985. on 0.0.9rc5.
  2986. o New directory authorities:
  2987. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  2988. authority.
  2989. o Major features:
  2990. - New AccelName and AccelDir options add support for dynamic OpenSSL
  2991. hardware crypto acceleration engines.
  2992. - Tor now supports tunneling all of its outgoing connections over
  2993. a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
  2994. configuration options. Code by Christopher Davis.
  2995. o Major bugfixes:
  2996. - Send circuit or stream sendme cells when our window has decreased
  2997. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  2998. by Karsten when testing the "reduce circuit window" performance
  2999. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  3000. before the release of Tor 0.0.0. This is the new winner of the
  3001. oldest-bug prize.
  3002. o New options for gathering stats safely:
  3003. - Directory mirrors that set "DirReqStatistics 1" write statistics
  3004. about directory requests to disk every 24 hours. As compared to the
  3005. --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
  3006. 1) stats are written to disk exactly every 24 hours; 2) estimated
  3007. shares of v2 and v3 requests are determined as mean values, not at
  3008. the end of a measurement period; 3) unresolved requests are listed
  3009. with country code '??'; 4) directories also measure download times.
  3010. - Exit nodes that set "ExitPortStatistics 1" write statistics on the
  3011. number of exit streams and transferred bytes per port to disk every
  3012. 24 hours.
  3013. - Relays that set "CellStatistics 1" write statistics on how long
  3014. cells spend in their circuit queues to disk every 24 hours.
  3015. - Entry nodes that set "EntryStatistics 1" write statistics on the
  3016. rough number and origins of connecting clients to disk every 24
  3017. hours.
  3018. - Relays that write any of the above statistics to disk and set
  3019. "ExtraInfoStatistics 1" include the past 24 hours of statistics in
  3020. their extra-info documents.
  3021. o Minor features:
  3022. - New --digests command-line switch to output the digests of the
  3023. source files Tor was built with.
  3024. - The "torify" script now uses torsocks where available.
  3025. - The memarea code now uses a sentinel value at the end of each area
  3026. to make sure nothing writes beyond the end of an area. This might
  3027. help debug some conceivable causes of bug 930.
  3028. - Time and memory units in the configuration file can now be set to
  3029. fractional units. For example, "2.5 GB" is now a valid value for
  3030. AccountingMax.
  3031. - Certain Tor clients (such as those behind check.torproject.org) may
  3032. want to fetch the consensus in an extra early manner. To enable this
  3033. a user may now set FetchDirInfoExtraEarly to 1. This also depends on
  3034. setting FetchDirInfoEarly to 1. Previous behavior will stay the same
  3035. as only certain clients who must have this information sooner should
  3036. set this option.
  3037. - Instead of adding the svn revision to the Tor version string, report
  3038. the git commit (when we're building from a git checkout).
  3039. o Minor bugfixes:
  3040. - If any of the v3 certs we download are unparseable, we should
  3041. actually notice the failure so we don't retry indefinitely. Bugfix
  3042. on 0.2.0.x; reported by "rotator".
  3043. - If the cached cert file is unparseable, warn but don't exit.
  3044. - Fix possible segmentation fault on directory authorities. Bugfix on
  3045. 0.2.1.14-rc.
  3046. - When Tor fails to parse a descriptor of any kind, dump it to disk.
  3047. Might help diagnosing bug 1051.
  3048. o Deprecated and removed features:
  3049. - The controller no longer accepts the old obsolete "addr-mappings/"
  3050. or "unregistered-servers-" GETINFO values.
  3051. - Hidden services no longer publish version 0 descriptors, and clients
  3052. do not request or use version 0 descriptors. However, the old hidden
  3053. service authorities still accept and serve version 0 descriptors
  3054. when contacted by older hidden services/clients.
  3055. - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
  3056. always on; using them is necessary for correct forward-compatible
  3057. controllers.
  3058. - Remove support for .noconnect style addresses. Nobody was using
  3059. them, and they provided another avenue for detecting Tor users
  3060. via application-level web tricks.
  3061. o Packaging changes:
  3062. - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
  3063. installer bundles. See
  3064. https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
  3065. for details of what's new in Vidalia 0.2.3.
  3066. - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
  3067. - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
  3068. configuration file, rather than the old Privoxy.
  3069. - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
  3070. x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
  3071. - OS X Tor Expert Bundle: Tor is compiled as x86-only for
  3072. better compatibility with OS X 10.6, aka Snow Leopard.
  3073. - OS X Vidalia Bundle: The multi-package installer is now replaced
  3074. by a simple drag and drop to the /Applications folder. This change
  3075. occurred with the upgrade to Vidalia 0.2.3.
  3076. Changes in version 0.2.1.19 - 2009-07-28
  3077. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
  3078. services on Tor 0.2.1.3-alpha through 0.2.1.18.
  3079. o Major bugfixes:
  3080. - Make accessing hidden services on 0.2.1.x work right again.
  3081. Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
  3082. part of patch provided by "optimist".
  3083. o Minor features:
  3084. - When a relay/bridge is writing out its identity key fingerprint to
  3085. the "fingerprint" file and to its logs, write it without spaces. Now
  3086. it will look like the fingerprints in our bridges documentation,
  3087. and confuse fewer users.
  3088. o Minor bugfixes:
  3089. - Relays no longer publish a new server descriptor if they change
  3090. their MaxAdvertisedBandwidth config option but it doesn't end up
  3091. changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
  3092. fixes bug 1026. Patch from Sebastian.
  3093. - Avoid leaking memory every time we get a create cell but we have
  3094. so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
  3095. fixes bug 1034. Reported by BarkerJr.
  3096. Changes in version 0.2.1.18 - 2009-07-24
  3097. Tor 0.2.1.18 lays the foundations for performance improvements,
  3098. adds status events to help users diagnose bootstrap problems, adds
  3099. optional authentication/authorization for hidden services, fixes a
  3100. variety of potential anonymity problems, and includes a huge pile of
  3101. other features and bug fixes.
  3102. o Build fixes:
  3103. - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
  3104. Changes in version 0.2.1.17-rc - 2009-07-07
  3105. Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
  3106. candidate for the 0.2.1.x series. It lays the groundwork for further
  3107. client performance improvements, and also fixes a big bug with directory
  3108. authorities that were causing them to assign Guard and Stable flags
  3109. poorly.
  3110. The Windows bundles also finally include the geoip database that we
  3111. thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
  3112. should actually install Torbutton rather than giving you a cryptic
  3113. failure message (oops).
  3114. o Major features:
  3115. - Clients now use the bandwidth values in the consensus, rather than
  3116. the bandwidth values in each relay descriptor. This approach opens
  3117. the door to more accurate bandwidth estimates once the directory
  3118. authorities start doing active measurements. Implements more of
  3119. proposal 141.
  3120. o Major bugfixes:
  3121. - When Tor clients restart after 1-5 days, they discard all their
  3122. cached descriptors as too old, but they still use the cached
  3123. consensus document. This approach is good for robustness, but
  3124. bad for performance: since they don't know any bandwidths, they
  3125. end up choosing at random rather than weighting their choice by
  3126. speed. Fixed by the above feature of putting bandwidths in the
  3127. consensus. Bugfix on 0.2.0.x.
  3128. - Directory authorities were neglecting to mark relays down in their
  3129. internal histories if the relays fall off the routerlist without
  3130. ever being found unreachable. So there were relays in the histories
  3131. that haven't been seen for eight months, and are listed as being
  3132. up for eight months. This wreaked havoc on the "median wfu"
  3133. and "median mtbf" calculations, in turn making Guard and Stable
  3134. flags very wrong, hurting network performance. Fixes bugs 696 and
  3135. 969. Bugfix on 0.2.0.6-alpha.
  3136. o Minor bugfixes:
  3137. - Serve the DirPortFrontPage page even when we have been approaching
  3138. our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
  3139. - The control port would close the connection before flushing long
  3140. replies, such as the network consensus, if a QUIT command was issued
  3141. before the reply had completed. Now, the control port flushes all
  3142. pending replies before closing the connection. Also fixed a spurious
  3143. warning when a QUIT command is issued after a malformed or rejected
  3144. AUTHENTICATE command, but before the connection was closed. Patch
  3145. by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
  3146. - When we can't find an intro key for a v2 hidden service descriptor,
  3147. fall back to the v0 hidden service descriptor and log a bug message.
  3148. Workaround for bug 1024.
  3149. - Fix a log message that did not respect the SafeLogging option.
  3150. Resolves bug 1027.
  3151. o Minor features:
  3152. - If we're a relay and we change our IP address, be more verbose
  3153. about the reason that made us change. Should help track down
  3154. further bugs for relays on dynamic IP addresses.
  3155. Changes in version 0.2.0.35 - 2009-06-24
  3156. o Security fix:
  3157. - Avoid crashing in the presence of certain malformed descriptors.
  3158. Found by lark, and by automated fuzzing.
  3159. - Fix an edge case where a malicious exit relay could convince a
  3160. controller that the client's DNS question resolves to an internal IP
  3161. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  3162. o Major bugfixes:
  3163. - Finally fix the bug where dynamic-IP relays disappear when their
  3164. IP address changes: directory mirrors were mistakenly telling
  3165. them their old address if they asked via begin_dir, so they
  3166. never got an accurate answer about their new address, so they
  3167. just vanished after a day. For belt-and-suspenders, relays that
  3168. don't set Address in their config now avoid using begin_dir for
  3169. all direct connections. Should fix bugs 827, 883, and 900.
  3170. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  3171. that would occur on some exit nodes when DNS failures and timeouts
  3172. occurred in certain patterns. Fix for bug 957.
  3173. o Minor bugfixes:
  3174. - When starting with a cache over a few days old, do not leak
  3175. memory for the obsolete router descriptors in it. Bugfix on
  3176. 0.2.0.33; fixes bug 672.
  3177. - Hidden service clients didn't use a cached service descriptor that
  3178. was older than 15 minutes, but wouldn't fetch a new one either,
  3179. because there was already one in the cache. Now, fetch a v2
  3180. descriptor unless the same descriptor was added to the cache within
  3181. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  3182. Changes in version 0.2.1.16-rc - 2009-06-20
  3183. Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
  3184. a bunch of minor bugs.
  3185. o Security fixes:
  3186. - Fix an edge case where a malicious exit relay could convince a
  3187. controller that the client's DNS question resolves to an internal IP
  3188. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  3189. o Major performance improvements (on 0.2.0.x):
  3190. - Disable and refactor some debugging checks that forced a linear scan
  3191. over the whole server-side DNS cache. These accounted for over 50%
  3192. of CPU time on a relatively busy exit node's gprof profile. Found
  3193. by Jacob.
  3194. - Disable some debugging checks that appeared in exit node profile
  3195. data.
  3196. o Minor features:
  3197. - Update to the "June 3 2009" ip-to-country file.
  3198. - Do not have tor-resolve automatically refuse all .onion addresses;
  3199. if AutomapHostsOnResolve is set in your torrc, this will work fine.
  3200. o Minor bugfixes (on 0.2.0.x):
  3201. - Log correct error messages for DNS-related network errors on
  3202. Windows.
  3203. - Fix a race condition that could cause crashes or memory corruption
  3204. when running as a server with a controller listening for log
  3205. messages.
  3206. - Avoid crashing when we have a policy specified in a DirPolicy or
  3207. SocksPolicy or ReachableAddresses option with ports set on it,
  3208. and we re-load the policy. May fix bug 996.
  3209. - Hidden service clients didn't use a cached service descriptor that
  3210. was older than 15 minutes, but wouldn't fetch a new one either,
  3211. because there was already one in the cache. Now, fetch a v2
  3212. descriptor unless the same descriptor was added to the cache within
  3213. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  3214. o Minor bugfixes (on 0.2.1.x):
  3215. - Don't warn users about low port and hibernation mix when they
  3216. provide a *ListenAddress directive to fix that. Bugfix on
  3217. 0.2.1.15-rc.
  3218. - When switching back and forth between bridge mode, do not start
  3219. gathering GeoIP data until two hours have passed.
  3220. - Do not complain that the user has requested an excluded node as
  3221. an exit when the node is not really an exit. This could happen
  3222. because the circuit was for testing, or an introduction point.
  3223. Fix for bug 984.
  3224. Changes in version 0.2.1.15-rc - 2009-05-25
  3225. Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
  3226. series. It fixes a major bug on fast exit relays, as well as a variety
  3227. of more minor bugs.
  3228. o Major bugfixes (on 0.2.0.x):
  3229. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  3230. that would occur on some exit nodes when DNS failures and timeouts
  3231. occurred in certain patterns. Fix for bug 957.
  3232. o Minor bugfixes (on 0.2.0.x):
  3233. - Actually return -1 in the error case for read_bandwidth_usage().
  3234. Harmless bug, since we currently don't care about the return value
  3235. anywhere. Bugfix on 0.2.0.9-alpha.
  3236. - Provide a more useful log message if bug 977 (related to buffer
  3237. freelists) ever reappears, and do not crash right away.
  3238. - Fix an assertion failure on 64-bit platforms when we allocated
  3239. memory right up to the end of a memarea, then realigned the memory
  3240. one step beyond the end. Fixes a possible cause of bug 930.
  3241. - Protect the count of open sockets with a mutex, so we can't
  3242. corrupt it when two threads are closing or opening sockets at once.
  3243. Fix for bug 939. Bugfix on 0.2.0.1-alpha.
  3244. - Don't allow a bridge to publish its router descriptor to a
  3245. non-bridge directory authority. Fixes part of bug 932.
  3246. - When we change to or from being a bridge, reset our counts of
  3247. client usage by country. Fixes bug 932.
  3248. - Fix a bug that made stream bandwidth get misreported to the
  3249. controller.
  3250. - Stop using malloc_usable_size() to use more area than we had
  3251. actually allocated: it was safe, but made valgrind really unhappy.
  3252. - Fix a memory leak when v3 directory authorities load their keys
  3253. and cert from disk. Bugfix on 0.2.0.1-alpha.
  3254. o Minor bugfixes (on 0.2.1.x):
  3255. - Fix use of freed memory when deciding to mark a non-addable
  3256. descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
  3257. Changes in version 0.2.1.14-rc - 2009-04-12
  3258. Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
  3259. series. It begins fixing some major performance problems, and also
  3260. finally addresses the bug that was causing relays on dynamic IP
  3261. addresses to fall out of the directory.
  3262. o Major features:
  3263. - Clients replace entry guards that were chosen more than a few months
  3264. ago. This change should significantly improve client performance,
  3265. especially once more people upgrade, since relays that have been
  3266. a guard for a long time are currently overloaded.
  3267. o Major bugfixes (on 0.2.0):
  3268. - Finally fix the bug where dynamic-IP relays disappear when their
  3269. IP address changes: directory mirrors were mistakenly telling
  3270. them their old address if they asked via begin_dir, so they
  3271. never got an accurate answer about their new address, so they
  3272. just vanished after a day. For belt-and-suspenders, relays that
  3273. don't set Address in their config now avoid using begin_dir for
  3274. all direct connections. Should fix bugs 827, 883, and 900.
  3275. - Relays were falling out of the networkstatus consensus for
  3276. part of a day if they changed their local config but the
  3277. authorities discarded their new descriptor as "not sufficiently
  3278. different". Now directory authorities accept a descriptor as changed
  3279. if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
  3280. patch by Sebastian.
  3281. - Avoid crashing in the presence of certain malformed descriptors.
  3282. Found by lark, and by automated fuzzing.
  3283. o Minor features:
  3284. - When generating circuit events with verbose nicknames for
  3285. controllers, try harder to look up nicknames for routers on a
  3286. circuit. (Previously, we would look in the router descriptors we had
  3287. for nicknames, but not in the consensus.) Partial fix for bug 941.
  3288. - If the bridge config line doesn't specify a port, assume 443.
  3289. This makes bridge lines a bit smaller and easier for users to
  3290. understand.
  3291. - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
  3292. bytes (aka 20KB/s), to match our documentation. Also update
  3293. directory authorities so they always assign the Fast flag to relays
  3294. with 20KB/s of capacity. Now people running relays won't suddenly
  3295. find themselves not seeing any use, if the network gets faster
  3296. on average.
  3297. - Update to the "April 3 2009" ip-to-country file.
  3298. o Minor bugfixes:
  3299. - Avoid trying to print raw memory to the logs when we decide to
  3300. give up on downloading a given relay descriptor. Bugfix on
  3301. 0.2.1.9-alpha.
  3302. - In tor-resolve, when the Tor client to use is specified by
  3303. <hostname>:<port>, actually use the specified port rather than
  3304. defaulting to 9050. Bugfix on 0.2.1.6-alpha.
  3305. - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
  3306. - When starting with a cache over a few days old, do not leak
  3307. memory for the obsolete router descriptors in it. Bugfix on
  3308. 0.2.0.33.
  3309. - Avoid double-free on list of successfully uploaded hidden
  3310. service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
  3311. - Change memarea_strndup() implementation to work even when
  3312. duplicating a string at the end of a page. This bug was
  3313. harmless for now, but could have meant crashes later. Fix by
  3314. lark. Bugfix on 0.2.1.1-alpha.
  3315. - Limit uploaded directory documents to be 16M rather than 500K.
  3316. The directory authorities were refusing v3 consensus votes from
  3317. other authorities, since the votes are now 504K. Fixes bug 959;
  3318. bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
  3319. - Directory authorities should never send a 503 "busy" response to
  3320. requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
  3321. bug 959.
  3322. Changes in version 0.2.1.13-alpha - 2009-03-09
  3323. Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
  3324. cleanups. We're finally getting close to a release candidate.
  3325. o Major bugfixes:
  3326. - Correctly update the list of which countries we exclude as
  3327. exits, when the GeoIP file is loaded or reloaded. Diagnosed by
  3328. lark. Bugfix on 0.2.1.6-alpha.
  3329. o Minor bugfixes (on 0.2.0.x and earlier):
  3330. - Automatically detect MacOSX versions earlier than 10.4.0, and
  3331. disable kqueue from inside Tor when running with these versions.
  3332. We previously did this from the startup script, but that was no
  3333. help to people who didn't use the startup script. Resolves bug 863.
  3334. - When we had picked an exit node for a connection, but marked it as
  3335. "optional", and it turned out we had no onion key for the exit,
  3336. stop wanting that exit and try again. This situation may not
  3337. be possible now, but will probably become feasible with proposal
  3338. 158. Spotted by rovv. Fixes another case of bug 752.
  3339. - Clients no longer cache certificates for authorities they do not
  3340. recognize. Bugfix on 0.2.0.9-alpha.
  3341. - When we can't transmit a DNS request due to a network error, retry
  3342. it after a while, and eventually transmit a failing response to
  3343. the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
  3344. - If the controller claimed responsibility for a stream, but that
  3345. stream never finished making its connection, it would live
  3346. forever in circuit_wait state. Now we close it after SocksTimeout
  3347. seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
  3348. - Drop begin cells to a hidden service if they come from the middle
  3349. of a circuit. Patch from lark.
  3350. - When we erroneously receive two EXTEND cells for the same circuit
  3351. ID on the same connection, drop the second. Patch from lark.
  3352. - Fix a crash that occurs on exit nodes when a nameserver request
  3353. timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
  3354. been suppressing the bug since 0.1.2.10-alpha. Partial fix for
  3355. bug 929.
  3356. - Do not assume that a stack-allocated character array will be
  3357. 64-bit aligned on platforms that demand that uint64_t access is
  3358. aligned. Possible fix for bug 604.
  3359. - Parse dates and IPv4 addresses in a locale- and libc-independent
  3360. manner, to avoid platform-dependent behavior on malformed input.
  3361. - Build correctly when configured to build outside the main source
  3362. path. Patch from Michael Gold.
  3363. - We were already rejecting relay begin cells with destination port
  3364. of 0. Now also reject extend cells with destination port or address
  3365. of 0. Suggested by lark.
  3366. o Minor bugfixes (on 0.2.1.x):
  3367. - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
  3368. cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
  3369. - If we're an exit node, scrub the IP address to which we are exiting
  3370. in the logs. Bugfix on 0.2.1.8-alpha.
  3371. o Minor features:
  3372. - On Linux, use the prctl call to re-enable core dumps when the user
  3373. is option is set.
  3374. - New controller event NEWCONSENSUS that lists the networkstatus
  3375. lines for every recommended relay. Now controllers like Torflow
  3376. can keep up-to-date on which relays they should be using.
  3377. - Update to the "February 26 2009" ip-to-country file.
  3378. Changes in version 0.2.0.34 - 2009-02-08
  3379. Tor 0.2.0.34 features several more security-related fixes. You should
  3380. upgrade, especially if you run an exit relay (remote crash) or a
  3381. directory authority (remote infinite loop), or you're on an older
  3382. (pre-XP) or not-recently-patched Windows (remote exploit).
  3383. This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
  3384. have many known flaws, and nobody should be using them. You should
  3385. upgrade. If you're using a Linux or BSD and its packages are obsolete,
  3386. stop using those packages and upgrade anyway.
  3387. o Security fixes:
  3388. - Fix an infinite-loop bug on handling corrupt votes under certain
  3389. circumstances. Bugfix on 0.2.0.8-alpha.
  3390. - Fix a temporary DoS vulnerability that could be performed by
  3391. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  3392. - Avoid a potential crash on exit nodes when processing malformed
  3393. input. Remote DoS opportunity. Bugfix on 0.2.0.33.
  3394. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  3395. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  3396. o Minor bugfixes:
  3397. - Fix compilation on systems where time_t is a 64-bit integer.
  3398. Patch from Matthias Drochner.
  3399. - Don't consider expiring already-closed client connections. Fixes
  3400. bug 893. Bugfix on 0.0.2pre20.
  3401. Changes in version 0.2.1.12-alpha - 2009-02-08
  3402. Tor 0.2.1.12-alpha features several more security-related fixes. You
  3403. should upgrade, especially if you run an exit relay (remote crash) or
  3404. a directory authority (remote infinite loop), or you're on an older
  3405. (pre-XP) or not-recently-patched Windows (remote exploit). It also
  3406. includes a big pile of minor bugfixes and cleanups.
  3407. o Security fixes:
  3408. - Fix an infinite-loop bug on handling corrupt votes under certain
  3409. circumstances. Bugfix on 0.2.0.8-alpha.
  3410. - Fix a temporary DoS vulnerability that could be performed by
  3411. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  3412. - Avoid a potential crash on exit nodes when processing malformed
  3413. input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
  3414. o Minor bugfixes:
  3415. - Let controllers actually ask for the "clients_seen" event for
  3416. getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
  3417. reported by Matt Edman.
  3418. - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
  3419. 0.2.1.11-alpha.
  3420. - Fix a bug in address parsing that was preventing bridges or hidden
  3421. service targets from being at IPv6 addresses.
  3422. - Solve a bug that kept hardware crypto acceleration from getting
  3423. enabled when accounting was turned on. Fixes bug 907. Bugfix on
  3424. 0.0.9pre6.
  3425. - Remove a bash-ism from configure.in to build properly on non-Linux
  3426. platforms. Bugfix on 0.2.1.1-alpha.
  3427. - Fix code so authorities _actually_ send back X-Descriptor-Not-New
  3428. headers. Bugfix on 0.2.0.10-alpha.
  3429. - Don't consider expiring already-closed client connections. Fixes
  3430. bug 893. Bugfix on 0.0.2pre20.
  3431. - Fix another interesting corner-case of bug 891 spotted by rovv:
  3432. Previously, if two hosts had different amounts of clock drift, and
  3433. one of them created a new connection with just the wrong timing,
  3434. the other might decide to deprecate the new connection erroneously.
  3435. Bugfix on 0.1.1.13-alpha.
  3436. - Resolve a very rare crash bug that could occur when the user forced
  3437. a nameserver reconfiguration during the middle of a nameserver
  3438. probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
  3439. - Support changing value of ServerDNSRandomizeCase during SIGHUP.
  3440. Bugfix on 0.2.1.7-alpha.
  3441. - If we're using bridges and our network goes away, be more willing
  3442. to forgive our bridges and try again when we get an application
  3443. request. Bugfix on 0.2.0.x.
  3444. o Minor features:
  3445. - Support platforms where time_t is 64 bits long. (Congratulations,
  3446. NetBSD!) Patch from Matthias Drochner.
  3447. - Add a 'getinfo status/clients-seen' controller command, in case
  3448. controllers want to hear clients_seen events but connect late.
  3449. o Build changes:
  3450. - Disable GCC's strict alias optimization by default, to avoid the
  3451. likelihood of its introducing subtle bugs whenever our code violates
  3452. the letter of C99's alias rules.
  3453. Changes in version 0.2.0.33 - 2009-01-21
  3454. Tor 0.2.0.33 fixes a variety of bugs that were making relays less
  3455. useful to users. It also finally fixes a bug where a relay or client
  3456. that's been off for many days would take a long time to bootstrap.
  3457. This update also fixes an important security-related bug reported by
  3458. Ilja van Sprundel. You should upgrade. (We'll send out more details
  3459. about the bug once people have had some time to upgrade.)
  3460. o Security fixes:
  3461. - Fix a heap-corruption bug that may be remotely triggerable on
  3462. some platforms. Reported by Ilja van Sprundel.
  3463. o Major bugfixes:
  3464. - When a stream at an exit relay is in state "resolving" or
  3465. "connecting" and it receives an "end" relay cell, the exit relay
  3466. would silently ignore the end cell and not close the stream. If
  3467. the client never closes the circuit, then the exit relay never
  3468. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  3469. reported by "wood".
  3470. - When sending CREATED cells back for a given circuit, use a 64-bit
  3471. connection ID to find the right connection, rather than an addr:port
  3472. combination. Now that we can have multiple OR connections between
  3473. the same ORs, it is no longer possible to use addr:port to uniquely
  3474. identify a connection.
  3475. - Bridge relays that had DirPort set to 0 would stop fetching
  3476. descriptors shortly after startup, and then briefly resume
  3477. after a new bandwidth test and/or after publishing a new bridge
  3478. descriptor. Bridge users that try to bootstrap from them would
  3479. get a recent networkstatus but would get descriptors from up to
  3480. 18 hours earlier, meaning most of the descriptors were obsolete
  3481. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  3482. - Prevent bridge relays from serving their 'extrainfo' document
  3483. to anybody who asks, now that extrainfo docs include potentially
  3484. sensitive aggregated client geoip summaries. Bugfix on
  3485. 0.2.0.13-alpha.
  3486. - If the cached networkstatus consensus is more than five days old,
  3487. discard it rather than trying to use it. In theory it could be
  3488. useful because it lists alternate directory mirrors, but in practice
  3489. it just means we spend many minutes trying directory mirrors that
  3490. are long gone from the network. Also discard router descriptors as
  3491. we load them if they are more than five days old, since the onion
  3492. key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
  3493. o Minor bugfixes:
  3494. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  3495. could make gcc generate non-functional binary search code. Bugfix
  3496. on 0.2.0.10-alpha.
  3497. - Build correctly on platforms without socklen_t.
  3498. - Compile without warnings on solaris.
  3499. - Avoid potential crash on internal error during signature collection.
  3500. Fixes bug 864. Patch from rovv.
  3501. - Correct handling of possible malformed authority signing key
  3502. certificates with internal signature types. Fixes bug 880.
  3503. Bugfix on 0.2.0.3-alpha.
  3504. - Fix a hard-to-trigger resource leak when logging credential status.
  3505. CID 349.
  3506. - When we can't initialize DNS because the network is down, do not
  3507. automatically stop Tor from starting. Instead, we retry failed
  3508. dns_init() every 10 minutes, and change the exit policy to reject
  3509. *:* until one succeeds. Fixes bug 691.
  3510. - Use 64 bits instead of 32 bits for connection identifiers used with
  3511. the controller protocol, to greatly reduce risk of identifier reuse.
  3512. - When we're choosing an exit node for a circuit, and we have
  3513. no pending streams, choose a good general exit rather than one that
  3514. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  3515. - Fix another case of assuming, when a specific exit is requested,
  3516. that we know more than the user about what hosts it allows.
  3517. Fixes one case of bug 752. Patch from rovv.
  3518. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  3519. seconds. Warn the user if lower values are given in the
  3520. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  3521. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  3522. user if lower values are given in the configuration. Bugfix on
  3523. 0.1.1.17-rc. Patch by Sebastian.
  3524. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  3525. the cache because we already had a v0 descriptor with the same ID.
  3526. Bugfix on 0.2.0.18-alpha.
  3527. - Fix a race condition when freeing keys shared between main thread
  3528. and CPU workers that could result in a memory leak. Bugfix on
  3529. 0.1.0.1-rc. Fixes bug 889.
  3530. - Send a valid END cell back when a client tries to connect to a
  3531. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  3532. 840. Patch from rovv.
  3533. - Check which hops rendezvous stream cells are associated with to
  3534. prevent possible guess-the-streamid injection attacks from
  3535. intermediate hops. Fixes another case of bug 446. Based on patch
  3536. from rovv.
  3537. - If a broken client asks a non-exit router to connect somewhere,
  3538. do not even do the DNS lookup before rejecting the connection.
  3539. Fixes another case of bug 619. Patch from rovv.
  3540. - When a relay gets a create cell it can't decrypt (e.g. because it's
  3541. using the wrong onion key), we were dropping it and letting the
  3542. client time out. Now actually answer with a destroy cell. Fixes
  3543. bug 904. Bugfix on 0.0.2pre8.
  3544. o Minor bugfixes (hidden services):
  3545. - Do not throw away existing introduction points on SIGHUP. Bugfix on
  3546. 0.0.6pre1. Patch by Karsten. Fixes bug 874.
  3547. o Minor features:
  3548. - Report the case where all signatures in a detached set are rejected
  3549. differently than the case where there is an error handling the
  3550. detached set.
  3551. - When we realize that another process has modified our cached
  3552. descriptors, print out a more useful error message rather than
  3553. triggering an assertion. Fixes bug 885. Patch from Karsten.
  3554. - Implement the 0x20 hack to better resist DNS poisoning: set the
  3555. case on outgoing DNS requests randomly, and reject responses that do
  3556. not match the case correctly. This logic can be disabled with the
  3557. ServerDNSRamdomizeCase setting, if you are using one of the 0.3%
  3558. of servers that do not reliably preserve case in replies. See
  3559. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  3560. for more info.
  3561. - Check DNS replies for more matching fields to better resist DNS
  3562. poisoning.
  3563. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  3564. compress cells, which are basically all encrypted, compressed, or
  3565. both.
  3566. Changes in version 0.2.1.11-alpha - 2009-01-20
  3567. Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
  3568. week it will take a long time to bootstrap again" bug. It also fixes
  3569. an important security-related bug reported by Ilja van Sprundel. You
  3570. should upgrade. (We'll send out more details about the bug once people
  3571. have had some time to upgrade.)
  3572. o Security fixes:
  3573. - Fix a heap-corruption bug that may be remotely triggerable on
  3574. some platforms. Reported by Ilja van Sprundel.
  3575. o Major bugfixes:
  3576. - Discard router descriptors as we load them if they are more than
  3577. five days old. Otherwise if Tor is off for a long time and then
  3578. starts with cached descriptors, it will try to use the onion
  3579. keys in those obsolete descriptors when building circuits. Bugfix
  3580. on 0.2.0.x. Fixes bug 887.
  3581. o Minor features:
  3582. - Try to make sure that the version of Libevent we're running with
  3583. is binary-compatible with the one we built with. May address bug
  3584. 897 and others.
  3585. - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
  3586. for bug 905. Bugfix on 0.2.1.7-alpha.
  3587. - Add a new --enable-local-appdata configuration switch to change
  3588. the default location of the datadir on win32 from APPDATA to
  3589. LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
  3590. entirely. Patch from coderman.
  3591. o Minor bugfixes:
  3592. - Make outbound DNS packets respect the OutboundBindAddress setting.
  3593. Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
  3594. - When our circuit fails at the first hop (e.g. we get a destroy
  3595. cell back), avoid using that OR connection anymore, and also
  3596. tell all the one-hop directory requests waiting for it that they
  3597. should fail. Bugfix on 0.2.1.3-alpha.
  3598. - In the torify(1) manpage, mention that tsocks will leak your
  3599. DNS requests.
  3600. Changes in version 0.2.1.10-alpha - 2009-01-06
  3601. Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
  3602. would make the bridge relay not so useful if it had DirPort set to 0,
  3603. and one that could let an attacker learn a little bit of information
  3604. about the bridge's users), and a bug that would cause your Tor relay
  3605. to ignore a circuit create request it can't decrypt (rather than reply
  3606. with an error). It also fixes a wide variety of other bugs.
  3607. o Major bugfixes:
  3608. - If the cached networkstatus consensus is more than five days old,
  3609. discard it rather than trying to use it. In theory it could
  3610. be useful because it lists alternate directory mirrors, but in
  3611. practice it just means we spend many minutes trying directory
  3612. mirrors that are long gone from the network. Helps bug 887 a bit;
  3613. bugfix on 0.2.0.x.
  3614. - Bridge relays that had DirPort set to 0 would stop fetching
  3615. descriptors shortly after startup, and then briefly resume
  3616. after a new bandwidth test and/or after publishing a new bridge
  3617. descriptor. Bridge users that try to bootstrap from them would
  3618. get a recent networkstatus but would get descriptors from up to
  3619. 18 hours earlier, meaning most of the descriptors were obsolete
  3620. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  3621. - Prevent bridge relays from serving their 'extrainfo' document
  3622. to anybody who asks, now that extrainfo docs include potentially
  3623. sensitive aggregated client geoip summaries. Bugfix on
  3624. 0.2.0.13-alpha.
  3625. o Minor features:
  3626. - New controller event "clients_seen" to report a geoip-based summary
  3627. of which countries we've seen clients from recently. Now controllers
  3628. like Vidalia can show bridge operators that they're actually making
  3629. a difference.
  3630. - Build correctly against versions of OpenSSL 0.9.8 or later built
  3631. without support for deprecated functions.
  3632. - Update to the "December 19 2008" ip-to-country file.
  3633. o Minor bugfixes (on 0.2.0.x):
  3634. - Authorities now vote for the Stable flag for any router whose
  3635. weighted MTBF is at least 5 days, regardless of the mean MTBF.
  3636. - Do not remove routers as too old if we do not have any consensus
  3637. document. Bugfix on 0.2.0.7-alpha.
  3638. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  3639. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  3640. - When an exit relay resolves a stream address to a local IP address,
  3641. do not just keep retrying that same exit relay over and
  3642. over. Instead, just close the stream. Addresses bug 872. Bugfix
  3643. on 0.2.0.32. Patch from rovv.
  3644. - If a hidden service sends us an END cell, do not consider
  3645. retrying the connection; just close it. Patch from rovv.
  3646. - When we made bridge authorities stop serving bridge descriptors over
  3647. unencrypted links, we also broke DirPort reachability testing for
  3648. bridges. So bridges with a non-zero DirPort were printing spurious
  3649. warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
  3650. - When a relay gets a create cell it can't decrypt (e.g. because it's
  3651. using the wrong onion key), we were dropping it and letting the
  3652. client time out. Now actually answer with a destroy cell. Fixes
  3653. bug 904. Bugfix on 0.0.2pre8.
  3654. - Squeeze 2-5% out of client performance (according to oprofile) by
  3655. improving the implementation of some policy-manipulation functions.
  3656. o Minor bugfixes (on 0.2.1.x):
  3657. - Make get_interface_address() function work properly again; stop
  3658. guessing the wrong parts of our address as our address.
  3659. - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
  3660. send on that circuit. Otherwise we might violate the proposal-110
  3661. limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
  3662. thanks to Karsten.
  3663. - When we're sending non-EXTEND cells to the first hop in a circuit,
  3664. for example to use an encrypted directory connection, we don't need
  3665. to use RELAY_EARLY cells: the first hop knows what kind of cell
  3666. it is, and nobody else can even see the cell type. Conserving
  3667. RELAY_EARLY cells makes it easier to cannibalize circuits like
  3668. this later.
  3669. - Stop logging nameserver addresses in reverse order.
  3670. - If we are retrying a directory download slowly over and over, do
  3671. not automatically give up after the 254th failure. Bugfix on
  3672. 0.2.1.9-alpha.
  3673. - Resume reporting accurate "stream end" reasons to the local control
  3674. port. They were lost in the changes for Proposal 148. Bugfix on
  3675. 0.2.1.9-alpha.
  3676. o Deprecated and removed features:
  3677. - The old "tor --version --version" command, which would print out
  3678. the subversion "Id" of most of the source files, is now removed. It
  3679. turned out to be less useful than we'd expected, and harder to
  3680. maintain.
  3681. o Code simplifications and refactoring:
  3682. - Change our header file guard macros to be less likely to conflict
  3683. with system headers. Adam Langley noticed that we were conflicting
  3684. with log.h on Android.
  3685. - Tool-assisted documentation cleanup. Nearly every function or
  3686. static variable in Tor should have its own documentation now.
  3687. Changes in version 0.2.1.9-alpha - 2008-12-25
  3688. Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
  3689. o New directory authorities:
  3690. - gabelmoo (the authority run by Karsten Loesing) now has a new
  3691. IP address.
  3692. o Security fixes:
  3693. - Never use a connection with a mismatched address to extend a
  3694. circuit, unless that connection is canonical. A canonical
  3695. connection is one whose address is authenticated by the router's
  3696. identity key, either in a NETINFO cell or in a router descriptor.
  3697. - Avoid a possible memory corruption bug when receiving hidden service
  3698. descriptors. Bugfix on 0.2.1.6-alpha.
  3699. o Major bugfixes:
  3700. - Fix a logic error that would automatically reject all but the first
  3701. configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
  3702. part of bug 813/868. Bug spotted by coderman.
  3703. - When a stream at an exit relay is in state "resolving" or
  3704. "connecting" and it receives an "end" relay cell, the exit relay
  3705. would silently ignore the end cell and not close the stream. If
  3706. the client never closes the circuit, then the exit relay never
  3707. closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
  3708. reported by "wood".
  3709. - When we can't initialize DNS because the network is down, do not
  3710. automatically stop Tor from starting. Instead, retry failed
  3711. dns_init() every 10 minutes, and change the exit policy to reject
  3712. *:* until one succeeds. Fixes bug 691.
  3713. o Minor features:
  3714. - Give a better error message when an overzealous init script says
  3715. "sudo -u username tor --user username". Makes Bug 882 easier for
  3716. users to diagnose.
  3717. - When a directory authority gives us a new guess for our IP address,
  3718. log which authority we used. Hopefully this will help us debug
  3719. the recent complaints about bad IP address guesses.
  3720. - Detect svn revision properly when we're using git-svn.
  3721. - Try not to open more than one descriptor-downloading connection
  3722. to an authority at once. This should reduce load on directory
  3723. authorities. Fixes bug 366.
  3724. - Add cross-certification to newly generated certificates, so that
  3725. a signing key is enough information to look up a certificate.
  3726. Partial implementation of proposal 157.
  3727. - Start serving certificates by <identity digest, signing key digest>
  3728. pairs. Partial implementation of proposal 157.
  3729. - Clients now never report any stream end reason except 'MISC'.
  3730. Implements proposal 148.
  3731. - On platforms with a maximum syslog string length, truncate syslog
  3732. messages to that length ourselves, rather than relying on the
  3733. system to do it for us.
  3734. - Optimize out calls to time(NULL) that occur for every IO operation,
  3735. or for every cell. On systems where time() is a slow syscall,
  3736. this fix will be slightly helpful.
  3737. - Exit servers can now answer resolve requests for ip6.arpa addresses.
  3738. - When we download a descriptor that we then immediately (as
  3739. a directory authority) reject, do not retry downloading it right
  3740. away. Should save some bandwidth on authorities. Fix for bug
  3741. 888. Patch by Sebastian Hahn.
  3742. - When a download gets us zero good descriptors, do not notify
  3743. Tor that new directory information has arrived.
  3744. - Avoid some nasty corner cases in the logic for marking connections
  3745. as too old or obsolete or noncanonical for circuits. Partial
  3746. bugfix on bug 891.
  3747. o Minor features (controller):
  3748. - New CONSENSUS_ARRIVED event to note when a new consensus has
  3749. been fetched and validated.
  3750. - When we realize that another process has modified our cached
  3751. descriptors file, print out a more useful error message rather
  3752. than triggering an assertion. Fixes bug 885. Patch from Karsten.
  3753. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  3754. controllers to prevent SIGHUP from reloading the
  3755. configuration. Fixes bug 856.
  3756. o Minor bugfixes:
  3757. - Resume using the correct "REASON=" stream when telling the
  3758. controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
  3759. - When a canonical connection appears later in our internal list
  3760. than a noncanonical one for a given OR ID, always use the
  3761. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  3762. Spotted by rovv.
  3763. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  3764. seconds. Warn the user if lower values are given in the
  3765. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  3766. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  3767. user if lower values are given in the configuration. Bugfix on
  3768. 0.1.1.17-rc. Patch by Sebastian.
  3769. - Fix a race condition when freeing keys shared between main thread
  3770. and CPU workers that could result in a memory leak. Bugfix on
  3771. 0.1.0.1-rc. Fixes bug 889.
  3772. o Minor bugfixes (hidden services):
  3773. - Do not throw away existing introduction points on SIGHUP (bugfix on
  3774. 0.0.6pre1); also, do not stall hidden services because we're
  3775. throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
  3776. by John Brooks. Patch by Karsten. Fixes bug 874.
  3777. - Fix a memory leak when we decline to add a v2 rendezvous
  3778. descriptor to the cache because we already had a v0 descriptor
  3779. with the same ID. Bugfix on 0.2.0.18-alpha.
  3780. o Deprecated and removed features:
  3781. - RedirectExits has been removed. It was deprecated since
  3782. 0.2.0.3-alpha.
  3783. - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
  3784. has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  3785. - Cell pools are now always enabled; --disable-cell-pools is ignored.
  3786. o Code simplifications and refactoring:
  3787. - Rename the confusing or_is_obsolete field to the more appropriate
  3788. is_bad_for_new_circs, and move it to or_connection_t where it
  3789. belongs.
  3790. - Move edge-only flags from connection_t to edge_connection_t: not
  3791. only is this better coding, but on machines of plausible alignment,
  3792. it should save 4-8 bytes per connection_t. "Every little bit helps."
  3793. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  3794. for consistency; keep old option working for backward compatibility.
  3795. - Simplify the code for finding connections to use for a circuit.
  3796. Changes in version 0.2.1.8-alpha - 2008-12-08
  3797. Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
  3798. builds better on unusual platforms like Solaris and old OS X, and
  3799. fixes a variety of other issues.
  3800. o Major features:
  3801. - New DirPortFrontPage option that takes an html file and publishes
  3802. it as "/" on the DirPort. Now relay operators can provide a
  3803. disclaimer without needing to set up a separate webserver. There's
  3804. a sample disclaimer in contrib/tor-exit-notice.html.
  3805. o Security fixes:
  3806. - When the client is choosing entry guards, now it selects at most
  3807. one guard from a given relay family. Otherwise we could end up with
  3808. all of our entry points into the network run by the same operator.
  3809. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  3810. o Major bugfixes:
  3811. - Fix a DOS opportunity during the voting signature collection process
  3812. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  3813. - Fix a possible segfault when establishing an exit connection. Bugfix
  3814. on 0.2.1.5-alpha.
  3815. o Minor bugfixes:
  3816. - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
  3817. bug 859.
  3818. - Made Tor a little less aggressive about deleting expired
  3819. certificates. Partial fix for bug 854.
  3820. - Stop doing unaligned memory access that generated bus errors on
  3821. sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
  3822. - Fix a crash bug when changing EntryNodes from the controller. Bugfix
  3823. on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
  3824. - Make USR2 log-level switch take effect immediately. Bugfix on
  3825. 0.1.2.8-beta.
  3826. - If one win32 nameserver fails to get added, continue adding the
  3827. rest, and don't automatically fail.
  3828. - Use fcntl() for locking when flock() is not available. Should fix
  3829. compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
  3830. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  3831. could make gcc generate non-functional binary search code. Bugfix
  3832. on 0.2.0.10-alpha.
  3833. - Build correctly on platforms without socklen_t.
  3834. - Avoid potential crash on internal error during signature collection.
  3835. Fixes bug 864. Patch from rovv.
  3836. - Do not use C's stdio library for writing to log files. This will
  3837. improve logging performance by a minute amount, and will stop
  3838. leaking fds when our disk is full. Fixes bug 861.
  3839. - Stop erroneous use of O_APPEND in cases where we did not in fact
  3840. want to re-seek to the end of a file before every last write().
  3841. - Correct handling of possible malformed authority signing key
  3842. certificates with internal signature types. Fixes bug 880. Bugfix
  3843. on 0.2.0.3-alpha.
  3844. - Fix a hard-to-trigger resource leak when logging credential status.
  3845. CID 349.
  3846. o Minor features:
  3847. - Directory mirrors no longer fetch the v1 directory or
  3848. running-routers files. They are obsolete, and nobody asks for them
  3849. anymore. This is the first step to making v1 authorities obsolete.
  3850. o Minor features (controller):
  3851. - Return circuit purposes in response to GETINFO circuit-status. Fixes
  3852. bug 858.
  3853. Changes in version 0.2.0.32 - 2008-11-20
  3854. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  3855. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  3856. a smaller security flaw that might allow an attacker to access local
  3857. services, further improves hidden service performance, and fixes a
  3858. variety of other issues.
  3859. o Security fixes:
  3860. - The "User" and "Group" config options did not clear the
  3861. supplementary group entries for the Tor process. The "User" option
  3862. is now more robust, and we now set the groups to the specified
  3863. user's primary group. The "Group" option is now ignored. For more
  3864. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  3865. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  3866. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  3867. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  3868. consistently obeyed: if an exit relay refuses a stream because its
  3869. exit policy doesn't allow it, we would remember what IP address
  3870. the relay said the destination address resolves to, even if it's
  3871. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  3872. o Major bugfixes:
  3873. - Fix a DOS opportunity during the voting signature collection process
  3874. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  3875. o Major bugfixes (hidden services):
  3876. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  3877. we were failing the whole hidden service request when the v0
  3878. descriptor fetch fails, even if the v2 fetch is still pending and
  3879. might succeed. Similarly, if the last v2 fetch fails, we were
  3880. failing the whole hidden service request even if a v0 fetch is
  3881. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  3882. - When extending a circuit to a hidden service directory to upload a
  3883. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  3884. requests failed, because the router descriptor has not been
  3885. downloaded yet. In these cases, do not attempt to upload the
  3886. rendezvous descriptor, but wait until the router descriptor is
  3887. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  3888. descriptor from a hidden service directory for which the router
  3889. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  3890. on 0.2.0.10-alpha.
  3891. o Minor bugfixes:
  3892. - Fix several infrequent memory leaks spotted by Coverity.
  3893. - When testing for libevent functions, set the LDFLAGS variable
  3894. correctly. Found by Riastradh.
  3895. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  3896. bootstrapping with tunneled directory connections. Bugfix on
  3897. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  3898. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  3899. and we know that server B rejects most-but-not all connections to
  3900. port 80, we would previously reject the connection. Now, we assume
  3901. the user knows what they were asking for. Fixes bug 752. Bugfix
  3902. on 0.0.9rc5. Diagnosed by BarkerJr.
  3903. - If we overrun our per-second write limits a little, count this as
  3904. having used up our write allocation for the second, and choke
  3905. outgoing directory writes. Previously, we had only counted this when
  3906. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  3907. Bugfix on 0.2.0.x (??).
  3908. - Remove the old v2 directory authority 'lefkada' from the default
  3909. list. It has been gone for many months.
  3910. - Stop doing unaligned memory access that generated bus errors on
  3911. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  3912. - Make USR2 log-level switch take effect immediately. Bugfix on
  3913. 0.1.2.8-beta.
  3914. o Minor bugfixes (controller):
  3915. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  3916. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  3917. Changes in version 0.2.1.7-alpha - 2008-11-08
  3918. Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
  3919. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  3920. a smaller security flaw that might allow an attacker to access local
  3921. services, adds better defense against DNS poisoning attacks on exit
  3922. relays, further improves hidden service performance, and fixes a
  3923. variety of other issues.
  3924. o Security fixes:
  3925. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  3926. consistently obeyed: if an exit relay refuses a stream because its
  3927. exit policy doesn't allow it, we would remember what IP address
  3928. the relay said the destination address resolves to, even if it's
  3929. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  3930. - The "User" and "Group" config options did not clear the
  3931. supplementary group entries for the Tor process. The "User" option
  3932. is now more robust, and we now set the groups to the specified
  3933. user's primary group. The "Group" option is now ignored. For more
  3934. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  3935. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  3936. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
  3937. - Do not use or believe expired v3 authority certificates. Patch
  3938. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  3939. o Minor features:
  3940. - Now NodeFamily and MyFamily config options allow spaces in
  3941. identity fingerprints, so it's easier to paste them in.
  3942. Suggested by Lucky Green.
  3943. - Implement the 0x20 hack to better resist DNS poisoning: set the
  3944. case on outgoing DNS requests randomly, and reject responses that do
  3945. not match the case correctly. This logic can be disabled with the
  3946. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  3947. of servers that do not reliably preserve case in replies. See
  3948. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  3949. for more info.
  3950. - Preserve case in replies to DNSPort requests in order to support
  3951. the 0x20 hack for resisting DNS poisoning attacks.
  3952. o Hidden service performance improvements:
  3953. - When the client launches an introduction circuit, retry with a
  3954. new circuit after 30 seconds rather than 60 seconds.
  3955. - Launch a second client-side introduction circuit in parallel
  3956. after a delay of 15 seconds (based on work by Christian Wilms).
  3957. - Hidden services start out building five intro circuits rather
  3958. than three, and when the first three finish they publish a service
  3959. descriptor using those. Now we publish our service descriptor much
  3960. faster after restart.
  3961. o Minor bugfixes:
  3962. - Minor fix in the warning messages when you're having problems
  3963. bootstrapping; also, be more forgiving of bootstrap problems when
  3964. we're still making incremental progress on a given bootstrap phase.
  3965. - When we're choosing an exit node for a circuit, and we have
  3966. no pending streams, choose a good general exit rather than one that
  3967. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  3968. - Send a valid END cell back when a client tries to connect to a
  3969. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  3970. 840. Patch from rovv.
  3971. - If a broken client asks a non-exit router to connect somewhere,
  3972. do not even do the DNS lookup before rejecting the connection.
  3973. Fixes another case of bug 619. Patch from rovv.
  3974. - Fix another case of assuming, when a specific exit is requested,
  3975. that we know more than the user about what hosts it allows.
  3976. Fixes another case of bug 752. Patch from rovv.
  3977. - Check which hops rendezvous stream cells are associated with to
  3978. prevent possible guess-the-streamid injection attacks from
  3979. intermediate hops. Fixes another case of bug 446. Based on patch
  3980. from rovv.
  3981. - Avoid using a negative right-shift when comparing 32-bit
  3982. addresses. Possible fix for bug 845 and bug 811.
  3983. - Make the assert_circuit_ok() function work correctly on circuits that
  3984. have already been marked for close.
  3985. - Fix read-off-the-end-of-string error in unit tests when decoding
  3986. introduction points.
  3987. - Fix uninitialized size field for memory area allocation: may improve
  3988. memory performance during directory parsing.
  3989. - Treat duplicate certificate fetches as failures, so that we do
  3990. not try to re-fetch an expired certificate over and over and over.
  3991. - Do not say we're fetching a certificate when we'll in fact skip it
  3992. because of a pending download.
  3993. Changes in version 0.2.1.6-alpha - 2008-09-30
  3994. Tor 0.2.1.6-alpha further improves performance and robustness of
  3995. hidden services, starts work on supporting per-country relay selection,
  3996. and fixes a variety of smaller issues.
  3997. o Major features:
  3998. - Implement proposal 121: make it possible to build hidden services
  3999. that only certain clients are allowed to connect to. This is
  4000. enforced at several points, so that unauthorized clients are unable
  4001. to send INTRODUCE cells to the service, or even (depending on the
  4002. type of authentication) to learn introduction points. This feature
  4003. raises the bar for certain kinds of active attacks against hidden
  4004. services. Code by Karsten Loesing.
  4005. - Relays now store and serve v2 hidden service descriptors by default,
  4006. i.e., the new default value for HidServDirectoryV2 is 1. This is
  4007. the last step in proposal 114, which aims to make hidden service
  4008. lookups more reliable.
  4009. - Start work to allow node restrictions to include country codes. The
  4010. syntax to exclude nodes in a country with country code XX is
  4011. "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
  4012. refinement to decide what config options should take priority if
  4013. you ask to both use a particular node and exclude it.
  4014. - Allow ExitNodes list to include IP ranges and country codes, just
  4015. like the Exclude*Nodes lists. Patch from Robert Hogan.
  4016. o Major bugfixes:
  4017. - Fix a bug when parsing ports in tor_addr_port_parse() that caused
  4018. Tor to fail to start if you had it configured to use a bridge
  4019. relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
  4020. - When extending a circuit to a hidden service directory to upload a
  4021. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  4022. requests failed, because the router descriptor had not been
  4023. downloaded yet. In these cases, we now wait until the router
  4024. descriptor is downloaded, and then retry. Likewise, clients
  4025. now skip over a hidden service directory if they don't yet have
  4026. its router descriptor, rather than futilely requesting it and
  4027. putting mysterious complaints in the logs. Fixes bug 767. Bugfix
  4028. on 0.2.0.10-alpha.
  4029. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  4030. we were failing the whole hidden service request when the v0
  4031. descriptor fetch fails, even if the v2 fetch is still pending and
  4032. might succeed. Similarly, if the last v2 fetch fails, we were
  4033. failing the whole hidden service request even if a v0 fetch is
  4034. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  4035. - DNS replies need to have names matching their requests, but
  4036. these names should be in the questions section, not necessarily
  4037. in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
  4038. o Minor features:
  4039. - Update to the "September 1 2008" ip-to-country file.
  4040. - Allow ports 465 and 587 in the default exit policy again. We had
  4041. rejected them in 0.1.0.15, because back in 2005 they were commonly
  4042. misconfigured and ended up as spam targets. We hear they are better
  4043. locked down these days.
  4044. - Use a lockfile to make sure that two Tor processes are not
  4045. simultaneously running with the same datadir.
  4046. - Serve the latest v3 networkstatus consensus via the control
  4047. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  4048. - Better logging about stability/reliability calculations on directory
  4049. servers.
  4050. - Drop the requirement to have an open dir port for storing and
  4051. serving v2 hidden service descriptors.
  4052. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  4053. help debug WFU and MTBF calculations.
  4054. - Implement most of Proposal 152: allow specialized servers to permit
  4055. single-hop circuits, and clients to use those servers to build
  4056. single-hop circuits when using a specialized controller. Patch
  4057. from Josh Albrecht. Resolves feature request 768.
  4058. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  4059. people find host:port too confusing.
  4060. - Make TrackHostExit mappings expire a while after their last use, not
  4061. after their creation. Patch from Robert Hogan.
  4062. - Provide circuit purposes along with circuit events to the controller.
  4063. o Minor bugfixes:
  4064. - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
  4065. Reported by Tas.
  4066. - Fixed some memory leaks -- some quite frequent, some almost
  4067. impossible to trigger -- based on results from Coverity.
  4068. - When testing for libevent functions, set the LDFLAGS variable
  4069. correctly. Found by Riastradh.
  4070. - Fix an assertion bug in parsing policy-related options; possible fix
  4071. for bug 811.
  4072. - Catch and report a few more bootstrapping failure cases when Tor
  4073. fails to establish a TCP connection. Cleanup on 0.2.1.x.
  4074. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  4075. bootstrapping with tunneled directory connections. Bugfix on
  4076. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  4077. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  4078. and we know that server B rejects most-but-not all connections to
  4079. port 80, we would previously reject the connection. Now, we assume
  4080. the user knows what they were asking for. Fixes bug 752. Bugfix
  4081. on 0.0.9rc5. Diagnosed by BarkerJr.
  4082. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  4083. service directories if they have no advertised dir port. Bugfix
  4084. on 0.2.0.10-alpha.
  4085. - If we overrun our per-second write limits a little, count this as
  4086. having used up our write allocation for the second, and choke
  4087. outgoing directory writes. Previously, we had only counted this when
  4088. we had met our limits precisely. Fixes bug 824. Patch by rovv.
  4089. Bugfix on 0.2.0.x (??).
  4090. - Avoid a "0 divided by 0" calculation when calculating router uptime
  4091. at directory authorities. Bugfix on 0.2.0.8-alpha.
  4092. - Make DNS resolved controller events into "CLOSED", not
  4093. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  4094. bug 807.
  4095. - Fix a bug where an unreachable relay would establish enough
  4096. reachability testing circuits to do a bandwidth test -- if
  4097. we already have a connection to the middle hop of the testing
  4098. circuit, then it could establish the last hop by using the existing
  4099. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  4100. circuits no longer use entry guards in 0.2.1.3-alpha.
  4101. - If we have correct permissions on $datadir, we complain to stdout
  4102. and fail to start. But dangerous permissions on
  4103. $datadir/cached-status/ would cause us to open a log and complain
  4104. there. Now complain to stdout and fail to start in both cases. Fixes
  4105. bug 820, reported by seeess.
  4106. - Remove the old v2 directory authority 'lefkada' from the default
  4107. list. It has been gone for many months.
  4108. o Code simplifications and refactoring:
  4109. - Revise the connection_new functions so that a more typesafe variant
  4110. exists. This will work better with Coverity, and let us find any
  4111. actual mistakes we're making here.
  4112. - Refactor unit testing logic so that dmalloc can be used sensibly
  4113. with unit tests to check for memory leaks.
  4114. - Move all hidden-service related fields from connection and circuit
  4115. structure to substructures: this way they won't eat so much memory.
  4116. Changes in version 0.2.0.31 - 2008-09-03
  4117. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  4118. a big bug we're seeing where in rare cases traffic from one Tor stream
  4119. gets mixed into another stream, and fixes a variety of smaller issues.
  4120. o Major bugfixes:
  4121. - Make sure that two circuits can never exist on the same connection
  4122. with the same circuit ID, even if one is marked for close. This
  4123. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  4124. - Relays now reject risky extend cells: if the extend cell includes
  4125. a digest of all zeroes, or asks to extend back to the relay that
  4126. sent the extend cell, tear down the circuit. Ideas suggested
  4127. by rovv.
  4128. - If not enough of our entry guards are available so we add a new
  4129. one, we might use the new one even if it overlapped with the
  4130. current circuit's exit relay (or its family). Anonymity bugfix
  4131. pointed out by rovv.
  4132. o Minor bugfixes:
  4133. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  4134. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  4135. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  4136. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  4137. - Pick size of default geoip filename string correctly on windows.
  4138. Fixes bug 806. Bugfix on 0.2.0.30.
  4139. - Make the autoconf script accept the obsolete --with-ssl-dir
  4140. option as an alias for the actually-working --with-openssl-dir
  4141. option. Fix the help documentation to recommend --with-openssl-dir.
  4142. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  4143. - When using the TransPort option on OpenBSD, and using the User
  4144. option to change UID and drop privileges, make sure to open
  4145. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  4146. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  4147. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  4148. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  4149. on the client side when connecting to a hidden service. Bugfix
  4150. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  4151. - When closing an application-side connection because its circuit is
  4152. getting torn down, generate the stream event correctly. Bugfix on
  4153. 0.1.2.x. Anonymous patch.
  4154. Changes in version 0.2.1.5-alpha - 2008-08-31
  4155. Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
  4156. in a lot of the infrastructure for adding authorization to hidden
  4157. services, lays the groundwork for having clients read their load
  4158. balancing information out of the networkstatus consensus rather than
  4159. the individual router descriptors, addresses two potential anonymity
  4160. issues, and fixes a variety of smaller issues.
  4161. o Major features:
  4162. - Convert many internal address representations to optionally hold
  4163. IPv6 addresses.
  4164. - Generate and accept IPv6 addresses in many protocol elements.
  4165. - Make resolver code handle nameservers located at ipv6 addresses.
  4166. - Begin implementation of proposal 121 ("Client authorization for
  4167. hidden services"): configure hidden services with client
  4168. authorization, publish descriptors for them, and configure
  4169. authorization data for hidden services at clients. The next
  4170. step is to actually access hidden services that perform client
  4171. authorization.
  4172. - More progress toward proposal 141: Network status consensus
  4173. documents and votes now contain bandwidth information for each
  4174. router and a summary of that router's exit policy. Eventually this
  4175. will be used by clients so that they do not have to download every
  4176. known descriptor before building circuits.
  4177. o Major bugfixes (on 0.2.0.x and before):
  4178. - When sending CREATED cells back for a given circuit, use a 64-bit
  4179. connection ID to find the right connection, rather than an addr:port
  4180. combination. Now that we can have multiple OR connections between
  4181. the same ORs, it is no longer possible to use addr:port to uniquely
  4182. identify a connection.
  4183. - Relays now reject risky extend cells: if the extend cell includes
  4184. a digest of all zeroes, or asks to extend back to the relay that
  4185. sent the extend cell, tear down the circuit. Ideas suggested
  4186. by rovv.
  4187. - If not enough of our entry guards are available so we add a new
  4188. one, we might use the new one even if it overlapped with the
  4189. current circuit's exit relay (or its family). Anonymity bugfix
  4190. pointed out by rovv.
  4191. o Minor bugfixes:
  4192. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  4193. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  4194. - When using the TransPort option on OpenBSD, and using the User
  4195. option to change UID and drop privileges, make sure to open /dev/pf
  4196. before dropping privileges. Fixes bug 782. Patch from Christopher
  4197. Davis. Bugfix on 0.1.2.1-alpha.
  4198. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  4199. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  4200. - Add a missing safe_str() call for a debug log message.
  4201. - Use 64 bits instead of 32 bits for connection identifiers used with
  4202. the controller protocol, to greatly reduce risk of identifier reuse.
  4203. - Make the autoconf script accept the obsolete --with-ssl-dir
  4204. option as an alias for the actually-working --with-openssl-dir
  4205. option. Fix the help documentation to recommend --with-openssl-dir.
  4206. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  4207. o Minor features:
  4208. - Rate-limit too-many-sockets messages: when they happen, they happen
  4209. a lot. Resolves bug 748.
  4210. - Resist DNS poisoning a little better by making sure that names in
  4211. answer sections match.
  4212. - Print the SOCKS5 error message string as well as the error code
  4213. when a tor-resolve request fails. Patch from Jacob.
  4214. Changes in version 0.2.1.4-alpha - 2008-08-04
  4215. Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
  4216. o Major bugfixes:
  4217. - The address part of exit policies was not correctly written
  4218. to router descriptors. This generated router descriptors that failed
  4219. their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
  4220. on 0.2.1.3-alpha.
  4221. - Tor triggered a false assert when extending a circuit to a relay
  4222. but we already have a connection open to that relay. Noticed by
  4223. phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
  4224. o Minor bugfixes:
  4225. - Fix a hidden service logging bug: in some edge cases, the router
  4226. descriptor of a previously picked introduction point becomes
  4227. obsolete and we need to give up on it rather than continually
  4228. complaining that it has become obsolete. Observed by xiando. Bugfix
  4229. on 0.2.1.3-alpha.
  4230. o Removed features:
  4231. - Take out the TestVia config option, since it was a workaround for
  4232. a bug that was fixed in Tor 0.1.1.21.
  4233. Changes in version 0.2.1.3-alpha - 2008-08-03
  4234. Tor 0.2.1.3-alpha implements most of the pieces to prevent
  4235. infinite-length circuit attacks (see proposal 110); fixes a bug that
  4236. might cause exit relays to corrupt streams they send back; allows
  4237. address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
  4238. ExcludeExitNodes config options; and fixes a big pile of bugs.
  4239. o Bootstrapping bugfixes (on 0.2.1.x-alpha):
  4240. - Send a bootstrap problem "warn" event on the first problem if the
  4241. reason is NO_ROUTE (that is, our network is down).
  4242. o Major features:
  4243. - Implement most of proposal 110: The first K cells to be sent
  4244. along a circuit are marked as special "early" cells; only K "early"
  4245. cells will be allowed. Once this code is universal, we can block
  4246. certain kinds of DOS attack by requiring that EXTEND commands must
  4247. be sent using an "early" cell.
  4248. o Major bugfixes:
  4249. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  4250. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  4251. on the client side when connecting to a hidden service. Bugfix
  4252. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  4253. - Ensure that two circuits can never exist on the same connection
  4254. with the same circuit ID, even if one is marked for close. This
  4255. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  4256. o Minor features:
  4257. - When relays do their initial bandwidth measurement, don't limit
  4258. to just our entry guards for the test circuits. Otherwise we tend
  4259. to have multiple test circuits going through a single entry guard,
  4260. which makes our bandwidth test less accurate. Fixes part of bug 654;
  4261. patch contributed by Josh Albrecht.
  4262. - Add an ExcludeExitNodes option so users can list a set of nodes
  4263. that should be be excluded from the exit node position, but
  4264. allowed elsewhere. Implements proposal 151.
  4265. - Allow address patterns (e.g., 255.128.0.0/16) to appear in
  4266. ExcludeNodes and ExcludeExitNodes lists.
  4267. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  4268. be more efficient. Formerly it was quadratic in the number of
  4269. servers; now it should be linear. Fixes bug 509.
  4270. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  4271. and n_conn_id_digest fields into a separate structure that's
  4272. only needed when the circuit has not yet attached to an n_conn.
  4273. o Minor bugfixes:
  4274. - Change the contrib/tor.logrotate script so it makes the new
  4275. logs as "_tor:_tor" rather than the default, which is generally
  4276. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  4277. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  4278. warnings (occasionally), but it can also cause the compiler to
  4279. eliminate error-checking code. Suggested by Peter Gutmann.
  4280. - When a hidden service is giving up on an introduction point candidate
  4281. that was not included in the last published rendezvous descriptor,
  4282. don't reschedule publication of the next descriptor. Fixes bug 763.
  4283. Bugfix on 0.0.9.3.
  4284. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  4285. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  4286. and nobody claims to be using them. Fixes bug 754. Bugfix on
  4287. 0.1.0.1-rc. Patch from Christian Wilms.
  4288. - Fix a small alignment and memory-wasting bug on buffer chunks.
  4289. Spotted by rovv.
  4290. o Minor bugfixes (controller):
  4291. - When closing an application-side connection because its circuit
  4292. is getting torn down, generate the stream event correctly.
  4293. Bugfix on 0.1.2.x. Anonymous patch.
  4294. o Removed features:
  4295. - Remove all backward-compatibility code to support relays running
  4296. versions of Tor so old that they no longer work at all on the
  4297. Tor network.
  4298. Changes in version 0.2.0.30 - 2008-07-15
  4299. o Minor bugfixes:
  4300. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  4301. warnings (occasionally), but it can also cause the compiler to
  4302. eliminate error-checking code. Suggested by Peter Gutmann.
  4303. Changes in version 0.2.0.29-rc - 2008-07-08
  4304. Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
  4305. hidden-service performance bugs, and fixes a bunch of smaller bugs.
  4306. o Major bugfixes:
  4307. - If you have more than one bridge but don't know their keys,
  4308. you would only launch a request for the descriptor of the first one
  4309. on your list. (Tor considered launching requests for the others, but
  4310. found that it already had a connection on the way for $0000...0000
  4311. so it didn't open another.) Bugfix on 0.2.0.x.
  4312. - If you have more than one bridge but don't know their keys, and the
  4313. connection to one of the bridges failed, you would cancel all
  4314. pending bridge connections. (After all, they all have the same
  4315. digest.) Bugfix on 0.2.0.x.
  4316. - When a hidden service was trying to establish an introduction point,
  4317. and Tor had built circuits preemptively for such purposes, we
  4318. were ignoring all the preemptive circuits and launching a new one
  4319. instead. Bugfix on 0.2.0.14-alpha.
  4320. - When a hidden service was trying to establish an introduction point,
  4321. and Tor *did* manage to reuse one of the preemptively built
  4322. circuits, it didn't correctly remember which one it used,
  4323. so it asked for another one soon after, until there were no
  4324. more preemptive circuits, at which point it launched one from
  4325. scratch. Bugfix on 0.0.9.x.
  4326. - Make directory servers include the X-Your-Address-Is: http header in
  4327. their responses even for begin_dir conns. Now clients who only
  4328. ever use begin_dir connections still have a way to learn their IP
  4329. address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
  4330. o Minor bugfixes:
  4331. - Fix a macro/CPP interaction that was confusing some compilers:
  4332. some GCCs don't like #if/#endif pairs inside macro arguments.
  4333. Fixes bug 707.
  4334. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  4335. Fixes bug 704; fix from Steven Murdoch.
  4336. - When opening /dev/null in finish_daemonize(), do not pass the
  4337. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  4338. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  4339. - Correctly detect transparent proxy support on Linux hosts that
  4340. require in.h to be included before netfilter_ipv4.h. Patch
  4341. from coderman.
  4342. - Disallow session resumption attempts during the renegotiation
  4343. stage of the v2 handshake protocol. Clients should never be trying
  4344. session resumption at this point, but apparently some did, in
  4345. ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
  4346. found by Geoff Goodell.
  4347. Changes in version 0.2.1.2-alpha - 2008-06-20
  4348. Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
  4349. make it easier to set up your own private Tor network; fixes several
  4350. big bugs with using more than one bridge relay; fixes a big bug with
  4351. offering hidden services quickly after Tor starts; and uses a better
  4352. API for reporting potential bootstrapping problems to the controller.
  4353. o Major features:
  4354. - New TestingTorNetwork config option to allow adjustment of
  4355. previously constant values that, while reasonable, could slow
  4356. bootstrapping. Implements proposal 135. Patch from Karsten.
  4357. o Major bugfixes:
  4358. - If you have more than one bridge but don't know their digests,
  4359. you would only learn a request for the descriptor of the first one
  4360. on your list. (Tor considered launching requests for the others, but
  4361. found that it already had a connection on the way for $0000...0000
  4362. so it didn't open another.) Bugfix on 0.2.0.x.
  4363. - If you have more than one bridge but don't know their digests,
  4364. and the connection to one of the bridges failed, you would cancel
  4365. all pending bridge connections. (After all, they all have the
  4366. same digest.) Bugfix on 0.2.0.x.
  4367. - When establishing a hidden service, introduction points that
  4368. originate from cannibalized circuits are completely ignored and not
  4369. included in rendezvous service descriptors. This might be another
  4370. reason for delay in making a hidden service available. Bugfix
  4371. from long ago (0.0.9.x?)
  4372. o Minor features:
  4373. - Allow OpenSSL to use dynamic locks if it wants.
  4374. - When building a consensus, do not include routers that are down.
  4375. This will cut down 30% to 40% on consensus size. Implements
  4376. proposal 138.
  4377. - In directory authorities' approved-routers files, allow
  4378. fingerprints with or without space.
  4379. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  4380. controller can query our current bootstrap state in case it attaches
  4381. partway through and wants to catch up.
  4382. - Send an initial "Starting" bootstrap status event, so we have a
  4383. state to start out in.
  4384. o Minor bugfixes:
  4385. - Asking for a conditional consensus at .../consensus/<fingerprints>
  4386. would crash a dirserver if it did not already have a
  4387. consensus. Bugfix on 0.2.1.1-alpha.
  4388. - Clean up some macro/CPP interactions: some GCC versions don't like
  4389. #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
  4390. 0.2.0.x.
  4391. o Bootstrapping bugfixes (on 0.2.1.1-alpha):
  4392. - Directory authorities shouldn't complain about bootstrapping
  4393. problems just because they do a lot of reachability testing and
  4394. some of the connection attempts fail.
  4395. - Start sending "count" and "recommendation" key/value pairs in
  4396. bootstrap problem status events, so the controller can hear about
  4397. problems even before Tor decides they're worth reporting for sure.
  4398. - If you're using bridges, generate "bootstrap problem" warnings
  4399. as soon as you run out of working bridges, rather than waiting
  4400. for ten failures -- which will never happen if you have less than
  4401. ten bridges.
  4402. - If we close our OR connection because there's been a circuit
  4403. pending on it for too long, we were telling our bootstrap status
  4404. events "REASON=NONE". Now tell them "REASON=TIMEOUT".
  4405. Changes in version 0.2.1.1-alpha - 2008-06-13
  4406. Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
  4407. were making the Tor process bloat especially on Linux; makes our TLS
  4408. handshake blend in better; sends "bootstrap phase" status events to
  4409. the controller, so it can keep the user informed of progress (and
  4410. problems) fetching directory information and establishing circuits;
  4411. and adds a variety of smaller features.
  4412. o Major features:
  4413. - More work on making our TLS handshake blend in: modify the list
  4414. of ciphers advertised by OpenSSL in client mode to even more
  4415. closely resemble a common web browser. We cheat a little so that
  4416. we can advertise ciphers that the locally installed OpenSSL doesn't
  4417. know about.
  4418. - Start sending "bootstrap phase" status events to the controller,
  4419. so it can keep the user informed of progress fetching directory
  4420. information and establishing circuits. Also inform the controller
  4421. if we think we're stuck at a particular bootstrap phase. Implements
  4422. proposal 137.
  4423. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  4424. cross-platform entropy collection again. We used to use it, then
  4425. stopped using it because of a bug that could crash systems that
  4426. called RAND_poll when they had a lot of fds open. It looks like the
  4427. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  4428. at startup, and to call RAND_poll() when we reseed later only if
  4429. we have a non-buggy OpenSSL version.
  4430. o Major bugfixes:
  4431. - When we choose to abandon a new entry guard because we think our
  4432. older ones might be better, close any circuits pending on that
  4433. new entry guard connection. This fix should make us recover much
  4434. faster when our network is down and then comes back. Bugfix on
  4435. 0.1.2.8-beta; found by lodger.
  4436. o Memory fixes and improvements:
  4437. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  4438. to avoid unused RAM in buffer chunks and memory pools.
  4439. - Speed up parsing and cut down on memory fragmentation by using
  4440. stack-style allocations for parsing directory objects. Previously,
  4441. this accounted for over 40% of allocations from within Tor's code
  4442. on a typical directory cache.
  4443. - Use a Bloom filter rather than a digest-based set to track which
  4444. descriptors we need to keep around when we're cleaning out old
  4445. router descriptors. This speeds up the computation significantly,
  4446. and may reduce fragmentation.
  4447. - Reduce the default smartlist size from 32 to 16; it turns out that
  4448. most smartlists hold around 8-12 elements tops.
  4449. - Make dumpstats() log the fullness and size of openssl-internal
  4450. buffers.
  4451. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  4452. patch to their OpenSSL, turn it on to save memory on servers. This
  4453. patch will (with any luck) get included in a mainline distribution
  4454. before too long.
  4455. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  4456. compress cells, which are basically all encrypted, compressed,
  4457. or both.
  4458. o Minor bugfixes:
  4459. - Stop reloading the router list from disk for no reason when we
  4460. run out of reachable directory mirrors. Once upon a time reloading
  4461. it would set the 'is_running' flag back to 1 for them. It hasn't
  4462. done that for a long time.
  4463. - In very rare situations new hidden service descriptors were
  4464. published earlier than 30 seconds after the last change to the
  4465. service. (We currently think that a hidden service descriptor
  4466. that's been stable for 30 seconds is worth publishing.)
  4467. o Minor features:
  4468. - Allow separate log levels to be configured for different logging
  4469. domains. For example, this allows one to log all notices, warnings,
  4470. or errors, plus all memory management messages of level debug or
  4471. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  4472. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  4473. and stop using a warning that had become unfixably verbose under
  4474. GCC 4.3.
  4475. - New --hush command-line option similar to --quiet. While --quiet
  4476. disables all logging to the console on startup, --hush limits the
  4477. output to messages of warning and error severity.
  4478. - Servers support a new URL scheme for consensus downloads that
  4479. allows the client to specify which authorities are trusted.
  4480. The server then only sends the consensus if the client will trust
  4481. it. Otherwise a 404 error is sent back. Clients use this
  4482. new scheme when the server supports it (meaning it's running
  4483. 0.2.1.1-alpha or later). Implements proposal 134.
  4484. - New configure/torrc options (--enable-geoip-stats,
  4485. DirRecordUsageByCountry) to record how many IPs we've served
  4486. directory info to in each country code, how many status documents
  4487. total we've sent to each country code, and what share of the total
  4488. directory requests we should expect to see.
  4489. - Use the TLS1 hostname extension to more closely resemble browser
  4490. behavior.
  4491. - Lots of new unit tests.
  4492. - Add a macro to implement the common pattern of iterating through
  4493. two parallel lists in lockstep.
  4494. Changes in version 0.2.0.28-rc - 2008-06-13
  4495. Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
  4496. performance bug, and fixes a bunch of smaller bugs.
  4497. o Anonymity fixes:
  4498. - Fix a bug where, when we were choosing the 'end stream reason' to
  4499. put in our relay end cell that we send to the exit relay, Tor
  4500. clients on Windows were sometimes sending the wrong 'reason'. The
  4501. anonymity problem is that exit relays may be able to guess whether
  4502. the client is running Windows, thus helping partition the anonymity
  4503. set. Down the road we should stop sending reasons to exit relays,
  4504. or otherwise prevent future versions of this bug.
  4505. o Major bugfixes:
  4506. - While setting up a hidden service, some valid introduction circuits
  4507. were overlooked and abandoned. This might be the reason for
  4508. the long delay in making a hidden service available. Bugfix on
  4509. 0.2.0.14-alpha.
  4510. o Minor features:
  4511. - Update to the "June 9 2008" ip-to-country file.
  4512. - Run 'make test' as part of 'make dist', so we stop releasing so
  4513. many development snapshots that fail their unit tests.
  4514. o Minor bugfixes:
  4515. - When we're checking if we have enough dir info for each relay
  4516. to begin establishing circuits, make sure that we actually have
  4517. the descriptor listed in the consensus, not just any descriptor.
  4518. Bugfix on 0.1.2.x.
  4519. - Bridge relays no longer print "xx=0" in their extrainfo document
  4520. for every single country code in the geoip db. Bugfix on
  4521. 0.2.0.27-rc.
  4522. - Only warn when we fail to load the geoip file if we were planning to
  4523. include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
  4524. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  4525. Tor won't realize it should publish a new relay descriptor. Fixes
  4526. bug 688, reported by mfr. Bugfix on 0.1.2.x.
  4527. - When we haven't had any application requests lately, don't bother
  4528. logging that we have expired a bunch of descriptors. Bugfix
  4529. on 0.1.2.x.
  4530. - Make relay cells written on a connection count as non-padding when
  4531. tracking how long a connection has been in use. Bugfix on
  4532. 0.2.0.1-alpha. Spotted by lodger.
  4533. - Fix unit tests in 0.2.0.27-rc.
  4534. - Fix compile on Windows.
  4535. Changes in version 0.2.0.27-rc - 2008-06-03
  4536. Tor 0.2.0.27-rc adds a few features we left out of the earlier
  4537. release candidates. In particular, we now include an IP-to-country
  4538. GeoIP database, so controllers can easily look up what country a
  4539. given relay is in, and so bridge relays can give us some sanitized
  4540. summaries about which countries are making use of bridges. (See proposal
  4541. 126-geoip-fetching.txt for details.)
  4542. o Major features:
  4543. - Include an IP-to-country GeoIP file in the tarball, so bridge
  4544. relays can report sanitized summaries of the usage they're seeing.
  4545. o Minor features:
  4546. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  4547. Robert Hogan. Fixes the first part of bug 681.
  4548. - Make bridge authorities never serve extrainfo docs.
  4549. - Add support to detect Libevent versions in the 1.4.x series
  4550. on mingw.
  4551. - Fix build on gcc 4.3 with --enable-gcc-warnings set.
  4552. - Include a new contrib/tor-exit-notice.html file that exit relay
  4553. operators can put on their website to help reduce abuse queries.
  4554. o Minor bugfixes:
  4555. - When tunneling an encrypted directory connection, and its first
  4556. circuit fails, do not leave it unattached and ask the controller
  4557. to deal. Fixes the second part of bug 681.
  4558. - Make bridge authorities correctly expire old extrainfo documents
  4559. from time to time.
  4560. Changes in version 0.2.0.26-rc - 2008-05-13
  4561. Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
  4562. in Debian's OpenSSL packages. All users running any 0.2.0.x version
  4563. should upgrade, whether they're running Debian or not.
  4564. o Major security fixes:
  4565. - Use new V3 directory authority keys on the tor26, gabelmoo, and
  4566. moria1 V3 directory authorities. The old keys were generated with
  4567. a vulnerable version of Debian's OpenSSL package, and must be
  4568. considered compromised. Other authorities' keys were not generated
  4569. with an affected version of OpenSSL.
  4570. o Major bugfixes:
  4571. - List authority signatures as "unrecognized" based on DirServer
  4572. lines, not on cert cache. Bugfix on 0.2.0.x.
  4573. o Minor features:
  4574. - Add a new V3AuthUseLegacyKey option to make it easier for
  4575. authorities to change their identity keys if they have to.
  4576. Changes in version 0.2.0.25-rc - 2008-04-23
  4577. Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
  4578. o Major bugfixes:
  4579. - Remember to initialize threading before initializing logging.
  4580. Otherwise, many BSD-family implementations will crash hard on
  4581. startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
  4582. o Minor bugfixes:
  4583. - Authorities correctly free policies on bad servers on
  4584. exit. Fixes bug 672. Bugfix on 0.2.0.x.
  4585. Changes in version 0.2.0.24-rc - 2008-04-22
  4586. Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
  4587. v3 directory authority, makes relays with dynamic IP addresses and no
  4588. DirPort notice more quickly when their IP address changes, fixes a few
  4589. rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
  4590. o New directory authorities:
  4591. - Take lefkada out of the list of v3 directory authorities, since
  4592. it has been down for months.
  4593. - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
  4594. authority.
  4595. o Major bugfixes:
  4596. - Detect address changes more quickly on non-directory mirror
  4597. relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
  4598. o Minor features (security):
  4599. - Reject requests for reverse-dns lookup of names that are in
  4600. a private address space. Patch from lodger.
  4601. - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
  4602. from lodger.
  4603. o Minor bugfixes (crashes):
  4604. - Avoid a rare assert that can trigger when Tor doesn't have much
  4605. directory information yet and it tries to fetch a v2 hidden
  4606. service descriptor. Fixes bug 651, reported by nwf.
  4607. - Initialize log mutex before initializing dmalloc. Otherwise,
  4608. running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
  4609. - Use recursive pthread mutexes in order to avoid deadlock when
  4610. logging debug-level messages to a controller. Bug spotted by nwf,
  4611. bugfix on 0.2.0.16-alpha.
  4612. o Minor bugfixes (resource management):
  4613. - Keep address policies from leaking memory: start their refcount
  4614. at 1, not 2. Bugfix on 0.2.0.16-alpha.
  4615. - Free authority certificates on exit, so they don't look like memory
  4616. leaks. Bugfix on 0.2.0.19-alpha.
  4617. - Free static hashtables for policy maps and for TLS connections on
  4618. shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
  4619. - Avoid allocating extra space when computing consensuses on 64-bit
  4620. platforms. Bug spotted by aakova.
  4621. o Minor bugfixes (misc):
  4622. - Do not read the configuration file when we've only been told to
  4623. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  4624. based on patch from Sebastian Hahn.
  4625. - Exit relays that are used as a client can now reach themselves
  4626. using the .exit notation, rather than just launching an infinite
  4627. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  4628. - When attempting to open a logfile fails, tell us why.
  4629. - Fix a dumb bug that was preventing us from knowing that we should
  4630. preemptively build circuits to handle expected directory requests.
  4631. Fixes bug 660. Bugfix on 0.1.2.x.
  4632. - Warn less verbosely about clock skew from netinfo cells from
  4633. untrusted sources. Fixes bug 663.
  4634. - Make controller stream events for DNS requests more consistent,
  4635. by adding "new stream" events for DNS requests, and removing
  4636. spurious "stream closed" events" for cached reverse resolves.
  4637. Patch from mwenge. Fixes bug 646.
  4638. - Correctly notify one-hop connections when a circuit build has
  4639. failed. Possible fix for bug 669. Found by lodger.
  4640. Changes in version 0.2.0.23-rc - 2008-03-24
  4641. Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
  4642. makes bootstrapping faster if the first directory mirror you contact
  4643. is down. The bundles also include the new Vidalia 0.1.2 release.
  4644. o Major bugfixes:
  4645. - When a tunneled directory request is made to a directory server
  4646. that's down, notice after 30 seconds rather than 120 seconds. Also,
  4647. fail any begindir streams that are pending on it, so they can
  4648. retry elsewhere. This was causing multi-minute delays on bootstrap.
  4649. Changes in version 0.2.0.22-rc - 2008-03-18
  4650. Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
  4651. enables encrypted directory connections by default for non-relays, fixes
  4652. some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
  4653. other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
  4654. o Major features:
  4655. - Enable encrypted directory connections by default for non-relays,
  4656. so censor tools that block Tor directory connections based on their
  4657. plaintext patterns will no longer work. This means Tor works in
  4658. certain censored countries by default again.
  4659. o Major bugfixes:
  4660. - Make sure servers always request certificates from clients during
  4661. TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
  4662. - Do not enter a CPU-eating loop when a connection is closed in
  4663. the middle of client-side TLS renegotiation. Fixes bug 622. Bug
  4664. diagnosed by lodger; bugfix on 0.2.0.20-rc.
  4665. - Fix assertion failure that could occur when a blocked circuit
  4666. became unblocked, and it had pending client DNS requests. Bugfix
  4667. on 0.2.0.1-alpha. Fixes bug 632.
  4668. o Minor bugfixes (on 0.1.2.x):
  4669. - Generate "STATUS_SERVER" events rather than misspelled
  4670. "STATUS_SEVER" events. Caught by mwenge.
  4671. - When counting the number of bytes written on a TLS connection,
  4672. look at the BIO actually used for writing to the network, not
  4673. at the BIO used (sometimes) to buffer data for the network.
  4674. Looking at different BIOs could result in write counts on the
  4675. order of ULONG_MAX. Fixes bug 614.
  4676. - On Windows, correctly detect errors when listing the contents of
  4677. a directory. Fix from lodger.
  4678. o Minor bugfixes (on 0.2.0.x):
  4679. - Downgrade "sslv3 alert handshake failure" message to INFO.
  4680. - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
  4681. left BandwidthRate and BandwidthBurst at the default, we would be
  4682. silently limited by those defaults. Now raise them to match the
  4683. RelayBandwidth* values.
  4684. - Fix the SVK version detection logic to work correctly on a branch.
  4685. - Make --enable-openbsd-malloc work correctly on Linux with alpha
  4686. CPUs. Fixes bug 625.
  4687. - Logging functions now check that the passed severity is sane.
  4688. - Use proper log levels in the testsuite call of
  4689. get_interface_address6().
  4690. - When using a nonstandard malloc, do not use the platform values for
  4691. HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
  4692. - Make the openbsd malloc code use 8k pages on alpha CPUs and
  4693. 16k pages on ia64.
  4694. - Detect mismatched page sizes when using --enable-openbsd-malloc.
  4695. - Avoid double-marked-for-close warning when certain kinds of invalid
  4696. .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
  4697. for bug 617. Bugfix on 0.2.0.1-alpha.
  4698. - Make sure that the "NULL-means-reject *:*" convention is followed by
  4699. all the policy manipulation functions, avoiding some possible crash
  4700. bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
  4701. - Fix the implementation of ClientDNSRejectInternalAddresses so that it
  4702. actually works, and doesn't warn about every single reverse lookup.
  4703. Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
  4704. o Minor features:
  4705. - Only log guard node status when guard node status has changed.
  4706. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  4707. make "INFO" 75% less verbose.
  4708. Changes in version 0.2.0.21-rc - 2008-03-02
  4709. Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
  4710. makes Tor work well with Vidalia again, fixes a rare assert bug,
  4711. and fixes a pair of more minor bugs. The bundles also include Vidalia
  4712. 0.1.0 and Torbutton 1.1.16.
  4713. o Major bugfixes:
  4714. - The control port should declare that it requires password auth
  4715. when HashedControlSessionPassword is set too. Patch from Matt Edman;
  4716. bugfix on 0.2.0.20-rc. Fixes bug 615.
  4717. - Downgrade assert in connection_buckets_decrement() to a log message.
  4718. This may help us solve bug 614, and in any case will make its
  4719. symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
  4720. - We were sometimes miscounting the number of bytes read from the
  4721. network, causing our rate limiting to not be followed exactly.
  4722. Bugfix on 0.2.0.16-alpha. Reported by lodger.
  4723. o Minor bugfixes:
  4724. - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
  4725. OpenSSL versions should have been working fine. Diagnosis and patch
  4726. from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
  4727. Bugfix on 0.2.0.20-rc.
  4728. Changes in version 0.2.0.20-rc - 2008-02-24
  4729. Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
  4730. makes more progress towards normalizing Tor's TLS handshake, makes
  4731. hidden services work better again, helps relays bootstrap if they don't
  4732. know their IP address, adds optional support for linking in openbsd's
  4733. allocator or tcmalloc, allows really fast relays to scale past 15000
  4734. sockets, and fixes a bunch of minor bugs reported by Veracode.
  4735. o Major features:
  4736. - Enable the revised TLS handshake based on the one designed by
  4737. Steven Murdoch in proposal 124, as revised in proposal 130. It
  4738. includes version negotiation for OR connections as described in
  4739. proposal 105. The new handshake is meant to be harder for censors
  4740. to fingerprint, and it adds the ability to detect certain kinds of
  4741. man-in-the-middle traffic analysis attacks. The version negotiation
  4742. feature will allow us to improve Tor's link protocol more safely
  4743. in the future.
  4744. - Choose which bridge to use proportional to its advertised bandwidth,
  4745. rather than uniformly at random. This should speed up Tor for
  4746. bridge users. Also do this for people who set StrictEntryNodes.
  4747. - When a TrackHostExits-chosen exit fails too many times in a row,
  4748. stop using it. Bugfix on 0.1.2.x; fixes bug 437.
  4749. o Major bugfixes:
  4750. - Resolved problems with (re-)fetching hidden service descriptors.
  4751. Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
  4752. and 0.2.0.19-alpha.
  4753. - If we only ever used Tor for hidden service lookups or posts, we
  4754. would stop building circuits and start refusing connections after
  4755. 24 hours, since we falsely believed that Tor was dormant. Reported
  4756. by nwf; bugfix on 0.1.2.x.
  4757. - Servers that don't know their own IP address should go to the
  4758. authorities for their first directory fetch, even if their DirPort
  4759. is off or if they don't know they're reachable yet. This will help
  4760. them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
  4761. - When counting the number of open sockets, count not only the number
  4762. of sockets we have received from the socket() call, but also
  4763. the number we've gotten from accept() and socketpair(). This bug
  4764. made us fail to count all sockets that we were using for incoming
  4765. connections. Bugfix on 0.2.0.x.
  4766. - Fix code used to find strings within buffers, when those strings
  4767. are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
  4768. - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
  4769. - Add a new __HashedControlSessionPassword option for controllers
  4770. to use for one-off session password hashes that shouldn't get
  4771. saved to disk by SAVECONF --- Vidalia users were accumulating a
  4772. pile of HashedControlPassword lines in their torrc files, one for
  4773. each time they had restarted Tor and then clicked Save. Make Tor
  4774. automatically convert "HashedControlPassword" to this new option but
  4775. only when it's given on the command line. Partial fix for bug 586.
  4776. o Minor features (performance):
  4777. - Tune parameters for cell pool allocation to minimize amount of
  4778. RAM overhead used.
  4779. - Add OpenBSD malloc code from phk as an optional malloc
  4780. replacement on Linux: some glibc libraries do very poorly
  4781. with Tor's memory allocation patterns. Pass
  4782. --enable-openbsd-malloc to get the replacement malloc code.
  4783. - Add a --with-tcmalloc option to the configure script to link
  4784. against tcmalloc (if present). Does not yet search for
  4785. non-system include paths.
  4786. - Stop imposing an arbitrary maximum on the number of file descriptors
  4787. used for busy servers. Bug reported by Olaf Selke; patch from
  4788. Sebastian Hahn.
  4789. o Minor features (other):
  4790. - When SafeLogging is disabled, log addresses along with all TLS
  4791. errors.
  4792. - When building with --enable-gcc-warnings, check for whether Apple's
  4793. warning "-Wshorten-64-to-32" is available.
  4794. - Add a --passphrase-fd argument to the tor-gencert command for
  4795. scriptability.
  4796. o Minor bugfixes (memory leaks and code problems):
  4797. - We were leaking a file descriptor if Tor started with a zero-length
  4798. cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
  4799. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  4800. Dan Kaminsky.
  4801. - We were comparing the raw BridgePassword entry with a base64'ed
  4802. version of it, when handling a "/tor/networkstatus-bridges"
  4803. directory request. Now compare correctly. Noticed by Veracode.
  4804. - Recover from bad tracked-since value in MTBF-history file.
  4805. Should fix bug 537.
  4806. - Alter the code that tries to recover from unhandled write
  4807. errors, to not try to flush onto a socket that's given us
  4808. unhandled errors. Bugfix on 0.1.2.x.
  4809. - Make Unix controlsockets work correctly on OpenBSD. Patch from
  4810. tup. Bugfix on 0.2.0.3-alpha.
  4811. o Minor bugfixes (other):
  4812. - If we have an extra-info document for our server, always make
  4813. it available on the control port, even if we haven't gotten
  4814. a copy of it from an authority yet. Patch from mwenge.
  4815. - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
  4816. - Directory mirrors no longer include a guess at the client's IP
  4817. address if the connection appears to be coming from the same /24
  4818. network; it was producing too many wrong guesses.
  4819. - Make the new hidden service code respect the SafeLogging setting.
  4820. Bugfix on 0.2.0.x. Patch from Karsten.
  4821. - When starting as an authority, do not overwrite all certificates
  4822. cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
  4823. - If we're trying to flush the last bytes on a connection (for
  4824. example, when answering a directory request), reset the
  4825. time-to-give-up timeout every time we manage to write something
  4826. on the socket. Bugfix on 0.1.2.x.
  4827. - Change the behavior of "getinfo status/good-server-descriptor"
  4828. so it doesn't return failure when any authority disappears.
  4829. - Even though the man page said that "TrackHostExits ." should
  4830. work, nobody had ever implemented it. Bugfix on 0.1.0.x.
  4831. - Report TLS "zero return" case as a "clean close" and "IO error"
  4832. as a "close". Stop calling closes "unexpected closes": existing
  4833. Tors don't use SSL_close(), so having a connection close without
  4834. the TLS shutdown handshake is hardly unexpected.
  4835. - Send NAMESERVER_STATUS messages for a single failed nameserver
  4836. correctly.
  4837. o Code simplifications and refactoring:
  4838. - Remove the tor_strpartition function: its logic was confused,
  4839. and it was only used for one thing that could be implemented far
  4840. more easily.
  4841. Changes in version 0.2.0.19-alpha - 2008-02-09
  4842. Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
  4843. handshake, makes path selection for relays more secure and IP address
  4844. guessing more robust, and generally fixes a lot of bugs in preparation
  4845. for calling the 0.2.0 branch stable.
  4846. o Major features:
  4847. - Do not include recognizeable strings in the commonname part of
  4848. Tor's x509 certificates.
  4849. o Major bugfixes:
  4850. - If we're a relay, avoid picking ourselves as an introduction point,
  4851. a rendezvous point, or as the final hop for internal circuits. Bug
  4852. reported by taranis and lodger. Bugfix on 0.1.2.x.
  4853. - Patch from "Andrew S. Lists" to catch when we contact a directory
  4854. mirror at IP address X and he says we look like we're coming from
  4855. IP address X. Bugfix on 0.1.2.x.
  4856. o Minor features (security):
  4857. - Be more paranoid about overwriting sensitive memory on free(),
  4858. as a defensive programming tactic to ensure forward secrecy.
  4859. o Minor features (directory authority):
  4860. - Actually validate the options passed to AuthDirReject,
  4861. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  4862. - Reject router descriptors with out-of-range bandwidthcapacity or
  4863. bandwidthburst values.
  4864. o Minor features (controller):
  4865. - Reject controller commands over 1MB in length. This keeps rogue
  4866. processes from running us out of memory.
  4867. o Minor features (misc):
  4868. - Give more descriptive well-formedness errors for out-of-range
  4869. hidden service descriptor/protocol versions.
  4870. - Make memory debugging information describe more about history
  4871. of cell allocation, so we can help reduce our memory use.
  4872. o Deprecated features (controller):
  4873. - The status/version/num-versioning and status/version/num-concurring
  4874. GETINFO options are no longer useful in the v3 directory protocol:
  4875. treat them as deprecated, and warn when they're used.
  4876. o Minor bugfixes:
  4877. - When our consensus networkstatus has been expired for a while, stop
  4878. being willing to build circuits using it. Fixes bug 401. Bugfix
  4879. on 0.1.2.x.
  4880. - Directory caches now fetch certificates from all authorities
  4881. listed in a networkstatus consensus, even when they do not
  4882. recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
  4883. - When connecting to a bridge without specifying its key, insert
  4884. the connection into the identity-to-connection map as soon as
  4885. a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
  4886. - Detect versions of OS X where malloc_good_size() is present in the
  4887. library but never actually declared. Resolves bug 587. Bugfix
  4888. on 0.2.0.x.
  4889. - Stop incorrectly truncating zlib responses to directory authority
  4890. signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
  4891. - Stop recommending that every server operator send mail to tor-ops.
  4892. Resolves bug 597. Bugfix on 0.1.2.x.
  4893. - Don't trigger an assert if we start a directory authority with a
  4894. private IP address (like 127.0.0.1).
  4895. - Avoid possible failures when generating a directory with routers
  4896. with over-long versions strings, or too many flags set. Bugfix
  4897. on 0.1.2.x.
  4898. - If an attempt to launch a DNS resolve request over the control
  4899. port fails because we have overrun the limit on the number of
  4900. connections, tell the controller that the request has failed.
  4901. - Avoid using too little bandwidth when our clock skips a few
  4902. seconds. Bugfix on 0.1.2.x.
  4903. - Fix shell error when warning about missing packages in configure
  4904. script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
  4905. - Do not become confused when receiving a spurious VERSIONS-like
  4906. cell from a confused v1 client. Bugfix on 0.2.0.x.
  4907. - Re-fetch v2 (as well as v0) rendezvous descriptors when all
  4908. introduction points for a hidden service have failed. Patch from
  4909. Karsten Loesing. Bugfix on 0.2.0.x.
  4910. o Code simplifications and refactoring:
  4911. - Remove some needless generality from cpuworker code, for improved
  4912. type-safety.
  4913. - Stop overloading the circuit_t.onionskin field for both "onionskin
  4914. from a CREATE cell that we are waiting for a cpuworker to be
  4915. assigned" and "onionskin from an EXTEND cell that we are going to
  4916. send to an OR as soon as we are connected". Might help with bug 600.
  4917. - Add an in-place version of aes_crypt() so that we can avoid doing a
  4918. needless memcpy() call on each cell payload.
  4919. Changes in version 0.2.0.18-alpha - 2008-01-25
  4920. Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
  4921. fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
  4922. that can warn or reject connections to ports generally associated with
  4923. vulnerable-plaintext protocols.
  4924. o New directory authorities:
  4925. - Set up dannenberg (run by CCC) as the sixth v3 directory
  4926. authority.
  4927. o Major bugfixes:
  4928. - Fix a major memory leak when attempting to use the v2 TLS
  4929. handshake code. Bugfix on 0.2.0.x; fixes bug 589.
  4930. - We accidentally enabled the under-development v2 TLS handshake
  4931. code, which was causing log entries like "TLS error while
  4932. renegotiating handshake". Disable it again. Resolves bug 590.
  4933. - We were computing the wrong Content-Length: header for directory
  4934. responses that need to be compressed on the fly, causing clients
  4935. asking for those items to always fail. Bugfix on 0.2.0.x; partially
  4936. fixes bug 593.
  4937. o Major features:
  4938. - Avoid going directly to the directory authorities even if you're a
  4939. relay, if you haven't found yourself reachable yet or if you've
  4940. decided not to advertise your dirport yet. Addresses bug 556.
  4941. - If we've gone 12 hours since our last bandwidth check, and we
  4942. estimate we have less than 50KB bandwidth capacity but we could
  4943. handle more, do another bandwidth test.
  4944. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  4945. Tor can warn and/or refuse connections to ports commonly used with
  4946. vulnerable-plaintext protocols. Currently we warn on ports 23,
  4947. 109, 110, and 143, but we don't reject any.
  4948. o Minor bugfixes:
  4949. - When we setconf ClientOnly to 1, close any current OR and Dir
  4950. listeners. Reported by mwenge.
  4951. - When we get a consensus that's been signed by more people than
  4952. we expect, don't log about it; it's not a big deal. Reported
  4953. by Kyle Williams.
  4954. o Minor features:
  4955. - Don't answer "/tor/networkstatus-bridges" directory requests if
  4956. the request isn't encrypted.
  4957. - Make "ClientOnly 1" config option disable directory ports too.
  4958. - Patches from Karsten Loesing to make v2 hidden services more
  4959. robust: work even when there aren't enough HSDir relays available;
  4960. retry when a v2 rend desc fetch fails; but don't retry if we
  4961. already have a usable v0 rend desc.
  4962. Changes in version 0.2.0.17-alpha - 2008-01-17
  4963. Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
  4964. o Compile fixes:
  4965. - Make the tor-gencert man page get included correctly in the tarball.
  4966. Changes in version 0.2.0.16-alpha - 2008-01-17
  4967. Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
  4968. Loesing, and generally cleans up a lot of features and minor bugs.
  4969. o New directory authorities:
  4970. - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
  4971. authority.
  4972. o Major performance improvements:
  4973. - Switch our old ring buffer implementation for one more like that
  4974. used by free Unix kernels. The wasted space in a buffer with 1mb
  4975. of data will now be more like 8k than 1mb. The new implementation
  4976. also avoids realloc();realloc(); patterns that can contribute to
  4977. memory fragmentation.
  4978. o Minor features:
  4979. - Configuration files now accept C-style strings as values. This
  4980. helps encode characters not allowed in the current configuration
  4981. file format, such as newline or #. Addresses bug 557.
  4982. - Although we fixed bug 539 (where servers would send HTTP status 503
  4983. responses _and_ send a body too), there are still servers out
  4984. there that haven't upgraded. Therefore, make clients parse such
  4985. bodies when they receive them.
  4986. - When we're not serving v2 directory information, there is no reason
  4987. to actually keep any around. Remove the obsolete files and directory
  4988. on startup if they are very old and we aren't going to serve them.
  4989. o Minor performance improvements:
  4990. - Reference-count and share copies of address policy entries; only 5%
  4991. of them were actually distinct.
  4992. - Never walk through the list of logs if we know that no log is
  4993. interested in a given message.
  4994. o Minor bugfixes:
  4995. - When an authority has not signed a consensus, do not try to
  4996. download a nonexistent "certificate with key 00000000". Bugfix
  4997. on 0.2.0.x. Fixes bug 569.
  4998. - Fix a rare assert error when we're closing one of our threads:
  4999. use a mutex to protect the list of logs, so we never write to the
  5000. list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
  5001. bug 575, which is kind of the revenge of bug 222.
  5002. - Patch from Karsten Loesing to complain less at both the client
  5003. and the relay when a relay used to have the HSDir flag but doesn't
  5004. anymore, and we try to upload a hidden service descriptor.
  5005. - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
  5006. 0.2.0.15-alpha.
  5007. - Do not try to download missing certificates until we have tried
  5008. to check our fallback consensus. Fixes bug 583.
  5009. - Make bridges round reported GeoIP stats info up to the nearest
  5010. estimate, not down. Now we can distinguish between "0 people from
  5011. this country" and "1 person from this country".
  5012. - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
  5013. - Avoid possible segfault if key generation fails in
  5014. crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
  5015. - Avoid segfault in the case where a badly behaved v2 versioning
  5016. directory sends a signed networkstatus with missing client-versions.
  5017. Bugfix on 0.1.2.
  5018. - Avoid segfaults on certain complex invocations of
  5019. router_get_by_hexdigest(). Bugfix on 0.1.2.
  5020. - Correct bad index on array access in parse_http_time(). Bugfix
  5021. on 0.2.0.
  5022. - Fix possible bug in vote generation when server versions are present
  5023. but client versions are not.
  5024. - Fix rare bug on REDIRECTSTREAM control command when called with no
  5025. port set: it could erroneously report an error when none had
  5026. happened.
  5027. - Avoid bogus crash-prone, leak-prone tor_realloc when we're
  5028. compressing large objects and find ourselves with more than 4k
  5029. left over. Bugfix on 0.2.0.
  5030. - Fix a small memory leak when setting up a hidden service.
  5031. - Fix a few memory leaks that could in theory happen under bizarre
  5032. error conditions.
  5033. - Fix an assert if we post a general-purpose descriptor via the
  5034. control port but that descriptor isn't mentioned in our current
  5035. network consensus. Bug reported by Jon McLachlan; bugfix on
  5036. 0.2.0.9-alpha.
  5037. o Minor features (controller):
  5038. - Get NS events working again. Patch from tup.
  5039. - The GETCONF command now escapes and quotes configuration values
  5040. that don't otherwise fit into the torrc file.
  5041. - The SETCONF command now handles quoted values correctly.
  5042. o Minor features (directory authorities):
  5043. - New configuration options to override default maximum number of
  5044. servers allowed on a single IP address. This is important for
  5045. running a test network on a single host.
  5046. - Actually implement the -s option to tor-gencert.
  5047. - Add a manual page for tor-gencert.
  5048. o Minor features (bridges):
  5049. - Bridge authorities no longer serve bridge descriptors over
  5050. unencrypted connections.
  5051. o Minor features (other):
  5052. - Add hidden services and DNSPorts to the list of things that make
  5053. Tor accept that it has running ports. Change starting Tor with no
  5054. ports from a fatal error to a warning; we might change it back if
  5055. this turns out to confuse anybody. Fixes bug 579.
  5056. Changes in version 0.1.2.19 - 2008-01-17
  5057. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  5058. exit policy a little bit more conservative so it's safer to run an
  5059. exit relay on a home system, and fixes a variety of smaller issues.
  5060. o Security fixes:
  5061. - Exit policies now reject connections that are addressed to a
  5062. relay's public (external) IP address too, unless
  5063. ExitPolicyRejectPrivate is turned off. We do this because too
  5064. many relays are running nearby to services that trust them based
  5065. on network address.
  5066. o Major bugfixes:
  5067. - When the clock jumps forward a lot, do not allow the bandwidth
  5068. buckets to become negative. Fixes bug 544.
  5069. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  5070. on every successful resolve. Reported by Mike Perry.
  5071. - Purge old entries from the "rephist" database and the hidden
  5072. service descriptor database even when DirPort is zero.
  5073. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  5074. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  5075. crashing or mis-answering these requests.
  5076. - When we decide to send a 503 response to a request for servers, do
  5077. not then also send the server descriptors: this defeats the whole
  5078. purpose. Fixes bug 539.
  5079. o Minor bugfixes:
  5080. - Changing the ExitPolicyRejectPrivate setting should cause us to
  5081. rebuild our server descriptor.
  5082. - Fix handling of hex nicknames when answering controller requests for
  5083. networkstatus by name, or when deciding whether to warn about
  5084. unknown routers in a config option. (Patch from mwenge.)
  5085. - Fix a couple of hard-to-trigger autoconf problems that could result
  5086. in really weird results on platforms whose sys/types.h files define
  5087. nonstandard integer types.
  5088. - Don't try to create the datadir when running --verify-config or
  5089. --hash-password. Resolves bug 540.
  5090. - If we were having problems getting a particular descriptor from the
  5091. directory caches, and then we learned about a new descriptor for
  5092. that router, we weren't resetting our failure count. Reported
  5093. by lodger.
  5094. - Although we fixed bug 539 (where servers would send HTTP status 503
  5095. responses _and_ send a body too), there are still servers out there
  5096. that haven't upgraded. Therefore, make clients parse such bodies
  5097. when they receive them.
  5098. - Run correctly on systems where rlim_t is larger than unsigned long.
  5099. This includes some 64-bit systems.
  5100. - Run correctly on platforms (like some versions of OS X 10.5) where
  5101. the real limit for number of open files is OPEN_FILES, not rlim_max
  5102. from getrlimit(RLIMIT_NOFILES).
  5103. - Avoid a spurious free on base64 failure.
  5104. - Avoid segfaults on certain complex invocations of
  5105. router_get_by_hexdigest().
  5106. - Fix rare bug on REDIRECTSTREAM control command when called with no
  5107. port set: it could erroneously report an error when none had
  5108. happened.
  5109. Changes in version 0.2.0.15-alpha - 2007-12-25
  5110. Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
  5111. features added in 0.2.0.13-alpha.
  5112. o Major bugfixes:
  5113. - Fix several remotely triggerable asserts based on DirPort requests
  5114. for a v2 or v3 networkstatus object before we were prepared. This
  5115. was particularly bad for 0.2.0.13 and later bridge relays, who
  5116. would never have a v2 networkstatus and would thus always crash
  5117. when used. Bugfixes on 0.2.0.x.
  5118. - Estimate the v3 networkstatus size more accurately, rather than
  5119. estimating it at zero bytes and giving it artificially high priority
  5120. compared to other directory requests. Bugfix on 0.2.0.x.
  5121. o Minor bugfixes:
  5122. - Fix configure.in logic for cross-compilation.
  5123. - When we load a bridge descriptor from the cache, and it was
  5124. previously unreachable, mark it as retriable so we won't just
  5125. ignore it. Also, try fetching a new copy immediately. Bugfixes
  5126. on 0.2.0.13-alpha.
  5127. - The bridge GeoIP stats were counting other relays, for example
  5128. self-reachability and authority-reachability tests.
  5129. o Minor features:
  5130. - Support compilation to target iPhone; patch from cjacker huang.
  5131. To build for iPhone, pass the --enable-iphone option to configure.
  5132. Changes in version 0.2.0.14-alpha - 2007-12-23
  5133. o Major bugfixes:
  5134. - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
  5135. without a datadirectory from a previous Tor install. Reported
  5136. by Zax.
  5137. - Fix a crash when we fetch a descriptor that turns out to be
  5138. unexpected (it used to be in our networkstatus when we started
  5139. fetching it, but it isn't in our current networkstatus), and we
  5140. aren't using bridges. Bugfix on 0.2.0.x.
  5141. - Fix a crash when accessing hidden services: it would work the first
  5142. time you use a given introduction point for your service, but
  5143. on subsequent requests we'd be using garbage memory. Fixed by
  5144. Karsten Loesing. Bugfix on 0.2.0.13-alpha.
  5145. - Fix a crash when we load a bridge descriptor from disk but we don't
  5146. currently have a Bridge line for it in our torrc. Bugfix on
  5147. 0.2.0.13-alpha.
  5148. o Major features:
  5149. - If bridge authorities set BridgePassword, they will serve a
  5150. snapshot of known bridge routerstatuses from their DirPort to
  5151. anybody who knows that password. Unset by default.
  5152. o Minor bugfixes:
  5153. - Make the unit tests build again.
  5154. - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
  5155. - Make PublishServerDescriptor default to 1, so the default doesn't
  5156. have to change as we invent new directory protocol versions.
  5157. - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
  5158. be included unless sys/time.h is already included. Fixes
  5159. bug 553. Bugfix on 0.2.0.x.
  5160. - If we receive a general-purpose descriptor and then receive an
  5161. identical bridge-purpose descriptor soon after, don't discard
  5162. the next one as a duplicate.
  5163. o Minor features:
  5164. - If BridgeRelay is set to 1, then the default for
  5165. PublishServerDescriptor is now "bridge" rather than "v2,v3".
  5166. - If the user sets RelayBandwidthRate but doesn't set
  5167. RelayBandwidthBurst, then make them equal rather than erroring out.
  5168. Changes in version 0.2.0.13-alpha - 2007-12-21
  5169. Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
  5170. Goodell, fixes many more bugs, and adds a lot of infrastructure for
  5171. upcoming features.
  5172. o New directory authorities:
  5173. - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
  5174. authority.
  5175. o Major bugfixes:
  5176. - Only update guard status (usable / not usable) once we have
  5177. enough directory information. This was causing us to always pick
  5178. two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
  5179. causing us to discard all our guards on startup if we hadn't been
  5180. running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
  5181. - Purge old entries from the "rephist" database and the hidden
  5182. service descriptor databases even when DirPort is zero. Bugfix
  5183. on 0.1.2.x.
  5184. - We were ignoring our RelayBandwidthRate for the first 30 seconds
  5185. after opening a circuit -- even a relayed circuit. Bugfix on
  5186. 0.2.0.3-alpha.
  5187. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  5188. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  5189. crashing or mis-answering these types of requests.
  5190. - Relays were publishing their server descriptor to v1 and v2
  5191. directory authorities, but they didn't try publishing to v3-only
  5192. authorities. Fix this; and also stop publishing to v1 authorities.
  5193. Bugfix on 0.2.0.x.
  5194. - When we were reading router descriptors from cache, we were ignoring
  5195. the annotations -- so for example we were reading in bridge-purpose
  5196. descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
  5197. - When we decided to send a 503 response to a request for servers, we
  5198. were then also sending the server descriptors: this defeats the
  5199. whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
  5200. o Major features:
  5201. - Bridge relays now behave like clients with respect to time
  5202. intervals for downloading new consensus documents -- otherwise they
  5203. stand out. Bridge users now wait until the end of the interval,
  5204. so their bridge relay will be sure to have a new consensus document.
  5205. - Three new config options (AlternateDirAuthority,
  5206. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  5207. user selectively replace the default directory authorities by type,
  5208. rather than the all-or-nothing replacement that DirServer offers.
  5209. - Tor can now be configured to read a GeoIP file from disk in one
  5210. of two formats. This can be used by controllers to map IP addresses
  5211. to countries. Eventually, it may support exit-by-country.
  5212. - When possible, bridge relays remember which countries users
  5213. are coming from, and report aggregate information in their
  5214. extra-info documents, so that the bridge authorities can learn
  5215. where Tor is blocked.
  5216. - Bridge directory authorities now do reachability testing on the
  5217. bridges they know. They provide router status summaries to the
  5218. controller via "getinfo ns/purpose/bridge", and also dump summaries
  5219. to a file periodically.
  5220. - Stop fetching directory info so aggressively if your DirPort is
  5221. on but your ORPort is off; stop fetching v2 dir info entirely.
  5222. You can override these choices with the new FetchDirInfoEarly
  5223. config option.
  5224. o Minor bugfixes:
  5225. - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
  5226. consensus documents when there are too many relays at a single
  5227. IP address. Now clear it in v2 network status documents too, and
  5228. also clear it in routerinfo_t when the relay is no longer listed
  5229. in the relevant networkstatus document.
  5230. - Don't crash if we get an unexpected value for the
  5231. PublishServerDescriptor config option. Reported by Matt Edman;
  5232. bugfix on 0.2.0.9-alpha.
  5233. - Our new v2 hidden service descriptor format allows descriptors
  5234. that have no introduction points. But Tor crashed when we tried
  5235. to build a descriptor with no intro points (and it would have
  5236. crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
  5237. by Karsten Loesing.
  5238. - Fix building with dmalloc 5.5.2 with glibc.
  5239. - Reject uploaded descriptors and extrainfo documents if they're
  5240. huge. Otherwise we'll cache them all over the network and it'll
  5241. clog everything up. Reported by Aljosha Judmayer.
  5242. - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
  5243. via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
  5244. - When the DANGEROUS_VERSION controller status event told us we're
  5245. running an obsolete version, it used the string "OLD" to describe
  5246. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  5247. "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
  5248. - If we can't expand our list of entry guards (e.g. because we're
  5249. using bridges or we have StrictEntryNodes set), don't mark relays
  5250. down when they fail a directory request. Otherwise we're too quick
  5251. to mark all our entry points down. Bugfix on 0.1.2.x.
  5252. - Fix handling of hex nicknames when answering controller requests for
  5253. networkstatus by name, or when deciding whether to warn about unknown
  5254. routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
  5255. - Fix a couple of hard-to-trigger autoconf problems that could result
  5256. in really weird results on platforms whose sys/types.h files define
  5257. nonstandard integer types. Bugfix on 0.1.2.x.
  5258. - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
  5259. - Don't crash on name lookup when we have no current consensus. Fixes
  5260. bug 538; bugfix on 0.2.0.x.
  5261. - Only Tors that want to mirror the v2 directory info should
  5262. create the "cached-status" directory in their datadir. (All Tors
  5263. used to create it.) Bugfix on 0.2.0.9-alpha.
  5264. - Directory authorities should only automatically download Extra Info
  5265. documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
  5266. o Minor features:
  5267. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  5268. consumers. (We already do this on HUP.)
  5269. - Authorities and caches fetch the v2 networkstatus documents
  5270. less often, now that v3 is encouraged.
  5271. - Add a new config option BridgeRelay that specifies you want to
  5272. be a bridge relay. Right now the only difference is that it makes
  5273. you answer begin_dir requests, and it makes you cache dir info,
  5274. even if your DirPort isn't on.
  5275. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  5276. ask about source, timestamp of arrival, purpose, etc. We need
  5277. something like this to help Vidalia not do GeoIP lookups on bridge
  5278. addresses.
  5279. - Allow multiple HashedControlPassword config lines, to support
  5280. multiple controller passwords.
  5281. - Authorities now decide whether they're authoritative for a given
  5282. router based on the router's purpose.
  5283. - New config options AuthDirBadDir and AuthDirListBadDirs for
  5284. authorities to mark certain relays as "bad directories" in the
  5285. networkstatus documents. Also supports the "!baddir" directive in
  5286. the approved-routers file.
  5287. Changes in version 0.2.0.12-alpha - 2007-11-16
  5288. This twelfth development snapshot fixes some more build problems as
  5289. well as a few minor bugs.
  5290. o Compile fixes:
  5291. - Make it build on OpenBSD again. Patch from tup.
  5292. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
  5293. package-building for Red Hat, OS X, etc.
  5294. o Minor bugfixes (on 0.1.2.x):
  5295. - Changing the ExitPolicyRejectPrivate setting should cause us to
  5296. rebuild our server descriptor.
  5297. o Minor bugfixes (on 0.2.0.x):
  5298. - When we're lacking a consensus, don't try to perform rendezvous
  5299. operations. Reported by Karsten Loesing.
  5300. - Fix a small memory leak whenever we decide against using a
  5301. newly picked entry guard. Reported by Mike Perry.
  5302. - When authorities detected more than two relays running on the same
  5303. IP address, they were clearing all the status flags but forgetting
  5304. to clear the "hsdir" flag. So clients were being told that a
  5305. given relay was the right choice for a v2 hsdir lookup, yet they
  5306. never had its descriptor because it was marked as 'not running'
  5307. in the consensus.
  5308. - If we're trying to fetch a bridge descriptor and there's no way
  5309. the bridge authority could help us (for example, we don't know
  5310. a digest, or there is no bridge authority), don't be so eager to
  5311. fall back to asking the bridge authority.
  5312. - If we're using bridges or have strictentrynodes set, and our
  5313. chosen exit is in the same family as all our bridges/entry guards,
  5314. then be flexible about families.
  5315. o Minor features:
  5316. - When we negotiate a v2 link-layer connection (not yet implemented),
  5317. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  5318. negotiated a v1 connection for their next step. Initial code for
  5319. proposal 110.
  5320. Changes in version 0.2.0.11-alpha - 2007-11-12
  5321. This eleventh development snapshot fixes some build problems with
  5322. the previous snapshot. It also includes a more secure-by-default exit
  5323. policy for relays, fixes an enormous memory leak for exit relays, and
  5324. fixes another bug where servers were falling out of the directory list.
  5325. o Security fixes:
  5326. - Exit policies now reject connections that are addressed to a
  5327. relay's public (external) IP address too, unless
  5328. ExitPolicyRejectPrivate is turned off. We do this because too
  5329. many relays are running nearby to services that trust them based
  5330. on network address. Bugfix on 0.1.2.x.
  5331. o Major bugfixes:
  5332. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  5333. on every successful resolve. Reported by Mike Perry; bugfix
  5334. on 0.1.2.x.
  5335. - On authorities, never downgrade to old router descriptors simply
  5336. because they're listed in the consensus. This created a catch-22
  5337. where we wouldn't list a new descriptor because there was an
  5338. old one in the consensus, and we couldn't get the new one in the
  5339. consensus because we wouldn't list it. Possible fix for bug 548.
  5340. Also, this might cause bug 543 to appear on authorities; if so,
  5341. we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
  5342. o Packaging fixes on 0.2.0.10-alpha:
  5343. - We were including instructions about what to do with the
  5344. src/config/fallback-consensus file, but we weren't actually
  5345. including it in the tarball. Disable all of that for now.
  5346. o Minor features:
  5347. - Allow people to say PreferTunnelledDirConns rather than
  5348. PreferTunneledDirConns, for those alternate-spellers out there.
  5349. o Minor bugfixes:
  5350. - Don't reevaluate all the information from our consensus document
  5351. just because we've downloaded a v2 networkstatus that we intend
  5352. to cache. Fixes bug 545; bugfix on 0.2.0.x.
  5353. Changes in version 0.2.0.10-alpha - 2007-11-10
  5354. This tenth development snapshot adds a third v3 directory authority
  5355. run by Mike Perry, adds most of Karsten Loesing's new hidden service
  5356. descriptor format, fixes a bad crash bug and new bridge bugs introduced
  5357. in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
  5358. fixes some minor memory leaks in previous 0.2.0.x snapshots, and
  5359. addresses many more minor issues.
  5360. o New directory authorities:
  5361. - Set up ides (run by Mike Perry) as the third v3 directory authority.
  5362. o Major features:
  5363. - Allow tunnelled directory connections to ask for an encrypted
  5364. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  5365. connection independently. Now we can make anonymized begin_dir
  5366. connections for (e.g.) more secure hidden service posting and
  5367. fetching.
  5368. - More progress on proposal 114: code from Karsten Loesing to
  5369. implement new hidden service descriptor format.
  5370. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  5371. accommodate the growing number of servers that use the default
  5372. and are reaching it.
  5373. - Directory authorities use a new formula for selecting which nodes
  5374. to advertise as Guards: they must be in the top 7/8 in terms of
  5375. how long we have known about them, and above the median of those
  5376. nodes in terms of weighted fractional uptime.
  5377. - Make "not enough dir info yet" warnings describe *why* Tor feels
  5378. it doesn't have enough directory info yet.
  5379. o Major bugfixes:
  5380. - Stop servers from crashing if they set a Family option (or
  5381. maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
  5382. by Fabian Keil.
  5383. - Make bridge users work again -- the move to v3 directories in
  5384. 0.2.0.9-alpha had introduced a number of bugs that made bridges
  5385. no longer work for clients.
  5386. - When the clock jumps forward a lot, do not allow the bandwidth
  5387. buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
  5388. o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
  5389. - When the consensus lists a router descriptor that we previously were
  5390. mirroring, but that we considered non-canonical, reload the
  5391. descriptor as canonical. This fixes bug 543 where Tor servers
  5392. would start complaining after a few days that they don't have
  5393. enough directory information to build a circuit.
  5394. - Consider replacing the current consensus when certificates arrive
  5395. that make the pending consensus valid. Previously, we were only
  5396. considering replacement when the new certs _didn't_ help.
  5397. - Fix an assert error on startup if we didn't already have the
  5398. consensus and certs cached in our datadirectory: we were caching
  5399. the consensus in consensus_waiting_for_certs but then free'ing it
  5400. right after.
  5401. - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
  5402. Request) if we need more v3 certs but we've already got pending
  5403. requests for all of them.
  5404. - Correctly back off from failing certificate downloads. Fixes
  5405. bug 546.
  5406. - Authorities don't vote on the Running flag if they have been running
  5407. for less than 30 minutes themselves. Fixes bug 547, where a newly
  5408. started authority would vote that everyone was down.
  5409. o New requirements:
  5410. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  5411. it, it had no AES, and it hasn't seen any security patches since
  5412. 2004.
  5413. o Minor features:
  5414. - Clients now hold circuitless TLS connections open for 1.5 times
  5415. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  5416. rebuild a new circuit over them within that timeframe. Previously,
  5417. they held them open only for KeepalivePeriod (5 minutes).
  5418. - Use "If-Modified-Since" to avoid retrieving consensus
  5419. networkstatuses that we already have.
  5420. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  5421. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  5422. we start knowing some directory caches.
  5423. - When we receive a consensus from the future, warn about skew.
  5424. - Improve skew reporting: try to give the user a better log message
  5425. about how skewed they are, and how much this matters.
  5426. - When we have a certificate for an authority, believe that
  5427. certificate's claims about the authority's IP address.
  5428. - New --quiet command-line option to suppress the default console log.
  5429. Good in combination with --hash-password.
  5430. - Authorities send back an X-Descriptor-Not-New header in response to
  5431. an accepted-but-discarded descriptor upload. Partially implements
  5432. fix for bug 535.
  5433. - Make the log message for "tls error. breaking." more useful.
  5434. - Better log messages about certificate downloads, to attempt to
  5435. track down the second incarnation of bug 546.
  5436. o Minor features (bridges):
  5437. - If bridge users set UpdateBridgesFromAuthority, but the digest
  5438. they ask for is a 404 from the bridge authority, they now fall
  5439. back to trying the bridge directly.
  5440. - Bridges now use begin_dir to publish their server descriptor to
  5441. the bridge authority, even when they haven't set TunnelDirConns.
  5442. o Minor features (controller):
  5443. - When reporting clock skew, and we know that the clock is _at least
  5444. as skewed_ as some value, but we don't know the actual value,
  5445. report the value as a "minimum skew."
  5446. o Utilities:
  5447. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  5448. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  5449. Perry.
  5450. o Minor bugfixes:
  5451. - Refuse to start if both ORPort and UseBridges are set. Bugfix
  5452. on 0.2.0.x, suggested by Matt Edman.
  5453. - Don't stop fetching descriptors when FetchUselessDescriptors is
  5454. set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
  5455. reported by tup and ioerror.
  5456. - Better log message on vote from unknown authority.
  5457. - Don't log "Launching 0 request for 0 router" message.
  5458. o Minor bugfixes (memory leaks):
  5459. - Stop leaking memory every time we parse a v3 certificate. Bugfix
  5460. on 0.2.0.1-alpha.
  5461. - Stop leaking memory every time we load a v3 certificate. Bugfix
  5462. on 0.2.0.1-alpha. Fixes bug 536.
  5463. - Stop leaking a cached networkstatus on exit. Bugfix on
  5464. 0.2.0.3-alpha.
  5465. - Stop leaking voter information every time we free a consensus.
  5466. Bugfix on 0.2.0.3-alpha.
  5467. - Stop leaking signed data every time we check a voter signature.
  5468. Bugfix on 0.2.0.3-alpha.
  5469. - Stop leaking a signature every time we fail to parse a consensus or
  5470. a vote. Bugfix on 0.2.0.3-alpha.
  5471. - Stop leaking v2_download_status_map on shutdown. Bugfix on
  5472. 0.2.0.9-alpha.
  5473. - Stop leaking conn->nickname every time we make a connection to a
  5474. Tor relay without knowing its expected identity digest (e.g. when
  5475. using bridges). Bugfix on 0.2.0.3-alpha.
  5476. - Minor bugfixes (portability):
  5477. - Run correctly on platforms where rlim_t is larger than unsigned
  5478. long, and/or where the real limit for number of open files is
  5479. OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
  5480. particular, these may be needed for OS X 10.5.
  5481. Changes in version 0.1.2.18 - 2007-10-28
  5482. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  5483. hidden service introduction that were causing huge delays, and a big
  5484. bug that was causing some servers to disappear from the network status
  5485. lists for a few hours each day.
  5486. o Major bugfixes (crashes):
  5487. - If a connection is shut down abruptly because of something that
  5488. happened inside connection_flushed_some(), do not call
  5489. connection_finished_flushing(). Should fix bug 451:
  5490. "connection_stop_writing: Assertion conn->write_event failed"
  5491. Bugfix on 0.1.2.7-alpha.
  5492. - Fix possible segfaults in functions called from
  5493. rend_process_relay_cell().
  5494. o Major bugfixes (hidden services):
  5495. - Hidden services were choosing introduction points uniquely by
  5496. hexdigest, but when constructing the hidden service descriptor
  5497. they merely wrote the (potentially ambiguous) nickname.
  5498. - Clients now use the v2 intro format for hidden service
  5499. connections: they specify their chosen rendezvous point by identity
  5500. digest rather than by (potentially ambiguous) nickname. These
  5501. changes could speed up hidden service connections dramatically.
  5502. o Major bugfixes (other):
  5503. - Stop publishing a new server descriptor just because we get a
  5504. HUP signal. This led (in a roundabout way) to some servers getting
  5505. dropped from the networkstatus lists for a few hours each day.
  5506. - When looking for a circuit to cannibalize, consider family as well
  5507. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  5508. circuit cannibalization).
  5509. - When a router wasn't listed in a new networkstatus, we were leaving
  5510. the flags for that router alone -- meaning it remained Named,
  5511. Running, etc -- even though absence from the networkstatus means
  5512. that it shouldn't be considered to exist at all anymore. Now we
  5513. clear all the flags for routers that fall out of the networkstatus
  5514. consensus. Fixes bug 529.
  5515. o Minor bugfixes:
  5516. - Don't try to access (or alter) the state file when running
  5517. --list-fingerprint or --verify-config or --hash-password. Resolves
  5518. bug 499.
  5519. - When generating information telling us how to extend to a given
  5520. router, do not try to include the nickname if it is
  5521. absent. Resolves bug 467.
  5522. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  5523. a way to trigger this remotely.)
  5524. - When sending a status event to the controller telling it that an
  5525. OR address is reachable, set the port correctly. (Previously we
  5526. were reporting the dir port.)
  5527. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  5528. command. Bugfix on 0.1.2.17.
  5529. - When loading bandwidth history, do not believe any information in
  5530. the future. Fixes bug 434.
  5531. - When loading entry guard information, do not believe any information
  5532. in the future.
  5533. - When we have our clock set far in the future and generate an
  5534. onion key, then re-set our clock to be correct, we should not stop
  5535. the onion key from getting rotated.
  5536. - On some platforms, accept() can return a broken address. Detect
  5537. this more quietly, and deal accordingly. Fixes bug 483.
  5538. - It's not actually an error to find a non-pending entry in the DNS
  5539. cache when canceling a pending resolve. Don't log unless stuff
  5540. is fishy. Resolves bug 463.
  5541. - Don't reset trusted dir server list when we set a configuration
  5542. option. Patch from Robert Hogan.
  5543. - Don't try to create the datadir when running --verify-config or
  5544. --hash-password. Resolves bug 540.
  5545. Changes in version 0.2.0.9-alpha - 2007-10-24
  5546. This ninth development snapshot switches clients to the new v3 directory
  5547. system; allows servers to be listed in the network status even when they
  5548. have the same nickname as a registered server; and fixes many other
  5549. bugs including a big one that was causing some servers to disappear
  5550. from the network status lists for a few hours each day.
  5551. o Major features (directory system):
  5552. - Clients now download v3 consensus networkstatus documents instead
  5553. of v2 networkstatus documents. Clients and caches now base their
  5554. opinions about routers on these consensus documents. Clients only
  5555. download router descriptors listed in the consensus.
  5556. - Authorities now list servers who have the same nickname as
  5557. a different named server, but list them with a new flag,
  5558. "Unnamed". Now we can list servers that happen to pick the same
  5559. nickname as a server that registered two years ago and then
  5560. disappeared. Partially implements proposal 122.
  5561. - If the consensus lists a router as "Unnamed", the name is assigned
  5562. to a different router: do not identify the router by that name.
  5563. Partially implements proposal 122.
  5564. - Authorities can now come to a consensus on which method to use to
  5565. compute the consensus. This gives us forward compatibility.
  5566. o Major bugfixes:
  5567. - Stop publishing a new server descriptor just because we HUP or
  5568. when we find our DirPort to be reachable but won't actually publish
  5569. it. New descriptors without any real changes are dropped by the
  5570. authorities, and can screw up our "publish every 18 hours" schedule.
  5571. Bugfix on 0.1.2.x.
  5572. - When a router wasn't listed in a new networkstatus, we were leaving
  5573. the flags for that router alone -- meaning it remained Named,
  5574. Running, etc -- even though absence from the networkstatus means
  5575. that it shouldn't be considered to exist at all anymore. Now we
  5576. clear all the flags for routers that fall out of the networkstatus
  5577. consensus. Fixes bug 529; bugfix on 0.1.2.x.
  5578. - Fix awful behavior in DownloadExtraInfo option where we'd fetch
  5579. extrainfo documents and then discard them immediately for not
  5580. matching the latest router. Bugfix on 0.2.0.1-alpha.
  5581. o Minor features (v3 directory protocol):
  5582. - Allow tor-gencert to generate a new certificate without replacing
  5583. the signing key.
  5584. - Allow certificates to include an address.
  5585. - When we change our directory-cache settings, reschedule all voting
  5586. and download operations.
  5587. - Reattempt certificate downloads immediately on failure, as long as
  5588. we haven't failed a threshold number of times yet.
  5589. - Delay retrying consensus downloads while we're downloading
  5590. certificates to verify the one we just got. Also, count getting a
  5591. consensus that we already have (or one that isn't valid) as a failure,
  5592. and count failing to get the certificates after 20 minutes as a
  5593. failure.
  5594. - Build circuits and download descriptors even if our consensus is a
  5595. little expired. (This feature will go away once authorities are
  5596. more reliable.)
  5597. o Minor features (router descriptor cache):
  5598. - If we find a cached-routers file that's been sitting around for more
  5599. than 28 days unmodified, then most likely it's a leftover from
  5600. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  5601. routers anyway.
  5602. - When we (as a cache) download a descriptor because it was listed
  5603. in a consensus, remember when the consensus was supposed to expire,
  5604. and don't expire the descriptor until then.
  5605. o Minor features (performance):
  5606. - Call routerlist_remove_old_routers() much less often. This should
  5607. speed startup, especially on directory caches.
  5608. - Don't try to launch new descriptor downloads quite so often when we
  5609. already have enough directory information to build circuits.
  5610. - Base64 decoding was actually showing up on our profile when parsing
  5611. the initial descriptor file; switch to an in-process all-at-once
  5612. implementation that's about 3.5x times faster than calling out to
  5613. OpenSSL.
  5614. o Minor features (compilation):
  5615. - Detect non-ASCII platforms (if any still exist) and refuse to
  5616. build there: some of our code assumes that 'A' is 65 and so on.
  5617. o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
  5618. - Make the "next period" votes into "current period" votes immediately
  5619. after publishing the consensus; avoid a heisenbug that made them
  5620. stick around indefinitely.
  5621. - When we discard a vote as a duplicate, do not report this as
  5622. an error.
  5623. - Treat missing v3 keys or certificates as an error when running as a
  5624. v3 directory authority.
  5625. - When we're configured to be a v3 authority, but we're only listed
  5626. as a non-v3 authority in our DirServer line for ourself, correct
  5627. the listing.
  5628. - If an authority doesn't have a qualified hostname, just put
  5629. its address in the vote. This fixes the problem where we referred to
  5630. "moria on moria:9031."
  5631. - Distinguish between detached signatures for the wrong period, and
  5632. detached signatures for a divergent vote.
  5633. - Fix a small memory leak when computing a consensus.
  5634. - When there's no concensus, we were forming a vote every 30
  5635. minutes, but writing the "valid-after" line in our vote based
  5636. on our configured V3AuthVotingInterval: so unless the intervals
  5637. matched up, we immediately rejected our own vote because it didn't
  5638. start at the voting interval that caused us to construct a vote.
  5639. o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
  5640. - Delete unverified-consensus when the real consensus is set.
  5641. - Consider retrying a consensus networkstatus fetch immediately
  5642. after one fails: don't wait 60 seconds to notice.
  5643. - When fetching a consensus as a cache, wait until a newer consensus
  5644. should exist before trying to replace the current one.
  5645. - Use a more forgiving schedule for retrying failed consensus
  5646. downloads than for other types.
  5647. o Minor bugfixes (other directory issues):
  5648. - Correct the implementation of "download votes by digest." Bugfix on
  5649. 0.2.0.8-alpha.
  5650. - Authorities no longer send back "400 you're unreachable please fix
  5651. it" errors to Tor servers that aren't online all the time. We're
  5652. supposed to tolerate these servers now. Bugfix on 0.1.2.x.
  5653. o Minor bugfixes (controller):
  5654. - Don't reset trusted dir server list when we set a configuration
  5655. option. Patch from Robert Hogan; bugfix on 0.1.2.x.
  5656. - Respond to INT and TERM SIGNAL commands before we execute the
  5657. signal, in case the signal shuts us down. We had a patch in
  5658. 0.1.2.1-alpha that tried to do this by queueing the response on
  5659. the connection's buffer before shutting down, but that really
  5660. isn't the same thing at all. Bug located by Matt Edman.
  5661. o Minor bugfixes (misc):
  5662. - Correctly check for bad options to the "PublishServerDescriptor"
  5663. config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
  5664. - Stop leaking memory on failing case of base32_decode, and make
  5665. it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
  5666. - Don't try to download extrainfo documents when we're trying to
  5667. fetch enough directory info to build a circuit: having enough
  5668. info should get priority. Bugfix on 0.2.0.x.
  5669. - Don't complain that "your server has not managed to confirm that its
  5670. ports are reachable" if we haven't been able to build any circuits
  5671. yet. Bug found by spending four hours without a v3 consensus. Bugfix
  5672. on 0.1.2.x.
  5673. - Detect the reason for failing to mmap a descriptor file we just
  5674. wrote, and give a more useful log message. Fixes bug 533. Bugfix
  5675. on 0.1.2.x.
  5676. o Code simplifications and refactoring:
  5677. - Remove support for the old bw_accounting file: we've been storing
  5678. bandwidth accounting information in the state file since
  5679. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  5680. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  5681. downgrade to 0.1.1.x or earlier.
  5682. - New convenience code to locate a file within the DataDirectory.
  5683. - Move non-authority functionality out of dirvote.c.
  5684. - Refactor the arguments for router_pick_{directory_|trusteddir}server
  5685. so that they all take the same named flags.
  5686. o Utilities
  5687. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  5688. Unix users an easy way to script their Tor process (e.g. by
  5689. adjusting bandwidth based on the time of the day).
  5690. Changes in version 0.2.0.8-alpha - 2007-10-12
  5691. This eighth development snapshot fixes a crash bug that's been bothering
  5692. us since February 2007, lets bridge authorities store a list of bridge
  5693. descriptors they've seen, gets v3 directory voting closer to working,
  5694. starts caching v3 directory consensus documents on directory mirrors,
  5695. and fixes a variety of smaller issues including some minor memory leaks.
  5696. o Major features (router descriptor cache):
  5697. - Store routers in a file called cached-descriptors instead of in
  5698. cached-routers. Initialize cached-descriptors from cached-routers
  5699. if the old format is around. The new format allows us to store
  5700. annotations along with descriptors.
  5701. - Use annotations to record the time we received each descriptor, its
  5702. source, and its purpose.
  5703. - Disable the SETROUTERPURPOSE controller command: it is now
  5704. obsolete.
  5705. - Controllers should now specify cache=no or cache=yes when using
  5706. the +POSTDESCRIPTOR command.
  5707. - Bridge authorities now write bridge descriptors to disk, meaning
  5708. we can export them to other programs and begin distributing them
  5709. to blocked users.
  5710. o Major features (directory authorities):
  5711. - When a v3 authority is missing votes or signatures, it now tries
  5712. to fetch them.
  5713. - Directory authorities track weighted fractional uptime as well as
  5714. weighted mean-time-between failures. WFU is suitable for deciding
  5715. whether a node is "usually up", while MTBF is suitable for deciding
  5716. whether a node is "likely to stay up." We need both, because
  5717. "usually up" is a good requirement for guards, while "likely to
  5718. stay up" is a good requirement for long-lived connections.
  5719. o Major features (v3 directory system):
  5720. - Caches now download v3 network status documents as needed,
  5721. and download the descriptors listed in them.
  5722. - All hosts now attempt to download and keep fresh v3 authority
  5723. certificates, and re-attempt after failures.
  5724. - More internal-consistency checks for vote parsing.
  5725. o Major bugfixes (crashes):
  5726. - If a connection is shut down abruptly because of something that
  5727. happened inside connection_flushed_some(), do not call
  5728. connection_finished_flushing(). Should fix bug 451. Bugfix on
  5729. 0.1.2.7-alpha.
  5730. o Major bugfixes (performance):
  5731. - Fix really bad O(n^2) performance when parsing a long list of
  5732. routers: Instead of searching the entire list for an "extra-info "
  5733. string which usually wasn't there, once for every routerinfo
  5734. we read, just scan lines forward until we find one we like.
  5735. Bugfix on 0.2.0.1.
  5736. - When we add data to a write buffer in response to the data on that
  5737. write buffer getting low because of a flush, do not consider the
  5738. newly added data as a candidate for immediate flushing, but rather
  5739. make it wait until the next round of writing. Otherwise, we flush
  5740. and refill recursively, and a single greedy TLS connection can
  5741. eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
  5742. o Minor features (v3 authority system):
  5743. - Add more ways for tools to download the votes that lead to the
  5744. current consensus.
  5745. - Send a 503 when low on bandwidth and a vote, consensus, or
  5746. certificate is requested.
  5747. - If-modified-since is now implemented properly for all kinds of
  5748. certificate requests.
  5749. o Minor bugfixes (network statuses):
  5750. - Tweak the implementation of proposal 109 slightly: allow at most
  5751. two Tor servers on the same IP address, except if it's the location
  5752. of a directory authority, in which case allow five. Bugfix on
  5753. 0.2.0.3-alpha.
  5754. o Minor bugfixes (controller):
  5755. - When sending a status event to the controller telling it that an
  5756. OR address is reachable, set the port correctly. (Previously we
  5757. were reporting the dir port.) Bugfix on 0.1.2.x.
  5758. o Minor bugfixes (v3 directory system):
  5759. - Fix logic to look up a cert by its signing key digest. Bugfix on
  5760. 0.2.0.7-alpha.
  5761. - Only change the reply to a vote to "OK" if it's not already
  5762. set. This gets rid of annoying "400 OK" log messages, which may
  5763. have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
  5764. - When we get a valid consensus, recompute the voting schedule.
  5765. - Base the valid-after time of a vote on the consensus voting
  5766. schedule, not on our preferred schedule.
  5767. - Make the return values and messages from signature uploads and
  5768. downloads more sensible.
  5769. - Fix a memory leak when serving votes and consensus documents, and
  5770. another when serving certificates.
  5771. o Minor bugfixes (performance):
  5772. - Use a slightly simpler string hashing algorithm (copying Python's
  5773. instead of Java's) and optimize our digest hashing algorithm to take
  5774. advantage of 64-bit platforms and to remove some possibly-costly
  5775. voodoo.
  5776. - Fix a minor memory leak whenever we parse guards from our state
  5777. file. Bugfix on 0.2.0.7-alpha.
  5778. - Fix a minor memory leak whenever we write out a file. Bugfix on
  5779. 0.2.0.7-alpha.
  5780. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  5781. command. Bugfix on 0.2.0.5-alpha.
  5782. o Minor bugfixes (portability):
  5783. - On some platforms, accept() can return a broken address. Detect
  5784. this more quietly, and deal accordingly. Fixes bug 483.
  5785. - Stop calling tor_strlower() on uninitialized memory in some cases.
  5786. Bugfix in 0.2.0.7-alpha.
  5787. o Minor bugfixes (usability):
  5788. - Treat some 403 responses from directory servers as INFO rather than
  5789. WARN-severity events.
  5790. - It's not actually an error to find a non-pending entry in the DNS
  5791. cache when canceling a pending resolve. Don't log unless stuff is
  5792. fishy. Resolves bug 463.
  5793. o Minor bugfixes (anonymity):
  5794. - Never report that we've used more bandwidth than we're willing to
  5795. relay: it leaks how much non-relay traffic we're using. Resolves
  5796. bug 516.
  5797. - When looking for a circuit to cannibalize, consider family as well
  5798. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  5799. circuit cannibalization).
  5800. o Code simplifications and refactoring:
  5801. - Make a bunch of functions static. Remove some dead code.
  5802. - Pull out about a third of the really big routerlist.c; put it in a
  5803. new module, networkstatus.c.
  5804. - Merge the extra fields in local_routerstatus_t back into
  5805. routerstatus_t: we used to need one routerstatus_t for each
  5806. authority's opinion, plus a local_routerstatus_t for the locally
  5807. computed consensus opinion. To save space, we put the locally
  5808. modified fields into local_routerstatus_t, and only the common
  5809. stuff into routerstatus_t. But once v3 directories are in use,
  5810. clients and caches will no longer need to hold authority opinions;
  5811. thus, the rationale for keeping the types separate is now gone.
  5812. - Make the code used to reschedule and reattempt downloads more
  5813. uniform.
  5814. - Turn all 'Are we a directory server/mirror?' logic into a call to
  5815. dirserver_mode().
  5816. - Remove the code to generate the oldest (v1) directory format.
  5817. The code has been disabled since 0.2.0.5-alpha.
  5818. Changes in version 0.2.0.7-alpha - 2007-09-21
  5819. This seventh development snapshot makes bridges work again, makes bridge
  5820. authorities work for the first time, fixes two huge performance flaws
  5821. in hidden services, and fixes a variety of minor issues.
  5822. o New directory authorities:
  5823. - Set up moria1 and tor26 as the first v3 directory authorities. See
  5824. doc/spec/dir-spec.txt for details on the new directory design.
  5825. o Major bugfixes (crashes):
  5826. - Fix possible segfaults in functions called from
  5827. rend_process_relay_cell(). Bugfix on 0.1.2.x.
  5828. o Major bugfixes (bridges):
  5829. - Fix a bug that made servers send a "404 Not found" in response to
  5830. attempts to fetch their server descriptor. This caused Tor servers
  5831. to take many minutes to establish reachability for their DirPort,
  5832. and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
  5833. - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
  5834. users configure that and specify a bridge with an identity
  5835. fingerprint, now they will lookup the bridge descriptor at the
  5836. default bridge authority via a one-hop tunnel, but once circuits
  5837. are established they will switch to a three-hop tunnel for later
  5838. connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
  5839. o Major bugfixes (hidden services):
  5840. - Hidden services were choosing introduction points uniquely by
  5841. hexdigest, but when constructing the hidden service descriptor
  5842. they merely wrote the (potentially ambiguous) nickname.
  5843. - Clients now use the v2 intro format for hidden service
  5844. connections: they specify their chosen rendezvous point by identity
  5845. digest rather than by (potentially ambiguous) nickname. Both
  5846. are bugfixes on 0.1.2.x, and they could speed up hidden service
  5847. connections dramatically. Thanks to Karsten Loesing.
  5848. o Minor features (security):
  5849. - As a client, do not believe any server that tells us that an
  5850. address maps to an internal address space.
  5851. - Make it possible to enable HashedControlPassword and
  5852. CookieAuthentication at the same time.
  5853. o Minor features (guard nodes):
  5854. - Tag every guard node in our state file with the version that
  5855. we believe added it, or with our own version if we add it. This way,
  5856. if a user temporarily runs an old version of Tor and then switches
  5857. back to a new one, she doesn't automatically lose her guards.
  5858. o Minor features (speed):
  5859. - When implementing AES counter mode, update only the portions of the
  5860. counter buffer that need to change, and don't keep separate
  5861. network-order and host-order counters when they are the same (i.e.,
  5862. on big-endian hosts.)
  5863. o Minor features (controller):
  5864. - Accept LF instead of CRLF on controller, since some software has a
  5865. hard time generating real Internet newlines.
  5866. - Add GETINFO values for the server status events
  5867. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  5868. Robert Hogan.
  5869. o Removed features:
  5870. - Routers no longer include bandwidth-history lines in their
  5871. descriptors; this information is already available in extra-info
  5872. documents, and including it in router descriptors took up 60%
  5873. (!) of compressed router descriptor downloads. Completes
  5874. implementation of proposal 104.
  5875. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  5876. and TorControl.py, as they use the old v0 controller protocol,
  5877. and are obsoleted by TorFlow anyway.
  5878. - Drop support for v1 rendezvous descriptors, since we never used
  5879. them anyway, and the code has probably rotted by now. Based on
  5880. patch from Karsten Loesing.
  5881. - On OSX, stop warning the user that kqueue support in libevent is
  5882. "experimental", since it seems to have worked fine for ages.
  5883. o Minor bugfixes:
  5884. - When generating information telling us how to extend to a given
  5885. router, do not try to include the nickname if it is absent. Fixes
  5886. bug 467. Bugfix on 0.2.0.3-alpha.
  5887. - Fix a user-triggerable (but not remotely-triggerable) segfault
  5888. in expand_filename(). Bugfix on 0.1.2.x.
  5889. - Fix a memory leak when freeing incomplete requests from DNSPort.
  5890. Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
  5891. - Don't try to access (or alter) the state file when running
  5892. --list-fingerprint or --verify-config or --hash-password. (Resolves
  5893. bug 499.) Bugfix on 0.1.2.x.
  5894. - Servers used to decline to publish their DirPort if their
  5895. BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
  5896. were below a threshold. Now they only look at BandwidthRate and
  5897. RelayBandwidthRate. Bugfix on 0.1.2.x.
  5898. - Remove an optimization in the AES counter-mode code that assumed
  5899. that the counter never exceeded 2^68. When the counter can be set
  5900. arbitrarily as an IV (as it is by Karsten's new hidden services
  5901. code), this assumption no longer holds. Bugfix on 0.1.2.x.
  5902. - Resume listing "AUTHORITY" flag for authorities in network status.
  5903. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
  5904. o Code simplifications and refactoring:
  5905. - Revamp file-writing logic so we don't need to have the entire
  5906. contents of a file in memory at once before we write to disk. Tor,
  5907. meet stdio.
  5908. - Turn "descriptor store" into a full-fledged type.
  5909. - Move all NT services code into a separate source file.
  5910. - Unify all code that computes medians, percentile elements, etc.
  5911. - Get rid of a needless malloc when parsing address policies.
  5912. Changes in version 0.1.2.17 - 2007-08-30
  5913. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  5914. X bundles. Vidalia 0.0.14 makes authentication required for the
  5915. ControlPort in the default configuration, which addresses important
  5916. security risks. Everybody who uses Vidalia (or another controller)
  5917. should upgrade.
  5918. In addition, this Tor update fixes major load balancing problems with
  5919. path selection, which should speed things up a lot once many people
  5920. have upgraded.
  5921. o Major bugfixes (security):
  5922. - We removed support for the old (v0) control protocol. It has been
  5923. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  5924. become more of a headache than it's worth.
  5925. o Major bugfixes (load balancing):
  5926. - When choosing nodes for non-guard positions, weight guards
  5927. proportionally less, since they already have enough load. Patch
  5928. from Mike Perry.
  5929. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  5930. will allow fast Tor servers to get more attention.
  5931. - When we're upgrading from an old Tor version, forget our current
  5932. guards and pick new ones according to the new weightings. These
  5933. three load balancing patches could raise effective network capacity
  5934. by a factor of four. Thanks to Mike Perry for measurements.
  5935. o Major bugfixes (stream expiration):
  5936. - Expire not-yet-successful application streams in all cases if
  5937. they've been around longer than SocksTimeout. Right now there are
  5938. some cases where the stream will live forever, demanding a new
  5939. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  5940. o Minor features (controller):
  5941. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  5942. is valid before any authentication has been received. It tells
  5943. a controller what kind of authentication is expected, and what
  5944. protocol is spoken. Implements proposal 119.
  5945. o Minor bugfixes (performance):
  5946. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  5947. greatly speeding up loading cached-routers from disk on startup.
  5948. - Disable sentinel-based debugging for buffer code: we squashed all
  5949. the bugs that this was supposed to detect a long time ago, and now
  5950. its only effect is to change our buffer sizes from nice powers of
  5951. two (which platform mallocs tend to like) to values slightly over
  5952. powers of two (which make some platform mallocs sad).
  5953. o Minor bugfixes (misc):
  5954. - If exit bandwidth ever exceeds one third of total bandwidth, then
  5955. use the correct formula to weight exit nodes when choosing paths.
  5956. Based on patch from Mike Perry.
  5957. - Choose perfectly fairly among routers when choosing by bandwidth and
  5958. weighting by fraction of bandwidth provided by exits. Previously, we
  5959. would choose with only approximate fairness, and correct ourselves
  5960. if we ran off the end of the list.
  5961. - If we require CookieAuthentication but we fail to write the
  5962. cookie file, we would warn but not exit, and end up in a state
  5963. where no controller could authenticate. Now we exit.
  5964. - If we require CookieAuthentication, stop generating a new cookie
  5965. every time we change any piece of our config.
  5966. - Refuse to start with certain directory authority keys, and
  5967. encourage people using them to stop.
  5968. - Terminate multi-line control events properly. Original patch
  5969. from tup.
  5970. - Fix a minor memory leak when we fail to find enough suitable
  5971. servers to choose a circuit.
  5972. - Stop leaking part of the descriptor when we run into a particularly
  5973. unparseable piece of it.
  5974. Changes in version 0.2.0.6-alpha - 2007-08-26
  5975. This sixth development snapshot features a new Vidalia version in the
  5976. Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
  5977. the ControlPort in the default configuration, which addresses important
  5978. security risks.
  5979. In addition, this snapshot fixes major load balancing problems
  5980. with path selection, which should speed things up a lot once many
  5981. people have upgraded. The directory authorities also use a new
  5982. mean-time-between-failure approach to tracking which servers are stable,
  5983. rather than just looking at the most recent uptime.
  5984. o New directory authorities:
  5985. - Set up Tonga as the default bridge directory authority.
  5986. o Major features:
  5987. - Directory authorities now track servers by weighted
  5988. mean-times-between-failures. When we have 4 or more days of data,
  5989. use measured MTBF rather than declared uptime to decide whether
  5990. to call a router Stable. Implements proposal 108.
  5991. o Major bugfixes (load balancing):
  5992. - When choosing nodes for non-guard positions, weight guards
  5993. proportionally less, since they already have enough load. Patch
  5994. from Mike Perry.
  5995. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  5996. will allow fast Tor servers to get more attention.
  5997. - When we're upgrading from an old Tor version, forget our current
  5998. guards and pick new ones according to the new weightings. These
  5999. three load balancing patches could raise effective network capacity
  6000. by a factor of four. Thanks to Mike Perry for measurements.
  6001. o Major bugfixes (descriptor parsing):
  6002. - Handle unexpected whitespace better in malformed descriptors. Bug
  6003. found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
  6004. o Minor features:
  6005. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  6006. GETINFO for Torstat to use until it can switch to using extrainfos.
  6007. - Optionally (if built with -DEXPORTMALLINFO) export the output
  6008. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  6009. from localhost.
  6010. o Minor bugfixes:
  6011. - Do not intermix bridge routers with controller-added
  6012. routers. (Bugfix on 0.2.0.x)
  6013. - Do not fail with an assert when accept() returns an unexpected
  6014. address family. Addresses but does not wholly fix bug 483. (Bugfix
  6015. on 0.2.0.x)
  6016. - Let directory authorities startup even when they can't generate
  6017. a descriptor immediately, e.g. because they don't know their
  6018. address.
  6019. - Stop putting the authentication cookie in a file called "0"
  6020. in your working directory if you don't specify anything for the
  6021. new CookieAuthFile option. Reported by Matt Edman.
  6022. - Make it possible to read the PROTOCOLINFO response in a way that
  6023. conforms to our control-spec. Reported by Matt Edman.
  6024. - Fix a minor memory leak when we fail to find enough suitable
  6025. servers to choose a circuit. Bugfix on 0.1.2.x.
  6026. - Stop leaking part of the descriptor when we run into a particularly
  6027. unparseable piece of it. Bugfix on 0.1.2.x.
  6028. - Unmap the extrainfo cache file on exit.
  6029. Changes in version 0.2.0.5-alpha - 2007-08-19
  6030. This fifth development snapshot fixes compilation on Windows again;
  6031. fixes an obnoxious client-side bug that slowed things down and put
  6032. extra load on the network; gets us closer to using the v3 directory
  6033. voting scheme; makes it easier for Tor controllers to use cookie-based
  6034. authentication; and fixes a variety of other bugs.
  6035. o Removed features:
  6036. - Version 1 directories are no longer generated in full. Instead,
  6037. authorities generate and serve "stub" v1 directories that list
  6038. no servers. This will stop Tor versions 0.1.0.x and earlier from
  6039. working, but (for security reasons) nobody should be running those
  6040. versions anyway.
  6041. o Major bugfixes (compilation, 0.2.0.x):
  6042. - Try to fix Win32 compilation again: improve checking for IPv6 types.
  6043. - Try to fix MSVC compilation: build correctly on platforms that do
  6044. not define s6_addr16 or s6_addr32.
  6045. - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
  6046. Zhou.
  6047. o Major bugfixes (stream expiration):
  6048. - Expire not-yet-successful application streams in all cases if
  6049. they've been around longer than SocksTimeout. Right now there are
  6050. some cases where the stream will live forever, demanding a new
  6051. circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
  6052. reported by lodger.
  6053. o Minor features (directory servers):
  6054. - When somebody requests a list of statuses or servers, and we have
  6055. none of those, return a 404 rather than an empty 200.
  6056. o Minor features (directory voting):
  6057. - Store v3 consensus status consensuses on disk, and reload them
  6058. on startup.
  6059. o Minor features (security):
  6060. - Warn about unsafe ControlPort configurations.
  6061. - Refuse to start with certain directory authority keys, and
  6062. encourage people using them to stop.
  6063. o Minor features (controller):
  6064. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  6065. is valid before any authentication has been received. It tells
  6066. a controller what kind of authentication is expected, and what
  6067. protocol is spoken. Implements proposal 119.
  6068. - New config option CookieAuthFile to choose a new location for the
  6069. cookie authentication file, and config option
  6070. CookieAuthFileGroupReadable to make it group-readable.
  6071. o Minor features (unit testing):
  6072. - Add command-line arguments to unit-test executable so that we can
  6073. invoke any chosen test from the command line rather than having
  6074. to run the whole test suite at once; and so that we can turn on
  6075. logging for the unit tests.
  6076. o Minor bugfixes (on 0.1.2.x):
  6077. - If we require CookieAuthentication but we fail to write the
  6078. cookie file, we would warn but not exit, and end up in a state
  6079. where no controller could authenticate. Now we exit.
  6080. - If we require CookieAuthentication, stop generating a new cookie
  6081. every time we change any piece of our config.
  6082. - When loading bandwidth history, do not believe any information in
  6083. the future. Fixes bug 434.
  6084. - When loading entry guard information, do not believe any information
  6085. in the future.
  6086. - When we have our clock set far in the future and generate an
  6087. onion key, then re-set our clock to be correct, we should not stop
  6088. the onion key from getting rotated.
  6089. - Clean up torrc sample config file.
  6090. - Do not automatically run configure from autogen.sh. This
  6091. non-standard behavior tended to annoy people who have built other
  6092. programs.
  6093. o Minor bugfixes (on 0.2.0.x):
  6094. - Fix a bug with AutomapHostsOnResolve that would always cause
  6095. the second request to fail. Bug reported by Kate. Bugfix on
  6096. 0.2.0.3-alpha.
  6097. - Fix a bug in ADDRMAP controller replies that would sometimes
  6098. try to print a NULL. Patch from tup.
  6099. - Read v3 directory authority keys from the right location.
  6100. - Numerous bugfixes to directory voting code.
  6101. Changes in version 0.1.2.16 - 2007-08-01
  6102. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  6103. remote attacker in certain situations to rewrite the user's torrc
  6104. configuration file. This can completely compromise anonymity of users
  6105. in most configurations, including those running the Vidalia bundles,
  6106. TorK, etc. Or worse.
  6107. o Major security fixes:
  6108. - Close immediately after missing authentication on control port;
  6109. do not allow multiple authentication attempts.
  6110. Changes in version 0.2.0.4-alpha - 2007-08-01
  6111. This fourth development snapshot fixes a critical security vulnerability
  6112. for most users, specifically those running Vidalia, TorK, etc. Everybody
  6113. should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
  6114. o Major security fixes:
  6115. - Close immediately after missing authentication on control port;
  6116. do not allow multiple authentication attempts.
  6117. o Major bugfixes (compilation):
  6118. - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
  6119. defined there.
  6120. o Minor features (performance):
  6121. - Be even more aggressive about releasing RAM from small
  6122. empty buffers. Thanks to our free-list code, this shouldn't be too
  6123. performance-intensive.
  6124. - Disable sentinel-based debugging for buffer code: we squashed all
  6125. the bugs that this was supposed to detect a long time ago, and
  6126. now its only effect is to change our buffer sizes from nice
  6127. powers of two (which platform mallocs tend to like) to values
  6128. slightly over powers of two (which make some platform mallocs sad).
  6129. - Log malloc statistics from mallinfo() on platforms where it
  6130. exists.
  6131. Changes in version 0.2.0.3-alpha - 2007-07-29
  6132. This third development snapshot introduces new experimental
  6133. blocking-resistance features and a preliminary version of the v3
  6134. directory voting design, and includes many other smaller features
  6135. and bugfixes.
  6136. o Major features:
  6137. - The first pieces of our "bridge" design for blocking-resistance
  6138. are implemented. People can run bridge directory authorities;
  6139. people can run bridges; and people can configure their Tor clients
  6140. with a set of bridges to use as the first hop into the Tor network.
  6141. See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
  6142. details.
  6143. - Create listener connections before we setuid to the configured
  6144. User and Group. Now non-Windows users can choose port values
  6145. under 1024, start Tor as root, and have Tor bind those ports
  6146. before it changes to another UID. (Windows users could already
  6147. pick these ports.)
  6148. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  6149. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  6150. on "vserver" accounts. (Patch from coderman.)
  6151. - Be even more aggressive about separating local traffic from relayed
  6152. traffic when RelayBandwidthRate is set. (Refines proposal 111.)
  6153. o Major features (experimental):
  6154. - First cut of code for "v3 dir voting": directory authorities will
  6155. vote on a common network status document rather than each publishing
  6156. their own opinion. This code needs more testing and more corner-case
  6157. handling before it's ready for use.
  6158. o Security fixes:
  6159. - Directory authorities now call routers Fast if their bandwidth is
  6160. at least 100KB/s, and consider their bandwidth adequate to be a
  6161. Guard if it is at least 250KB/s, no matter the medians. This fix
  6162. complements proposal 107. [Bugfix on 0.1.2.x]
  6163. - Directory authorities now never mark more than 3 servers per IP as
  6164. Valid and Running. (Implements proposal 109, by Kevin Bauer and
  6165. Damon McCoy.)
  6166. - Minor change to organizationName and commonName generation
  6167. procedures in TLS certificates during Tor handshakes, to invalidate
  6168. some earlier censorware approaches. This is not a long-term
  6169. solution, but applying it will give us a bit of time to look into
  6170. the epidemiology of countermeasures as they spread.
  6171. o Major bugfixes (directory):
  6172. - Rewrite directory tokenization code to never run off the end of
  6173. a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
  6174. o Minor features (controller):
  6175. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  6176. match requests to applications. (Patch from Robert Hogan.)
  6177. - Report address and port correctly on connections to DNSPort. (Patch
  6178. from Robert Hogan.)
  6179. - Add a RESOLVE command to launch hostname lookups. (Original patch
  6180. from Robert Hogan.)
  6181. - Add GETINFO status/enough-dir-info to let controllers tell whether
  6182. Tor has downloaded sufficient directory information. (Patch
  6183. from Tup.)
  6184. - You can now use the ControlSocket option to tell Tor to listen for
  6185. controller connections on Unix domain sockets on systems that
  6186. support them. (Patch from Peter Palfrader.)
  6187. - STREAM NEW events are generated for DNSPort requests and for
  6188. tunneled directory connections. (Patch from Robert Hogan.)
  6189. - New "GETINFO address-mappings/*" command to get address mappings
  6190. with expiry information. "addr-mappings/*" is now deprecated.
  6191. (Patch from Tup.)
  6192. o Minor features (misc):
  6193. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  6194. from croup.)
  6195. - The tor-gencert tool for v3 directory authorities now creates all
  6196. files as readable to the file creator only, and write-protects
  6197. the authority identity key.
  6198. - When dumping memory usage, list bytes used in buffer memory
  6199. free-lists.
  6200. - When running with dmalloc, dump more stats on hup and on exit.
  6201. - Directory authorities now fail quickly and (relatively) harmlessly
  6202. if they generate a network status document that is somehow
  6203. malformed.
  6204. o Traffic load balancing improvements:
  6205. - If exit bandwidth ever exceeds one third of total bandwidth, then
  6206. use the correct formula to weight exit nodes when choosing paths.
  6207. (Based on patch from Mike Perry.)
  6208. - Choose perfectly fairly among routers when choosing by bandwidth and
  6209. weighting by fraction of bandwidth provided by exits. Previously, we
  6210. would choose with only approximate fairness, and correct ourselves
  6211. if we ran off the end of the list. [Bugfix on 0.1.2.x]
  6212. o Performance improvements:
  6213. - Be more aggressive with freeing buffer RAM or putting it on the
  6214. memory free lists.
  6215. - Use Critical Sections rather than Mutexes for synchronizing threads
  6216. on win32; Mutexes are heavier-weight, and designed for synchronizing
  6217. between processes.
  6218. o Deprecated and removed features:
  6219. - RedirectExits is now deprecated.
  6220. - Stop allowing address masks that do not correspond to bit prefixes.
  6221. We have warned about these for a really long time; now it's time
  6222. to reject them. (Patch from croup.)
  6223. o Minor bugfixes (directory):
  6224. - Fix another crash bug related to extra-info caching. (Bug found by
  6225. Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
  6226. - Directories no longer return a "304 not modified" when they don't
  6227. have the networkstatus the client asked for. Also fix a memory
  6228. leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
  6229. - We had accidentally labelled 0.1.2.x directory servers as not
  6230. suitable for begin_dir requests, and had labelled no directory
  6231. servers as suitable for uploading extra-info documents. [Bugfix
  6232. on 0.2.0.1-alpha]
  6233. o Minor bugfixes (dns):
  6234. - Fix a crash when DNSPort is set more than once. (Patch from Robert
  6235. Hogan.) [Bugfix on 0.2.0.2-alpha]
  6236. - Add DNSPort connections to the global connection list, so that we
  6237. can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
  6238. on 0.2.0.2-alpha]
  6239. - Fix a dangling reference that could lead to a crash when DNSPort is
  6240. changed or closed (Patch from Robert Hogan.) [Bugfix on
  6241. 0.2.0.2-alpha]
  6242. o Minor bugfixes (controller):
  6243. - Provide DNS expiry times in GMT, not in local time. For backward
  6244. compatibility, ADDRMAP events only provide GMT expiry in an extended
  6245. field. "GETINFO address-mappings" always does the right thing.
  6246. - Use CRLF line endings properly in NS events.
  6247. - Terminate multi-line control events properly. (Original patch
  6248. from tup.) [Bugfix on 0.1.2.x-alpha]
  6249. - Do not include spaces in SOURCE_ADDR fields in STREAM
  6250. events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
  6251. Changes in version 0.1.2.15 - 2007-07-17
  6252. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  6253. problems, fixes compilation on BSD, and fixes a variety of other
  6254. bugs. Everybody should upgrade.
  6255. o Major bugfixes (compilation):
  6256. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  6257. o Major bugfixes (crashes):
  6258. - Try even harder not to dereference the first character after
  6259. an mmap(). Reported by lodger.
  6260. - Fix a crash bug in directory authorities when we re-number the
  6261. routerlist while inserting a new router.
  6262. - When the cached-routers file is an even multiple of the page size,
  6263. don't run off the end and crash. (Fixes bug 455; based on idea
  6264. from croup.)
  6265. - Fix eventdns.c behavior on Solaris: It is critical to include
  6266. orconfig.h _before_ sys/types.h, so that we can get the expected
  6267. definition of _FILE_OFFSET_BITS.
  6268. o Major bugfixes (security):
  6269. - Fix a possible buffer overrun when using BSD natd support. Bug
  6270. found by croup.
  6271. - When sending destroy cells from a circuit's origin, don't include
  6272. the reason for tearing down the circuit. The spec says we didn't,
  6273. and now we actually don't. Reported by lodger.
  6274. - Keep streamids from different exits on a circuit separate. This
  6275. bug may have allowed other routers on a given circuit to inject
  6276. cells into streams. Reported by lodger; fixes bug 446.
  6277. - If there's a never-before-connected-to guard node in our list,
  6278. never choose any guards past it. This way we don't expand our
  6279. guard list unless we need to.
  6280. o Minor bugfixes (guard nodes):
  6281. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  6282. don't get overused as guards.
  6283. o Minor bugfixes (directory):
  6284. - Correctly count the number of authorities that recommend each
  6285. version. Previously, we were under-counting by 1.
  6286. - Fix a potential crash bug when we load many server descriptors at
  6287. once and some of them make others of them obsolete. Fixes bug 458.
  6288. o Minor bugfixes (hidden services):
  6289. - Stop tearing down the whole circuit when the user asks for a
  6290. connection to a port that the hidden service didn't configure.
  6291. Resolves bug 444.
  6292. o Minor bugfixes (misc):
  6293. - On Windows, we were preventing other processes from reading
  6294. cached-routers while Tor was running. Reported by janbar.
  6295. - Fix a possible (but very unlikely) bug in picking routers by
  6296. bandwidth. Add a log message to confirm that it is in fact
  6297. unlikely. Patch from lodger.
  6298. - Backport a couple of memory leak fixes.
  6299. - Backport miscellaneous cosmetic bugfixes.
  6300. Changes in version 0.2.0.2-alpha - 2007-06-02
  6301. o Major bugfixes on 0.2.0.1-alpha:
  6302. - Fix an assertion failure related to servers without extra-info digests.
  6303. Resolves bugs 441 and 442.
  6304. o Minor features (directory):
  6305. - Support "If-Modified-Since" when answering HTTP requests for
  6306. directories, running-routers documents, and network-status documents.
  6307. (There's no need to support it for router descriptors, since those
  6308. are downloaded by descriptor digest.)
  6309. o Minor build issues:
  6310. - Clear up some MIPSPro compiler warnings.
  6311. - When building from a tarball on a machine that happens to have SVK
  6312. installed, report the micro-revision as whatever version existed
  6313. in the tarball, not as "x".
  6314. Changes in version 0.2.0.1-alpha - 2007-06-01
  6315. This early development snapshot provides new features for people running
  6316. Tor as both a client and a server (check out the new RelayBandwidth
  6317. config options); lets Tor run as a DNS proxy; and generally moves us
  6318. forward on a lot of fronts.
  6319. o Major features, server usability:
  6320. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  6321. a separate set of token buckets for relayed traffic. Right now
  6322. relayed traffic is defined as answers to directory requests, and
  6323. OR connections that don't have any local circuits on them.
  6324. o Major features, client usability:
  6325. - A client-side DNS proxy feature to replace the need for
  6326. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  6327. for DNS requests on port 9999, use the Tor network to resolve them
  6328. anonymously, and send the reply back like a regular DNS server.
  6329. The code still only implements a subset of DNS.
  6330. - Make PreferTunneledDirConns and TunnelDirConns work even when
  6331. we have no cached directory info. This means Tor clients can now
  6332. do all of their connections protected by TLS.
  6333. o Major features, performance and efficiency:
  6334. - Directory authorities accept and serve "extra info" documents for
  6335. routers. These documents contain fields from router descriptors
  6336. that aren't usually needed, and that use a lot of excess
  6337. bandwidth. Once these fields are removed from router descriptors,
  6338. the bandwidth savings should be about 60%. [Partially implements
  6339. proposal 104.]
  6340. - Servers upload extra-info documents to any authority that accepts
  6341. them. Authorities (and caches that have been configured to download
  6342. extra-info documents) download them as needed. [Partially implements
  6343. proposal 104.]
  6344. - Change the way that Tor buffers data that it is waiting to write.
  6345. Instead of queueing data cells in an enormous ring buffer for each
  6346. client->OR or OR->OR connection, we now queue cells on a separate
  6347. queue for each circuit. This lets us use less slack memory, and
  6348. will eventually let us be smarter about prioritizing different kinds
  6349. of traffic.
  6350. - Use memory pools to allocate cells with better speed and memory
  6351. efficiency, especially on platforms where malloc() is inefficient.
  6352. - Stop reading on edge connections when their corresponding circuit
  6353. buffers are full; start again as the circuits empty out.
  6354. o Major features, other:
  6355. - Add an HSAuthorityRecordStats option that hidden service authorities
  6356. can use to track statistics of overall hidden service usage without
  6357. logging information that would be very useful to an attacker.
  6358. - Start work implementing multi-level keys for directory authorities:
  6359. Add a standalone tool to generate key certificates. (Proposal 103.)
  6360. o Security fixes:
  6361. - Directory authorities now call routers Stable if they have an
  6362. uptime of at least 30 days, even if that's not the median uptime
  6363. in the network. Implements proposal 107, suggested by Kevin Bauer
  6364. and Damon McCoy.
  6365. o Minor fixes (resource management):
  6366. - Count the number of open sockets separately from the number
  6367. of active connection_t objects. This will let us avoid underusing
  6368. our allocated connection limit.
  6369. - We no longer use socket pairs to link an edge connection to an
  6370. anonymous directory connection or a DirPort test connection.
  6371. Instead, we track the link internally and transfer the data
  6372. in-process. This saves two sockets per "linked" connection (at the
  6373. client and at the server), and avoids the nasty Windows socketpair()
  6374. workaround.
  6375. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  6376. for every single inactive connection_t. Free items from the
  6377. 4k/16k-buffer free lists when they haven't been used for a while.
  6378. o Minor features (build):
  6379. - Make autoconf search for libevent, openssl, and zlib consistently.
  6380. - Update deprecated macros in configure.in.
  6381. - When warning about missing headers, tell the user to let us
  6382. know if the compile succeeds anyway, so we can downgrade the
  6383. warning.
  6384. - Include the current subversion revision as part of the version
  6385. string: either fetch it directly if we're in an SVN checkout, do
  6386. some magic to guess it if we're in an SVK checkout, or use
  6387. the last-detected version if we're building from a .tar.gz.
  6388. Use this version consistently in log messages.
  6389. o Minor features (logging):
  6390. - Always prepend "Bug: " to any log message about a bug.
  6391. - Put a platform string (e.g. "Linux i686") in the startup log
  6392. message, so when people paste just their logs, we know if it's
  6393. OpenBSD or Windows or what.
  6394. - When logging memory usage, break down memory used in buffers by
  6395. buffer type.
  6396. o Minor features (directory system):
  6397. - New config option V2AuthoritativeDirectory that all directory
  6398. authorities should set. This will let future authorities choose
  6399. not to serve V2 directory information.
  6400. - Directory authorities allow multiple router descriptors and/or extra
  6401. info documents to be uploaded in a single go. This will make
  6402. implementing proposal 104 simpler.
  6403. o Minor features (controller):
  6404. - Add a new config option __DisablePredictedCircuits designed for
  6405. use by the controller, when we don't want Tor to build any circuits
  6406. preemptively.
  6407. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  6408. so we can exit from the middle of the circuit.
  6409. - Implement "getinfo status/circuit-established".
  6410. - Implement "getinfo status/version/..." so a controller can tell
  6411. whether the current version is recommended, and whether any versions
  6412. are good, and how many authorities agree. (Patch from shibz.)
  6413. o Minor features (hidden services):
  6414. - Allow multiple HiddenServicePort directives with the same virtual
  6415. port; when they occur, the user is sent round-robin to one
  6416. of the target ports chosen at random. Partially fixes bug 393 by
  6417. adding limited ad-hoc round-robining.
  6418. o Minor features (other):
  6419. - More unit tests.
  6420. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  6421. resolve request for hosts matching a given pattern causes Tor to
  6422. generate an internal virtual address mapping for that host. This
  6423. allows DNSPort to work sensibly with hidden service users. By
  6424. default, .exit and .onion addresses are remapped; the list of
  6425. patterns can be reconfigured with AutomapHostsSuffixes.
  6426. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  6427. address. Thanks to the AutomapHostsOnResolve option, this is no
  6428. longer a completely silly thing to do.
  6429. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  6430. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  6431. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  6432. minus 1 byte: the actual maximum declared bandwidth.
  6433. o Removed features:
  6434. - Removed support for the old binary "version 0" controller protocol.
  6435. This has been deprecated since 0.1.1, and warnings have been issued
  6436. since 0.1.2. When we encounter a v0 control message, we now send
  6437. back an error and close the connection.
  6438. - Remove the old "dns worker" server DNS code: it hasn't been default
  6439. since 0.1.2.2-alpha, and all the servers seem to be using the new
  6440. eventdns code.
  6441. o Minor bugfixes (portability):
  6442. - Even though Windows is equally happy with / and \ as path separators,
  6443. try to use \ consistently on Windows and / consistently on Unix: it
  6444. makes the log messages nicer.
  6445. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  6446. - Read resolv.conf files correctly on platforms where read() returns
  6447. partial results on small file reads.
  6448. o Minor bugfixes (directory):
  6449. - Correctly enforce that elements of directory objects do not appear
  6450. more often than they are allowed to appear.
  6451. - When we are reporting the DirServer line we just parsed, we were
  6452. logging the second stanza of the key fingerprint, not the first.
  6453. o Minor bugfixes (logging):
  6454. - When we hit an EOF on a log (probably because we're shutting down),
  6455. don't try to remove the log from the list: just mark it as
  6456. unusable. (Bulletproofs against bug 222.)
  6457. o Minor bugfixes (other):
  6458. - In the exitlist script, only consider the most recently published
  6459. server descriptor for each server. Also, when the user requests
  6460. a list of servers that _reject_ connections to a given address,
  6461. explicitly exclude the IPs that also have servers that accept
  6462. connections to that address. (Resolves bug 405.)
  6463. - Stop allowing hibernating servers to be "stable" or "fast".
  6464. - On Windows, we were preventing other processes from reading
  6465. cached-routers while Tor was running. (Reported by janbar)
  6466. - Make the NodeFamilies config option work. (Reported by
  6467. lodger -- it has never actually worked, even though we added it
  6468. in Oct 2004.)
  6469. - Check return values from pthread_mutex functions.
  6470. - Don't save non-general-purpose router descriptors to the disk cache,
  6471. because we have no way of remembering what their purpose was when
  6472. we restart.
  6473. - Add even more asserts to hunt down bug 417.
  6474. - Build without verbose warnings even on (not-yet-released) gcc 4.2.
  6475. - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
  6476. Add a log message to confirm that it is in fact unlikely.
  6477. o Minor bugfixes (controller):
  6478. - Make 'getinfo fingerprint' return a 551 error if we're not a
  6479. server, so we match what the control spec claims we do. Reported
  6480. by daejees.
  6481. - Fix a typo in an error message when extendcircuit fails that
  6482. caused us to not follow the \r\n-based delimiter protocol. Reported
  6483. by daejees.
  6484. o Code simplifications and refactoring:
  6485. - Stop passing around circuit_t and crypt_path_t pointers that are
  6486. implicit in other procedure arguments.
  6487. - Drop the old code to choke directory connections when the
  6488. corresponding OR connections got full: thanks to the cell queue
  6489. feature, OR conns don't get full any more.
  6490. - Make dns_resolve() handle attaching connections to circuits
  6491. properly, so the caller doesn't have to.
  6492. - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
  6493. - Keep the connection array as a dynamic smartlist_t, rather than as
  6494. a fixed-sized array. This is important, as the number of connections
  6495. is becoming increasingly decoupled from the number of sockets.
  6496. Changes in version 0.1.2.14 - 2007-05-25
  6497. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  6498. change especially affects those who serve or use hidden services),
  6499. and fixes several other crash- and security-related bugs.
  6500. o Directory authority changes:
  6501. - Two directory authorities (moria1 and moria2) just moved to new
  6502. IP addresses. This change will particularly affect those who serve
  6503. or use hidden services.
  6504. o Major bugfixes (crashes):
  6505. - If a directory server runs out of space in the connection table
  6506. as it's processing a begin_dir request, it will free the exit stream
  6507. but leave it attached to the circuit, leading to unpredictable
  6508. behavior. (Reported by seeess, fixes bug 425.)
  6509. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  6510. to corrupt memory under some really unlikely scenarios.
  6511. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  6512. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  6513. by lodger.)
  6514. o Major bugfixes (security):
  6515. - When choosing an entry guard for a circuit, avoid using guards
  6516. that are in the same family as the chosen exit -- not just guards
  6517. that are exactly the chosen exit. (Reported by lodger.)
  6518. o Major bugfixes (resource management):
  6519. - If a directory authority is down, skip it when deciding where to get
  6520. networkstatus objects or descriptors. Otherwise we keep asking
  6521. every 10 seconds forever. Fixes bug 384.
  6522. - Count it as a failure if we fetch a valid network-status but we
  6523. don't want to keep it. Otherwise we'll keep fetching it and keep
  6524. not wanting to keep it. Fixes part of bug 422.
  6525. - If all of our dirservers have given us bad or no networkstatuses
  6526. lately, then stop hammering them once per minute even when we
  6527. think they're failed. Fixes another part of bug 422.
  6528. o Minor bugfixes:
  6529. - Actually set the purpose correctly for descriptors inserted with
  6530. purpose=controller.
  6531. - When we have k non-v2 authorities in our DirServer config,
  6532. we ignored the last k authorities in the list when updating our
  6533. network-statuses.
  6534. - Correctly back-off from requesting router descriptors that we are
  6535. having a hard time downloading.
  6536. - Read resolv.conf files correctly on platforms where read() returns
  6537. partial results on small file reads.
  6538. - Don't rebuild the entire router store every time we get 32K of
  6539. routers: rebuild it when the journal gets very large, or when
  6540. the gaps in the store get very large.
  6541. o Minor features:
  6542. - When routers publish SVN revisions in their router descriptors,
  6543. authorities now include those versions correctly in networkstatus
  6544. documents.
  6545. - Warn when using a version of libevent before 1.3b to run a server on
  6546. OSX or BSD: these versions interact badly with userspace threads.
  6547. Changes in version 0.1.2.13 - 2007-04-24
  6548. This release features some major anonymity fixes, such as safer path
  6549. selection; better client performance; faster bootstrapping, better
  6550. address detection, and better DNS support for servers; write limiting as
  6551. well as read limiting to make servers easier to run; and a huge pile of
  6552. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  6553. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  6554. of the Freenode IRC network, remembering his patience and vision for
  6555. free speech on the Internet.
  6556. o Minor fixes:
  6557. - Fix a memory leak when we ask for "all" networkstatuses and we
  6558. get one we don't recognize.
  6559. - Add more asserts to hunt down bug 417.
  6560. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  6561. Changes in version 0.1.2.12-rc - 2007-03-16
  6562. o Major bugfixes:
  6563. - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
  6564. directory information requested inside Tor connections (i.e. via
  6565. begin_dir cells). It only triggered when the same connection was
  6566. serving other data at the same time. Reported by seeess.
  6567. o Minor bugfixes:
  6568. - When creating a circuit via the controller, send a 'launched'
  6569. event when we're done, so we follow the spec better.
  6570. Changes in version 0.1.2.11-rc - 2007-03-15
  6571. o Minor bugfixes (controller), reported by daejees:
  6572. - Correct the control spec to match how the code actually responds
  6573. to 'getinfo addr-mappings/*'.
  6574. - The control spec described a GUARDS event, but the code
  6575. implemented a GUARD event. Standardize on GUARD, but let people
  6576. ask for GUARDS too.
  6577. Changes in version 0.1.2.10-rc - 2007-03-07
  6578. o Major bugfixes (Windows):
  6579. - Do not load the NT services library functions (which may not exist)
  6580. just to detect if we're a service trying to shut down. Now we run
  6581. on Win98 and friends again.
  6582. o Minor bugfixes (other):
  6583. - Clarify a couple of log messages.
  6584. - Fix a misleading socks5 error number.
  6585. Changes in version 0.1.2.9-rc - 2007-03-02
  6586. o Major bugfixes (Windows):
  6587. - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
  6588. of the usual GCC "%llu". This prevents a bug when saving 64-bit
  6589. int configuration values: the high-order 32 bits would get
  6590. truncated. In particular, we were being bitten by the default
  6591. MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
  6592. and maybe also bug 397.)
  6593. o Minor bugfixes (performance):
  6594. - Use OpenSSL's AES implementation on platforms where it's faster.
  6595. This could save us as much as 10% CPU usage.
  6596. o Minor bugfixes (server):
  6597. - Do not rotate onion key immediately after setting it for the first
  6598. time.
  6599. o Minor bugfixes (directory authorities):
  6600. - Stop calling servers that have been hibernating for a long time
  6601. "stable". Also, stop letting hibernating or obsolete servers affect
  6602. uptime and bandwidth cutoffs.
  6603. - Stop listing hibernating servers in the v1 directory.
  6604. o Minor bugfixes (hidden services):
  6605. - Upload hidden service descriptors slightly less often, to reduce
  6606. load on authorities.
  6607. o Minor bugfixes (other):
  6608. - Fix an assert that could trigger if a controller quickly set then
  6609. cleared EntryNodes. (Bug found by Udo van den Heuvel.)
  6610. - On architectures where sizeof(int)>4, still clamp declarable bandwidth
  6611. to INT32_MAX.
  6612. - Fix a potential race condition in the rpm installer. Found by
  6613. Stefan Nordhausen.
  6614. - Try to fix eventdns warnings once and for all: do not treat a dns rcode
  6615. of 2 as indicating that the server is completely bad; it sometimes
  6616. means that the server is just bad for the request in question. (may fix
  6617. the last of bug 326.)
  6618. - Disable encrypted directory connections when we don't have a server
  6619. descriptor for the destination. We'll get this working again in
  6620. the 0.2.0 branch.
  6621. Changes in version 0.1.2.8-beta - 2007-02-26
  6622. o Major bugfixes (crashes):
  6623. - Stop crashing when the controller asks us to resetconf more than
  6624. one config option at once. (Vidalia 0.0.11 does this.)
  6625. - Fix a crash that happened on Win98 when we're given command-line
  6626. arguments: don't try to load NT service functions from advapi32.dll
  6627. except when we need them. (Bug introduced in 0.1.2.7-alpha;
  6628. resolves bug 389.)
  6629. - Fix a longstanding obscure crash bug that could occur when
  6630. we run out of DNS worker processes. (Resolves bug 390.)
  6631. o Major bugfixes (hidden services):
  6632. - Correctly detect whether hidden service descriptor downloads are
  6633. in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
  6634. o Major bugfixes (accounting):
  6635. - When we start during an accounting interval before it's time to wake
  6636. up, remember to wake up at the correct time. (May fix bug 342.)
  6637. o Minor bugfixes (controller):
  6638. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  6639. clear the corresponding on_circuit variable, and remember later
  6640. that we don't need to send a redundant CLOSED event. (Resolves part
  6641. 3 of bug 367.)
  6642. - Report events where a resolve succeeded or where we got a socks
  6643. protocol error correctly, rather than calling both of them
  6644. "INTERNAL".
  6645. - Change reported stream target addresses to IP consistently when
  6646. we finally get the IP from an exit node.
  6647. - Send log messages to the controller even if they happen to be very
  6648. long.
  6649. o Minor bugfixes (other):
  6650. - Display correct results when reporting which versions are
  6651. recommended, and how recommended they are. (Resolves bug 383.)
  6652. - Improve our estimates for directory bandwidth to be less random:
  6653. guess that an unrecognized directory will have the average bandwidth
  6654. from all known directories, not that it will have the average
  6655. bandwidth from those directories earlier than it on the list.
  6656. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  6657. and hup, stop triggering an assert based on an empty onion_key.
  6658. - On platforms with no working mmap() equivalent, don't warn the
  6659. user when cached-routers doesn't exist.
  6660. - Warn the user when mmap() [or its equivalent] fails for some reason
  6661. other than file-not-found.
  6662. - Don't warn the user when cached-routers.new doesn't exist: that's
  6663. perfectly fine when starting up for the first time.
  6664. - When EntryNodes are configured, rebuild the guard list to contain,
  6665. in order: the EntryNodes that were guards before; the rest of the
  6666. EntryNodes; the nodes that were guards before.
  6667. - Mask out all signals in sub-threads; only the libevent signal
  6668. handler should be processing them. This should prevent some crashes
  6669. on some machines using pthreads. (Patch from coderman.)
  6670. - Fix switched arguments on memset in the implementation of
  6671. tor_munmap() for systems with no mmap() call.
  6672. - When Tor receives a router descriptor that it asked for, but
  6673. no longer wants (because it has received fresh networkstatuses
  6674. in the meantime), do not warn the user. Cache the descriptor if
  6675. we're a cache; drop it if we aren't.
  6676. - Make earlier entry guards _really_ get retried when the network
  6677. comes back online.
  6678. - On a malformed DNS reply, always give an error to the corresponding
  6679. DNS request.
  6680. - Build with recent libevents on platforms that do not define the
  6681. nonstandard types "u_int8_t" and friends.
  6682. o Minor features (controller):
  6683. - Warn the user when an application uses the obsolete binary v0
  6684. control protocol. We're planning to remove support for it during
  6685. the next development series, so it's good to give people some
  6686. advance warning.
  6687. - Add STREAM_BW events to report per-entry-stream bandwidth
  6688. use. (Patch from Robert Hogan.)
  6689. - Rate-limit SIGNEWNYM signals in response to controllers that
  6690. impolitely generate them for every single stream. (Patch from
  6691. mwenge; closes bug 394.)
  6692. - Make REMAP stream events have a SOURCE (cache or exit), and
  6693. make them generated in every case where we get a successful
  6694. connected or resolved cell.
  6695. o Minor bugfixes (performance):
  6696. - Call router_have_min_dir_info half as often. (This is showing up in
  6697. some profiles, but not others.)
  6698. - When using GCC, make log_debug never get called at all, and its
  6699. arguments never get evaluated, when no debug logs are configured.
  6700. (This is showing up in some profiles, but not others.)
  6701. o Minor features:
  6702. - Remove some never-implemented options. Mark PathlenCoinWeight as
  6703. obsolete.
  6704. - Implement proposal 106: Stop requiring clients to have well-formed
  6705. certificates; stop checking nicknames in certificates. (Clients
  6706. have certificates so that they can look like Tor servers, but in
  6707. the future we might want to allow them to look like regular TLS
  6708. clients instead. Nicknames in certificates serve no purpose other
  6709. than making our protocol easier to recognize on the wire.)
  6710. - Revise messages on handshake failure again to be even more clear about
  6711. which are incoming connections and which are outgoing.
  6712. - Discard any v1 directory info that's over 1 month old (for
  6713. directories) or over 1 week old (for running-routers lists).
  6714. - Do not warn when individual nodes in the configuration's EntryNodes,
  6715. ExitNodes, etc are down: warn only when all possible nodes
  6716. are down. (Fixes bug 348.)
  6717. - Always remove expired routers and networkstatus docs before checking
  6718. whether we have enough information to build circuits. (Fixes
  6719. bug 373.)
  6720. - Put a lower-bound on MaxAdvertisedBandwidth.
  6721. Changes in version 0.1.2.7-alpha - 2007-02-06
  6722. o Major bugfixes (rate limiting):
  6723. - Servers decline directory requests much more aggressively when
  6724. they're low on bandwidth. Otherwise they end up queueing more and
  6725. more directory responses, which can't be good for latency.
  6726. - But never refuse directory requests from local addresses.
  6727. - Fix a memory leak when sending a 503 response for a networkstatus
  6728. request.
  6729. - Be willing to read or write on local connections (e.g. controller
  6730. connections) even when the global rate limiting buckets are empty.
  6731. - If our system clock jumps back in time, don't publish a negative
  6732. uptime in the descriptor. Also, don't let the global rate limiting
  6733. buckets go absurdly negative.
  6734. - Flush local controller connection buffers periodically as we're
  6735. writing to them, so we avoid queueing 4+ megabytes of data before
  6736. trying to flush.
  6737. o Major bugfixes (NT services):
  6738. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  6739. command-line flag so that admins can override the default by saying
  6740. "tor --service install --user "SomeUser"". This will not affect
  6741. existing installed services. Also, warn the user that the service
  6742. will look for its configuration file in the service user's
  6743. %appdata% directory. (We can't do the 'hardwire the user's appdata
  6744. directory' trick any more, since we may not have read access to that
  6745. directory.)
  6746. o Major bugfixes (other):
  6747. - Previously, we would cache up to 16 old networkstatus documents
  6748. indefinitely, if they came from nontrusted authorities. Now we
  6749. discard them if they are more than 10 days old.
  6750. - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
  6751. Del Vecchio).
  6752. - Detect and reject malformed DNS responses containing circular
  6753. pointer loops.
  6754. - If exits are rare enough that we're not marking exits as guards,
  6755. ignore exit bandwidth when we're deciding the required bandwidth
  6756. to become a guard.
  6757. - When we're handling a directory connection tunneled over Tor,
  6758. don't fill up internal memory buffers with all the data we want
  6759. to tunnel; instead, only add it if the OR connection that will
  6760. eventually receive it has some room for it. (This can lead to
  6761. slowdowns in tunneled dir connections; a better solution will have
  6762. to wait for 0.2.0.)
  6763. o Minor bugfixes (dns):
  6764. - Add some defensive programming to eventdns.c in an attempt to catch
  6765. possible memory-stomping bugs.
  6766. - Detect and reject DNS replies containing IPv4 or IPv6 records with
  6767. an incorrect number of bytes. (Previously, we would ignore the
  6768. extra bytes.)
  6769. - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
  6770. in the correct order, and doesn't crash.
  6771. - Free memory held in recently-completed DNS lookup attempts on exit.
  6772. This was not a memory leak, but may have been hiding memory leaks.
  6773. - Handle TTL values correctly on reverse DNS lookups.
  6774. - Treat failure to parse resolv.conf as an error.
  6775. o Minor bugfixes (other):
  6776. - Fix crash with "tor --list-fingerprint" (reported by seeess).
  6777. - When computing clock skew from directory HTTP headers, consider what
  6778. time it was when we finished asking for the directory, not what
  6779. time it is now.
  6780. - Expire socks connections if they spend too long waiting for the
  6781. handshake to finish. Previously we would let them sit around for
  6782. days, if the connecting application didn't close them either.
  6783. - And if the socks handshake hasn't started, don't send a
  6784. "DNS resolve socks failed" handshake reply; just close it.
  6785. - Stop using C functions that OpenBSD's linker doesn't like.
  6786. - Don't launch requests for descriptors unless we have networkstatuses
  6787. from at least half of the authorities. This delays the first
  6788. download slightly under pathological circumstances, but can prevent
  6789. us from downloading a bunch of descriptors we don't need.
  6790. - Do not log IPs with TLS failures for incoming TLS
  6791. connections. (Fixes bug 382.)
  6792. - If the user asks to use invalid exit nodes, be willing to use
  6793. unstable ones.
  6794. - Stop using the reserved ac_cv namespace in our configure script.
  6795. - Call stat() slightly less often; use fstat() when possible.
  6796. - Refactor the way we handle pending circuits when an OR connection
  6797. completes or fails, in an attempt to fix a rare crash bug.
  6798. - Only rewrite a conn's address based on X-Forwarded-For: headers
  6799. if it's a parseable public IP address; and stop adding extra quotes
  6800. to the resulting address.
  6801. o Major features:
  6802. - Weight directory requests by advertised bandwidth. Now we can
  6803. let servers enable write limiting but still allow most clients to
  6804. succeed at their directory requests. (We still ignore weights when
  6805. choosing a directory authority; I hope this is a feature.)
  6806. o Minor features:
  6807. - Create a new file ReleaseNotes which was the old ChangeLog. The
  6808. new ChangeLog file now includes the summaries for all development
  6809. versions too.
  6810. - Check for addresses with invalid characters at the exit as well
  6811. as at the client, and warn less verbosely when they fail. You can
  6812. override this by setting ServerDNSAllowNonRFC953Addresses to 1.
  6813. - Adapt a patch from goodell to let the contrib/exitlist script
  6814. take arguments rather than require direct editing.
  6815. - Inform the server operator when we decide not to advertise a
  6816. DirPort due to AccountingMax enabled or a low BandwidthRate. It
  6817. was confusing Zax, so now we're hopefully more helpful.
  6818. - Bring us one step closer to being able to establish an encrypted
  6819. directory tunnel without knowing a descriptor first. Still not
  6820. ready yet. As part of the change, now assume we can use a
  6821. create_fast cell if we don't know anything about a router.
  6822. - Allow exit nodes to use nameservers running on ports other than 53.
  6823. - Servers now cache reverse DNS replies.
  6824. - Add an --ignore-missing-torrc command-line option so that we can
  6825. get the "use sensible defaults if the configuration file doesn't
  6826. exist" behavior even when specifying a torrc location on the command
  6827. line.
  6828. o Minor features (controller):
  6829. - Track reasons for OR connection failure; make these reasons
  6830. available via the controller interface. (Patch from Mike Perry.)
  6831. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  6832. can learn when clients are sending malformed hostnames to Tor.
  6833. - Clean up documentation for controller status events.
  6834. - Add a REMAP status to stream events to note that a stream's
  6835. address has changed because of a cached address or a MapAddress
  6836. directive.
  6837. Changes in version 0.1.2.6-alpha - 2007-01-09
  6838. o Major bugfixes:
  6839. - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
  6840. connection handles more than 4 gigs in either direction, we crash.
  6841. - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
  6842. advertised exit node, somebody might try to exit from us when
  6843. we're bootstrapping and before we've built our descriptor yet.
  6844. Refuse the connection rather than crashing.
  6845. o Minor bugfixes:
  6846. - Warn if we (as a server) find that we've resolved an address that we
  6847. weren't planning to resolve.
  6848. - Warn that using select() on any libevent version before 1.1 will be
  6849. unnecessarily slow (even for select()).
  6850. - Flush ERR-level controller status events just like we currently
  6851. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  6852. the controller from learning about current events.
  6853. o Minor features (more controller status events):
  6854. - Implement EXTERNAL_ADDRESS server status event so controllers can
  6855. learn when our address changes.
  6856. - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
  6857. can learn when directories reject our descriptor.
  6858. - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
  6859. can learn when a client application is speaking a non-socks protocol
  6860. to our SocksPort.
  6861. - Implement DANGEROUS_SOCKS client status event so controllers
  6862. can learn when a client application is leaking DNS addresses.
  6863. - Implement BUG general status event so controllers can learn when
  6864. Tor is unhappy about its internal invariants.
  6865. - Implement CLOCK_SKEW general status event so controllers can learn
  6866. when Tor thinks the system clock is set incorrectly.
  6867. - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
  6868. server status events so controllers can learn when their descriptors
  6869. are accepted by a directory.
  6870. - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
  6871. server status events so controllers can learn about Tor's progress in
  6872. deciding whether it's reachable from the outside.
  6873. - Implement BAD_LIBEVENT general status event so controllers can learn
  6874. when we have a version/method combination in libevent that needs to
  6875. be changed.
  6876. - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
  6877. and DNS_USELESS server status events so controllers can learn
  6878. about changes to DNS server status.
  6879. o Minor features (directory):
  6880. - Authorities no longer recommend exits as guards if this would shift
  6881. too much load to the exit nodes.
  6882. Changes in version 0.1.2.5-alpha - 2007-01-06
  6883. o Major features:
  6884. - Enable write limiting as well as read limiting. Now we sacrifice
  6885. capacity if we're pushing out lots of directory traffic, rather
  6886. than overrunning the user's intended bandwidth limits.
  6887. - Include TLS overhead when counting bandwidth usage; previously, we
  6888. would count only the bytes sent over TLS, but not the bytes used
  6889. to send them.
  6890. - Support running the Tor service with a torrc not in the same
  6891. directory as tor.exe and default to using the torrc located in
  6892. the %appdata%\Tor\ of the user who installed the service. Patch
  6893. from Matt Edman.
  6894. - Servers now check for the case when common DNS requests are going to
  6895. wildcarded addresses (i.e. all getting the same answer), and change
  6896. their exit policy to reject *:* if it's happening.
  6897. - Implement BEGIN_DIR cells, so we can connect to the directory
  6898. server via TLS to do encrypted directory requests rather than
  6899. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  6900. config options if you like.
  6901. o Minor features (config and docs):
  6902. - Start using the state file to store bandwidth accounting data:
  6903. the bw_accounting file is now obsolete. We'll keep generating it
  6904. for a while for people who are still using 0.1.2.4-alpha.
  6905. - Try to batch changes to the state file so that we do as few
  6906. disk writes as possible while still storing important things in
  6907. a timely fashion.
  6908. - The state file and the bw_accounting file get saved less often when
  6909. the AvoidDiskWrites config option is set.
  6910. - Make PIDFile work on Windows (untested).
  6911. - Add internal descriptions for a bunch of configuration options:
  6912. accessible via controller interface and in comments in saved
  6913. options files.
  6914. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  6915. NNTP by default, so this seems like a sensible addition.
  6916. - Clients now reject hostnames with invalid characters. This should
  6917. avoid some inadvertent info leaks. Add an option
  6918. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  6919. is running a private network with hosts called @, !, and #.
  6920. - Add a maintainer script to tell us which options are missing
  6921. documentation: "make check-docs".
  6922. - Add a new address-spec.txt document to describe our special-case
  6923. addresses: .exit, .onion, and .noconnnect.
  6924. o Minor features (DNS):
  6925. - Ongoing work on eventdns infrastructure: now it has dns server
  6926. and ipv6 support. One day Tor will make use of it.
  6927. - Add client-side caching for reverse DNS lookups.
  6928. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  6929. - When we change nameservers or IP addresses, reset and re-launch
  6930. our tests for DNS hijacking.
  6931. o Minor features (directory):
  6932. - Authorities now specify server versions in networkstatus. This adds
  6933. about 2% to the size of compressed networkstatus docs, and allows
  6934. clients to tell which servers support BEGIN_DIR and which don't.
  6935. The implementation is forward-compatible with a proposed future
  6936. protocol version scheme not tied to Tor versions.
  6937. - DirServer configuration lines now have an orport= option so
  6938. clients can open encrypted tunnels to the authorities without
  6939. having downloaded their descriptors yet. Enabled for moria1,
  6940. moria2, tor26, and lefkada now in the default configuration.
  6941. - Directory servers are more willing to send a 503 "busy" if they
  6942. are near their write limit, especially for v1 directory requests.
  6943. Now they can use their limited bandwidth for actual Tor traffic.
  6944. - Clients track responses with status 503 from dirservers. After a
  6945. dirserver has given us a 503, we try not to use it until an hour has
  6946. gone by, or until we have no dirservers that haven't given us a 503.
  6947. - When we get a 503 from a directory, and we're not a server, we don't
  6948. count the failure against the total number of failures allowed
  6949. for the thing we're trying to download.
  6950. - Report X-Your-Address-Is correctly from tunneled directory
  6951. connections; don't report X-Your-Address-Is when it's an internal
  6952. address; and never believe reported remote addresses when they're
  6953. internal.
  6954. - Protect against an unlikely DoS attack on directory servers.
  6955. - Add a BadDirectory flag to network status docs so that authorities
  6956. can (eventually) tell clients about caches they believe to be
  6957. broken.
  6958. o Minor features (controller):
  6959. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  6960. - Reimplement GETINFO so that info/names stays in sync with the
  6961. actual keys.
  6962. - Implement "GETINFO fingerprint".
  6963. - Implement "SETEVENTS GUARD" so controllers can get updates on
  6964. entry guard status as it changes.
  6965. o Minor features (clean up obsolete pieces):
  6966. - Remove some options that have been deprecated since at least
  6967. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  6968. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  6969. to set log options.
  6970. - We no longer look for identity and onion keys in "identity.key" and
  6971. "onion.key" -- these were replaced by secret_id_key and
  6972. secret_onion_key in 0.0.8pre1.
  6973. - We no longer require unrecognized directory entries to be
  6974. preceded by "opt".
  6975. o Major bugfixes (security):
  6976. - Stop sending the HttpProxyAuthenticator string to directory
  6977. servers when directory connections are tunnelled through Tor.
  6978. - Clients no longer store bandwidth history in the state file.
  6979. - Do not log introduction points for hidden services if SafeLogging
  6980. is set.
  6981. - When generating bandwidth history, round down to the nearest
  6982. 1k. When storing accounting data, round up to the nearest 1k.
  6983. - When we're running as a server, remember when we last rotated onion
  6984. keys, so that we will rotate keys once they're a week old even if
  6985. we never stay up for a week ourselves.
  6986. o Major bugfixes (other):
  6987. - Fix a longstanding bug in eventdns that prevented the count of
  6988. timed-out resolves from ever being reset. This bug caused us to
  6989. give up on a nameserver the third time it timed out, and try it
  6990. 10 seconds later... and to give up on it every time it timed out
  6991. after that.
  6992. - Take out the '5 second' timeout from the connection retry
  6993. schedule. Now the first connect attempt will wait a full 10
  6994. seconds before switching to a new circuit. Perhaps this will help
  6995. a lot. Based on observations from Mike Perry.
  6996. - Fix a bug on the Windows implementation of tor_mmap_file() that
  6997. would prevent the cached-routers file from ever loading. Reported
  6998. by John Kimble.
  6999. o Minor bugfixes:
  7000. - Fix an assert failure when a directory authority sets
  7001. AuthDirRejectUnlisted and then receives a descriptor from an
  7002. unlisted router. Reported by seeess.
  7003. - Avoid a double-free when parsing malformed DirServer lines.
  7004. - Fix a bug when a BSD-style PF socket is first used. Patch from
  7005. Fabian Keil.
  7006. - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
  7007. to resolve an address at a given exit node even when they ask for
  7008. it by name.
  7009. - Servers no longer ever list themselves in their "family" line,
  7010. even if configured to do so. This makes it easier to configure
  7011. family lists conveniently.
  7012. - When running as a server, don't fall back to 127.0.0.1 when no
  7013. nameservers are configured in /etc/resolv.conf; instead, make the
  7014. user fix resolv.conf or specify nameservers explicitly. (Resolves
  7015. bug 363.)
  7016. - Stop accepting certain malformed ports in configured exit policies.
  7017. - Don't re-write the fingerprint file every restart, unless it has
  7018. changed.
  7019. - Stop warning when a single nameserver fails: only warn when _all_ of
  7020. our nameservers have failed. Also, when we only have one nameserver,
  7021. raise the threshold for deciding that the nameserver is dead.
  7022. - Directory authorities now only decide that routers are reachable
  7023. if their identity keys are as expected.
  7024. - When the user uses bad syntax in the Log config line, stop
  7025. suggesting other bad syntax as a replacement.
  7026. - Correctly detect ipv6 DNS capability on OpenBSD.
  7027. o Minor bugfixes (controller):
  7028. - Report the circuit number correctly in STREAM CLOSED events. Bug
  7029. reported by Mike Perry.
  7030. - Do not report bizarre values for results of accounting GETINFOs
  7031. when the last second's write or read exceeds the allotted bandwidth.
  7032. - Report "unrecognized key" rather than an empty string when the
  7033. controller tries to fetch a networkstatus that doesn't exist.
  7034. Changes in version 0.1.1.26 - 2006-12-14
  7035. o Security bugfixes:
  7036. - Stop sending the HttpProxyAuthenticator string to directory
  7037. servers when directory connections are tunnelled through Tor.
  7038. - Clients no longer store bandwidth history in the state file.
  7039. - Do not log introduction points for hidden services if SafeLogging
  7040. is set.
  7041. o Minor bugfixes:
  7042. - Fix an assert failure when a directory authority sets
  7043. AuthDirRejectUnlisted and then receives a descriptor from an
  7044. unlisted router (reported by seeess).
  7045. Changes in version 0.1.2.4-alpha - 2006-12-03
  7046. o Major features:
  7047. - Add support for using natd; this allows FreeBSDs earlier than
  7048. 5.1.2 to have ipfw send connections through Tor without using
  7049. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  7050. o Minor features:
  7051. - Make all connections to addresses of the form ".noconnect"
  7052. immediately get closed. This lets application/controller combos
  7053. successfully test whether they're talking to the same Tor by
  7054. watching for STREAM events.
  7055. - Make cross.sh cross-compilation script work even when autogen.sh
  7056. hasn't been run. (Patch from Michael Mohr.)
  7057. - Statistics dumped by -USR2 now include a breakdown of public key
  7058. operations, for profiling.
  7059. o Major bugfixes:
  7060. - Fix a major leak when directory authorities parse their
  7061. approved-routers list, a minor memory leak when we fail to pick
  7062. an exit node, and a few rare leaks on errors.
  7063. - Handle TransPort connections even when the server sends data before
  7064. the client sends data. Previously, the connection would just hang
  7065. until the client sent data. (Patch from tup based on patch from
  7066. Zajcev Evgeny.)
  7067. - Avoid assert failure when our cached-routers file is empty on
  7068. startup.
  7069. o Minor bugfixes:
  7070. - Don't log spurious warnings when we see a circuit close reason we
  7071. don't recognize; it's probably just from a newer version of Tor.
  7072. - Have directory authorities allow larger amounts of drift in uptime
  7073. without replacing the server descriptor: previously, a server that
  7074. restarted every 30 minutes could have 48 "interesting" descriptors
  7075. per day.
  7076. - Start linking to the Tor specification and Tor reference manual
  7077. correctly in the Windows installer.
  7078. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  7079. Tor/Privoxy we also uninstall Vidalia.
  7080. - Resume building on Irix64, and fix a lot of warnings from its
  7081. MIPSpro C compiler.
  7082. - Don't corrupt last_guessed_ip in router_new_address_suggestion()
  7083. when we're running as a client.
  7084. Changes in version 0.1.1.25 - 2006-11-04
  7085. o Major bugfixes:
  7086. - When a client asks us to resolve (rather than connect to)
  7087. an address, and we have a cached answer, give them the cached
  7088. answer. Previously, we would give them no answer at all.
  7089. - We were building exactly the wrong circuits when we predict
  7090. hidden service requirements, meaning Tor would have to build all
  7091. its circuits on demand.
  7092. - If none of our live entry guards have a high uptime, but we
  7093. require a guard with a high uptime, try adding a new guard before
  7094. we give up on the requirement. This patch should make long-lived
  7095. connections more stable on average.
  7096. - When testing reachability of our DirPort, don't launch new
  7097. tests when there's already one in progress -- unreachable
  7098. servers were stacking up dozens of testing streams.
  7099. o Security bugfixes:
  7100. - When the user sends a NEWNYM signal, clear the client-side DNS
  7101. cache too. Otherwise we continue to act on previous information.
  7102. o Minor bugfixes:
  7103. - Avoid a memory corruption bug when creating a hash table for
  7104. the first time.
  7105. - Avoid possibility of controller-triggered crash when misusing
  7106. certain commands from a v0 controller on platforms that do not
  7107. handle printf("%s",NULL) gracefully.
  7108. - Avoid infinite loop on unexpected controller input.
  7109. - Don't log spurious warnings when we see a circuit close reason we
  7110. don't recognize; it's probably just from a newer version of Tor.
  7111. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  7112. Tor/Privoxy we also uninstall Vidalia.
  7113. Changes in version 0.1.2.3-alpha - 2006-10-29
  7114. o Minor features:
  7115. - Prepare for servers to publish descriptors less often: never
  7116. discard a descriptor simply for being too old until either it is
  7117. recommended by no authorities, or until we get a better one for
  7118. the same router. Make caches consider retaining old recommended
  7119. routers for even longer.
  7120. - If most authorities set a BadExit flag for a server, clients
  7121. don't think of it as a general-purpose exit. Clients only consider
  7122. authorities that advertise themselves as listing bad exits.
  7123. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  7124. headers for content, so that we can work better in the presence of
  7125. caching HTTP proxies.
  7126. - Allow authorities to list nodes as bad exits by fingerprint or by
  7127. address.
  7128. o Minor features, controller:
  7129. - Add a REASON field to CIRC events; for backward compatibility, this
  7130. field is sent only to controllers that have enabled the extended
  7131. event format. Also, add additional reason codes to explain why
  7132. a given circuit has been destroyed or truncated. (Patches from
  7133. Mike Perry)
  7134. - Add a REMOTE_REASON field to extended CIRC events to tell the
  7135. controller about why a remote OR told us to close a circuit.
  7136. - Stream events also now have REASON and REMOTE_REASON fields,
  7137. working much like those for circuit events.
  7138. - There's now a GETINFO ns/... field so that controllers can ask Tor
  7139. about the current status of a router.
  7140. - A new event type "NS" to inform a controller when our opinion of
  7141. a router's status has changed.
  7142. - Add a GETINFO events/names and GETINFO features/names so controllers
  7143. can tell which events and features are supported.
  7144. - A new CLEARDNSCACHE signal to allow controllers to clear the
  7145. client-side DNS cache without expiring circuits.
  7146. o Security bugfixes:
  7147. - When the user sends a NEWNYM signal, clear the client-side DNS
  7148. cache too. Otherwise we continue to act on previous information.
  7149. o Minor bugfixes:
  7150. - Avoid sending junk to controllers or segfaulting when a controller
  7151. uses EVENT_NEW_DESC with verbose nicknames.
  7152. - Stop triggering asserts if the controller tries to extend hidden
  7153. service circuits (reported by mwenge).
  7154. - Avoid infinite loop on unexpected controller input.
  7155. - When the controller does a "GETINFO network-status", tell it
  7156. about even those routers whose descriptors are very old, and use
  7157. long nicknames where appropriate.
  7158. - Change NT service functions to be loaded on demand. This lets us
  7159. build with MinGW without breaking Tor for Windows 98 users.
  7160. - Do DirPort reachability tests less often, since a single test
  7161. chews through many circuits before giving up.
  7162. - In the hidden service example in torrc.sample, stop recommending
  7163. esoteric and discouraged hidden service options.
  7164. - When stopping an NT service, wait up to 10 sec for it to actually
  7165. stop. (Patch from Matt Edman; resolves bug 295.)
  7166. - Fix handling of verbose nicknames with ORCONN controller events:
  7167. make them show up exactly when requested, rather than exactly when
  7168. not requested.
  7169. - When reporting verbose nicknames in entry_guards_getinfo(), avoid
  7170. printing a duplicate "$" in the keys we send (reported by mwenge).
  7171. - Correctly set maximum connection limit on Cygwin. (This time
  7172. for sure!)
  7173. - Try to detect Windows correctly when cross-compiling.
  7174. - Detect the size of the routers file correctly even if it is
  7175. corrupted (on systems without mmap) or not page-aligned (on systems
  7176. with mmap). This bug was harmless.
  7177. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  7178. to open a stream fails; now we do in more cases. This should
  7179. make clients able to find a good exit faster in some cases, since
  7180. unhandleable requests will now get an error rather than timing out.
  7181. - Resolve two memory leaks when rebuilding the on-disk router cache
  7182. (reported by fookoowa).
  7183. - Clean up minor code warnings suggested by the MIPSpro C compiler,
  7184. and reported by some Centos users.
  7185. - Controller signals now work on non-Unix platforms that don't define
  7186. SIGUSR1 and SIGUSR2 the way we expect.
  7187. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  7188. values before failing, and always enables eventdns.
  7189. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  7190. Try to fix this in configure.in by checking for most functions
  7191. before we check for libevent.
  7192. Changes in version 0.1.2.2-alpha - 2006-10-07
  7193. o Major features:
  7194. - Make our async eventdns library on-by-default for Tor servers,
  7195. and plan to deprecate the separate dnsworker threads.
  7196. - Add server-side support for "reverse" DNS lookups (using PTR
  7197. records so clients can determine the canonical hostname for a given
  7198. IPv4 address). Only supported by servers using eventdns; servers
  7199. now announce in their descriptors whether they support eventdns.
  7200. - Specify and implement client-side SOCKS5 interface for reverse DNS
  7201. lookups (see doc/socks-extensions.txt).
  7202. - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
  7203. connect to directory servers through Tor. Previously, clients needed
  7204. to find Tor exits to make private connections to directory servers.
  7205. - Avoid choosing Exit nodes for entry or middle hops when the
  7206. total bandwidth available from non-Exit nodes is much higher than
  7207. the total bandwidth available from Exit nodes.
  7208. - Workaround for name servers (like Earthlink's) that hijack failing
  7209. DNS requests and replace the no-such-server answer with a "helpful"
  7210. redirect to an advertising-driven search portal. Also work around
  7211. DNS hijackers who "helpfully" decline to hijack known-invalid
  7212. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  7213. lets you turn it off.
  7214. - Send out a burst of long-range padding cells once we've established
  7215. that we're reachable. Spread them over 4 circuits, so hopefully
  7216. a few will be fast. This exercises our bandwidth and bootstraps
  7217. us into the directory more quickly.
  7218. o New/improved config options:
  7219. - Add new config option "ResolvConf" to let the server operator
  7220. choose an alternate resolve.conf file when using eventdns.
  7221. - Add an "EnforceDistinctSubnets" option to control our "exclude
  7222. servers on the same /16" behavior. It's still on by default; this
  7223. is mostly for people who want to operate private test networks with
  7224. all the machines on the same subnet.
  7225. - If one of our entry guards is on the ExcludeNodes list, or the
  7226. directory authorities don't think it's a good guard, treat it as
  7227. if it were unlisted: stop using it as a guard, and throw it off
  7228. the guards list if it stays that way for a long time.
  7229. - Allow directory authorities to be marked separately as authorities
  7230. for the v1 directory protocol, the v2 directory protocol, and
  7231. as hidden service directories, to make it easier to retire old
  7232. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  7233. to continue being hidden service authorities too.
  7234. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  7235. o Minor features, controller:
  7236. - Fix CIRC controller events so that controllers can learn the
  7237. identity digests of non-Named servers used in circuit paths.
  7238. - Let controllers ask for more useful identifiers for servers. Instead
  7239. of learning identity digests for un-Named servers and nicknames
  7240. for Named servers, the new identifiers include digest, nickname,
  7241. and indication of Named status. Off by default; see control-spec.txt
  7242. for more information.
  7243. - Add a "getinfo address" controller command so it can display Tor's
  7244. best guess to the user.
  7245. - New controller event to alert the controller when our server
  7246. descriptor has changed.
  7247. - Give more meaningful errors on controller authentication failure.
  7248. o Minor features, other:
  7249. - When asked to resolve a hostname, don't use non-exit servers unless
  7250. requested to do so. This allows servers with broken DNS to be
  7251. useful to the network.
  7252. - Divide eventdns log messages into warn and info messages.
  7253. - Reserve the nickname "Unnamed" for routers that can't pick
  7254. a hostname: any router can call itself Unnamed; directory
  7255. authorities will never allocate Unnamed to any particular router;
  7256. clients won't believe that any router is the canonical Unnamed.
  7257. - Only include function names in log messages for info/debug messages.
  7258. For notice/warn/err, the content of the message should be clear on
  7259. its own, and printing the function name only confuses users.
  7260. - Avoid some false positives during reachability testing: don't try
  7261. to test via a server that's on the same /24 as us.
  7262. - If we fail to build a circuit to an intended enclave, and it's
  7263. not mandatory that we use that enclave, stop wanting it.
  7264. - When eventdns is enabled, allow multithreaded builds on NetBSD and
  7265. OpenBSD. (We had previously disabled threads on these platforms
  7266. because they didn't have working thread-safe resolver functions.)
  7267. o Major bugfixes, anonymity/security:
  7268. - If a client asked for a server by name, and there's a named server
  7269. in our network-status but we don't have its descriptor yet, we
  7270. could return an unnamed server instead.
  7271. - Fix NetBSD bug that could allow someone to force uninitialized RAM
  7272. to be sent to a server's DNS resolver. This only affects NetBSD
  7273. and other platforms that do not bounds-check tolower().
  7274. - Reject (most) attempts to use Tor circuits with length one. (If
  7275. many people start using Tor as a one-hop proxy, exit nodes become
  7276. a more attractive target for compromise.)
  7277. - Just because your DirPort is open doesn't mean people should be
  7278. able to remotely teach you about hidden service descriptors. Now
  7279. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  7280. o Major bugfixes, other:
  7281. - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
  7282. - When a client asks the server to resolve (not connect to)
  7283. an address, and it has a cached answer, give them the cached answer.
  7284. Previously, the server would give them no answer at all.
  7285. - Allow really slow clients to not hang up five minutes into their
  7286. directory downloads (suggested by Adam J. Richter).
  7287. - We were building exactly the wrong circuits when we anticipated
  7288. hidden service requirements, meaning Tor would have to build all
  7289. its circuits on demand.
  7290. - Avoid crashing when we mmap a router cache file of size 0.
  7291. - When testing reachability of our DirPort, don't launch new
  7292. tests when there's already one in progress -- unreachable
  7293. servers were stacking up dozens of testing streams.
  7294. o Minor bugfixes, correctness:
  7295. - If we're a directory mirror and we ask for "all" network status
  7296. documents, we would discard status documents from authorities
  7297. we don't recognize.
  7298. - Avoid a memory corruption bug when creating a hash table for
  7299. the first time.
  7300. - Avoid controller-triggered crash when misusing certain commands
  7301. from a v0 controller on platforms that do not handle
  7302. printf("%s",NULL) gracefully.
  7303. - Don't crash when a controller sends a third argument to an
  7304. "extendcircuit" request.
  7305. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  7306. response; fix error code when "getinfo dir/status/" fails.
  7307. - Avoid crash when telling controller stream-status and a stream
  7308. is detached.
  7309. - Patch from Adam Langley to fix assert() in eventdns.c.
  7310. - Fix a debug log message in eventdns to say "X resolved to Y"
  7311. instead of "X resolved to X".
  7312. - Make eventdns give strings for DNS errors, not just error numbers.
  7313. - Track unreachable entry guards correctly: don't conflate
  7314. 'unreachable by us right now' with 'listed as down by the directory
  7315. authorities'. With the old code, if a guard was unreachable by
  7316. us but listed as running, it would clog our guard list forever.
  7317. - Behave correctly in case we ever have a network with more than
  7318. 2GB/s total advertised capacity.
  7319. - Make TrackExitHosts case-insensitive, and fix the behavior of
  7320. ".suffix" TrackExitHosts items to avoid matching in the middle of
  7321. an address.
  7322. - Finally fix the openssl warnings from newer gccs that believe that
  7323. ignoring a return value is okay, but casting a return value and
  7324. then ignoring it is a sign of madness.
  7325. - Prevent the contrib/exitlist script from printing the same
  7326. result more than once.
  7327. - Patch from Steve Hildrey: Generate network status correctly on
  7328. non-versioning dirservers.
  7329. - Don't listen to the X-Your-Address-Is hint if you did the lookup
  7330. via Tor; otherwise you'll think you're the exit node's IP address.
  7331. o Minor bugfixes, performance:
  7332. - Two small performance improvements on parsing descriptors.
  7333. - Major performance improvement on inserting descriptors: change
  7334. algorithm from O(n^2) to O(n).
  7335. - Make the common memory allocation path faster on machines where
  7336. malloc(0) returns a pointer.
  7337. - Start remembering X-Your-Address-Is directory hints even if you're
  7338. a client, so you can become a server more smoothly.
  7339. - Avoid duplicate entries on MyFamily line in server descriptor.
  7340. o Packaging, features:
  7341. - Remove architecture from OS X builds. The official builds are
  7342. now universal binaries.
  7343. - The Debian package now uses --verify-config when (re)starting,
  7344. to distinguish configuration errors from other errors.
  7345. - Update RPMs to require libevent 1.1b.
  7346. o Packaging, bugfixes:
  7347. - Patches so Tor builds with MinGW on Windows.
  7348. - Patches so Tor might run on Cygwin again.
  7349. - Resume building on non-gcc compilers and ancient gcc. Resume
  7350. building with the -O0 compile flag. Resume building cleanly on
  7351. Debian woody.
  7352. - Run correctly on OS X platforms with case-sensitive filesystems.
  7353. - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
  7354. - Add autoconf checks so Tor can build on Solaris x86 again.
  7355. o Documentation
  7356. - Documented (and renamed) ServerDNSSearchDomains and
  7357. ServerDNSResolvConfFile options.
  7358. - Be clearer that the *ListenAddress directives can be repeated
  7359. multiple times.
  7360. Changes in version 0.1.1.24 - 2006-09-29
  7361. o Major bugfixes:
  7362. - Allow really slow clients to not hang up five minutes into their
  7363. directory downloads (suggested by Adam J. Richter).
  7364. - Fix major performance regression from 0.1.0.x: instead of checking
  7365. whether we have enough directory information every time we want to
  7366. do something, only check when the directory information has changed.
  7367. This should improve client CPU usage by 25-50%.
  7368. - Don't crash if, after a server has been running for a while,
  7369. it can't resolve its hostname.
  7370. o Minor bugfixes:
  7371. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  7372. - Don't crash when the controller receives a third argument to an
  7373. "extendcircuit" request.
  7374. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  7375. response; fix error code when "getinfo dir/status/" fails.
  7376. - Fix configure.in to not produce broken configure files with
  7377. more recent versions of autoconf. Thanks to Clint for his auto*
  7378. voodoo.
  7379. - Fix security bug on NetBSD that could allow someone to force
  7380. uninitialized RAM to be sent to a server's DNS resolver. This
  7381. only affects NetBSD and other platforms that do not bounds-check
  7382. tolower().
  7383. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  7384. methods: these are known to be buggy.
  7385. - If we're a directory mirror and we ask for "all" network status
  7386. documents, we would discard status documents from authorities
  7387. we don't recognize.
  7388. Changes in version 0.1.2.1-alpha - 2006-08-27
  7389. o Major features:
  7390. - Add "eventdns" async dns library from Adam Langley, tweaked to
  7391. build on OSX and Windows. Only enabled if you pass the
  7392. --enable-eventdns argument to configure.
  7393. - Allow servers with no hostname or IP address to learn their
  7394. IP address by asking the directory authorities. This code only
  7395. kicks in when you would normally have exited with a "no address"
  7396. error. Nothing's authenticated, so use with care.
  7397. - Rather than waiting a fixed amount of time between retrying
  7398. application connections, we wait only 5 seconds for the first,
  7399. 10 seconds for the second, and 15 seconds for each retry after
  7400. that. Hopefully this will improve the expected user experience.
  7401. - Patch from Tup to add support for transparent AP connections:
  7402. this basically bundles the functionality of trans-proxy-tor
  7403. into the Tor mainline. Now hosts with compliant pf/netfilter
  7404. implementations can redirect TCP connections straight to Tor
  7405. without diverting through SOCKS. Needs docs.
  7406. - Busy directory servers save lots of memory by spooling server
  7407. descriptors, v1 directories, and v2 networkstatus docs to buffers
  7408. as needed rather than en masse. Also mmap the cached-routers
  7409. files, so we don't need to keep the whole thing in memory too.
  7410. - Automatically avoid picking more than one node from the same
  7411. /16 network when constructing a circuit.
  7412. - Revise and clean up the torrc.sample that we ship with; add
  7413. a section for BandwidthRate and BandwidthBurst.
  7414. o Minor features:
  7415. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  7416. split connection_t into edge, or, dir, control, and base structs.
  7417. These will save quite a bit of memory on busy servers, and they'll
  7418. also help us track down bugs in the code and bugs in the spec.
  7419. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  7420. or later. Log when we are doing this, so we can diagnose it when
  7421. it fails. (Also, recommend libevent 1.1b for kqueue and
  7422. win32 methods; deprecate libevent 1.0b harder; make libevent
  7423. recommendation system saner.)
  7424. - Start being able to build universal binaries on OS X (thanks
  7425. to Phobos).
  7426. - Export the default exit policy via the control port, so controllers
  7427. don't need to guess what it is / will be later.
  7428. - Add a man page entry for ProtocolWarnings.
  7429. - Add TestVia config option to the man page.
  7430. - Remove even more protocol-related warnings from Tor server logs,
  7431. such as bad TLS handshakes and malformed begin cells.
  7432. - Stop fetching descriptors if you're not a dir mirror and you
  7433. haven't tried to establish any circuits lately. [This currently
  7434. causes some dangerous behavior, because when you start up again
  7435. you'll use your ancient server descriptors.]
  7436. - New DirPort behavior: if you have your dirport set, you download
  7437. descriptors aggressively like a directory mirror, whether or not
  7438. your ORPort is set.
  7439. - Get rid of the router_retry_connections notion. Now routers
  7440. no longer try to rebuild long-term connections to directory
  7441. authorities, and directory authorities no longer try to rebuild
  7442. long-term connections to all servers. We still don't hang up
  7443. connections in these two cases though -- we need to look at it
  7444. more carefully to avoid flapping, and we likely need to wait til
  7445. 0.1.1.x is obsolete.
  7446. - Drop compatibility with obsolete Tors that permit create cells
  7447. to have the wrong circ_id_type.
  7448. - Re-enable per-connection rate limiting. Get rid of the "OP
  7449. bandwidth" concept. Lay groundwork for "bandwidth classes" --
  7450. separate global buckets that apply depending on what sort of conn
  7451. it is.
  7452. - Start publishing one minute or so after we find our ORPort
  7453. to be reachable. This will help reduce the number of descriptors
  7454. we have for ourselves floating around, since it's quite likely
  7455. other things (e.g. DirPort) will change during that minute too.
  7456. - Fork the v1 directory protocol into its own spec document,
  7457. and mark dir-spec.txt as the currently correct (v2) spec.
  7458. o Major bugfixes:
  7459. - When we find our DirPort to be reachable, publish a new descriptor
  7460. so we'll tell the world (reported by pnx).
  7461. - Publish a new descriptor after we hup/reload. This is important
  7462. if our config has changed such that we'll want to start advertising
  7463. our DirPort now, etc.
  7464. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  7465. - When we have a state file we cannot parse, tell the user and
  7466. move it aside. Now we avoid situations where the user starts
  7467. Tor in 1904, Tor writes a state file with that timestamp in it,
  7468. the user fixes her clock, and Tor refuses to start.
  7469. - Fix configure.in to not produce broken configure files with
  7470. more recent versions of autoconf. Thanks to Clint for his auto*
  7471. voodoo.
  7472. - "tor --verify-config" now exits with -1(255) or 0 depending on
  7473. whether the config options are bad or good.
  7474. - Resolve bug 321 when using dnsworkers: append a period to every
  7475. address we resolve at the exit node, so that we do not accidentally
  7476. pick up local addresses, and so that failing searches are retried
  7477. in the resolver search domains. (This is already solved for
  7478. eventdns.) (This breaks Blossom servers for now.)
  7479. - If we are using an exit enclave and we can't connect, e.g. because
  7480. its webserver is misconfigured to not listen on localhost, then
  7481. back off and try connecting from somewhere else before we fail.
  7482. o Minor bugfixes:
  7483. - Start compiling on MinGW on Windows (patches from Mike Chiussi).
  7484. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  7485. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  7486. when the IP address is mapped through MapAddress to a hostname.
  7487. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  7488. useless IPv6 DNS resolves.
  7489. - Patch suggested by Karsten Loesing: respond to SIGNAL command
  7490. before we execute the signal, in case the signal shuts us down.
  7491. - Clean up AllowInvalidNodes man page entry.
  7492. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  7493. - Add more asserts to track down an assert error on a windows Tor
  7494. server with connection_add being called with socket == -1.
  7495. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  7496. - Fix misleading log messages: an entry guard that is "unlisted",
  7497. as well as not known to be "down" (because we've never heard
  7498. of it), is not therefore "up".
  7499. - Remove code to special-case "-cvs" ending, since it has not
  7500. actually mattered since 0.0.9.
  7501. - Make our socks5 handling more robust to broken socks clients:
  7502. throw out everything waiting on the buffer in between socks
  7503. handshake phases, since they can't possibly (so the theory
  7504. goes) have predicted what we plan to respond to them.
  7505. Changes in version 0.1.1.23 - 2006-07-30
  7506. o Major bugfixes:
  7507. - Fast Tor servers, especially exit nodes, were triggering asserts
  7508. due to a bug in handling the list of pending DNS resolves. Some
  7509. bugs still remain here; we're hunting them.
  7510. - Entry guards could crash clients by sending unexpected input.
  7511. - More fixes on reachability testing: if you find yourself reachable,
  7512. then don't ever make any client requests (so you stop predicting
  7513. circuits), then hup or have your clock jump, then later your IP
  7514. changes, you won't think circuits are working, so you won't try to
  7515. test reachability, so you won't publish.
  7516. o Minor bugfixes:
  7517. - Avoid a crash if the controller does a resetconf firewallports
  7518. and then a setconf fascistfirewall=1.
  7519. - Avoid an integer underflow when the dir authority decides whether
  7520. a router is stable: we might wrongly label it stable, and compute
  7521. a slightly wrong median stability, when a descriptor is published
  7522. later than now.
  7523. - Fix a place where we might trigger an assert if we can't build our
  7524. own server descriptor yet.
  7525. Changes in version 0.1.1.22 - 2006-07-05
  7526. o Major bugfixes:
  7527. - Fix a big bug that was causing servers to not find themselves
  7528. reachable if they changed IP addresses. Since only 0.1.1.22+
  7529. servers can do reachability testing correctly, now we automatically
  7530. make sure to test via one of these.
  7531. - Fix to allow clients and mirrors to learn directory info from
  7532. descriptor downloads that get cut off partway through.
  7533. - Directory authorities had a bug in deciding if a newly published
  7534. descriptor was novel enough to make everybody want a copy -- a few
  7535. servers seem to be publishing new descriptors many times a minute.
  7536. o Minor bugfixes:
  7537. - Fix a rare bug that was causing some servers to complain about
  7538. "closing wedged cpuworkers" and skip some circuit create requests.
  7539. - Make the Exit flag in directory status documents actually work.
  7540. Changes in version 0.1.1.21 - 2006-06-10
  7541. o Crash and assert fixes from 0.1.1.20:
  7542. - Fix a rare crash on Tor servers that have enabled hibernation.
  7543. - Fix a seg fault on startup for Tor networks that use only one
  7544. directory authority.
  7545. - Fix an assert from a race condition that occurs on Tor servers
  7546. while exiting, where various threads are trying to log that they're
  7547. exiting, and delete the logs, at the same time.
  7548. - Make our unit tests pass again on certain obscure platforms.
  7549. o Other fixes:
  7550. - Add support for building SUSE RPM packages.
  7551. - Speed up initial bootstrapping for clients: if we are making our
  7552. first ever connection to any entry guard, then don't mark it down
  7553. right after that.
  7554. - When only one Tor server in the network is labelled as a guard,
  7555. and we've already picked him, we would cycle endlessly picking him
  7556. again, being unhappy about it, etc. Now we specifically exclude
  7557. current guards when picking a new guard.
  7558. - Servers send create cells more reliably after the TLS connection
  7559. is established: we were sometimes forgetting to send half of them
  7560. when we had more than one pending.
  7561. - If we get a create cell that asks us to extend somewhere, but the
  7562. Tor server there doesn't match the expected digest, we now send
  7563. a destroy cell back, rather than silently doing nothing.
  7564. - Make options->RedirectExit work again.
  7565. - Make cookie authentication for the controller work again.
  7566. - Stop being picky about unusual characters in the arguments to
  7567. mapaddress. It's none of our business.
  7568. - Add a new config option "TestVia" that lets you specify preferred
  7569. middle hops to use for test circuits. Perhaps this will let me
  7570. debug the reachability problems better.
  7571. o Log / documentation fixes:
  7572. - If we're a server and some peer has a broken TLS certificate, don't
  7573. log about it unless ProtocolWarnings is set, i.e., we want to hear
  7574. about protocol violations by others.
  7575. - Fix spelling of VirtualAddrNetwork in man page.
  7576. - Add a better explanation at the top of the autogenerated torrc file
  7577. about what happened to our old torrc.
  7578. Changes in version 0.1.1.20 - 2006-05-23
  7579. o Bugfixes:
  7580. - Downgrade a log severity where servers complain that they're
  7581. invalid.
  7582. - Avoid a compile warning on FreeBSD.
  7583. - Remove string size limit on NEWDESC messages; solve bug 291.
  7584. - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
  7585. more thoroughly when we're running on windows.
  7586. Changes in version 0.1.1.19-rc - 2006-05-03
  7587. o Minor bugs:
  7588. - Regenerate our local descriptor if it's dirty and we try to use
  7589. it locally (e.g. if it changes during reachability detection).
  7590. - If we setconf our ORPort to 0, we continued to listen on the
  7591. old ORPort and receive connections.
  7592. - Avoid a second warning about machine/limits.h on Debian
  7593. GNU/kFreeBSD.
  7594. - Be willing to add our own routerinfo into the routerlist.
  7595. Now authorities will include themselves in their directories
  7596. and network-statuses.
  7597. - Stop trying to upload rendezvous descriptors to every
  7598. directory authority: only try the v1 authorities.
  7599. - Servers no longer complain when they think they're not
  7600. registered with the directory authorities. There were too many
  7601. false positives.
  7602. - Backport dist-rpm changes so rpms can be built without errors.
  7603. o Features:
  7604. - Implement an option, VirtualAddrMask, to set which addresses
  7605. get handed out in response to mapaddress requests. This works
  7606. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  7607. Changes in version 0.1.1.18-rc - 2006-04-10
  7608. o Major fixes:
  7609. - Work harder to download live network-statuses from all the
  7610. directory authorities we know about. Improve the threshold
  7611. decision logic so we're more robust to edge cases.
  7612. - When fetching rendezvous descriptors, we were willing to ask
  7613. v2 authorities too, which would always return 404.
  7614. o Minor fixes:
  7615. - Stop listing down or invalid nodes in the v1 directory. This will
  7616. reduce its bulk by about 1/3, and reduce load on directory
  7617. mirrors.
  7618. - When deciding whether a router is Fast or Guard-worthy, consider
  7619. his advertised BandwidthRate and not just the BandwidthCapacity.
  7620. - No longer ship INSTALL and README files -- they are useless now.
  7621. - Force rpmbuild to behave and honor target_cpu.
  7622. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  7623. - Start to include translated versions of the tor-doc-*.html
  7624. files, along with the screenshots. Still needs more work.
  7625. - Start sending back 512 and 451 errors if mapaddress fails,
  7626. rather than not sending anything back at all.
  7627. - When we fail to bind or listen on an incoming or outgoing
  7628. socket, we should close it before failing. otherwise we just
  7629. leak it. (thanks to weasel for finding.)
  7630. - Allow "getinfo dir/status/foo" to work, as long as your DirPort
  7631. is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
  7632. - Make NoPublish (even though deprecated) work again.
  7633. - Fix a minor security flaw where a versioning auth dirserver
  7634. could list a recommended version many times in a row to make
  7635. clients more convinced that it's recommended.
  7636. - Fix crash bug if there are two unregistered servers running
  7637. with the same nickname, one of them is down, and you ask for
  7638. them by nickname in your EntryNodes or ExitNodes. Also, try
  7639. to pick the one that's running rather than an arbitrary one.
  7640. - Fix an infinite loop we could hit if we go offline for too long.
  7641. - Complain when we hit WSAENOBUFS on recv() or write() too.
  7642. Perhaps this will help us hunt the bug.
  7643. - If you're not a versioning dirserver, don't put the string
  7644. "client-versions \nserver-versions \n" in your network-status.
  7645. - Lower the minimum required number of file descriptors to 1000,
  7646. so we can have some overhead for Valgrind on Linux, where the
  7647. default ulimit -n is 1024.
  7648. o New features:
  7649. - Add tor.dizum.com as the fifth authoritative directory server.
  7650. - Add a new config option FetchUselessDescriptors, off by default,
  7651. for when you plan to run "exitlist" on your client and you want
  7652. to know about even the non-running descriptors.
  7653. Changes in version 0.1.1.17-rc - 2006-03-28
  7654. o Major fixes:
  7655. - Clients and servers since 0.1.1.10-alpha have been expiring
  7656. connections whenever they are idle for 5 minutes and they *do*
  7657. have circuits on them. Oops. With this new version, clients will
  7658. discard their previous entry guard choices and avoid choosing
  7659. entry guards running these flawed versions.
  7660. - Fix memory leak when uncompressing concatenated zlib streams. This
  7661. was causing substantial leaks over time on Tor servers.
  7662. - The v1 directory was including servers as much as 48 hours old,
  7663. because that's how the new routerlist->routers works. Now only
  7664. include them if they're 20 hours old or less.
  7665. o Minor fixes:
  7666. - Resume building on irix64, netbsd 2.0, etc.
  7667. - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
  7668. "-Wall -g -O2".
  7669. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  7670. and it is confusing some users.
  7671. - Mirrors stop caching the v1 directory so often.
  7672. - Make the max number of old descriptors that a cache will hold
  7673. rise with the number of directory authorities, so we can scale.
  7674. - Change our win32 uname() hack to be more forgiving about what
  7675. win32 versions it thinks it's found.
  7676. o New features:
  7677. - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
  7678. server.
  7679. - When the controller's *setconf commands fail, collect an error
  7680. message in a string and hand it back to the controller.
  7681. - Make the v2 dir's "Fast" flag based on relative capacity, just
  7682. like "Stable" is based on median uptime. Name everything in the
  7683. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  7684. - Log server fingerprint on startup, so new server operators don't
  7685. have to go hunting around their filesystem for it.
  7686. - Return a robots.txt on our dirport to discourage google indexing.
  7687. - Let the controller ask for GETINFO dir/status/foo so it can ask
  7688. directly rather than connecting to the dir port. Only works when
  7689. dirport is set for now.
  7690. o New config options rather than constants in the code:
  7691. - SocksTimeout: How long do we let a socks connection wait
  7692. unattached before we fail it?
  7693. - CircuitBuildTimeout: Cull non-open circuits that were born
  7694. at least this many seconds ago.
  7695. - CircuitIdleTimeout: Cull open clean circuits that were born
  7696. at least this many seconds ago.
  7697. Changes in version 0.1.1.16-rc - 2006-03-18
  7698. o Bugfixes on 0.1.1.15-rc:
  7699. - Fix assert when the controller asks to attachstream a connect-wait
  7700. or resolve-wait stream.
  7701. - Now do address rewriting when the controller asks us to attach
  7702. to a particular circuit too. This will let Blossom specify
  7703. "moria2.exit" without having to learn what moria2's IP address is.
  7704. - Make the "tor --verify-config" command-line work again, so people
  7705. can automatically check if their torrc will parse.
  7706. - Authoritative dirservers no longer require an open connection from
  7707. a server to consider him "reachable". We need this change because
  7708. when we add new auth dirservers, old servers won't know not to
  7709. hang up on them.
  7710. - Let Tor build on Sun CC again.
  7711. - Fix an off-by-one buffer size in dirserv.c that magically never
  7712. hit our three authorities but broke sjmurdoch's own tor network.
  7713. - If we as a directory mirror don't know of any v1 directory
  7714. authorities, then don't try to cache any v1 directories.
  7715. - Stop warning about unknown servers in our family when they are
  7716. given as hex digests.
  7717. - Stop complaining as quickly to the server operator that he
  7718. hasn't registered his nickname/key binding.
  7719. - Various cleanups so we can add new V2 Auth Dirservers.
  7720. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  7721. reflect the updated flags in our v2 dir protocol.
  7722. - Resume allowing non-printable characters for exit streams (both
  7723. for connecting and for resolving). Now we tolerate applications
  7724. that don't follow the RFCs. But continue to block malformed names
  7725. at the socks side.
  7726. o Bugfixes on 0.1.0.x:
  7727. - Fix assert bug in close_logs(): when we close and delete logs,
  7728. remove them all from the global "logfiles" list.
  7729. - Fix minor integer overflow in calculating when we expect to use up
  7730. our bandwidth allocation before hibernating.
  7731. - Fix a couple of bugs in OpenSSL detection. Also, deal better when
  7732. there are multiple SSLs installed with different versions.
  7733. - When we try to be a server and Address is not explicitly set and
  7734. our hostname resolves to a private IP address, try to use an
  7735. interface address if it has a public address. Now Windows machines
  7736. that think of themselves as localhost can work by default.
  7737. o New features:
  7738. - Let the controller ask for GETINFO dir/server/foo so it can ask
  7739. directly rather than connecting to the dir port.
  7740. - Let the controller tell us about certain router descriptors
  7741. that it doesn't want Tor to use in circuits. Implement
  7742. SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
  7743. - New config option SafeSocks to reject all application connections
  7744. using unsafe socks protocols. Defaults to off.
  7745. Changes in version 0.1.1.15-rc - 2006-03-11
  7746. o Bugfixes and cleanups:
  7747. - When we're printing strings from the network, don't try to print
  7748. non-printable characters. This protects us against shell escape
  7749. sequence exploits, and also against attacks to fool humans into
  7750. misreading their logs.
  7751. - Fix a bug where Tor would fail to establish any connections if you
  7752. left it off for 24 hours and then started it: we were happy with
  7753. the obsolete network statuses, but they all referred to router
  7754. descriptors that were too old to fetch, so we ended up with no
  7755. valid router descriptors.
  7756. - Fix a seg fault in the controller's "getinfo orconn-status"
  7757. command while listing status on incoming handshaking connections.
  7758. Introduce a status name "NEW" for these connections.
  7759. - If we get a linelist or linelist_s config option from the torrc
  7760. (e.g. ExitPolicy) and it has no value, warn and skip rather than
  7761. silently resetting it to its default.
  7762. - Don't abandon entry guards until they've been down or gone for
  7763. a whole month.
  7764. - Cleaner and quieter log messages.
  7765. o New features:
  7766. - New controller signal NEWNYM that makes new application requests
  7767. use clean circuits.
  7768. - Add a new circuit purpose 'controller' to let the controller ask
  7769. for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
  7770. controller command to let you specify the purpose if you're
  7771. starting a new circuit. Add a new SETCIRCUITPURPOSE controller
  7772. command to let you change a circuit's purpose after it's been
  7773. created.
  7774. - Accept "private:*" in routerdesc exit policies; not generated yet
  7775. because older Tors do not understand it.
  7776. - Add BSD-style contributed startup script "rc.subr" from Peter
  7777. Thoenen.
  7778. Changes in version 0.1.1.14-alpha - 2006-02-20
  7779. o Bugfixes on 0.1.1.x:
  7780. - Don't die if we ask for a stdout or stderr log (even implicitly)
  7781. and we're set to RunAsDaemon -- just warn.
  7782. - We still had a few bugs in the OR connection rotation code that
  7783. caused directory servers to slowly aggregate connections to other
  7784. fast Tor servers. This time for sure!
  7785. - Make log entries on Win32 include the name of the function again.
  7786. - We were treating a pair of exit policies if they were equal even
  7787. if one said accept and the other said reject -- causing us to
  7788. not always publish a new descriptor since we thought nothing
  7789. had changed.
  7790. - Retry pending server downloads as well as pending networkstatus
  7791. downloads when we unexpectedly get a socks request.
  7792. - We were ignoring the IS_FAST flag in the directory status,
  7793. meaning we were willing to pick trivial-bandwidth nodes for "fast"
  7794. connections.
  7795. - If the controller's SAVECONF command fails (e.g. due to file
  7796. permissions), let the controller know that it failed.
  7797. o Features:
  7798. - If we're trying to be a Tor server and running Windows 95/98/ME
  7799. as a server, explain that we'll likely crash.
  7800. - When we're a server, a client asks for an old-style directory,
  7801. and our write bucket is empty, don't give it to him. This way
  7802. small servers can continue to serve the directory *sometimes*,
  7803. without getting overloaded.
  7804. - Compress exit policies even more -- look for duplicate lines
  7805. and remove them.
  7806. - Clients now honor the "guard" flag in the router status when
  7807. picking entry guards, rather than looking at is_fast or is_stable.
  7808. - Retain unrecognized lines in $DATADIR/state file, so that we can
  7809. be forward-compatible.
  7810. - Generate 18.0.0.0/8 address policy format in descs when we can;
  7811. warn when the mask is not reducible to a bit-prefix.
  7812. - Let the user set ControlListenAddress in the torrc. This can be
  7813. dangerous, but there are some cases (like a secured LAN) where it
  7814. makes sense.
  7815. - Split ReachableAddresses into ReachableDirAddresses and
  7816. ReachableORAddresses, so we can restrict Dir conns to port 80
  7817. and OR conns to port 443.
  7818. - Now we can target arch and OS in rpm builds (contributed by
  7819. Phobos). Also make the resulting dist-rpm filename match the
  7820. target arch.
  7821. - New config options to help controllers: FetchServerDescriptors
  7822. and FetchHidServDescriptors for whether to fetch server
  7823. info and hidserv info or let the controller do it, and
  7824. PublishServerDescriptor and PublishHidServDescriptors.
  7825. - Also let the controller set the __AllDirActionsPrivate config
  7826. option if you want all directory fetches/publishes to happen via
  7827. Tor (it assumes your controller bootstraps your circuits).
  7828. Changes in version 0.1.0.17 - 2006-02-17
  7829. o Crash bugfixes on 0.1.0.x:
  7830. - When servers with a non-zero DirPort came out of hibernation,
  7831. sometimes they would trigger an assert.
  7832. o Other important bugfixes:
  7833. - On platforms that don't have getrlimit (like Windows), we were
  7834. artificially constraining ourselves to a max of 1024
  7835. connections. Now just assume that we can handle as many as 15000
  7836. connections. Hopefully this won't cause other problems.
  7837. o Backported features:
  7838. - When we're a server, a client asks for an old-style directory,
  7839. and our write bucket is empty, don't give it to him. This way
  7840. small servers can continue to serve the directory *sometimes*,
  7841. without getting overloaded.
  7842. - Whenever you get a 503 in response to a directory fetch, try
  7843. once more. This will become important once servers start sending
  7844. 503's whenever they feel busy.
  7845. - Fetch a new directory every 120 minutes, not every 40 minutes.
  7846. Now that we have hundreds of thousands of users running the old
  7847. directory algorithm, it's starting to hurt a lot.
  7848. - Bump up the period for forcing a hidden service descriptor upload
  7849. from 20 minutes to 1 hour.
  7850. Changes in version 0.1.1.13-alpha - 2006-02-09
  7851. o Crashes in 0.1.1.x:
  7852. - When you tried to setconf ORPort via the controller, Tor would
  7853. crash. So people using TorCP to become a server were sad.
  7854. - Solve (I hope) the stack-smashing bug that we were seeing on fast
  7855. servers. The problem appears to be something do with OpenSSL's
  7856. random number generation, or how we call it, or something. Let me
  7857. know if the crashes continue.
  7858. - Turn crypto hardware acceleration off by default, until we find
  7859. somebody smart who can test it for us. (It appears to produce
  7860. seg faults in at least some cases.)
  7861. - Fix a rare assert error when we've tried all intro points for
  7862. a hidden service and we try fetching the service descriptor again:
  7863. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
  7864. o Major fixes:
  7865. - Fix a major load balance bug: we were round-robining in 16 KB
  7866. chunks, and servers with bandwidthrate of 20 KB, while downloading
  7867. a 600 KB directory, would starve their other connections. Now we
  7868. try to be a bit more fair.
  7869. - Dir authorities and mirrors were never expiring the newest
  7870. descriptor for each server, causing memory and directory bloat.
  7871. - Fix memory-bloating and connection-bloating bug on servers: We
  7872. were never closing any connection that had ever had a circuit on
  7873. it, because we were checking conn->n_circuits == 0, yet we had a
  7874. bug that let it go negative.
  7875. - Make Tor work using squid as your http proxy again -- squid
  7876. returns an error if you ask for a URL that's too long, and it uses
  7877. a really generic error message. Plus, many people are behind a
  7878. transparent squid so they don't even realize it.
  7879. - On platforms that don't have getrlimit (like Windows), we were
  7880. artificially constraining ourselves to a max of 1024
  7881. connections. Now just assume that we can handle as many as 15000
  7882. connections. Hopefully this won't cause other problems.
  7883. - Add a new config option ExitPolicyRejectPrivate which defaults to
  7884. 1. This means all exit policies will begin with rejecting private
  7885. addresses, unless the server operator explicitly turns it off.
  7886. o Major features:
  7887. - Clients no longer download descriptors for non-running
  7888. descriptors.
  7889. - Before we add new directory authorities, we should make it
  7890. clear that only v1 authorities should receive/publish hidden
  7891. service descriptors.
  7892. o Minor features:
  7893. - As soon as we've fetched some more directory info, immediately
  7894. try to download more server descriptors. This way we don't have
  7895. a 10 second pause during initial bootstrapping.
  7896. - Remove even more loud log messages that the server operator can't
  7897. do anything about.
  7898. - When we're running an obsolete or un-recommended version, make
  7899. the log message more clear about what the problem is and what
  7900. versions *are* still recommended.
  7901. - Provide a more useful warn message when our onion queue gets full:
  7902. the CPU is too slow or the exit policy is too liberal.
  7903. - Don't warn when we receive a 503 from a dirserver/cache -- this
  7904. will pave the way for them being able to refuse if they're busy.
  7905. - When we fail to bind a listener, try to provide a more useful
  7906. log message: e.g., "Is Tor already running?"
  7907. - Adjust tor-spec to parameterize cell and key lengths. Now Ian
  7908. Goldberg can prove things about our handshake protocol more
  7909. easily.
  7910. - MaxConn has been obsolete for a while now. Document the ConnLimit
  7911. config option, which is a *minimum* number of file descriptors
  7912. that must be available else Tor refuses to start.
  7913. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  7914. if you log to syslog and want something other than LOG_DAEMON.
  7915. - Make dirservers generate a separate "guard" flag to mean,
  7916. "would make a good entry guard". Make clients parse it and vote
  7917. on it. Not used by clients yet.
  7918. - Implement --with-libevent-dir option to ./configure. Also, improve
  7919. search techniques to find libevent, and use those for openssl too.
  7920. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
  7921. - Only start testing reachability once we've established a
  7922. circuit. This will make startup on dirservers less noisy.
  7923. - Don't try to upload hidden service descriptors until we have
  7924. established a circuit.
  7925. - Fix the controller's "attachstream 0" command to treat conn like
  7926. it just connected, doing address remapping, handling .exit and
  7927. .onion idioms, and so on. Now we're more uniform in making sure
  7928. that the controller hears about new and closing connections.
  7929. Changes in version 0.1.1.12-alpha - 2006-01-11
  7930. o Bugfixes on 0.1.1.x:
  7931. - The fix to close duplicate server connections was closing all
  7932. Tor client connections if they didn't establish a circuit
  7933. quickly enough. Oops.
  7934. - Fix minor memory issue (double-free) that happened on exit.
  7935. o Bugfixes on 0.1.0.x:
  7936. - Tor didn't warn when it failed to open a log file.
  7937. Changes in version 0.1.1.11-alpha - 2006-01-10
  7938. o Crashes in 0.1.1.x:
  7939. - Include all the assert/crash fixes from 0.1.0.16.
  7940. - If you start Tor and then quit very quickly, there were some
  7941. races that tried to free things that weren't allocated yet.
  7942. - Fix a rare memory stomp if you're running hidden services.
  7943. - Fix segfault when specifying DirServer in config without nickname.
  7944. - Fix a seg fault when you finish connecting to a server but at
  7945. that moment you dump his server descriptor.
  7946. - Extendcircuit and Attachstream controller commands would
  7947. assert/crash if you don't give them enough arguments.
  7948. - Fix an assert error when we're out of space in the connection_list
  7949. and we try to post a hidden service descriptor (reported by weasel).
  7950. - If you specify a relative torrc path and you set RunAsDaemon in
  7951. your torrc, then it chdir()'s to the new directory. If you HUP,
  7952. it tries to load the new torrc location, fails, and exits.
  7953. The fix: no longer allow a relative path to torrc using -f.
  7954. o Major features:
  7955. - Implement "entry guards": automatically choose a handful of entry
  7956. nodes and stick with them for all circuits. Only pick new guards
  7957. when the ones you have are unsuitable, and if the old guards
  7958. become suitable again, switch back. This will increase security
  7959. dramatically against certain end-point attacks. The EntryNodes
  7960. config option now provides some hints about which entry guards you
  7961. want to use most; and StrictEntryNodes means to only use those.
  7962. - New directory logic: download by descriptor digest, not by
  7963. fingerprint. Caches try to download all listed digests from
  7964. authorities; clients try to download "best" digests from caches.
  7965. This avoids partitioning and isolating attacks better.
  7966. - Make the "stable" router flag in network-status be the median of
  7967. the uptimes of running valid servers, and make clients pay
  7968. attention to the network-status flags. Thus the cutoff adapts
  7969. to the stability of the network as a whole, making IRC, IM, etc
  7970. connections more reliable.
  7971. o Major fixes:
  7972. - Tor servers with dynamic IP addresses were needing to wait 18
  7973. hours before they could start doing reachability testing using
  7974. the new IP address and ports. This is because they were using
  7975. the internal descriptor to learn what to test, yet they were only
  7976. rebuilding the descriptor once they decided they were reachable.
  7977. - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
  7978. to download certain server descriptors, throw them away, and then
  7979. fetch them again after 30 minutes. Now mirrors throw away these
  7980. server descriptors so clients can't get them.
  7981. - We were leaving duplicate connections to other ORs open for a week,
  7982. rather than closing them once we detect a duplicate. This only
  7983. really affected authdirservers, but it affected them a lot.
  7984. - Spread the authdirservers' reachability testing over the entire
  7985. testing interval, so we don't try to do 500 TLS's at once every
  7986. 20 minutes.
  7987. o Minor fixes:
  7988. - If the network is down, and we try to connect to a conn because
  7989. we have a circuit in mind, and we timeout (30 seconds) because the
  7990. network never answers, we were expiring the circuit, but we weren't
  7991. obsoleting the connection or telling the entry_guards functions.
  7992. - Some Tor servers process billions of cells per day. These statistics
  7993. need to be uint64_t's.
  7994. - Check for integer overflows in more places, when adding elements
  7995. to smartlists. This could possibly prevent a buffer overflow
  7996. on malicious huge inputs. I don't see any, but I haven't looked
  7997. carefully.
  7998. - ReachableAddresses kept growing new "reject *:*" lines on every
  7999. setconf/reload.
  8000. - When you "setconf log" via the controller, it should remove all
  8001. logs. We were automatically adding back in a "log notice stdout".
  8002. - Newly bootstrapped Tor networks couldn't establish hidden service
  8003. circuits until they had nodes with high uptime. Be more tolerant.
  8004. - We were marking servers down when they could not answer every piece
  8005. of the directory request we sent them. This was far too harsh.
  8006. - Fix the torify (tsocks) config file to not use Tor for localhost
  8007. connections.
  8008. - Directory authorities now go to the proper authority when asking for
  8009. a networkstatus, even when they want a compressed one.
  8010. - Fix a harmless bug that was causing Tor servers to log
  8011. "Got an end because of misc error, but we're not an AP. Closing."
  8012. - Authorities were treating their own descriptor changes as cosmetic,
  8013. meaning the descriptor available in the network-status and the
  8014. descriptor that clients downloaded were different.
  8015. - The OS X installer was adding a symlink for tor_resolve but
  8016. the binary was called tor-resolve (reported by Thomas Hardly).
  8017. - Workaround a problem with some http proxies where they refuse GET
  8018. requests that specify "Content-Length: 0" (reported by Adrian).
  8019. - Fix wrong log message when you add a "HiddenServiceNodes" config
  8020. line without any HiddenServiceDir line (reported by Chris Thomas).
  8021. o Minor features:
  8022. - Write the TorVersion into the state file so we have a prayer of
  8023. keeping forward and backward compatibility.
  8024. - Revive the FascistFirewall config option rather than eliminating it:
  8025. now it's a synonym for ReachableAddresses *:80,*:443.
  8026. - Clients choose directory servers from the network status lists,
  8027. not from their internal list of router descriptors. Now they can
  8028. go to caches directly rather than needing to go to authorities
  8029. to bootstrap.
  8030. - Directory authorities ignore router descriptors that have only
  8031. cosmetic differences: do this for 0.1.0.x servers now too.
  8032. - Add a new flag to network-status indicating whether the server
  8033. can answer v2 directory requests too.
  8034. - Authdirs now stop whining so loudly about bad descriptors that
  8035. they fetch from other dirservers. So when there's a log complaint,
  8036. it's for sure from a freshly uploaded descriptor.
  8037. - Reduce memory requirements in our structs by changing the order
  8038. of fields.
  8039. - There used to be two ways to specify your listening ports in a
  8040. server descriptor: on the "router" line and with a separate "ports"
  8041. line. Remove support for the "ports" line.
  8042. - New config option "AuthDirRejectUnlisted" for auth dirservers as
  8043. a panic button: if we get flooded with unusable servers we can
  8044. revert to only listing servers in the approved-routers file.
  8045. - Auth dir servers can now mark a fingerprint as "!reject" or
  8046. "!invalid" in the approved-routers file (as its nickname), to
  8047. refuse descriptors outright or include them but marked as invalid.
  8048. - Servers store bandwidth history across restarts/crashes.
  8049. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  8050. get a better idea of why their circuits failed. Not used yet.
  8051. - Directory mirrors now cache up to 16 unrecognized network-status
  8052. docs. Now we can add new authdirservers and they'll be cached too.
  8053. - When picking a random directory, prefer non-authorities if any
  8054. are known.
  8055. - New controller option "getinfo desc/all-recent" to fetch the
  8056. latest server descriptor for every router that Tor knows about.
  8057. Changes in version 0.1.0.16 - 2006-01-02
  8058. o Crash bugfixes on 0.1.0.x:
  8059. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  8060. corrupting the heap, losing FDs, or crashing when we need to resize
  8061. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  8062. - It turns out sparc64 platforms crash on unaligned memory access
  8063. too -- so detect and avoid this.
  8064. - Handle truncated compressed data correctly (by detecting it and
  8065. giving an error).
  8066. - Fix possible-but-unlikely free(NULL) in control.c.
  8067. - When we were closing connections, there was a rare case that
  8068. stomped on memory, triggering seg faults and asserts.
  8069. - Avoid potential infinite recursion when building a descriptor. (We
  8070. don't know that it ever happened, but better to fix it anyway.)
  8071. - We were neglecting to unlink marked circuits from soon-to-close OR
  8072. connections, which caused some rare scribbling on freed memory.
  8073. - Fix a memory stomping race bug when closing the joining point of two
  8074. rendezvous circuits.
  8075. - Fix an assert in time parsing found by Steven Murdoch.
  8076. o Other bugfixes on 0.1.0.x:
  8077. - When we're doing reachability testing, provide more useful log
  8078. messages so the operator knows what to expect.
  8079. - Do not check whether DirPort is reachable when we are suppressing
  8080. advertising it because of hibernation.
  8081. - When building with -static or on Solaris, we sometimes needed -ldl.
  8082. - When we're deciding whether a stream has enough circuits around
  8083. that can handle it, count the freshly dirty ones and not the ones
  8084. that are so dirty they won't be able to handle it.
  8085. - When we're expiring old circuits, we had a logic error that caused
  8086. us to close new rendezvous circuits rather than old ones.
  8087. - Give a more helpful log message when you try to change ORPort via
  8088. the controller: you should upgrade Tor if you want that to work.
  8089. - We were failing to parse Tor versions that start with "Tor ".
  8090. - Tolerate faulty streams better: when a stream fails for reason
  8091. exitpolicy, stop assuming that the router is lying about his exit
  8092. policy. When a stream fails for reason misc, allow it to retry just
  8093. as if it was resolvefailed. When a stream has failed three times,
  8094. reset its failure count so we can try again and get all three tries.
  8095. Changes in version 0.1.1.10-alpha - 2005-12-11
  8096. o Correctness bugfixes on 0.1.0.x:
  8097. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  8098. corrupting the heap, losing FDs, or crashing when we need to resize
  8099. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  8100. - Stop doing the complex voodoo overkill checking for insecure
  8101. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  8102. - When we were closing connections, there was a rare case that
  8103. stomped on memory, triggering seg faults and asserts.
  8104. - We were neglecting to unlink marked circuits from soon-to-close OR
  8105. connections, which caused some rare scribbling on freed memory.
  8106. - When we're deciding whether a stream has enough circuits around
  8107. that can handle it, count the freshly dirty ones and not the ones
  8108. that are so dirty they won't be able to handle it.
  8109. - Recover better from TCP connections to Tor servers that are
  8110. broken but don't tell you (it happens!); and rotate TLS
  8111. connections once a week.
  8112. - When we're expiring old circuits, we had a logic error that caused
  8113. us to close new rendezvous circuits rather than old ones.
  8114. - Fix a scary-looking but apparently harmless bug where circuits
  8115. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  8116. servers, and never switch to state CIRCUIT_STATE_OPEN.
  8117. - When building with -static or on Solaris, we sometimes needed to
  8118. build with -ldl.
  8119. - Give a useful message when people run Tor as the wrong user,
  8120. rather than telling them to start chowning random directories.
  8121. - We were failing to inform the controller about new .onion streams.
  8122. o Security bugfixes on 0.1.0.x:
  8123. - Refuse server descriptors if the fingerprint line doesn't match
  8124. the included identity key. Tor doesn't care, but other apps (and
  8125. humans) might actually be trusting the fingerprint line.
  8126. - We used to kill the circuit when we receive a relay command we
  8127. don't recognize. Now we just drop it.
  8128. - Start obeying our firewall options more rigorously:
  8129. . If we can't get to a dirserver directly, try going via Tor.
  8130. . Don't ever try to connect (as a client) to a place our
  8131. firewall options forbid.
  8132. . If we specify a proxy and also firewall options, obey the
  8133. firewall options even when we're using the proxy: some proxies
  8134. can only proxy to certain destinations.
  8135. - Fix a bug found by Lasse Overlier: when we were making internal
  8136. circuits (intended to be cannibalized later for rendezvous and
  8137. introduction circuits), we were picking them so that they had
  8138. useful exit nodes. There was no need for this, and it actually
  8139. aids some statistical attacks.
  8140. - Start treating internal circuits and exit circuits separately.
  8141. It's important to keep them separate because internal circuits
  8142. have their last hops picked like middle hops, rather than like
  8143. exit hops. So exiting on them will break the user's expectations.
  8144. o Bugfixes on 0.1.1.x:
  8145. - Take out the mis-feature where we tried to detect IP address
  8146. flapping for people with DynDNS, and chose not to upload a new
  8147. server descriptor sometimes.
  8148. - Try to be compatible with OpenSSL 0.9.6 again.
  8149. - Log fix: when the controller is logging about .onion addresses,
  8150. sometimes it didn't include the ".onion" part of the address.
  8151. - Don't try to modify options->DirServers internally -- if the
  8152. user didn't specify any, just add the default ones directly to
  8153. the trusted dirserver list. This fixes a bug where people running
  8154. controllers would use SETCONF on some totally unrelated config
  8155. option, and Tor would start yelling at them about changing their
  8156. DirServer lines.
  8157. - Let the controller's redirectstream command specify a port, in
  8158. case the controller wants to change that too.
  8159. - When we requested a pile of server descriptors, we sometimes
  8160. accidentally launched a duplicate request for the first one.
  8161. - Bugfix for trackhostexits: write down the fingerprint of the
  8162. chosen exit, not its nickname, because the chosen exit might not
  8163. be verified.
  8164. - When parsing foo.exit, if foo is unknown, and we are leaving
  8165. circuits unattached, set the chosen_exit field and leave the
  8166. address empty. This matters because controllers got confused
  8167. otherwise.
  8168. - Directory authorities no longer try to download server
  8169. descriptors that they know they will reject.
  8170. o Features and updates:
  8171. - Replace balanced trees with hash tables: this should make stuff
  8172. significantly faster.
  8173. - Resume using the AES counter-mode implementation that we ship,
  8174. rather than OpenSSL's. Ours is significantly faster.
  8175. - Many other CPU and memory improvements.
  8176. - Add a new config option FastFirstHopPK (on by default) so clients
  8177. do a trivial crypto handshake for their first hop, since TLS has
  8178. already taken care of confidentiality and authentication.
  8179. - Add a new config option TestSocks so people can see if their
  8180. applications are using socks4, socks4a, socks5-with-ip, or
  8181. socks5-with-hostname. This way they don't have to keep mucking
  8182. with tcpdump and wondering if something got cached somewhere.
  8183. - Warn when listening on a public address for socks. I suspect a
  8184. lot of people are setting themselves up as open socks proxies,
  8185. and they have no idea that jerks on the Internet are using them,
  8186. since they simply proxy the traffic into the Tor network.
  8187. - Add "private:*" as an alias in configuration for policies. Now
  8188. you can simplify your exit policy rather than needing to list
  8189. every single internal or nonroutable network space.
  8190. - Add a new controller event type that allows controllers to get
  8191. all server descriptors that were uploaded to a router in its role
  8192. as authoritative dirserver.
  8193. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  8194. tor-doc-server.html, and stylesheet.css in the tarball.
  8195. - Stop shipping tor-doc.html in the tarball.
  8196. Changes in version 0.1.1.9-alpha - 2005-11-15
  8197. o Usability improvements:
  8198. - Start calling it FooListenAddress rather than FooBindAddress,
  8199. since few of our users know what it means to bind an address
  8200. or port.
  8201. - Reduce clutter in server logs. We're going to try to make
  8202. them actually usable now. New config option ProtocolWarnings that
  8203. lets you hear about how _other Tors_ are breaking the protocol. Off
  8204. by default.
  8205. - Divide log messages into logging domains. Once we put some sort
  8206. of interface on this, it will let people looking at more verbose
  8207. log levels specify the topics they want to hear more about.
  8208. - Make directory servers return better http 404 error messages
  8209. instead of a generic "Servers unavailable".
  8210. - Check for even more Windows version flags when writing the platform
  8211. string in server descriptors, and note any we don't recognize.
  8212. - Clean up more of the OpenSSL memory when exiting, so we can detect
  8213. memory leaks better.
  8214. - Make directory authorities be non-versioning, non-naming by
  8215. default. Now we can add new directory servers without requiring
  8216. their operators to pay close attention.
  8217. - When logging via syslog, include the pid whenever we provide
  8218. a log entry. Suggested by Todd Fries.
  8219. o Performance improvements:
  8220. - Directory servers now silently throw away new descriptors that
  8221. haven't changed much if the timestamps are similar. We do this to
  8222. tolerate older Tor servers that upload a new descriptor every 15
  8223. minutes. (It seemed like a good idea at the time.)
  8224. - Inline bottleneck smartlist functions; use fast versions by default.
  8225. - Add a "Map from digest to void*" abstraction digestmap_t so we
  8226. can do less hex encoding/decoding. Use it in router_get_by_digest()
  8227. to resolve a performance bottleneck.
  8228. - Allow tor_gzip_uncompress to extract as much as possible from
  8229. truncated compressed data. Try to extract as many
  8230. descriptors as possible from truncated http responses (when
  8231. DIR_PURPOSE_FETCH_ROUTERDESC).
  8232. - Make circ->onionskin a pointer, not a static array. moria2 was using
  8233. 125000 circuit_t's after it had been up for a few weeks, which
  8234. translates to 20+ megs of wasted space.
  8235. - The private half of our EDH handshake keys are now chosen out
  8236. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  8237. o Security improvements:
  8238. - Start making directory caches retain old routerinfos, so soon
  8239. clients can start asking by digest of descriptor rather than by
  8240. fingerprint of server.
  8241. - Add half our entropy from RAND_poll in OpenSSL. This knows how
  8242. to use egd (if present), openbsd weirdness (if present), vms/os2
  8243. weirdness (if we ever port there), and more in the future.
  8244. o Bugfixes on 0.1.0.x:
  8245. - Do round-robin writes of at most 16 kB per write. This might be
  8246. more fair on loaded Tor servers, and it might resolve our Windows
  8247. crash bug. It might also slow things down.
  8248. - Our TLS handshakes were generating a single public/private
  8249. keypair for the TLS context, rather than making a new one for
  8250. each new connections. Oops. (But we were still rotating them
  8251. periodically, so it's not so bad.)
  8252. - When we were cannibalizing a circuit with a particular exit
  8253. node in mind, we weren't checking to see if that exit node was
  8254. already present earlier in the circuit. Oops.
  8255. - When a Tor server's IP changes (e.g. from a dyndns address),
  8256. upload a new descriptor so clients will learn too.
  8257. - Really busy servers were keeping enough circuits open on stable
  8258. connections that they were wrapping around the circuit_id
  8259. space. (It's only two bytes.) This exposed a bug where we would
  8260. feel free to reuse a circuit_id even if it still exists but has
  8261. been marked for close. Try to fix this bug. Some bug remains.
  8262. - If we would close a stream early (e.g. it asks for a .exit that
  8263. we know would refuse it) but the LeaveStreamsUnattached config
  8264. option is set by the controller, then don't close it.
  8265. o Bugfixes on 0.1.1.8-alpha:
  8266. - Fix a big pile of memory leaks, some of them serious.
  8267. - Do not try to download a routerdesc if we would immediately reject
  8268. it as obsolete.
  8269. - Resume inserting a newline between all router descriptors when
  8270. generating (old style) signed directories, since our spec says
  8271. we do.
  8272. - When providing content-type application/octet-stream for
  8273. server descriptors using .z, we were leaving out the
  8274. content-encoding header. Oops. (Everything tolerated this just
  8275. fine, but that doesn't mean we need to be part of the problem.)
  8276. - Fix a potential seg fault in getconf and getinfo using version 1
  8277. of the controller protocol.
  8278. - Avoid crash: do not check whether DirPort is reachable when we
  8279. are suppressing it because of hibernation.
  8280. - Make --hash-password not crash on exit.
  8281. Changes in version 0.1.1.8-alpha - 2005-10-07
  8282. o New features (major):
  8283. - Clients don't download or use the directory anymore. Now they
  8284. download and use network-statuses from the trusted dirservers,
  8285. and fetch individual server descriptors as needed from mirrors.
  8286. See dir-spec.txt for all the gory details.
  8287. - Be more conservative about whether to advertise our DirPort.
  8288. The main change is to not advertise if we're running at capacity
  8289. and either a) we could hibernate or b) our capacity is low and
  8290. we're using a default DirPort.
  8291. - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
  8292. o New features (minor):
  8293. - Try to be smart about when to retry network-status and
  8294. server-descriptor fetches. Still needs some tuning.
  8295. - Stop parsing, storing, or using running-routers output (but
  8296. mirrors still cache and serve it).
  8297. - Consider a threshold of versioning dirservers (dirservers who have
  8298. an opinion about which Tor versions are still recommended) before
  8299. deciding whether to warn the user that he's obsolete.
  8300. - Dirservers can now reject/invalidate by key and IP, with the
  8301. config options "AuthDirInvalid" and "AuthDirReject". This is
  8302. useful since currently we automatically list servers as running
  8303. and usable even if we know they're jerks.
  8304. - Provide dire warnings to any users who set DirServer; move it out
  8305. of torrc.sample and into torrc.complete.
  8306. - Add MyFamily to torrc.sample in the server section.
  8307. - Add nicknames to the DirServer line, so we can refer to them
  8308. without requiring all our users to memorize their IP addresses.
  8309. - When we get an EOF or a timeout on a directory connection, note
  8310. how many bytes of serverdesc we are dropping. This will help
  8311. us determine whether it is smart to parse incomplete serverdesc
  8312. responses.
  8313. - Add a new function to "change pseudonyms" -- that is, to stop
  8314. using any currently-dirty circuits for new streams, so we don't
  8315. link new actions to old actions. Currently it's only called on
  8316. HUP (or SIGNAL RELOAD).
  8317. - On sighup, if UseHelperNodes changed to 1, use new circuits.
  8318. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  8319. OpenSSL. Also, reseed our entropy every hour, not just at
  8320. startup. And entropy in 512-bit chunks, not 160-bit chunks.
  8321. o Fixes on 0.1.1.7-alpha:
  8322. - Nobody ever implemented EVENT_ADDRMAP for control protocol
  8323. version 0, so don't let version 0 controllers ask for it.
  8324. - If you requested something with too many newlines via the
  8325. v1 controller protocol, you could crash tor.
  8326. - Fix a number of memory leaks, including some pretty serious ones.
  8327. - Re-enable DirPort testing again, so Tor servers will be willing
  8328. to advertise their DirPort if it's reachable.
  8329. - On TLS handshake, only check the other router's nickname against
  8330. its expected nickname if is_named is set.
  8331. o Fixes forward-ported from 0.1.0.15:
  8332. - Don't crash when we don't have any spare file descriptors and we
  8333. try to spawn a dns or cpu worker.
  8334. - Make the numbers in read-history and write-history into uint64s,
  8335. so they don't overflow and publish negatives in the descriptor.
  8336. o Fixes on 0.1.0.x:
  8337. - For the OS X package's modified privoxy config file, comment
  8338. out the "logfile" line so we don't log everything passed
  8339. through privoxy.
  8340. - We were whining about using socks4 or socks5-with-local-lookup
  8341. even when it's an IP in the "virtual" range we designed exactly
  8342. for this case.
  8343. - We were leaking some memory every time the client changes IPs.
  8344. - Never call free() on tor_malloc()d memory. This will help us
  8345. use dmalloc to detect memory leaks.
  8346. - Check for named servers when looking them up by nickname;
  8347. warn when we'recalling a non-named server by its nickname;
  8348. don't warn twice about the same name.
  8349. - Try to list MyFamily elements by key, not by nickname, and warn
  8350. if we've not heard of the server.
  8351. - Make windows platform detection (uname equivalent) smarter.
  8352. - It turns out sparc64 doesn't like unaligned access either.
  8353. Changes in version 0.1.0.15 - 2005-09-23
  8354. o Bugfixes on 0.1.0.x:
  8355. - Reject ports 465 and 587 (spam targets) in default exit policy.
  8356. - Don't crash when we don't have any spare file descriptors and we
  8357. try to spawn a dns or cpu worker.
  8358. - Get rid of IgnoreVersion undocumented config option, and make us
  8359. only warn, never exit, when we're running an obsolete version.
  8360. - Don't try to print a null string when your server finds itself to
  8361. be unreachable and the Address config option is empty.
  8362. - Make the numbers in read-history and write-history into uint64s,
  8363. so they don't overflow and publish negatives in the descriptor.
  8364. - Fix a minor memory leak in smartlist_string_remove().
  8365. - We were only allowing ourselves to upload a server descriptor at
  8366. most every 20 minutes, even if it changed earlier than that.
  8367. - Clean up log entries that pointed to old URLs.
  8368. Changes in version 0.1.1.7-alpha - 2005-09-14
  8369. o Fixes on 0.1.1.6-alpha:
  8370. - Exit servers were crashing when people asked them to make a
  8371. connection to an address not in their exit policy.
  8372. - Looking up a non-existent stream for a v1 control connection would
  8373. cause a segfault.
  8374. - Fix a seg fault if we ask a dirserver for a descriptor by
  8375. fingerprint but he doesn't know about him.
  8376. - SETCONF was appending items to linelists, not clearing them.
  8377. - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
  8378. out and refuse the setconf if it would fail.
  8379. - Downgrade the dirserver log messages when whining about
  8380. unreachability.
  8381. o New features:
  8382. - Add Peter Palfrader's check-tor script to tor/contrib/
  8383. It lets you easily check whether a given server (referenced by
  8384. nickname) is reachable by you.
  8385. - Numerous changes to move towards client-side v2 directories. Not
  8386. enabled yet.
  8387. o Fixes on 0.1.0.x:
  8388. - If the user gave tor an odd number of command-line arguments,
  8389. we were silently ignoring the last one. Now we complain and fail.
  8390. [This wins the oldest-bug prize -- this bug has been present since
  8391. November 2002, as released in Tor 0.0.0.]
  8392. - Do not use unaligned memory access on alpha, mips, or mipsel.
  8393. It *works*, but is very slow, so we treat them as if it doesn't.
  8394. - Retry directory requests if we fail to get an answer we like
  8395. from a given dirserver (we were retrying before, but only if
  8396. we fail to connect).
  8397. - When writing the RecommendedVersions line, sort them first.
  8398. - When the client asked for a rendezvous port that the hidden
  8399. service didn't want to provide, we were sending an IP address
  8400. back along with the end cell. Fortunately, it was zero. But stop
  8401. that anyway.
  8402. - Correct "your server is reachable" log entries to indicate that
  8403. it was self-testing that told us so.
  8404. Changes in version 0.1.1.6-alpha - 2005-09-09
  8405. o Fixes on 0.1.1.5-alpha:
  8406. - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
  8407. - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
  8408. - Fix bug with tor_memmem finding a match at the end of the string.
  8409. - Make unit tests run without segfaulting.
  8410. - Resolve some solaris x86 compile warnings.
  8411. - Handle duplicate lines in approved-routers files without warning.
  8412. - Fix bug where as soon as a server refused any requests due to his
  8413. exit policy (e.g. when we ask for localhost and he tells us that's
  8414. 127.0.0.1 and he won't do it), we decided he wasn't obeying his
  8415. exit policy using him for any exits.
  8416. - Only do openssl hardware accelerator stuff if openssl version is
  8417. at least 0.9.7.
  8418. o New controller features/fixes:
  8419. - Add a "RESETCONF" command so you can set config options like
  8420. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  8421. a config option in the torrc with no value, then it clears it
  8422. entirely (rather than setting it to its default).
  8423. - Add a "GETINFO config-file" to tell us where torrc is.
  8424. - Avoid sending blank lines when GETINFO replies should be empty.
  8425. - Add a QUIT command for the controller (for using it manually).
  8426. - Fix a bug in SAVECONF that was adding default dirservers and
  8427. other redundant entries to the torrc file.
  8428. o Start on the new directory design:
  8429. - Generate, publish, cache, serve new network-status format.
  8430. - Publish individual descriptors (by fingerprint, by "all", and by
  8431. "tell me yours").
  8432. - Publish client and server recommended versions separately.
  8433. - Allow tor_gzip_uncompress() to handle multiple concatenated
  8434. compressed strings. Serve compressed groups of router
  8435. descriptors. The compression logic here could be more
  8436. memory-efficient.
  8437. - Distinguish v1 authorities (all currently trusted directories)
  8438. from v2 authorities (all trusted directories).
  8439. - Change DirServers config line to note which dirs are v1 authorities.
  8440. - Add configuration option "V1AuthoritativeDirectory 1" which
  8441. moria1, moria2, and tor26 should set.
  8442. - Remove option when getting directory cache to see whether they
  8443. support running-routers; they all do now. Replace it with one
  8444. to see whether caches support v2 stuff.
  8445. o New features:
  8446. - Dirservers now do their own external reachability testing of each
  8447. Tor server, and only list them as running if they've been found to
  8448. be reachable. We also send back warnings to the server's logs if
  8449. it uploads a descriptor that we already believe is unreachable.
  8450. - Implement exit enclaves: if we know an IP address for the
  8451. destination, and there's a running Tor server at that address
  8452. which allows exit to the destination, then extend the circuit to
  8453. that exit first. This provides end-to-end encryption and end-to-end
  8454. authentication. Also, if the user wants a .exit address or enclave,
  8455. use 4 hops rather than 3, and cannibalize a general circ for it
  8456. if you can.
  8457. - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
  8458. controller. Also, rotate dns and cpu workers if the controller
  8459. changes options that will affect them; and initialize the dns
  8460. worker cache tree whether or not we start out as a server.
  8461. - Only upload a new server descriptor when options change, 18
  8462. hours have passed, uptime is reset, or bandwidth changes a lot.
  8463. - Check [X-]Forwarded-For headers in HTTP requests when generating
  8464. log messages. This lets people run dirservers (and caches) behind
  8465. Apache but still know which IP addresses are causing warnings.
  8466. o Config option changes:
  8467. - Replace (Fascist)Firewall* config options with a new
  8468. ReachableAddresses option that understands address policies.
  8469. For example, "ReachableAddresses *:80,*:443"
  8470. - Get rid of IgnoreVersion undocumented config option, and make us
  8471. only warn, never exit, when we're running an obsolete version.
  8472. - Make MonthlyAccountingStart config option truly obsolete now.
  8473. o Fixes on 0.1.0.x:
  8474. - Reject ports 465 and 587 in the default exit policy, since
  8475. people have started using them for spam too.
  8476. - It turns out we couldn't bootstrap a network since we added
  8477. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  8478. has never gone down. Add an AssumeReachable config option to let
  8479. servers and dirservers bootstrap. When we're trying to build a
  8480. high-uptime or high-bandwidth circuit but there aren't enough
  8481. suitable servers, try being less picky rather than simply failing.
  8482. - Our logic to decide if the OR we connected to was the right guy
  8483. was brittle and maybe open to a mitm for unverified routers.
  8484. - We weren't cannibalizing circuits correctly for
  8485. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  8486. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  8487. build those from scratch. This should make hidden services faster.
  8488. - Predict required circuits better, with an eye toward making hidden
  8489. services faster on the service end.
  8490. - Retry streams if the exit node sends back a 'misc' failure. This
  8491. should result in fewer random failures. Also, after failing
  8492. from resolve failed or misc, reset the num failures, so we give
  8493. it a fair shake next time we try.
  8494. - Clean up the rendezvous warn log msgs, and downgrade some to info.
  8495. - Reduce severity on logs about dns worker spawning and culling.
  8496. - When we're shutting down and we do something like try to post a
  8497. server descriptor or rendezvous descriptor, don't complain that
  8498. we seem to be unreachable. Of course we are, we're shutting down.
  8499. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  8500. We don't use them yet, but maybe one day our DNS resolver will be
  8501. able to discover them.
  8502. - Make ContactInfo mandatory for authoritative directory servers.
  8503. - Require server descriptors to list IPv4 addresses -- hostnames
  8504. are no longer allowed. This also fixes some potential security
  8505. problems with people providing hostnames as their address and then
  8506. preferentially resolving them to partition users.
  8507. - Change log line for unreachability to explicitly suggest /etc/hosts
  8508. as the culprit. Also make it clearer what IP address and ports we're
  8509. testing for reachability.
  8510. - Put quotes around user-supplied strings when logging so users are
  8511. more likely to realize if they add bad characters (like quotes)
  8512. to the torrc.
  8513. - Let auth dir servers start without specifying an Address config
  8514. option.
  8515. - Make unit tests (and other invocations that aren't the real Tor)
  8516. run without launching listeners, creating subdirectories, and so on.
  8517. Changes in version 0.1.1.5-alpha - 2005-08-08
  8518. o Bugfixes included in 0.1.0.14.
  8519. o Bugfixes on 0.1.0.x:
  8520. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  8521. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  8522. it would silently using ignore the 6668.
  8523. Changes in version 0.1.0.14 - 2005-08-08
  8524. o Bugfixes on 0.1.0.x:
  8525. - Fix the other half of the bug with crypto handshakes
  8526. (CVE-2005-2643).
  8527. - Fix an assert trigger if you send a 'signal term' via the
  8528. controller when it's listening for 'event info' messages.
  8529. Changes in version 0.1.1.4-alpha - 2005-08-04
  8530. o Bugfixes included in 0.1.0.13.
  8531. o Features:
  8532. - Improve tor_gettimeofday() granularity on windows.
  8533. - Make clients regenerate their keys when their IP address changes.
  8534. - Implement some more GETINFO goodness: expose helper nodes, config
  8535. options, getinfo keys.
  8536. Changes in version 0.1.0.13 - 2005-08-04
  8537. o Bugfixes on 0.1.0.x:
  8538. - Fix a critical bug in the security of our crypto handshakes.
  8539. - Fix a size_t underflow in smartlist_join_strings2() that made
  8540. it do bad things when you hand it an empty smartlist.
  8541. - Fix Windows installer to ship Tor license (thanks to Aphex for
  8542. pointing out this oversight) and put a link to the doc directory
  8543. in the start menu.
  8544. - Explicitly set no-unaligned-access for sparc: it turns out the
  8545. new gcc's let you compile broken code, but that doesn't make it
  8546. not-broken.
  8547. Changes in version 0.1.1.3-alpha - 2005-07-23
  8548. o Bugfixes on 0.1.1.2-alpha:
  8549. - Fix a bug in handling the controller's "post descriptor"
  8550. function.
  8551. - Fix several bugs in handling the controller's "extend circuit"
  8552. function.
  8553. - Fix a bug in handling the controller's "stream status" event.
  8554. - Fix an assert failure if we have a controller listening for
  8555. circuit events and we go offline.
  8556. - Re-allow hidden service descriptors to publish 0 intro points.
  8557. - Fix a crash when generating your hidden service descriptor if
  8558. you don't have enough intro points already.
  8559. o New features on 0.1.1.2-alpha:
  8560. - New controller function "getinfo accounting", to ask how
  8561. many bytes we've used in this time period.
  8562. - Experimental support for helper nodes: a lot of the risk from
  8563. a small static adversary comes because users pick new random
  8564. nodes every time they rebuild a circuit. Now users will try to
  8565. stick to the same small set of entry nodes if they can. Not
  8566. enabled by default yet.
  8567. o Bugfixes on 0.1.0.12:
  8568. - If you're an auth dir server, always publish your dirport,
  8569. even if you haven't yet found yourself to be reachable.
  8570. - Fix a size_t underflow in smartlist_join_strings2() that made
  8571. it do bad things when you hand it an empty smartlist.
  8572. Changes in version 0.1.0.12 - 2005-07-18
  8573. o New directory servers:
  8574. - tor26 has changed IP address.
  8575. o Bugfixes on 0.1.0.x:
  8576. - Fix a possible double-free in tor_gzip_uncompress().
  8577. - When --disable-threads is set, do not search for or link against
  8578. pthreads libraries.
  8579. - Don't trigger an assert if an authoritative directory server
  8580. claims its dirport is 0.
  8581. - Fix bug with removing Tor as an NT service: some people were
  8582. getting "The service did not return an error." Thanks to Matt
  8583. Edman for the fix.
  8584. Changes in version 0.1.1.2-alpha - 2005-07-15
  8585. o New directory servers:
  8586. - tor26 has changed IP address.
  8587. o Bugfixes on 0.1.0.x, crashes/leaks:
  8588. - Port the servers-not-obeying-their-exit-policies fix from
  8589. 0.1.0.11.
  8590. - Fix an fd leak in start_daemon().
  8591. - On Windows, you can't always reopen a port right after you've
  8592. closed it. So change retry_listeners() to only close and re-open
  8593. ports that have changed.
  8594. - Fix a possible double-free in tor_gzip_uncompress().
  8595. o Bugfixes on 0.1.0.x, usability:
  8596. - When tor_socketpair() fails in Windows, give a reasonable
  8597. Windows-style errno back.
  8598. - Let people type "tor --install" as well as "tor -install" when
  8599. they
  8600. want to make it an NT service.
  8601. - NT service patch from Matt Edman to improve error messages.
  8602. - When the controller asks for a config option with an abbreviated
  8603. name, give the full name in our response.
  8604. - Correct the man page entry on TrackHostExitsExpire.
  8605. - Looks like we were never delivering deflated (i.e. compressed)
  8606. running-routers lists, even when asked. Oops.
  8607. - When --disable-threads is set, do not search for or link against
  8608. pthreads libraries.
  8609. o Bugfixes on 0.1.1.x:
  8610. - Fix a seg fault with autodetecting which controller version is
  8611. being used.
  8612. o Features:
  8613. - New hidden service descriptor format: put a version in it, and
  8614. let people specify introduction/rendezvous points that aren't
  8615. in "the directory" (which is subjective anyway).
  8616. - Allow the DEBUG controller event to work again. Mark certain log
  8617. entries as "don't tell this to controllers", so we avoid cycles.
  8618. Changes in version 0.1.0.11 - 2005-06-30
  8619. o Bugfixes on 0.1.0.x:
  8620. - Fix major security bug: servers were disregarding their
  8621. exit policies if clients behaved unexpectedly.
  8622. - Make OS X init script check for missing argument, so we don't
  8623. confuse users who invoke it incorrectly.
  8624. - Fix a seg fault in "tor --hash-password foo".
  8625. - The MAPADDRESS control command was broken.
  8626. Changes in version 0.1.1.1-alpha - 2005-06-29
  8627. o Bugfixes:
  8628. - Make OS X init script check for missing argument, so we don't
  8629. confuse users who invoke it incorrectly.
  8630. - Fix a seg fault in "tor --hash-password foo".
  8631. - Fix a possible way to DoS dirservers.
  8632. - When we complain that your exit policy implicitly allows local or
  8633. private address spaces, name them explicitly so operators can
  8634. fix it.
  8635. - Make the log message less scary when all the dirservers are
  8636. temporarily unreachable.
  8637. - We were printing the number of idle dns workers incorrectly when
  8638. culling them.
  8639. o Features:
  8640. - Revised controller protocol (version 1) that uses ascii rather
  8641. than binary. Add supporting libraries in python and java so you
  8642. can use the controller from your applications without caring how
  8643. our protocol works.
  8644. - Spiffy new support for crypto hardware accelerators. Can somebody
  8645. test this?
  8646. Changes in version 0.0.9.10 - 2005-06-16
  8647. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  8648. - Refuse relay cells that claim to have a length larger than the
  8649. maximum allowed. This prevents a potential attack that could read
  8650. arbitrary memory (e.g. keys) from an exit server's process
  8651. (CVE-2005-2050).
  8652. Changes in version 0.1.0.10 - 2005-06-14
  8653. o Allow a few EINVALs from libevent before dying. Warn on kqueue with
  8654. libevent before 1.1a.
  8655. Changes in version 0.1.0.9-rc - 2005-06-09
  8656. o Bugfixes:
  8657. - Reset buf->highwater every time buf_shrink() is called, not just on
  8658. a successful shrink. This was causing significant memory bloat.
  8659. - Fix buffer overflow when checking hashed passwords.
  8660. - Security fix: if seeding the RNG on Win32 fails, quit.
  8661. - Allow seeding the RNG on Win32 even when you're not running as
  8662. Administrator.
  8663. - Disable threading on Solaris too. Something is wonky with it,
  8664. cpuworkers, and reentrant libs.
  8665. - Reenable the part of the code that tries to flush as soon as an
  8666. OR outbuf has a full TLS record available. Perhaps this will make
  8667. OR outbufs not grow as huge except in rare cases, thus saving lots
  8668. of CPU time plus memory.
  8669. - Reject malformed .onion addresses rather then passing them on as
  8670. normal web requests.
  8671. - Adapt patch from Adam Langley: fix possible memory leak in
  8672. tor_lookup_hostname().
  8673. - Initialize libevent later in the startup process, so the logs are
  8674. already established by the time we start logging libevent warns.
  8675. - Use correct errno on win32 if libevent fails.
  8676. - Check and warn about known-bad/slow libevent versions.
  8677. - Pay more attention to the ClientOnly config option.
  8678. - Have torctl.in/tor.sh.in check for location of su binary (needed
  8679. on FreeBSD)
  8680. - Correct/add man page entries for LongLivedPorts, ExitPolicy,
  8681. KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
  8682. HttpProxyAuthenticator
  8683. - Stop warning about sigpipes in the logs. We're going to
  8684. pretend that getting these occassionally is normal and fine.
  8685. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
  8686. certain
  8687. installer screens; and don't put stuff into StartupItems unless
  8688. the user asks you to.
  8689. - Require servers that use the default dirservers to have public IP
  8690. addresses. We have too many servers that are configured with private
  8691. IPs and their admins never notice the log entries complaining that
  8692. their descriptors are being rejected.
  8693. - Add OSX uninstall instructions. An actual uninstall script will
  8694. come later.
  8695. Changes in version 0.1.0.8-rc - 2005-05-23
  8696. o Bugfixes:
  8697. - It turns out that kqueue on OS X 10.3.9 was causing kernel
  8698. panics. Disable kqueue on all OS X Tors.
  8699. - Fix RPM: remove duplicate line accidentally added to the rpm
  8700. spec file.
  8701. - Disable threads on openbsd too, since its gethostaddr is not
  8702. reentrant either.
  8703. - Tolerate libevent 0.8 since it still works, even though it's
  8704. ancient.
  8705. - Enable building on Red Hat 9.0 again.
  8706. - Allow the middle hop of the testing circuit to be running any
  8707. version, now that most of them have the bugfix to let them connect
  8708. to unknown servers. This will allow reachability testing to work
  8709. even when 0.0.9.7-0.0.9.9 become obsolete.
  8710. - Handle relay cells with rh.length too large. This prevents
  8711. a potential attack that could read arbitrary memory (maybe even
  8712. keys) from the exit server's process.
  8713. - We screwed up the dirport reachability testing when we don't yet
  8714. have a cached version of the directory. Hopefully now fixed.
  8715. - Clean up router_load_single_router() (used by the controller),
  8716. so it doesn't seg fault on error.
  8717. - Fix a minor memory leak when somebody establishes an introduction
  8718. point at your Tor server.
  8719. - If a socks connection ends because read fails, don't warn that
  8720. you're not sending a socks reply back.
  8721. o Features:
  8722. - Add HttpProxyAuthenticator config option too, that works like
  8723. the HttpsProxyAuthenticator config option.
  8724. - Encode hashed controller passwords in hex instead of base64,
  8725. to make it easier to write controllers.
  8726. Changes in version 0.1.0.7-rc - 2005-05-17
  8727. o Bugfixes:
  8728. - Fix a bug in the OS X package installer that prevented it from
  8729. installing on Tiger.
  8730. - Fix a script bug in the OS X package installer that made it
  8731. complain during installation.
  8732. - Find libevent even if it's hiding in /usr/local/ and your
  8733. CFLAGS and LDFLAGS don't tell you to look there.
  8734. - Be able to link with libevent as a shared library (the default
  8735. after 1.0d), even if it's hiding in /usr/local/lib and even
  8736. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  8737. assuming you're running gcc. Otherwise fail and give a useful
  8738. error message.
  8739. - Fix a bug in the RPM packager: set home directory for _tor to
  8740. something more reasonable when first installing.
  8741. - Free a minor amount of memory that is still reachable on exit.
  8742. Changes in version 0.1.0.6-rc - 2005-05-14
  8743. o Bugfixes:
  8744. - Implement --disable-threads configure option. Disable threads on
  8745. netbsd by default, because it appears to have no reentrant resolver
  8746. functions.
  8747. - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
  8748. release (1.1) detects and disables kqueue if it's broken.
  8749. - Append default exit policy before checking for implicit internal
  8750. addresses. Now we don't log a bunch of complaints on startup
  8751. when using the default exit policy.
  8752. - Some people were putting "Address " in their torrc, and they had
  8753. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  8754. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  8755. LOCALSTATEDIR/tor instead.
  8756. - Fix fragmented-message bug in TorControl.py.
  8757. - Resolve a minor bug which would prevent unreachable dirports
  8758. from getting suppressed in the published descriptor.
  8759. - When the controller gave us a new descriptor, we weren't resolving
  8760. it immediately, so Tor would think its address was 0.0.0.0 until
  8761. we fetched a new directory.
  8762. - Fix an uppercase/lowercase case error in suppressing a bogus
  8763. libevent warning on some Linuxes.
  8764. o Features:
  8765. - Begin scrubbing sensitive strings from logs by default. Turn off
  8766. the config option SafeLogging if you need to do debugging.
  8767. - Switch to a new buffer management algorithm, which tries to avoid
  8768. reallocing and copying quite as much. In first tests it looks like
  8769. it uses *more* memory on average, but less cpu.
  8770. - First cut at support for "create-fast" cells. Clients can use
  8771. these when extending to their first hop, since the TLS already
  8772. provides forward secrecy and authentication. Not enabled on
  8773. clients yet.
  8774. - When dirservers refuse a router descriptor, we now log its
  8775. contactinfo, platform, and the poster's IP address.
  8776. - Call tor_free_all instead of connections_free_all after forking, to
  8777. save memory on systems that need to fork.
  8778. - Whine at you if you're a server and you don't set your contactinfo.
  8779. - Implement --verify-config command-line option to check if your torrc
  8780. is valid without actually launching Tor.
  8781. - Rewrite address "serifos.exit" to "localhost.serifos.exit"
  8782. rather than just rejecting it.
  8783. Changes in version 0.1.0.5-rc - 2005-04-27
  8784. o Bugfixes:
  8785. - Stop trying to print a null pointer if an OR conn fails because
  8786. we didn't like its cert.
  8787. o Features:
  8788. - Switch our internal buffers implementation to use a ring buffer,
  8789. to hopefully improve performance for fast servers a lot.
  8790. - Add HttpsProxyAuthenticator support (basic auth only), based
  8791. on patch from Adam Langley.
  8792. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  8793. the fast servers that have been joining lately.
  8794. - Give hidden service accesses extra time on the first attempt,
  8795. since 60 seconds is often only barely enough. This might improve
  8796. robustness more.
  8797. - Improve performance for dirservers: stop re-parsing the whole
  8798. directory every time you regenerate it.
  8799. - Add more debugging info to help us find the weird dns freebsd
  8800. pthreads bug; cleaner debug messages to help track future issues.
  8801. Changes in version 0.0.9.9 - 2005-04-23
  8802. o Bugfixes on 0.0.9.x:
  8803. - If unofficial Tor clients connect and send weird TLS certs, our
  8804. Tor server triggers an assert. This release contains a minimal
  8805. backport from the broader fix that we put into 0.1.0.4-rc.
  8806. Changes in version 0.1.0.4-rc - 2005-04-23
  8807. o Bugfixes:
  8808. - If unofficial Tor clients connect and send weird TLS certs, our
  8809. Tor server triggers an assert. Stop asserting, and start handling
  8810. TLS errors better in other situations too.
  8811. - When the controller asks us to tell it about all the debug-level
  8812. logs, it turns out we were generating debug-level logs while
  8813. telling it about them, which turns into a bad loop. Now keep
  8814. track of whether you're sending a debug log to the controller,
  8815. and don't log when you are.
  8816. - Fix the "postdescriptor" feature of the controller interface: on
  8817. non-complete success, only say "done" once.
  8818. o Features:
  8819. - Clients are now willing to load balance over up to 2mB, not 1mB,
  8820. of advertised bandwidth capacity.
  8821. - Add a NoPublish config option, so you can be a server (e.g. for
  8822. testing running Tor servers in other Tor networks) without
  8823. publishing your descriptor to the primary dirservers.
  8824. Changes in version 0.1.0.3-rc - 2005-04-08
  8825. o Improvements on 0.1.0.2-rc:
  8826. - Client now retries when streams end early for 'hibernating' or
  8827. 'resource limit' reasons, rather than failing them.
  8828. - More automated handling for dirserver operators:
  8829. - Automatically approve nodes running 0.1.0.2-rc or later,
  8830. now that the the reachability detection stuff is working.
  8831. - Now we allow two unverified servers with the same nickname
  8832. but different keys. But if a nickname is verified, only that
  8833. nickname+key are allowed.
  8834. - If you're an authdirserver connecting to an address:port,
  8835. and it's not the OR you were expecting, forget about that
  8836. descriptor. If he *was* the one you were expecting, then forget
  8837. about all other descriptors for that address:port.
  8838. - Allow servers to publish descriptors from 12 hours in the future.
  8839. Corollary: only whine about clock skew from the dirserver if
  8840. he's a trusted dirserver (since now even verified servers could
  8841. have quite wrong clocks).
  8842. - Adjust maximum skew and age for rendezvous descriptors: let skew
  8843. be 48 hours rather than 90 minutes.
  8844. - Efficiency improvements:
  8845. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  8846. it much faster to look up a circuit for each relay cell.
  8847. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  8848. since they're eating our cpu on exit nodes.
  8849. - Stop wasting time doing a case insensitive comparison for every
  8850. dns name every time we do any lookup. Canonicalize the names to
  8851. lowercase and be done with it.
  8852. - Start sending 'truncated' cells back rather than destroy cells,
  8853. if the circuit closes in front of you. This means we won't have
  8854. to abandon partially built circuits.
  8855. - Only warn once per nickname from add_nickname_list_to_smartlist
  8856. per failure, so an entrynode or exitnode choice that's down won't
  8857. yell so much.
  8858. - Put a note in the torrc about abuse potential with the default
  8859. exit policy.
  8860. - Revise control spec and implementation to allow all log messages to
  8861. be sent to controller with their severities intact (suggested by
  8862. Matt Edman). Update TorControl to handle new log event types.
  8863. - Provide better explanation messages when controller's POSTDESCRIPTOR
  8864. fails.
  8865. - Stop putting nodename in the Platform string in server descriptors.
  8866. It doesn't actually help, and it is confusing/upsetting some people.
  8867. o Bugfixes on 0.1.0.2-rc:
  8868. - We were printing the host mask wrong in exit policies in server
  8869. descriptors. This isn't a critical bug though, since we were still
  8870. obeying the exit policy internally.
  8871. - Fix Tor when compiled with libevent but without pthreads: move
  8872. connection_unregister() from _connection_free() to
  8873. connection_free().
  8874. - Fix an assert trigger (already fixed in 0.0.9.x): when we have
  8875. the rare mysterious case of accepting a conn on 0.0.0.0:0, then
  8876. when we look through the connection array, we'll find any of the
  8877. cpu/dnsworkers. This is no good.
  8878. o Bugfixes on 0.0.9.8:
  8879. - Fix possible bug on threading platforms (e.g. win32) which was
  8880. leaking a file descriptor whenever a cpuworker or dnsworker died.
  8881. - When using preferred entry or exit nodes, ignore whether the
  8882. circuit wants uptime or capacity. They asked for the nodes, they
  8883. get the nodes.
  8884. - chdir() to your datadirectory at the *end* of the daemonize process,
  8885. not the beginning. This was a problem because the first time you
  8886. run tor, if your datadir isn't there, and you have runasdaemon set
  8887. to 1, it will try to chdir to it before it tries to create it. Oops.
  8888. - Handle changed router status correctly when dirserver reloads
  8889. fingerprint file. We used to be dropping all unverified descriptors
  8890. right then. The bug was hidden because we would immediately
  8891. fetch a directory from another dirserver, which would include the
  8892. descriptors we just dropped.
  8893. - When we're connecting to an OR and he's got a different nickname/key
  8894. than we were expecting, only complain loudly if we're an OP or a
  8895. dirserver. Complaining loudly to the OR admins just confuses them.
  8896. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  8897. artificially capped at 500kB.
  8898. Changes in version 0.0.9.8 - 2005-04-07
  8899. o Bugfixes on 0.0.9.x:
  8900. - We have a bug that I haven't found yet. Sometimes, very rarely,
  8901. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  8902. thinks of itself as idle. This meant that no new circuits ever got
  8903. established. Here's a workaround to kill any cpuworker that's been
  8904. busy for more than 100 seconds.
  8905. Changes in version 0.1.0.2-rc - 2005-04-01
  8906. o Bugfixes on 0.1.0.1-rc:
  8907. - Fixes on reachability detection:
  8908. - Don't check for reachability while hibernating.
  8909. - If ORPort is reachable but DirPort isn't, still publish the
  8910. descriptor, but zero out DirPort until it's found reachable.
  8911. - When building testing circs for ORPort testing, use only
  8912. high-bandwidth nodes, so fewer circuits fail.
  8913. - Complain about unreachable ORPort separately from unreachable
  8914. DirPort, so the user knows what's going on.
  8915. - Make sure we only conclude ORPort reachability if we didn't
  8916. initiate the conn. Otherwise we could falsely conclude that
  8917. we're reachable just because we connected to the guy earlier
  8918. and he used that same pipe to extend to us.
  8919. - Authdirservers shouldn't do ORPort reachability detection,
  8920. since they're in clique mode, so it will be rare to find a
  8921. server not already connected to them.
  8922. - When building testing circuits, always pick middle hops running
  8923. Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
  8924. bug. (This is a kludge; it will go away when 0.0.9.x becomes
  8925. obsolete.)
  8926. - When we decide we're reachable, actually publish our descriptor
  8927. right then.
  8928. - Fix bug in redirectstream in the controller.
  8929. - Fix the state descriptor strings so logs don't claim edge streams
  8930. are in a different state than they actually are.
  8931. - Use recent libevent features when possible (this only really affects
  8932. win32 and osx right now, because the new libevent with these
  8933. features hasn't been released yet). Add code to suppress spurious
  8934. libevent log msgs.
  8935. - Prevent possible segfault in connection_close_unattached_ap().
  8936. - Fix newlines on torrc in win32.
  8937. - Improve error msgs when tor-resolve fails.
  8938. o Improvements on 0.0.9.x:
  8939. - New experimental script tor/contrib/ExerciseServer.py (needs more
  8940. work) that uses the controller interface to build circuits and
  8941. fetch pages over them. This will help us bootstrap servers that
  8942. have lots of capacity but haven't noticed it yet.
  8943. - New experimental script tor/contrib/PathDemo.py (needs more work)
  8944. that uses the controller interface to let you choose whole paths
  8945. via addresses like
  8946. "<hostname>.<path,separated by dots>.<length of path>.path"
  8947. - When we've connected to an OR and handshaked but didn't like
  8948. the result, we were closing the conn without sending destroy
  8949. cells back for pending circuits. Now send those destroys.
  8950. Changes in version 0.0.9.7 - 2005-04-01
  8951. o Bugfixes on 0.0.9.x:
  8952. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  8953. - Compare identity to identity, not to nickname, when extending to
  8954. a router not already in the directory. This was preventing us from
  8955. extending to unknown routers. Oops.
  8956. - Make sure to create OS X Tor user in <500 range, so we aren't
  8957. creating actual system users.
  8958. - Note where connection-that-hasn't-sent-end was marked, and fix
  8959. a few really loud instances of this harmless bug (it's fixed more
  8960. in 0.1.0.x).
  8961. Changes in version 0.1.0.1-rc - 2005-03-28
  8962. o New features:
  8963. - Add reachability testing. Your Tor server will automatically try
  8964. to see if its ORPort and DirPort are reachable from the outside,
  8965. and it won't upload its descriptor until it decides they are.
  8966. - Handle unavailable hidden services better. Handle slow or busy
  8967. hidden services better.
  8968. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  8969. config option.
  8970. - New exit policy: accept most low-numbered ports, rather than
  8971. rejecting most low-numbered ports.
  8972. - More Tor controller support (still experimental). See
  8973. http://tor.eff.org/doc/control-spec.txt for all the new features,
  8974. including signals to emulate unix signals from any platform;
  8975. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  8976. closestream; closecircuit; etc.
  8977. - Make nt services work and start on startup on win32 (based on
  8978. patch by Matt Edman).
  8979. - Add a new AddressMap config directive to rewrite incoming socks
  8980. addresses. This lets you, for example, declare an implicit
  8981. required exit node for certain sites.
  8982. - Add a new TrackHostExits config directive to trigger addressmaps
  8983. for certain incoming socks addresses -- for sites that break when
  8984. your exit keeps changing (based on patch by Mike Perry).
  8985. - Redo the client-side dns cache so it's just an addressmap too.
  8986. - Notice when our IP changes, and reset stats/uptime/reachability.
  8987. - When an application is using socks5, give him the whole variety of
  8988. potential socks5 responses (connect refused, host unreachable, etc),
  8989. rather than just "success" or "failure".
  8990. - A more sane version numbering system. See
  8991. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  8992. - New contributed script "exitlist": a simple python script to
  8993. parse directories and find Tor nodes that exit to listed
  8994. addresses/ports.
  8995. - New contributed script "privoxy-tor-toggle" to toggle whether
  8996. Privoxy uses Tor. Seems to be configured for Debian by default.
  8997. - Report HTTP reasons to client when getting a response from directory
  8998. servers -- so you can actually know what went wrong.
  8999. - New config option MaxAdvertisedBandwidth which lets you advertise
  9000. a low bandwidthrate (to not attract as many circuits) while still
  9001. allowing a higher bandwidthrate in reality.
  9002. o Robustness/stability fixes:
  9003. - Make Tor use Niels Provos's libevent instead of its current
  9004. poll-but-sometimes-select mess. This will let us use faster async
  9005. cores (like epoll, kpoll, and /dev/poll), and hopefully work better
  9006. on Windows too.
  9007. - pthread support now too. This was forced because when we forked,
  9008. we ended up wasting a lot of duplicate ram over time. Also switch
  9009. to foo_r versions of some library calls to allow reentry and
  9010. threadsafeness.
  9011. - Better handling for heterogeneous / unreliable nodes:
  9012. - Annotate circuits w/ whether they aim to contain high uptime nodes
  9013. and/or high capacity nodes. When building circuits, choose
  9014. appropriate nodes.
  9015. - This means that every single node in an intro rend circuit,
  9016. not just the last one, will have a minimum uptime.
  9017. - New config option LongLivedPorts to indicate application streams
  9018. that will want high uptime circuits.
  9019. - Servers reset uptime when a dir fetch entirely fails. This
  9020. hopefully reflects stability of the server's network connectivity.
  9021. - If somebody starts his tor server in Jan 2004 and then fixes his
  9022. clock, don't make his published uptime be a year.
  9023. - Reset published uptime when you wake up from hibernation.
  9024. - Introduce a notion of 'internal' circs, which are chosen without
  9025. regard to the exit policy of the last hop. Intro and rendezvous
  9026. circs must be internal circs, to avoid leaking information. Resolve
  9027. and connect streams can use internal circs if they want.
  9028. - New circuit pooling algorithm: make sure to have enough circs around
  9029. to satisfy any predicted ports, and also make sure to have 2 internal
  9030. circs around if we've required internal circs lately (and with high
  9031. uptime if we've seen that lately too).
  9032. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  9033. which describes how often we retry making new circuits if current
  9034. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  9035. how long we're willing to make use of an already-dirty circuit.
  9036. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  9037. circ as necessary, if there are any completed ones lying around
  9038. when we try to launch one.
  9039. - Make hidden services try to establish a rendezvous for 30 seconds,
  9040. rather than for n (where n=3) attempts to build a circuit.
  9041. - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
  9042. "ShutdownWaitLength".
  9043. - Try to be more zealous about calling connection_edge_end when
  9044. things go bad with edge conns in connection.c.
  9045. - Revise tor-spec to add more/better stream end reasons.
  9046. - Revise all calls to connection_edge_end to avoid sending "misc",
  9047. and to take errno into account where possible.
  9048. o Bug fixes:
  9049. - Fix a race condition that can trigger an assert, when we have a
  9050. pending create cell and an OR connection fails right then.
  9051. - Fix several double-mark-for-close bugs, e.g. where we were finding
  9052. a conn for a cell even if that conn is already marked for close.
  9053. - Make sequence of log messages when starting on win32 with no config
  9054. file more reasonable.
  9055. - When choosing an exit node for a new non-internal circ, don't take
  9056. into account whether it'll be useful for any pending x.onion
  9057. addresses -- it won't.
  9058. - Turn addr_policy_compare from a tristate to a quadstate; this should
  9059. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  9060. for google.com" problem.
  9061. - Make "platform" string in descriptor more accurate for Win32 servers,
  9062. so it's not just "unknown platform".
  9063. - Fix an edge case in parsing config options (thanks weasel).
  9064. If they say "--" on the commandline, it's not an option.
  9065. - Reject odd-looking addresses at the client (e.g. addresses that
  9066. contain a colon), rather than having the server drop them because
  9067. they're malformed.
  9068. - tor-resolve requests were ignoring .exit if there was a working circuit
  9069. they could use instead.
  9070. - REUSEADDR on normal platforms means you can rebind to the port
  9071. right after somebody else has let it go. But REUSEADDR on win32
  9072. means to let you bind to the port _even when somebody else
  9073. already has it bound_! So, don't do that on Win32.
  9074. - Change version parsing logic: a version is "obsolete" if it is not
  9075. recommended and (1) there is a newer recommended version in the
  9076. same series, or (2) there are no recommended versions in the same
  9077. series, but there are some recommended versions in a newer series.
  9078. A version is "new" if it is newer than any recommended version in
  9079. the same series.
  9080. - Stop most cases of hanging up on a socks connection without sending
  9081. the socks reject.
  9082. o Helpful fixes:
  9083. - Require BandwidthRate to be at least 20kB/s for servers.
  9084. - When a dirserver causes you to give a warn, mention which dirserver
  9085. it was.
  9086. - New config option DirAllowPrivateAddresses for authdirservers.
  9087. Now by default they refuse router descriptors that have non-IP or
  9088. private-IP addresses.
  9089. - Stop publishing socksport in the directory, since it's not
  9090. actually meant to be public. For compatibility, publish a 0 there
  9091. for now.
  9092. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  9093. smart" value, that is low for servers and high for clients.
  9094. - If our clock jumps forward by 100 seconds or more, assume something
  9095. has gone wrong with our network and abandon all not-yet-used circs.
  9096. - Warn when exit policy implicitly allows local addresses.
  9097. - If we get an incredibly skewed timestamp from a dirserver mirror
  9098. that isn't a verified OR, don't warn -- it's probably him that's
  9099. wrong.
  9100. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  9101. cookies to disk and doesn't log each web request to disk. (Thanks
  9102. to Brett Carrington for pointing this out.)
  9103. - When a client asks us for a dir mirror and we don't have one,
  9104. launch an attempt to get a fresh one.
  9105. - If we're hibernating and we get a SIGINT, exit immediately.
  9106. - Add --with-dmalloc ./configure option, to track memory leaks.
  9107. - And try to free all memory on closing, so we can detect what
  9108. we're leaking.
  9109. - Cache local dns resolves correctly even when they're .exit
  9110. addresses.
  9111. - Give a better warning when some other server advertises an
  9112. ORPort that is actually an apache running ssl.
  9113. - Add "opt hibernating 1" to server descriptor to make it clearer
  9114. whether the server is hibernating.
  9115. Changes in version 0.0.9.6 - 2005-03-24
  9116. o Bugfixes on 0.0.9.x (crashes and asserts):
  9117. - Add new end stream reasons to maintainance branch. Fix bug where
  9118. reason (8) could trigger an assert. Prevent bug from recurring.
  9119. - Apparently win32 stat wants paths to not end with a slash.
  9120. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  9121. blowing away the circuit that conn->cpath_layer points to, then
  9122. checking to see if the circ is well-formed. Backport check to make
  9123. sure we dont use the cpath on a closed connection.
  9124. - Prevent circuit_resume_edge_reading_helper() from trying to package
  9125. inbufs for marked-for-close streams.
  9126. - Don't crash on hup if your options->address has become unresolvable.
  9127. - Some systems (like OS X) sometimes accept() a connection and tell
  9128. you the remote host is 0.0.0.0:0. If this happens, due to some
  9129. other mis-features, we get confused; so refuse the conn for now.
  9130. o Bugfixes on 0.0.9.x (other):
  9131. - Fix harmless but scary "Unrecognized content encoding" warn message.
  9132. - Add new stream error reason: TORPROTOCOL reason means "you are not
  9133. speaking a version of Tor I understand; say bye-bye to your stream."
  9134. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  9135. into the future, now that we are more tolerant of skew. This
  9136. resolves a bug where a Tor server would refuse to cache a directory
  9137. because all the directories it gets are too far in the future;
  9138. yet the Tor server never logs any complaints about clock skew.
  9139. - Mac packaging magic: make man pages useable, and do not overwrite
  9140. existing torrc files.
  9141. - Make OS X log happily to /var/log/tor/tor.log
  9142. Changes in version 0.0.9.5 - 2005-02-22
  9143. o Bugfixes on 0.0.9.x:
  9144. - Fix an assert race at exit nodes when resolve requests fail.
  9145. - Stop picking unverified dir mirrors--it only leads to misery.
  9146. - Patch from Matt Edman to make NT services work better. Service
  9147. support is still not compiled into the executable by default.
  9148. - Patch from Dmitri Bely so the Tor service runs better under
  9149. the win32 SYSTEM account.
  9150. - Make tor-resolve actually work (?) on Win32.
  9151. - Fix a sign bug when getrlimit claims to have 4+ billion
  9152. file descriptors available.
  9153. - Stop refusing to start when bandwidthburst == bandwidthrate.
  9154. - When create cells have been on the onion queue more than five
  9155. seconds, just send back a destroy and take them off the list.
  9156. Changes in version 0.0.9.4 - 2005-02-03
  9157. o Bugfixes on 0.0.9:
  9158. - Fix an assert bug that took down most of our servers: when
  9159. a server claims to have 1 GB of bandwidthburst, don't
  9160. freak out.
  9161. - Don't crash as badly if we have spawned the max allowed number
  9162. of dnsworkers, or we're out of file descriptors.
  9163. - Block more file-sharing ports in the default exit policy.
  9164. - MaxConn is now automatically set to the hard limit of max
  9165. file descriptors we're allowed (ulimit -n), minus a few for
  9166. logs, etc.
  9167. - Give a clearer message when servers need to raise their
  9168. ulimit -n when they start running out of file descriptors.
  9169. - SGI Compatibility patches from Jan Schaumann.
  9170. - Tolerate a corrupt cached directory better.
  9171. - When a dirserver hasn't approved your server, list which one.
  9172. - Go into soft hibernation after 95% of the bandwidth is used,
  9173. not 99%. This is especially important for daily hibernators who
  9174. have a small accounting max. Hopefully it will result in fewer
  9175. cut connections when the hard hibernation starts.
  9176. - Load-balance better when using servers that claim more than
  9177. 800kB/s of capacity.
  9178. - Make NT services work (experimental, only used if compiled in).
  9179. Changes in version 0.0.9.3 - 2005-01-21
  9180. o Bugfixes on 0.0.9:
  9181. - Backport the cpu use fixes from main branch, so busy servers won't
  9182. need as much processor time.
  9183. - Work better when we go offline and then come back, or when we
  9184. run Tor at boot before the network is up. We do this by
  9185. optimistically trying to fetch a new directory whenever an
  9186. application request comes in and we think we're offline -- the
  9187. human is hopefully a good measure of when the network is back.
  9188. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  9189. long as you keep using them; actually publish hidserv descriptors
  9190. shortly after they change, rather than waiting 20-40 minutes.
  9191. - Enable Mac startup script by default.
  9192. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  9193. - When you update AllowUnverifiedNodes or FirewallPorts via the
  9194. controller's setconf feature, we were always appending, never
  9195. resetting.
  9196. - When you update HiddenServiceDir via setconf, it was screwing up
  9197. the order of reading the lines, making it fail.
  9198. - Do not rewrite a cached directory back to the cache; otherwise we
  9199. will think it is recent and not fetch a newer one on startup.
  9200. - Workaround for webservers that lie about Content-Encoding: Tor
  9201. now tries to autodetect compressed directories and compression
  9202. itself. This lets us Proxypass dir fetches through apache.
  9203. Changes in version 0.0.9.2 - 2005-01-04
  9204. o Bugfixes on 0.0.9 (crashes and asserts):
  9205. - Fix an assert on startup when the disk is full and you're logging
  9206. to a file.
  9207. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  9208. style address, then we'd crash.
  9209. - Fix an assert trigger when the running-routers string we get from
  9210. a dirserver is broken.
  9211. - Make worker threads start and run on win32. Now win32 servers
  9212. may work better.
  9213. - Bandaid (not actually fix, but now it doesn't crash) an assert
  9214. where the dns worker dies mysteriously and the main Tor process
  9215. doesn't remember anything about the address it was resolving.
  9216. o Bugfixes on 0.0.9 (Win32):
  9217. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  9218. name out of the warning/assert messages.
  9219. - Fix a superficial "unhandled error on read" bug on win32.
  9220. - The win32 installer no longer requires a click-through for our
  9221. license, since our Free Software license grants rights but does not
  9222. take any away.
  9223. - Win32: When connecting to a dirserver fails, try another one
  9224. immediately. (This was already working for non-win32 Tors.)
  9225. - Stop trying to parse $HOME on win32 when hunting for default
  9226. DataDirectory.
  9227. - Make tor-resolve.c work on win32 by calling network_init().
  9228. o Bugfixes on 0.0.9 (other):
  9229. - Make 0.0.9.x build on Solaris again.
  9230. - Due to a fencepost error, we were blowing away the \n when reporting
  9231. confvalue items in the controller. So asking for multiple config
  9232. values at once couldn't work.
  9233. - When listing circuits that are pending on an opening OR connection,
  9234. if we're an OR we were listing circuits that *end* at us as
  9235. being pending on every listener, dns/cpu worker, etc. Stop that.
  9236. - Dirservers were failing to create 'running-routers' or 'directory'
  9237. strings if we had more than some threshold of routers. Fix them so
  9238. they can handle any number of routers.
  9239. - Fix a superficial "Duplicate mark for close" bug.
  9240. - Stop checking for clock skew for OR connections, even for servers.
  9241. - Fix a fencepost error that was chopping off the last letter of any
  9242. nickname that is the maximum allowed nickname length.
  9243. - Update URLs in log messages so they point to the new website.
  9244. - Fix a potential problem in mangling server private keys while
  9245. writing to disk (not triggered yet, as far as we know).
  9246. - Include the licenses for other free software we include in Tor,
  9247. now that we're shipping binary distributions more regularly.
  9248. Changes in version 0.0.9.1 - 2004-12-15
  9249. o Bugfixes on 0.0.9:
  9250. - Make hibernation actually work.
  9251. - Make HashedControlPassword config option work.
  9252. - When we're reporting event circuit status to a controller,
  9253. don't use the stream status code.
  9254. Changes in version 0.0.9 - 2004-12-12
  9255. o Cleanups:
  9256. - Clean up manpage and torrc.sample file.
  9257. - Clean up severities and text of log warnings.
  9258. o Mistakes:
  9259. - Make servers trigger an assert when they enter hibernation.
  9260. Changes in version 0.0.9rc7 - 2004-12-08
  9261. o Bugfixes on 0.0.9rc:
  9262. - Fix a stack-trashing crash when an exit node begins hibernating.
  9263. - Avoid looking at unallocated memory while considering which
  9264. ports we need to build circuits to cover.
  9265. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  9266. we shouldn't hold-open-until-flush if the eof arrived first.
  9267. - Fix a bug with init_cookie_authentication() in the controller.
  9268. - When recommending new-format log lines, if the upper bound is
  9269. LOG_ERR, leave it implicit.
  9270. o Bugfixes on 0.0.8.1:
  9271. - Fix a whole slew of memory leaks.
  9272. - Fix isspace() and friends so they still make Solaris happy
  9273. but also so they don't trigger asserts on win32.
  9274. - Fix parse_iso_time on platforms without strptime (eg win32).
  9275. - win32: tolerate extra "readable" events better.
  9276. - win32: when being multithreaded, leave parent fdarray open.
  9277. - Make unit tests work on win32.
  9278. Changes in version 0.0.9rc6 - 2004-12-06
  9279. o Bugfixes on 0.0.9pre:
  9280. - Clean up some more integer underflow opportunities (not exploitable
  9281. we think).
  9282. - While hibernating, hup should not regrow our listeners.
  9283. - Send an end to the streams we close when we hibernate, rather
  9284. than just chopping them off.
  9285. - React to eof immediately on non-open edge connections.
  9286. o Bugfixes on 0.0.8.1:
  9287. - Calculate timeout for waiting for a connected cell from the time
  9288. we sent the begin cell, not from the time the stream started. If
  9289. it took a long time to establish the circuit, we would time out
  9290. right after sending the begin cell.
  9291. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  9292. of * as always matching, so we were picking reject *:* nodes as
  9293. exit nodes too. Oops.
  9294. o Features:
  9295. - New circuit building strategy: keep a list of ports that we've
  9296. used in the past 6 hours, and always try to have 2 circuits open
  9297. or on the way that will handle each such port. Seed us with port
  9298. 80 so web users won't complain that Tor is "slow to start up".
  9299. - Make kill -USR1 dump more useful stats about circuits.
  9300. - When warning about retrying or giving up, print the address, so
  9301. the user knows which one it's talking about.
  9302. - If you haven't used a clean circuit in an hour, throw it away,
  9303. just to be on the safe side. (This means after 6 hours a totally
  9304. unused Tor client will have no circuits open.)
  9305. Changes in version 0.0.9rc5 - 2004-12-01
  9306. o Bugfixes on 0.0.8.1:
  9307. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  9308. - Let resolve conns retry/expire also, rather than sticking around
  9309. forever.
  9310. - If we are using select, make sure we stay within FD_SETSIZE.
  9311. o Bugfixes on 0.0.9pre:
  9312. - Fix integer underflow in tor_vsnprintf() that may be exploitable,
  9313. but doesn't seem to be currently; thanks to Ilja van Sprundel for
  9314. finding it.
  9315. - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
  9316. instead. Impose minima and maxima for all *Period options; impose
  9317. even tighter maxima for fetching if we are a caching dirserver.
  9318. Clip rather than rejecting.
  9319. - Fetch cached running-routers from servers that serve it (that is,
  9320. authdirservers and servers running 0.0.9rc5-cvs or later.)
  9321. o Features:
  9322. - Accept *:706 (silc) in default exit policy.
  9323. - Implement new versioning format for post 0.1.
  9324. - Support "foo.nickname.exit" addresses, to let Alice request the
  9325. address "foo" as viewed by exit node "nickname". Based on a patch
  9326. by Geoff Goodell.
  9327. - Make tor --version --version dump the cvs Id of every file.
  9328. Changes in version 0.0.9rc4 - 2004-11-28
  9329. o Bugfixes on 0.0.8.1:
  9330. - Make windows sockets actually non-blocking (oops), and handle
  9331. win32 socket errors better.
  9332. o Bugfixes on 0.0.9rc1:
  9333. - Actually catch the -USR2 signal.
  9334. Changes in version 0.0.9rc3 - 2004-11-25
  9335. o Bugfixes on 0.0.8.1:
  9336. - Flush the log file descriptor after we print "Tor opening log file",
  9337. so we don't see those messages days later.
  9338. o Bugfixes on 0.0.9rc1:
  9339. - Make tor-resolve work again.
  9340. - Avoid infinite loop in tor-resolve if tor hangs up on it.
  9341. - Fix an assert trigger for clients/servers handling resolves.
  9342. Changes in version 0.0.9rc2 - 2004-11-24
  9343. o Bugfixes on 0.0.9rc1:
  9344. - I broke socks5 support while fixing the eof bug.
  9345. - Allow unitless bandwidths and intervals; they default to bytes
  9346. and seconds.
  9347. - New servers don't start out hibernating; they are active until
  9348. they run out of bytes, so they have a better estimate of how
  9349. long it takes, and so their operators can know they're working.
  9350. Changes in version 0.0.9rc1 - 2004-11-23
  9351. o Bugfixes on 0.0.8.1:
  9352. - Finally fix a bug that's been plaguing us for a year:
  9353. With high load, circuit package window was reaching 0. Whenever
  9354. we got a circuit-level sendme, we were reading a lot on each
  9355. socket, but only writing out a bit. So we would eventually reach
  9356. eof. This would be noticed and acted on even when there were still
  9357. bytes sitting in the inbuf.
  9358. - When poll() is interrupted, we shouldn't believe the revents values.
  9359. o Bugfixes on 0.0.9pre6:
  9360. - Fix hibernate bug that caused pre6 to be broken.
  9361. - Don't keep rephist info for routers that haven't had activity for
  9362. 24 hours. (This matters now that clients have keys, since we track
  9363. them too.)
  9364. - Never call close_temp_logs while validating log options.
  9365. - Fix backslash-escaping on tor.sh.in and torctl.in.
  9366. o Features:
  9367. - Implement weekly/monthly/daily accounting: now you specify your
  9368. hibernation properties by
  9369. AccountingMax N bytes|KB|MB|GB|TB
  9370. AccountingStart day|week|month [day] HH:MM
  9371. Defaults to "month 1 0:00".
  9372. - Let bandwidth and interval config options be specified as 5 bytes,
  9373. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  9374. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  9375. get back to normal.)
  9376. - If your requested entry or exit node has advertised bandwidth 0,
  9377. pick it anyway.
  9378. - Be more greedy about filling up relay cells -- we try reading again
  9379. once we've processed the stuff we read, in case enough has arrived
  9380. to fill the last cell completely.
  9381. - Apply NT service patch from Osamu Fujino. Still needs more work.
  9382. Changes in version 0.0.9pre6 - 2004-11-15
  9383. o Bugfixes on 0.0.8.1:
  9384. - Fix assert failure on malformed socks4a requests.
  9385. - Use identity comparison, not nickname comparison, to choose which
  9386. half of circuit-ID-space each side gets to use. This is needed
  9387. because sometimes we think of a router as a nickname, and sometimes
  9388. as a hex ID, and we can't predict what the other side will do.
  9389. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  9390. write() call will fail and we handle it there.
  9391. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  9392. and smartlist_len, which are two major profiling offenders.
  9393. o Bugfixes on 0.0.9pre5:
  9394. - Fix a bug in read_all that was corrupting config files on windows.
  9395. - When we're raising the max number of open file descriptors to
  9396. 'unlimited', don't log that we just raised it to '-1'.
  9397. - Include event code with events, as required by control-spec.txt.
  9398. - Don't give a fingerprint when clients do --list-fingerprint:
  9399. it's misleading, because it will never be the same again.
  9400. - Stop using strlcpy in tor_strndup, since it was slowing us
  9401. down a lot.
  9402. - Remove warn on startup about missing cached-directory file.
  9403. - Make kill -USR1 work again.
  9404. - Hibernate if we start tor during the "wait for wakeup-time" phase
  9405. of an accounting interval. Log our hibernation plans better.
  9406. - Authoritative dirservers now also cache their directory, so they
  9407. have it on start-up.
  9408. o Features:
  9409. - Fetch running-routers; cache running-routers; compress
  9410. running-routers; serve compressed running-routers.z
  9411. - Add NSI installer script contributed by J Doe.
  9412. - Commit VC6 and VC7 workspace/project files.
  9413. - Commit a tor.spec for making RPM files, with help from jbash.
  9414. - Add contrib/torctl.in contributed by Glenn Fink.
  9415. - Implement the control-spec's SAVECONF command, to write your
  9416. configuration to torrc.
  9417. - Get cookie authentication for the controller closer to working.
  9418. - Include control-spec.txt in the tarball.
  9419. - When set_conf changes our server descriptor, upload a new copy.
  9420. But don't upload it too often if there are frequent changes.
  9421. - Document authentication config in man page, and document signals
  9422. we catch.
  9423. - Clean up confusing parts of man page and torrc.sample.
  9424. - Make expand_filename handle ~ and ~username.
  9425. - Use autoconf to enable largefile support where necessary. Use
  9426. ftello where available, since ftell can fail at 2GB.
  9427. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  9428. log more informatively.
  9429. - Give a slightly more useful output for "tor -h".
  9430. - Refuse application socks connections to port 0.
  9431. - Check clock skew for verified servers, but allow unverified
  9432. servers and clients to have any clock skew.
  9433. - Break DirFetchPostPeriod into:
  9434. - DirFetchPeriod for fetching full directory,
  9435. - StatusFetchPeriod for fetching running-routers,
  9436. - DirPostPeriod for posting server descriptor,
  9437. - RendPostPeriod for posting hidden service descriptors.
  9438. - Make sure the hidden service descriptors are at a random offset
  9439. from each other, to hinder linkability.
  9440. Changes in version 0.0.9pre5 - 2004-11-09
  9441. o Bugfixes on 0.0.9pre4:
  9442. - Fix a seg fault in unit tests (doesn't affect main program).
  9443. - Fix an assert bug where a hidden service provider would fail if
  9444. the first hop of his rendezvous circuit was down.
  9445. - Hidden service operators now correctly handle version 1 style
  9446. INTRODUCE1 cells (nobody generates them still, so not a critical
  9447. bug).
  9448. - If do_hup fails, actually notice.
  9449. - Handle more errnos from accept() without closing the listener.
  9450. Some OpenBSD machines were closing their listeners because
  9451. they ran out of file descriptors.
  9452. - Send resolve cells to exit routers that are running a new
  9453. enough version of the resolve code to work right.
  9454. - Better handling of winsock includes on non-MSV win32 compilers.
  9455. - Some people had wrapped their tor client/server in a script
  9456. that would restart it whenever it died. This did not play well
  9457. with our "shut down if your version is obsolete" code. Now people
  9458. don't fetch a new directory if their local cached version is
  9459. recent enough.
  9460. - Make our autogen.sh work on ksh as well as bash.
  9461. o Major Features:
  9462. - Hibernation: New config option "AccountingMaxKB" lets you
  9463. set how many KBytes per month you want to allow your server to
  9464. consume. Rather than spreading those bytes out evenly over the
  9465. month, we instead hibernate for some of the month and pop up
  9466. at a deterministic time, work until the bytes are consumed, then
  9467. hibernate again. Config option "MonthlyAccountingStart" lets you
  9468. specify which day of the month your billing cycle starts on.
  9469. - Control interface: a separate program can now talk to your
  9470. client/server over a socket, and get/set config options, receive
  9471. notifications of circuits and streams starting/finishing/dying,
  9472. bandwidth used, etc. The next step is to get some GUIs working.
  9473. Let us know if you want to help out. See doc/control-spec.txt .
  9474. - Ship a contrib/tor-control.py as an example script to interact
  9475. with the control port.
  9476. - "tor --hash-password zzyxz" will output a salted password for
  9477. use in authenticating to the control interface.
  9478. - New log format in config:
  9479. "Log minsev[-maxsev] stdout|stderr|syslog" or
  9480. "Log minsev[-maxsev] file /var/foo"
  9481. o Minor Features:
  9482. - DirPolicy config option, to let people reject incoming addresses
  9483. from their dirserver.
  9484. - "tor --list-fingerprint" will list your identity key fingerprint
  9485. and then exit.
  9486. - Add "pass" target for RedirectExit, to make it easier to break
  9487. out of a sequence of RedirectExit rules.
  9488. - Clients now generate a TLS cert too, in preparation for having
  9489. them act more like real nodes.
  9490. - Ship src/win32/ in the tarball, so people can use it to build.
  9491. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  9492. is broken.
  9493. - New "router-status" line in directory, to better bind each verified
  9494. nickname to its identity key.
  9495. - Deprecate unofficial config option abbreviations, and abbreviations
  9496. not on the command line.
  9497. - Add a pure-C tor-resolve implementation.
  9498. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  9499. 1024) file descriptors.
  9500. o Code security improvements, inspired by Ilja:
  9501. - Replace sprintf with snprintf. (I think they were all safe, but
  9502. hey.)
  9503. - Replace strcpy/strncpy with strlcpy in more places.
  9504. - Avoid strcat; use snprintf or strlcat instead.
  9505. - snprintf wrapper with consistent (though not C99) overflow behavior.
  9506. Changes in version 0.0.9pre4 - 2004-10-17
  9507. o Bugfixes on 0.0.9pre3:
  9508. - If the server doesn't specify an exit policy, use the real default
  9509. exit policy, not reject *:*.
  9510. - Ignore fascistfirewall when uploading/downloading hidden service
  9511. descriptors, since we go through Tor for those; and when using
  9512. an HttpProxy, since we assume it can reach them all.
  9513. - When looking for an authoritative dirserver, use only the ones
  9514. configured at boot. Don't bother looking in the directory.
  9515. - The rest of the fix for get_default_conf_file() on older win32.
  9516. - Make 'Routerfile' config option obsolete.
  9517. o Features:
  9518. - New 'MyFamily nick1,...' config option for a server to
  9519. specify other servers that shouldn't be used in the same circuit
  9520. with it. Only believed if nick1 also specifies us.
  9521. - New 'NodeFamily nick1,nick2,...' config option for a client to
  9522. specify nodes that it doesn't want to use in the same circuit.
  9523. - New 'Redirectexit pattern address:port' config option for a
  9524. server to redirect exit connections, e.g. to a local squid.
  9525. Changes in version 0.0.9pre3 - 2004-10-13
  9526. o Bugfixes on 0.0.8.1:
  9527. - Better torrc example lines for dirbindaddress and orbindaddress.
  9528. - Improved bounds checking on parsed ints (e.g. config options and
  9529. the ones we find in directories.)
  9530. - Better handling of size_t vs int, so we're more robust on 64
  9531. bit platforms.
  9532. - Fix the rest of the bug where a newly started OR would appear
  9533. as unverified even after we've added his fingerprint and hupped
  9534. the dirserver.
  9535. - Fix a bug from 0.0.7: when read() failed on a stream, we would
  9536. close it without sending back an end. So 'connection refused'
  9537. would simply be ignored and the user would get no response.
  9538. o Bugfixes on 0.0.9pre2:
  9539. - Serving the cached-on-disk directory to people is bad. We now
  9540. provide no directory until we've fetched a fresh one.
  9541. - Workaround for bug on windows where cached-directories get crlf
  9542. corruption.
  9543. - Make get_default_conf_file() work on older windows too.
  9544. - If we write a *:* exit policy line in the descriptor, don't write
  9545. any more exit policy lines.
  9546. o Features:
  9547. - Use only 0.0.9pre1 and later servers for resolve cells.
  9548. - Make the dirservers file obsolete.
  9549. - Include a dir-signing-key token in directories to tell the
  9550. parsing entity which key is being used to sign.
  9551. - Remove the built-in bulky default dirservers string.
  9552. - New config option "Dirserver %s:%d [fingerprint]", which can be
  9553. repeated as many times as needed. If no dirservers specified,
  9554. default to moria1,moria2,tor26.
  9555. - Make moria2 advertise a dirport of 80, so people behind firewalls
  9556. will be able to get a directory.
  9557. - Http proxy support
  9558. - Dirservers translate requests for http://%s:%d/x to /x
  9559. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  9560. be routed through this host.
  9561. - Clients ask for /tor/x rather than /x for new enough dirservers.
  9562. This way we can one day coexist peacefully with apache.
  9563. - Clients specify a "Host: %s%d" http header, to be compatible
  9564. with more proxies, and so running squid on an exit node can work.
  9565. Changes in version 0.0.8.1 - 2004-10-13
  9566. o Bugfixes:
  9567. - Fix a seg fault that can be triggered remotely for Tor
  9568. clients/servers with an open dirport.
  9569. - Fix a rare assert trigger, where routerinfos for entries in
  9570. our cpath would expire while we're building the path.
  9571. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  9572. - Fix a rare seg fault for people running hidden services on
  9573. intermittent connections.
  9574. - Fix a bug in parsing opt keywords with objects.
  9575. - Fix a stale pointer assert bug when a stream detaches and
  9576. reattaches.
  9577. - Fix a string format vulnerability (probably not exploitable)
  9578. in reporting stats locally.
  9579. - Fix an assert trigger: sometimes launching circuits can fail
  9580. immediately, e.g. because too many circuits have failed recently.
  9581. - Fix a compile warning on 64 bit platforms.
  9582. Changes in version 0.0.9pre2 - 2004-10-03
  9583. o Bugfixes:
  9584. - Make fetching a cached directory work for 64-bit platforms too.
  9585. - Make zlib.h a required header, not an optional header.
  9586. Changes in version 0.0.9pre1 - 2004-10-01
  9587. o Bugfixes:
  9588. - Stop using separate defaults for no-config-file and
  9589. empty-config-file. Now you have to explicitly turn off SocksPort,
  9590. if you don't want it open.
  9591. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  9592. - Improve man page to mention more of the 0.0.8 features.
  9593. - Fix a rare seg fault for people running hidden services on
  9594. intermittent connections.
  9595. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  9596. happier.
  9597. - Fix more dns related bugs: send back resolve_failed and end cells
  9598. more reliably when the resolve fails, rather than closing the
  9599. circuit and then trying to send the cell. Also attach dummy resolve
  9600. connections to a circuit *before* calling dns_resolve(), to fix
  9601. a bug where cached answers would never be sent in RESOLVED cells.
  9602. - When we run out of disk space, or other log writing error, don't
  9603. crash. Just stop logging to that log and continue.
  9604. - We were starting to daemonize before we opened our logs, so if
  9605. there were any problems opening logs, we would complain to stderr,
  9606. which wouldn't work, and then mysteriously exit.
  9607. - Fix a rare bug where sometimes a verified OR would connect to us
  9608. before he'd uploaded his descriptor, which would cause us to
  9609. assign conn->nickname as though he's unverified. Now we look through
  9610. the fingerprint list to see if he's there.
  9611. - Fix a rare assert trigger, where routerinfos for entries in
  9612. our cpath would expire while we're building the path.
  9613. o Features:
  9614. - Clients can ask dirservers for /dir.z to get a compressed version
  9615. of the directory. Only works for servers running 0.0.9, of course.
  9616. - Make clients cache directories and use them to seed their router
  9617. lists at startup. This means clients have a datadir again.
  9618. - Configuration infrastructure support for warning on obsolete
  9619. options.
  9620. - Respond to content-encoding headers by trying to uncompress as
  9621. appropriate.
  9622. - Reply with a deflated directory when a client asks for "dir.z".
  9623. We could use allow-encodings instead, but allow-encodings isn't
  9624. specified in HTTP 1.0.
  9625. - Raise the max dns workers from 50 to 100.
  9626. - Discourage people from setting their dirfetchpostperiod more often
  9627. than once per minute.
  9628. - Protect dirservers from overzealous descriptor uploading -- wait
  9629. 10 seconds after directory gets dirty, before regenerating.
  9630. Changes in version 0.0.8 - 2004-08-25
  9631. o Port it to SunOS 5.9 / Athena
  9632. Changes in version 0.0.8rc2 - 2004-08-20
  9633. o Make it compile on cygwin again.
  9634. o When picking unverified routers, skip those with low uptime and/or
  9635. low bandwidth, depending on what properties you care about.
  9636. Changes in version 0.0.8rc1 - 2004-08-18
  9637. o Changes from 0.0.7.3:
  9638. - Bugfixes:
  9639. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  9640. don't put it into the client dns cache.
  9641. - If a begin failed due to exit policy, but we believe the IP address
  9642. should have been allowed, switch that router to exitpolicy reject *:*
  9643. until we get our next directory.
  9644. - Features:
  9645. - Clients choose nodes proportional to advertised bandwidth.
  9646. - Avoid using nodes with low uptime as introduction points.
  9647. - Handle servers with dynamic IP addresses: don't replace
  9648. options->Address with the resolved one at startup, and
  9649. detect our address right before we make a routerinfo each time.
  9650. - 'FascistFirewall' option to pick dirservers and ORs on specific
  9651. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  9652. which ports are open. (Defaults to 80,443)
  9653. - Be more aggressive about trying to make circuits when the network
  9654. has changed (e.g. when you unsuspend your laptop).
  9655. - Check for time skew on http headers; report date in response to
  9656. "GET /".
  9657. - If the entrynode config line has only one node, don't pick it as
  9658. an exitnode.
  9659. - Add strict{entry|exit}nodes config options. If set to 1, then
  9660. we refuse to build circuits that don't include the specified entry
  9661. or exit nodes.
  9662. - OutboundBindAddress config option, to bind to a specific
  9663. IP address for outgoing connect()s.
  9664. - End truncated log entries (e.g. directories) with "[truncated]".
  9665. o Patches to 0.0.8preX:
  9666. - Bugfixes:
  9667. - Patches to compile and run on win32 again (maybe)?
  9668. - Fix crash when looking for ~/.torrc with no $HOME set.
  9669. - Fix a race bug in the unit tests.
  9670. - Handle verified/unverified name collisions better when new
  9671. routerinfo's arrive in a directory.
  9672. - Sometimes routers were getting entered into the stats before
  9673. we'd assigned their identity_digest. Oops.
  9674. - Only pick and establish intro points after we've gotten a
  9675. directory.
  9676. - Features:
  9677. - AllowUnverifiedNodes config option to let circuits choose no-name
  9678. routers in entry,middle,exit,introduction,rendezvous positions.
  9679. Allow middle and rendezvous positions by default.
  9680. - Add a man page for tor-resolve.
  9681. Changes in version 0.0.7.3 - 2004-08-12
  9682. o Stop dnsworkers from triggering an assert failure when you
  9683. ask them to resolve the host "".
  9684. Changes in version 0.0.8pre3 - 2004-08-09
  9685. o Changes from 0.0.7.2:
  9686. - Allow multiple ORs with same nickname in routerlist -- now when
  9687. people give us one identity key for a nickname, then later
  9688. another, we don't constantly complain until the first expires.
  9689. - Remember used bandwidth (both in and out), and publish 15-minute
  9690. snapshots for the past day into our descriptor.
  9691. - You can now fetch $DIRURL/running-routers to get just the
  9692. running-routers line, not the whole descriptor list. (But
  9693. clients don't use this yet.)
  9694. - When people mistakenly use Tor as an http proxy, point them
  9695. at the tor-doc.html rather than the INSTALL.
  9696. - Remove our mostly unused -- and broken -- hex_encode()
  9697. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  9698. for pointing out this bug.)
  9699. - Rotate onion keys every 12 hours, not every 2 hours, so we have
  9700. fewer problems with people using the wrong key.
  9701. - Change the default exit policy to reject the default edonkey,
  9702. kazaa, gnutella ports.
  9703. - Add replace_file() to util.[ch] to handle win32's rename().
  9704. o Changes from 0.0.8preX:
  9705. - Fix two bugs in saving onion keys to disk when rotating, so
  9706. hopefully we'll get fewer people using old onion keys.
  9707. - Fix an assert error that was making SocksPolicy not work.
  9708. - Be willing to expire routers that have an open dirport -- it's
  9709. just the authoritative dirservers we want to not forget.
  9710. - Reject tor-resolve requests for .onion addresses early, so we
  9711. don't build a whole rendezvous circuit and then fail.
  9712. - When you're warning a server that he's unverified, don't cry
  9713. wolf unpredictably.
  9714. - Fix a race condition: don't try to extend onto a connection
  9715. that's still handshaking.
  9716. - For servers in clique mode, require the conn to be open before
  9717. you'll choose it for your path.
  9718. - Fix some cosmetic bugs about duplicate mark-for-close, lack of
  9719. end relay cell, etc.
  9720. - Measure bandwidth capacity over the last 24 hours, not just 12
  9721. - Bugfix: authoritative dirservers were making and signing a new
  9722. directory for each client, rather than reusing the cached one.
  9723. Changes in version 0.0.8pre2 - 2004-08-04
  9724. o Changes from 0.0.7.2:
  9725. - Security fixes:
  9726. - Check directory signature _before_ you decide whether you're
  9727. you're running an obsolete version and should exit.
  9728. - Check directory signature _before_ you parse the running-routers
  9729. list to decide who's running or verified.
  9730. - Bugfixes and features:
  9731. - Check return value of fclose while writing to disk, so we don't
  9732. end up with broken files when servers run out of disk space.
  9733. - Log a warning if the user uses an unsafe socks variant, so people
  9734. are more likely to learn about privoxy or socat.
  9735. - Dirservers now include RFC1123-style dates in the HTTP headers,
  9736. which one day we will use to better detect clock skew.
  9737. o Changes from 0.0.8pre1:
  9738. - Make it compile without warnings again on win32.
  9739. - Log a warning if you're running an unverified server, to let you
  9740. know you might want to get it verified.
  9741. - Only pick a default nickname if you plan to be a server.
  9742. Changes in version 0.0.8pre1 - 2004-07-23
  9743. o Bugfixes:
  9744. - Made our unit tests compile again on OpenBSD 3.5, and tor
  9745. itself compile again on OpenBSD on a sparc64.
  9746. - We were neglecting milliseconds when logging on win32, so
  9747. everything appeared to happen at the beginning of each second.
  9748. o Protocol changes:
  9749. - 'Extend' relay cell payloads now include the digest of the
  9750. intended next hop's identity key. Now we can verify that we're
  9751. extending to the right router, and also extend to routers we
  9752. hadn't heard of before.
  9753. o Features:
  9754. - Tor nodes can now act as relays (with an advertised ORPort)
  9755. without being manually verified by the dirserver operators.
  9756. - Uploaded descriptors of unverified routers are now accepted
  9757. by the dirservers, and included in the directory.
  9758. - Verified routers are listed by nickname in the running-routers
  9759. list; unverified routers are listed as "$<fingerprint>".
  9760. - We now use hash-of-identity-key in most places rather than
  9761. nickname or addr:port, for improved security/flexibility.
  9762. - To avoid Sybil attacks, paths still use only verified servers.
  9763. But now we have a chance to play around with hybrid approaches.
  9764. - Nodes track bandwidth usage to estimate capacity (not used yet).
  9765. - ClientOnly option for nodes that never want to become servers.
  9766. - Directory caching.
  9767. - "AuthoritativeDir 1" option for the official dirservers.
  9768. - Now other nodes (clients and servers) will cache the latest
  9769. directory they've pulled down.
  9770. - They can enable their DirPort to serve it to others.
  9771. - Clients will pull down a directory from any node with an open
  9772. DirPort, and check the signature/timestamp correctly.
  9773. - Authoritative dirservers now fetch directories from other
  9774. authdirservers, to stay better synced.
  9775. - Running-routers list tells who's down also, along with noting
  9776. if they're verified (listed by nickname) or unverified (listed
  9777. by hash-of-key).
  9778. - Allow dirservers to serve running-router list separately.
  9779. This isn't used yet.
  9780. - ORs connect-on-demand to other ORs
  9781. - If you get an extend cell to an OR you're not connected to,
  9782. connect, handshake, and forward the create cell.
  9783. - The authoritative dirservers stay connected to everybody,
  9784. and everybody stays connected to 0.0.7 servers, but otherwise
  9785. clients/servers expire unused connections after 5 minutes.
  9786. - When servers get a sigint, they delay 30 seconds (refusing new
  9787. connections) then exit. A second sigint causes immediate exit.
  9788. - File and name management:
  9789. - Look for .torrc if no CONFDIR "torrc" is found.
  9790. - If no datadir is defined, then choose, make, and secure ~/.tor
  9791. as datadir.
  9792. - If torrc not found, exitpolicy reject *:*.
  9793. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  9794. - If no nickname is defined, derive default from hostname.
  9795. - Rename secret key files, e.g. identity.key -> secret_id_key,
  9796. to discourage people from mailing their identity key to tor-ops.
  9797. - Refuse to build a circuit before the directory has arrived --
  9798. it won't work anyway, since you won't know the right onion keys
  9799. to use.
  9800. - Try other dirservers immediately if the one you try is down. This
  9801. should tolerate down dirservers better now.
  9802. - Parse tor version numbers so we can do an is-newer-than check
  9803. rather than an is-in-the-list check.
  9804. - New socks command 'resolve', to let us shim gethostbyname()
  9805. locally.
  9806. - A 'tor_resolve' script to access the socks resolve functionality.
  9807. - A new socks-extensions.txt doc file to describe our
  9808. interpretation and extensions to the socks protocols.
  9809. - Add a ContactInfo option, which gets published in descriptor.
  9810. - Publish OR uptime in descriptor (and thus in directory) too.
  9811. - Write tor version at the top of each log file
  9812. - New docs in the tarball:
  9813. - tor-doc.html.
  9814. - Document that you should proxy your SSL traffic too.
  9815. Changes in version 0.0.7.2 - 2004-07-07
  9816. o A better fix for the 0.0.0.0 problem, that will hopefully
  9817. eliminate the remaining related assertion failures.
  9818. Changes in version 0.0.7.1 - 2004-07-04
  9819. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  9820. since internally we use 0.0.0.0 to signify "not yet resolved".
  9821. Changes in version 0.0.7 - 2004-06-07
  9822. o Updated the man page to reflect the new features.
  9823. Changes in version 0.0.7rc2 - 2004-06-06
  9824. o Changes from 0.0.7rc1:
  9825. - Make it build on Win32 again.
  9826. o Changes from 0.0.6.2:
  9827. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  9828. settings too.
  9829. Changes in version 0.0.7rc1 - 2004-06-02
  9830. o Bugfixes:
  9831. - On sighup, we were adding another log without removing the first
  9832. one. So log messages would get duplicated n times for n sighups.
  9833. - Several cases of using a connection after we'd freed it. The
  9834. problem was that connections that are pending resolve are in both
  9835. the pending_resolve tree, and also the circuit's resolving_streams
  9836. list. When you want to remove one, you must remove it from both.
  9837. - Fix a double-mark-for-close where an end cell arrived for a
  9838. resolving stream, and then the resolve failed.
  9839. - Check directory signatures based on name of signer, not on whom
  9840. we got the directory from. This will let us cache directories more
  9841. easily.
  9842. o Features:
  9843. - Crank up some of our constants to handle more users.
  9844. Changes in version 0.0.7pre1 - 2004-06-02
  9845. o Fixes for crashes and other obnoxious bugs:
  9846. - Fix an epipe bug: sometimes when directory connections failed
  9847. to connect, we would give them a chance to flush before closing
  9848. them.
  9849. - When we detached from a circuit because of resolvefailed, we
  9850. would immediately try the same circuit twice more, and then
  9851. give up on the resolve thinking we'd tried three different
  9852. exit nodes.
  9853. - Limit the number of intro circuits we'll attempt to build for a
  9854. hidden service per 15-minute period.
  9855. - Check recommended-software string *early*, before actually parsing
  9856. the directory. Thus we can detect an obsolete version and exit,
  9857. even if the new directory format doesn't parse.
  9858. o Fixes for security bugs:
  9859. - Remember which nodes are dirservers when you startup, and if a
  9860. random OR enables his dirport, don't automatically assume he's
  9861. a trusted dirserver.
  9862. o Other bugfixes:
  9863. - Directory connections were asking the wrong poll socket to
  9864. start writing, and not asking themselves to start writing.
  9865. - When we detached from a circuit because we sent a begin but
  9866. didn't get a connected, we would use it again the first time;
  9867. but after that we would correctly switch to a different one.
  9868. - Stop warning when the first onion decrypt attempt fails; they
  9869. will sometimes legitimately fail now that we rotate keys.
  9870. - Override unaligned-access-ok check when $host_cpu is ia64 or
  9871. arm. Apparently they allow it but the kernel whines.
  9872. - Dirservers try to reconnect periodically too, in case connections
  9873. have failed.
  9874. - Fix some memory leaks in directory servers.
  9875. - Allow backslash in Win32 filenames.
  9876. - Made Tor build complain-free on FreeBSD, hopefully without
  9877. breaking other BSD builds. We'll see.
  9878. o Features:
  9879. - Doxygen markup on all functions and global variables.
  9880. - Make directory functions update routerlist, not replace it. So
  9881. now directory disagreements are not so critical a problem.
  9882. - Remove the upper limit on number of descriptors in a dirserver's
  9883. directory (not that we were anywhere close).
  9884. - Allow multiple logfiles at different severity ranges.
  9885. - Allow *BindAddress to specify ":port" rather than setting *Port
  9886. separately. Allow multiple instances of each BindAddress config
  9887. option, so you can bind to multiple interfaces if you want.
  9888. - Allow multiple exit policy lines, which are processed in order.
  9889. Now we don't need that huge line with all the commas in it.
  9890. - Enable accept/reject policies on SOCKS connections, so you can bind
  9891. to 0.0.0.0 but still control who can use your OP.
  9892. Changes in version 0.0.6.2 - 2004-05-16
  9893. o Our integrity-checking digest was checking only the most recent cell,
  9894. not the previous cells like we'd thought.
  9895. Thanks to Stefan Mark for finding the flaw!
  9896. Changes in version 0.0.6.1 - 2004-05-06
  9897. o Fix two bugs in our AES counter-mode implementation (this affected
  9898. onion-level stream encryption, but not TLS-level). It turns
  9899. out we were doing something much more akin to a 16-character
  9900. polyalphabetic cipher. Oops.
  9901. Thanks to Stefan Mark for finding the flaw!
  9902. o Retire moria3 as a directory server, and add tor26 as a directory
  9903. server.
  9904. Changes in version 0.0.6 - 2004-05-02
  9905. [version bump only]
  9906. Changes in version 0.0.6rc4 - 2004-05-01
  9907. o Update the built-in dirservers list to use the new directory format
  9908. o Fix a rare seg fault: if a node offering a hidden service attempts
  9909. to build a circuit to Alice's rendezvous point and fails before it
  9910. reaches the last hop, it retries with a different circuit, but
  9911. then dies.
  9912. o Handle windows socket errors correctly.
  9913. Changes in version 0.0.6rc3 - 2004-04-28
  9914. o Don't expire non-general excess circuits (if we had enough
  9915. circuits open, we were expiring rendezvous circuits -- even
  9916. when they had a stream attached. oops.)
  9917. o Fetch randomness from /dev/urandom better (not via fopen/fread)
  9918. o Better debugging for tls errors
  9919. o Some versions of openssl have an SSL_pending function that erroneously
  9920. returns bytes when there is a non-application record pending.
  9921. o Set Content-Type on the directory and hidserv descriptor.
  9922. o Remove IVs from cipher code, since AES-ctr has none.
  9923. o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  9924. o We were using an array of length zero in a few places.
  9925. o win32's gethostbyname can't resolve an IP to an IP.
  9926. o win32's close can't close a socket.
  9927. Changes in version 0.0.6rc2 - 2004-04-26
  9928. o Fix a bug where we were closing tls connections intermittently.
  9929. It turns out openssl keeps its errors around -- so if an error
  9930. happens, and you don't ask about it, and then another openssl
  9931. operation happens and succeeds, and you ask if there was an error,
  9932. it tells you about the first error. Fun fun.
  9933. o Fix a bug that's been lurking since 27 may 03 (!)
  9934. When passing back a destroy cell, we would use the wrong circ id.
  9935. 'Mostly harmless', but still worth fixing.
  9936. o Since we don't support truncateds much, don't bother sending them;
  9937. just close the circ.
  9938. o check for <machine/limits.h> so we build on NetBSD again (I hope).
  9939. o don't crash if a conn that sent a begin has suddenly lost its circuit
  9940. (this was quite rare).
  9941. Changes in version 0.0.6rc1 - 2004-04-25
  9942. o We now rotate link (tls context) keys and onion keys.
  9943. o CREATE cells now include oaep padding, so you can tell
  9944. if you decrypted them correctly.
  9945. o Add bandwidthburst to server descriptor.
  9946. o Directories now say which dirserver signed them.
  9947. o Use a tor_assert macro that logs failed assertions too.
  9948. Changes in version 0.0.6pre5 - 2004-04-18
  9949. o changes from 0.0.6pre4:
  9950. - make tor build on broken freebsd 5.2 installs
  9951. - fix a failed assert when you try an intro point, get a nack, and try
  9952. a second one and it works.
  9953. - when alice uses a port that the hidden service doesn't accept,
  9954. it now sends back an end cell (denied by exit policy). otherwise
  9955. alice would just have to wait to time out.
  9956. - fix another rare bug: when we had tried all the intro
  9957. points for a hidden service, we fetched the descriptor
  9958. again, but we left our introcirc thinking it had already
  9959. sent an intro, so it kept waiting for a response...
  9960. - bugfix: when you sleep your hidden-service laptop, as soon
  9961. as it wakes up it tries to upload a service descriptor, but
  9962. socketpair fails for some reason (localhost not up yet?).
  9963. now we simply give up on that upload, and we'll try again later.
  9964. i'd still like to find the bug though.
  9965. - if an intro circ waiting for an ack dies before getting one, then
  9966. count it as a nack
  9967. - we were reusing stale service descriptors and refetching usable
  9968. ones. oops.
  9969. Changes in version 0.0.6pre4 - 2004-04-14
  9970. o changes from 0.0.6pre3:
  9971. - when bob fails to connect to the rendezvous point, and his
  9972. circ didn't fail because of the rendezvous point itself, then
  9973. he retries a couple of times
  9974. - we expire introduction and rendezvous circs more thoroughly
  9975. (sometimes they were hanging around forever)
  9976. - we expire unattached rendezvous streams that have been around
  9977. too long (they were sticking around forever).
  9978. - fix a measly fencepost error that was crashing everybody with
  9979. a strict glibc.
  9980. Changes in version 0.0.6pre3 - 2004-04-14
  9981. o changes from 0.0.6pre2:
  9982. - make hup work again
  9983. - fix some memory leaks for dirservers
  9984. - allow more skew in rendezvous descriptor timestamps, to help
  9985. handle people like blanu who don't know what time it is
  9986. - normal circs are 3 hops, but some rend/intro circs are 4, if
  9987. the initiator doesn't get to choose the last hop
  9988. - send acks for introductions, so alice can know whether to try
  9989. again
  9990. - bob publishes intro points more correctly
  9991. o changes from 0.0.5:
  9992. - fix an assert trigger that's been plaguing us since the days
  9993. of 0.0.2prexx (thanks weasel!)
  9994. - retry stream correctly when we fail to connect because of
  9995. exit-policy-reject (should try another) or can't-resolve-address
  9996. (also should try another, because dns on random internet servers
  9997. is flaky).
  9998. - when we hup a dirserver and we've *removed* a server from the
  9999. approved-routers list, now we remove that server from the
  10000. in-memory directories too
  10001. Changes in version 0.0.6pre2 - 2004-04-08
  10002. o We fixed our base32 implementation. Now it works on all architectures.
  10003. Changes in version 0.0.6pre1 - 2004-04-08
  10004. o Features:
  10005. - Hidden services and rendezvous points are implemented. Go to
  10006. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  10007. hidden services. (This only works via a socks4a proxy such as
  10008. Privoxy, and currently it's quite slow.)
  10009. Changes in version 0.0.5 - 2004-03-30
  10010. [version bump only]
  10011. Changes in version 0.0.5rc3 - 2004-03-29
  10012. o Install torrc as torrc.sample -- we no longer clobber your
  10013. torrc. (Woo!)
  10014. o Re-enable recommendedversion checking (we broke it in rc2, oops)
  10015. o Add in a 'notice' log level for things the operator should hear
  10016. but that aren't warnings
  10017. Changes in version 0.0.5rc2 - 2004-03-29
  10018. o Hold socks connection open until reply is flushed (if possible)
  10019. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  10020. the dns farm to do it.
  10021. o Fix c99 aliasing warnings in rephist.c
  10022. o Don't include server descriptors that are older than 24 hours in the
  10023. directory.
  10024. o Give socks 'reject' replies their whole 15s to attempt to flush,
  10025. rather than seeing the 60s timeout and assuming the flush had failed.
  10026. o Clean automake droppings from the cvs repository
  10027. Changes in version 0.0.5rc1 - 2004-03-28
  10028. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  10029. o Only build circuits after we've fetched the directory: clients were
  10030. using only the directory servers before they'd fetched a directory.
  10031. This also means longer startup time; so it goes.
  10032. o Fix an assert trigger where an OP would fail to handshake, and we'd
  10033. expect it to have a nickname.
  10034. o Work around a tsocks bug: do a socks reject when AP connection dies
  10035. early, else tsocks goes into an infinite loop.
  10036. Changes in version 0.0.4 - 2004-03-26
  10037. o When connecting to a dirserver or OR and the network is down,
  10038. we would crash.
  10039. Changes in version 0.0.3 - 2004-03-26
  10040. o Warn and fail if server chose a nickname with illegal characters
  10041. o Port to Solaris and Sparc:
  10042. - include missing header fcntl.h
  10043. - have autoconf find -lsocket -lnsl automatically
  10044. - deal with hardware word alignment
  10045. - make uname() work (solaris has a different return convention)
  10046. - switch from using signal() to sigaction()
  10047. o Preliminary work on reputation system:
  10048. - Keep statistics on success/fail of connect attempts; they're published
  10049. by kill -USR1 currently.
  10050. - Add a RunTesting option to try to learn link state by creating test
  10051. circuits, even when SocksPort is off.
  10052. - Remove unused open circuits when there are too many.
  10053. Changes in version 0.0.2 - 2004-03-19
  10054. - Include strlcpy and strlcat for safer string ops
  10055. - define INADDR_NONE so we compile (but still not run) on solaris
  10056. Changes in version 0.0.2pre27 - 2004-03-14
  10057. o Bugfixes:
  10058. - Allow internal tor networks (we were rejecting internal IPs,
  10059. now we allow them if they're set explicitly).
  10060. - And fix a few endian issues.
  10061. Changes in version 0.0.2pre26 - 2004-03-14
  10062. o New features:
  10063. - If a stream times out after 15s without a connected cell, don't
  10064. try that circuit again: try a new one.
  10065. - Retry streams at most 4 times. Then give up.
  10066. - When a dirserver gets a descriptor from an unknown router, it
  10067. logs its fingerprint (so the dirserver operator can choose to
  10068. accept it even without mail from the server operator).
  10069. - Inform unapproved servers when we reject their descriptors.
  10070. - Make tor build on Windows again. It works as a client, who knows
  10071. about as a server.
  10072. - Clearer instructions in the torrc for how to set up a server.
  10073. - Be more efficient about reading fd's when our global token bucket
  10074. (used for rate limiting) becomes empty.
  10075. o Bugfixes:
  10076. - Stop asserting that computers always go forward in time. It's
  10077. simply not true.
  10078. - When we sent a cell (e.g. destroy) and then marked an OR connection
  10079. expired, we might close it before finishing a flush if the other
  10080. side isn't reading right then.
  10081. - Don't allow dirservers to start if they haven't defined
  10082. RecommendedVersions
  10083. - We were caching transient dns failures. Oops.
  10084. - Prevent servers from publishing an internal IP as their address.
  10085. - Address a strcat vulnerability in circuit.c
  10086. Changes in version 0.0.2pre25 - 2004-03-04
  10087. o New features:
  10088. - Put the OR's IP in its router descriptor, not its fqdn. That way
  10089. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  10090. e.g. poblano.
  10091. o Bugfixes:
  10092. - If the user typed in an address that didn't resolve, the server
  10093. crashed.
  10094. Changes in version 0.0.2pre24 - 2004-03-03
  10095. o Bugfixes:
  10096. - Fix an assertion failure in dns.c, where we were trying to dequeue
  10097. a pending dns resolve even if it wasn't pending
  10098. - Fix a spurious socks5 warning about still trying to write after the
  10099. connection is finished.
  10100. - Hold certain marked_for_close connections open until they're finished
  10101. flushing, rather than losing bytes by closing them too early.
  10102. - Correctly report the reason for ending a stream
  10103. - Remove some duplicate calls to connection_mark_for_close
  10104. - Put switch_id and start_daemon earlier in the boot sequence, so it
  10105. will actually try to chdir() to options.DataDirectory
  10106. - Make 'make test' exit(1) if a test fails; fix some unit tests
  10107. - Make tor fail when you use a config option it doesn't know about,
  10108. rather than warn and continue.
  10109. - Make --version work
  10110. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  10111. Changes in version 0.0.2pre23 - 2004-02-29
  10112. o New features:
  10113. - Print a statement when the first circ is finished, so the user
  10114. knows it's working.
  10115. - If a relay cell is unrecognized at the end of the circuit,
  10116. send back a destroy. (So attacks to mutate cells are more
  10117. clearly thwarted.)
  10118. - New config option 'excludenodes' to avoid certain nodes for circuits.
  10119. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  10120. so you can collect coredumps there.
  10121. o Bugfixes:
  10122. - Fix a bug in tls flushing where sometimes data got wedged and
  10123. didn't flush until more data got sent. Hopefully this bug was
  10124. a big factor in the random delays we were seeing.
  10125. - Make 'connected' cells include the resolved IP, so the client
  10126. dns cache actually gets populated.
  10127. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  10128. - When we time-out on a stream and detach from the circuit, send an
  10129. end cell down it first.
  10130. - Only warn about an unknown router (in exitnodes, entrynodes,
  10131. excludenodes) after we've fetched a directory.
  10132. Changes in version 0.0.2pre22 - 2004-02-26
  10133. o New features:
  10134. - Servers publish less revealing uname information in descriptors.
  10135. - More memory tracking and assertions, to crash more usefully when
  10136. errors happen.
  10137. - If the default torrc isn't there, just use some default defaults.
  10138. Plus provide an internal dirservers file if they don't have one.
  10139. - When the user tries to use Tor as an http proxy, give them an http
  10140. 501 failure explaining that we're a socks proxy.
  10141. - Dump a new router.desc on hup, to help confused people who change
  10142. their exit policies and then wonder why router.desc doesn't reflect
  10143. it.
  10144. - Clean up the generic tor.sh init script that we ship with.
  10145. o Bugfixes:
  10146. - If the exit stream is pending on the resolve, and a destroy arrives,
  10147. then the stream wasn't getting removed from the pending list. I
  10148. think this was the one causing recent server crashes.
  10149. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  10150. - When it couldn't resolve any dirservers, it was useless from then on.
  10151. Now it reloads the RouterFile (or default dirservers) if it has no
  10152. dirservers.
  10153. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  10154. many users don't even *have* a /usr/local/sbin/.
  10155. Changes in version 0.0.2pre21 - 2004-02-18
  10156. o New features:
  10157. - There's a ChangeLog file that actually reflects the changelog.
  10158. - There's a 'torify' wrapper script, with an accompanying
  10159. tor-tsocks.conf, that simplifies the process of using tsocks for
  10160. tor. It even has a man page.
  10161. - The tor binary gets installed to sbin rather than bin now.
  10162. - Retry streams where the connected cell hasn't arrived in 15 seconds
  10163. - Clean up exit policy handling -- get the default out of the torrc,
  10164. so we can update it without forcing each server operator to fix
  10165. his/her torrc.
  10166. - Allow imaps and pop3s in default exit policy
  10167. o Bugfixes:
  10168. - Prevent picking middleman nodes as the last node in the circuit
  10169. Changes in version 0.0.2pre20 - 2004-01-30
  10170. o New features:
  10171. - We now have a deb package, and it's in debian unstable. Go to
  10172. it, apt-getters. :)
  10173. - I've split the TotalBandwidth option into BandwidthRate (how many
  10174. bytes per second you want to allow, long-term) and
  10175. BandwidthBurst (how many bytes you will allow at once before the cap
  10176. kicks in). This better token bucket approach lets you, say, set
  10177. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  10178. performance while not exceeding your monthly bandwidth quota.
  10179. - Push out a tls record's worth of data once you've got it, rather
  10180. than waiting until you've read everything waiting to be read. This
  10181. may improve performance by pipelining better. We'll see.
  10182. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  10183. from failed circuits (if they haven't been connected yet) and attach
  10184. to new ones.
  10185. - Expire old streams that haven't managed to connect. Some day we'll
  10186. have them reattach to new circuits instead.
  10187. o Bugfixes:
  10188. - Fix several memory leaks that were causing servers to become bloated
  10189. after a while.
  10190. - Fix a few very rare assert triggers. A few more remain.
  10191. - Setuid to User _before_ complaining about running as root.
  10192. Changes in version 0.0.2pre19 - 2004-01-07
  10193. o Bugfixes:
  10194. - Fix deadlock condition in dns farm. We were telling a child to die by
  10195. closing the parent's file descriptor to him. But newer children were
  10196. inheriting the open file descriptor from the parent, and since they
  10197. weren't closing it, the socket never closed, so the child never read
  10198. eof, so he never knew to exit. Similarly, dns workers were holding
  10199. open other sockets, leading to all sorts of chaos.
  10200. - New cleaner daemon() code for forking and backgrounding.
  10201. - If you log to a file, it now prints an entry at the top of the
  10202. logfile so you know it's working.
  10203. - The onionskin challenge length was 30 bytes longer than necessary.
  10204. - Started to patch up the spec so it's not quite so out of date.
  10205. Changes in version 0.0.2pre18 - 2004-01-02
  10206. o Bugfixes:
  10207. - Fix endian issues with the 'integrity' field in the relay header.
  10208. - Fix a potential bug where connections in state
  10209. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  10210. Changes in version 0.0.2pre17 - 2003-12-30
  10211. o Bugfixes:
  10212. - Made --debuglogfile (or any second log file, actually) work.
  10213. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  10214. adversary could force us into an infinite loop.
  10215. o Features:
  10216. - Each onionskin handshake now includes a hash of the computed key,
  10217. to prove the server's identity and help perfect forward secrecy.
  10218. - Changed cell size from 256 to 512 bytes (working toward compatibility
  10219. with MorphMix).
  10220. - Changed cell length to 2 bytes, and moved it to the relay header.
  10221. - Implemented end-to-end integrity checking for the payloads of
  10222. relay cells.
  10223. - Separated streamid from 'recognized' (otherwise circuits will get
  10224. messed up when we try to have streams exit from the middle). We
  10225. use the integrity-checking to confirm that a cell is addressed to
  10226. this hop.
  10227. - Randomize the initial circid and streamid values, so an adversary who
  10228. breaks into a node can't learn how many circuits or streams have
  10229. been made so far.
  10230. Changes in version 0.0.2pre16 - 2003-12-14
  10231. o Bugfixes:
  10232. - Fixed a bug that made HUP trigger an assert
  10233. - Fixed a bug where a circuit that immediately failed wasn't being
  10234. counted as a failed circuit in counting retries.
  10235. o Features:
  10236. - Now we close the circuit when we get a truncated cell: otherwise we're
  10237. open to an anonymity attack where a bad node in the path truncates
  10238. the circuit and then we open streams at him.
  10239. - Add port ranges to exit policies
  10240. - Add a conservative default exit policy
  10241. - Warn if you're running tor as root
  10242. - on HUP, retry OR connections and close/rebind listeners
  10243. - options.EntryNodes: try these nodes first when picking the first node
  10244. - options.ExitNodes: if your best choices happen to include any of
  10245. your preferred exit nodes, you choose among just those preferred
  10246. exit nodes.
  10247. - options.ExcludedNodes: nodes that are never picked in path building
  10248. Changes in version 0.0.2pre15 - 2003-12-03
  10249. o Robustness and bugfixes:
  10250. - Sometimes clients would cache incorrect DNS resolves, which would
  10251. really screw things up.
  10252. - An OP that goes offline would slowly leak all its sockets and stop
  10253. working.
  10254. - A wide variety of bugfixes in exit node selection, exit policy
  10255. handling, and processing pending streams when a new circuit is
  10256. established.
  10257. - Pick nodes for a path only from those the directory says are up
  10258. - Choose randomly from all running dirservers, not always the first one
  10259. - Increase allowed http header size for directory fetch.
  10260. - Stop writing to stderr (if we're daemonized it will be closed).
  10261. - Enable -g always, so cores will be more useful to me.
  10262. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  10263. o Documentation:
  10264. - Wrote a man page. It lists commonly used options.
  10265. o Configuration:
  10266. - Change default loglevel to warn.
  10267. - Make PidFile default to null rather than littering in your CWD.
  10268. - OnionRouter config option is now obsolete. Instead it just checks
  10269. ORPort>0.
  10270. - Moved to a single unified torrc file for both clients and servers.
  10271. Changes in version 0.0.2pre14 - 2003-11-29
  10272. o Robustness and bugfixes:
  10273. - Force the admin to make the DataDirectory himself
  10274. - to get ownership/permissions right
  10275. - so clients no longer make a DataDirectory and then never use it
  10276. - fix bug where a client who was offline for 45 minutes would never
  10277. pull down a directory again
  10278. - fix (or at least hide really well) the dns assert bug that was
  10279. causing server crashes
  10280. - warnings and improved robustness wrt clockskew for certs
  10281. - use the native daemon(3) to daemonize, when available
  10282. - exit if bind() fails
  10283. - exit if neither socksport nor orport is defined
  10284. - include our own tor_timegm (Win32 doesn't have its own)
  10285. - bugfix for win32 with lots of connections
  10286. - fix minor bias in PRNG
  10287. - make dirserver more robust to corrupt cached directory
  10288. o Documentation:
  10289. - Wrote the design document (woo)
  10290. o Circuit building and exit policies:
  10291. - Circuits no longer try to use nodes that the directory has told them
  10292. are down.
  10293. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  10294. bitcounts (18.0.0.0/8).
  10295. - Make AP connections standby for a circuit if no suitable circuit
  10296. exists, rather than failing
  10297. - Circuits choose exit node based on addr/port, exit policies, and
  10298. which AP connections are standing by
  10299. - Bump min pathlen from 2 to 3
  10300. - Relay end cells have a payload to describe why the stream ended.
  10301. - If the stream failed because of exit policy, try again with a new
  10302. circuit.
  10303. - Clients have a dns cache to remember resolved addresses.
  10304. - Notice more quickly when we have no working circuits
  10305. o Configuration:
  10306. - APPort is now called SocksPort
  10307. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  10308. where to bind
  10309. - RecommendedVersions is now a config variable rather than
  10310. hardcoded (for dirservers)
  10311. - Reloads config on HUP
  10312. - Usage info on -h or --help
  10313. - If you set User and Group config vars, it'll setu/gid to them.
  10314. Changes in version 0.0.2pre13 - 2003-10-19
  10315. o General stability:
  10316. - SSL_write no longer fails when it returns WANTWRITE and the number
  10317. of bytes in the buf has changed by the next SSL_write call.
  10318. - Fix segfault fetching directory when network is down
  10319. - Fix a variety of minor memory leaks
  10320. - Dirservers reload the fingerprints file on HUP, so I don't have
  10321. to take down the network when I approve a new router
  10322. - Default server config file has explicit Address line to specify fqdn
  10323. o Buffers:
  10324. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  10325. - Make listener connections not ever alloc bufs
  10326. o Autoconf improvements:
  10327. - don't clobber an external CFLAGS in ./configure
  10328. - Make install now works
  10329. - create var/lib/tor on make install
  10330. - autocreate a tor.sh initscript to help distribs
  10331. - autocreate the torrc and sample-server-torrc with correct paths
  10332. o Log files and Daemonizing now work:
  10333. - If --DebugLogFile is specified, log to it at -l debug
  10334. - If --LogFile is specified, use it instead of commandline
  10335. - If --RunAsDaemon is set, tor forks and backgrounds on startup