ChangeLog 656 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736
  1. Changes in version 0.2.3.13-alpha - 2012-03-1?
  2. o Directory authority changes:
  3. - Change IP address for maatuska (v3 directory authority).
  4. o Security fixes:
  5. - Never use a bridge as an exit, even if it claims to be one. Found by
  6. wanoskarnet. Fixes bug 5342. Bugfix on ????.
  7. - Only build circuits if we have a sufficient threshold of the total
  8. descriptors marked in the consensus with the "Exit" flag. This
  9. mitigates an attack proposed by wanoskarnet, in which all of
  10. a client's bridges collude to restrict the exit nodes that the
  11. client knows about. Fixes bug 5343.
  12. o Major bugfixes (on Tor 0.2.3.x):
  13. - Avoid an assert when managed proxies like obfsproxy are configured,
  14. and we receive HUP signals or setconf attempts too rapidly. This
  15. situation happens most commonly when Vidalia tries to attach to
  16. Tor or tries to configure the Tor it's attached to. Fixes bug 5084;
  17. bugfix on 0.2.3.6-alpha.
  18. - Fix a relay-side pluggable transports bug where managed proxies were
  19. unreachable from the Internet, because Tor asked them to bind on
  20. localhost. Fixes bug 4725; bugfix on 0.2.3.9-alpha.
  21. - Stop discarding command-line arguments when TestingTorNetwork
  22. is set. Discovered by Kevin Bauer. Fixes bug 5373; bugfix on
  23. 0.2.3.9-alpha, where task 4552 added support for two layers of
  24. torrc files.
  25. - Resume allowing the unit tests to run in gdb. This was accidentally
  26. made impossible when the DisableDebuggerAttachment option was
  27. introduced. Fixes bug 5448; bugfix on 0.2.3.9-alpha.
  28. - Resume building with nat-pmp support. Fixes bug 4955; bugfix on
  29. 0.2.3.11-alpha. Reported by Anthony G. Basile.
  30. o Minor bugfixes (on 0.2.2.x and earlier):
  31. - Ensure we don't cannibalize circuits that are longer than three hops
  32. already, so we don't end up making circuits with 5 or more
  33. hops. Patch contributed by wanoskarnet. Fixes bug 5231; bugfix on
  34. 0.1.0.1-rc which introduced cannibalization.
  35. - Detect and reject certain misformed escape sequences in
  36. configuration values. Previously, these values would cause us
  37. to crash if received in a torrc file or over an (authenticated)
  38. control port. Bug found by Esteban Manchado Velázquez, and
  39. independently by Robert Connolly from Matta Consulting who further
  40. noted that it allows a post-authentication heap overflow. Patch
  41. by "flupzor". Fixes bugs 5090 and 5402 (CVE 2012-1668); bugfix
  42. on 0.2.0.16-alpha.
  43. - Fix a compile warning when using the --enable-openbsd-malloc
  44. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  45. - Directory caches no longer refuse to clean out descriptors when
  46. because of missing v2 networkstatus documents, unless they're
  47. actually trying to retrieve v2 networkstatus documents. Fixes bug
  48. 4838; bugfix on 0.2.2.26-beta. Patch by Daniel Bryg.
  49. - Update to the latest version of the tinytest unit testing framework.
  50. This includes a couple of bugfixes that can be relevant for
  51. running forked unit tests on Windows, and a removal of all reserved
  52. identifiers.
  53. o Minor bugfixes (on 0.2.3.x):
  54. - On a failed pipe() call, don't leak file descriptors. Fixes bug
  55. 4296; bugfix on 0.2.3.1-alpha.
  56. - Spec conformance: on a v3 handshake, do not send a NETINFO cell
  57. until after we have received a CERTS cell. Fixes bug 4361; bugfix
  58. on 0.2.3.6-alpha. Patch by "frosty".
  59. - When binding to an IPv6 address, set the IPV6_V6ONLY socket
  60. option, so that the IP stack doesn't decide to use it for IPv4
  61. too. Fixes bug 4760; bugfix on 0.2.3.9-alpha.
  62. - Ensure that variables set in Tor's environment cannot override
  63. environment variables which Tor tries to pass to a managed
  64. pluggable-transport proxy. Previously, Tor would pass every
  65. variable in its environment to managed proxies along with the
  66. new ones, in such a way that on many operating systems, the
  67. inherited environment variables would override those which Tor
  68. tried to explicitly set. Bugfix on 0.2.3.12-alpha for most
  69. Unixoid systems; bugfix on 0.2.3.9-alpha for Windows.
  70. o Minor features:
  71. - A wide variety of new unit tests by Esteban Manchado Velázquez.
  72. - Shorten links in the tor-exit-notice file. Patch by Christian Kujau.
  73. - Update to the March 6 2012 Maxmind GeoLite Country database.
  74. Changes in version 0.2.3.12-alpha - 2012-02-13
  75. Tor 0.2.3.12-alpha lets fast exit relays scale better, allows clients
  76. to use bridges that run Tor 0.2.2.x, and resolves several big bugs
  77. when Tor is configured to use a pluggable transport like obfsproxy.
  78. o Major bugfixes:
  79. - Fix builds when the path to sed, openssl, or sha1sum contains
  80. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  81. on 0.2.2.1-alpha.
  82. - Set the SO_REUSEADDR socket option before we call bind() on outgoing
  83. connections. This change should allow busy exit relays to stop
  84. running out of available sockets as quickly. Fixes bug 4950;
  85. bugfix on 0.2.2.26-beta.
  86. - Allow 0.2.3.x clients to use 0.2.2.x bridges. Previously the client
  87. would ask the bridge for microdescriptors, which are only supported
  88. in 0.2.3.x, and then fail to bootstrap when it didn't get the
  89. answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha.
  90. - Properly set up obfsproxy's environment when in managed mode. The
  91. Tor Browser Bundle needs LD_LIBRARY_PATH to be passed to obfsproxy,
  92. and when you run your Tor as a daemon, there's no HOME. Fixes bugs
  93. 5076 and 5082; bugfix on 0.2.3.6-alpha.
  94. o Minor features:
  95. - Use the dead_strip option when building Tor on OS X. This reduces
  96. binary size by almost 19% when linking openssl and libevent
  97. statically, which we do for Tor Browser Bundle.
  98. - Fix broken URLs in the sample torrc file, and tell readers about
  99. the OutboundBindAddress, ExitPolicyRejectPrivate, and
  100. PublishServerDescriptor options. Addresses bug 4652.
  101. - Update to the February 7 2012 Maxmind GeoLite Country database.
  102. o Minor bugfixes:
  103. - Downgrade the "We're missing a certificate" message from notice
  104. to info: people kept mistaking it for a real problem, whereas it
  105. is seldom the problem even when we are failing to bootstrap. Fixes
  106. bug 5067; bugfix on 0.2.0.10-alpha.
  107. - Don't put "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200" in a
  108. managed pluggable transport server proxy's environment.
  109. Previously, we would put it there, even though Tor doesn't
  110. implement an 'extended server port' yet, and even though Tor
  111. almost certainly isn't listening at that address. For now, we set
  112. it to an empty string to avoid crashing older obfsproxies. Bugfix
  113. on 0.2.3.6-alpha.
  114. - Log the heartbeat message every HeartbeatPeriod seconds, not every
  115. HeartbeatPeriod + 1 seconds. Fixes bug 4942; bugfix on
  116. 0.2.3.1-alpha. Bug reported by Scott Bennett.
  117. - Calculate absolute paths correctly on Windows. Fixes bug 4973;
  118. bugfix on 0.2.3.11-alpha.
  119. - Update "ClientOnly" man page entry to explain that there isn't
  120. really any point to messing with it. Resolves ticket 5005.
  121. - Use the correct CVE number for CVE-2011-4576 in our comments and
  122. log messages. Found by "fermenthor". Resolves bug 5066; bugfix on
  123. 0.2.3.11-alpha.
  124. o Code simplifications and refactoring:
  125. - Use the _WIN32 macro throughout our code to detect Windows.
  126. (Previously we had used the obsolete 'WIN32' and the idiosyncratic
  127. 'MS_WINDOWS'.)
  128. Changes in version 0.2.3.11-alpha - 2012-01-22
  129. Tor 0.2.3.11-alpha marks feature-freeze for the 0.2.3 tree. It deploys
  130. the last step of the plan to limit maximum circuit length, includes
  131. a wide variety of hidden service performance and correctness fixes,
  132. works around an OpenSSL security flaw if your distro is too stubborn
  133. to upgrade, and fixes a bunch of smaller issues.
  134. o Major features:
  135. - Now that Tor 0.2.0.x is completely deprecated, enable the final
  136. part of "Proposal 110: Avoiding infinite length circuits" by
  137. refusing all circuit-extend requests that do not use a relay_early
  138. cell. This change helps Tor resist a class of denial-of-service
  139. attacks by limiting the maximum circuit length.
  140. - Adjust the number of introduction points that a hidden service
  141. will try to maintain based on how long its introduction points
  142. remain in use and how many introductions they handle. Fixes
  143. part of bug 3825.
  144. - Try to use system facilities for enumerating local interface
  145. addresses, before falling back to our old approach (which was
  146. binding a UDP socket, and calling getsockname() on it). That
  147. approach was scaring OS X users whose draconian firewall
  148. software warned about binding to UDP sockets, regardless of
  149. whether packets were sent. Now we try to use getifaddrs(),
  150. SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
  151. system supports. Resolves ticket 1827.
  152. o Major security workaround:
  153. - When building or running with any version of OpenSSL earlier
  154. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  155. versions have a bug (CVE-2011-4576) in which their block cipher
  156. padding includes uninitialized data, potentially leaking sensitive
  157. information to any peer with whom they make a SSLv3 connection. Tor
  158. does not use SSL v3 by default, but a hostile client or server
  159. could force an SSLv3 connection in order to gain information that
  160. they shouldn't have been able to get. The best solution here is to
  161. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  162. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  163. to make sure that the bug can't happen.
  164. o Major bugfixes:
  165. - Fix the SOCKET_OK test that we use to tell when socket
  166. creation fails so that it works on Win64. Fixes part of bug 4533;
  167. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  168. - Correct our replacements for the timeradd() and timersub() functions
  169. on platforms that lack them (for example, Windows). The timersub()
  170. function is used when expiring circuits, while timeradd() is
  171. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  172. bugfix on 0.2.2.24-alpha and 0.2.3.1-alpha.
  173. - Do not use OpenSSL 1.0.0's counter mode: it has a critical bug
  174. that was fixed in OpenSSL 1.0.0a. We test for the counter mode
  175. bug at runtime, not compile time, because some distributions hack
  176. their OpenSSL to mis-report its version. Fixes bug 4779; bugfix
  177. on 0.2.3.9-alpha. Found by Pascal.
  178. o Minor features (controller):
  179. - Use absolute path names when reporting the torrc filename in the
  180. control protocol, so a controller can more easily find the torrc
  181. file. Resolves bug 1101.
  182. - Extend the control protocol to report flags that control a circuit's
  183. path selection in CIRC events and in replies to 'GETINFO
  184. circuit-status'. Implements part of ticket 2411.
  185. - Extend the control protocol to report the hidden service address
  186. and current state of a hidden-service-related circuit in CIRC
  187. events and in replies to 'GETINFO circuit-status'. Implements part
  188. of ticket 2411.
  189. - When reporting the path to the cookie file to the controller,
  190. give an absolute path. Resolves ticket 4881.
  191. - Allow controllers to request an event notification whenever a
  192. circuit is cannibalized or its purpose is changed. Implements
  193. part of ticket 3457.
  194. - Include the creation time of a circuit in CIRC and CIRC2
  195. control-port events and the list produced by the 'GETINFO
  196. circuit-status' control-port command.
  197. o Minor features (directory authorities):
  198. - Directory authorities now reject versions of Tor older than
  199. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  200. inclusive. These versions accounted for only a small fraction of
  201. the Tor network, and have numerous known security issues. Resolves
  202. issue 4788.
  203. - Authority operators can now vote for all relays in a given
  204. set of countries to be BadDir/BadExit/Invalid/Rejected.
  205. - Provide two consensus parameters (FastFlagMinThreshold and
  206. FastFlagMaxThreshold) to control the range of allowable bandwidths
  207. for the Fast directory flag. These allow authorities to run
  208. experiments on appropriate requirements for being a "Fast" node.
  209. The AuthDirFastGuarantee config value still applies.
  210. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  211. directory authority option (introduced in Tor 0.2.2.34).
  212. o Minor features (other):
  213. - Don't disable the DirPort when we cannot exceed our AccountingMax
  214. limit during this interval because the effective bandwidthrate is
  215. low enough. This is useful in a situation where AccountMax is only
  216. used as an additional safeguard or to provide statistics.
  217. - Prepend an informative header to generated dynamic_dh_params files.
  218. - If EntryNodes are given, but UseEntryGuards is set to 0, warn that
  219. EntryNodes will have no effect. Resolves issue 2571.
  220. - Log more useful messages when we fail to disable debugger
  221. attachment.
  222. - Log which authority we're missing votes from when we go to fetch
  223. them from the other auths.
  224. - Log (at debug level) whenever a circuit's purpose is changed.
  225. - Add missing documentation for the MaxClientCircuitsPending,
  226. UseMicrodescriptors, UserspaceIOCPBuffers, and
  227. _UseFilteringSSLBufferevents options, all introduced during
  228. the 0.2.3.x series.
  229. - Update to the January 3 2012 Maxmind GeoLite Country database.
  230. o Minor bugfixes (hidden services):
  231. - Don't close hidden service client circuits which have almost
  232. finished connecting to their destination when they reach
  233. the normal circuit-build timeout. Previously, we would close
  234. introduction circuits which are waiting for an acknowledgement
  235. from the introduction point, and rendezvous circuits which have
  236. been specified in an INTRODUCE1 cell sent to a hidden service,
  237. after the normal CBT. Now, we mark them as 'timed out', and launch
  238. another rendezvous attempt in parallel. This behavior change can
  239. be disabled using the new CloseHSClientCircuitsImmediatelyOnTimeout
  240. option. Fixes part of bug 1297; bugfix on 0.2.2.2-alpha.
  241. - Don't close hidden-service-side rendezvous circuits when they
  242. reach the normal circuit-build timeout. This behaviour change can
  243. be disabled using the new
  244. CloseHSServiceRendCircuitsImmediatelyOnTimeout option. Fixes the
  245. remaining part of bug 1297; bugfix on 0.2.2.2-alpha.
  246. - Make sure we never mark the wrong rendezvous circuit as having
  247. had its introduction cell acknowleged by the introduction-point
  248. relay. Previously, when we received an INTRODUCE_ACK cell on a
  249. client-side hidden-service introduction circuit, we might have
  250. marked a rendezvous circuit other than the one we specified in
  251. the INTRODUCE1 cell as INTRO_ACKED, which would have produced
  252. a warning message and interfered with the hidden service
  253. connection-establishment process. Fixes bug 4759; bugfix on
  254. 0.2.3.3-alpha, when we added the stream-isolation feature which
  255. might cause Tor to open multiple rendezvous circuits for the same
  256. hidden service.
  257. - Don't trigger an assertion failure when we mark a new client-side
  258. hidden-service introduction circuit for close during the process
  259. of creating it. Fixes bug 4796; bugfix on 0.2.3.6-alpha. Reported
  260. by murb.
  261. o Minor bugfixes (log messages):
  262. - Correctly spell "connect" in a log message on failure to create a
  263. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta and
  264. 0.2.3.2-alpha.
  265. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  266. Fixes bug 4856; bugfix on Tor 0.0.6.
  267. - Fix the log message describing how we work around discovering
  268. that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
  269. 4837; bugfix on 0.2.2.9-alpha.
  270. - When logging about a disallowed .exit name, do not also call it
  271. an "invalid onion address". Fixes bug 3325; bugfix on 0.2.2.9-alpha.
  272. o Minor bugfixes (build fixes):
  273. - During configure, detect when we're building with clang version
  274. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  275. CFLAGS. clang doesn't support them yet.
  276. - During configure, search for library containing cos function as
  277. libm lives in libcore on some platforms (BeOS/Haiku). Linking
  278. against libm was hard-coded before. Fixes the first part of bug
  279. 4727; bugfix on 0.2.2.2-alpha. Patch and analysis by Martin Hebnes
  280. Pedersen.
  281. - Detect attempts to build Tor on (as yet hypothetical) versions
  282. of Windows where sizeof(intptr_t) != sizeof(SOCKET). Partial
  283. fix for bug 4533. Bugfix on 0.2.2.28-beta.
  284. - Preprocessor directives should not be put inside the arguments
  285. of a macro. This would break compilation with GCC releases prior
  286. to version 3.3. We would never recommend such an old GCC version,
  287. but it is apparently required for binary compatibility on some
  288. platforms (namely, certain builds of Haiku). Fixes the other part
  289. of bug 4727; bugfix on 0.2.3.3-alpha. Patch and analysis by Martin
  290. Hebnes Pedersen.
  291. o Minor bugfixes (other):
  292. - Older Linux kernels erroneously respond to strange nmap behavior
  293. by having accept() return successfully with a zero-length
  294. socket. When this happens, just close the connection. Previously,
  295. we would try harder to learn the remote address: but there was
  296. no such remote address to learn, and our method for trying to
  297. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  298. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  299. - Fix null-pointer access that could occur if TLS allocation failed.
  300. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un". This was
  301. erroneously listed as fixed in 0.2.3.9-alpha, but the fix had
  302. accidentally been reverted.
  303. - Fix our implementation of crypto_random_hostname() so it can't
  304. overflow on ridiculously large inputs. (No Tor version has ever
  305. provided this kind of bad inputs, but let's be correct in depth.)
  306. Fixes bug 4413; bugfix on 0.2.2.9-alpha. Fix by Stephen Palmateer.
  307. - Find more places in the code that should have been testing for
  308. invalid sockets using the SOCKET_OK macro. Required for a fix
  309. for bug 4533. Bugfix on 0.2.2.28-beta.
  310. - Fix an assertion failure when, while running with bufferevents, a
  311. connection finishes connecting after it is marked for close, but
  312. before it is closed. Fixes bug 4697; bugfix on 0.2.3.1-alpha.
  313. - test_util_spawn_background_ok() hardcoded the expected value
  314. for ENOENT to 2. This isn't portable as error numbers are
  315. platform specific, and particularly the hurd has ENOENT at
  316. 0x40000002. Construct expected string at runtime, using the correct
  317. value for ENOENT. Fixes bug 4733; bugfix on 0.2.3.1-alpha.
  318. - Reject attempts to disable DisableDebuggerAttachment while Tor is
  319. running. Fixes bug 4650; bugfix on 0.2.3.9-alpha.
  320. - Use an appropriate-width type for sockets in tor-fw-helper on
  321. win64. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
  322. o Feature removal:
  323. - When sending or relaying a RELAY_EARLY cell, we used to convert
  324. it to a RELAY cell if the connection was using the v1 link
  325. protocol. This was a workaround for older versions of Tor, which
  326. didn't handle RELAY_EARLY cells properly. Now that all supported
  327. versions can handle RELAY_EARLY cells, and now that we're enforcing
  328. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  329. remove this workaround. Addresses bug 4786.
  330. o Code simplifications and refactoring:
  331. - Use OpenSSL's built-in SSL_state_string_long() instead of our
  332. own homebrewed ssl_state_to_string() replacement. Patch from
  333. Emile Snyder. Fixes bug 4653.
  334. - Use macros to indicate OpenSSL versions, so we don't need to worry
  335. about accidental hexadecimal bit shifts.
  336. - Remove some workaround code for OpenSSL 0.9.6 (which is no longer
  337. supported).
  338. - Convert more instances of tor_snprintf+tor_strdup into tor_asprintf.
  339. - Use the smartlist_add_asprintf() alias more consistently.
  340. - Use a TOR_INVALID_SOCKET macro when initializing a socket to an
  341. invalid value, rather than just -1.
  342. - Rename a handful of old identifiers, mostly related to crypto
  343. structures and crypto functions. By convention, our "create an
  344. object" functions are called "type_new()", our "free an object"
  345. functions are called "type_free()", and our types indicate that
  346. they are types only with a final "_t". But a handful of older
  347. types and functions broke these rules, with function names like
  348. "type_create" or "subsystem_op_type", or with type names like
  349. type_env_t.
  350. Changes in version 0.2.3.10-alpha - 2011-12-16
  351. Tor 0.2.3.10-alpha fixes a critical heap-overflow security issue in
  352. Tor's buffers code. Absolutely everybody should upgrade.
  353. The bug relied on an incorrect calculation when making data continuous
  354. in one of our IO buffers, if the first chunk of the buffer was
  355. misaligned by just the wrong amount. The miscalculation would allow an
  356. attacker to overflow a piece of heap-allocated memory. To mount this
  357. attack, the attacker would need to either open a SOCKS connection to
  358. Tor's SocksPort (usually restricted to localhost), or target a Tor
  359. instance configured to make its connections through a SOCKS proxy
  360. (which Tor does not do by default).
  361. Good security practice requires that all heap-overflow bugs should be
  362. presumed to be exploitable until proven otherwise, so we are treating
  363. this as a potential code execution attack. Please upgrade immediately!
  364. This bug does not affect bufferevents-based builds of Tor. Special
  365. thanks to "Vektor" for reporting this issue to us!
  366. This release also contains a few minor bugfixes for issues discovered
  367. in 0.2.3.9-alpha.
  368. o Major bugfixes:
  369. - Fix a heap overflow bug that could occur when trying to pull
  370. data into the first chunk of a buffer, when that chunk had
  371. already had some data drained from it. Fixes CVE-2011-2778;
  372. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  373. o Minor bugfixes:
  374. - If we can't attach streams to a rendezvous circuit when we
  375. finish connecting to a hidden service, clear the rendezvous
  376. circuit's stream-isolation state and try to attach streams
  377. again. Previously, we cleared rendezvous circuits' isolation
  378. state either too early (if they were freshly built) or not at all
  379. (if they had been built earlier and were cannibalized). Bugfix on
  380. 0.2.3.3-alpha; fixes bug 4655.
  381. - Fix compilation of the libnatpmp helper on non-Windows. Bugfix on
  382. 0.2.3.9-alpha; fixes bug 4691. Reported by Anthony G. Basile.
  383. - Fix an assertion failure when a relay with accounting enabled
  384. starts up while dormant. Fixes bug 4702; bugfix on 0.2.3.9-alpha.
  385. o Minor features:
  386. - Update to the December 6 2011 Maxmind GeoLite Country database.
  387. Changes in version 0.2.2.35 - 2011-12-16
  388. Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
  389. buffers code. Absolutely everybody should upgrade.
  390. The bug relied on an incorrect calculation when making data continuous
  391. in one of our IO buffers, if the first chunk of the buffer was
  392. misaligned by just the wrong amount. The miscalculation would allow an
  393. attacker to overflow a piece of heap-allocated memory. To mount this
  394. attack, the attacker would need to either open a SOCKS connection to
  395. Tor's SocksPort (usually restricted to localhost), or target a Tor
  396. instance configured to make its connections through a SOCKS proxy
  397. (which Tor does not do by default).
  398. Good security practice requires that all heap-overflow bugs should be
  399. presumed to be exploitable until proven otherwise, so we are treating
  400. this as a potential code execution attack. Please upgrade immediately!
  401. This bug does not affect bufferevents-based builds of Tor. Special
  402. thanks to "Vektor" for reporting this issue to us!
  403. Tor 0.2.2.35 also fixes several bugs in previous versions, including
  404. crash bugs for unusual configurations, and a long-term bug that
  405. would prevent Tor from starting on Windows machines with draconian
  406. AV software.
  407. With this release, we remind everyone that 0.2.0.x has reached its
  408. formal end-of-life. Those Tor versions have many known flaws, and
  409. nobody should be using them. You should upgrade -- ideally to the
  410. 0.2.2.x series. If you're using a Linux or BSD and its packages are
  411. obsolete, stop using those packages and upgrade anyway.
  412. The Tor 0.2.1.x series is also approaching its end-of-life: it will no
  413. longer receive support after some time in early 2012.
  414. o Major bugfixes:
  415. - Fix a heap overflow bug that could occur when trying to pull
  416. data into the first chunk of a buffer, when that chunk had
  417. already had some data drained from it. Fixes CVE-2011-2778;
  418. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  419. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  420. that it doesn't attempt to allocate a socketpair. This could cause
  421. some problems on Windows systems with overzealous firewalls. Fix for
  422. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  423. 2.0.15-stable.
  424. - If we mark an OR connection for close based on a cell we process,
  425. don't process any further cells on it. We already avoid further
  426. reads on marked-for-close connections, but now we also discard the
  427. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  428. which was the first version where we might mark a connection for
  429. close based on processing a cell on it.
  430. - Correctly sanity-check that we don't underflow on a memory
  431. allocation (and then assert) for hidden service introduction
  432. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  433. bugfix on 0.2.1.5-alpha.
  434. - Fix a memory leak when we check whether a hidden service
  435. descriptor has any usable introduction points left. Fixes bug
  436. 4424. Bugfix on 0.2.2.25-alpha.
  437. - Don't crash when we're running as a relay and don't have a GeoIP
  438. file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
  439. we've had in the 0.2.3.x branch already.
  440. - When running as a client, do not print a misleading (and plain
  441. wrong) log message that we're collecting "directory request"
  442. statistics: clients don't collect statistics. Also don't create a
  443. useless (because empty) stats file in the stats/ directory. Fixes
  444. bug 4353; bugfix on 0.2.2.34.
  445. o Minor bugfixes:
  446. - Detect failure to initialize Libevent. This fix provides better
  447. detection for future instances of bug 4457.
  448. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  449. function. This was eating up hideously large amounts of time on some
  450. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  451. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  452. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  453. Mansour Moufid.
  454. - Don't warn about unused log_mutex in log.c when building with
  455. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  456. 0.1.0.6-rc which introduced --disable-threads.
  457. - When configuring, starting, or stopping an NT service, stop
  458. immediately after the service configuration attempt has succeeded
  459. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  460. - When sending a NETINFO cell, include the original address
  461. received for the other side, not its canonical address. Found
  462. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  463. - Fix a typo in a hibernation-related log message. Fixes bug 4331;
  464. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  465. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  466. occurred when a client tried to fetch a descriptor for a bridge
  467. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  468. - Backport fixes for a pair of compilation warnings on Windows.
  469. Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
  470. - If we had ever tried to call tor_addr_to_str on an address of
  471. unknown type, we would have done a strdup on an uninitialized
  472. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  473. Reported by "troll_un".
  474. - Correctly detect and handle transient lookup failures from
  475. tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  476. Reported by "troll_un".
  477. - Fix null-pointer access that could occur if TLS allocation failed.
  478. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  479. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  480. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  481. o Minor features:
  482. - Add two new config options for directory authorities:
  483. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  484. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  485. that is always sufficient to satisfy the bandwidth requirement for
  486. the Guard flag. Now it will be easier for researchers to simulate
  487. Tor networks with different values. Resolves ticket 4484.
  488. - When Tor ignores a hidden service specified in its configuration,
  489. include the hidden service's directory in the warning message.
  490. Previously, we would only tell the user that some hidden service
  491. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  492. - Update to the December 6 2011 Maxmind GeoLite Country database.
  493. o Packaging changes:
  494. - Make it easier to automate expert package builds on Windows,
  495. by removing an absolute path from makensis.exe command.
  496. Changes in version 0.2.3.9-alpha - 2011-12-08
  497. Tor 0.2.3.9-alpha introduces initial IPv6 support for bridges, adds
  498. a "DisableNetwork" security feature that bundles can use to avoid
  499. touching the network until bridges are configured, moves forward on
  500. the pluggable transport design, fixes a flaw in the hidden service
  501. design that unnecessarily prevented clients with wrong clocks from
  502. reaching hidden services, and fixes a wide variety of other issues.
  503. o Major features:
  504. - Clients can now connect to private bridges over IPv6. Bridges
  505. still need at least one IPv4 address in order to connect to
  506. other relays. Note that we don't yet handle the case where the
  507. user has two bridge lines for the same bridge (one IPv4, one
  508. IPv6). Implements parts of proposal 186.
  509. - New "DisableNetwork" config option to prevent Tor from launching any
  510. connections or accepting any connections except on a control port.
  511. Bundles and controllers can set this option before letting Tor talk
  512. to the rest of the network, for example to prevent any connections
  513. to a non-bridge address. Packages like Orbot can also use this
  514. option to instruct Tor to save power when the network is off.
  515. - Clients and bridges can now be configured to use a separate
  516. "transport" proxy. This approach makes the censorship arms race
  517. easier by allowing bridges to use protocol obfuscation plugins. It
  518. implements the "managed proxy" part of proposal 180 (ticket 3472).
  519. - When using OpenSSL 1.0.0 or later, use OpenSSL's counter mode
  520. implementation. It makes AES_CTR about 7% faster than our old one
  521. (which was about 10% faster than the one OpenSSL used to provide).
  522. Resolves ticket 4526.
  523. - Add a "tor2web mode" for clients that want to connect to hidden
  524. services non-anonymously (and possibly more quickly). As a safety
  525. measure to try to keep users from turning this on without knowing
  526. what they are doing, tor2web mode must be explicitly enabled at
  527. compile time, and a copy of Tor compiled to run in tor2web mode
  528. cannot be used as a normal Tor client. Implements feature 2553.
  529. - Add experimental support for running on Windows with IOCP and no
  530. kernel-space socket buffers. This feature is controlled by a new
  531. "UserspaceIOCPBuffers" config option (off by default), which has
  532. no effect unless Tor has been built with support for bufferevents,
  533. is running on Windows, and has enabled IOCP. This may, in the long
  534. run, help solve or mitigate bug 98.
  535. - Use a more secure consensus parameter voting algorithm. Now at
  536. least three directory authorities or a majority of them must
  537. vote on a given parameter before it will be included in the
  538. consensus. Implements proposal 178.
  539. o Major bugfixes:
  540. - Hidden services now ignore the timestamps on INTRODUCE2 cells.
  541. They used to check that the timestamp was within 30 minutes
  542. of their system clock, so they could cap the size of their
  543. replay-detection cache, but that approach unnecessarily refused
  544. service to clients with wrong clocks. Bugfix on 0.2.1.6-alpha, when
  545. the v3 intro-point protocol (the first one which sent a timestamp
  546. field in the INTRODUCE2 cell) was introduced; fixes bug 3460.
  547. - Only use the EVP interface when AES acceleration is enabled,
  548. to avoid a 5-7% performance regression. Resolves issue 4525;
  549. bugfix on 0.2.3.8-alpha.
  550. o Privacy/anonymity features (bridge detection):
  551. - Make bridge SSL certificates a bit more stealthy by using random
  552. serial numbers, in the same fashion as OpenSSL when generating
  553. self-signed certificates. Implements ticket 4584.
  554. - Introduce a new config option "DynamicDHGroups", enabled by
  555. default, which provides each bridge with a unique prime DH modulus
  556. to be used during SSL handshakes. This option attempts to help
  557. against censors who might use the Apache DH modulus as a static
  558. identifier for bridges. Addresses ticket 4548.
  559. o Minor features (new/different config options):
  560. - New configuration option "DisableDebuggerAttachment" (on by default)
  561. to prevent basic debugging attachment attempts by other processes.
  562. Supports Mac OS X and Gnu/Linux. Resolves ticket 3313.
  563. - Allow MapAddress directives to specify matches against super-domains,
  564. as in "MapAddress *.torproject.org *.torproject.org.torserver.exit".
  565. Implements issue 933.
  566. - Slightly change behavior of "list" options (that is, config
  567. options that can appear more than once) when they appear both in
  568. torrc and on the command line. Previously, the command-line options
  569. would be appended to the ones from torrc. Now, the command-line
  570. options override the torrc options entirely. This new behavior
  571. allows the user to override list options (like exit policies and
  572. ports to listen on) from the command line, rather than simply
  573. appending to the list.
  574. - You can get the old (appending) command-line behavior for "list"
  575. options by prefixing the option name with a "+".
  576. - You can remove all the values for a "list" option from the command
  577. line without adding any new ones by prefixing the option name
  578. with a "/".
  579. - Add experimental support for a "defaults" torrc file to be parsed
  580. before the regular torrc. Torrc options override the defaults file's
  581. options in the same way that the command line overrides the torrc.
  582. The SAVECONF controller command saves only those options which
  583. differ between the current configuration and the defaults file. HUP
  584. reloads both files. (Note: This is an experimental feature; its
  585. behavior will probably be refined in future 0.2.3.x-alpha versions
  586. to better meet packagers' needs.) Implements task 4552.
  587. o Minor features:
  588. - Try to make the introductory warning message that Tor prints on
  589. startup more useful for actually finding help and information.
  590. Resolves ticket 2474.
  591. - Running "make version" now displays the version of Tor that
  592. we're about to build. Idea from katmagic; resolves issue 4400.
  593. - Expire old or over-used hidden service introduction points.
  594. Required by fix for bug 3460.
  595. - Move the replay-detection cache for the RSA-encrypted parts of
  596. INTRODUCE2 cells to the introduction point data structures.
  597. Previously, we would use one replay-detection cache per hidden
  598. service. Required by fix for bug 3460.
  599. - Reduce the lifetime of elements of hidden services' Diffie-Hellman
  600. public key replay-detection cache from 60 minutes to 5 minutes. This
  601. replay-detection cache is now used only to detect multiple
  602. INTRODUCE2 cells specifying the same rendezvous point, so we can
  603. avoid launching multiple simultaneous attempts to connect to it.
  604. o Minor bugfixes (on Tor 0.2.2.x and earlier):
  605. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  606. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  607. Mansour Moufid.
  608. - Fix a minor formatting issue in one of tor-gencert's error messages.
  609. Fixes bug 4574.
  610. - Prevent a false positive from the check-spaces script, by disabling
  611. the "whitespace between function name and (" check for functions
  612. named 'op()'.
  613. - Fix a log message suggesting that people contact a non-existent
  614. email address. Fixes bug 3448.
  615. - Fix null-pointer access that could occur if TLS allocation failed.
  616. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  617. - Report a real bootstrap problem to the controller on router
  618. identity mismatch. Previously we just said "foo", which probably
  619. made a lot of sense at the time. Fixes bug 4169; bugfix on
  620. 0.2.1.1-alpha.
  621. - If we had ever tried to call tor_addr_to_str() on an address of
  622. unknown type, we would have done a strdup() on an uninitialized
  623. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  624. Reported by "troll_un".
  625. - Correctly detect and handle transient lookup failures from
  626. tor_addr_lookup(). Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  627. Reported by "troll_un".
  628. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  629. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  630. - Initialize conn->addr to a valid state in spawn_cpuworker(). Fixes
  631. bug 4532; found by "troll_un".
  632. o Minor bugfixes (on Tor 0.2.3.x):
  633. - Fix a compile warning in tor_inet_pton(). Bugfix on 0.2.3.8-alpha;
  634. fixes bug 4554.
  635. - Don't send two ESTABLISH_RENDEZVOUS cells when opening a new
  636. circuit for use as a hidden service client's rendezvous point.
  637. Fixes bugs 4641 and 4171; bugfix on 0.2.3.3-alpha. Diagnosed
  638. with help from wanoskarnet.
  639. - Restore behavior of overriding SocksPort, ORPort, and similar
  640. options from the command line. Bugfix on 0.2.3.3-alpha.
  641. o Build fixes:
  642. - Properly handle the case where the build-tree is not the same
  643. as the source tree when generating src/common/common_sha1.i,
  644. src/or/micro-revision.i, and src/or/or_sha1.i. Fixes bug 3953;
  645. bugfix on 0.2.0.1-alpha.
  646. o Code simplifications, cleanups, and refactorings:
  647. - Remove the pure attribute from all functions that used it
  648. previously. In many cases we assigned it incorrectly, because the
  649. functions might assert or call impure functions, and we don't have
  650. evidence that keeping the pure attribute is worthwhile. Implements
  651. changes suggested in ticket 4421.
  652. - Remove some dead code spotted by coverity. Fixes cid 432.
  653. Bugfix on 0.2.3.1-alpha, closes bug 4637.
  654. Changes in version 0.2.3.8-alpha - 2011-11-22
  655. Tor 0.2.3.8-alpha fixes some crash and assert bugs, including a
  656. socketpair-related bug that has been bothering Windows users. It adds
  657. support to serve microdescriptors to controllers, so Vidalia's network
  658. map can resume listing relays (once Vidalia implements its side),
  659. and adds better support for hardware AES acceleration. Finally, it
  660. starts the process of adjusting the bandwidth cutoff for getting the
  661. "Fast" flag from 20KB to (currently) 32KB -- preliminary results show
  662. that tiny relays harm performance more than they help network capacity.
  663. o Major bugfixes:
  664. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  665. that it doesn't attempt to allocate a socketpair. This could cause
  666. some problems on Windows systems with overzealous firewalls. Fix for
  667. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  668. 2.0.15-stable.
  669. - Correctly sanity-check that we don't underflow on a memory
  670. allocation (and then assert) for hidden service introduction
  671. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  672. bugfix on 0.2.1.5-alpha.
  673. - Remove the artificially low cutoff of 20KB to guarantee the Fast
  674. flag. In the past few years the average relay speed has picked
  675. up, and while the "top 7/8 of the network get the Fast flag" and
  676. "all relays with 20KB or more of capacity get the Fast flag" rules
  677. used to have the same result, now the top 7/8 of the network has
  678. a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
  679. - Fix a rare assertion failure when checking whether a v0 hidden
  680. service descriptor has any usable introduction points left, and
  681. we don't have enough information to build a circuit to the first
  682. intro point named in the descriptor. The HS client code in
  683. 0.2.3.x no longer uses v0 HS descriptors, but this assertion can
  684. trigger on (and crash) v0 HS authorities. Fixes bug 4411.
  685. Bugfix on 0.2.3.1-alpha; diagnosed by frosty_un.
  686. - Make bridge authorities not crash when they are asked for their own
  687. descriptor. Bugfix on 0.2.3.7-alpha, reported by Lucky Green.
  688. - When running as a client, do not print a misleading (and plain
  689. wrong) log message that we're collecting "directory request"
  690. statistics: clients don't collect statistics. Also don't create a
  691. useless (because empty) stats file in the stats/ directory. Fixes
  692. bug 4353; bugfix on 0.2.2.34 and 0.2.3.7-alpha.
  693. o Major features:
  694. - Allow Tor controllers like Vidalia to obtain the microdescriptor
  695. for a relay by identity digest or nickname. Previously,
  696. microdescriptors were only available by their own digests, so a
  697. controller would have to ask for and parse the whole microdescriptor
  698. consensus in order to look up a single relay's microdesc. Fixes
  699. bug 3832; bugfix on 0.2.3.1-alpha.
  700. - Use OpenSSL's EVP interface for AES encryption, so that all AES
  701. operations can use hardware acceleration (if present). Resolves
  702. ticket 4442.
  703. o Minor bugfixes (on 0.2.2.x and earlier):
  704. - Detect failure to initialize Libevent. This fix provides better
  705. detection for future instances of bug 4457.
  706. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  707. function. This was eating up hideously large amounts of time on some
  708. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  709. - Don't warn about unused log_mutex in log.c when building with
  710. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  711. 0.1.0.6-rc which introduced --disable-threads.
  712. - Allow manual 'authenticate' commands to the controller interface
  713. from netcat (nc) as well as telnet. We were rejecting them because
  714. they didn't come with the expected whitespace at the end of the
  715. command. Bugfix on 0.1.1.1-alpha; fixes bug 2893.
  716. - Fix some (not actually triggerable) buffer size checks in usage of
  717. tor_inet_ntop. Fixes bug 4434; bugfix on Tor 0.2.0.1-alpha. Patch
  718. by Anders Sundman.
  719. - Fix parsing of some corner-cases with tor_inet_pton(). Fixes
  720. bug 4515; bugfix on 0.2.0.1-alpha; fix by Anders Sundman.
  721. - When configuring, starting, or stopping an NT service, stop
  722. immediately after the service configuration attempt has succeeded
  723. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  724. - When sending a NETINFO cell, include the original address
  725. received for the other side, not its canonical address. Found
  726. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  727. - Rename the bench_{aes,dmap} functions to test_*, so that tinytest
  728. can pick them up when the tests aren't disabled. Bugfix on
  729. 0.2.2.4-alpha which introduced tinytest.
  730. - Fix a memory leak when we check whether a hidden service
  731. descriptor has any usable introduction points left. Fixes bug
  732. 4424. Bugfix on 0.2.2.25-alpha.
  733. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  734. occurred when a client tried to fetch a descriptor for a bridge
  735. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  736. o Minor bugfixes (on 0.2.3.x):
  737. - Make util unit tests build correctly with MSVC. Bugfix on
  738. 0.2.3.3-alpha. Patch by Gisle Vanem.
  739. - Successfully detect AUTH_CHALLENGE cells with no recognized
  740. authentication type listed. Fixes bug 4367; bugfix on 0.2.3.6-alpha.
  741. Found by frosty_un.
  742. - If a relay receives an AUTH_CHALLENGE cell it can't answer,
  743. it should still send a NETINFO cell to allow the connection to
  744. become open. Fixes bug 4368; fix on 0.2.3.6-alpha; bug found by
  745. "frosty".
  746. - Log less loudly when we get an invalid authentication certificate
  747. from a source other than a directory authority: it's not unusual
  748. to see invalid certs because of clock skew. Fixes bug 4370; bugfix
  749. on 0.2.3.6-alpha.
  750. - Tolerate servers with more clock skew in their authentication
  751. certificates than previously. Fixes bug 4371; bugfix on
  752. 0.2.3.6-alpha.
  753. - Fix a couple of compile warnings on Windows. Fixes bug 4469; bugfix
  754. on 0.2.3.4-alpha and 0.2.3.6-alpha.
  755. o Minor features:
  756. - Add two new config options for directory authorities:
  757. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  758. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  759. that is always sufficient to satisfy the bandwidth requirement for
  760. the Guard flag. Now it will be easier for researchers to simulate
  761. Tor networks with different values. Resolves ticket 4484.
  762. - When Tor ignores a hidden service specified in its configuration,
  763. include the hidden service's directory in the warning message.
  764. Previously, we would only tell the user that some hidden service
  765. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  766. - When we fail to initialize Libevent, retry with IOCP disabled so we
  767. don't need to turn on multi-threading support in Libevent, which in
  768. turn requires a working socketpair(). This is a workaround for bug
  769. 4457, which affects Libevent versions from 2.0.1-alpha through
  770. 2.0.15-stable.
  771. - Detect when we try to build on a platform that doesn't define
  772. AF_UNSPEC to 0. We don't work there, so refuse to compile.
  773. - Update to the November 1 2011 Maxmind GeoLite Country database.
  774. o Packaging changes:
  775. - Make it easier to automate expert package builds on Windows,
  776. by removing an absolute path from makensis.exe command.
  777. o Code simplifications and refactoring:
  778. - Remove some redundant #include directives throughout the code.
  779. Patch from Andrea Gelmini.
  780. - Unconditionally use OpenSSL's AES implementation instead of our
  781. old built-in one. OpenSSL's AES has been better for a while, and
  782. relatively few servers should still be on any version of OpenSSL
  783. that doesn't have good optimized assembly AES.
  784. - Use the name "CERTS" consistently to refer to the new cell type;
  785. we were calling it CERT in some places and CERTS in others.
  786. o Testing:
  787. - Numerous new unit tests for functions in util.c and address.c by
  788. Anders Sundman.
  789. - The long-disabled benchmark tests are now split into their own
  790. ./src/test/bench binary.
  791. - The benchmark tests can now use more accurate timers than
  792. gettimeofday() when such timers are available.
  793. Changes in version 0.2.3.7-alpha - 2011-10-30
  794. Tor 0.2.3.7-alpha fixes a crash bug in 0.2.3.6-alpha introduced by
  795. the new v3 handshake. It also resolves yet another bridge address
  796. enumeration issue.
  797. o Major bugfixes:
  798. - If we mark an OR connection for close based on a cell we process,
  799. don't process any further cells on it. We already avoid further
  800. reads on marked-for-close connections, but now we also discard the
  801. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  802. which was the first version where we might mark a connection for
  803. close based on processing a cell on it.
  804. - Fix a double-free bug that would occur when we received an invalid
  805. certificate in a CERT cell in the new v3 handshake. Fixes bug 4343;
  806. bugfix on 0.2.3.6-alpha.
  807. - Bridges no longer include their address in NETINFO cells on outgoing
  808. OR connections, to allow them to blend in better with clients.
  809. Removes another avenue for enumerating bridges. Reported by
  810. "troll_un". Fixes bug 4348; bugfix on 0.2.0.10-alpha, when NETINFO
  811. cells were introduced.
  812. o Trivial fixes:
  813. - Fixed a typo in a hibernation-related log message. Fixes bug 4331;
  814. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  815. Changes in version 0.2.3.6-alpha - 2011-10-26
  816. Tor 0.2.3.6-alpha includes the fix from 0.2.2.34 for a critical
  817. anonymity vulnerability where an attacker can deanonymize Tor
  818. users. Everybody should upgrade.
  819. This release also features support for a new v3 connection handshake
  820. protocol, and fixes to make hidden service connections more robust.
  821. o Major features:
  822. - Implement a new handshake protocol (v3) for authenticating Tors to
  823. each other over TLS. It should be more resistant to fingerprinting
  824. than previous protocols, and should require less TLS hacking for
  825. future Tor implementations. Implements proposal 176.
  826. - Allow variable-length padding cells to disguise the length of
  827. Tor's TLS records. Implements part of proposal 184.
  828. o Privacy/anonymity fixes (clients):
  829. - Clients and bridges no longer send TLS certificate chains on
  830. outgoing OR connections. Previously, each client or bridge would
  831. use the same cert chain for all outgoing OR connections until
  832. its IP address changes, which allowed any relay that the client
  833. or bridge contacted to determine which entry guards it is using.
  834. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  835. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  836. no longer considers that connection as suitable for satisfying a
  837. circuit EXTEND request. Now relays can protect clients from the
  838. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  839. - Directory authorities no longer assign the Guard flag to relays
  840. that haven't upgraded to the above "refuse EXTEND requests
  841. to client connections" fix. Now directory authorities can
  842. protect clients from the CVE-2011-2768 issue even if neither
  843. the clients nor the relays have upgraded yet. There's a new
  844. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  845. to let us transition smoothly, else tomorrow there would be no
  846. guard relays.
  847. o Major bugfixes (hidden services):
  848. - Improve hidden service robustness: when an attempt to connect to
  849. a hidden service ends, be willing to refetch its hidden service
  850. descriptors from each of the HSDir relays responsible for them
  851. immediately. Previously, we would not consider refetching the
  852. service's descriptors from each HSDir for 15 minutes after the last
  853. fetch, which was inconvenient if the hidden service was not running
  854. during the first attempt. Bugfix on 0.2.0.18-alpha; fixes bug 3335.
  855. - When one of a hidden service's introduction points appears to be
  856. unreachable, stop trying it. Previously, we would keep trying
  857. to build circuits to the introduction point until we lost the
  858. descriptor, usually because the user gave up and restarted Tor.
  859. Partly fixes bug 3825.
  860. - Don't launch a useless circuit after failing to use one of a
  861. hidden service's introduction points. Previously, we would
  862. launch a new introduction circuit, but not set the hidden service
  863. which that circuit was intended to connect to, so it would never
  864. actually be used. A different piece of code would then create a
  865. new introduction circuit correctly. Bug reported by katmagic and
  866. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  867. o Major bugfixes (other):
  868. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  869. that they initiated. Relays could distinguish incoming bridge
  870. connections from client connections, creating another avenue for
  871. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  872. Found by "frosty_un".
  873. - Don't update the AccountingSoftLimitHitAt state file entry whenever
  874. tor gets started. This prevents a wrong average bandwidth
  875. estimate, which would cause relays to always start a new accounting
  876. interval at the earliest possible moment. Fixes bug 2003; bugfix
  877. on 0.2.2.7-alpha. Reported by BryonEldridge, who also helped
  878. immensely in tracking this bug down.
  879. - Fix a crash bug when changing node restrictions while a DNS lookup
  880. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  881. by "Tey'".
  882. o Minor bugfixes (on 0.2.2.x and earlier):
  883. - When a hidden service turns an extra service-side introduction
  884. circuit into a general-purpose circuit, free the rend_data and
  885. intro_key fields first, so we won't leak memory if the circuit
  886. is cannibalized for use as another service-side introduction
  887. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  888. - Rephrase the log message emitted if the TestSocks check is
  889. successful. Patch from Fabian Keil; fixes bug 4094.
  890. - Bridges now skip DNS self-tests, to act a little more stealthily.
  891. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  892. bridges. Patch by "warms0x".
  893. - Remove a confusing dollar sign from the example fingerprint in the
  894. man page, and also make the example fingerprint a valid one. Fixes
  895. bug 4309; bugfix on 0.2.1.3-alpha.
  896. - Fix internal bug-checking logic that was supposed to catch
  897. failures in digest generation so that it will fail more robustly
  898. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  899. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  900. - Report any failure in init_keys() calls launched because our
  901. IP address has changed. Spotted by Coverity Scan. Bugfix on
  902. 0.1.1.4-alpha; fixes CID 484.
  903. o Minor bugfixes (on 0.2.3.x):
  904. - Fix a bug in configure.in that kept it from building a configure
  905. script with autoconf versions earlier than 2.61. Fixes bug 2430;
  906. bugfix on 0.2.3.1-alpha.
  907. - Don't warn users that they are exposing a client port to the
  908. Internet if they have specified an RFC1918 address. Previously,
  909. we would warn if the user had specified any non-loopback
  910. address. Bugfix on 0.2.3.3-alpha. Fixes bug 4018; reported by Tas.
  911. - Fix memory leaks in the failing cases of the new SocksPort and
  912. ControlPort code. Found by Coverity Scan. Bugfix on 0.2.3.3-alpha;
  913. fixes coverity CIDs 485, 486, and 487.
  914. o Minor features:
  915. - When a hidden service's introduction point times out, consider
  916. trying it again during the next attempt to connect to the
  917. HS. Previously, we would not try it again unless a newly fetched
  918. descriptor contained it. Required by fixes for bugs 1297 and 3825.
  919. - The next version of Windows will be called Windows 8, and it has
  920. a major version of 6, minor version of 2. Correctly identify that
  921. version instead of calling it "Very recent version". Resolves
  922. ticket 4153; reported by funkstar.
  923. - The Bridge Authority now writes statistics on how many bridge
  924. descriptors it gave out in total, and how many unique descriptors
  925. it gave out. It also lists how often the most and least commonly
  926. fetched descriptors were given out, as well as the median and
  927. 25th/75th percentile. Implements tickets 4200 and 4294.
  928. - Update to the October 4 2011 Maxmind GeoLite Country database.
  929. o Code simplifications and refactoring:
  930. - Remove some old code to remember statistics about which descriptors
  931. we've served as a directory mirror. The feature wasn't used and
  932. is outdated now that microdescriptors are around.
  933. - Rename Tor functions that turn strings into addresses, so that
  934. "parse" indicates that no hostname resolution occurs, and
  935. "lookup" indicates that hostname resolution may occur. This
  936. should help prevent mistakes in the future. Fixes bug 3512.
  937. Changes in version 0.2.2.34 - 2011-10-26
  938. Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
  939. can deanonymize Tor users. Everybody should upgrade.
  940. The attack relies on four components: 1) Clients reuse their TLS cert
  941. when talking to different relays, so relays can recognize a user by
  942. the identity key in her cert. 2) An attacker who knows the client's
  943. identity key can probe each guard relay to see if that identity key
  944. is connected to that guard relay right now. 3) A variety of active
  945. attacks in the literature (starting from "Low-Cost Traffic Analysis
  946. of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
  947. discover the guard relays that a Tor user visiting the website is using.
  948. 4) Clients typically pick three guards at random, so the set of guards
  949. for a given user could well be a unique fingerprint for her. This
  950. release fixes components #1 and #2, which is enough to block the attack;
  951. the other two remain as open research problems. Special thanks to
  952. "frosty_un" for reporting the issue to us!
  953. Clients should upgrade so they are no longer recognizable by the TLS
  954. certs they present. Relays should upgrade so they no longer allow a
  955. remote attacker to probe them to test whether unpatched clients are
  956. currently connected to them.
  957. This release also fixes several vulnerabilities that allow an attacker
  958. to enumerate bridge relays. Some bridge enumeration attacks still
  959. remain; see for example proposal 188.
  960. o Privacy/anonymity fixes (clients):
  961. - Clients and bridges no longer send TLS certificate chains on
  962. outgoing OR connections. Previously, each client or bridge would
  963. use the same cert chain for all outgoing OR connections until
  964. its IP address changes, which allowed any relay that the client
  965. or bridge contacted to determine which entry guards it is using.
  966. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  967. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  968. no longer considers that connection as suitable for satisfying a
  969. circuit EXTEND request. Now relays can protect clients from the
  970. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  971. - Directory authorities no longer assign the Guard flag to relays
  972. that haven't upgraded to the above "refuse EXTEND requests
  973. to client connections" fix. Now directory authorities can
  974. protect clients from the CVE-2011-2768 issue even if neither
  975. the clients nor the relays have upgraded yet. There's a new
  976. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  977. to let us transition smoothly, else tomorrow there would be no
  978. guard relays.
  979. o Privacy/anonymity fixes (bridge enumeration):
  980. - Bridge relays now do their directory fetches inside Tor TLS
  981. connections, like all the other clients do, rather than connecting
  982. directly to the DirPort like public relays do. Removes another
  983. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  984. - Bridges relays now build circuits for themselves in a more similar
  985. way to how clients build them. Removes another avenue for
  986. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  987. when bridges were introduced.
  988. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  989. that they initiated. Relays could distinguish incoming bridge
  990. connections from client connections, creating another avenue for
  991. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  992. Found by "frosty_un".
  993. o Major bugfixes:
  994. - Fix a crash bug when changing node restrictions while a DNS lookup
  995. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  996. by "Tey'".
  997. - Don't launch a useless circuit after failing to use one of a
  998. hidden service's introduction points. Previously, we would
  999. launch a new introduction circuit, but not set the hidden service
  1000. which that circuit was intended to connect to, so it would never
  1001. actually be used. A different piece of code would then create a
  1002. new introduction circuit correctly. Bug reported by katmagic and
  1003. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  1004. o Minor bugfixes:
  1005. - Change an integer overflow check in the OpenBSD_Malloc code so
  1006. that GCC is less likely to eliminate it as impossible. Patch
  1007. from Mansour Moufid. Fixes bug 4059.
  1008. - When a hidden service turns an extra service-side introduction
  1009. circuit into a general-purpose circuit, free the rend_data and
  1010. intro_key fields first, so we won't leak memory if the circuit
  1011. is cannibalized for use as another service-side introduction
  1012. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  1013. - Bridges now skip DNS self-tests, to act a little more stealthily.
  1014. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  1015. bridges. Patch by "warms0x".
  1016. - Fix internal bug-checking logic that was supposed to catch
  1017. failures in digest generation so that it will fail more robustly
  1018. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  1019. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  1020. - Report any failure in init_keys() calls launched because our
  1021. IP address has changed. Spotted by Coverity Scan. Bugfix on
  1022. 0.1.1.4-alpha; fixes CID 484.
  1023. o Minor bugfixes (log messages and documentation):
  1024. - Remove a confusing dollar sign from the example fingerprint in the
  1025. man page, and also make the example fingerprint a valid one. Fixes
  1026. bug 4309; bugfix on 0.2.1.3-alpha.
  1027. - The next version of Windows will be called Windows 8, and it has
  1028. a major version of 6, minor version of 2. Correctly identify that
  1029. version instead of calling it "Very recent version". Resolves
  1030. ticket 4153; reported by funkstar.
  1031. - Downgrade log messages about circuit timeout calibration from
  1032. "notice" to "info": they don't require or suggest any human
  1033. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  1034. bugfix on 0.2.2.14-alpha.
  1035. o Minor features:
  1036. - Turn on directory request statistics by default and include them in
  1037. extra-info descriptors. Don't break if we have no GeoIP database.
  1038. Backported from 0.2.3.1-alpha; implements ticket 3951.
  1039. - Update to the October 4 2011 Maxmind GeoLite Country database.
  1040. Changes in version 0.2.1.31 - 2011-10-26
  1041. Tor 0.2.1.31 backports important security and privacy fixes for
  1042. oldstable. This release is intended only for package maintainers and
  1043. others who cannot use the 0.2.2 stable series. All others should be
  1044. using Tor 0.2.2.x or newer.
  1045. o Security fixes (also included in 0.2.2.x):
  1046. - Replace all potentially sensitive memory comparison operations
  1047. with versions whose runtime does not depend on the data being
  1048. compared. This will help resist a class of attacks where an
  1049. adversary can use variations in timing information to learn
  1050. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  1051. implementation by Robert Ransom based partially on code by DJB.)
  1052. - Fix an assert in parsing router descriptors containing IPv6
  1053. addresses. This one took down the directory authorities when
  1054. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  1055. o Privacy/anonymity fixes (also included in 0.2.2.x):
  1056. - Clients and bridges no longer send TLS certificate chains on
  1057. outgoing OR connections. Previously, each client or bridge would
  1058. use the same cert chain for all outgoing OR connections until
  1059. its IP address changes, which allowed any relay that the client
  1060. or bridge contacted to determine which entry guards it is using.
  1061. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  1062. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  1063. no longer considers that connection as suitable for satisfying a
  1064. circuit EXTEND request. Now relays can protect clients from the
  1065. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  1066. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  1067. that they initiated. Relays could distinguish incoming bridge
  1068. connections from client connections, creating another avenue for
  1069. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  1070. Found by "frosty_un".
  1071. - When receiving a hidden service descriptor, check that it is for
  1072. the hidden service we wanted. Previously, Tor would store any
  1073. hidden service descriptors that a directory gave it, whether it
  1074. wanted them or not. This wouldn't have let an attacker impersonate
  1075. a hidden service, but it did let directories pre-seed a client
  1076. with descriptors that it didn't want. Bugfix on 0.0.6.
  1077. - Avoid linkability based on cached hidden service descriptors: forget
  1078. all hidden service descriptors cached as a client when processing a
  1079. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  1080. - Make the bridge directory authority refuse to answer directory
  1081. requests for "all" descriptors. It used to include bridge
  1082. descriptors in its answer, which was a major information leak.
  1083. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  1084. - Don't attach new streams to old rendezvous circuits after SIGNAL
  1085. NEWNYM. Previously, we would keep using an existing rendezvous
  1086. circuit if it remained open (i.e. if it were kept open by a
  1087. long-lived stream, or if a new stream were attached to it before
  1088. Tor could notice that it was old and no longer in use). Bugfix on
  1089. 0.1.1.15-rc; fixes bug 3375.
  1090. o Minor bugfixes (also included in 0.2.2.x):
  1091. - When we restart our relay, we might get a successful connection
  1092. from the outside before we've started our reachability tests,
  1093. triggering a warning: "ORPort found reachable, but I have no
  1094. routerinfo yet. Failing to inform controller of success." This
  1095. bug was harmless unless Tor is running under a controller
  1096. like Vidalia, in which case the controller would never get a
  1097. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  1098. fixes bug 1172.
  1099. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  1100. enabled. Fixes bug 1526.
  1101. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  1102. anything since 0.2.1.16-rc.
  1103. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  1104. None of the cases where we did this before were wrong, but by making
  1105. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  1106. - Fix a rare crash bug that could occur when a client was configured
  1107. with a large number of bridges. Fixes bug 2629; bugfix on
  1108. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  1109. - Correct the warning displayed when a rendezvous descriptor exceeds
  1110. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  1111. John Brooks.
  1112. - Fix an uncommon assertion failure when running with DNSPort under
  1113. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  1114. - When warning about missing zlib development packages during compile,
  1115. give the correct package names. Bugfix on 0.2.0.1-alpha.
  1116. - Require that introduction point keys and onion keys have public
  1117. exponent 65537. Bugfix on 0.2.0.10-alpha.
  1118. - Do not crash when our configuration file becomes unreadable, for
  1119. example due to a permissions change, between when we start up
  1120. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  1121. on 0.0.9pre6.
  1122. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  1123. Fixes bug 3208.
  1124. - Always NUL-terminate the sun_path field of a sockaddr_un before
  1125. passing it to the kernel. (Not a security issue: kernels are
  1126. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  1127. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  1128. - Don't stack-allocate the list of supplementary GIDs when we're
  1129. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  1130. could take up to 256K, which is way too much stack. Found by
  1131. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  1132. o Minor bugfixes (only in 0.2.1.x):
  1133. - Resume using micro-version numbers in 0.2.1.x: our Debian packages
  1134. rely on them. Bugfix on 0.2.1.30.
  1135. - Use git revisions instead of svn revisions when generating our
  1136. micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  1137. o Minor features (also included in 0.2.2.x):
  1138. - Adjust the expiration time on our SSL session certificates to
  1139. better match SSL certs seen in the wild. Resolves ticket 4014.
  1140. - Allow nameservers with IPv6 address. Resolves bug 2574.
  1141. - Update to the October 4 2011 Maxmind GeoLite Country database.
  1142. Changes in version 0.2.3.5-alpha - 2011-09-28
  1143. Tor 0.2.3.5-alpha fixes two bugs that make it possible to enumerate
  1144. bridge relays; fixes an assertion error that many users started hitting
  1145. today; and adds the ability to refill token buckets more often than
  1146. once per second, allowing significant performance improvements.
  1147. o Security fixes:
  1148. - Bridge relays now do their directory fetches inside Tor TLS
  1149. connections, like all the other clients do, rather than connecting
  1150. directly to the DirPort like public relays do. Removes another
  1151. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  1152. - Bridges relays now build circuits for themselves in a more similar
  1153. way to how clients build them. Removes another avenue for
  1154. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  1155. when bridges were introduced.
  1156. o Major bugfixes:
  1157. - Fix an "Assertion md->held_by_node == 1 failed" error that could
  1158. occur when the same microdescriptor was referenced by two node_t
  1159. objects at once. Fix for bug 4118; bugfix on Tor 0.2.3.1-alpha.
  1160. o Major features (networking):
  1161. - Add a new TokenBucketRefillInterval option to refill token buckets
  1162. more frequently than once per second. This should improve network
  1163. performance, alleviate queueing problems, and make traffic less
  1164. bursty. Implements proposal 183; closes ticket 3630. Design by
  1165. Florian Tschorsch and Björn Scheuermann; implementation by
  1166. Florian Tschorsch.
  1167. o Minor bugfixes:
  1168. - Change an integer overflow check in the OpenBSD_Malloc code so
  1169. that GCC is less likely to eliminate it as impossible. Patch
  1170. from Mansour Moufid. Fixes bug 4059.
  1171. o Minor bugfixes (usability):
  1172. - Downgrade log messages about circuit timeout calibration from
  1173. "notice" to "info": they don't require or suggest any human
  1174. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  1175. bugfix on 0.2.2.14-alpha.
  1176. o Minor features (diagnostics):
  1177. - When the system call to create a listener socket fails, log the
  1178. error message explaining why. This may help diagnose bug 4027.
  1179. Changes in version 0.2.3.4-alpha - 2011-09-13
  1180. Tor 0.2.3.4-alpha includes the fixes from 0.2.2.33, including a slight
  1181. tweak to Tor's TLS handshake that makes relays and bridges that run
  1182. this new version reachable from Iran again. It also fixes a few new
  1183. bugs in 0.2.3.x, and teaches relays to recognize when they're not
  1184. listed in the network consensus and republish.
  1185. o Major bugfixes (also part of 0.2.2.33):
  1186. - Avoid an assertion failure when reloading a configuration with
  1187. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  1188. 3923; bugfix on 0.2.2.25-alpha.
  1189. o Minor features (security, also part of 0.2.2.33):
  1190. - Check for replays of the public-key encrypted portion of an
  1191. INTRODUCE1 cell, in addition to the current check for replays of
  1192. the g^x value. This prevents a possible class of active attacks
  1193. by an attacker who controls both an introduction point and a
  1194. rendezvous point, and who uses the malleability of AES-CTR to
  1195. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  1196. that these attacks is infeasible (requiring the attacker to send
  1197. on the order of zettabytes of altered cells in a short interval),
  1198. but we'd rather block them off in case there are any classes of
  1199. this attack that we missed. Reported by Willem Pinckaers.
  1200. o Minor features (also part of 0.2.2.33):
  1201. - Adjust the expiration time on our SSL session certificates to
  1202. better match SSL certs seen in the wild. Resolves ticket 4014.
  1203. - Change the default required uptime for a relay to be accepted as
  1204. a HSDir (hidden service directory) from 24 hours to 25 hours.
  1205. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  1206. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  1207. authorities to abstain from voting on assignment of the HSDir
  1208. consensus flag. Related to bug 2649.
  1209. - Update to the September 6 2011 Maxmind GeoLite Country database.
  1210. o Minor bugfixes (also part of 0.2.2.33):
  1211. - Demote the 'replay detected' log message emitted when a hidden
  1212. service receives the same Diffie-Hellman public key in two different
  1213. INTRODUCE2 cells to info level. A normal Tor client can cause that
  1214. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  1215. fixes part of bug 2442.
  1216. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  1217. level. There is nothing that a hidden service's operator can do
  1218. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  1219. of bug 2442.
  1220. - Clarify a log message specifying the characters permitted in
  1221. HiddenServiceAuthorizeClient client names. Previously, the log
  1222. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  1223. given the impression that every ASCII character between "+" and "_"
  1224. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  1225. o Build fixes (also part of 0.2.2.33):
  1226. - Clean up some code issues that prevented Tor from building on older
  1227. BSDs. Fixes bug 3894; reported by "grarpamp".
  1228. - Search for a platform-specific version of "ar" when cross-compiling.
  1229. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  1230. o Major bugfixes:
  1231. - Fix a bug where the SocksPort option (for example) would get
  1232. ignored and replaced by the default if a SocksListenAddress
  1233. option was set. Bugfix on 0.2.3.3-alpha; fixes bug 3936. Fix by
  1234. Fabian Keil.
  1235. o Major features:
  1236. - Relays now try regenerating and uploading their descriptor more
  1237. frequently if they are not listed in the consensus, or if the
  1238. version of their descriptor listed in the consensus is too
  1239. old. This fix should prevent situations where a server declines
  1240. to re-publish itself because it has done so too recently, even
  1241. though the authorities decided not to list its recent-enough
  1242. descriptor. Fix for bug 3327.
  1243. o Minor features:
  1244. - Relays now include a reason for regenerating their descriptors
  1245. in an HTTP header when uploading to the authorities. This will
  1246. make it easier to debug descriptor-upload issues in the future.
  1247. - When starting as root and then changing our UID via the User
  1248. control option, and we have a ControlSocket configured, make sure
  1249. that the ControlSocket is owned by the same account that Tor will
  1250. run under. Implements ticket 3421; fix by Jérémy Bobbio.
  1251. o Minor bugfixes:
  1252. - Abort if tor_vasprintf fails in connection_printf_to_buf (a
  1253. utility function used in the control-port code). This shouldn't
  1254. ever happen unless Tor is completely out of memory, but if it did
  1255. happen and Tor somehow recovered from it, Tor could have sent a log
  1256. message to a control port in the middle of a reply to a controller
  1257. command. Fixes part of bug 3428; bugfix on 0.1.2.3-alpha.
  1258. - Make 'FetchUselessDescriptors' cause all descriptor types and
  1259. all consensus types (including microdescriptors) to get fetched.
  1260. Fixes bug 3851; bugfix on 0.2.3.1-alpha.
  1261. o Code refactoring:
  1262. - Make a new "entry connection" struct as an internal subtype of "edge
  1263. connection", to simplify the code and make exit connections smaller.
  1264. Changes in version 0.2.2.33 - 2011-09-13
  1265. Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
  1266. TLS handshake that makes relays and bridges that run this new version
  1267. reachable from Iran again.
  1268. o Major bugfixes:
  1269. - Avoid an assertion failure when reloading a configuration with
  1270. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  1271. 3923; bugfix on 0.2.2.25-alpha.
  1272. o Minor features (security):
  1273. - Check for replays of the public-key encrypted portion of an
  1274. INTRODUCE1 cell, in addition to the current check for replays of
  1275. the g^x value. This prevents a possible class of active attacks
  1276. by an attacker who controls both an introduction point and a
  1277. rendezvous point, and who uses the malleability of AES-CTR to
  1278. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  1279. that these attacks are infeasible (requiring the attacker to send
  1280. on the order of zettabytes of altered cells in a short interval),
  1281. but we'd rather block them off in case there are any classes of
  1282. this attack that we missed. Reported by Willem Pinckaers.
  1283. o Minor features:
  1284. - Adjust the expiration time on our SSL session certificates to
  1285. better match SSL certs seen in the wild. Resolves ticket 4014.
  1286. - Change the default required uptime for a relay to be accepted as
  1287. a HSDir (hidden service directory) from 24 hours to 25 hours.
  1288. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  1289. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  1290. authorities to abstain from voting on assignment of the HSDir
  1291. consensus flag. Related to bug 2649.
  1292. - Update to the September 6 2011 Maxmind GeoLite Country database.
  1293. o Minor bugfixes (documentation and log messages):
  1294. - Correct the man page to explain that HashedControlPassword and
  1295. CookieAuthentication can both be set, in which case either method
  1296. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  1297. when we decided to allow these config options to both be set. Issue
  1298. raised by bug 3898.
  1299. - Demote the 'replay detected' log message emitted when a hidden
  1300. service receives the same Diffie-Hellman public key in two different
  1301. INTRODUCE2 cells to info level. A normal Tor client can cause that
  1302. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  1303. fixes part of bug 2442.
  1304. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  1305. level. There is nothing that a hidden service's operator can do
  1306. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  1307. of bug 2442.
  1308. - Clarify a log message specifying the characters permitted in
  1309. HiddenServiceAuthorizeClient client names. Previously, the log
  1310. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  1311. given the impression that every ASCII character between "+" and "_"
  1312. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  1313. o Build fixes:
  1314. - Provide a substitute implementation of lround() for MSVC, which
  1315. apparently lacks it. Patch from Gisle Vanem.
  1316. - Clean up some code issues that prevented Tor from building on older
  1317. BSDs. Fixes bug 3894; reported by "grarpamp".
  1318. - Search for a platform-specific version of "ar" when cross-compiling.
  1319. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  1320. Changes in version 0.2.3.3-alpha - 2011-09-01
  1321. Tor 0.2.3.3-alpha adds a new "stream isolation" feature to improve Tor's
  1322. security, and provides client-side support for the microdescriptor
  1323. and optimistic data features introduced earlier in the 0.2.3.x
  1324. series. It also includes numerous critical bugfixes in the (optional)
  1325. bufferevent-based networking backend.
  1326. o Major features (stream isolation):
  1327. - You can now configure Tor so that streams from different
  1328. applications are isolated on different circuits, to prevent an
  1329. attacker who sees your streams as they leave an exit node from
  1330. linking your sessions to one another. To do this, choose some way
  1331. to distinguish the applications: have them connect to different
  1332. SocksPorts, or have one of them use SOCKS4 while the other uses
  1333. SOCKS5, or have them pass different authentication strings to the
  1334. SOCKS proxy. Then, use the new SocksPort syntax to configure the
  1335. degree of isolation you need. This implements Proposal 171.
  1336. - There's a new syntax for specifying multiple client ports (such as
  1337. SOCKSPort, TransPort, DNSPort, NATDPort): you can now just declare
  1338. multiple *Port entries with full addr:port syntax on each.
  1339. The old *ListenAddress format is still supported, but you can't
  1340. mix it with the new *Port syntax.
  1341. o Major features (other):
  1342. - Enable microdescriptor fetching by default for clients. This allows
  1343. clients to download a much smaller amount of directory information.
  1344. To disable it (and go back to the old-style consensus and
  1345. descriptors), set "UseMicrodescriptors 0" in your torrc file.
  1346. - Tor's firewall-helper feature, introduced in 0.2.3.1-alpha (see the
  1347. "PortForwarding" config option), now supports Windows.
  1348. - When using an exit relay running 0.2.3.x, clients can now
  1349. "optimistically" send data before the exit relay reports that
  1350. the stream has opened. This saves a round trip when starting
  1351. connections where the client speaks first (such as web browsing).
  1352. This behavior is controlled by a consensus parameter (currently
  1353. disabled). To turn it on or off manually, use the "OptimisticData"
  1354. torrc option. Implements proposal 181; code by Ian Goldberg.
  1355. o Major bugfixes (bufferevents, fixes on 0.2.3.1-alpha):
  1356. - When using IOCP on Windows, we need to enable Libevent windows
  1357. threading support.
  1358. - The IOCP backend now works even when the user has not specified
  1359. the (internal, debugging-only) _UseFilteringSSLBufferevents option.
  1360. Fixes part of bug 3752.
  1361. - Correctly record the bytes we've read and written when using
  1362. bufferevents, so that we can include them in our bandwidth history
  1363. and advertised bandwidth. Fixes bug 3803.
  1364. - Apply rate-limiting only at the bottom of a chain of filtering
  1365. bufferevents. This prevents us from filling up internal read
  1366. buffers and violating rate-limits when filtering bufferevents
  1367. are enabled. Fixes part of bug 3804.
  1368. - Add high-watermarks to the output buffers for filtered
  1369. bufferevents. This prevents us from filling up internal write
  1370. buffers and wasting CPU cycles when filtering bufferevents are
  1371. enabled. Fixes part of bug 3804.
  1372. - Correctly notice when data has been written from a bufferevent
  1373. without flushing it completely. Fixes bug 3805.
  1374. - Fix a bug where server-side tunneled bufferevent-based directory
  1375. streams would get closed prematurely. Fixes bug 3814.
  1376. - Fix a use-after-free error with per-connection rate-limiting
  1377. buckets. Fixes bug 3888.
  1378. o Major bugfixes (also part of 0.2.2.31-rc):
  1379. - If we're configured to write our ControlPorts to disk, only write
  1380. them after switching UID and creating the data directory. This way,
  1381. we don't fail when starting up with a nonexistent DataDirectory
  1382. and a ControlPortWriteToFile setting based on that directory. Fixes
  1383. bug 3747; bugfix on Tor 0.2.2.26-beta.
  1384. o Minor features:
  1385. - Added a new CONF_CHANGED event so that controllers can be notified
  1386. of any configuration changes made by other controllers, or by the
  1387. user. Implements ticket 1692.
  1388. - Use evbuffer_copyout() in inspect_evbuffer(). This fixes a memory
  1389. leak when using bufferevents, and lets Libevent worry about how to
  1390. best copy data out of a buffer.
  1391. - Replace files in stats/ rather than appending to them. Now that we
  1392. include statistics in extra-info descriptors, it makes no sense to
  1393. keep old statistics forever. Implements ticket 2930.
  1394. o Minor features (build compatibility):
  1395. - Limited, experimental support for building with nmake and MSVC.
  1396. - Provide a substitute implementation of lround() for MSVC, which
  1397. apparently lacks it. Patch from Gisle Vanem.
  1398. o Minor features (also part of 0.2.2.31-rc):
  1399. - Update to the August 2 2011 Maxmind GeoLite Country database.
  1400. o Minor bugfixes (on 0.2.3.x-alpha):
  1401. - Fix a spurious warning when parsing SOCKS requests with
  1402. bufferevents enabled. Fixes bug 3615; bugfix on 0.2.3.2-alpha.
  1403. - Get rid of a harmless warning that could happen on relays running
  1404. with bufferevents. The warning was caused by someone doing an http
  1405. request to a relay's orport. Also don't warn for a few related
  1406. non-errors. Fixes bug 3700; bugfix on 0.2.3.1-alpha.
  1407. o Minor bugfixes (on 2.2.x and earlier):
  1408. - Correct the man page to explain that HashedControlPassword and
  1409. CookieAuthentication can both be set, in which case either method
  1410. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  1411. when we decided to allow these config options to both be set. Issue
  1412. raised by bug 3898.
  1413. - The "--quiet" and "--hush" options now apply not only to Tor's
  1414. behavior before logs are configured, but also to Tor's behavior in
  1415. the absense of configured logs. Fixes bug 3550; bugfix on
  1416. 0.2.0.10-alpha.
  1417. o Minor bugfixes (also part of 0.2.2.31-rc):
  1418. - Write several files in text mode, on OSes that distinguish text
  1419. mode from binary mode (namely, Windows). These files are:
  1420. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  1421. that collect those statistics; 'client_keys' and 'hostname' for
  1422. hidden services that use authentication; and (in the tor-gencert
  1423. utility) newly generated identity and signing keys. Previously,
  1424. we wouldn't specify text mode or binary mode, leading to an
  1425. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  1426. the DirRecordUsageByCountry option which would have triggered
  1427. the assertion failure was added), although this assertion failure
  1428. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  1429. - Selectively disable deprecation warnings on OS X because Lion
  1430. started deprecating the shipped copy of openssl. Fixes bug 3643.
  1431. - Remove an extra pair of quotation marks around the error
  1432. message in control-port STATUS_GENERAL BUG events. Bugfix on
  1433. 0.1.2.6-alpha; fixes bug 3732.
  1434. - When unable to format an address as a string, report its value
  1435. as "???" rather than reusing the last formatted address. Bugfix
  1436. on 0.2.1.5-alpha.
  1437. o Code simplifications and refactoring:
  1438. - Rewrite the listener-selection logic so that parsing which ports
  1439. we want to listen on is now separate from binding to the ports
  1440. we want.
  1441. o Build changes:
  1442. - Building Tor with bufferevent support now requires Libevent
  1443. 2.0.13-stable or later. Previous versions of Libevent had bugs in
  1444. SSL-related bufferevents and related issues that would make Tor
  1445. work badly with bufferevents. Requiring 2.0.13-stable also allows
  1446. Tor with bufferevents to take advantage of Libevent APIs
  1447. introduced after 2.0.8-rc.
  1448. Changes in version 0.2.2.32 - 2011-08-27
  1449. The Tor 0.2.2 release series is dedicated to the memory of Andreas
  1450. Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
  1451. a founder of the PETS community, a leader in our field, a mentor,
  1452. and a friend. He left us with these words: "I had the possibility
  1453. to contribute to this world that is not as it should be. I hope I
  1454. could help in some areas to make the world a better place, and that
  1455. I could also encourage other people to be engaged in improving the
  1456. world. Please, stay engaged. This world needs you, your love, your
  1457. initiative -- now I cannot be part of that anymore."
  1458. Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
  1459. ready. More than two years in the making, this release features improved
  1460. client performance and hidden service reliability, better compatibility
  1461. for Android, correct behavior for bridges that listen on more than
  1462. one address, more extensible and flexible directory object handling,
  1463. better reporting of network statistics, improved code security, and
  1464. many many other features and bugfixes.
  1465. Changes in version 0.2.2.31-rc - 2011-08-17
  1466. Tor 0.2.2.31-rc is the second and hopefully final release candidate
  1467. for the Tor 0.2.2.x series.
  1468. o Major bugfixes:
  1469. - Remove an extra pair of quotation marks around the error
  1470. message in control-port STATUS_GENERAL BUG events. Bugfix on
  1471. 0.1.2.6-alpha; fixes bug 3732.
  1472. - If we're configured to write our ControlPorts to disk, only write
  1473. them after switching UID and creating the data directory. This way,
  1474. we don't fail when starting up with a nonexistent DataDirectory
  1475. and a ControlPortWriteToFile setting based on that directory. Fixes
  1476. bug 3747; bugfix on Tor 0.2.2.26-beta.
  1477. o Minor features:
  1478. - Update to the August 2 2011 Maxmind GeoLite Country database.
  1479. o Minor bugfixes:
  1480. - Allow GETINFO fingerprint to return a fingerprint even when
  1481. we have not yet built a router descriptor. Fixes bug 3577;
  1482. bugfix on 0.2.0.1-alpha.
  1483. - Write several files in text mode, on OSes that distinguish text
  1484. mode from binary mode (namely, Windows). These files are:
  1485. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  1486. that collect those statistics; 'client_keys' and 'hostname' for
  1487. hidden services that use authentication; and (in the tor-gencert
  1488. utility) newly generated identity and signing keys. Previously,
  1489. we wouldn't specify text mode or binary mode, leading to an
  1490. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  1491. the DirRecordUsageByCountry option which would have triggered
  1492. the assertion failure was added), although this assertion failure
  1493. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  1494. - Selectively disable deprecation warnings on OS X because Lion
  1495. started deprecating the shipped copy of openssl. Fixes bug 3643.
  1496. - When unable to format an address as a string, report its value
  1497. as "???" rather than reusing the last formatted address. Bugfix
  1498. on 0.2.1.5-alpha.
  1499. Changes in version 0.2.3.2-alpha - 2011-07-18
  1500. Tor 0.2.3.2-alpha introduces two new experimental features:
  1501. microdescriptors and pluggable transports. It also continues cleaning
  1502. up a variety of recently introduced features.
  1503. o Major features:
  1504. - Clients can now use microdescriptors instead of regular descriptors
  1505. to build circuits. Microdescriptors are authority-generated
  1506. summaries of regular descriptors' contents, designed to change
  1507. very rarely (see proposal 158 for details). This feature is
  1508. designed to save bandwidth, especially for clients on slow internet
  1509. connections. It's off by default for now, since nearly no caches
  1510. support it, but it will be on-by-default for clients in a future
  1511. version. You can use the UseMicrodescriptors option to turn it on.
  1512. - Tor clients using bridges can now be configured to use a separate
  1513. 'transport' proxy for each bridge. This approach helps to resist
  1514. censorship by allowing bridges to use protocol obfuscation
  1515. plugins. It implements part of proposal 180. Implements ticket 2841.
  1516. - While we're trying to bootstrap, record how many TLS connections
  1517. fail in each state, and report which states saw the most failures
  1518. in response to any bootstrap failures. This feature may speed up
  1519. diagnosis of censorship events. Implements ticket 3116.
  1520. o Major bugfixes (on 0.2.3.1-alpha):
  1521. - When configuring a large set of nodes in EntryNodes (as with
  1522. 'EntryNodes {cc}' or 'EntryNodes 1.1.1.1/16'), choose only a
  1523. random subset to be guards, and choose them in random
  1524. order. Fixes bug 2798.
  1525. - Tor could crash when remembering a consensus in a non-used consensus
  1526. flavor without having a current consensus set. Fixes bug 3361.
  1527. - Comparing an unknown address to a microdescriptor's shortened exit
  1528. policy would always give a "rejected" result. Fixes bug 3599.
  1529. - Using microdescriptors as a client no longer prevents Tor from
  1530. uploading and downloading hidden service descriptors. Fixes
  1531. bug 3601.
  1532. o Minor features:
  1533. - Allow nameservers with IPv6 address. Resolves bug 2574.
  1534. - Accept attempts to include a password authenticator in the
  1535. handshake, as supported by SOCKS5. This handles SOCKS clients that
  1536. don't know how to omit a password when authenticating. Resolves
  1537. bug 1666.
  1538. - When configuring a large set of nodes in EntryNodes, and there are
  1539. enough of them listed as Guard so that we don't need to consider
  1540. the non-guard entries, prefer the ones listed with the Guard flag.
  1541. - Check for and recover from inconsistency in the microdescriptor
  1542. cache. This will make it harder for us to accidentally free a
  1543. microdescriptor without removing it from the appropriate data
  1544. structures. Fixes issue 3135; issue noted by "wanoskarnet".
  1545. - Log SSL state transitions at log level DEBUG, log domain
  1546. HANDSHAKE. This can be useful for debugging censorship events.
  1547. Implements ticket 3264.
  1548. - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
  1549. implements ticket 3439.
  1550. o Minor bugfixes (on 0.2.3.1-alpha):
  1551. - Do not free all general-purpose regular descriptors just
  1552. because microdescriptor use is enabled. Fixes bug 3113.
  1553. - Correctly link libevent_openssl when --enable-static-libevent
  1554. is passed to configure. Fixes bug 3118.
  1555. - Bridges should not complain during their heartbeat log messages that
  1556. they are unlisted in the consensus: that's more or less the point
  1557. of being a bridge. Fixes bug 3183.
  1558. - Report a SIGNAL event to controllers when acting on a delayed
  1559. SIGNAL NEWNYM command. Previously, we would report a SIGNAL
  1560. event to the controller if we acted on a SIGNAL NEWNYM command
  1561. immediately, and otherwise not report a SIGNAL event for the
  1562. command at all. Fixes bug 3349.
  1563. - Fix a crash when handling the SIGNAL controller command or
  1564. reporting ERR-level status events with bufferevents enabled. Found
  1565. by Robert Ransom. Fixes bug 3367.
  1566. - Always ship the tor-fw-helper manpage in our release tarballs.
  1567. Fixes bug 3389. Reported by Stephen Walker.
  1568. - Fix a class of double-mark-for-close bugs when bufferevents
  1569. are enabled. Fixes bug 3403.
  1570. - Update tor-fw-helper to support libnatpmp-20110618. Fixes bug 3434.
  1571. - Add SIGNAL to the list returned by the 'GETINFO events/names'
  1572. control-port command. Fixes part of bug 3465.
  1573. - Prevent using negative indices during unit test runs when read_all()
  1574. fails. Spotted by coverity.
  1575. - Fix a rare memory leak when checking the nodelist without it being
  1576. present. Found by coverity.
  1577. - Only try to download a microdescriptor-flavored consensus from
  1578. a directory cache that provides them.
  1579. o Minor bugfixes (on 0.2.2.x and earlier):
  1580. - Assert that hidden-service-related operations are not performed
  1581. using single-hop circuits. Previously, Tor would assert that
  1582. client-side streams are not attached to single-hop circuits,
  1583. but not that other sensitive operations on the client and service
  1584. side are not performed using single-hop circuits. Fixes bug 3332;
  1585. bugfix on 0.0.6.
  1586. - Don't publish a new relay descriptor when we reload our onion key,
  1587. unless the onion key has actually changed. Fixes bug 3263 and
  1588. resolves another cause of bug 1810. Bugfix on 0.1.1.11-alpha.
  1589. - Allow GETINFO fingerprint to return a fingerprint even when
  1590. we have not yet built a router descriptor. Fixes bug 3577;
  1591. bugfix on 0.2.0.1-alpha.
  1592. - Make 'tor --digests' list hashes of all Tor source files. Bugfix
  1593. on 0.2.2.4-alpha; fixes bug 3427.
  1594. o Code simplification and refactoring:
  1595. - Use tor_sscanf() in place of scanf() in more places through the
  1596. code. This makes us a little more locale-independent, and
  1597. should help shut up code-analysis tools that can't tell
  1598. a safe sscanf string from a dangerous one.
  1599. - Use tt_assert(), not tor_assert(), for checking for test failures.
  1600. This makes the unit tests more able to go on in the event that
  1601. one of them fails.
  1602. - Split connection_about_to_close() into separate functions for each
  1603. connection type.
  1604. o Build changes:
  1605. - On Windows, we now define the _WIN32_WINNT macros only if they
  1606. are not already defined. This lets the person building Tor decide,
  1607. if they want, to require a later version of Windows.
  1608. Changes in version 0.2.2.30-rc - 2011-07-07
  1609. Tor 0.2.2.30-rc is the first release candidate for the Tor 0.2.2.x
  1610. series. It fixes a few smaller bugs, but generally appears stable.
  1611. Please test it and let us know whether it is!
  1612. o Minor bugfixes:
  1613. - Send a SUCCEEDED stream event to the controller when a reverse
  1614. resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
  1615. discovered by katmagic.
  1616. - Always NUL-terminate the sun_path field of a sockaddr_un before
  1617. passing it to the kernel. (Not a security issue: kernels are
  1618. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  1619. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  1620. - Don't stack-allocate the list of supplementary GIDs when we're
  1621. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  1622. could take up to 256K, which is way too much stack. Found by
  1623. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  1624. - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
  1625. events/names' control-port command. Bugfix on 0.2.2.9-alpha;
  1626. fixes part of bug 3465.
  1627. - Fix a memory leak when receiving a descriptor for a hidden
  1628. service we didn't ask for. Found by Coverity; CID #30. Bugfix
  1629. on 0.2.2.26-beta.
  1630. o Minor features:
  1631. - Update to the July 1 2011 Maxmind GeoLite Country database.
  1632. Changes in version 0.2.2.29-beta - 2011-06-20
  1633. Tor 0.2.2.29-beta reverts an accidental behavior change for users who
  1634. have bridge lines in their torrc but don't want to use them; gets
  1635. us closer to having the control socket feature working on Debian;
  1636. and fixes a variety of smaller bugs.
  1637. o Major bugfixes:
  1638. - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
  1639. When we changed the default behavior to "use bridges if any
  1640. are listed in the torrc", we surprised users who had bridges
  1641. in their torrc files but who didn't actually want to use them.
  1642. Partial resolution for bug 3354.
  1643. o Privacy fixes:
  1644. - Don't attach new streams to old rendezvous circuits after SIGNAL
  1645. NEWNYM. Previously, we would keep using an existing rendezvous
  1646. circuit if it remained open (i.e. if it were kept open by a
  1647. long-lived stream, or if a new stream were attached to it before
  1648. Tor could notice that it was old and no longer in use). Bugfix on
  1649. 0.1.1.15-rc; fixes bug 3375.
  1650. o Minor bugfixes:
  1651. - Fix a bug when using ControlSocketsGroupWritable with User. The
  1652. directory's group would be checked against the current group, not
  1653. the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
  1654. bugfix on 0.2.2.26-beta.
  1655. - Make connection_printf_to_buf()'s behaviour sane. Its callers
  1656. expect it to emit a CRLF iff the format string ends with CRLF;
  1657. it actually emitted a CRLF iff (a) the format string ended with
  1658. CRLF or (b) the resulting string was over 1023 characters long or
  1659. (c) the format string did not end with CRLF *and* the resulting
  1660. string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
  1661. fixes part of bug 3407.
  1662. - Make send_control_event_impl()'s behaviour sane. Its callers
  1663. expect it to always emit a CRLF at the end of the string; it
  1664. might have emitted extra control characters as well. Bugfix on
  1665. 0.1.1.9-alpha; fixes another part of bug 3407.
  1666. - Make crypto_rand_int() check the value of its input correctly.
  1667. Previously, it accepted values up to UINT_MAX, but could return a
  1668. negative number if given a value above INT_MAX+1. Found by George
  1669. Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
  1670. - Avoid a segfault when reading a malformed circuit build state
  1671. with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
  1672. 0.2.2.4-alpha.
  1673. - When asked about a DNS record type we don't support via a
  1674. client DNSPort, reply with NOTIMPL rather than an empty
  1675. reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
  1676. - Fix a rare memory leak during stats writing. Found by coverity.
  1677. o Minor features:
  1678. - Update to the June 1 2011 Maxmind GeoLite Country database.
  1679. o Code simplifications and refactoring:
  1680. - Remove some dead code as indicated by coverity.
  1681. - Remove a few dead assignments during router parsing. Found by
  1682. coverity.
  1683. - Add some forgotten return value checks during unit tests. Found
  1684. by coverity.
  1685. - Don't use 1-bit wide signed bit fields. Found by coverity.
  1686. Changes in version 0.2.2.28-beta - 2011-06-04
  1687. Tor 0.2.2.28-beta makes great progress towards a new stable release: we
  1688. fixed a big bug in whether relays stay in the consensus consistently,
  1689. we moved closer to handling bridges and hidden services correctly,
  1690. and we started the process of better handling the dreaded "my Vidalia
  1691. died, and now my Tor demands a password when I try to reconnect to it"
  1692. usability issue.
  1693. o Major bugfixes:
  1694. - Don't decide to make a new descriptor when receiving a HUP signal.
  1695. This bug has caused a lot of 0.2.2.x relays to disappear from the
  1696. consensus periodically. Fixes the most common case of triggering
  1697. bug 1810; bugfix on 0.2.2.7-alpha.
  1698. - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
  1699. - Don't try to build descriptors if "ORPort auto" is set and we
  1700. don't know our actual ORPort yet. Fix for bug 3216; bugfix on
  1701. 0.2.2.26-beta.
  1702. - Resolve a crash that occurred when setting BridgeRelay to 1 with
  1703. accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
  1704. - Apply circuit timeouts to opened hidden-service-related circuits
  1705. based on the correct start time. Previously, we would apply the
  1706. circuit build timeout based on time since the circuit's creation;
  1707. it was supposed to be applied based on time since the circuit
  1708. entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
  1709. - Use the same circuit timeout for client-side introduction
  1710. circuits as for other four-hop circuits, rather than the timeout
  1711. for single-hop directory-fetch circuits; the shorter timeout may
  1712. have been appropriate with the static circuit build timeout in
  1713. 0.2.1.x and earlier, but caused many hidden service access attempts
  1714. to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
  1715. on 0.2.2.2-alpha; fixes another part of bug 1297.
  1716. - In ticket 2511 we fixed a case where you could use an unconfigured
  1717. bridge if you had configured it as a bridge the last time you ran
  1718. Tor. Now fix another edge case: if you had configured it as a bridge
  1719. but then switched to a different bridge via the controller, you
  1720. would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
  1721. fixes bug 3321.
  1722. o Major features:
  1723. - Add an __OwningControllerProcess configuration option and a
  1724. TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
  1725. that when it exits, Tor will shut down. Implements feature 3049.
  1726. - If "UseBridges 1" is set and no bridges are configured, Tor will
  1727. now refuse to build any circuits until some bridges are set.
  1728. If "UseBridges auto" is set, Tor will use bridges if they are
  1729. configured and we are not running as a server, but otherwise will
  1730. make circuits as usual. The new default is "auto". Patch by anonym,
  1731. so the Tails LiveCD can stop automatically revealing you as a Tor
  1732. user on startup.
  1733. o Minor bugfixes:
  1734. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  1735. - Remove a trailing asterisk from "exit-policy/default" in the
  1736. output of the control port command "GETINFO info/names". Bugfix
  1737. on 0.1.2.5-alpha.
  1738. - Use a wide type to hold sockets when built for 64-bit Windows builds.
  1739. Fixes bug 3270.
  1740. - Warn when the user configures two HiddenServiceDir lines that point
  1741. to the same directory. Bugfix on 0.0.6 (the version introducing
  1742. HiddenServiceDir); fixes bug 3289.
  1743. - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
  1744. part of bug 2748; bugfix on 0.2.0.10-alpha.
  1745. - Log malformed requests for rendezvous descriptors as protocol
  1746. warnings, not warnings. Also, use a more informative log message
  1747. in case someone sees it at log level warning without prior
  1748. info-level messages. Fixes the other part of bug 2748; bugfix
  1749. on 0.2.0.10-alpha.
  1750. - Clear the table recording the time of the last request for each
  1751. hidden service descriptor from each HS directory on SIGNAL NEWNYM.
  1752. Previously, we would clear our HS descriptor cache on SIGNAL
  1753. NEWNYM, but if we had previously retrieved a descriptor (or tried
  1754. to) from every directory responsible for it, we would refuse to
  1755. fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
  1756. fixes bug 3309.
  1757. - Fix a log message that said "bits" while displaying a value in
  1758. bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
  1759. 0.2.0.1-alpha.
  1760. - When checking for 1024-bit keys, check for 1024 bits, not 128
  1761. bytes. This allows Tor to correctly discard keys of length 1017
  1762. through 1023. Bugfix on 0.0.9pre5.
  1763. o Minor features:
  1764. - Relays now log the reason for publishing a new relay descriptor,
  1765. so we have a better chance of hunting down instances of bug 1810.
  1766. Resolves ticket 3252.
  1767. - Revise most log messages that refer to nodes by nickname to
  1768. instead use the "$key=nickname at address" format. This should be
  1769. more useful, especially since nicknames are less and less likely
  1770. to be unique. Resolves ticket 3045.
  1771. - Log (at info level) when purging pieces of hidden-service-client
  1772. state because of SIGNAL NEWNYM.
  1773. o Removed options:
  1774. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  1775. anything since 0.2.1.16-rc.
  1776. Changes in version 0.2.2.27-beta - 2011-05-18
  1777. Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
  1778. release, and also adds a few more general bugfixes.
  1779. o Major bugfixes:
  1780. - Fix a crash bug when changing bridges in a running Tor process.
  1781. Fixes bug 3213; bugfix on 0.2.2.26-beta.
  1782. - When the controller configures a new bridge, don't wait 10 to 60
  1783. seconds before trying to fetch its descriptor. Bugfix on
  1784. 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
  1785. o Minor bugfixes:
  1786. - Require that onion keys have exponent 65537 in microdescriptors too.
  1787. Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
  1788. - Tor used to limit HttpProxyAuthenticator values to 48 characters.
  1789. Changed the limit to 512 characters by removing base64 newlines.
  1790. Fixes bug 2752. Fix by Michael Yakubovich.
  1791. - When a client starts or stops using bridges, never use a circuit
  1792. that was built before the configuration change. This behavior could
  1793. put at risk a user who uses bridges to ensure that her traffic
  1794. only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
  1795. bug 3200.
  1796. Changes in version 0.2.2.26-beta - 2011-05-17
  1797. Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
  1798. also introduces a new "socksport auto" approach that should make it
  1799. easier to run multiple Tors on the same system, and does a lot of
  1800. cleanup to get us closer to a release candidate.
  1801. o Security/privacy fixes:
  1802. - Replace all potentially sensitive memory comparison operations
  1803. with versions whose runtime does not depend on the data being
  1804. compared. This will help resist a class of attacks where an
  1805. adversary can use variations in timing information to learn
  1806. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  1807. implementation by Robert Ransom based partially on code by DJB.)
  1808. - When receiving a hidden service descriptor, check that it is for
  1809. the hidden service we wanted. Previously, Tor would store any
  1810. hidden service descriptors that a directory gave it, whether it
  1811. wanted them or not. This wouldn't have let an attacker impersonate
  1812. a hidden service, but it did let directories pre-seed a client
  1813. with descriptors that it didn't want. Bugfix on 0.0.6.
  1814. - On SIGHUP, do not clear out all TrackHostExits mappings, client
  1815. DNS cache entries, and virtual address mappings: that's what
  1816. NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
  1817. o Major features:
  1818. - The options SocksPort, ControlPort, and so on now all accept a
  1819. value "auto" that opens a socket on an OS-selected port. A
  1820. new ControlPortWriteToFile option tells Tor to write its
  1821. actual control port or ports to a chosen file. If the option
  1822. ControlPortFileGroupReadable is set, the file is created as
  1823. group-readable. Now users can run two Tor clients on the same
  1824. system without needing to manually mess with parameters. Resolves
  1825. part of ticket 3076.
  1826. - Set SO_REUSEADDR on all sockets, not just listeners. This should
  1827. help busy exit nodes avoid running out of useable ports just
  1828. because all the ports have been used in the near past. Resolves
  1829. issue 2850.
  1830. o Minor features:
  1831. - New "GETINFO net/listeners/(type)" controller command to return
  1832. a list of addresses and ports that are bound for listeners for a
  1833. given connection type. This is useful when the user has configured
  1834. "SocksPort auto" and the controller needs to know which port got
  1835. chosen. Resolves another part of ticket 3076.
  1836. - Add a new ControlSocketsGroupWritable configuration option: when
  1837. it is turned on, ControlSockets are group-writeable by the default
  1838. group of the current user. Patch by Jérémy Bobbio; implements
  1839. ticket 2972.
  1840. - Tor now refuses to create a ControlSocket in a directory that is
  1841. world-readable (or group-readable if ControlSocketsGroupWritable
  1842. is 0). This is necessary because some operating systems do not
  1843. enforce permissions on an AF_UNIX sockets. Permissions on the
  1844. directory holding the socket, however, seems to work everywhere.
  1845. - Rate-limit a warning about failures to download v2 networkstatus
  1846. documents. Resolves part of bug 1352.
  1847. - Backport code from 0.2.3.x that allows directory authorities to
  1848. clean their microdescriptor caches. Needed to resolve bug 2230.
  1849. - When an HTTPS proxy reports "403 Forbidden", we now explain
  1850. what it means rather than calling it an unexpected status code.
  1851. Closes bug 2503. Patch from Michael Yakubovich.
  1852. - Update to the May 1 2011 Maxmind GeoLite Country database.
  1853. o Minor bugfixes:
  1854. - Authorities now clean their microdesc cache periodically and when
  1855. reading from disk initially, not only when adding new descriptors.
  1856. This prevents a bug where we could lose microdescriptors. Bugfix
  1857. on 0.2.2.6-alpha. Fixes bug 2230.
  1858. - Do not crash when our configuration file becomes unreadable, for
  1859. example due to a permissions change, between when we start up
  1860. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  1861. on 0.0.9pre6.
  1862. - Avoid a bug that would keep us from replacing a microdescriptor
  1863. cache on Windows. (We would try to replace the file while still
  1864. holding it open. That's fine on Unix, but Windows doesn't let us
  1865. do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
  1866. - Add missing explanations for the authority-related torrc options
  1867. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
  1868. man page. Resolves issue 2379.
  1869. - As an authority, do not upload our own vote or signature set to
  1870. ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
  1871. it would get flagged as a duplicate. Resolves bug 3026.
  1872. - Accept hidden service descriptors if we think we might be a hidden
  1873. service directory, regardless of what our consensus says. This
  1874. helps robustness, since clients and hidden services can sometimes
  1875. have a more up-to-date view of the network consensus than we do,
  1876. and if they think that the directory authorities list us a HSDir,
  1877. we might actually be one. Related to bug 2732; bugfix on
  1878. 0.2.0.10-alpha.
  1879. - When a controller changes TrackHostExits, remove mappings for
  1880. hosts that should no longer have their exits tracked. Bugfix on
  1881. 0.1.0.1-rc.
  1882. - When a controller changes VirtualAddrNetwork, remove any mappings
  1883. for hosts that were automapped to the old network. Bugfix on
  1884. 0.1.1.19-rc.
  1885. - When a controller changes one of the AutomapHosts* options, remove
  1886. any mappings for hosts that should no longer be automapped. Bugfix
  1887. on 0.2.0.1-alpha.
  1888. - Do not reset the bridge descriptor download status every time we
  1889. re-parse our configuration or get a configuration change. Fixes
  1890. bug 3019; bugfix on 0.2.0.3-alpha.
  1891. o Minor bugfixes (code cleanup):
  1892. - When loading the microdesc journal, remember its current size.
  1893. In 0.2.2, this helps prevent the microdesc journal from growing
  1894. without limit on authorities (who are the only ones to use it in
  1895. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  1896. Fix posted by "cypherpunks."
  1897. - The microdesc journal is supposed to get rebuilt only if it is
  1898. at least _half_ the length of the store, not _twice_ the length
  1899. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  1900. - Fix a potential null-pointer dereference while computing a
  1901. consensus. Bugfix on tor-0.2.0.3-alpha, found with the help of
  1902. clang's analyzer.
  1903. - Avoid a possible null-pointer dereference when rebuilding the mdesc
  1904. cache without actually having any descriptors to cache. Bugfix on
  1905. 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
  1906. - If we fail to compute the identity digest of a v3 legacy keypair,
  1907. warn, and don't use a buffer-full of junk instead. Bugfix on
  1908. 0.2.1.1-alpha; fixes bug 3106.
  1909. - Resolve an untriggerable issue in smartlist_string_num_isin(),
  1910. where if the function had ever in the future been used to check
  1911. for the presence of a too-large number, it would have given an
  1912. incorrect result. (Fortunately, we only used it for 16-bit
  1913. values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
  1914. - Require that introduction point keys and onion handshake keys
  1915. have a public exponent of 65537. Starts to fix bug 3207; bugfix
  1916. on 0.2.0.10-alpha.
  1917. o Removed features:
  1918. - Caches no longer download and serve v2 networkstatus documents
  1919. unless FetchV2Networkstatus flag is set: these documents haven't
  1920. haven't been used by clients or relays since 0.2.0.x. Resolves
  1921. bug 3022.
  1922. Changes in version 0.2.3.1-alpha - 2011-05-05
  1923. Tor 0.2.3.1-alpha adds some new experimental features, including support
  1924. for an improved network IO backend, IOCP networking on Windows,
  1925. microdescriptor caching, "fast-start" support for streams, and automatic
  1926. home router configuration. There are also numerous internal improvements
  1927. to try to make the code easier for developers to work with.
  1928. This is the first alpha release in a new series, so expect there to be
  1929. bugs. Users who would rather test out a more stable branch should
  1930. stay with 0.2.2.x for now.
  1931. o Major features:
  1932. - Tor can now optionally build with the "bufferevents" buffered IO
  1933. backend provided by Libevent 2. To use this feature, make sure you
  1934. have the latest possible version of Libevent, and pass the
  1935. --enable-bufferevents flag to configure when building Tor from
  1936. source. This feature will make our networking code more flexible,
  1937. let us stack layers on each other, and let us use more efficient
  1938. zero-copy transports where available.
  1939. - As an experimental feature, Tor can use IOCP for networking on Windows.
  1940. Once this code is tuned and optimized, it promises much better
  1941. performance than the select-based backend we've used in the past. To
  1942. try this feature, you must build Tor with Libevent 2, configure Tor
  1943. with the "bufferevents" buffered IO backend, and add "DisableIOCP 0" to
  1944. your torrc. There are known bugs here: only try this if you can help
  1945. debug it as it breaks.
  1946. - The EntryNodes option can now include country codes like {de} or IP
  1947. addresses or network masks. Previously we had disallowed these options
  1948. because we didn't have an efficient way to keep the list up to
  1949. date. Fixes bug 1982, but see bug 2798 for an unresolved issue here.
  1950. - Exit nodes now accept and queue data on not-yet-connected streams.
  1951. Previously, the client wasn't allowed to send data until the stream was
  1952. connected, which slowed down all connections. This change will enable
  1953. clients to perform a "fast-start" on streams and send data without
  1954. having to wait for a confirmation that the stream has opened. (Patch
  1955. from Ian Goldberg; implements the server side of Proposal 174.)
  1956. - Tor now has initial support for automatic port mapping on the many
  1957. home routers that support NAT-PMP or UPnP. (Not yet supported on
  1958. Windows). To build the support code, you'll need to have libnatpnp
  1959. library and/or the libminiupnpc library, and you'll need to enable the
  1960. feature specifically by passing "--enable-upnp" and/or
  1961. "--enable-natpnp" to configure. To turn it on, use the new
  1962. PortForwarding option.
  1963. - Caches now download, cache, and serve multiple "flavors" of the
  1964. consensus, including a flavor that describes microdescriptors.
  1965. - Caches now download, cache, and serve microdescriptors -- small
  1966. summaries of router descriptors that are authenticated by all of the
  1967. directory authorities. Once enough caches are running this code,
  1968. clients will be able to save significant amounts of directory bandwidth
  1969. by downloading microdescriptors instead of router descriptors.
  1970. o Minor features:
  1971. - Make logging resolution configurable with a new LogTimeGranularity
  1972. option, and change the default from 1 millisecond to 1 second.
  1973. Implements enhancement 1668.
  1974. - We log which torrc file we're using on startup. Implements ticket
  1975. 2444.
  1976. - Ordinarily, Tor does not count traffic from private addresses (like
  1977. 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
  1978. There is now a new option, CountPrivateBandwidth, to disable this
  1979. behavior. Patch from Daniel Cagara.
  1980. - New --enable-static-tor configure option for building Tor as
  1981. statically as possible. Idea, general hackery and thoughts from
  1982. Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
  1983. 2702.
  1984. - If you set the NumCPUs option to 0, Tor will now try to detect how
  1985. many CPUs you have. This is the new default behavior.
  1986. - Turn on directory request statistics by default and include them in
  1987. extra-info descriptors. Don't break if we have no GeoIP database.
  1988. - Relays that set "ConnDirectionStatistics 1" write statistics on the
  1989. bidirectional use of connections to disk every 24 hours.
  1990. - Add a GeoIP file digest to the extra-info descriptor. Implements
  1991. enhancement 1883.
  1992. - The NodeFamily option -- which let you declare that you want to
  1993. consider nodes to be part of a family whether they list themselves
  1994. that way or not -- now allows IP address ranges and country codes.
  1995. - Add a new 'Heartbeat' log message type to periodically log a message
  1996. describing Tor's status at level Notice. This feature is meant for
  1997. operators who log at notice, and want to make sure that their Tor
  1998. server is still working. Implementation by George Kadianakis.
  1999. o Minor bugfixes (on 0.2.2.25-alpha):
  2000. - When loading the microdesc journal, remember its current size.
  2001. In 0.2.2, this helps prevent the microdesc journal from growing
  2002. without limit on authorities (who are the only ones to use it in
  2003. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  2004. Fix posted by "cypherpunks."
  2005. - The microdesc journal is supposed to get rebuilt only if it is
  2006. at least _half_ the length of the store, not _twice_ the length
  2007. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  2008. - If as an authority we fail to compute the identity digest of a v3
  2009. legacy keypair, warn, and don't use a buffer-full of junk instead.
  2010. Bugfix on 0.2.1.1-alpha; fixes bug 3106.
  2011. - Authorities now clean their microdesc cache periodically and when
  2012. reading from disk initially, not only when adding new descriptors.
  2013. This prevents a bug where we could lose microdescriptors. Bugfix
  2014. on 0.2.2.6-alpha.
  2015. o Minor features (controller):
  2016. - Add a new SIGNAL event to the controller interface so that
  2017. controllers can be notified when Tor handles a signal. Resolves
  2018. issue 1955. Patch by John Brooks.
  2019. - Add a new GETINFO option to get total bytes read and written. Patch
  2020. from pipe, revised by atagar. Resolves ticket 2345.
  2021. - Implement some GETINFO controller fields to provide information about
  2022. the Tor process's pid, euid, username, and resource limits.
  2023. o Build changes:
  2024. - Our build system requires automake 1.6 or later to create the
  2025. Makefile.in files. Previously, you could have used 1.4.
  2026. This only affects developers and people building Tor from git;
  2027. people who build Tor from the source distribution without changing
  2028. the Makefile.am files should be fine.
  2029. - Our autogen.sh script uses autoreconf to launch autoconf, automake, and
  2030. so on. This is more robust against some of the failure modes
  2031. associated with running the autotools pieces on their own.
  2032. o Minor packaging issues:
  2033. - On OpenSUSE, create the /var/run/tor directory on startup if it is not
  2034. already created. Patch from Andreas Stieger. Fixes bug 2573.
  2035. o Code simplifications and refactoring:
  2036. - A major revision to our internal node-selecting and listing logic.
  2037. Tor already had at least two major ways to look at the question of
  2038. "which Tor servers do we know about": a list of router descriptors,
  2039. and a list of entries in the current consensus. With
  2040. microdescriptors, we're adding a third. Having so many systems
  2041. without an abstraction layer over them was hurting the codebase.
  2042. Now, we have a new "node_t" abstraction that presents a consistent
  2043. interface to a client's view of a Tor node, and holds (nearly) all
  2044. of the mutable state formerly in routerinfo_t and routerstatus_t.
  2045. - The helper programs tor-gencert, tor-resolve, and tor-checkkey
  2046. no longer link against Libevent: they never used it, but
  2047. our library structure used to force them to link it.
  2048. o Removed features:
  2049. - Remove some old code to work around even older versions of Tor that
  2050. used forked processes to handle DNS requests. Such versions of Tor
  2051. are no longer in use as servers.
  2052. o Documentation fixes:
  2053. - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
  2054. - Add missing documentation for the authority-related torrc options
  2055. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey. Resolves
  2056. issue 2379.
  2057. Changes in version 0.2.2.25-alpha - 2011-04-29
  2058. Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
  2059. robust, routers no longer overreport their bandwidth, Win7 should crash
  2060. a little less, and NEWNYM (as used by Vidalia's "new identity" button)
  2061. now prevents hidden service-related activity from being linkable. It
  2062. provides more information to Vidalia so you can see if your bridge is
  2063. working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
  2064. StrictNodes configuration options to make them more reliable, more
  2065. understandable, and more regularly applied. If you use those options,
  2066. please see the revised documentation for them in the manual page.
  2067. o Major bugfixes:
  2068. - Relays were publishing grossly inflated bandwidth values because
  2069. they were writing their state files wrong--now they write the
  2070. correct value. Also, resume reading bandwidth history from the
  2071. state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
  2072. - Improve hidden service robustness: When we find that we have
  2073. extended a hidden service's introduction circuit to a relay not
  2074. listed as an introduction point in the HS descriptor we currently
  2075. have, retry with an introduction point from the current
  2076. descriptor. Previously we would just give up. Fixes bugs 1024 and
  2077. 1930; bugfix on 0.2.0.10-alpha.
  2078. - Clients now stop trying to use an exit node associated with a given
  2079. destination by TrackHostExits if they fail to reach that exit node.
  2080. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
  2081. - Fix crash bug on platforms where gmtime and localtime can return
  2082. NULL. Windows 7 users were running into this one. Fixes part of bug
  2083. 2077. Bugfix on all versions of Tor. Found by boboper.
  2084. o Security and stability fixes:
  2085. - Don't double-free a parsable, but invalid, microdescriptor, even if
  2086. it is followed in the blob we're parsing by an unparsable
  2087. microdescriptor. Fixes an issue reported in a comment on bug 2954.
  2088. Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
  2089. - If the Nickname configuration option isn't given, Tor would pick a
  2090. nickname based on the local hostname as the nickname for a relay.
  2091. Because nicknames are not very important in today's Tor and the
  2092. "Unnamed" nickname has been implemented, this is now problematic
  2093. behavior: It leaks information about the hostname without being
  2094. useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
  2095. introduced the Unnamed nickname. Reported by tagnaq.
  2096. - Fix an uncommon assertion failure when running with DNSPort under
  2097. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  2098. - Avoid linkability based on cached hidden service descriptors: forget
  2099. all hidden service descriptors cached as a client when processing a
  2100. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  2101. o Major features:
  2102. - Export GeoIP information on bridge usage to controllers even if we
  2103. have not yet been running for 24 hours. Now Vidalia bridge operators
  2104. can get more accurate and immediate feedback about their
  2105. contributions to the network.
  2106. o Major features and bugfixes (node selection):
  2107. - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
  2108. ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
  2109. options. Previously, we had been ambiguous in describing what
  2110. counted as an "exit" node, and what operations exactly "StrictNodes
  2111. 0" would permit. This created confusion when people saw nodes built
  2112. through unexpected circuits, and made it hard to tell real bugs from
  2113. surprises. Now the intended behavior is:
  2114. . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
  2115. a node that delivers user traffic outside the Tor network.
  2116. . "Entry", in the context of EntryNodes, means a node used as the
  2117. first hop of a multihop circuit. It doesn't include direct
  2118. connections to directory servers.
  2119. . "ExcludeNodes" applies to all nodes.
  2120. . "StrictNodes" changes the behavior of ExcludeNodes only. When
  2121. StrictNodes is set, Tor should avoid all nodes listed in
  2122. ExcludeNodes, even when it will make user requests fail. When
  2123. StrictNodes is *not* set, then Tor should follow ExcludeNodes
  2124. whenever it can, except when it must use an excluded node to
  2125. perform self-tests, connect to a hidden service, provide a
  2126. hidden service, fulfill a .exit request, upload directory
  2127. information, or fetch directory information.
  2128. Collectively, the changes to implement the behavior fix bug 1090.
  2129. - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
  2130. a node is listed in both, it's treated as excluded.
  2131. - ExcludeNodes now applies to directory nodes -- as a preference if
  2132. StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
  2133. Don't exclude all the directory authorities and set StrictNodes to 1
  2134. unless you really want your Tor to break.
  2135. - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
  2136. - ExcludeExitNodes now overrides .exit requests.
  2137. - We don't use bridges listed in ExcludeNodes.
  2138. - When StrictNodes is 1:
  2139. . We now apply ExcludeNodes to hidden service introduction points
  2140. and to rendezvous points selected by hidden service users. This
  2141. can make your hidden service less reliable: use it with caution!
  2142. . If we have used ExcludeNodes on ourself, do not try relay
  2143. reachability self-tests.
  2144. . If we have excluded all the directory authorities, we will not
  2145. even try to upload our descriptor if we're a relay.
  2146. . Do not honor .exit requests to an excluded node.
  2147. - Remove a misfeature that caused us to ignore the Fast/Stable flags
  2148. when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
  2149. - When the set of permitted nodes changes, we now remove any mappings
  2150. introduced via TrackExitHosts to now-excluded nodes. Bugfix on
  2151. 0.1.0.1-rc.
  2152. - We never cannibalize a circuit that had excluded nodes on it, even
  2153. if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
  2154. - Revert a change where we would be laxer about attaching streams to
  2155. circuits than when building the circuits. This was meant to prevent
  2156. a set of bugs where streams were never attachable, but our improved
  2157. code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
  2158. - Keep track of how many times we launch a new circuit to handle a
  2159. given stream. Too many launches could indicate an inconsistency
  2160. between our "launch a circuit to handle this stream" logic and our
  2161. "attach this stream to one of the available circuits" logic.
  2162. - Improve log messages related to excluded nodes.
  2163. o Minor bugfixes:
  2164. - Fix a spurious warning when moving from a short month to a long
  2165. month on relays with month-based BandwidthAccounting. Bugfix on
  2166. 0.2.2.17-alpha; fixes bug 3020.
  2167. - When a client finds that an origin circuit has run out of 16-bit
  2168. stream IDs, we now mark it as unusable for new streams. Previously,
  2169. we would try to close the entire circuit. Bugfix on 0.0.6.
  2170. - Add a forgotten cast that caused a compile warning on OS X 10.6.
  2171. Bugfix on 0.2.2.24-alpha.
  2172. - Be more careful about reporting the correct error from a failed
  2173. connect() system call. Under some circumstances, it was possible to
  2174. look at an incorrect value for errno when sending the end reason.
  2175. Bugfix on 0.1.0.1-rc.
  2176. - Correctly handle an "impossible" overflow cases in connection byte
  2177. counting, where we write or read more than 4GB on an edge connection
  2178. in a single second. Bugfix on 0.1.2.8-beta.
  2179. - Correct the warning displayed when a rendezvous descriptor exceeds
  2180. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  2181. John Brooks.
  2182. - Clients and hidden services now use HSDir-flagged relays for hidden
  2183. service descriptor downloads and uploads even if the relays have no
  2184. DirPort set and the client has disabled TunnelDirConns. This will
  2185. eventually allow us to give the HSDir flag to relays with no
  2186. DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
  2187. - Downgrade "no current certificates known for authority" message from
  2188. Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
  2189. - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
  2190. 2917. Bugfix on 0.1.1.1-alpha.
  2191. - Only limit the lengths of single HS descriptors, even when multiple
  2192. HS descriptors are published to an HSDir relay in a single POST
  2193. operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
  2194. - Write the current time into the LastWritten line in our state file,
  2195. rather than the time from the previous write attempt. Also, stop
  2196. trying to use a time of -1 in our log statements. Fixes bug 3039;
  2197. bugfix on 0.2.2.14-alpha.
  2198. - Be more consistent in our treatment of file system paths. "~" should
  2199. get expanded to the user's home directory in the Log config option.
  2200. Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
  2201. feature for the -f and --DataDirectory options.
  2202. o Minor features:
  2203. - Make sure every relay writes a state file at least every 12 hours.
  2204. Previously, a relay could go for weeks without writing its state
  2205. file, and on a crash could lose its bandwidth history, capacity
  2206. estimates, client country statistics, and so on. Addresses bug 3012.
  2207. - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
  2208. Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
  2209. clients are already deprecated because of security bugs.
  2210. - Don't allow v0 hidden service authorities to act as clients.
  2211. Required by fix for bug 3000.
  2212. - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
  2213. by fix for bug 3000.
  2214. - Ensure that no empty [dirreq-](read|write)-history lines are added
  2215. to an extrainfo document. Implements ticket 2497.
  2216. o Code simplification and refactoring:
  2217. - Remove workaround code to handle directory responses from servers
  2218. that had bug 539 (they would send HTTP status 503 responses _and_
  2219. send a body too). Since only server versions before
  2220. 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
  2221. keep the workaround in place.
  2222. - Remove the old 'fuzzy time' logic. It was supposed to be used for
  2223. handling calculations where we have a known amount of clock skew and
  2224. an allowed amount of unknown skew. But we only used it in three
  2225. places, and we never adjusted the known/unknown skew values. This is
  2226. still something we might want to do someday, but if we do, we'll
  2227. want to do it differently.
  2228. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  2229. None of the cases where we did this before were wrong, but by making
  2230. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  2231. - Use GetTempDir to find the proper temporary directory location on
  2232. Windows when generating temporary files for the unit tests. Patch by
  2233. Gisle Vanem.
  2234. Changes in version 0.2.2.24-alpha - 2011-04-08
  2235. Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
  2236. prevented Tor clients from effectively using "multihomed" bridges,
  2237. that is, bridges that listen on multiple ports or IP addresses so users
  2238. can continue to use some of their addresses even if others get blocked.
  2239. o Major bugfixes:
  2240. - Fix a bug where bridge users who configure the non-canonical
  2241. address of a bridge automatically switch to its canonical
  2242. address. If a bridge listens at more than one address, it should be
  2243. able to advertise those addresses independently and any non-blocked
  2244. addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
  2245. bug 2510.
  2246. - If you configured Tor to use bridge A, and then quit and
  2247. configured Tor to use bridge B instead, it would happily continue
  2248. to use bridge A if it's still reachable. While this behavior is
  2249. a feature if your goal is connectivity, in some scenarios it's a
  2250. dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
  2251. - Directory authorities now use data collected from their own
  2252. uptime observations when choosing whether to assign the HSDir flag
  2253. to relays, instead of trusting the uptime value the relay reports in
  2254. its descriptor. This change helps prevent an attack where a small
  2255. set of nodes with frequently-changing identity keys can blackhole
  2256. a hidden service. (Only authorities need upgrade; others will be
  2257. fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
  2258. o Minor bugfixes:
  2259. - When we restart our relay, we might get a successful connection
  2260. from the outside before we've started our reachability tests,
  2261. triggering a warning: "ORPort found reachable, but I have no
  2262. routerinfo yet. Failing to inform controller of success." This
  2263. bug was harmless unless Tor is running under a controller
  2264. like Vidalia, in which case the controller would never get a
  2265. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  2266. fixes bug 1172.
  2267. - Make directory authorities more accurate at recording when
  2268. relays that have failed several reachability tests became
  2269. unreachable, so we can provide more accuracy at assigning Stable,
  2270. Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
  2271. - Fix an issue that prevented static linking of libevent on
  2272. some platforms (notably Linux). Fixes bug 2698; bugfix on
  2273. versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
  2274. the --with-static-libevent configure option).
  2275. - We now ask the other side of a stream (the client or the exit)
  2276. for more data on that stream when the amount of queued data on
  2277. that stream dips low enough. Previously, we wouldn't ask the
  2278. other side for more data until either it sent us more data (which
  2279. it wasn't supposed to do if it had exhausted its window!) or we
  2280. had completely flushed all our queued data. This flow control fix
  2281. should improve throughput. Fixes bug 2756; bugfix on the earliest
  2282. released versions of Tor (svn commit r152).
  2283. - Avoid a double-mark-for-free warning when failing to attach a
  2284. transparent proxy connection. (We thought we had fixed this in
  2285. 0.2.2.23-alpha, but it turns out our fix was checking the wrong
  2286. connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
  2287. bug) and 0.2.2.23-alpha (the incorrect fix).
  2288. - When warning about missing zlib development packages during compile,
  2289. give the correct package names. Bugfix on 0.2.0.1-alpha.
  2290. o Minor features:
  2291. - Directory authorities now log the source of a rejected POSTed v3
  2292. networkstatus vote.
  2293. - Make compilation with clang possible when using
  2294. --enable-gcc-warnings by removing two warning options that clang
  2295. hasn't implemented yet and by fixing a few warnings. Implements
  2296. ticket 2696.
  2297. - When expiring circuits, use microsecond timers rather than
  2298. one-second timers. This can avoid an unpleasant situation where a
  2299. circuit is launched near the end of one second and expired right
  2300. near the beginning of the next, and prevent fluctuations in circuit
  2301. timeout values.
  2302. - Use computed circuit-build timeouts to decide when to launch
  2303. parallel introduction circuits for hidden services. (Previously,
  2304. we would retry after 15 seconds.)
  2305. - Update to the April 1 2011 Maxmind GeoLite Country database.
  2306. o Packaging fixes:
  2307. - Create the /var/run/tor directory on startup on OpenSUSE if it is
  2308. not already created. Patch from Andreas Stieger. Fixes bug 2573.
  2309. o Documentation changes:
  2310. - Modernize the doxygen configuration file slightly. Fixes bug 2707.
  2311. - Resolve all doxygen warnings except those for missing documentation.
  2312. Fixes bug 2705.
  2313. - Add doxygen documentation for more functions, fields, and types.
  2314. Changes in version 0.2.2.23-alpha - 2011-03-08
  2315. Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
  2316. they restart they don't lose their bandwidth capacity estimate. This
  2317. release also fixes a diverse set of user-facing bugs, ranging from
  2318. relays overrunning their rate limiting to clients falsely warning about
  2319. clock skew to bridge descriptor leaks by our bridge directory authority.
  2320. o Major bugfixes:
  2321. - Stop sending a CLOCK_SKEW controller status event whenever
  2322. we fetch directory information from a relay that has a wrong clock.
  2323. Instead, only inform the controller when it's a trusted authority
  2324. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  2325. the rest of bug 1074.
  2326. - Fix an assert in parsing router descriptors containing IPv6
  2327. addresses. This one took down the directory authorities when
  2328. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  2329. - Make the bridge directory authority refuse to answer directory
  2330. requests for "all" descriptors. It used to include bridge
  2331. descriptors in its answer, which was a major information leak.
  2332. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  2333. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  2334. Tor would ignore their RelayBandwidthBurst setting,
  2335. potentially using more bandwidth than expected. Bugfix on
  2336. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  2337. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  2338. hidserv" in her torrc. The 'hidserv' argument never controlled
  2339. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  2340. o Major features:
  2341. - Relays now save observed peak bandwidth throughput rates to their
  2342. state file (along with total usage, which was already saved)
  2343. so that they can determine their correct estimated bandwidth on
  2344. restart. Resolves bug 1863, where Tor relays would reset their
  2345. estimated bandwidth to 0 after restarting.
  2346. - Directory authorities now take changes in router IP address and
  2347. ORPort into account when determining router stability. Previously,
  2348. if a router changed its IP or ORPort, the authorities would not
  2349. treat it as having any downtime for the purposes of stability
  2350. calculation, whereas clients would experience downtime since the
  2351. change could take a while to propagate to them. Resolves issue 1035.
  2352. - Enable Address Space Layout Randomization (ASLR) and Data Execution
  2353. Prevention (DEP) by default on Windows to make it harder for
  2354. attackers to exploit vulnerabilities. Patch from John Brooks.
  2355. o Minor bugfixes (on 0.2.1.x and earlier):
  2356. - Fix a rare crash bug that could occur when a client was configured
  2357. with a large number of bridges. Fixes bug 2629; bugfix on
  2358. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  2359. - Avoid a double mark-for-free warning when failing to attach a
  2360. transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
  2361. bug 2279.
  2362. - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
  2363. found by "cypherpunks". This bug was introduced before the first
  2364. Tor release, in svn commit r110.
  2365. - Country codes aren't supported in EntryNodes until 0.2.3.x, so
  2366. don't mention them in the manpage. Fixes bug 2450; issue
  2367. spotted by keb and G-Lo.
  2368. - Fix a bug in bandwidth history state parsing that could have been
  2369. triggered if a future version of Tor ever changed the timing
  2370. granularity at which bandwidth history is measured. Bugfix on
  2371. Tor 0.1.1.11-alpha.
  2372. - When a relay decides that its DNS is too broken for it to serve
  2373. as an exit server, it advertised itself as a non-exit, but
  2374. continued to act as an exit. This could create accidental
  2375. partitioning opportunities for users. Instead, if a relay is
  2376. going to advertise reject *:* as its exit policy, it should
  2377. really act with exit policy "reject *:*". Fixes bug 2366.
  2378. Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
  2379. - In the special case where you configure a public exit relay as your
  2380. bridge, Tor would be willing to use that exit relay as the last
  2381. hop in your circuit as well. Now we fail that circuit instead.
  2382. Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
  2383. - Fix a bug with our locking implementation on Windows that couldn't
  2384. correctly detect when a file was already locked. Fixes bug 2504,
  2385. bugfix on 0.2.1.6-alpha.
  2386. - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
  2387. Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
  2388. "piebeer".
  2389. - Set target port in get_interface_address6() correctly. Bugfix
  2390. on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
  2391. - Directory authorities are now more robust to hops back in time
  2392. when calculating router stability. Previously, if a run of uptime
  2393. or downtime appeared to be negative, the calculation could give
  2394. incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
  2395. bug 1035.
  2396. - Fix an assert that got triggered when using the TestingTorNetwork
  2397. configuration option and then issuing a GETINFO config-text control
  2398. command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
  2399. o Minor bugfixes (on 0.2.2.x):
  2400. - Clients should not weight BadExit nodes as Exits in their node
  2401. selection. Similarly, directory authorities should not count BadExit
  2402. bandwidth as Exit bandwidth when computing bandwidth-weights.
  2403. Bugfix on 0.2.2.10-alpha; fixes bug 2203.
  2404. - Correctly clear our dir_read/dir_write history when there is an
  2405. error parsing any bw history value from the state file. Bugfix on
  2406. Tor 0.2.2.15-alpha.
  2407. - Resolve a bug in verifying signatures of directory objects
  2408. with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
  2409. Fixes bug 2409. Found by "piebeer".
  2410. - Bridge authorities no longer crash on SIGHUP when they try to
  2411. publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
  2412. on 0.2.2.22-alpha.
  2413. o Minor features:
  2414. - Log less aggressively about circuit timeout changes, and improve
  2415. some other circuit timeout messages. Resolves bug 2004.
  2416. - Log a little more clearly about the times at which we're no longer
  2417. accepting new connections. Resolves bug 2181.
  2418. - Reject attempts at the client side to open connections to private
  2419. IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
  2420. a randomly chosen exit node. Attempts to do so are always
  2421. ill-defined, generally prevented by exit policies, and usually
  2422. in error. This will also help to detect loops in transparent
  2423. proxy configurations. You can disable this feature by setting
  2424. "ClientRejectInternalAddresses 0" in your torrc.
  2425. - Always treat failure to allocate an RSA key as an unrecoverable
  2426. allocation error.
  2427. - Update to the March 1 2011 Maxmind GeoLite Country database.
  2428. o Minor features (log subsystem):
  2429. - Add documentation for configuring logging at different severities in
  2430. different log domains. We've had this feature since 0.2.1.1-alpha,
  2431. but for some reason it never made it into the manpage. Fixes
  2432. bug 2215.
  2433. - Make it simpler to specify "All log domains except for A and B".
  2434. Previously you needed to say "[*,~A,~B]". Now you can just say
  2435. "[~A,~B]".
  2436. - Add a "LogMessageDomains 1" option to include the domains of log
  2437. messages along with the messages. Without this, there's no way
  2438. to use log domains without reading the source or doing a lot
  2439. of guessing.
  2440. o Packaging changes:
  2441. - Stop shipping the Tor specs files and development proposal documents
  2442. in the tarball. They are now in a separate git repository at
  2443. git://git.torproject.org/torspec.git
  2444. Changes in version 0.2.1.30 - 2011-02-23
  2445. Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
  2446. change is a slight tweak to Tor's TLS handshake that makes relays
  2447. and bridges that run this new version reachable from Iran again.
  2448. We don't expect this tweak will win the arms race long-term, but it
  2449. buys us time until we roll out a better solution.
  2450. o Major bugfixes:
  2451. - Stop sending a CLOCK_SKEW controller status event whenever
  2452. we fetch directory information from a relay that has a wrong clock.
  2453. Instead, only inform the controller when it's a trusted authority
  2454. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  2455. the rest of bug 1074.
  2456. - Fix a bounds-checking error that could allow an attacker to
  2457. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  2458. Found by "piebeer".
  2459. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  2460. Tor would ignore their RelayBandwidthBurst setting,
  2461. potentially using more bandwidth than expected. Bugfix on
  2462. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  2463. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  2464. hidserv" in her torrc. The 'hidserv' argument never controlled
  2465. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  2466. o Minor features:
  2467. - Adjust our TLS Diffie-Hellman parameters to match those used by
  2468. Apache's mod_ssl.
  2469. - Update to the February 1 2011 Maxmind GeoLite Country database.
  2470. o Minor bugfixes:
  2471. - Check for and reject overly long directory certificates and
  2472. directory tokens before they have a chance to hit any assertions.
  2473. Bugfix on 0.2.1.28. Found by "doorss".
  2474. - Bring the logic that gathers routerinfos and assesses the
  2475. acceptability of circuits into line. This prevents a Tor OP from
  2476. getting locked in a cycle of choosing its local OR as an exit for a
  2477. path (due to a .exit request) and then rejecting the circuit because
  2478. its OR is not listed yet. It also prevents Tor clients from using an
  2479. OR running in the same instance as an exit (due to a .exit request)
  2480. if the OR does not meet the same requirements expected of an OR
  2481. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  2482. o Packaging changes:
  2483. - Stop shipping the Tor specs files and development proposal documents
  2484. in the tarball. They are now in a separate git repository at
  2485. git://git.torproject.org/torspec.git
  2486. - Do not include Git version tags as though they are SVN tags when
  2487. generating a tarball from inside a repository that has switched
  2488. between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  2489. Changes in version 0.2.2.22-alpha - 2011-01-25
  2490. Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
  2491. main other change is a slight tweak to Tor's TLS handshake that makes
  2492. relays and bridges that run this new version reachable from Iran again.
  2493. We don't expect this tweak will win the arms race long-term, but it
  2494. will buy us a bit more time until we roll out a better solution.
  2495. o Major bugfixes:
  2496. - Fix a bounds-checking error that could allow an attacker to
  2497. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  2498. Found by "piebeer".
  2499. - Don't assert when changing from bridge to relay or vice versa
  2500. via the controller. The assert happened because we didn't properly
  2501. initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
  2502. bug 2433. Reported by bastik.
  2503. o Minor features:
  2504. - Adjust our TLS Diffie-Hellman parameters to match those used by
  2505. Apache's mod_ssl.
  2506. - Provide a log message stating which geoip file we're parsing
  2507. instead of just stating that we're parsing the geoip file.
  2508. Implements ticket 2432.
  2509. o Minor bugfixes:
  2510. - Check for and reject overly long directory certificates and
  2511. directory tokens before they have a chance to hit any assertions.
  2512. Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
  2513. Changes in version 0.2.2.21-alpha - 2011-01-15
  2514. Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
  2515. continues our recent code security audit work. The main fix resolves
  2516. a remote heap overflow vulnerability that can allow remote code
  2517. execution (CVE-2011-0427). Other fixes address a variety of assert
  2518. and crash bugs, most of which we think are hard to exploit remotely.
  2519. o Major bugfixes (security), also included in 0.2.1.29:
  2520. - Fix a heap overflow bug where an adversary could cause heap
  2521. corruption. This bug probably allows remote code execution
  2522. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  2523. 0.1.2.10-rc.
  2524. - Prevent a denial-of-service attack by disallowing any
  2525. zlib-compressed data whose compression factor is implausibly
  2526. high. Fixes part of bug 2324; reported by "doorss".
  2527. - Zero out a few more keys in memory before freeing them. Fixes
  2528. bug 2384 and part of bug 2385. These key instances found by
  2529. "cypherpunks", based on Andrew Case's report about being able
  2530. to find sensitive data in Tor's memory space if you have enough
  2531. permissions. Bugfix on 0.0.2pre9.
  2532. o Major bugfixes (crashes), also included in 0.2.1.29:
  2533. - Prevent calls to Libevent from inside Libevent log handlers.
  2534. This had potential to cause a nasty set of crashes, especially
  2535. if running Libevent with debug logging enabled, and running
  2536. Tor with a controller watching for low-severity log messages.
  2537. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  2538. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  2539. underflow errors there too. Fixes the other part of bug 2324.
  2540. - Fix a bug where we would assert if we ever had a
  2541. cached-descriptors.new file (or another file read directly into
  2542. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  2543. on 0.2.1.25. Found by doorss.
  2544. - Fix some potential asserts and parsing issues with grossly
  2545. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  2546. Found by doorss.
  2547. o Minor bugfixes (other), also included in 0.2.1.29:
  2548. - Fix a bug with handling misformed replies to reverse DNS lookup
  2549. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  2550. bug reported by doorss.
  2551. - Fix compilation on mingw when a pthreads compatibility library
  2552. has been installed. (We don't want to use it, so we shouldn't
  2553. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  2554. - Fix a bug where we would declare that we had run out of virtual
  2555. addresses when the address space was only half-exhausted. Bugfix
  2556. on 0.1.2.1-alpha.
  2557. - Correctly handle the case where AutomapHostsOnResolve is set but
  2558. no virtual addresses are available. Fixes bug 2328; bugfix on
  2559. 0.1.2.1-alpha. Bug found by doorss.
  2560. - Correctly handle wrapping around when we run out of virtual
  2561. address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
  2562. o Minor features, also included in 0.2.1.29:
  2563. - Update to the January 1 2011 Maxmind GeoLite Country database.
  2564. - Introduce output size checks on all of our decryption functions.
  2565. o Build changes, also included in 0.2.1.29:
  2566. - Tor does not build packages correctly with Automake 1.6 and earlier;
  2567. added a check to Makefile.am to make sure that we're building with
  2568. Automake 1.7 or later.
  2569. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  2570. because we built it with a too-old version of automake. Thus that
  2571. release broke ./configure --enable-openbsd-malloc, which is popular
  2572. among really fast exit relays on Linux.
  2573. o Major bugfixes, new in 0.2.2.21-alpha:
  2574. - Prevent crash/heap corruption when the cbtnummodes consensus
  2575. parameter is set to 0 or large values. Fixes bug 2317; bugfix
  2576. on 0.2.2.14-alpha.
  2577. o Major features, new in 0.2.2.21-alpha:
  2578. - Introduce minimum/maximum values that clients will believe
  2579. from the consensus. Now we'll have a better chance to avoid crashes
  2580. or worse when a consensus param has a weird value.
  2581. o Minor features, new in 0.2.2.21-alpha:
  2582. - Make sure to disable DirPort if running as a bridge. DirPorts aren't
  2583. used on bridges, and it makes bridge scanning somewhat easier.
  2584. - If writing the state file to disk fails, wait up to an hour before
  2585. retrying again, rather than trying again each second. Fixes bug
  2586. 2346; bugfix on Tor 0.1.1.3-alpha.
  2587. - Make Libevent log messages get delivered to controllers later,
  2588. and not from inside the Libevent log handler. This prevents unsafe
  2589. reentrant Libevent calls while still letting the log messages
  2590. get through.
  2591. - Detect platforms that brokenly use a signed size_t, and refuse to
  2592. build there. Found and analyzed by doorss and rransom.
  2593. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
  2594. Resolves bug 2314.
  2595. o Minor bugfixes, new in 0.2.2.21-alpha:
  2596. - Handle SOCKS messages longer than 128 bytes long correctly, rather
  2597. than waiting forever for them to finish. Fixes bug 2330; bugfix
  2598. on 0.2.0.16-alpha. Found by doorss.
  2599. - Add assertions to check for overflow in arguments to
  2600. base32_encode() and base32_decode(); fix a signed-unsigned
  2601. comparison there too. These bugs are not actually reachable in Tor,
  2602. but it's good to prevent future errors too. Found by doorss.
  2603. - Correctly detect failures to create DNS requests when using Libevent
  2604. versions before v2. (Before Libevent 2, we used our own evdns
  2605. implementation. Its return values for Libevent's evdns_resolve_*()
  2606. functions are not consistent with those from Libevent.) Fixes bug
  2607. 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
  2608. o Documentation, new in 0.2.2.21-alpha:
  2609. - Document the default socks host and port (127.0.0.1:9050) for
  2610. tor-resolve.
  2611. Changes in version 0.2.1.29 - 2011-01-15
  2612. Tor 0.2.1.29 continues our recent code security audit work. The main
  2613. fix resolves a remote heap overflow vulnerability that can allow remote
  2614. code execution. Other fixes address a variety of assert and crash bugs,
  2615. most of which we think are hard to exploit remotely.
  2616. o Major bugfixes (security):
  2617. - Fix a heap overflow bug where an adversary could cause heap
  2618. corruption. This bug probably allows remote code execution
  2619. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  2620. 0.1.2.10-rc.
  2621. - Prevent a denial-of-service attack by disallowing any
  2622. zlib-compressed data whose compression factor is implausibly
  2623. high. Fixes part of bug 2324; reported by "doorss".
  2624. - Zero out a few more keys in memory before freeing them. Fixes
  2625. bug 2384 and part of bug 2385. These key instances found by
  2626. "cypherpunks", based on Andrew Case's report about being able
  2627. to find sensitive data in Tor's memory space if you have enough
  2628. permissions. Bugfix on 0.0.2pre9.
  2629. o Major bugfixes (crashes):
  2630. - Prevent calls to Libevent from inside Libevent log handlers.
  2631. This had potential to cause a nasty set of crashes, especially
  2632. if running Libevent with debug logging enabled, and running
  2633. Tor with a controller watching for low-severity log messages.
  2634. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  2635. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  2636. underflow errors there too. Fixes the other part of bug 2324.
  2637. - Fix a bug where we would assert if we ever had a
  2638. cached-descriptors.new file (or another file read directly into
  2639. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  2640. on 0.2.1.25. Found by doorss.
  2641. - Fix some potential asserts and parsing issues with grossly
  2642. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  2643. Found by doorss.
  2644. o Minor bugfixes (other):
  2645. - Fix a bug with handling misformed replies to reverse DNS lookup
  2646. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  2647. bug reported by doorss.
  2648. - Fix compilation on mingw when a pthreads compatibility library
  2649. has been installed. (We don't want to use it, so we shouldn't
  2650. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  2651. - Fix a bug where we would declare that we had run out of virtual
  2652. addresses when the address space was only half-exhausted. Bugfix
  2653. on 0.1.2.1-alpha.
  2654. - Correctly handle the case where AutomapHostsOnResolve is set but
  2655. no virtual addresses are available. Fixes bug 2328; bugfix on
  2656. 0.1.2.1-alpha. Bug found by doorss.
  2657. - Correctly handle wrapping around to when we run out of virtual
  2658. address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
  2659. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  2660. because we built it with a too-old version of automake. Thus that
  2661. release broke ./configure --enable-openbsd-malloc, which is popular
  2662. among really fast exit relays on Linux.
  2663. o Minor features:
  2664. - Update to the January 1 2011 Maxmind GeoLite Country database.
  2665. - Introduce output size checks on all of our decryption functions.
  2666. o Build changes:
  2667. - Tor does not build packages correctly with Automake 1.6 and earlier;
  2668. added a check to Makefile.am to make sure that we're building with
  2669. Automake 1.7 or later.
  2670. Changes in version 0.2.2.20-alpha - 2010-12-17
  2671. Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
  2672. exploitable bugs. We also fix a variety of other significant bugs,
  2673. change the IP address for one of our directory authorities, and update
  2674. the minimum version that Tor relays must run to join the network.
  2675. o Major bugfixes:
  2676. - Fix a remotely exploitable bug that could be used to crash instances
  2677. of Tor remotely by overflowing on the heap. Remote-code execution
  2678. hasn't been confirmed, but can't be ruled out. Everyone should
  2679. upgrade. Bugfix on the 0.1.1 series and later.
  2680. - Fix a bug that could break accounting on 64-bit systems with large
  2681. time_t values, making them hibernate for impossibly long intervals.
  2682. Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
  2683. - Fix a logic error in directory_fetches_from_authorities() that
  2684. would cause all _non_-exits refusing single-hop-like circuits
  2685. to fetch from authorities, when we wanted to have _exits_ fetch
  2686. from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
  2687. fix by boboper.
  2688. - Fix a stream fairness bug that would cause newer streams on a given
  2689. circuit to get preference when reading bytes from the origin or
  2690. destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
  2691. introduced before the first Tor release, in svn revision r152.
  2692. o Directory authority changes:
  2693. - Change IP address and ports for gabelmoo (v3 directory authority).
  2694. o Minor bugfixes:
  2695. - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
  2696. Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
  2697. - Fix an off-by-one error in calculating some controller command
  2698. argument lengths. Fortunately, this mistake is harmless since
  2699. the controller code does redundant NUL termination too. Found by
  2700. boboper. Bugfix on 0.1.1.1-alpha.
  2701. - Do not dereference NULL if a bridge fails to build its
  2702. extra-info descriptor. Found by an anonymous commenter on
  2703. Trac. Bugfix on 0.2.2.19-alpha.
  2704. o Minor features:
  2705. - Update to the December 1 2010 Maxmind GeoLite Country database.
  2706. - Directory authorities now reject relays running any versions of
  2707. Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
  2708. known bugs that keep RELAY_EARLY cells from working on rendezvous
  2709. circuits. Followup to fix for bug 2081.
  2710. - Directory authorities now reject relays running any version of Tor
  2711. older than 0.2.0.26-rc. That version is the earliest that fetches
  2712. current directory information correctly. Fixes bug 2156.
  2713. - Report only the top 10 ports in exit-port stats in order not to
  2714. exceed the maximum extra-info descriptor length of 50 KB. Implements
  2715. task 2196.
  2716. Changes in version 0.2.1.28 - 2010-12-17
  2717. Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
  2718. exploitable bugs. We also took this opportunity to change the IP address
  2719. for one of our directory authorities, and to update the geoip database
  2720. we ship.
  2721. o Major bugfixes:
  2722. - Fix a remotely exploitable bug that could be used to crash instances
  2723. of Tor remotely by overflowing on the heap. Remote-code execution
  2724. hasn't been confirmed, but can't be ruled out. Everyone should
  2725. upgrade. Bugfix on the 0.1.1 series and later.
  2726. o Directory authority changes:
  2727. - Change IP address and ports for gabelmoo (v3 directory authority).
  2728. o Minor features:
  2729. - Update to the December 1 2010 Maxmind GeoLite Country database.
  2730. Changes in version 0.2.1.27 - 2010-11-23
  2731. Yet another OpenSSL security patch broke its compatibility with Tor:
  2732. Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
  2733. also took this opportunity to fix several crash bugs, integrate a new
  2734. directory authority, and update the bundled GeoIP database.
  2735. o Major bugfixes:
  2736. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  2737. No longer set the tlsext_host_name extension on server SSL objects;
  2738. but continue to set it on client SSL objects. Our goal in setting
  2739. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  2740. bugfix on 0.2.1.1-alpha.
  2741. - Do not log messages to the controller while shrinking buffer
  2742. freelists. Doing so would sometimes make the controller connection
  2743. try to allocate a buffer chunk, which would mess up the internals
  2744. of the freelist and cause an assertion failure. Fixes bug 1125;
  2745. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  2746. - Learn our external IP address when we're a relay or bridge, even if
  2747. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  2748. where we introduced bridge relays that don't need to publish to
  2749. be useful. Fixes bug 2050.
  2750. - Do even more to reject (and not just ignore) annotations on
  2751. router descriptors received anywhere but from the cache. Previously
  2752. we would ignore such annotations at first, but cache them to disk
  2753. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  2754. - When you're using bridges and your network goes away and your
  2755. bridges get marked as down, recover when you attempt a new socks
  2756. connection (if the network is back), rather than waiting up to an
  2757. hour to try fetching new descriptors for your bridges. Bugfix on
  2758. 0.2.0.3-alpha; fixes bug 1981.
  2759. o Major features:
  2760. - Move to the November 2010 Maxmind GeoLite country db (rather
  2761. than the June 2009 ip-to-country GeoIP db) for our statistics that
  2762. count how many users relays are seeing from each country. Now we'll
  2763. have more accurate data, especially for many African countries.
  2764. o New directory authorities:
  2765. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  2766. authority.
  2767. o Minor bugfixes:
  2768. - Fix an assertion failure that could occur in directory caches or
  2769. bridge users when using a very short voting interval on a testing
  2770. network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
  2771. 0.2.0.8-alpha.
  2772. - Enforce multiplicity rules when parsing annotations. Bugfix on
  2773. 0.2.0.8-alpha. Found by piebeer.
  2774. - Allow handshaking OR connections to take a full KeepalivePeriod
  2775. seconds to handshake. Previously, we would close them after
  2776. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  2777. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  2778. for analysis help.
  2779. - When building with --enable-gcc-warnings on OpenBSD, disable
  2780. warnings in system headers. This makes --enable-gcc-warnings
  2781. pass on OpenBSD 4.8.
  2782. o Minor features:
  2783. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  2784. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  2785. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  2786. Servers can start sending this code when enough clients recognize
  2787. it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
  2788. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  2789. Patch from mingw-san.
  2790. o Removed files:
  2791. - Remove the old debian/ directory from the main Tor distribution.
  2792. The official Tor-for-debian git repository lives at the URL
  2793. https://git.torproject.org/debian/tor.git
  2794. - Stop shipping the old doc/website/ directory in the tarball. We
  2795. changed the website format in late 2010, and what we shipped in
  2796. 0.2.1.26 really wasn't that useful anyway.
  2797. Changes in version 0.2.2.19-alpha - 2010-11-22
  2798. Yet another OpenSSL security patch broke its compatibility with Tor:
  2799. Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
  2800. o Major bugfixes:
  2801. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  2802. No longer set the tlsext_host_name extension on server SSL objects;
  2803. but continue to set it on client SSL objects. Our goal in setting
  2804. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  2805. bugfix on 0.2.1.1-alpha.
  2806. o Minor bugfixes:
  2807. - Try harder not to exceed the maximum length of 50 KB when writing
  2808. statistics to extra-info descriptors. This bug was triggered by very
  2809. fast relays reporting exit-port, entry, and dirreq statistics.
  2810. Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
  2811. - Publish a router descriptor even if generating an extra-info
  2812. descriptor fails. Previously we would not publish a router
  2813. descriptor without an extra-info descriptor; this can cause fast
  2814. exit relays collecting exit-port statistics to drop from the
  2815. consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
  2816. Changes in version 0.2.2.18-alpha - 2010-11-16
  2817. Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
  2818. us lately, makes unpublished bridge relays able to detect their IP
  2819. address, and fixes a wide variety of other bugs to get us much closer
  2820. to a stable release.
  2821. o Major bugfixes:
  2822. - Do even more to reject (and not just ignore) annotations on
  2823. router descriptors received anywhere but from the cache. Previously
  2824. we would ignore such annotations at first, but cache them to disk
  2825. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  2826. - Do not log messages to the controller while shrinking buffer
  2827. freelists. Doing so would sometimes make the controller connection
  2828. try to allocate a buffer chunk, which would mess up the internals
  2829. of the freelist and cause an assertion failure. Fixes bug 1125;
  2830. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  2831. - Learn our external IP address when we're a relay or bridge, even if
  2832. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  2833. where we introduced bridge relays that don't need to publish to
  2834. be useful. Fixes bug 2050.
  2835. - Maintain separate TLS contexts and certificates for incoming and
  2836. outgoing connections in bridge relays. Previously we would use the
  2837. same TLS contexts and certs for incoming and outgoing connections.
  2838. Bugfix on 0.2.0.3-alpha; addresses bug 988.
  2839. - Maintain separate identity keys for incoming and outgoing TLS
  2840. contexts in bridge relays. Previously we would use the same
  2841. identity keys for incoming and outgoing TLS contexts. Bugfix on
  2842. 0.2.0.3-alpha; addresses the other half of bug 988.
  2843. - Avoid an assertion failure when we as an authority receive a
  2844. duplicate upload of a router descriptor that we already have,
  2845. but which we previously considered an obsolete descriptor.
  2846. Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
  2847. - Avoid a crash bug triggered by looking at a dangling pointer while
  2848. setting the network status consensus. Found by Robert Ransom.
  2849. Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
  2850. - Fix a logic error where servers that _didn't_ act as exits would
  2851. try to keep their server lists more aggressively up to date than
  2852. exits, when it was supposed to be the other way around. Bugfix
  2853. on 0.2.2.17-alpha.
  2854. o Minor bugfixes (on Tor 0.2.1.x and earlier):
  2855. - When we're trying to guess whether we know our IP address as
  2856. a relay, we would log various ways that we failed to guess
  2857. our address, but never log that we ended up guessing it
  2858. successfully. Now add a log line to help confused and anxious
  2859. relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
  2860. - Bring the logic that gathers routerinfos and assesses the
  2861. acceptability of circuits into line. This prevents a Tor OP from
  2862. getting locked in a cycle of choosing its local OR as an exit for a
  2863. path (due to a .exit request) and then rejecting the circuit because
  2864. its OR is not listed yet. It also prevents Tor clients from using an
  2865. OR running in the same instance as an exit (due to a .exit request)
  2866. if the OR does not meet the same requirements expected of an OR
  2867. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  2868. - Correctly describe errors that occur when generating a TLS object.
  2869. Previously we would attribute them to a failure while generating a
  2870. TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
  2871. bug 1994.
  2872. - Enforce multiplicity rules when parsing annotations. Bugfix on
  2873. 0.2.0.8-alpha. Found by piebeer.
  2874. - Fix warnings that newer versions of autoconf produced during
  2875. ./autogen.sh. These warnings appear to be harmless in our case,
  2876. but they were extremely verbose. Fixes bug 2020.
  2877. o Minor bugfixes (on Tor 0.2.2.x):
  2878. - Enable protection of small arrays whenever we build with gcc
  2879. hardening features, not only when also building with warnings
  2880. enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
  2881. o Minor features:
  2882. - Make hidden services work better in private Tor networks by not
  2883. requiring any uptime to join the hidden service descriptor
  2884. DHT. Implements ticket 2088.
  2885. - Rate-limit the "your application is giving Tor only an IP address"
  2886. warning. Addresses bug 2000; bugfix on 0.0.8pre2.
  2887. - When AllowSingleHopExits is set, print a warning to explain to the
  2888. relay operator why most clients are avoiding her relay.
  2889. - Update to the November 1 2010 Maxmind GeoLite Country database.
  2890. o Code simplifications and refactoring:
  2891. - When we fixed bug 1038 we had to put in a restriction not to send
  2892. RELAY_EARLY cells on rend circuits. This was necessary as long
  2893. as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
  2894. active. Now remove this obsolete check. Resolves bug 2081.
  2895. - Some options used different conventions for uppercasing of acronyms
  2896. when comparing manpage and source. Fix those in favor of the
  2897. manpage, as it makes sense to capitalize acronyms.
  2898. - Remove the torrc.complete file. It hasn't been kept up to date
  2899. and users will have better luck checking out the manpage.
  2900. - Remove the obsolete "NoPublish" option; it has been flagged
  2901. as obsolete and has produced a warning since 0.1.1.18-rc.
  2902. - Remove everything related to building the expert bundle for OS X.
  2903. It has confused many users, doesn't work right on OS X 10.6,
  2904. and is hard to get rid of once installed. Resolves bug 1274.
  2905. Changes in version 0.2.2.17-alpha - 2010-09-30
  2906. Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
  2907. to use one-hop circuits (which can put the exit relays at higher risk,
  2908. plus unbalance the network); fixes a big bug in bandwidth accounting
  2909. for relays that want to limit their monthly bandwidth use; fixes a
  2910. big pile of bugs in how clients tolerate temporary network failure;
  2911. and makes our adaptive circuit build timeout feature (which improves
  2912. client performance if your network is fast while not breaking things
  2913. if your network is slow) better handle bad networks.
  2914. o Major features:
  2915. - Exit relays now try harder to block exit attempts from unknown
  2916. relays, to make it harder for people to use them as one-hop proxies
  2917. a la tortunnel. Controlled by the refuseunknownexits consensus
  2918. parameter (currently enabled), or you can override it on your
  2919. relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
  2920. o Major bugfixes (0.2.1.x and earlier):
  2921. - Fix a bug in bandwidth accounting that could make us use twice
  2922. the intended bandwidth when our interval start changes due to
  2923. daylight saving time. Now we tolerate skew in stored vs computed
  2924. interval starts: if the start of the period changes by no more than
  2925. 50% of the period's duration, we remember bytes that we transferred
  2926. in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
  2927. - Always search the Windows system directory for system DLLs, and
  2928. nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
  2929. - When you're using bridges and your network goes away and your
  2930. bridges get marked as down, recover when you attempt a new socks
  2931. connection (if the network is back), rather than waiting up to an
  2932. hour to try fetching new descriptors for your bridges. Bugfix on
  2933. 0.2.0.3-alpha; fixes bug 1981.
  2934. o Major bugfixes (on 0.2.2.x):
  2935. - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
  2936. bug 1797.
  2937. - Fix a segfault that could happen when operating a bridge relay with
  2938. no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
  2939. - The consensus bandwidth-weights (used by clients to choose fast
  2940. relays) entered an unexpected edge case in September where
  2941. Exits were much scarcer than Guards, resulting in bad weight
  2942. recommendations. Now we compute them using new constraints that
  2943. should succeed in all cases. Also alter directory authorities to
  2944. not include the bandwidth-weights line if they fail to produce
  2945. valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
  2946. - When weighting bridges during path selection, we used to trust
  2947. the bandwidths they provided in their descriptor, only capping them
  2948. at 10MB/s. This turned out to be problematic for two reasons:
  2949. Bridges could claim to handle a lot more traffic then they
  2950. actually would, thus making more clients pick them and have a
  2951. pretty effective DoS attack. The other issue is that new bridges
  2952. that might not have a good estimate for their bw capacity yet
  2953. would not get used at all unless no other bridges are available
  2954. to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
  2955. o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
  2956. - Ignore cannibalized circuits when recording circuit build times.
  2957. This should provide for a minor performance improvement for hidden
  2958. service users using 0.2.2.14-alpha, and should remove two spurious
  2959. notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
  2960. - Simplify the logic that causes us to decide if the network is
  2961. unavailable for purposes of recording circuit build times. If we
  2962. receive no cells whatsoever for the entire duration of a circuit's
  2963. full measured lifetime, the network is probably down. Also ignore
  2964. one-hop directory fetching circuit timeouts when calculating our
  2965. circuit build times. These changes should hopefully reduce the
  2966. cases where we see ridiculous circuit build timeouts for people
  2967. with spotty wireless connections. Fixes part of bug 1772; bugfix
  2968. on 0.2.2.2-alpha.
  2969. - Prevent the circuit build timeout from becoming larger than
  2970. the maximum build time we have ever seen. Also, prevent the time
  2971. period for measurement circuits from becoming larger than twice that
  2972. value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
  2973. o Minor features:
  2974. - When we run out of directory information such that we can't build
  2975. circuits, but then get enough that we can build circuits, log when
  2976. we actually construct a circuit, so the user has a better chance of
  2977. knowing what's going on. Fixes bug 1362.
  2978. - Be more generous with how much bandwidth we'd use up (with
  2979. accounting enabled) before entering "soft hibernation". Previously,
  2980. we'd refuse new connections and circuits once we'd used up 95% of
  2981. our allotment. Now, we use up 95% of our allotment, AND make sure
  2982. that we have no more than 500MB (or 3 hours of expected traffic,
  2983. whichever is lower) remaining before we enter soft hibernation.
  2984. - If we've configured EntryNodes and our network goes away and/or all
  2985. our entrynodes get marked down, optimistically retry them all when
  2986. a new socks application request appears. Fixes bug 1882.
  2987. - Add some more defensive programming for architectures that can't
  2988. handle unaligned integer accesses. We don't know of any actual bugs
  2989. right now, but that's the best time to fix them. Fixes bug 1943.
  2990. - Support line continuations in the torrc config file. If a line
  2991. ends with a single backslash character, the newline is ignored, and
  2992. the configuration value is treated as continuing on the next line.
  2993. Resolves bug 1929.
  2994. o Minor bugfixes (on 0.2.1.x and earlier):
  2995. - For bandwidth accounting, calculate our expected bandwidth rate
  2996. based on the time during which we were active and not in
  2997. soft-hibernation during the last interval. Previously, we were
  2998. also considering the time spent in soft-hibernation. If this
  2999. was a long time, we would wind up underestimating our bandwidth
  3000. by a lot, and skewing our wakeup time towards the start of the
  3001. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
  3002. o Minor bugfixes (on 0.2.2.x):
  3003. - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
  3004. which were disabled by the circuit build timeout changes in
  3005. 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
  3006. - Make sure we don't warn about missing bandwidth weights when
  3007. choosing bridges or other relays not in the consensus. Bugfix on
  3008. 0.2.2.10-alpha; fixes bug 1805.
  3009. - In our logs, do not double-report signatures from unrecognized
  3010. authorities both as "from unknown authority" and "not
  3011. present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
  3012. Changes in version 0.2.2.16-alpha - 2010-09-17
  3013. Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
  3014. evident at exit relays), and also continues to resolve all the little
  3015. bugs that have been filling up trac lately.
  3016. o Major bugfixes (stream-level fairness):
  3017. - When receiving a circuit-level SENDME for a blocked circuit, try
  3018. to package cells fairly from all the streams that had previously
  3019. been blocked on that circuit. Previously, we had started with the
  3020. oldest stream, and allowed each stream to potentially exhaust
  3021. the circuit's package window. This gave older streams on any
  3022. given circuit priority over newer ones. Fixes bug 1937. Detected
  3023. originally by Camilo Viecco. This bug was introduced before the
  3024. first Tor release, in svn commit r152: it is the new winner of
  3025. the longest-lived bug prize.
  3026. - When the exit relay got a circuit-level sendme cell, it started
  3027. reading on the exit streams, even if had 500 cells queued in the
  3028. circuit queue already, so the circuit queue just grew and grew in
  3029. some cases. We fix this by not re-enabling reading on receipt of a
  3030. sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
  3031. on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
  3032. "yetonetime".
  3033. - Newly created streams were allowed to read cells onto circuits,
  3034. even if the circuit's cell queue was blocked and waiting to drain.
  3035. This created potential unfairness, as older streams would be
  3036. blocked, but newer streams would gladly fill the queue completely.
  3037. We add code to detect this situation and prevent any stream from
  3038. getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
  3039. fixes bug 1298.
  3040. o Minor features:
  3041. - Update to the September 1 2010 Maxmind GeoLite Country database.
  3042. - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
  3043. not. This would lead to a cookie that is still not group readable.
  3044. Closes bug 1843. Suggested by katmagic.
  3045. - When logging a rate-limited warning, we now mention how many messages
  3046. got suppressed since the last warning.
  3047. - Add new "perconnbwrate" and "perconnbwburst" consensus params to
  3048. do individual connection-level rate limiting of clients. The torrc
  3049. config options with the same names trump the consensus params, if
  3050. both are present. Replaces the old "bwconnrate" and "bwconnburst"
  3051. consensus params which were broken from 0.2.2.7-alpha through
  3052. 0.2.2.14-alpha. Closes bug 1947.
  3053. - When a router changes IP address or port, authorities now launch
  3054. a new reachability test for it. Implements ticket 1899.
  3055. - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
  3056. 2 no signature, 4 required" messages about consensus signatures
  3057. easier to read, and make sure they get logged at the same severity
  3058. as the messages explaining which keys are which. Fixes bug 1290.
  3059. - Don't warn when we have a consensus that we can't verify because
  3060. of missing certificates, unless those certificates are ones
  3061. that we have been trying and failing to download. Fixes bug 1145.
  3062. - If you configure your bridge with a known identity fingerprint,
  3063. and the bridge authority is unreachable (as it is in at least
  3064. one country now), fall back to directly requesting the descriptor
  3065. from the bridge. Finishes the feature started in 0.2.0.10-alpha;
  3066. closes bug 1138.
  3067. - When building with --enable-gcc-warnings on OpenBSD, disable
  3068. warnings in system headers. This makes --enable-gcc-warnings
  3069. pass on OpenBSD 4.8.
  3070. o Minor bugfixes (on 0.2.1.x and earlier):
  3071. - Authorities will now attempt to download consensuses if their
  3072. own efforts to make a live consensus have failed. This change
  3073. means authorities that restart will fetch a valid consensus, and
  3074. it means authorities that didn't agree with the current consensus
  3075. will still fetch and serve it if it has enough signatures. Bugfix
  3076. on 0.2.0.9-alpha; fixes bug 1300.
  3077. - Ensure DNS requests launched by "RESOLVE" commands from the
  3078. controller respect the __LeaveStreamsUnattached setconf options. The
  3079. same goes for requests launched via DNSPort or transparent
  3080. proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
  3081. - Allow handshaking OR connections to take a full KeepalivePeriod
  3082. seconds to handshake. Previously, we would close them after
  3083. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  3084. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  3085. for analysis help.
  3086. - Rate-limit "Failed to hand off onionskin" warnings.
  3087. - Never relay a cell for a circuit we have already destroyed.
  3088. Between marking a circuit as closeable and finally closing it,
  3089. it may have been possible for a few queued cells to get relayed,
  3090. even though they would have been immediately dropped by the next
  3091. OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
  3092. - Never queue a cell for a circuit that's already been marked
  3093. for close.
  3094. - Never vote for a server as "Running" if we have a descriptor for
  3095. it claiming to be hibernating, and that descriptor was published
  3096. more recently than our last contact with the server. Bugfix on
  3097. 0.2.0.3-alpha; fixes bug 911.
  3098. - Squash a compile warning on OpenBSD. Reported by Tas; fixes
  3099. bug 1848.
  3100. o Minor bugfixes (on 0.2.2.x):
  3101. - Fix a regression introduced in 0.2.2.7-alpha that marked relays
  3102. down if a directory fetch fails and you've configured either
  3103. bridges or EntryNodes. The intent was to mark the relay as down
  3104. _unless_ you're using bridges or EntryNodes, since if you are
  3105. then you could quickly run out of entry points.
  3106. - Fix the Windows directory-listing code. A bug introduced in
  3107. 0.2.2.14-alpha could make Windows directory servers forget to load
  3108. some of their cached v2 networkstatus files.
  3109. - Really allow clients to use relays as bridges. Fixes bug 1776;
  3110. bugfix on 0.2.2.15-alpha.
  3111. - Demote a warn to info that happens when the CellStatistics option
  3112. was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
  3113. Reported by Moritz Bartl.
  3114. - On Windows, build correctly either with or without Unicode support.
  3115. This is necessary so that Tor can support fringe platforms like
  3116. Windows 98 (which has no Unicode), or Windows CE (which has no
  3117. non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
  3118. o Testing
  3119. - Add a unit test for cross-platform directory-listing code.
  3120. Changes in version 0.2.2.15-alpha - 2010-08-18
  3121. Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
  3122. fixes a variety of other bugs that were preventing performance
  3123. experiments from moving forward, fixes several bothersome memory leaks,
  3124. and generally closes a lot of smaller bugs that have been filling up
  3125. trac lately.
  3126. o Major bugfixes:
  3127. - Stop assigning the HSDir flag to relays that disable their
  3128. DirPort (and thus will refuse to answer directory requests). This
  3129. fix should dramatically improve the reachability of hidden services:
  3130. hidden services and hidden service clients pick six HSDir relays
  3131. to store and retrieve the hidden service descriptor, and currently
  3132. about half of the HSDir relays will refuse to work. Bugfix on
  3133. 0.2.0.10-alpha; fixes part of bug 1693.
  3134. - The PerConnBWRate and Burst config options, along with the
  3135. bwconnrate and bwconnburst consensus params, initialized each conn's
  3136. token bucket values only when the connection is established. Now we
  3137. update them if the config options change, and update them every time
  3138. we get a new consensus. Otherwise we can encounter an ugly edge
  3139. case where we initialize an OR conn to client-level bandwidth,
  3140. but then later the relay joins the consensus and we leave it
  3141. throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
  3142. - Fix a regression that caused Tor to rebind its ports if it receives
  3143. SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
  3144. o Major features:
  3145. - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
  3146. should give us approximately 40-50% more Guard-flagged nodes,
  3147. improving the anonymity the Tor network can provide and also
  3148. decreasing the dropoff in throughput that relays experience when
  3149. they first get the Guard flag.
  3150. - Allow enabling or disabling the *Statistics config options while
  3151. Tor is running.
  3152. o Minor features:
  3153. - Update to the August 1 2010 Maxmind GeoLite Country database.
  3154. - Have the controller interface give a more useful message than
  3155. "Internal Error" in response to failed GETINFO requests.
  3156. - Warn when the same option is provided more than once in a torrc
  3157. file, on the command line, or in a single SETCONF statement, and
  3158. the option is one that only accepts a single line. Closes bug 1384.
  3159. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  3160. Patch from mingw-san.
  3161. - Add support for the country code "{??}" in torrc options like
  3162. ExcludeNodes, to indicate all routers of unknown country. Closes
  3163. bug 1094.
  3164. - Relays report the number of bytes spent on answering directory
  3165. requests in extra-info descriptors similar to {read,write}-history.
  3166. Implements enhancement 1790.
  3167. o Minor bugfixes (on 0.2.1.x and earlier):
  3168. - Complain if PublishServerDescriptor is given multiple arguments that
  3169. include 0 or 1. This configuration will be rejected in the future.
  3170. Bugfix on 0.2.0.1-alpha; closes bug 1107.
  3171. - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
  3172. Bugfix on 0.2.0.13-alpha; closes bug 928.
  3173. - Change "Application request when we're believed to be offline."
  3174. notice to "Application request when we haven't used client
  3175. functionality lately.", to clarify that it's not an error. Bugfix
  3176. on 0.0.9.3; fixes bug 1222.
  3177. - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
  3178. would return "551 Internal error" rather than "552 Unrecognized key
  3179. ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
  3180. - Users can't configure a regular relay to be their bridge. It didn't
  3181. work because when Tor fetched the bridge descriptor, it found
  3182. that it already had it, and didn't realize that the purpose of the
  3183. descriptor had changed. Now we replace routers with a purpose other
  3184. than bridge with bridge descriptors when fetching them. Bugfix on
  3185. 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
  3186. refetch the descriptor with router purpose 'general', disabling
  3187. it as a bridge.
  3188. - Fix a rare bug in rend_fn unit tests: we would fail a test when
  3189. a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
  3190. on 0.2.0.10-alpha; fixes bug 1808.
  3191. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  3192. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  3193. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  3194. Servers can start sending this code when enough clients recognize
  3195. it. Also update the spec to reflect this new reason. Bugfix on
  3196. 0.1.0.1-rc; fixes part of bug 1793.
  3197. - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
  3198. when we switch from being a public relay to a bridge. Otherwise
  3199. there will still be clients that see the relay in their consensus,
  3200. and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
  3201. 932 even more.
  3202. - Instead of giving an assertion failure on an internal mismatch
  3203. on estimated freelist size, just log a BUG warning and try later.
  3204. Mitigates but does not fix bug 1125.
  3205. - Fix an assertion failure that could occur in caches or bridge users
  3206. when using a very short voting interval on a testing network.
  3207. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
  3208. o Minor bugfixes (on 0.2.2.x):
  3209. - Alter directory authorities to always consider Exit-flagged nodes
  3210. as potential Guard nodes in their votes. The actual decision to
  3211. use Exits as Guards is done in the consensus bandwidth weights.
  3212. Fixes bug 1294; bugfix on 0.2.2.10-alpha.
  3213. - When the controller is reporting the purpose of circuits that
  3214. didn't finish building before the circuit build timeout, it was
  3215. printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
  3216. - Our libevent version parsing code couldn't handle versions like
  3217. 1.4.14b-stable and incorrectly warned the user about using an
  3218. old and broken version of libevent. Treat 1.4.14b-stable like
  3219. 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
  3220. on 0.2.2.1-alpha.
  3221. - Don't use substitution references like $(VAR:MOD) when
  3222. $(asciidoc_files) is empty -- make(1) on NetBSD transforms
  3223. '$(:x)' to 'x' rather than the empty string. This bites us in
  3224. doc/ when configured with --disable-asciidoc. Bugfix on
  3225. 0.2.2.9-alpha; fixes bug 1773.
  3226. - Remove a spurious hidden service server-side log notice about
  3227. "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
  3228. bug 1741.
  3229. - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
  3230. fixes bug 1832.
  3231. - Correctly report written bytes on linked connections. Found while
  3232. implementing 1790. Bugfix on 0.2.2.4-alpha.
  3233. - Fix three memory leaks: one in circuit_build_times_parse_state(),
  3234. one in dirvote_add_signatures_to_pending_consensus(), and one every
  3235. time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
  3236. 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
  3237. o Code simplifications and refactoring:
  3238. - Take a first step towards making or.h smaller by splitting out
  3239. function definitions for all source files in src/or/. Leave
  3240. structures and defines in or.h for now.
  3241. - Remove a bunch of unused function declarations as well as a block of
  3242. #if 0'd code from the unit tests. Closes bug 1824.
  3243. - New unit tests for exit-port history statistics; refactored exit
  3244. statistics code to be more easily tested.
  3245. - Remove the old debian/ directory from the main Tor distribution.
  3246. The official Tor-for-debian git repository lives at the URL
  3247. https://git.torproject.org/debian/tor.git
  3248. Changes in version 0.2.2.14-alpha - 2010-07-12
  3249. Tor 0.2.2.14-alpha greatly improves client-side handling of
  3250. circuit build timeouts, which are used to estimate speed and improve
  3251. performance. We also move to a much better GeoIP database, port Tor to
  3252. Windows CE, introduce new compile flags that improve code security,
  3253. add an eighth v3 directory authority, and address a lot of more
  3254. minor issues.
  3255. o Major bugfixes:
  3256. - Tor directory authorities no longer crash when started with a
  3257. cached-microdesc-consensus file in their data directory. Bugfix
  3258. on 0.2.2.6-alpha; fixes bug 1532.
  3259. - Treat an unset $HOME like an empty $HOME rather than triggering an
  3260. assert. Bugfix on 0.0.8pre1; fixes bug 1522.
  3261. - Ignore negative and large circuit build timeout values that can
  3262. happen during a suspend or hibernate. These values caused various
  3263. asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
  3264. - Alter calculation of Pareto distribution parameter 'Xm' for
  3265. Circuit Build Timeout learning to use the weighted average of the
  3266. top N=3 modes (because we have three entry guards). Considering
  3267. multiple modes should improve the timeout calculation in some cases,
  3268. and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
  3269. fixes bug 1335.
  3270. - Alter calculation of Pareto distribution parameter 'Alpha' to use a
  3271. right censored distribution model. This approach improves over the
  3272. synthetic timeout generation approach that was producing insanely
  3273. high timeout values. Now we calculate build timeouts using truncated
  3274. times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
  3275. - Do not close circuits that are under construction when they reach
  3276. the circuit build timeout. Instead, leave them building (but do not
  3277. use them) for up until the time corresponding to the 95th percentile
  3278. on the Pareto CDF or 60 seconds, whichever is greater. This is done
  3279. to provide better data for the new Pareto model. This percentile
  3280. can be controlled by the consensus.
  3281. o Major features:
  3282. - Move to the June 2010 Maxmind GeoLite country db (rather than the
  3283. June 2009 ip-to-country GeoIP db) for our statistics that count
  3284. how many users relays are seeing from each country. Now we have
  3285. more accurate data for many African countries.
  3286. - Port Tor to build and run correctly on Windows CE systems, using
  3287. the wcecompat library. Contributed by Valerio Lupi.
  3288. - New "--enable-gcc-hardening" ./configure flag (off by default)
  3289. to turn on gcc compile time hardening options. It ensures
  3290. that signed ints have defined behavior (-fwrapv), enables
  3291. -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
  3292. with canaries (-fstack-protector-all), turns on ASLR protection if
  3293. supported by the kernel (-fPIE, -pie), and adds additional security
  3294. related warnings. Verified to work on Mac OS X and Debian Lenny.
  3295. - New "--enable-linker-hardening" ./configure flag (off by default)
  3296. to turn on ELF specific hardening features (relro, now). This does
  3297. not work with Mac OS X or any other non-ELF binary format.
  3298. o New directory authorities:
  3299. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  3300. authority.
  3301. o Minor features:
  3302. - New config option "WarnUnsafeSocks 0" disables the warning that
  3303. occurs whenever Tor receives a socks handshake using a version of
  3304. the socks protocol that can only provide an IP address (rather
  3305. than a hostname). Setups that do DNS locally over Tor are fine,
  3306. and we shouldn't spam the logs in that case.
  3307. - Convert the HACKING file to asciidoc, and add a few new sections
  3308. to it, explaining how we use Git, how we make changelogs, and
  3309. what should go in a patch.
  3310. - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
  3311. event, to give information on the current rate of circuit timeouts
  3312. over our stored history.
  3313. - Add ability to disable circuit build time learning via consensus
  3314. parameter and via a LearnCircuitBuildTimeout config option. Also
  3315. automatically disable circuit build time calculation if we are
  3316. either a AuthoritativeDirectory, or if we fail to write our state
  3317. file. Fixes bug 1296.
  3318. - More gracefully handle corrupt state files, removing asserts
  3319. in favor of saving a backup and resetting state.
  3320. - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
  3321. system headers.
  3322. o Minor bugfixes:
  3323. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  3324. enabled.
  3325. - When a2x fails, mention that the user could disable manpages instead
  3326. of trying to fix their asciidoc installation.
  3327. - Where available, use Libevent 2.0's periodic timers so that our
  3328. once-per-second cleanup code gets called even more closely to
  3329. once per second than it would otherwise. Fixes bug 943.
  3330. - If you run a bridge that listens on multiple IP addresses, and
  3331. some user configures a bridge address that uses a different IP
  3332. address than your bridge writes in its router descriptor, and the
  3333. user doesn't specify an identity key, their Tor would discard the
  3334. descriptor because "it isn't one of our configured bridges", and
  3335. fail to bootstrap. Now believe the descriptor and bootstrap anyway.
  3336. Bugfix on 0.2.0.3-alpha.
  3337. - If OpenSSL fails to make a duplicate of a private or public key, log
  3338. an error message and try to exit cleanly. May help with debugging
  3339. if bug 1209 ever remanifests.
  3340. - Save a couple bytes in memory allocation every time we escape
  3341. certain characters in a string. Patch from Florian Zumbiehl.
  3342. - Make it explicit that we don't cannibalize one-hop circuits. This
  3343. happens in the wild, but doesn't turn out to be a problem because
  3344. we fortunately don't use those circuits. Many thanks to outofwords
  3345. for the initial analysis and to swissknife who confirmed that
  3346. two-hop circuits are actually created.
  3347. - Make directory mirrors report non-zero dirreq-v[23]-shares again.
  3348. Fixes bug 1564; bugfix on 0.2.2.9-alpha.
  3349. - Eliminate a case where a circuit build time warning was displayed
  3350. after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
  3351. Changes in version 0.2.1.26 - 2010-05-02
  3352. Tor 0.2.1.26 addresses the recent connection and memory overload
  3353. problems we've been seeing on relays, especially relays with their
  3354. DirPort open. If your relay has been crashing, or you turned it off
  3355. because it used too many resources, give this release a try.
  3356. This release also fixes yet another instance of broken OpenSSL libraries
  3357. that was causing some relays to drop out of the consensus.
  3358. o Major bugfixes:
  3359. - Teach relays to defend themselves from connection overload. Relays
  3360. now close idle circuits early if it looks like they were intended
  3361. for directory fetches. Relays are also more aggressive about closing
  3362. TLS connections that have no circuits on them. Such circuits are
  3363. unlikely to be re-used, and tens of thousands of them were piling
  3364. up at the fast relays, causing the relays to run out of sockets
  3365. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  3366. their directory fetches over TLS).
  3367. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  3368. that claim to be earlier than 0.9.8m, but which have in reality
  3369. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  3370. behavior. Possible fix for some cases of bug 1346.
  3371. - Directory mirrors were fetching relay descriptors only from v2
  3372. directory authorities, rather than v3 authorities like they should.
  3373. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  3374. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  3375. o Minor bugfixes:
  3376. - Finally get rid of the deprecated and now harmful notion of "clique
  3377. mode", where directory authorities maintain TLS connections to
  3378. every other relay.
  3379. o Testsuite fixes:
  3380. - In the util/threads test, no longer free the test_mutex before all
  3381. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  3382. - The master thread could starve the worker threads quite badly on
  3383. certain systems, causing them to run only partially in the allowed
  3384. window. This resulted in test failures. Now the master thread sleeps
  3385. occasionally for a few microseconds while the two worker-threads
  3386. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  3387. Changes in version 0.2.2.13-alpha - 2010-04-24
  3388. Tor 0.2.2.13-alpha addresses the recent connection and memory overload
  3389. problems we've been seeing on relays, especially relays with their
  3390. DirPort open. If your relay has been crashing, or you turned it off
  3391. because it used too many resources, give this release a try.
  3392. o Major bugfixes:
  3393. - Teach relays to defend themselves from connection overload. Relays
  3394. now close idle circuits early if it looks like they were intended
  3395. for directory fetches. Relays are also more aggressive about closing
  3396. TLS connections that have no circuits on them. Such circuits are
  3397. unlikely to be re-used, and tens of thousands of them were piling
  3398. up at the fast relays, causing the relays to run out of sockets
  3399. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  3400. their directory fetches over TLS).
  3401. o Minor features:
  3402. - Finally get rid of the deprecated and now harmful notion of "clique
  3403. mode", where directory authorities maintain TLS connections to
  3404. every other relay.
  3405. - Directory authorities now do an immediate reachability check as soon
  3406. as they hear about a new relay. This change should slightly reduce
  3407. the time between setting up a relay and getting listed as running
  3408. in the consensus. It should also improve the time between setting
  3409. up a bridge and seeing use by bridge users.
  3410. - Directory authorities no longer launch a TLS connection to every
  3411. relay as they startup. Now that we have 2k+ descriptors cached,
  3412. the resulting network hiccup is becoming a burden. Besides,
  3413. authorities already avoid voting about Running for the first half
  3414. hour of their uptime.
  3415. Changes in version 0.2.2.12-alpha - 2010-04-20
  3416. Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
  3417. handle and vote on descriptors. It was causing relays to drop out of
  3418. the consensus.
  3419. o Major bugfixes:
  3420. - Many relays have been falling out of the consensus lately because
  3421. not enough authorities know about their descriptor for them to get
  3422. a majority of votes. When we deprecated the v2 directory protocol,
  3423. we got rid of the only way that v3 authorities can hear from each
  3424. other about other descriptors. Now authorities examine every v3
  3425. vote for new descriptors, and fetch them from that authority. Bugfix
  3426. on 0.2.1.23.
  3427. - Fix two typos in tor_vasprintf() that broke the compile on Windows,
  3428. and a warning in or.h related to bandwidth_weight_rule_t that
  3429. prevented clean compile on OS X. Fixes bug 1363; bugfix on
  3430. 0.2.2.11-alpha.
  3431. - Fix a segfault on relays when DirReqStatistics is enabled
  3432. and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
  3433. 0.2.2.11-alpha.
  3434. o Minor bugfixes:
  3435. - Demote a confusing TLS warning that relay operators might get when
  3436. someone tries to talk to their OrPort. It is neither the operator's
  3437. fault nor can they do anything about it. Fixes bug 1364; bugfix
  3438. on 0.2.0.14-alpha.
  3439. Changes in version 0.2.2.11-alpha - 2010-04-15
  3440. Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
  3441. libraries that was causing some relays to drop out of the consensus.
  3442. o Major bugfixes:
  3443. - Directory mirrors were fetching relay descriptors only from v2
  3444. directory authorities, rather than v3 authorities like they should.
  3445. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  3446. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  3447. - Fix a parsing error that made every possible value of
  3448. CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
  3449. on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
  3450. CircuitPriorityHalflifeMsec, so authorities can tell newer relays
  3451. about the option without breaking older ones.
  3452. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  3453. that claim to be earlier than 0.9.8m, but which have in reality
  3454. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  3455. behavior. Possible fix for some cases of bug 1346.
  3456. o Minor features:
  3457. - Experiment with a more aggressive approach to preventing clients
  3458. from making one-hop exit streams. Exit relays who want to try it
  3459. out can set "RefuseUnknownExits 1" in their torrc, and then look
  3460. for "Attempt by %s to open a stream" log messages. Let us know
  3461. how it goes!
  3462. - Add support for statically linking zlib by specifying
  3463. --enable-static-zlib, to go with our support for statically linking
  3464. openssl and libevent. Resolves bug 1358.
  3465. o Minor bugfixes:
  3466. - Fix a segfault that happens whenever a Tor client that is using
  3467. libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
  3468. fixes bug 1341.
  3469. - When we cleaned up the contrib/tor-exit-notice.html file, we left
  3470. out the first line. Fixes bug 1295.
  3471. - When building the manpage from a tarball, we required asciidoc, but
  3472. the asciidoc -> roff/html conversion was already done for the
  3473. tarball. Make 'make' complain only when we need asciidoc (either
  3474. because we're compiling directly from git, or because we altered
  3475. the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
  3476. - When none of the directory authorities vote on any params, Tor
  3477. segfaulted when trying to make the consensus from the votes. We
  3478. didn't trigger the bug in practice, because authorities do include
  3479. params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
  3480. o Testsuite fixes:
  3481. - In the util/threads test, no longer free the test_mutex before all
  3482. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  3483. - The master thread could starve the worker threads quite badly on
  3484. certain systems, causing them to run only partially in the allowed
  3485. window. This resulted in test failures. Now the master thread sleeps
  3486. occasionally for a few microseconds while the two worker-threads
  3487. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  3488. Changes in version 0.2.2.10-alpha - 2010-03-07
  3489. Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
  3490. could prevent relays from guessing their IP address correctly. It also
  3491. starts the groundwork for another client-side performance boost, since
  3492. currently we're not making efficient use of relays that have both the
  3493. Guard flag and the Exit flag.
  3494. o Major bugfixes:
  3495. - Fix a regression from our patch for bug 1244 that caused relays
  3496. to guess their IP address incorrectly if they didn't set Address
  3497. in their torrc and/or their address fails to resolve. Bugfix on
  3498. 0.2.2.9-alpha; fixes bug 1269.
  3499. o Major features (performance):
  3500. - Directory authorities now compute consensus weightings that instruct
  3501. clients how to weight relays flagged as Guard, Exit, Guard+Exit,
  3502. and no flag. Clients that use these weightings will distribute
  3503. network load more evenly across these different relay types. The
  3504. weightings are in the consensus so we can change them globally in
  3505. the future. Extra thanks to "outofwords" for finding some nasty
  3506. security bugs in the first implementation of this feature.
  3507. o Minor features (performance):
  3508. - Always perform router selections using weighted relay bandwidth,
  3509. even if we don't need a high capacity circuit at the time. Non-fast
  3510. circuits now only differ from fast ones in that they can use relays
  3511. not marked with the Fast flag. This "feature" could turn out to
  3512. be a horrible bug; we should investigate more before it goes into
  3513. a stable release.
  3514. o Minor features:
  3515. - Allow disabling building of the manpages. Skipping the manpage
  3516. speeds up the build considerably.
  3517. o Minor bugfixes (on 0.2.2.x):
  3518. - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
  3519. Bugfix on 0.2.2.9-alpha.
  3520. - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
  3521. config option. Bugfix on 0.2.2.7-alpha.
  3522. - Ship the asciidoc-helper file in the tarball, so that people can
  3523. build from source if they want to, and touching the .1.txt files
  3524. doesn't break the build. Bugfix on 0.2.2.9-alpha.
  3525. o Minor bugfixes (on 0.2.1.x or earlier):
  3526. - Fix a dereference-then-NULL-check sequence when publishing
  3527. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  3528. bug 1255.
  3529. - Fix another dereference-then-NULL-check sequence. Bugfix on
  3530. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  3531. - Make sure we treat potentially not NUL-terminated strings correctly.
  3532. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  3533. o Code simplifications and refactoring:
  3534. - Fix some urls in the exit notice file and make it XHTML1.1 strict
  3535. compliant. Based on a patch from Christian Kujau.
  3536. - Don't use sed in asciidoc-helper anymore.
  3537. - Make the build process fail if asciidoc cannot be found and
  3538. building with asciidoc isn't disabled.
  3539. Changes in version 0.2.2.9-alpha - 2010-02-22
  3540. Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
  3541. location of a directory authority, and cleans up a bunch of small bugs.
  3542. o Directory authority changes:
  3543. - Change IP address for dannenberg (v3 directory authority), and
  3544. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  3545. service directory authority) from the list.
  3546. o Major bugfixes:
  3547. - Make Tor work again on the latest OS X: when deciding whether to
  3548. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  3549. version at run-time, not compile time. We need to do this because
  3550. Apple doesn't update its dev-tools headers when it updates its
  3551. libraries in a security patch.
  3552. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  3553. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  3554. a memory leak when requesting a hidden service descriptor we've
  3555. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  3556. by aakova.
  3557. - Authorities could be tricked into giving out the Exit flag to relays
  3558. that didn't allow exiting to any ports. This bug could screw
  3559. with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
  3560. 1238. Bug discovered by Martin Kowalczyk.
  3561. - When freeing a session key, zero it out completely. We only zeroed
  3562. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  3563. patched by ekir. Fixes bug 1254.
  3564. o Minor bugfixes:
  3565. - Fix static compilation by listing the openssl libraries in the right
  3566. order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
  3567. - Resume handling .exit hostnames in a special way: originally we
  3568. stripped the .exit part and used the requested exit relay. In
  3569. 0.2.2.1-alpha we stopped treating them in any special way, meaning
  3570. if you use a .exit address then Tor will pass it on to the exit
  3571. relay. Now we reject the .exit stream outright, since that behavior
  3572. might be more expected by the user. Found and diagnosed by Scott
  3573. Bennett and Downie on or-talk.
  3574. - Don't spam the controller with events when we have no file
  3575. descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
  3576. for log messages was already solved from bug 748.)
  3577. - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
  3578. "memcpyfail".
  3579. - Make the DNSPort option work with libevent 2.x. Don't alter the
  3580. behaviour for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
  3581. - Emit a GUARD DROPPED controller event for a case we missed.
  3582. - Make more fields in the controller protocol case-insensitive, since
  3583. control-spec.txt said they were.
  3584. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  3585. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  3586. - Fix a spec conformance issue: the network-status-version token
  3587. must be the first token in a v3 consensus or vote. Discovered by
  3588. parakeep. Bugfix on 0.2.0.3-alpha.
  3589. o Code simplifications and refactoring:
  3590. - Generate our manpage and HTML documentation using Asciidoc. This
  3591. change should make it easier to maintain the documentation, and
  3592. produce nicer HTML.
  3593. - Remove the --enable-iphone option. According to reports from Marco
  3594. Bonetti, Tor builds fine without any special tweaking on recent
  3595. iPhone SDK versions.
  3596. - Removed some unnecessary files from the source distribution. The
  3597. AUTHORS file has now been merged into the people page on the
  3598. website. The roadmaps and design doc can now be found in the
  3599. projects directory in svn.
  3600. - Enabled various circuit build timeout constants to be controlled
  3601. by consensus parameters. Also set better defaults for these
  3602. parameters based on experimentation on broadband and simulated
  3603. high latency links.
  3604. o Minor features:
  3605. - The 'EXTENDCIRCUIT' control port command can now be used with
  3606. a circ id of 0 and no path. This feature will cause Tor to build
  3607. a new 'fast' general purpose circuit using its own path selection
  3608. algorithms.
  3609. - Added a BUILDTIMEOUT_SET controller event to describe changes
  3610. to the circuit build timeout.
  3611. - Future-proof the controller protocol a bit by ignoring keyword
  3612. arguments we do not recognize.
  3613. - Expand homedirs passed to tor-checkkey. This should silence a
  3614. coverity complaint about passing a user-supplied string into
  3615. open() without checking it.
  3616. Changes in version 0.2.1.25 - 2010-03-16
  3617. Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
  3618. prevent relays from guessing their IP address correctly. It also fixes
  3619. several minor potential security bugs.
  3620. o Major bugfixes:
  3621. - Fix a regression from our patch for bug 1244 that caused relays
  3622. to guess their IP address incorrectly if they didn't set Address
  3623. in their torrc and/or their address fails to resolve. Bugfix on
  3624. 0.2.1.23; fixes bug 1269.
  3625. - When freeing a session key, zero it out completely. We only zeroed
  3626. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  3627. patched by ekir. Fixes bug 1254.
  3628. o Minor bugfixes:
  3629. - Fix a dereference-then-NULL-check sequence when publishing
  3630. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  3631. bug 1255.
  3632. - Fix another dereference-then-NULL-check sequence. Bugfix on
  3633. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  3634. - Make sure we treat potentially not NUL-terminated strings correctly.
  3635. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  3636. Changes in version 0.2.1.24 - 2010-02-21
  3637. Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  3638. for sure!
  3639. o Minor bugfixes:
  3640. - Work correctly out-of-the-box with even more vendor-patched versions
  3641. of OpenSSL. In particular, make it so Debian and OS X don't need
  3642. customized patches to run/build.
  3643. Changes in version 0.2.1.23 - 2010-02-13
  3644. Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  3645. again on the latest OS X, and updates the location of a directory
  3646. authority.
  3647. o Major bugfixes (performance):
  3648. - We were selecting our guards uniformly at random, and then weighting
  3649. which of our guards we'd use uniformly at random. This imbalance
  3650. meant that Tor clients were severely limited on throughput (and
  3651. probably latency too) by the first hop in their circuit. Now we
  3652. select guards weighted by currently advertised bandwidth. We also
  3653. automatically discard guards picked using the old algorithm. Fixes
  3654. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  3655. o Major bugfixes:
  3656. - Make Tor work again on the latest OS X: when deciding whether to
  3657. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  3658. version at run-time, not compile time. We need to do this because
  3659. Apple doesn't update its dev-tools headers when it updates its
  3660. libraries in a security patch.
  3661. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  3662. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  3663. a memory leak when requesting a hidden service descriptor we've
  3664. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  3665. by aakova.
  3666. o Directory authority changes:
  3667. - Change IP address for dannenberg (v3 directory authority), and
  3668. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  3669. service directory authority) from the list.
  3670. o Minor bugfixes:
  3671. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  3672. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  3673. o Minor features:
  3674. - Avoid a mad rush at the beginning of each month when each client
  3675. rotates half of its guards. Instead we spread the rotation out
  3676. throughout the month, but we still avoid leaving a precise timestamp
  3677. in the state file about when we first picked the guard. Improves
  3678. over the behavior introduced in 0.1.2.17.
  3679. Changes in version 0.2.2.8-alpha - 2010-01-26
  3680. Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
  3681. causing bridge relays to disappear. If you're running a bridge,
  3682. please upgrade.
  3683. o Major bugfixes:
  3684. - Fix a memory corruption bug on bridges that occured during the
  3685. inclusion of stats data in extra-info descriptors. Also fix the
  3686. interface for geoip_get_bridge_stats* to prevent similar bugs in
  3687. the future. Diagnosis by Tas, patch by Karsten and Sebastian.
  3688. Fixes bug 1208; bugfix on 0.2.2.7-alpha.
  3689. o Minor bugfixes:
  3690. - Ignore OutboundBindAddress when connecting to localhost.
  3691. Connections to localhost need to come _from_ localhost, or else
  3692. local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
  3693. refuse to listen.
  3694. Changes in version 0.2.2.7-alpha - 2010-01-19
  3695. Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
  3696. as laying the groundwork for further relay-side performance fixes. It
  3697. also starts cleaning up client behavior with respect to the EntryNodes,
  3698. ExitNodes, and StrictNodes config options.
  3699. This release also rotates two directory authority keys, due to a
  3700. security breach of some of the Torproject servers.
  3701. o Directory authority changes:
  3702. - Rotate keys (both v3 identity and relay identity) for moria1
  3703. and gabelmoo.
  3704. o Major features (performance):
  3705. - We were selecting our guards uniformly at random, and then weighting
  3706. which of our guards we'd use uniformly at random. This imbalance
  3707. meant that Tor clients were severely limited on throughput (and
  3708. probably latency too) by the first hop in their circuit. Now we
  3709. select guards weighted by currently advertised bandwidth. We also
  3710. automatically discard guards picked using the old algorithm. Fixes
  3711. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  3712. - When choosing which cells to relay first, relays can now favor
  3713. circuits that have been quiet recently, to provide lower latency
  3714. for low-volume circuits. By default, relays enable or disable this
  3715. feature based on a setting in the consensus. You can override
  3716. this default by using the new "CircuitPriorityHalflife" config
  3717. option. Design and code by Ian Goldberg, Can Tang, and Chris
  3718. Alexander.
  3719. - Add separate per-conn write limiting to go with the per-conn read
  3720. limiting. We added a global write limit in Tor 0.1.2.5-alpha,
  3721. but never per-conn write limits.
  3722. - New consensus params "bwconnrate" and "bwconnburst" to let us
  3723. rate-limit client connections as they enter the network. It's
  3724. controlled in the consensus so we can turn it on and off for
  3725. experiments. It's starting out off. Based on proposal 163.
  3726. o Major features (relay selection options):
  3727. - Switch to a StrictNodes config option, rather than the previous
  3728. "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
  3729. "StrictExcludeNodes" option.
  3730. - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
  3731. change during a config reload, mark and discard all our origin
  3732. circuits. This fix should address edge cases where we change the
  3733. config options and but then choose a circuit that we created before
  3734. the change.
  3735. - If EntryNodes or ExitNodes are set, be more willing to use an
  3736. unsuitable (e.g. slow or unstable) circuit. The user asked for it,
  3737. they get it.
  3738. - Make EntryNodes config option much more aggressive even when
  3739. StrictNodes is not set. Before it would prepend your requested
  3740. entrynodes to your list of guard nodes, but feel free to use others
  3741. after that. Now it chooses only from your EntryNodes if any of
  3742. those are available, and only falls back to others if a) they're
  3743. all down and b) StrictNodes is not set.
  3744. - Now we refresh your entry guards from EntryNodes at each consensus
  3745. fetch -- rather than just at startup and then they slowly rot as
  3746. the network changes.
  3747. o Major bugfixes:
  3748. - Stop bridge directory authorities from answering dbg-stability.txt
  3749. directory queries, which would let people fetch a list of all
  3750. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  3751. o Minor features:
  3752. - Log a notice when we get a new control connection. Now it's easier
  3753. for security-conscious users to recognize when a local application
  3754. is knocking on their controller door. Suggested by bug 1196.
  3755. - New config option "CircuitStreamTimeout" to override our internal
  3756. timeout schedule for how many seconds until we detach a stream from
  3757. a circuit and try a new circuit. If your network is particularly
  3758. slow, you might want to set this to a number like 60.
  3759. - New controller command "getinfo config-text". It returns the
  3760. contents that Tor would write if you send it a SAVECONF command,
  3761. so the controller can write the file to disk itself.
  3762. - New options for SafeLogging to allow scrubbing only log messages
  3763. generated while acting as a relay.
  3764. - Ship the bridges spec file in the tarball too.
  3765. - Avoid a mad rush at the beginning of each month when each client
  3766. rotates half of its guards. Instead we spread the rotation out
  3767. throughout the month, but we still avoid leaving a precise timestamp
  3768. in the state file about when we first picked the guard. Improves
  3769. over the behavior introduced in 0.1.2.17.
  3770. o Minor bugfixes (compiling):
  3771. - Fix compilation on OS X 10.3, which has a stub mlockall() but
  3772. hides it. Bugfix on 0.2.2.6-alpha.
  3773. - Fix compilation on Solaris by removing support for the
  3774. DisableAllSwap config option. Solaris doesn't have an rlimit for
  3775. mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
  3776. 0.2.2.6-alpha.
  3777. o Minor bugfixes (crashes):
  3778. - Do not segfault when writing buffer stats when we haven't observed
  3779. a single circuit to report about. Found by Fabian Lanze. Bugfix on
  3780. 0.2.2.1-alpha.
  3781. - If we're in the pathological case where there's no exit bandwidth
  3782. but there is non-exit bandwidth, or no guard bandwidth but there
  3783. is non-guard bandwidth, don't crash during path selection. Bugfix
  3784. on 0.2.0.3-alpha.
  3785. - Fix an impossible-to-actually-trigger buffer overflow in relay
  3786. descriptor generation. Bugfix on 0.1.0.15.
  3787. o Minor bugfixes (privacy):
  3788. - Fix an instance where a Tor directory mirror might accidentally
  3789. log the IP address of a misbehaving Tor client. Bugfix on
  3790. 0.1.0.1-rc.
  3791. - Don't list Windows capabilities in relay descriptors. We never made
  3792. use of them, and maybe it's a bad idea to publish them. Bugfix
  3793. on 0.1.1.8-alpha.
  3794. o Minor bugfixes (other):
  3795. - Resolve an edge case in path weighting that could make us misweight
  3796. our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
  3797. - Fix statistics on client numbers by country as seen by bridges that
  3798. were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
  3799. intervals instead of variable 12-to-48-hour intervals.
  3800. - After we free an internal connection structure, overwrite it
  3801. with a different memory value than we use for overwriting a freed
  3802. internal circuit structure. Should help with debugging. Suggested
  3803. by bug 1055.
  3804. - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
  3805. too.
  3806. o Removed features:
  3807. - Remove the HSAuthorityRecordStats option that version 0 hidden
  3808. service authorities could have used to track statistics of overall
  3809. hidden service usage.
  3810. Changes in version 0.2.1.22 - 2010-01-19
  3811. Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
  3812. authorities -- it would tell you its whole history of bridge descriptors
  3813. if you make the right directory request. This stable update also
  3814. rotates two of the seven v3 directory authority keys and locations.
  3815. o Directory authority changes:
  3816. - Rotate keys (both v3 identity and relay identity) for moria1
  3817. and gabelmoo.
  3818. o Major bugfixes:
  3819. - Stop bridge directory authorities from answering dbg-stability.txt
  3820. directory queries, which would let people fetch a list of all
  3821. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  3822. Changes in version 0.2.1.21 - 2009-12-21
  3823. Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
  3824. library. If you use Tor on Linux / Unix and you're getting SSL
  3825. renegotiation errors, upgrading should help. We also recommend an
  3826. upgrade if you're an exit relay.
  3827. o Major bugfixes:
  3828. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  3829. handshake from working unless we explicitly tell OpenSSL that we
  3830. are using SSL renegotiation safely. We are, of course, but OpenSSL
  3831. 0.9.8l won't work unless we say we are.
  3832. - Avoid crashing if the client is trying to upload many bytes and the
  3833. circuit gets torn down at the same time, or if the flip side
  3834. happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
  3835. o Minor bugfixes:
  3836. - Do not refuse to learn about authority certs and v2 networkstatus
  3837. documents that are older than the latest consensus. This bug might
  3838. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  3839. Spotted and fixed by xmux.
  3840. - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
  3841. trigger platform-specific option misparsing case found by Coverity
  3842. Scan.
  3843. - Fix a compilation warning on Fedora 12 by removing an impossible-to-
  3844. trigger assert. Fixes bug 1173.
  3845. Changes in version 0.2.2.6-alpha - 2009-11-19
  3846. Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
  3847. support for the new lower-footprint "microdescriptor" directory design,
  3848. future-proofing our consensus format against new hash functions or
  3849. other changes, and an Android port. It also makes Tor compatible with
  3850. the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
  3851. o Major features:
  3852. - Directory authorities can now create, vote on, and serve multiple
  3853. parallel formats of directory data as part of their voting process.
  3854. Partially implements Proposal 162: "Publish the consensus in
  3855. multiple flavors".
  3856. - Directory authorities can now agree on and publish small summaries
  3857. of router information that clients can use in place of regular
  3858. server descriptors. This transition will eventually allow clients
  3859. to use far less bandwidth for downloading information about the
  3860. network. Begins the implementation of Proposal 158: "Clients
  3861. download consensus + microdescriptors".
  3862. - The directory voting system is now extensible to use multiple hash
  3863. algorithms for signatures and resource selection. Newer formats
  3864. are signed with SHA256, with a possibility for moving to a better
  3865. hash algorithm in the future.
  3866. - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
  3867. current and future memory pages via mlockall(). On supported
  3868. platforms (modern Linux and probably BSD but not Windows or OS X),
  3869. this should effectively disable any and all attempts to page out
  3870. memory. This option requires that you start your Tor as root --
  3871. if you use DisableAllSwap, please consider using the User option
  3872. to properly reduce the privileges of your Tor.
  3873. - Numerous changes, bugfixes, and workarounds from Nathan Freitas
  3874. to help Tor build correctly for Android phones.
  3875. o Major bugfixes:
  3876. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  3877. handshake from working unless we explicitly tell OpenSSL that we
  3878. are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
  3879. won't work unless we say we are.
  3880. o Minor bugfixes:
  3881. - Fix a crash bug when trying to initialize the evdns module in
  3882. Libevent 2. Bugfix on 0.2.1.16-rc.
  3883. - Stop logging at severity 'warn' when some other Tor client tries
  3884. to establish a circuit with us using weak DH keys. It's a protocol
  3885. violation, but that doesn't mean ordinary users need to hear about
  3886. it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
  3887. - Do not refuse to learn about authority certs and v2 networkstatus
  3888. documents that are older than the latest consensus. This bug might
  3889. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  3890. Spotted and fixed by xmux.
  3891. - Fix numerous small code-flaws found by Coverity Scan Rung 3.
  3892. - If all authorities restart at once right before a consensus vote,
  3893. nobody will vote about "Running", and clients will get a consensus
  3894. with no usable relays. Instead, authorities refuse to build a
  3895. consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
  3896. - If your relay can't keep up with the number of incoming create
  3897. cells, it would log one warning per failure into your logs. Limit
  3898. warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
  3899. - Bridges now use "reject *:*" as their default exit policy. Bugfix
  3900. on 0.2.0.3-alpha; fixes bug 1113.
  3901. - Fix a memory leak on directory authorities during voting that was
  3902. introduced in 0.2.2.1-alpha. Found via valgrind.
  3903. Changes in version 0.2.1.20 - 2009-10-15
  3904. Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
  3905. services at once, prepares for more performance improvements, and
  3906. fixes a bunch of smaller bugs.
  3907. The Windows and OS X bundles also include a more recent Vidalia,
  3908. and switch from Privoxy to Polipo.
  3909. The OS X installers are now drag and drop. It's best to un-install
  3910. Tor/Vidalia and then install this new bundle, rather than upgrade. If
  3911. you want to upgrade, you'll need to update the paths for Tor and Polipo
  3912. in the Vidalia Settings window.
  3913. o Major bugfixes:
  3914. - Send circuit or stream sendme cells when our window has decreased
  3915. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  3916. by Karsten when testing the "reduce circuit window" performance
  3917. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  3918. before the release of Tor 0.0.0. This is the new winner of the
  3919. oldest-bug prize.
  3920. - Fix a remotely triggerable memory leak when a consensus document
  3921. contains more than one signature from the same voter. Bugfix on
  3922. 0.2.0.3-alpha.
  3923. - Avoid segfault in rare cases when finishing an introduction circuit
  3924. as a client and finding out that we don't have an introduction key
  3925. for it. Fixes bug 1073. Reported by Aaron Swartz.
  3926. o Major features:
  3927. - Tor now reads the "circwindow" parameter out of the consensus,
  3928. and uses that value for its circuit package window rather than the
  3929. default of 1000 cells. Begins the implementation of proposal 168.
  3930. o New directory authorities:
  3931. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  3932. authority.
  3933. - Move moria1 and tonga to alternate IP addresses.
  3934. o Minor bugfixes:
  3935. - Fix a signed/unsigned compile warning in 0.2.1.19.
  3936. - Fix possible segmentation fault on directory authorities. Bugfix on
  3937. 0.2.1.14-rc.
  3938. - Fix an extremely rare infinite recursion bug that could occur if
  3939. we tried to log a message after shutting down the log subsystem.
  3940. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  3941. - Fix an obscure bug where hidden services on 64-bit big-endian
  3942. systems might mis-read the timestamp in v3 introduce cells, and
  3943. refuse to connect back to the client. Discovered by "rotor".
  3944. Bugfix on 0.2.1.6-alpha.
  3945. - We were triggering a CLOCK_SKEW controller status event whenever
  3946. we connect via the v2 connection protocol to any relay that has
  3947. a wrong clock. Instead, we should only inform the controller when
  3948. it's a trusted authority that claims our clock is wrong. Bugfix
  3949. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  3950. - We were telling the controller about CHECKING_REACHABILITY and
  3951. REACHABILITY_FAILED status events whenever we launch a testing
  3952. circuit or notice that one has failed. Instead, only tell the
  3953. controller when we want to inform the user of overall success or
  3954. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  3955. by SwissTorExit.
  3956. - Don't warn when we're using a circuit that ends with a node
  3957. excluded in ExcludeExitNodes, but the circuit is not used to access
  3958. the outside world. This should help fix bug 1090. Bugfix on
  3959. 0.2.1.6-alpha.
  3960. - Work around a small memory leak in some versions of OpenSSL that
  3961. stopped the memory used by the hostname TLS extension from being
  3962. freed.
  3963. o Minor features:
  3964. - Add a "getinfo status/accepted-server-descriptor" controller
  3965. command, which is the recommended way for controllers to learn
  3966. whether our server descriptor has been successfully received by at
  3967. least on directory authority. Un-recommend good-server-descriptor
  3968. getinfo and status events until we have a better design for them.
  3969. Changes in version 0.2.2.5-alpha - 2009-10-11
  3970. Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
  3971. o Major bugfixes:
  3972. - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
  3973. o Directory authorities:
  3974. - Temporarily (just for this release) move dizum to an alternate
  3975. IP address.
  3976. Changes in version 0.2.2.4-alpha - 2009-10-10
  3977. Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
  3978. introduces a new unit test framework, shifts directry authority
  3979. addresses around to reduce the impact from recent blocking events,
  3980. and fixes a few smaller bugs.
  3981. o Major bugfixes:
  3982. - Fix several more asserts in the circuit_build_times code, for
  3983. example one that causes Tor to fail to start once we have
  3984. accumulated 5000 build times in the state file. Bugfixes on
  3985. 0.2.2.2-alpha; fixes bug 1108.
  3986. o New directory authorities:
  3987. - Move moria1 and Tonga to alternate IP addresses.
  3988. o Minor features:
  3989. - Log SSL state transitions at debug level during handshake, and
  3990. include SSL states in error messages. This may help debug future
  3991. SSL handshake issues.
  3992. - Add a new "Handshake" log domain for activities that happen
  3993. during the TLS handshake.
  3994. - Revert to the "June 3 2009" ip-to-country file. The September one
  3995. seems to have removed most US IP addresses.
  3996. - Directory authorities now reject Tor relays with versions less than
  3997. 0.1.2.14. This step cuts out four relays from the current network,
  3998. none of which are very big.
  3999. o Minor bugfixes:
  4000. - Fix a couple of smaller issues with gathering statistics. Bugfixes
  4001. on 0.2.2.1-alpha.
  4002. - Fix two memory leaks in the error case of
  4003. circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
  4004. - Don't count one-hop circuits when we're estimating how long it
  4005. takes circuits to build on average. Otherwise we'll set our circuit
  4006. build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
  4007. - Directory authorities no longer change their opinion of, or vote on,
  4008. whether a router is Running, unless they have themselves been
  4009. online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
  4010. Fixes bug 1023.
  4011. o Code simplifications and refactoring:
  4012. - Revise our unit tests to use the "tinytest" framework, so we
  4013. can run tests in their own processes, have smarter setup/teardown
  4014. code, and so on. The unit test code has moved to its own
  4015. subdirectory, and has been split into multiple modules.
  4016. Changes in version 0.2.2.3-alpha - 2009-09-23
  4017. Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
  4018. o Major bugfixes:
  4019. - Fix an overzealous assert in our new circuit build timeout code.
  4020. Bugfix on 0.2.2.2-alpha; fixes bug 1103.
  4021. o Minor bugfixes:
  4022. - If the networkstatus consensus tells us that we should use a
  4023. negative circuit package window, ignore it. Otherwise we'll
  4024. believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
  4025. Changes in version 0.2.2.2-alpha - 2009-09-21
  4026. Tor 0.2.2.2-alpha introduces our latest performance improvement for
  4027. clients: Tor tracks the average time it takes to build a circuit, and
  4028. avoids using circuits that take too long to build. For fast connections,
  4029. this feature can cut your expected latency in half. For slow or flaky
  4030. connections, it could ruin your Tor experience. Let us know if it does!
  4031. o Major features:
  4032. - Tor now tracks how long it takes to build client-side circuits
  4033. over time, and adapts its timeout to local network performance.
  4034. Since a circuit that takes a long time to build will also provide
  4035. bad performance, we get significant latency improvements by
  4036. discarding the slowest 20% of circuits. Specifically, Tor creates
  4037. circuits more aggressively than usual until it has enough data
  4038. points for a good timeout estimate. Implements proposal 151.
  4039. We are especially looking for reports (good and bad) from users with
  4040. both EDGE and broadband connections that can move from broadband
  4041. to EDGE and find out if the build-time data in the .tor/state gets
  4042. reset without loss of Tor usability. You should also see a notice
  4043. log message telling you that Tor has reset its timeout.
  4044. - Directory authorities can now vote on arbitary integer values as
  4045. part of the consensus process. This is designed to help set
  4046. network-wide parameters. Implements proposal 167.
  4047. - Tor now reads the "circwindow" parameter out of the consensus,
  4048. and uses that value for its circuit package window rather than the
  4049. default of 1000 cells. Begins the implementation of proposal 168.
  4050. o Major bugfixes:
  4051. - Fix a remotely triggerable memory leak when a consensus document
  4052. contains more than one signature from the same voter. Bugfix on
  4053. 0.2.0.3-alpha.
  4054. o Minor bugfixes:
  4055. - Fix an extremely rare infinite recursion bug that could occur if
  4056. we tried to log a message after shutting down the log subsystem.
  4057. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  4058. - Fix parsing for memory or time units given without a space between
  4059. the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
  4060. - A networkstatus vote must contain exactly one signature. Spec
  4061. conformance issue. Bugfix on 0.2.0.3-alpha.
  4062. - Fix an obscure bug where hidden services on 64-bit big-endian
  4063. systems might mis-read the timestamp in v3 introduce cells, and
  4064. refuse to connect back to the client. Discovered by "rotor".
  4065. Bugfix on 0.2.1.6-alpha.
  4066. - We were triggering a CLOCK_SKEW controller status event whenever
  4067. we connect via the v2 connection protocol to any relay that has
  4068. a wrong clock. Instead, we should only inform the controller when
  4069. it's a trusted authority that claims our clock is wrong. Bugfix
  4070. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  4071. - We were telling the controller about CHECKING_REACHABILITY and
  4072. REACHABILITY_FAILED status events whenever we launch a testing
  4073. circuit or notice that one has failed. Instead, only tell the
  4074. controller when we want to inform the user of overall success or
  4075. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  4076. by SwissTorExit.
  4077. - Don't warn when we're using a circuit that ends with a node
  4078. excluded in ExcludeExitNodes, but the circuit is not used to access
  4079. the outside world. This should help fix bug 1090, but more problems
  4080. remain. Bugfix on 0.2.1.6-alpha.
  4081. - Work around a small memory leak in some versions of OpenSSL that
  4082. stopped the memory used by the hostname TLS extension from being
  4083. freed.
  4084. - Make our 'torify' script more portable; if we have only one of
  4085. 'torsocks' or 'tsocks' installed, don't complain to the user;
  4086. and explain our warning about tsocks better.
  4087. o Minor features:
  4088. - Add a "getinfo status/accepted-server-descriptor" controller
  4089. command, which is the recommended way for controllers to learn
  4090. whether our server descriptor has been successfully received by at
  4091. least on directory authority. Un-recommend good-server-descriptor
  4092. getinfo and status events until we have a better design for them.
  4093. - Update to the "September 4 2009" ip-to-country file.
  4094. Changes in version 0.2.2.1-alpha - 2009-08-26
  4095. Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
  4096. Tor clients to bootstrap on networks where only port 80 is reachable,
  4097. makes it more straightforward to support hardware crypto accelerators,
  4098. and starts the groundwork for gathering stats safely at relays.
  4099. o Security fixes:
  4100. - Start the process of disabling ".exit" address notation, since it
  4101. can be used for a variety of esoteric application-level attacks
  4102. on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
  4103. on 0.0.9rc5.
  4104. o New directory authorities:
  4105. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  4106. authority.
  4107. o Major features:
  4108. - New AccelName and AccelDir options add support for dynamic OpenSSL
  4109. hardware crypto acceleration engines.
  4110. - Tor now supports tunneling all of its outgoing connections over
  4111. a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
  4112. configuration options. Code by Christopher Davis.
  4113. o Major bugfixes:
  4114. - Send circuit or stream sendme cells when our window has decreased
  4115. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  4116. by Karsten when testing the "reduce circuit window" performance
  4117. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  4118. before the release of Tor 0.0.0. This is the new winner of the
  4119. oldest-bug prize.
  4120. o New options for gathering stats safely:
  4121. - Directory mirrors that set "DirReqStatistics 1" write statistics
  4122. about directory requests to disk every 24 hours. As compared to the
  4123. --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
  4124. 1) stats are written to disk exactly every 24 hours; 2) estimated
  4125. shares of v2 and v3 requests are determined as mean values, not at
  4126. the end of a measurement period; 3) unresolved requests are listed
  4127. with country code '??'; 4) directories also measure download times.
  4128. - Exit nodes that set "ExitPortStatistics 1" write statistics on the
  4129. number of exit streams and transferred bytes per port to disk every
  4130. 24 hours.
  4131. - Relays that set "CellStatistics 1" write statistics on how long
  4132. cells spend in their circuit queues to disk every 24 hours.
  4133. - Entry nodes that set "EntryStatistics 1" write statistics on the
  4134. rough number and origins of connecting clients to disk every 24
  4135. hours.
  4136. - Relays that write any of the above statistics to disk and set
  4137. "ExtraInfoStatistics 1" include the past 24 hours of statistics in
  4138. their extra-info documents.
  4139. o Minor features:
  4140. - New --digests command-line switch to output the digests of the
  4141. source files Tor was built with.
  4142. - The "torify" script now uses torsocks where available.
  4143. - The memarea code now uses a sentinel value at the end of each area
  4144. to make sure nothing writes beyond the end of an area. This might
  4145. help debug some conceivable causes of bug 930.
  4146. - Time and memory units in the configuration file can now be set to
  4147. fractional units. For example, "2.5 GB" is now a valid value for
  4148. AccountingMax.
  4149. - Certain Tor clients (such as those behind check.torproject.org) may
  4150. want to fetch the consensus in an extra early manner. To enable this
  4151. a user may now set FetchDirInfoExtraEarly to 1. This also depends on
  4152. setting FetchDirInfoEarly to 1. Previous behavior will stay the same
  4153. as only certain clients who must have this information sooner should
  4154. set this option.
  4155. - Instead of adding the svn revision to the Tor version string, report
  4156. the git commit (when we're building from a git checkout).
  4157. o Minor bugfixes:
  4158. - If any of the v3 certs we download are unparseable, we should
  4159. actually notice the failure so we don't retry indefinitely. Bugfix
  4160. on 0.2.0.x; reported by "rotator".
  4161. - If the cached cert file is unparseable, warn but don't exit.
  4162. - Fix possible segmentation fault on directory authorities. Bugfix on
  4163. 0.2.1.14-rc.
  4164. - When Tor fails to parse a descriptor of any kind, dump it to disk.
  4165. Might help diagnosing bug 1051.
  4166. o Deprecated and removed features:
  4167. - The controller no longer accepts the old obsolete "addr-mappings/"
  4168. or "unregistered-servers-" GETINFO values.
  4169. - Hidden services no longer publish version 0 descriptors, and clients
  4170. do not request or use version 0 descriptors. However, the old hidden
  4171. service authorities still accept and serve version 0 descriptors
  4172. when contacted by older hidden services/clients.
  4173. - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
  4174. always on; using them is necessary for correct forward-compatible
  4175. controllers.
  4176. - Remove support for .noconnect style addresses. Nobody was using
  4177. them, and they provided another avenue for detecting Tor users
  4178. via application-level web tricks.
  4179. o Packaging changes:
  4180. - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
  4181. installer bundles. See
  4182. https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
  4183. for details of what's new in Vidalia 0.2.3.
  4184. - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
  4185. - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
  4186. configuration file, rather than the old Privoxy.
  4187. - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
  4188. x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
  4189. - OS X Tor Expert Bundle: Tor is compiled as x86-only for
  4190. better compatibility with OS X 10.6, aka Snow Leopard.
  4191. - OS X Vidalia Bundle: The multi-package installer is now replaced
  4192. by a simple drag and drop to the /Applications folder. This change
  4193. occurred with the upgrade to Vidalia 0.2.3.
  4194. Changes in version 0.2.1.19 - 2009-07-28
  4195. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
  4196. services on Tor 0.2.1.3-alpha through 0.2.1.18.
  4197. o Major bugfixes:
  4198. - Make accessing hidden services on 0.2.1.x work right again.
  4199. Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
  4200. part of patch provided by "optimist".
  4201. o Minor features:
  4202. - When a relay/bridge is writing out its identity key fingerprint to
  4203. the "fingerprint" file and to its logs, write it without spaces. Now
  4204. it will look like the fingerprints in our bridges documentation,
  4205. and confuse fewer users.
  4206. o Minor bugfixes:
  4207. - Relays no longer publish a new server descriptor if they change
  4208. their MaxAdvertisedBandwidth config option but it doesn't end up
  4209. changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
  4210. fixes bug 1026. Patch from Sebastian.
  4211. - Avoid leaking memory every time we get a create cell but we have
  4212. so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
  4213. fixes bug 1034. Reported by BarkerJr.
  4214. Changes in version 0.2.1.18 - 2009-07-24
  4215. Tor 0.2.1.18 lays the foundations for performance improvements,
  4216. adds status events to help users diagnose bootstrap problems, adds
  4217. optional authentication/authorization for hidden services, fixes a
  4218. variety of potential anonymity problems, and includes a huge pile of
  4219. other features and bug fixes.
  4220. o Build fixes:
  4221. - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
  4222. Changes in version 0.2.1.17-rc - 2009-07-07
  4223. Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
  4224. candidate for the 0.2.1.x series. It lays the groundwork for further
  4225. client performance improvements, and also fixes a big bug with directory
  4226. authorities that were causing them to assign Guard and Stable flags
  4227. poorly.
  4228. The Windows bundles also finally include the geoip database that we
  4229. thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
  4230. should actually install Torbutton rather than giving you a cryptic
  4231. failure message (oops).
  4232. o Major features:
  4233. - Clients now use the bandwidth values in the consensus, rather than
  4234. the bandwidth values in each relay descriptor. This approach opens
  4235. the door to more accurate bandwidth estimates once the directory
  4236. authorities start doing active measurements. Implements more of
  4237. proposal 141.
  4238. o Major bugfixes:
  4239. - When Tor clients restart after 1-5 days, they discard all their
  4240. cached descriptors as too old, but they still use the cached
  4241. consensus document. This approach is good for robustness, but
  4242. bad for performance: since they don't know any bandwidths, they
  4243. end up choosing at random rather than weighting their choice by
  4244. speed. Fixed by the above feature of putting bandwidths in the
  4245. consensus. Bugfix on 0.2.0.x.
  4246. - Directory authorities were neglecting to mark relays down in their
  4247. internal histories if the relays fall off the routerlist without
  4248. ever being found unreachable. So there were relays in the histories
  4249. that haven't been seen for eight months, and are listed as being
  4250. up for eight months. This wreaked havoc on the "median wfu"
  4251. and "median mtbf" calculations, in turn making Guard and Stable
  4252. flags very wrong, hurting network performance. Fixes bugs 696 and
  4253. 969. Bugfix on 0.2.0.6-alpha.
  4254. o Minor bugfixes:
  4255. - Serve the DirPortFrontPage page even when we have been approaching
  4256. our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
  4257. - The control port would close the connection before flushing long
  4258. replies, such as the network consensus, if a QUIT command was issued
  4259. before the reply had completed. Now, the control port flushes all
  4260. pending replies before closing the connection. Also fixed a spurious
  4261. warning when a QUIT command is issued after a malformed or rejected
  4262. AUTHENTICATE command, but before the connection was closed. Patch
  4263. by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
  4264. - When we can't find an intro key for a v2 hidden service descriptor,
  4265. fall back to the v0 hidden service descriptor and log a bug message.
  4266. Workaround for bug 1024.
  4267. - Fix a log message that did not respect the SafeLogging option.
  4268. Resolves bug 1027.
  4269. o Minor features:
  4270. - If we're a relay and we change our IP address, be more verbose
  4271. about the reason that made us change. Should help track down
  4272. further bugs for relays on dynamic IP addresses.
  4273. Changes in version 0.2.0.35 - 2009-06-24
  4274. o Security fix:
  4275. - Avoid crashing in the presence of certain malformed descriptors.
  4276. Found by lark, and by automated fuzzing.
  4277. - Fix an edge case where a malicious exit relay could convince a
  4278. controller that the client's DNS question resolves to an internal IP
  4279. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  4280. o Major bugfixes:
  4281. - Finally fix the bug where dynamic-IP relays disappear when their
  4282. IP address changes: directory mirrors were mistakenly telling
  4283. them their old address if they asked via begin_dir, so they
  4284. never got an accurate answer about their new address, so they
  4285. just vanished after a day. For belt-and-suspenders, relays that
  4286. don't set Address in their config now avoid using begin_dir for
  4287. all direct connections. Should fix bugs 827, 883, and 900.
  4288. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  4289. that would occur on some exit nodes when DNS failures and timeouts
  4290. occurred in certain patterns. Fix for bug 957.
  4291. o Minor bugfixes:
  4292. - When starting with a cache over a few days old, do not leak
  4293. memory for the obsolete router descriptors in it. Bugfix on
  4294. 0.2.0.33; fixes bug 672.
  4295. - Hidden service clients didn't use a cached service descriptor that
  4296. was older than 15 minutes, but wouldn't fetch a new one either,
  4297. because there was already one in the cache. Now, fetch a v2
  4298. descriptor unless the same descriptor was added to the cache within
  4299. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  4300. Changes in version 0.2.1.16-rc - 2009-06-20
  4301. Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
  4302. a bunch of minor bugs.
  4303. o Security fixes:
  4304. - Fix an edge case where a malicious exit relay could convince a
  4305. controller that the client's DNS question resolves to an internal IP
  4306. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  4307. o Major performance improvements (on 0.2.0.x):
  4308. - Disable and refactor some debugging checks that forced a linear scan
  4309. over the whole server-side DNS cache. These accounted for over 50%
  4310. of CPU time on a relatively busy exit node's gprof profile. Found
  4311. by Jacob.
  4312. - Disable some debugging checks that appeared in exit node profile
  4313. data.
  4314. o Minor features:
  4315. - Update to the "June 3 2009" ip-to-country file.
  4316. - Do not have tor-resolve automatically refuse all .onion addresses;
  4317. if AutomapHostsOnResolve is set in your torrc, this will work fine.
  4318. o Minor bugfixes (on 0.2.0.x):
  4319. - Log correct error messages for DNS-related network errors on
  4320. Windows.
  4321. - Fix a race condition that could cause crashes or memory corruption
  4322. when running as a server with a controller listening for log
  4323. messages.
  4324. - Avoid crashing when we have a policy specified in a DirPolicy or
  4325. SocksPolicy or ReachableAddresses option with ports set on it,
  4326. and we re-load the policy. May fix bug 996.
  4327. - Hidden service clients didn't use a cached service descriptor that
  4328. was older than 15 minutes, but wouldn't fetch a new one either,
  4329. because there was already one in the cache. Now, fetch a v2
  4330. descriptor unless the same descriptor was added to the cache within
  4331. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  4332. o Minor bugfixes (on 0.2.1.x):
  4333. - Don't warn users about low port and hibernation mix when they
  4334. provide a *ListenAddress directive to fix that. Bugfix on
  4335. 0.2.1.15-rc.
  4336. - When switching back and forth between bridge mode, do not start
  4337. gathering GeoIP data until two hours have passed.
  4338. - Do not complain that the user has requested an excluded node as
  4339. an exit when the node is not really an exit. This could happen
  4340. because the circuit was for testing, or an introduction point.
  4341. Fix for bug 984.
  4342. Changes in version 0.2.1.15-rc - 2009-05-25
  4343. Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
  4344. series. It fixes a major bug on fast exit relays, as well as a variety
  4345. of more minor bugs.
  4346. o Major bugfixes (on 0.2.0.x):
  4347. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  4348. that would occur on some exit nodes when DNS failures and timeouts
  4349. occurred in certain patterns. Fix for bug 957.
  4350. o Minor bugfixes (on 0.2.0.x):
  4351. - Actually return -1 in the error case for read_bandwidth_usage().
  4352. Harmless bug, since we currently don't care about the return value
  4353. anywhere. Bugfix on 0.2.0.9-alpha.
  4354. - Provide a more useful log message if bug 977 (related to buffer
  4355. freelists) ever reappears, and do not crash right away.
  4356. - Fix an assertion failure on 64-bit platforms when we allocated
  4357. memory right up to the end of a memarea, then realigned the memory
  4358. one step beyond the end. Fixes a possible cause of bug 930.
  4359. - Protect the count of open sockets with a mutex, so we can't
  4360. corrupt it when two threads are closing or opening sockets at once.
  4361. Fix for bug 939. Bugfix on 0.2.0.1-alpha.
  4362. - Don't allow a bridge to publish its router descriptor to a
  4363. non-bridge directory authority. Fixes part of bug 932.
  4364. - When we change to or from being a bridge, reset our counts of
  4365. client usage by country. Fixes bug 932.
  4366. - Fix a bug that made stream bandwidth get misreported to the
  4367. controller.
  4368. - Stop using malloc_usable_size() to use more area than we had
  4369. actually allocated: it was safe, but made valgrind really unhappy.
  4370. - Fix a memory leak when v3 directory authorities load their keys
  4371. and cert from disk. Bugfix on 0.2.0.1-alpha.
  4372. o Minor bugfixes (on 0.2.1.x):
  4373. - Fix use of freed memory when deciding to mark a non-addable
  4374. descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
  4375. Changes in version 0.2.1.14-rc - 2009-04-12
  4376. Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
  4377. series. It begins fixing some major performance problems, and also
  4378. finally addresses the bug that was causing relays on dynamic IP
  4379. addresses to fall out of the directory.
  4380. o Major features:
  4381. - Clients replace entry guards that were chosen more than a few months
  4382. ago. This change should significantly improve client performance,
  4383. especially once more people upgrade, since relays that have been
  4384. a guard for a long time are currently overloaded.
  4385. o Major bugfixes (on 0.2.0):
  4386. - Finally fix the bug where dynamic-IP relays disappear when their
  4387. IP address changes: directory mirrors were mistakenly telling
  4388. them their old address if they asked via begin_dir, so they
  4389. never got an accurate answer about their new address, so they
  4390. just vanished after a day. For belt-and-suspenders, relays that
  4391. don't set Address in their config now avoid using begin_dir for
  4392. all direct connections. Should fix bugs 827, 883, and 900.
  4393. - Relays were falling out of the networkstatus consensus for
  4394. part of a day if they changed their local config but the
  4395. authorities discarded their new descriptor as "not sufficiently
  4396. different". Now directory authorities accept a descriptor as changed
  4397. if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
  4398. patch by Sebastian.
  4399. - Avoid crashing in the presence of certain malformed descriptors.
  4400. Found by lark, and by automated fuzzing.
  4401. o Minor features:
  4402. - When generating circuit events with verbose nicknames for
  4403. controllers, try harder to look up nicknames for routers on a
  4404. circuit. (Previously, we would look in the router descriptors we had
  4405. for nicknames, but not in the consensus.) Partial fix for bug 941.
  4406. - If the bridge config line doesn't specify a port, assume 443.
  4407. This makes bridge lines a bit smaller and easier for users to
  4408. understand.
  4409. - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
  4410. bytes (aka 20KB/s), to match our documentation. Also update
  4411. directory authorities so they always assign the Fast flag to relays
  4412. with 20KB/s of capacity. Now people running relays won't suddenly
  4413. find themselves not seeing any use, if the network gets faster
  4414. on average.
  4415. - Update to the "April 3 2009" ip-to-country file.
  4416. o Minor bugfixes:
  4417. - Avoid trying to print raw memory to the logs when we decide to
  4418. give up on downloading a given relay descriptor. Bugfix on
  4419. 0.2.1.9-alpha.
  4420. - In tor-resolve, when the Tor client to use is specified by
  4421. <hostname>:<port>, actually use the specified port rather than
  4422. defaulting to 9050. Bugfix on 0.2.1.6-alpha.
  4423. - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
  4424. - When starting with a cache over a few days old, do not leak
  4425. memory for the obsolete router descriptors in it. Bugfix on
  4426. 0.2.0.33.
  4427. - Avoid double-free on list of successfully uploaded hidden
  4428. service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
  4429. - Change memarea_strndup() implementation to work even when
  4430. duplicating a string at the end of a page. This bug was
  4431. harmless for now, but could have meant crashes later. Fix by
  4432. lark. Bugfix on 0.2.1.1-alpha.
  4433. - Limit uploaded directory documents to be 16M rather than 500K.
  4434. The directory authorities were refusing v3 consensus votes from
  4435. other authorities, since the votes are now 504K. Fixes bug 959;
  4436. bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
  4437. - Directory authorities should never send a 503 "busy" response to
  4438. requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
  4439. bug 959.
  4440. Changes in version 0.2.1.13-alpha - 2009-03-09
  4441. Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
  4442. cleanups. We're finally getting close to a release candidate.
  4443. o Major bugfixes:
  4444. - Correctly update the list of which countries we exclude as
  4445. exits, when the GeoIP file is loaded or reloaded. Diagnosed by
  4446. lark. Bugfix on 0.2.1.6-alpha.
  4447. o Minor bugfixes (on 0.2.0.x and earlier):
  4448. - Automatically detect MacOSX versions earlier than 10.4.0, and
  4449. disable kqueue from inside Tor when running with these versions.
  4450. We previously did this from the startup script, but that was no
  4451. help to people who didn't use the startup script. Resolves bug 863.
  4452. - When we had picked an exit node for a connection, but marked it as
  4453. "optional", and it turned out we had no onion key for the exit,
  4454. stop wanting that exit and try again. This situation may not
  4455. be possible now, but will probably become feasible with proposal
  4456. 158. Spotted by rovv. Fixes another case of bug 752.
  4457. - Clients no longer cache certificates for authorities they do not
  4458. recognize. Bugfix on 0.2.0.9-alpha.
  4459. - When we can't transmit a DNS request due to a network error, retry
  4460. it after a while, and eventually transmit a failing response to
  4461. the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
  4462. - If the controller claimed responsibility for a stream, but that
  4463. stream never finished making its connection, it would live
  4464. forever in circuit_wait state. Now we close it after SocksTimeout
  4465. seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
  4466. - Drop begin cells to a hidden service if they come from the middle
  4467. of a circuit. Patch from lark.
  4468. - When we erroneously receive two EXTEND cells for the same circuit
  4469. ID on the same connection, drop the second. Patch from lark.
  4470. - Fix a crash that occurs on exit nodes when a nameserver request
  4471. timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
  4472. been suppressing the bug since 0.1.2.10-alpha. Partial fix for
  4473. bug 929.
  4474. - Do not assume that a stack-allocated character array will be
  4475. 64-bit aligned on platforms that demand that uint64_t access is
  4476. aligned. Possible fix for bug 604.
  4477. - Parse dates and IPv4 addresses in a locale- and libc-independent
  4478. manner, to avoid platform-dependent behavior on malformed input.
  4479. - Build correctly when configured to build outside the main source
  4480. path. Patch from Michael Gold.
  4481. - We were already rejecting relay begin cells with destination port
  4482. of 0. Now also reject extend cells with destination port or address
  4483. of 0. Suggested by lark.
  4484. o Minor bugfixes (on 0.2.1.x):
  4485. - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
  4486. cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
  4487. - If we're an exit node, scrub the IP address to which we are exiting
  4488. in the logs. Bugfix on 0.2.1.8-alpha.
  4489. o Minor features:
  4490. - On Linux, use the prctl call to re-enable core dumps when the user
  4491. is option is set.
  4492. - New controller event NEWCONSENSUS that lists the networkstatus
  4493. lines for every recommended relay. Now controllers like Torflow
  4494. can keep up-to-date on which relays they should be using.
  4495. - Update to the "February 26 2009" ip-to-country file.
  4496. Changes in version 0.2.0.34 - 2009-02-08
  4497. Tor 0.2.0.34 features several more security-related fixes. You should
  4498. upgrade, especially if you run an exit relay (remote crash) or a
  4499. directory authority (remote infinite loop), or you're on an older
  4500. (pre-XP) or not-recently-patched Windows (remote exploit).
  4501. This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
  4502. have many known flaws, and nobody should be using them. You should
  4503. upgrade. If you're using a Linux or BSD and its packages are obsolete,
  4504. stop using those packages and upgrade anyway.
  4505. o Security fixes:
  4506. - Fix an infinite-loop bug on handling corrupt votes under certain
  4507. circumstances. Bugfix on 0.2.0.8-alpha.
  4508. - Fix a temporary DoS vulnerability that could be performed by
  4509. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  4510. - Avoid a potential crash on exit nodes when processing malformed
  4511. input. Remote DoS opportunity. Bugfix on 0.2.0.33.
  4512. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  4513. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  4514. o Minor bugfixes:
  4515. - Fix compilation on systems where time_t is a 64-bit integer.
  4516. Patch from Matthias Drochner.
  4517. - Don't consider expiring already-closed client connections. Fixes
  4518. bug 893. Bugfix on 0.0.2pre20.
  4519. Changes in version 0.2.1.12-alpha - 2009-02-08
  4520. Tor 0.2.1.12-alpha features several more security-related fixes. You
  4521. should upgrade, especially if you run an exit relay (remote crash) or
  4522. a directory authority (remote infinite loop), or you're on an older
  4523. (pre-XP) or not-recently-patched Windows (remote exploit). It also
  4524. includes a big pile of minor bugfixes and cleanups.
  4525. o Security fixes:
  4526. - Fix an infinite-loop bug on handling corrupt votes under certain
  4527. circumstances. Bugfix on 0.2.0.8-alpha.
  4528. - Fix a temporary DoS vulnerability that could be performed by
  4529. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  4530. - Avoid a potential crash on exit nodes when processing malformed
  4531. input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
  4532. o Minor bugfixes:
  4533. - Let controllers actually ask for the "clients_seen" event for
  4534. getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
  4535. reported by Matt Edman.
  4536. - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
  4537. 0.2.1.11-alpha.
  4538. - Fix a bug in address parsing that was preventing bridges or hidden
  4539. service targets from being at IPv6 addresses.
  4540. - Solve a bug that kept hardware crypto acceleration from getting
  4541. enabled when accounting was turned on. Fixes bug 907. Bugfix on
  4542. 0.0.9pre6.
  4543. - Remove a bash-ism from configure.in to build properly on non-Linux
  4544. platforms. Bugfix on 0.2.1.1-alpha.
  4545. - Fix code so authorities _actually_ send back X-Descriptor-Not-New
  4546. headers. Bugfix on 0.2.0.10-alpha.
  4547. - Don't consider expiring already-closed client connections. Fixes
  4548. bug 893. Bugfix on 0.0.2pre20.
  4549. - Fix another interesting corner-case of bug 891 spotted by rovv:
  4550. Previously, if two hosts had different amounts of clock drift, and
  4551. one of them created a new connection with just the wrong timing,
  4552. the other might decide to deprecate the new connection erroneously.
  4553. Bugfix on 0.1.1.13-alpha.
  4554. - Resolve a very rare crash bug that could occur when the user forced
  4555. a nameserver reconfiguration during the middle of a nameserver
  4556. probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
  4557. - Support changing value of ServerDNSRandomizeCase during SIGHUP.
  4558. Bugfix on 0.2.1.7-alpha.
  4559. - If we're using bridges and our network goes away, be more willing
  4560. to forgive our bridges and try again when we get an application
  4561. request. Bugfix on 0.2.0.x.
  4562. o Minor features:
  4563. - Support platforms where time_t is 64 bits long. (Congratulations,
  4564. NetBSD!) Patch from Matthias Drochner.
  4565. - Add a 'getinfo status/clients-seen' controller command, in case
  4566. controllers want to hear clients_seen events but connect late.
  4567. o Build changes:
  4568. - Disable GCC's strict alias optimization by default, to avoid the
  4569. likelihood of its introducing subtle bugs whenever our code violates
  4570. the letter of C99's alias rules.
  4571. Changes in version 0.2.0.33 - 2009-01-21
  4572. Tor 0.2.0.33 fixes a variety of bugs that were making relays less
  4573. useful to users. It also finally fixes a bug where a relay or client
  4574. that's been off for many days would take a long time to bootstrap.
  4575. This update also fixes an important security-related bug reported by
  4576. Ilja van Sprundel. You should upgrade. (We'll send out more details
  4577. about the bug once people have had some time to upgrade.)
  4578. o Security fixes:
  4579. - Fix a heap-corruption bug that may be remotely triggerable on
  4580. some platforms. Reported by Ilja van Sprundel.
  4581. o Major bugfixes:
  4582. - When a stream at an exit relay is in state "resolving" or
  4583. "connecting" and it receives an "end" relay cell, the exit relay
  4584. would silently ignore the end cell and not close the stream. If
  4585. the client never closes the circuit, then the exit relay never
  4586. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  4587. reported by "wood".
  4588. - When sending CREATED cells back for a given circuit, use a 64-bit
  4589. connection ID to find the right connection, rather than an addr:port
  4590. combination. Now that we can have multiple OR connections between
  4591. the same ORs, it is no longer possible to use addr:port to uniquely
  4592. identify a connection.
  4593. - Bridge relays that had DirPort set to 0 would stop fetching
  4594. descriptors shortly after startup, and then briefly resume
  4595. after a new bandwidth test and/or after publishing a new bridge
  4596. descriptor. Bridge users that try to bootstrap from them would
  4597. get a recent networkstatus but would get descriptors from up to
  4598. 18 hours earlier, meaning most of the descriptors were obsolete
  4599. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  4600. - Prevent bridge relays from serving their 'extrainfo' document
  4601. to anybody who asks, now that extrainfo docs include potentially
  4602. sensitive aggregated client geoip summaries. Bugfix on
  4603. 0.2.0.13-alpha.
  4604. - If the cached networkstatus consensus is more than five days old,
  4605. discard it rather than trying to use it. In theory it could be
  4606. useful because it lists alternate directory mirrors, but in practice
  4607. it just means we spend many minutes trying directory mirrors that
  4608. are long gone from the network. Also discard router descriptors as
  4609. we load them if they are more than five days old, since the onion
  4610. key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
  4611. o Minor bugfixes:
  4612. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  4613. could make gcc generate non-functional binary search code. Bugfix
  4614. on 0.2.0.10-alpha.
  4615. - Build correctly on platforms without socklen_t.
  4616. - Compile without warnings on solaris.
  4617. - Avoid potential crash on internal error during signature collection.
  4618. Fixes bug 864. Patch from rovv.
  4619. - Correct handling of possible malformed authority signing key
  4620. certificates with internal signature types. Fixes bug 880.
  4621. Bugfix on 0.2.0.3-alpha.
  4622. - Fix a hard-to-trigger resource leak when logging credential status.
  4623. CID 349.
  4624. - When we can't initialize DNS because the network is down, do not
  4625. automatically stop Tor from starting. Instead, we retry failed
  4626. dns_init() every 10 minutes, and change the exit policy to reject
  4627. *:* until one succeeds. Fixes bug 691.
  4628. - Use 64 bits instead of 32 bits for connection identifiers used with
  4629. the controller protocol, to greatly reduce risk of identifier reuse.
  4630. - When we're choosing an exit node for a circuit, and we have
  4631. no pending streams, choose a good general exit rather than one that
  4632. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  4633. - Fix another case of assuming, when a specific exit is requested,
  4634. that we know more than the user about what hosts it allows.
  4635. Fixes one case of bug 752. Patch from rovv.
  4636. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  4637. seconds. Warn the user if lower values are given in the
  4638. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  4639. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  4640. user if lower values are given in the configuration. Bugfix on
  4641. 0.1.1.17-rc. Patch by Sebastian.
  4642. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  4643. the cache because we already had a v0 descriptor with the same ID.
  4644. Bugfix on 0.2.0.18-alpha.
  4645. - Fix a race condition when freeing keys shared between main thread
  4646. and CPU workers that could result in a memory leak. Bugfix on
  4647. 0.1.0.1-rc. Fixes bug 889.
  4648. - Send a valid END cell back when a client tries to connect to a
  4649. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  4650. 840. Patch from rovv.
  4651. - Check which hops rendezvous stream cells are associated with to
  4652. prevent possible guess-the-streamid injection attacks from
  4653. intermediate hops. Fixes another case of bug 446. Based on patch
  4654. from rovv.
  4655. - If a broken client asks a non-exit router to connect somewhere,
  4656. do not even do the DNS lookup before rejecting the connection.
  4657. Fixes another case of bug 619. Patch from rovv.
  4658. - When a relay gets a create cell it can't decrypt (e.g. because it's
  4659. using the wrong onion key), we were dropping it and letting the
  4660. client time out. Now actually answer with a destroy cell. Fixes
  4661. bug 904. Bugfix on 0.0.2pre8.
  4662. o Minor bugfixes (hidden services):
  4663. - Do not throw away existing introduction points on SIGHUP. Bugfix on
  4664. 0.0.6pre1. Patch by Karsten. Fixes bug 874.
  4665. o Minor features:
  4666. - Report the case where all signatures in a detached set are rejected
  4667. differently than the case where there is an error handling the
  4668. detached set.
  4669. - When we realize that another process has modified our cached
  4670. descriptors, print out a more useful error message rather than
  4671. triggering an assertion. Fixes bug 885. Patch from Karsten.
  4672. - Implement the 0x20 hack to better resist DNS poisoning: set the
  4673. case on outgoing DNS requests randomly, and reject responses that do
  4674. not match the case correctly. This logic can be disabled with the
  4675. ServerDNSRamdomizeCase setting, if you are using one of the 0.3%
  4676. of servers that do not reliably preserve case in replies. See
  4677. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  4678. for more info.
  4679. - Check DNS replies for more matching fields to better resist DNS
  4680. poisoning.
  4681. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  4682. compress cells, which are basically all encrypted, compressed, or
  4683. both.
  4684. Changes in version 0.2.1.11-alpha - 2009-01-20
  4685. Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
  4686. week it will take a long time to bootstrap again" bug. It also fixes
  4687. an important security-related bug reported by Ilja van Sprundel. You
  4688. should upgrade. (We'll send out more details about the bug once people
  4689. have had some time to upgrade.)
  4690. o Security fixes:
  4691. - Fix a heap-corruption bug that may be remotely triggerable on
  4692. some platforms. Reported by Ilja van Sprundel.
  4693. o Major bugfixes:
  4694. - Discard router descriptors as we load them if they are more than
  4695. five days old. Otherwise if Tor is off for a long time and then
  4696. starts with cached descriptors, it will try to use the onion
  4697. keys in those obsolete descriptors when building circuits. Bugfix
  4698. on 0.2.0.x. Fixes bug 887.
  4699. o Minor features:
  4700. - Try to make sure that the version of Libevent we're running with
  4701. is binary-compatible with the one we built with. May address bug
  4702. 897 and others.
  4703. - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
  4704. for bug 905. Bugfix on 0.2.1.7-alpha.
  4705. - Add a new --enable-local-appdata configuration switch to change
  4706. the default location of the datadir on win32 from APPDATA to
  4707. LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
  4708. entirely. Patch from coderman.
  4709. o Minor bugfixes:
  4710. - Make outbound DNS packets respect the OutboundBindAddress setting.
  4711. Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
  4712. - When our circuit fails at the first hop (e.g. we get a destroy
  4713. cell back), avoid using that OR connection anymore, and also
  4714. tell all the one-hop directory requests waiting for it that they
  4715. should fail. Bugfix on 0.2.1.3-alpha.
  4716. - In the torify(1) manpage, mention that tsocks will leak your
  4717. DNS requests.
  4718. Changes in version 0.2.1.10-alpha - 2009-01-06
  4719. Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
  4720. would make the bridge relay not so useful if it had DirPort set to 0,
  4721. and one that could let an attacker learn a little bit of information
  4722. about the bridge's users), and a bug that would cause your Tor relay
  4723. to ignore a circuit create request it can't decrypt (rather than reply
  4724. with an error). It also fixes a wide variety of other bugs.
  4725. o Major bugfixes:
  4726. - If the cached networkstatus consensus is more than five days old,
  4727. discard it rather than trying to use it. In theory it could
  4728. be useful because it lists alternate directory mirrors, but in
  4729. practice it just means we spend many minutes trying directory
  4730. mirrors that are long gone from the network. Helps bug 887 a bit;
  4731. bugfix on 0.2.0.x.
  4732. - Bridge relays that had DirPort set to 0 would stop fetching
  4733. descriptors shortly after startup, and then briefly resume
  4734. after a new bandwidth test and/or after publishing a new bridge
  4735. descriptor. Bridge users that try to bootstrap from them would
  4736. get a recent networkstatus but would get descriptors from up to
  4737. 18 hours earlier, meaning most of the descriptors were obsolete
  4738. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  4739. - Prevent bridge relays from serving their 'extrainfo' document
  4740. to anybody who asks, now that extrainfo docs include potentially
  4741. sensitive aggregated client geoip summaries. Bugfix on
  4742. 0.2.0.13-alpha.
  4743. o Minor features:
  4744. - New controller event "clients_seen" to report a geoip-based summary
  4745. of which countries we've seen clients from recently. Now controllers
  4746. like Vidalia can show bridge operators that they're actually making
  4747. a difference.
  4748. - Build correctly against versions of OpenSSL 0.9.8 or later built
  4749. without support for deprecated functions.
  4750. - Update to the "December 19 2008" ip-to-country file.
  4751. o Minor bugfixes (on 0.2.0.x):
  4752. - Authorities now vote for the Stable flag for any router whose
  4753. weighted MTBF is at least 5 days, regardless of the mean MTBF.
  4754. - Do not remove routers as too old if we do not have any consensus
  4755. document. Bugfix on 0.2.0.7-alpha.
  4756. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  4757. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  4758. - When an exit relay resolves a stream address to a local IP address,
  4759. do not just keep retrying that same exit relay over and
  4760. over. Instead, just close the stream. Addresses bug 872. Bugfix
  4761. on 0.2.0.32. Patch from rovv.
  4762. - If a hidden service sends us an END cell, do not consider
  4763. retrying the connection; just close it. Patch from rovv.
  4764. - When we made bridge authorities stop serving bridge descriptors over
  4765. unencrypted links, we also broke DirPort reachability testing for
  4766. bridges. So bridges with a non-zero DirPort were printing spurious
  4767. warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
  4768. - When a relay gets a create cell it can't decrypt (e.g. because it's
  4769. using the wrong onion key), we were dropping it and letting the
  4770. client time out. Now actually answer with a destroy cell. Fixes
  4771. bug 904. Bugfix on 0.0.2pre8.
  4772. - Squeeze 2-5% out of client performance (according to oprofile) by
  4773. improving the implementation of some policy-manipulation functions.
  4774. o Minor bugfixes (on 0.2.1.x):
  4775. - Make get_interface_address() function work properly again; stop
  4776. guessing the wrong parts of our address as our address.
  4777. - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
  4778. send on that circuit. Otherwise we might violate the proposal-110
  4779. limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
  4780. thanks to Karsten.
  4781. - When we're sending non-EXTEND cells to the first hop in a circuit,
  4782. for example to use an encrypted directory connection, we don't need
  4783. to use RELAY_EARLY cells: the first hop knows what kind of cell
  4784. it is, and nobody else can even see the cell type. Conserving
  4785. RELAY_EARLY cells makes it easier to cannibalize circuits like
  4786. this later.
  4787. - Stop logging nameserver addresses in reverse order.
  4788. - If we are retrying a directory download slowly over and over, do
  4789. not automatically give up after the 254th failure. Bugfix on
  4790. 0.2.1.9-alpha.
  4791. - Resume reporting accurate "stream end" reasons to the local control
  4792. port. They were lost in the changes for Proposal 148. Bugfix on
  4793. 0.2.1.9-alpha.
  4794. o Deprecated and removed features:
  4795. - The old "tor --version --version" command, which would print out
  4796. the subversion "Id" of most of the source files, is now removed. It
  4797. turned out to be less useful than we'd expected, and harder to
  4798. maintain.
  4799. o Code simplifications and refactoring:
  4800. - Change our header file guard macros to be less likely to conflict
  4801. with system headers. Adam Langley noticed that we were conflicting
  4802. with log.h on Android.
  4803. - Tool-assisted documentation cleanup. Nearly every function or
  4804. static variable in Tor should have its own documentation now.
  4805. Changes in version 0.2.1.9-alpha - 2008-12-25
  4806. Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
  4807. o New directory authorities:
  4808. - gabelmoo (the authority run by Karsten Loesing) now has a new
  4809. IP address.
  4810. o Security fixes:
  4811. - Never use a connection with a mismatched address to extend a
  4812. circuit, unless that connection is canonical. A canonical
  4813. connection is one whose address is authenticated by the router's
  4814. identity key, either in a NETINFO cell or in a router descriptor.
  4815. - Avoid a possible memory corruption bug when receiving hidden service
  4816. descriptors. Bugfix on 0.2.1.6-alpha.
  4817. o Major bugfixes:
  4818. - Fix a logic error that would automatically reject all but the first
  4819. configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
  4820. part of bug 813/868. Bug spotted by coderman.
  4821. - When a stream at an exit relay is in state "resolving" or
  4822. "connecting" and it receives an "end" relay cell, the exit relay
  4823. would silently ignore the end cell and not close the stream. If
  4824. the client never closes the circuit, then the exit relay never
  4825. closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
  4826. reported by "wood".
  4827. - When we can't initialize DNS because the network is down, do not
  4828. automatically stop Tor from starting. Instead, retry failed
  4829. dns_init() every 10 minutes, and change the exit policy to reject
  4830. *:* until one succeeds. Fixes bug 691.
  4831. o Minor features:
  4832. - Give a better error message when an overzealous init script says
  4833. "sudo -u username tor --user username". Makes Bug 882 easier for
  4834. users to diagnose.
  4835. - When a directory authority gives us a new guess for our IP address,
  4836. log which authority we used. Hopefully this will help us debug
  4837. the recent complaints about bad IP address guesses.
  4838. - Detect svn revision properly when we're using git-svn.
  4839. - Try not to open more than one descriptor-downloading connection
  4840. to an authority at once. This should reduce load on directory
  4841. authorities. Fixes bug 366.
  4842. - Add cross-certification to newly generated certificates, so that
  4843. a signing key is enough information to look up a certificate.
  4844. Partial implementation of proposal 157.
  4845. - Start serving certificates by <identity digest, signing key digest>
  4846. pairs. Partial implementation of proposal 157.
  4847. - Clients now never report any stream end reason except 'MISC'.
  4848. Implements proposal 148.
  4849. - On platforms with a maximum syslog string length, truncate syslog
  4850. messages to that length ourselves, rather than relying on the
  4851. system to do it for us.
  4852. - Optimize out calls to time(NULL) that occur for every IO operation,
  4853. or for every cell. On systems where time() is a slow syscall,
  4854. this fix will be slightly helpful.
  4855. - Exit servers can now answer resolve requests for ip6.arpa addresses.
  4856. - When we download a descriptor that we then immediately (as
  4857. a directory authority) reject, do not retry downloading it right
  4858. away. Should save some bandwidth on authorities. Fix for bug
  4859. 888. Patch by Sebastian Hahn.
  4860. - When a download gets us zero good descriptors, do not notify
  4861. Tor that new directory information has arrived.
  4862. - Avoid some nasty corner cases in the logic for marking connections
  4863. as too old or obsolete or noncanonical for circuits. Partial
  4864. bugfix on bug 891.
  4865. o Minor features (controller):
  4866. - New CONSENSUS_ARRIVED event to note when a new consensus has
  4867. been fetched and validated.
  4868. - When we realize that another process has modified our cached
  4869. descriptors file, print out a more useful error message rather
  4870. than triggering an assertion. Fixes bug 885. Patch from Karsten.
  4871. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  4872. controllers to prevent SIGHUP from reloading the
  4873. configuration. Fixes bug 856.
  4874. o Minor bugfixes:
  4875. - Resume using the correct "REASON=" stream when telling the
  4876. controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
  4877. - When a canonical connection appears later in our internal list
  4878. than a noncanonical one for a given OR ID, always use the
  4879. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  4880. Spotted by rovv.
  4881. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  4882. seconds. Warn the user if lower values are given in the
  4883. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  4884. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  4885. user if lower values are given in the configuration. Bugfix on
  4886. 0.1.1.17-rc. Patch by Sebastian.
  4887. - Fix a race condition when freeing keys shared between main thread
  4888. and CPU workers that could result in a memory leak. Bugfix on
  4889. 0.1.0.1-rc. Fixes bug 889.
  4890. o Minor bugfixes (hidden services):
  4891. - Do not throw away existing introduction points on SIGHUP (bugfix on
  4892. 0.0.6pre1); also, do not stall hidden services because we're
  4893. throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
  4894. by John Brooks. Patch by Karsten. Fixes bug 874.
  4895. - Fix a memory leak when we decline to add a v2 rendezvous
  4896. descriptor to the cache because we already had a v0 descriptor
  4897. with the same ID. Bugfix on 0.2.0.18-alpha.
  4898. o Deprecated and removed features:
  4899. - RedirectExits has been removed. It was deprecated since
  4900. 0.2.0.3-alpha.
  4901. - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
  4902. has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  4903. - Cell pools are now always enabled; --disable-cell-pools is ignored.
  4904. o Code simplifications and refactoring:
  4905. - Rename the confusing or_is_obsolete field to the more appropriate
  4906. is_bad_for_new_circs, and move it to or_connection_t where it
  4907. belongs.
  4908. - Move edge-only flags from connection_t to edge_connection_t: not
  4909. only is this better coding, but on machines of plausible alignment,
  4910. it should save 4-8 bytes per connection_t. "Every little bit helps."
  4911. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  4912. for consistency; keep old option working for backward compatibility.
  4913. - Simplify the code for finding connections to use for a circuit.
  4914. Changes in version 0.2.1.8-alpha - 2008-12-08
  4915. Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
  4916. builds better on unusual platforms like Solaris and old OS X, and
  4917. fixes a variety of other issues.
  4918. o Major features:
  4919. - New DirPortFrontPage option that takes an html file and publishes
  4920. it as "/" on the DirPort. Now relay operators can provide a
  4921. disclaimer without needing to set up a separate webserver. There's
  4922. a sample disclaimer in contrib/tor-exit-notice.html.
  4923. o Security fixes:
  4924. - When the client is choosing entry guards, now it selects at most
  4925. one guard from a given relay family. Otherwise we could end up with
  4926. all of our entry points into the network run by the same operator.
  4927. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  4928. o Major bugfixes:
  4929. - Fix a DOS opportunity during the voting signature collection process
  4930. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  4931. - Fix a possible segfault when establishing an exit connection. Bugfix
  4932. on 0.2.1.5-alpha.
  4933. o Minor bugfixes:
  4934. - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
  4935. bug 859.
  4936. - Made Tor a little less aggressive about deleting expired
  4937. certificates. Partial fix for bug 854.
  4938. - Stop doing unaligned memory access that generated bus errors on
  4939. sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
  4940. - Fix a crash bug when changing EntryNodes from the controller. Bugfix
  4941. on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
  4942. - Make USR2 log-level switch take effect immediately. Bugfix on
  4943. 0.1.2.8-beta.
  4944. - If one win32 nameserver fails to get added, continue adding the
  4945. rest, and don't automatically fail.
  4946. - Use fcntl() for locking when flock() is not available. Should fix
  4947. compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
  4948. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  4949. could make gcc generate non-functional binary search code. Bugfix
  4950. on 0.2.0.10-alpha.
  4951. - Build correctly on platforms without socklen_t.
  4952. - Avoid potential crash on internal error during signature collection.
  4953. Fixes bug 864. Patch from rovv.
  4954. - Do not use C's stdio library for writing to log files. This will
  4955. improve logging performance by a minute amount, and will stop
  4956. leaking fds when our disk is full. Fixes bug 861.
  4957. - Stop erroneous use of O_APPEND in cases where we did not in fact
  4958. want to re-seek to the end of a file before every last write().
  4959. - Correct handling of possible malformed authority signing key
  4960. certificates with internal signature types. Fixes bug 880. Bugfix
  4961. on 0.2.0.3-alpha.
  4962. - Fix a hard-to-trigger resource leak when logging credential status.
  4963. CID 349.
  4964. o Minor features:
  4965. - Directory mirrors no longer fetch the v1 directory or
  4966. running-routers files. They are obsolete, and nobody asks for them
  4967. anymore. This is the first step to making v1 authorities obsolete.
  4968. o Minor features (controller):
  4969. - Return circuit purposes in response to GETINFO circuit-status. Fixes
  4970. bug 858.
  4971. Changes in version 0.2.0.32 - 2008-11-20
  4972. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  4973. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  4974. a smaller security flaw that might allow an attacker to access local
  4975. services, further improves hidden service performance, and fixes a
  4976. variety of other issues.
  4977. o Security fixes:
  4978. - The "User" and "Group" config options did not clear the
  4979. supplementary group entries for the Tor process. The "User" option
  4980. is now more robust, and we now set the groups to the specified
  4981. user's primary group. The "Group" option is now ignored. For more
  4982. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  4983. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  4984. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  4985. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  4986. consistently obeyed: if an exit relay refuses a stream because its
  4987. exit policy doesn't allow it, we would remember what IP address
  4988. the relay said the destination address resolves to, even if it's
  4989. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  4990. o Major bugfixes:
  4991. - Fix a DOS opportunity during the voting signature collection process
  4992. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  4993. o Major bugfixes (hidden services):
  4994. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  4995. we were failing the whole hidden service request when the v0
  4996. descriptor fetch fails, even if the v2 fetch is still pending and
  4997. might succeed. Similarly, if the last v2 fetch fails, we were
  4998. failing the whole hidden service request even if a v0 fetch is
  4999. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  5000. - When extending a circuit to a hidden service directory to upload a
  5001. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  5002. requests failed, because the router descriptor has not been
  5003. downloaded yet. In these cases, do not attempt to upload the
  5004. rendezvous descriptor, but wait until the router descriptor is
  5005. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  5006. descriptor from a hidden service directory for which the router
  5007. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  5008. on 0.2.0.10-alpha.
  5009. o Minor bugfixes:
  5010. - Fix several infrequent memory leaks spotted by Coverity.
  5011. - When testing for libevent functions, set the LDFLAGS variable
  5012. correctly. Found by Riastradh.
  5013. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  5014. bootstrapping with tunneled directory connections. Bugfix on
  5015. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  5016. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  5017. and we know that server B rejects most-but-not all connections to
  5018. port 80, we would previously reject the connection. Now, we assume
  5019. the user knows what they were asking for. Fixes bug 752. Bugfix
  5020. on 0.0.9rc5. Diagnosed by BarkerJr.
  5021. - If we overrun our per-second write limits a little, count this as
  5022. having used up our write allocation for the second, and choke
  5023. outgoing directory writes. Previously, we had only counted this when
  5024. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  5025. Bugfix on 0.2.0.x (??).
  5026. - Remove the old v2 directory authority 'lefkada' from the default
  5027. list. It has been gone for many months.
  5028. - Stop doing unaligned memory access that generated bus errors on
  5029. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  5030. - Make USR2 log-level switch take effect immediately. Bugfix on
  5031. 0.1.2.8-beta.
  5032. o Minor bugfixes (controller):
  5033. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  5034. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  5035. Changes in version 0.2.1.7-alpha - 2008-11-08
  5036. Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
  5037. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  5038. a smaller security flaw that might allow an attacker to access local
  5039. services, adds better defense against DNS poisoning attacks on exit
  5040. relays, further improves hidden service performance, and fixes a
  5041. variety of other issues.
  5042. o Security fixes:
  5043. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  5044. consistently obeyed: if an exit relay refuses a stream because its
  5045. exit policy doesn't allow it, we would remember what IP address
  5046. the relay said the destination address resolves to, even if it's
  5047. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  5048. - The "User" and "Group" config options did not clear the
  5049. supplementary group entries for the Tor process. The "User" option
  5050. is now more robust, and we now set the groups to the specified
  5051. user's primary group. The "Group" option is now ignored. For more
  5052. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  5053. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  5054. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
  5055. - Do not use or believe expired v3 authority certificates. Patch
  5056. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  5057. o Minor features:
  5058. - Now NodeFamily and MyFamily config options allow spaces in
  5059. identity fingerprints, so it's easier to paste them in.
  5060. Suggested by Lucky Green.
  5061. - Implement the 0x20 hack to better resist DNS poisoning: set the
  5062. case on outgoing DNS requests randomly, and reject responses that do
  5063. not match the case correctly. This logic can be disabled with the
  5064. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  5065. of servers that do not reliably preserve case in replies. See
  5066. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  5067. for more info.
  5068. - Preserve case in replies to DNSPort requests in order to support
  5069. the 0x20 hack for resisting DNS poisoning attacks.
  5070. o Hidden service performance improvements:
  5071. - When the client launches an introduction circuit, retry with a
  5072. new circuit after 30 seconds rather than 60 seconds.
  5073. - Launch a second client-side introduction circuit in parallel
  5074. after a delay of 15 seconds (based on work by Christian Wilms).
  5075. - Hidden services start out building five intro circuits rather
  5076. than three, and when the first three finish they publish a service
  5077. descriptor using those. Now we publish our service descriptor much
  5078. faster after restart.
  5079. o Minor bugfixes:
  5080. - Minor fix in the warning messages when you're having problems
  5081. bootstrapping; also, be more forgiving of bootstrap problems when
  5082. we're still making incremental progress on a given bootstrap phase.
  5083. - When we're choosing an exit node for a circuit, and we have
  5084. no pending streams, choose a good general exit rather than one that
  5085. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  5086. - Send a valid END cell back when a client tries to connect to a
  5087. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  5088. 840. Patch from rovv.
  5089. - If a broken client asks a non-exit router to connect somewhere,
  5090. do not even do the DNS lookup before rejecting the connection.
  5091. Fixes another case of bug 619. Patch from rovv.
  5092. - Fix another case of assuming, when a specific exit is requested,
  5093. that we know more than the user about what hosts it allows.
  5094. Fixes another case of bug 752. Patch from rovv.
  5095. - Check which hops rendezvous stream cells are associated with to
  5096. prevent possible guess-the-streamid injection attacks from
  5097. intermediate hops. Fixes another case of bug 446. Based on patch
  5098. from rovv.
  5099. - Avoid using a negative right-shift when comparing 32-bit
  5100. addresses. Possible fix for bug 845 and bug 811.
  5101. - Make the assert_circuit_ok() function work correctly on circuits that
  5102. have already been marked for close.
  5103. - Fix read-off-the-end-of-string error in unit tests when decoding
  5104. introduction points.
  5105. - Fix uninitialized size field for memory area allocation: may improve
  5106. memory performance during directory parsing.
  5107. - Treat duplicate certificate fetches as failures, so that we do
  5108. not try to re-fetch an expired certificate over and over and over.
  5109. - Do not say we're fetching a certificate when we'll in fact skip it
  5110. because of a pending download.
  5111. Changes in version 0.2.1.6-alpha - 2008-09-30
  5112. Tor 0.2.1.6-alpha further improves performance and robustness of
  5113. hidden services, starts work on supporting per-country relay selection,
  5114. and fixes a variety of smaller issues.
  5115. o Major features:
  5116. - Implement proposal 121: make it possible to build hidden services
  5117. that only certain clients are allowed to connect to. This is
  5118. enforced at several points, so that unauthorized clients are unable
  5119. to send INTRODUCE cells to the service, or even (depending on the
  5120. type of authentication) to learn introduction points. This feature
  5121. raises the bar for certain kinds of active attacks against hidden
  5122. services. Code by Karsten Loesing.
  5123. - Relays now store and serve v2 hidden service descriptors by default,
  5124. i.e., the new default value for HidServDirectoryV2 is 1. This is
  5125. the last step in proposal 114, which aims to make hidden service
  5126. lookups more reliable.
  5127. - Start work to allow node restrictions to include country codes. The
  5128. syntax to exclude nodes in a country with country code XX is
  5129. "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
  5130. refinement to decide what config options should take priority if
  5131. you ask to both use a particular node and exclude it.
  5132. - Allow ExitNodes list to include IP ranges and country codes, just
  5133. like the Exclude*Nodes lists. Patch from Robert Hogan.
  5134. o Major bugfixes:
  5135. - Fix a bug when parsing ports in tor_addr_port_parse() that caused
  5136. Tor to fail to start if you had it configured to use a bridge
  5137. relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
  5138. - When extending a circuit to a hidden service directory to upload a
  5139. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  5140. requests failed, because the router descriptor had not been
  5141. downloaded yet. In these cases, we now wait until the router
  5142. descriptor is downloaded, and then retry. Likewise, clients
  5143. now skip over a hidden service directory if they don't yet have
  5144. its router descriptor, rather than futilely requesting it and
  5145. putting mysterious complaints in the logs. Fixes bug 767. Bugfix
  5146. on 0.2.0.10-alpha.
  5147. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  5148. we were failing the whole hidden service request when the v0
  5149. descriptor fetch fails, even if the v2 fetch is still pending and
  5150. might succeed. Similarly, if the last v2 fetch fails, we were
  5151. failing the whole hidden service request even if a v0 fetch is
  5152. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  5153. - DNS replies need to have names matching their requests, but
  5154. these names should be in the questions section, not necessarily
  5155. in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
  5156. o Minor features:
  5157. - Update to the "September 1 2008" ip-to-country file.
  5158. - Allow ports 465 and 587 in the default exit policy again. We had
  5159. rejected them in 0.1.0.15, because back in 2005 they were commonly
  5160. misconfigured and ended up as spam targets. We hear they are better
  5161. locked down these days.
  5162. - Use a lockfile to make sure that two Tor processes are not
  5163. simultaneously running with the same datadir.
  5164. - Serve the latest v3 networkstatus consensus via the control
  5165. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  5166. - Better logging about stability/reliability calculations on directory
  5167. servers.
  5168. - Drop the requirement to have an open dir port for storing and
  5169. serving v2 hidden service descriptors.
  5170. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  5171. help debug WFU and MTBF calculations.
  5172. - Implement most of Proposal 152: allow specialized servers to permit
  5173. single-hop circuits, and clients to use those servers to build
  5174. single-hop circuits when using a specialized controller. Patch
  5175. from Josh Albrecht. Resolves feature request 768.
  5176. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  5177. people find host:port too confusing.
  5178. - Make TrackHostExit mappings expire a while after their last use, not
  5179. after their creation. Patch from Robert Hogan.
  5180. - Provide circuit purposes along with circuit events to the controller.
  5181. o Minor bugfixes:
  5182. - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
  5183. Reported by Tas.
  5184. - Fixed some memory leaks -- some quite frequent, some almost
  5185. impossible to trigger -- based on results from Coverity.
  5186. - When testing for libevent functions, set the LDFLAGS variable
  5187. correctly. Found by Riastradh.
  5188. - Fix an assertion bug in parsing policy-related options; possible fix
  5189. for bug 811.
  5190. - Catch and report a few more bootstrapping failure cases when Tor
  5191. fails to establish a TCP connection. Cleanup on 0.2.1.x.
  5192. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  5193. bootstrapping with tunneled directory connections. Bugfix on
  5194. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  5195. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  5196. and we know that server B rejects most-but-not all connections to
  5197. port 80, we would previously reject the connection. Now, we assume
  5198. the user knows what they were asking for. Fixes bug 752. Bugfix
  5199. on 0.0.9rc5. Diagnosed by BarkerJr.
  5200. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  5201. service directories if they have no advertised dir port. Bugfix
  5202. on 0.2.0.10-alpha.
  5203. - If we overrun our per-second write limits a little, count this as
  5204. having used up our write allocation for the second, and choke
  5205. outgoing directory writes. Previously, we had only counted this when
  5206. we had met our limits precisely. Fixes bug 824. Patch by rovv.
  5207. Bugfix on 0.2.0.x (??).
  5208. - Avoid a "0 divided by 0" calculation when calculating router uptime
  5209. at directory authorities. Bugfix on 0.2.0.8-alpha.
  5210. - Make DNS resolved controller events into "CLOSED", not
  5211. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  5212. bug 807.
  5213. - Fix a bug where an unreachable relay would establish enough
  5214. reachability testing circuits to do a bandwidth test -- if
  5215. we already have a connection to the middle hop of the testing
  5216. circuit, then it could establish the last hop by using the existing
  5217. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  5218. circuits no longer use entry guards in 0.2.1.3-alpha.
  5219. - If we have correct permissions on $datadir, we complain to stdout
  5220. and fail to start. But dangerous permissions on
  5221. $datadir/cached-status/ would cause us to open a log and complain
  5222. there. Now complain to stdout and fail to start in both cases. Fixes
  5223. bug 820, reported by seeess.
  5224. - Remove the old v2 directory authority 'lefkada' from the default
  5225. list. It has been gone for many months.
  5226. o Code simplifications and refactoring:
  5227. - Revise the connection_new functions so that a more typesafe variant
  5228. exists. This will work better with Coverity, and let us find any
  5229. actual mistakes we're making here.
  5230. - Refactor unit testing logic so that dmalloc can be used sensibly
  5231. with unit tests to check for memory leaks.
  5232. - Move all hidden-service related fields from connection and circuit
  5233. structure to substructures: this way they won't eat so much memory.
  5234. Changes in version 0.2.0.31 - 2008-09-03
  5235. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  5236. a big bug we're seeing where in rare cases traffic from one Tor stream
  5237. gets mixed into another stream, and fixes a variety of smaller issues.
  5238. o Major bugfixes:
  5239. - Make sure that two circuits can never exist on the same connection
  5240. with the same circuit ID, even if one is marked for close. This
  5241. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  5242. - Relays now reject risky extend cells: if the extend cell includes
  5243. a digest of all zeroes, or asks to extend back to the relay that
  5244. sent the extend cell, tear down the circuit. Ideas suggested
  5245. by rovv.
  5246. - If not enough of our entry guards are available so we add a new
  5247. one, we might use the new one even if it overlapped with the
  5248. current circuit's exit relay (or its family). Anonymity bugfix
  5249. pointed out by rovv.
  5250. o Minor bugfixes:
  5251. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  5252. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  5253. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  5254. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  5255. - Pick size of default geoip filename string correctly on windows.
  5256. Fixes bug 806. Bugfix on 0.2.0.30.
  5257. - Make the autoconf script accept the obsolete --with-ssl-dir
  5258. option as an alias for the actually-working --with-openssl-dir
  5259. option. Fix the help documentation to recommend --with-openssl-dir.
  5260. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  5261. - When using the TransPort option on OpenBSD, and using the User
  5262. option to change UID and drop privileges, make sure to open
  5263. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  5264. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  5265. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  5266. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  5267. on the client side when connecting to a hidden service. Bugfix
  5268. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  5269. - When closing an application-side connection because its circuit is
  5270. getting torn down, generate the stream event correctly. Bugfix on
  5271. 0.1.2.x. Anonymous patch.
  5272. Changes in version 0.2.1.5-alpha - 2008-08-31
  5273. Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
  5274. in a lot of the infrastructure for adding authorization to hidden
  5275. services, lays the groundwork for having clients read their load
  5276. balancing information out of the networkstatus consensus rather than
  5277. the individual router descriptors, addresses two potential anonymity
  5278. issues, and fixes a variety of smaller issues.
  5279. o Major features:
  5280. - Convert many internal address representations to optionally hold
  5281. IPv6 addresses.
  5282. - Generate and accept IPv6 addresses in many protocol elements.
  5283. - Make resolver code handle nameservers located at ipv6 addresses.
  5284. - Begin implementation of proposal 121 ("Client authorization for
  5285. hidden services"): configure hidden services with client
  5286. authorization, publish descriptors for them, and configure
  5287. authorization data for hidden services at clients. The next
  5288. step is to actually access hidden services that perform client
  5289. authorization.
  5290. - More progress toward proposal 141: Network status consensus
  5291. documents and votes now contain bandwidth information for each
  5292. router and a summary of that router's exit policy. Eventually this
  5293. will be used by clients so that they do not have to download every
  5294. known descriptor before building circuits.
  5295. o Major bugfixes (on 0.2.0.x and before):
  5296. - When sending CREATED cells back for a given circuit, use a 64-bit
  5297. connection ID to find the right connection, rather than an addr:port
  5298. combination. Now that we can have multiple OR connections between
  5299. the same ORs, it is no longer possible to use addr:port to uniquely
  5300. identify a connection.
  5301. - Relays now reject risky extend cells: if the extend cell includes
  5302. a digest of all zeroes, or asks to extend back to the relay that
  5303. sent the extend cell, tear down the circuit. Ideas suggested
  5304. by rovv.
  5305. - If not enough of our entry guards are available so we add a new
  5306. one, we might use the new one even if it overlapped with the
  5307. current circuit's exit relay (or its family). Anonymity bugfix
  5308. pointed out by rovv.
  5309. o Minor bugfixes:
  5310. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  5311. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  5312. - When using the TransPort option on OpenBSD, and using the User
  5313. option to change UID and drop privileges, make sure to open /dev/pf
  5314. before dropping privileges. Fixes bug 782. Patch from Christopher
  5315. Davis. Bugfix on 0.1.2.1-alpha.
  5316. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  5317. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  5318. - Add a missing safe_str() call for a debug log message.
  5319. - Use 64 bits instead of 32 bits for connection identifiers used with
  5320. the controller protocol, to greatly reduce risk of identifier reuse.
  5321. - Make the autoconf script accept the obsolete --with-ssl-dir
  5322. option as an alias for the actually-working --with-openssl-dir
  5323. option. Fix the help documentation to recommend --with-openssl-dir.
  5324. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  5325. o Minor features:
  5326. - Rate-limit too-many-sockets messages: when they happen, they happen
  5327. a lot. Resolves bug 748.
  5328. - Resist DNS poisoning a little better by making sure that names in
  5329. answer sections match.
  5330. - Print the SOCKS5 error message string as well as the error code
  5331. when a tor-resolve request fails. Patch from Jacob.
  5332. Changes in version 0.2.1.4-alpha - 2008-08-04
  5333. Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
  5334. o Major bugfixes:
  5335. - The address part of exit policies was not correctly written
  5336. to router descriptors. This generated router descriptors that failed
  5337. their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
  5338. on 0.2.1.3-alpha.
  5339. - Tor triggered a false assert when extending a circuit to a relay
  5340. but we already have a connection open to that relay. Noticed by
  5341. phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
  5342. o Minor bugfixes:
  5343. - Fix a hidden service logging bug: in some edge cases, the router
  5344. descriptor of a previously picked introduction point becomes
  5345. obsolete and we need to give up on it rather than continually
  5346. complaining that it has become obsolete. Observed by xiando. Bugfix
  5347. on 0.2.1.3-alpha.
  5348. o Removed features:
  5349. - Take out the TestVia config option, since it was a workaround for
  5350. a bug that was fixed in Tor 0.1.1.21.
  5351. Changes in version 0.2.1.3-alpha - 2008-08-03
  5352. Tor 0.2.1.3-alpha implements most of the pieces to prevent
  5353. infinite-length circuit attacks (see proposal 110); fixes a bug that
  5354. might cause exit relays to corrupt streams they send back; allows
  5355. address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
  5356. ExcludeExitNodes config options; and fixes a big pile of bugs.
  5357. o Bootstrapping bugfixes (on 0.2.1.x-alpha):
  5358. - Send a bootstrap problem "warn" event on the first problem if the
  5359. reason is NO_ROUTE (that is, our network is down).
  5360. o Major features:
  5361. - Implement most of proposal 110: The first K cells to be sent
  5362. along a circuit are marked as special "early" cells; only K "early"
  5363. cells will be allowed. Once this code is universal, we can block
  5364. certain kinds of DOS attack by requiring that EXTEND commands must
  5365. be sent using an "early" cell.
  5366. o Major bugfixes:
  5367. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  5368. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  5369. on the client side when connecting to a hidden service. Bugfix
  5370. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  5371. - Ensure that two circuits can never exist on the same connection
  5372. with the same circuit ID, even if one is marked for close. This
  5373. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  5374. o Minor features:
  5375. - When relays do their initial bandwidth measurement, don't limit
  5376. to just our entry guards for the test circuits. Otherwise we tend
  5377. to have multiple test circuits going through a single entry guard,
  5378. which makes our bandwidth test less accurate. Fixes part of bug 654;
  5379. patch contributed by Josh Albrecht.
  5380. - Add an ExcludeExitNodes option so users can list a set of nodes
  5381. that should be be excluded from the exit node position, but
  5382. allowed elsewhere. Implements proposal 151.
  5383. - Allow address patterns (e.g., 255.128.0.0/16) to appear in
  5384. ExcludeNodes and ExcludeExitNodes lists.
  5385. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  5386. be more efficient. Formerly it was quadratic in the number of
  5387. servers; now it should be linear. Fixes bug 509.
  5388. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  5389. and n_conn_id_digest fields into a separate structure that's
  5390. only needed when the circuit has not yet attached to an n_conn.
  5391. o Minor bugfixes:
  5392. - Change the contrib/tor.logrotate script so it makes the new
  5393. logs as "_tor:_tor" rather than the default, which is generally
  5394. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  5395. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  5396. warnings (occasionally), but it can also cause the compiler to
  5397. eliminate error-checking code. Suggested by Peter Gutmann.
  5398. - When a hidden service is giving up on an introduction point candidate
  5399. that was not included in the last published rendezvous descriptor,
  5400. don't reschedule publication of the next descriptor. Fixes bug 763.
  5401. Bugfix on 0.0.9.3.
  5402. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  5403. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  5404. and nobody claims to be using them. Fixes bug 754. Bugfix on
  5405. 0.1.0.1-rc. Patch from Christian Wilms.
  5406. - Fix a small alignment and memory-wasting bug on buffer chunks.
  5407. Spotted by rovv.
  5408. o Minor bugfixes (controller):
  5409. - When closing an application-side connection because its circuit
  5410. is getting torn down, generate the stream event correctly.
  5411. Bugfix on 0.1.2.x. Anonymous patch.
  5412. o Removed features:
  5413. - Remove all backward-compatibility code to support relays running
  5414. versions of Tor so old that they no longer work at all on the
  5415. Tor network.
  5416. Changes in version 0.2.0.30 - 2008-07-15
  5417. o Minor bugfixes:
  5418. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  5419. warnings (occasionally), but it can also cause the compiler to
  5420. eliminate error-checking code. Suggested by Peter Gutmann.
  5421. Changes in version 0.2.0.29-rc - 2008-07-08
  5422. Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
  5423. hidden-service performance bugs, and fixes a bunch of smaller bugs.
  5424. o Major bugfixes:
  5425. - If you have more than one bridge but don't know their keys,
  5426. you would only launch a request for the descriptor of the first one
  5427. on your list. (Tor considered launching requests for the others, but
  5428. found that it already had a connection on the way for $0000...0000
  5429. so it didn't open another.) Bugfix on 0.2.0.x.
  5430. - If you have more than one bridge but don't know their keys, and the
  5431. connection to one of the bridges failed, you would cancel all
  5432. pending bridge connections. (After all, they all have the same
  5433. digest.) Bugfix on 0.2.0.x.
  5434. - When a hidden service was trying to establish an introduction point,
  5435. and Tor had built circuits preemptively for such purposes, we
  5436. were ignoring all the preemptive circuits and launching a new one
  5437. instead. Bugfix on 0.2.0.14-alpha.
  5438. - When a hidden service was trying to establish an introduction point,
  5439. and Tor *did* manage to reuse one of the preemptively built
  5440. circuits, it didn't correctly remember which one it used,
  5441. so it asked for another one soon after, until there were no
  5442. more preemptive circuits, at which point it launched one from
  5443. scratch. Bugfix on 0.0.9.x.
  5444. - Make directory servers include the X-Your-Address-Is: http header in
  5445. their responses even for begin_dir conns. Now clients who only
  5446. ever use begin_dir connections still have a way to learn their IP
  5447. address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
  5448. o Minor bugfixes:
  5449. - Fix a macro/CPP interaction that was confusing some compilers:
  5450. some GCCs don't like #if/#endif pairs inside macro arguments.
  5451. Fixes bug 707.
  5452. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  5453. Fixes bug 704; fix from Steven Murdoch.
  5454. - When opening /dev/null in finish_daemonize(), do not pass the
  5455. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  5456. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  5457. - Correctly detect transparent proxy support on Linux hosts that
  5458. require in.h to be included before netfilter_ipv4.h. Patch
  5459. from coderman.
  5460. - Disallow session resumption attempts during the renegotiation
  5461. stage of the v2 handshake protocol. Clients should never be trying
  5462. session resumption at this point, but apparently some did, in
  5463. ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
  5464. found by Geoff Goodell.
  5465. Changes in version 0.2.1.2-alpha - 2008-06-20
  5466. Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
  5467. make it easier to set up your own private Tor network; fixes several
  5468. big bugs with using more than one bridge relay; fixes a big bug with
  5469. offering hidden services quickly after Tor starts; and uses a better
  5470. API for reporting potential bootstrapping problems to the controller.
  5471. o Major features:
  5472. - New TestingTorNetwork config option to allow adjustment of
  5473. previously constant values that, while reasonable, could slow
  5474. bootstrapping. Implements proposal 135. Patch from Karsten.
  5475. o Major bugfixes:
  5476. - If you have more than one bridge but don't know their digests,
  5477. you would only learn a request for the descriptor of the first one
  5478. on your list. (Tor considered launching requests for the others, but
  5479. found that it already had a connection on the way for $0000...0000
  5480. so it didn't open another.) Bugfix on 0.2.0.x.
  5481. - If you have more than one bridge but don't know their digests,
  5482. and the connection to one of the bridges failed, you would cancel
  5483. all pending bridge connections. (After all, they all have the
  5484. same digest.) Bugfix on 0.2.0.x.
  5485. - When establishing a hidden service, introduction points that
  5486. originate from cannibalized circuits are completely ignored and not
  5487. included in rendezvous service descriptors. This might be another
  5488. reason for delay in making a hidden service available. Bugfix
  5489. from long ago (0.0.9.x?)
  5490. o Minor features:
  5491. - Allow OpenSSL to use dynamic locks if it wants.
  5492. - When building a consensus, do not include routers that are down.
  5493. This will cut down 30% to 40% on consensus size. Implements
  5494. proposal 138.
  5495. - In directory authorities' approved-routers files, allow
  5496. fingerprints with or without space.
  5497. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  5498. controller can query our current bootstrap state in case it attaches
  5499. partway through and wants to catch up.
  5500. - Send an initial "Starting" bootstrap status event, so we have a
  5501. state to start out in.
  5502. o Minor bugfixes:
  5503. - Asking for a conditional consensus at .../consensus/<fingerprints>
  5504. would crash a dirserver if it did not already have a
  5505. consensus. Bugfix on 0.2.1.1-alpha.
  5506. - Clean up some macro/CPP interactions: some GCC versions don't like
  5507. #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
  5508. 0.2.0.x.
  5509. o Bootstrapping bugfixes (on 0.2.1.1-alpha):
  5510. - Directory authorities shouldn't complain about bootstrapping
  5511. problems just because they do a lot of reachability testing and
  5512. some of the connection attempts fail.
  5513. - Start sending "count" and "recommendation" key/value pairs in
  5514. bootstrap problem status events, so the controller can hear about
  5515. problems even before Tor decides they're worth reporting for sure.
  5516. - If you're using bridges, generate "bootstrap problem" warnings
  5517. as soon as you run out of working bridges, rather than waiting
  5518. for ten failures -- which will never happen if you have less than
  5519. ten bridges.
  5520. - If we close our OR connection because there's been a circuit
  5521. pending on it for too long, we were telling our bootstrap status
  5522. events "REASON=NONE". Now tell them "REASON=TIMEOUT".
  5523. Changes in version 0.2.1.1-alpha - 2008-06-13
  5524. Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
  5525. were making the Tor process bloat especially on Linux; makes our TLS
  5526. handshake blend in better; sends "bootstrap phase" status events to
  5527. the controller, so it can keep the user informed of progress (and
  5528. problems) fetching directory information and establishing circuits;
  5529. and adds a variety of smaller features.
  5530. o Major features:
  5531. - More work on making our TLS handshake blend in: modify the list
  5532. of ciphers advertised by OpenSSL in client mode to even more
  5533. closely resemble a common web browser. We cheat a little so that
  5534. we can advertise ciphers that the locally installed OpenSSL doesn't
  5535. know about.
  5536. - Start sending "bootstrap phase" status events to the controller,
  5537. so it can keep the user informed of progress fetching directory
  5538. information and establishing circuits. Also inform the controller
  5539. if we think we're stuck at a particular bootstrap phase. Implements
  5540. proposal 137.
  5541. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  5542. cross-platform entropy collection again. We used to use it, then
  5543. stopped using it because of a bug that could crash systems that
  5544. called RAND_poll when they had a lot of fds open. It looks like the
  5545. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  5546. at startup, and to call RAND_poll() when we reseed later only if
  5547. we have a non-buggy OpenSSL version.
  5548. o Major bugfixes:
  5549. - When we choose to abandon a new entry guard because we think our
  5550. older ones might be better, close any circuits pending on that
  5551. new entry guard connection. This fix should make us recover much
  5552. faster when our network is down and then comes back. Bugfix on
  5553. 0.1.2.8-beta; found by lodger.
  5554. o Memory fixes and improvements:
  5555. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  5556. to avoid unused RAM in buffer chunks and memory pools.
  5557. - Speed up parsing and cut down on memory fragmentation by using
  5558. stack-style allocations for parsing directory objects. Previously,
  5559. this accounted for over 40% of allocations from within Tor's code
  5560. on a typical directory cache.
  5561. - Use a Bloom filter rather than a digest-based set to track which
  5562. descriptors we need to keep around when we're cleaning out old
  5563. router descriptors. This speeds up the computation significantly,
  5564. and may reduce fragmentation.
  5565. - Reduce the default smartlist size from 32 to 16; it turns out that
  5566. most smartlists hold around 8-12 elements tops.
  5567. - Make dumpstats() log the fullness and size of openssl-internal
  5568. buffers.
  5569. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  5570. patch to their OpenSSL, turn it on to save memory on servers. This
  5571. patch will (with any luck) get included in a mainline distribution
  5572. before too long.
  5573. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  5574. compress cells, which are basically all encrypted, compressed,
  5575. or both.
  5576. o Minor bugfixes:
  5577. - Stop reloading the router list from disk for no reason when we
  5578. run out of reachable directory mirrors. Once upon a time reloading
  5579. it would set the 'is_running' flag back to 1 for them. It hasn't
  5580. done that for a long time.
  5581. - In very rare situations new hidden service descriptors were
  5582. published earlier than 30 seconds after the last change to the
  5583. service. (We currently think that a hidden service descriptor
  5584. that's been stable for 30 seconds is worth publishing.)
  5585. o Minor features:
  5586. - Allow separate log levels to be configured for different logging
  5587. domains. For example, this allows one to log all notices, warnings,
  5588. or errors, plus all memory management messages of level debug or
  5589. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  5590. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  5591. and stop using a warning that had become unfixably verbose under
  5592. GCC 4.3.
  5593. - New --hush command-line option similar to --quiet. While --quiet
  5594. disables all logging to the console on startup, --hush limits the
  5595. output to messages of warning and error severity.
  5596. - Servers support a new URL scheme for consensus downloads that
  5597. allows the client to specify which authorities are trusted.
  5598. The server then only sends the consensus if the client will trust
  5599. it. Otherwise a 404 error is sent back. Clients use this
  5600. new scheme when the server supports it (meaning it's running
  5601. 0.2.1.1-alpha or later). Implements proposal 134.
  5602. - New configure/torrc options (--enable-geoip-stats,
  5603. DirRecordUsageByCountry) to record how many IPs we've served
  5604. directory info to in each country code, how many status documents
  5605. total we've sent to each country code, and what share of the total
  5606. directory requests we should expect to see.
  5607. - Use the TLS1 hostname extension to more closely resemble browser
  5608. behavior.
  5609. - Lots of new unit tests.
  5610. - Add a macro to implement the common pattern of iterating through
  5611. two parallel lists in lockstep.
  5612. Changes in version 0.2.0.28-rc - 2008-06-13
  5613. Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
  5614. performance bug, and fixes a bunch of smaller bugs.
  5615. o Anonymity fixes:
  5616. - Fix a bug where, when we were choosing the 'end stream reason' to
  5617. put in our relay end cell that we send to the exit relay, Tor
  5618. clients on Windows were sometimes sending the wrong 'reason'. The
  5619. anonymity problem is that exit relays may be able to guess whether
  5620. the client is running Windows, thus helping partition the anonymity
  5621. set. Down the road we should stop sending reasons to exit relays,
  5622. or otherwise prevent future versions of this bug.
  5623. o Major bugfixes:
  5624. - While setting up a hidden service, some valid introduction circuits
  5625. were overlooked and abandoned. This might be the reason for
  5626. the long delay in making a hidden service available. Bugfix on
  5627. 0.2.0.14-alpha.
  5628. o Minor features:
  5629. - Update to the "June 9 2008" ip-to-country file.
  5630. - Run 'make test' as part of 'make dist', so we stop releasing so
  5631. many development snapshots that fail their unit tests.
  5632. o Minor bugfixes:
  5633. - When we're checking if we have enough dir info for each relay
  5634. to begin establishing circuits, make sure that we actually have
  5635. the descriptor listed in the consensus, not just any descriptor.
  5636. Bugfix on 0.1.2.x.
  5637. - Bridge relays no longer print "xx=0" in their extrainfo document
  5638. for every single country code in the geoip db. Bugfix on
  5639. 0.2.0.27-rc.
  5640. - Only warn when we fail to load the geoip file if we were planning to
  5641. include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
  5642. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  5643. Tor won't realize it should publish a new relay descriptor. Fixes
  5644. bug 688, reported by mfr. Bugfix on 0.1.2.x.
  5645. - When we haven't had any application requests lately, don't bother
  5646. logging that we have expired a bunch of descriptors. Bugfix
  5647. on 0.1.2.x.
  5648. - Make relay cells written on a connection count as non-padding when
  5649. tracking how long a connection has been in use. Bugfix on
  5650. 0.2.0.1-alpha. Spotted by lodger.
  5651. - Fix unit tests in 0.2.0.27-rc.
  5652. - Fix compile on Windows.
  5653. Changes in version 0.2.0.27-rc - 2008-06-03
  5654. Tor 0.2.0.27-rc adds a few features we left out of the earlier
  5655. release candidates. In particular, we now include an IP-to-country
  5656. GeoIP database, so controllers can easily look up what country a
  5657. given relay is in, and so bridge relays can give us some sanitized
  5658. summaries about which countries are making use of bridges. (See proposal
  5659. 126-geoip-fetching.txt for details.)
  5660. o Major features:
  5661. - Include an IP-to-country GeoIP file in the tarball, so bridge
  5662. relays can report sanitized summaries of the usage they're seeing.
  5663. o Minor features:
  5664. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  5665. Robert Hogan. Fixes the first part of bug 681.
  5666. - Make bridge authorities never serve extrainfo docs.
  5667. - Add support to detect Libevent versions in the 1.4.x series
  5668. on mingw.
  5669. - Fix build on gcc 4.3 with --enable-gcc-warnings set.
  5670. - Include a new contrib/tor-exit-notice.html file that exit relay
  5671. operators can put on their website to help reduce abuse queries.
  5672. o Minor bugfixes:
  5673. - When tunneling an encrypted directory connection, and its first
  5674. circuit fails, do not leave it unattached and ask the controller
  5675. to deal. Fixes the second part of bug 681.
  5676. - Make bridge authorities correctly expire old extrainfo documents
  5677. from time to time.
  5678. Changes in version 0.2.0.26-rc - 2008-05-13
  5679. Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
  5680. in Debian's OpenSSL packages. All users running any 0.2.0.x version
  5681. should upgrade, whether they're running Debian or not.
  5682. o Major security fixes:
  5683. - Use new V3 directory authority keys on the tor26, gabelmoo, and
  5684. moria1 V3 directory authorities. The old keys were generated with
  5685. a vulnerable version of Debian's OpenSSL package, and must be
  5686. considered compromised. Other authorities' keys were not generated
  5687. with an affected version of OpenSSL.
  5688. o Major bugfixes:
  5689. - List authority signatures as "unrecognized" based on DirServer
  5690. lines, not on cert cache. Bugfix on 0.2.0.x.
  5691. o Minor features:
  5692. - Add a new V3AuthUseLegacyKey option to make it easier for
  5693. authorities to change their identity keys if they have to.
  5694. Changes in version 0.2.0.25-rc - 2008-04-23
  5695. Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
  5696. o Major bugfixes:
  5697. - Remember to initialize threading before initializing logging.
  5698. Otherwise, many BSD-family implementations will crash hard on
  5699. startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
  5700. o Minor bugfixes:
  5701. - Authorities correctly free policies on bad servers on
  5702. exit. Fixes bug 672. Bugfix on 0.2.0.x.
  5703. Changes in version 0.2.0.24-rc - 2008-04-22
  5704. Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
  5705. v3 directory authority, makes relays with dynamic IP addresses and no
  5706. DirPort notice more quickly when their IP address changes, fixes a few
  5707. rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
  5708. o New directory authorities:
  5709. - Take lefkada out of the list of v3 directory authorities, since
  5710. it has been down for months.
  5711. - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
  5712. authority.
  5713. o Major bugfixes:
  5714. - Detect address changes more quickly on non-directory mirror
  5715. relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
  5716. o Minor features (security):
  5717. - Reject requests for reverse-dns lookup of names that are in
  5718. a private address space. Patch from lodger.
  5719. - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
  5720. from lodger.
  5721. o Minor bugfixes (crashes):
  5722. - Avoid a rare assert that can trigger when Tor doesn't have much
  5723. directory information yet and it tries to fetch a v2 hidden
  5724. service descriptor. Fixes bug 651, reported by nwf.
  5725. - Initialize log mutex before initializing dmalloc. Otherwise,
  5726. running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
  5727. - Use recursive pthread mutexes in order to avoid deadlock when
  5728. logging debug-level messages to a controller. Bug spotted by nwf,
  5729. bugfix on 0.2.0.16-alpha.
  5730. o Minor bugfixes (resource management):
  5731. - Keep address policies from leaking memory: start their refcount
  5732. at 1, not 2. Bugfix on 0.2.0.16-alpha.
  5733. - Free authority certificates on exit, so they don't look like memory
  5734. leaks. Bugfix on 0.2.0.19-alpha.
  5735. - Free static hashtables for policy maps and for TLS connections on
  5736. shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
  5737. - Avoid allocating extra space when computing consensuses on 64-bit
  5738. platforms. Bug spotted by aakova.
  5739. o Minor bugfixes (misc):
  5740. - Do not read the configuration file when we've only been told to
  5741. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  5742. based on patch from Sebastian Hahn.
  5743. - Exit relays that are used as a client can now reach themselves
  5744. using the .exit notation, rather than just launching an infinite
  5745. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  5746. - When attempting to open a logfile fails, tell us why.
  5747. - Fix a dumb bug that was preventing us from knowing that we should
  5748. preemptively build circuits to handle expected directory requests.
  5749. Fixes bug 660. Bugfix on 0.1.2.x.
  5750. - Warn less verbosely about clock skew from netinfo cells from
  5751. untrusted sources. Fixes bug 663.
  5752. - Make controller stream events for DNS requests more consistent,
  5753. by adding "new stream" events for DNS requests, and removing
  5754. spurious "stream closed" events" for cached reverse resolves.
  5755. Patch from mwenge. Fixes bug 646.
  5756. - Correctly notify one-hop connections when a circuit build has
  5757. failed. Possible fix for bug 669. Found by lodger.
  5758. Changes in version 0.2.0.23-rc - 2008-03-24
  5759. Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
  5760. makes bootstrapping faster if the first directory mirror you contact
  5761. is down. The bundles also include the new Vidalia 0.1.2 release.
  5762. o Major bugfixes:
  5763. - When a tunneled directory request is made to a directory server
  5764. that's down, notice after 30 seconds rather than 120 seconds. Also,
  5765. fail any begindir streams that are pending on it, so they can
  5766. retry elsewhere. This was causing multi-minute delays on bootstrap.
  5767. Changes in version 0.2.0.22-rc - 2008-03-18
  5768. Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
  5769. enables encrypted directory connections by default for non-relays, fixes
  5770. some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
  5771. other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
  5772. o Major features:
  5773. - Enable encrypted directory connections by default for non-relays,
  5774. so censor tools that block Tor directory connections based on their
  5775. plaintext patterns will no longer work. This means Tor works in
  5776. certain censored countries by default again.
  5777. o Major bugfixes:
  5778. - Make sure servers always request certificates from clients during
  5779. TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
  5780. - Do not enter a CPU-eating loop when a connection is closed in
  5781. the middle of client-side TLS renegotiation. Fixes bug 622. Bug
  5782. diagnosed by lodger; bugfix on 0.2.0.20-rc.
  5783. - Fix assertion failure that could occur when a blocked circuit
  5784. became unblocked, and it had pending client DNS requests. Bugfix
  5785. on 0.2.0.1-alpha. Fixes bug 632.
  5786. o Minor bugfixes (on 0.1.2.x):
  5787. - Generate "STATUS_SERVER" events rather than misspelled
  5788. "STATUS_SEVER" events. Caught by mwenge.
  5789. - When counting the number of bytes written on a TLS connection,
  5790. look at the BIO actually used for writing to the network, not
  5791. at the BIO used (sometimes) to buffer data for the network.
  5792. Looking at different BIOs could result in write counts on the
  5793. order of ULONG_MAX. Fixes bug 614.
  5794. - On Windows, correctly detect errors when listing the contents of
  5795. a directory. Fix from lodger.
  5796. o Minor bugfixes (on 0.2.0.x):
  5797. - Downgrade "sslv3 alert handshake failure" message to INFO.
  5798. - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
  5799. left BandwidthRate and BandwidthBurst at the default, we would be
  5800. silently limited by those defaults. Now raise them to match the
  5801. RelayBandwidth* values.
  5802. - Fix the SVK version detection logic to work correctly on a branch.
  5803. - Make --enable-openbsd-malloc work correctly on Linux with alpha
  5804. CPUs. Fixes bug 625.
  5805. - Logging functions now check that the passed severity is sane.
  5806. - Use proper log levels in the testsuite call of
  5807. get_interface_address6().
  5808. - When using a nonstandard malloc, do not use the platform values for
  5809. HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
  5810. - Make the openbsd malloc code use 8k pages on alpha CPUs and
  5811. 16k pages on ia64.
  5812. - Detect mismatched page sizes when using --enable-openbsd-malloc.
  5813. - Avoid double-marked-for-close warning when certain kinds of invalid
  5814. .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
  5815. for bug 617. Bugfix on 0.2.0.1-alpha.
  5816. - Make sure that the "NULL-means-reject *:*" convention is followed by
  5817. all the policy manipulation functions, avoiding some possible crash
  5818. bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
  5819. - Fix the implementation of ClientDNSRejectInternalAddresses so that it
  5820. actually works, and doesn't warn about every single reverse lookup.
  5821. Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
  5822. o Minor features:
  5823. - Only log guard node status when guard node status has changed.
  5824. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  5825. make "INFO" 75% less verbose.
  5826. Changes in version 0.2.0.21-rc - 2008-03-02
  5827. Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
  5828. makes Tor work well with Vidalia again, fixes a rare assert bug,
  5829. and fixes a pair of more minor bugs. The bundles also include Vidalia
  5830. 0.1.0 and Torbutton 1.1.16.
  5831. o Major bugfixes:
  5832. - The control port should declare that it requires password auth
  5833. when HashedControlSessionPassword is set too. Patch from Matt Edman;
  5834. bugfix on 0.2.0.20-rc. Fixes bug 615.
  5835. - Downgrade assert in connection_buckets_decrement() to a log message.
  5836. This may help us solve bug 614, and in any case will make its
  5837. symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
  5838. - We were sometimes miscounting the number of bytes read from the
  5839. network, causing our rate limiting to not be followed exactly.
  5840. Bugfix on 0.2.0.16-alpha. Reported by lodger.
  5841. o Minor bugfixes:
  5842. - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
  5843. OpenSSL versions should have been working fine. Diagnosis and patch
  5844. from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
  5845. Bugfix on 0.2.0.20-rc.
  5846. Changes in version 0.2.0.20-rc - 2008-02-24
  5847. Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
  5848. makes more progress towards normalizing Tor's TLS handshake, makes
  5849. hidden services work better again, helps relays bootstrap if they don't
  5850. know their IP address, adds optional support for linking in openbsd's
  5851. allocator or tcmalloc, allows really fast relays to scale past 15000
  5852. sockets, and fixes a bunch of minor bugs reported by Veracode.
  5853. o Major features:
  5854. - Enable the revised TLS handshake based on the one designed by
  5855. Steven Murdoch in proposal 124, as revised in proposal 130. It
  5856. includes version negotiation for OR connections as described in
  5857. proposal 105. The new handshake is meant to be harder for censors
  5858. to fingerprint, and it adds the ability to detect certain kinds of
  5859. man-in-the-middle traffic analysis attacks. The version negotiation
  5860. feature will allow us to improve Tor's link protocol more safely
  5861. in the future.
  5862. - Choose which bridge to use proportional to its advertised bandwidth,
  5863. rather than uniformly at random. This should speed up Tor for
  5864. bridge users. Also do this for people who set StrictEntryNodes.
  5865. - When a TrackHostExits-chosen exit fails too many times in a row,
  5866. stop using it. Bugfix on 0.1.2.x; fixes bug 437.
  5867. o Major bugfixes:
  5868. - Resolved problems with (re-)fetching hidden service descriptors.
  5869. Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
  5870. and 0.2.0.19-alpha.
  5871. - If we only ever used Tor for hidden service lookups or posts, we
  5872. would stop building circuits and start refusing connections after
  5873. 24 hours, since we falsely believed that Tor was dormant. Reported
  5874. by nwf; bugfix on 0.1.2.x.
  5875. - Servers that don't know their own IP address should go to the
  5876. authorities for their first directory fetch, even if their DirPort
  5877. is off or if they don't know they're reachable yet. This will help
  5878. them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
  5879. - When counting the number of open sockets, count not only the number
  5880. of sockets we have received from the socket() call, but also
  5881. the number we've gotten from accept() and socketpair(). This bug
  5882. made us fail to count all sockets that we were using for incoming
  5883. connections. Bugfix on 0.2.0.x.
  5884. - Fix code used to find strings within buffers, when those strings
  5885. are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
  5886. - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
  5887. - Add a new __HashedControlSessionPassword option for controllers
  5888. to use for one-off session password hashes that shouldn't get
  5889. saved to disk by SAVECONF --- Vidalia users were accumulating a
  5890. pile of HashedControlPassword lines in their torrc files, one for
  5891. each time they had restarted Tor and then clicked Save. Make Tor
  5892. automatically convert "HashedControlPassword" to this new option but
  5893. only when it's given on the command line. Partial fix for bug 586.
  5894. o Minor features (performance):
  5895. - Tune parameters for cell pool allocation to minimize amount of
  5896. RAM overhead used.
  5897. - Add OpenBSD malloc code from phk as an optional malloc
  5898. replacement on Linux: some glibc libraries do very poorly
  5899. with Tor's memory allocation patterns. Pass
  5900. --enable-openbsd-malloc to get the replacement malloc code.
  5901. - Add a --with-tcmalloc option to the configure script to link
  5902. against tcmalloc (if present). Does not yet search for
  5903. non-system include paths.
  5904. - Stop imposing an arbitrary maximum on the number of file descriptors
  5905. used for busy servers. Bug reported by Olaf Selke; patch from
  5906. Sebastian Hahn.
  5907. o Minor features (other):
  5908. - When SafeLogging is disabled, log addresses along with all TLS
  5909. errors.
  5910. - When building with --enable-gcc-warnings, check for whether Apple's
  5911. warning "-Wshorten-64-to-32" is available.
  5912. - Add a --passphrase-fd argument to the tor-gencert command for
  5913. scriptability.
  5914. o Minor bugfixes (memory leaks and code problems):
  5915. - We were leaking a file descriptor if Tor started with a zero-length
  5916. cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
  5917. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  5918. Dan Kaminsky.
  5919. - We were comparing the raw BridgePassword entry with a base64'ed
  5920. version of it, when handling a "/tor/networkstatus-bridges"
  5921. directory request. Now compare correctly. Noticed by Veracode.
  5922. - Recover from bad tracked-since value in MTBF-history file.
  5923. Should fix bug 537.
  5924. - Alter the code that tries to recover from unhandled write
  5925. errors, to not try to flush onto a socket that's given us
  5926. unhandled errors. Bugfix on 0.1.2.x.
  5927. - Make Unix controlsockets work correctly on OpenBSD. Patch from
  5928. tup. Bugfix on 0.2.0.3-alpha.
  5929. o Minor bugfixes (other):
  5930. - If we have an extra-info document for our server, always make
  5931. it available on the control port, even if we haven't gotten
  5932. a copy of it from an authority yet. Patch from mwenge.
  5933. - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
  5934. - Directory mirrors no longer include a guess at the client's IP
  5935. address if the connection appears to be coming from the same /24
  5936. network; it was producing too many wrong guesses.
  5937. - Make the new hidden service code respect the SafeLogging setting.
  5938. Bugfix on 0.2.0.x. Patch from Karsten.
  5939. - When starting as an authority, do not overwrite all certificates
  5940. cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
  5941. - If we're trying to flush the last bytes on a connection (for
  5942. example, when answering a directory request), reset the
  5943. time-to-give-up timeout every time we manage to write something
  5944. on the socket. Bugfix on 0.1.2.x.
  5945. - Change the behavior of "getinfo status/good-server-descriptor"
  5946. so it doesn't return failure when any authority disappears.
  5947. - Even though the man page said that "TrackHostExits ." should
  5948. work, nobody had ever implemented it. Bugfix on 0.1.0.x.
  5949. - Report TLS "zero return" case as a "clean close" and "IO error"
  5950. as a "close". Stop calling closes "unexpected closes": existing
  5951. Tors don't use SSL_close(), so having a connection close without
  5952. the TLS shutdown handshake is hardly unexpected.
  5953. - Send NAMESERVER_STATUS messages for a single failed nameserver
  5954. correctly.
  5955. o Code simplifications and refactoring:
  5956. - Remove the tor_strpartition function: its logic was confused,
  5957. and it was only used for one thing that could be implemented far
  5958. more easily.
  5959. Changes in version 0.2.0.19-alpha - 2008-02-09
  5960. Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
  5961. handshake, makes path selection for relays more secure and IP address
  5962. guessing more robust, and generally fixes a lot of bugs in preparation
  5963. for calling the 0.2.0 branch stable.
  5964. o Major features:
  5965. - Do not include recognizeable strings in the commonname part of
  5966. Tor's x509 certificates.
  5967. o Major bugfixes:
  5968. - If we're a relay, avoid picking ourselves as an introduction point,
  5969. a rendezvous point, or as the final hop for internal circuits. Bug
  5970. reported by taranis and lodger. Bugfix on 0.1.2.x.
  5971. - Patch from "Andrew S. Lists" to catch when we contact a directory
  5972. mirror at IP address X and he says we look like we're coming from
  5973. IP address X. Bugfix on 0.1.2.x.
  5974. o Minor features (security):
  5975. - Be more paranoid about overwriting sensitive memory on free(),
  5976. as a defensive programming tactic to ensure forward secrecy.
  5977. o Minor features (directory authority):
  5978. - Actually validate the options passed to AuthDirReject,
  5979. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  5980. - Reject router descriptors with out-of-range bandwidthcapacity or
  5981. bandwidthburst values.
  5982. o Minor features (controller):
  5983. - Reject controller commands over 1MB in length. This keeps rogue
  5984. processes from running us out of memory.
  5985. o Minor features (misc):
  5986. - Give more descriptive well-formedness errors for out-of-range
  5987. hidden service descriptor/protocol versions.
  5988. - Make memory debugging information describe more about history
  5989. of cell allocation, so we can help reduce our memory use.
  5990. o Deprecated features (controller):
  5991. - The status/version/num-versioning and status/version/num-concurring
  5992. GETINFO options are no longer useful in the v3 directory protocol:
  5993. treat them as deprecated, and warn when they're used.
  5994. o Minor bugfixes:
  5995. - When our consensus networkstatus has been expired for a while, stop
  5996. being willing to build circuits using it. Fixes bug 401. Bugfix
  5997. on 0.1.2.x.
  5998. - Directory caches now fetch certificates from all authorities
  5999. listed in a networkstatus consensus, even when they do not
  6000. recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
  6001. - When connecting to a bridge without specifying its key, insert
  6002. the connection into the identity-to-connection map as soon as
  6003. a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
  6004. - Detect versions of OS X where malloc_good_size() is present in the
  6005. library but never actually declared. Resolves bug 587. Bugfix
  6006. on 0.2.0.x.
  6007. - Stop incorrectly truncating zlib responses to directory authority
  6008. signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
  6009. - Stop recommending that every server operator send mail to tor-ops.
  6010. Resolves bug 597. Bugfix on 0.1.2.x.
  6011. - Don't trigger an assert if we start a directory authority with a
  6012. private IP address (like 127.0.0.1).
  6013. - Avoid possible failures when generating a directory with routers
  6014. with over-long versions strings, or too many flags set. Bugfix
  6015. on 0.1.2.x.
  6016. - If an attempt to launch a DNS resolve request over the control
  6017. port fails because we have overrun the limit on the number of
  6018. connections, tell the controller that the request has failed.
  6019. - Avoid using too little bandwidth when our clock skips a few
  6020. seconds. Bugfix on 0.1.2.x.
  6021. - Fix shell error when warning about missing packages in configure
  6022. script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
  6023. - Do not become confused when receiving a spurious VERSIONS-like
  6024. cell from a confused v1 client. Bugfix on 0.2.0.x.
  6025. - Re-fetch v2 (as well as v0) rendezvous descriptors when all
  6026. introduction points for a hidden service have failed. Patch from
  6027. Karsten Loesing. Bugfix on 0.2.0.x.
  6028. o Code simplifications and refactoring:
  6029. - Remove some needless generality from cpuworker code, for improved
  6030. type-safety.
  6031. - Stop overloading the circuit_t.onionskin field for both "onionskin
  6032. from a CREATE cell that we are waiting for a cpuworker to be
  6033. assigned" and "onionskin from an EXTEND cell that we are going to
  6034. send to an OR as soon as we are connected". Might help with bug 600.
  6035. - Add an in-place version of aes_crypt() so that we can avoid doing a
  6036. needless memcpy() call on each cell payload.
  6037. Changes in version 0.2.0.18-alpha - 2008-01-25
  6038. Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
  6039. fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
  6040. that can warn or reject connections to ports generally associated with
  6041. vulnerable-plaintext protocols.
  6042. o New directory authorities:
  6043. - Set up dannenberg (run by CCC) as the sixth v3 directory
  6044. authority.
  6045. o Major bugfixes:
  6046. - Fix a major memory leak when attempting to use the v2 TLS
  6047. handshake code. Bugfix on 0.2.0.x; fixes bug 589.
  6048. - We accidentally enabled the under-development v2 TLS handshake
  6049. code, which was causing log entries like "TLS error while
  6050. renegotiating handshake". Disable it again. Resolves bug 590.
  6051. - We were computing the wrong Content-Length: header for directory
  6052. responses that need to be compressed on the fly, causing clients
  6053. asking for those items to always fail. Bugfix on 0.2.0.x; partially
  6054. fixes bug 593.
  6055. o Major features:
  6056. - Avoid going directly to the directory authorities even if you're a
  6057. relay, if you haven't found yourself reachable yet or if you've
  6058. decided not to advertise your dirport yet. Addresses bug 556.
  6059. - If we've gone 12 hours since our last bandwidth check, and we
  6060. estimate we have less than 50KB bandwidth capacity but we could
  6061. handle more, do another bandwidth test.
  6062. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  6063. Tor can warn and/or refuse connections to ports commonly used with
  6064. vulnerable-plaintext protocols. Currently we warn on ports 23,
  6065. 109, 110, and 143, but we don't reject any.
  6066. o Minor bugfixes:
  6067. - When we setconf ClientOnly to 1, close any current OR and Dir
  6068. listeners. Reported by mwenge.
  6069. - When we get a consensus that's been signed by more people than
  6070. we expect, don't log about it; it's not a big deal. Reported
  6071. by Kyle Williams.
  6072. o Minor features:
  6073. - Don't answer "/tor/networkstatus-bridges" directory requests if
  6074. the request isn't encrypted.
  6075. - Make "ClientOnly 1" config option disable directory ports too.
  6076. - Patches from Karsten Loesing to make v2 hidden services more
  6077. robust: work even when there aren't enough HSDir relays available;
  6078. retry when a v2 rend desc fetch fails; but don't retry if we
  6079. already have a usable v0 rend desc.
  6080. Changes in version 0.2.0.17-alpha - 2008-01-17
  6081. Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
  6082. o Compile fixes:
  6083. - Make the tor-gencert man page get included correctly in the tarball.
  6084. Changes in version 0.2.0.16-alpha - 2008-01-17
  6085. Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
  6086. Loesing, and generally cleans up a lot of features and minor bugs.
  6087. o New directory authorities:
  6088. - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
  6089. authority.
  6090. o Major performance improvements:
  6091. - Switch our old ring buffer implementation for one more like that
  6092. used by free Unix kernels. The wasted space in a buffer with 1mb
  6093. of data will now be more like 8k than 1mb. The new implementation
  6094. also avoids realloc();realloc(); patterns that can contribute to
  6095. memory fragmentation.
  6096. o Minor features:
  6097. - Configuration files now accept C-style strings as values. This
  6098. helps encode characters not allowed in the current configuration
  6099. file format, such as newline or #. Addresses bug 557.
  6100. - Although we fixed bug 539 (where servers would send HTTP status 503
  6101. responses _and_ send a body too), there are still servers out
  6102. there that haven't upgraded. Therefore, make clients parse such
  6103. bodies when they receive them.
  6104. - When we're not serving v2 directory information, there is no reason
  6105. to actually keep any around. Remove the obsolete files and directory
  6106. on startup if they are very old and we aren't going to serve them.
  6107. o Minor performance improvements:
  6108. - Reference-count and share copies of address policy entries; only 5%
  6109. of them were actually distinct.
  6110. - Never walk through the list of logs if we know that no log is
  6111. interested in a given message.
  6112. o Minor bugfixes:
  6113. - When an authority has not signed a consensus, do not try to
  6114. download a nonexistent "certificate with key 00000000". Bugfix
  6115. on 0.2.0.x. Fixes bug 569.
  6116. - Fix a rare assert error when we're closing one of our threads:
  6117. use a mutex to protect the list of logs, so we never write to the
  6118. list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
  6119. bug 575, which is kind of the revenge of bug 222.
  6120. - Patch from Karsten Loesing to complain less at both the client
  6121. and the relay when a relay used to have the HSDir flag but doesn't
  6122. anymore, and we try to upload a hidden service descriptor.
  6123. - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
  6124. 0.2.0.15-alpha.
  6125. - Do not try to download missing certificates until we have tried
  6126. to check our fallback consensus. Fixes bug 583.
  6127. - Make bridges round reported GeoIP stats info up to the nearest
  6128. estimate, not down. Now we can distinguish between "0 people from
  6129. this country" and "1 person from this country".
  6130. - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
  6131. - Avoid possible segfault if key generation fails in
  6132. crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
  6133. - Avoid segfault in the case where a badly behaved v2 versioning
  6134. directory sends a signed networkstatus with missing client-versions.
  6135. Bugfix on 0.1.2.
  6136. - Avoid segfaults on certain complex invocations of
  6137. router_get_by_hexdigest(). Bugfix on 0.1.2.
  6138. - Correct bad index on array access in parse_http_time(). Bugfix
  6139. on 0.2.0.
  6140. - Fix possible bug in vote generation when server versions are present
  6141. but client versions are not.
  6142. - Fix rare bug on REDIRECTSTREAM control command when called with no
  6143. port set: it could erroneously report an error when none had
  6144. happened.
  6145. - Avoid bogus crash-prone, leak-prone tor_realloc when we're
  6146. compressing large objects and find ourselves with more than 4k
  6147. left over. Bugfix on 0.2.0.
  6148. - Fix a small memory leak when setting up a hidden service.
  6149. - Fix a few memory leaks that could in theory happen under bizarre
  6150. error conditions.
  6151. - Fix an assert if we post a general-purpose descriptor via the
  6152. control port but that descriptor isn't mentioned in our current
  6153. network consensus. Bug reported by Jon McLachlan; bugfix on
  6154. 0.2.0.9-alpha.
  6155. o Minor features (controller):
  6156. - Get NS events working again. Patch from tup.
  6157. - The GETCONF command now escapes and quotes configuration values
  6158. that don't otherwise fit into the torrc file.
  6159. - The SETCONF command now handles quoted values correctly.
  6160. o Minor features (directory authorities):
  6161. - New configuration options to override default maximum number of
  6162. servers allowed on a single IP address. This is important for
  6163. running a test network on a single host.
  6164. - Actually implement the -s option to tor-gencert.
  6165. - Add a manual page for tor-gencert.
  6166. o Minor features (bridges):
  6167. - Bridge authorities no longer serve bridge descriptors over
  6168. unencrypted connections.
  6169. o Minor features (other):
  6170. - Add hidden services and DNSPorts to the list of things that make
  6171. Tor accept that it has running ports. Change starting Tor with no
  6172. ports from a fatal error to a warning; we might change it back if
  6173. this turns out to confuse anybody. Fixes bug 579.
  6174. Changes in version 0.1.2.19 - 2008-01-17
  6175. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  6176. exit policy a little bit more conservative so it's safer to run an
  6177. exit relay on a home system, and fixes a variety of smaller issues.
  6178. o Security fixes:
  6179. - Exit policies now reject connections that are addressed to a
  6180. relay's public (external) IP address too, unless
  6181. ExitPolicyRejectPrivate is turned off. We do this because too
  6182. many relays are running nearby to services that trust them based
  6183. on network address.
  6184. o Major bugfixes:
  6185. - When the clock jumps forward a lot, do not allow the bandwidth
  6186. buckets to become negative. Fixes bug 544.
  6187. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  6188. on every successful resolve. Reported by Mike Perry.
  6189. - Purge old entries from the "rephist" database and the hidden
  6190. service descriptor database even when DirPort is zero.
  6191. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  6192. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  6193. crashing or mis-answering these requests.
  6194. - When we decide to send a 503 response to a request for servers, do
  6195. not then also send the server descriptors: this defeats the whole
  6196. purpose. Fixes bug 539.
  6197. o Minor bugfixes:
  6198. - Changing the ExitPolicyRejectPrivate setting should cause us to
  6199. rebuild our server descriptor.
  6200. - Fix handling of hex nicknames when answering controller requests for
  6201. networkstatus by name, or when deciding whether to warn about
  6202. unknown routers in a config option. (Patch from mwenge.)
  6203. - Fix a couple of hard-to-trigger autoconf problems that could result
  6204. in really weird results on platforms whose sys/types.h files define
  6205. nonstandard integer types.
  6206. - Don't try to create the datadir when running --verify-config or
  6207. --hash-password. Resolves bug 540.
  6208. - If we were having problems getting a particular descriptor from the
  6209. directory caches, and then we learned about a new descriptor for
  6210. that router, we weren't resetting our failure count. Reported
  6211. by lodger.
  6212. - Although we fixed bug 539 (where servers would send HTTP status 503
  6213. responses _and_ send a body too), there are still servers out there
  6214. that haven't upgraded. Therefore, make clients parse such bodies
  6215. when they receive them.
  6216. - Run correctly on systems where rlim_t is larger than unsigned long.
  6217. This includes some 64-bit systems.
  6218. - Run correctly on platforms (like some versions of OS X 10.5) where
  6219. the real limit for number of open files is OPEN_FILES, not rlim_max
  6220. from getrlimit(RLIMIT_NOFILES).
  6221. - Avoid a spurious free on base64 failure.
  6222. - Avoid segfaults on certain complex invocations of
  6223. router_get_by_hexdigest().
  6224. - Fix rare bug on REDIRECTSTREAM control command when called with no
  6225. port set: it could erroneously report an error when none had
  6226. happened.
  6227. Changes in version 0.2.0.15-alpha - 2007-12-25
  6228. Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
  6229. features added in 0.2.0.13-alpha.
  6230. o Major bugfixes:
  6231. - Fix several remotely triggerable asserts based on DirPort requests
  6232. for a v2 or v3 networkstatus object before we were prepared. This
  6233. was particularly bad for 0.2.0.13 and later bridge relays, who
  6234. would never have a v2 networkstatus and would thus always crash
  6235. when used. Bugfixes on 0.2.0.x.
  6236. - Estimate the v3 networkstatus size more accurately, rather than
  6237. estimating it at zero bytes and giving it artificially high priority
  6238. compared to other directory requests. Bugfix on 0.2.0.x.
  6239. o Minor bugfixes:
  6240. - Fix configure.in logic for cross-compilation.
  6241. - When we load a bridge descriptor from the cache, and it was
  6242. previously unreachable, mark it as retriable so we won't just
  6243. ignore it. Also, try fetching a new copy immediately. Bugfixes
  6244. on 0.2.0.13-alpha.
  6245. - The bridge GeoIP stats were counting other relays, for example
  6246. self-reachability and authority-reachability tests.
  6247. o Minor features:
  6248. - Support compilation to target iPhone; patch from cjacker huang.
  6249. To build for iPhone, pass the --enable-iphone option to configure.
  6250. Changes in version 0.2.0.14-alpha - 2007-12-23
  6251. o Major bugfixes:
  6252. - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
  6253. without a datadirectory from a previous Tor install. Reported
  6254. by Zax.
  6255. - Fix a crash when we fetch a descriptor that turns out to be
  6256. unexpected (it used to be in our networkstatus when we started
  6257. fetching it, but it isn't in our current networkstatus), and we
  6258. aren't using bridges. Bugfix on 0.2.0.x.
  6259. - Fix a crash when accessing hidden services: it would work the first
  6260. time you use a given introduction point for your service, but
  6261. on subsequent requests we'd be using garbage memory. Fixed by
  6262. Karsten Loesing. Bugfix on 0.2.0.13-alpha.
  6263. - Fix a crash when we load a bridge descriptor from disk but we don't
  6264. currently have a Bridge line for it in our torrc. Bugfix on
  6265. 0.2.0.13-alpha.
  6266. o Major features:
  6267. - If bridge authorities set BridgePassword, they will serve a
  6268. snapshot of known bridge routerstatuses from their DirPort to
  6269. anybody who knows that password. Unset by default.
  6270. o Minor bugfixes:
  6271. - Make the unit tests build again.
  6272. - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
  6273. - Make PublishServerDescriptor default to 1, so the default doesn't
  6274. have to change as we invent new directory protocol versions.
  6275. - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
  6276. be included unless sys/time.h is already included. Fixes
  6277. bug 553. Bugfix on 0.2.0.x.
  6278. - If we receive a general-purpose descriptor and then receive an
  6279. identical bridge-purpose descriptor soon after, don't discard
  6280. the next one as a duplicate.
  6281. o Minor features:
  6282. - If BridgeRelay is set to 1, then the default for
  6283. PublishServerDescriptor is now "bridge" rather than "v2,v3".
  6284. - If the user sets RelayBandwidthRate but doesn't set
  6285. RelayBandwidthBurst, then make them equal rather than erroring out.
  6286. Changes in version 0.2.0.13-alpha - 2007-12-21
  6287. Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
  6288. Goodell, fixes many more bugs, and adds a lot of infrastructure for
  6289. upcoming features.
  6290. o New directory authorities:
  6291. - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
  6292. authority.
  6293. o Major bugfixes:
  6294. - Only update guard status (usable / not usable) once we have
  6295. enough directory information. This was causing us to always pick
  6296. two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
  6297. causing us to discard all our guards on startup if we hadn't been
  6298. running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
  6299. - Purge old entries from the "rephist" database and the hidden
  6300. service descriptor databases even when DirPort is zero. Bugfix
  6301. on 0.1.2.x.
  6302. - We were ignoring our RelayBandwidthRate for the first 30 seconds
  6303. after opening a circuit -- even a relayed circuit. Bugfix on
  6304. 0.2.0.3-alpha.
  6305. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  6306. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  6307. crashing or mis-answering these types of requests.
  6308. - Relays were publishing their server descriptor to v1 and v2
  6309. directory authorities, but they didn't try publishing to v3-only
  6310. authorities. Fix this; and also stop publishing to v1 authorities.
  6311. Bugfix on 0.2.0.x.
  6312. - When we were reading router descriptors from cache, we were ignoring
  6313. the annotations -- so for example we were reading in bridge-purpose
  6314. descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
  6315. - When we decided to send a 503 response to a request for servers, we
  6316. were then also sending the server descriptors: this defeats the
  6317. whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
  6318. o Major features:
  6319. - Bridge relays now behave like clients with respect to time
  6320. intervals for downloading new consensus documents -- otherwise they
  6321. stand out. Bridge users now wait until the end of the interval,
  6322. so their bridge relay will be sure to have a new consensus document.
  6323. - Three new config options (AlternateDirAuthority,
  6324. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  6325. user selectively replace the default directory authorities by type,
  6326. rather than the all-or-nothing replacement that DirServer offers.
  6327. - Tor can now be configured to read a GeoIP file from disk in one
  6328. of two formats. This can be used by controllers to map IP addresses
  6329. to countries. Eventually, it may support exit-by-country.
  6330. - When possible, bridge relays remember which countries users
  6331. are coming from, and report aggregate information in their
  6332. extra-info documents, so that the bridge authorities can learn
  6333. where Tor is blocked.
  6334. - Bridge directory authorities now do reachability testing on the
  6335. bridges they know. They provide router status summaries to the
  6336. controller via "getinfo ns/purpose/bridge", and also dump summaries
  6337. to a file periodically.
  6338. - Stop fetching directory info so aggressively if your DirPort is
  6339. on but your ORPort is off; stop fetching v2 dir info entirely.
  6340. You can override these choices with the new FetchDirInfoEarly
  6341. config option.
  6342. o Minor bugfixes:
  6343. - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
  6344. consensus documents when there are too many relays at a single
  6345. IP address. Now clear it in v2 network status documents too, and
  6346. also clear it in routerinfo_t when the relay is no longer listed
  6347. in the relevant networkstatus document.
  6348. - Don't crash if we get an unexpected value for the
  6349. PublishServerDescriptor config option. Reported by Matt Edman;
  6350. bugfix on 0.2.0.9-alpha.
  6351. - Our new v2 hidden service descriptor format allows descriptors
  6352. that have no introduction points. But Tor crashed when we tried
  6353. to build a descriptor with no intro points (and it would have
  6354. crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
  6355. by Karsten Loesing.
  6356. - Fix building with dmalloc 5.5.2 with glibc.
  6357. - Reject uploaded descriptors and extrainfo documents if they're
  6358. huge. Otherwise we'll cache them all over the network and it'll
  6359. clog everything up. Reported by Aljosha Judmayer.
  6360. - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
  6361. via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
  6362. - When the DANGEROUS_VERSION controller status event told us we're
  6363. running an obsolete version, it used the string "OLD" to describe
  6364. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  6365. "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
  6366. - If we can't expand our list of entry guards (e.g. because we're
  6367. using bridges or we have StrictEntryNodes set), don't mark relays
  6368. down when they fail a directory request. Otherwise we're too quick
  6369. to mark all our entry points down. Bugfix on 0.1.2.x.
  6370. - Fix handling of hex nicknames when answering controller requests for
  6371. networkstatus by name, or when deciding whether to warn about unknown
  6372. routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
  6373. - Fix a couple of hard-to-trigger autoconf problems that could result
  6374. in really weird results on platforms whose sys/types.h files define
  6375. nonstandard integer types. Bugfix on 0.1.2.x.
  6376. - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
  6377. - Don't crash on name lookup when we have no current consensus. Fixes
  6378. bug 538; bugfix on 0.2.0.x.
  6379. - Only Tors that want to mirror the v2 directory info should
  6380. create the "cached-status" directory in their datadir. (All Tors
  6381. used to create it.) Bugfix on 0.2.0.9-alpha.
  6382. - Directory authorities should only automatically download Extra Info
  6383. documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
  6384. o Minor features:
  6385. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  6386. consumers. (We already do this on HUP.)
  6387. - Authorities and caches fetch the v2 networkstatus documents
  6388. less often, now that v3 is encouraged.
  6389. - Add a new config option BridgeRelay that specifies you want to
  6390. be a bridge relay. Right now the only difference is that it makes
  6391. you answer begin_dir requests, and it makes you cache dir info,
  6392. even if your DirPort isn't on.
  6393. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  6394. ask about source, timestamp of arrival, purpose, etc. We need
  6395. something like this to help Vidalia not do GeoIP lookups on bridge
  6396. addresses.
  6397. - Allow multiple HashedControlPassword config lines, to support
  6398. multiple controller passwords.
  6399. - Authorities now decide whether they're authoritative for a given
  6400. router based on the router's purpose.
  6401. - New config options AuthDirBadDir and AuthDirListBadDirs for
  6402. authorities to mark certain relays as "bad directories" in the
  6403. networkstatus documents. Also supports the "!baddir" directive in
  6404. the approved-routers file.
  6405. Changes in version 0.2.0.12-alpha - 2007-11-16
  6406. This twelfth development snapshot fixes some more build problems as
  6407. well as a few minor bugs.
  6408. o Compile fixes:
  6409. - Make it build on OpenBSD again. Patch from tup.
  6410. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
  6411. package-building for Red Hat, OS X, etc.
  6412. o Minor bugfixes (on 0.1.2.x):
  6413. - Changing the ExitPolicyRejectPrivate setting should cause us to
  6414. rebuild our server descriptor.
  6415. o Minor bugfixes (on 0.2.0.x):
  6416. - When we're lacking a consensus, don't try to perform rendezvous
  6417. operations. Reported by Karsten Loesing.
  6418. - Fix a small memory leak whenever we decide against using a
  6419. newly picked entry guard. Reported by Mike Perry.
  6420. - When authorities detected more than two relays running on the same
  6421. IP address, they were clearing all the status flags but forgetting
  6422. to clear the "hsdir" flag. So clients were being told that a
  6423. given relay was the right choice for a v2 hsdir lookup, yet they
  6424. never had its descriptor because it was marked as 'not running'
  6425. in the consensus.
  6426. - If we're trying to fetch a bridge descriptor and there's no way
  6427. the bridge authority could help us (for example, we don't know
  6428. a digest, or there is no bridge authority), don't be so eager to
  6429. fall back to asking the bridge authority.
  6430. - If we're using bridges or have strictentrynodes set, and our
  6431. chosen exit is in the same family as all our bridges/entry guards,
  6432. then be flexible about families.
  6433. o Minor features:
  6434. - When we negotiate a v2 link-layer connection (not yet implemented),
  6435. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  6436. negotiated a v1 connection for their next step. Initial code for
  6437. proposal 110.
  6438. Changes in version 0.2.0.11-alpha - 2007-11-12
  6439. This eleventh development snapshot fixes some build problems with
  6440. the previous snapshot. It also includes a more secure-by-default exit
  6441. policy for relays, fixes an enormous memory leak for exit relays, and
  6442. fixes another bug where servers were falling out of the directory list.
  6443. o Security fixes:
  6444. - Exit policies now reject connections that are addressed to a
  6445. relay's public (external) IP address too, unless
  6446. ExitPolicyRejectPrivate is turned off. We do this because too
  6447. many relays are running nearby to services that trust them based
  6448. on network address. Bugfix on 0.1.2.x.
  6449. o Major bugfixes:
  6450. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  6451. on every successful resolve. Reported by Mike Perry; bugfix
  6452. on 0.1.2.x.
  6453. - On authorities, never downgrade to old router descriptors simply
  6454. because they're listed in the consensus. This created a catch-22
  6455. where we wouldn't list a new descriptor because there was an
  6456. old one in the consensus, and we couldn't get the new one in the
  6457. consensus because we wouldn't list it. Possible fix for bug 548.
  6458. Also, this might cause bug 543 to appear on authorities; if so,
  6459. we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
  6460. o Packaging fixes on 0.2.0.10-alpha:
  6461. - We were including instructions about what to do with the
  6462. src/config/fallback-consensus file, but we weren't actually
  6463. including it in the tarball. Disable all of that for now.
  6464. o Minor features:
  6465. - Allow people to say PreferTunnelledDirConns rather than
  6466. PreferTunneledDirConns, for those alternate-spellers out there.
  6467. o Minor bugfixes:
  6468. - Don't reevaluate all the information from our consensus document
  6469. just because we've downloaded a v2 networkstatus that we intend
  6470. to cache. Fixes bug 545; bugfix on 0.2.0.x.
  6471. Changes in version 0.2.0.10-alpha - 2007-11-10
  6472. This tenth development snapshot adds a third v3 directory authority
  6473. run by Mike Perry, adds most of Karsten Loesing's new hidden service
  6474. descriptor format, fixes a bad crash bug and new bridge bugs introduced
  6475. in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
  6476. fixes some minor memory leaks in previous 0.2.0.x snapshots, and
  6477. addresses many more minor issues.
  6478. o New directory authorities:
  6479. - Set up ides (run by Mike Perry) as the third v3 directory authority.
  6480. o Major features:
  6481. - Allow tunnelled directory connections to ask for an encrypted
  6482. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  6483. connection independently. Now we can make anonymized begin_dir
  6484. connections for (e.g.) more secure hidden service posting and
  6485. fetching.
  6486. - More progress on proposal 114: code from Karsten Loesing to
  6487. implement new hidden service descriptor format.
  6488. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  6489. accommodate the growing number of servers that use the default
  6490. and are reaching it.
  6491. - Directory authorities use a new formula for selecting which nodes
  6492. to advertise as Guards: they must be in the top 7/8 in terms of
  6493. how long we have known about them, and above the median of those
  6494. nodes in terms of weighted fractional uptime.
  6495. - Make "not enough dir info yet" warnings describe *why* Tor feels
  6496. it doesn't have enough directory info yet.
  6497. o Major bugfixes:
  6498. - Stop servers from crashing if they set a Family option (or
  6499. maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
  6500. by Fabian Keil.
  6501. - Make bridge users work again -- the move to v3 directories in
  6502. 0.2.0.9-alpha had introduced a number of bugs that made bridges
  6503. no longer work for clients.
  6504. - When the clock jumps forward a lot, do not allow the bandwidth
  6505. buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
  6506. o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
  6507. - When the consensus lists a router descriptor that we previously were
  6508. mirroring, but that we considered non-canonical, reload the
  6509. descriptor as canonical. This fixes bug 543 where Tor servers
  6510. would start complaining after a few days that they don't have
  6511. enough directory information to build a circuit.
  6512. - Consider replacing the current consensus when certificates arrive
  6513. that make the pending consensus valid. Previously, we were only
  6514. considering replacement when the new certs _didn't_ help.
  6515. - Fix an assert error on startup if we didn't already have the
  6516. consensus and certs cached in our datadirectory: we were caching
  6517. the consensus in consensus_waiting_for_certs but then free'ing it
  6518. right after.
  6519. - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
  6520. Request) if we need more v3 certs but we've already got pending
  6521. requests for all of them.
  6522. - Correctly back off from failing certificate downloads. Fixes
  6523. bug 546.
  6524. - Authorities don't vote on the Running flag if they have been running
  6525. for less than 30 minutes themselves. Fixes bug 547, where a newly
  6526. started authority would vote that everyone was down.
  6527. o New requirements:
  6528. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  6529. it, it had no AES, and it hasn't seen any security patches since
  6530. 2004.
  6531. o Minor features:
  6532. - Clients now hold circuitless TLS connections open for 1.5 times
  6533. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  6534. rebuild a new circuit over them within that timeframe. Previously,
  6535. they held them open only for KeepalivePeriod (5 minutes).
  6536. - Use "If-Modified-Since" to avoid retrieving consensus
  6537. networkstatuses that we already have.
  6538. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  6539. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  6540. we start knowing some directory caches.
  6541. - When we receive a consensus from the future, warn about skew.
  6542. - Improve skew reporting: try to give the user a better log message
  6543. about how skewed they are, and how much this matters.
  6544. - When we have a certificate for an authority, believe that
  6545. certificate's claims about the authority's IP address.
  6546. - New --quiet command-line option to suppress the default console log.
  6547. Good in combination with --hash-password.
  6548. - Authorities send back an X-Descriptor-Not-New header in response to
  6549. an accepted-but-discarded descriptor upload. Partially implements
  6550. fix for bug 535.
  6551. - Make the log message for "tls error. breaking." more useful.
  6552. - Better log messages about certificate downloads, to attempt to
  6553. track down the second incarnation of bug 546.
  6554. o Minor features (bridges):
  6555. - If bridge users set UpdateBridgesFromAuthority, but the digest
  6556. they ask for is a 404 from the bridge authority, they now fall
  6557. back to trying the bridge directly.
  6558. - Bridges now use begin_dir to publish their server descriptor to
  6559. the bridge authority, even when they haven't set TunnelDirConns.
  6560. o Minor features (controller):
  6561. - When reporting clock skew, and we know that the clock is _at least
  6562. as skewed_ as some value, but we don't know the actual value,
  6563. report the value as a "minimum skew."
  6564. o Utilities:
  6565. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  6566. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  6567. Perry.
  6568. o Minor bugfixes:
  6569. - Refuse to start if both ORPort and UseBridges are set. Bugfix
  6570. on 0.2.0.x, suggested by Matt Edman.
  6571. - Don't stop fetching descriptors when FetchUselessDescriptors is
  6572. set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
  6573. reported by tup and ioerror.
  6574. - Better log message on vote from unknown authority.
  6575. - Don't log "Launching 0 request for 0 router" message.
  6576. o Minor bugfixes (memory leaks):
  6577. - Stop leaking memory every time we parse a v3 certificate. Bugfix
  6578. on 0.2.0.1-alpha.
  6579. - Stop leaking memory every time we load a v3 certificate. Bugfix
  6580. on 0.2.0.1-alpha. Fixes bug 536.
  6581. - Stop leaking a cached networkstatus on exit. Bugfix on
  6582. 0.2.0.3-alpha.
  6583. - Stop leaking voter information every time we free a consensus.
  6584. Bugfix on 0.2.0.3-alpha.
  6585. - Stop leaking signed data every time we check a voter signature.
  6586. Bugfix on 0.2.0.3-alpha.
  6587. - Stop leaking a signature every time we fail to parse a consensus or
  6588. a vote. Bugfix on 0.2.0.3-alpha.
  6589. - Stop leaking v2_download_status_map on shutdown. Bugfix on
  6590. 0.2.0.9-alpha.
  6591. - Stop leaking conn->nickname every time we make a connection to a
  6592. Tor relay without knowing its expected identity digest (e.g. when
  6593. using bridges). Bugfix on 0.2.0.3-alpha.
  6594. - Minor bugfixes (portability):
  6595. - Run correctly on platforms where rlim_t is larger than unsigned
  6596. long, and/or where the real limit for number of open files is
  6597. OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
  6598. particular, these may be needed for OS X 10.5.
  6599. Changes in version 0.1.2.18 - 2007-10-28
  6600. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  6601. hidden service introduction that were causing huge delays, and a big
  6602. bug that was causing some servers to disappear from the network status
  6603. lists for a few hours each day.
  6604. o Major bugfixes (crashes):
  6605. - If a connection is shut down abruptly because of something that
  6606. happened inside connection_flushed_some(), do not call
  6607. connection_finished_flushing(). Should fix bug 451:
  6608. "connection_stop_writing: Assertion conn->write_event failed"
  6609. Bugfix on 0.1.2.7-alpha.
  6610. - Fix possible segfaults in functions called from
  6611. rend_process_relay_cell().
  6612. o Major bugfixes (hidden services):
  6613. - Hidden services were choosing introduction points uniquely by
  6614. hexdigest, but when constructing the hidden service descriptor
  6615. they merely wrote the (potentially ambiguous) nickname.
  6616. - Clients now use the v2 intro format for hidden service
  6617. connections: they specify their chosen rendezvous point by identity
  6618. digest rather than by (potentially ambiguous) nickname. These
  6619. changes could speed up hidden service connections dramatically.
  6620. o Major bugfixes (other):
  6621. - Stop publishing a new server descriptor just because we get a
  6622. HUP signal. This led (in a roundabout way) to some servers getting
  6623. dropped from the networkstatus lists for a few hours each day.
  6624. - When looking for a circuit to cannibalize, consider family as well
  6625. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  6626. circuit cannibalization).
  6627. - When a router wasn't listed in a new networkstatus, we were leaving
  6628. the flags for that router alone -- meaning it remained Named,
  6629. Running, etc -- even though absence from the networkstatus means
  6630. that it shouldn't be considered to exist at all anymore. Now we
  6631. clear all the flags for routers that fall out of the networkstatus
  6632. consensus. Fixes bug 529.
  6633. o Minor bugfixes:
  6634. - Don't try to access (or alter) the state file when running
  6635. --list-fingerprint or --verify-config or --hash-password. Resolves
  6636. bug 499.
  6637. - When generating information telling us how to extend to a given
  6638. router, do not try to include the nickname if it is
  6639. absent. Resolves bug 467.
  6640. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  6641. a way to trigger this remotely.)
  6642. - When sending a status event to the controller telling it that an
  6643. OR address is reachable, set the port correctly. (Previously we
  6644. were reporting the dir port.)
  6645. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  6646. command. Bugfix on 0.1.2.17.
  6647. - When loading bandwidth history, do not believe any information in
  6648. the future. Fixes bug 434.
  6649. - When loading entry guard information, do not believe any information
  6650. in the future.
  6651. - When we have our clock set far in the future and generate an
  6652. onion key, then re-set our clock to be correct, we should not stop
  6653. the onion key from getting rotated.
  6654. - On some platforms, accept() can return a broken address. Detect
  6655. this more quietly, and deal accordingly. Fixes bug 483.
  6656. - It's not actually an error to find a non-pending entry in the DNS
  6657. cache when canceling a pending resolve. Don't log unless stuff
  6658. is fishy. Resolves bug 463.
  6659. - Don't reset trusted dir server list when we set a configuration
  6660. option. Patch from Robert Hogan.
  6661. - Don't try to create the datadir when running --verify-config or
  6662. --hash-password. Resolves bug 540.
  6663. Changes in version 0.2.0.9-alpha - 2007-10-24
  6664. This ninth development snapshot switches clients to the new v3 directory
  6665. system; allows servers to be listed in the network status even when they
  6666. have the same nickname as a registered server; and fixes many other
  6667. bugs including a big one that was causing some servers to disappear
  6668. from the network status lists for a few hours each day.
  6669. o Major features (directory system):
  6670. - Clients now download v3 consensus networkstatus documents instead
  6671. of v2 networkstatus documents. Clients and caches now base their
  6672. opinions about routers on these consensus documents. Clients only
  6673. download router descriptors listed in the consensus.
  6674. - Authorities now list servers who have the same nickname as
  6675. a different named server, but list them with a new flag,
  6676. "Unnamed". Now we can list servers that happen to pick the same
  6677. nickname as a server that registered two years ago and then
  6678. disappeared. Partially implements proposal 122.
  6679. - If the consensus lists a router as "Unnamed", the name is assigned
  6680. to a different router: do not identify the router by that name.
  6681. Partially implements proposal 122.
  6682. - Authorities can now come to a consensus on which method to use to
  6683. compute the consensus. This gives us forward compatibility.
  6684. o Major bugfixes:
  6685. - Stop publishing a new server descriptor just because we HUP or
  6686. when we find our DirPort to be reachable but won't actually publish
  6687. it. New descriptors without any real changes are dropped by the
  6688. authorities, and can screw up our "publish every 18 hours" schedule.
  6689. Bugfix on 0.1.2.x.
  6690. - When a router wasn't listed in a new networkstatus, we were leaving
  6691. the flags for that router alone -- meaning it remained Named,
  6692. Running, etc -- even though absence from the networkstatus means
  6693. that it shouldn't be considered to exist at all anymore. Now we
  6694. clear all the flags for routers that fall out of the networkstatus
  6695. consensus. Fixes bug 529; bugfix on 0.1.2.x.
  6696. - Fix awful behavior in DownloadExtraInfo option where we'd fetch
  6697. extrainfo documents and then discard them immediately for not
  6698. matching the latest router. Bugfix on 0.2.0.1-alpha.
  6699. o Minor features (v3 directory protocol):
  6700. - Allow tor-gencert to generate a new certificate without replacing
  6701. the signing key.
  6702. - Allow certificates to include an address.
  6703. - When we change our directory-cache settings, reschedule all voting
  6704. and download operations.
  6705. - Reattempt certificate downloads immediately on failure, as long as
  6706. we haven't failed a threshold number of times yet.
  6707. - Delay retrying consensus downloads while we're downloading
  6708. certificates to verify the one we just got. Also, count getting a
  6709. consensus that we already have (or one that isn't valid) as a failure,
  6710. and count failing to get the certificates after 20 minutes as a
  6711. failure.
  6712. - Build circuits and download descriptors even if our consensus is a
  6713. little expired. (This feature will go away once authorities are
  6714. more reliable.)
  6715. o Minor features (router descriptor cache):
  6716. - If we find a cached-routers file that's been sitting around for more
  6717. than 28 days unmodified, then most likely it's a leftover from
  6718. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  6719. routers anyway.
  6720. - When we (as a cache) download a descriptor because it was listed
  6721. in a consensus, remember when the consensus was supposed to expire,
  6722. and don't expire the descriptor until then.
  6723. o Minor features (performance):
  6724. - Call routerlist_remove_old_routers() much less often. This should
  6725. speed startup, especially on directory caches.
  6726. - Don't try to launch new descriptor downloads quite so often when we
  6727. already have enough directory information to build circuits.
  6728. - Base64 decoding was actually showing up on our profile when parsing
  6729. the initial descriptor file; switch to an in-process all-at-once
  6730. implementation that's about 3.5x times faster than calling out to
  6731. OpenSSL.
  6732. o Minor features (compilation):
  6733. - Detect non-ASCII platforms (if any still exist) and refuse to
  6734. build there: some of our code assumes that 'A' is 65 and so on.
  6735. o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
  6736. - Make the "next period" votes into "current period" votes immediately
  6737. after publishing the consensus; avoid a heisenbug that made them
  6738. stick around indefinitely.
  6739. - When we discard a vote as a duplicate, do not report this as
  6740. an error.
  6741. - Treat missing v3 keys or certificates as an error when running as a
  6742. v3 directory authority.
  6743. - When we're configured to be a v3 authority, but we're only listed
  6744. as a non-v3 authority in our DirServer line for ourself, correct
  6745. the listing.
  6746. - If an authority doesn't have a qualified hostname, just put
  6747. its address in the vote. This fixes the problem where we referred to
  6748. "moria on moria:9031."
  6749. - Distinguish between detached signatures for the wrong period, and
  6750. detached signatures for a divergent vote.
  6751. - Fix a small memory leak when computing a consensus.
  6752. - When there's no concensus, we were forming a vote every 30
  6753. minutes, but writing the "valid-after" line in our vote based
  6754. on our configured V3AuthVotingInterval: so unless the intervals
  6755. matched up, we immediately rejected our own vote because it didn't
  6756. start at the voting interval that caused us to construct a vote.
  6757. o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
  6758. - Delete unverified-consensus when the real consensus is set.
  6759. - Consider retrying a consensus networkstatus fetch immediately
  6760. after one fails: don't wait 60 seconds to notice.
  6761. - When fetching a consensus as a cache, wait until a newer consensus
  6762. should exist before trying to replace the current one.
  6763. - Use a more forgiving schedule for retrying failed consensus
  6764. downloads than for other types.
  6765. o Minor bugfixes (other directory issues):
  6766. - Correct the implementation of "download votes by digest." Bugfix on
  6767. 0.2.0.8-alpha.
  6768. - Authorities no longer send back "400 you're unreachable please fix
  6769. it" errors to Tor servers that aren't online all the time. We're
  6770. supposed to tolerate these servers now. Bugfix on 0.1.2.x.
  6771. o Minor bugfixes (controller):
  6772. - Don't reset trusted dir server list when we set a configuration
  6773. option. Patch from Robert Hogan; bugfix on 0.1.2.x.
  6774. - Respond to INT and TERM SIGNAL commands before we execute the
  6775. signal, in case the signal shuts us down. We had a patch in
  6776. 0.1.2.1-alpha that tried to do this by queueing the response on
  6777. the connection's buffer before shutting down, but that really
  6778. isn't the same thing at all. Bug located by Matt Edman.
  6779. o Minor bugfixes (misc):
  6780. - Correctly check for bad options to the "PublishServerDescriptor"
  6781. config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
  6782. - Stop leaking memory on failing case of base32_decode, and make
  6783. it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
  6784. - Don't try to download extrainfo documents when we're trying to
  6785. fetch enough directory info to build a circuit: having enough
  6786. info should get priority. Bugfix on 0.2.0.x.
  6787. - Don't complain that "your server has not managed to confirm that its
  6788. ports are reachable" if we haven't been able to build any circuits
  6789. yet. Bug found by spending four hours without a v3 consensus. Bugfix
  6790. on 0.1.2.x.
  6791. - Detect the reason for failing to mmap a descriptor file we just
  6792. wrote, and give a more useful log message. Fixes bug 533. Bugfix
  6793. on 0.1.2.x.
  6794. o Code simplifications and refactoring:
  6795. - Remove support for the old bw_accounting file: we've been storing
  6796. bandwidth accounting information in the state file since
  6797. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  6798. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  6799. downgrade to 0.1.1.x or earlier.
  6800. - New convenience code to locate a file within the DataDirectory.
  6801. - Move non-authority functionality out of dirvote.c.
  6802. - Refactor the arguments for router_pick_{directory_|trusteddir}server
  6803. so that they all take the same named flags.
  6804. o Utilities
  6805. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  6806. Unix users an easy way to script their Tor process (e.g. by
  6807. adjusting bandwidth based on the time of the day).
  6808. Changes in version 0.2.0.8-alpha - 2007-10-12
  6809. This eighth development snapshot fixes a crash bug that's been bothering
  6810. us since February 2007, lets bridge authorities store a list of bridge
  6811. descriptors they've seen, gets v3 directory voting closer to working,
  6812. starts caching v3 directory consensus documents on directory mirrors,
  6813. and fixes a variety of smaller issues including some minor memory leaks.
  6814. o Major features (router descriptor cache):
  6815. - Store routers in a file called cached-descriptors instead of in
  6816. cached-routers. Initialize cached-descriptors from cached-routers
  6817. if the old format is around. The new format allows us to store
  6818. annotations along with descriptors.
  6819. - Use annotations to record the time we received each descriptor, its
  6820. source, and its purpose.
  6821. - Disable the SETROUTERPURPOSE controller command: it is now
  6822. obsolete.
  6823. - Controllers should now specify cache=no or cache=yes when using
  6824. the +POSTDESCRIPTOR command.
  6825. - Bridge authorities now write bridge descriptors to disk, meaning
  6826. we can export them to other programs and begin distributing them
  6827. to blocked users.
  6828. o Major features (directory authorities):
  6829. - When a v3 authority is missing votes or signatures, it now tries
  6830. to fetch them.
  6831. - Directory authorities track weighted fractional uptime as well as
  6832. weighted mean-time-between failures. WFU is suitable for deciding
  6833. whether a node is "usually up", while MTBF is suitable for deciding
  6834. whether a node is "likely to stay up." We need both, because
  6835. "usually up" is a good requirement for guards, while "likely to
  6836. stay up" is a good requirement for long-lived connections.
  6837. o Major features (v3 directory system):
  6838. - Caches now download v3 network status documents as needed,
  6839. and download the descriptors listed in them.
  6840. - All hosts now attempt to download and keep fresh v3 authority
  6841. certificates, and re-attempt after failures.
  6842. - More internal-consistency checks for vote parsing.
  6843. o Major bugfixes (crashes):
  6844. - If a connection is shut down abruptly because of something that
  6845. happened inside connection_flushed_some(), do not call
  6846. connection_finished_flushing(). Should fix bug 451. Bugfix on
  6847. 0.1.2.7-alpha.
  6848. o Major bugfixes (performance):
  6849. - Fix really bad O(n^2) performance when parsing a long list of
  6850. routers: Instead of searching the entire list for an "extra-info "
  6851. string which usually wasn't there, once for every routerinfo
  6852. we read, just scan lines forward until we find one we like.
  6853. Bugfix on 0.2.0.1.
  6854. - When we add data to a write buffer in response to the data on that
  6855. write buffer getting low because of a flush, do not consider the
  6856. newly added data as a candidate for immediate flushing, but rather
  6857. make it wait until the next round of writing. Otherwise, we flush
  6858. and refill recursively, and a single greedy TLS connection can
  6859. eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
  6860. o Minor features (v3 authority system):
  6861. - Add more ways for tools to download the votes that lead to the
  6862. current consensus.
  6863. - Send a 503 when low on bandwidth and a vote, consensus, or
  6864. certificate is requested.
  6865. - If-modified-since is now implemented properly for all kinds of
  6866. certificate requests.
  6867. o Minor bugfixes (network statuses):
  6868. - Tweak the implementation of proposal 109 slightly: allow at most
  6869. two Tor servers on the same IP address, except if it's the location
  6870. of a directory authority, in which case allow five. Bugfix on
  6871. 0.2.0.3-alpha.
  6872. o Minor bugfixes (controller):
  6873. - When sending a status event to the controller telling it that an
  6874. OR address is reachable, set the port correctly. (Previously we
  6875. were reporting the dir port.) Bugfix on 0.1.2.x.
  6876. o Minor bugfixes (v3 directory system):
  6877. - Fix logic to look up a cert by its signing key digest. Bugfix on
  6878. 0.2.0.7-alpha.
  6879. - Only change the reply to a vote to "OK" if it's not already
  6880. set. This gets rid of annoying "400 OK" log messages, which may
  6881. have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
  6882. - When we get a valid consensus, recompute the voting schedule.
  6883. - Base the valid-after time of a vote on the consensus voting
  6884. schedule, not on our preferred schedule.
  6885. - Make the return values and messages from signature uploads and
  6886. downloads more sensible.
  6887. - Fix a memory leak when serving votes and consensus documents, and
  6888. another when serving certificates.
  6889. o Minor bugfixes (performance):
  6890. - Use a slightly simpler string hashing algorithm (copying Python's
  6891. instead of Java's) and optimize our digest hashing algorithm to take
  6892. advantage of 64-bit platforms and to remove some possibly-costly
  6893. voodoo.
  6894. - Fix a minor memory leak whenever we parse guards from our state
  6895. file. Bugfix on 0.2.0.7-alpha.
  6896. - Fix a minor memory leak whenever we write out a file. Bugfix on
  6897. 0.2.0.7-alpha.
  6898. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  6899. command. Bugfix on 0.2.0.5-alpha.
  6900. o Minor bugfixes (portability):
  6901. - On some platforms, accept() can return a broken address. Detect
  6902. this more quietly, and deal accordingly. Fixes bug 483.
  6903. - Stop calling tor_strlower() on uninitialized memory in some cases.
  6904. Bugfix in 0.2.0.7-alpha.
  6905. o Minor bugfixes (usability):
  6906. - Treat some 403 responses from directory servers as INFO rather than
  6907. WARN-severity events.
  6908. - It's not actually an error to find a non-pending entry in the DNS
  6909. cache when canceling a pending resolve. Don't log unless stuff is
  6910. fishy. Resolves bug 463.
  6911. o Minor bugfixes (anonymity):
  6912. - Never report that we've used more bandwidth than we're willing to
  6913. relay: it leaks how much non-relay traffic we're using. Resolves
  6914. bug 516.
  6915. - When looking for a circuit to cannibalize, consider family as well
  6916. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  6917. circuit cannibalization).
  6918. o Code simplifications and refactoring:
  6919. - Make a bunch of functions static. Remove some dead code.
  6920. - Pull out about a third of the really big routerlist.c; put it in a
  6921. new module, networkstatus.c.
  6922. - Merge the extra fields in local_routerstatus_t back into
  6923. routerstatus_t: we used to need one routerstatus_t for each
  6924. authority's opinion, plus a local_routerstatus_t for the locally
  6925. computed consensus opinion. To save space, we put the locally
  6926. modified fields into local_routerstatus_t, and only the common
  6927. stuff into routerstatus_t. But once v3 directories are in use,
  6928. clients and caches will no longer need to hold authority opinions;
  6929. thus, the rationale for keeping the types separate is now gone.
  6930. - Make the code used to reschedule and reattempt downloads more
  6931. uniform.
  6932. - Turn all 'Are we a directory server/mirror?' logic into a call to
  6933. dirserver_mode().
  6934. - Remove the code to generate the oldest (v1) directory format.
  6935. The code has been disabled since 0.2.0.5-alpha.
  6936. Changes in version 0.2.0.7-alpha - 2007-09-21
  6937. This seventh development snapshot makes bridges work again, makes bridge
  6938. authorities work for the first time, fixes two huge performance flaws
  6939. in hidden services, and fixes a variety of minor issues.
  6940. o New directory authorities:
  6941. - Set up moria1 and tor26 as the first v3 directory authorities. See
  6942. doc/spec/dir-spec.txt for details on the new directory design.
  6943. o Major bugfixes (crashes):
  6944. - Fix possible segfaults in functions called from
  6945. rend_process_relay_cell(). Bugfix on 0.1.2.x.
  6946. o Major bugfixes (bridges):
  6947. - Fix a bug that made servers send a "404 Not found" in response to
  6948. attempts to fetch their server descriptor. This caused Tor servers
  6949. to take many minutes to establish reachability for their DirPort,
  6950. and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
  6951. - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
  6952. users configure that and specify a bridge with an identity
  6953. fingerprint, now they will lookup the bridge descriptor at the
  6954. default bridge authority via a one-hop tunnel, but once circuits
  6955. are established they will switch to a three-hop tunnel for later
  6956. connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
  6957. o Major bugfixes (hidden services):
  6958. - Hidden services were choosing introduction points uniquely by
  6959. hexdigest, but when constructing the hidden service descriptor
  6960. they merely wrote the (potentially ambiguous) nickname.
  6961. - Clients now use the v2 intro format for hidden service
  6962. connections: they specify their chosen rendezvous point by identity
  6963. digest rather than by (potentially ambiguous) nickname. Both
  6964. are bugfixes on 0.1.2.x, and they could speed up hidden service
  6965. connections dramatically. Thanks to Karsten Loesing.
  6966. o Minor features (security):
  6967. - As a client, do not believe any server that tells us that an
  6968. address maps to an internal address space.
  6969. - Make it possible to enable HashedControlPassword and
  6970. CookieAuthentication at the same time.
  6971. o Minor features (guard nodes):
  6972. - Tag every guard node in our state file with the version that
  6973. we believe added it, or with our own version if we add it. This way,
  6974. if a user temporarily runs an old version of Tor and then switches
  6975. back to a new one, she doesn't automatically lose her guards.
  6976. o Minor features (speed):
  6977. - When implementing AES counter mode, update only the portions of the
  6978. counter buffer that need to change, and don't keep separate
  6979. network-order and host-order counters when they are the same (i.e.,
  6980. on big-endian hosts.)
  6981. o Minor features (controller):
  6982. - Accept LF instead of CRLF on controller, since some software has a
  6983. hard time generating real Internet newlines.
  6984. - Add GETINFO values for the server status events
  6985. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  6986. Robert Hogan.
  6987. o Removed features:
  6988. - Routers no longer include bandwidth-history lines in their
  6989. descriptors; this information is already available in extra-info
  6990. documents, and including it in router descriptors took up 60%
  6991. (!) of compressed router descriptor downloads. Completes
  6992. implementation of proposal 104.
  6993. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  6994. and TorControl.py, as they use the old v0 controller protocol,
  6995. and are obsoleted by TorFlow anyway.
  6996. - Drop support for v1 rendezvous descriptors, since we never used
  6997. them anyway, and the code has probably rotted by now. Based on
  6998. patch from Karsten Loesing.
  6999. - On OSX, stop warning the user that kqueue support in libevent is
  7000. "experimental", since it seems to have worked fine for ages.
  7001. o Minor bugfixes:
  7002. - When generating information telling us how to extend to a given
  7003. router, do not try to include the nickname if it is absent. Fixes
  7004. bug 467. Bugfix on 0.2.0.3-alpha.
  7005. - Fix a user-triggerable (but not remotely-triggerable) segfault
  7006. in expand_filename(). Bugfix on 0.1.2.x.
  7007. - Fix a memory leak when freeing incomplete requests from DNSPort.
  7008. Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
  7009. - Don't try to access (or alter) the state file when running
  7010. --list-fingerprint or --verify-config or --hash-password. (Resolves
  7011. bug 499.) Bugfix on 0.1.2.x.
  7012. - Servers used to decline to publish their DirPort if their
  7013. BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
  7014. were below a threshold. Now they only look at BandwidthRate and
  7015. RelayBandwidthRate. Bugfix on 0.1.2.x.
  7016. - Remove an optimization in the AES counter-mode code that assumed
  7017. that the counter never exceeded 2^68. When the counter can be set
  7018. arbitrarily as an IV (as it is by Karsten's new hidden services
  7019. code), this assumption no longer holds. Bugfix on 0.1.2.x.
  7020. - Resume listing "AUTHORITY" flag for authorities in network status.
  7021. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
  7022. o Code simplifications and refactoring:
  7023. - Revamp file-writing logic so we don't need to have the entire
  7024. contents of a file in memory at once before we write to disk. Tor,
  7025. meet stdio.
  7026. - Turn "descriptor store" into a full-fledged type.
  7027. - Move all NT services code into a separate source file.
  7028. - Unify all code that computes medians, percentile elements, etc.
  7029. - Get rid of a needless malloc when parsing address policies.
  7030. Changes in version 0.1.2.17 - 2007-08-30
  7031. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  7032. X bundles. Vidalia 0.0.14 makes authentication required for the
  7033. ControlPort in the default configuration, which addresses important
  7034. security risks. Everybody who uses Vidalia (or another controller)
  7035. should upgrade.
  7036. In addition, this Tor update fixes major load balancing problems with
  7037. path selection, which should speed things up a lot once many people
  7038. have upgraded.
  7039. o Major bugfixes (security):
  7040. - We removed support for the old (v0) control protocol. It has been
  7041. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  7042. become more of a headache than it's worth.
  7043. o Major bugfixes (load balancing):
  7044. - When choosing nodes for non-guard positions, weight guards
  7045. proportionally less, since they already have enough load. Patch
  7046. from Mike Perry.
  7047. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  7048. will allow fast Tor servers to get more attention.
  7049. - When we're upgrading from an old Tor version, forget our current
  7050. guards and pick new ones according to the new weightings. These
  7051. three load balancing patches could raise effective network capacity
  7052. by a factor of four. Thanks to Mike Perry for measurements.
  7053. o Major bugfixes (stream expiration):
  7054. - Expire not-yet-successful application streams in all cases if
  7055. they've been around longer than SocksTimeout. Right now there are
  7056. some cases where the stream will live forever, demanding a new
  7057. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  7058. o Minor features (controller):
  7059. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  7060. is valid before any authentication has been received. It tells
  7061. a controller what kind of authentication is expected, and what
  7062. protocol is spoken. Implements proposal 119.
  7063. o Minor bugfixes (performance):
  7064. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  7065. greatly speeding up loading cached-routers from disk on startup.
  7066. - Disable sentinel-based debugging for buffer code: we squashed all
  7067. the bugs that this was supposed to detect a long time ago, and now
  7068. its only effect is to change our buffer sizes from nice powers of
  7069. two (which platform mallocs tend to like) to values slightly over
  7070. powers of two (which make some platform mallocs sad).
  7071. o Minor bugfixes (misc):
  7072. - If exit bandwidth ever exceeds one third of total bandwidth, then
  7073. use the correct formula to weight exit nodes when choosing paths.
  7074. Based on patch from Mike Perry.
  7075. - Choose perfectly fairly among routers when choosing by bandwidth and
  7076. weighting by fraction of bandwidth provided by exits. Previously, we
  7077. would choose with only approximate fairness, and correct ourselves
  7078. if we ran off the end of the list.
  7079. - If we require CookieAuthentication but we fail to write the
  7080. cookie file, we would warn but not exit, and end up in a state
  7081. where no controller could authenticate. Now we exit.
  7082. - If we require CookieAuthentication, stop generating a new cookie
  7083. every time we change any piece of our config.
  7084. - Refuse to start with certain directory authority keys, and
  7085. encourage people using them to stop.
  7086. - Terminate multi-line control events properly. Original patch
  7087. from tup.
  7088. - Fix a minor memory leak when we fail to find enough suitable
  7089. servers to choose a circuit.
  7090. - Stop leaking part of the descriptor when we run into a particularly
  7091. unparseable piece of it.
  7092. Changes in version 0.2.0.6-alpha - 2007-08-26
  7093. This sixth development snapshot features a new Vidalia version in the
  7094. Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
  7095. the ControlPort in the default configuration, which addresses important
  7096. security risks.
  7097. In addition, this snapshot fixes major load balancing problems
  7098. with path selection, which should speed things up a lot once many
  7099. people have upgraded. The directory authorities also use a new
  7100. mean-time-between-failure approach to tracking which servers are stable,
  7101. rather than just looking at the most recent uptime.
  7102. o New directory authorities:
  7103. - Set up Tonga as the default bridge directory authority.
  7104. o Major features:
  7105. - Directory authorities now track servers by weighted
  7106. mean-times-between-failures. When we have 4 or more days of data,
  7107. use measured MTBF rather than declared uptime to decide whether
  7108. to call a router Stable. Implements proposal 108.
  7109. o Major bugfixes (load balancing):
  7110. - When choosing nodes for non-guard positions, weight guards
  7111. proportionally less, since they already have enough load. Patch
  7112. from Mike Perry.
  7113. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  7114. will allow fast Tor servers to get more attention.
  7115. - When we're upgrading from an old Tor version, forget our current
  7116. guards and pick new ones according to the new weightings. These
  7117. three load balancing patches could raise effective network capacity
  7118. by a factor of four. Thanks to Mike Perry for measurements.
  7119. o Major bugfixes (descriptor parsing):
  7120. - Handle unexpected whitespace better in malformed descriptors. Bug
  7121. found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
  7122. o Minor features:
  7123. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  7124. GETINFO for Torstat to use until it can switch to using extrainfos.
  7125. - Optionally (if built with -DEXPORTMALLINFO) export the output
  7126. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  7127. from localhost.
  7128. o Minor bugfixes:
  7129. - Do not intermix bridge routers with controller-added
  7130. routers. (Bugfix on 0.2.0.x)
  7131. - Do not fail with an assert when accept() returns an unexpected
  7132. address family. Addresses but does not wholly fix bug 483. (Bugfix
  7133. on 0.2.0.x)
  7134. - Let directory authorities startup even when they can't generate
  7135. a descriptor immediately, e.g. because they don't know their
  7136. address.
  7137. - Stop putting the authentication cookie in a file called "0"
  7138. in your working directory if you don't specify anything for the
  7139. new CookieAuthFile option. Reported by Matt Edman.
  7140. - Make it possible to read the PROTOCOLINFO response in a way that
  7141. conforms to our control-spec. Reported by Matt Edman.
  7142. - Fix a minor memory leak when we fail to find enough suitable
  7143. servers to choose a circuit. Bugfix on 0.1.2.x.
  7144. - Stop leaking part of the descriptor when we run into a particularly
  7145. unparseable piece of it. Bugfix on 0.1.2.x.
  7146. - Unmap the extrainfo cache file on exit.
  7147. Changes in version 0.2.0.5-alpha - 2007-08-19
  7148. This fifth development snapshot fixes compilation on Windows again;
  7149. fixes an obnoxious client-side bug that slowed things down and put
  7150. extra load on the network; gets us closer to using the v3 directory
  7151. voting scheme; makes it easier for Tor controllers to use cookie-based
  7152. authentication; and fixes a variety of other bugs.
  7153. o Removed features:
  7154. - Version 1 directories are no longer generated in full. Instead,
  7155. authorities generate and serve "stub" v1 directories that list
  7156. no servers. This will stop Tor versions 0.1.0.x and earlier from
  7157. working, but (for security reasons) nobody should be running those
  7158. versions anyway.
  7159. o Major bugfixes (compilation, 0.2.0.x):
  7160. - Try to fix Win32 compilation again: improve checking for IPv6 types.
  7161. - Try to fix MSVC compilation: build correctly on platforms that do
  7162. not define s6_addr16 or s6_addr32.
  7163. - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
  7164. Zhou.
  7165. o Major bugfixes (stream expiration):
  7166. - Expire not-yet-successful application streams in all cases if
  7167. they've been around longer than SocksTimeout. Right now there are
  7168. some cases where the stream will live forever, demanding a new
  7169. circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
  7170. reported by lodger.
  7171. o Minor features (directory servers):
  7172. - When somebody requests a list of statuses or servers, and we have
  7173. none of those, return a 404 rather than an empty 200.
  7174. o Minor features (directory voting):
  7175. - Store v3 consensus status consensuses on disk, and reload them
  7176. on startup.
  7177. o Minor features (security):
  7178. - Warn about unsafe ControlPort configurations.
  7179. - Refuse to start with certain directory authority keys, and
  7180. encourage people using them to stop.
  7181. o Minor features (controller):
  7182. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  7183. is valid before any authentication has been received. It tells
  7184. a controller what kind of authentication is expected, and what
  7185. protocol is spoken. Implements proposal 119.
  7186. - New config option CookieAuthFile to choose a new location for the
  7187. cookie authentication file, and config option
  7188. CookieAuthFileGroupReadable to make it group-readable.
  7189. o Minor features (unit testing):
  7190. - Add command-line arguments to unit-test executable so that we can
  7191. invoke any chosen test from the command line rather than having
  7192. to run the whole test suite at once; and so that we can turn on
  7193. logging for the unit tests.
  7194. o Minor bugfixes (on 0.1.2.x):
  7195. - If we require CookieAuthentication but we fail to write the
  7196. cookie file, we would warn but not exit, and end up in a state
  7197. where no controller could authenticate. Now we exit.
  7198. - If we require CookieAuthentication, stop generating a new cookie
  7199. every time we change any piece of our config.
  7200. - When loading bandwidth history, do not believe any information in
  7201. the future. Fixes bug 434.
  7202. - When loading entry guard information, do not believe any information
  7203. in the future.
  7204. - When we have our clock set far in the future and generate an
  7205. onion key, then re-set our clock to be correct, we should not stop
  7206. the onion key from getting rotated.
  7207. - Clean up torrc sample config file.
  7208. - Do not automatically run configure from autogen.sh. This
  7209. non-standard behavior tended to annoy people who have built other
  7210. programs.
  7211. o Minor bugfixes (on 0.2.0.x):
  7212. - Fix a bug with AutomapHostsOnResolve that would always cause
  7213. the second request to fail. Bug reported by Kate. Bugfix on
  7214. 0.2.0.3-alpha.
  7215. - Fix a bug in ADDRMAP controller replies that would sometimes
  7216. try to print a NULL. Patch from tup.
  7217. - Read v3 directory authority keys from the right location.
  7218. - Numerous bugfixes to directory voting code.
  7219. Changes in version 0.1.2.16 - 2007-08-01
  7220. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  7221. remote attacker in certain situations to rewrite the user's torrc
  7222. configuration file. This can completely compromise anonymity of users
  7223. in most configurations, including those running the Vidalia bundles,
  7224. TorK, etc. Or worse.
  7225. o Major security fixes:
  7226. - Close immediately after missing authentication on control port;
  7227. do not allow multiple authentication attempts.
  7228. Changes in version 0.2.0.4-alpha - 2007-08-01
  7229. This fourth development snapshot fixes a critical security vulnerability
  7230. for most users, specifically those running Vidalia, TorK, etc. Everybody
  7231. should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
  7232. o Major security fixes:
  7233. - Close immediately after missing authentication on control port;
  7234. do not allow multiple authentication attempts.
  7235. o Major bugfixes (compilation):
  7236. - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
  7237. defined there.
  7238. o Minor features (performance):
  7239. - Be even more aggressive about releasing RAM from small
  7240. empty buffers. Thanks to our free-list code, this shouldn't be too
  7241. performance-intensive.
  7242. - Disable sentinel-based debugging for buffer code: we squashed all
  7243. the bugs that this was supposed to detect a long time ago, and
  7244. now its only effect is to change our buffer sizes from nice
  7245. powers of two (which platform mallocs tend to like) to values
  7246. slightly over powers of two (which make some platform mallocs sad).
  7247. - Log malloc statistics from mallinfo() on platforms where it
  7248. exists.
  7249. Changes in version 0.2.0.3-alpha - 2007-07-29
  7250. This third development snapshot introduces new experimental
  7251. blocking-resistance features and a preliminary version of the v3
  7252. directory voting design, and includes many other smaller features
  7253. and bugfixes.
  7254. o Major features:
  7255. - The first pieces of our "bridge" design for blocking-resistance
  7256. are implemented. People can run bridge directory authorities;
  7257. people can run bridges; and people can configure their Tor clients
  7258. with a set of bridges to use as the first hop into the Tor network.
  7259. See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
  7260. details.
  7261. - Create listener connections before we setuid to the configured
  7262. User and Group. Now non-Windows users can choose port values
  7263. under 1024, start Tor as root, and have Tor bind those ports
  7264. before it changes to another UID. (Windows users could already
  7265. pick these ports.)
  7266. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  7267. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  7268. on "vserver" accounts. (Patch from coderman.)
  7269. - Be even more aggressive about separating local traffic from relayed
  7270. traffic when RelayBandwidthRate is set. (Refines proposal 111.)
  7271. o Major features (experimental):
  7272. - First cut of code for "v3 dir voting": directory authorities will
  7273. vote on a common network status document rather than each publishing
  7274. their own opinion. This code needs more testing and more corner-case
  7275. handling before it's ready for use.
  7276. o Security fixes:
  7277. - Directory authorities now call routers Fast if their bandwidth is
  7278. at least 100KB/s, and consider their bandwidth adequate to be a
  7279. Guard if it is at least 250KB/s, no matter the medians. This fix
  7280. complements proposal 107. [Bugfix on 0.1.2.x]
  7281. - Directory authorities now never mark more than 3 servers per IP as
  7282. Valid and Running. (Implements proposal 109, by Kevin Bauer and
  7283. Damon McCoy.)
  7284. - Minor change to organizationName and commonName generation
  7285. procedures in TLS certificates during Tor handshakes, to invalidate
  7286. some earlier censorware approaches. This is not a long-term
  7287. solution, but applying it will give us a bit of time to look into
  7288. the epidemiology of countermeasures as they spread.
  7289. o Major bugfixes (directory):
  7290. - Rewrite directory tokenization code to never run off the end of
  7291. a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
  7292. o Minor features (controller):
  7293. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  7294. match requests to applications. (Patch from Robert Hogan.)
  7295. - Report address and port correctly on connections to DNSPort. (Patch
  7296. from Robert Hogan.)
  7297. - Add a RESOLVE command to launch hostname lookups. (Original patch
  7298. from Robert Hogan.)
  7299. - Add GETINFO status/enough-dir-info to let controllers tell whether
  7300. Tor has downloaded sufficient directory information. (Patch
  7301. from Tup.)
  7302. - You can now use the ControlSocket option to tell Tor to listen for
  7303. controller connections on Unix domain sockets on systems that
  7304. support them. (Patch from Peter Palfrader.)
  7305. - STREAM NEW events are generated for DNSPort requests and for
  7306. tunneled directory connections. (Patch from Robert Hogan.)
  7307. - New "GETINFO address-mappings/*" command to get address mappings
  7308. with expiry information. "addr-mappings/*" is now deprecated.
  7309. (Patch from Tup.)
  7310. o Minor features (misc):
  7311. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  7312. from croup.)
  7313. - The tor-gencert tool for v3 directory authorities now creates all
  7314. files as readable to the file creator only, and write-protects
  7315. the authority identity key.
  7316. - When dumping memory usage, list bytes used in buffer memory
  7317. free-lists.
  7318. - When running with dmalloc, dump more stats on hup and on exit.
  7319. - Directory authorities now fail quickly and (relatively) harmlessly
  7320. if they generate a network status document that is somehow
  7321. malformed.
  7322. o Traffic load balancing improvements:
  7323. - If exit bandwidth ever exceeds one third of total bandwidth, then
  7324. use the correct formula to weight exit nodes when choosing paths.
  7325. (Based on patch from Mike Perry.)
  7326. - Choose perfectly fairly among routers when choosing by bandwidth and
  7327. weighting by fraction of bandwidth provided by exits. Previously, we
  7328. would choose with only approximate fairness, and correct ourselves
  7329. if we ran off the end of the list. [Bugfix on 0.1.2.x]
  7330. o Performance improvements:
  7331. - Be more aggressive with freeing buffer RAM or putting it on the
  7332. memory free lists.
  7333. - Use Critical Sections rather than Mutexes for synchronizing threads
  7334. on win32; Mutexes are heavier-weight, and designed for synchronizing
  7335. between processes.
  7336. o Deprecated and removed features:
  7337. - RedirectExits is now deprecated.
  7338. - Stop allowing address masks that do not correspond to bit prefixes.
  7339. We have warned about these for a really long time; now it's time
  7340. to reject them. (Patch from croup.)
  7341. o Minor bugfixes (directory):
  7342. - Fix another crash bug related to extra-info caching. (Bug found by
  7343. Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
  7344. - Directories no longer return a "304 not modified" when they don't
  7345. have the networkstatus the client asked for. Also fix a memory
  7346. leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
  7347. - We had accidentally labelled 0.1.2.x directory servers as not
  7348. suitable for begin_dir requests, and had labelled no directory
  7349. servers as suitable for uploading extra-info documents. [Bugfix
  7350. on 0.2.0.1-alpha]
  7351. o Minor bugfixes (dns):
  7352. - Fix a crash when DNSPort is set more than once. (Patch from Robert
  7353. Hogan.) [Bugfix on 0.2.0.2-alpha]
  7354. - Add DNSPort connections to the global connection list, so that we
  7355. can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
  7356. on 0.2.0.2-alpha]
  7357. - Fix a dangling reference that could lead to a crash when DNSPort is
  7358. changed or closed (Patch from Robert Hogan.) [Bugfix on
  7359. 0.2.0.2-alpha]
  7360. o Minor bugfixes (controller):
  7361. - Provide DNS expiry times in GMT, not in local time. For backward
  7362. compatibility, ADDRMAP events only provide GMT expiry in an extended
  7363. field. "GETINFO address-mappings" always does the right thing.
  7364. - Use CRLF line endings properly in NS events.
  7365. - Terminate multi-line control events properly. (Original patch
  7366. from tup.) [Bugfix on 0.1.2.x-alpha]
  7367. - Do not include spaces in SOURCE_ADDR fields in STREAM
  7368. events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
  7369. Changes in version 0.1.2.15 - 2007-07-17
  7370. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  7371. problems, fixes compilation on BSD, and fixes a variety of other
  7372. bugs. Everybody should upgrade.
  7373. o Major bugfixes (compilation):
  7374. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  7375. o Major bugfixes (crashes):
  7376. - Try even harder not to dereference the first character after
  7377. an mmap(). Reported by lodger.
  7378. - Fix a crash bug in directory authorities when we re-number the
  7379. routerlist while inserting a new router.
  7380. - When the cached-routers file is an even multiple of the page size,
  7381. don't run off the end and crash. (Fixes bug 455; based on idea
  7382. from croup.)
  7383. - Fix eventdns.c behavior on Solaris: It is critical to include
  7384. orconfig.h _before_ sys/types.h, so that we can get the expected
  7385. definition of _FILE_OFFSET_BITS.
  7386. o Major bugfixes (security):
  7387. - Fix a possible buffer overrun when using BSD natd support. Bug
  7388. found by croup.
  7389. - When sending destroy cells from a circuit's origin, don't include
  7390. the reason for tearing down the circuit. The spec says we didn't,
  7391. and now we actually don't. Reported by lodger.
  7392. - Keep streamids from different exits on a circuit separate. This
  7393. bug may have allowed other routers on a given circuit to inject
  7394. cells into streams. Reported by lodger; fixes bug 446.
  7395. - If there's a never-before-connected-to guard node in our list,
  7396. never choose any guards past it. This way we don't expand our
  7397. guard list unless we need to.
  7398. o Minor bugfixes (guard nodes):
  7399. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  7400. don't get overused as guards.
  7401. o Minor bugfixes (directory):
  7402. - Correctly count the number of authorities that recommend each
  7403. version. Previously, we were under-counting by 1.
  7404. - Fix a potential crash bug when we load many server descriptors at
  7405. once and some of them make others of them obsolete. Fixes bug 458.
  7406. o Minor bugfixes (hidden services):
  7407. - Stop tearing down the whole circuit when the user asks for a
  7408. connection to a port that the hidden service didn't configure.
  7409. Resolves bug 444.
  7410. o Minor bugfixes (misc):
  7411. - On Windows, we were preventing other processes from reading
  7412. cached-routers while Tor was running. Reported by janbar.
  7413. - Fix a possible (but very unlikely) bug in picking routers by
  7414. bandwidth. Add a log message to confirm that it is in fact
  7415. unlikely. Patch from lodger.
  7416. - Backport a couple of memory leak fixes.
  7417. - Backport miscellaneous cosmetic bugfixes.
  7418. Changes in version 0.2.0.2-alpha - 2007-06-02
  7419. o Major bugfixes on 0.2.0.1-alpha:
  7420. - Fix an assertion failure related to servers without extra-info digests.
  7421. Resolves bugs 441 and 442.
  7422. o Minor features (directory):
  7423. - Support "If-Modified-Since" when answering HTTP requests for
  7424. directories, running-routers documents, and network-status documents.
  7425. (There's no need to support it for router descriptors, since those
  7426. are downloaded by descriptor digest.)
  7427. o Minor build issues:
  7428. - Clear up some MIPSPro compiler warnings.
  7429. - When building from a tarball on a machine that happens to have SVK
  7430. installed, report the micro-revision as whatever version existed
  7431. in the tarball, not as "x".
  7432. Changes in version 0.2.0.1-alpha - 2007-06-01
  7433. This early development snapshot provides new features for people running
  7434. Tor as both a client and a server (check out the new RelayBandwidth
  7435. config options); lets Tor run as a DNS proxy; and generally moves us
  7436. forward on a lot of fronts.
  7437. o Major features, server usability:
  7438. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  7439. a separate set of token buckets for relayed traffic. Right now
  7440. relayed traffic is defined as answers to directory requests, and
  7441. OR connections that don't have any local circuits on them.
  7442. o Major features, client usability:
  7443. - A client-side DNS proxy feature to replace the need for
  7444. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  7445. for DNS requests on port 9999, use the Tor network to resolve them
  7446. anonymously, and send the reply back like a regular DNS server.
  7447. The code still only implements a subset of DNS.
  7448. - Make PreferTunneledDirConns and TunnelDirConns work even when
  7449. we have no cached directory info. This means Tor clients can now
  7450. do all of their connections protected by TLS.
  7451. o Major features, performance and efficiency:
  7452. - Directory authorities accept and serve "extra info" documents for
  7453. routers. These documents contain fields from router descriptors
  7454. that aren't usually needed, and that use a lot of excess
  7455. bandwidth. Once these fields are removed from router descriptors,
  7456. the bandwidth savings should be about 60%. [Partially implements
  7457. proposal 104.]
  7458. - Servers upload extra-info documents to any authority that accepts
  7459. them. Authorities (and caches that have been configured to download
  7460. extra-info documents) download them as needed. [Partially implements
  7461. proposal 104.]
  7462. - Change the way that Tor buffers data that it is waiting to write.
  7463. Instead of queueing data cells in an enormous ring buffer for each
  7464. client->OR or OR->OR connection, we now queue cells on a separate
  7465. queue for each circuit. This lets us use less slack memory, and
  7466. will eventually let us be smarter about prioritizing different kinds
  7467. of traffic.
  7468. - Use memory pools to allocate cells with better speed and memory
  7469. efficiency, especially on platforms where malloc() is inefficient.
  7470. - Stop reading on edge connections when their corresponding circuit
  7471. buffers are full; start again as the circuits empty out.
  7472. o Major features, other:
  7473. - Add an HSAuthorityRecordStats option that hidden service authorities
  7474. can use to track statistics of overall hidden service usage without
  7475. logging information that would be very useful to an attacker.
  7476. - Start work implementing multi-level keys for directory authorities:
  7477. Add a standalone tool to generate key certificates. (Proposal 103.)
  7478. o Security fixes:
  7479. - Directory authorities now call routers Stable if they have an
  7480. uptime of at least 30 days, even if that's not the median uptime
  7481. in the network. Implements proposal 107, suggested by Kevin Bauer
  7482. and Damon McCoy.
  7483. o Minor fixes (resource management):
  7484. - Count the number of open sockets separately from the number
  7485. of active connection_t objects. This will let us avoid underusing
  7486. our allocated connection limit.
  7487. - We no longer use socket pairs to link an edge connection to an
  7488. anonymous directory connection or a DirPort test connection.
  7489. Instead, we track the link internally and transfer the data
  7490. in-process. This saves two sockets per "linked" connection (at the
  7491. client and at the server), and avoids the nasty Windows socketpair()
  7492. workaround.
  7493. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  7494. for every single inactive connection_t. Free items from the
  7495. 4k/16k-buffer free lists when they haven't been used for a while.
  7496. o Minor features (build):
  7497. - Make autoconf search for libevent, openssl, and zlib consistently.
  7498. - Update deprecated macros in configure.in.
  7499. - When warning about missing headers, tell the user to let us
  7500. know if the compile succeeds anyway, so we can downgrade the
  7501. warning.
  7502. - Include the current subversion revision as part of the version
  7503. string: either fetch it directly if we're in an SVN checkout, do
  7504. some magic to guess it if we're in an SVK checkout, or use
  7505. the last-detected version if we're building from a .tar.gz.
  7506. Use this version consistently in log messages.
  7507. o Minor features (logging):
  7508. - Always prepend "Bug: " to any log message about a bug.
  7509. - Put a platform string (e.g. "Linux i686") in the startup log
  7510. message, so when people paste just their logs, we know if it's
  7511. OpenBSD or Windows or what.
  7512. - When logging memory usage, break down memory used in buffers by
  7513. buffer type.
  7514. o Minor features (directory system):
  7515. - New config option V2AuthoritativeDirectory that all directory
  7516. authorities should set. This will let future authorities choose
  7517. not to serve V2 directory information.
  7518. - Directory authorities allow multiple router descriptors and/or extra
  7519. info documents to be uploaded in a single go. This will make
  7520. implementing proposal 104 simpler.
  7521. o Minor features (controller):
  7522. - Add a new config option __DisablePredictedCircuits designed for
  7523. use by the controller, when we don't want Tor to build any circuits
  7524. preemptively.
  7525. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  7526. so we can exit from the middle of the circuit.
  7527. - Implement "getinfo status/circuit-established".
  7528. - Implement "getinfo status/version/..." so a controller can tell
  7529. whether the current version is recommended, and whether any versions
  7530. are good, and how many authorities agree. (Patch from shibz.)
  7531. o Minor features (hidden services):
  7532. - Allow multiple HiddenServicePort directives with the same virtual
  7533. port; when they occur, the user is sent round-robin to one
  7534. of the target ports chosen at random. Partially fixes bug 393 by
  7535. adding limited ad-hoc round-robining.
  7536. o Minor features (other):
  7537. - More unit tests.
  7538. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  7539. resolve request for hosts matching a given pattern causes Tor to
  7540. generate an internal virtual address mapping for that host. This
  7541. allows DNSPort to work sensibly with hidden service users. By
  7542. default, .exit and .onion addresses are remapped; the list of
  7543. patterns can be reconfigured with AutomapHostsSuffixes.
  7544. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  7545. address. Thanks to the AutomapHostsOnResolve option, this is no
  7546. longer a completely silly thing to do.
  7547. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  7548. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  7549. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  7550. minus 1 byte: the actual maximum declared bandwidth.
  7551. o Removed features:
  7552. - Removed support for the old binary "version 0" controller protocol.
  7553. This has been deprecated since 0.1.1, and warnings have been issued
  7554. since 0.1.2. When we encounter a v0 control message, we now send
  7555. back an error and close the connection.
  7556. - Remove the old "dns worker" server DNS code: it hasn't been default
  7557. since 0.1.2.2-alpha, and all the servers seem to be using the new
  7558. eventdns code.
  7559. o Minor bugfixes (portability):
  7560. - Even though Windows is equally happy with / and \ as path separators,
  7561. try to use \ consistently on Windows and / consistently on Unix: it
  7562. makes the log messages nicer.
  7563. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  7564. - Read resolv.conf files correctly on platforms where read() returns
  7565. partial results on small file reads.
  7566. o Minor bugfixes (directory):
  7567. - Correctly enforce that elements of directory objects do not appear
  7568. more often than they are allowed to appear.
  7569. - When we are reporting the DirServer line we just parsed, we were
  7570. logging the second stanza of the key fingerprint, not the first.
  7571. o Minor bugfixes (logging):
  7572. - When we hit an EOF on a log (probably because we're shutting down),
  7573. don't try to remove the log from the list: just mark it as
  7574. unusable. (Bulletproofs against bug 222.)
  7575. o Minor bugfixes (other):
  7576. - In the exitlist script, only consider the most recently published
  7577. server descriptor for each server. Also, when the user requests
  7578. a list of servers that _reject_ connections to a given address,
  7579. explicitly exclude the IPs that also have servers that accept
  7580. connections to that address. (Resolves bug 405.)
  7581. - Stop allowing hibernating servers to be "stable" or "fast".
  7582. - On Windows, we were preventing other processes from reading
  7583. cached-routers while Tor was running. (Reported by janbar)
  7584. - Make the NodeFamilies config option work. (Reported by
  7585. lodger -- it has never actually worked, even though we added it
  7586. in Oct 2004.)
  7587. - Check return values from pthread_mutex functions.
  7588. - Don't save non-general-purpose router descriptors to the disk cache,
  7589. because we have no way of remembering what their purpose was when
  7590. we restart.
  7591. - Add even more asserts to hunt down bug 417.
  7592. - Build without verbose warnings even on (not-yet-released) gcc 4.2.
  7593. - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
  7594. Add a log message to confirm that it is in fact unlikely.
  7595. o Minor bugfixes (controller):
  7596. - Make 'getinfo fingerprint' return a 551 error if we're not a
  7597. server, so we match what the control spec claims we do. Reported
  7598. by daejees.
  7599. - Fix a typo in an error message when extendcircuit fails that
  7600. caused us to not follow the \r\n-based delimiter protocol. Reported
  7601. by daejees.
  7602. o Code simplifications and refactoring:
  7603. - Stop passing around circuit_t and crypt_path_t pointers that are
  7604. implicit in other procedure arguments.
  7605. - Drop the old code to choke directory connections when the
  7606. corresponding OR connections got full: thanks to the cell queue
  7607. feature, OR conns don't get full any more.
  7608. - Make dns_resolve() handle attaching connections to circuits
  7609. properly, so the caller doesn't have to.
  7610. - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
  7611. - Keep the connection array as a dynamic smartlist_t, rather than as
  7612. a fixed-sized array. This is important, as the number of connections
  7613. is becoming increasingly decoupled from the number of sockets.
  7614. Changes in version 0.1.2.14 - 2007-05-25
  7615. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  7616. change especially affects those who serve or use hidden services),
  7617. and fixes several other crash- and security-related bugs.
  7618. o Directory authority changes:
  7619. - Two directory authorities (moria1 and moria2) just moved to new
  7620. IP addresses. This change will particularly affect those who serve
  7621. or use hidden services.
  7622. o Major bugfixes (crashes):
  7623. - If a directory server runs out of space in the connection table
  7624. as it's processing a begin_dir request, it will free the exit stream
  7625. but leave it attached to the circuit, leading to unpredictable
  7626. behavior. (Reported by seeess, fixes bug 425.)
  7627. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  7628. to corrupt memory under some really unlikely scenarios.
  7629. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  7630. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  7631. by lodger.)
  7632. o Major bugfixes (security):
  7633. - When choosing an entry guard for a circuit, avoid using guards
  7634. that are in the same family as the chosen exit -- not just guards
  7635. that are exactly the chosen exit. (Reported by lodger.)
  7636. o Major bugfixes (resource management):
  7637. - If a directory authority is down, skip it when deciding where to get
  7638. networkstatus objects or descriptors. Otherwise we keep asking
  7639. every 10 seconds forever. Fixes bug 384.
  7640. - Count it as a failure if we fetch a valid network-status but we
  7641. don't want to keep it. Otherwise we'll keep fetching it and keep
  7642. not wanting to keep it. Fixes part of bug 422.
  7643. - If all of our dirservers have given us bad or no networkstatuses
  7644. lately, then stop hammering them once per minute even when we
  7645. think they're failed. Fixes another part of bug 422.
  7646. o Minor bugfixes:
  7647. - Actually set the purpose correctly for descriptors inserted with
  7648. purpose=controller.
  7649. - When we have k non-v2 authorities in our DirServer config,
  7650. we ignored the last k authorities in the list when updating our
  7651. network-statuses.
  7652. - Correctly back-off from requesting router descriptors that we are
  7653. having a hard time downloading.
  7654. - Read resolv.conf files correctly on platforms where read() returns
  7655. partial results on small file reads.
  7656. - Don't rebuild the entire router store every time we get 32K of
  7657. routers: rebuild it when the journal gets very large, or when
  7658. the gaps in the store get very large.
  7659. o Minor features:
  7660. - When routers publish SVN revisions in their router descriptors,
  7661. authorities now include those versions correctly in networkstatus
  7662. documents.
  7663. - Warn when using a version of libevent before 1.3b to run a server on
  7664. OSX or BSD: these versions interact badly with userspace threads.
  7665. Changes in version 0.1.2.13 - 2007-04-24
  7666. This release features some major anonymity fixes, such as safer path
  7667. selection; better client performance; faster bootstrapping, better
  7668. address detection, and better DNS support for servers; write limiting as
  7669. well as read limiting to make servers easier to run; and a huge pile of
  7670. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  7671. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  7672. of the Freenode IRC network, remembering his patience and vision for
  7673. free speech on the Internet.
  7674. o Minor fixes:
  7675. - Fix a memory leak when we ask for "all" networkstatuses and we
  7676. get one we don't recognize.
  7677. - Add more asserts to hunt down bug 417.
  7678. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  7679. Changes in version 0.1.2.12-rc - 2007-03-16
  7680. o Major bugfixes:
  7681. - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
  7682. directory information requested inside Tor connections (i.e. via
  7683. begin_dir cells). It only triggered when the same connection was
  7684. serving other data at the same time. Reported by seeess.
  7685. o Minor bugfixes:
  7686. - When creating a circuit via the controller, send a 'launched'
  7687. event when we're done, so we follow the spec better.
  7688. Changes in version 0.1.2.11-rc - 2007-03-15
  7689. o Minor bugfixes (controller), reported by daejees:
  7690. - Correct the control spec to match how the code actually responds
  7691. to 'getinfo addr-mappings/*'.
  7692. - The control spec described a GUARDS event, but the code
  7693. implemented a GUARD event. Standardize on GUARD, but let people
  7694. ask for GUARDS too.
  7695. Changes in version 0.1.2.10-rc - 2007-03-07
  7696. o Major bugfixes (Windows):
  7697. - Do not load the NT services library functions (which may not exist)
  7698. just to detect if we're a service trying to shut down. Now we run
  7699. on Win98 and friends again.
  7700. o Minor bugfixes (other):
  7701. - Clarify a couple of log messages.
  7702. - Fix a misleading socks5 error number.
  7703. Changes in version 0.1.2.9-rc - 2007-03-02
  7704. o Major bugfixes (Windows):
  7705. - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
  7706. of the usual GCC "%llu". This prevents a bug when saving 64-bit
  7707. int configuration values: the high-order 32 bits would get
  7708. truncated. In particular, we were being bitten by the default
  7709. MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
  7710. and maybe also bug 397.)
  7711. o Minor bugfixes (performance):
  7712. - Use OpenSSL's AES implementation on platforms where it's faster.
  7713. This could save us as much as 10% CPU usage.
  7714. o Minor bugfixes (server):
  7715. - Do not rotate onion key immediately after setting it for the first
  7716. time.
  7717. o Minor bugfixes (directory authorities):
  7718. - Stop calling servers that have been hibernating for a long time
  7719. "stable". Also, stop letting hibernating or obsolete servers affect
  7720. uptime and bandwidth cutoffs.
  7721. - Stop listing hibernating servers in the v1 directory.
  7722. o Minor bugfixes (hidden services):
  7723. - Upload hidden service descriptors slightly less often, to reduce
  7724. load on authorities.
  7725. o Minor bugfixes (other):
  7726. - Fix an assert that could trigger if a controller quickly set then
  7727. cleared EntryNodes. Bug found by Udo van den Heuvel.
  7728. - On architectures where sizeof(int)>4, still clamp declarable bandwidth
  7729. to INT32_MAX.
  7730. - Fix a potential race condition in the rpm installer. Found by
  7731. Stefan Nordhausen.
  7732. - Try to fix eventdns warnings once and for all: do not treat a dns rcode
  7733. of 2 as indicating that the server is completely bad; it sometimes
  7734. means that the server is just bad for the request in question. (may fix
  7735. the last of bug 326.)
  7736. - Disable encrypted directory connections when we don't have a server
  7737. descriptor for the destination. We'll get this working again in
  7738. the 0.2.0 branch.
  7739. Changes in version 0.1.2.8-beta - 2007-02-26
  7740. o Major bugfixes (crashes):
  7741. - Stop crashing when the controller asks us to resetconf more than
  7742. one config option at once. (Vidalia 0.0.11 does this.)
  7743. - Fix a crash that happened on Win98 when we're given command-line
  7744. arguments: don't try to load NT service functions from advapi32.dll
  7745. except when we need them. (Bug introduced in 0.1.2.7-alpha;
  7746. resolves bug 389.)
  7747. - Fix a longstanding obscure crash bug that could occur when
  7748. we run out of DNS worker processes. (Resolves bug 390.)
  7749. o Major bugfixes (hidden services):
  7750. - Correctly detect whether hidden service descriptor downloads are
  7751. in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
  7752. o Major bugfixes (accounting):
  7753. - When we start during an accounting interval before it's time to wake
  7754. up, remember to wake up at the correct time. (May fix bug 342.)
  7755. o Minor bugfixes (controller):
  7756. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  7757. clear the corresponding on_circuit variable, and remember later
  7758. that we don't need to send a redundant CLOSED event. Resolves part
  7759. 3 of bug 367.
  7760. - Report events where a resolve succeeded or where we got a socks
  7761. protocol error correctly, rather than calling both of them
  7762. "INTERNAL".
  7763. - Change reported stream target addresses to IP consistently when
  7764. we finally get the IP from an exit node.
  7765. - Send log messages to the controller even if they happen to be very
  7766. long.
  7767. o Minor bugfixes (other):
  7768. - Display correct results when reporting which versions are
  7769. recommended, and how recommended they are. (Resolves bug 383.)
  7770. - Improve our estimates for directory bandwidth to be less random:
  7771. guess that an unrecognized directory will have the average bandwidth
  7772. from all known directories, not that it will have the average
  7773. bandwidth from those directories earlier than it on the list.
  7774. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  7775. and hup, stop triggering an assert based on an empty onion_key.
  7776. - On platforms with no working mmap() equivalent, don't warn the
  7777. user when cached-routers doesn't exist.
  7778. - Warn the user when mmap() [or its equivalent] fails for some reason
  7779. other than file-not-found.
  7780. - Don't warn the user when cached-routers.new doesn't exist: that's
  7781. perfectly fine when starting up for the first time.
  7782. - When EntryNodes are configured, rebuild the guard list to contain,
  7783. in order: the EntryNodes that were guards before; the rest of the
  7784. EntryNodes; the nodes that were guards before.
  7785. - Mask out all signals in sub-threads; only the libevent signal
  7786. handler should be processing them. This should prevent some crashes
  7787. on some machines using pthreads. (Patch from coderman.)
  7788. - Fix switched arguments on memset in the implementation of
  7789. tor_munmap() for systems with no mmap() call.
  7790. - When Tor receives a router descriptor that it asked for, but
  7791. no longer wants (because it has received fresh networkstatuses
  7792. in the meantime), do not warn the user. Cache the descriptor if
  7793. we're a cache; drop it if we aren't.
  7794. - Make earlier entry guards _really_ get retried when the network
  7795. comes back online.
  7796. - On a malformed DNS reply, always give an error to the corresponding
  7797. DNS request.
  7798. - Build with recent libevents on platforms that do not define the
  7799. nonstandard types "u_int8_t" and friends.
  7800. o Minor features (controller):
  7801. - Warn the user when an application uses the obsolete binary v0
  7802. control protocol. We're planning to remove support for it during
  7803. the next development series, so it's good to give people some
  7804. advance warning.
  7805. - Add STREAM_BW events to report per-entry-stream bandwidth
  7806. use. (Patch from Robert Hogan.)
  7807. - Rate-limit SIGNEWNYM signals in response to controllers that
  7808. impolitely generate them for every single stream. (Patch from
  7809. mwenge; closes bug 394.)
  7810. - Make REMAP stream events have a SOURCE (cache or exit), and
  7811. make them generated in every case where we get a successful
  7812. connected or resolved cell.
  7813. o Minor bugfixes (performance):
  7814. - Call router_have_min_dir_info half as often. (This is showing up in
  7815. some profiles, but not others.)
  7816. - When using GCC, make log_debug never get called at all, and its
  7817. arguments never get evaluated, when no debug logs are configured.
  7818. (This is showing up in some profiles, but not others.)
  7819. o Minor features:
  7820. - Remove some never-implemented options. Mark PathlenCoinWeight as
  7821. obsolete.
  7822. - Implement proposal 106: Stop requiring clients to have well-formed
  7823. certificates; stop checking nicknames in certificates. (Clients
  7824. have certificates so that they can look like Tor servers, but in
  7825. the future we might want to allow them to look like regular TLS
  7826. clients instead. Nicknames in certificates serve no purpose other
  7827. than making our protocol easier to recognize on the wire.)
  7828. - Revise messages on handshake failure again to be even more clear about
  7829. which are incoming connections and which are outgoing.
  7830. - Discard any v1 directory info that's over 1 month old (for
  7831. directories) or over 1 week old (for running-routers lists).
  7832. - Do not warn when individual nodes in the configuration's EntryNodes,
  7833. ExitNodes, etc are down: warn only when all possible nodes
  7834. are down. (Fixes bug 348.)
  7835. - Always remove expired routers and networkstatus docs before checking
  7836. whether we have enough information to build circuits. (Fixes
  7837. bug 373.)
  7838. - Put a lower-bound on MaxAdvertisedBandwidth.
  7839. Changes in version 0.1.2.7-alpha - 2007-02-06
  7840. o Major bugfixes (rate limiting):
  7841. - Servers decline directory requests much more aggressively when
  7842. they're low on bandwidth. Otherwise they end up queueing more and
  7843. more directory responses, which can't be good for latency.
  7844. - But never refuse directory requests from local addresses.
  7845. - Fix a memory leak when sending a 503 response for a networkstatus
  7846. request.
  7847. - Be willing to read or write on local connections (e.g. controller
  7848. connections) even when the global rate limiting buckets are empty.
  7849. - If our system clock jumps back in time, don't publish a negative
  7850. uptime in the descriptor. Also, don't let the global rate limiting
  7851. buckets go absurdly negative.
  7852. - Flush local controller connection buffers periodically as we're
  7853. writing to them, so we avoid queueing 4+ megabytes of data before
  7854. trying to flush.
  7855. o Major bugfixes (NT services):
  7856. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  7857. command-line flag so that admins can override the default by saying
  7858. "tor --service install --user "SomeUser"". This will not affect
  7859. existing installed services. Also, warn the user that the service
  7860. will look for its configuration file in the service user's
  7861. %appdata% directory. (We can't do the 'hardwire the user's appdata
  7862. directory' trick any more, since we may not have read access to that
  7863. directory.)
  7864. o Major bugfixes (other):
  7865. - Previously, we would cache up to 16 old networkstatus documents
  7866. indefinitely, if they came from nontrusted authorities. Now we
  7867. discard them if they are more than 10 days old.
  7868. - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
  7869. Del Vecchio).
  7870. - Detect and reject malformed DNS responses containing circular
  7871. pointer loops.
  7872. - If exits are rare enough that we're not marking exits as guards,
  7873. ignore exit bandwidth when we're deciding the required bandwidth
  7874. to become a guard.
  7875. - When we're handling a directory connection tunneled over Tor,
  7876. don't fill up internal memory buffers with all the data we want
  7877. to tunnel; instead, only add it if the OR connection that will
  7878. eventually receive it has some room for it. (This can lead to
  7879. slowdowns in tunneled dir connections; a better solution will have
  7880. to wait for 0.2.0.)
  7881. o Minor bugfixes (dns):
  7882. - Add some defensive programming to eventdns.c in an attempt to catch
  7883. possible memory-stomping bugs.
  7884. - Detect and reject DNS replies containing IPv4 or IPv6 records with
  7885. an incorrect number of bytes. (Previously, we would ignore the
  7886. extra bytes.)
  7887. - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
  7888. in the correct order, and doesn't crash.
  7889. - Free memory held in recently-completed DNS lookup attempts on exit.
  7890. This was not a memory leak, but may have been hiding memory leaks.
  7891. - Handle TTL values correctly on reverse DNS lookups.
  7892. - Treat failure to parse resolv.conf as an error.
  7893. o Minor bugfixes (other):
  7894. - Fix crash with "tor --list-fingerprint" (reported by seeess).
  7895. - When computing clock skew from directory HTTP headers, consider what
  7896. time it was when we finished asking for the directory, not what
  7897. time it is now.
  7898. - Expire socks connections if they spend too long waiting for the
  7899. handshake to finish. Previously we would let them sit around for
  7900. days, if the connecting application didn't close them either.
  7901. - And if the socks handshake hasn't started, don't send a
  7902. "DNS resolve socks failed" handshake reply; just close it.
  7903. - Stop using C functions that OpenBSD's linker doesn't like.
  7904. - Don't launch requests for descriptors unless we have networkstatuses
  7905. from at least half of the authorities. This delays the first
  7906. download slightly under pathological circumstances, but can prevent
  7907. us from downloading a bunch of descriptors we don't need.
  7908. - Do not log IPs with TLS failures for incoming TLS
  7909. connections. (Fixes bug 382.)
  7910. - If the user asks to use invalid exit nodes, be willing to use
  7911. unstable ones.
  7912. - Stop using the reserved ac_cv namespace in our configure script.
  7913. - Call stat() slightly less often; use fstat() when possible.
  7914. - Refactor the way we handle pending circuits when an OR connection
  7915. completes or fails, in an attempt to fix a rare crash bug.
  7916. - Only rewrite a conn's address based on X-Forwarded-For: headers
  7917. if it's a parseable public IP address; and stop adding extra quotes
  7918. to the resulting address.
  7919. o Major features:
  7920. - Weight directory requests by advertised bandwidth. Now we can
  7921. let servers enable write limiting but still allow most clients to
  7922. succeed at their directory requests. (We still ignore weights when
  7923. choosing a directory authority; I hope this is a feature.)
  7924. o Minor features:
  7925. - Create a new file ReleaseNotes which was the old ChangeLog. The
  7926. new ChangeLog file now includes the summaries for all development
  7927. versions too.
  7928. - Check for addresses with invalid characters at the exit as well
  7929. as at the client, and warn less verbosely when they fail. You can
  7930. override this by setting ServerDNSAllowNonRFC953Addresses to 1.
  7931. - Adapt a patch from goodell to let the contrib/exitlist script
  7932. take arguments rather than require direct editing.
  7933. - Inform the server operator when we decide not to advertise a
  7934. DirPort due to AccountingMax enabled or a low BandwidthRate. It
  7935. was confusing Zax, so now we're hopefully more helpful.
  7936. - Bring us one step closer to being able to establish an encrypted
  7937. directory tunnel without knowing a descriptor first. Still not
  7938. ready yet. As part of the change, now assume we can use a
  7939. create_fast cell if we don't know anything about a router.
  7940. - Allow exit nodes to use nameservers running on ports other than 53.
  7941. - Servers now cache reverse DNS replies.
  7942. - Add an --ignore-missing-torrc command-line option so that we can
  7943. get the "use sensible defaults if the configuration file doesn't
  7944. exist" behavior even when specifying a torrc location on the command
  7945. line.
  7946. o Minor features (controller):
  7947. - Track reasons for OR connection failure; make these reasons
  7948. available via the controller interface. (Patch from Mike Perry.)
  7949. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  7950. can learn when clients are sending malformed hostnames to Tor.
  7951. - Clean up documentation for controller status events.
  7952. - Add a REMAP status to stream events to note that a stream's
  7953. address has changed because of a cached address or a MapAddress
  7954. directive.
  7955. Changes in version 0.1.2.6-alpha - 2007-01-09
  7956. o Major bugfixes:
  7957. - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
  7958. connection handles more than 4 gigs in either direction, we crash.
  7959. - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
  7960. advertised exit node, somebody might try to exit from us when
  7961. we're bootstrapping and before we've built our descriptor yet.
  7962. Refuse the connection rather than crashing.
  7963. o Minor bugfixes:
  7964. - Warn if we (as a server) find that we've resolved an address that we
  7965. weren't planning to resolve.
  7966. - Warn that using select() on any libevent version before 1.1 will be
  7967. unnecessarily slow (even for select()).
  7968. - Flush ERR-level controller status events just like we currently
  7969. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  7970. the controller from learning about current events.
  7971. o Minor features (more controller status events):
  7972. - Implement EXTERNAL_ADDRESS server status event so controllers can
  7973. learn when our address changes.
  7974. - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
  7975. can learn when directories reject our descriptor.
  7976. - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
  7977. can learn when a client application is speaking a non-socks protocol
  7978. to our SocksPort.
  7979. - Implement DANGEROUS_SOCKS client status event so controllers
  7980. can learn when a client application is leaking DNS addresses.
  7981. - Implement BUG general status event so controllers can learn when
  7982. Tor is unhappy about its internal invariants.
  7983. - Implement CLOCK_SKEW general status event so controllers can learn
  7984. when Tor thinks the system clock is set incorrectly.
  7985. - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
  7986. server status events so controllers can learn when their descriptors
  7987. are accepted by a directory.
  7988. - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
  7989. server status events so controllers can learn about Tor's progress in
  7990. deciding whether it's reachable from the outside.
  7991. - Implement BAD_LIBEVENT general status event so controllers can learn
  7992. when we have a version/method combination in libevent that needs to
  7993. be changed.
  7994. - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
  7995. and DNS_USELESS server status events so controllers can learn
  7996. about changes to DNS server status.
  7997. o Minor features (directory):
  7998. - Authorities no longer recommend exits as guards if this would shift
  7999. too much load to the exit nodes.
  8000. Changes in version 0.1.2.5-alpha - 2007-01-06
  8001. o Major features:
  8002. - Enable write limiting as well as read limiting. Now we sacrifice
  8003. capacity if we're pushing out lots of directory traffic, rather
  8004. than overrunning the user's intended bandwidth limits.
  8005. - Include TLS overhead when counting bandwidth usage; previously, we
  8006. would count only the bytes sent over TLS, but not the bytes used
  8007. to send them.
  8008. - Support running the Tor service with a torrc not in the same
  8009. directory as tor.exe and default to using the torrc located in
  8010. the %appdata%\Tor\ of the user who installed the service. Patch
  8011. from Matt Edman.
  8012. - Servers now check for the case when common DNS requests are going to
  8013. wildcarded addresses (i.e. all getting the same answer), and change
  8014. their exit policy to reject *:* if it's happening.
  8015. - Implement BEGIN_DIR cells, so we can connect to the directory
  8016. server via TLS to do encrypted directory requests rather than
  8017. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  8018. config options if you like.
  8019. o Minor features (config and docs):
  8020. - Start using the state file to store bandwidth accounting data:
  8021. the bw_accounting file is now obsolete. We'll keep generating it
  8022. for a while for people who are still using 0.1.2.4-alpha.
  8023. - Try to batch changes to the state file so that we do as few
  8024. disk writes as possible while still storing important things in
  8025. a timely fashion.
  8026. - The state file and the bw_accounting file get saved less often when
  8027. the AvoidDiskWrites config option is set.
  8028. - Make PIDFile work on Windows (untested).
  8029. - Add internal descriptions for a bunch of configuration options:
  8030. accessible via controller interface and in comments in saved
  8031. options files.
  8032. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  8033. NNTP by default, so this seems like a sensible addition.
  8034. - Clients now reject hostnames with invalid characters. This should
  8035. avoid some inadvertent info leaks. Add an option
  8036. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  8037. is running a private network with hosts called @, !, and #.
  8038. - Add a maintainer script to tell us which options are missing
  8039. documentation: "make check-docs".
  8040. - Add a new address-spec.txt document to describe our special-case
  8041. addresses: .exit, .onion, and .noconnnect.
  8042. o Minor features (DNS):
  8043. - Ongoing work on eventdns infrastructure: now it has dns server
  8044. and ipv6 support. One day Tor will make use of it.
  8045. - Add client-side caching for reverse DNS lookups.
  8046. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  8047. - When we change nameservers or IP addresses, reset and re-launch
  8048. our tests for DNS hijacking.
  8049. o Minor features (directory):
  8050. - Authorities now specify server versions in networkstatus. This adds
  8051. about 2% to the size of compressed networkstatus docs, and allows
  8052. clients to tell which servers support BEGIN_DIR and which don't.
  8053. The implementation is forward-compatible with a proposed future
  8054. protocol version scheme not tied to Tor versions.
  8055. - DirServer configuration lines now have an orport= option so
  8056. clients can open encrypted tunnels to the authorities without
  8057. having downloaded their descriptors yet. Enabled for moria1,
  8058. moria2, tor26, and lefkada now in the default configuration.
  8059. - Directory servers are more willing to send a 503 "busy" if they
  8060. are near their write limit, especially for v1 directory requests.
  8061. Now they can use their limited bandwidth for actual Tor traffic.
  8062. - Clients track responses with status 503 from dirservers. After a
  8063. dirserver has given us a 503, we try not to use it until an hour has
  8064. gone by, or until we have no dirservers that haven't given us a 503.
  8065. - When we get a 503 from a directory, and we're not a server, we don't
  8066. count the failure against the total number of failures allowed
  8067. for the thing we're trying to download.
  8068. - Report X-Your-Address-Is correctly from tunneled directory
  8069. connections; don't report X-Your-Address-Is when it's an internal
  8070. address; and never believe reported remote addresses when they're
  8071. internal.
  8072. - Protect against an unlikely DoS attack on directory servers.
  8073. - Add a BadDirectory flag to network status docs so that authorities
  8074. can (eventually) tell clients about caches they believe to be
  8075. broken.
  8076. o Minor features (controller):
  8077. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  8078. - Reimplement GETINFO so that info/names stays in sync with the
  8079. actual keys.
  8080. - Implement "GETINFO fingerprint".
  8081. - Implement "SETEVENTS GUARD" so controllers can get updates on
  8082. entry guard status as it changes.
  8083. o Minor features (clean up obsolete pieces):
  8084. - Remove some options that have been deprecated since at least
  8085. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  8086. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  8087. to set log options.
  8088. - We no longer look for identity and onion keys in "identity.key" and
  8089. "onion.key" -- these were replaced by secret_id_key and
  8090. secret_onion_key in 0.0.8pre1.
  8091. - We no longer require unrecognized directory entries to be
  8092. preceded by "opt".
  8093. o Major bugfixes (security):
  8094. - Stop sending the HttpProxyAuthenticator string to directory
  8095. servers when directory connections are tunnelled through Tor.
  8096. - Clients no longer store bandwidth history in the state file.
  8097. - Do not log introduction points for hidden services if SafeLogging
  8098. is set.
  8099. - When generating bandwidth history, round down to the nearest
  8100. 1k. When storing accounting data, round up to the nearest 1k.
  8101. - When we're running as a server, remember when we last rotated onion
  8102. keys, so that we will rotate keys once they're a week old even if
  8103. we never stay up for a week ourselves.
  8104. o Major bugfixes (other):
  8105. - Fix a longstanding bug in eventdns that prevented the count of
  8106. timed-out resolves from ever being reset. This bug caused us to
  8107. give up on a nameserver the third time it timed out, and try it
  8108. 10 seconds later... and to give up on it every time it timed out
  8109. after that.
  8110. - Take out the '5 second' timeout from the connection retry
  8111. schedule. Now the first connect attempt will wait a full 10
  8112. seconds before switching to a new circuit. Perhaps this will help
  8113. a lot. Based on observations from Mike Perry.
  8114. - Fix a bug on the Windows implementation of tor_mmap_file() that
  8115. would prevent the cached-routers file from ever loading. Reported
  8116. by John Kimble.
  8117. o Minor bugfixes:
  8118. - Fix an assert failure when a directory authority sets
  8119. AuthDirRejectUnlisted and then receives a descriptor from an
  8120. unlisted router. Reported by seeess.
  8121. - Avoid a double-free when parsing malformed DirServer lines.
  8122. - Fix a bug when a BSD-style PF socket is first used. Patch from
  8123. Fabian Keil.
  8124. - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
  8125. to resolve an address at a given exit node even when they ask for
  8126. it by name.
  8127. - Servers no longer ever list themselves in their "family" line,
  8128. even if configured to do so. This makes it easier to configure
  8129. family lists conveniently.
  8130. - When running as a server, don't fall back to 127.0.0.1 when no
  8131. nameservers are configured in /etc/resolv.conf; instead, make the
  8132. user fix resolv.conf or specify nameservers explicitly. (Resolves
  8133. bug 363.)
  8134. - Stop accepting certain malformed ports in configured exit policies.
  8135. - Don't re-write the fingerprint file every restart, unless it has
  8136. changed.
  8137. - Stop warning when a single nameserver fails: only warn when _all_ of
  8138. our nameservers have failed. Also, when we only have one nameserver,
  8139. raise the threshold for deciding that the nameserver is dead.
  8140. - Directory authorities now only decide that routers are reachable
  8141. if their identity keys are as expected.
  8142. - When the user uses bad syntax in the Log config line, stop
  8143. suggesting other bad syntax as a replacement.
  8144. - Correctly detect ipv6 DNS capability on OpenBSD.
  8145. o Minor bugfixes (controller):
  8146. - Report the circuit number correctly in STREAM CLOSED events. Bug
  8147. reported by Mike Perry.
  8148. - Do not report bizarre values for results of accounting GETINFOs
  8149. when the last second's write or read exceeds the allotted bandwidth.
  8150. - Report "unrecognized key" rather than an empty string when the
  8151. controller tries to fetch a networkstatus that doesn't exist.
  8152. Changes in version 0.1.1.26 - 2006-12-14
  8153. o Security bugfixes:
  8154. - Stop sending the HttpProxyAuthenticator string to directory
  8155. servers when directory connections are tunnelled through Tor.
  8156. - Clients no longer store bandwidth history in the state file.
  8157. - Do not log introduction points for hidden services if SafeLogging
  8158. is set.
  8159. o Minor bugfixes:
  8160. - Fix an assert failure when a directory authority sets
  8161. AuthDirRejectUnlisted and then receives a descriptor from an
  8162. unlisted router (reported by seeess).
  8163. Changes in version 0.1.2.4-alpha - 2006-12-03
  8164. o Major features:
  8165. - Add support for using natd; this allows FreeBSDs earlier than
  8166. 5.1.2 to have ipfw send connections through Tor without using
  8167. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  8168. o Minor features:
  8169. - Make all connections to addresses of the form ".noconnect"
  8170. immediately get closed. This lets application/controller combos
  8171. successfully test whether they're talking to the same Tor by
  8172. watching for STREAM events.
  8173. - Make cross.sh cross-compilation script work even when autogen.sh
  8174. hasn't been run. (Patch from Michael Mohr.)
  8175. - Statistics dumped by -USR2 now include a breakdown of public key
  8176. operations, for profiling.
  8177. o Major bugfixes:
  8178. - Fix a major leak when directory authorities parse their
  8179. approved-routers list, a minor memory leak when we fail to pick
  8180. an exit node, and a few rare leaks on errors.
  8181. - Handle TransPort connections even when the server sends data before
  8182. the client sends data. Previously, the connection would just hang
  8183. until the client sent data. (Patch from tup based on patch from
  8184. Zajcev Evgeny.)
  8185. - Avoid assert failure when our cached-routers file is empty on
  8186. startup.
  8187. o Minor bugfixes:
  8188. - Don't log spurious warnings when we see a circuit close reason we
  8189. don't recognize; it's probably just from a newer version of Tor.
  8190. - Have directory authorities allow larger amounts of drift in uptime
  8191. without replacing the server descriptor: previously, a server that
  8192. restarted every 30 minutes could have 48 "interesting" descriptors
  8193. per day.
  8194. - Start linking to the Tor specification and Tor reference manual
  8195. correctly in the Windows installer.
  8196. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  8197. Tor/Privoxy we also uninstall Vidalia.
  8198. - Resume building on Irix64, and fix a lot of warnings from its
  8199. MIPSpro C compiler.
  8200. - Don't corrupt last_guessed_ip in router_new_address_suggestion()
  8201. when we're running as a client.
  8202. Changes in version 0.1.1.25 - 2006-11-04
  8203. o Major bugfixes:
  8204. - When a client asks us to resolve (rather than connect to)
  8205. an address, and we have a cached answer, give them the cached
  8206. answer. Previously, we would give them no answer at all.
  8207. - We were building exactly the wrong circuits when we predict
  8208. hidden service requirements, meaning Tor would have to build all
  8209. its circuits on demand.
  8210. - If none of our live entry guards have a high uptime, but we
  8211. require a guard with a high uptime, try adding a new guard before
  8212. we give up on the requirement. This patch should make long-lived
  8213. connections more stable on average.
  8214. - When testing reachability of our DirPort, don't launch new
  8215. tests when there's already one in progress -- unreachable
  8216. servers were stacking up dozens of testing streams.
  8217. o Security bugfixes:
  8218. - When the user sends a NEWNYM signal, clear the client-side DNS
  8219. cache too. Otherwise we continue to act on previous information.
  8220. o Minor bugfixes:
  8221. - Avoid a memory corruption bug when creating a hash table for
  8222. the first time.
  8223. - Avoid possibility of controller-triggered crash when misusing
  8224. certain commands from a v0 controller on platforms that do not
  8225. handle printf("%s",NULL) gracefully.
  8226. - Avoid infinite loop on unexpected controller input.
  8227. - Don't log spurious warnings when we see a circuit close reason we
  8228. don't recognize; it's probably just from a newer version of Tor.
  8229. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  8230. Tor/Privoxy we also uninstall Vidalia.
  8231. Changes in version 0.1.2.3-alpha - 2006-10-29
  8232. o Minor features:
  8233. - Prepare for servers to publish descriptors less often: never
  8234. discard a descriptor simply for being too old until either it is
  8235. recommended by no authorities, or until we get a better one for
  8236. the same router. Make caches consider retaining old recommended
  8237. routers for even longer.
  8238. - If most authorities set a BadExit flag for a server, clients
  8239. don't think of it as a general-purpose exit. Clients only consider
  8240. authorities that advertise themselves as listing bad exits.
  8241. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  8242. headers for content, so that we can work better in the presence of
  8243. caching HTTP proxies.
  8244. - Allow authorities to list nodes as bad exits by fingerprint or by
  8245. address.
  8246. o Minor features, controller:
  8247. - Add a REASON field to CIRC events; for backward compatibility, this
  8248. field is sent only to controllers that have enabled the extended
  8249. event format. Also, add additional reason codes to explain why
  8250. a given circuit has been destroyed or truncated. (Patches from
  8251. Mike Perry)
  8252. - Add a REMOTE_REASON field to extended CIRC events to tell the
  8253. controller about why a remote OR told us to close a circuit.
  8254. - Stream events also now have REASON and REMOTE_REASON fields,
  8255. working much like those for circuit events.
  8256. - There's now a GETINFO ns/... field so that controllers can ask Tor
  8257. about the current status of a router.
  8258. - A new event type "NS" to inform a controller when our opinion of
  8259. a router's status has changed.
  8260. - Add a GETINFO events/names and GETINFO features/names so controllers
  8261. can tell which events and features are supported.
  8262. - A new CLEARDNSCACHE signal to allow controllers to clear the
  8263. client-side DNS cache without expiring circuits.
  8264. o Security bugfixes:
  8265. - When the user sends a NEWNYM signal, clear the client-side DNS
  8266. cache too. Otherwise we continue to act on previous information.
  8267. o Minor bugfixes:
  8268. - Avoid sending junk to controllers or segfaulting when a controller
  8269. uses EVENT_NEW_DESC with verbose nicknames.
  8270. - Stop triggering asserts if the controller tries to extend hidden
  8271. service circuits (reported by mwenge).
  8272. - Avoid infinite loop on unexpected controller input.
  8273. - When the controller does a "GETINFO network-status", tell it
  8274. about even those routers whose descriptors are very old, and use
  8275. long nicknames where appropriate.
  8276. - Change NT service functions to be loaded on demand. This lets us
  8277. build with MinGW without breaking Tor for Windows 98 users.
  8278. - Do DirPort reachability tests less often, since a single test
  8279. chews through many circuits before giving up.
  8280. - In the hidden service example in torrc.sample, stop recommending
  8281. esoteric and discouraged hidden service options.
  8282. - When stopping an NT service, wait up to 10 sec for it to actually
  8283. stop. Patch from Matt Edman; resolves bug 295.
  8284. - Fix handling of verbose nicknames with ORCONN controller events:
  8285. make them show up exactly when requested, rather than exactly when
  8286. not requested.
  8287. - When reporting verbose nicknames in entry_guards_getinfo(), avoid
  8288. printing a duplicate "$" in the keys we send (reported by mwenge).
  8289. - Correctly set maximum connection limit on Cygwin. (This time
  8290. for sure!)
  8291. - Try to detect Windows correctly when cross-compiling.
  8292. - Detect the size of the routers file correctly even if it is
  8293. corrupted (on systems without mmap) or not page-aligned (on systems
  8294. with mmap). This bug was harmless.
  8295. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  8296. to open a stream fails; now we do in more cases. This should
  8297. make clients able to find a good exit faster in some cases, since
  8298. unhandleable requests will now get an error rather than timing out.
  8299. - Resolve two memory leaks when rebuilding the on-disk router cache
  8300. (reported by fookoowa).
  8301. - Clean up minor code warnings suggested by the MIPSpro C compiler,
  8302. and reported by some Centos users.
  8303. - Controller signals now work on non-Unix platforms that don't define
  8304. SIGUSR1 and SIGUSR2 the way we expect.
  8305. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  8306. values before failing, and always enables eventdns.
  8307. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  8308. Try to fix this in configure.in by checking for most functions
  8309. before we check for libevent.
  8310. Changes in version 0.1.2.2-alpha - 2006-10-07
  8311. o Major features:
  8312. - Make our async eventdns library on-by-default for Tor servers,
  8313. and plan to deprecate the separate dnsworker threads.
  8314. - Add server-side support for "reverse" DNS lookups (using PTR
  8315. records so clients can determine the canonical hostname for a given
  8316. IPv4 address). Only supported by servers using eventdns; servers
  8317. now announce in their descriptors whether they support eventdns.
  8318. - Specify and implement client-side SOCKS5 interface for reverse DNS
  8319. lookups (see doc/socks-extensions.txt).
  8320. - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
  8321. connect to directory servers through Tor. Previously, clients needed
  8322. to find Tor exits to make private connections to directory servers.
  8323. - Avoid choosing Exit nodes for entry or middle hops when the
  8324. total bandwidth available from non-Exit nodes is much higher than
  8325. the total bandwidth available from Exit nodes.
  8326. - Workaround for name servers (like Earthlink's) that hijack failing
  8327. DNS requests and replace the no-such-server answer with a "helpful"
  8328. redirect to an advertising-driven search portal. Also work around
  8329. DNS hijackers who "helpfully" decline to hijack known-invalid
  8330. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  8331. lets you turn it off.
  8332. - Send out a burst of long-range padding cells once we've established
  8333. that we're reachable. Spread them over 4 circuits, so hopefully
  8334. a few will be fast. This exercises our bandwidth and bootstraps
  8335. us into the directory more quickly.
  8336. o New/improved config options:
  8337. - Add new config option "ResolvConf" to let the server operator
  8338. choose an alternate resolve.conf file when using eventdns.
  8339. - Add an "EnforceDistinctSubnets" option to control our "exclude
  8340. servers on the same /16" behavior. It's still on by default; this
  8341. is mostly for people who want to operate private test networks with
  8342. all the machines on the same subnet.
  8343. - If one of our entry guards is on the ExcludeNodes list, or the
  8344. directory authorities don't think it's a good guard, treat it as
  8345. if it were unlisted: stop using it as a guard, and throw it off
  8346. the guards list if it stays that way for a long time.
  8347. - Allow directory authorities to be marked separately as authorities
  8348. for the v1 directory protocol, the v2 directory protocol, and
  8349. as hidden service directories, to make it easier to retire old
  8350. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  8351. to continue being hidden service authorities too.
  8352. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  8353. o Minor features, controller:
  8354. - Fix CIRC controller events so that controllers can learn the
  8355. identity digests of non-Named servers used in circuit paths.
  8356. - Let controllers ask for more useful identifiers for servers. Instead
  8357. of learning identity digests for un-Named servers and nicknames
  8358. for Named servers, the new identifiers include digest, nickname,
  8359. and indication of Named status. Off by default; see control-spec.txt
  8360. for more information.
  8361. - Add a "getinfo address" controller command so it can display Tor's
  8362. best guess to the user.
  8363. - New controller event to alert the controller when our server
  8364. descriptor has changed.
  8365. - Give more meaningful errors on controller authentication failure.
  8366. o Minor features, other:
  8367. - When asked to resolve a hostname, don't use non-exit servers unless
  8368. requested to do so. This allows servers with broken DNS to be
  8369. useful to the network.
  8370. - Divide eventdns log messages into warn and info messages.
  8371. - Reserve the nickname "Unnamed" for routers that can't pick
  8372. a hostname: any router can call itself Unnamed; directory
  8373. authorities will never allocate Unnamed to any particular router;
  8374. clients won't believe that any router is the canonical Unnamed.
  8375. - Only include function names in log messages for info/debug messages.
  8376. For notice/warn/err, the content of the message should be clear on
  8377. its own, and printing the function name only confuses users.
  8378. - Avoid some false positives during reachability testing: don't try
  8379. to test via a server that's on the same /24 as us.
  8380. - If we fail to build a circuit to an intended enclave, and it's
  8381. not mandatory that we use that enclave, stop wanting it.
  8382. - When eventdns is enabled, allow multithreaded builds on NetBSD and
  8383. OpenBSD. (We had previously disabled threads on these platforms
  8384. because they didn't have working thread-safe resolver functions.)
  8385. o Major bugfixes, anonymity/security:
  8386. - If a client asked for a server by name, and there's a named server
  8387. in our network-status but we don't have its descriptor yet, we
  8388. could return an unnamed server instead.
  8389. - Fix NetBSD bug that could allow someone to force uninitialized RAM
  8390. to be sent to a server's DNS resolver. This only affects NetBSD
  8391. and other platforms that do not bounds-check tolower().
  8392. - Reject (most) attempts to use Tor circuits with length one. (If
  8393. many people start using Tor as a one-hop proxy, exit nodes become
  8394. a more attractive target for compromise.)
  8395. - Just because your DirPort is open doesn't mean people should be
  8396. able to remotely teach you about hidden service descriptors. Now
  8397. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  8398. o Major bugfixes, other:
  8399. - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
  8400. - When a client asks the server to resolve (not connect to)
  8401. an address, and it has a cached answer, give them the cached answer.
  8402. Previously, the server would give them no answer at all.
  8403. - Allow really slow clients to not hang up five minutes into their
  8404. directory downloads (suggested by Adam J. Richter).
  8405. - We were building exactly the wrong circuits when we anticipated
  8406. hidden service requirements, meaning Tor would have to build all
  8407. its circuits on demand.
  8408. - Avoid crashing when we mmap a router cache file of size 0.
  8409. - When testing reachability of our DirPort, don't launch new
  8410. tests when there's already one in progress -- unreachable
  8411. servers were stacking up dozens of testing streams.
  8412. o Minor bugfixes, correctness:
  8413. - If we're a directory mirror and we ask for "all" network status
  8414. documents, we would discard status documents from authorities
  8415. we don't recognize.
  8416. - Avoid a memory corruption bug when creating a hash table for
  8417. the first time.
  8418. - Avoid controller-triggered crash when misusing certain commands
  8419. from a v0 controller on platforms that do not handle
  8420. printf("%s",NULL) gracefully.
  8421. - Don't crash when a controller sends a third argument to an
  8422. "extendcircuit" request.
  8423. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  8424. response; fix error code when "getinfo dir/status/" fails.
  8425. - Avoid crash when telling controller stream-status and a stream
  8426. is detached.
  8427. - Patch from Adam Langley to fix assert() in eventdns.c.
  8428. - Fix a debug log message in eventdns to say "X resolved to Y"
  8429. instead of "X resolved to X".
  8430. - Make eventdns give strings for DNS errors, not just error numbers.
  8431. - Track unreachable entry guards correctly: don't conflate
  8432. 'unreachable by us right now' with 'listed as down by the directory
  8433. authorities'. With the old code, if a guard was unreachable by
  8434. us but listed as running, it would clog our guard list forever.
  8435. - Behave correctly in case we ever have a network with more than
  8436. 2GB/s total advertised capacity.
  8437. - Make TrackExitHosts case-insensitive, and fix the behavior of
  8438. ".suffix" TrackExitHosts items to avoid matching in the middle of
  8439. an address.
  8440. - Finally fix the openssl warnings from newer gccs that believe that
  8441. ignoring a return value is okay, but casting a return value and
  8442. then ignoring it is a sign of madness.
  8443. - Prevent the contrib/exitlist script from printing the same
  8444. result more than once.
  8445. - Patch from Steve Hildrey: Generate network status correctly on
  8446. non-versioning dirservers.
  8447. - Don't listen to the X-Your-Address-Is hint if you did the lookup
  8448. via Tor; otherwise you'll think you're the exit node's IP address.
  8449. o Minor bugfixes, performance:
  8450. - Two small performance improvements on parsing descriptors.
  8451. - Major performance improvement on inserting descriptors: change
  8452. algorithm from O(n^2) to O(n).
  8453. - Make the common memory allocation path faster on machines where
  8454. malloc(0) returns a pointer.
  8455. - Start remembering X-Your-Address-Is directory hints even if you're
  8456. a client, so you can become a server more smoothly.
  8457. - Avoid duplicate entries on MyFamily line in server descriptor.
  8458. o Packaging, features:
  8459. - Remove architecture from OS X builds. The official builds are
  8460. now universal binaries.
  8461. - The Debian package now uses --verify-config when (re)starting,
  8462. to distinguish configuration errors from other errors.
  8463. - Update RPMs to require libevent 1.1b.
  8464. o Packaging, bugfixes:
  8465. - Patches so Tor builds with MinGW on Windows.
  8466. - Patches so Tor might run on Cygwin again.
  8467. - Resume building on non-gcc compilers and ancient gcc. Resume
  8468. building with the -O0 compile flag. Resume building cleanly on
  8469. Debian woody.
  8470. - Run correctly on OS X platforms with case-sensitive filesystems.
  8471. - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
  8472. - Add autoconf checks so Tor can build on Solaris x86 again.
  8473. o Documentation
  8474. - Documented (and renamed) ServerDNSSearchDomains and
  8475. ServerDNSResolvConfFile options.
  8476. - Be clearer that the *ListenAddress directives can be repeated
  8477. multiple times.
  8478. Changes in version 0.1.1.24 - 2006-09-29
  8479. o Major bugfixes:
  8480. - Allow really slow clients to not hang up five minutes into their
  8481. directory downloads (suggested by Adam J. Richter).
  8482. - Fix major performance regression from 0.1.0.x: instead of checking
  8483. whether we have enough directory information every time we want to
  8484. do something, only check when the directory information has changed.
  8485. This should improve client CPU usage by 25-50%.
  8486. - Don't crash if, after a server has been running for a while,
  8487. it can't resolve its hostname.
  8488. o Minor bugfixes:
  8489. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  8490. - Don't crash when the controller receives a third argument to an
  8491. "extendcircuit" request.
  8492. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  8493. response; fix error code when "getinfo dir/status/" fails.
  8494. - Fix configure.in to not produce broken configure files with
  8495. more recent versions of autoconf. Thanks to Clint for his auto*
  8496. voodoo.
  8497. - Fix security bug on NetBSD that could allow someone to force
  8498. uninitialized RAM to be sent to a server's DNS resolver. This
  8499. only affects NetBSD and other platforms that do not bounds-check
  8500. tolower().
  8501. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  8502. methods: these are known to be buggy.
  8503. - If we're a directory mirror and we ask for "all" network status
  8504. documents, we would discard status documents from authorities
  8505. we don't recognize.
  8506. Changes in version 0.1.2.1-alpha - 2006-08-27
  8507. o Major features:
  8508. - Add "eventdns" async dns library from Adam Langley, tweaked to
  8509. build on OSX and Windows. Only enabled if you pass the
  8510. --enable-eventdns argument to configure.
  8511. - Allow servers with no hostname or IP address to learn their
  8512. IP address by asking the directory authorities. This code only
  8513. kicks in when you would normally have exited with a "no address"
  8514. error. Nothing's authenticated, so use with care.
  8515. - Rather than waiting a fixed amount of time between retrying
  8516. application connections, we wait only 5 seconds for the first,
  8517. 10 seconds for the second, and 15 seconds for each retry after
  8518. that. Hopefully this will improve the expected user experience.
  8519. - Patch from Tup to add support for transparent AP connections:
  8520. this basically bundles the functionality of trans-proxy-tor
  8521. into the Tor mainline. Now hosts with compliant pf/netfilter
  8522. implementations can redirect TCP connections straight to Tor
  8523. without diverting through SOCKS. Needs docs.
  8524. - Busy directory servers save lots of memory by spooling server
  8525. descriptors, v1 directories, and v2 networkstatus docs to buffers
  8526. as needed rather than en masse. Also mmap the cached-routers
  8527. files, so we don't need to keep the whole thing in memory too.
  8528. - Automatically avoid picking more than one node from the same
  8529. /16 network when constructing a circuit.
  8530. - Revise and clean up the torrc.sample that we ship with; add
  8531. a section for BandwidthRate and BandwidthBurst.
  8532. o Minor features:
  8533. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  8534. split connection_t into edge, or, dir, control, and base structs.
  8535. These will save quite a bit of memory on busy servers, and they'll
  8536. also help us track down bugs in the code and bugs in the spec.
  8537. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  8538. or later. Log when we are doing this, so we can diagnose it when
  8539. it fails. (Also, recommend libevent 1.1b for kqueue and
  8540. win32 methods; deprecate libevent 1.0b harder; make libevent
  8541. recommendation system saner.)
  8542. - Start being able to build universal binaries on OS X (thanks
  8543. to Phobos).
  8544. - Export the default exit policy via the control port, so controllers
  8545. don't need to guess what it is / will be later.
  8546. - Add a man page entry for ProtocolWarnings.
  8547. - Add TestVia config option to the man page.
  8548. - Remove even more protocol-related warnings from Tor server logs,
  8549. such as bad TLS handshakes and malformed begin cells.
  8550. - Stop fetching descriptors if you're not a dir mirror and you
  8551. haven't tried to establish any circuits lately. [This currently
  8552. causes some dangerous behavior, because when you start up again
  8553. you'll use your ancient server descriptors.]
  8554. - New DirPort behavior: if you have your dirport set, you download
  8555. descriptors aggressively like a directory mirror, whether or not
  8556. your ORPort is set.
  8557. - Get rid of the router_retry_connections notion. Now routers
  8558. no longer try to rebuild long-term connections to directory
  8559. authorities, and directory authorities no longer try to rebuild
  8560. long-term connections to all servers. We still don't hang up
  8561. connections in these two cases though -- we need to look at it
  8562. more carefully to avoid flapping, and we likely need to wait til
  8563. 0.1.1.x is obsolete.
  8564. - Drop compatibility with obsolete Tors that permit create cells
  8565. to have the wrong circ_id_type.
  8566. - Re-enable per-connection rate limiting. Get rid of the "OP
  8567. bandwidth" concept. Lay groundwork for "bandwidth classes" --
  8568. separate global buckets that apply depending on what sort of conn
  8569. it is.
  8570. - Start publishing one minute or so after we find our ORPort
  8571. to be reachable. This will help reduce the number of descriptors
  8572. we have for ourselves floating around, since it's quite likely
  8573. other things (e.g. DirPort) will change during that minute too.
  8574. - Fork the v1 directory protocol into its own spec document,
  8575. and mark dir-spec.txt as the currently correct (v2) spec.
  8576. o Major bugfixes:
  8577. - When we find our DirPort to be reachable, publish a new descriptor
  8578. so we'll tell the world (reported by pnx).
  8579. - Publish a new descriptor after we hup/reload. This is important
  8580. if our config has changed such that we'll want to start advertising
  8581. our DirPort now, etc.
  8582. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  8583. - When we have a state file we cannot parse, tell the user and
  8584. move it aside. Now we avoid situations where the user starts
  8585. Tor in 1904, Tor writes a state file with that timestamp in it,
  8586. the user fixes her clock, and Tor refuses to start.
  8587. - Fix configure.in to not produce broken configure files with
  8588. more recent versions of autoconf. Thanks to Clint for his auto*
  8589. voodoo.
  8590. - "tor --verify-config" now exits with -1(255) or 0 depending on
  8591. whether the config options are bad or good.
  8592. - Resolve bug 321 when using dnsworkers: append a period to every
  8593. address we resolve at the exit node, so that we do not accidentally
  8594. pick up local addresses, and so that failing searches are retried
  8595. in the resolver search domains. (This is already solved for
  8596. eventdns.) (This breaks Blossom servers for now.)
  8597. - If we are using an exit enclave and we can't connect, e.g. because
  8598. its webserver is misconfigured to not listen on localhost, then
  8599. back off and try connecting from somewhere else before we fail.
  8600. o Minor bugfixes:
  8601. - Start compiling on MinGW on Windows (patches from Mike Chiussi).
  8602. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  8603. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  8604. when the IP address is mapped through MapAddress to a hostname.
  8605. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  8606. useless IPv6 DNS resolves.
  8607. - Patch suggested by Karsten Loesing: respond to SIGNAL command
  8608. before we execute the signal, in case the signal shuts us down.
  8609. - Clean up AllowInvalidNodes man page entry.
  8610. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  8611. - Add more asserts to track down an assert error on a windows Tor
  8612. server with connection_add being called with socket == -1.
  8613. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  8614. - Fix misleading log messages: an entry guard that is "unlisted",
  8615. as well as not known to be "down" (because we've never heard
  8616. of it), is not therefore "up".
  8617. - Remove code to special-case "-cvs" ending, since it has not
  8618. actually mattered since 0.0.9.
  8619. - Make our socks5 handling more robust to broken socks clients:
  8620. throw out everything waiting on the buffer in between socks
  8621. handshake phases, since they can't possibly (so the theory
  8622. goes) have predicted what we plan to respond to them.
  8623. Changes in version 0.1.1.23 - 2006-07-30
  8624. o Major bugfixes:
  8625. - Fast Tor servers, especially exit nodes, were triggering asserts
  8626. due to a bug in handling the list of pending DNS resolves. Some
  8627. bugs still remain here; we're hunting them.
  8628. - Entry guards could crash clients by sending unexpected input.
  8629. - More fixes on reachability testing: if you find yourself reachable,
  8630. then don't ever make any client requests (so you stop predicting
  8631. circuits), then hup or have your clock jump, then later your IP
  8632. changes, you won't think circuits are working, so you won't try to
  8633. test reachability, so you won't publish.
  8634. o Minor bugfixes:
  8635. - Avoid a crash if the controller does a resetconf firewallports
  8636. and then a setconf fascistfirewall=1.
  8637. - Avoid an integer underflow when the dir authority decides whether
  8638. a router is stable: we might wrongly label it stable, and compute
  8639. a slightly wrong median stability, when a descriptor is published
  8640. later than now.
  8641. - Fix a place where we might trigger an assert if we can't build our
  8642. own server descriptor yet.
  8643. Changes in version 0.1.1.22 - 2006-07-05
  8644. o Major bugfixes:
  8645. - Fix a big bug that was causing servers to not find themselves
  8646. reachable if they changed IP addresses. Since only 0.1.1.22+
  8647. servers can do reachability testing correctly, now we automatically
  8648. make sure to test via one of these.
  8649. - Fix to allow clients and mirrors to learn directory info from
  8650. descriptor downloads that get cut off partway through.
  8651. - Directory authorities had a bug in deciding if a newly published
  8652. descriptor was novel enough to make everybody want a copy -- a few
  8653. servers seem to be publishing new descriptors many times a minute.
  8654. o Minor bugfixes:
  8655. - Fix a rare bug that was causing some servers to complain about
  8656. "closing wedged cpuworkers" and skip some circuit create requests.
  8657. - Make the Exit flag in directory status documents actually work.
  8658. Changes in version 0.1.1.21 - 2006-06-10
  8659. o Crash and assert fixes from 0.1.1.20:
  8660. - Fix a rare crash on Tor servers that have enabled hibernation.
  8661. - Fix a seg fault on startup for Tor networks that use only one
  8662. directory authority.
  8663. - Fix an assert from a race condition that occurs on Tor servers
  8664. while exiting, where various threads are trying to log that they're
  8665. exiting, and delete the logs, at the same time.
  8666. - Make our unit tests pass again on certain obscure platforms.
  8667. o Other fixes:
  8668. - Add support for building SUSE RPM packages.
  8669. - Speed up initial bootstrapping for clients: if we are making our
  8670. first ever connection to any entry guard, then don't mark it down
  8671. right after that.
  8672. - When only one Tor server in the network is labelled as a guard,
  8673. and we've already picked him, we would cycle endlessly picking him
  8674. again, being unhappy about it, etc. Now we specifically exclude
  8675. current guards when picking a new guard.
  8676. - Servers send create cells more reliably after the TLS connection
  8677. is established: we were sometimes forgetting to send half of them
  8678. when we had more than one pending.
  8679. - If we get a create cell that asks us to extend somewhere, but the
  8680. Tor server there doesn't match the expected digest, we now send
  8681. a destroy cell back, rather than silently doing nothing.
  8682. - Make options->RedirectExit work again.
  8683. - Make cookie authentication for the controller work again.
  8684. - Stop being picky about unusual characters in the arguments to
  8685. mapaddress. It's none of our business.
  8686. - Add a new config option "TestVia" that lets you specify preferred
  8687. middle hops to use for test circuits. Perhaps this will let me
  8688. debug the reachability problems better.
  8689. o Log / documentation fixes:
  8690. - If we're a server and some peer has a broken TLS certificate, don't
  8691. log about it unless ProtocolWarnings is set, i.e., we want to hear
  8692. about protocol violations by others.
  8693. - Fix spelling of VirtualAddrNetwork in man page.
  8694. - Add a better explanation at the top of the autogenerated torrc file
  8695. about what happened to our old torrc.
  8696. Changes in version 0.1.1.20 - 2006-05-23
  8697. o Bugfixes:
  8698. - Downgrade a log severity where servers complain that they're
  8699. invalid.
  8700. - Avoid a compile warning on FreeBSD.
  8701. - Remove string size limit on NEWDESC messages; solve bug 291.
  8702. - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
  8703. more thoroughly when we're running on windows.
  8704. Changes in version 0.1.1.19-rc - 2006-05-03
  8705. o Minor bugs:
  8706. - Regenerate our local descriptor if it's dirty and we try to use
  8707. it locally (e.g. if it changes during reachability detection).
  8708. - If we setconf our ORPort to 0, we continued to listen on the
  8709. old ORPort and receive connections.
  8710. - Avoid a second warning about machine/limits.h on Debian
  8711. GNU/kFreeBSD.
  8712. - Be willing to add our own routerinfo into the routerlist.
  8713. Now authorities will include themselves in their directories
  8714. and network-statuses.
  8715. - Stop trying to upload rendezvous descriptors to every
  8716. directory authority: only try the v1 authorities.
  8717. - Servers no longer complain when they think they're not
  8718. registered with the directory authorities. There were too many
  8719. false positives.
  8720. - Backport dist-rpm changes so rpms can be built without errors.
  8721. o Features:
  8722. - Implement an option, VirtualAddrMask, to set which addresses
  8723. get handed out in response to mapaddress requests. This works
  8724. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  8725. Changes in version 0.1.1.18-rc - 2006-04-10
  8726. o Major fixes:
  8727. - Work harder to download live network-statuses from all the
  8728. directory authorities we know about. Improve the threshold
  8729. decision logic so we're more robust to edge cases.
  8730. - When fetching rendezvous descriptors, we were willing to ask
  8731. v2 authorities too, which would always return 404.
  8732. o Minor fixes:
  8733. - Stop listing down or invalid nodes in the v1 directory. This will
  8734. reduce its bulk by about 1/3, and reduce load on directory
  8735. mirrors.
  8736. - When deciding whether a router is Fast or Guard-worthy, consider
  8737. his advertised BandwidthRate and not just the BandwidthCapacity.
  8738. - No longer ship INSTALL and README files -- they are useless now.
  8739. - Force rpmbuild to behave and honor target_cpu.
  8740. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  8741. - Start to include translated versions of the tor-doc-*.html
  8742. files, along with the screenshots. Still needs more work.
  8743. - Start sending back 512 and 451 errors if mapaddress fails,
  8744. rather than not sending anything back at all.
  8745. - When we fail to bind or listen on an incoming or outgoing
  8746. socket, we should close it before failing. otherwise we just
  8747. leak it. (thanks to weasel for finding.)
  8748. - Allow "getinfo dir/status/foo" to work, as long as your DirPort
  8749. is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
  8750. - Make NoPublish (even though deprecated) work again.
  8751. - Fix a minor security flaw where a versioning auth dirserver
  8752. could list a recommended version many times in a row to make
  8753. clients more convinced that it's recommended.
  8754. - Fix crash bug if there are two unregistered servers running
  8755. with the same nickname, one of them is down, and you ask for
  8756. them by nickname in your EntryNodes or ExitNodes. Also, try
  8757. to pick the one that's running rather than an arbitrary one.
  8758. - Fix an infinite loop we could hit if we go offline for too long.
  8759. - Complain when we hit WSAENOBUFS on recv() or write() too.
  8760. Perhaps this will help us hunt the bug.
  8761. - If you're not a versioning dirserver, don't put the string
  8762. "client-versions \nserver-versions \n" in your network-status.
  8763. - Lower the minimum required number of file descriptors to 1000,
  8764. so we can have some overhead for Valgrind on Linux, where the
  8765. default ulimit -n is 1024.
  8766. o New features:
  8767. - Add tor.dizum.com as the fifth authoritative directory server.
  8768. - Add a new config option FetchUselessDescriptors, off by default,
  8769. for when you plan to run "exitlist" on your client and you want
  8770. to know about even the non-running descriptors.
  8771. Changes in version 0.1.1.17-rc - 2006-03-28
  8772. o Major fixes:
  8773. - Clients and servers since 0.1.1.10-alpha have been expiring
  8774. connections whenever they are idle for 5 minutes and they *do*
  8775. have circuits on them. Oops. With this new version, clients will
  8776. discard their previous entry guard choices and avoid choosing
  8777. entry guards running these flawed versions.
  8778. - Fix memory leak when uncompressing concatenated zlib streams. This
  8779. was causing substantial leaks over time on Tor servers.
  8780. - The v1 directory was including servers as much as 48 hours old,
  8781. because that's how the new routerlist->routers works. Now only
  8782. include them if they're 20 hours old or less.
  8783. o Minor fixes:
  8784. - Resume building on irix64, netbsd 2.0, etc.
  8785. - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
  8786. "-Wall -g -O2".
  8787. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  8788. and it is confusing some users.
  8789. - Mirrors stop caching the v1 directory so often.
  8790. - Make the max number of old descriptors that a cache will hold
  8791. rise with the number of directory authorities, so we can scale.
  8792. - Change our win32 uname() hack to be more forgiving about what
  8793. win32 versions it thinks it's found.
  8794. o New features:
  8795. - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
  8796. server.
  8797. - When the controller's *setconf commands fail, collect an error
  8798. message in a string and hand it back to the controller.
  8799. - Make the v2 dir's "Fast" flag based on relative capacity, just
  8800. like "Stable" is based on median uptime. Name everything in the
  8801. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  8802. - Log server fingerprint on startup, so new server operators don't
  8803. have to go hunting around their filesystem for it.
  8804. - Return a robots.txt on our dirport to discourage google indexing.
  8805. - Let the controller ask for GETINFO dir/status/foo so it can ask
  8806. directly rather than connecting to the dir port. Only works when
  8807. dirport is set for now.
  8808. o New config options rather than constants in the code:
  8809. - SocksTimeout: How long do we let a socks connection wait
  8810. unattached before we fail it?
  8811. - CircuitBuildTimeout: Cull non-open circuits that were born
  8812. at least this many seconds ago.
  8813. - CircuitIdleTimeout: Cull open clean circuits that were born
  8814. at least this many seconds ago.
  8815. Changes in version 0.1.1.16-rc - 2006-03-18
  8816. o Bugfixes on 0.1.1.15-rc:
  8817. - Fix assert when the controller asks to attachstream a connect-wait
  8818. or resolve-wait stream.
  8819. - Now do address rewriting when the controller asks us to attach
  8820. to a particular circuit too. This will let Blossom specify
  8821. "moria2.exit" without having to learn what moria2's IP address is.
  8822. - Make the "tor --verify-config" command-line work again, so people
  8823. can automatically check if their torrc will parse.
  8824. - Authoritative dirservers no longer require an open connection from
  8825. a server to consider him "reachable". We need this change because
  8826. when we add new auth dirservers, old servers won't know not to
  8827. hang up on them.
  8828. - Let Tor build on Sun CC again.
  8829. - Fix an off-by-one buffer size in dirserv.c that magically never
  8830. hit our three authorities but broke sjmurdoch's own tor network.
  8831. - If we as a directory mirror don't know of any v1 directory
  8832. authorities, then don't try to cache any v1 directories.
  8833. - Stop warning about unknown servers in our family when they are
  8834. given as hex digests.
  8835. - Stop complaining as quickly to the server operator that he
  8836. hasn't registered his nickname/key binding.
  8837. - Various cleanups so we can add new V2 Auth Dirservers.
  8838. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  8839. reflect the updated flags in our v2 dir protocol.
  8840. - Resume allowing non-printable characters for exit streams (both
  8841. for connecting and for resolving). Now we tolerate applications
  8842. that don't follow the RFCs. But continue to block malformed names
  8843. at the socks side.
  8844. o Bugfixes on 0.1.0.x:
  8845. - Fix assert bug in close_logs(): when we close and delete logs,
  8846. remove them all from the global "logfiles" list.
  8847. - Fix minor integer overflow in calculating when we expect to use up
  8848. our bandwidth allocation before hibernating.
  8849. - Fix a couple of bugs in OpenSSL detection. Also, deal better when
  8850. there are multiple SSLs installed with different versions.
  8851. - When we try to be a server and Address is not explicitly set and
  8852. our hostname resolves to a private IP address, try to use an
  8853. interface address if it has a public address. Now Windows machines
  8854. that think of themselves as localhost can work by default.
  8855. o New features:
  8856. - Let the controller ask for GETINFO dir/server/foo so it can ask
  8857. directly rather than connecting to the dir port.
  8858. - Let the controller tell us about certain router descriptors
  8859. that it doesn't want Tor to use in circuits. Implement
  8860. SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
  8861. - New config option SafeSocks to reject all application connections
  8862. using unsafe socks protocols. Defaults to off.
  8863. Changes in version 0.1.1.15-rc - 2006-03-11
  8864. o Bugfixes and cleanups:
  8865. - When we're printing strings from the network, don't try to print
  8866. non-printable characters. This protects us against shell escape
  8867. sequence exploits, and also against attacks to fool humans into
  8868. misreading their logs.
  8869. - Fix a bug where Tor would fail to establish any connections if you
  8870. left it off for 24 hours and then started it: we were happy with
  8871. the obsolete network statuses, but they all referred to router
  8872. descriptors that were too old to fetch, so we ended up with no
  8873. valid router descriptors.
  8874. - Fix a seg fault in the controller's "getinfo orconn-status"
  8875. command while listing status on incoming handshaking connections.
  8876. Introduce a status name "NEW" for these connections.
  8877. - If we get a linelist or linelist_s config option from the torrc
  8878. (e.g. ExitPolicy) and it has no value, warn and skip rather than
  8879. silently resetting it to its default.
  8880. - Don't abandon entry guards until they've been down or gone for
  8881. a whole month.
  8882. - Cleaner and quieter log messages.
  8883. o New features:
  8884. - New controller signal NEWNYM that makes new application requests
  8885. use clean circuits.
  8886. - Add a new circuit purpose 'controller' to let the controller ask
  8887. for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
  8888. controller command to let you specify the purpose if you're
  8889. starting a new circuit. Add a new SETCIRCUITPURPOSE controller
  8890. command to let you change a circuit's purpose after it's been
  8891. created.
  8892. - Accept "private:*" in routerdesc exit policies; not generated yet
  8893. because older Tors do not understand it.
  8894. - Add BSD-style contributed startup script "rc.subr" from Peter
  8895. Thoenen.
  8896. Changes in version 0.1.1.14-alpha - 2006-02-20
  8897. o Bugfixes on 0.1.1.x:
  8898. - Don't die if we ask for a stdout or stderr log (even implicitly)
  8899. and we're set to RunAsDaemon -- just warn.
  8900. - We still had a few bugs in the OR connection rotation code that
  8901. caused directory servers to slowly aggregate connections to other
  8902. fast Tor servers. This time for sure!
  8903. - Make log entries on Win32 include the name of the function again.
  8904. - We were treating a pair of exit policies if they were equal even
  8905. if one said accept and the other said reject -- causing us to
  8906. not always publish a new descriptor since we thought nothing
  8907. had changed.
  8908. - Retry pending server downloads as well as pending networkstatus
  8909. downloads when we unexpectedly get a socks request.
  8910. - We were ignoring the IS_FAST flag in the directory status,
  8911. meaning we were willing to pick trivial-bandwidth nodes for "fast"
  8912. connections.
  8913. - If the controller's SAVECONF command fails (e.g. due to file
  8914. permissions), let the controller know that it failed.
  8915. o Features:
  8916. - If we're trying to be a Tor server and running Windows 95/98/ME
  8917. as a server, explain that we'll likely crash.
  8918. - When we're a server, a client asks for an old-style directory,
  8919. and our write bucket is empty, don't give it to him. This way
  8920. small servers can continue to serve the directory *sometimes*,
  8921. without getting overloaded.
  8922. - Compress exit policies even more -- look for duplicate lines
  8923. and remove them.
  8924. - Clients now honor the "guard" flag in the router status when
  8925. picking entry guards, rather than looking at is_fast or is_stable.
  8926. - Retain unrecognized lines in $DATADIR/state file, so that we can
  8927. be forward-compatible.
  8928. - Generate 18.0.0.0/8 address policy format in descs when we can;
  8929. warn when the mask is not reducible to a bit-prefix.
  8930. - Let the user set ControlListenAddress in the torrc. This can be
  8931. dangerous, but there are some cases (like a secured LAN) where it
  8932. makes sense.
  8933. - Split ReachableAddresses into ReachableDirAddresses and
  8934. ReachableORAddresses, so we can restrict Dir conns to port 80
  8935. and OR conns to port 443.
  8936. - Now we can target arch and OS in rpm builds (contributed by
  8937. Phobos). Also make the resulting dist-rpm filename match the
  8938. target arch.
  8939. - New config options to help controllers: FetchServerDescriptors
  8940. and FetchHidServDescriptors for whether to fetch server
  8941. info and hidserv info or let the controller do it, and
  8942. PublishServerDescriptor and PublishHidServDescriptors.
  8943. - Also let the controller set the __AllDirActionsPrivate config
  8944. option if you want all directory fetches/publishes to happen via
  8945. Tor (it assumes your controller bootstraps your circuits).
  8946. Changes in version 0.1.0.17 - 2006-02-17
  8947. o Crash bugfixes on 0.1.0.x:
  8948. - When servers with a non-zero DirPort came out of hibernation,
  8949. sometimes they would trigger an assert.
  8950. o Other important bugfixes:
  8951. - On platforms that don't have getrlimit (like Windows), we were
  8952. artificially constraining ourselves to a max of 1024
  8953. connections. Now just assume that we can handle as many as 15000
  8954. connections. Hopefully this won't cause other problems.
  8955. o Backported features:
  8956. - When we're a server, a client asks for an old-style directory,
  8957. and our write bucket is empty, don't give it to him. This way
  8958. small servers can continue to serve the directory *sometimes*,
  8959. without getting overloaded.
  8960. - Whenever you get a 503 in response to a directory fetch, try
  8961. once more. This will become important once servers start sending
  8962. 503's whenever they feel busy.
  8963. - Fetch a new directory every 120 minutes, not every 40 minutes.
  8964. Now that we have hundreds of thousands of users running the old
  8965. directory algorithm, it's starting to hurt a lot.
  8966. - Bump up the period for forcing a hidden service descriptor upload
  8967. from 20 minutes to 1 hour.
  8968. Changes in version 0.1.1.13-alpha - 2006-02-09
  8969. o Crashes in 0.1.1.x:
  8970. - When you tried to setconf ORPort via the controller, Tor would
  8971. crash. So people using TorCP to become a server were sad.
  8972. - Solve (I hope) the stack-smashing bug that we were seeing on fast
  8973. servers. The problem appears to be something do with OpenSSL's
  8974. random number generation, or how we call it, or something. Let me
  8975. know if the crashes continue.
  8976. - Turn crypto hardware acceleration off by default, until we find
  8977. somebody smart who can test it for us. (It appears to produce
  8978. seg faults in at least some cases.)
  8979. - Fix a rare assert error when we've tried all intro points for
  8980. a hidden service and we try fetching the service descriptor again:
  8981. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
  8982. o Major fixes:
  8983. - Fix a major load balance bug: we were round-robining in 16 KB
  8984. chunks, and servers with bandwidthrate of 20 KB, while downloading
  8985. a 600 KB directory, would starve their other connections. Now we
  8986. try to be a bit more fair.
  8987. - Dir authorities and mirrors were never expiring the newest
  8988. descriptor for each server, causing memory and directory bloat.
  8989. - Fix memory-bloating and connection-bloating bug on servers: We
  8990. were never closing any connection that had ever had a circuit on
  8991. it, because we were checking conn->n_circuits == 0, yet we had a
  8992. bug that let it go negative.
  8993. - Make Tor work using squid as your http proxy again -- squid
  8994. returns an error if you ask for a URL that's too long, and it uses
  8995. a really generic error message. Plus, many people are behind a
  8996. transparent squid so they don't even realize it.
  8997. - On platforms that don't have getrlimit (like Windows), we were
  8998. artificially constraining ourselves to a max of 1024
  8999. connections. Now just assume that we can handle as many as 15000
  9000. connections. Hopefully this won't cause other problems.
  9001. - Add a new config option ExitPolicyRejectPrivate which defaults to
  9002. 1. This means all exit policies will begin with rejecting private
  9003. addresses, unless the server operator explicitly turns it off.
  9004. o Major features:
  9005. - Clients no longer download descriptors for non-running
  9006. descriptors.
  9007. - Before we add new directory authorities, we should make it
  9008. clear that only v1 authorities should receive/publish hidden
  9009. service descriptors.
  9010. o Minor features:
  9011. - As soon as we've fetched some more directory info, immediately
  9012. try to download more server descriptors. This way we don't have
  9013. a 10 second pause during initial bootstrapping.
  9014. - Remove even more loud log messages that the server operator can't
  9015. do anything about.
  9016. - When we're running an obsolete or un-recommended version, make
  9017. the log message more clear about what the problem is and what
  9018. versions *are* still recommended.
  9019. - Provide a more useful warn message when our onion queue gets full:
  9020. the CPU is too slow or the exit policy is too liberal.
  9021. - Don't warn when we receive a 503 from a dirserver/cache -- this
  9022. will pave the way for them being able to refuse if they're busy.
  9023. - When we fail to bind a listener, try to provide a more useful
  9024. log message: e.g., "Is Tor already running?"
  9025. - Adjust tor-spec to parameterize cell and key lengths. Now Ian
  9026. Goldberg can prove things about our handshake protocol more
  9027. easily.
  9028. - MaxConn has been obsolete for a while now. Document the ConnLimit
  9029. config option, which is a *minimum* number of file descriptors
  9030. that must be available else Tor refuses to start.
  9031. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  9032. if you log to syslog and want something other than LOG_DAEMON.
  9033. - Make dirservers generate a separate "guard" flag to mean,
  9034. "would make a good entry guard". Make clients parse it and vote
  9035. on it. Not used by clients yet.
  9036. - Implement --with-libevent-dir option to ./configure. Also, improve
  9037. search techniques to find libevent, and use those for openssl too.
  9038. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
  9039. - Only start testing reachability once we've established a
  9040. circuit. This will make startup on dirservers less noisy.
  9041. - Don't try to upload hidden service descriptors until we have
  9042. established a circuit.
  9043. - Fix the controller's "attachstream 0" command to treat conn like
  9044. it just connected, doing address remapping, handling .exit and
  9045. .onion idioms, and so on. Now we're more uniform in making sure
  9046. that the controller hears about new and closing connections.
  9047. Changes in version 0.1.1.12-alpha - 2006-01-11
  9048. o Bugfixes on 0.1.1.x:
  9049. - The fix to close duplicate server connections was closing all
  9050. Tor client connections if they didn't establish a circuit
  9051. quickly enough. Oops.
  9052. - Fix minor memory issue (double-free) that happened on exit.
  9053. o Bugfixes on 0.1.0.x:
  9054. - Tor didn't warn when it failed to open a log file.
  9055. Changes in version 0.1.1.11-alpha - 2006-01-10
  9056. o Crashes in 0.1.1.x:
  9057. - Include all the assert/crash fixes from 0.1.0.16.
  9058. - If you start Tor and then quit very quickly, there were some
  9059. races that tried to free things that weren't allocated yet.
  9060. - Fix a rare memory stomp if you're running hidden services.
  9061. - Fix segfault when specifying DirServer in config without nickname.
  9062. - Fix a seg fault when you finish connecting to a server but at
  9063. that moment you dump his server descriptor.
  9064. - Extendcircuit and Attachstream controller commands would
  9065. assert/crash if you don't give them enough arguments.
  9066. - Fix an assert error when we're out of space in the connection_list
  9067. and we try to post a hidden service descriptor (reported by weasel).
  9068. - If you specify a relative torrc path and you set RunAsDaemon in
  9069. your torrc, then it chdir()'s to the new directory. If you HUP,
  9070. it tries to load the new torrc location, fails, and exits.
  9071. The fix: no longer allow a relative path to torrc using -f.
  9072. o Major features:
  9073. - Implement "entry guards": automatically choose a handful of entry
  9074. nodes and stick with them for all circuits. Only pick new guards
  9075. when the ones you have are unsuitable, and if the old guards
  9076. become suitable again, switch back. This will increase security
  9077. dramatically against certain end-point attacks. The EntryNodes
  9078. config option now provides some hints about which entry guards you
  9079. want to use most; and StrictEntryNodes means to only use those.
  9080. - New directory logic: download by descriptor digest, not by
  9081. fingerprint. Caches try to download all listed digests from
  9082. authorities; clients try to download "best" digests from caches.
  9083. This avoids partitioning and isolating attacks better.
  9084. - Make the "stable" router flag in network-status be the median of
  9085. the uptimes of running valid servers, and make clients pay
  9086. attention to the network-status flags. Thus the cutoff adapts
  9087. to the stability of the network as a whole, making IRC, IM, etc
  9088. connections more reliable.
  9089. o Major fixes:
  9090. - Tor servers with dynamic IP addresses were needing to wait 18
  9091. hours before they could start doing reachability testing using
  9092. the new IP address and ports. This is because they were using
  9093. the internal descriptor to learn what to test, yet they were only
  9094. rebuilding the descriptor once they decided they were reachable.
  9095. - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
  9096. to download certain server descriptors, throw them away, and then
  9097. fetch them again after 30 minutes. Now mirrors throw away these
  9098. server descriptors so clients can't get them.
  9099. - We were leaving duplicate connections to other ORs open for a week,
  9100. rather than closing them once we detect a duplicate. This only
  9101. really affected authdirservers, but it affected them a lot.
  9102. - Spread the authdirservers' reachability testing over the entire
  9103. testing interval, so we don't try to do 500 TLS's at once every
  9104. 20 minutes.
  9105. o Minor fixes:
  9106. - If the network is down, and we try to connect to a conn because
  9107. we have a circuit in mind, and we timeout (30 seconds) because the
  9108. network never answers, we were expiring the circuit, but we weren't
  9109. obsoleting the connection or telling the entry_guards functions.
  9110. - Some Tor servers process billions of cells per day. These statistics
  9111. need to be uint64_t's.
  9112. - Check for integer overflows in more places, when adding elements
  9113. to smartlists. This could possibly prevent a buffer overflow
  9114. on malicious huge inputs. I don't see any, but I haven't looked
  9115. carefully.
  9116. - ReachableAddresses kept growing new "reject *:*" lines on every
  9117. setconf/reload.
  9118. - When you "setconf log" via the controller, it should remove all
  9119. logs. We were automatically adding back in a "log notice stdout".
  9120. - Newly bootstrapped Tor networks couldn't establish hidden service
  9121. circuits until they had nodes with high uptime. Be more tolerant.
  9122. - We were marking servers down when they could not answer every piece
  9123. of the directory request we sent them. This was far too harsh.
  9124. - Fix the torify (tsocks) config file to not use Tor for localhost
  9125. connections.
  9126. - Directory authorities now go to the proper authority when asking for
  9127. a networkstatus, even when they want a compressed one.
  9128. - Fix a harmless bug that was causing Tor servers to log
  9129. "Got an end because of misc error, but we're not an AP. Closing."
  9130. - Authorities were treating their own descriptor changes as cosmetic,
  9131. meaning the descriptor available in the network-status and the
  9132. descriptor that clients downloaded were different.
  9133. - The OS X installer was adding a symlink for tor_resolve but
  9134. the binary was called tor-resolve (reported by Thomas Hardly).
  9135. - Workaround a problem with some http proxies where they refuse GET
  9136. requests that specify "Content-Length: 0" (reported by Adrian).
  9137. - Fix wrong log message when you add a "HiddenServiceNodes" config
  9138. line without any HiddenServiceDir line (reported by Chris Thomas).
  9139. o Minor features:
  9140. - Write the TorVersion into the state file so we have a prayer of
  9141. keeping forward and backward compatibility.
  9142. - Revive the FascistFirewall config option rather than eliminating it:
  9143. now it's a synonym for ReachableAddresses *:80,*:443.
  9144. - Clients choose directory servers from the network status lists,
  9145. not from their internal list of router descriptors. Now they can
  9146. go to caches directly rather than needing to go to authorities
  9147. to bootstrap.
  9148. - Directory authorities ignore router descriptors that have only
  9149. cosmetic differences: do this for 0.1.0.x servers now too.
  9150. - Add a new flag to network-status indicating whether the server
  9151. can answer v2 directory requests too.
  9152. - Authdirs now stop whining so loudly about bad descriptors that
  9153. they fetch from other dirservers. So when there's a log complaint,
  9154. it's for sure from a freshly uploaded descriptor.
  9155. - Reduce memory requirements in our structs by changing the order
  9156. of fields.
  9157. - There used to be two ways to specify your listening ports in a
  9158. server descriptor: on the "router" line and with a separate "ports"
  9159. line. Remove support for the "ports" line.
  9160. - New config option "AuthDirRejectUnlisted" for auth dirservers as
  9161. a panic button: if we get flooded with unusable servers we can
  9162. revert to only listing servers in the approved-routers file.
  9163. - Auth dir servers can now mark a fingerprint as "!reject" or
  9164. "!invalid" in the approved-routers file (as its nickname), to
  9165. refuse descriptors outright or include them but marked as invalid.
  9166. - Servers store bandwidth history across restarts/crashes.
  9167. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  9168. get a better idea of why their circuits failed. Not used yet.
  9169. - Directory mirrors now cache up to 16 unrecognized network-status
  9170. docs. Now we can add new authdirservers and they'll be cached too.
  9171. - When picking a random directory, prefer non-authorities if any
  9172. are known.
  9173. - New controller option "getinfo desc/all-recent" to fetch the
  9174. latest server descriptor for every router that Tor knows about.
  9175. Changes in version 0.1.0.16 - 2006-01-02
  9176. o Crash bugfixes on 0.1.0.x:
  9177. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  9178. corrupting the heap, losing FDs, or crashing when we need to resize
  9179. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  9180. - It turns out sparc64 platforms crash on unaligned memory access
  9181. too -- so detect and avoid this.
  9182. - Handle truncated compressed data correctly (by detecting it and
  9183. giving an error).
  9184. - Fix possible-but-unlikely free(NULL) in control.c.
  9185. - When we were closing connections, there was a rare case that
  9186. stomped on memory, triggering seg faults and asserts.
  9187. - Avoid potential infinite recursion when building a descriptor. (We
  9188. don't know that it ever happened, but better to fix it anyway.)
  9189. - We were neglecting to unlink marked circuits from soon-to-close OR
  9190. connections, which caused some rare scribbling on freed memory.
  9191. - Fix a memory stomping race bug when closing the joining point of two
  9192. rendezvous circuits.
  9193. - Fix an assert in time parsing found by Steven Murdoch.
  9194. o Other bugfixes on 0.1.0.x:
  9195. - When we're doing reachability testing, provide more useful log
  9196. messages so the operator knows what to expect.
  9197. - Do not check whether DirPort is reachable when we are suppressing
  9198. advertising it because of hibernation.
  9199. - When building with -static or on Solaris, we sometimes needed -ldl.
  9200. - When we're deciding whether a stream has enough circuits around
  9201. that can handle it, count the freshly dirty ones and not the ones
  9202. that are so dirty they won't be able to handle it.
  9203. - When we're expiring old circuits, we had a logic error that caused
  9204. us to close new rendezvous circuits rather than old ones.
  9205. - Give a more helpful log message when you try to change ORPort via
  9206. the controller: you should upgrade Tor if you want that to work.
  9207. - We were failing to parse Tor versions that start with "Tor ".
  9208. - Tolerate faulty streams better: when a stream fails for reason
  9209. exitpolicy, stop assuming that the router is lying about his exit
  9210. policy. When a stream fails for reason misc, allow it to retry just
  9211. as if it was resolvefailed. When a stream has failed three times,
  9212. reset its failure count so we can try again and get all three tries.
  9213. Changes in version 0.1.1.10-alpha - 2005-12-11
  9214. o Correctness bugfixes on 0.1.0.x:
  9215. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  9216. corrupting the heap, losing FDs, or crashing when we need to resize
  9217. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  9218. - Stop doing the complex voodoo overkill checking for insecure
  9219. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  9220. - When we were closing connections, there was a rare case that
  9221. stomped on memory, triggering seg faults and asserts.
  9222. - We were neglecting to unlink marked circuits from soon-to-close OR
  9223. connections, which caused some rare scribbling on freed memory.
  9224. - When we're deciding whether a stream has enough circuits around
  9225. that can handle it, count the freshly dirty ones and not the ones
  9226. that are so dirty they won't be able to handle it.
  9227. - Recover better from TCP connections to Tor servers that are
  9228. broken but don't tell you (it happens!); and rotate TLS
  9229. connections once a week.
  9230. - When we're expiring old circuits, we had a logic error that caused
  9231. us to close new rendezvous circuits rather than old ones.
  9232. - Fix a scary-looking but apparently harmless bug where circuits
  9233. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  9234. servers, and never switch to state CIRCUIT_STATE_OPEN.
  9235. - When building with -static or on Solaris, we sometimes needed to
  9236. build with -ldl.
  9237. - Give a useful message when people run Tor as the wrong user,
  9238. rather than telling them to start chowning random directories.
  9239. - We were failing to inform the controller about new .onion streams.
  9240. o Security bugfixes on 0.1.0.x:
  9241. - Refuse server descriptors if the fingerprint line doesn't match
  9242. the included identity key. Tor doesn't care, but other apps (and
  9243. humans) might actually be trusting the fingerprint line.
  9244. - We used to kill the circuit when we receive a relay command we
  9245. don't recognize. Now we just drop it.
  9246. - Start obeying our firewall options more rigorously:
  9247. . If we can't get to a dirserver directly, try going via Tor.
  9248. . Don't ever try to connect (as a client) to a place our
  9249. firewall options forbid.
  9250. . If we specify a proxy and also firewall options, obey the
  9251. firewall options even when we're using the proxy: some proxies
  9252. can only proxy to certain destinations.
  9253. - Fix a bug found by Lasse Overlier: when we were making internal
  9254. circuits (intended to be cannibalized later for rendezvous and
  9255. introduction circuits), we were picking them so that they had
  9256. useful exit nodes. There was no need for this, and it actually
  9257. aids some statistical attacks.
  9258. - Start treating internal circuits and exit circuits separately.
  9259. It's important to keep them separate because internal circuits
  9260. have their last hops picked like middle hops, rather than like
  9261. exit hops. So exiting on them will break the user's expectations.
  9262. o Bugfixes on 0.1.1.x:
  9263. - Take out the mis-feature where we tried to detect IP address
  9264. flapping for people with DynDNS, and chose not to upload a new
  9265. server descriptor sometimes.
  9266. - Try to be compatible with OpenSSL 0.9.6 again.
  9267. - Log fix: when the controller is logging about .onion addresses,
  9268. sometimes it didn't include the ".onion" part of the address.
  9269. - Don't try to modify options->DirServers internally -- if the
  9270. user didn't specify any, just add the default ones directly to
  9271. the trusted dirserver list. This fixes a bug where people running
  9272. controllers would use SETCONF on some totally unrelated config
  9273. option, and Tor would start yelling at them about changing their
  9274. DirServer lines.
  9275. - Let the controller's redirectstream command specify a port, in
  9276. case the controller wants to change that too.
  9277. - When we requested a pile of server descriptors, we sometimes
  9278. accidentally launched a duplicate request for the first one.
  9279. - Bugfix for trackhostexits: write down the fingerprint of the
  9280. chosen exit, not its nickname, because the chosen exit might not
  9281. be verified.
  9282. - When parsing foo.exit, if foo is unknown, and we are leaving
  9283. circuits unattached, set the chosen_exit field and leave the
  9284. address empty. This matters because controllers got confused
  9285. otherwise.
  9286. - Directory authorities no longer try to download server
  9287. descriptors that they know they will reject.
  9288. o Features and updates:
  9289. - Replace balanced trees with hash tables: this should make stuff
  9290. significantly faster.
  9291. - Resume using the AES counter-mode implementation that we ship,
  9292. rather than OpenSSL's. Ours is significantly faster.
  9293. - Many other CPU and memory improvements.
  9294. - Add a new config option FastFirstHopPK (on by default) so clients
  9295. do a trivial crypto handshake for their first hop, since TLS has
  9296. already taken care of confidentiality and authentication.
  9297. - Add a new config option TestSocks so people can see if their
  9298. applications are using socks4, socks4a, socks5-with-ip, or
  9299. socks5-with-hostname. This way they don't have to keep mucking
  9300. with tcpdump and wondering if something got cached somewhere.
  9301. - Warn when listening on a public address for socks. I suspect a
  9302. lot of people are setting themselves up as open socks proxies,
  9303. and they have no idea that jerks on the Internet are using them,
  9304. since they simply proxy the traffic into the Tor network.
  9305. - Add "private:*" as an alias in configuration for policies. Now
  9306. you can simplify your exit policy rather than needing to list
  9307. every single internal or nonroutable network space.
  9308. - Add a new controller event type that allows controllers to get
  9309. all server descriptors that were uploaded to a router in its role
  9310. as authoritative dirserver.
  9311. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  9312. tor-doc-server.html, and stylesheet.css in the tarball.
  9313. - Stop shipping tor-doc.html in the tarball.
  9314. Changes in version 0.1.1.9-alpha - 2005-11-15
  9315. o Usability improvements:
  9316. - Start calling it FooListenAddress rather than FooBindAddress,
  9317. since few of our users know what it means to bind an address
  9318. or port.
  9319. - Reduce clutter in server logs. We're going to try to make
  9320. them actually usable now. New config option ProtocolWarnings that
  9321. lets you hear about how _other Tors_ are breaking the protocol. Off
  9322. by default.
  9323. - Divide log messages into logging domains. Once we put some sort
  9324. of interface on this, it will let people looking at more verbose
  9325. log levels specify the topics they want to hear more about.
  9326. - Make directory servers return better http 404 error messages
  9327. instead of a generic "Servers unavailable".
  9328. - Check for even more Windows version flags when writing the platform
  9329. string in server descriptors, and note any we don't recognize.
  9330. - Clean up more of the OpenSSL memory when exiting, so we can detect
  9331. memory leaks better.
  9332. - Make directory authorities be non-versioning, non-naming by
  9333. default. Now we can add new directory servers without requiring
  9334. their operators to pay close attention.
  9335. - When logging via syslog, include the pid whenever we provide
  9336. a log entry. Suggested by Todd Fries.
  9337. o Performance improvements:
  9338. - Directory servers now silently throw away new descriptors that
  9339. haven't changed much if the timestamps are similar. We do this to
  9340. tolerate older Tor servers that upload a new descriptor every 15
  9341. minutes. (It seemed like a good idea at the time.)
  9342. - Inline bottleneck smartlist functions; use fast versions by default.
  9343. - Add a "Map from digest to void*" abstraction digestmap_t so we
  9344. can do less hex encoding/decoding. Use it in router_get_by_digest()
  9345. to resolve a performance bottleneck.
  9346. - Allow tor_gzip_uncompress to extract as much as possible from
  9347. truncated compressed data. Try to extract as many
  9348. descriptors as possible from truncated http responses (when
  9349. DIR_PURPOSE_FETCH_ROUTERDESC).
  9350. - Make circ->onionskin a pointer, not a static array. moria2 was using
  9351. 125000 circuit_t's after it had been up for a few weeks, which
  9352. translates to 20+ megs of wasted space.
  9353. - The private half of our EDH handshake keys are now chosen out
  9354. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  9355. o Security improvements:
  9356. - Start making directory caches retain old routerinfos, so soon
  9357. clients can start asking by digest of descriptor rather than by
  9358. fingerprint of server.
  9359. - Add half our entropy from RAND_poll in OpenSSL. This knows how
  9360. to use egd (if present), openbsd weirdness (if present), vms/os2
  9361. weirdness (if we ever port there), and more in the future.
  9362. o Bugfixes on 0.1.0.x:
  9363. - Do round-robin writes of at most 16 kB per write. This might be
  9364. more fair on loaded Tor servers, and it might resolve our Windows
  9365. crash bug. It might also slow things down.
  9366. - Our TLS handshakes were generating a single public/private
  9367. keypair for the TLS context, rather than making a new one for
  9368. each new connections. Oops. (But we were still rotating them
  9369. periodically, so it's not so bad.)
  9370. - When we were cannibalizing a circuit with a particular exit
  9371. node in mind, we weren't checking to see if that exit node was
  9372. already present earlier in the circuit. Oops.
  9373. - When a Tor server's IP changes (e.g. from a dyndns address),
  9374. upload a new descriptor so clients will learn too.
  9375. - Really busy servers were keeping enough circuits open on stable
  9376. connections that they were wrapping around the circuit_id
  9377. space. (It's only two bytes.) This exposed a bug where we would
  9378. feel free to reuse a circuit_id even if it still exists but has
  9379. been marked for close. Try to fix this bug. Some bug remains.
  9380. - If we would close a stream early (e.g. it asks for a .exit that
  9381. we know would refuse it) but the LeaveStreamsUnattached config
  9382. option is set by the controller, then don't close it.
  9383. o Bugfixes on 0.1.1.8-alpha:
  9384. - Fix a big pile of memory leaks, some of them serious.
  9385. - Do not try to download a routerdesc if we would immediately reject
  9386. it as obsolete.
  9387. - Resume inserting a newline between all router descriptors when
  9388. generating (old style) signed directories, since our spec says
  9389. we do.
  9390. - When providing content-type application/octet-stream for
  9391. server descriptors using .z, we were leaving out the
  9392. content-encoding header. Oops. (Everything tolerated this just
  9393. fine, but that doesn't mean we need to be part of the problem.)
  9394. - Fix a potential seg fault in getconf and getinfo using version 1
  9395. of the controller protocol.
  9396. - Avoid crash: do not check whether DirPort is reachable when we
  9397. are suppressing it because of hibernation.
  9398. - Make --hash-password not crash on exit.
  9399. Changes in version 0.1.1.8-alpha - 2005-10-07
  9400. o New features (major):
  9401. - Clients don't download or use the directory anymore. Now they
  9402. download and use network-statuses from the trusted dirservers,
  9403. and fetch individual server descriptors as needed from mirrors.
  9404. See dir-spec.txt for all the gory details.
  9405. - Be more conservative about whether to advertise our DirPort.
  9406. The main change is to not advertise if we're running at capacity
  9407. and either a) we could hibernate or b) our capacity is low and
  9408. we're using a default DirPort.
  9409. - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
  9410. o New features (minor):
  9411. - Try to be smart about when to retry network-status and
  9412. server-descriptor fetches. Still needs some tuning.
  9413. - Stop parsing, storing, or using running-routers output (but
  9414. mirrors still cache and serve it).
  9415. - Consider a threshold of versioning dirservers (dirservers who have
  9416. an opinion about which Tor versions are still recommended) before
  9417. deciding whether to warn the user that he's obsolete.
  9418. - Dirservers can now reject/invalidate by key and IP, with the
  9419. config options "AuthDirInvalid" and "AuthDirReject". This is
  9420. useful since currently we automatically list servers as running
  9421. and usable even if we know they're jerks.
  9422. - Provide dire warnings to any users who set DirServer; move it out
  9423. of torrc.sample and into torrc.complete.
  9424. - Add MyFamily to torrc.sample in the server section.
  9425. - Add nicknames to the DirServer line, so we can refer to them
  9426. without requiring all our users to memorize their IP addresses.
  9427. - When we get an EOF or a timeout on a directory connection, note
  9428. how many bytes of serverdesc we are dropping. This will help
  9429. us determine whether it is smart to parse incomplete serverdesc
  9430. responses.
  9431. - Add a new function to "change pseudonyms" -- that is, to stop
  9432. using any currently-dirty circuits for new streams, so we don't
  9433. link new actions to old actions. Currently it's only called on
  9434. HUP (or SIGNAL RELOAD).
  9435. - On sighup, if UseHelperNodes changed to 1, use new circuits.
  9436. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  9437. OpenSSL. Also, reseed our entropy every hour, not just at
  9438. startup. And entropy in 512-bit chunks, not 160-bit chunks.
  9439. o Fixes on 0.1.1.7-alpha:
  9440. - Nobody ever implemented EVENT_ADDRMAP for control protocol
  9441. version 0, so don't let version 0 controllers ask for it.
  9442. - If you requested something with too many newlines via the
  9443. v1 controller protocol, you could crash tor.
  9444. - Fix a number of memory leaks, including some pretty serious ones.
  9445. - Re-enable DirPort testing again, so Tor servers will be willing
  9446. to advertise their DirPort if it's reachable.
  9447. - On TLS handshake, only check the other router's nickname against
  9448. its expected nickname if is_named is set.
  9449. o Fixes forward-ported from 0.1.0.15:
  9450. - Don't crash when we don't have any spare file descriptors and we
  9451. try to spawn a dns or cpu worker.
  9452. - Make the numbers in read-history and write-history into uint64s,
  9453. so they don't overflow and publish negatives in the descriptor.
  9454. o Fixes on 0.1.0.x:
  9455. - For the OS X package's modified privoxy config file, comment
  9456. out the "logfile" line so we don't log everything passed
  9457. through privoxy.
  9458. - We were whining about using socks4 or socks5-with-local-lookup
  9459. even when it's an IP in the "virtual" range we designed exactly
  9460. for this case.
  9461. - We were leaking some memory every time the client changes IPs.
  9462. - Never call free() on tor_malloc()d memory. This will help us
  9463. use dmalloc to detect memory leaks.
  9464. - Check for named servers when looking them up by nickname;
  9465. warn when we'recalling a non-named server by its nickname;
  9466. don't warn twice about the same name.
  9467. - Try to list MyFamily elements by key, not by nickname, and warn
  9468. if we've not heard of the server.
  9469. - Make windows platform detection (uname equivalent) smarter.
  9470. - It turns out sparc64 doesn't like unaligned access either.
  9471. Changes in version 0.1.0.15 - 2005-09-23
  9472. o Bugfixes on 0.1.0.x:
  9473. - Reject ports 465 and 587 (spam targets) in default exit policy.
  9474. - Don't crash when we don't have any spare file descriptors and we
  9475. try to spawn a dns or cpu worker.
  9476. - Get rid of IgnoreVersion undocumented config option, and make us
  9477. only warn, never exit, when we're running an obsolete version.
  9478. - Don't try to print a null string when your server finds itself to
  9479. be unreachable and the Address config option is empty.
  9480. - Make the numbers in read-history and write-history into uint64s,
  9481. so they don't overflow and publish negatives in the descriptor.
  9482. - Fix a minor memory leak in smartlist_string_remove().
  9483. - We were only allowing ourselves to upload a server descriptor at
  9484. most every 20 minutes, even if it changed earlier than that.
  9485. - Clean up log entries that pointed to old URLs.
  9486. Changes in version 0.1.1.7-alpha - 2005-09-14
  9487. o Fixes on 0.1.1.6-alpha:
  9488. - Exit servers were crashing when people asked them to make a
  9489. connection to an address not in their exit policy.
  9490. - Looking up a non-existent stream for a v1 control connection would
  9491. cause a segfault.
  9492. - Fix a seg fault if we ask a dirserver for a descriptor by
  9493. fingerprint but he doesn't know about him.
  9494. - SETCONF was appending items to linelists, not clearing them.
  9495. - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
  9496. out and refuse the setconf if it would fail.
  9497. - Downgrade the dirserver log messages when whining about
  9498. unreachability.
  9499. o New features:
  9500. - Add Peter Palfrader's check-tor script to tor/contrib/
  9501. It lets you easily check whether a given server (referenced by
  9502. nickname) is reachable by you.
  9503. - Numerous changes to move towards client-side v2 directories. Not
  9504. enabled yet.
  9505. o Fixes on 0.1.0.x:
  9506. - If the user gave tor an odd number of command-line arguments,
  9507. we were silently ignoring the last one. Now we complain and fail.
  9508. [This wins the oldest-bug prize -- this bug has been present since
  9509. November 2002, as released in Tor 0.0.0.]
  9510. - Do not use unaligned memory access on alpha, mips, or mipsel.
  9511. It *works*, but is very slow, so we treat them as if it doesn't.
  9512. - Retry directory requests if we fail to get an answer we like
  9513. from a given dirserver (we were retrying before, but only if
  9514. we fail to connect).
  9515. - When writing the RecommendedVersions line, sort them first.
  9516. - When the client asked for a rendezvous port that the hidden
  9517. service didn't want to provide, we were sending an IP address
  9518. back along with the end cell. Fortunately, it was zero. But stop
  9519. that anyway.
  9520. - Correct "your server is reachable" log entries to indicate that
  9521. it was self-testing that told us so.
  9522. Changes in version 0.1.1.6-alpha - 2005-09-09
  9523. o Fixes on 0.1.1.5-alpha:
  9524. - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
  9525. - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
  9526. - Fix bug with tor_memmem finding a match at the end of the string.
  9527. - Make unit tests run without segfaulting.
  9528. - Resolve some solaris x86 compile warnings.
  9529. - Handle duplicate lines in approved-routers files without warning.
  9530. - Fix bug where as soon as a server refused any requests due to his
  9531. exit policy (e.g. when we ask for localhost and he tells us that's
  9532. 127.0.0.1 and he won't do it), we decided he wasn't obeying his
  9533. exit policy using him for any exits.
  9534. - Only do openssl hardware accelerator stuff if openssl version is
  9535. at least 0.9.7.
  9536. o New controller features/fixes:
  9537. - Add a "RESETCONF" command so you can set config options like
  9538. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  9539. a config option in the torrc with no value, then it clears it
  9540. entirely (rather than setting it to its default).
  9541. - Add a "GETINFO config-file" to tell us where torrc is.
  9542. - Avoid sending blank lines when GETINFO replies should be empty.
  9543. - Add a QUIT command for the controller (for using it manually).
  9544. - Fix a bug in SAVECONF that was adding default dirservers and
  9545. other redundant entries to the torrc file.
  9546. o Start on the new directory design:
  9547. - Generate, publish, cache, serve new network-status format.
  9548. - Publish individual descriptors (by fingerprint, by "all", and by
  9549. "tell me yours").
  9550. - Publish client and server recommended versions separately.
  9551. - Allow tor_gzip_uncompress() to handle multiple concatenated
  9552. compressed strings. Serve compressed groups of router
  9553. descriptors. The compression logic here could be more
  9554. memory-efficient.
  9555. - Distinguish v1 authorities (all currently trusted directories)
  9556. from v2 authorities (all trusted directories).
  9557. - Change DirServers config line to note which dirs are v1 authorities.
  9558. - Add configuration option "V1AuthoritativeDirectory 1" which
  9559. moria1, moria2, and tor26 should set.
  9560. - Remove option when getting directory cache to see whether they
  9561. support running-routers; they all do now. Replace it with one
  9562. to see whether caches support v2 stuff.
  9563. o New features:
  9564. - Dirservers now do their own external reachability testing of each
  9565. Tor server, and only list them as running if they've been found to
  9566. be reachable. We also send back warnings to the server's logs if
  9567. it uploads a descriptor that we already believe is unreachable.
  9568. - Implement exit enclaves: if we know an IP address for the
  9569. destination, and there's a running Tor server at that address
  9570. which allows exit to the destination, then extend the circuit to
  9571. that exit first. This provides end-to-end encryption and end-to-end
  9572. authentication. Also, if the user wants a .exit address or enclave,
  9573. use 4 hops rather than 3, and cannibalize a general circ for it
  9574. if you can.
  9575. - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
  9576. controller. Also, rotate dns and cpu workers if the controller
  9577. changes options that will affect them; and initialize the dns
  9578. worker cache tree whether or not we start out as a server.
  9579. - Only upload a new server descriptor when options change, 18
  9580. hours have passed, uptime is reset, or bandwidth changes a lot.
  9581. - Check [X-]Forwarded-For headers in HTTP requests when generating
  9582. log messages. This lets people run dirservers (and caches) behind
  9583. Apache but still know which IP addresses are causing warnings.
  9584. o Config option changes:
  9585. - Replace (Fascist)Firewall* config options with a new
  9586. ReachableAddresses option that understands address policies.
  9587. For example, "ReachableAddresses *:80,*:443"
  9588. - Get rid of IgnoreVersion undocumented config option, and make us
  9589. only warn, never exit, when we're running an obsolete version.
  9590. - Make MonthlyAccountingStart config option truly obsolete now.
  9591. o Fixes on 0.1.0.x:
  9592. - Reject ports 465 and 587 in the default exit policy, since
  9593. people have started using them for spam too.
  9594. - It turns out we couldn't bootstrap a network since we added
  9595. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  9596. has never gone down. Add an AssumeReachable config option to let
  9597. servers and dirservers bootstrap. When we're trying to build a
  9598. high-uptime or high-bandwidth circuit but there aren't enough
  9599. suitable servers, try being less picky rather than simply failing.
  9600. - Our logic to decide if the OR we connected to was the right guy
  9601. was brittle and maybe open to a mitm for unverified routers.
  9602. - We weren't cannibalizing circuits correctly for
  9603. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  9604. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  9605. build those from scratch. This should make hidden services faster.
  9606. - Predict required circuits better, with an eye toward making hidden
  9607. services faster on the service end.
  9608. - Retry streams if the exit node sends back a 'misc' failure. This
  9609. should result in fewer random failures. Also, after failing
  9610. from resolve failed or misc, reset the num failures, so we give
  9611. it a fair shake next time we try.
  9612. - Clean up the rendezvous warn log msgs, and downgrade some to info.
  9613. - Reduce severity on logs about dns worker spawning and culling.
  9614. - When we're shutting down and we do something like try to post a
  9615. server descriptor or rendezvous descriptor, don't complain that
  9616. we seem to be unreachable. Of course we are, we're shutting down.
  9617. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  9618. We don't use them yet, but maybe one day our DNS resolver will be
  9619. able to discover them.
  9620. - Make ContactInfo mandatory for authoritative directory servers.
  9621. - Require server descriptors to list IPv4 addresses -- hostnames
  9622. are no longer allowed. This also fixes some potential security
  9623. problems with people providing hostnames as their address and then
  9624. preferentially resolving them to partition users.
  9625. - Change log line for unreachability to explicitly suggest /etc/hosts
  9626. as the culprit. Also make it clearer what IP address and ports we're
  9627. testing for reachability.
  9628. - Put quotes around user-supplied strings when logging so users are
  9629. more likely to realize if they add bad characters (like quotes)
  9630. to the torrc.
  9631. - Let auth dir servers start without specifying an Address config
  9632. option.
  9633. - Make unit tests (and other invocations that aren't the real Tor)
  9634. run without launching listeners, creating subdirectories, and so on.
  9635. Changes in version 0.1.1.5-alpha - 2005-08-08
  9636. o Bugfixes included in 0.1.0.14.
  9637. o Bugfixes on 0.1.0.x:
  9638. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  9639. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  9640. it would silently using ignore the 6668.
  9641. Changes in version 0.1.0.14 - 2005-08-08
  9642. o Bugfixes on 0.1.0.x:
  9643. - Fix the other half of the bug with crypto handshakes
  9644. (CVE-2005-2643).
  9645. - Fix an assert trigger if you send a 'signal term' via the
  9646. controller when it's listening for 'event info' messages.
  9647. Changes in version 0.1.1.4-alpha - 2005-08-04
  9648. o Bugfixes included in 0.1.0.13.
  9649. o Features:
  9650. - Improve tor_gettimeofday() granularity on windows.
  9651. - Make clients regenerate their keys when their IP address changes.
  9652. - Implement some more GETINFO goodness: expose helper nodes, config
  9653. options, getinfo keys.
  9654. Changes in version 0.1.0.13 - 2005-08-04
  9655. o Bugfixes on 0.1.0.x:
  9656. - Fix a critical bug in the security of our crypto handshakes.
  9657. - Fix a size_t underflow in smartlist_join_strings2() that made
  9658. it do bad things when you hand it an empty smartlist.
  9659. - Fix Windows installer to ship Tor license (thanks to Aphex for
  9660. pointing out this oversight) and put a link to the doc directory
  9661. in the start menu.
  9662. - Explicitly set no-unaligned-access for sparc: it turns out the
  9663. new gcc's let you compile broken code, but that doesn't make it
  9664. not-broken.
  9665. Changes in version 0.1.1.3-alpha - 2005-07-23
  9666. o Bugfixes on 0.1.1.2-alpha:
  9667. - Fix a bug in handling the controller's "post descriptor"
  9668. function.
  9669. - Fix several bugs in handling the controller's "extend circuit"
  9670. function.
  9671. - Fix a bug in handling the controller's "stream status" event.
  9672. - Fix an assert failure if we have a controller listening for
  9673. circuit events and we go offline.
  9674. - Re-allow hidden service descriptors to publish 0 intro points.
  9675. - Fix a crash when generating your hidden service descriptor if
  9676. you don't have enough intro points already.
  9677. o New features on 0.1.1.2-alpha:
  9678. - New controller function "getinfo accounting", to ask how
  9679. many bytes we've used in this time period.
  9680. - Experimental support for helper nodes: a lot of the risk from
  9681. a small static adversary comes because users pick new random
  9682. nodes every time they rebuild a circuit. Now users will try to
  9683. stick to the same small set of entry nodes if they can. Not
  9684. enabled by default yet.
  9685. o Bugfixes on 0.1.0.12:
  9686. - If you're an auth dir server, always publish your dirport,
  9687. even if you haven't yet found yourself to be reachable.
  9688. - Fix a size_t underflow in smartlist_join_strings2() that made
  9689. it do bad things when you hand it an empty smartlist.
  9690. Changes in version 0.1.0.12 - 2005-07-18
  9691. o New directory servers:
  9692. - tor26 has changed IP address.
  9693. o Bugfixes on 0.1.0.x:
  9694. - Fix a possible double-free in tor_gzip_uncompress().
  9695. - When --disable-threads is set, do not search for or link against
  9696. pthreads libraries.
  9697. - Don't trigger an assert if an authoritative directory server
  9698. claims its dirport is 0.
  9699. - Fix bug with removing Tor as an NT service: some people were
  9700. getting "The service did not return an error." Thanks to Matt
  9701. Edman for the fix.
  9702. Changes in version 0.1.1.2-alpha - 2005-07-15
  9703. o New directory servers:
  9704. - tor26 has changed IP address.
  9705. o Bugfixes on 0.1.0.x, crashes/leaks:
  9706. - Port the servers-not-obeying-their-exit-policies fix from
  9707. 0.1.0.11.
  9708. - Fix an fd leak in start_daemon().
  9709. - On Windows, you can't always reopen a port right after you've
  9710. closed it. So change retry_listeners() to only close and re-open
  9711. ports that have changed.
  9712. - Fix a possible double-free in tor_gzip_uncompress().
  9713. o Bugfixes on 0.1.0.x, usability:
  9714. - When tor_socketpair() fails in Windows, give a reasonable
  9715. Windows-style errno back.
  9716. - Let people type "tor --install" as well as "tor -install" when
  9717. they
  9718. want to make it an NT service.
  9719. - NT service patch from Matt Edman to improve error messages.
  9720. - When the controller asks for a config option with an abbreviated
  9721. name, give the full name in our response.
  9722. - Correct the man page entry on TrackHostExitsExpire.
  9723. - Looks like we were never delivering deflated (i.e. compressed)
  9724. running-routers lists, even when asked. Oops.
  9725. - When --disable-threads is set, do not search for or link against
  9726. pthreads libraries.
  9727. o Bugfixes on 0.1.1.x:
  9728. - Fix a seg fault with autodetecting which controller version is
  9729. being used.
  9730. o Features:
  9731. - New hidden service descriptor format: put a version in it, and
  9732. let people specify introduction/rendezvous points that aren't
  9733. in "the directory" (which is subjective anyway).
  9734. - Allow the DEBUG controller event to work again. Mark certain log
  9735. entries as "don't tell this to controllers", so we avoid cycles.
  9736. Changes in version 0.1.0.11 - 2005-06-30
  9737. o Bugfixes on 0.1.0.x:
  9738. - Fix major security bug: servers were disregarding their
  9739. exit policies if clients behaved unexpectedly.
  9740. - Make OS X init script check for missing argument, so we don't
  9741. confuse users who invoke it incorrectly.
  9742. - Fix a seg fault in "tor --hash-password foo".
  9743. - The MAPADDRESS control command was broken.
  9744. Changes in version 0.1.1.1-alpha - 2005-06-29
  9745. o Bugfixes:
  9746. - Make OS X init script check for missing argument, so we don't
  9747. confuse users who invoke it incorrectly.
  9748. - Fix a seg fault in "tor --hash-password foo".
  9749. - Fix a possible way to DoS dirservers.
  9750. - When we complain that your exit policy implicitly allows local or
  9751. private address spaces, name them explicitly so operators can
  9752. fix it.
  9753. - Make the log message less scary when all the dirservers are
  9754. temporarily unreachable.
  9755. - We were printing the number of idle dns workers incorrectly when
  9756. culling them.
  9757. o Features:
  9758. - Revised controller protocol (version 1) that uses ascii rather
  9759. than binary. Add supporting libraries in python and java so you
  9760. can use the controller from your applications without caring how
  9761. our protocol works.
  9762. - Spiffy new support for crypto hardware accelerators. Can somebody
  9763. test this?
  9764. Changes in version 0.0.9.10 - 2005-06-16
  9765. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  9766. - Refuse relay cells that claim to have a length larger than the
  9767. maximum allowed. This prevents a potential attack that could read
  9768. arbitrary memory (e.g. keys) from an exit server's process
  9769. (CVE-2005-2050).
  9770. Changes in version 0.1.0.10 - 2005-06-14
  9771. o Allow a few EINVALs from libevent before dying. Warn on kqueue with
  9772. libevent before 1.1a.
  9773. Changes in version 0.1.0.9-rc - 2005-06-09
  9774. o Bugfixes:
  9775. - Reset buf->highwater every time buf_shrink() is called, not just on
  9776. a successful shrink. This was causing significant memory bloat.
  9777. - Fix buffer overflow when checking hashed passwords.
  9778. - Security fix: if seeding the RNG on Win32 fails, quit.
  9779. - Allow seeding the RNG on Win32 even when you're not running as
  9780. Administrator.
  9781. - Disable threading on Solaris too. Something is wonky with it,
  9782. cpuworkers, and reentrant libs.
  9783. - Reenable the part of the code that tries to flush as soon as an
  9784. OR outbuf has a full TLS record available. Perhaps this will make
  9785. OR outbufs not grow as huge except in rare cases, thus saving lots
  9786. of CPU time plus memory.
  9787. - Reject malformed .onion addresses rather then passing them on as
  9788. normal web requests.
  9789. - Adapt patch from Adam Langley: fix possible memory leak in
  9790. tor_lookup_hostname().
  9791. - Initialize libevent later in the startup process, so the logs are
  9792. already established by the time we start logging libevent warns.
  9793. - Use correct errno on win32 if libevent fails.
  9794. - Check and warn about known-bad/slow libevent versions.
  9795. - Pay more attention to the ClientOnly config option.
  9796. - Have torctl.in/tor.sh.in check for location of su binary (needed
  9797. on FreeBSD)
  9798. - Correct/add man page entries for LongLivedPorts, ExitPolicy,
  9799. KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
  9800. HttpProxyAuthenticator
  9801. - Stop warning about sigpipes in the logs. We're going to
  9802. pretend that getting these occassionally is normal and fine.
  9803. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
  9804. certain
  9805. installer screens; and don't put stuff into StartupItems unless
  9806. the user asks you to.
  9807. - Require servers that use the default dirservers to have public IP
  9808. addresses. We have too many servers that are configured with private
  9809. IPs and their admins never notice the log entries complaining that
  9810. their descriptors are being rejected.
  9811. - Add OSX uninstall instructions. An actual uninstall script will
  9812. come later.
  9813. Changes in version 0.1.0.8-rc - 2005-05-23
  9814. o Bugfixes:
  9815. - It turns out that kqueue on OS X 10.3.9 was causing kernel
  9816. panics. Disable kqueue on all OS X Tors.
  9817. - Fix RPM: remove duplicate line accidentally added to the rpm
  9818. spec file.
  9819. - Disable threads on openbsd too, since its gethostaddr is not
  9820. reentrant either.
  9821. - Tolerate libevent 0.8 since it still works, even though it's
  9822. ancient.
  9823. - Enable building on Red Hat 9.0 again.
  9824. - Allow the middle hop of the testing circuit to be running any
  9825. version, now that most of them have the bugfix to let them connect
  9826. to unknown servers. This will allow reachability testing to work
  9827. even when 0.0.9.7-0.0.9.9 become obsolete.
  9828. - Handle relay cells with rh.length too large. This prevents
  9829. a potential attack that could read arbitrary memory (maybe even
  9830. keys) from the exit server's process.
  9831. - We screwed up the dirport reachability testing when we don't yet
  9832. have a cached version of the directory. Hopefully now fixed.
  9833. - Clean up router_load_single_router() (used by the controller),
  9834. so it doesn't seg fault on error.
  9835. - Fix a minor memory leak when somebody establishes an introduction
  9836. point at your Tor server.
  9837. - If a socks connection ends because read fails, don't warn that
  9838. you're not sending a socks reply back.
  9839. o Features:
  9840. - Add HttpProxyAuthenticator config option too, that works like
  9841. the HttpsProxyAuthenticator config option.
  9842. - Encode hashed controller passwords in hex instead of base64,
  9843. to make it easier to write controllers.
  9844. Changes in version 0.1.0.7-rc - 2005-05-17
  9845. o Bugfixes:
  9846. - Fix a bug in the OS X package installer that prevented it from
  9847. installing on Tiger.
  9848. - Fix a script bug in the OS X package installer that made it
  9849. complain during installation.
  9850. - Find libevent even if it's hiding in /usr/local/ and your
  9851. CFLAGS and LDFLAGS don't tell you to look there.
  9852. - Be able to link with libevent as a shared library (the default
  9853. after 1.0d), even if it's hiding in /usr/local/lib and even
  9854. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  9855. assuming you're running gcc. Otherwise fail and give a useful
  9856. error message.
  9857. - Fix a bug in the RPM packager: set home directory for _tor to
  9858. something more reasonable when first installing.
  9859. - Free a minor amount of memory that is still reachable on exit.
  9860. Changes in version 0.1.0.6-rc - 2005-05-14
  9861. o Bugfixes:
  9862. - Implement --disable-threads configure option. Disable threads on
  9863. netbsd by default, because it appears to have no reentrant resolver
  9864. functions.
  9865. - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
  9866. release (1.1) detects and disables kqueue if it's broken.
  9867. - Append default exit policy before checking for implicit internal
  9868. addresses. Now we don't log a bunch of complaints on startup
  9869. when using the default exit policy.
  9870. - Some people were putting "Address " in their torrc, and they had
  9871. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  9872. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  9873. LOCALSTATEDIR/tor instead.
  9874. - Fix fragmented-message bug in TorControl.py.
  9875. - Resolve a minor bug which would prevent unreachable dirports
  9876. from getting suppressed in the published descriptor.
  9877. - When the controller gave us a new descriptor, we weren't resolving
  9878. it immediately, so Tor would think its address was 0.0.0.0 until
  9879. we fetched a new directory.
  9880. - Fix an uppercase/lowercase case error in suppressing a bogus
  9881. libevent warning on some Linuxes.
  9882. o Features:
  9883. - Begin scrubbing sensitive strings from logs by default. Turn off
  9884. the config option SafeLogging if you need to do debugging.
  9885. - Switch to a new buffer management algorithm, which tries to avoid
  9886. reallocing and copying quite as much. In first tests it looks like
  9887. it uses *more* memory on average, but less cpu.
  9888. - First cut at support for "create-fast" cells. Clients can use
  9889. these when extending to their first hop, since the TLS already
  9890. provides forward secrecy and authentication. Not enabled on
  9891. clients yet.
  9892. - When dirservers refuse a router descriptor, we now log its
  9893. contactinfo, platform, and the poster's IP address.
  9894. - Call tor_free_all instead of connections_free_all after forking, to
  9895. save memory on systems that need to fork.
  9896. - Whine at you if you're a server and you don't set your contactinfo.
  9897. - Implement --verify-config command-line option to check if your torrc
  9898. is valid without actually launching Tor.
  9899. - Rewrite address "serifos.exit" to "localhost.serifos.exit"
  9900. rather than just rejecting it.
  9901. Changes in version 0.1.0.5-rc - 2005-04-27
  9902. o Bugfixes:
  9903. - Stop trying to print a null pointer if an OR conn fails because
  9904. we didn't like its cert.
  9905. o Features:
  9906. - Switch our internal buffers implementation to use a ring buffer,
  9907. to hopefully improve performance for fast servers a lot.
  9908. - Add HttpsProxyAuthenticator support (basic auth only), based
  9909. on patch from Adam Langley.
  9910. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  9911. the fast servers that have been joining lately.
  9912. - Give hidden service accesses extra time on the first attempt,
  9913. since 60 seconds is often only barely enough. This might improve
  9914. robustness more.
  9915. - Improve performance for dirservers: stop re-parsing the whole
  9916. directory every time you regenerate it.
  9917. - Add more debugging info to help us find the weird dns freebsd
  9918. pthreads bug; cleaner debug messages to help track future issues.
  9919. Changes in version 0.0.9.9 - 2005-04-23
  9920. o Bugfixes on 0.0.9.x:
  9921. - If unofficial Tor clients connect and send weird TLS certs, our
  9922. Tor server triggers an assert. This release contains a minimal
  9923. backport from the broader fix that we put into 0.1.0.4-rc.
  9924. Changes in version 0.1.0.4-rc - 2005-04-23
  9925. o Bugfixes:
  9926. - If unofficial Tor clients connect and send weird TLS certs, our
  9927. Tor server triggers an assert. Stop asserting, and start handling
  9928. TLS errors better in other situations too.
  9929. - When the controller asks us to tell it about all the debug-level
  9930. logs, it turns out we were generating debug-level logs while
  9931. telling it about them, which turns into a bad loop. Now keep
  9932. track of whether you're sending a debug log to the controller,
  9933. and don't log when you are.
  9934. - Fix the "postdescriptor" feature of the controller interface: on
  9935. non-complete success, only say "done" once.
  9936. o Features:
  9937. - Clients are now willing to load balance over up to 2mB, not 1mB,
  9938. of advertised bandwidth capacity.
  9939. - Add a NoPublish config option, so you can be a server (e.g. for
  9940. testing running Tor servers in other Tor networks) without
  9941. publishing your descriptor to the primary dirservers.
  9942. Changes in version 0.1.0.3-rc - 2005-04-08
  9943. o Improvements on 0.1.0.2-rc:
  9944. - Client now retries when streams end early for 'hibernating' or
  9945. 'resource limit' reasons, rather than failing them.
  9946. - More automated handling for dirserver operators:
  9947. - Automatically approve nodes running 0.1.0.2-rc or later,
  9948. now that the the reachability detection stuff is working.
  9949. - Now we allow two unverified servers with the same nickname
  9950. but different keys. But if a nickname is verified, only that
  9951. nickname+key are allowed.
  9952. - If you're an authdirserver connecting to an address:port,
  9953. and it's not the OR you were expecting, forget about that
  9954. descriptor. If he *was* the one you were expecting, then forget
  9955. about all other descriptors for that address:port.
  9956. - Allow servers to publish descriptors from 12 hours in the future.
  9957. Corollary: only whine about clock skew from the dirserver if
  9958. he's a trusted dirserver (since now even verified servers could
  9959. have quite wrong clocks).
  9960. - Adjust maximum skew and age for rendezvous descriptors: let skew
  9961. be 48 hours rather than 90 minutes.
  9962. - Efficiency improvements:
  9963. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  9964. it much faster to look up a circuit for each relay cell.
  9965. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  9966. since they're eating our cpu on exit nodes.
  9967. - Stop wasting time doing a case insensitive comparison for every
  9968. dns name every time we do any lookup. Canonicalize the names to
  9969. lowercase and be done with it.
  9970. - Start sending 'truncated' cells back rather than destroy cells,
  9971. if the circuit closes in front of you. This means we won't have
  9972. to abandon partially built circuits.
  9973. - Only warn once per nickname from add_nickname_list_to_smartlist
  9974. per failure, so an entrynode or exitnode choice that's down won't
  9975. yell so much.
  9976. - Put a note in the torrc about abuse potential with the default
  9977. exit policy.
  9978. - Revise control spec and implementation to allow all log messages to
  9979. be sent to controller with their severities intact (suggested by
  9980. Matt Edman). Update TorControl to handle new log event types.
  9981. - Provide better explanation messages when controller's POSTDESCRIPTOR
  9982. fails.
  9983. - Stop putting nodename in the Platform string in server descriptors.
  9984. It doesn't actually help, and it is confusing/upsetting some people.
  9985. o Bugfixes on 0.1.0.2-rc:
  9986. - We were printing the host mask wrong in exit policies in server
  9987. descriptors. This isn't a critical bug though, since we were still
  9988. obeying the exit policy internally.
  9989. - Fix Tor when compiled with libevent but without pthreads: move
  9990. connection_unregister() from _connection_free() to
  9991. connection_free().
  9992. - Fix an assert trigger (already fixed in 0.0.9.x): when we have
  9993. the rare mysterious case of accepting a conn on 0.0.0.0:0, then
  9994. when we look through the connection array, we'll find any of the
  9995. cpu/dnsworkers. This is no good.
  9996. o Bugfixes on 0.0.9.8:
  9997. - Fix possible bug on threading platforms (e.g. win32) which was
  9998. leaking a file descriptor whenever a cpuworker or dnsworker died.
  9999. - When using preferred entry or exit nodes, ignore whether the
  10000. circuit wants uptime or capacity. They asked for the nodes, they
  10001. get the nodes.
  10002. - chdir() to your datadirectory at the *end* of the daemonize process,
  10003. not the beginning. This was a problem because the first time you
  10004. run tor, if your datadir isn't there, and you have runasdaemon set
  10005. to 1, it will try to chdir to it before it tries to create it. Oops.
  10006. - Handle changed router status correctly when dirserver reloads
  10007. fingerprint file. We used to be dropping all unverified descriptors
  10008. right then. The bug was hidden because we would immediately
  10009. fetch a directory from another dirserver, which would include the
  10010. descriptors we just dropped.
  10011. - When we're connecting to an OR and he's got a different nickname/key
  10012. than we were expecting, only complain loudly if we're an OP or a
  10013. dirserver. Complaining loudly to the OR admins just confuses them.
  10014. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  10015. artificially capped at 500kB.
  10016. Changes in version 0.0.9.8 - 2005-04-07
  10017. o Bugfixes on 0.0.9.x:
  10018. - We have a bug that I haven't found yet. Sometimes, very rarely,
  10019. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  10020. thinks of itself as idle. This meant that no new circuits ever got
  10021. established. Here's a workaround to kill any cpuworker that's been
  10022. busy for more than 100 seconds.
  10023. Changes in version 0.1.0.2-rc - 2005-04-01
  10024. o Bugfixes on 0.1.0.1-rc:
  10025. - Fixes on reachability detection:
  10026. - Don't check for reachability while hibernating.
  10027. - If ORPort is reachable but DirPort isn't, still publish the
  10028. descriptor, but zero out DirPort until it's found reachable.
  10029. - When building testing circs for ORPort testing, use only
  10030. high-bandwidth nodes, so fewer circuits fail.
  10031. - Complain about unreachable ORPort separately from unreachable
  10032. DirPort, so the user knows what's going on.
  10033. - Make sure we only conclude ORPort reachability if we didn't
  10034. initiate the conn. Otherwise we could falsely conclude that
  10035. we're reachable just because we connected to the guy earlier
  10036. and he used that same pipe to extend to us.
  10037. - Authdirservers shouldn't do ORPort reachability detection,
  10038. since they're in clique mode, so it will be rare to find a
  10039. server not already connected to them.
  10040. - When building testing circuits, always pick middle hops running
  10041. Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
  10042. bug. (This is a kludge; it will go away when 0.0.9.x becomes
  10043. obsolete.)
  10044. - When we decide we're reachable, actually publish our descriptor
  10045. right then.
  10046. - Fix bug in redirectstream in the controller.
  10047. - Fix the state descriptor strings so logs don't claim edge streams
  10048. are in a different state than they actually are.
  10049. - Use recent libevent features when possible (this only really affects
  10050. win32 and osx right now, because the new libevent with these
  10051. features hasn't been released yet). Add code to suppress spurious
  10052. libevent log msgs.
  10053. - Prevent possible segfault in connection_close_unattached_ap().
  10054. - Fix newlines on torrc in win32.
  10055. - Improve error msgs when tor-resolve fails.
  10056. o Improvements on 0.0.9.x:
  10057. - New experimental script tor/contrib/ExerciseServer.py (needs more
  10058. work) that uses the controller interface to build circuits and
  10059. fetch pages over them. This will help us bootstrap servers that
  10060. have lots of capacity but haven't noticed it yet.
  10061. - New experimental script tor/contrib/PathDemo.py (needs more work)
  10062. that uses the controller interface to let you choose whole paths
  10063. via addresses like
  10064. "<hostname>.<path,separated by dots>.<length of path>.path"
  10065. - When we've connected to an OR and handshaked but didn't like
  10066. the result, we were closing the conn without sending destroy
  10067. cells back for pending circuits. Now send those destroys.
  10068. Changes in version 0.0.9.7 - 2005-04-01
  10069. o Bugfixes on 0.0.9.x:
  10070. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  10071. - Compare identity to identity, not to nickname, when extending to
  10072. a router not already in the directory. This was preventing us from
  10073. extending to unknown routers. Oops.
  10074. - Make sure to create OS X Tor user in <500 range, so we aren't
  10075. creating actual system users.
  10076. - Note where connection-that-hasn't-sent-end was marked, and fix
  10077. a few really loud instances of this harmless bug (it's fixed more
  10078. in 0.1.0.x).
  10079. Changes in version 0.1.0.1-rc - 2005-03-28
  10080. o New features:
  10081. - Add reachability testing. Your Tor server will automatically try
  10082. to see if its ORPort and DirPort are reachable from the outside,
  10083. and it won't upload its descriptor until it decides they are.
  10084. - Handle unavailable hidden services better. Handle slow or busy
  10085. hidden services better.
  10086. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  10087. config option.
  10088. - New exit policy: accept most low-numbered ports, rather than
  10089. rejecting most low-numbered ports.
  10090. - More Tor controller support (still experimental). See
  10091. http://tor.eff.org/doc/control-spec.txt for all the new features,
  10092. including signals to emulate unix signals from any platform;
  10093. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  10094. closestream; closecircuit; etc.
  10095. - Make nt services work and start on startup on win32 (based on
  10096. patch by Matt Edman).
  10097. - Add a new AddressMap config directive to rewrite incoming socks
  10098. addresses. This lets you, for example, declare an implicit
  10099. required exit node for certain sites.
  10100. - Add a new TrackHostExits config directive to trigger addressmaps
  10101. for certain incoming socks addresses -- for sites that break when
  10102. your exit keeps changing (based on patch by Mike Perry).
  10103. - Redo the client-side dns cache so it's just an addressmap too.
  10104. - Notice when our IP changes, and reset stats/uptime/reachability.
  10105. - When an application is using socks5, give him the whole variety of
  10106. potential socks5 responses (connect refused, host unreachable, etc),
  10107. rather than just "success" or "failure".
  10108. - A more sane version numbering system. See
  10109. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  10110. - New contributed script "exitlist": a simple python script to
  10111. parse directories and find Tor nodes that exit to listed
  10112. addresses/ports.
  10113. - New contributed script "privoxy-tor-toggle" to toggle whether
  10114. Privoxy uses Tor. Seems to be configured for Debian by default.
  10115. - Report HTTP reasons to client when getting a response from directory
  10116. servers -- so you can actually know what went wrong.
  10117. - New config option MaxAdvertisedBandwidth which lets you advertise
  10118. a low bandwidthrate (to not attract as many circuits) while still
  10119. allowing a higher bandwidthrate in reality.
  10120. o Robustness/stability fixes:
  10121. - Make Tor use Niels Provos's libevent instead of its current
  10122. poll-but-sometimes-select mess. This will let us use faster async
  10123. cores (like epoll, kpoll, and /dev/poll), and hopefully work better
  10124. on Windows too.
  10125. - pthread support now too. This was forced because when we forked,
  10126. we ended up wasting a lot of duplicate ram over time. Also switch
  10127. to foo_r versions of some library calls to allow reentry and
  10128. threadsafeness.
  10129. - Better handling for heterogeneous / unreliable nodes:
  10130. - Annotate circuits w/ whether they aim to contain high uptime nodes
  10131. and/or high capacity nodes. When building circuits, choose
  10132. appropriate nodes.
  10133. - This means that every single node in an intro rend circuit,
  10134. not just the last one, will have a minimum uptime.
  10135. - New config option LongLivedPorts to indicate application streams
  10136. that will want high uptime circuits.
  10137. - Servers reset uptime when a dir fetch entirely fails. This
  10138. hopefully reflects stability of the server's network connectivity.
  10139. - If somebody starts his tor server in Jan 2004 and then fixes his
  10140. clock, don't make his published uptime be a year.
  10141. - Reset published uptime when you wake up from hibernation.
  10142. - Introduce a notion of 'internal' circs, which are chosen without
  10143. regard to the exit policy of the last hop. Intro and rendezvous
  10144. circs must be internal circs, to avoid leaking information. Resolve
  10145. and connect streams can use internal circs if they want.
  10146. - New circuit pooling algorithm: make sure to have enough circs around
  10147. to satisfy any predicted ports, and also make sure to have 2 internal
  10148. circs around if we've required internal circs lately (and with high
  10149. uptime if we've seen that lately too).
  10150. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  10151. which describes how often we retry making new circuits if current
  10152. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  10153. how long we're willing to make use of an already-dirty circuit.
  10154. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  10155. circ as necessary, if there are any completed ones lying around
  10156. when we try to launch one.
  10157. - Make hidden services try to establish a rendezvous for 30 seconds,
  10158. rather than for n (where n=3) attempts to build a circuit.
  10159. - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
  10160. "ShutdownWaitLength".
  10161. - Try to be more zealous about calling connection_edge_end when
  10162. things go bad with edge conns in connection.c.
  10163. - Revise tor-spec to add more/better stream end reasons.
  10164. - Revise all calls to connection_edge_end to avoid sending "misc",
  10165. and to take errno into account where possible.
  10166. o Bug fixes:
  10167. - Fix a race condition that can trigger an assert, when we have a
  10168. pending create cell and an OR connection fails right then.
  10169. - Fix several double-mark-for-close bugs, e.g. where we were finding
  10170. a conn for a cell even if that conn is already marked for close.
  10171. - Make sequence of log messages when starting on win32 with no config
  10172. file more reasonable.
  10173. - When choosing an exit node for a new non-internal circ, don't take
  10174. into account whether it'll be useful for any pending x.onion
  10175. addresses -- it won't.
  10176. - Turn addr_policy_compare from a tristate to a quadstate; this should
  10177. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  10178. for google.com" problem.
  10179. - Make "platform" string in descriptor more accurate for Win32 servers,
  10180. so it's not just "unknown platform".
  10181. - Fix an edge case in parsing config options (thanks weasel).
  10182. If they say "--" on the commandline, it's not an option.
  10183. - Reject odd-looking addresses at the client (e.g. addresses that
  10184. contain a colon), rather than having the server drop them because
  10185. they're malformed.
  10186. - tor-resolve requests were ignoring .exit if there was a working circuit
  10187. they could use instead.
  10188. - REUSEADDR on normal platforms means you can rebind to the port
  10189. right after somebody else has let it go. But REUSEADDR on win32
  10190. means to let you bind to the port _even when somebody else
  10191. already has it bound_! So, don't do that on Win32.
  10192. - Change version parsing logic: a version is "obsolete" if it is not
  10193. recommended and (1) there is a newer recommended version in the
  10194. same series, or (2) there are no recommended versions in the same
  10195. series, but there are some recommended versions in a newer series.
  10196. A version is "new" if it is newer than any recommended version in
  10197. the same series.
  10198. - Stop most cases of hanging up on a socks connection without sending
  10199. the socks reject.
  10200. o Helpful fixes:
  10201. - Require BandwidthRate to be at least 20kB/s for servers.
  10202. - When a dirserver causes you to give a warn, mention which dirserver
  10203. it was.
  10204. - New config option DirAllowPrivateAddresses for authdirservers.
  10205. Now by default they refuse router descriptors that have non-IP or
  10206. private-IP addresses.
  10207. - Stop publishing socksport in the directory, since it's not
  10208. actually meant to be public. For compatibility, publish a 0 there
  10209. for now.
  10210. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  10211. smart" value, that is low for servers and high for clients.
  10212. - If our clock jumps forward by 100 seconds or more, assume something
  10213. has gone wrong with our network and abandon all not-yet-used circs.
  10214. - Warn when exit policy implicitly allows local addresses.
  10215. - If we get an incredibly skewed timestamp from a dirserver mirror
  10216. that isn't a verified OR, don't warn -- it's probably him that's
  10217. wrong.
  10218. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  10219. cookies to disk and doesn't log each web request to disk. (Thanks
  10220. to Brett Carrington for pointing this out.)
  10221. - When a client asks us for a dir mirror and we don't have one,
  10222. launch an attempt to get a fresh one.
  10223. - If we're hibernating and we get a SIGINT, exit immediately.
  10224. - Add --with-dmalloc ./configure option, to track memory leaks.
  10225. - And try to free all memory on closing, so we can detect what
  10226. we're leaking.
  10227. - Cache local dns resolves correctly even when they're .exit
  10228. addresses.
  10229. - Give a better warning when some other server advertises an
  10230. ORPort that is actually an apache running ssl.
  10231. - Add "opt hibernating 1" to server descriptor to make it clearer
  10232. whether the server is hibernating.
  10233. Changes in version 0.0.9.6 - 2005-03-24
  10234. o Bugfixes on 0.0.9.x (crashes and asserts):
  10235. - Add new end stream reasons to maintainance branch. Fix bug where
  10236. reason (8) could trigger an assert. Prevent bug from recurring.
  10237. - Apparently win32 stat wants paths to not end with a slash.
  10238. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  10239. blowing away the circuit that conn->cpath_layer points to, then
  10240. checking to see if the circ is well-formed. Backport check to make
  10241. sure we dont use the cpath on a closed connection.
  10242. - Prevent circuit_resume_edge_reading_helper() from trying to package
  10243. inbufs for marked-for-close streams.
  10244. - Don't crash on hup if your options->address has become unresolvable.
  10245. - Some systems (like OS X) sometimes accept() a connection and tell
  10246. you the remote host is 0.0.0.0:0. If this happens, due to some
  10247. other mis-features, we get confused; so refuse the conn for now.
  10248. o Bugfixes on 0.0.9.x (other):
  10249. - Fix harmless but scary "Unrecognized content encoding" warn message.
  10250. - Add new stream error reason: TORPROTOCOL reason means "you are not
  10251. speaking a version of Tor I understand; say bye-bye to your stream."
  10252. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  10253. into the future, now that we are more tolerant of skew. This
  10254. resolves a bug where a Tor server would refuse to cache a directory
  10255. because all the directories it gets are too far in the future;
  10256. yet the Tor server never logs any complaints about clock skew.
  10257. - Mac packaging magic: make man pages useable, and do not overwrite
  10258. existing torrc files.
  10259. - Make OS X log happily to /var/log/tor/tor.log
  10260. Changes in version 0.0.9.5 - 2005-02-22
  10261. o Bugfixes on 0.0.9.x:
  10262. - Fix an assert race at exit nodes when resolve requests fail.
  10263. - Stop picking unverified dir mirrors--it only leads to misery.
  10264. - Patch from Matt Edman to make NT services work better. Service
  10265. support is still not compiled into the executable by default.
  10266. - Patch from Dmitri Bely so the Tor service runs better under
  10267. the win32 SYSTEM account.
  10268. - Make tor-resolve actually work (?) on Win32.
  10269. - Fix a sign bug when getrlimit claims to have 4+ billion
  10270. file descriptors available.
  10271. - Stop refusing to start when bandwidthburst == bandwidthrate.
  10272. - When create cells have been on the onion queue more than five
  10273. seconds, just send back a destroy and take them off the list.
  10274. Changes in version 0.0.9.4 - 2005-02-03
  10275. o Bugfixes on 0.0.9:
  10276. - Fix an assert bug that took down most of our servers: when
  10277. a server claims to have 1 GB of bandwidthburst, don't
  10278. freak out.
  10279. - Don't crash as badly if we have spawned the max allowed number
  10280. of dnsworkers, or we're out of file descriptors.
  10281. - Block more file-sharing ports in the default exit policy.
  10282. - MaxConn is now automatically set to the hard limit of max
  10283. file descriptors we're allowed (ulimit -n), minus a few for
  10284. logs, etc.
  10285. - Give a clearer message when servers need to raise their
  10286. ulimit -n when they start running out of file descriptors.
  10287. - SGI Compatibility patches from Jan Schaumann.
  10288. - Tolerate a corrupt cached directory better.
  10289. - When a dirserver hasn't approved your server, list which one.
  10290. - Go into soft hibernation after 95% of the bandwidth is used,
  10291. not 99%. This is especially important for daily hibernators who
  10292. have a small accounting max. Hopefully it will result in fewer
  10293. cut connections when the hard hibernation starts.
  10294. - Load-balance better when using servers that claim more than
  10295. 800kB/s of capacity.
  10296. - Make NT services work (experimental, only used if compiled in).
  10297. Changes in version 0.0.9.3 - 2005-01-21
  10298. o Bugfixes on 0.0.9:
  10299. - Backport the cpu use fixes from main branch, so busy servers won't
  10300. need as much processor time.
  10301. - Work better when we go offline and then come back, or when we
  10302. run Tor at boot before the network is up. We do this by
  10303. optimistically trying to fetch a new directory whenever an
  10304. application request comes in and we think we're offline -- the
  10305. human is hopefully a good measure of when the network is back.
  10306. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  10307. long as you keep using them; actually publish hidserv descriptors
  10308. shortly after they change, rather than waiting 20-40 minutes.
  10309. - Enable Mac startup script by default.
  10310. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  10311. - When you update AllowUnverifiedNodes or FirewallPorts via the
  10312. controller's setconf feature, we were always appending, never
  10313. resetting.
  10314. - When you update HiddenServiceDir via setconf, it was screwing up
  10315. the order of reading the lines, making it fail.
  10316. - Do not rewrite a cached directory back to the cache; otherwise we
  10317. will think it is recent and not fetch a newer one on startup.
  10318. - Workaround for webservers that lie about Content-Encoding: Tor
  10319. now tries to autodetect compressed directories and compression
  10320. itself. This lets us Proxypass dir fetches through apache.
  10321. Changes in version 0.0.9.2 - 2005-01-04
  10322. o Bugfixes on 0.0.9 (crashes and asserts):
  10323. - Fix an assert on startup when the disk is full and you're logging
  10324. to a file.
  10325. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  10326. style address, then we'd crash.
  10327. - Fix an assert trigger when the running-routers string we get from
  10328. a dirserver is broken.
  10329. - Make worker threads start and run on win32. Now win32 servers
  10330. may work better.
  10331. - Bandaid (not actually fix, but now it doesn't crash) an assert
  10332. where the dns worker dies mysteriously and the main Tor process
  10333. doesn't remember anything about the address it was resolving.
  10334. o Bugfixes on 0.0.9 (Win32):
  10335. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  10336. name out of the warning/assert messages.
  10337. - Fix a superficial "unhandled error on read" bug on win32.
  10338. - The win32 installer no longer requires a click-through for our
  10339. license, since our Free Software license grants rights but does not
  10340. take any away.
  10341. - Win32: When connecting to a dirserver fails, try another one
  10342. immediately. (This was already working for non-win32 Tors.)
  10343. - Stop trying to parse $HOME on win32 when hunting for default
  10344. DataDirectory.
  10345. - Make tor-resolve.c work on win32 by calling network_init().
  10346. o Bugfixes on 0.0.9 (other):
  10347. - Make 0.0.9.x build on Solaris again.
  10348. - Due to a fencepost error, we were blowing away the \n when reporting
  10349. confvalue items in the controller. So asking for multiple config
  10350. values at once couldn't work.
  10351. - When listing circuits that are pending on an opening OR connection,
  10352. if we're an OR we were listing circuits that *end* at us as
  10353. being pending on every listener, dns/cpu worker, etc. Stop that.
  10354. - Dirservers were failing to create 'running-routers' or 'directory'
  10355. strings if we had more than some threshold of routers. Fix them so
  10356. they can handle any number of routers.
  10357. - Fix a superficial "Duplicate mark for close" bug.
  10358. - Stop checking for clock skew for OR connections, even for servers.
  10359. - Fix a fencepost error that was chopping off the last letter of any
  10360. nickname that is the maximum allowed nickname length.
  10361. - Update URLs in log messages so they point to the new website.
  10362. - Fix a potential problem in mangling server private keys while
  10363. writing to disk (not triggered yet, as far as we know).
  10364. - Include the licenses for other free software we include in Tor,
  10365. now that we're shipping binary distributions more regularly.
  10366. Changes in version 0.0.9.1 - 2004-12-15
  10367. o Bugfixes on 0.0.9:
  10368. - Make hibernation actually work.
  10369. - Make HashedControlPassword config option work.
  10370. - When we're reporting event circuit status to a controller,
  10371. don't use the stream status code.
  10372. Changes in version 0.0.9 - 2004-12-12
  10373. o Cleanups:
  10374. - Clean up manpage and torrc.sample file.
  10375. - Clean up severities and text of log warnings.
  10376. o Mistakes:
  10377. - Make servers trigger an assert when they enter hibernation.
  10378. Changes in version 0.0.9rc7 - 2004-12-08
  10379. o Bugfixes on 0.0.9rc:
  10380. - Fix a stack-trashing crash when an exit node begins hibernating.
  10381. - Avoid looking at unallocated memory while considering which
  10382. ports we need to build circuits to cover.
  10383. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  10384. we shouldn't hold-open-until-flush if the eof arrived first.
  10385. - Fix a bug with init_cookie_authentication() in the controller.
  10386. - When recommending new-format log lines, if the upper bound is
  10387. LOG_ERR, leave it implicit.
  10388. o Bugfixes on 0.0.8.1:
  10389. - Fix a whole slew of memory leaks.
  10390. - Fix isspace() and friends so they still make Solaris happy
  10391. but also so they don't trigger asserts on win32.
  10392. - Fix parse_iso_time on platforms without strptime (eg win32).
  10393. - win32: tolerate extra "readable" events better.
  10394. - win32: when being multithreaded, leave parent fdarray open.
  10395. - Make unit tests work on win32.
  10396. Changes in version 0.0.9rc6 - 2004-12-06
  10397. o Bugfixes on 0.0.9pre:
  10398. - Clean up some more integer underflow opportunities (not exploitable
  10399. we think).
  10400. - While hibernating, hup should not regrow our listeners.
  10401. - Send an end to the streams we close when we hibernate, rather
  10402. than just chopping them off.
  10403. - React to eof immediately on non-open edge connections.
  10404. o Bugfixes on 0.0.8.1:
  10405. - Calculate timeout for waiting for a connected cell from the time
  10406. we sent the begin cell, not from the time the stream started. If
  10407. it took a long time to establish the circuit, we would time out
  10408. right after sending the begin cell.
  10409. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  10410. of * as always matching, so we were picking reject *:* nodes as
  10411. exit nodes too. Oops.
  10412. o Features:
  10413. - New circuit building strategy: keep a list of ports that we've
  10414. used in the past 6 hours, and always try to have 2 circuits open
  10415. or on the way that will handle each such port. Seed us with port
  10416. 80 so web users won't complain that Tor is "slow to start up".
  10417. - Make kill -USR1 dump more useful stats about circuits.
  10418. - When warning about retrying or giving up, print the address, so
  10419. the user knows which one it's talking about.
  10420. - If you haven't used a clean circuit in an hour, throw it away,
  10421. just to be on the safe side. (This means after 6 hours a totally
  10422. unused Tor client will have no circuits open.)
  10423. Changes in version 0.0.9rc5 - 2004-12-01
  10424. o Bugfixes on 0.0.8.1:
  10425. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  10426. - Let resolve conns retry/expire also, rather than sticking around
  10427. forever.
  10428. - If we are using select, make sure we stay within FD_SETSIZE.
  10429. o Bugfixes on 0.0.9pre:
  10430. - Fix integer underflow in tor_vsnprintf() that may be exploitable,
  10431. but doesn't seem to be currently; thanks to Ilja van Sprundel for
  10432. finding it.
  10433. - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
  10434. instead. Impose minima and maxima for all *Period options; impose
  10435. even tighter maxima for fetching if we are a caching dirserver.
  10436. Clip rather than rejecting.
  10437. - Fetch cached running-routers from servers that serve it (that is,
  10438. authdirservers and servers running 0.0.9rc5-cvs or later.)
  10439. o Features:
  10440. - Accept *:706 (silc) in default exit policy.
  10441. - Implement new versioning format for post 0.1.
  10442. - Support "foo.nickname.exit" addresses, to let Alice request the
  10443. address "foo" as viewed by exit node "nickname". Based on a patch
  10444. by Geoff Goodell.
  10445. - Make tor --version --version dump the cvs Id of every file.
  10446. Changes in version 0.0.9rc4 - 2004-11-28
  10447. o Bugfixes on 0.0.8.1:
  10448. - Make windows sockets actually non-blocking (oops), and handle
  10449. win32 socket errors better.
  10450. o Bugfixes on 0.0.9rc1:
  10451. - Actually catch the -USR2 signal.
  10452. Changes in version 0.0.9rc3 - 2004-11-25
  10453. o Bugfixes on 0.0.8.1:
  10454. - Flush the log file descriptor after we print "Tor opening log file",
  10455. so we don't see those messages days later.
  10456. o Bugfixes on 0.0.9rc1:
  10457. - Make tor-resolve work again.
  10458. - Avoid infinite loop in tor-resolve if tor hangs up on it.
  10459. - Fix an assert trigger for clients/servers handling resolves.
  10460. Changes in version 0.0.9rc2 - 2004-11-24
  10461. o Bugfixes on 0.0.9rc1:
  10462. - I broke socks5 support while fixing the eof bug.
  10463. - Allow unitless bandwidths and intervals; they default to bytes
  10464. and seconds.
  10465. - New servers don't start out hibernating; they are active until
  10466. they run out of bytes, so they have a better estimate of how
  10467. long it takes, and so their operators can know they're working.
  10468. Changes in version 0.0.9rc1 - 2004-11-23
  10469. o Bugfixes on 0.0.8.1:
  10470. - Finally fix a bug that's been plaguing us for a year:
  10471. With high load, circuit package window was reaching 0. Whenever
  10472. we got a circuit-level sendme, we were reading a lot on each
  10473. socket, but only writing out a bit. So we would eventually reach
  10474. eof. This would be noticed and acted on even when there were still
  10475. bytes sitting in the inbuf.
  10476. - When poll() is interrupted, we shouldn't believe the revents values.
  10477. o Bugfixes on 0.0.9pre6:
  10478. - Fix hibernate bug that caused pre6 to be broken.
  10479. - Don't keep rephist info for routers that haven't had activity for
  10480. 24 hours. (This matters now that clients have keys, since we track
  10481. them too.)
  10482. - Never call close_temp_logs while validating log options.
  10483. - Fix backslash-escaping on tor.sh.in and torctl.in.
  10484. o Features:
  10485. - Implement weekly/monthly/daily accounting: now you specify your
  10486. hibernation properties by
  10487. AccountingMax N bytes|KB|MB|GB|TB
  10488. AccountingStart day|week|month [day] HH:MM
  10489. Defaults to "month 1 0:00".
  10490. - Let bandwidth and interval config options be specified as 5 bytes,
  10491. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  10492. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  10493. get back to normal.)
  10494. - If your requested entry or exit node has advertised bandwidth 0,
  10495. pick it anyway.
  10496. - Be more greedy about filling up relay cells -- we try reading again
  10497. once we've processed the stuff we read, in case enough has arrived
  10498. to fill the last cell completely.
  10499. - Apply NT service patch from Osamu Fujino. Still needs more work.
  10500. Changes in version 0.0.9pre6 - 2004-11-15
  10501. o Bugfixes on 0.0.8.1:
  10502. - Fix assert failure on malformed socks4a requests.
  10503. - Use identity comparison, not nickname comparison, to choose which
  10504. half of circuit-ID-space each side gets to use. This is needed
  10505. because sometimes we think of a router as a nickname, and sometimes
  10506. as a hex ID, and we can't predict what the other side will do.
  10507. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  10508. write() call will fail and we handle it there.
  10509. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  10510. and smartlist_len, which are two major profiling offenders.
  10511. o Bugfixes on 0.0.9pre5:
  10512. - Fix a bug in read_all that was corrupting config files on windows.
  10513. - When we're raising the max number of open file descriptors to
  10514. 'unlimited', don't log that we just raised it to '-1'.
  10515. - Include event code with events, as required by control-spec.txt.
  10516. - Don't give a fingerprint when clients do --list-fingerprint:
  10517. it's misleading, because it will never be the same again.
  10518. - Stop using strlcpy in tor_strndup, since it was slowing us
  10519. down a lot.
  10520. - Remove warn on startup about missing cached-directory file.
  10521. - Make kill -USR1 work again.
  10522. - Hibernate if we start tor during the "wait for wakeup-time" phase
  10523. of an accounting interval. Log our hibernation plans better.
  10524. - Authoritative dirservers now also cache their directory, so they
  10525. have it on start-up.
  10526. o Features:
  10527. - Fetch running-routers; cache running-routers; compress
  10528. running-routers; serve compressed running-routers.z
  10529. - Add NSI installer script contributed by J Doe.
  10530. - Commit VC6 and VC7 workspace/project files.
  10531. - Commit a tor.spec for making RPM files, with help from jbash.
  10532. - Add contrib/torctl.in contributed by Glenn Fink.
  10533. - Implement the control-spec's SAVECONF command, to write your
  10534. configuration to torrc.
  10535. - Get cookie authentication for the controller closer to working.
  10536. - Include control-spec.txt in the tarball.
  10537. - When set_conf changes our server descriptor, upload a new copy.
  10538. But don't upload it too often if there are frequent changes.
  10539. - Document authentication config in man page, and document signals
  10540. we catch.
  10541. - Clean up confusing parts of man page and torrc.sample.
  10542. - Make expand_filename handle ~ and ~username.
  10543. - Use autoconf to enable largefile support where necessary. Use
  10544. ftello where available, since ftell can fail at 2GB.
  10545. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  10546. log more informatively.
  10547. - Give a slightly more useful output for "tor -h".
  10548. - Refuse application socks connections to port 0.
  10549. - Check clock skew for verified servers, but allow unverified
  10550. servers and clients to have any clock skew.
  10551. - Break DirFetchPostPeriod into:
  10552. - DirFetchPeriod for fetching full directory,
  10553. - StatusFetchPeriod for fetching running-routers,
  10554. - DirPostPeriod for posting server descriptor,
  10555. - RendPostPeriod for posting hidden service descriptors.
  10556. - Make sure the hidden service descriptors are at a random offset
  10557. from each other, to hinder linkability.
  10558. Changes in version 0.0.9pre5 - 2004-11-09
  10559. o Bugfixes on 0.0.9pre4:
  10560. - Fix a seg fault in unit tests (doesn't affect main program).
  10561. - Fix an assert bug where a hidden service provider would fail if
  10562. the first hop of his rendezvous circuit was down.
  10563. - Hidden service operators now correctly handle version 1 style
  10564. INTRODUCE1 cells (nobody generates them still, so not a critical
  10565. bug).
  10566. - If do_hup fails, actually notice.
  10567. - Handle more errnos from accept() without closing the listener.
  10568. Some OpenBSD machines were closing their listeners because
  10569. they ran out of file descriptors.
  10570. - Send resolve cells to exit routers that are running a new
  10571. enough version of the resolve code to work right.
  10572. - Better handling of winsock includes on non-MSV win32 compilers.
  10573. - Some people had wrapped their tor client/server in a script
  10574. that would restart it whenever it died. This did not play well
  10575. with our "shut down if your version is obsolete" code. Now people
  10576. don't fetch a new directory if their local cached version is
  10577. recent enough.
  10578. - Make our autogen.sh work on ksh as well as bash.
  10579. o Major Features:
  10580. - Hibernation: New config option "AccountingMaxKB" lets you
  10581. set how many KBytes per month you want to allow your server to
  10582. consume. Rather than spreading those bytes out evenly over the
  10583. month, we instead hibernate for some of the month and pop up
  10584. at a deterministic time, work until the bytes are consumed, then
  10585. hibernate again. Config option "MonthlyAccountingStart" lets you
  10586. specify which day of the month your billing cycle starts on.
  10587. - Control interface: a separate program can now talk to your
  10588. client/server over a socket, and get/set config options, receive
  10589. notifications of circuits and streams starting/finishing/dying,
  10590. bandwidth used, etc. The next step is to get some GUIs working.
  10591. Let us know if you want to help out. See doc/control-spec.txt .
  10592. - Ship a contrib/tor-control.py as an example script to interact
  10593. with the control port.
  10594. - "tor --hash-password zzyxz" will output a salted password for
  10595. use in authenticating to the control interface.
  10596. - New log format in config:
  10597. "Log minsev[-maxsev] stdout|stderr|syslog" or
  10598. "Log minsev[-maxsev] file /var/foo"
  10599. o Minor Features:
  10600. - DirPolicy config option, to let people reject incoming addresses
  10601. from their dirserver.
  10602. - "tor --list-fingerprint" will list your identity key fingerprint
  10603. and then exit.
  10604. - Add "pass" target for RedirectExit, to make it easier to break
  10605. out of a sequence of RedirectExit rules.
  10606. - Clients now generate a TLS cert too, in preparation for having
  10607. them act more like real nodes.
  10608. - Ship src/win32/ in the tarball, so people can use it to build.
  10609. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  10610. is broken.
  10611. - New "router-status" line in directory, to better bind each verified
  10612. nickname to its identity key.
  10613. - Deprecate unofficial config option abbreviations, and abbreviations
  10614. not on the command line.
  10615. - Add a pure-C tor-resolve implementation.
  10616. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  10617. 1024) file descriptors.
  10618. o Code security improvements, inspired by Ilja:
  10619. - Replace sprintf with snprintf. (I think they were all safe, but
  10620. hey.)
  10621. - Replace strcpy/strncpy with strlcpy in more places.
  10622. - Avoid strcat; use snprintf or strlcat instead.
  10623. - snprintf wrapper with consistent (though not C99) overflow behavior.
  10624. Changes in version 0.0.9pre4 - 2004-10-17
  10625. o Bugfixes on 0.0.9pre3:
  10626. - If the server doesn't specify an exit policy, use the real default
  10627. exit policy, not reject *:*.
  10628. - Ignore fascistfirewall when uploading/downloading hidden service
  10629. descriptors, since we go through Tor for those; and when using
  10630. an HttpProxy, since we assume it can reach them all.
  10631. - When looking for an authoritative dirserver, use only the ones
  10632. configured at boot. Don't bother looking in the directory.
  10633. - The rest of the fix for get_default_conf_file() on older win32.
  10634. - Make 'Routerfile' config option obsolete.
  10635. o Features:
  10636. - New 'MyFamily nick1,...' config option for a server to
  10637. specify other servers that shouldn't be used in the same circuit
  10638. with it. Only believed if nick1 also specifies us.
  10639. - New 'NodeFamily nick1,nick2,...' config option for a client to
  10640. specify nodes that it doesn't want to use in the same circuit.
  10641. - New 'Redirectexit pattern address:port' config option for a
  10642. server to redirect exit connections, e.g. to a local squid.
  10643. Changes in version 0.0.9pre3 - 2004-10-13
  10644. o Bugfixes on 0.0.8.1:
  10645. - Better torrc example lines for dirbindaddress and orbindaddress.
  10646. - Improved bounds checking on parsed ints (e.g. config options and
  10647. the ones we find in directories.)
  10648. - Better handling of size_t vs int, so we're more robust on 64
  10649. bit platforms.
  10650. - Fix the rest of the bug where a newly started OR would appear
  10651. as unverified even after we've added his fingerprint and hupped
  10652. the dirserver.
  10653. - Fix a bug from 0.0.7: when read() failed on a stream, we would
  10654. close it without sending back an end. So 'connection refused'
  10655. would simply be ignored and the user would get no response.
  10656. o Bugfixes on 0.0.9pre2:
  10657. - Serving the cached-on-disk directory to people is bad. We now
  10658. provide no directory until we've fetched a fresh one.
  10659. - Workaround for bug on windows where cached-directories get crlf
  10660. corruption.
  10661. - Make get_default_conf_file() work on older windows too.
  10662. - If we write a *:* exit policy line in the descriptor, don't write
  10663. any more exit policy lines.
  10664. o Features:
  10665. - Use only 0.0.9pre1 and later servers for resolve cells.
  10666. - Make the dirservers file obsolete.
  10667. - Include a dir-signing-key token in directories to tell the
  10668. parsing entity which key is being used to sign.
  10669. - Remove the built-in bulky default dirservers string.
  10670. - New config option "Dirserver %s:%d [fingerprint]", which can be
  10671. repeated as many times as needed. If no dirservers specified,
  10672. default to moria1,moria2,tor26.
  10673. - Make moria2 advertise a dirport of 80, so people behind firewalls
  10674. will be able to get a directory.
  10675. - Http proxy support
  10676. - Dirservers translate requests for http://%s:%d/x to /x
  10677. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  10678. be routed through this host.
  10679. - Clients ask for /tor/x rather than /x for new enough dirservers.
  10680. This way we can one day coexist peacefully with apache.
  10681. - Clients specify a "Host: %s%d" http header, to be compatible
  10682. with more proxies, and so running squid on an exit node can work.
  10683. Changes in version 0.0.8.1 - 2004-10-13
  10684. o Bugfixes:
  10685. - Fix a seg fault that can be triggered remotely for Tor
  10686. clients/servers with an open dirport.
  10687. - Fix a rare assert trigger, where routerinfos for entries in
  10688. our cpath would expire while we're building the path.
  10689. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  10690. - Fix a rare seg fault for people running hidden services on
  10691. intermittent connections.
  10692. - Fix a bug in parsing opt keywords with objects.
  10693. - Fix a stale pointer assert bug when a stream detaches and
  10694. reattaches.
  10695. - Fix a string format vulnerability (probably not exploitable)
  10696. in reporting stats locally.
  10697. - Fix an assert trigger: sometimes launching circuits can fail
  10698. immediately, e.g. because too many circuits have failed recently.
  10699. - Fix a compile warning on 64 bit platforms.
  10700. Changes in version 0.0.9pre2 - 2004-10-03
  10701. o Bugfixes:
  10702. - Make fetching a cached directory work for 64-bit platforms too.
  10703. - Make zlib.h a required header, not an optional header.
  10704. Changes in version 0.0.9pre1 - 2004-10-01
  10705. o Bugfixes:
  10706. - Stop using separate defaults for no-config-file and
  10707. empty-config-file. Now you have to explicitly turn off SocksPort,
  10708. if you don't want it open.
  10709. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  10710. - Improve man page to mention more of the 0.0.8 features.
  10711. - Fix a rare seg fault for people running hidden services on
  10712. intermittent connections.
  10713. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  10714. happier.
  10715. - Fix more dns related bugs: send back resolve_failed and end cells
  10716. more reliably when the resolve fails, rather than closing the
  10717. circuit and then trying to send the cell. Also attach dummy resolve
  10718. connections to a circuit *before* calling dns_resolve(), to fix
  10719. a bug where cached answers would never be sent in RESOLVED cells.
  10720. - When we run out of disk space, or other log writing error, don't
  10721. crash. Just stop logging to that log and continue.
  10722. - We were starting to daemonize before we opened our logs, so if
  10723. there were any problems opening logs, we would complain to stderr,
  10724. which wouldn't work, and then mysteriously exit.
  10725. - Fix a rare bug where sometimes a verified OR would connect to us
  10726. before he'd uploaded his descriptor, which would cause us to
  10727. assign conn->nickname as though he's unverified. Now we look through
  10728. the fingerprint list to see if he's there.
  10729. - Fix a rare assert trigger, where routerinfos for entries in
  10730. our cpath would expire while we're building the path.
  10731. o Features:
  10732. - Clients can ask dirservers for /dir.z to get a compressed version
  10733. of the directory. Only works for servers running 0.0.9, of course.
  10734. - Make clients cache directories and use them to seed their router
  10735. lists at startup. This means clients have a datadir again.
  10736. - Configuration infrastructure support for warning on obsolete
  10737. options.
  10738. - Respond to content-encoding headers by trying to uncompress as
  10739. appropriate.
  10740. - Reply with a deflated directory when a client asks for "dir.z".
  10741. We could use allow-encodings instead, but allow-encodings isn't
  10742. specified in HTTP 1.0.
  10743. - Raise the max dns workers from 50 to 100.
  10744. - Discourage people from setting their dirfetchpostperiod more often
  10745. than once per minute.
  10746. - Protect dirservers from overzealous descriptor uploading -- wait
  10747. 10 seconds after directory gets dirty, before regenerating.
  10748. Changes in version 0.0.8 - 2004-08-25
  10749. o Port it to SunOS 5.9 / Athena
  10750. Changes in version 0.0.8rc2 - 2004-08-20
  10751. o Make it compile on cygwin again.
  10752. o When picking unverified routers, skip those with low uptime and/or
  10753. low bandwidth, depending on what properties you care about.
  10754. Changes in version 0.0.8rc1 - 2004-08-18
  10755. o Changes from 0.0.7.3:
  10756. - Bugfixes:
  10757. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  10758. don't put it into the client dns cache.
  10759. - If a begin failed due to exit policy, but we believe the IP address
  10760. should have been allowed, switch that router to exitpolicy reject *:*
  10761. until we get our next directory.
  10762. - Features:
  10763. - Clients choose nodes proportional to advertised bandwidth.
  10764. - Avoid using nodes with low uptime as introduction points.
  10765. - Handle servers with dynamic IP addresses: don't replace
  10766. options->Address with the resolved one at startup, and
  10767. detect our address right before we make a routerinfo each time.
  10768. - 'FascistFirewall' option to pick dirservers and ORs on specific
  10769. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  10770. which ports are open. (Defaults to 80,443)
  10771. - Be more aggressive about trying to make circuits when the network
  10772. has changed (e.g. when you unsuspend your laptop).
  10773. - Check for time skew on http headers; report date in response to
  10774. "GET /".
  10775. - If the entrynode config line has only one node, don't pick it as
  10776. an exitnode.
  10777. - Add strict{entry|exit}nodes config options. If set to 1, then
  10778. we refuse to build circuits that don't include the specified entry
  10779. or exit nodes.
  10780. - OutboundBindAddress config option, to bind to a specific
  10781. IP address for outgoing connect()s.
  10782. - End truncated log entries (e.g. directories) with "[truncated]".
  10783. o Patches to 0.0.8preX:
  10784. - Bugfixes:
  10785. - Patches to compile and run on win32 again (maybe)?
  10786. - Fix crash when looking for ~/.torrc with no $HOME set.
  10787. - Fix a race bug in the unit tests.
  10788. - Handle verified/unverified name collisions better when new
  10789. routerinfo's arrive in a directory.
  10790. - Sometimes routers were getting entered into the stats before
  10791. we'd assigned their identity_digest. Oops.
  10792. - Only pick and establish intro points after we've gotten a
  10793. directory.
  10794. - Features:
  10795. - AllowUnverifiedNodes config option to let circuits choose no-name
  10796. routers in entry,middle,exit,introduction,rendezvous positions.
  10797. Allow middle and rendezvous positions by default.
  10798. - Add a man page for tor-resolve.
  10799. Changes in version 0.0.7.3 - 2004-08-12
  10800. o Stop dnsworkers from triggering an assert failure when you
  10801. ask them to resolve the host "".
  10802. Changes in version 0.0.8pre3 - 2004-08-09
  10803. o Changes from 0.0.7.2:
  10804. - Allow multiple ORs with same nickname in routerlist -- now when
  10805. people give us one identity key for a nickname, then later
  10806. another, we don't constantly complain until the first expires.
  10807. - Remember used bandwidth (both in and out), and publish 15-minute
  10808. snapshots for the past day into our descriptor.
  10809. - You can now fetch $DIRURL/running-routers to get just the
  10810. running-routers line, not the whole descriptor list. (But
  10811. clients don't use this yet.)
  10812. - When people mistakenly use Tor as an http proxy, point them
  10813. at the tor-doc.html rather than the INSTALL.
  10814. - Remove our mostly unused -- and broken -- hex_encode()
  10815. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  10816. for pointing out this bug.)
  10817. - Rotate onion keys every 12 hours, not every 2 hours, so we have
  10818. fewer problems with people using the wrong key.
  10819. - Change the default exit policy to reject the default edonkey,
  10820. kazaa, gnutella ports.
  10821. - Add replace_file() to util.[ch] to handle win32's rename().
  10822. o Changes from 0.0.8preX:
  10823. - Fix two bugs in saving onion keys to disk when rotating, so
  10824. hopefully we'll get fewer people using old onion keys.
  10825. - Fix an assert error that was making SocksPolicy not work.
  10826. - Be willing to expire routers that have an open dirport -- it's
  10827. just the authoritative dirservers we want to not forget.
  10828. - Reject tor-resolve requests for .onion addresses early, so we
  10829. don't build a whole rendezvous circuit and then fail.
  10830. - When you're warning a server that he's unverified, don't cry
  10831. wolf unpredictably.
  10832. - Fix a race condition: don't try to extend onto a connection
  10833. that's still handshaking.
  10834. - For servers in clique mode, require the conn to be open before
  10835. you'll choose it for your path.
  10836. - Fix some cosmetic bugs about duplicate mark-for-close, lack of
  10837. end relay cell, etc.
  10838. - Measure bandwidth capacity over the last 24 hours, not just 12
  10839. - Bugfix: authoritative dirservers were making and signing a new
  10840. directory for each client, rather than reusing the cached one.
  10841. Changes in version 0.0.8pre2 - 2004-08-04
  10842. o Changes from 0.0.7.2:
  10843. - Security fixes:
  10844. - Check directory signature _before_ you decide whether you're
  10845. you're running an obsolete version and should exit.
  10846. - Check directory signature _before_ you parse the running-routers
  10847. list to decide who's running or verified.
  10848. - Bugfixes and features:
  10849. - Check return value of fclose while writing to disk, so we don't
  10850. end up with broken files when servers run out of disk space.
  10851. - Log a warning if the user uses an unsafe socks variant, so people
  10852. are more likely to learn about privoxy or socat.
  10853. - Dirservers now include RFC1123-style dates in the HTTP headers,
  10854. which one day we will use to better detect clock skew.
  10855. o Changes from 0.0.8pre1:
  10856. - Make it compile without warnings again on win32.
  10857. - Log a warning if you're running an unverified server, to let you
  10858. know you might want to get it verified.
  10859. - Only pick a default nickname if you plan to be a server.
  10860. Changes in version 0.0.8pre1 - 2004-07-23
  10861. o Bugfixes:
  10862. - Made our unit tests compile again on OpenBSD 3.5, and tor
  10863. itself compile again on OpenBSD on a sparc64.
  10864. - We were neglecting milliseconds when logging on win32, so
  10865. everything appeared to happen at the beginning of each second.
  10866. o Protocol changes:
  10867. - 'Extend' relay cell payloads now include the digest of the
  10868. intended next hop's identity key. Now we can verify that we're
  10869. extending to the right router, and also extend to routers we
  10870. hadn't heard of before.
  10871. o Features:
  10872. - Tor nodes can now act as relays (with an advertised ORPort)
  10873. without being manually verified by the dirserver operators.
  10874. - Uploaded descriptors of unverified routers are now accepted
  10875. by the dirservers, and included in the directory.
  10876. - Verified routers are listed by nickname in the running-routers
  10877. list; unverified routers are listed as "$<fingerprint>".
  10878. - We now use hash-of-identity-key in most places rather than
  10879. nickname or addr:port, for improved security/flexibility.
  10880. - To avoid Sybil attacks, paths still use only verified servers.
  10881. But now we have a chance to play around with hybrid approaches.
  10882. - Nodes track bandwidth usage to estimate capacity (not used yet).
  10883. - ClientOnly option for nodes that never want to become servers.
  10884. - Directory caching.
  10885. - "AuthoritativeDir 1" option for the official dirservers.
  10886. - Now other nodes (clients and servers) will cache the latest
  10887. directory they've pulled down.
  10888. - They can enable their DirPort to serve it to others.
  10889. - Clients will pull down a directory from any node with an open
  10890. DirPort, and check the signature/timestamp correctly.
  10891. - Authoritative dirservers now fetch directories from other
  10892. authdirservers, to stay better synced.
  10893. - Running-routers list tells who's down also, along with noting
  10894. if they're verified (listed by nickname) or unverified (listed
  10895. by hash-of-key).
  10896. - Allow dirservers to serve running-router list separately.
  10897. This isn't used yet.
  10898. - ORs connect-on-demand to other ORs
  10899. - If you get an extend cell to an OR you're not connected to,
  10900. connect, handshake, and forward the create cell.
  10901. - The authoritative dirservers stay connected to everybody,
  10902. and everybody stays connected to 0.0.7 servers, but otherwise
  10903. clients/servers expire unused connections after 5 minutes.
  10904. - When servers get a sigint, they delay 30 seconds (refusing new
  10905. connections) then exit. A second sigint causes immediate exit.
  10906. - File and name management:
  10907. - Look for .torrc if no CONFDIR "torrc" is found.
  10908. - If no datadir is defined, then choose, make, and secure ~/.tor
  10909. as datadir.
  10910. - If torrc not found, exitpolicy reject *:*.
  10911. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  10912. - If no nickname is defined, derive default from hostname.
  10913. - Rename secret key files, e.g. identity.key -> secret_id_key,
  10914. to discourage people from mailing their identity key to tor-ops.
  10915. - Refuse to build a circuit before the directory has arrived --
  10916. it won't work anyway, since you won't know the right onion keys
  10917. to use.
  10918. - Try other dirservers immediately if the one you try is down. This
  10919. should tolerate down dirservers better now.
  10920. - Parse tor version numbers so we can do an is-newer-than check
  10921. rather than an is-in-the-list check.
  10922. - New socks command 'resolve', to let us shim gethostbyname()
  10923. locally.
  10924. - A 'tor_resolve' script to access the socks resolve functionality.
  10925. - A new socks-extensions.txt doc file to describe our
  10926. interpretation and extensions to the socks protocols.
  10927. - Add a ContactInfo option, which gets published in descriptor.
  10928. - Publish OR uptime in descriptor (and thus in directory) too.
  10929. - Write tor version at the top of each log file
  10930. - New docs in the tarball:
  10931. - tor-doc.html.
  10932. - Document that you should proxy your SSL traffic too.
  10933. Changes in version 0.0.7.2 - 2004-07-07
  10934. o A better fix for the 0.0.0.0 problem, that will hopefully
  10935. eliminate the remaining related assertion failures.
  10936. Changes in version 0.0.7.1 - 2004-07-04
  10937. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  10938. since internally we use 0.0.0.0 to signify "not yet resolved".
  10939. Changes in version 0.0.7 - 2004-06-07
  10940. o Updated the man page to reflect the new features.
  10941. Changes in version 0.0.7rc2 - 2004-06-06
  10942. o Changes from 0.0.7rc1:
  10943. - Make it build on Win32 again.
  10944. o Changes from 0.0.6.2:
  10945. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  10946. settings too.
  10947. Changes in version 0.0.7rc1 - 2004-06-02
  10948. o Bugfixes:
  10949. - On sighup, we were adding another log without removing the first
  10950. one. So log messages would get duplicated n times for n sighups.
  10951. - Several cases of using a connection after we'd freed it. The
  10952. problem was that connections that are pending resolve are in both
  10953. the pending_resolve tree, and also the circuit's resolving_streams
  10954. list. When you want to remove one, you must remove it from both.
  10955. - Fix a double-mark-for-close where an end cell arrived for a
  10956. resolving stream, and then the resolve failed.
  10957. - Check directory signatures based on name of signer, not on whom
  10958. we got the directory from. This will let us cache directories more
  10959. easily.
  10960. o Features:
  10961. - Crank up some of our constants to handle more users.
  10962. Changes in version 0.0.7pre1 - 2004-06-02
  10963. o Fixes for crashes and other obnoxious bugs:
  10964. - Fix an epipe bug: sometimes when directory connections failed
  10965. to connect, we would give them a chance to flush before closing
  10966. them.
  10967. - When we detached from a circuit because of resolvefailed, we
  10968. would immediately try the same circuit twice more, and then
  10969. give up on the resolve thinking we'd tried three different
  10970. exit nodes.
  10971. - Limit the number of intro circuits we'll attempt to build for a
  10972. hidden service per 15-minute period.
  10973. - Check recommended-software string *early*, before actually parsing
  10974. the directory. Thus we can detect an obsolete version and exit,
  10975. even if the new directory format doesn't parse.
  10976. o Fixes for security bugs:
  10977. - Remember which nodes are dirservers when you startup, and if a
  10978. random OR enables his dirport, don't automatically assume he's
  10979. a trusted dirserver.
  10980. o Other bugfixes:
  10981. - Directory connections were asking the wrong poll socket to
  10982. start writing, and not asking themselves to start writing.
  10983. - When we detached from a circuit because we sent a begin but
  10984. didn't get a connected, we would use it again the first time;
  10985. but after that we would correctly switch to a different one.
  10986. - Stop warning when the first onion decrypt attempt fails; they
  10987. will sometimes legitimately fail now that we rotate keys.
  10988. - Override unaligned-access-ok check when $host_cpu is ia64 or
  10989. arm. Apparently they allow it but the kernel whines.
  10990. - Dirservers try to reconnect periodically too, in case connections
  10991. have failed.
  10992. - Fix some memory leaks in directory servers.
  10993. - Allow backslash in Win32 filenames.
  10994. - Made Tor build complain-free on FreeBSD, hopefully without
  10995. breaking other BSD builds. We'll see.
  10996. o Features:
  10997. - Doxygen markup on all functions and global variables.
  10998. - Make directory functions update routerlist, not replace it. So
  10999. now directory disagreements are not so critical a problem.
  11000. - Remove the upper limit on number of descriptors in a dirserver's
  11001. directory (not that we were anywhere close).
  11002. - Allow multiple logfiles at different severity ranges.
  11003. - Allow *BindAddress to specify ":port" rather than setting *Port
  11004. separately. Allow multiple instances of each BindAddress config
  11005. option, so you can bind to multiple interfaces if you want.
  11006. - Allow multiple exit policy lines, which are processed in order.
  11007. Now we don't need that huge line with all the commas in it.
  11008. - Enable accept/reject policies on SOCKS connections, so you can bind
  11009. to 0.0.0.0 but still control who can use your OP.
  11010. Changes in version 0.0.6.2 - 2004-05-16
  11011. o Our integrity-checking digest was checking only the most recent cell,
  11012. not the previous cells like we'd thought.
  11013. Thanks to Stefan Mark for finding the flaw!
  11014. Changes in version 0.0.6.1 - 2004-05-06
  11015. o Fix two bugs in our AES counter-mode implementation (this affected
  11016. onion-level stream encryption, but not TLS-level). It turns
  11017. out we were doing something much more akin to a 16-character
  11018. polyalphabetic cipher. Oops.
  11019. Thanks to Stefan Mark for finding the flaw!
  11020. o Retire moria3 as a directory server, and add tor26 as a directory
  11021. server.
  11022. Changes in version 0.0.6 - 2004-05-02
  11023. [version bump only]
  11024. Changes in version 0.0.6rc4 - 2004-05-01
  11025. o Update the built-in dirservers list to use the new directory format
  11026. o Fix a rare seg fault: if a node offering a hidden service attempts
  11027. to build a circuit to Alice's rendezvous point and fails before it
  11028. reaches the last hop, it retries with a different circuit, but
  11029. then dies.
  11030. o Handle windows socket errors correctly.
  11031. Changes in version 0.0.6rc3 - 2004-04-28
  11032. o Don't expire non-general excess circuits (if we had enough
  11033. circuits open, we were expiring rendezvous circuits -- even
  11034. when they had a stream attached. oops.)
  11035. o Fetch randomness from /dev/urandom better (not via fopen/fread)
  11036. o Better debugging for tls errors
  11037. o Some versions of openssl have an SSL_pending function that erroneously
  11038. returns bytes when there is a non-application record pending.
  11039. o Set Content-Type on the directory and hidserv descriptor.
  11040. o Remove IVs from cipher code, since AES-ctr has none.
  11041. o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  11042. o We were using an array of length zero in a few places.
  11043. o win32's gethostbyname can't resolve an IP to an IP.
  11044. o win32's close can't close a socket.
  11045. Changes in version 0.0.6rc2 - 2004-04-26
  11046. o Fix a bug where we were closing tls connections intermittently.
  11047. It turns out openssl keeps its errors around -- so if an error
  11048. happens, and you don't ask about it, and then another openssl
  11049. operation happens and succeeds, and you ask if there was an error,
  11050. it tells you about the first error. Fun fun.
  11051. o Fix a bug that's been lurking since 27 may 03 (!)
  11052. When passing back a destroy cell, we would use the wrong circ id.
  11053. 'Mostly harmless', but still worth fixing.
  11054. o Since we don't support truncateds much, don't bother sending them;
  11055. just close the circ.
  11056. o check for <machine/limits.h> so we build on NetBSD again (I hope).
  11057. o don't crash if a conn that sent a begin has suddenly lost its circuit
  11058. (this was quite rare).
  11059. Changes in version 0.0.6rc1 - 2004-04-25
  11060. o We now rotate link (tls context) keys and onion keys.
  11061. o CREATE cells now include oaep padding, so you can tell
  11062. if you decrypted them correctly.
  11063. o Add bandwidthburst to server descriptor.
  11064. o Directories now say which dirserver signed them.
  11065. o Use a tor_assert macro that logs failed assertions too.
  11066. Changes in version 0.0.6pre5 - 2004-04-18
  11067. o changes from 0.0.6pre4:
  11068. - make tor build on broken freebsd 5.2 installs
  11069. - fix a failed assert when you try an intro point, get a nack, and try
  11070. a second one and it works.
  11071. - when alice uses a port that the hidden service doesn't accept,
  11072. it now sends back an end cell (denied by exit policy). otherwise
  11073. alice would just have to wait to time out.
  11074. - fix another rare bug: when we had tried all the intro
  11075. points for a hidden service, we fetched the descriptor
  11076. again, but we left our introcirc thinking it had already
  11077. sent an intro, so it kept waiting for a response...
  11078. - bugfix: when you sleep your hidden-service laptop, as soon
  11079. as it wakes up it tries to upload a service descriptor, but
  11080. socketpair fails for some reason (localhost not up yet?).
  11081. now we simply give up on that upload, and we'll try again later.
  11082. i'd still like to find the bug though.
  11083. - if an intro circ waiting for an ack dies before getting one, then
  11084. count it as a nack
  11085. - we were reusing stale service descriptors and refetching usable
  11086. ones. oops.
  11087. Changes in version 0.0.6pre4 - 2004-04-14
  11088. o changes from 0.0.6pre3:
  11089. - when bob fails to connect to the rendezvous point, and his
  11090. circ didn't fail because of the rendezvous point itself, then
  11091. he retries a couple of times
  11092. - we expire introduction and rendezvous circs more thoroughly
  11093. (sometimes they were hanging around forever)
  11094. - we expire unattached rendezvous streams that have been around
  11095. too long (they were sticking around forever).
  11096. - fix a measly fencepost error that was crashing everybody with
  11097. a strict glibc.
  11098. Changes in version 0.0.6pre3 - 2004-04-14
  11099. o changes from 0.0.6pre2:
  11100. - make hup work again
  11101. - fix some memory leaks for dirservers
  11102. - allow more skew in rendezvous descriptor timestamps, to help
  11103. handle people like blanu who don't know what time it is
  11104. - normal circs are 3 hops, but some rend/intro circs are 4, if
  11105. the initiator doesn't get to choose the last hop
  11106. - send acks for introductions, so alice can know whether to try
  11107. again
  11108. - bob publishes intro points more correctly
  11109. o changes from 0.0.5:
  11110. - fix an assert trigger that's been plaguing us since the days
  11111. of 0.0.2prexx (thanks weasel!)
  11112. - retry stream correctly when we fail to connect because of
  11113. exit-policy-reject (should try another) or can't-resolve-address
  11114. (also should try another, because dns on random internet servers
  11115. is flaky).
  11116. - when we hup a dirserver and we've *removed* a server from the
  11117. approved-routers list, now we remove that server from the
  11118. in-memory directories too
  11119. Changes in version 0.0.6pre2 - 2004-04-08
  11120. o We fixed our base32 implementation. Now it works on all architectures.
  11121. Changes in version 0.0.6pre1 - 2004-04-08
  11122. o Features:
  11123. - Hidden services and rendezvous points are implemented. Go to
  11124. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  11125. hidden services. (This only works via a socks4a proxy such as
  11126. Privoxy, and currently it's quite slow.)
  11127. Changes in version 0.0.5 - 2004-03-30
  11128. [version bump only]
  11129. Changes in version 0.0.5rc3 - 2004-03-29
  11130. o Install torrc as torrc.sample -- we no longer clobber your
  11131. torrc. (Woo!)
  11132. o Re-enable recommendedversion checking (we broke it in rc2, oops)
  11133. o Add in a 'notice' log level for things the operator should hear
  11134. but that aren't warnings
  11135. Changes in version 0.0.5rc2 - 2004-03-29
  11136. o Hold socks connection open until reply is flushed (if possible)
  11137. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  11138. the dns farm to do it.
  11139. o Fix c99 aliasing warnings in rephist.c
  11140. o Don't include server descriptors that are older than 24 hours in the
  11141. directory.
  11142. o Give socks 'reject' replies their whole 15s to attempt to flush,
  11143. rather than seeing the 60s timeout and assuming the flush had failed.
  11144. o Clean automake droppings from the cvs repository
  11145. Changes in version 0.0.5rc1 - 2004-03-28
  11146. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  11147. o Only build circuits after we've fetched the directory: clients were
  11148. using only the directory servers before they'd fetched a directory.
  11149. This also means longer startup time; so it goes.
  11150. o Fix an assert trigger where an OP would fail to handshake, and we'd
  11151. expect it to have a nickname.
  11152. o Work around a tsocks bug: do a socks reject when AP connection dies
  11153. early, else tsocks goes into an infinite loop.
  11154. Changes in version 0.0.4 - 2004-03-26
  11155. o When connecting to a dirserver or OR and the network is down,
  11156. we would crash.
  11157. Changes in version 0.0.3 - 2004-03-26
  11158. o Warn and fail if server chose a nickname with illegal characters
  11159. o Port to Solaris and Sparc:
  11160. - include missing header fcntl.h
  11161. - have autoconf find -lsocket -lnsl automatically
  11162. - deal with hardware word alignment
  11163. - make uname() work (solaris has a different return convention)
  11164. - switch from using signal() to sigaction()
  11165. o Preliminary work on reputation system:
  11166. - Keep statistics on success/fail of connect attempts; they're published
  11167. by kill -USR1 currently.
  11168. - Add a RunTesting option to try to learn link state by creating test
  11169. circuits, even when SocksPort is off.
  11170. - Remove unused open circuits when there are too many.
  11171. Changes in version 0.0.2 - 2004-03-19
  11172. - Include strlcpy and strlcat for safer string ops
  11173. - define INADDR_NONE so we compile (but still not run) on solaris
  11174. Changes in version 0.0.2pre27 - 2004-03-14
  11175. o Bugfixes:
  11176. - Allow internal tor networks (we were rejecting internal IPs,
  11177. now we allow them if they're set explicitly).
  11178. - And fix a few endian issues.
  11179. Changes in version 0.0.2pre26 - 2004-03-14
  11180. o New features:
  11181. - If a stream times out after 15s without a connected cell, don't
  11182. try that circuit again: try a new one.
  11183. - Retry streams at most 4 times. Then give up.
  11184. - When a dirserver gets a descriptor from an unknown router, it
  11185. logs its fingerprint (so the dirserver operator can choose to
  11186. accept it even without mail from the server operator).
  11187. - Inform unapproved servers when we reject their descriptors.
  11188. - Make tor build on Windows again. It works as a client, who knows
  11189. about as a server.
  11190. - Clearer instructions in the torrc for how to set up a server.
  11191. - Be more efficient about reading fd's when our global token bucket
  11192. (used for rate limiting) becomes empty.
  11193. o Bugfixes:
  11194. - Stop asserting that computers always go forward in time. It's
  11195. simply not true.
  11196. - When we sent a cell (e.g. destroy) and then marked an OR connection
  11197. expired, we might close it before finishing a flush if the other
  11198. side isn't reading right then.
  11199. - Don't allow dirservers to start if they haven't defined
  11200. RecommendedVersions
  11201. - We were caching transient dns failures. Oops.
  11202. - Prevent servers from publishing an internal IP as their address.
  11203. - Address a strcat vulnerability in circuit.c
  11204. Changes in version 0.0.2pre25 - 2004-03-04
  11205. o New features:
  11206. - Put the OR's IP in its router descriptor, not its fqdn. That way
  11207. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  11208. e.g. poblano.
  11209. o Bugfixes:
  11210. - If the user typed in an address that didn't resolve, the server
  11211. crashed.
  11212. Changes in version 0.0.2pre24 - 2004-03-03
  11213. o Bugfixes:
  11214. - Fix an assertion failure in dns.c, where we were trying to dequeue
  11215. a pending dns resolve even if it wasn't pending
  11216. - Fix a spurious socks5 warning about still trying to write after the
  11217. connection is finished.
  11218. - Hold certain marked_for_close connections open until they're finished
  11219. flushing, rather than losing bytes by closing them too early.
  11220. - Correctly report the reason for ending a stream
  11221. - Remove some duplicate calls to connection_mark_for_close
  11222. - Put switch_id and start_daemon earlier in the boot sequence, so it
  11223. will actually try to chdir() to options.DataDirectory
  11224. - Make 'make test' exit(1) if a test fails; fix some unit tests
  11225. - Make tor fail when you use a config option it doesn't know about,
  11226. rather than warn and continue.
  11227. - Make --version work
  11228. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  11229. Changes in version 0.0.2pre23 - 2004-02-29
  11230. o New features:
  11231. - Print a statement when the first circ is finished, so the user
  11232. knows it's working.
  11233. - If a relay cell is unrecognized at the end of the circuit,
  11234. send back a destroy. (So attacks to mutate cells are more
  11235. clearly thwarted.)
  11236. - New config option 'excludenodes' to avoid certain nodes for circuits.
  11237. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  11238. so you can collect coredumps there.
  11239. o Bugfixes:
  11240. - Fix a bug in tls flushing where sometimes data got wedged and
  11241. didn't flush until more data got sent. Hopefully this bug was
  11242. a big factor in the random delays we were seeing.
  11243. - Make 'connected' cells include the resolved IP, so the client
  11244. dns cache actually gets populated.
  11245. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  11246. - When we time-out on a stream and detach from the circuit, send an
  11247. end cell down it first.
  11248. - Only warn about an unknown router (in exitnodes, entrynodes,
  11249. excludenodes) after we've fetched a directory.
  11250. Changes in version 0.0.2pre22 - 2004-02-26
  11251. o New features:
  11252. - Servers publish less revealing uname information in descriptors.
  11253. - More memory tracking and assertions, to crash more usefully when
  11254. errors happen.
  11255. - If the default torrc isn't there, just use some default defaults.
  11256. Plus provide an internal dirservers file if they don't have one.
  11257. - When the user tries to use Tor as an http proxy, give them an http
  11258. 501 failure explaining that we're a socks proxy.
  11259. - Dump a new router.desc on hup, to help confused people who change
  11260. their exit policies and then wonder why router.desc doesn't reflect
  11261. it.
  11262. - Clean up the generic tor.sh init script that we ship with.
  11263. o Bugfixes:
  11264. - If the exit stream is pending on the resolve, and a destroy arrives,
  11265. then the stream wasn't getting removed from the pending list. I
  11266. think this was the one causing recent server crashes.
  11267. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  11268. - When it couldn't resolve any dirservers, it was useless from then on.
  11269. Now it reloads the RouterFile (or default dirservers) if it has no
  11270. dirservers.
  11271. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  11272. many users don't even *have* a /usr/local/sbin/.
  11273. Changes in version 0.0.2pre21 - 2004-02-18
  11274. o New features:
  11275. - There's a ChangeLog file that actually reflects the changelog.
  11276. - There's a 'torify' wrapper script, with an accompanying
  11277. tor-tsocks.conf, that simplifies the process of using tsocks for
  11278. tor. It even has a man page.
  11279. - The tor binary gets installed to sbin rather than bin now.
  11280. - Retry streams where the connected cell hasn't arrived in 15 seconds
  11281. - Clean up exit policy handling -- get the default out of the torrc,
  11282. so we can update it without forcing each server operator to fix
  11283. his/her torrc.
  11284. - Allow imaps and pop3s in default exit policy
  11285. o Bugfixes:
  11286. - Prevent picking middleman nodes as the last node in the circuit
  11287. Changes in version 0.0.2pre20 - 2004-01-30
  11288. o New features:
  11289. - We now have a deb package, and it's in debian unstable. Go to
  11290. it, apt-getters. :)
  11291. - I've split the TotalBandwidth option into BandwidthRate (how many
  11292. bytes per second you want to allow, long-term) and
  11293. BandwidthBurst (how many bytes you will allow at once before the cap
  11294. kicks in). This better token bucket approach lets you, say, set
  11295. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  11296. performance while not exceeding your monthly bandwidth quota.
  11297. - Push out a tls record's worth of data once you've got it, rather
  11298. than waiting until you've read everything waiting to be read. This
  11299. may improve performance by pipelining better. We'll see.
  11300. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  11301. from failed circuits (if they haven't been connected yet) and attach
  11302. to new ones.
  11303. - Expire old streams that haven't managed to connect. Some day we'll
  11304. have them reattach to new circuits instead.
  11305. o Bugfixes:
  11306. - Fix several memory leaks that were causing servers to become bloated
  11307. after a while.
  11308. - Fix a few very rare assert triggers. A few more remain.
  11309. - Setuid to User _before_ complaining about running as root.
  11310. Changes in version 0.0.2pre19 - 2004-01-07
  11311. o Bugfixes:
  11312. - Fix deadlock condition in dns farm. We were telling a child to die by
  11313. closing the parent's file descriptor to him. But newer children were
  11314. inheriting the open file descriptor from the parent, and since they
  11315. weren't closing it, the socket never closed, so the child never read
  11316. eof, so he never knew to exit. Similarly, dns workers were holding
  11317. open other sockets, leading to all sorts of chaos.
  11318. - New cleaner daemon() code for forking and backgrounding.
  11319. - If you log to a file, it now prints an entry at the top of the
  11320. logfile so you know it's working.
  11321. - The onionskin challenge length was 30 bytes longer than necessary.
  11322. - Started to patch up the spec so it's not quite so out of date.
  11323. Changes in version 0.0.2pre18 - 2004-01-02
  11324. o Bugfixes:
  11325. - Fix endian issues with the 'integrity' field in the relay header.
  11326. - Fix a potential bug where connections in state
  11327. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  11328. Changes in version 0.0.2pre17 - 2003-12-30
  11329. o Bugfixes:
  11330. - Made --debuglogfile (or any second log file, actually) work.
  11331. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  11332. adversary could force us into an infinite loop.
  11333. o Features:
  11334. - Each onionskin handshake now includes a hash of the computed key,
  11335. to prove the server's identity and help perfect forward secrecy.
  11336. - Changed cell size from 256 to 512 bytes (working toward compatibility
  11337. with MorphMix).
  11338. - Changed cell length to 2 bytes, and moved it to the relay header.
  11339. - Implemented end-to-end integrity checking for the payloads of
  11340. relay cells.
  11341. - Separated streamid from 'recognized' (otherwise circuits will get
  11342. messed up when we try to have streams exit from the middle). We
  11343. use the integrity-checking to confirm that a cell is addressed to
  11344. this hop.
  11345. - Randomize the initial circid and streamid values, so an adversary who
  11346. breaks into a node can't learn how many circuits or streams have
  11347. been made so far.
  11348. Changes in version 0.0.2pre16 - 2003-12-14
  11349. o Bugfixes:
  11350. - Fixed a bug that made HUP trigger an assert
  11351. - Fixed a bug where a circuit that immediately failed wasn't being
  11352. counted as a failed circuit in counting retries.
  11353. o Features:
  11354. - Now we close the circuit when we get a truncated cell: otherwise we're
  11355. open to an anonymity attack where a bad node in the path truncates
  11356. the circuit and then we open streams at him.
  11357. - Add port ranges to exit policies
  11358. - Add a conservative default exit policy
  11359. - Warn if you're running tor as root
  11360. - on HUP, retry OR connections and close/rebind listeners
  11361. - options.EntryNodes: try these nodes first when picking the first node
  11362. - options.ExitNodes: if your best choices happen to include any of
  11363. your preferred exit nodes, you choose among just those preferred
  11364. exit nodes.
  11365. - options.ExcludedNodes: nodes that are never picked in path building
  11366. Changes in version 0.0.2pre15 - 2003-12-03
  11367. o Robustness and bugfixes:
  11368. - Sometimes clients would cache incorrect DNS resolves, which would
  11369. really screw things up.
  11370. - An OP that goes offline would slowly leak all its sockets and stop
  11371. working.
  11372. - A wide variety of bugfixes in exit node selection, exit policy
  11373. handling, and processing pending streams when a new circuit is
  11374. established.
  11375. - Pick nodes for a path only from those the directory says are up
  11376. - Choose randomly from all running dirservers, not always the first one
  11377. - Increase allowed http header size for directory fetch.
  11378. - Stop writing to stderr (if we're daemonized it will be closed).
  11379. - Enable -g always, so cores will be more useful to me.
  11380. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  11381. o Documentation:
  11382. - Wrote a man page. It lists commonly used options.
  11383. o Configuration:
  11384. - Change default loglevel to warn.
  11385. - Make PidFile default to null rather than littering in your CWD.
  11386. - OnionRouter config option is now obsolete. Instead it just checks
  11387. ORPort>0.
  11388. - Moved to a single unified torrc file for both clients and servers.
  11389. Changes in version 0.0.2pre14 - 2003-11-29
  11390. o Robustness and bugfixes:
  11391. - Force the admin to make the DataDirectory himself
  11392. - to get ownership/permissions right
  11393. - so clients no longer make a DataDirectory and then never use it
  11394. - fix bug where a client who was offline for 45 minutes would never
  11395. pull down a directory again
  11396. - fix (or at least hide really well) the dns assert bug that was
  11397. causing server crashes
  11398. - warnings and improved robustness wrt clockskew for certs
  11399. - use the native daemon(3) to daemonize, when available
  11400. - exit if bind() fails
  11401. - exit if neither socksport nor orport is defined
  11402. - include our own tor_timegm (Win32 doesn't have its own)
  11403. - bugfix for win32 with lots of connections
  11404. - fix minor bias in PRNG
  11405. - make dirserver more robust to corrupt cached directory
  11406. o Documentation:
  11407. - Wrote the design document (woo)
  11408. o Circuit building and exit policies:
  11409. - Circuits no longer try to use nodes that the directory has told them
  11410. are down.
  11411. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  11412. bitcounts (18.0.0.0/8).
  11413. - Make AP connections standby for a circuit if no suitable circuit
  11414. exists, rather than failing
  11415. - Circuits choose exit node based on addr/port, exit policies, and
  11416. which AP connections are standing by
  11417. - Bump min pathlen from 2 to 3
  11418. - Relay end cells have a payload to describe why the stream ended.
  11419. - If the stream failed because of exit policy, try again with a new
  11420. circuit.
  11421. - Clients have a dns cache to remember resolved addresses.
  11422. - Notice more quickly when we have no working circuits
  11423. o Configuration:
  11424. - APPort is now called SocksPort
  11425. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  11426. where to bind
  11427. - RecommendedVersions is now a config variable rather than
  11428. hardcoded (for dirservers)
  11429. - Reloads config on HUP
  11430. - Usage info on -h or --help
  11431. - If you set User and Group config vars, it'll setu/gid to them.
  11432. Changes in version 0.0.2pre13 - 2003-10-19
  11433. o General stability:
  11434. - SSL_write no longer fails when it returns WANTWRITE and the number
  11435. of bytes in the buf has changed by the next SSL_write call.
  11436. - Fix segfault fetching directory when network is down
  11437. - Fix a variety of minor memory leaks
  11438. - Dirservers reload the fingerprints file on HUP, so I don't have
  11439. to take down the network when I approve a new router
  11440. - Default server config file has explicit Address line to specify fqdn
  11441. o Buffers:
  11442. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  11443. - Make listener connections not ever alloc bufs
  11444. o Autoconf improvements:
  11445. - don't clobber an external CFLAGS in ./configure
  11446. - Make install now works
  11447. - create var/lib/tor on make install
  11448. - autocreate a tor.sh initscript to help distribs
  11449. - autocreate the torrc and sample-server-torrc with correct paths
  11450. o Log files and Daemonizing now work:
  11451. - If --DebugLogFile is specified, log to it at -l debug
  11452. - If --LogFile is specified, use it instead of commandline
  11453. - If --RunAsDaemon is set, tor forks and backgrounds on startup