ChangeLog 686 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278
  1. Changes in version 0.2.3.16-alpha - 2012-06-05
  2. Tor 0.2.3.16-alpha introduces a workaround for a critical renegotiation
  3. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  4. currently). It also fixes a variety of smaller bugs and other cleanups
  5. that get us closer to a release candidate.
  6. o Major bugfixes (general):
  7. - Work around a bug in OpenSSL that broke renegotiation with TLS
  8. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  9. the v2 Tor connection protocol when both sides were using OpenSSL
  10. 1.0.1 would fail. Resolves ticket 6033.
  11. - When waiting for a client to renegotiate, don't allow it to add
  12. any bytes to the input buffer. This fixes a potential DoS issue.
  13. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  14. - Pass correct OR address to managed proxies (like obfsproxy),
  15. even when ORListenAddress is used. Fixes bug 4865; bugfix on
  16. 0.2.3.9-alpha.
  17. - The advertised platform of a router now includes only its operating
  18. system's name (e.g., "Linux", "Darwin", "Windows 7"), and not its
  19. service pack level (for Windows) or its CPU architecture (for Unix).
  20. We also no longer include the "git-XYZ" tag in the version. Resolves
  21. part of bug 2988.
  22. o Major bugfixes (clients):
  23. - If we are unable to find any exit that supports our predicted ports,
  24. stop calling them predicted, so that we don't loop and build
  25. hopeless circuits indefinitely. Fixes bug 3296; bugfix on 0.0.9pre6,
  26. which introduced predicted ports.
  27. - Fix an edge case where if we fetch or publish a hidden service
  28. descriptor, we might build a 4-hop circuit and then use that circuit
  29. for exiting afterwards -- even if the new last hop doesn't obey our
  30. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  31. - Check at each new consensus whether our entry guards were picked
  32. long enough ago that we should rotate them. Previously, we only
  33. did this check at startup, which could lead to us holding a guard
  34. indefinitely. Fixes bug 5380; bugfix on 0.2.1.14-rc.
  35. - When fetching a bridge descriptor from a bridge authority,
  36. always do so anonymously, whether we have been able to open
  37. circuits or not. Partial fix for bug 1938; bugfix on 2.0.7-alpha.
  38. This behavior makes it *safer* to use UpdateBridgesFromAuthority,
  39. but we'll need to wait for bug 6010 before it's actually usable.
  40. o Major bugfixes (directory authorities):
  41. - When computing weight parameters, behave more robustly in the
  42. presence of a bad bwweightscale value. Previously, the authorities
  43. would crash if they agreed on a sufficiently broken weight_scale
  44. value: now, they use a reasonable default and carry on. Partial
  45. fix for 5786; bugfix on 0.2.2.17-alpha.
  46. - Check more thoroughly to prevent a rogue authority from
  47. double-voting on any consensus directory parameter. Previously,
  48. authorities would crash in this case if the total number of
  49. votes for any parameter exceeded the number of active voters,
  50. but would let it pass otherwise. Partial fix for bug 5786; bugfix
  51. on 0.2.2.2-alpha.
  52. o Minor features:
  53. - Rate-limit log messages when asked to connect anonymously to
  54. a private address. When these hit, they tended to hit fast and
  55. often. Also, don't bother trying to connect to addresses that we
  56. are sure will resolve to 127.0.0.1: getting 127.0.0.1 in a directory
  57. reply makes us think we have been lied to, even when the address the
  58. client tried to connect to was "localhost." Resolves ticket 2822.
  59. - Allow packagers to insert an extra string in server descriptor
  60. platform lines by setting the preprocessor variable TOR_BUILD_TAG.
  61. Resolves the rest of ticket 2988.
  62. - Raise the threshold of server descriptors needed (75%) and exit
  63. server descriptors needed (50%) before we will declare ourselves
  64. bootstrapped. This will make clients start building circuits a
  65. little later, but makes the initially constructed circuits less
  66. skewed and less in conflict with further directory fetches. Fixes
  67. ticket 3196.
  68. - Close any connection that sends unrecognized junk before the
  69. handshake. Solves an issue noted in bug 4369.
  70. - Improve log messages about managed transports. Resolves ticket 5070.
  71. - Tag a bridge's descriptor as "never to be sent unencrypted".
  72. This shouldn't matter, since bridges don't open non-anonymous
  73. connections to the bridge authority and don't allow unencrypted
  74. directory connections from clients, but we might as well make
  75. sure. Closes bug 5139.
  76. - Expose our view of whether we have gone dormant to the controller,
  77. via a new "GETINFO dormant" value. Torbutton and other controllers
  78. can use this to avoid doing periodic requests through Tor while
  79. it's dormant (bug 4718). Fixes bug 5954.
  80. - Tell GCC and Clang to check for any errors in format strings passed
  81. to the tor_v*(print|scan)f functions.
  82. - Update to the May 1 2012 Maxmind GeoLite Country database.
  83. o Minor bugfixes (already included in 0.2.2.36):
  84. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  85. Fixes bug 5346; bugfix on 0.0.8pre3.
  86. - Correct parsing of certain date types in parse_http_time().
  87. Without this patch, If-Modified-Since would behave
  88. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  89. Esteban Manchado Velázques.
  90. - Make our number-parsing functions always treat too-large values
  91. as an error, even when those values exceed the width of the
  92. underlying type. Previously, if the caller provided these
  93. functions with minima or maxima set to the extreme values of the
  94. underlying integer type, these functions would return those
  95. values on overflow rather than treating overflow as an error.
  96. Fixes part of bug 5786; bugfix on 0.0.9.
  97. - If we hit the error case where routerlist_insert() replaces an
  98. existing (old) server descriptor, make sure to remove that
  99. server descriptor from the old_routers list. Fix related to bug
  100. 1776. Bugfix on 0.2.2.18-alpha.
  101. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  102. circuits. Fixes issue 5259.
  103. o Minor bugfixes (coding cleanup, on 0.2.2.x and earlier):
  104. - Prevent a null-pointer dereference when receiving a data cell
  105. for a nonexistent stream when the circuit in question has an
  106. empty deliver window. We don't believe this is triggerable,
  107. since we don't currently allow deliver windows to become empty,
  108. but the logic is tricky enough that it's better to make the code
  109. robust. Fixes bug 5541; bugfix on 0.0.2pre14.
  110. - Fix a memory leak when trying to launch a DNS request when the
  111. network is disabled or the nameservers are unconfigurable. Fixes
  112. bug 5916; bugfix on Tor 0.1.2.1-alpha (for the unconfigurable
  113. nameserver case) and on 0.2.3.9-alpha (for the DisableNetwork case).
  114. - Don't hold a windows file handle open for every file mapping;
  115. the file mapping handle is sufficient. Fixes bug 5951; bugfix on
  116. 0.1.2.1-alpha.
  117. - Avoid O(n^2) performance characteristics when parsing a large
  118. extrainfo cache. Fixes bug 5828; bugfix on 0.2.0.1-alpha.
  119. - Format more doubles with %f, not %lf. Patch from grarpamp to make
  120. Tor build correctly on older BSDs again. Fixes bug 3894; bugfix on
  121. Tor 0.2.0.8-alpha.
  122. - Make our replacement implementation of strtok_r() compatible with
  123. the standard behavior of strtok_r(). Patch by nils. Fixes bug 5091;
  124. bugfix on 0.2.2.1-alpha.
  125. - Fix a NULL-pointer dereference on a badly formed
  126. SETCIRCUITPURPOSE command. Found by mikeyc. Fixes bug 5796;
  127. bugfix on 0.2.2.9-alpha.
  128. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  129. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  130. - Defensively refactor rend_mid_rendezvous() so that protocol
  131. violations and length checks happen in the beginning. Fixes
  132. bug 5645.
  133. - Set _WIN32_WINNT to 0x0501 consistently throughout the code, so
  134. that IPv6 stuff will compile on MSVC, and compilation issues
  135. will be easier to track down. Fixes bug 5861.
  136. o Minor bugfixes (correctness, on 0.2.2.x and earlier):
  137. - Exit nodes now correctly report EADDRINUSE and EADDRNOTAVAIL as
  138. resource exhaustion, so that clients can adjust their load to
  139. try other exits. Fixes bug 4710; bugfix on 0.1.0.1-rc, which
  140. started using END_STREAM_REASON_RESOURCELIMIT.
  141. - Don't check for whether the address we're using for outbound
  142. connections has changed until after the outbound connection has
  143. completed. On Windows, getsockname() doesn't succeed until the
  144. connection is finished. Fixes bug 5374; bugfix on 0.1.1.14-alpha.
  145. - If the configuration tries to set MyFamily on a bridge, refuse to
  146. do so, and warn about the security implications. Fixes bug 4657;
  147. bugfix on 0.2.0.3-alpha.
  148. - If the client fails to set a reasonable set of ciphersuites
  149. during its v2 handshake renegotiation, allow the renegotiation to
  150. continue nevertheless (i.e. send all the required certificates).
  151. Fixes bug 4591; bugfix on 0.2.0.20-rc.
  152. - When we receive a SIGHUP and the controller __ReloadTorrcOnSIGHUP
  153. option is set to 0 (which Vidalia version 0.2.16 now does when
  154. a SAVECONF attempt fails), perform other actions that SIGHUP
  155. usually causes (like reopening the logs). Fixes bug 5095; bugfix
  156. on 0.2.1.9-alpha.
  157. - If we fail to write a microdescriptor to the disk cache, do not
  158. continue replacing the old microdescriptor file. Fixes bug 2954;
  159. bugfix on 0.2.2.6-alpha.
  160. - Exit nodes don't need to fetch certificates for authorities that
  161. they don't recognize; only directory authorities, bridges,
  162. and caches need to do that. Fixes part of bug 2297; bugfix on
  163. 0.2.2.11-alpha.
  164. - Correctly handle checking the permissions on the parent
  165. directory of a control socket in the root directory. Bug found
  166. by Esteban Manchado Velázquez. Fixes bug 5089; bugfix on Tor
  167. 0.2.2.26-beta.
  168. - When told to add a bridge with the same digest as a preexisting
  169. bridge but a different addr:port, change the addr:port as
  170. requested. Previously we would not notice the change. Fixes half
  171. of bug 5603; fix on 0.2.2.26-beta.
  172. - End AUTHCHALLENGE error messages (in the control protocol) with
  173. a CRLF. Fixes bug 5760; bugfix on 0.2.2.36 and 0.2.3.13-alpha.
  174. o Minor bugfixes (on 0.2.3.x):
  175. - Turn an assertion (that the number of handshakes received as a
  176. server is not < 1) into a warning. Fixes bug 4873; bugfix on
  177. 0.2.3.1-alpha.
  178. - Format IPv4 addresses correctly in ADDRMAP events. (Previously,
  179. we had reversed them when the answer was cached.) Fixes bug
  180. 5723; bugfix on 0.2.3.1-alpha.
  181. - Work correctly on Linux systems with accept4 support advertised in
  182. their headers, but without accept4 support in the kernel. Fix
  183. by murb. Fixes bug 5762; bugfix on 0.2.3.1-alpha.
  184. - When told to add a bridge with the same addr:port as a preexisting
  185. bridge but a different transport, change the transport as
  186. requested. Previously we would not notice the change. Fixes half
  187. of bug 5603; fix on 0.2.3.2-alpha.
  188. - Avoid a "double-reply" warning when replying to a SOCKS request
  189. with a parse error. Patch from Fabian Keil. Fixes bug 4108;
  190. bugfix on 0.2.3.4-alpha.
  191. - Fix a bug where a bridge authority crashes if it has seen no
  192. directory requests when it's time to write statistics to disk.
  193. Fixes bug 5891; bugfix on 0.2.3.6-alpha. Also fixes bug 5508 in
  194. a better way.
  195. - Don't try to open non-control listeners when DisableNetwork is set.
  196. Previously, we'd open all listeners, then immediately close them.
  197. Fixes bug 5604; bugfix on 0.2.3.9-alpha.
  198. - Don't abort the managed proxy protocol if the managed proxy
  199. sends us an unrecognized line; ignore it instead. Fixes bug
  200. 5910; bugfix on 0.2.3.9-alpha.
  201. - Fix a compile warning in crypto.c when compiling with clang 3.1.
  202. Fixes bug 5969, bugfix on 0.2.3.9-alpha.
  203. - Fix a compilation issue on GNU Hurd, which doesn't have PATH_MAX.
  204. Fixes bug 5355; bugfix on 0.2.3.11-alpha.
  205. - Remove bogus definition of "_WIN32" from src/win32/orconfig.h, to
  206. unbreak the MSVC build. Fixes bug 5858; bugfix on 0.2.3.12-alpha.
  207. - Resolve numerous small warnings and build issues with MSVC. Resolves
  208. bug 5859.
  209. o Documentation fixes:
  210. - Improve the manual's documentation for the NT Service command-line
  211. options. Addresses ticket 3964.
  212. - Clarify SessionGroup documentation slightly; resolves ticket 5437.
  213. - Document the changes to the ORPort and DirPort options, and the
  214. fact that {OR/Dir}ListenAddress is now unnecessary (and
  215. therefore deprecated). Resolves ticket 5597.
  216. o Removed files:
  217. - Remove the torrc.bridge file: we don't use it for anything, and
  218. it had become badly desynchronized from torrc.sample. Resolves
  219. bug 5622.
  220. Changes in version 0.2.2.36 - 2012-05-24
  221. Tor 0.2.2.36 updates the addresses for two of the eight directory
  222. authorities, fixes some potential anonymity and security issues,
  223. and fixes several crash bugs.
  224. Tor 0.2.1.x has reached its end-of-life. Those Tor versions have many
  225. known flaws, and nobody should be using them. You should upgrade. If
  226. you're using a Linux or BSD and its packages are obsolete, stop using
  227. those packages and upgrade anyway.
  228. o Directory authority changes:
  229. - Change IP address for maatuska (v3 directory authority).
  230. - Change IP address for ides (v3 directory authority), and rename
  231. it to turtles.
  232. o Security fixes:
  233. - When building or running with any version of OpenSSL earlier
  234. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  235. versions have a bug (CVE-2011-4576) in which their block cipher
  236. padding includes uninitialized data, potentially leaking sensitive
  237. information to any peer with whom they make a SSLv3 connection. Tor
  238. does not use SSL v3 by default, but a hostile client or server
  239. could force an SSLv3 connection in order to gain information that
  240. they shouldn't have been able to get. The best solution here is to
  241. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  242. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  243. to make sure that the bug can't happen.
  244. - Never use a bridge or a controller-supplied node as an exit, even
  245. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  246. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  247. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  248. - Only build circuits if we have a sufficient threshold of the total
  249. descriptors that are marked in the consensus with the "Exit"
  250. flag. This mitigates an attack proposed by wanoskarnet, in which
  251. all of a client's bridges collude to restrict the exit nodes that
  252. the client knows about. Fixes bug 5343.
  253. - Provide controllers with a safer way to implement the cookie
  254. authentication mechanism. With the old method, if another locally
  255. running program could convince a controller that it was the Tor
  256. process, then that program could trick the controller into telling
  257. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  258. authentication method uses a challenge-response approach to prevent
  259. this attack. Fixes bug 5185; implements proposal 193.
  260. o Major bugfixes:
  261. - Avoid logging uninitialized data when unable to decode a hidden
  262. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  263. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  264. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  265. 0.2.1.6-alpha.
  266. - Fix builds when the path to sed, openssl, or sha1sum contains
  267. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  268. on 0.2.2.1-alpha.
  269. - Correct our replacements for the timeradd() and timersub() functions
  270. on platforms that lack them (for example, Windows). The timersub()
  271. function is used when expiring circuits, while timeradd() is
  272. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  273. bugfix on 0.2.2.24-alpha.
  274. - Fix the SOCKET_OK test that we use to tell when socket
  275. creation fails so that it works on Win64. Fixes part of bug 4533;
  276. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  277. o Minor bugfixes:
  278. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  279. Fixes bug 5346; bugfix on 0.0.8pre3.
  280. - Make our number-parsing functions always treat too-large values
  281. as an error, even when those values exceed the width of the
  282. underlying type. Previously, if the caller provided these
  283. functions with minima or maxima set to the extreme values of the
  284. underlying integer type, these functions would return those
  285. values on overflow rather than treating overflow as an error.
  286. Fixes part of bug 5786; bugfix on 0.0.9.
  287. - Older Linux kernels erroneously respond to strange nmap behavior
  288. by having accept() return successfully with a zero-length
  289. socket. When this happens, just close the connection. Previously,
  290. we would try harder to learn the remote address: but there was
  291. no such remote address to learn, and our method for trying to
  292. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  293. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  294. - Correct parsing of certain date types in parse_http_time().
  295. Without this patch, If-Modified-Since would behave
  296. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  297. Esteban Manchado Velázques.
  298. - Change the BridgePassword feature (part of the "bridge community"
  299. design, which is not yet implemented) to use a time-independent
  300. comparison. The old behavior might have allowed an adversary
  301. to use timing to guess the BridgePassword value. Fixes bug 5543;
  302. bugfix on 0.2.0.14-alpha.
  303. - Detect and reject certain misformed escape sequences in
  304. configuration values. Previously, these values would cause us
  305. to crash if received in a torrc file or over an authenticated
  306. control port. Bug found by Esteban Manchado Velázquez, and
  307. independently by Robert Connolly from Matta Consulting who further
  308. noted that it allows a post-authentication heap overflow. Patch
  309. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  310. bugfix on 0.2.0.16-alpha.
  311. - Fix a compile warning when using the --enable-openbsd-malloc
  312. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  313. - During configure, detect when we're building with clang version
  314. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  315. CFLAGS. clang doesn't support them yet.
  316. - When sending an HTTP/1.1 proxy request, include a Host header.
  317. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  318. - Fix a NULL-pointer dereference on a badly formed SETCIRCUITPURPOSE
  319. command. Found by mikeyc. Fixes bug 5796; bugfix on 0.2.2.9-alpha.
  320. - If we hit the error case where routerlist_insert() replaces an
  321. existing (old) server descriptor, make sure to remove that
  322. server descriptor from the old_routers list. Fix related to bug
  323. 1776. Bugfix on 0.2.2.18-alpha.
  324. o Minor bugfixes (documentation and log messages):
  325. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  326. Fixes bug 4856; bugfix on Tor 0.0.6.
  327. - Update "ClientOnly" man page entry to explain that there isn't
  328. really any point to messing with it. Resolves ticket 5005.
  329. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  330. directory authority option (introduced in Tor 0.2.2.34).
  331. - Downgrade the "We're missing a certificate" message from notice
  332. to info: people kept mistaking it for a real problem, whereas it
  333. is seldom the problem even when we are failing to bootstrap. Fixes
  334. bug 5067; bugfix on 0.2.0.10-alpha.
  335. - Correctly spell "connect" in a log message on failure to create a
  336. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta.
  337. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  338. circuits. Fixes issue 5259.
  339. o Minor features:
  340. - Directory authorities now reject versions of Tor older than
  341. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  342. inclusive. These versions accounted for only a small fraction of
  343. the Tor network, and have numerous known security issues. Resolves
  344. issue 4788.
  345. - Update to the May 1 2012 Maxmind GeoLite Country database.
  346. - Feature removal:
  347. - When sending or relaying a RELAY_EARLY cell, we used to convert
  348. it to a RELAY cell if the connection was using the v1 link
  349. protocol. This was a workaround for older versions of Tor, which
  350. didn't handle RELAY_EARLY cells properly. Now that all supported
  351. versions can handle RELAY_EARLY cells, and now that we're enforcing
  352. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  353. remove this workaround. Addresses bug 4786.
  354. Changes in version 0.2.3.15-alpha - 2012-04-30
  355. Tor 0.2.3.15-alpha fixes a variety of smaller bugs, including making
  356. the development branch build on Windows again.
  357. o Minor bugfixes (on 0.2.2.x and earlier):
  358. - Make sure that there are no unhandled pending TLS errors before
  359. reading from a TLS stream. We had checks in 0.1.0.3-rc, but
  360. lost them in 0.1.0.5-rc when we refactored read_to_buf_tls().
  361. Bugfix on 0.1.0.5-rc; fixes bug 4528.
  362. - Fix an assert that directory authorities could trigger on sighup
  363. during some configuration state transitions. We now don't treat
  364. it as a fatal error when the new descriptor we just generated in
  365. init_keys() isn't accepted. Fixes bug 4438; bugfix on 0.2.1.9-alpha.
  366. - After we pick a directory mirror, we would refuse to use it if
  367. it's in our ExcludeExitNodes list, resulting in mysterious failures
  368. to bootstrap for people who just wanted to avoid exiting from
  369. certain locations. Fixes bug 5623; bugfix on 0.2.2.25-alpha.
  370. - When building with --enable-static-tor on OpenBSD, do not
  371. erroneously attempt to link -lrt. Fixes bug 5103.
  372. o Minor bugfixes (on 0.2.3.x):
  373. - When Tor is built with kernel headers from a recent (last few
  374. years) Linux kernel, do not fail to run on older (pre-2.6.28
  375. Linux kernels). Fixes bug 5112; bugfix on 0.2.3.1-alpha.
  376. - Fix cross-compilation issues with mingw. Bugfixes on 0.2.3.6-alpha
  377. and 0.2.3.12-alpha.
  378. - Fix compilation with miniupnpc version 1.6; patch from
  379. Anthony G. Basile. Fixes bug 5434; bugfix on 0.2.3.12-alpha.
  380. - Fix compilation with MSVC, which had defined MS_WINDOWS. Bugfix
  381. on 0.2.3.13-alpha; found and fixed by Gisle Vanem.
  382. - Fix compilation on platforms without unistd.h, or where environ
  383. is defined in stdlib.h. Fixes bug 5704; bugfix on 0.2.3.13-alpha.
  384. o Minor features:
  385. - Directory authorities are now a little more lenient at accepting
  386. older router descriptors, or newer router descriptors that don't
  387. make big changes. This should help ameliorate past and future
  388. issues where routers think they have uploaded valid descriptors,
  389. but the authorities don't think so. Fix for ticket 2479.
  390. - Make the code that clients use to detect an address change be
  391. IPv6-aware, so that it won't fill clients' logs with error
  392. messages when trying to get the IPv4 address of an IPv6
  393. connection. Implements ticket 5537.
  394. o Removed features:
  395. - Remove the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays option;
  396. authorities needed to use it for a while to keep the network working
  397. as people upgraded to 0.2.1.31, 0.2.2.34, or 0.2.3.6-alpha, but
  398. that was six months ago. As of now, it should no longer be needed
  399. or used.
  400. Changes in version 0.2.3.14-alpha - 2012-04-23
  401. Tor 0.2.3.14-alpha fixes yet more bugs to get us closer to a release
  402. candidate. It also dramatically speeds up AES: fast relays should
  403. consider switching to the newer OpenSSL library.
  404. o Directory authority changes:
  405. - Change IP address for ides (v3 directory authority), and rename
  406. it to turtles.
  407. o Major bugfixes:
  408. - Avoid logging uninitialized data when unable to decode a hidden
  409. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  410. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  411. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  412. 0.2.1.6-alpha.
  413. - If authorities are unable to get a v2 consensus document from other
  414. directory authorities, they no longer fall back to fetching
  415. them from regular directory caches. Fixes bug 5635; bugfix on
  416. 0.2.2.26-beta, where routers stopped downloading v2 consensus
  417. documents entirely.
  418. - When we start a Tor client with a normal consensus already cached,
  419. be willing to download a microdescriptor consensus. Fixes bug 4011;
  420. fix on 0.2.3.1-alpha.
  421. o Major features (performance):
  422. - When built to use OpenSSL 1.0.1, and built for an x86 or x86_64
  423. instruction set, take advantage of OpenSSL's AESNI, bitsliced, or
  424. vectorized AES implementations as appropriate. These can be much,
  425. much faster than other AES implementations.
  426. o Minor bugfixes (0.2.2.x and earlier):
  427. - Don't launch more than 10 service-side introduction-point circuits
  428. for a hidden service in five minutes. Previously, we would consider
  429. launching more introduction-point circuits if at least one second
  430. had passed without any introduction-point circuits failing. Fixes
  431. bug 4607; bugfix on 0.0.7pre1.
  432. - Change the BridgePassword feature (part of the "bridge community"
  433. design, which is not yet implemented) to use a time-independent
  434. comparison. The old behavior might have allowed an adversary
  435. to use timing to guess the BridgePassword value. Fixes bug 5543;
  436. bugfix on 0.2.0.14-alpha.
  437. - Enforce correct return behavior of tor_vsscanf() when the '%%'
  438. pattern is used. Fixes bug 5558. Bugfix on 0.2.1.13.
  439. - When sending an HTTP/1.1 proxy request, include a Host header.
  440. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  441. - Don't log that we have "decided to publish new relay descriptor"
  442. unless we are actually publishing a descriptor. Fixes bug 3942;
  443. bugfix on 0.2.2.28-beta.
  444. o Minor bugfixes (0.2.3.x):
  445. - Fix a bug where a bridge authority crashes (on a failed assert)
  446. if it has seen no directory requests when it's time to write
  447. statistics to disk. Fixes bug 5508. Bugfix on 0.2.3.6-alpha.
  448. - Fix bug stomping on ORPort option NoListen and ignoring option
  449. NoAdvertise. Fixes bug 5151; bugfix on 0.2.3.9-alpha.
  450. - In the testsuite, provide a large enough buffer in the tor_sscanf
  451. unit test. Otherwise we'd overrun that buffer and crash during
  452. the unit tests. Found by weasel. Fixes bug 5449; bugfix on
  453. 0.2.3.12-alpha.
  454. - Make sure we create the keys directory if it doesn't exist and we're
  455. about to store the dynamic Diffie-Hellman parameters. Fixes bug
  456. 5572; bugfix on 0.2.3.13-alpha.
  457. - Fix a small memory leak when trying to decode incorrect base16
  458. authenticator during SAFECOOKIE authentication. Found by
  459. Coverity Scan. Fixes CID 507. Bugfix on 0.2.3.13-alpha.
  460. o Minor features:
  461. - Add more information to a log statement that might help track down
  462. bug 4091. If you're seeing "Bug: tor_addr_is_internal() called with a
  463. non-IP address" messages (or any Bug messages, for that matter!),
  464. please let us know about it.
  465. - Relays now understand an IPv6 address when they get one from a
  466. directory server. Resolves ticket 4875.
  467. - Resolve IPv6 addresses in bridge and entry statistics to country
  468. code "??" which means we at least count them. Resolves ticket 5053;
  469. improves on 0.2.3.9-alpha.
  470. - Update to the April 3 2012 Maxmind GeoLite Country database.
  471. - Begin a doc/state-contents.txt file to explain the contents of
  472. the Tor state file. Fixes bug 2987.
  473. o Default torrc changes:
  474. - Stop listing "socksport 9050" in torrc.sample. We open a socks
  475. port on 9050 by default anyway, so this should not change anything
  476. in practice.
  477. - Stop mentioning the deprecated *ListenAddress options in
  478. torrc.sample. Fixes bug 5438.
  479. - Document unit of bandwidth related options in sample torrc.
  480. Fixes bug 5621.
  481. o Removed features:
  482. - The "torify" script no longer supports the "tsocks" socksifier
  483. tool, since tsocks doesn't support DNS and UDP right for Tor.
  484. Everyone should be using torsocks instead. Fixes bugs 3530 and
  485. 5180. Based on a patch by "ugh".
  486. o Code refactoring:
  487. - Change the symmetric cipher interface so that creating and
  488. initializing a stream cipher are no longer separate functions.
  489. - Remove all internal support for unpadded RSA. We never used it, and
  490. it would be a bad idea to start.
  491. Changes in version 0.2.3.13-alpha - 2012-03-26
  492. Tor 0.2.3.13-alpha fixes a variety of stability and correctness bugs
  493. in managed pluggable transports, as well as providing other cleanups
  494. that get us closer to a release candidate.
  495. o Directory authority changes:
  496. - Change IP address for maatuska (v3 directory authority).
  497. o Security fixes:
  498. - Provide controllers with a safer way to implement the cookie
  499. authentication mechanism. With the old method, if another locally
  500. running program could convince a controller that it was the Tor
  501. process, then that program could trick the controller into telling
  502. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  503. authentication method uses a challenge-response approach to prevent
  504. this attack. Fixes bug 5185, implements proposal 193.
  505. - Never use a bridge or a controller-supplied node as an exit, even
  506. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  507. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  508. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  509. - Only build circuits if we have a sufficient threshold of the total
  510. descriptors that are marked in the consensus with the "Exit"
  511. flag. This mitigates an attack proposed by wanoskarnet, in which
  512. all of a client's bridges collude to restrict the exit nodes that
  513. the client knows about. Fixes bug 5343.
  514. o Major bugfixes (on Tor 0.2.3.x):
  515. - Avoid an assert when managed proxies like obfsproxy are configured,
  516. and we receive HUP signals or setconf attempts too rapidly. This
  517. situation happens most commonly when Vidalia tries to attach to
  518. Tor or tries to configure the Tor it's attached to. Fixes bug 5084;
  519. bugfix on 0.2.3.6-alpha.
  520. - Fix a relay-side pluggable transports bug where managed proxies were
  521. unreachable from the Internet, because Tor asked them to bind on
  522. localhost. Fixes bug 4725; bugfix on 0.2.3.9-alpha.
  523. - Stop discarding command-line arguments when TestingTorNetwork
  524. is set. Discovered by Kevin Bauer. Fixes bug 5373; bugfix on
  525. 0.2.3.9-alpha, where task 4552 added support for two layers of
  526. torrc files.
  527. - Resume allowing the unit tests to run in gdb. This was accidentally
  528. made impossible when the DisableDebuggerAttachment option was
  529. introduced. Fixes bug 5448; bugfix on 0.2.3.9-alpha.
  530. - Resume building with nat-pmp support. Fixes bug 4955; bugfix on
  531. 0.2.3.11-alpha. Reported by Anthony G. Basile.
  532. o Minor bugfixes (on 0.2.2.x and earlier):
  533. - Ensure we don't cannibalize circuits that are longer than three hops
  534. already, so we don't end up making circuits with 5 or more
  535. hops. Patch contributed by wanoskarnet. Fixes bug 5231; bugfix on
  536. 0.1.0.1-rc which introduced cannibalization.
  537. - Detect and reject certain misformed escape sequences in
  538. configuration values. Previously, these values would cause us
  539. to crash if received in a torrc file or over an authenticated
  540. control port. Bug found by Esteban Manchado Velázquez, and
  541. independently by Robert Connolly from Matta Consulting who further
  542. noted that it allows a post-authentication heap overflow. Patch
  543. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  544. bugfix on 0.2.0.16-alpha.
  545. - Fix a compile warning when using the --enable-openbsd-malloc
  546. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  547. - Directory caches no longer refuse to clean out descriptors because
  548. of missing v2 networkstatus documents, unless they're configured
  549. to retrieve v2 networkstatus documents. Fixes bug 4838; bugfix on
  550. 0.2.2.26-beta. Patch by Daniel Bryg.
  551. - Update to the latest version of the tinytest unit testing framework.
  552. This includes a couple of bugfixes that can be relevant for
  553. running forked unit tests on Windows, and removes all reserved
  554. identifiers.
  555. o Minor bugfixes (on 0.2.3.x):
  556. - On a failed pipe() call, don't leak file descriptors. Fixes bug
  557. 4296; bugfix on 0.2.3.1-alpha.
  558. - Spec conformance: on a v3 handshake, do not send a NETINFO cell
  559. until after we have received a CERTS cell. Fixes bug 4361; bugfix
  560. on 0.2.3.6-alpha. Patch by "frosty".
  561. - When binding to an IPv6 address, set the IPV6_V6ONLY socket
  562. option, so that the IP stack doesn't decide to use it for IPv4
  563. too. Fixes bug 4760; bugfix on 0.2.3.9-alpha.
  564. - Ensure that variables set in Tor's environment cannot override
  565. environment variables that Tor passes to a managed
  566. pluggable-transport proxy. Previously, Tor would pass every
  567. variable in its environment to managed proxies along with the new
  568. ones, in such a way that on many operating systems, the inherited
  569. environment variables would override those which Tor tried to
  570. explicitly set. Bugfix on 0.2.3.12-alpha for most Unixoid systems;
  571. bugfix on 0.2.3.9-alpha for Windows.
  572. o Minor features:
  573. - A wide variety of new unit tests by Esteban Manchado Velázquez.
  574. - Shorten links in the tor-exit-notice file. Patch by Christian Kujau.
  575. - Update to the March 6 2012 Maxmind GeoLite Country database.
  576. Changes in version 0.2.3.12-alpha - 2012-02-13
  577. Tor 0.2.3.12-alpha lets fast exit relays scale better, allows clients
  578. to use bridges that run Tor 0.2.2.x, and resolves several big bugs
  579. when Tor is configured to use a pluggable transport like obfsproxy.
  580. o Major bugfixes:
  581. - Fix builds when the path to sed, openssl, or sha1sum contains
  582. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  583. on 0.2.2.1-alpha.
  584. - Set the SO_REUSEADDR socket option before we call bind() on outgoing
  585. connections. This change should allow busy exit relays to stop
  586. running out of available sockets as quickly. Fixes bug 4950;
  587. bugfix on 0.2.2.26-beta.
  588. - Allow 0.2.3.x clients to use 0.2.2.x bridges. Previously the client
  589. would ask the bridge for microdescriptors, which are only supported
  590. in 0.2.3.x, and then fail to bootstrap when it didn't get the
  591. answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha.
  592. - Properly set up obfsproxy's environment when in managed mode. The
  593. Tor Browser Bundle needs LD_LIBRARY_PATH to be passed to obfsproxy,
  594. and when you run your Tor as a daemon, there's no HOME. Fixes bugs
  595. 5076 and 5082; bugfix on 0.2.3.6-alpha.
  596. o Minor features:
  597. - Use the dead_strip option when building Tor on OS X. This reduces
  598. binary size by almost 19% when linking openssl and libevent
  599. statically, which we do for Tor Browser Bundle.
  600. - Fix broken URLs in the sample torrc file, and tell readers about
  601. the OutboundBindAddress, ExitPolicyRejectPrivate, and
  602. PublishServerDescriptor options. Addresses bug 4652.
  603. - Update to the February 7 2012 Maxmind GeoLite Country database.
  604. o Minor bugfixes:
  605. - Downgrade the "We're missing a certificate" message from notice
  606. to info: people kept mistaking it for a real problem, whereas it
  607. is seldom the problem even when we are failing to bootstrap. Fixes
  608. bug 5067; bugfix on 0.2.0.10-alpha.
  609. - Don't put "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200" in a
  610. managed pluggable transport server proxy's environment.
  611. Previously, we would put it there, even though Tor doesn't
  612. implement an 'extended server port' yet, and even though Tor
  613. almost certainly isn't listening at that address. For now, we set
  614. it to an empty string to avoid crashing older obfsproxies. Bugfix
  615. on 0.2.3.6-alpha.
  616. - Log the heartbeat message every HeartbeatPeriod seconds, not every
  617. HeartbeatPeriod + 1 seconds. Fixes bug 4942; bugfix on
  618. 0.2.3.1-alpha. Bug reported by Scott Bennett.
  619. - Calculate absolute paths correctly on Windows. Fixes bug 4973;
  620. bugfix on 0.2.3.11-alpha.
  621. - Update "ClientOnly" man page entry to explain that there isn't
  622. really any point to messing with it. Resolves ticket 5005.
  623. - Use the correct CVE number for CVE-2011-4576 in our comments and
  624. log messages. Found by "fermenthor". Resolves bug 5066; bugfix on
  625. 0.2.3.11-alpha.
  626. o Code simplifications and refactoring:
  627. - Use the _WIN32 macro throughout our code to detect Windows.
  628. (Previously we had used the obsolete 'WIN32' and the idiosyncratic
  629. 'MS_WINDOWS'.)
  630. Changes in version 0.2.3.11-alpha - 2012-01-22
  631. Tor 0.2.3.11-alpha marks feature-freeze for the 0.2.3 tree. It deploys
  632. the last step of the plan to limit maximum circuit length, includes
  633. a wide variety of hidden service performance and correctness fixes,
  634. works around an OpenSSL security flaw if your distro is too stubborn
  635. to upgrade, and fixes a bunch of smaller issues.
  636. o Major features:
  637. - Now that Tor 0.2.0.x is completely deprecated, enable the final
  638. part of "Proposal 110: Avoiding infinite length circuits" by
  639. refusing all circuit-extend requests that do not use a relay_early
  640. cell. This change helps Tor resist a class of denial-of-service
  641. attacks by limiting the maximum circuit length.
  642. - Adjust the number of introduction points that a hidden service
  643. will try to maintain based on how long its introduction points
  644. remain in use and how many introductions they handle. Fixes
  645. part of bug 3825.
  646. - Try to use system facilities for enumerating local interface
  647. addresses, before falling back to our old approach (which was
  648. binding a UDP socket, and calling getsockname() on it). That
  649. approach was scaring OS X users whose draconian firewall
  650. software warned about binding to UDP sockets, regardless of
  651. whether packets were sent. Now we try to use getifaddrs(),
  652. SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
  653. system supports. Resolves ticket 1827.
  654. o Major security workaround:
  655. - When building or running with any version of OpenSSL earlier
  656. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  657. versions have a bug (CVE-2011-4576) in which their block cipher
  658. padding includes uninitialized data, potentially leaking sensitive
  659. information to any peer with whom they make a SSLv3 connection. Tor
  660. does not use SSL v3 by default, but a hostile client or server
  661. could force an SSLv3 connection in order to gain information that
  662. they shouldn't have been able to get. The best solution here is to
  663. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  664. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  665. to make sure that the bug can't happen.
  666. o Major bugfixes:
  667. - Fix the SOCKET_OK test that we use to tell when socket
  668. creation fails so that it works on Win64. Fixes part of bug 4533;
  669. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  670. - Correct our replacements for the timeradd() and timersub() functions
  671. on platforms that lack them (for example, Windows). The timersub()
  672. function is used when expiring circuits, while timeradd() is
  673. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  674. bugfix on 0.2.2.24-alpha and 0.2.3.1-alpha.
  675. - Do not use OpenSSL 1.0.0's counter mode: it has a critical bug
  676. that was fixed in OpenSSL 1.0.0a. We test for the counter mode
  677. bug at runtime, not compile time, because some distributions hack
  678. their OpenSSL to mis-report its version. Fixes bug 4779; bugfix
  679. on 0.2.3.9-alpha. Found by Pascal.
  680. o Minor features (controller):
  681. - Use absolute path names when reporting the torrc filename in the
  682. control protocol, so a controller can more easily find the torrc
  683. file. Resolves bug 1101.
  684. - Extend the control protocol to report flags that control a circuit's
  685. path selection in CIRC events and in replies to 'GETINFO
  686. circuit-status'. Implements part of ticket 2411.
  687. - Extend the control protocol to report the hidden service address
  688. and current state of a hidden-service-related circuit in CIRC
  689. events and in replies to 'GETINFO circuit-status'. Implements part
  690. of ticket 2411.
  691. - When reporting the path to the cookie file to the controller,
  692. give an absolute path. Resolves ticket 4881.
  693. - Allow controllers to request an event notification whenever a
  694. circuit is cannibalized or its purpose is changed. Implements
  695. part of ticket 3457.
  696. - Include the creation time of a circuit in CIRC and CIRC2
  697. control-port events and the list produced by the 'GETINFO
  698. circuit-status' control-port command.
  699. o Minor features (directory authorities):
  700. - Directory authorities now reject versions of Tor older than
  701. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  702. inclusive. These versions accounted for only a small fraction of
  703. the Tor network, and have numerous known security issues. Resolves
  704. issue 4788.
  705. - Authority operators can now vote for all relays in a given
  706. set of countries to be BadDir/BadExit/Invalid/Rejected.
  707. - Provide two consensus parameters (FastFlagMinThreshold and
  708. FastFlagMaxThreshold) to control the range of allowable bandwidths
  709. for the Fast directory flag. These allow authorities to run
  710. experiments on appropriate requirements for being a "Fast" node.
  711. The AuthDirFastGuarantee config value still applies.
  712. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  713. directory authority option (introduced in Tor 0.2.2.34).
  714. o Minor features (other):
  715. - Don't disable the DirPort when we cannot exceed our AccountingMax
  716. limit during this interval because the effective bandwidthrate is
  717. low enough. This is useful in a situation where AccountMax is only
  718. used as an additional safeguard or to provide statistics.
  719. - Prepend an informative header to generated dynamic_dh_params files.
  720. - If EntryNodes are given, but UseEntryGuards is set to 0, warn that
  721. EntryNodes will have no effect. Resolves issue 2571.
  722. - Log more useful messages when we fail to disable debugger
  723. attachment.
  724. - Log which authority we're missing votes from when we go to fetch
  725. them from the other auths.
  726. - Log (at debug level) whenever a circuit's purpose is changed.
  727. - Add missing documentation for the MaxClientCircuitsPending,
  728. UseMicrodescriptors, UserspaceIOCPBuffers, and
  729. _UseFilteringSSLBufferevents options, all introduced during
  730. the 0.2.3.x series.
  731. - Update to the January 3 2012 Maxmind GeoLite Country database.
  732. o Minor bugfixes (hidden services):
  733. - Don't close hidden service client circuits which have almost
  734. finished connecting to their destination when they reach
  735. the normal circuit-build timeout. Previously, we would close
  736. introduction circuits which are waiting for an acknowledgement
  737. from the introduction point, and rendezvous circuits which have
  738. been specified in an INTRODUCE1 cell sent to a hidden service,
  739. after the normal CBT. Now, we mark them as 'timed out', and launch
  740. another rendezvous attempt in parallel. This behavior change can
  741. be disabled using the new CloseHSClientCircuitsImmediatelyOnTimeout
  742. option. Fixes part of bug 1297; bugfix on 0.2.2.2-alpha.
  743. - Don't close hidden-service-side rendezvous circuits when they
  744. reach the normal circuit-build timeout. This behaviour change can
  745. be disabled using the new
  746. CloseHSServiceRendCircuitsImmediatelyOnTimeout option. Fixes the
  747. remaining part of bug 1297; bugfix on 0.2.2.2-alpha.
  748. - Make sure we never mark the wrong rendezvous circuit as having
  749. had its introduction cell acknowleged by the introduction-point
  750. relay. Previously, when we received an INTRODUCE_ACK cell on a
  751. client-side hidden-service introduction circuit, we might have
  752. marked a rendezvous circuit other than the one we specified in
  753. the INTRODUCE1 cell as INTRO_ACKED, which would have produced
  754. a warning message and interfered with the hidden service
  755. connection-establishment process. Fixes bug 4759; bugfix on
  756. 0.2.3.3-alpha, when we added the stream-isolation feature which
  757. might cause Tor to open multiple rendezvous circuits for the same
  758. hidden service.
  759. - Don't trigger an assertion failure when we mark a new client-side
  760. hidden-service introduction circuit for close during the process
  761. of creating it. Fixes bug 4796; bugfix on 0.2.3.6-alpha. Reported
  762. by murb.
  763. o Minor bugfixes (log messages):
  764. - Correctly spell "connect" in a log message on failure to create a
  765. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta and
  766. 0.2.3.2-alpha.
  767. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  768. Fixes bug 4856; bugfix on Tor 0.0.6.
  769. - Fix the log message describing how we work around discovering
  770. that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
  771. 4837; bugfix on 0.2.2.9-alpha.
  772. - When logging about a disallowed .exit name, do not also call it
  773. an "invalid onion address". Fixes bug 3325; bugfix on 0.2.2.9-alpha.
  774. o Minor bugfixes (build fixes):
  775. - During configure, detect when we're building with clang version
  776. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  777. CFLAGS. clang doesn't support them yet.
  778. - During configure, search for library containing cos function as
  779. libm lives in libcore on some platforms (BeOS/Haiku). Linking
  780. against libm was hard-coded before. Fixes the first part of bug
  781. 4727; bugfix on 0.2.2.2-alpha. Patch and analysis by Martin Hebnes
  782. Pedersen.
  783. - Detect attempts to build Tor on (as yet hypothetical) versions
  784. of Windows where sizeof(intptr_t) != sizeof(SOCKET). Partial
  785. fix for bug 4533. Bugfix on 0.2.2.28-beta.
  786. - Preprocessor directives should not be put inside the arguments
  787. of a macro. This would break compilation with GCC releases prior
  788. to version 3.3. We would never recommend such an old GCC version,
  789. but it is apparently required for binary compatibility on some
  790. platforms (namely, certain builds of Haiku). Fixes the other part
  791. of bug 4727; bugfix on 0.2.3.3-alpha. Patch and analysis by Martin
  792. Hebnes Pedersen.
  793. o Minor bugfixes (other):
  794. - Older Linux kernels erroneously respond to strange nmap behavior
  795. by having accept() return successfully with a zero-length
  796. socket. When this happens, just close the connection. Previously,
  797. we would try harder to learn the remote address: but there was
  798. no such remote address to learn, and our method for trying to
  799. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  800. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  801. - Fix null-pointer access that could occur if TLS allocation failed.
  802. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un". This was
  803. erroneously listed as fixed in 0.2.3.9-alpha, but the fix had
  804. accidentally been reverted.
  805. - Fix our implementation of crypto_random_hostname() so it can't
  806. overflow on ridiculously large inputs. (No Tor version has ever
  807. provided this kind of bad inputs, but let's be correct in depth.)
  808. Fixes bug 4413; bugfix on 0.2.2.9-alpha. Fix by Stephen Palmateer.
  809. - Find more places in the code that should have been testing for
  810. invalid sockets using the SOCKET_OK macro. Required for a fix
  811. for bug 4533. Bugfix on 0.2.2.28-beta.
  812. - Fix an assertion failure when, while running with bufferevents, a
  813. connection finishes connecting after it is marked for close, but
  814. before it is closed. Fixes bug 4697; bugfix on 0.2.3.1-alpha.
  815. - test_util_spawn_background_ok() hardcoded the expected value
  816. for ENOENT to 2. This isn't portable as error numbers are
  817. platform specific, and particularly the hurd has ENOENT at
  818. 0x40000002. Construct expected string at runtime, using the correct
  819. value for ENOENT. Fixes bug 4733; bugfix on 0.2.3.1-alpha.
  820. - Reject attempts to disable DisableDebuggerAttachment while Tor is
  821. running. Fixes bug 4650; bugfix on 0.2.3.9-alpha.
  822. - Use an appropriate-width type for sockets in tor-fw-helper on
  823. win64. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
  824. o Feature removal:
  825. - When sending or relaying a RELAY_EARLY cell, we used to convert
  826. it to a RELAY cell if the connection was using the v1 link
  827. protocol. This was a workaround for older versions of Tor, which
  828. didn't handle RELAY_EARLY cells properly. Now that all supported
  829. versions can handle RELAY_EARLY cells, and now that we're enforcing
  830. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  831. remove this workaround. Addresses bug 4786.
  832. o Code simplifications and refactoring:
  833. - Use OpenSSL's built-in SSL_state_string_long() instead of our
  834. own homebrewed ssl_state_to_string() replacement. Patch from
  835. Emile Snyder. Fixes bug 4653.
  836. - Use macros to indicate OpenSSL versions, so we don't need to worry
  837. about accidental hexadecimal bit shifts.
  838. - Remove some workaround code for OpenSSL 0.9.6 (which is no longer
  839. supported).
  840. - Convert more instances of tor_snprintf+tor_strdup into tor_asprintf.
  841. - Use the smartlist_add_asprintf() alias more consistently.
  842. - Use a TOR_INVALID_SOCKET macro when initializing a socket to an
  843. invalid value, rather than just -1.
  844. - Rename a handful of old identifiers, mostly related to crypto
  845. structures and crypto functions. By convention, our "create an
  846. object" functions are called "type_new()", our "free an object"
  847. functions are called "type_free()", and our types indicate that
  848. they are types only with a final "_t". But a handful of older
  849. types and functions broke these rules, with function names like
  850. "type_create" or "subsystem_op_type", or with type names like
  851. type_env_t.
  852. Changes in version 0.2.3.10-alpha - 2011-12-16
  853. Tor 0.2.3.10-alpha fixes a critical heap-overflow security issue in
  854. Tor's buffers code. Absolutely everybody should upgrade.
  855. The bug relied on an incorrect calculation when making data continuous
  856. in one of our IO buffers, if the first chunk of the buffer was
  857. misaligned by just the wrong amount. The miscalculation would allow an
  858. attacker to overflow a piece of heap-allocated memory. To mount this
  859. attack, the attacker would need to either open a SOCKS connection to
  860. Tor's SocksPort (usually restricted to localhost), or target a Tor
  861. instance configured to make its connections through a SOCKS proxy
  862. (which Tor does not do by default).
  863. Good security practice requires that all heap-overflow bugs should be
  864. presumed to be exploitable until proven otherwise, so we are treating
  865. this as a potential code execution attack. Please upgrade immediately!
  866. This bug does not affect bufferevents-based builds of Tor. Special
  867. thanks to "Vektor" for reporting this issue to us!
  868. This release also contains a few minor bugfixes for issues discovered
  869. in 0.2.3.9-alpha.
  870. o Major bugfixes:
  871. - Fix a heap overflow bug that could occur when trying to pull
  872. data into the first chunk of a buffer, when that chunk had
  873. already had some data drained from it. Fixes CVE-2011-2778;
  874. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  875. o Minor bugfixes:
  876. - If we can't attach streams to a rendezvous circuit when we
  877. finish connecting to a hidden service, clear the rendezvous
  878. circuit's stream-isolation state and try to attach streams
  879. again. Previously, we cleared rendezvous circuits' isolation
  880. state either too early (if they were freshly built) or not at all
  881. (if they had been built earlier and were cannibalized). Bugfix on
  882. 0.2.3.3-alpha; fixes bug 4655.
  883. - Fix compilation of the libnatpmp helper on non-Windows. Bugfix on
  884. 0.2.3.9-alpha; fixes bug 4691. Reported by Anthony G. Basile.
  885. - Fix an assertion failure when a relay with accounting enabled
  886. starts up while dormant. Fixes bug 4702; bugfix on 0.2.3.9-alpha.
  887. o Minor features:
  888. - Update to the December 6 2011 Maxmind GeoLite Country database.
  889. Changes in version 0.2.2.35 - 2011-12-16
  890. Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
  891. buffers code. Absolutely everybody should upgrade.
  892. The bug relied on an incorrect calculation when making data continuous
  893. in one of our IO buffers, if the first chunk of the buffer was
  894. misaligned by just the wrong amount. The miscalculation would allow an
  895. attacker to overflow a piece of heap-allocated memory. To mount this
  896. attack, the attacker would need to either open a SOCKS connection to
  897. Tor's SocksPort (usually restricted to localhost), or target a Tor
  898. instance configured to make its connections through a SOCKS proxy
  899. (which Tor does not do by default).
  900. Good security practice requires that all heap-overflow bugs should be
  901. presumed to be exploitable until proven otherwise, so we are treating
  902. this as a potential code execution attack. Please upgrade immediately!
  903. This bug does not affect bufferevents-based builds of Tor. Special
  904. thanks to "Vektor" for reporting this issue to us!
  905. Tor 0.2.2.35 also fixes several bugs in previous versions, including
  906. crash bugs for unusual configurations, and a long-term bug that
  907. would prevent Tor from starting on Windows machines with draconian
  908. AV software.
  909. With this release, we remind everyone that 0.2.0.x has reached its
  910. formal end-of-life. Those Tor versions have many known flaws, and
  911. nobody should be using them. You should upgrade -- ideally to the
  912. 0.2.2.x series. If you're using a Linux or BSD and its packages are
  913. obsolete, stop using those packages and upgrade anyway.
  914. The Tor 0.2.1.x series is also approaching its end-of-life: it will no
  915. longer receive support after some time in early 2012.
  916. o Major bugfixes:
  917. - Fix a heap overflow bug that could occur when trying to pull
  918. data into the first chunk of a buffer, when that chunk had
  919. already had some data drained from it. Fixes CVE-2011-2778;
  920. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  921. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  922. that it doesn't attempt to allocate a socketpair. This could cause
  923. some problems on Windows systems with overzealous firewalls. Fix for
  924. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  925. 2.0.15-stable.
  926. - If we mark an OR connection for close based on a cell we process,
  927. don't process any further cells on it. We already avoid further
  928. reads on marked-for-close connections, but now we also discard the
  929. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  930. which was the first version where we might mark a connection for
  931. close based on processing a cell on it.
  932. - Correctly sanity-check that we don't underflow on a memory
  933. allocation (and then assert) for hidden service introduction
  934. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  935. bugfix on 0.2.1.5-alpha.
  936. - Fix a memory leak when we check whether a hidden service
  937. descriptor has any usable introduction points left. Fixes bug
  938. 4424. Bugfix on 0.2.2.25-alpha.
  939. - Don't crash when we're running as a relay and don't have a GeoIP
  940. file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
  941. we've had in the 0.2.3.x branch already.
  942. - When running as a client, do not print a misleading (and plain
  943. wrong) log message that we're collecting "directory request"
  944. statistics: clients don't collect statistics. Also don't create a
  945. useless (because empty) stats file in the stats/ directory. Fixes
  946. bug 4353; bugfix on 0.2.2.34.
  947. o Minor bugfixes:
  948. - Detect failure to initialize Libevent. This fix provides better
  949. detection for future instances of bug 4457.
  950. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  951. function. This was eating up hideously large amounts of time on some
  952. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  953. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  954. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  955. Mansour Moufid.
  956. - Don't warn about unused log_mutex in log.c when building with
  957. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  958. 0.1.0.6-rc which introduced --disable-threads.
  959. - When configuring, starting, or stopping an NT service, stop
  960. immediately after the service configuration attempt has succeeded
  961. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  962. - When sending a NETINFO cell, include the original address
  963. received for the other side, not its canonical address. Found
  964. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  965. - Fix a typo in a hibernation-related log message. Fixes bug 4331;
  966. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  967. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  968. occurred when a client tried to fetch a descriptor for a bridge
  969. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  970. - Backport fixes for a pair of compilation warnings on Windows.
  971. Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
  972. - If we had ever tried to call tor_addr_to_str on an address of
  973. unknown type, we would have done a strdup on an uninitialized
  974. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  975. Reported by "troll_un".
  976. - Correctly detect and handle transient lookup failures from
  977. tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  978. Reported by "troll_un".
  979. - Fix null-pointer access that could occur if TLS allocation failed.
  980. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  981. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  982. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  983. o Minor features:
  984. - Add two new config options for directory authorities:
  985. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  986. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  987. that is always sufficient to satisfy the bandwidth requirement for
  988. the Guard flag. Now it will be easier for researchers to simulate
  989. Tor networks with different values. Resolves ticket 4484.
  990. - When Tor ignores a hidden service specified in its configuration,
  991. include the hidden service's directory in the warning message.
  992. Previously, we would only tell the user that some hidden service
  993. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  994. - Update to the December 6 2011 Maxmind GeoLite Country database.
  995. o Packaging changes:
  996. - Make it easier to automate expert package builds on Windows,
  997. by removing an absolute path from makensis.exe command.
  998. Changes in version 0.2.3.9-alpha - 2011-12-08
  999. Tor 0.2.3.9-alpha introduces initial IPv6 support for bridges, adds
  1000. a "DisableNetwork" security feature that bundles can use to avoid
  1001. touching the network until bridges are configured, moves forward on
  1002. the pluggable transport design, fixes a flaw in the hidden service
  1003. design that unnecessarily prevented clients with wrong clocks from
  1004. reaching hidden services, and fixes a wide variety of other issues.
  1005. o Major features:
  1006. - Clients can now connect to private bridges over IPv6. Bridges
  1007. still need at least one IPv4 address in order to connect to
  1008. other relays. Note that we don't yet handle the case where the
  1009. user has two bridge lines for the same bridge (one IPv4, one
  1010. IPv6). Implements parts of proposal 186.
  1011. - New "DisableNetwork" config option to prevent Tor from launching any
  1012. connections or accepting any connections except on a control port.
  1013. Bundles and controllers can set this option before letting Tor talk
  1014. to the rest of the network, for example to prevent any connections
  1015. to a non-bridge address. Packages like Orbot can also use this
  1016. option to instruct Tor to save power when the network is off.
  1017. - Clients and bridges can now be configured to use a separate
  1018. "transport" proxy. This approach makes the censorship arms race
  1019. easier by allowing bridges to use protocol obfuscation plugins. It
  1020. implements the "managed proxy" part of proposal 180 (ticket 3472).
  1021. - When using OpenSSL 1.0.0 or later, use OpenSSL's counter mode
  1022. implementation. It makes AES_CTR about 7% faster than our old one
  1023. (which was about 10% faster than the one OpenSSL used to provide).
  1024. Resolves ticket 4526.
  1025. - Add a "tor2web mode" for clients that want to connect to hidden
  1026. services non-anonymously (and possibly more quickly). As a safety
  1027. measure to try to keep users from turning this on without knowing
  1028. what they are doing, tor2web mode must be explicitly enabled at
  1029. compile time, and a copy of Tor compiled to run in tor2web mode
  1030. cannot be used as a normal Tor client. Implements feature 2553.
  1031. - Add experimental support for running on Windows with IOCP and no
  1032. kernel-space socket buffers. This feature is controlled by a new
  1033. "UserspaceIOCPBuffers" config option (off by default), which has
  1034. no effect unless Tor has been built with support for bufferevents,
  1035. is running on Windows, and has enabled IOCP. This may, in the long
  1036. run, help solve or mitigate bug 98.
  1037. - Use a more secure consensus parameter voting algorithm. Now at
  1038. least three directory authorities or a majority of them must
  1039. vote on a given parameter before it will be included in the
  1040. consensus. Implements proposal 178.
  1041. o Major bugfixes:
  1042. - Hidden services now ignore the timestamps on INTRODUCE2 cells.
  1043. They used to check that the timestamp was within 30 minutes
  1044. of their system clock, so they could cap the size of their
  1045. replay-detection cache, but that approach unnecessarily refused
  1046. service to clients with wrong clocks. Bugfix on 0.2.1.6-alpha, when
  1047. the v3 intro-point protocol (the first one which sent a timestamp
  1048. field in the INTRODUCE2 cell) was introduced; fixes bug 3460.
  1049. - Only use the EVP interface when AES acceleration is enabled,
  1050. to avoid a 5-7% performance regression. Resolves issue 4525;
  1051. bugfix on 0.2.3.8-alpha.
  1052. o Privacy/anonymity features (bridge detection):
  1053. - Make bridge SSL certificates a bit more stealthy by using random
  1054. serial numbers, in the same fashion as OpenSSL when generating
  1055. self-signed certificates. Implements ticket 4584.
  1056. - Introduce a new config option "DynamicDHGroups", enabled by
  1057. default, which provides each bridge with a unique prime DH modulus
  1058. to be used during SSL handshakes. This option attempts to help
  1059. against censors who might use the Apache DH modulus as a static
  1060. identifier for bridges. Addresses ticket 4548.
  1061. o Minor features (new/different config options):
  1062. - New configuration option "DisableDebuggerAttachment" (on by default)
  1063. to prevent basic debugging attachment attempts by other processes.
  1064. Supports Mac OS X and Gnu/Linux. Resolves ticket 3313.
  1065. - Allow MapAddress directives to specify matches against super-domains,
  1066. as in "MapAddress *.torproject.org *.torproject.org.torserver.exit".
  1067. Implements issue 933.
  1068. - Slightly change behavior of "list" options (that is, config
  1069. options that can appear more than once) when they appear both in
  1070. torrc and on the command line. Previously, the command-line options
  1071. would be appended to the ones from torrc. Now, the command-line
  1072. options override the torrc options entirely. This new behavior
  1073. allows the user to override list options (like exit policies and
  1074. ports to listen on) from the command line, rather than simply
  1075. appending to the list.
  1076. - You can get the old (appending) command-line behavior for "list"
  1077. options by prefixing the option name with a "+".
  1078. - You can remove all the values for a "list" option from the command
  1079. line without adding any new ones by prefixing the option name
  1080. with a "/".
  1081. - Add experimental support for a "defaults" torrc file to be parsed
  1082. before the regular torrc. Torrc options override the defaults file's
  1083. options in the same way that the command line overrides the torrc.
  1084. The SAVECONF controller command saves only those options which
  1085. differ between the current configuration and the defaults file. HUP
  1086. reloads both files. (Note: This is an experimental feature; its
  1087. behavior will probably be refined in future 0.2.3.x-alpha versions
  1088. to better meet packagers' needs.) Implements task 4552.
  1089. o Minor features:
  1090. - Try to make the introductory warning message that Tor prints on
  1091. startup more useful for actually finding help and information.
  1092. Resolves ticket 2474.
  1093. - Running "make version" now displays the version of Tor that
  1094. we're about to build. Idea from katmagic; resolves issue 4400.
  1095. - Expire old or over-used hidden service introduction points.
  1096. Required by fix for bug 3460.
  1097. - Move the replay-detection cache for the RSA-encrypted parts of
  1098. INTRODUCE2 cells to the introduction point data structures.
  1099. Previously, we would use one replay-detection cache per hidden
  1100. service. Required by fix for bug 3460.
  1101. - Reduce the lifetime of elements of hidden services' Diffie-Hellman
  1102. public key replay-detection cache from 60 minutes to 5 minutes. This
  1103. replay-detection cache is now used only to detect multiple
  1104. INTRODUCE2 cells specifying the same rendezvous point, so we can
  1105. avoid launching multiple simultaneous attempts to connect to it.
  1106. o Minor bugfixes (on Tor 0.2.2.x and earlier):
  1107. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  1108. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  1109. Mansour Moufid.
  1110. - Fix a minor formatting issue in one of tor-gencert's error messages.
  1111. Fixes bug 4574.
  1112. - Prevent a false positive from the check-spaces script, by disabling
  1113. the "whitespace between function name and (" check for functions
  1114. named 'op()'.
  1115. - Fix a log message suggesting that people contact a non-existent
  1116. email address. Fixes bug 3448.
  1117. - Fix null-pointer access that could occur if TLS allocation failed.
  1118. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  1119. - Report a real bootstrap problem to the controller on router
  1120. identity mismatch. Previously we just said "foo", which probably
  1121. made a lot of sense at the time. Fixes bug 4169; bugfix on
  1122. 0.2.1.1-alpha.
  1123. - If we had ever tried to call tor_addr_to_str() on an address of
  1124. unknown type, we would have done a strdup() on an uninitialized
  1125. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  1126. Reported by "troll_un".
  1127. - Correctly detect and handle transient lookup failures from
  1128. tor_addr_lookup(). Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  1129. Reported by "troll_un".
  1130. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  1131. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  1132. - Initialize conn->addr to a valid state in spawn_cpuworker(). Fixes
  1133. bug 4532; found by "troll_un".
  1134. o Minor bugfixes (on Tor 0.2.3.x):
  1135. - Fix a compile warning in tor_inet_pton(). Bugfix on 0.2.3.8-alpha;
  1136. fixes bug 4554.
  1137. - Don't send two ESTABLISH_RENDEZVOUS cells when opening a new
  1138. circuit for use as a hidden service client's rendezvous point.
  1139. Fixes bugs 4641 and 4171; bugfix on 0.2.3.3-alpha. Diagnosed
  1140. with help from wanoskarnet.
  1141. - Restore behavior of overriding SocksPort, ORPort, and similar
  1142. options from the command line. Bugfix on 0.2.3.3-alpha.
  1143. o Build fixes:
  1144. - Properly handle the case where the build-tree is not the same
  1145. as the source tree when generating src/common/common_sha1.i,
  1146. src/or/micro-revision.i, and src/or/or_sha1.i. Fixes bug 3953;
  1147. bugfix on 0.2.0.1-alpha.
  1148. o Code simplifications, cleanups, and refactorings:
  1149. - Remove the pure attribute from all functions that used it
  1150. previously. In many cases we assigned it incorrectly, because the
  1151. functions might assert or call impure functions, and we don't have
  1152. evidence that keeping the pure attribute is worthwhile. Implements
  1153. changes suggested in ticket 4421.
  1154. - Remove some dead code spotted by coverity. Fixes cid 432.
  1155. Bugfix on 0.2.3.1-alpha, closes bug 4637.
  1156. Changes in version 0.2.3.8-alpha - 2011-11-22
  1157. Tor 0.2.3.8-alpha fixes some crash and assert bugs, including a
  1158. socketpair-related bug that has been bothering Windows users. It adds
  1159. support to serve microdescriptors to controllers, so Vidalia's network
  1160. map can resume listing relays (once Vidalia implements its side),
  1161. and adds better support for hardware AES acceleration. Finally, it
  1162. starts the process of adjusting the bandwidth cutoff for getting the
  1163. "Fast" flag from 20KB to (currently) 32KB -- preliminary results show
  1164. that tiny relays harm performance more than they help network capacity.
  1165. o Major bugfixes:
  1166. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  1167. that it doesn't attempt to allocate a socketpair. This could cause
  1168. some problems on Windows systems with overzealous firewalls. Fix for
  1169. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  1170. 2.0.15-stable.
  1171. - Correctly sanity-check that we don't underflow on a memory
  1172. allocation (and then assert) for hidden service introduction
  1173. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  1174. bugfix on 0.2.1.5-alpha.
  1175. - Remove the artificially low cutoff of 20KB to guarantee the Fast
  1176. flag. In the past few years the average relay speed has picked
  1177. up, and while the "top 7/8 of the network get the Fast flag" and
  1178. "all relays with 20KB or more of capacity get the Fast flag" rules
  1179. used to have the same result, now the top 7/8 of the network has
  1180. a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
  1181. - Fix a rare assertion failure when checking whether a v0 hidden
  1182. service descriptor has any usable introduction points left, and
  1183. we don't have enough information to build a circuit to the first
  1184. intro point named in the descriptor. The HS client code in
  1185. 0.2.3.x no longer uses v0 HS descriptors, but this assertion can
  1186. trigger on (and crash) v0 HS authorities. Fixes bug 4411.
  1187. Bugfix on 0.2.3.1-alpha; diagnosed by frosty_un.
  1188. - Make bridge authorities not crash when they are asked for their own
  1189. descriptor. Bugfix on 0.2.3.7-alpha, reported by Lucky Green.
  1190. - When running as a client, do not print a misleading (and plain
  1191. wrong) log message that we're collecting "directory request"
  1192. statistics: clients don't collect statistics. Also don't create a
  1193. useless (because empty) stats file in the stats/ directory. Fixes
  1194. bug 4353; bugfix on 0.2.2.34 and 0.2.3.7-alpha.
  1195. o Major features:
  1196. - Allow Tor controllers like Vidalia to obtain the microdescriptor
  1197. for a relay by identity digest or nickname. Previously,
  1198. microdescriptors were only available by their own digests, so a
  1199. controller would have to ask for and parse the whole microdescriptor
  1200. consensus in order to look up a single relay's microdesc. Fixes
  1201. bug 3832; bugfix on 0.2.3.1-alpha.
  1202. - Use OpenSSL's EVP interface for AES encryption, so that all AES
  1203. operations can use hardware acceleration (if present). Resolves
  1204. ticket 4442.
  1205. o Minor bugfixes (on 0.2.2.x and earlier):
  1206. - Detect failure to initialize Libevent. This fix provides better
  1207. detection for future instances of bug 4457.
  1208. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  1209. function. This was eating up hideously large amounts of time on some
  1210. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  1211. - Don't warn about unused log_mutex in log.c when building with
  1212. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  1213. 0.1.0.6-rc which introduced --disable-threads.
  1214. - Allow manual 'authenticate' commands to the controller interface
  1215. from netcat (nc) as well as telnet. We were rejecting them because
  1216. they didn't come with the expected whitespace at the end of the
  1217. command. Bugfix on 0.1.1.1-alpha; fixes bug 2893.
  1218. - Fix some (not actually triggerable) buffer size checks in usage of
  1219. tor_inet_ntop. Fixes bug 4434; bugfix on Tor 0.2.0.1-alpha. Patch
  1220. by Anders Sundman.
  1221. - Fix parsing of some corner-cases with tor_inet_pton(). Fixes
  1222. bug 4515; bugfix on 0.2.0.1-alpha; fix by Anders Sundman.
  1223. - When configuring, starting, or stopping an NT service, stop
  1224. immediately after the service configuration attempt has succeeded
  1225. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  1226. - When sending a NETINFO cell, include the original address
  1227. received for the other side, not its canonical address. Found
  1228. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  1229. - Rename the bench_{aes,dmap} functions to test_*, so that tinytest
  1230. can pick them up when the tests aren't disabled. Bugfix on
  1231. 0.2.2.4-alpha which introduced tinytest.
  1232. - Fix a memory leak when we check whether a hidden service
  1233. descriptor has any usable introduction points left. Fixes bug
  1234. 4424. Bugfix on 0.2.2.25-alpha.
  1235. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  1236. occurred when a client tried to fetch a descriptor for a bridge
  1237. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  1238. o Minor bugfixes (on 0.2.3.x):
  1239. - Make util unit tests build correctly with MSVC. Bugfix on
  1240. 0.2.3.3-alpha. Patch by Gisle Vanem.
  1241. - Successfully detect AUTH_CHALLENGE cells with no recognized
  1242. authentication type listed. Fixes bug 4367; bugfix on 0.2.3.6-alpha.
  1243. Found by frosty_un.
  1244. - If a relay receives an AUTH_CHALLENGE cell it can't answer,
  1245. it should still send a NETINFO cell to allow the connection to
  1246. become open. Fixes bug 4368; fix on 0.2.3.6-alpha; bug found by
  1247. "frosty".
  1248. - Log less loudly when we get an invalid authentication certificate
  1249. from a source other than a directory authority: it's not unusual
  1250. to see invalid certs because of clock skew. Fixes bug 4370; bugfix
  1251. on 0.2.3.6-alpha.
  1252. - Tolerate servers with more clock skew in their authentication
  1253. certificates than previously. Fixes bug 4371; bugfix on
  1254. 0.2.3.6-alpha.
  1255. - Fix a couple of compile warnings on Windows. Fixes bug 4469; bugfix
  1256. on 0.2.3.4-alpha and 0.2.3.6-alpha.
  1257. o Minor features:
  1258. - Add two new config options for directory authorities:
  1259. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  1260. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  1261. that is always sufficient to satisfy the bandwidth requirement for
  1262. the Guard flag. Now it will be easier for researchers to simulate
  1263. Tor networks with different values. Resolves ticket 4484.
  1264. - When Tor ignores a hidden service specified in its configuration,
  1265. include the hidden service's directory in the warning message.
  1266. Previously, we would only tell the user that some hidden service
  1267. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  1268. - When we fail to initialize Libevent, retry with IOCP disabled so we
  1269. don't need to turn on multi-threading support in Libevent, which in
  1270. turn requires a working socketpair(). This is a workaround for bug
  1271. 4457, which affects Libevent versions from 2.0.1-alpha through
  1272. 2.0.15-stable.
  1273. - Detect when we try to build on a platform that doesn't define
  1274. AF_UNSPEC to 0. We don't work there, so refuse to compile.
  1275. - Update to the November 1 2011 Maxmind GeoLite Country database.
  1276. o Packaging changes:
  1277. - Make it easier to automate expert package builds on Windows,
  1278. by removing an absolute path from makensis.exe command.
  1279. o Code simplifications and refactoring:
  1280. - Remove some redundant #include directives throughout the code.
  1281. Patch from Andrea Gelmini.
  1282. - Unconditionally use OpenSSL's AES implementation instead of our
  1283. old built-in one. OpenSSL's AES has been better for a while, and
  1284. relatively few servers should still be on any version of OpenSSL
  1285. that doesn't have good optimized assembly AES.
  1286. - Use the name "CERTS" consistently to refer to the new cell type;
  1287. we were calling it CERT in some places and CERTS in others.
  1288. o Testing:
  1289. - Numerous new unit tests for functions in util.c and address.c by
  1290. Anders Sundman.
  1291. - The long-disabled benchmark tests are now split into their own
  1292. ./src/test/bench binary.
  1293. - The benchmark tests can now use more accurate timers than
  1294. gettimeofday() when such timers are available.
  1295. Changes in version 0.2.3.7-alpha - 2011-10-30
  1296. Tor 0.2.3.7-alpha fixes a crash bug in 0.2.3.6-alpha introduced by
  1297. the new v3 handshake. It also resolves yet another bridge address
  1298. enumeration issue.
  1299. o Major bugfixes:
  1300. - If we mark an OR connection for close based on a cell we process,
  1301. don't process any further cells on it. We already avoid further
  1302. reads on marked-for-close connections, but now we also discard the
  1303. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  1304. which was the first version where we might mark a connection for
  1305. close based on processing a cell on it.
  1306. - Fix a double-free bug that would occur when we received an invalid
  1307. certificate in a CERT cell in the new v3 handshake. Fixes bug 4343;
  1308. bugfix on 0.2.3.6-alpha.
  1309. - Bridges no longer include their address in NETINFO cells on outgoing
  1310. OR connections, to allow them to blend in better with clients.
  1311. Removes another avenue for enumerating bridges. Reported by
  1312. "troll_un". Fixes bug 4348; bugfix on 0.2.0.10-alpha, when NETINFO
  1313. cells were introduced.
  1314. o Trivial fixes:
  1315. - Fixed a typo in a hibernation-related log message. Fixes bug 4331;
  1316. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  1317. Changes in version 0.2.3.6-alpha - 2011-10-26
  1318. Tor 0.2.3.6-alpha includes the fix from 0.2.2.34 for a critical
  1319. anonymity vulnerability where an attacker can deanonymize Tor
  1320. users. Everybody should upgrade.
  1321. This release also features support for a new v3 connection handshake
  1322. protocol, and fixes to make hidden service connections more robust.
  1323. o Major features:
  1324. - Implement a new handshake protocol (v3) for authenticating Tors to
  1325. each other over TLS. It should be more resistant to fingerprinting
  1326. than previous protocols, and should require less TLS hacking for
  1327. future Tor implementations. Implements proposal 176.
  1328. - Allow variable-length padding cells to disguise the length of
  1329. Tor's TLS records. Implements part of proposal 184.
  1330. o Privacy/anonymity fixes (clients):
  1331. - Clients and bridges no longer send TLS certificate chains on
  1332. outgoing OR connections. Previously, each client or bridge would
  1333. use the same cert chain for all outgoing OR connections until
  1334. its IP address changes, which allowed any relay that the client
  1335. or bridge contacted to determine which entry guards it is using.
  1336. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  1337. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  1338. no longer considers that connection as suitable for satisfying a
  1339. circuit EXTEND request. Now relays can protect clients from the
  1340. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  1341. - Directory authorities no longer assign the Guard flag to relays
  1342. that haven't upgraded to the above "refuse EXTEND requests
  1343. to client connections" fix. Now directory authorities can
  1344. protect clients from the CVE-2011-2768 issue even if neither
  1345. the clients nor the relays have upgraded yet. There's a new
  1346. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  1347. to let us transition smoothly, else tomorrow there would be no
  1348. guard relays.
  1349. o Major bugfixes (hidden services):
  1350. - Improve hidden service robustness: when an attempt to connect to
  1351. a hidden service ends, be willing to refetch its hidden service
  1352. descriptors from each of the HSDir relays responsible for them
  1353. immediately. Previously, we would not consider refetching the
  1354. service's descriptors from each HSDir for 15 minutes after the last
  1355. fetch, which was inconvenient if the hidden service was not running
  1356. during the first attempt. Bugfix on 0.2.0.18-alpha; fixes bug 3335.
  1357. - When one of a hidden service's introduction points appears to be
  1358. unreachable, stop trying it. Previously, we would keep trying
  1359. to build circuits to the introduction point until we lost the
  1360. descriptor, usually because the user gave up and restarted Tor.
  1361. Partly fixes bug 3825.
  1362. - Don't launch a useless circuit after failing to use one of a
  1363. hidden service's introduction points. Previously, we would
  1364. launch a new introduction circuit, but not set the hidden service
  1365. which that circuit was intended to connect to, so it would never
  1366. actually be used. A different piece of code would then create a
  1367. new introduction circuit correctly. Bug reported by katmagic and
  1368. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  1369. o Major bugfixes (other):
  1370. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  1371. that they initiated. Relays could distinguish incoming bridge
  1372. connections from client connections, creating another avenue for
  1373. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  1374. Found by "frosty_un".
  1375. - Don't update the AccountingSoftLimitHitAt state file entry whenever
  1376. tor gets started. This prevents a wrong average bandwidth
  1377. estimate, which would cause relays to always start a new accounting
  1378. interval at the earliest possible moment. Fixes bug 2003; bugfix
  1379. on 0.2.2.7-alpha. Reported by BryonEldridge, who also helped
  1380. immensely in tracking this bug down.
  1381. - Fix a crash bug when changing node restrictions while a DNS lookup
  1382. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  1383. by "Tey'".
  1384. o Minor bugfixes (on 0.2.2.x and earlier):
  1385. - When a hidden service turns an extra service-side introduction
  1386. circuit into a general-purpose circuit, free the rend_data and
  1387. intro_key fields first, so we won't leak memory if the circuit
  1388. is cannibalized for use as another service-side introduction
  1389. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  1390. - Rephrase the log message emitted if the TestSocks check is
  1391. successful. Patch from Fabian Keil; fixes bug 4094.
  1392. - Bridges now skip DNS self-tests, to act a little more stealthily.
  1393. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  1394. bridges. Patch by "warms0x".
  1395. - Remove a confusing dollar sign from the example fingerprint in the
  1396. man page, and also make the example fingerprint a valid one. Fixes
  1397. bug 4309; bugfix on 0.2.1.3-alpha.
  1398. - Fix internal bug-checking logic that was supposed to catch
  1399. failures in digest generation so that it will fail more robustly
  1400. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  1401. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  1402. - Report any failure in init_keys() calls launched because our
  1403. IP address has changed. Spotted by Coverity Scan. Bugfix on
  1404. 0.1.1.4-alpha; fixes CID 484.
  1405. o Minor bugfixes (on 0.2.3.x):
  1406. - Fix a bug in configure.in that kept it from building a configure
  1407. script with autoconf versions earlier than 2.61. Fixes bug 2430;
  1408. bugfix on 0.2.3.1-alpha.
  1409. - Don't warn users that they are exposing a client port to the
  1410. Internet if they have specified an RFC1918 address. Previously,
  1411. we would warn if the user had specified any non-loopback
  1412. address. Bugfix on 0.2.3.3-alpha. Fixes bug 4018; reported by Tas.
  1413. - Fix memory leaks in the failing cases of the new SocksPort and
  1414. ControlPort code. Found by Coverity Scan. Bugfix on 0.2.3.3-alpha;
  1415. fixes coverity CIDs 485, 486, and 487.
  1416. o Minor features:
  1417. - When a hidden service's introduction point times out, consider
  1418. trying it again during the next attempt to connect to the
  1419. HS. Previously, we would not try it again unless a newly fetched
  1420. descriptor contained it. Required by fixes for bugs 1297 and 3825.
  1421. - The next version of Windows will be called Windows 8, and it has
  1422. a major version of 6, minor version of 2. Correctly identify that
  1423. version instead of calling it "Very recent version". Resolves
  1424. ticket 4153; reported by funkstar.
  1425. - The Bridge Authority now writes statistics on how many bridge
  1426. descriptors it gave out in total, and how many unique descriptors
  1427. it gave out. It also lists how often the most and least commonly
  1428. fetched descriptors were given out, as well as the median and
  1429. 25th/75th percentile. Implements tickets 4200 and 4294.
  1430. - Update to the October 4 2011 Maxmind GeoLite Country database.
  1431. o Code simplifications and refactoring:
  1432. - Remove some old code to remember statistics about which descriptors
  1433. we've served as a directory mirror. The feature wasn't used and
  1434. is outdated now that microdescriptors are around.
  1435. - Rename Tor functions that turn strings into addresses, so that
  1436. "parse" indicates that no hostname resolution occurs, and
  1437. "lookup" indicates that hostname resolution may occur. This
  1438. should help prevent mistakes in the future. Fixes bug 3512.
  1439. Changes in version 0.2.2.34 - 2011-10-26
  1440. Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
  1441. can deanonymize Tor users. Everybody should upgrade.
  1442. The attack relies on four components: 1) Clients reuse their TLS cert
  1443. when talking to different relays, so relays can recognize a user by
  1444. the identity key in her cert. 2) An attacker who knows the client's
  1445. identity key can probe each guard relay to see if that identity key
  1446. is connected to that guard relay right now. 3) A variety of active
  1447. attacks in the literature (starting from "Low-Cost Traffic Analysis
  1448. of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
  1449. discover the guard relays that a Tor user visiting the website is using.
  1450. 4) Clients typically pick three guards at random, so the set of guards
  1451. for a given user could well be a unique fingerprint for her. This
  1452. release fixes components #1 and #2, which is enough to block the attack;
  1453. the other two remain as open research problems. Special thanks to
  1454. "frosty_un" for reporting the issue to us!
  1455. Clients should upgrade so they are no longer recognizable by the TLS
  1456. certs they present. Relays should upgrade so they no longer allow a
  1457. remote attacker to probe them to test whether unpatched clients are
  1458. currently connected to them.
  1459. This release also fixes several vulnerabilities that allow an attacker
  1460. to enumerate bridge relays. Some bridge enumeration attacks still
  1461. remain; see for example proposal 188.
  1462. o Privacy/anonymity fixes (clients):
  1463. - Clients and bridges no longer send TLS certificate chains on
  1464. outgoing OR connections. Previously, each client or bridge would
  1465. use the same cert chain for all outgoing OR connections until
  1466. its IP address changes, which allowed any relay that the client
  1467. or bridge contacted to determine which entry guards it is using.
  1468. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  1469. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  1470. no longer considers that connection as suitable for satisfying a
  1471. circuit EXTEND request. Now relays can protect clients from the
  1472. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  1473. - Directory authorities no longer assign the Guard flag to relays
  1474. that haven't upgraded to the above "refuse EXTEND requests
  1475. to client connections" fix. Now directory authorities can
  1476. protect clients from the CVE-2011-2768 issue even if neither
  1477. the clients nor the relays have upgraded yet. There's a new
  1478. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  1479. to let us transition smoothly, else tomorrow there would be no
  1480. guard relays.
  1481. o Privacy/anonymity fixes (bridge enumeration):
  1482. - Bridge relays now do their directory fetches inside Tor TLS
  1483. connections, like all the other clients do, rather than connecting
  1484. directly to the DirPort like public relays do. Removes another
  1485. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  1486. - Bridges relays now build circuits for themselves in a more similar
  1487. way to how clients build them. Removes another avenue for
  1488. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  1489. when bridges were introduced.
  1490. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  1491. that they initiated. Relays could distinguish incoming bridge
  1492. connections from client connections, creating another avenue for
  1493. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  1494. Found by "frosty_un".
  1495. o Major bugfixes:
  1496. - Fix a crash bug when changing node restrictions while a DNS lookup
  1497. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  1498. by "Tey'".
  1499. - Don't launch a useless circuit after failing to use one of a
  1500. hidden service's introduction points. Previously, we would
  1501. launch a new introduction circuit, but not set the hidden service
  1502. which that circuit was intended to connect to, so it would never
  1503. actually be used. A different piece of code would then create a
  1504. new introduction circuit correctly. Bug reported by katmagic and
  1505. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  1506. o Minor bugfixes:
  1507. - Change an integer overflow check in the OpenBSD_Malloc code so
  1508. that GCC is less likely to eliminate it as impossible. Patch
  1509. from Mansour Moufid. Fixes bug 4059.
  1510. - When a hidden service turns an extra service-side introduction
  1511. circuit into a general-purpose circuit, free the rend_data and
  1512. intro_key fields first, so we won't leak memory if the circuit
  1513. is cannibalized for use as another service-side introduction
  1514. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  1515. - Bridges now skip DNS self-tests, to act a little more stealthily.
  1516. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  1517. bridges. Patch by "warms0x".
  1518. - Fix internal bug-checking logic that was supposed to catch
  1519. failures in digest generation so that it will fail more robustly
  1520. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  1521. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  1522. - Report any failure in init_keys() calls launched because our
  1523. IP address has changed. Spotted by Coverity Scan. Bugfix on
  1524. 0.1.1.4-alpha; fixes CID 484.
  1525. o Minor bugfixes (log messages and documentation):
  1526. - Remove a confusing dollar sign from the example fingerprint in the
  1527. man page, and also make the example fingerprint a valid one. Fixes
  1528. bug 4309; bugfix on 0.2.1.3-alpha.
  1529. - The next version of Windows will be called Windows 8, and it has
  1530. a major version of 6, minor version of 2. Correctly identify that
  1531. version instead of calling it "Very recent version". Resolves
  1532. ticket 4153; reported by funkstar.
  1533. - Downgrade log messages about circuit timeout calibration from
  1534. "notice" to "info": they don't require or suggest any human
  1535. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  1536. bugfix on 0.2.2.14-alpha.
  1537. o Minor features:
  1538. - Turn on directory request statistics by default and include them in
  1539. extra-info descriptors. Don't break if we have no GeoIP database.
  1540. Backported from 0.2.3.1-alpha; implements ticket 3951.
  1541. - Update to the October 4 2011 Maxmind GeoLite Country database.
  1542. Changes in version 0.2.1.31 - 2011-10-26
  1543. Tor 0.2.1.31 backports important security and privacy fixes for
  1544. oldstable. This release is intended only for package maintainers and
  1545. others who cannot use the 0.2.2 stable series. All others should be
  1546. using Tor 0.2.2.x or newer.
  1547. o Security fixes (also included in 0.2.2.x):
  1548. - Replace all potentially sensitive memory comparison operations
  1549. with versions whose runtime does not depend on the data being
  1550. compared. This will help resist a class of attacks where an
  1551. adversary can use variations in timing information to learn
  1552. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  1553. implementation by Robert Ransom based partially on code by DJB.)
  1554. - Fix an assert in parsing router descriptors containing IPv6
  1555. addresses. This one took down the directory authorities when
  1556. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  1557. o Privacy/anonymity fixes (also included in 0.2.2.x):
  1558. - Clients and bridges no longer send TLS certificate chains on
  1559. outgoing OR connections. Previously, each client or bridge would
  1560. use the same cert chain for all outgoing OR connections until
  1561. its IP address changes, which allowed any relay that the client
  1562. or bridge contacted to determine which entry guards it is using.
  1563. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  1564. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  1565. no longer considers that connection as suitable for satisfying a
  1566. circuit EXTEND request. Now relays can protect clients from the
  1567. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  1568. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  1569. that they initiated. Relays could distinguish incoming bridge
  1570. connections from client connections, creating another avenue for
  1571. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  1572. Found by "frosty_un".
  1573. - When receiving a hidden service descriptor, check that it is for
  1574. the hidden service we wanted. Previously, Tor would store any
  1575. hidden service descriptors that a directory gave it, whether it
  1576. wanted them or not. This wouldn't have let an attacker impersonate
  1577. a hidden service, but it did let directories pre-seed a client
  1578. with descriptors that it didn't want. Bugfix on 0.0.6.
  1579. - Avoid linkability based on cached hidden service descriptors: forget
  1580. all hidden service descriptors cached as a client when processing a
  1581. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  1582. - Make the bridge directory authority refuse to answer directory
  1583. requests for "all" descriptors. It used to include bridge
  1584. descriptors in its answer, which was a major information leak.
  1585. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  1586. - Don't attach new streams to old rendezvous circuits after SIGNAL
  1587. NEWNYM. Previously, we would keep using an existing rendezvous
  1588. circuit if it remained open (i.e. if it were kept open by a
  1589. long-lived stream, or if a new stream were attached to it before
  1590. Tor could notice that it was old and no longer in use). Bugfix on
  1591. 0.1.1.15-rc; fixes bug 3375.
  1592. o Minor bugfixes (also included in 0.2.2.x):
  1593. - When we restart our relay, we might get a successful connection
  1594. from the outside before we've started our reachability tests,
  1595. triggering a warning: "ORPort found reachable, but I have no
  1596. routerinfo yet. Failing to inform controller of success." This
  1597. bug was harmless unless Tor is running under a controller
  1598. like Vidalia, in which case the controller would never get a
  1599. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  1600. fixes bug 1172.
  1601. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  1602. enabled. Fixes bug 1526.
  1603. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  1604. anything since 0.2.1.16-rc.
  1605. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  1606. None of the cases where we did this before were wrong, but by making
  1607. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  1608. - Fix a rare crash bug that could occur when a client was configured
  1609. with a large number of bridges. Fixes bug 2629; bugfix on
  1610. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  1611. - Correct the warning displayed when a rendezvous descriptor exceeds
  1612. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  1613. John Brooks.
  1614. - Fix an uncommon assertion failure when running with DNSPort under
  1615. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  1616. - When warning about missing zlib development packages during compile,
  1617. give the correct package names. Bugfix on 0.2.0.1-alpha.
  1618. - Require that introduction point keys and onion keys have public
  1619. exponent 65537. Bugfix on 0.2.0.10-alpha.
  1620. - Do not crash when our configuration file becomes unreadable, for
  1621. example due to a permissions change, between when we start up
  1622. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  1623. on 0.0.9pre6.
  1624. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  1625. Fixes bug 3208.
  1626. - Always NUL-terminate the sun_path field of a sockaddr_un before
  1627. passing it to the kernel. (Not a security issue: kernels are
  1628. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  1629. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  1630. - Don't stack-allocate the list of supplementary GIDs when we're
  1631. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  1632. could take up to 256K, which is way too much stack. Found by
  1633. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  1634. o Minor bugfixes (only in 0.2.1.x):
  1635. - Resume using micro-version numbers in 0.2.1.x: our Debian packages
  1636. rely on them. Bugfix on 0.2.1.30.
  1637. - Use git revisions instead of svn revisions when generating our
  1638. micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  1639. o Minor features (also included in 0.2.2.x):
  1640. - Adjust the expiration time on our SSL session certificates to
  1641. better match SSL certs seen in the wild. Resolves ticket 4014.
  1642. - Allow nameservers with IPv6 address. Resolves bug 2574.
  1643. - Update to the October 4 2011 Maxmind GeoLite Country database.
  1644. Changes in version 0.2.3.5-alpha - 2011-09-28
  1645. Tor 0.2.3.5-alpha fixes two bugs that make it possible to enumerate
  1646. bridge relays; fixes an assertion error that many users started hitting
  1647. today; and adds the ability to refill token buckets more often than
  1648. once per second, allowing significant performance improvements.
  1649. o Security fixes:
  1650. - Bridge relays now do their directory fetches inside Tor TLS
  1651. connections, like all the other clients do, rather than connecting
  1652. directly to the DirPort like public relays do. Removes another
  1653. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  1654. - Bridges relays now build circuits for themselves in a more similar
  1655. way to how clients build them. Removes another avenue for
  1656. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  1657. when bridges were introduced.
  1658. o Major bugfixes:
  1659. - Fix an "Assertion md->held_by_node == 1 failed" error that could
  1660. occur when the same microdescriptor was referenced by two node_t
  1661. objects at once. Fix for bug 4118; bugfix on Tor 0.2.3.1-alpha.
  1662. o Major features (networking):
  1663. - Add a new TokenBucketRefillInterval option to refill token buckets
  1664. more frequently than once per second. This should improve network
  1665. performance, alleviate queueing problems, and make traffic less
  1666. bursty. Implements proposal 183; closes ticket 3630. Design by
  1667. Florian Tschorsch and Björn Scheuermann; implementation by
  1668. Florian Tschorsch.
  1669. o Minor bugfixes:
  1670. - Change an integer overflow check in the OpenBSD_Malloc code so
  1671. that GCC is less likely to eliminate it as impossible. Patch
  1672. from Mansour Moufid. Fixes bug 4059.
  1673. o Minor bugfixes (usability):
  1674. - Downgrade log messages about circuit timeout calibration from
  1675. "notice" to "info": they don't require or suggest any human
  1676. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  1677. bugfix on 0.2.2.14-alpha.
  1678. o Minor features (diagnostics):
  1679. - When the system call to create a listener socket fails, log the
  1680. error message explaining why. This may help diagnose bug 4027.
  1681. Changes in version 0.2.3.4-alpha - 2011-09-13
  1682. Tor 0.2.3.4-alpha includes the fixes from 0.2.2.33, including a slight
  1683. tweak to Tor's TLS handshake that makes relays and bridges that run
  1684. this new version reachable from Iran again. It also fixes a few new
  1685. bugs in 0.2.3.x, and teaches relays to recognize when they're not
  1686. listed in the network consensus and republish.
  1687. o Major bugfixes (also part of 0.2.2.33):
  1688. - Avoid an assertion failure when reloading a configuration with
  1689. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  1690. 3923; bugfix on 0.2.2.25-alpha.
  1691. o Minor features (security, also part of 0.2.2.33):
  1692. - Check for replays of the public-key encrypted portion of an
  1693. INTRODUCE1 cell, in addition to the current check for replays of
  1694. the g^x value. This prevents a possible class of active attacks
  1695. by an attacker who controls both an introduction point and a
  1696. rendezvous point, and who uses the malleability of AES-CTR to
  1697. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  1698. that these attacks is infeasible (requiring the attacker to send
  1699. on the order of zettabytes of altered cells in a short interval),
  1700. but we'd rather block them off in case there are any classes of
  1701. this attack that we missed. Reported by Willem Pinckaers.
  1702. o Minor features (also part of 0.2.2.33):
  1703. - Adjust the expiration time on our SSL session certificates to
  1704. better match SSL certs seen in the wild. Resolves ticket 4014.
  1705. - Change the default required uptime for a relay to be accepted as
  1706. a HSDir (hidden service directory) from 24 hours to 25 hours.
  1707. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  1708. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  1709. authorities to abstain from voting on assignment of the HSDir
  1710. consensus flag. Related to bug 2649.
  1711. - Update to the September 6 2011 Maxmind GeoLite Country database.
  1712. o Minor bugfixes (also part of 0.2.2.33):
  1713. - Demote the 'replay detected' log message emitted when a hidden
  1714. service receives the same Diffie-Hellman public key in two different
  1715. INTRODUCE2 cells to info level. A normal Tor client can cause that
  1716. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  1717. fixes part of bug 2442.
  1718. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  1719. level. There is nothing that a hidden service's operator can do
  1720. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  1721. of bug 2442.
  1722. - Clarify a log message specifying the characters permitted in
  1723. HiddenServiceAuthorizeClient client names. Previously, the log
  1724. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  1725. given the impression that every ASCII character between "+" and "_"
  1726. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  1727. o Build fixes (also part of 0.2.2.33):
  1728. - Clean up some code issues that prevented Tor from building on older
  1729. BSDs. Fixes bug 3894; reported by "grarpamp".
  1730. - Search for a platform-specific version of "ar" when cross-compiling.
  1731. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  1732. o Major bugfixes:
  1733. - Fix a bug where the SocksPort option (for example) would get
  1734. ignored and replaced by the default if a SocksListenAddress
  1735. option was set. Bugfix on 0.2.3.3-alpha; fixes bug 3936. Fix by
  1736. Fabian Keil.
  1737. o Major features:
  1738. - Relays now try regenerating and uploading their descriptor more
  1739. frequently if they are not listed in the consensus, or if the
  1740. version of their descriptor listed in the consensus is too
  1741. old. This fix should prevent situations where a server declines
  1742. to re-publish itself because it has done so too recently, even
  1743. though the authorities decided not to list its recent-enough
  1744. descriptor. Fix for bug 3327.
  1745. o Minor features:
  1746. - Relays now include a reason for regenerating their descriptors
  1747. in an HTTP header when uploading to the authorities. This will
  1748. make it easier to debug descriptor-upload issues in the future.
  1749. - When starting as root and then changing our UID via the User
  1750. control option, and we have a ControlSocket configured, make sure
  1751. that the ControlSocket is owned by the same account that Tor will
  1752. run under. Implements ticket 3421; fix by Jérémy Bobbio.
  1753. o Minor bugfixes:
  1754. - Abort if tor_vasprintf fails in connection_printf_to_buf (a
  1755. utility function used in the control-port code). This shouldn't
  1756. ever happen unless Tor is completely out of memory, but if it did
  1757. happen and Tor somehow recovered from it, Tor could have sent a log
  1758. message to a control port in the middle of a reply to a controller
  1759. command. Fixes part of bug 3428; bugfix on 0.1.2.3-alpha.
  1760. - Make 'FetchUselessDescriptors' cause all descriptor types and
  1761. all consensus types (including microdescriptors) to get fetched.
  1762. Fixes bug 3851; bugfix on 0.2.3.1-alpha.
  1763. o Code refactoring:
  1764. - Make a new "entry connection" struct as an internal subtype of "edge
  1765. connection", to simplify the code and make exit connections smaller.
  1766. Changes in version 0.2.2.33 - 2011-09-13
  1767. Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
  1768. TLS handshake that makes relays and bridges that run this new version
  1769. reachable from Iran again.
  1770. o Major bugfixes:
  1771. - Avoid an assertion failure when reloading a configuration with
  1772. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  1773. 3923; bugfix on 0.2.2.25-alpha.
  1774. o Minor features (security):
  1775. - Check for replays of the public-key encrypted portion of an
  1776. INTRODUCE1 cell, in addition to the current check for replays of
  1777. the g^x value. This prevents a possible class of active attacks
  1778. by an attacker who controls both an introduction point and a
  1779. rendezvous point, and who uses the malleability of AES-CTR to
  1780. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  1781. that these attacks are infeasible (requiring the attacker to send
  1782. on the order of zettabytes of altered cells in a short interval),
  1783. but we'd rather block them off in case there are any classes of
  1784. this attack that we missed. Reported by Willem Pinckaers.
  1785. o Minor features:
  1786. - Adjust the expiration time on our SSL session certificates to
  1787. better match SSL certs seen in the wild. Resolves ticket 4014.
  1788. - Change the default required uptime for a relay to be accepted as
  1789. a HSDir (hidden service directory) from 24 hours to 25 hours.
  1790. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  1791. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  1792. authorities to abstain from voting on assignment of the HSDir
  1793. consensus flag. Related to bug 2649.
  1794. - Update to the September 6 2011 Maxmind GeoLite Country database.
  1795. o Minor bugfixes (documentation and log messages):
  1796. - Correct the man page to explain that HashedControlPassword and
  1797. CookieAuthentication can both be set, in which case either method
  1798. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  1799. when we decided to allow these config options to both be set. Issue
  1800. raised by bug 3898.
  1801. - Demote the 'replay detected' log message emitted when a hidden
  1802. service receives the same Diffie-Hellman public key in two different
  1803. INTRODUCE2 cells to info level. A normal Tor client can cause that
  1804. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  1805. fixes part of bug 2442.
  1806. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  1807. level. There is nothing that a hidden service's operator can do
  1808. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  1809. of bug 2442.
  1810. - Clarify a log message specifying the characters permitted in
  1811. HiddenServiceAuthorizeClient client names. Previously, the log
  1812. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  1813. given the impression that every ASCII character between "+" and "_"
  1814. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  1815. o Build fixes:
  1816. - Provide a substitute implementation of lround() for MSVC, which
  1817. apparently lacks it. Patch from Gisle Vanem.
  1818. - Clean up some code issues that prevented Tor from building on older
  1819. BSDs. Fixes bug 3894; reported by "grarpamp".
  1820. - Search for a platform-specific version of "ar" when cross-compiling.
  1821. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  1822. Changes in version 0.2.3.3-alpha - 2011-09-01
  1823. Tor 0.2.3.3-alpha adds a new "stream isolation" feature to improve Tor's
  1824. security, and provides client-side support for the microdescriptor
  1825. and optimistic data features introduced earlier in the 0.2.3.x
  1826. series. It also includes numerous critical bugfixes in the (optional)
  1827. bufferevent-based networking backend.
  1828. o Major features (stream isolation):
  1829. - You can now configure Tor so that streams from different
  1830. applications are isolated on different circuits, to prevent an
  1831. attacker who sees your streams as they leave an exit node from
  1832. linking your sessions to one another. To do this, choose some way
  1833. to distinguish the applications: have them connect to different
  1834. SocksPorts, or have one of them use SOCKS4 while the other uses
  1835. SOCKS5, or have them pass different authentication strings to the
  1836. SOCKS proxy. Then, use the new SocksPort syntax to configure the
  1837. degree of isolation you need. This implements Proposal 171.
  1838. - There's a new syntax for specifying multiple client ports (such as
  1839. SOCKSPort, TransPort, DNSPort, NATDPort): you can now just declare
  1840. multiple *Port entries with full addr:port syntax on each.
  1841. The old *ListenAddress format is still supported, but you can't
  1842. mix it with the new *Port syntax.
  1843. o Major features (other):
  1844. - Enable microdescriptor fetching by default for clients. This allows
  1845. clients to download a much smaller amount of directory information.
  1846. To disable it (and go back to the old-style consensus and
  1847. descriptors), set "UseMicrodescriptors 0" in your torrc file.
  1848. - Tor's firewall-helper feature, introduced in 0.2.3.1-alpha (see the
  1849. "PortForwarding" config option), now supports Windows.
  1850. - When using an exit relay running 0.2.3.x, clients can now
  1851. "optimistically" send data before the exit relay reports that
  1852. the stream has opened. This saves a round trip when starting
  1853. connections where the client speaks first (such as web browsing).
  1854. This behavior is controlled by a consensus parameter (currently
  1855. disabled). To turn it on or off manually, use the "OptimisticData"
  1856. torrc option. Implements proposal 181; code by Ian Goldberg.
  1857. o Major bugfixes (bufferevents, fixes on 0.2.3.1-alpha):
  1858. - When using IOCP on Windows, we need to enable Libevent windows
  1859. threading support.
  1860. - The IOCP backend now works even when the user has not specified
  1861. the (internal, debugging-only) _UseFilteringSSLBufferevents option.
  1862. Fixes part of bug 3752.
  1863. - Correctly record the bytes we've read and written when using
  1864. bufferevents, so that we can include them in our bandwidth history
  1865. and advertised bandwidth. Fixes bug 3803.
  1866. - Apply rate-limiting only at the bottom of a chain of filtering
  1867. bufferevents. This prevents us from filling up internal read
  1868. buffers and violating rate-limits when filtering bufferevents
  1869. are enabled. Fixes part of bug 3804.
  1870. - Add high-watermarks to the output buffers for filtered
  1871. bufferevents. This prevents us from filling up internal write
  1872. buffers and wasting CPU cycles when filtering bufferevents are
  1873. enabled. Fixes part of bug 3804.
  1874. - Correctly notice when data has been written from a bufferevent
  1875. without flushing it completely. Fixes bug 3805.
  1876. - Fix a bug where server-side tunneled bufferevent-based directory
  1877. streams would get closed prematurely. Fixes bug 3814.
  1878. - Fix a use-after-free error with per-connection rate-limiting
  1879. buckets. Fixes bug 3888.
  1880. o Major bugfixes (also part of 0.2.2.31-rc):
  1881. - If we're configured to write our ControlPorts to disk, only write
  1882. them after switching UID and creating the data directory. This way,
  1883. we don't fail when starting up with a nonexistent DataDirectory
  1884. and a ControlPortWriteToFile setting based on that directory. Fixes
  1885. bug 3747; bugfix on Tor 0.2.2.26-beta.
  1886. o Minor features:
  1887. - Added a new CONF_CHANGED event so that controllers can be notified
  1888. of any configuration changes made by other controllers, or by the
  1889. user. Implements ticket 1692.
  1890. - Use evbuffer_copyout() in inspect_evbuffer(). This fixes a memory
  1891. leak when using bufferevents, and lets Libevent worry about how to
  1892. best copy data out of a buffer.
  1893. - Replace files in stats/ rather than appending to them. Now that we
  1894. include statistics in extra-info descriptors, it makes no sense to
  1895. keep old statistics forever. Implements ticket 2930.
  1896. o Minor features (build compatibility):
  1897. - Limited, experimental support for building with nmake and MSVC.
  1898. - Provide a substitute implementation of lround() for MSVC, which
  1899. apparently lacks it. Patch from Gisle Vanem.
  1900. o Minor features (also part of 0.2.2.31-rc):
  1901. - Update to the August 2 2011 Maxmind GeoLite Country database.
  1902. o Minor bugfixes (on 0.2.3.x-alpha):
  1903. - Fix a spurious warning when parsing SOCKS requests with
  1904. bufferevents enabled. Fixes bug 3615; bugfix on 0.2.3.2-alpha.
  1905. - Get rid of a harmless warning that could happen on relays running
  1906. with bufferevents. The warning was caused by someone doing an http
  1907. request to a relay's orport. Also don't warn for a few related
  1908. non-errors. Fixes bug 3700; bugfix on 0.2.3.1-alpha.
  1909. o Minor bugfixes (on 2.2.x and earlier):
  1910. - Correct the man page to explain that HashedControlPassword and
  1911. CookieAuthentication can both be set, in which case either method
  1912. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  1913. when we decided to allow these config options to both be set. Issue
  1914. raised by bug 3898.
  1915. - The "--quiet" and "--hush" options now apply not only to Tor's
  1916. behavior before logs are configured, but also to Tor's behavior in
  1917. the absense of configured logs. Fixes bug 3550; bugfix on
  1918. 0.2.0.10-alpha.
  1919. o Minor bugfixes (also part of 0.2.2.31-rc):
  1920. - Write several files in text mode, on OSes that distinguish text
  1921. mode from binary mode (namely, Windows). These files are:
  1922. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  1923. that collect those statistics; 'client_keys' and 'hostname' for
  1924. hidden services that use authentication; and (in the tor-gencert
  1925. utility) newly generated identity and signing keys. Previously,
  1926. we wouldn't specify text mode or binary mode, leading to an
  1927. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  1928. the DirRecordUsageByCountry option which would have triggered
  1929. the assertion failure was added), although this assertion failure
  1930. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  1931. - Selectively disable deprecation warnings on OS X because Lion
  1932. started deprecating the shipped copy of openssl. Fixes bug 3643.
  1933. - Remove an extra pair of quotation marks around the error
  1934. message in control-port STATUS_GENERAL BUG events. Bugfix on
  1935. 0.1.2.6-alpha; fixes bug 3732.
  1936. - When unable to format an address as a string, report its value
  1937. as "???" rather than reusing the last formatted address. Bugfix
  1938. on 0.2.1.5-alpha.
  1939. o Code simplifications and refactoring:
  1940. - Rewrite the listener-selection logic so that parsing which ports
  1941. we want to listen on is now separate from binding to the ports
  1942. we want.
  1943. o Build changes:
  1944. - Building Tor with bufferevent support now requires Libevent
  1945. 2.0.13-stable or later. Previous versions of Libevent had bugs in
  1946. SSL-related bufferevents and related issues that would make Tor
  1947. work badly with bufferevents. Requiring 2.0.13-stable also allows
  1948. Tor with bufferevents to take advantage of Libevent APIs
  1949. introduced after 2.0.8-rc.
  1950. Changes in version 0.2.2.32 - 2011-08-27
  1951. The Tor 0.2.2 release series is dedicated to the memory of Andreas
  1952. Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
  1953. a founder of the PETS community, a leader in our field, a mentor,
  1954. and a friend. He left us with these words: "I had the possibility
  1955. to contribute to this world that is not as it should be. I hope I
  1956. could help in some areas to make the world a better place, and that
  1957. I could also encourage other people to be engaged in improving the
  1958. world. Please, stay engaged. This world needs you, your love, your
  1959. initiative -- now I cannot be part of that anymore."
  1960. Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
  1961. ready. More than two years in the making, this release features improved
  1962. client performance and hidden service reliability, better compatibility
  1963. for Android, correct behavior for bridges that listen on more than
  1964. one address, more extensible and flexible directory object handling,
  1965. better reporting of network statistics, improved code security, and
  1966. many many other features and bugfixes.
  1967. Changes in version 0.2.2.31-rc - 2011-08-17
  1968. Tor 0.2.2.31-rc is the second and hopefully final release candidate
  1969. for the Tor 0.2.2.x series.
  1970. o Major bugfixes:
  1971. - Remove an extra pair of quotation marks around the error
  1972. message in control-port STATUS_GENERAL BUG events. Bugfix on
  1973. 0.1.2.6-alpha; fixes bug 3732.
  1974. - If we're configured to write our ControlPorts to disk, only write
  1975. them after switching UID and creating the data directory. This way,
  1976. we don't fail when starting up with a nonexistent DataDirectory
  1977. and a ControlPortWriteToFile setting based on that directory. Fixes
  1978. bug 3747; bugfix on Tor 0.2.2.26-beta.
  1979. o Minor features:
  1980. - Update to the August 2 2011 Maxmind GeoLite Country database.
  1981. o Minor bugfixes:
  1982. - Allow GETINFO fingerprint to return a fingerprint even when
  1983. we have not yet built a router descriptor. Fixes bug 3577;
  1984. bugfix on 0.2.0.1-alpha.
  1985. - Write several files in text mode, on OSes that distinguish text
  1986. mode from binary mode (namely, Windows). These files are:
  1987. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  1988. that collect those statistics; 'client_keys' and 'hostname' for
  1989. hidden services that use authentication; and (in the tor-gencert
  1990. utility) newly generated identity and signing keys. Previously,
  1991. we wouldn't specify text mode or binary mode, leading to an
  1992. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  1993. the DirRecordUsageByCountry option which would have triggered
  1994. the assertion failure was added), although this assertion failure
  1995. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  1996. - Selectively disable deprecation warnings on OS X because Lion
  1997. started deprecating the shipped copy of openssl. Fixes bug 3643.
  1998. - When unable to format an address as a string, report its value
  1999. as "???" rather than reusing the last formatted address. Bugfix
  2000. on 0.2.1.5-alpha.
  2001. Changes in version 0.2.3.2-alpha - 2011-07-18
  2002. Tor 0.2.3.2-alpha introduces two new experimental features:
  2003. microdescriptors and pluggable transports. It also continues cleaning
  2004. up a variety of recently introduced features.
  2005. o Major features:
  2006. - Clients can now use microdescriptors instead of regular descriptors
  2007. to build circuits. Microdescriptors are authority-generated
  2008. summaries of regular descriptors' contents, designed to change
  2009. very rarely (see proposal 158 for details). This feature is
  2010. designed to save bandwidth, especially for clients on slow internet
  2011. connections. It's off by default for now, since nearly no caches
  2012. support it, but it will be on-by-default for clients in a future
  2013. version. You can use the UseMicrodescriptors option to turn it on.
  2014. - Tor clients using bridges can now be configured to use a separate
  2015. 'transport' proxy for each bridge. This approach helps to resist
  2016. censorship by allowing bridges to use protocol obfuscation
  2017. plugins. It implements part of proposal 180. Implements ticket 2841.
  2018. - While we're trying to bootstrap, record how many TLS connections
  2019. fail in each state, and report which states saw the most failures
  2020. in response to any bootstrap failures. This feature may speed up
  2021. diagnosis of censorship events. Implements ticket 3116.
  2022. o Major bugfixes (on 0.2.3.1-alpha):
  2023. - When configuring a large set of nodes in EntryNodes (as with
  2024. 'EntryNodes {cc}' or 'EntryNodes 1.1.1.1/16'), choose only a
  2025. random subset to be guards, and choose them in random
  2026. order. Fixes bug 2798.
  2027. - Tor could crash when remembering a consensus in a non-used consensus
  2028. flavor without having a current consensus set. Fixes bug 3361.
  2029. - Comparing an unknown address to a microdescriptor's shortened exit
  2030. policy would always give a "rejected" result. Fixes bug 3599.
  2031. - Using microdescriptors as a client no longer prevents Tor from
  2032. uploading and downloading hidden service descriptors. Fixes
  2033. bug 3601.
  2034. o Minor features:
  2035. - Allow nameservers with IPv6 address. Resolves bug 2574.
  2036. - Accept attempts to include a password authenticator in the
  2037. handshake, as supported by SOCKS5. This handles SOCKS clients that
  2038. don't know how to omit a password when authenticating. Resolves
  2039. bug 1666.
  2040. - When configuring a large set of nodes in EntryNodes, and there are
  2041. enough of them listed as Guard so that we don't need to consider
  2042. the non-guard entries, prefer the ones listed with the Guard flag.
  2043. - Check for and recover from inconsistency in the microdescriptor
  2044. cache. This will make it harder for us to accidentally free a
  2045. microdescriptor without removing it from the appropriate data
  2046. structures. Fixes issue 3135; issue noted by "wanoskarnet".
  2047. - Log SSL state transitions at log level DEBUG, log domain
  2048. HANDSHAKE. This can be useful for debugging censorship events.
  2049. Implements ticket 3264.
  2050. - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
  2051. implements ticket 3439.
  2052. o Minor bugfixes (on 0.2.3.1-alpha):
  2053. - Do not free all general-purpose regular descriptors just
  2054. because microdescriptor use is enabled. Fixes bug 3113.
  2055. - Correctly link libevent_openssl when --enable-static-libevent
  2056. is passed to configure. Fixes bug 3118.
  2057. - Bridges should not complain during their heartbeat log messages that
  2058. they are unlisted in the consensus: that's more or less the point
  2059. of being a bridge. Fixes bug 3183.
  2060. - Report a SIGNAL event to controllers when acting on a delayed
  2061. SIGNAL NEWNYM command. Previously, we would report a SIGNAL
  2062. event to the controller if we acted on a SIGNAL NEWNYM command
  2063. immediately, and otherwise not report a SIGNAL event for the
  2064. command at all. Fixes bug 3349.
  2065. - Fix a crash when handling the SIGNAL controller command or
  2066. reporting ERR-level status events with bufferevents enabled. Found
  2067. by Robert Ransom. Fixes bug 3367.
  2068. - Always ship the tor-fw-helper manpage in our release tarballs.
  2069. Fixes bug 3389. Reported by Stephen Walker.
  2070. - Fix a class of double-mark-for-close bugs when bufferevents
  2071. are enabled. Fixes bug 3403.
  2072. - Update tor-fw-helper to support libnatpmp-20110618. Fixes bug 3434.
  2073. - Add SIGNAL to the list returned by the 'GETINFO events/names'
  2074. control-port command. Fixes part of bug 3465.
  2075. - Prevent using negative indices during unit test runs when read_all()
  2076. fails. Spotted by coverity.
  2077. - Fix a rare memory leak when checking the nodelist without it being
  2078. present. Found by coverity.
  2079. - Only try to download a microdescriptor-flavored consensus from
  2080. a directory cache that provides them.
  2081. o Minor bugfixes (on 0.2.2.x and earlier):
  2082. - Assert that hidden-service-related operations are not performed
  2083. using single-hop circuits. Previously, Tor would assert that
  2084. client-side streams are not attached to single-hop circuits,
  2085. but not that other sensitive operations on the client and service
  2086. side are not performed using single-hop circuits. Fixes bug 3332;
  2087. bugfix on 0.0.6.
  2088. - Don't publish a new relay descriptor when we reload our onion key,
  2089. unless the onion key has actually changed. Fixes bug 3263 and
  2090. resolves another cause of bug 1810. Bugfix on 0.1.1.11-alpha.
  2091. - Allow GETINFO fingerprint to return a fingerprint even when
  2092. we have not yet built a router descriptor. Fixes bug 3577;
  2093. bugfix on 0.2.0.1-alpha.
  2094. - Make 'tor --digests' list hashes of all Tor source files. Bugfix
  2095. on 0.2.2.4-alpha; fixes bug 3427.
  2096. o Code simplification and refactoring:
  2097. - Use tor_sscanf() in place of scanf() in more places through the
  2098. code. This makes us a little more locale-independent, and
  2099. should help shut up code-analysis tools that can't tell
  2100. a safe sscanf string from a dangerous one.
  2101. - Use tt_assert(), not tor_assert(), for checking for test failures.
  2102. This makes the unit tests more able to go on in the event that
  2103. one of them fails.
  2104. - Split connection_about_to_close() into separate functions for each
  2105. connection type.
  2106. o Build changes:
  2107. - On Windows, we now define the _WIN32_WINNT macros only if they
  2108. are not already defined. This lets the person building Tor decide,
  2109. if they want, to require a later version of Windows.
  2110. Changes in version 0.2.2.30-rc - 2011-07-07
  2111. Tor 0.2.2.30-rc is the first release candidate for the Tor 0.2.2.x
  2112. series. It fixes a few smaller bugs, but generally appears stable.
  2113. Please test it and let us know whether it is!
  2114. o Minor bugfixes:
  2115. - Send a SUCCEEDED stream event to the controller when a reverse
  2116. resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
  2117. discovered by katmagic.
  2118. - Always NUL-terminate the sun_path field of a sockaddr_un before
  2119. passing it to the kernel. (Not a security issue: kernels are
  2120. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  2121. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  2122. - Don't stack-allocate the list of supplementary GIDs when we're
  2123. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  2124. could take up to 256K, which is way too much stack. Found by
  2125. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  2126. - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
  2127. events/names' control-port command. Bugfix on 0.2.2.9-alpha;
  2128. fixes part of bug 3465.
  2129. - Fix a memory leak when receiving a descriptor for a hidden
  2130. service we didn't ask for. Found by Coverity; CID #30. Bugfix
  2131. on 0.2.2.26-beta.
  2132. o Minor features:
  2133. - Update to the July 1 2011 Maxmind GeoLite Country database.
  2134. Changes in version 0.2.2.29-beta - 2011-06-20
  2135. Tor 0.2.2.29-beta reverts an accidental behavior change for users who
  2136. have bridge lines in their torrc but don't want to use them; gets
  2137. us closer to having the control socket feature working on Debian;
  2138. and fixes a variety of smaller bugs.
  2139. o Major bugfixes:
  2140. - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
  2141. When we changed the default behavior to "use bridges if any
  2142. are listed in the torrc", we surprised users who had bridges
  2143. in their torrc files but who didn't actually want to use them.
  2144. Partial resolution for bug 3354.
  2145. o Privacy fixes:
  2146. - Don't attach new streams to old rendezvous circuits after SIGNAL
  2147. NEWNYM. Previously, we would keep using an existing rendezvous
  2148. circuit if it remained open (i.e. if it were kept open by a
  2149. long-lived stream, or if a new stream were attached to it before
  2150. Tor could notice that it was old and no longer in use). Bugfix on
  2151. 0.1.1.15-rc; fixes bug 3375.
  2152. o Minor bugfixes:
  2153. - Fix a bug when using ControlSocketsGroupWritable with User. The
  2154. directory's group would be checked against the current group, not
  2155. the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
  2156. bugfix on 0.2.2.26-beta.
  2157. - Make connection_printf_to_buf()'s behaviour sane. Its callers
  2158. expect it to emit a CRLF iff the format string ends with CRLF;
  2159. it actually emitted a CRLF iff (a) the format string ended with
  2160. CRLF or (b) the resulting string was over 1023 characters long or
  2161. (c) the format string did not end with CRLF *and* the resulting
  2162. string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
  2163. fixes part of bug 3407.
  2164. - Make send_control_event_impl()'s behaviour sane. Its callers
  2165. expect it to always emit a CRLF at the end of the string; it
  2166. might have emitted extra control characters as well. Bugfix on
  2167. 0.1.1.9-alpha; fixes another part of bug 3407.
  2168. - Make crypto_rand_int() check the value of its input correctly.
  2169. Previously, it accepted values up to UINT_MAX, but could return a
  2170. negative number if given a value above INT_MAX+1. Found by George
  2171. Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
  2172. - Avoid a segfault when reading a malformed circuit build state
  2173. with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
  2174. 0.2.2.4-alpha.
  2175. - When asked about a DNS record type we don't support via a
  2176. client DNSPort, reply with NOTIMPL rather than an empty
  2177. reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
  2178. - Fix a rare memory leak during stats writing. Found by coverity.
  2179. o Minor features:
  2180. - Update to the June 1 2011 Maxmind GeoLite Country database.
  2181. o Code simplifications and refactoring:
  2182. - Remove some dead code as indicated by coverity.
  2183. - Remove a few dead assignments during router parsing. Found by
  2184. coverity.
  2185. - Add some forgotten return value checks during unit tests. Found
  2186. by coverity.
  2187. - Don't use 1-bit wide signed bit fields. Found by coverity.
  2188. Changes in version 0.2.2.28-beta - 2011-06-04
  2189. Tor 0.2.2.28-beta makes great progress towards a new stable release: we
  2190. fixed a big bug in whether relays stay in the consensus consistently,
  2191. we moved closer to handling bridges and hidden services correctly,
  2192. and we started the process of better handling the dreaded "my Vidalia
  2193. died, and now my Tor demands a password when I try to reconnect to it"
  2194. usability issue.
  2195. o Major bugfixes:
  2196. - Don't decide to make a new descriptor when receiving a HUP signal.
  2197. This bug has caused a lot of 0.2.2.x relays to disappear from the
  2198. consensus periodically. Fixes the most common case of triggering
  2199. bug 1810; bugfix on 0.2.2.7-alpha.
  2200. - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
  2201. - Don't try to build descriptors if "ORPort auto" is set and we
  2202. don't know our actual ORPort yet. Fix for bug 3216; bugfix on
  2203. 0.2.2.26-beta.
  2204. - Resolve a crash that occurred when setting BridgeRelay to 1 with
  2205. accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
  2206. - Apply circuit timeouts to opened hidden-service-related circuits
  2207. based on the correct start time. Previously, we would apply the
  2208. circuit build timeout based on time since the circuit's creation;
  2209. it was supposed to be applied based on time since the circuit
  2210. entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
  2211. - Use the same circuit timeout for client-side introduction
  2212. circuits as for other four-hop circuits, rather than the timeout
  2213. for single-hop directory-fetch circuits; the shorter timeout may
  2214. have been appropriate with the static circuit build timeout in
  2215. 0.2.1.x and earlier, but caused many hidden service access attempts
  2216. to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
  2217. on 0.2.2.2-alpha; fixes another part of bug 1297.
  2218. - In ticket 2511 we fixed a case where you could use an unconfigured
  2219. bridge if you had configured it as a bridge the last time you ran
  2220. Tor. Now fix another edge case: if you had configured it as a bridge
  2221. but then switched to a different bridge via the controller, you
  2222. would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
  2223. fixes bug 3321.
  2224. o Major features:
  2225. - Add an __OwningControllerProcess configuration option and a
  2226. TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
  2227. that when it exits, Tor will shut down. Implements feature 3049.
  2228. - If "UseBridges 1" is set and no bridges are configured, Tor will
  2229. now refuse to build any circuits until some bridges are set.
  2230. If "UseBridges auto" is set, Tor will use bridges if they are
  2231. configured and we are not running as a server, but otherwise will
  2232. make circuits as usual. The new default is "auto". Patch by anonym,
  2233. so the Tails LiveCD can stop automatically revealing you as a Tor
  2234. user on startup.
  2235. o Minor bugfixes:
  2236. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  2237. - Remove a trailing asterisk from "exit-policy/default" in the
  2238. output of the control port command "GETINFO info/names". Bugfix
  2239. on 0.1.2.5-alpha.
  2240. - Use a wide type to hold sockets when built for 64-bit Windows builds.
  2241. Fixes bug 3270.
  2242. - Warn when the user configures two HiddenServiceDir lines that point
  2243. to the same directory. Bugfix on 0.0.6 (the version introducing
  2244. HiddenServiceDir); fixes bug 3289.
  2245. - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
  2246. part of bug 2748; bugfix on 0.2.0.10-alpha.
  2247. - Log malformed requests for rendezvous descriptors as protocol
  2248. warnings, not warnings. Also, use a more informative log message
  2249. in case someone sees it at log level warning without prior
  2250. info-level messages. Fixes the other part of bug 2748; bugfix
  2251. on 0.2.0.10-alpha.
  2252. - Clear the table recording the time of the last request for each
  2253. hidden service descriptor from each HS directory on SIGNAL NEWNYM.
  2254. Previously, we would clear our HS descriptor cache on SIGNAL
  2255. NEWNYM, but if we had previously retrieved a descriptor (or tried
  2256. to) from every directory responsible for it, we would refuse to
  2257. fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
  2258. fixes bug 3309.
  2259. - Fix a log message that said "bits" while displaying a value in
  2260. bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
  2261. 0.2.0.1-alpha.
  2262. - When checking for 1024-bit keys, check for 1024 bits, not 128
  2263. bytes. This allows Tor to correctly discard keys of length 1017
  2264. through 1023. Bugfix on 0.0.9pre5.
  2265. o Minor features:
  2266. - Relays now log the reason for publishing a new relay descriptor,
  2267. so we have a better chance of hunting down instances of bug 1810.
  2268. Resolves ticket 3252.
  2269. - Revise most log messages that refer to nodes by nickname to
  2270. instead use the "$key=nickname at address" format. This should be
  2271. more useful, especially since nicknames are less and less likely
  2272. to be unique. Resolves ticket 3045.
  2273. - Log (at info level) when purging pieces of hidden-service-client
  2274. state because of SIGNAL NEWNYM.
  2275. o Removed options:
  2276. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  2277. anything since 0.2.1.16-rc.
  2278. Changes in version 0.2.2.27-beta - 2011-05-18
  2279. Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
  2280. release, and also adds a few more general bugfixes.
  2281. o Major bugfixes:
  2282. - Fix a crash bug when changing bridges in a running Tor process.
  2283. Fixes bug 3213; bugfix on 0.2.2.26-beta.
  2284. - When the controller configures a new bridge, don't wait 10 to 60
  2285. seconds before trying to fetch its descriptor. Bugfix on
  2286. 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
  2287. o Minor bugfixes:
  2288. - Require that onion keys have exponent 65537 in microdescriptors too.
  2289. Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
  2290. - Tor used to limit HttpProxyAuthenticator values to 48 characters.
  2291. Changed the limit to 512 characters by removing base64 newlines.
  2292. Fixes bug 2752. Fix by Michael Yakubovich.
  2293. - When a client starts or stops using bridges, never use a circuit
  2294. that was built before the configuration change. This behavior could
  2295. put at risk a user who uses bridges to ensure that her traffic
  2296. only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
  2297. bug 3200.
  2298. Changes in version 0.2.2.26-beta - 2011-05-17
  2299. Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
  2300. also introduces a new "socksport auto" approach that should make it
  2301. easier to run multiple Tors on the same system, and does a lot of
  2302. cleanup to get us closer to a release candidate.
  2303. o Security/privacy fixes:
  2304. - Replace all potentially sensitive memory comparison operations
  2305. with versions whose runtime does not depend on the data being
  2306. compared. This will help resist a class of attacks where an
  2307. adversary can use variations in timing information to learn
  2308. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  2309. implementation by Robert Ransom based partially on code by DJB.)
  2310. - When receiving a hidden service descriptor, check that it is for
  2311. the hidden service we wanted. Previously, Tor would store any
  2312. hidden service descriptors that a directory gave it, whether it
  2313. wanted them or not. This wouldn't have let an attacker impersonate
  2314. a hidden service, but it did let directories pre-seed a client
  2315. with descriptors that it didn't want. Bugfix on 0.0.6.
  2316. - On SIGHUP, do not clear out all TrackHostExits mappings, client
  2317. DNS cache entries, and virtual address mappings: that's what
  2318. NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
  2319. o Major features:
  2320. - The options SocksPort, ControlPort, and so on now all accept a
  2321. value "auto" that opens a socket on an OS-selected port. A
  2322. new ControlPortWriteToFile option tells Tor to write its
  2323. actual control port or ports to a chosen file. If the option
  2324. ControlPortFileGroupReadable is set, the file is created as
  2325. group-readable. Now users can run two Tor clients on the same
  2326. system without needing to manually mess with parameters. Resolves
  2327. part of ticket 3076.
  2328. - Set SO_REUSEADDR on all sockets, not just listeners. This should
  2329. help busy exit nodes avoid running out of useable ports just
  2330. because all the ports have been used in the near past. Resolves
  2331. issue 2850.
  2332. o Minor features:
  2333. - New "GETINFO net/listeners/(type)" controller command to return
  2334. a list of addresses and ports that are bound for listeners for a
  2335. given connection type. This is useful when the user has configured
  2336. "SocksPort auto" and the controller needs to know which port got
  2337. chosen. Resolves another part of ticket 3076.
  2338. - Add a new ControlSocketsGroupWritable configuration option: when
  2339. it is turned on, ControlSockets are group-writeable by the default
  2340. group of the current user. Patch by Jérémy Bobbio; implements
  2341. ticket 2972.
  2342. - Tor now refuses to create a ControlSocket in a directory that is
  2343. world-readable (or group-readable if ControlSocketsGroupWritable
  2344. is 0). This is necessary because some operating systems do not
  2345. enforce permissions on an AF_UNIX sockets. Permissions on the
  2346. directory holding the socket, however, seems to work everywhere.
  2347. - Rate-limit a warning about failures to download v2 networkstatus
  2348. documents. Resolves part of bug 1352.
  2349. - Backport code from 0.2.3.x that allows directory authorities to
  2350. clean their microdescriptor caches. Needed to resolve bug 2230.
  2351. - When an HTTPS proxy reports "403 Forbidden", we now explain
  2352. what it means rather than calling it an unexpected status code.
  2353. Closes bug 2503. Patch from Michael Yakubovich.
  2354. - Update to the May 1 2011 Maxmind GeoLite Country database.
  2355. o Minor bugfixes:
  2356. - Authorities now clean their microdesc cache periodically and when
  2357. reading from disk initially, not only when adding new descriptors.
  2358. This prevents a bug where we could lose microdescriptors. Bugfix
  2359. on 0.2.2.6-alpha. Fixes bug 2230.
  2360. - Do not crash when our configuration file becomes unreadable, for
  2361. example due to a permissions change, between when we start up
  2362. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  2363. on 0.0.9pre6.
  2364. - Avoid a bug that would keep us from replacing a microdescriptor
  2365. cache on Windows. (We would try to replace the file while still
  2366. holding it open. That's fine on Unix, but Windows doesn't let us
  2367. do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
  2368. - Add missing explanations for the authority-related torrc options
  2369. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
  2370. man page. Resolves issue 2379.
  2371. - As an authority, do not upload our own vote or signature set to
  2372. ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
  2373. it would get flagged as a duplicate. Resolves bug 3026.
  2374. - Accept hidden service descriptors if we think we might be a hidden
  2375. service directory, regardless of what our consensus says. This
  2376. helps robustness, since clients and hidden services can sometimes
  2377. have a more up-to-date view of the network consensus than we do,
  2378. and if they think that the directory authorities list us a HSDir,
  2379. we might actually be one. Related to bug 2732; bugfix on
  2380. 0.2.0.10-alpha.
  2381. - When a controller changes TrackHostExits, remove mappings for
  2382. hosts that should no longer have their exits tracked. Bugfix on
  2383. 0.1.0.1-rc.
  2384. - When a controller changes VirtualAddrNetwork, remove any mappings
  2385. for hosts that were automapped to the old network. Bugfix on
  2386. 0.1.1.19-rc.
  2387. - When a controller changes one of the AutomapHosts* options, remove
  2388. any mappings for hosts that should no longer be automapped. Bugfix
  2389. on 0.2.0.1-alpha.
  2390. - Do not reset the bridge descriptor download status every time we
  2391. re-parse our configuration or get a configuration change. Fixes
  2392. bug 3019; bugfix on 0.2.0.3-alpha.
  2393. o Minor bugfixes (code cleanup):
  2394. - When loading the microdesc journal, remember its current size.
  2395. In 0.2.2, this helps prevent the microdesc journal from growing
  2396. without limit on authorities (who are the only ones to use it in
  2397. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  2398. Fix posted by "cypherpunks."
  2399. - The microdesc journal is supposed to get rebuilt only if it is
  2400. at least _half_ the length of the store, not _twice_ the length
  2401. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  2402. - Fix a potential null-pointer dereference while computing a
  2403. consensus. Bugfix on tor-0.2.0.3-alpha, found with the help of
  2404. clang's analyzer.
  2405. - Avoid a possible null-pointer dereference when rebuilding the mdesc
  2406. cache without actually having any descriptors to cache. Bugfix on
  2407. 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
  2408. - If we fail to compute the identity digest of a v3 legacy keypair,
  2409. warn, and don't use a buffer-full of junk instead. Bugfix on
  2410. 0.2.1.1-alpha; fixes bug 3106.
  2411. - Resolve an untriggerable issue in smartlist_string_num_isin(),
  2412. where if the function had ever in the future been used to check
  2413. for the presence of a too-large number, it would have given an
  2414. incorrect result. (Fortunately, we only used it for 16-bit
  2415. values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
  2416. - Require that introduction point keys and onion handshake keys
  2417. have a public exponent of 65537. Starts to fix bug 3207; bugfix
  2418. on 0.2.0.10-alpha.
  2419. o Removed features:
  2420. - Caches no longer download and serve v2 networkstatus documents
  2421. unless FetchV2Networkstatus flag is set: these documents haven't
  2422. haven't been used by clients or relays since 0.2.0.x. Resolves
  2423. bug 3022.
  2424. Changes in version 0.2.3.1-alpha - 2011-05-05
  2425. Tor 0.2.3.1-alpha adds some new experimental features, including support
  2426. for an improved network IO backend, IOCP networking on Windows,
  2427. microdescriptor caching, "fast-start" support for streams, and automatic
  2428. home router configuration. There are also numerous internal improvements
  2429. to try to make the code easier for developers to work with.
  2430. This is the first alpha release in a new series, so expect there to be
  2431. bugs. Users who would rather test out a more stable branch should
  2432. stay with 0.2.2.x for now.
  2433. o Major features:
  2434. - Tor can now optionally build with the "bufferevents" buffered IO
  2435. backend provided by Libevent 2. To use this feature, make sure you
  2436. have the latest possible version of Libevent, and pass the
  2437. --enable-bufferevents flag to configure when building Tor from
  2438. source. This feature will make our networking code more flexible,
  2439. let us stack layers on each other, and let us use more efficient
  2440. zero-copy transports where available.
  2441. - As an experimental feature, Tor can use IOCP for networking on Windows.
  2442. Once this code is tuned and optimized, it promises much better
  2443. performance than the select-based backend we've used in the past. To
  2444. try this feature, you must build Tor with Libevent 2, configure Tor
  2445. with the "bufferevents" buffered IO backend, and add "DisableIOCP 0" to
  2446. your torrc. There are known bugs here: only try this if you can help
  2447. debug it as it breaks.
  2448. - The EntryNodes option can now include country codes like {de} or IP
  2449. addresses or network masks. Previously we had disallowed these options
  2450. because we didn't have an efficient way to keep the list up to
  2451. date. Fixes bug 1982, but see bug 2798 for an unresolved issue here.
  2452. - Exit nodes now accept and queue data on not-yet-connected streams.
  2453. Previously, the client wasn't allowed to send data until the stream was
  2454. connected, which slowed down all connections. This change will enable
  2455. clients to perform a "fast-start" on streams and send data without
  2456. having to wait for a confirmation that the stream has opened. (Patch
  2457. from Ian Goldberg; implements the server side of Proposal 174.)
  2458. - Tor now has initial support for automatic port mapping on the many
  2459. home routers that support NAT-PMP or UPnP. (Not yet supported on
  2460. Windows). To build the support code, you'll need to have libnatpnp
  2461. library and/or the libminiupnpc library, and you'll need to enable the
  2462. feature specifically by passing "--enable-upnp" and/or
  2463. "--enable-natpnp" to configure. To turn it on, use the new
  2464. PortForwarding option.
  2465. - Caches now download, cache, and serve multiple "flavors" of the
  2466. consensus, including a flavor that describes microdescriptors.
  2467. - Caches now download, cache, and serve microdescriptors -- small
  2468. summaries of router descriptors that are authenticated by all of the
  2469. directory authorities. Once enough caches are running this code,
  2470. clients will be able to save significant amounts of directory bandwidth
  2471. by downloading microdescriptors instead of router descriptors.
  2472. o Minor features:
  2473. - Make logging resolution configurable with a new LogTimeGranularity
  2474. option, and change the default from 1 millisecond to 1 second.
  2475. Implements enhancement 1668.
  2476. - We log which torrc file we're using on startup. Implements ticket
  2477. 2444.
  2478. - Ordinarily, Tor does not count traffic from private addresses (like
  2479. 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
  2480. There is now a new option, CountPrivateBandwidth, to disable this
  2481. behavior. Patch from Daniel Cagara.
  2482. - New --enable-static-tor configure option for building Tor as
  2483. statically as possible. Idea, general hackery and thoughts from
  2484. Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
  2485. 2702.
  2486. - If you set the NumCPUs option to 0, Tor will now try to detect how
  2487. many CPUs you have. This is the new default behavior.
  2488. - Turn on directory request statistics by default and include them in
  2489. extra-info descriptors. Don't break if we have no GeoIP database.
  2490. - Relays that set "ConnDirectionStatistics 1" write statistics on the
  2491. bidirectional use of connections to disk every 24 hours.
  2492. - Add a GeoIP file digest to the extra-info descriptor. Implements
  2493. enhancement 1883.
  2494. - The NodeFamily option -- which let you declare that you want to
  2495. consider nodes to be part of a family whether they list themselves
  2496. that way or not -- now allows IP address ranges and country codes.
  2497. - Add a new 'Heartbeat' log message type to periodically log a message
  2498. describing Tor's status at level Notice. This feature is meant for
  2499. operators who log at notice, and want to make sure that their Tor
  2500. server is still working. Implementation by George Kadianakis.
  2501. o Minor bugfixes (on 0.2.2.25-alpha):
  2502. - When loading the microdesc journal, remember its current size.
  2503. In 0.2.2, this helps prevent the microdesc journal from growing
  2504. without limit on authorities (who are the only ones to use it in
  2505. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  2506. Fix posted by "cypherpunks."
  2507. - The microdesc journal is supposed to get rebuilt only if it is
  2508. at least _half_ the length of the store, not _twice_ the length
  2509. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  2510. - If as an authority we fail to compute the identity digest of a v3
  2511. legacy keypair, warn, and don't use a buffer-full of junk instead.
  2512. Bugfix on 0.2.1.1-alpha; fixes bug 3106.
  2513. - Authorities now clean their microdesc cache periodically and when
  2514. reading from disk initially, not only when adding new descriptors.
  2515. This prevents a bug where we could lose microdescriptors. Bugfix
  2516. on 0.2.2.6-alpha.
  2517. o Minor features (controller):
  2518. - Add a new SIGNAL event to the controller interface so that
  2519. controllers can be notified when Tor handles a signal. Resolves
  2520. issue 1955. Patch by John Brooks.
  2521. - Add a new GETINFO option to get total bytes read and written. Patch
  2522. from pipe, revised by atagar. Resolves ticket 2345.
  2523. - Implement some GETINFO controller fields to provide information about
  2524. the Tor process's pid, euid, username, and resource limits.
  2525. o Build changes:
  2526. - Our build system requires automake 1.6 or later to create the
  2527. Makefile.in files. Previously, you could have used 1.4.
  2528. This only affects developers and people building Tor from git;
  2529. people who build Tor from the source distribution without changing
  2530. the Makefile.am files should be fine.
  2531. - Our autogen.sh script uses autoreconf to launch autoconf, automake, and
  2532. so on. This is more robust against some of the failure modes
  2533. associated with running the autotools pieces on their own.
  2534. o Minor packaging issues:
  2535. - On OpenSUSE, create the /var/run/tor directory on startup if it is not
  2536. already created. Patch from Andreas Stieger. Fixes bug 2573.
  2537. o Code simplifications and refactoring:
  2538. - A major revision to our internal node-selecting and listing logic.
  2539. Tor already had at least two major ways to look at the question of
  2540. "which Tor servers do we know about": a list of router descriptors,
  2541. and a list of entries in the current consensus. With
  2542. microdescriptors, we're adding a third. Having so many systems
  2543. without an abstraction layer over them was hurting the codebase.
  2544. Now, we have a new "node_t" abstraction that presents a consistent
  2545. interface to a client's view of a Tor node, and holds (nearly) all
  2546. of the mutable state formerly in routerinfo_t and routerstatus_t.
  2547. - The helper programs tor-gencert, tor-resolve, and tor-checkkey
  2548. no longer link against Libevent: they never used it, but
  2549. our library structure used to force them to link it.
  2550. o Removed features:
  2551. - Remove some old code to work around even older versions of Tor that
  2552. used forked processes to handle DNS requests. Such versions of Tor
  2553. are no longer in use as servers.
  2554. o Documentation fixes:
  2555. - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
  2556. - Add missing documentation for the authority-related torrc options
  2557. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey. Resolves
  2558. issue 2379.
  2559. Changes in version 0.2.2.25-alpha - 2011-04-29
  2560. Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
  2561. robust, routers no longer overreport their bandwidth, Win7 should crash
  2562. a little less, and NEWNYM (as used by Vidalia's "new identity" button)
  2563. now prevents hidden service-related activity from being linkable. It
  2564. provides more information to Vidalia so you can see if your bridge is
  2565. working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
  2566. StrictNodes configuration options to make them more reliable, more
  2567. understandable, and more regularly applied. If you use those options,
  2568. please see the revised documentation for them in the manual page.
  2569. o Major bugfixes:
  2570. - Relays were publishing grossly inflated bandwidth values because
  2571. they were writing their state files wrong--now they write the
  2572. correct value. Also, resume reading bandwidth history from the
  2573. state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
  2574. - Improve hidden service robustness: When we find that we have
  2575. extended a hidden service's introduction circuit to a relay not
  2576. listed as an introduction point in the HS descriptor we currently
  2577. have, retry with an introduction point from the current
  2578. descriptor. Previously we would just give up. Fixes bugs 1024 and
  2579. 1930; bugfix on 0.2.0.10-alpha.
  2580. - Clients now stop trying to use an exit node associated with a given
  2581. destination by TrackHostExits if they fail to reach that exit node.
  2582. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
  2583. - Fix crash bug on platforms where gmtime and localtime can return
  2584. NULL. Windows 7 users were running into this one. Fixes part of bug
  2585. 2077. Bugfix on all versions of Tor. Found by boboper.
  2586. o Security and stability fixes:
  2587. - Don't double-free a parsable, but invalid, microdescriptor, even if
  2588. it is followed in the blob we're parsing by an unparsable
  2589. microdescriptor. Fixes an issue reported in a comment on bug 2954.
  2590. Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
  2591. - If the Nickname configuration option isn't given, Tor would pick a
  2592. nickname based on the local hostname as the nickname for a relay.
  2593. Because nicknames are not very important in today's Tor and the
  2594. "Unnamed" nickname has been implemented, this is now problematic
  2595. behavior: It leaks information about the hostname without being
  2596. useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
  2597. introduced the Unnamed nickname. Reported by tagnaq.
  2598. - Fix an uncommon assertion failure when running with DNSPort under
  2599. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  2600. - Avoid linkability based on cached hidden service descriptors: forget
  2601. all hidden service descriptors cached as a client when processing a
  2602. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  2603. o Major features:
  2604. - Export GeoIP information on bridge usage to controllers even if we
  2605. have not yet been running for 24 hours. Now Vidalia bridge operators
  2606. can get more accurate and immediate feedback about their
  2607. contributions to the network.
  2608. o Major features and bugfixes (node selection):
  2609. - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
  2610. ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
  2611. options. Previously, we had been ambiguous in describing what
  2612. counted as an "exit" node, and what operations exactly "StrictNodes
  2613. 0" would permit. This created confusion when people saw nodes built
  2614. through unexpected circuits, and made it hard to tell real bugs from
  2615. surprises. Now the intended behavior is:
  2616. . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
  2617. a node that delivers user traffic outside the Tor network.
  2618. . "Entry", in the context of EntryNodes, means a node used as the
  2619. first hop of a multihop circuit. It doesn't include direct
  2620. connections to directory servers.
  2621. . "ExcludeNodes" applies to all nodes.
  2622. . "StrictNodes" changes the behavior of ExcludeNodes only. When
  2623. StrictNodes is set, Tor should avoid all nodes listed in
  2624. ExcludeNodes, even when it will make user requests fail. When
  2625. StrictNodes is *not* set, then Tor should follow ExcludeNodes
  2626. whenever it can, except when it must use an excluded node to
  2627. perform self-tests, connect to a hidden service, provide a
  2628. hidden service, fulfill a .exit request, upload directory
  2629. information, or fetch directory information.
  2630. Collectively, the changes to implement the behavior fix bug 1090.
  2631. - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
  2632. a node is listed in both, it's treated as excluded.
  2633. - ExcludeNodes now applies to directory nodes -- as a preference if
  2634. StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
  2635. Don't exclude all the directory authorities and set StrictNodes to 1
  2636. unless you really want your Tor to break.
  2637. - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
  2638. - ExcludeExitNodes now overrides .exit requests.
  2639. - We don't use bridges listed in ExcludeNodes.
  2640. - When StrictNodes is 1:
  2641. . We now apply ExcludeNodes to hidden service introduction points
  2642. and to rendezvous points selected by hidden service users. This
  2643. can make your hidden service less reliable: use it with caution!
  2644. . If we have used ExcludeNodes on ourself, do not try relay
  2645. reachability self-tests.
  2646. . If we have excluded all the directory authorities, we will not
  2647. even try to upload our descriptor if we're a relay.
  2648. . Do not honor .exit requests to an excluded node.
  2649. - Remove a misfeature that caused us to ignore the Fast/Stable flags
  2650. when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
  2651. - When the set of permitted nodes changes, we now remove any mappings
  2652. introduced via TrackExitHosts to now-excluded nodes. Bugfix on
  2653. 0.1.0.1-rc.
  2654. - We never cannibalize a circuit that had excluded nodes on it, even
  2655. if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
  2656. - Revert a change where we would be laxer about attaching streams to
  2657. circuits than when building the circuits. This was meant to prevent
  2658. a set of bugs where streams were never attachable, but our improved
  2659. code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
  2660. - Keep track of how many times we launch a new circuit to handle a
  2661. given stream. Too many launches could indicate an inconsistency
  2662. between our "launch a circuit to handle this stream" logic and our
  2663. "attach this stream to one of the available circuits" logic.
  2664. - Improve log messages related to excluded nodes.
  2665. o Minor bugfixes:
  2666. - Fix a spurious warning when moving from a short month to a long
  2667. month on relays with month-based BandwidthAccounting. Bugfix on
  2668. 0.2.2.17-alpha; fixes bug 3020.
  2669. - When a client finds that an origin circuit has run out of 16-bit
  2670. stream IDs, we now mark it as unusable for new streams. Previously,
  2671. we would try to close the entire circuit. Bugfix on 0.0.6.
  2672. - Add a forgotten cast that caused a compile warning on OS X 10.6.
  2673. Bugfix on 0.2.2.24-alpha.
  2674. - Be more careful about reporting the correct error from a failed
  2675. connect() system call. Under some circumstances, it was possible to
  2676. look at an incorrect value for errno when sending the end reason.
  2677. Bugfix on 0.1.0.1-rc.
  2678. - Correctly handle an "impossible" overflow cases in connection byte
  2679. counting, where we write or read more than 4GB on an edge connection
  2680. in a single second. Bugfix on 0.1.2.8-beta.
  2681. - Correct the warning displayed when a rendezvous descriptor exceeds
  2682. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  2683. John Brooks.
  2684. - Clients and hidden services now use HSDir-flagged relays for hidden
  2685. service descriptor downloads and uploads even if the relays have no
  2686. DirPort set and the client has disabled TunnelDirConns. This will
  2687. eventually allow us to give the HSDir flag to relays with no
  2688. DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
  2689. - Downgrade "no current certificates known for authority" message from
  2690. Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
  2691. - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
  2692. 2917. Bugfix on 0.1.1.1-alpha.
  2693. - Only limit the lengths of single HS descriptors, even when multiple
  2694. HS descriptors are published to an HSDir relay in a single POST
  2695. operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
  2696. - Write the current time into the LastWritten line in our state file,
  2697. rather than the time from the previous write attempt. Also, stop
  2698. trying to use a time of -1 in our log statements. Fixes bug 3039;
  2699. bugfix on 0.2.2.14-alpha.
  2700. - Be more consistent in our treatment of file system paths. "~" should
  2701. get expanded to the user's home directory in the Log config option.
  2702. Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
  2703. feature for the -f and --DataDirectory options.
  2704. o Minor features:
  2705. - Make sure every relay writes a state file at least every 12 hours.
  2706. Previously, a relay could go for weeks without writing its state
  2707. file, and on a crash could lose its bandwidth history, capacity
  2708. estimates, client country statistics, and so on. Addresses bug 3012.
  2709. - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
  2710. Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
  2711. clients are already deprecated because of security bugs.
  2712. - Don't allow v0 hidden service authorities to act as clients.
  2713. Required by fix for bug 3000.
  2714. - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
  2715. by fix for bug 3000.
  2716. - Ensure that no empty [dirreq-](read|write)-history lines are added
  2717. to an extrainfo document. Implements ticket 2497.
  2718. o Code simplification and refactoring:
  2719. - Remove workaround code to handle directory responses from servers
  2720. that had bug 539 (they would send HTTP status 503 responses _and_
  2721. send a body too). Since only server versions before
  2722. 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
  2723. keep the workaround in place.
  2724. - Remove the old 'fuzzy time' logic. It was supposed to be used for
  2725. handling calculations where we have a known amount of clock skew and
  2726. an allowed amount of unknown skew. But we only used it in three
  2727. places, and we never adjusted the known/unknown skew values. This is
  2728. still something we might want to do someday, but if we do, we'll
  2729. want to do it differently.
  2730. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  2731. None of the cases where we did this before were wrong, but by making
  2732. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  2733. - Use GetTempDir to find the proper temporary directory location on
  2734. Windows when generating temporary files for the unit tests. Patch by
  2735. Gisle Vanem.
  2736. Changes in version 0.2.2.24-alpha - 2011-04-08
  2737. Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
  2738. prevented Tor clients from effectively using "multihomed" bridges,
  2739. that is, bridges that listen on multiple ports or IP addresses so users
  2740. can continue to use some of their addresses even if others get blocked.
  2741. o Major bugfixes:
  2742. - Fix a bug where bridge users who configure the non-canonical
  2743. address of a bridge automatically switch to its canonical
  2744. address. If a bridge listens at more than one address, it should be
  2745. able to advertise those addresses independently and any non-blocked
  2746. addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
  2747. bug 2510.
  2748. - If you configured Tor to use bridge A, and then quit and
  2749. configured Tor to use bridge B instead, it would happily continue
  2750. to use bridge A if it's still reachable. While this behavior is
  2751. a feature if your goal is connectivity, in some scenarios it's a
  2752. dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
  2753. - Directory authorities now use data collected from their own
  2754. uptime observations when choosing whether to assign the HSDir flag
  2755. to relays, instead of trusting the uptime value the relay reports in
  2756. its descriptor. This change helps prevent an attack where a small
  2757. set of nodes with frequently-changing identity keys can blackhole
  2758. a hidden service. (Only authorities need upgrade; others will be
  2759. fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
  2760. o Minor bugfixes:
  2761. - When we restart our relay, we might get a successful connection
  2762. from the outside before we've started our reachability tests,
  2763. triggering a warning: "ORPort found reachable, but I have no
  2764. routerinfo yet. Failing to inform controller of success." This
  2765. bug was harmless unless Tor is running under a controller
  2766. like Vidalia, in which case the controller would never get a
  2767. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  2768. fixes bug 1172.
  2769. - Make directory authorities more accurate at recording when
  2770. relays that have failed several reachability tests became
  2771. unreachable, so we can provide more accuracy at assigning Stable,
  2772. Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
  2773. - Fix an issue that prevented static linking of libevent on
  2774. some platforms (notably Linux). Fixes bug 2698; bugfix on
  2775. versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
  2776. the --with-static-libevent configure option).
  2777. - We now ask the other side of a stream (the client or the exit)
  2778. for more data on that stream when the amount of queued data on
  2779. that stream dips low enough. Previously, we wouldn't ask the
  2780. other side for more data until either it sent us more data (which
  2781. it wasn't supposed to do if it had exhausted its window!) or we
  2782. had completely flushed all our queued data. This flow control fix
  2783. should improve throughput. Fixes bug 2756; bugfix on the earliest
  2784. released versions of Tor (svn commit r152).
  2785. - Avoid a double-mark-for-free warning when failing to attach a
  2786. transparent proxy connection. (We thought we had fixed this in
  2787. 0.2.2.23-alpha, but it turns out our fix was checking the wrong
  2788. connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
  2789. bug) and 0.2.2.23-alpha (the incorrect fix).
  2790. - When warning about missing zlib development packages during compile,
  2791. give the correct package names. Bugfix on 0.2.0.1-alpha.
  2792. o Minor features:
  2793. - Directory authorities now log the source of a rejected POSTed v3
  2794. networkstatus vote.
  2795. - Make compilation with clang possible when using
  2796. --enable-gcc-warnings by removing two warning options that clang
  2797. hasn't implemented yet and by fixing a few warnings. Implements
  2798. ticket 2696.
  2799. - When expiring circuits, use microsecond timers rather than
  2800. one-second timers. This can avoid an unpleasant situation where a
  2801. circuit is launched near the end of one second and expired right
  2802. near the beginning of the next, and prevent fluctuations in circuit
  2803. timeout values.
  2804. - Use computed circuit-build timeouts to decide when to launch
  2805. parallel introduction circuits for hidden services. (Previously,
  2806. we would retry after 15 seconds.)
  2807. - Update to the April 1 2011 Maxmind GeoLite Country database.
  2808. o Packaging fixes:
  2809. - Create the /var/run/tor directory on startup on OpenSUSE if it is
  2810. not already created. Patch from Andreas Stieger. Fixes bug 2573.
  2811. o Documentation changes:
  2812. - Modernize the doxygen configuration file slightly. Fixes bug 2707.
  2813. - Resolve all doxygen warnings except those for missing documentation.
  2814. Fixes bug 2705.
  2815. - Add doxygen documentation for more functions, fields, and types.
  2816. Changes in version 0.2.2.23-alpha - 2011-03-08
  2817. Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
  2818. they restart they don't lose their bandwidth capacity estimate. This
  2819. release also fixes a diverse set of user-facing bugs, ranging from
  2820. relays overrunning their rate limiting to clients falsely warning about
  2821. clock skew to bridge descriptor leaks by our bridge directory authority.
  2822. o Major bugfixes:
  2823. - Stop sending a CLOCK_SKEW controller status event whenever
  2824. we fetch directory information from a relay that has a wrong clock.
  2825. Instead, only inform the controller when it's a trusted authority
  2826. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  2827. the rest of bug 1074.
  2828. - Fix an assert in parsing router descriptors containing IPv6
  2829. addresses. This one took down the directory authorities when
  2830. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  2831. - Make the bridge directory authority refuse to answer directory
  2832. requests for "all" descriptors. It used to include bridge
  2833. descriptors in its answer, which was a major information leak.
  2834. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  2835. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  2836. Tor would ignore their RelayBandwidthBurst setting,
  2837. potentially using more bandwidth than expected. Bugfix on
  2838. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  2839. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  2840. hidserv" in her torrc. The 'hidserv' argument never controlled
  2841. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  2842. o Major features:
  2843. - Relays now save observed peak bandwidth throughput rates to their
  2844. state file (along with total usage, which was already saved)
  2845. so that they can determine their correct estimated bandwidth on
  2846. restart. Resolves bug 1863, where Tor relays would reset their
  2847. estimated bandwidth to 0 after restarting.
  2848. - Directory authorities now take changes in router IP address and
  2849. ORPort into account when determining router stability. Previously,
  2850. if a router changed its IP or ORPort, the authorities would not
  2851. treat it as having any downtime for the purposes of stability
  2852. calculation, whereas clients would experience downtime since the
  2853. change could take a while to propagate to them. Resolves issue 1035.
  2854. - Enable Address Space Layout Randomization (ASLR) and Data Execution
  2855. Prevention (DEP) by default on Windows to make it harder for
  2856. attackers to exploit vulnerabilities. Patch from John Brooks.
  2857. o Minor bugfixes (on 0.2.1.x and earlier):
  2858. - Fix a rare crash bug that could occur when a client was configured
  2859. with a large number of bridges. Fixes bug 2629; bugfix on
  2860. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  2861. - Avoid a double mark-for-free warning when failing to attach a
  2862. transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
  2863. bug 2279.
  2864. - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
  2865. found by "cypherpunks". This bug was introduced before the first
  2866. Tor release, in svn commit r110.
  2867. - Country codes aren't supported in EntryNodes until 0.2.3.x, so
  2868. don't mention them in the manpage. Fixes bug 2450; issue
  2869. spotted by keb and G-Lo.
  2870. - Fix a bug in bandwidth history state parsing that could have been
  2871. triggered if a future version of Tor ever changed the timing
  2872. granularity at which bandwidth history is measured. Bugfix on
  2873. Tor 0.1.1.11-alpha.
  2874. - When a relay decides that its DNS is too broken for it to serve
  2875. as an exit server, it advertised itself as a non-exit, but
  2876. continued to act as an exit. This could create accidental
  2877. partitioning opportunities for users. Instead, if a relay is
  2878. going to advertise reject *:* as its exit policy, it should
  2879. really act with exit policy "reject *:*". Fixes bug 2366.
  2880. Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
  2881. - In the special case where you configure a public exit relay as your
  2882. bridge, Tor would be willing to use that exit relay as the last
  2883. hop in your circuit as well. Now we fail that circuit instead.
  2884. Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
  2885. - Fix a bug with our locking implementation on Windows that couldn't
  2886. correctly detect when a file was already locked. Fixes bug 2504,
  2887. bugfix on 0.2.1.6-alpha.
  2888. - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
  2889. Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
  2890. "piebeer".
  2891. - Set target port in get_interface_address6() correctly. Bugfix
  2892. on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
  2893. - Directory authorities are now more robust to hops back in time
  2894. when calculating router stability. Previously, if a run of uptime
  2895. or downtime appeared to be negative, the calculation could give
  2896. incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
  2897. bug 1035.
  2898. - Fix an assert that got triggered when using the TestingTorNetwork
  2899. configuration option and then issuing a GETINFO config-text control
  2900. command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
  2901. o Minor bugfixes (on 0.2.2.x):
  2902. - Clients should not weight BadExit nodes as Exits in their node
  2903. selection. Similarly, directory authorities should not count BadExit
  2904. bandwidth as Exit bandwidth when computing bandwidth-weights.
  2905. Bugfix on 0.2.2.10-alpha; fixes bug 2203.
  2906. - Correctly clear our dir_read/dir_write history when there is an
  2907. error parsing any bw history value from the state file. Bugfix on
  2908. Tor 0.2.2.15-alpha.
  2909. - Resolve a bug in verifying signatures of directory objects
  2910. with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
  2911. Fixes bug 2409. Found by "piebeer".
  2912. - Bridge authorities no longer crash on SIGHUP when they try to
  2913. publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
  2914. on 0.2.2.22-alpha.
  2915. o Minor features:
  2916. - Log less aggressively about circuit timeout changes, and improve
  2917. some other circuit timeout messages. Resolves bug 2004.
  2918. - Log a little more clearly about the times at which we're no longer
  2919. accepting new connections. Resolves bug 2181.
  2920. - Reject attempts at the client side to open connections to private
  2921. IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
  2922. a randomly chosen exit node. Attempts to do so are always
  2923. ill-defined, generally prevented by exit policies, and usually
  2924. in error. This will also help to detect loops in transparent
  2925. proxy configurations. You can disable this feature by setting
  2926. "ClientRejectInternalAddresses 0" in your torrc.
  2927. - Always treat failure to allocate an RSA key as an unrecoverable
  2928. allocation error.
  2929. - Update to the March 1 2011 Maxmind GeoLite Country database.
  2930. o Minor features (log subsystem):
  2931. - Add documentation for configuring logging at different severities in
  2932. different log domains. We've had this feature since 0.2.1.1-alpha,
  2933. but for some reason it never made it into the manpage. Fixes
  2934. bug 2215.
  2935. - Make it simpler to specify "All log domains except for A and B".
  2936. Previously you needed to say "[*,~A,~B]". Now you can just say
  2937. "[~A,~B]".
  2938. - Add a "LogMessageDomains 1" option to include the domains of log
  2939. messages along with the messages. Without this, there's no way
  2940. to use log domains without reading the source or doing a lot
  2941. of guessing.
  2942. o Packaging changes:
  2943. - Stop shipping the Tor specs files and development proposal documents
  2944. in the tarball. They are now in a separate git repository at
  2945. git://git.torproject.org/torspec.git
  2946. Changes in version 0.2.1.30 - 2011-02-23
  2947. Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
  2948. change is a slight tweak to Tor's TLS handshake that makes relays
  2949. and bridges that run this new version reachable from Iran again.
  2950. We don't expect this tweak will win the arms race long-term, but it
  2951. buys us time until we roll out a better solution.
  2952. o Major bugfixes:
  2953. - Stop sending a CLOCK_SKEW controller status event whenever
  2954. we fetch directory information from a relay that has a wrong clock.
  2955. Instead, only inform the controller when it's a trusted authority
  2956. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  2957. the rest of bug 1074.
  2958. - Fix a bounds-checking error that could allow an attacker to
  2959. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  2960. Found by "piebeer".
  2961. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  2962. Tor would ignore their RelayBandwidthBurst setting,
  2963. potentially using more bandwidth than expected. Bugfix on
  2964. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  2965. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  2966. hidserv" in her torrc. The 'hidserv' argument never controlled
  2967. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  2968. o Minor features:
  2969. - Adjust our TLS Diffie-Hellman parameters to match those used by
  2970. Apache's mod_ssl.
  2971. - Update to the February 1 2011 Maxmind GeoLite Country database.
  2972. o Minor bugfixes:
  2973. - Check for and reject overly long directory certificates and
  2974. directory tokens before they have a chance to hit any assertions.
  2975. Bugfix on 0.2.1.28. Found by "doorss".
  2976. - Bring the logic that gathers routerinfos and assesses the
  2977. acceptability of circuits into line. This prevents a Tor OP from
  2978. getting locked in a cycle of choosing its local OR as an exit for a
  2979. path (due to a .exit request) and then rejecting the circuit because
  2980. its OR is not listed yet. It also prevents Tor clients from using an
  2981. OR running in the same instance as an exit (due to a .exit request)
  2982. if the OR does not meet the same requirements expected of an OR
  2983. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  2984. o Packaging changes:
  2985. - Stop shipping the Tor specs files and development proposal documents
  2986. in the tarball. They are now in a separate git repository at
  2987. git://git.torproject.org/torspec.git
  2988. - Do not include Git version tags as though they are SVN tags when
  2989. generating a tarball from inside a repository that has switched
  2990. between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  2991. Changes in version 0.2.2.22-alpha - 2011-01-25
  2992. Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
  2993. main other change is a slight tweak to Tor's TLS handshake that makes
  2994. relays and bridges that run this new version reachable from Iran again.
  2995. We don't expect this tweak will win the arms race long-term, but it
  2996. will buy us a bit more time until we roll out a better solution.
  2997. o Major bugfixes:
  2998. - Fix a bounds-checking error that could allow an attacker to
  2999. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  3000. Found by "piebeer".
  3001. - Don't assert when changing from bridge to relay or vice versa
  3002. via the controller. The assert happened because we didn't properly
  3003. initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
  3004. bug 2433. Reported by bastik.
  3005. o Minor features:
  3006. - Adjust our TLS Diffie-Hellman parameters to match those used by
  3007. Apache's mod_ssl.
  3008. - Provide a log message stating which geoip file we're parsing
  3009. instead of just stating that we're parsing the geoip file.
  3010. Implements ticket 2432.
  3011. o Minor bugfixes:
  3012. - Check for and reject overly long directory certificates and
  3013. directory tokens before they have a chance to hit any assertions.
  3014. Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
  3015. Changes in version 0.2.2.21-alpha - 2011-01-15
  3016. Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
  3017. continues our recent code security audit work. The main fix resolves
  3018. a remote heap overflow vulnerability that can allow remote code
  3019. execution (CVE-2011-0427). Other fixes address a variety of assert
  3020. and crash bugs, most of which we think are hard to exploit remotely.
  3021. o Major bugfixes (security), also included in 0.2.1.29:
  3022. - Fix a heap overflow bug where an adversary could cause heap
  3023. corruption. This bug probably allows remote code execution
  3024. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  3025. 0.1.2.10-rc.
  3026. - Prevent a denial-of-service attack by disallowing any
  3027. zlib-compressed data whose compression factor is implausibly
  3028. high. Fixes part of bug 2324; reported by "doorss".
  3029. - Zero out a few more keys in memory before freeing them. Fixes
  3030. bug 2384 and part of bug 2385. These key instances found by
  3031. "cypherpunks", based on Andrew Case's report about being able
  3032. to find sensitive data in Tor's memory space if you have enough
  3033. permissions. Bugfix on 0.0.2pre9.
  3034. o Major bugfixes (crashes), also included in 0.2.1.29:
  3035. - Prevent calls to Libevent from inside Libevent log handlers.
  3036. This had potential to cause a nasty set of crashes, especially
  3037. if running Libevent with debug logging enabled, and running
  3038. Tor with a controller watching for low-severity log messages.
  3039. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  3040. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  3041. underflow errors there too. Fixes the other part of bug 2324.
  3042. - Fix a bug where we would assert if we ever had a
  3043. cached-descriptors.new file (or another file read directly into
  3044. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  3045. on 0.2.1.25. Found by doorss.
  3046. - Fix some potential asserts and parsing issues with grossly
  3047. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  3048. Found by doorss.
  3049. o Minor bugfixes (other), also included in 0.2.1.29:
  3050. - Fix a bug with handling misformed replies to reverse DNS lookup
  3051. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  3052. bug reported by doorss.
  3053. - Fix compilation on mingw when a pthreads compatibility library
  3054. has been installed. (We don't want to use it, so we shouldn't
  3055. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  3056. - Fix a bug where we would declare that we had run out of virtual
  3057. addresses when the address space was only half-exhausted. Bugfix
  3058. on 0.1.2.1-alpha.
  3059. - Correctly handle the case where AutomapHostsOnResolve is set but
  3060. no virtual addresses are available. Fixes bug 2328; bugfix on
  3061. 0.1.2.1-alpha. Bug found by doorss.
  3062. - Correctly handle wrapping around when we run out of virtual
  3063. address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
  3064. o Minor features, also included in 0.2.1.29:
  3065. - Update to the January 1 2011 Maxmind GeoLite Country database.
  3066. - Introduce output size checks on all of our decryption functions.
  3067. o Build changes, also included in 0.2.1.29:
  3068. - Tor does not build packages correctly with Automake 1.6 and earlier;
  3069. added a check to Makefile.am to make sure that we're building with
  3070. Automake 1.7 or later.
  3071. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  3072. because we built it with a too-old version of automake. Thus that
  3073. release broke ./configure --enable-openbsd-malloc, which is popular
  3074. among really fast exit relays on Linux.
  3075. o Major bugfixes, new in 0.2.2.21-alpha:
  3076. - Prevent crash/heap corruption when the cbtnummodes consensus
  3077. parameter is set to 0 or large values. Fixes bug 2317; bugfix
  3078. on 0.2.2.14-alpha.
  3079. o Major features, new in 0.2.2.21-alpha:
  3080. - Introduce minimum/maximum values that clients will believe
  3081. from the consensus. Now we'll have a better chance to avoid crashes
  3082. or worse when a consensus param has a weird value.
  3083. o Minor features, new in 0.2.2.21-alpha:
  3084. - Make sure to disable DirPort if running as a bridge. DirPorts aren't
  3085. used on bridges, and it makes bridge scanning somewhat easier.
  3086. - If writing the state file to disk fails, wait up to an hour before
  3087. retrying again, rather than trying again each second. Fixes bug
  3088. 2346; bugfix on Tor 0.1.1.3-alpha.
  3089. - Make Libevent log messages get delivered to controllers later,
  3090. and not from inside the Libevent log handler. This prevents unsafe
  3091. reentrant Libevent calls while still letting the log messages
  3092. get through.
  3093. - Detect platforms that brokenly use a signed size_t, and refuse to
  3094. build there. Found and analyzed by doorss and rransom.
  3095. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
  3096. Resolves bug 2314.
  3097. o Minor bugfixes, new in 0.2.2.21-alpha:
  3098. - Handle SOCKS messages longer than 128 bytes long correctly, rather
  3099. than waiting forever for them to finish. Fixes bug 2330; bugfix
  3100. on 0.2.0.16-alpha. Found by doorss.
  3101. - Add assertions to check for overflow in arguments to
  3102. base32_encode() and base32_decode(); fix a signed-unsigned
  3103. comparison there too. These bugs are not actually reachable in Tor,
  3104. but it's good to prevent future errors too. Found by doorss.
  3105. - Correctly detect failures to create DNS requests when using Libevent
  3106. versions before v2. (Before Libevent 2, we used our own evdns
  3107. implementation. Its return values for Libevent's evdns_resolve_*()
  3108. functions are not consistent with those from Libevent.) Fixes bug
  3109. 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
  3110. o Documentation, new in 0.2.2.21-alpha:
  3111. - Document the default socks host and port (127.0.0.1:9050) for
  3112. tor-resolve.
  3113. Changes in version 0.2.1.29 - 2011-01-15
  3114. Tor 0.2.1.29 continues our recent code security audit work. The main
  3115. fix resolves a remote heap overflow vulnerability that can allow remote
  3116. code execution. Other fixes address a variety of assert and crash bugs,
  3117. most of which we think are hard to exploit remotely.
  3118. o Major bugfixes (security):
  3119. - Fix a heap overflow bug where an adversary could cause heap
  3120. corruption. This bug probably allows remote code execution
  3121. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  3122. 0.1.2.10-rc.
  3123. - Prevent a denial-of-service attack by disallowing any
  3124. zlib-compressed data whose compression factor is implausibly
  3125. high. Fixes part of bug 2324; reported by "doorss".
  3126. - Zero out a few more keys in memory before freeing them. Fixes
  3127. bug 2384 and part of bug 2385. These key instances found by
  3128. "cypherpunks", based on Andrew Case's report about being able
  3129. to find sensitive data in Tor's memory space if you have enough
  3130. permissions. Bugfix on 0.0.2pre9.
  3131. o Major bugfixes (crashes):
  3132. - Prevent calls to Libevent from inside Libevent log handlers.
  3133. This had potential to cause a nasty set of crashes, especially
  3134. if running Libevent with debug logging enabled, and running
  3135. Tor with a controller watching for low-severity log messages.
  3136. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  3137. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  3138. underflow errors there too. Fixes the other part of bug 2324.
  3139. - Fix a bug where we would assert if we ever had a
  3140. cached-descriptors.new file (or another file read directly into
  3141. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  3142. on 0.2.1.25. Found by doorss.
  3143. - Fix some potential asserts and parsing issues with grossly
  3144. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  3145. Found by doorss.
  3146. o Minor bugfixes (other):
  3147. - Fix a bug with handling misformed replies to reverse DNS lookup
  3148. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  3149. bug reported by doorss.
  3150. - Fix compilation on mingw when a pthreads compatibility library
  3151. has been installed. (We don't want to use it, so we shouldn't
  3152. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  3153. - Fix a bug where we would declare that we had run out of virtual
  3154. addresses when the address space was only half-exhausted. Bugfix
  3155. on 0.1.2.1-alpha.
  3156. - Correctly handle the case where AutomapHostsOnResolve is set but
  3157. no virtual addresses are available. Fixes bug 2328; bugfix on
  3158. 0.1.2.1-alpha. Bug found by doorss.
  3159. - Correctly handle wrapping around to when we run out of virtual
  3160. address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
  3161. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  3162. because we built it with a too-old version of automake. Thus that
  3163. release broke ./configure --enable-openbsd-malloc, which is popular
  3164. among really fast exit relays on Linux.
  3165. o Minor features:
  3166. - Update to the January 1 2011 Maxmind GeoLite Country database.
  3167. - Introduce output size checks on all of our decryption functions.
  3168. o Build changes:
  3169. - Tor does not build packages correctly with Automake 1.6 and earlier;
  3170. added a check to Makefile.am to make sure that we're building with
  3171. Automake 1.7 or later.
  3172. Changes in version 0.2.2.20-alpha - 2010-12-17
  3173. Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
  3174. exploitable bugs. We also fix a variety of other significant bugs,
  3175. change the IP address for one of our directory authorities, and update
  3176. the minimum version that Tor relays must run to join the network.
  3177. o Major bugfixes:
  3178. - Fix a remotely exploitable bug that could be used to crash instances
  3179. of Tor remotely by overflowing on the heap. Remote-code execution
  3180. hasn't been confirmed, but can't be ruled out. Everyone should
  3181. upgrade. Bugfix on the 0.1.1 series and later.
  3182. - Fix a bug that could break accounting on 64-bit systems with large
  3183. time_t values, making them hibernate for impossibly long intervals.
  3184. Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
  3185. - Fix a logic error in directory_fetches_from_authorities() that
  3186. would cause all _non_-exits refusing single-hop-like circuits
  3187. to fetch from authorities, when we wanted to have _exits_ fetch
  3188. from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
  3189. fix by boboper.
  3190. - Fix a stream fairness bug that would cause newer streams on a given
  3191. circuit to get preference when reading bytes from the origin or
  3192. destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
  3193. introduced before the first Tor release, in svn revision r152.
  3194. o Directory authority changes:
  3195. - Change IP address and ports for gabelmoo (v3 directory authority).
  3196. o Minor bugfixes:
  3197. - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
  3198. Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
  3199. - Fix an off-by-one error in calculating some controller command
  3200. argument lengths. Fortunately, this mistake is harmless since
  3201. the controller code does redundant NUL termination too. Found by
  3202. boboper. Bugfix on 0.1.1.1-alpha.
  3203. - Do not dereference NULL if a bridge fails to build its
  3204. extra-info descriptor. Found by an anonymous commenter on
  3205. Trac. Bugfix on 0.2.2.19-alpha.
  3206. o Minor features:
  3207. - Update to the December 1 2010 Maxmind GeoLite Country database.
  3208. - Directory authorities now reject relays running any versions of
  3209. Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
  3210. known bugs that keep RELAY_EARLY cells from working on rendezvous
  3211. circuits. Followup to fix for bug 2081.
  3212. - Directory authorities now reject relays running any version of Tor
  3213. older than 0.2.0.26-rc. That version is the earliest that fetches
  3214. current directory information correctly. Fixes bug 2156.
  3215. - Report only the top 10 ports in exit-port stats in order not to
  3216. exceed the maximum extra-info descriptor length of 50 KB. Implements
  3217. task 2196.
  3218. Changes in version 0.2.1.28 - 2010-12-17
  3219. Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
  3220. exploitable bugs. We also took this opportunity to change the IP address
  3221. for one of our directory authorities, and to update the geoip database
  3222. we ship.
  3223. o Major bugfixes:
  3224. - Fix a remotely exploitable bug that could be used to crash instances
  3225. of Tor remotely by overflowing on the heap. Remote-code execution
  3226. hasn't been confirmed, but can't be ruled out. Everyone should
  3227. upgrade. Bugfix on the 0.1.1 series and later.
  3228. o Directory authority changes:
  3229. - Change IP address and ports for gabelmoo (v3 directory authority).
  3230. o Minor features:
  3231. - Update to the December 1 2010 Maxmind GeoLite Country database.
  3232. Changes in version 0.2.1.27 - 2010-11-23
  3233. Yet another OpenSSL security patch broke its compatibility with Tor:
  3234. Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
  3235. also took this opportunity to fix several crash bugs, integrate a new
  3236. directory authority, and update the bundled GeoIP database.
  3237. o Major bugfixes:
  3238. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  3239. No longer set the tlsext_host_name extension on server SSL objects;
  3240. but continue to set it on client SSL objects. Our goal in setting
  3241. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  3242. bugfix on 0.2.1.1-alpha.
  3243. - Do not log messages to the controller while shrinking buffer
  3244. freelists. Doing so would sometimes make the controller connection
  3245. try to allocate a buffer chunk, which would mess up the internals
  3246. of the freelist and cause an assertion failure. Fixes bug 1125;
  3247. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  3248. - Learn our external IP address when we're a relay or bridge, even if
  3249. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  3250. where we introduced bridge relays that don't need to publish to
  3251. be useful. Fixes bug 2050.
  3252. - Do even more to reject (and not just ignore) annotations on
  3253. router descriptors received anywhere but from the cache. Previously
  3254. we would ignore such annotations at first, but cache them to disk
  3255. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  3256. - When you're using bridges and your network goes away and your
  3257. bridges get marked as down, recover when you attempt a new socks
  3258. connection (if the network is back), rather than waiting up to an
  3259. hour to try fetching new descriptors for your bridges. Bugfix on
  3260. 0.2.0.3-alpha; fixes bug 1981.
  3261. o Major features:
  3262. - Move to the November 2010 Maxmind GeoLite country db (rather
  3263. than the June 2009 ip-to-country GeoIP db) for our statistics that
  3264. count how many users relays are seeing from each country. Now we'll
  3265. have more accurate data, especially for many African countries.
  3266. o New directory authorities:
  3267. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  3268. authority.
  3269. o Minor bugfixes:
  3270. - Fix an assertion failure that could occur in directory caches or
  3271. bridge users when using a very short voting interval on a testing
  3272. network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
  3273. 0.2.0.8-alpha.
  3274. - Enforce multiplicity rules when parsing annotations. Bugfix on
  3275. 0.2.0.8-alpha. Found by piebeer.
  3276. - Allow handshaking OR connections to take a full KeepalivePeriod
  3277. seconds to handshake. Previously, we would close them after
  3278. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  3279. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  3280. for analysis help.
  3281. - When building with --enable-gcc-warnings on OpenBSD, disable
  3282. warnings in system headers. This makes --enable-gcc-warnings
  3283. pass on OpenBSD 4.8.
  3284. o Minor features:
  3285. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  3286. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  3287. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  3288. Servers can start sending this code when enough clients recognize
  3289. it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
  3290. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  3291. Patch from mingw-san.
  3292. o Removed files:
  3293. - Remove the old debian/ directory from the main Tor distribution.
  3294. The official Tor-for-debian git repository lives at the URL
  3295. https://git.torproject.org/debian/tor.git
  3296. - Stop shipping the old doc/website/ directory in the tarball. We
  3297. changed the website format in late 2010, and what we shipped in
  3298. 0.2.1.26 really wasn't that useful anyway.
  3299. Changes in version 0.2.2.19-alpha - 2010-11-22
  3300. Yet another OpenSSL security patch broke its compatibility with Tor:
  3301. Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
  3302. o Major bugfixes:
  3303. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  3304. No longer set the tlsext_host_name extension on server SSL objects;
  3305. but continue to set it on client SSL objects. Our goal in setting
  3306. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  3307. bugfix on 0.2.1.1-alpha.
  3308. o Minor bugfixes:
  3309. - Try harder not to exceed the maximum length of 50 KB when writing
  3310. statistics to extra-info descriptors. This bug was triggered by very
  3311. fast relays reporting exit-port, entry, and dirreq statistics.
  3312. Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
  3313. - Publish a router descriptor even if generating an extra-info
  3314. descriptor fails. Previously we would not publish a router
  3315. descriptor without an extra-info descriptor; this can cause fast
  3316. exit relays collecting exit-port statistics to drop from the
  3317. consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
  3318. Changes in version 0.2.2.18-alpha - 2010-11-16
  3319. Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
  3320. us lately, makes unpublished bridge relays able to detect their IP
  3321. address, and fixes a wide variety of other bugs to get us much closer
  3322. to a stable release.
  3323. o Major bugfixes:
  3324. - Do even more to reject (and not just ignore) annotations on
  3325. router descriptors received anywhere but from the cache. Previously
  3326. we would ignore such annotations at first, but cache them to disk
  3327. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  3328. - Do not log messages to the controller while shrinking buffer
  3329. freelists. Doing so would sometimes make the controller connection
  3330. try to allocate a buffer chunk, which would mess up the internals
  3331. of the freelist and cause an assertion failure. Fixes bug 1125;
  3332. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  3333. - Learn our external IP address when we're a relay or bridge, even if
  3334. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  3335. where we introduced bridge relays that don't need to publish to
  3336. be useful. Fixes bug 2050.
  3337. - Maintain separate TLS contexts and certificates for incoming and
  3338. outgoing connections in bridge relays. Previously we would use the
  3339. same TLS contexts and certs for incoming and outgoing connections.
  3340. Bugfix on 0.2.0.3-alpha; addresses bug 988.
  3341. - Maintain separate identity keys for incoming and outgoing TLS
  3342. contexts in bridge relays. Previously we would use the same
  3343. identity keys for incoming and outgoing TLS contexts. Bugfix on
  3344. 0.2.0.3-alpha; addresses the other half of bug 988.
  3345. - Avoid an assertion failure when we as an authority receive a
  3346. duplicate upload of a router descriptor that we already have,
  3347. but which we previously considered an obsolete descriptor.
  3348. Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
  3349. - Avoid a crash bug triggered by looking at a dangling pointer while
  3350. setting the network status consensus. Found by Robert Ransom.
  3351. Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
  3352. - Fix a logic error where servers that _didn't_ act as exits would
  3353. try to keep their server lists more aggressively up to date than
  3354. exits, when it was supposed to be the other way around. Bugfix
  3355. on 0.2.2.17-alpha.
  3356. o Minor bugfixes (on Tor 0.2.1.x and earlier):
  3357. - When we're trying to guess whether we know our IP address as
  3358. a relay, we would log various ways that we failed to guess
  3359. our address, but never log that we ended up guessing it
  3360. successfully. Now add a log line to help confused and anxious
  3361. relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
  3362. - Bring the logic that gathers routerinfos and assesses the
  3363. acceptability of circuits into line. This prevents a Tor OP from
  3364. getting locked in a cycle of choosing its local OR as an exit for a
  3365. path (due to a .exit request) and then rejecting the circuit because
  3366. its OR is not listed yet. It also prevents Tor clients from using an
  3367. OR running in the same instance as an exit (due to a .exit request)
  3368. if the OR does not meet the same requirements expected of an OR
  3369. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  3370. - Correctly describe errors that occur when generating a TLS object.
  3371. Previously we would attribute them to a failure while generating a
  3372. TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
  3373. bug 1994.
  3374. - Enforce multiplicity rules when parsing annotations. Bugfix on
  3375. 0.2.0.8-alpha. Found by piebeer.
  3376. - Fix warnings that newer versions of autoconf produced during
  3377. ./autogen.sh. These warnings appear to be harmless in our case,
  3378. but they were extremely verbose. Fixes bug 2020.
  3379. o Minor bugfixes (on Tor 0.2.2.x):
  3380. - Enable protection of small arrays whenever we build with gcc
  3381. hardening features, not only when also building with warnings
  3382. enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
  3383. o Minor features:
  3384. - Make hidden services work better in private Tor networks by not
  3385. requiring any uptime to join the hidden service descriptor
  3386. DHT. Implements ticket 2088.
  3387. - Rate-limit the "your application is giving Tor only an IP address"
  3388. warning. Addresses bug 2000; bugfix on 0.0.8pre2.
  3389. - When AllowSingleHopExits is set, print a warning to explain to the
  3390. relay operator why most clients are avoiding her relay.
  3391. - Update to the November 1 2010 Maxmind GeoLite Country database.
  3392. o Code simplifications and refactoring:
  3393. - When we fixed bug 1038 we had to put in a restriction not to send
  3394. RELAY_EARLY cells on rend circuits. This was necessary as long
  3395. as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
  3396. active. Now remove this obsolete check. Resolves bug 2081.
  3397. - Some options used different conventions for uppercasing of acronyms
  3398. when comparing manpage and source. Fix those in favor of the
  3399. manpage, as it makes sense to capitalize acronyms.
  3400. - Remove the torrc.complete file. It hasn't been kept up to date
  3401. and users will have better luck checking out the manpage.
  3402. - Remove the obsolete "NoPublish" option; it has been flagged
  3403. as obsolete and has produced a warning since 0.1.1.18-rc.
  3404. - Remove everything related to building the expert bundle for OS X.
  3405. It has confused many users, doesn't work right on OS X 10.6,
  3406. and is hard to get rid of once installed. Resolves bug 1274.
  3407. Changes in version 0.2.2.17-alpha - 2010-09-30
  3408. Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
  3409. to use one-hop circuits (which can put the exit relays at higher risk,
  3410. plus unbalance the network); fixes a big bug in bandwidth accounting
  3411. for relays that want to limit their monthly bandwidth use; fixes a
  3412. big pile of bugs in how clients tolerate temporary network failure;
  3413. and makes our adaptive circuit build timeout feature (which improves
  3414. client performance if your network is fast while not breaking things
  3415. if your network is slow) better handle bad networks.
  3416. o Major features:
  3417. - Exit relays now try harder to block exit attempts from unknown
  3418. relays, to make it harder for people to use them as one-hop proxies
  3419. a la tortunnel. Controlled by the refuseunknownexits consensus
  3420. parameter (currently enabled), or you can override it on your
  3421. relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
  3422. o Major bugfixes (0.2.1.x and earlier):
  3423. - Fix a bug in bandwidth accounting that could make us use twice
  3424. the intended bandwidth when our interval start changes due to
  3425. daylight saving time. Now we tolerate skew in stored vs computed
  3426. interval starts: if the start of the period changes by no more than
  3427. 50% of the period's duration, we remember bytes that we transferred
  3428. in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
  3429. - Always search the Windows system directory for system DLLs, and
  3430. nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
  3431. - When you're using bridges and your network goes away and your
  3432. bridges get marked as down, recover when you attempt a new socks
  3433. connection (if the network is back), rather than waiting up to an
  3434. hour to try fetching new descriptors for your bridges. Bugfix on
  3435. 0.2.0.3-alpha; fixes bug 1981.
  3436. o Major bugfixes (on 0.2.2.x):
  3437. - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
  3438. bug 1797.
  3439. - Fix a segfault that could happen when operating a bridge relay with
  3440. no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
  3441. - The consensus bandwidth-weights (used by clients to choose fast
  3442. relays) entered an unexpected edge case in September where
  3443. Exits were much scarcer than Guards, resulting in bad weight
  3444. recommendations. Now we compute them using new constraints that
  3445. should succeed in all cases. Also alter directory authorities to
  3446. not include the bandwidth-weights line if they fail to produce
  3447. valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
  3448. - When weighting bridges during path selection, we used to trust
  3449. the bandwidths they provided in their descriptor, only capping them
  3450. at 10MB/s. This turned out to be problematic for two reasons:
  3451. Bridges could claim to handle a lot more traffic then they
  3452. actually would, thus making more clients pick them and have a
  3453. pretty effective DoS attack. The other issue is that new bridges
  3454. that might not have a good estimate for their bw capacity yet
  3455. would not get used at all unless no other bridges are available
  3456. to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
  3457. o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
  3458. - Ignore cannibalized circuits when recording circuit build times.
  3459. This should provide for a minor performance improvement for hidden
  3460. service users using 0.2.2.14-alpha, and should remove two spurious
  3461. notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
  3462. - Simplify the logic that causes us to decide if the network is
  3463. unavailable for purposes of recording circuit build times. If we
  3464. receive no cells whatsoever for the entire duration of a circuit's
  3465. full measured lifetime, the network is probably down. Also ignore
  3466. one-hop directory fetching circuit timeouts when calculating our
  3467. circuit build times. These changes should hopefully reduce the
  3468. cases where we see ridiculous circuit build timeouts for people
  3469. with spotty wireless connections. Fixes part of bug 1772; bugfix
  3470. on 0.2.2.2-alpha.
  3471. - Prevent the circuit build timeout from becoming larger than
  3472. the maximum build time we have ever seen. Also, prevent the time
  3473. period for measurement circuits from becoming larger than twice that
  3474. value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
  3475. o Minor features:
  3476. - When we run out of directory information such that we can't build
  3477. circuits, but then get enough that we can build circuits, log when
  3478. we actually construct a circuit, so the user has a better chance of
  3479. knowing what's going on. Fixes bug 1362.
  3480. - Be more generous with how much bandwidth we'd use up (with
  3481. accounting enabled) before entering "soft hibernation". Previously,
  3482. we'd refuse new connections and circuits once we'd used up 95% of
  3483. our allotment. Now, we use up 95% of our allotment, AND make sure
  3484. that we have no more than 500MB (or 3 hours of expected traffic,
  3485. whichever is lower) remaining before we enter soft hibernation.
  3486. - If we've configured EntryNodes and our network goes away and/or all
  3487. our entrynodes get marked down, optimistically retry them all when
  3488. a new socks application request appears. Fixes bug 1882.
  3489. - Add some more defensive programming for architectures that can't
  3490. handle unaligned integer accesses. We don't know of any actual bugs
  3491. right now, but that's the best time to fix them. Fixes bug 1943.
  3492. - Support line continuations in the torrc config file. If a line
  3493. ends with a single backslash character, the newline is ignored, and
  3494. the configuration value is treated as continuing on the next line.
  3495. Resolves bug 1929.
  3496. o Minor bugfixes (on 0.2.1.x and earlier):
  3497. - For bandwidth accounting, calculate our expected bandwidth rate
  3498. based on the time during which we were active and not in
  3499. soft-hibernation during the last interval. Previously, we were
  3500. also considering the time spent in soft-hibernation. If this
  3501. was a long time, we would wind up underestimating our bandwidth
  3502. by a lot, and skewing our wakeup time towards the start of the
  3503. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
  3504. o Minor bugfixes (on 0.2.2.x):
  3505. - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
  3506. which were disabled by the circuit build timeout changes in
  3507. 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
  3508. - Make sure we don't warn about missing bandwidth weights when
  3509. choosing bridges or other relays not in the consensus. Bugfix on
  3510. 0.2.2.10-alpha; fixes bug 1805.
  3511. - In our logs, do not double-report signatures from unrecognized
  3512. authorities both as "from unknown authority" and "not
  3513. present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
  3514. Changes in version 0.2.2.16-alpha - 2010-09-17
  3515. Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
  3516. evident at exit relays), and also continues to resolve all the little
  3517. bugs that have been filling up trac lately.
  3518. o Major bugfixes (stream-level fairness):
  3519. - When receiving a circuit-level SENDME for a blocked circuit, try
  3520. to package cells fairly from all the streams that had previously
  3521. been blocked on that circuit. Previously, we had started with the
  3522. oldest stream, and allowed each stream to potentially exhaust
  3523. the circuit's package window. This gave older streams on any
  3524. given circuit priority over newer ones. Fixes bug 1937. Detected
  3525. originally by Camilo Viecco. This bug was introduced before the
  3526. first Tor release, in svn commit r152: it is the new winner of
  3527. the longest-lived bug prize.
  3528. - When the exit relay got a circuit-level sendme cell, it started
  3529. reading on the exit streams, even if had 500 cells queued in the
  3530. circuit queue already, so the circuit queue just grew and grew in
  3531. some cases. We fix this by not re-enabling reading on receipt of a
  3532. sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
  3533. on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
  3534. "yetonetime".
  3535. - Newly created streams were allowed to read cells onto circuits,
  3536. even if the circuit's cell queue was blocked and waiting to drain.
  3537. This created potential unfairness, as older streams would be
  3538. blocked, but newer streams would gladly fill the queue completely.
  3539. We add code to detect this situation and prevent any stream from
  3540. getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
  3541. fixes bug 1298.
  3542. o Minor features:
  3543. - Update to the September 1 2010 Maxmind GeoLite Country database.
  3544. - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
  3545. not. This would lead to a cookie that is still not group readable.
  3546. Closes bug 1843. Suggested by katmagic.
  3547. - When logging a rate-limited warning, we now mention how many messages
  3548. got suppressed since the last warning.
  3549. - Add new "perconnbwrate" and "perconnbwburst" consensus params to
  3550. do individual connection-level rate limiting of clients. The torrc
  3551. config options with the same names trump the consensus params, if
  3552. both are present. Replaces the old "bwconnrate" and "bwconnburst"
  3553. consensus params which were broken from 0.2.2.7-alpha through
  3554. 0.2.2.14-alpha. Closes bug 1947.
  3555. - When a router changes IP address or port, authorities now launch
  3556. a new reachability test for it. Implements ticket 1899.
  3557. - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
  3558. 2 no signature, 4 required" messages about consensus signatures
  3559. easier to read, and make sure they get logged at the same severity
  3560. as the messages explaining which keys are which. Fixes bug 1290.
  3561. - Don't warn when we have a consensus that we can't verify because
  3562. of missing certificates, unless those certificates are ones
  3563. that we have been trying and failing to download. Fixes bug 1145.
  3564. - If you configure your bridge with a known identity fingerprint,
  3565. and the bridge authority is unreachable (as it is in at least
  3566. one country now), fall back to directly requesting the descriptor
  3567. from the bridge. Finishes the feature started in 0.2.0.10-alpha;
  3568. closes bug 1138.
  3569. - When building with --enable-gcc-warnings on OpenBSD, disable
  3570. warnings in system headers. This makes --enable-gcc-warnings
  3571. pass on OpenBSD 4.8.
  3572. o Minor bugfixes (on 0.2.1.x and earlier):
  3573. - Authorities will now attempt to download consensuses if their
  3574. own efforts to make a live consensus have failed. This change
  3575. means authorities that restart will fetch a valid consensus, and
  3576. it means authorities that didn't agree with the current consensus
  3577. will still fetch and serve it if it has enough signatures. Bugfix
  3578. on 0.2.0.9-alpha; fixes bug 1300.
  3579. - Ensure DNS requests launched by "RESOLVE" commands from the
  3580. controller respect the __LeaveStreamsUnattached setconf options. The
  3581. same goes for requests launched via DNSPort or transparent
  3582. proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
  3583. - Allow handshaking OR connections to take a full KeepalivePeriod
  3584. seconds to handshake. Previously, we would close them after
  3585. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  3586. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  3587. for analysis help.
  3588. - Rate-limit "Failed to hand off onionskin" warnings.
  3589. - Never relay a cell for a circuit we have already destroyed.
  3590. Between marking a circuit as closeable and finally closing it,
  3591. it may have been possible for a few queued cells to get relayed,
  3592. even though they would have been immediately dropped by the next
  3593. OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
  3594. - Never queue a cell for a circuit that's already been marked
  3595. for close.
  3596. - Never vote for a server as "Running" if we have a descriptor for
  3597. it claiming to be hibernating, and that descriptor was published
  3598. more recently than our last contact with the server. Bugfix on
  3599. 0.2.0.3-alpha; fixes bug 911.
  3600. - Squash a compile warning on OpenBSD. Reported by Tas; fixes
  3601. bug 1848.
  3602. o Minor bugfixes (on 0.2.2.x):
  3603. - Fix a regression introduced in 0.2.2.7-alpha that marked relays
  3604. down if a directory fetch fails and you've configured either
  3605. bridges or EntryNodes. The intent was to mark the relay as down
  3606. _unless_ you're using bridges or EntryNodes, since if you are
  3607. then you could quickly run out of entry points.
  3608. - Fix the Windows directory-listing code. A bug introduced in
  3609. 0.2.2.14-alpha could make Windows directory servers forget to load
  3610. some of their cached v2 networkstatus files.
  3611. - Really allow clients to use relays as bridges. Fixes bug 1776;
  3612. bugfix on 0.2.2.15-alpha.
  3613. - Demote a warn to info that happens when the CellStatistics option
  3614. was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
  3615. Reported by Moritz Bartl.
  3616. - On Windows, build correctly either with or without Unicode support.
  3617. This is necessary so that Tor can support fringe platforms like
  3618. Windows 98 (which has no Unicode), or Windows CE (which has no
  3619. non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
  3620. o Testing
  3621. - Add a unit test for cross-platform directory-listing code.
  3622. Changes in version 0.2.2.15-alpha - 2010-08-18
  3623. Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
  3624. fixes a variety of other bugs that were preventing performance
  3625. experiments from moving forward, fixes several bothersome memory leaks,
  3626. and generally closes a lot of smaller bugs that have been filling up
  3627. trac lately.
  3628. o Major bugfixes:
  3629. - Stop assigning the HSDir flag to relays that disable their
  3630. DirPort (and thus will refuse to answer directory requests). This
  3631. fix should dramatically improve the reachability of hidden services:
  3632. hidden services and hidden service clients pick six HSDir relays
  3633. to store and retrieve the hidden service descriptor, and currently
  3634. about half of the HSDir relays will refuse to work. Bugfix on
  3635. 0.2.0.10-alpha; fixes part of bug 1693.
  3636. - The PerConnBWRate and Burst config options, along with the
  3637. bwconnrate and bwconnburst consensus params, initialized each conn's
  3638. token bucket values only when the connection is established. Now we
  3639. update them if the config options change, and update them every time
  3640. we get a new consensus. Otherwise we can encounter an ugly edge
  3641. case where we initialize an OR conn to client-level bandwidth,
  3642. but then later the relay joins the consensus and we leave it
  3643. throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
  3644. - Fix a regression that caused Tor to rebind its ports if it receives
  3645. SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
  3646. o Major features:
  3647. - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
  3648. should give us approximately 40-50% more Guard-flagged nodes,
  3649. improving the anonymity the Tor network can provide and also
  3650. decreasing the dropoff in throughput that relays experience when
  3651. they first get the Guard flag.
  3652. - Allow enabling or disabling the *Statistics config options while
  3653. Tor is running.
  3654. o Minor features:
  3655. - Update to the August 1 2010 Maxmind GeoLite Country database.
  3656. - Have the controller interface give a more useful message than
  3657. "Internal Error" in response to failed GETINFO requests.
  3658. - Warn when the same option is provided more than once in a torrc
  3659. file, on the command line, or in a single SETCONF statement, and
  3660. the option is one that only accepts a single line. Closes bug 1384.
  3661. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  3662. Patch from mingw-san.
  3663. - Add support for the country code "{??}" in torrc options like
  3664. ExcludeNodes, to indicate all routers of unknown country. Closes
  3665. bug 1094.
  3666. - Relays report the number of bytes spent on answering directory
  3667. requests in extra-info descriptors similar to {read,write}-history.
  3668. Implements enhancement 1790.
  3669. o Minor bugfixes (on 0.2.1.x and earlier):
  3670. - Complain if PublishServerDescriptor is given multiple arguments that
  3671. include 0 or 1. This configuration will be rejected in the future.
  3672. Bugfix on 0.2.0.1-alpha; closes bug 1107.
  3673. - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
  3674. Bugfix on 0.2.0.13-alpha; closes bug 928.
  3675. - Change "Application request when we're believed to be offline."
  3676. notice to "Application request when we haven't used client
  3677. functionality lately.", to clarify that it's not an error. Bugfix
  3678. on 0.0.9.3; fixes bug 1222.
  3679. - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
  3680. would return "551 Internal error" rather than "552 Unrecognized key
  3681. ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
  3682. - Users can't configure a regular relay to be their bridge. It didn't
  3683. work because when Tor fetched the bridge descriptor, it found
  3684. that it already had it, and didn't realize that the purpose of the
  3685. descriptor had changed. Now we replace routers with a purpose other
  3686. than bridge with bridge descriptors when fetching them. Bugfix on
  3687. 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
  3688. refetch the descriptor with router purpose 'general', disabling
  3689. it as a bridge.
  3690. - Fix a rare bug in rend_fn unit tests: we would fail a test when
  3691. a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
  3692. on 0.2.0.10-alpha; fixes bug 1808.
  3693. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  3694. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  3695. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  3696. Servers can start sending this code when enough clients recognize
  3697. it. Also update the spec to reflect this new reason. Bugfix on
  3698. 0.1.0.1-rc; fixes part of bug 1793.
  3699. - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
  3700. when we switch from being a public relay to a bridge. Otherwise
  3701. there will still be clients that see the relay in their consensus,
  3702. and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
  3703. 932 even more.
  3704. - Instead of giving an assertion failure on an internal mismatch
  3705. on estimated freelist size, just log a BUG warning and try later.
  3706. Mitigates but does not fix bug 1125.
  3707. - Fix an assertion failure that could occur in caches or bridge users
  3708. when using a very short voting interval on a testing network.
  3709. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
  3710. o Minor bugfixes (on 0.2.2.x):
  3711. - Alter directory authorities to always consider Exit-flagged nodes
  3712. as potential Guard nodes in their votes. The actual decision to
  3713. use Exits as Guards is done in the consensus bandwidth weights.
  3714. Fixes bug 1294; bugfix on 0.2.2.10-alpha.
  3715. - When the controller is reporting the purpose of circuits that
  3716. didn't finish building before the circuit build timeout, it was
  3717. printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
  3718. - Our libevent version parsing code couldn't handle versions like
  3719. 1.4.14b-stable and incorrectly warned the user about using an
  3720. old and broken version of libevent. Treat 1.4.14b-stable like
  3721. 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
  3722. on 0.2.2.1-alpha.
  3723. - Don't use substitution references like $(VAR:MOD) when
  3724. $(asciidoc_files) is empty -- make(1) on NetBSD transforms
  3725. '$(:x)' to 'x' rather than the empty string. This bites us in
  3726. doc/ when configured with --disable-asciidoc. Bugfix on
  3727. 0.2.2.9-alpha; fixes bug 1773.
  3728. - Remove a spurious hidden service server-side log notice about
  3729. "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
  3730. bug 1741.
  3731. - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
  3732. fixes bug 1832.
  3733. - Correctly report written bytes on linked connections. Found while
  3734. implementing 1790. Bugfix on 0.2.2.4-alpha.
  3735. - Fix three memory leaks: one in circuit_build_times_parse_state(),
  3736. one in dirvote_add_signatures_to_pending_consensus(), and one every
  3737. time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
  3738. 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
  3739. o Code simplifications and refactoring:
  3740. - Take a first step towards making or.h smaller by splitting out
  3741. function definitions for all source files in src/or/. Leave
  3742. structures and defines in or.h for now.
  3743. - Remove a bunch of unused function declarations as well as a block of
  3744. #if 0'd code from the unit tests. Closes bug 1824.
  3745. - New unit tests for exit-port history statistics; refactored exit
  3746. statistics code to be more easily tested.
  3747. - Remove the old debian/ directory from the main Tor distribution.
  3748. The official Tor-for-debian git repository lives at the URL
  3749. https://git.torproject.org/debian/tor.git
  3750. Changes in version 0.2.2.14-alpha - 2010-07-12
  3751. Tor 0.2.2.14-alpha greatly improves client-side handling of
  3752. circuit build timeouts, which are used to estimate speed and improve
  3753. performance. We also move to a much better GeoIP database, port Tor to
  3754. Windows CE, introduce new compile flags that improve code security,
  3755. add an eighth v3 directory authority, and address a lot of more
  3756. minor issues.
  3757. o Major bugfixes:
  3758. - Tor directory authorities no longer crash when started with a
  3759. cached-microdesc-consensus file in their data directory. Bugfix
  3760. on 0.2.2.6-alpha; fixes bug 1532.
  3761. - Treat an unset $HOME like an empty $HOME rather than triggering an
  3762. assert. Bugfix on 0.0.8pre1; fixes bug 1522.
  3763. - Ignore negative and large circuit build timeout values that can
  3764. happen during a suspend or hibernate. These values caused various
  3765. asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
  3766. - Alter calculation of Pareto distribution parameter 'Xm' for
  3767. Circuit Build Timeout learning to use the weighted average of the
  3768. top N=3 modes (because we have three entry guards). Considering
  3769. multiple modes should improve the timeout calculation in some cases,
  3770. and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
  3771. fixes bug 1335.
  3772. - Alter calculation of Pareto distribution parameter 'Alpha' to use a
  3773. right censored distribution model. This approach improves over the
  3774. synthetic timeout generation approach that was producing insanely
  3775. high timeout values. Now we calculate build timeouts using truncated
  3776. times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
  3777. - Do not close circuits that are under construction when they reach
  3778. the circuit build timeout. Instead, leave them building (but do not
  3779. use them) for up until the time corresponding to the 95th percentile
  3780. on the Pareto CDF or 60 seconds, whichever is greater. This is done
  3781. to provide better data for the new Pareto model. This percentile
  3782. can be controlled by the consensus.
  3783. o Major features:
  3784. - Move to the June 2010 Maxmind GeoLite country db (rather than the
  3785. June 2009 ip-to-country GeoIP db) for our statistics that count
  3786. how many users relays are seeing from each country. Now we have
  3787. more accurate data for many African countries.
  3788. - Port Tor to build and run correctly on Windows CE systems, using
  3789. the wcecompat library. Contributed by Valerio Lupi.
  3790. - New "--enable-gcc-hardening" ./configure flag (off by default)
  3791. to turn on gcc compile time hardening options. It ensures
  3792. that signed ints have defined behavior (-fwrapv), enables
  3793. -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
  3794. with canaries (-fstack-protector-all), turns on ASLR protection if
  3795. supported by the kernel (-fPIE, -pie), and adds additional security
  3796. related warnings. Verified to work on Mac OS X and Debian Lenny.
  3797. - New "--enable-linker-hardening" ./configure flag (off by default)
  3798. to turn on ELF specific hardening features (relro, now). This does
  3799. not work with Mac OS X or any other non-ELF binary format.
  3800. o New directory authorities:
  3801. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  3802. authority.
  3803. o Minor features:
  3804. - New config option "WarnUnsafeSocks 0" disables the warning that
  3805. occurs whenever Tor receives a socks handshake using a version of
  3806. the socks protocol that can only provide an IP address (rather
  3807. than a hostname). Setups that do DNS locally over Tor are fine,
  3808. and we shouldn't spam the logs in that case.
  3809. - Convert the HACKING file to asciidoc, and add a few new sections
  3810. to it, explaining how we use Git, how we make changelogs, and
  3811. what should go in a patch.
  3812. - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
  3813. event, to give information on the current rate of circuit timeouts
  3814. over our stored history.
  3815. - Add ability to disable circuit build time learning via consensus
  3816. parameter and via a LearnCircuitBuildTimeout config option. Also
  3817. automatically disable circuit build time calculation if we are
  3818. either a AuthoritativeDirectory, or if we fail to write our state
  3819. file. Fixes bug 1296.
  3820. - More gracefully handle corrupt state files, removing asserts
  3821. in favor of saving a backup and resetting state.
  3822. - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
  3823. system headers.
  3824. o Minor bugfixes:
  3825. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  3826. enabled.
  3827. - When a2x fails, mention that the user could disable manpages instead
  3828. of trying to fix their asciidoc installation.
  3829. - Where available, use Libevent 2.0's periodic timers so that our
  3830. once-per-second cleanup code gets called even more closely to
  3831. once per second than it would otherwise. Fixes bug 943.
  3832. - If you run a bridge that listens on multiple IP addresses, and
  3833. some user configures a bridge address that uses a different IP
  3834. address than your bridge writes in its router descriptor, and the
  3835. user doesn't specify an identity key, their Tor would discard the
  3836. descriptor because "it isn't one of our configured bridges", and
  3837. fail to bootstrap. Now believe the descriptor and bootstrap anyway.
  3838. Bugfix on 0.2.0.3-alpha.
  3839. - If OpenSSL fails to make a duplicate of a private or public key, log
  3840. an error message and try to exit cleanly. May help with debugging
  3841. if bug 1209 ever remanifests.
  3842. - Save a couple bytes in memory allocation every time we escape
  3843. certain characters in a string. Patch from Florian Zumbiehl.
  3844. - Make it explicit that we don't cannibalize one-hop circuits. This
  3845. happens in the wild, but doesn't turn out to be a problem because
  3846. we fortunately don't use those circuits. Many thanks to outofwords
  3847. for the initial analysis and to swissknife who confirmed that
  3848. two-hop circuits are actually created.
  3849. - Make directory mirrors report non-zero dirreq-v[23]-shares again.
  3850. Fixes bug 1564; bugfix on 0.2.2.9-alpha.
  3851. - Eliminate a case where a circuit build time warning was displayed
  3852. after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
  3853. Changes in version 0.2.1.26 - 2010-05-02
  3854. Tor 0.2.1.26 addresses the recent connection and memory overload
  3855. problems we've been seeing on relays, especially relays with their
  3856. DirPort open. If your relay has been crashing, or you turned it off
  3857. because it used too many resources, give this release a try.
  3858. This release also fixes yet another instance of broken OpenSSL libraries
  3859. that was causing some relays to drop out of the consensus.
  3860. o Major bugfixes:
  3861. - Teach relays to defend themselves from connection overload. Relays
  3862. now close idle circuits early if it looks like they were intended
  3863. for directory fetches. Relays are also more aggressive about closing
  3864. TLS connections that have no circuits on them. Such circuits are
  3865. unlikely to be re-used, and tens of thousands of them were piling
  3866. up at the fast relays, causing the relays to run out of sockets
  3867. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  3868. their directory fetches over TLS).
  3869. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  3870. that claim to be earlier than 0.9.8m, but which have in reality
  3871. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  3872. behavior. Possible fix for some cases of bug 1346.
  3873. - Directory mirrors were fetching relay descriptors only from v2
  3874. directory authorities, rather than v3 authorities like they should.
  3875. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  3876. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  3877. o Minor bugfixes:
  3878. - Finally get rid of the deprecated and now harmful notion of "clique
  3879. mode", where directory authorities maintain TLS connections to
  3880. every other relay.
  3881. o Testsuite fixes:
  3882. - In the util/threads test, no longer free the test_mutex before all
  3883. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  3884. - The master thread could starve the worker threads quite badly on
  3885. certain systems, causing them to run only partially in the allowed
  3886. window. This resulted in test failures. Now the master thread sleeps
  3887. occasionally for a few microseconds while the two worker-threads
  3888. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  3889. Changes in version 0.2.2.13-alpha - 2010-04-24
  3890. Tor 0.2.2.13-alpha addresses the recent connection and memory overload
  3891. problems we've been seeing on relays, especially relays with their
  3892. DirPort open. If your relay has been crashing, or you turned it off
  3893. because it used too many resources, give this release a try.
  3894. o Major bugfixes:
  3895. - Teach relays to defend themselves from connection overload. Relays
  3896. now close idle circuits early if it looks like they were intended
  3897. for directory fetches. Relays are also more aggressive about closing
  3898. TLS connections that have no circuits on them. Such circuits are
  3899. unlikely to be re-used, and tens of thousands of them were piling
  3900. up at the fast relays, causing the relays to run out of sockets
  3901. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  3902. their directory fetches over TLS).
  3903. o Minor features:
  3904. - Finally get rid of the deprecated and now harmful notion of "clique
  3905. mode", where directory authorities maintain TLS connections to
  3906. every other relay.
  3907. - Directory authorities now do an immediate reachability check as soon
  3908. as they hear about a new relay. This change should slightly reduce
  3909. the time between setting up a relay and getting listed as running
  3910. in the consensus. It should also improve the time between setting
  3911. up a bridge and seeing use by bridge users.
  3912. - Directory authorities no longer launch a TLS connection to every
  3913. relay as they startup. Now that we have 2k+ descriptors cached,
  3914. the resulting network hiccup is becoming a burden. Besides,
  3915. authorities already avoid voting about Running for the first half
  3916. hour of their uptime.
  3917. Changes in version 0.2.2.12-alpha - 2010-04-20
  3918. Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
  3919. handle and vote on descriptors. It was causing relays to drop out of
  3920. the consensus.
  3921. o Major bugfixes:
  3922. - Many relays have been falling out of the consensus lately because
  3923. not enough authorities know about their descriptor for them to get
  3924. a majority of votes. When we deprecated the v2 directory protocol,
  3925. we got rid of the only way that v3 authorities can hear from each
  3926. other about other descriptors. Now authorities examine every v3
  3927. vote for new descriptors, and fetch them from that authority. Bugfix
  3928. on 0.2.1.23.
  3929. - Fix two typos in tor_vasprintf() that broke the compile on Windows,
  3930. and a warning in or.h related to bandwidth_weight_rule_t that
  3931. prevented clean compile on OS X. Fixes bug 1363; bugfix on
  3932. 0.2.2.11-alpha.
  3933. - Fix a segfault on relays when DirReqStatistics is enabled
  3934. and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
  3935. 0.2.2.11-alpha.
  3936. o Minor bugfixes:
  3937. - Demote a confusing TLS warning that relay operators might get when
  3938. someone tries to talk to their OrPort. It is neither the operator's
  3939. fault nor can they do anything about it. Fixes bug 1364; bugfix
  3940. on 0.2.0.14-alpha.
  3941. Changes in version 0.2.2.11-alpha - 2010-04-15
  3942. Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
  3943. libraries that was causing some relays to drop out of the consensus.
  3944. o Major bugfixes:
  3945. - Directory mirrors were fetching relay descriptors only from v2
  3946. directory authorities, rather than v3 authorities like they should.
  3947. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  3948. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  3949. - Fix a parsing error that made every possible value of
  3950. CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
  3951. on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
  3952. CircuitPriorityHalflifeMsec, so authorities can tell newer relays
  3953. about the option without breaking older ones.
  3954. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  3955. that claim to be earlier than 0.9.8m, but which have in reality
  3956. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  3957. behavior. Possible fix for some cases of bug 1346.
  3958. o Minor features:
  3959. - Experiment with a more aggressive approach to preventing clients
  3960. from making one-hop exit streams. Exit relays who want to try it
  3961. out can set "RefuseUnknownExits 1" in their torrc, and then look
  3962. for "Attempt by %s to open a stream" log messages. Let us know
  3963. how it goes!
  3964. - Add support for statically linking zlib by specifying
  3965. --enable-static-zlib, to go with our support for statically linking
  3966. openssl and libevent. Resolves bug 1358.
  3967. o Minor bugfixes:
  3968. - Fix a segfault that happens whenever a Tor client that is using
  3969. libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
  3970. fixes bug 1341.
  3971. - When we cleaned up the contrib/tor-exit-notice.html file, we left
  3972. out the first line. Fixes bug 1295.
  3973. - When building the manpage from a tarball, we required asciidoc, but
  3974. the asciidoc -> roff/html conversion was already done for the
  3975. tarball. Make 'make' complain only when we need asciidoc (either
  3976. because we're compiling directly from git, or because we altered
  3977. the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
  3978. - When none of the directory authorities vote on any params, Tor
  3979. segfaulted when trying to make the consensus from the votes. We
  3980. didn't trigger the bug in practice, because authorities do include
  3981. params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
  3982. o Testsuite fixes:
  3983. - In the util/threads test, no longer free the test_mutex before all
  3984. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  3985. - The master thread could starve the worker threads quite badly on
  3986. certain systems, causing them to run only partially in the allowed
  3987. window. This resulted in test failures. Now the master thread sleeps
  3988. occasionally for a few microseconds while the two worker-threads
  3989. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  3990. Changes in version 0.2.2.10-alpha - 2010-03-07
  3991. Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
  3992. could prevent relays from guessing their IP address correctly. It also
  3993. starts the groundwork for another client-side performance boost, since
  3994. currently we're not making efficient use of relays that have both the
  3995. Guard flag and the Exit flag.
  3996. o Major bugfixes:
  3997. - Fix a regression from our patch for bug 1244 that caused relays
  3998. to guess their IP address incorrectly if they didn't set Address
  3999. in their torrc and/or their address fails to resolve. Bugfix on
  4000. 0.2.2.9-alpha; fixes bug 1269.
  4001. o Major features (performance):
  4002. - Directory authorities now compute consensus weightings that instruct
  4003. clients how to weight relays flagged as Guard, Exit, Guard+Exit,
  4004. and no flag. Clients that use these weightings will distribute
  4005. network load more evenly across these different relay types. The
  4006. weightings are in the consensus so we can change them globally in
  4007. the future. Extra thanks to "outofwords" for finding some nasty
  4008. security bugs in the first implementation of this feature.
  4009. o Minor features (performance):
  4010. - Always perform router selections using weighted relay bandwidth,
  4011. even if we don't need a high capacity circuit at the time. Non-fast
  4012. circuits now only differ from fast ones in that they can use relays
  4013. not marked with the Fast flag. This "feature" could turn out to
  4014. be a horrible bug; we should investigate more before it goes into
  4015. a stable release.
  4016. o Minor features:
  4017. - Allow disabling building of the manpages. Skipping the manpage
  4018. speeds up the build considerably.
  4019. o Minor bugfixes (on 0.2.2.x):
  4020. - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
  4021. Bugfix on 0.2.2.9-alpha.
  4022. - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
  4023. config option. Bugfix on 0.2.2.7-alpha.
  4024. - Ship the asciidoc-helper file in the tarball, so that people can
  4025. build from source if they want to, and touching the .1.txt files
  4026. doesn't break the build. Bugfix on 0.2.2.9-alpha.
  4027. o Minor bugfixes (on 0.2.1.x or earlier):
  4028. - Fix a dereference-then-NULL-check sequence when publishing
  4029. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  4030. bug 1255.
  4031. - Fix another dereference-then-NULL-check sequence. Bugfix on
  4032. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  4033. - Make sure we treat potentially not NUL-terminated strings correctly.
  4034. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  4035. o Code simplifications and refactoring:
  4036. - Fix some urls in the exit notice file and make it XHTML1.1 strict
  4037. compliant. Based on a patch from Christian Kujau.
  4038. - Don't use sed in asciidoc-helper anymore.
  4039. - Make the build process fail if asciidoc cannot be found and
  4040. building with asciidoc isn't disabled.
  4041. Changes in version 0.2.2.9-alpha - 2010-02-22
  4042. Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
  4043. location of a directory authority, and cleans up a bunch of small bugs.
  4044. o Directory authority changes:
  4045. - Change IP address for dannenberg (v3 directory authority), and
  4046. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  4047. service directory authority) from the list.
  4048. o Major bugfixes:
  4049. - Make Tor work again on the latest OS X: when deciding whether to
  4050. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  4051. version at run-time, not compile time. We need to do this because
  4052. Apple doesn't update its dev-tools headers when it updates its
  4053. libraries in a security patch.
  4054. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  4055. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  4056. a memory leak when requesting a hidden service descriptor we've
  4057. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  4058. by aakova.
  4059. - Authorities could be tricked into giving out the Exit flag to relays
  4060. that didn't allow exiting to any ports. This bug could screw
  4061. with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
  4062. 1238. Bug discovered by Martin Kowalczyk.
  4063. - When freeing a session key, zero it out completely. We only zeroed
  4064. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  4065. patched by ekir. Fixes bug 1254.
  4066. o Minor bugfixes:
  4067. - Fix static compilation by listing the openssl libraries in the right
  4068. order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
  4069. - Resume handling .exit hostnames in a special way: originally we
  4070. stripped the .exit part and used the requested exit relay. In
  4071. 0.2.2.1-alpha we stopped treating them in any special way, meaning
  4072. if you use a .exit address then Tor will pass it on to the exit
  4073. relay. Now we reject the .exit stream outright, since that behavior
  4074. might be more expected by the user. Found and diagnosed by Scott
  4075. Bennett and Downie on or-talk.
  4076. - Don't spam the controller with events when we have no file
  4077. descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
  4078. for log messages was already solved from bug 748.)
  4079. - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
  4080. "memcpyfail".
  4081. - Make the DNSPort option work with libevent 2.x. Don't alter the
  4082. behaviour for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
  4083. - Emit a GUARD DROPPED controller event for a case we missed.
  4084. - Make more fields in the controller protocol case-insensitive, since
  4085. control-spec.txt said they were.
  4086. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  4087. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  4088. - Fix a spec conformance issue: the network-status-version token
  4089. must be the first token in a v3 consensus or vote. Discovered by
  4090. parakeep. Bugfix on 0.2.0.3-alpha.
  4091. o Code simplifications and refactoring:
  4092. - Generate our manpage and HTML documentation using Asciidoc. This
  4093. change should make it easier to maintain the documentation, and
  4094. produce nicer HTML.
  4095. - Remove the --enable-iphone option. According to reports from Marco
  4096. Bonetti, Tor builds fine without any special tweaking on recent
  4097. iPhone SDK versions.
  4098. - Removed some unnecessary files from the source distribution. The
  4099. AUTHORS file has now been merged into the people page on the
  4100. website. The roadmaps and design doc can now be found in the
  4101. projects directory in svn.
  4102. - Enabled various circuit build timeout constants to be controlled
  4103. by consensus parameters. Also set better defaults for these
  4104. parameters based on experimentation on broadband and simulated
  4105. high latency links.
  4106. o Minor features:
  4107. - The 'EXTENDCIRCUIT' control port command can now be used with
  4108. a circ id of 0 and no path. This feature will cause Tor to build
  4109. a new 'fast' general purpose circuit using its own path selection
  4110. algorithms.
  4111. - Added a BUILDTIMEOUT_SET controller event to describe changes
  4112. to the circuit build timeout.
  4113. - Future-proof the controller protocol a bit by ignoring keyword
  4114. arguments we do not recognize.
  4115. - Expand homedirs passed to tor-checkkey. This should silence a
  4116. coverity complaint about passing a user-supplied string into
  4117. open() without checking it.
  4118. Changes in version 0.2.1.25 - 2010-03-16
  4119. Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
  4120. prevent relays from guessing their IP address correctly. It also fixes
  4121. several minor potential security bugs.
  4122. o Major bugfixes:
  4123. - Fix a regression from our patch for bug 1244 that caused relays
  4124. to guess their IP address incorrectly if they didn't set Address
  4125. in their torrc and/or their address fails to resolve. Bugfix on
  4126. 0.2.1.23; fixes bug 1269.
  4127. - When freeing a session key, zero it out completely. We only zeroed
  4128. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  4129. patched by ekir. Fixes bug 1254.
  4130. o Minor bugfixes:
  4131. - Fix a dereference-then-NULL-check sequence when publishing
  4132. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  4133. bug 1255.
  4134. - Fix another dereference-then-NULL-check sequence. Bugfix on
  4135. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  4136. - Make sure we treat potentially not NUL-terminated strings correctly.
  4137. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  4138. Changes in version 0.2.1.24 - 2010-02-21
  4139. Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  4140. for sure!
  4141. o Minor bugfixes:
  4142. - Work correctly out-of-the-box with even more vendor-patched versions
  4143. of OpenSSL. In particular, make it so Debian and OS X don't need
  4144. customized patches to run/build.
  4145. Changes in version 0.2.1.23 - 2010-02-13
  4146. Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  4147. again on the latest OS X, and updates the location of a directory
  4148. authority.
  4149. o Major bugfixes (performance):
  4150. - We were selecting our guards uniformly at random, and then weighting
  4151. which of our guards we'd use uniformly at random. This imbalance
  4152. meant that Tor clients were severely limited on throughput (and
  4153. probably latency too) by the first hop in their circuit. Now we
  4154. select guards weighted by currently advertised bandwidth. We also
  4155. automatically discard guards picked using the old algorithm. Fixes
  4156. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  4157. o Major bugfixes:
  4158. - Make Tor work again on the latest OS X: when deciding whether to
  4159. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  4160. version at run-time, not compile time. We need to do this because
  4161. Apple doesn't update its dev-tools headers when it updates its
  4162. libraries in a security patch.
  4163. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  4164. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  4165. a memory leak when requesting a hidden service descriptor we've
  4166. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  4167. by aakova.
  4168. o Directory authority changes:
  4169. - Change IP address for dannenberg (v3 directory authority), and
  4170. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  4171. service directory authority) from the list.
  4172. o Minor bugfixes:
  4173. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  4174. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  4175. o Minor features:
  4176. - Avoid a mad rush at the beginning of each month when each client
  4177. rotates half of its guards. Instead we spread the rotation out
  4178. throughout the month, but we still avoid leaving a precise timestamp
  4179. in the state file about when we first picked the guard. Improves
  4180. over the behavior introduced in 0.1.2.17.
  4181. Changes in version 0.2.2.8-alpha - 2010-01-26
  4182. Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
  4183. causing bridge relays to disappear. If you're running a bridge,
  4184. please upgrade.
  4185. o Major bugfixes:
  4186. - Fix a memory corruption bug on bridges that occured during the
  4187. inclusion of stats data in extra-info descriptors. Also fix the
  4188. interface for geoip_get_bridge_stats* to prevent similar bugs in
  4189. the future. Diagnosis by Tas, patch by Karsten and Sebastian.
  4190. Fixes bug 1208; bugfix on 0.2.2.7-alpha.
  4191. o Minor bugfixes:
  4192. - Ignore OutboundBindAddress when connecting to localhost.
  4193. Connections to localhost need to come _from_ localhost, or else
  4194. local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
  4195. refuse to listen.
  4196. Changes in version 0.2.2.7-alpha - 2010-01-19
  4197. Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
  4198. as laying the groundwork for further relay-side performance fixes. It
  4199. also starts cleaning up client behavior with respect to the EntryNodes,
  4200. ExitNodes, and StrictNodes config options.
  4201. This release also rotates two directory authority keys, due to a
  4202. security breach of some of the Torproject servers.
  4203. o Directory authority changes:
  4204. - Rotate keys (both v3 identity and relay identity) for moria1
  4205. and gabelmoo.
  4206. o Major features (performance):
  4207. - We were selecting our guards uniformly at random, and then weighting
  4208. which of our guards we'd use uniformly at random. This imbalance
  4209. meant that Tor clients were severely limited on throughput (and
  4210. probably latency too) by the first hop in their circuit. Now we
  4211. select guards weighted by currently advertised bandwidth. We also
  4212. automatically discard guards picked using the old algorithm. Fixes
  4213. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  4214. - When choosing which cells to relay first, relays can now favor
  4215. circuits that have been quiet recently, to provide lower latency
  4216. for low-volume circuits. By default, relays enable or disable this
  4217. feature based on a setting in the consensus. You can override
  4218. this default by using the new "CircuitPriorityHalflife" config
  4219. option. Design and code by Ian Goldberg, Can Tang, and Chris
  4220. Alexander.
  4221. - Add separate per-conn write limiting to go with the per-conn read
  4222. limiting. We added a global write limit in Tor 0.1.2.5-alpha,
  4223. but never per-conn write limits.
  4224. - New consensus params "bwconnrate" and "bwconnburst" to let us
  4225. rate-limit client connections as they enter the network. It's
  4226. controlled in the consensus so we can turn it on and off for
  4227. experiments. It's starting out off. Based on proposal 163.
  4228. o Major features (relay selection options):
  4229. - Switch to a StrictNodes config option, rather than the previous
  4230. "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
  4231. "StrictExcludeNodes" option.
  4232. - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
  4233. change during a config reload, mark and discard all our origin
  4234. circuits. This fix should address edge cases where we change the
  4235. config options and but then choose a circuit that we created before
  4236. the change.
  4237. - If EntryNodes or ExitNodes are set, be more willing to use an
  4238. unsuitable (e.g. slow or unstable) circuit. The user asked for it,
  4239. they get it.
  4240. - Make EntryNodes config option much more aggressive even when
  4241. StrictNodes is not set. Before it would prepend your requested
  4242. entrynodes to your list of guard nodes, but feel free to use others
  4243. after that. Now it chooses only from your EntryNodes if any of
  4244. those are available, and only falls back to others if a) they're
  4245. all down and b) StrictNodes is not set.
  4246. - Now we refresh your entry guards from EntryNodes at each consensus
  4247. fetch -- rather than just at startup and then they slowly rot as
  4248. the network changes.
  4249. o Major bugfixes:
  4250. - Stop bridge directory authorities from answering dbg-stability.txt
  4251. directory queries, which would let people fetch a list of all
  4252. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  4253. o Minor features:
  4254. - Log a notice when we get a new control connection. Now it's easier
  4255. for security-conscious users to recognize when a local application
  4256. is knocking on their controller door. Suggested by bug 1196.
  4257. - New config option "CircuitStreamTimeout" to override our internal
  4258. timeout schedule for how many seconds until we detach a stream from
  4259. a circuit and try a new circuit. If your network is particularly
  4260. slow, you might want to set this to a number like 60.
  4261. - New controller command "getinfo config-text". It returns the
  4262. contents that Tor would write if you send it a SAVECONF command,
  4263. so the controller can write the file to disk itself.
  4264. - New options for SafeLogging to allow scrubbing only log messages
  4265. generated while acting as a relay.
  4266. - Ship the bridges spec file in the tarball too.
  4267. - Avoid a mad rush at the beginning of each month when each client
  4268. rotates half of its guards. Instead we spread the rotation out
  4269. throughout the month, but we still avoid leaving a precise timestamp
  4270. in the state file about when we first picked the guard. Improves
  4271. over the behavior introduced in 0.1.2.17.
  4272. o Minor bugfixes (compiling):
  4273. - Fix compilation on OS X 10.3, which has a stub mlockall() but
  4274. hides it. Bugfix on 0.2.2.6-alpha.
  4275. - Fix compilation on Solaris by removing support for the
  4276. DisableAllSwap config option. Solaris doesn't have an rlimit for
  4277. mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
  4278. 0.2.2.6-alpha.
  4279. o Minor bugfixes (crashes):
  4280. - Do not segfault when writing buffer stats when we haven't observed
  4281. a single circuit to report about. Found by Fabian Lanze. Bugfix on
  4282. 0.2.2.1-alpha.
  4283. - If we're in the pathological case where there's no exit bandwidth
  4284. but there is non-exit bandwidth, or no guard bandwidth but there
  4285. is non-guard bandwidth, don't crash during path selection. Bugfix
  4286. on 0.2.0.3-alpha.
  4287. - Fix an impossible-to-actually-trigger buffer overflow in relay
  4288. descriptor generation. Bugfix on 0.1.0.15.
  4289. o Minor bugfixes (privacy):
  4290. - Fix an instance where a Tor directory mirror might accidentally
  4291. log the IP address of a misbehaving Tor client. Bugfix on
  4292. 0.1.0.1-rc.
  4293. - Don't list Windows capabilities in relay descriptors. We never made
  4294. use of them, and maybe it's a bad idea to publish them. Bugfix
  4295. on 0.1.1.8-alpha.
  4296. o Minor bugfixes (other):
  4297. - Resolve an edge case in path weighting that could make us misweight
  4298. our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
  4299. - Fix statistics on client numbers by country as seen by bridges that
  4300. were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
  4301. intervals instead of variable 12-to-48-hour intervals.
  4302. - After we free an internal connection structure, overwrite it
  4303. with a different memory value than we use for overwriting a freed
  4304. internal circuit structure. Should help with debugging. Suggested
  4305. by bug 1055.
  4306. - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
  4307. too.
  4308. o Removed features:
  4309. - Remove the HSAuthorityRecordStats option that version 0 hidden
  4310. service authorities could have used to track statistics of overall
  4311. hidden service usage.
  4312. Changes in version 0.2.1.22 - 2010-01-19
  4313. Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
  4314. authorities -- it would tell you its whole history of bridge descriptors
  4315. if you make the right directory request. This stable update also
  4316. rotates two of the seven v3 directory authority keys and locations.
  4317. o Directory authority changes:
  4318. - Rotate keys (both v3 identity and relay identity) for moria1
  4319. and gabelmoo.
  4320. o Major bugfixes:
  4321. - Stop bridge directory authorities from answering dbg-stability.txt
  4322. directory queries, which would let people fetch a list of all
  4323. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  4324. Changes in version 0.2.1.21 - 2009-12-21
  4325. Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
  4326. library. If you use Tor on Linux / Unix and you're getting SSL
  4327. renegotiation errors, upgrading should help. We also recommend an
  4328. upgrade if you're an exit relay.
  4329. o Major bugfixes:
  4330. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  4331. handshake from working unless we explicitly tell OpenSSL that we
  4332. are using SSL renegotiation safely. We are, of course, but OpenSSL
  4333. 0.9.8l won't work unless we say we are.
  4334. - Avoid crashing if the client is trying to upload many bytes and the
  4335. circuit gets torn down at the same time, or if the flip side
  4336. happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
  4337. o Minor bugfixes:
  4338. - Do not refuse to learn about authority certs and v2 networkstatus
  4339. documents that are older than the latest consensus. This bug might
  4340. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  4341. Spotted and fixed by xmux.
  4342. - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
  4343. trigger platform-specific option misparsing case found by Coverity
  4344. Scan.
  4345. - Fix a compilation warning on Fedora 12 by removing an impossible-to-
  4346. trigger assert. Fixes bug 1173.
  4347. Changes in version 0.2.2.6-alpha - 2009-11-19
  4348. Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
  4349. support for the new lower-footprint "microdescriptor" directory design,
  4350. future-proofing our consensus format against new hash functions or
  4351. other changes, and an Android port. It also makes Tor compatible with
  4352. the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
  4353. o Major features:
  4354. - Directory authorities can now create, vote on, and serve multiple
  4355. parallel formats of directory data as part of their voting process.
  4356. Partially implements Proposal 162: "Publish the consensus in
  4357. multiple flavors".
  4358. - Directory authorities can now agree on and publish small summaries
  4359. of router information that clients can use in place of regular
  4360. server descriptors. This transition will eventually allow clients
  4361. to use far less bandwidth for downloading information about the
  4362. network. Begins the implementation of Proposal 158: "Clients
  4363. download consensus + microdescriptors".
  4364. - The directory voting system is now extensible to use multiple hash
  4365. algorithms for signatures and resource selection. Newer formats
  4366. are signed with SHA256, with a possibility for moving to a better
  4367. hash algorithm in the future.
  4368. - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
  4369. current and future memory pages via mlockall(). On supported
  4370. platforms (modern Linux and probably BSD but not Windows or OS X),
  4371. this should effectively disable any and all attempts to page out
  4372. memory. This option requires that you start your Tor as root --
  4373. if you use DisableAllSwap, please consider using the User option
  4374. to properly reduce the privileges of your Tor.
  4375. - Numerous changes, bugfixes, and workarounds from Nathan Freitas
  4376. to help Tor build correctly for Android phones.
  4377. o Major bugfixes:
  4378. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  4379. handshake from working unless we explicitly tell OpenSSL that we
  4380. are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
  4381. won't work unless we say we are.
  4382. o Minor bugfixes:
  4383. - Fix a crash bug when trying to initialize the evdns module in
  4384. Libevent 2. Bugfix on 0.2.1.16-rc.
  4385. - Stop logging at severity 'warn' when some other Tor client tries
  4386. to establish a circuit with us using weak DH keys. It's a protocol
  4387. violation, but that doesn't mean ordinary users need to hear about
  4388. it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
  4389. - Do not refuse to learn about authority certs and v2 networkstatus
  4390. documents that are older than the latest consensus. This bug might
  4391. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  4392. Spotted and fixed by xmux.
  4393. - Fix numerous small code-flaws found by Coverity Scan Rung 3.
  4394. - If all authorities restart at once right before a consensus vote,
  4395. nobody will vote about "Running", and clients will get a consensus
  4396. with no usable relays. Instead, authorities refuse to build a
  4397. consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
  4398. - If your relay can't keep up with the number of incoming create
  4399. cells, it would log one warning per failure into your logs. Limit
  4400. warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
  4401. - Bridges now use "reject *:*" as their default exit policy. Bugfix
  4402. on 0.2.0.3-alpha; fixes bug 1113.
  4403. - Fix a memory leak on directory authorities during voting that was
  4404. introduced in 0.2.2.1-alpha. Found via valgrind.
  4405. Changes in version 0.2.1.20 - 2009-10-15
  4406. Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
  4407. services at once, prepares for more performance improvements, and
  4408. fixes a bunch of smaller bugs.
  4409. The Windows and OS X bundles also include a more recent Vidalia,
  4410. and switch from Privoxy to Polipo.
  4411. The OS X installers are now drag and drop. It's best to un-install
  4412. Tor/Vidalia and then install this new bundle, rather than upgrade. If
  4413. you want to upgrade, you'll need to update the paths for Tor and Polipo
  4414. in the Vidalia Settings window.
  4415. o Major bugfixes:
  4416. - Send circuit or stream sendme cells when our window has decreased
  4417. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  4418. by Karsten when testing the "reduce circuit window" performance
  4419. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  4420. before the release of Tor 0.0.0. This is the new winner of the
  4421. oldest-bug prize.
  4422. - Fix a remotely triggerable memory leak when a consensus document
  4423. contains more than one signature from the same voter. Bugfix on
  4424. 0.2.0.3-alpha.
  4425. - Avoid segfault in rare cases when finishing an introduction circuit
  4426. as a client and finding out that we don't have an introduction key
  4427. for it. Fixes bug 1073. Reported by Aaron Swartz.
  4428. o Major features:
  4429. - Tor now reads the "circwindow" parameter out of the consensus,
  4430. and uses that value for its circuit package window rather than the
  4431. default of 1000 cells. Begins the implementation of proposal 168.
  4432. o New directory authorities:
  4433. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  4434. authority.
  4435. - Move moria1 and tonga to alternate IP addresses.
  4436. o Minor bugfixes:
  4437. - Fix a signed/unsigned compile warning in 0.2.1.19.
  4438. - Fix possible segmentation fault on directory authorities. Bugfix on
  4439. 0.2.1.14-rc.
  4440. - Fix an extremely rare infinite recursion bug that could occur if
  4441. we tried to log a message after shutting down the log subsystem.
  4442. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  4443. - Fix an obscure bug where hidden services on 64-bit big-endian
  4444. systems might mis-read the timestamp in v3 introduce cells, and
  4445. refuse to connect back to the client. Discovered by "rotor".
  4446. Bugfix on 0.2.1.6-alpha.
  4447. - We were triggering a CLOCK_SKEW controller status event whenever
  4448. we connect via the v2 connection protocol to any relay that has
  4449. a wrong clock. Instead, we should only inform the controller when
  4450. it's a trusted authority that claims our clock is wrong. Bugfix
  4451. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  4452. - We were telling the controller about CHECKING_REACHABILITY and
  4453. REACHABILITY_FAILED status events whenever we launch a testing
  4454. circuit or notice that one has failed. Instead, only tell the
  4455. controller when we want to inform the user of overall success or
  4456. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  4457. by SwissTorExit.
  4458. - Don't warn when we're using a circuit that ends with a node
  4459. excluded in ExcludeExitNodes, but the circuit is not used to access
  4460. the outside world. This should help fix bug 1090. Bugfix on
  4461. 0.2.1.6-alpha.
  4462. - Work around a small memory leak in some versions of OpenSSL that
  4463. stopped the memory used by the hostname TLS extension from being
  4464. freed.
  4465. o Minor features:
  4466. - Add a "getinfo status/accepted-server-descriptor" controller
  4467. command, which is the recommended way for controllers to learn
  4468. whether our server descriptor has been successfully received by at
  4469. least on directory authority. Un-recommend good-server-descriptor
  4470. getinfo and status events until we have a better design for them.
  4471. Changes in version 0.2.2.5-alpha - 2009-10-11
  4472. Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
  4473. o Major bugfixes:
  4474. - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
  4475. o Directory authorities:
  4476. - Temporarily (just for this release) move dizum to an alternate
  4477. IP address.
  4478. Changes in version 0.2.2.4-alpha - 2009-10-10
  4479. Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
  4480. introduces a new unit test framework, shifts directry authority
  4481. addresses around to reduce the impact from recent blocking events,
  4482. and fixes a few smaller bugs.
  4483. o Major bugfixes:
  4484. - Fix several more asserts in the circuit_build_times code, for
  4485. example one that causes Tor to fail to start once we have
  4486. accumulated 5000 build times in the state file. Bugfixes on
  4487. 0.2.2.2-alpha; fixes bug 1108.
  4488. o New directory authorities:
  4489. - Move moria1 and Tonga to alternate IP addresses.
  4490. o Minor features:
  4491. - Log SSL state transitions at debug level during handshake, and
  4492. include SSL states in error messages. This may help debug future
  4493. SSL handshake issues.
  4494. - Add a new "Handshake" log domain for activities that happen
  4495. during the TLS handshake.
  4496. - Revert to the "June 3 2009" ip-to-country file. The September one
  4497. seems to have removed most US IP addresses.
  4498. - Directory authorities now reject Tor relays with versions less than
  4499. 0.1.2.14. This step cuts out four relays from the current network,
  4500. none of which are very big.
  4501. o Minor bugfixes:
  4502. - Fix a couple of smaller issues with gathering statistics. Bugfixes
  4503. on 0.2.2.1-alpha.
  4504. - Fix two memory leaks in the error case of
  4505. circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
  4506. - Don't count one-hop circuits when we're estimating how long it
  4507. takes circuits to build on average. Otherwise we'll set our circuit
  4508. build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
  4509. - Directory authorities no longer change their opinion of, or vote on,
  4510. whether a router is Running, unless they have themselves been
  4511. online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
  4512. Fixes bug 1023.
  4513. o Code simplifications and refactoring:
  4514. - Revise our unit tests to use the "tinytest" framework, so we
  4515. can run tests in their own processes, have smarter setup/teardown
  4516. code, and so on. The unit test code has moved to its own
  4517. subdirectory, and has been split into multiple modules.
  4518. Changes in version 0.2.2.3-alpha - 2009-09-23
  4519. Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
  4520. o Major bugfixes:
  4521. - Fix an overzealous assert in our new circuit build timeout code.
  4522. Bugfix on 0.2.2.2-alpha; fixes bug 1103.
  4523. o Minor bugfixes:
  4524. - If the networkstatus consensus tells us that we should use a
  4525. negative circuit package window, ignore it. Otherwise we'll
  4526. believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
  4527. Changes in version 0.2.2.2-alpha - 2009-09-21
  4528. Tor 0.2.2.2-alpha introduces our latest performance improvement for
  4529. clients: Tor tracks the average time it takes to build a circuit, and
  4530. avoids using circuits that take too long to build. For fast connections,
  4531. this feature can cut your expected latency in half. For slow or flaky
  4532. connections, it could ruin your Tor experience. Let us know if it does!
  4533. o Major features:
  4534. - Tor now tracks how long it takes to build client-side circuits
  4535. over time, and adapts its timeout to local network performance.
  4536. Since a circuit that takes a long time to build will also provide
  4537. bad performance, we get significant latency improvements by
  4538. discarding the slowest 20% of circuits. Specifically, Tor creates
  4539. circuits more aggressively than usual until it has enough data
  4540. points for a good timeout estimate. Implements proposal 151.
  4541. We are especially looking for reports (good and bad) from users with
  4542. both EDGE and broadband connections that can move from broadband
  4543. to EDGE and find out if the build-time data in the .tor/state gets
  4544. reset without loss of Tor usability. You should also see a notice
  4545. log message telling you that Tor has reset its timeout.
  4546. - Directory authorities can now vote on arbitary integer values as
  4547. part of the consensus process. This is designed to help set
  4548. network-wide parameters. Implements proposal 167.
  4549. - Tor now reads the "circwindow" parameter out of the consensus,
  4550. and uses that value for its circuit package window rather than the
  4551. default of 1000 cells. Begins the implementation of proposal 168.
  4552. o Major bugfixes:
  4553. - Fix a remotely triggerable memory leak when a consensus document
  4554. contains more than one signature from the same voter. Bugfix on
  4555. 0.2.0.3-alpha.
  4556. o Minor bugfixes:
  4557. - Fix an extremely rare infinite recursion bug that could occur if
  4558. we tried to log a message after shutting down the log subsystem.
  4559. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  4560. - Fix parsing for memory or time units given without a space between
  4561. the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
  4562. - A networkstatus vote must contain exactly one signature. Spec
  4563. conformance issue. Bugfix on 0.2.0.3-alpha.
  4564. - Fix an obscure bug where hidden services on 64-bit big-endian
  4565. systems might mis-read the timestamp in v3 introduce cells, and
  4566. refuse to connect back to the client. Discovered by "rotor".
  4567. Bugfix on 0.2.1.6-alpha.
  4568. - We were triggering a CLOCK_SKEW controller status event whenever
  4569. we connect via the v2 connection protocol to any relay that has
  4570. a wrong clock. Instead, we should only inform the controller when
  4571. it's a trusted authority that claims our clock is wrong. Bugfix
  4572. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  4573. - We were telling the controller about CHECKING_REACHABILITY and
  4574. REACHABILITY_FAILED status events whenever we launch a testing
  4575. circuit or notice that one has failed. Instead, only tell the
  4576. controller when we want to inform the user of overall success or
  4577. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  4578. by SwissTorExit.
  4579. - Don't warn when we're using a circuit that ends with a node
  4580. excluded in ExcludeExitNodes, but the circuit is not used to access
  4581. the outside world. This should help fix bug 1090, but more problems
  4582. remain. Bugfix on 0.2.1.6-alpha.
  4583. - Work around a small memory leak in some versions of OpenSSL that
  4584. stopped the memory used by the hostname TLS extension from being
  4585. freed.
  4586. - Make our 'torify' script more portable; if we have only one of
  4587. 'torsocks' or 'tsocks' installed, don't complain to the user;
  4588. and explain our warning about tsocks better.
  4589. o Minor features:
  4590. - Add a "getinfo status/accepted-server-descriptor" controller
  4591. command, which is the recommended way for controllers to learn
  4592. whether our server descriptor has been successfully received by at
  4593. least on directory authority. Un-recommend good-server-descriptor
  4594. getinfo and status events until we have a better design for them.
  4595. - Update to the "September 4 2009" ip-to-country file.
  4596. Changes in version 0.2.2.1-alpha - 2009-08-26
  4597. Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
  4598. Tor clients to bootstrap on networks where only port 80 is reachable,
  4599. makes it more straightforward to support hardware crypto accelerators,
  4600. and starts the groundwork for gathering stats safely at relays.
  4601. o Security fixes:
  4602. - Start the process of disabling ".exit" address notation, since it
  4603. can be used for a variety of esoteric application-level attacks
  4604. on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
  4605. on 0.0.9rc5.
  4606. o New directory authorities:
  4607. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  4608. authority.
  4609. o Major features:
  4610. - New AccelName and AccelDir options add support for dynamic OpenSSL
  4611. hardware crypto acceleration engines.
  4612. - Tor now supports tunneling all of its outgoing connections over
  4613. a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
  4614. configuration options. Code by Christopher Davis.
  4615. o Major bugfixes:
  4616. - Send circuit or stream sendme cells when our window has decreased
  4617. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  4618. by Karsten when testing the "reduce circuit window" performance
  4619. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  4620. before the release of Tor 0.0.0. This is the new winner of the
  4621. oldest-bug prize.
  4622. o New options for gathering stats safely:
  4623. - Directory mirrors that set "DirReqStatistics 1" write statistics
  4624. about directory requests to disk every 24 hours. As compared to the
  4625. --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
  4626. 1) stats are written to disk exactly every 24 hours; 2) estimated
  4627. shares of v2 and v3 requests are determined as mean values, not at
  4628. the end of a measurement period; 3) unresolved requests are listed
  4629. with country code '??'; 4) directories also measure download times.
  4630. - Exit nodes that set "ExitPortStatistics 1" write statistics on the
  4631. number of exit streams and transferred bytes per port to disk every
  4632. 24 hours.
  4633. - Relays that set "CellStatistics 1" write statistics on how long
  4634. cells spend in their circuit queues to disk every 24 hours.
  4635. - Entry nodes that set "EntryStatistics 1" write statistics on the
  4636. rough number and origins of connecting clients to disk every 24
  4637. hours.
  4638. - Relays that write any of the above statistics to disk and set
  4639. "ExtraInfoStatistics 1" include the past 24 hours of statistics in
  4640. their extra-info documents.
  4641. o Minor features:
  4642. - New --digests command-line switch to output the digests of the
  4643. source files Tor was built with.
  4644. - The "torify" script now uses torsocks where available.
  4645. - The memarea code now uses a sentinel value at the end of each area
  4646. to make sure nothing writes beyond the end of an area. This might
  4647. help debug some conceivable causes of bug 930.
  4648. - Time and memory units in the configuration file can now be set to
  4649. fractional units. For example, "2.5 GB" is now a valid value for
  4650. AccountingMax.
  4651. - Certain Tor clients (such as those behind check.torproject.org) may
  4652. want to fetch the consensus in an extra early manner. To enable this
  4653. a user may now set FetchDirInfoExtraEarly to 1. This also depends on
  4654. setting FetchDirInfoEarly to 1. Previous behavior will stay the same
  4655. as only certain clients who must have this information sooner should
  4656. set this option.
  4657. - Instead of adding the svn revision to the Tor version string, report
  4658. the git commit (when we're building from a git checkout).
  4659. o Minor bugfixes:
  4660. - If any of the v3 certs we download are unparseable, we should
  4661. actually notice the failure so we don't retry indefinitely. Bugfix
  4662. on 0.2.0.x; reported by "rotator".
  4663. - If the cached cert file is unparseable, warn but don't exit.
  4664. - Fix possible segmentation fault on directory authorities. Bugfix on
  4665. 0.2.1.14-rc.
  4666. - When Tor fails to parse a descriptor of any kind, dump it to disk.
  4667. Might help diagnosing bug 1051.
  4668. o Deprecated and removed features:
  4669. - The controller no longer accepts the old obsolete "addr-mappings/"
  4670. or "unregistered-servers-" GETINFO values.
  4671. - Hidden services no longer publish version 0 descriptors, and clients
  4672. do not request or use version 0 descriptors. However, the old hidden
  4673. service authorities still accept and serve version 0 descriptors
  4674. when contacted by older hidden services/clients.
  4675. - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
  4676. always on; using them is necessary for correct forward-compatible
  4677. controllers.
  4678. - Remove support for .noconnect style addresses. Nobody was using
  4679. them, and they provided another avenue for detecting Tor users
  4680. via application-level web tricks.
  4681. o Packaging changes:
  4682. - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
  4683. installer bundles. See
  4684. https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
  4685. for details of what's new in Vidalia 0.2.3.
  4686. - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
  4687. - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
  4688. configuration file, rather than the old Privoxy.
  4689. - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
  4690. x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
  4691. - OS X Tor Expert Bundle: Tor is compiled as x86-only for
  4692. better compatibility with OS X 10.6, aka Snow Leopard.
  4693. - OS X Vidalia Bundle: The multi-package installer is now replaced
  4694. by a simple drag and drop to the /Applications folder. This change
  4695. occurred with the upgrade to Vidalia 0.2.3.
  4696. Changes in version 0.2.1.19 - 2009-07-28
  4697. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
  4698. services on Tor 0.2.1.3-alpha through 0.2.1.18.
  4699. o Major bugfixes:
  4700. - Make accessing hidden services on 0.2.1.x work right again.
  4701. Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
  4702. part of patch provided by "optimist".
  4703. o Minor features:
  4704. - When a relay/bridge is writing out its identity key fingerprint to
  4705. the "fingerprint" file and to its logs, write it without spaces. Now
  4706. it will look like the fingerprints in our bridges documentation,
  4707. and confuse fewer users.
  4708. o Minor bugfixes:
  4709. - Relays no longer publish a new server descriptor if they change
  4710. their MaxAdvertisedBandwidth config option but it doesn't end up
  4711. changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
  4712. fixes bug 1026. Patch from Sebastian.
  4713. - Avoid leaking memory every time we get a create cell but we have
  4714. so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
  4715. fixes bug 1034. Reported by BarkerJr.
  4716. Changes in version 0.2.1.18 - 2009-07-24
  4717. Tor 0.2.1.18 lays the foundations for performance improvements,
  4718. adds status events to help users diagnose bootstrap problems, adds
  4719. optional authentication/authorization for hidden services, fixes a
  4720. variety of potential anonymity problems, and includes a huge pile of
  4721. other features and bug fixes.
  4722. o Build fixes:
  4723. - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
  4724. Changes in version 0.2.1.17-rc - 2009-07-07
  4725. Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
  4726. candidate for the 0.2.1.x series. It lays the groundwork for further
  4727. client performance improvements, and also fixes a big bug with directory
  4728. authorities that were causing them to assign Guard and Stable flags
  4729. poorly.
  4730. The Windows bundles also finally include the geoip database that we
  4731. thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
  4732. should actually install Torbutton rather than giving you a cryptic
  4733. failure message (oops).
  4734. o Major features:
  4735. - Clients now use the bandwidth values in the consensus, rather than
  4736. the bandwidth values in each relay descriptor. This approach opens
  4737. the door to more accurate bandwidth estimates once the directory
  4738. authorities start doing active measurements. Implements more of
  4739. proposal 141.
  4740. o Major bugfixes:
  4741. - When Tor clients restart after 1-5 days, they discard all their
  4742. cached descriptors as too old, but they still use the cached
  4743. consensus document. This approach is good for robustness, but
  4744. bad for performance: since they don't know any bandwidths, they
  4745. end up choosing at random rather than weighting their choice by
  4746. speed. Fixed by the above feature of putting bandwidths in the
  4747. consensus. Bugfix on 0.2.0.x.
  4748. - Directory authorities were neglecting to mark relays down in their
  4749. internal histories if the relays fall off the routerlist without
  4750. ever being found unreachable. So there were relays in the histories
  4751. that haven't been seen for eight months, and are listed as being
  4752. up for eight months. This wreaked havoc on the "median wfu"
  4753. and "median mtbf" calculations, in turn making Guard and Stable
  4754. flags very wrong, hurting network performance. Fixes bugs 696 and
  4755. 969. Bugfix on 0.2.0.6-alpha.
  4756. o Minor bugfixes:
  4757. - Serve the DirPortFrontPage page even when we have been approaching
  4758. our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
  4759. - The control port would close the connection before flushing long
  4760. replies, such as the network consensus, if a QUIT command was issued
  4761. before the reply had completed. Now, the control port flushes all
  4762. pending replies before closing the connection. Also fixed a spurious
  4763. warning when a QUIT command is issued after a malformed or rejected
  4764. AUTHENTICATE command, but before the connection was closed. Patch
  4765. by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
  4766. - When we can't find an intro key for a v2 hidden service descriptor,
  4767. fall back to the v0 hidden service descriptor and log a bug message.
  4768. Workaround for bug 1024.
  4769. - Fix a log message that did not respect the SafeLogging option.
  4770. Resolves bug 1027.
  4771. o Minor features:
  4772. - If we're a relay and we change our IP address, be more verbose
  4773. about the reason that made us change. Should help track down
  4774. further bugs for relays on dynamic IP addresses.
  4775. Changes in version 0.2.0.35 - 2009-06-24
  4776. o Security fix:
  4777. - Avoid crashing in the presence of certain malformed descriptors.
  4778. Found by lark, and by automated fuzzing.
  4779. - Fix an edge case where a malicious exit relay could convince a
  4780. controller that the client's DNS question resolves to an internal IP
  4781. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  4782. o Major bugfixes:
  4783. - Finally fix the bug where dynamic-IP relays disappear when their
  4784. IP address changes: directory mirrors were mistakenly telling
  4785. them their old address if they asked via begin_dir, so they
  4786. never got an accurate answer about their new address, so they
  4787. just vanished after a day. For belt-and-suspenders, relays that
  4788. don't set Address in their config now avoid using begin_dir for
  4789. all direct connections. Should fix bugs 827, 883, and 900.
  4790. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  4791. that would occur on some exit nodes when DNS failures and timeouts
  4792. occurred in certain patterns. Fix for bug 957.
  4793. o Minor bugfixes:
  4794. - When starting with a cache over a few days old, do not leak
  4795. memory for the obsolete router descriptors in it. Bugfix on
  4796. 0.2.0.33; fixes bug 672.
  4797. - Hidden service clients didn't use a cached service descriptor that
  4798. was older than 15 minutes, but wouldn't fetch a new one either,
  4799. because there was already one in the cache. Now, fetch a v2
  4800. descriptor unless the same descriptor was added to the cache within
  4801. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  4802. Changes in version 0.2.1.16-rc - 2009-06-20
  4803. Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
  4804. a bunch of minor bugs.
  4805. o Security fixes:
  4806. - Fix an edge case where a malicious exit relay could convince a
  4807. controller that the client's DNS question resolves to an internal IP
  4808. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  4809. o Major performance improvements (on 0.2.0.x):
  4810. - Disable and refactor some debugging checks that forced a linear scan
  4811. over the whole server-side DNS cache. These accounted for over 50%
  4812. of CPU time on a relatively busy exit node's gprof profile. Found
  4813. by Jacob.
  4814. - Disable some debugging checks that appeared in exit node profile
  4815. data.
  4816. o Minor features:
  4817. - Update to the "June 3 2009" ip-to-country file.
  4818. - Do not have tor-resolve automatically refuse all .onion addresses;
  4819. if AutomapHostsOnResolve is set in your torrc, this will work fine.
  4820. o Minor bugfixes (on 0.2.0.x):
  4821. - Log correct error messages for DNS-related network errors on
  4822. Windows.
  4823. - Fix a race condition that could cause crashes or memory corruption
  4824. when running as a server with a controller listening for log
  4825. messages.
  4826. - Avoid crashing when we have a policy specified in a DirPolicy or
  4827. SocksPolicy or ReachableAddresses option with ports set on it,
  4828. and we re-load the policy. May fix bug 996.
  4829. - Hidden service clients didn't use a cached service descriptor that
  4830. was older than 15 minutes, but wouldn't fetch a new one either,
  4831. because there was already one in the cache. Now, fetch a v2
  4832. descriptor unless the same descriptor was added to the cache within
  4833. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  4834. o Minor bugfixes (on 0.2.1.x):
  4835. - Don't warn users about low port and hibernation mix when they
  4836. provide a *ListenAddress directive to fix that. Bugfix on
  4837. 0.2.1.15-rc.
  4838. - When switching back and forth between bridge mode, do not start
  4839. gathering GeoIP data until two hours have passed.
  4840. - Do not complain that the user has requested an excluded node as
  4841. an exit when the node is not really an exit. This could happen
  4842. because the circuit was for testing, or an introduction point.
  4843. Fix for bug 984.
  4844. Changes in version 0.2.1.15-rc - 2009-05-25
  4845. Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
  4846. series. It fixes a major bug on fast exit relays, as well as a variety
  4847. of more minor bugs.
  4848. o Major bugfixes (on 0.2.0.x):
  4849. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  4850. that would occur on some exit nodes when DNS failures and timeouts
  4851. occurred in certain patterns. Fix for bug 957.
  4852. o Minor bugfixes (on 0.2.0.x):
  4853. - Actually return -1 in the error case for read_bandwidth_usage().
  4854. Harmless bug, since we currently don't care about the return value
  4855. anywhere. Bugfix on 0.2.0.9-alpha.
  4856. - Provide a more useful log message if bug 977 (related to buffer
  4857. freelists) ever reappears, and do not crash right away.
  4858. - Fix an assertion failure on 64-bit platforms when we allocated
  4859. memory right up to the end of a memarea, then realigned the memory
  4860. one step beyond the end. Fixes a possible cause of bug 930.
  4861. - Protect the count of open sockets with a mutex, so we can't
  4862. corrupt it when two threads are closing or opening sockets at once.
  4863. Fix for bug 939. Bugfix on 0.2.0.1-alpha.
  4864. - Don't allow a bridge to publish its router descriptor to a
  4865. non-bridge directory authority. Fixes part of bug 932.
  4866. - When we change to or from being a bridge, reset our counts of
  4867. client usage by country. Fixes bug 932.
  4868. - Fix a bug that made stream bandwidth get misreported to the
  4869. controller.
  4870. - Stop using malloc_usable_size() to use more area than we had
  4871. actually allocated: it was safe, but made valgrind really unhappy.
  4872. - Fix a memory leak when v3 directory authorities load their keys
  4873. and cert from disk. Bugfix on 0.2.0.1-alpha.
  4874. o Minor bugfixes (on 0.2.1.x):
  4875. - Fix use of freed memory when deciding to mark a non-addable
  4876. descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
  4877. Changes in version 0.2.1.14-rc - 2009-04-12
  4878. Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
  4879. series. It begins fixing some major performance problems, and also
  4880. finally addresses the bug that was causing relays on dynamic IP
  4881. addresses to fall out of the directory.
  4882. o Major features:
  4883. - Clients replace entry guards that were chosen more than a few months
  4884. ago. This change should significantly improve client performance,
  4885. especially once more people upgrade, since relays that have been
  4886. a guard for a long time are currently overloaded.
  4887. o Major bugfixes (on 0.2.0):
  4888. - Finally fix the bug where dynamic-IP relays disappear when their
  4889. IP address changes: directory mirrors were mistakenly telling
  4890. them their old address if they asked via begin_dir, so they
  4891. never got an accurate answer about their new address, so they
  4892. just vanished after a day. For belt-and-suspenders, relays that
  4893. don't set Address in their config now avoid using begin_dir for
  4894. all direct connections. Should fix bugs 827, 883, and 900.
  4895. - Relays were falling out of the networkstatus consensus for
  4896. part of a day if they changed their local config but the
  4897. authorities discarded their new descriptor as "not sufficiently
  4898. different". Now directory authorities accept a descriptor as changed
  4899. if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
  4900. patch by Sebastian.
  4901. - Avoid crashing in the presence of certain malformed descriptors.
  4902. Found by lark, and by automated fuzzing.
  4903. o Minor features:
  4904. - When generating circuit events with verbose nicknames for
  4905. controllers, try harder to look up nicknames for routers on a
  4906. circuit. (Previously, we would look in the router descriptors we had
  4907. for nicknames, but not in the consensus.) Partial fix for bug 941.
  4908. - If the bridge config line doesn't specify a port, assume 443.
  4909. This makes bridge lines a bit smaller and easier for users to
  4910. understand.
  4911. - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
  4912. bytes (aka 20KB/s), to match our documentation. Also update
  4913. directory authorities so they always assign the Fast flag to relays
  4914. with 20KB/s of capacity. Now people running relays won't suddenly
  4915. find themselves not seeing any use, if the network gets faster
  4916. on average.
  4917. - Update to the "April 3 2009" ip-to-country file.
  4918. o Minor bugfixes:
  4919. - Avoid trying to print raw memory to the logs when we decide to
  4920. give up on downloading a given relay descriptor. Bugfix on
  4921. 0.2.1.9-alpha.
  4922. - In tor-resolve, when the Tor client to use is specified by
  4923. <hostname>:<port>, actually use the specified port rather than
  4924. defaulting to 9050. Bugfix on 0.2.1.6-alpha.
  4925. - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
  4926. - When starting with a cache over a few days old, do not leak
  4927. memory for the obsolete router descriptors in it. Bugfix on
  4928. 0.2.0.33.
  4929. - Avoid double-free on list of successfully uploaded hidden
  4930. service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
  4931. - Change memarea_strndup() implementation to work even when
  4932. duplicating a string at the end of a page. This bug was
  4933. harmless for now, but could have meant crashes later. Fix by
  4934. lark. Bugfix on 0.2.1.1-alpha.
  4935. - Limit uploaded directory documents to be 16M rather than 500K.
  4936. The directory authorities were refusing v3 consensus votes from
  4937. other authorities, since the votes are now 504K. Fixes bug 959;
  4938. bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
  4939. - Directory authorities should never send a 503 "busy" response to
  4940. requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
  4941. bug 959.
  4942. Changes in version 0.2.1.13-alpha - 2009-03-09
  4943. Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
  4944. cleanups. We're finally getting close to a release candidate.
  4945. o Major bugfixes:
  4946. - Correctly update the list of which countries we exclude as
  4947. exits, when the GeoIP file is loaded or reloaded. Diagnosed by
  4948. lark. Bugfix on 0.2.1.6-alpha.
  4949. o Minor bugfixes (on 0.2.0.x and earlier):
  4950. - Automatically detect MacOSX versions earlier than 10.4.0, and
  4951. disable kqueue from inside Tor when running with these versions.
  4952. We previously did this from the startup script, but that was no
  4953. help to people who didn't use the startup script. Resolves bug 863.
  4954. - When we had picked an exit node for a connection, but marked it as
  4955. "optional", and it turned out we had no onion key for the exit,
  4956. stop wanting that exit and try again. This situation may not
  4957. be possible now, but will probably become feasible with proposal
  4958. 158. Spotted by rovv. Fixes another case of bug 752.
  4959. - Clients no longer cache certificates for authorities they do not
  4960. recognize. Bugfix on 0.2.0.9-alpha.
  4961. - When we can't transmit a DNS request due to a network error, retry
  4962. it after a while, and eventually transmit a failing response to
  4963. the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
  4964. - If the controller claimed responsibility for a stream, but that
  4965. stream never finished making its connection, it would live
  4966. forever in circuit_wait state. Now we close it after SocksTimeout
  4967. seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
  4968. - Drop begin cells to a hidden service if they come from the middle
  4969. of a circuit. Patch from lark.
  4970. - When we erroneously receive two EXTEND cells for the same circuit
  4971. ID on the same connection, drop the second. Patch from lark.
  4972. - Fix a crash that occurs on exit nodes when a nameserver request
  4973. timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
  4974. been suppressing the bug since 0.1.2.10-alpha. Partial fix for
  4975. bug 929.
  4976. - Do not assume that a stack-allocated character array will be
  4977. 64-bit aligned on platforms that demand that uint64_t access is
  4978. aligned. Possible fix for bug 604.
  4979. - Parse dates and IPv4 addresses in a locale- and libc-independent
  4980. manner, to avoid platform-dependent behavior on malformed input.
  4981. - Build correctly when configured to build outside the main source
  4982. path. Patch from Michael Gold.
  4983. - We were already rejecting relay begin cells with destination port
  4984. of 0. Now also reject extend cells with destination port or address
  4985. of 0. Suggested by lark.
  4986. o Minor bugfixes (on 0.2.1.x):
  4987. - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
  4988. cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
  4989. - If we're an exit node, scrub the IP address to which we are exiting
  4990. in the logs. Bugfix on 0.2.1.8-alpha.
  4991. o Minor features:
  4992. - On Linux, use the prctl call to re-enable core dumps when the user
  4993. is option is set.
  4994. - New controller event NEWCONSENSUS that lists the networkstatus
  4995. lines for every recommended relay. Now controllers like Torflow
  4996. can keep up-to-date on which relays they should be using.
  4997. - Update to the "February 26 2009" ip-to-country file.
  4998. Changes in version 0.2.0.34 - 2009-02-08
  4999. Tor 0.2.0.34 features several more security-related fixes. You should
  5000. upgrade, especially if you run an exit relay (remote crash) or a
  5001. directory authority (remote infinite loop), or you're on an older
  5002. (pre-XP) or not-recently-patched Windows (remote exploit).
  5003. This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
  5004. have many known flaws, and nobody should be using them. You should
  5005. upgrade. If you're using a Linux or BSD and its packages are obsolete,
  5006. stop using those packages and upgrade anyway.
  5007. o Security fixes:
  5008. - Fix an infinite-loop bug on handling corrupt votes under certain
  5009. circumstances. Bugfix on 0.2.0.8-alpha.
  5010. - Fix a temporary DoS vulnerability that could be performed by
  5011. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  5012. - Avoid a potential crash on exit nodes when processing malformed
  5013. input. Remote DoS opportunity. Bugfix on 0.2.0.33.
  5014. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  5015. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  5016. o Minor bugfixes:
  5017. - Fix compilation on systems where time_t is a 64-bit integer.
  5018. Patch from Matthias Drochner.
  5019. - Don't consider expiring already-closed client connections. Fixes
  5020. bug 893. Bugfix on 0.0.2pre20.
  5021. Changes in version 0.2.1.12-alpha - 2009-02-08
  5022. Tor 0.2.1.12-alpha features several more security-related fixes. You
  5023. should upgrade, especially if you run an exit relay (remote crash) or
  5024. a directory authority (remote infinite loop), or you're on an older
  5025. (pre-XP) or not-recently-patched Windows (remote exploit). It also
  5026. includes a big pile of minor bugfixes and cleanups.
  5027. o Security fixes:
  5028. - Fix an infinite-loop bug on handling corrupt votes under certain
  5029. circumstances. Bugfix on 0.2.0.8-alpha.
  5030. - Fix a temporary DoS vulnerability that could be performed by
  5031. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  5032. - Avoid a potential crash on exit nodes when processing malformed
  5033. input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
  5034. o Minor bugfixes:
  5035. - Let controllers actually ask for the "clients_seen" event for
  5036. getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
  5037. reported by Matt Edman.
  5038. - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
  5039. 0.2.1.11-alpha.
  5040. - Fix a bug in address parsing that was preventing bridges or hidden
  5041. service targets from being at IPv6 addresses.
  5042. - Solve a bug that kept hardware crypto acceleration from getting
  5043. enabled when accounting was turned on. Fixes bug 907. Bugfix on
  5044. 0.0.9pre6.
  5045. - Remove a bash-ism from configure.in to build properly on non-Linux
  5046. platforms. Bugfix on 0.2.1.1-alpha.
  5047. - Fix code so authorities _actually_ send back X-Descriptor-Not-New
  5048. headers. Bugfix on 0.2.0.10-alpha.
  5049. - Don't consider expiring already-closed client connections. Fixes
  5050. bug 893. Bugfix on 0.0.2pre20.
  5051. - Fix another interesting corner-case of bug 891 spotted by rovv:
  5052. Previously, if two hosts had different amounts of clock drift, and
  5053. one of them created a new connection with just the wrong timing,
  5054. the other might decide to deprecate the new connection erroneously.
  5055. Bugfix on 0.1.1.13-alpha.
  5056. - Resolve a very rare crash bug that could occur when the user forced
  5057. a nameserver reconfiguration during the middle of a nameserver
  5058. probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
  5059. - Support changing value of ServerDNSRandomizeCase during SIGHUP.
  5060. Bugfix on 0.2.1.7-alpha.
  5061. - If we're using bridges and our network goes away, be more willing
  5062. to forgive our bridges and try again when we get an application
  5063. request. Bugfix on 0.2.0.x.
  5064. o Minor features:
  5065. - Support platforms where time_t is 64 bits long. (Congratulations,
  5066. NetBSD!) Patch from Matthias Drochner.
  5067. - Add a 'getinfo status/clients-seen' controller command, in case
  5068. controllers want to hear clients_seen events but connect late.
  5069. o Build changes:
  5070. - Disable GCC's strict alias optimization by default, to avoid the
  5071. likelihood of its introducing subtle bugs whenever our code violates
  5072. the letter of C99's alias rules.
  5073. Changes in version 0.2.0.33 - 2009-01-21
  5074. Tor 0.2.0.33 fixes a variety of bugs that were making relays less
  5075. useful to users. It also finally fixes a bug where a relay or client
  5076. that's been off for many days would take a long time to bootstrap.
  5077. This update also fixes an important security-related bug reported by
  5078. Ilja van Sprundel. You should upgrade. (We'll send out more details
  5079. about the bug once people have had some time to upgrade.)
  5080. o Security fixes:
  5081. - Fix a heap-corruption bug that may be remotely triggerable on
  5082. some platforms. Reported by Ilja van Sprundel.
  5083. o Major bugfixes:
  5084. - When a stream at an exit relay is in state "resolving" or
  5085. "connecting" and it receives an "end" relay cell, the exit relay
  5086. would silently ignore the end cell and not close the stream. If
  5087. the client never closes the circuit, then the exit relay never
  5088. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  5089. reported by "wood".
  5090. - When sending CREATED cells back for a given circuit, use a 64-bit
  5091. connection ID to find the right connection, rather than an addr:port
  5092. combination. Now that we can have multiple OR connections between
  5093. the same ORs, it is no longer possible to use addr:port to uniquely
  5094. identify a connection.
  5095. - Bridge relays that had DirPort set to 0 would stop fetching
  5096. descriptors shortly after startup, and then briefly resume
  5097. after a new bandwidth test and/or after publishing a new bridge
  5098. descriptor. Bridge users that try to bootstrap from them would
  5099. get a recent networkstatus but would get descriptors from up to
  5100. 18 hours earlier, meaning most of the descriptors were obsolete
  5101. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  5102. - Prevent bridge relays from serving their 'extrainfo' document
  5103. to anybody who asks, now that extrainfo docs include potentially
  5104. sensitive aggregated client geoip summaries. Bugfix on
  5105. 0.2.0.13-alpha.
  5106. - If the cached networkstatus consensus is more than five days old,
  5107. discard it rather than trying to use it. In theory it could be
  5108. useful because it lists alternate directory mirrors, but in practice
  5109. it just means we spend many minutes trying directory mirrors that
  5110. are long gone from the network. Also discard router descriptors as
  5111. we load them if they are more than five days old, since the onion
  5112. key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
  5113. o Minor bugfixes:
  5114. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  5115. could make gcc generate non-functional binary search code. Bugfix
  5116. on 0.2.0.10-alpha.
  5117. - Build correctly on platforms without socklen_t.
  5118. - Compile without warnings on solaris.
  5119. - Avoid potential crash on internal error during signature collection.
  5120. Fixes bug 864. Patch from rovv.
  5121. - Correct handling of possible malformed authority signing key
  5122. certificates with internal signature types. Fixes bug 880.
  5123. Bugfix on 0.2.0.3-alpha.
  5124. - Fix a hard-to-trigger resource leak when logging credential status.
  5125. CID 349.
  5126. - When we can't initialize DNS because the network is down, do not
  5127. automatically stop Tor from starting. Instead, we retry failed
  5128. dns_init() every 10 minutes, and change the exit policy to reject
  5129. *:* until one succeeds. Fixes bug 691.
  5130. - Use 64 bits instead of 32 bits for connection identifiers used with
  5131. the controller protocol, to greatly reduce risk of identifier reuse.
  5132. - When we're choosing an exit node for a circuit, and we have
  5133. no pending streams, choose a good general exit rather than one that
  5134. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  5135. - Fix another case of assuming, when a specific exit is requested,
  5136. that we know more than the user about what hosts it allows.
  5137. Fixes one case of bug 752. Patch from rovv.
  5138. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  5139. seconds. Warn the user if lower values are given in the
  5140. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  5141. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  5142. user if lower values are given in the configuration. Bugfix on
  5143. 0.1.1.17-rc. Patch by Sebastian.
  5144. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  5145. the cache because we already had a v0 descriptor with the same ID.
  5146. Bugfix on 0.2.0.18-alpha.
  5147. - Fix a race condition when freeing keys shared between main thread
  5148. and CPU workers that could result in a memory leak. Bugfix on
  5149. 0.1.0.1-rc. Fixes bug 889.
  5150. - Send a valid END cell back when a client tries to connect to a
  5151. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  5152. 840. Patch from rovv.
  5153. - Check which hops rendezvous stream cells are associated with to
  5154. prevent possible guess-the-streamid injection attacks from
  5155. intermediate hops. Fixes another case of bug 446. Based on patch
  5156. from rovv.
  5157. - If a broken client asks a non-exit router to connect somewhere,
  5158. do not even do the DNS lookup before rejecting the connection.
  5159. Fixes another case of bug 619. Patch from rovv.
  5160. - When a relay gets a create cell it can't decrypt (e.g. because it's
  5161. using the wrong onion key), we were dropping it and letting the
  5162. client time out. Now actually answer with a destroy cell. Fixes
  5163. bug 904. Bugfix on 0.0.2pre8.
  5164. o Minor bugfixes (hidden services):
  5165. - Do not throw away existing introduction points on SIGHUP. Bugfix on
  5166. 0.0.6pre1. Patch by Karsten. Fixes bug 874.
  5167. o Minor features:
  5168. - Report the case where all signatures in a detached set are rejected
  5169. differently than the case where there is an error handling the
  5170. detached set.
  5171. - When we realize that another process has modified our cached
  5172. descriptors, print out a more useful error message rather than
  5173. triggering an assertion. Fixes bug 885. Patch from Karsten.
  5174. - Implement the 0x20 hack to better resist DNS poisoning: set the
  5175. case on outgoing DNS requests randomly, and reject responses that do
  5176. not match the case correctly. This logic can be disabled with the
  5177. ServerDNSRamdomizeCase setting, if you are using one of the 0.3%
  5178. of servers that do not reliably preserve case in replies. See
  5179. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  5180. for more info.
  5181. - Check DNS replies for more matching fields to better resist DNS
  5182. poisoning.
  5183. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  5184. compress cells, which are basically all encrypted, compressed, or
  5185. both.
  5186. Changes in version 0.2.1.11-alpha - 2009-01-20
  5187. Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
  5188. week it will take a long time to bootstrap again" bug. It also fixes
  5189. an important security-related bug reported by Ilja van Sprundel. You
  5190. should upgrade. (We'll send out more details about the bug once people
  5191. have had some time to upgrade.)
  5192. o Security fixes:
  5193. - Fix a heap-corruption bug that may be remotely triggerable on
  5194. some platforms. Reported by Ilja van Sprundel.
  5195. o Major bugfixes:
  5196. - Discard router descriptors as we load them if they are more than
  5197. five days old. Otherwise if Tor is off for a long time and then
  5198. starts with cached descriptors, it will try to use the onion
  5199. keys in those obsolete descriptors when building circuits. Bugfix
  5200. on 0.2.0.x. Fixes bug 887.
  5201. o Minor features:
  5202. - Try to make sure that the version of Libevent we're running with
  5203. is binary-compatible with the one we built with. May address bug
  5204. 897 and others.
  5205. - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
  5206. for bug 905. Bugfix on 0.2.1.7-alpha.
  5207. - Add a new --enable-local-appdata configuration switch to change
  5208. the default location of the datadir on win32 from APPDATA to
  5209. LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
  5210. entirely. Patch from coderman.
  5211. o Minor bugfixes:
  5212. - Make outbound DNS packets respect the OutboundBindAddress setting.
  5213. Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
  5214. - When our circuit fails at the first hop (e.g. we get a destroy
  5215. cell back), avoid using that OR connection anymore, and also
  5216. tell all the one-hop directory requests waiting for it that they
  5217. should fail. Bugfix on 0.2.1.3-alpha.
  5218. - In the torify(1) manpage, mention that tsocks will leak your
  5219. DNS requests.
  5220. Changes in version 0.2.1.10-alpha - 2009-01-06
  5221. Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
  5222. would make the bridge relay not so useful if it had DirPort set to 0,
  5223. and one that could let an attacker learn a little bit of information
  5224. about the bridge's users), and a bug that would cause your Tor relay
  5225. to ignore a circuit create request it can't decrypt (rather than reply
  5226. with an error). It also fixes a wide variety of other bugs.
  5227. o Major bugfixes:
  5228. - If the cached networkstatus consensus is more than five days old,
  5229. discard it rather than trying to use it. In theory it could
  5230. be useful because it lists alternate directory mirrors, but in
  5231. practice it just means we spend many minutes trying directory
  5232. mirrors that are long gone from the network. Helps bug 887 a bit;
  5233. bugfix on 0.2.0.x.
  5234. - Bridge relays that had DirPort set to 0 would stop fetching
  5235. descriptors shortly after startup, and then briefly resume
  5236. after a new bandwidth test and/or after publishing a new bridge
  5237. descriptor. Bridge users that try to bootstrap from them would
  5238. get a recent networkstatus but would get descriptors from up to
  5239. 18 hours earlier, meaning most of the descriptors were obsolete
  5240. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  5241. - Prevent bridge relays from serving their 'extrainfo' document
  5242. to anybody who asks, now that extrainfo docs include potentially
  5243. sensitive aggregated client geoip summaries. Bugfix on
  5244. 0.2.0.13-alpha.
  5245. o Minor features:
  5246. - New controller event "clients_seen" to report a geoip-based summary
  5247. of which countries we've seen clients from recently. Now controllers
  5248. like Vidalia can show bridge operators that they're actually making
  5249. a difference.
  5250. - Build correctly against versions of OpenSSL 0.9.8 or later built
  5251. without support for deprecated functions.
  5252. - Update to the "December 19 2008" ip-to-country file.
  5253. o Minor bugfixes (on 0.2.0.x):
  5254. - Authorities now vote for the Stable flag for any router whose
  5255. weighted MTBF is at least 5 days, regardless of the mean MTBF.
  5256. - Do not remove routers as too old if we do not have any consensus
  5257. document. Bugfix on 0.2.0.7-alpha.
  5258. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  5259. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  5260. - When an exit relay resolves a stream address to a local IP address,
  5261. do not just keep retrying that same exit relay over and
  5262. over. Instead, just close the stream. Addresses bug 872. Bugfix
  5263. on 0.2.0.32. Patch from rovv.
  5264. - If a hidden service sends us an END cell, do not consider
  5265. retrying the connection; just close it. Patch from rovv.
  5266. - When we made bridge authorities stop serving bridge descriptors over
  5267. unencrypted links, we also broke DirPort reachability testing for
  5268. bridges. So bridges with a non-zero DirPort were printing spurious
  5269. warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
  5270. - When a relay gets a create cell it can't decrypt (e.g. because it's
  5271. using the wrong onion key), we were dropping it and letting the
  5272. client time out. Now actually answer with a destroy cell. Fixes
  5273. bug 904. Bugfix on 0.0.2pre8.
  5274. - Squeeze 2-5% out of client performance (according to oprofile) by
  5275. improving the implementation of some policy-manipulation functions.
  5276. o Minor bugfixes (on 0.2.1.x):
  5277. - Make get_interface_address() function work properly again; stop
  5278. guessing the wrong parts of our address as our address.
  5279. - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
  5280. send on that circuit. Otherwise we might violate the proposal-110
  5281. limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
  5282. thanks to Karsten.
  5283. - When we're sending non-EXTEND cells to the first hop in a circuit,
  5284. for example to use an encrypted directory connection, we don't need
  5285. to use RELAY_EARLY cells: the first hop knows what kind of cell
  5286. it is, and nobody else can even see the cell type. Conserving
  5287. RELAY_EARLY cells makes it easier to cannibalize circuits like
  5288. this later.
  5289. - Stop logging nameserver addresses in reverse order.
  5290. - If we are retrying a directory download slowly over and over, do
  5291. not automatically give up after the 254th failure. Bugfix on
  5292. 0.2.1.9-alpha.
  5293. - Resume reporting accurate "stream end" reasons to the local control
  5294. port. They were lost in the changes for Proposal 148. Bugfix on
  5295. 0.2.1.9-alpha.
  5296. o Deprecated and removed features:
  5297. - The old "tor --version --version" command, which would print out
  5298. the subversion "Id" of most of the source files, is now removed. It
  5299. turned out to be less useful than we'd expected, and harder to
  5300. maintain.
  5301. o Code simplifications and refactoring:
  5302. - Change our header file guard macros to be less likely to conflict
  5303. with system headers. Adam Langley noticed that we were conflicting
  5304. with log.h on Android.
  5305. - Tool-assisted documentation cleanup. Nearly every function or
  5306. static variable in Tor should have its own documentation now.
  5307. Changes in version 0.2.1.9-alpha - 2008-12-25
  5308. Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
  5309. o New directory authorities:
  5310. - gabelmoo (the authority run by Karsten Loesing) now has a new
  5311. IP address.
  5312. o Security fixes:
  5313. - Never use a connection with a mismatched address to extend a
  5314. circuit, unless that connection is canonical. A canonical
  5315. connection is one whose address is authenticated by the router's
  5316. identity key, either in a NETINFO cell or in a router descriptor.
  5317. - Avoid a possible memory corruption bug when receiving hidden service
  5318. descriptors. Bugfix on 0.2.1.6-alpha.
  5319. o Major bugfixes:
  5320. - Fix a logic error that would automatically reject all but the first
  5321. configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
  5322. part of bug 813/868. Bug spotted by coderman.
  5323. - When a stream at an exit relay is in state "resolving" or
  5324. "connecting" and it receives an "end" relay cell, the exit relay
  5325. would silently ignore the end cell and not close the stream. If
  5326. the client never closes the circuit, then the exit relay never
  5327. closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
  5328. reported by "wood".
  5329. - When we can't initialize DNS because the network is down, do not
  5330. automatically stop Tor from starting. Instead, retry failed
  5331. dns_init() every 10 minutes, and change the exit policy to reject
  5332. *:* until one succeeds. Fixes bug 691.
  5333. o Minor features:
  5334. - Give a better error message when an overzealous init script says
  5335. "sudo -u username tor --user username". Makes Bug 882 easier for
  5336. users to diagnose.
  5337. - When a directory authority gives us a new guess for our IP address,
  5338. log which authority we used. Hopefully this will help us debug
  5339. the recent complaints about bad IP address guesses.
  5340. - Detect svn revision properly when we're using git-svn.
  5341. - Try not to open more than one descriptor-downloading connection
  5342. to an authority at once. This should reduce load on directory
  5343. authorities. Fixes bug 366.
  5344. - Add cross-certification to newly generated certificates, so that
  5345. a signing key is enough information to look up a certificate.
  5346. Partial implementation of proposal 157.
  5347. - Start serving certificates by <identity digest, signing key digest>
  5348. pairs. Partial implementation of proposal 157.
  5349. - Clients now never report any stream end reason except 'MISC'.
  5350. Implements proposal 148.
  5351. - On platforms with a maximum syslog string length, truncate syslog
  5352. messages to that length ourselves, rather than relying on the
  5353. system to do it for us.
  5354. - Optimize out calls to time(NULL) that occur for every IO operation,
  5355. or for every cell. On systems where time() is a slow syscall,
  5356. this fix will be slightly helpful.
  5357. - Exit servers can now answer resolve requests for ip6.arpa addresses.
  5358. - When we download a descriptor that we then immediately (as
  5359. a directory authority) reject, do not retry downloading it right
  5360. away. Should save some bandwidth on authorities. Fix for bug
  5361. 888. Patch by Sebastian Hahn.
  5362. - When a download gets us zero good descriptors, do not notify
  5363. Tor that new directory information has arrived.
  5364. - Avoid some nasty corner cases in the logic for marking connections
  5365. as too old or obsolete or noncanonical for circuits. Partial
  5366. bugfix on bug 891.
  5367. o Minor features (controller):
  5368. - New CONSENSUS_ARRIVED event to note when a new consensus has
  5369. been fetched and validated.
  5370. - When we realize that another process has modified our cached
  5371. descriptors file, print out a more useful error message rather
  5372. than triggering an assertion. Fixes bug 885. Patch from Karsten.
  5373. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  5374. controllers to prevent SIGHUP from reloading the
  5375. configuration. Fixes bug 856.
  5376. o Minor bugfixes:
  5377. - Resume using the correct "REASON=" stream when telling the
  5378. controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
  5379. - When a canonical connection appears later in our internal list
  5380. than a noncanonical one for a given OR ID, always use the
  5381. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  5382. Spotted by rovv.
  5383. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  5384. seconds. Warn the user if lower values are given in the
  5385. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  5386. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  5387. user if lower values are given in the configuration. Bugfix on
  5388. 0.1.1.17-rc. Patch by Sebastian.
  5389. - Fix a race condition when freeing keys shared between main thread
  5390. and CPU workers that could result in a memory leak. Bugfix on
  5391. 0.1.0.1-rc. Fixes bug 889.
  5392. o Minor bugfixes (hidden services):
  5393. - Do not throw away existing introduction points on SIGHUP (bugfix on
  5394. 0.0.6pre1); also, do not stall hidden services because we're
  5395. throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
  5396. by John Brooks. Patch by Karsten. Fixes bug 874.
  5397. - Fix a memory leak when we decline to add a v2 rendezvous
  5398. descriptor to the cache because we already had a v0 descriptor
  5399. with the same ID. Bugfix on 0.2.0.18-alpha.
  5400. o Deprecated and removed features:
  5401. - RedirectExits has been removed. It was deprecated since
  5402. 0.2.0.3-alpha.
  5403. - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
  5404. has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  5405. - Cell pools are now always enabled; --disable-cell-pools is ignored.
  5406. o Code simplifications and refactoring:
  5407. - Rename the confusing or_is_obsolete field to the more appropriate
  5408. is_bad_for_new_circs, and move it to or_connection_t where it
  5409. belongs.
  5410. - Move edge-only flags from connection_t to edge_connection_t: not
  5411. only is this better coding, but on machines of plausible alignment,
  5412. it should save 4-8 bytes per connection_t. "Every little bit helps."
  5413. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  5414. for consistency; keep old option working for backward compatibility.
  5415. - Simplify the code for finding connections to use for a circuit.
  5416. Changes in version 0.2.1.8-alpha - 2008-12-08
  5417. Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
  5418. builds better on unusual platforms like Solaris and old OS X, and
  5419. fixes a variety of other issues.
  5420. o Major features:
  5421. - New DirPortFrontPage option that takes an html file and publishes
  5422. it as "/" on the DirPort. Now relay operators can provide a
  5423. disclaimer without needing to set up a separate webserver. There's
  5424. a sample disclaimer in contrib/tor-exit-notice.html.
  5425. o Security fixes:
  5426. - When the client is choosing entry guards, now it selects at most
  5427. one guard from a given relay family. Otherwise we could end up with
  5428. all of our entry points into the network run by the same operator.
  5429. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  5430. o Major bugfixes:
  5431. - Fix a DOS opportunity during the voting signature collection process
  5432. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  5433. - Fix a possible segfault when establishing an exit connection. Bugfix
  5434. on 0.2.1.5-alpha.
  5435. o Minor bugfixes:
  5436. - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
  5437. bug 859.
  5438. - Made Tor a little less aggressive about deleting expired
  5439. certificates. Partial fix for bug 854.
  5440. - Stop doing unaligned memory access that generated bus errors on
  5441. sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
  5442. - Fix a crash bug when changing EntryNodes from the controller. Bugfix
  5443. on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
  5444. - Make USR2 log-level switch take effect immediately. Bugfix on
  5445. 0.1.2.8-beta.
  5446. - If one win32 nameserver fails to get added, continue adding the
  5447. rest, and don't automatically fail.
  5448. - Use fcntl() for locking when flock() is not available. Should fix
  5449. compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
  5450. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  5451. could make gcc generate non-functional binary search code. Bugfix
  5452. on 0.2.0.10-alpha.
  5453. - Build correctly on platforms without socklen_t.
  5454. - Avoid potential crash on internal error during signature collection.
  5455. Fixes bug 864. Patch from rovv.
  5456. - Do not use C's stdio library for writing to log files. This will
  5457. improve logging performance by a minute amount, and will stop
  5458. leaking fds when our disk is full. Fixes bug 861.
  5459. - Stop erroneous use of O_APPEND in cases where we did not in fact
  5460. want to re-seek to the end of a file before every last write().
  5461. - Correct handling of possible malformed authority signing key
  5462. certificates with internal signature types. Fixes bug 880. Bugfix
  5463. on 0.2.0.3-alpha.
  5464. - Fix a hard-to-trigger resource leak when logging credential status.
  5465. CID 349.
  5466. o Minor features:
  5467. - Directory mirrors no longer fetch the v1 directory or
  5468. running-routers files. They are obsolete, and nobody asks for them
  5469. anymore. This is the first step to making v1 authorities obsolete.
  5470. o Minor features (controller):
  5471. - Return circuit purposes in response to GETINFO circuit-status. Fixes
  5472. bug 858.
  5473. Changes in version 0.2.0.32 - 2008-11-20
  5474. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  5475. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  5476. a smaller security flaw that might allow an attacker to access local
  5477. services, further improves hidden service performance, and fixes a
  5478. variety of other issues.
  5479. o Security fixes:
  5480. - The "User" and "Group" config options did not clear the
  5481. supplementary group entries for the Tor process. The "User" option
  5482. is now more robust, and we now set the groups to the specified
  5483. user's primary group. The "Group" option is now ignored. For more
  5484. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  5485. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  5486. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  5487. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  5488. consistently obeyed: if an exit relay refuses a stream because its
  5489. exit policy doesn't allow it, we would remember what IP address
  5490. the relay said the destination address resolves to, even if it's
  5491. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  5492. o Major bugfixes:
  5493. - Fix a DOS opportunity during the voting signature collection process
  5494. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  5495. o Major bugfixes (hidden services):
  5496. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  5497. we were failing the whole hidden service request when the v0
  5498. descriptor fetch fails, even if the v2 fetch is still pending and
  5499. might succeed. Similarly, if the last v2 fetch fails, we were
  5500. failing the whole hidden service request even if a v0 fetch is
  5501. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  5502. - When extending a circuit to a hidden service directory to upload a
  5503. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  5504. requests failed, because the router descriptor has not been
  5505. downloaded yet. In these cases, do not attempt to upload the
  5506. rendezvous descriptor, but wait until the router descriptor is
  5507. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  5508. descriptor from a hidden service directory for which the router
  5509. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  5510. on 0.2.0.10-alpha.
  5511. o Minor bugfixes:
  5512. - Fix several infrequent memory leaks spotted by Coverity.
  5513. - When testing for libevent functions, set the LDFLAGS variable
  5514. correctly. Found by Riastradh.
  5515. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  5516. bootstrapping with tunneled directory connections. Bugfix on
  5517. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  5518. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  5519. and we know that server B rejects most-but-not all connections to
  5520. port 80, we would previously reject the connection. Now, we assume
  5521. the user knows what they were asking for. Fixes bug 752. Bugfix
  5522. on 0.0.9rc5. Diagnosed by BarkerJr.
  5523. - If we overrun our per-second write limits a little, count this as
  5524. having used up our write allocation for the second, and choke
  5525. outgoing directory writes. Previously, we had only counted this when
  5526. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  5527. Bugfix on 0.2.0.x (??).
  5528. - Remove the old v2 directory authority 'lefkada' from the default
  5529. list. It has been gone for many months.
  5530. - Stop doing unaligned memory access that generated bus errors on
  5531. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  5532. - Make USR2 log-level switch take effect immediately. Bugfix on
  5533. 0.1.2.8-beta.
  5534. o Minor bugfixes (controller):
  5535. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  5536. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  5537. Changes in version 0.2.1.7-alpha - 2008-11-08
  5538. Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
  5539. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  5540. a smaller security flaw that might allow an attacker to access local
  5541. services, adds better defense against DNS poisoning attacks on exit
  5542. relays, further improves hidden service performance, and fixes a
  5543. variety of other issues.
  5544. o Security fixes:
  5545. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  5546. consistently obeyed: if an exit relay refuses a stream because its
  5547. exit policy doesn't allow it, we would remember what IP address
  5548. the relay said the destination address resolves to, even if it's
  5549. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  5550. - The "User" and "Group" config options did not clear the
  5551. supplementary group entries for the Tor process. The "User" option
  5552. is now more robust, and we now set the groups to the specified
  5553. user's primary group. The "Group" option is now ignored. For more
  5554. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  5555. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  5556. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
  5557. - Do not use or believe expired v3 authority certificates. Patch
  5558. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  5559. o Minor features:
  5560. - Now NodeFamily and MyFamily config options allow spaces in
  5561. identity fingerprints, so it's easier to paste them in.
  5562. Suggested by Lucky Green.
  5563. - Implement the 0x20 hack to better resist DNS poisoning: set the
  5564. case on outgoing DNS requests randomly, and reject responses that do
  5565. not match the case correctly. This logic can be disabled with the
  5566. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  5567. of servers that do not reliably preserve case in replies. See
  5568. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  5569. for more info.
  5570. - Preserve case in replies to DNSPort requests in order to support
  5571. the 0x20 hack for resisting DNS poisoning attacks.
  5572. o Hidden service performance improvements:
  5573. - When the client launches an introduction circuit, retry with a
  5574. new circuit after 30 seconds rather than 60 seconds.
  5575. - Launch a second client-side introduction circuit in parallel
  5576. after a delay of 15 seconds (based on work by Christian Wilms).
  5577. - Hidden services start out building five intro circuits rather
  5578. than three, and when the first three finish they publish a service
  5579. descriptor using those. Now we publish our service descriptor much
  5580. faster after restart.
  5581. o Minor bugfixes:
  5582. - Minor fix in the warning messages when you're having problems
  5583. bootstrapping; also, be more forgiving of bootstrap problems when
  5584. we're still making incremental progress on a given bootstrap phase.
  5585. - When we're choosing an exit node for a circuit, and we have
  5586. no pending streams, choose a good general exit rather than one that
  5587. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  5588. - Send a valid END cell back when a client tries to connect to a
  5589. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  5590. 840. Patch from rovv.
  5591. - If a broken client asks a non-exit router to connect somewhere,
  5592. do not even do the DNS lookup before rejecting the connection.
  5593. Fixes another case of bug 619. Patch from rovv.
  5594. - Fix another case of assuming, when a specific exit is requested,
  5595. that we know more than the user about what hosts it allows.
  5596. Fixes another case of bug 752. Patch from rovv.
  5597. - Check which hops rendezvous stream cells are associated with to
  5598. prevent possible guess-the-streamid injection attacks from
  5599. intermediate hops. Fixes another case of bug 446. Based on patch
  5600. from rovv.
  5601. - Avoid using a negative right-shift when comparing 32-bit
  5602. addresses. Possible fix for bug 845 and bug 811.
  5603. - Make the assert_circuit_ok() function work correctly on circuits that
  5604. have already been marked for close.
  5605. - Fix read-off-the-end-of-string error in unit tests when decoding
  5606. introduction points.
  5607. - Fix uninitialized size field for memory area allocation: may improve
  5608. memory performance during directory parsing.
  5609. - Treat duplicate certificate fetches as failures, so that we do
  5610. not try to re-fetch an expired certificate over and over and over.
  5611. - Do not say we're fetching a certificate when we'll in fact skip it
  5612. because of a pending download.
  5613. Changes in version 0.2.1.6-alpha - 2008-09-30
  5614. Tor 0.2.1.6-alpha further improves performance and robustness of
  5615. hidden services, starts work on supporting per-country relay selection,
  5616. and fixes a variety of smaller issues.
  5617. o Major features:
  5618. - Implement proposal 121: make it possible to build hidden services
  5619. that only certain clients are allowed to connect to. This is
  5620. enforced at several points, so that unauthorized clients are unable
  5621. to send INTRODUCE cells to the service, or even (depending on the
  5622. type of authentication) to learn introduction points. This feature
  5623. raises the bar for certain kinds of active attacks against hidden
  5624. services. Code by Karsten Loesing.
  5625. - Relays now store and serve v2 hidden service descriptors by default,
  5626. i.e., the new default value for HidServDirectoryV2 is 1. This is
  5627. the last step in proposal 114, which aims to make hidden service
  5628. lookups more reliable.
  5629. - Start work to allow node restrictions to include country codes. The
  5630. syntax to exclude nodes in a country with country code XX is
  5631. "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
  5632. refinement to decide what config options should take priority if
  5633. you ask to both use a particular node and exclude it.
  5634. - Allow ExitNodes list to include IP ranges and country codes, just
  5635. like the Exclude*Nodes lists. Patch from Robert Hogan.
  5636. o Major bugfixes:
  5637. - Fix a bug when parsing ports in tor_addr_port_parse() that caused
  5638. Tor to fail to start if you had it configured to use a bridge
  5639. relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
  5640. - When extending a circuit to a hidden service directory to upload a
  5641. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  5642. requests failed, because the router descriptor had not been
  5643. downloaded yet. In these cases, we now wait until the router
  5644. descriptor is downloaded, and then retry. Likewise, clients
  5645. now skip over a hidden service directory if they don't yet have
  5646. its router descriptor, rather than futilely requesting it and
  5647. putting mysterious complaints in the logs. Fixes bug 767. Bugfix
  5648. on 0.2.0.10-alpha.
  5649. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  5650. we were failing the whole hidden service request when the v0
  5651. descriptor fetch fails, even if the v2 fetch is still pending and
  5652. might succeed. Similarly, if the last v2 fetch fails, we were
  5653. failing the whole hidden service request even if a v0 fetch is
  5654. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  5655. - DNS replies need to have names matching their requests, but
  5656. these names should be in the questions section, not necessarily
  5657. in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
  5658. o Minor features:
  5659. - Update to the "September 1 2008" ip-to-country file.
  5660. - Allow ports 465 and 587 in the default exit policy again. We had
  5661. rejected them in 0.1.0.15, because back in 2005 they were commonly
  5662. misconfigured and ended up as spam targets. We hear they are better
  5663. locked down these days.
  5664. - Use a lockfile to make sure that two Tor processes are not
  5665. simultaneously running with the same datadir.
  5666. - Serve the latest v3 networkstatus consensus via the control
  5667. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  5668. - Better logging about stability/reliability calculations on directory
  5669. servers.
  5670. - Drop the requirement to have an open dir port for storing and
  5671. serving v2 hidden service descriptors.
  5672. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  5673. help debug WFU and MTBF calculations.
  5674. - Implement most of Proposal 152: allow specialized servers to permit
  5675. single-hop circuits, and clients to use those servers to build
  5676. single-hop circuits when using a specialized controller. Patch
  5677. from Josh Albrecht. Resolves feature request 768.
  5678. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  5679. people find host:port too confusing.
  5680. - Make TrackHostExit mappings expire a while after their last use, not
  5681. after their creation. Patch from Robert Hogan.
  5682. - Provide circuit purposes along with circuit events to the controller.
  5683. o Minor bugfixes:
  5684. - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
  5685. Reported by Tas.
  5686. - Fixed some memory leaks -- some quite frequent, some almost
  5687. impossible to trigger -- based on results from Coverity.
  5688. - When testing for libevent functions, set the LDFLAGS variable
  5689. correctly. Found by Riastradh.
  5690. - Fix an assertion bug in parsing policy-related options; possible fix
  5691. for bug 811.
  5692. - Catch and report a few more bootstrapping failure cases when Tor
  5693. fails to establish a TCP connection. Cleanup on 0.2.1.x.
  5694. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  5695. bootstrapping with tunneled directory connections. Bugfix on
  5696. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  5697. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  5698. and we know that server B rejects most-but-not all connections to
  5699. port 80, we would previously reject the connection. Now, we assume
  5700. the user knows what they were asking for. Fixes bug 752. Bugfix
  5701. on 0.0.9rc5. Diagnosed by BarkerJr.
  5702. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  5703. service directories if they have no advertised dir port. Bugfix
  5704. on 0.2.0.10-alpha.
  5705. - If we overrun our per-second write limits a little, count this as
  5706. having used up our write allocation for the second, and choke
  5707. outgoing directory writes. Previously, we had only counted this when
  5708. we had met our limits precisely. Fixes bug 824. Patch by rovv.
  5709. Bugfix on 0.2.0.x (??).
  5710. - Avoid a "0 divided by 0" calculation when calculating router uptime
  5711. at directory authorities. Bugfix on 0.2.0.8-alpha.
  5712. - Make DNS resolved controller events into "CLOSED", not
  5713. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  5714. bug 807.
  5715. - Fix a bug where an unreachable relay would establish enough
  5716. reachability testing circuits to do a bandwidth test -- if
  5717. we already have a connection to the middle hop of the testing
  5718. circuit, then it could establish the last hop by using the existing
  5719. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  5720. circuits no longer use entry guards in 0.2.1.3-alpha.
  5721. - If we have correct permissions on $datadir, we complain to stdout
  5722. and fail to start. But dangerous permissions on
  5723. $datadir/cached-status/ would cause us to open a log and complain
  5724. there. Now complain to stdout and fail to start in both cases. Fixes
  5725. bug 820, reported by seeess.
  5726. - Remove the old v2 directory authority 'lefkada' from the default
  5727. list. It has been gone for many months.
  5728. o Code simplifications and refactoring:
  5729. - Revise the connection_new functions so that a more typesafe variant
  5730. exists. This will work better with Coverity, and let us find any
  5731. actual mistakes we're making here.
  5732. - Refactor unit testing logic so that dmalloc can be used sensibly
  5733. with unit tests to check for memory leaks.
  5734. - Move all hidden-service related fields from connection and circuit
  5735. structure to substructures: this way they won't eat so much memory.
  5736. Changes in version 0.2.0.31 - 2008-09-03
  5737. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  5738. a big bug we're seeing where in rare cases traffic from one Tor stream
  5739. gets mixed into another stream, and fixes a variety of smaller issues.
  5740. o Major bugfixes:
  5741. - Make sure that two circuits can never exist on the same connection
  5742. with the same circuit ID, even if one is marked for close. This
  5743. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  5744. - Relays now reject risky extend cells: if the extend cell includes
  5745. a digest of all zeroes, or asks to extend back to the relay that
  5746. sent the extend cell, tear down the circuit. Ideas suggested
  5747. by rovv.
  5748. - If not enough of our entry guards are available so we add a new
  5749. one, we might use the new one even if it overlapped with the
  5750. current circuit's exit relay (or its family). Anonymity bugfix
  5751. pointed out by rovv.
  5752. o Minor bugfixes:
  5753. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  5754. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  5755. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  5756. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  5757. - Pick size of default geoip filename string correctly on windows.
  5758. Fixes bug 806. Bugfix on 0.2.0.30.
  5759. - Make the autoconf script accept the obsolete --with-ssl-dir
  5760. option as an alias for the actually-working --with-openssl-dir
  5761. option. Fix the help documentation to recommend --with-openssl-dir.
  5762. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  5763. - When using the TransPort option on OpenBSD, and using the User
  5764. option to change UID and drop privileges, make sure to open
  5765. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  5766. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  5767. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  5768. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  5769. on the client side when connecting to a hidden service. Bugfix
  5770. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  5771. - When closing an application-side connection because its circuit is
  5772. getting torn down, generate the stream event correctly. Bugfix on
  5773. 0.1.2.x. Anonymous patch.
  5774. Changes in version 0.2.1.5-alpha - 2008-08-31
  5775. Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
  5776. in a lot of the infrastructure for adding authorization to hidden
  5777. services, lays the groundwork for having clients read their load
  5778. balancing information out of the networkstatus consensus rather than
  5779. the individual router descriptors, addresses two potential anonymity
  5780. issues, and fixes a variety of smaller issues.
  5781. o Major features:
  5782. - Convert many internal address representations to optionally hold
  5783. IPv6 addresses.
  5784. - Generate and accept IPv6 addresses in many protocol elements.
  5785. - Make resolver code handle nameservers located at ipv6 addresses.
  5786. - Begin implementation of proposal 121 ("Client authorization for
  5787. hidden services"): configure hidden services with client
  5788. authorization, publish descriptors for them, and configure
  5789. authorization data for hidden services at clients. The next
  5790. step is to actually access hidden services that perform client
  5791. authorization.
  5792. - More progress toward proposal 141: Network status consensus
  5793. documents and votes now contain bandwidth information for each
  5794. router and a summary of that router's exit policy. Eventually this
  5795. will be used by clients so that they do not have to download every
  5796. known descriptor before building circuits.
  5797. o Major bugfixes (on 0.2.0.x and before):
  5798. - When sending CREATED cells back for a given circuit, use a 64-bit
  5799. connection ID to find the right connection, rather than an addr:port
  5800. combination. Now that we can have multiple OR connections between
  5801. the same ORs, it is no longer possible to use addr:port to uniquely
  5802. identify a connection.
  5803. - Relays now reject risky extend cells: if the extend cell includes
  5804. a digest of all zeroes, or asks to extend back to the relay that
  5805. sent the extend cell, tear down the circuit. Ideas suggested
  5806. by rovv.
  5807. - If not enough of our entry guards are available so we add a new
  5808. one, we might use the new one even if it overlapped with the
  5809. current circuit's exit relay (or its family). Anonymity bugfix
  5810. pointed out by rovv.
  5811. o Minor bugfixes:
  5812. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  5813. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  5814. - When using the TransPort option on OpenBSD, and using the User
  5815. option to change UID and drop privileges, make sure to open /dev/pf
  5816. before dropping privileges. Fixes bug 782. Patch from Christopher
  5817. Davis. Bugfix on 0.1.2.1-alpha.
  5818. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  5819. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  5820. - Add a missing safe_str() call for a debug log message.
  5821. - Use 64 bits instead of 32 bits for connection identifiers used with
  5822. the controller protocol, to greatly reduce risk of identifier reuse.
  5823. - Make the autoconf script accept the obsolete --with-ssl-dir
  5824. option as an alias for the actually-working --with-openssl-dir
  5825. option. Fix the help documentation to recommend --with-openssl-dir.
  5826. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  5827. o Minor features:
  5828. - Rate-limit too-many-sockets messages: when they happen, they happen
  5829. a lot. Resolves bug 748.
  5830. - Resist DNS poisoning a little better by making sure that names in
  5831. answer sections match.
  5832. - Print the SOCKS5 error message string as well as the error code
  5833. when a tor-resolve request fails. Patch from Jacob.
  5834. Changes in version 0.2.1.4-alpha - 2008-08-04
  5835. Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
  5836. o Major bugfixes:
  5837. - The address part of exit policies was not correctly written
  5838. to router descriptors. This generated router descriptors that failed
  5839. their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
  5840. on 0.2.1.3-alpha.
  5841. - Tor triggered a false assert when extending a circuit to a relay
  5842. but we already have a connection open to that relay. Noticed by
  5843. phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
  5844. o Minor bugfixes:
  5845. - Fix a hidden service logging bug: in some edge cases, the router
  5846. descriptor of a previously picked introduction point becomes
  5847. obsolete and we need to give up on it rather than continually
  5848. complaining that it has become obsolete. Observed by xiando. Bugfix
  5849. on 0.2.1.3-alpha.
  5850. o Removed features:
  5851. - Take out the TestVia config option, since it was a workaround for
  5852. a bug that was fixed in Tor 0.1.1.21.
  5853. Changes in version 0.2.1.3-alpha - 2008-08-03
  5854. Tor 0.2.1.3-alpha implements most of the pieces to prevent
  5855. infinite-length circuit attacks (see proposal 110); fixes a bug that
  5856. might cause exit relays to corrupt streams they send back; allows
  5857. address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
  5858. ExcludeExitNodes config options; and fixes a big pile of bugs.
  5859. o Bootstrapping bugfixes (on 0.2.1.x-alpha):
  5860. - Send a bootstrap problem "warn" event on the first problem if the
  5861. reason is NO_ROUTE (that is, our network is down).
  5862. o Major features:
  5863. - Implement most of proposal 110: The first K cells to be sent
  5864. along a circuit are marked as special "early" cells; only K "early"
  5865. cells will be allowed. Once this code is universal, we can block
  5866. certain kinds of DOS attack by requiring that EXTEND commands must
  5867. be sent using an "early" cell.
  5868. o Major bugfixes:
  5869. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  5870. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  5871. on the client side when connecting to a hidden service. Bugfix
  5872. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  5873. - Ensure that two circuits can never exist on the same connection
  5874. with the same circuit ID, even if one is marked for close. This
  5875. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  5876. o Minor features:
  5877. - When relays do their initial bandwidth measurement, don't limit
  5878. to just our entry guards for the test circuits. Otherwise we tend
  5879. to have multiple test circuits going through a single entry guard,
  5880. which makes our bandwidth test less accurate. Fixes part of bug 654;
  5881. patch contributed by Josh Albrecht.
  5882. - Add an ExcludeExitNodes option so users can list a set of nodes
  5883. that should be be excluded from the exit node position, but
  5884. allowed elsewhere. Implements proposal 151.
  5885. - Allow address patterns (e.g., 255.128.0.0/16) to appear in
  5886. ExcludeNodes and ExcludeExitNodes lists.
  5887. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  5888. be more efficient. Formerly it was quadratic in the number of
  5889. servers; now it should be linear. Fixes bug 509.
  5890. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  5891. and n_conn_id_digest fields into a separate structure that's
  5892. only needed when the circuit has not yet attached to an n_conn.
  5893. o Minor bugfixes:
  5894. - Change the contrib/tor.logrotate script so it makes the new
  5895. logs as "_tor:_tor" rather than the default, which is generally
  5896. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  5897. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  5898. warnings (occasionally), but it can also cause the compiler to
  5899. eliminate error-checking code. Suggested by Peter Gutmann.
  5900. - When a hidden service is giving up on an introduction point candidate
  5901. that was not included in the last published rendezvous descriptor,
  5902. don't reschedule publication of the next descriptor. Fixes bug 763.
  5903. Bugfix on 0.0.9.3.
  5904. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  5905. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  5906. and nobody claims to be using them. Fixes bug 754. Bugfix on
  5907. 0.1.0.1-rc. Patch from Christian Wilms.
  5908. - Fix a small alignment and memory-wasting bug on buffer chunks.
  5909. Spotted by rovv.
  5910. o Minor bugfixes (controller):
  5911. - When closing an application-side connection because its circuit
  5912. is getting torn down, generate the stream event correctly.
  5913. Bugfix on 0.1.2.x. Anonymous patch.
  5914. o Removed features:
  5915. - Remove all backward-compatibility code to support relays running
  5916. versions of Tor so old that they no longer work at all on the
  5917. Tor network.
  5918. Changes in version 0.2.0.30 - 2008-07-15
  5919. o Minor bugfixes:
  5920. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  5921. warnings (occasionally), but it can also cause the compiler to
  5922. eliminate error-checking code. Suggested by Peter Gutmann.
  5923. Changes in version 0.2.0.29-rc - 2008-07-08
  5924. Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
  5925. hidden-service performance bugs, and fixes a bunch of smaller bugs.
  5926. o Major bugfixes:
  5927. - If you have more than one bridge but don't know their keys,
  5928. you would only launch a request for the descriptor of the first one
  5929. on your list. (Tor considered launching requests for the others, but
  5930. found that it already had a connection on the way for $0000...0000
  5931. so it didn't open another.) Bugfix on 0.2.0.x.
  5932. - If you have more than one bridge but don't know their keys, and the
  5933. connection to one of the bridges failed, you would cancel all
  5934. pending bridge connections. (After all, they all have the same
  5935. digest.) Bugfix on 0.2.0.x.
  5936. - When a hidden service was trying to establish an introduction point,
  5937. and Tor had built circuits preemptively for such purposes, we
  5938. were ignoring all the preemptive circuits and launching a new one
  5939. instead. Bugfix on 0.2.0.14-alpha.
  5940. - When a hidden service was trying to establish an introduction point,
  5941. and Tor *did* manage to reuse one of the preemptively built
  5942. circuits, it didn't correctly remember which one it used,
  5943. so it asked for another one soon after, until there were no
  5944. more preemptive circuits, at which point it launched one from
  5945. scratch. Bugfix on 0.0.9.x.
  5946. - Make directory servers include the X-Your-Address-Is: http header in
  5947. their responses even for begin_dir conns. Now clients who only
  5948. ever use begin_dir connections still have a way to learn their IP
  5949. address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
  5950. o Minor bugfixes:
  5951. - Fix a macro/CPP interaction that was confusing some compilers:
  5952. some GCCs don't like #if/#endif pairs inside macro arguments.
  5953. Fixes bug 707.
  5954. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  5955. Fixes bug 704; fix from Steven Murdoch.
  5956. - When opening /dev/null in finish_daemonize(), do not pass the
  5957. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  5958. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  5959. - Correctly detect transparent proxy support on Linux hosts that
  5960. require in.h to be included before netfilter_ipv4.h. Patch
  5961. from coderman.
  5962. - Disallow session resumption attempts during the renegotiation
  5963. stage of the v2 handshake protocol. Clients should never be trying
  5964. session resumption at this point, but apparently some did, in
  5965. ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
  5966. found by Geoff Goodell.
  5967. Changes in version 0.2.1.2-alpha - 2008-06-20
  5968. Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
  5969. make it easier to set up your own private Tor network; fixes several
  5970. big bugs with using more than one bridge relay; fixes a big bug with
  5971. offering hidden services quickly after Tor starts; and uses a better
  5972. API for reporting potential bootstrapping problems to the controller.
  5973. o Major features:
  5974. - New TestingTorNetwork config option to allow adjustment of
  5975. previously constant values that, while reasonable, could slow
  5976. bootstrapping. Implements proposal 135. Patch from Karsten.
  5977. o Major bugfixes:
  5978. - If you have more than one bridge but don't know their digests,
  5979. you would only learn a request for the descriptor of the first one
  5980. on your list. (Tor considered launching requests for the others, but
  5981. found that it already had a connection on the way for $0000...0000
  5982. so it didn't open another.) Bugfix on 0.2.0.x.
  5983. - If you have more than one bridge but don't know their digests,
  5984. and the connection to one of the bridges failed, you would cancel
  5985. all pending bridge connections. (After all, they all have the
  5986. same digest.) Bugfix on 0.2.0.x.
  5987. - When establishing a hidden service, introduction points that
  5988. originate from cannibalized circuits are completely ignored and not
  5989. included in rendezvous service descriptors. This might be another
  5990. reason for delay in making a hidden service available. Bugfix
  5991. from long ago (0.0.9.x?)
  5992. o Minor features:
  5993. - Allow OpenSSL to use dynamic locks if it wants.
  5994. - When building a consensus, do not include routers that are down.
  5995. This will cut down 30% to 40% on consensus size. Implements
  5996. proposal 138.
  5997. - In directory authorities' approved-routers files, allow
  5998. fingerprints with or without space.
  5999. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  6000. controller can query our current bootstrap state in case it attaches
  6001. partway through and wants to catch up.
  6002. - Send an initial "Starting" bootstrap status event, so we have a
  6003. state to start out in.
  6004. o Minor bugfixes:
  6005. - Asking for a conditional consensus at .../consensus/<fingerprints>
  6006. would crash a dirserver if it did not already have a
  6007. consensus. Bugfix on 0.2.1.1-alpha.
  6008. - Clean up some macro/CPP interactions: some GCC versions don't like
  6009. #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
  6010. 0.2.0.x.
  6011. o Bootstrapping bugfixes (on 0.2.1.1-alpha):
  6012. - Directory authorities shouldn't complain about bootstrapping
  6013. problems just because they do a lot of reachability testing and
  6014. some of the connection attempts fail.
  6015. - Start sending "count" and "recommendation" key/value pairs in
  6016. bootstrap problem status events, so the controller can hear about
  6017. problems even before Tor decides they're worth reporting for sure.
  6018. - If you're using bridges, generate "bootstrap problem" warnings
  6019. as soon as you run out of working bridges, rather than waiting
  6020. for ten failures -- which will never happen if you have less than
  6021. ten bridges.
  6022. - If we close our OR connection because there's been a circuit
  6023. pending on it for too long, we were telling our bootstrap status
  6024. events "REASON=NONE". Now tell them "REASON=TIMEOUT".
  6025. Changes in version 0.2.1.1-alpha - 2008-06-13
  6026. Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
  6027. were making the Tor process bloat especially on Linux; makes our TLS
  6028. handshake blend in better; sends "bootstrap phase" status events to
  6029. the controller, so it can keep the user informed of progress (and
  6030. problems) fetching directory information and establishing circuits;
  6031. and adds a variety of smaller features.
  6032. o Major features:
  6033. - More work on making our TLS handshake blend in: modify the list
  6034. of ciphers advertised by OpenSSL in client mode to even more
  6035. closely resemble a common web browser. We cheat a little so that
  6036. we can advertise ciphers that the locally installed OpenSSL doesn't
  6037. know about.
  6038. - Start sending "bootstrap phase" status events to the controller,
  6039. so it can keep the user informed of progress fetching directory
  6040. information and establishing circuits. Also inform the controller
  6041. if we think we're stuck at a particular bootstrap phase. Implements
  6042. proposal 137.
  6043. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  6044. cross-platform entropy collection again. We used to use it, then
  6045. stopped using it because of a bug that could crash systems that
  6046. called RAND_poll when they had a lot of fds open. It looks like the
  6047. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  6048. at startup, and to call RAND_poll() when we reseed later only if
  6049. we have a non-buggy OpenSSL version.
  6050. o Major bugfixes:
  6051. - When we choose to abandon a new entry guard because we think our
  6052. older ones might be better, close any circuits pending on that
  6053. new entry guard connection. This fix should make us recover much
  6054. faster when our network is down and then comes back. Bugfix on
  6055. 0.1.2.8-beta; found by lodger.
  6056. o Memory fixes and improvements:
  6057. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  6058. to avoid unused RAM in buffer chunks and memory pools.
  6059. - Speed up parsing and cut down on memory fragmentation by using
  6060. stack-style allocations for parsing directory objects. Previously,
  6061. this accounted for over 40% of allocations from within Tor's code
  6062. on a typical directory cache.
  6063. - Use a Bloom filter rather than a digest-based set to track which
  6064. descriptors we need to keep around when we're cleaning out old
  6065. router descriptors. This speeds up the computation significantly,
  6066. and may reduce fragmentation.
  6067. - Reduce the default smartlist size from 32 to 16; it turns out that
  6068. most smartlists hold around 8-12 elements tops.
  6069. - Make dumpstats() log the fullness and size of openssl-internal
  6070. buffers.
  6071. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  6072. patch to their OpenSSL, turn it on to save memory on servers. This
  6073. patch will (with any luck) get included in a mainline distribution
  6074. before too long.
  6075. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  6076. compress cells, which are basically all encrypted, compressed,
  6077. or both.
  6078. o Minor bugfixes:
  6079. - Stop reloading the router list from disk for no reason when we
  6080. run out of reachable directory mirrors. Once upon a time reloading
  6081. it would set the 'is_running' flag back to 1 for them. It hasn't
  6082. done that for a long time.
  6083. - In very rare situations new hidden service descriptors were
  6084. published earlier than 30 seconds after the last change to the
  6085. service. (We currently think that a hidden service descriptor
  6086. that's been stable for 30 seconds is worth publishing.)
  6087. o Minor features:
  6088. - Allow separate log levels to be configured for different logging
  6089. domains. For example, this allows one to log all notices, warnings,
  6090. or errors, plus all memory management messages of level debug or
  6091. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  6092. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  6093. and stop using a warning that had become unfixably verbose under
  6094. GCC 4.3.
  6095. - New --hush command-line option similar to --quiet. While --quiet
  6096. disables all logging to the console on startup, --hush limits the
  6097. output to messages of warning and error severity.
  6098. - Servers support a new URL scheme for consensus downloads that
  6099. allows the client to specify which authorities are trusted.
  6100. The server then only sends the consensus if the client will trust
  6101. it. Otherwise a 404 error is sent back. Clients use this
  6102. new scheme when the server supports it (meaning it's running
  6103. 0.2.1.1-alpha or later). Implements proposal 134.
  6104. - New configure/torrc options (--enable-geoip-stats,
  6105. DirRecordUsageByCountry) to record how many IPs we've served
  6106. directory info to in each country code, how many status documents
  6107. total we've sent to each country code, and what share of the total
  6108. directory requests we should expect to see.
  6109. - Use the TLS1 hostname extension to more closely resemble browser
  6110. behavior.
  6111. - Lots of new unit tests.
  6112. - Add a macro to implement the common pattern of iterating through
  6113. two parallel lists in lockstep.
  6114. Changes in version 0.2.0.28-rc - 2008-06-13
  6115. Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
  6116. performance bug, and fixes a bunch of smaller bugs.
  6117. o Anonymity fixes:
  6118. - Fix a bug where, when we were choosing the 'end stream reason' to
  6119. put in our relay end cell that we send to the exit relay, Tor
  6120. clients on Windows were sometimes sending the wrong 'reason'. The
  6121. anonymity problem is that exit relays may be able to guess whether
  6122. the client is running Windows, thus helping partition the anonymity
  6123. set. Down the road we should stop sending reasons to exit relays,
  6124. or otherwise prevent future versions of this bug.
  6125. o Major bugfixes:
  6126. - While setting up a hidden service, some valid introduction circuits
  6127. were overlooked and abandoned. This might be the reason for
  6128. the long delay in making a hidden service available. Bugfix on
  6129. 0.2.0.14-alpha.
  6130. o Minor features:
  6131. - Update to the "June 9 2008" ip-to-country file.
  6132. - Run 'make test' as part of 'make dist', so we stop releasing so
  6133. many development snapshots that fail their unit tests.
  6134. o Minor bugfixes:
  6135. - When we're checking if we have enough dir info for each relay
  6136. to begin establishing circuits, make sure that we actually have
  6137. the descriptor listed in the consensus, not just any descriptor.
  6138. Bugfix on 0.1.2.x.
  6139. - Bridge relays no longer print "xx=0" in their extrainfo document
  6140. for every single country code in the geoip db. Bugfix on
  6141. 0.2.0.27-rc.
  6142. - Only warn when we fail to load the geoip file if we were planning to
  6143. include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
  6144. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  6145. Tor won't realize it should publish a new relay descriptor. Fixes
  6146. bug 688, reported by mfr. Bugfix on 0.1.2.x.
  6147. - When we haven't had any application requests lately, don't bother
  6148. logging that we have expired a bunch of descriptors. Bugfix
  6149. on 0.1.2.x.
  6150. - Make relay cells written on a connection count as non-padding when
  6151. tracking how long a connection has been in use. Bugfix on
  6152. 0.2.0.1-alpha. Spotted by lodger.
  6153. - Fix unit tests in 0.2.0.27-rc.
  6154. - Fix compile on Windows.
  6155. Changes in version 0.2.0.27-rc - 2008-06-03
  6156. Tor 0.2.0.27-rc adds a few features we left out of the earlier
  6157. release candidates. In particular, we now include an IP-to-country
  6158. GeoIP database, so controllers can easily look up what country a
  6159. given relay is in, and so bridge relays can give us some sanitized
  6160. summaries about which countries are making use of bridges. (See proposal
  6161. 126-geoip-fetching.txt for details.)
  6162. o Major features:
  6163. - Include an IP-to-country GeoIP file in the tarball, so bridge
  6164. relays can report sanitized summaries of the usage they're seeing.
  6165. o Minor features:
  6166. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  6167. Robert Hogan. Fixes the first part of bug 681.
  6168. - Make bridge authorities never serve extrainfo docs.
  6169. - Add support to detect Libevent versions in the 1.4.x series
  6170. on mingw.
  6171. - Fix build on gcc 4.3 with --enable-gcc-warnings set.
  6172. - Include a new contrib/tor-exit-notice.html file that exit relay
  6173. operators can put on their website to help reduce abuse queries.
  6174. o Minor bugfixes:
  6175. - When tunneling an encrypted directory connection, and its first
  6176. circuit fails, do not leave it unattached and ask the controller
  6177. to deal. Fixes the second part of bug 681.
  6178. - Make bridge authorities correctly expire old extrainfo documents
  6179. from time to time.
  6180. Changes in version 0.2.0.26-rc - 2008-05-13
  6181. Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
  6182. in Debian's OpenSSL packages. All users running any 0.2.0.x version
  6183. should upgrade, whether they're running Debian or not.
  6184. o Major security fixes:
  6185. - Use new V3 directory authority keys on the tor26, gabelmoo, and
  6186. moria1 V3 directory authorities. The old keys were generated with
  6187. a vulnerable version of Debian's OpenSSL package, and must be
  6188. considered compromised. Other authorities' keys were not generated
  6189. with an affected version of OpenSSL.
  6190. o Major bugfixes:
  6191. - List authority signatures as "unrecognized" based on DirServer
  6192. lines, not on cert cache. Bugfix on 0.2.0.x.
  6193. o Minor features:
  6194. - Add a new V3AuthUseLegacyKey option to make it easier for
  6195. authorities to change their identity keys if they have to.
  6196. Changes in version 0.2.0.25-rc - 2008-04-23
  6197. Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
  6198. o Major bugfixes:
  6199. - Remember to initialize threading before initializing logging.
  6200. Otherwise, many BSD-family implementations will crash hard on
  6201. startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
  6202. o Minor bugfixes:
  6203. - Authorities correctly free policies on bad servers on
  6204. exit. Fixes bug 672. Bugfix on 0.2.0.x.
  6205. Changes in version 0.2.0.24-rc - 2008-04-22
  6206. Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
  6207. v3 directory authority, makes relays with dynamic IP addresses and no
  6208. DirPort notice more quickly when their IP address changes, fixes a few
  6209. rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
  6210. o New directory authorities:
  6211. - Take lefkada out of the list of v3 directory authorities, since
  6212. it has been down for months.
  6213. - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
  6214. authority.
  6215. o Major bugfixes:
  6216. - Detect address changes more quickly on non-directory mirror
  6217. relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
  6218. o Minor features (security):
  6219. - Reject requests for reverse-dns lookup of names that are in
  6220. a private address space. Patch from lodger.
  6221. - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
  6222. from lodger.
  6223. o Minor bugfixes (crashes):
  6224. - Avoid a rare assert that can trigger when Tor doesn't have much
  6225. directory information yet and it tries to fetch a v2 hidden
  6226. service descriptor. Fixes bug 651, reported by nwf.
  6227. - Initialize log mutex before initializing dmalloc. Otherwise,
  6228. running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
  6229. - Use recursive pthread mutexes in order to avoid deadlock when
  6230. logging debug-level messages to a controller. Bug spotted by nwf,
  6231. bugfix on 0.2.0.16-alpha.
  6232. o Minor bugfixes (resource management):
  6233. - Keep address policies from leaking memory: start their refcount
  6234. at 1, not 2. Bugfix on 0.2.0.16-alpha.
  6235. - Free authority certificates on exit, so they don't look like memory
  6236. leaks. Bugfix on 0.2.0.19-alpha.
  6237. - Free static hashtables for policy maps and for TLS connections on
  6238. shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
  6239. - Avoid allocating extra space when computing consensuses on 64-bit
  6240. platforms. Bug spotted by aakova.
  6241. o Minor bugfixes (misc):
  6242. - Do not read the configuration file when we've only been told to
  6243. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  6244. based on patch from Sebastian Hahn.
  6245. - Exit relays that are used as a client can now reach themselves
  6246. using the .exit notation, rather than just launching an infinite
  6247. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  6248. - When attempting to open a logfile fails, tell us why.
  6249. - Fix a dumb bug that was preventing us from knowing that we should
  6250. preemptively build circuits to handle expected directory requests.
  6251. Fixes bug 660. Bugfix on 0.1.2.x.
  6252. - Warn less verbosely about clock skew from netinfo cells from
  6253. untrusted sources. Fixes bug 663.
  6254. - Make controller stream events for DNS requests more consistent,
  6255. by adding "new stream" events for DNS requests, and removing
  6256. spurious "stream closed" events" for cached reverse resolves.
  6257. Patch from mwenge. Fixes bug 646.
  6258. - Correctly notify one-hop connections when a circuit build has
  6259. failed. Possible fix for bug 669. Found by lodger.
  6260. Changes in version 0.2.0.23-rc - 2008-03-24
  6261. Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
  6262. makes bootstrapping faster if the first directory mirror you contact
  6263. is down. The bundles also include the new Vidalia 0.1.2 release.
  6264. o Major bugfixes:
  6265. - When a tunneled directory request is made to a directory server
  6266. that's down, notice after 30 seconds rather than 120 seconds. Also,
  6267. fail any begindir streams that are pending on it, so they can
  6268. retry elsewhere. This was causing multi-minute delays on bootstrap.
  6269. Changes in version 0.2.0.22-rc - 2008-03-18
  6270. Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
  6271. enables encrypted directory connections by default for non-relays, fixes
  6272. some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
  6273. other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
  6274. o Major features:
  6275. - Enable encrypted directory connections by default for non-relays,
  6276. so censor tools that block Tor directory connections based on their
  6277. plaintext patterns will no longer work. This means Tor works in
  6278. certain censored countries by default again.
  6279. o Major bugfixes:
  6280. - Make sure servers always request certificates from clients during
  6281. TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
  6282. - Do not enter a CPU-eating loop when a connection is closed in
  6283. the middle of client-side TLS renegotiation. Fixes bug 622. Bug
  6284. diagnosed by lodger; bugfix on 0.2.0.20-rc.
  6285. - Fix assertion failure that could occur when a blocked circuit
  6286. became unblocked, and it had pending client DNS requests. Bugfix
  6287. on 0.2.0.1-alpha. Fixes bug 632.
  6288. o Minor bugfixes (on 0.1.2.x):
  6289. - Generate "STATUS_SERVER" events rather than misspelled
  6290. "STATUS_SEVER" events. Caught by mwenge.
  6291. - When counting the number of bytes written on a TLS connection,
  6292. look at the BIO actually used for writing to the network, not
  6293. at the BIO used (sometimes) to buffer data for the network.
  6294. Looking at different BIOs could result in write counts on the
  6295. order of ULONG_MAX. Fixes bug 614.
  6296. - On Windows, correctly detect errors when listing the contents of
  6297. a directory. Fix from lodger.
  6298. o Minor bugfixes (on 0.2.0.x):
  6299. - Downgrade "sslv3 alert handshake failure" message to INFO.
  6300. - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
  6301. left BandwidthRate and BandwidthBurst at the default, we would be
  6302. silently limited by those defaults. Now raise them to match the
  6303. RelayBandwidth* values.
  6304. - Fix the SVK version detection logic to work correctly on a branch.
  6305. - Make --enable-openbsd-malloc work correctly on Linux with alpha
  6306. CPUs. Fixes bug 625.
  6307. - Logging functions now check that the passed severity is sane.
  6308. - Use proper log levels in the testsuite call of
  6309. get_interface_address6().
  6310. - When using a nonstandard malloc, do not use the platform values for
  6311. HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
  6312. - Make the openbsd malloc code use 8k pages on alpha CPUs and
  6313. 16k pages on ia64.
  6314. - Detect mismatched page sizes when using --enable-openbsd-malloc.
  6315. - Avoid double-marked-for-close warning when certain kinds of invalid
  6316. .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
  6317. for bug 617. Bugfix on 0.2.0.1-alpha.
  6318. - Make sure that the "NULL-means-reject *:*" convention is followed by
  6319. all the policy manipulation functions, avoiding some possible crash
  6320. bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
  6321. - Fix the implementation of ClientDNSRejectInternalAddresses so that it
  6322. actually works, and doesn't warn about every single reverse lookup.
  6323. Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
  6324. o Minor features:
  6325. - Only log guard node status when guard node status has changed.
  6326. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  6327. make "INFO" 75% less verbose.
  6328. Changes in version 0.2.0.21-rc - 2008-03-02
  6329. Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
  6330. makes Tor work well with Vidalia again, fixes a rare assert bug,
  6331. and fixes a pair of more minor bugs. The bundles also include Vidalia
  6332. 0.1.0 and Torbutton 1.1.16.
  6333. o Major bugfixes:
  6334. - The control port should declare that it requires password auth
  6335. when HashedControlSessionPassword is set too. Patch from Matt Edman;
  6336. bugfix on 0.2.0.20-rc. Fixes bug 615.
  6337. - Downgrade assert in connection_buckets_decrement() to a log message.
  6338. This may help us solve bug 614, and in any case will make its
  6339. symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
  6340. - We were sometimes miscounting the number of bytes read from the
  6341. network, causing our rate limiting to not be followed exactly.
  6342. Bugfix on 0.2.0.16-alpha. Reported by lodger.
  6343. o Minor bugfixes:
  6344. - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
  6345. OpenSSL versions should have been working fine. Diagnosis and patch
  6346. from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
  6347. Bugfix on 0.2.0.20-rc.
  6348. Changes in version 0.2.0.20-rc - 2008-02-24
  6349. Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
  6350. makes more progress towards normalizing Tor's TLS handshake, makes
  6351. hidden services work better again, helps relays bootstrap if they don't
  6352. know their IP address, adds optional support for linking in openbsd's
  6353. allocator or tcmalloc, allows really fast relays to scale past 15000
  6354. sockets, and fixes a bunch of minor bugs reported by Veracode.
  6355. o Major features:
  6356. - Enable the revised TLS handshake based on the one designed by
  6357. Steven Murdoch in proposal 124, as revised in proposal 130. It
  6358. includes version negotiation for OR connections as described in
  6359. proposal 105. The new handshake is meant to be harder for censors
  6360. to fingerprint, and it adds the ability to detect certain kinds of
  6361. man-in-the-middle traffic analysis attacks. The version negotiation
  6362. feature will allow us to improve Tor's link protocol more safely
  6363. in the future.
  6364. - Choose which bridge to use proportional to its advertised bandwidth,
  6365. rather than uniformly at random. This should speed up Tor for
  6366. bridge users. Also do this for people who set StrictEntryNodes.
  6367. - When a TrackHostExits-chosen exit fails too many times in a row,
  6368. stop using it. Bugfix on 0.1.2.x; fixes bug 437.
  6369. o Major bugfixes:
  6370. - Resolved problems with (re-)fetching hidden service descriptors.
  6371. Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
  6372. and 0.2.0.19-alpha.
  6373. - If we only ever used Tor for hidden service lookups or posts, we
  6374. would stop building circuits and start refusing connections after
  6375. 24 hours, since we falsely believed that Tor was dormant. Reported
  6376. by nwf; bugfix on 0.1.2.x.
  6377. - Servers that don't know their own IP address should go to the
  6378. authorities for their first directory fetch, even if their DirPort
  6379. is off or if they don't know they're reachable yet. This will help
  6380. them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
  6381. - When counting the number of open sockets, count not only the number
  6382. of sockets we have received from the socket() call, but also
  6383. the number we've gotten from accept() and socketpair(). This bug
  6384. made us fail to count all sockets that we were using for incoming
  6385. connections. Bugfix on 0.2.0.x.
  6386. - Fix code used to find strings within buffers, when those strings
  6387. are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
  6388. - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
  6389. - Add a new __HashedControlSessionPassword option for controllers
  6390. to use for one-off session password hashes that shouldn't get
  6391. saved to disk by SAVECONF --- Vidalia users were accumulating a
  6392. pile of HashedControlPassword lines in their torrc files, one for
  6393. each time they had restarted Tor and then clicked Save. Make Tor
  6394. automatically convert "HashedControlPassword" to this new option but
  6395. only when it's given on the command line. Partial fix for bug 586.
  6396. o Minor features (performance):
  6397. - Tune parameters for cell pool allocation to minimize amount of
  6398. RAM overhead used.
  6399. - Add OpenBSD malloc code from phk as an optional malloc
  6400. replacement on Linux: some glibc libraries do very poorly
  6401. with Tor's memory allocation patterns. Pass
  6402. --enable-openbsd-malloc to get the replacement malloc code.
  6403. - Add a --with-tcmalloc option to the configure script to link
  6404. against tcmalloc (if present). Does not yet search for
  6405. non-system include paths.
  6406. - Stop imposing an arbitrary maximum on the number of file descriptors
  6407. used for busy servers. Bug reported by Olaf Selke; patch from
  6408. Sebastian Hahn.
  6409. o Minor features (other):
  6410. - When SafeLogging is disabled, log addresses along with all TLS
  6411. errors.
  6412. - When building with --enable-gcc-warnings, check for whether Apple's
  6413. warning "-Wshorten-64-to-32" is available.
  6414. - Add a --passphrase-fd argument to the tor-gencert command for
  6415. scriptability.
  6416. o Minor bugfixes (memory leaks and code problems):
  6417. - We were leaking a file descriptor if Tor started with a zero-length
  6418. cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
  6419. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  6420. Dan Kaminsky.
  6421. - We were comparing the raw BridgePassword entry with a base64'ed
  6422. version of it, when handling a "/tor/networkstatus-bridges"
  6423. directory request. Now compare correctly. Noticed by Veracode.
  6424. - Recover from bad tracked-since value in MTBF-history file.
  6425. Should fix bug 537.
  6426. - Alter the code that tries to recover from unhandled write
  6427. errors, to not try to flush onto a socket that's given us
  6428. unhandled errors. Bugfix on 0.1.2.x.
  6429. - Make Unix controlsockets work correctly on OpenBSD. Patch from
  6430. tup. Bugfix on 0.2.0.3-alpha.
  6431. o Minor bugfixes (other):
  6432. - If we have an extra-info document for our server, always make
  6433. it available on the control port, even if we haven't gotten
  6434. a copy of it from an authority yet. Patch from mwenge.
  6435. - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
  6436. - Directory mirrors no longer include a guess at the client's IP
  6437. address if the connection appears to be coming from the same /24
  6438. network; it was producing too many wrong guesses.
  6439. - Make the new hidden service code respect the SafeLogging setting.
  6440. Bugfix on 0.2.0.x. Patch from Karsten.
  6441. - When starting as an authority, do not overwrite all certificates
  6442. cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
  6443. - If we're trying to flush the last bytes on a connection (for
  6444. example, when answering a directory request), reset the
  6445. time-to-give-up timeout every time we manage to write something
  6446. on the socket. Bugfix on 0.1.2.x.
  6447. - Change the behavior of "getinfo status/good-server-descriptor"
  6448. so it doesn't return failure when any authority disappears.
  6449. - Even though the man page said that "TrackHostExits ." should
  6450. work, nobody had ever implemented it. Bugfix on 0.1.0.x.
  6451. - Report TLS "zero return" case as a "clean close" and "IO error"
  6452. as a "close". Stop calling closes "unexpected closes": existing
  6453. Tors don't use SSL_close(), so having a connection close without
  6454. the TLS shutdown handshake is hardly unexpected.
  6455. - Send NAMESERVER_STATUS messages for a single failed nameserver
  6456. correctly.
  6457. o Code simplifications and refactoring:
  6458. - Remove the tor_strpartition function: its logic was confused,
  6459. and it was only used for one thing that could be implemented far
  6460. more easily.
  6461. Changes in version 0.2.0.19-alpha - 2008-02-09
  6462. Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
  6463. handshake, makes path selection for relays more secure and IP address
  6464. guessing more robust, and generally fixes a lot of bugs in preparation
  6465. for calling the 0.2.0 branch stable.
  6466. o Major features:
  6467. - Do not include recognizeable strings in the commonname part of
  6468. Tor's x509 certificates.
  6469. o Major bugfixes:
  6470. - If we're a relay, avoid picking ourselves as an introduction point,
  6471. a rendezvous point, or as the final hop for internal circuits. Bug
  6472. reported by taranis and lodger. Bugfix on 0.1.2.x.
  6473. - Patch from "Andrew S. Lists" to catch when we contact a directory
  6474. mirror at IP address X and he says we look like we're coming from
  6475. IP address X. Bugfix on 0.1.2.x.
  6476. o Minor features (security):
  6477. - Be more paranoid about overwriting sensitive memory on free(),
  6478. as a defensive programming tactic to ensure forward secrecy.
  6479. o Minor features (directory authority):
  6480. - Actually validate the options passed to AuthDirReject,
  6481. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  6482. - Reject router descriptors with out-of-range bandwidthcapacity or
  6483. bandwidthburst values.
  6484. o Minor features (controller):
  6485. - Reject controller commands over 1MB in length. This keeps rogue
  6486. processes from running us out of memory.
  6487. o Minor features (misc):
  6488. - Give more descriptive well-formedness errors for out-of-range
  6489. hidden service descriptor/protocol versions.
  6490. - Make memory debugging information describe more about history
  6491. of cell allocation, so we can help reduce our memory use.
  6492. o Deprecated features (controller):
  6493. - The status/version/num-versioning and status/version/num-concurring
  6494. GETINFO options are no longer useful in the v3 directory protocol:
  6495. treat them as deprecated, and warn when they're used.
  6496. o Minor bugfixes:
  6497. - When our consensus networkstatus has been expired for a while, stop
  6498. being willing to build circuits using it. Fixes bug 401. Bugfix
  6499. on 0.1.2.x.
  6500. - Directory caches now fetch certificates from all authorities
  6501. listed in a networkstatus consensus, even when they do not
  6502. recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
  6503. - When connecting to a bridge without specifying its key, insert
  6504. the connection into the identity-to-connection map as soon as
  6505. a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
  6506. - Detect versions of OS X where malloc_good_size() is present in the
  6507. library but never actually declared. Resolves bug 587. Bugfix
  6508. on 0.2.0.x.
  6509. - Stop incorrectly truncating zlib responses to directory authority
  6510. signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
  6511. - Stop recommending that every server operator send mail to tor-ops.
  6512. Resolves bug 597. Bugfix on 0.1.2.x.
  6513. - Don't trigger an assert if we start a directory authority with a
  6514. private IP address (like 127.0.0.1).
  6515. - Avoid possible failures when generating a directory with routers
  6516. with over-long versions strings, or too many flags set. Bugfix
  6517. on 0.1.2.x.
  6518. - If an attempt to launch a DNS resolve request over the control
  6519. port fails because we have overrun the limit on the number of
  6520. connections, tell the controller that the request has failed.
  6521. - Avoid using too little bandwidth when our clock skips a few
  6522. seconds. Bugfix on 0.1.2.x.
  6523. - Fix shell error when warning about missing packages in configure
  6524. script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
  6525. - Do not become confused when receiving a spurious VERSIONS-like
  6526. cell from a confused v1 client. Bugfix on 0.2.0.x.
  6527. - Re-fetch v2 (as well as v0) rendezvous descriptors when all
  6528. introduction points for a hidden service have failed. Patch from
  6529. Karsten Loesing. Bugfix on 0.2.0.x.
  6530. o Code simplifications and refactoring:
  6531. - Remove some needless generality from cpuworker code, for improved
  6532. type-safety.
  6533. - Stop overloading the circuit_t.onionskin field for both "onionskin
  6534. from a CREATE cell that we are waiting for a cpuworker to be
  6535. assigned" and "onionskin from an EXTEND cell that we are going to
  6536. send to an OR as soon as we are connected". Might help with bug 600.
  6537. - Add an in-place version of aes_crypt() so that we can avoid doing a
  6538. needless memcpy() call on each cell payload.
  6539. Changes in version 0.2.0.18-alpha - 2008-01-25
  6540. Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
  6541. fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
  6542. that can warn or reject connections to ports generally associated with
  6543. vulnerable-plaintext protocols.
  6544. o New directory authorities:
  6545. - Set up dannenberg (run by CCC) as the sixth v3 directory
  6546. authority.
  6547. o Major bugfixes:
  6548. - Fix a major memory leak when attempting to use the v2 TLS
  6549. handshake code. Bugfix on 0.2.0.x; fixes bug 589.
  6550. - We accidentally enabled the under-development v2 TLS handshake
  6551. code, which was causing log entries like "TLS error while
  6552. renegotiating handshake". Disable it again. Resolves bug 590.
  6553. - We were computing the wrong Content-Length: header for directory
  6554. responses that need to be compressed on the fly, causing clients
  6555. asking for those items to always fail. Bugfix on 0.2.0.x; partially
  6556. fixes bug 593.
  6557. o Major features:
  6558. - Avoid going directly to the directory authorities even if you're a
  6559. relay, if you haven't found yourself reachable yet or if you've
  6560. decided not to advertise your dirport yet. Addresses bug 556.
  6561. - If we've gone 12 hours since our last bandwidth check, and we
  6562. estimate we have less than 50KB bandwidth capacity but we could
  6563. handle more, do another bandwidth test.
  6564. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  6565. Tor can warn and/or refuse connections to ports commonly used with
  6566. vulnerable-plaintext protocols. Currently we warn on ports 23,
  6567. 109, 110, and 143, but we don't reject any.
  6568. o Minor bugfixes:
  6569. - When we setconf ClientOnly to 1, close any current OR and Dir
  6570. listeners. Reported by mwenge.
  6571. - When we get a consensus that's been signed by more people than
  6572. we expect, don't log about it; it's not a big deal. Reported
  6573. by Kyle Williams.
  6574. o Minor features:
  6575. - Don't answer "/tor/networkstatus-bridges" directory requests if
  6576. the request isn't encrypted.
  6577. - Make "ClientOnly 1" config option disable directory ports too.
  6578. - Patches from Karsten Loesing to make v2 hidden services more
  6579. robust: work even when there aren't enough HSDir relays available;
  6580. retry when a v2 rend desc fetch fails; but don't retry if we
  6581. already have a usable v0 rend desc.
  6582. Changes in version 0.2.0.17-alpha - 2008-01-17
  6583. Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
  6584. o Compile fixes:
  6585. - Make the tor-gencert man page get included correctly in the tarball.
  6586. Changes in version 0.2.0.16-alpha - 2008-01-17
  6587. Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
  6588. Loesing, and generally cleans up a lot of features and minor bugs.
  6589. o New directory authorities:
  6590. - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
  6591. authority.
  6592. o Major performance improvements:
  6593. - Switch our old ring buffer implementation for one more like that
  6594. used by free Unix kernels. The wasted space in a buffer with 1mb
  6595. of data will now be more like 8k than 1mb. The new implementation
  6596. also avoids realloc();realloc(); patterns that can contribute to
  6597. memory fragmentation.
  6598. o Minor features:
  6599. - Configuration files now accept C-style strings as values. This
  6600. helps encode characters not allowed in the current configuration
  6601. file format, such as newline or #. Addresses bug 557.
  6602. - Although we fixed bug 539 (where servers would send HTTP status 503
  6603. responses _and_ send a body too), there are still servers out
  6604. there that haven't upgraded. Therefore, make clients parse such
  6605. bodies when they receive them.
  6606. - When we're not serving v2 directory information, there is no reason
  6607. to actually keep any around. Remove the obsolete files and directory
  6608. on startup if they are very old and we aren't going to serve them.
  6609. o Minor performance improvements:
  6610. - Reference-count and share copies of address policy entries; only 5%
  6611. of them were actually distinct.
  6612. - Never walk through the list of logs if we know that no log is
  6613. interested in a given message.
  6614. o Minor bugfixes:
  6615. - When an authority has not signed a consensus, do not try to
  6616. download a nonexistent "certificate with key 00000000". Bugfix
  6617. on 0.2.0.x. Fixes bug 569.
  6618. - Fix a rare assert error when we're closing one of our threads:
  6619. use a mutex to protect the list of logs, so we never write to the
  6620. list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
  6621. bug 575, which is kind of the revenge of bug 222.
  6622. - Patch from Karsten Loesing to complain less at both the client
  6623. and the relay when a relay used to have the HSDir flag but doesn't
  6624. anymore, and we try to upload a hidden service descriptor.
  6625. - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
  6626. 0.2.0.15-alpha.
  6627. - Do not try to download missing certificates until we have tried
  6628. to check our fallback consensus. Fixes bug 583.
  6629. - Make bridges round reported GeoIP stats info up to the nearest
  6630. estimate, not down. Now we can distinguish between "0 people from
  6631. this country" and "1 person from this country".
  6632. - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
  6633. - Avoid possible segfault if key generation fails in
  6634. crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
  6635. - Avoid segfault in the case where a badly behaved v2 versioning
  6636. directory sends a signed networkstatus with missing client-versions.
  6637. Bugfix on 0.1.2.
  6638. - Avoid segfaults on certain complex invocations of
  6639. router_get_by_hexdigest(). Bugfix on 0.1.2.
  6640. - Correct bad index on array access in parse_http_time(). Bugfix
  6641. on 0.2.0.
  6642. - Fix possible bug in vote generation when server versions are present
  6643. but client versions are not.
  6644. - Fix rare bug on REDIRECTSTREAM control command when called with no
  6645. port set: it could erroneously report an error when none had
  6646. happened.
  6647. - Avoid bogus crash-prone, leak-prone tor_realloc when we're
  6648. compressing large objects and find ourselves with more than 4k
  6649. left over. Bugfix on 0.2.0.
  6650. - Fix a small memory leak when setting up a hidden service.
  6651. - Fix a few memory leaks that could in theory happen under bizarre
  6652. error conditions.
  6653. - Fix an assert if we post a general-purpose descriptor via the
  6654. control port but that descriptor isn't mentioned in our current
  6655. network consensus. Bug reported by Jon McLachlan; bugfix on
  6656. 0.2.0.9-alpha.
  6657. o Minor features (controller):
  6658. - Get NS events working again. Patch from tup.
  6659. - The GETCONF command now escapes and quotes configuration values
  6660. that don't otherwise fit into the torrc file.
  6661. - The SETCONF command now handles quoted values correctly.
  6662. o Minor features (directory authorities):
  6663. - New configuration options to override default maximum number of
  6664. servers allowed on a single IP address. This is important for
  6665. running a test network on a single host.
  6666. - Actually implement the -s option to tor-gencert.
  6667. - Add a manual page for tor-gencert.
  6668. o Minor features (bridges):
  6669. - Bridge authorities no longer serve bridge descriptors over
  6670. unencrypted connections.
  6671. o Minor features (other):
  6672. - Add hidden services and DNSPorts to the list of things that make
  6673. Tor accept that it has running ports. Change starting Tor with no
  6674. ports from a fatal error to a warning; we might change it back if
  6675. this turns out to confuse anybody. Fixes bug 579.
  6676. Changes in version 0.1.2.19 - 2008-01-17
  6677. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  6678. exit policy a little bit more conservative so it's safer to run an
  6679. exit relay on a home system, and fixes a variety of smaller issues.
  6680. o Security fixes:
  6681. - Exit policies now reject connections that are addressed to a
  6682. relay's public (external) IP address too, unless
  6683. ExitPolicyRejectPrivate is turned off. We do this because too
  6684. many relays are running nearby to services that trust them based
  6685. on network address.
  6686. o Major bugfixes:
  6687. - When the clock jumps forward a lot, do not allow the bandwidth
  6688. buckets to become negative. Fixes bug 544.
  6689. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  6690. on every successful resolve. Reported by Mike Perry.
  6691. - Purge old entries from the "rephist" database and the hidden
  6692. service descriptor database even when DirPort is zero.
  6693. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  6694. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  6695. crashing or mis-answering these requests.
  6696. - When we decide to send a 503 response to a request for servers, do
  6697. not then also send the server descriptors: this defeats the whole
  6698. purpose. Fixes bug 539.
  6699. o Minor bugfixes:
  6700. - Changing the ExitPolicyRejectPrivate setting should cause us to
  6701. rebuild our server descriptor.
  6702. - Fix handling of hex nicknames when answering controller requests for
  6703. networkstatus by name, or when deciding whether to warn about
  6704. unknown routers in a config option. (Patch from mwenge.)
  6705. - Fix a couple of hard-to-trigger autoconf problems that could result
  6706. in really weird results on platforms whose sys/types.h files define
  6707. nonstandard integer types.
  6708. - Don't try to create the datadir when running --verify-config or
  6709. --hash-password. Resolves bug 540.
  6710. - If we were having problems getting a particular descriptor from the
  6711. directory caches, and then we learned about a new descriptor for
  6712. that router, we weren't resetting our failure count. Reported
  6713. by lodger.
  6714. - Although we fixed bug 539 (where servers would send HTTP status 503
  6715. responses _and_ send a body too), there are still servers out there
  6716. that haven't upgraded. Therefore, make clients parse such bodies
  6717. when they receive them.
  6718. - Run correctly on systems where rlim_t is larger than unsigned long.
  6719. This includes some 64-bit systems.
  6720. - Run correctly on platforms (like some versions of OS X 10.5) where
  6721. the real limit for number of open files is OPEN_FILES, not rlim_max
  6722. from getrlimit(RLIMIT_NOFILES).
  6723. - Avoid a spurious free on base64 failure.
  6724. - Avoid segfaults on certain complex invocations of
  6725. router_get_by_hexdigest().
  6726. - Fix rare bug on REDIRECTSTREAM control command when called with no
  6727. port set: it could erroneously report an error when none had
  6728. happened.
  6729. Changes in version 0.2.0.15-alpha - 2007-12-25
  6730. Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
  6731. features added in 0.2.0.13-alpha.
  6732. o Major bugfixes:
  6733. - Fix several remotely triggerable asserts based on DirPort requests
  6734. for a v2 or v3 networkstatus object before we were prepared. This
  6735. was particularly bad for 0.2.0.13 and later bridge relays, who
  6736. would never have a v2 networkstatus and would thus always crash
  6737. when used. Bugfixes on 0.2.0.x.
  6738. - Estimate the v3 networkstatus size more accurately, rather than
  6739. estimating it at zero bytes and giving it artificially high priority
  6740. compared to other directory requests. Bugfix on 0.2.0.x.
  6741. o Minor bugfixes:
  6742. - Fix configure.in logic for cross-compilation.
  6743. - When we load a bridge descriptor from the cache, and it was
  6744. previously unreachable, mark it as retriable so we won't just
  6745. ignore it. Also, try fetching a new copy immediately. Bugfixes
  6746. on 0.2.0.13-alpha.
  6747. - The bridge GeoIP stats were counting other relays, for example
  6748. self-reachability and authority-reachability tests.
  6749. o Minor features:
  6750. - Support compilation to target iPhone; patch from cjacker huang.
  6751. To build for iPhone, pass the --enable-iphone option to configure.
  6752. Changes in version 0.2.0.14-alpha - 2007-12-23
  6753. o Major bugfixes:
  6754. - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
  6755. without a datadirectory from a previous Tor install. Reported
  6756. by Zax.
  6757. - Fix a crash when we fetch a descriptor that turns out to be
  6758. unexpected (it used to be in our networkstatus when we started
  6759. fetching it, but it isn't in our current networkstatus), and we
  6760. aren't using bridges. Bugfix on 0.2.0.x.
  6761. - Fix a crash when accessing hidden services: it would work the first
  6762. time you use a given introduction point for your service, but
  6763. on subsequent requests we'd be using garbage memory. Fixed by
  6764. Karsten Loesing. Bugfix on 0.2.0.13-alpha.
  6765. - Fix a crash when we load a bridge descriptor from disk but we don't
  6766. currently have a Bridge line for it in our torrc. Bugfix on
  6767. 0.2.0.13-alpha.
  6768. o Major features:
  6769. - If bridge authorities set BridgePassword, they will serve a
  6770. snapshot of known bridge routerstatuses from their DirPort to
  6771. anybody who knows that password. Unset by default.
  6772. o Minor bugfixes:
  6773. - Make the unit tests build again.
  6774. - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
  6775. - Make PublishServerDescriptor default to 1, so the default doesn't
  6776. have to change as we invent new directory protocol versions.
  6777. - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
  6778. be included unless sys/time.h is already included. Fixes
  6779. bug 553. Bugfix on 0.2.0.x.
  6780. - If we receive a general-purpose descriptor and then receive an
  6781. identical bridge-purpose descriptor soon after, don't discard
  6782. the next one as a duplicate.
  6783. o Minor features:
  6784. - If BridgeRelay is set to 1, then the default for
  6785. PublishServerDescriptor is now "bridge" rather than "v2,v3".
  6786. - If the user sets RelayBandwidthRate but doesn't set
  6787. RelayBandwidthBurst, then make them equal rather than erroring out.
  6788. Changes in version 0.2.0.13-alpha - 2007-12-21
  6789. Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
  6790. Goodell, fixes many more bugs, and adds a lot of infrastructure for
  6791. upcoming features.
  6792. o New directory authorities:
  6793. - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
  6794. authority.
  6795. o Major bugfixes:
  6796. - Only update guard status (usable / not usable) once we have
  6797. enough directory information. This was causing us to always pick
  6798. two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
  6799. causing us to discard all our guards on startup if we hadn't been
  6800. running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
  6801. - Purge old entries from the "rephist" database and the hidden
  6802. service descriptor databases even when DirPort is zero. Bugfix
  6803. on 0.1.2.x.
  6804. - We were ignoring our RelayBandwidthRate for the first 30 seconds
  6805. after opening a circuit -- even a relayed circuit. Bugfix on
  6806. 0.2.0.3-alpha.
  6807. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  6808. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  6809. crashing or mis-answering these types of requests.
  6810. - Relays were publishing their server descriptor to v1 and v2
  6811. directory authorities, but they didn't try publishing to v3-only
  6812. authorities. Fix this; and also stop publishing to v1 authorities.
  6813. Bugfix on 0.2.0.x.
  6814. - When we were reading router descriptors from cache, we were ignoring
  6815. the annotations -- so for example we were reading in bridge-purpose
  6816. descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
  6817. - When we decided to send a 503 response to a request for servers, we
  6818. were then also sending the server descriptors: this defeats the
  6819. whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
  6820. o Major features:
  6821. - Bridge relays now behave like clients with respect to time
  6822. intervals for downloading new consensus documents -- otherwise they
  6823. stand out. Bridge users now wait until the end of the interval,
  6824. so their bridge relay will be sure to have a new consensus document.
  6825. - Three new config options (AlternateDirAuthority,
  6826. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  6827. user selectively replace the default directory authorities by type,
  6828. rather than the all-or-nothing replacement that DirServer offers.
  6829. - Tor can now be configured to read a GeoIP file from disk in one
  6830. of two formats. This can be used by controllers to map IP addresses
  6831. to countries. Eventually, it may support exit-by-country.
  6832. - When possible, bridge relays remember which countries users
  6833. are coming from, and report aggregate information in their
  6834. extra-info documents, so that the bridge authorities can learn
  6835. where Tor is blocked.
  6836. - Bridge directory authorities now do reachability testing on the
  6837. bridges they know. They provide router status summaries to the
  6838. controller via "getinfo ns/purpose/bridge", and also dump summaries
  6839. to a file periodically.
  6840. - Stop fetching directory info so aggressively if your DirPort is
  6841. on but your ORPort is off; stop fetching v2 dir info entirely.
  6842. You can override these choices with the new FetchDirInfoEarly
  6843. config option.
  6844. o Minor bugfixes:
  6845. - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
  6846. consensus documents when there are too many relays at a single
  6847. IP address. Now clear it in v2 network status documents too, and
  6848. also clear it in routerinfo_t when the relay is no longer listed
  6849. in the relevant networkstatus document.
  6850. - Don't crash if we get an unexpected value for the
  6851. PublishServerDescriptor config option. Reported by Matt Edman;
  6852. bugfix on 0.2.0.9-alpha.
  6853. - Our new v2 hidden service descriptor format allows descriptors
  6854. that have no introduction points. But Tor crashed when we tried
  6855. to build a descriptor with no intro points (and it would have
  6856. crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
  6857. by Karsten Loesing.
  6858. - Fix building with dmalloc 5.5.2 with glibc.
  6859. - Reject uploaded descriptors and extrainfo documents if they're
  6860. huge. Otherwise we'll cache them all over the network and it'll
  6861. clog everything up. Reported by Aljosha Judmayer.
  6862. - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
  6863. via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
  6864. - When the DANGEROUS_VERSION controller status event told us we're
  6865. running an obsolete version, it used the string "OLD" to describe
  6866. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  6867. "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
  6868. - If we can't expand our list of entry guards (e.g. because we're
  6869. using bridges or we have StrictEntryNodes set), don't mark relays
  6870. down when they fail a directory request. Otherwise we're too quick
  6871. to mark all our entry points down. Bugfix on 0.1.2.x.
  6872. - Fix handling of hex nicknames when answering controller requests for
  6873. networkstatus by name, or when deciding whether to warn about unknown
  6874. routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
  6875. - Fix a couple of hard-to-trigger autoconf problems that could result
  6876. in really weird results on platforms whose sys/types.h files define
  6877. nonstandard integer types. Bugfix on 0.1.2.x.
  6878. - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
  6879. - Don't crash on name lookup when we have no current consensus. Fixes
  6880. bug 538; bugfix on 0.2.0.x.
  6881. - Only Tors that want to mirror the v2 directory info should
  6882. create the "cached-status" directory in their datadir. (All Tors
  6883. used to create it.) Bugfix on 0.2.0.9-alpha.
  6884. - Directory authorities should only automatically download Extra Info
  6885. documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
  6886. o Minor features:
  6887. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  6888. consumers. (We already do this on HUP.)
  6889. - Authorities and caches fetch the v2 networkstatus documents
  6890. less often, now that v3 is encouraged.
  6891. - Add a new config option BridgeRelay that specifies you want to
  6892. be a bridge relay. Right now the only difference is that it makes
  6893. you answer begin_dir requests, and it makes you cache dir info,
  6894. even if your DirPort isn't on.
  6895. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  6896. ask about source, timestamp of arrival, purpose, etc. We need
  6897. something like this to help Vidalia not do GeoIP lookups on bridge
  6898. addresses.
  6899. - Allow multiple HashedControlPassword config lines, to support
  6900. multiple controller passwords.
  6901. - Authorities now decide whether they're authoritative for a given
  6902. router based on the router's purpose.
  6903. - New config options AuthDirBadDir and AuthDirListBadDirs for
  6904. authorities to mark certain relays as "bad directories" in the
  6905. networkstatus documents. Also supports the "!baddir" directive in
  6906. the approved-routers file.
  6907. Changes in version 0.2.0.12-alpha - 2007-11-16
  6908. This twelfth development snapshot fixes some more build problems as
  6909. well as a few minor bugs.
  6910. o Compile fixes:
  6911. - Make it build on OpenBSD again. Patch from tup.
  6912. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
  6913. package-building for Red Hat, OS X, etc.
  6914. o Minor bugfixes (on 0.1.2.x):
  6915. - Changing the ExitPolicyRejectPrivate setting should cause us to
  6916. rebuild our server descriptor.
  6917. o Minor bugfixes (on 0.2.0.x):
  6918. - When we're lacking a consensus, don't try to perform rendezvous
  6919. operations. Reported by Karsten Loesing.
  6920. - Fix a small memory leak whenever we decide against using a
  6921. newly picked entry guard. Reported by Mike Perry.
  6922. - When authorities detected more than two relays running on the same
  6923. IP address, they were clearing all the status flags but forgetting
  6924. to clear the "hsdir" flag. So clients were being told that a
  6925. given relay was the right choice for a v2 hsdir lookup, yet they
  6926. never had its descriptor because it was marked as 'not running'
  6927. in the consensus.
  6928. - If we're trying to fetch a bridge descriptor and there's no way
  6929. the bridge authority could help us (for example, we don't know
  6930. a digest, or there is no bridge authority), don't be so eager to
  6931. fall back to asking the bridge authority.
  6932. - If we're using bridges or have strictentrynodes set, and our
  6933. chosen exit is in the same family as all our bridges/entry guards,
  6934. then be flexible about families.
  6935. o Minor features:
  6936. - When we negotiate a v2 link-layer connection (not yet implemented),
  6937. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  6938. negotiated a v1 connection for their next step. Initial code for
  6939. proposal 110.
  6940. Changes in version 0.2.0.11-alpha - 2007-11-12
  6941. This eleventh development snapshot fixes some build problems with
  6942. the previous snapshot. It also includes a more secure-by-default exit
  6943. policy for relays, fixes an enormous memory leak for exit relays, and
  6944. fixes another bug where servers were falling out of the directory list.
  6945. o Security fixes:
  6946. - Exit policies now reject connections that are addressed to a
  6947. relay's public (external) IP address too, unless
  6948. ExitPolicyRejectPrivate is turned off. We do this because too
  6949. many relays are running nearby to services that trust them based
  6950. on network address. Bugfix on 0.1.2.x.
  6951. o Major bugfixes:
  6952. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  6953. on every successful resolve. Reported by Mike Perry; bugfix
  6954. on 0.1.2.x.
  6955. - On authorities, never downgrade to old router descriptors simply
  6956. because they're listed in the consensus. This created a catch-22
  6957. where we wouldn't list a new descriptor because there was an
  6958. old one in the consensus, and we couldn't get the new one in the
  6959. consensus because we wouldn't list it. Possible fix for bug 548.
  6960. Also, this might cause bug 543 to appear on authorities; if so,
  6961. we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
  6962. o Packaging fixes on 0.2.0.10-alpha:
  6963. - We were including instructions about what to do with the
  6964. src/config/fallback-consensus file, but we weren't actually
  6965. including it in the tarball. Disable all of that for now.
  6966. o Minor features:
  6967. - Allow people to say PreferTunnelledDirConns rather than
  6968. PreferTunneledDirConns, for those alternate-spellers out there.
  6969. o Minor bugfixes:
  6970. - Don't reevaluate all the information from our consensus document
  6971. just because we've downloaded a v2 networkstatus that we intend
  6972. to cache. Fixes bug 545; bugfix on 0.2.0.x.
  6973. Changes in version 0.2.0.10-alpha - 2007-11-10
  6974. This tenth development snapshot adds a third v3 directory authority
  6975. run by Mike Perry, adds most of Karsten Loesing's new hidden service
  6976. descriptor format, fixes a bad crash bug and new bridge bugs introduced
  6977. in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
  6978. fixes some minor memory leaks in previous 0.2.0.x snapshots, and
  6979. addresses many more minor issues.
  6980. o New directory authorities:
  6981. - Set up ides (run by Mike Perry) as the third v3 directory authority.
  6982. o Major features:
  6983. - Allow tunnelled directory connections to ask for an encrypted
  6984. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  6985. connection independently. Now we can make anonymized begin_dir
  6986. connections for (e.g.) more secure hidden service posting and
  6987. fetching.
  6988. - More progress on proposal 114: code from Karsten Loesing to
  6989. implement new hidden service descriptor format.
  6990. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  6991. accommodate the growing number of servers that use the default
  6992. and are reaching it.
  6993. - Directory authorities use a new formula for selecting which nodes
  6994. to advertise as Guards: they must be in the top 7/8 in terms of
  6995. how long we have known about them, and above the median of those
  6996. nodes in terms of weighted fractional uptime.
  6997. - Make "not enough dir info yet" warnings describe *why* Tor feels
  6998. it doesn't have enough directory info yet.
  6999. o Major bugfixes:
  7000. - Stop servers from crashing if they set a Family option (or
  7001. maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
  7002. by Fabian Keil.
  7003. - Make bridge users work again -- the move to v3 directories in
  7004. 0.2.0.9-alpha had introduced a number of bugs that made bridges
  7005. no longer work for clients.
  7006. - When the clock jumps forward a lot, do not allow the bandwidth
  7007. buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
  7008. o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
  7009. - When the consensus lists a router descriptor that we previously were
  7010. mirroring, but that we considered non-canonical, reload the
  7011. descriptor as canonical. This fixes bug 543 where Tor servers
  7012. would start complaining after a few days that they don't have
  7013. enough directory information to build a circuit.
  7014. - Consider replacing the current consensus when certificates arrive
  7015. that make the pending consensus valid. Previously, we were only
  7016. considering replacement when the new certs _didn't_ help.
  7017. - Fix an assert error on startup if we didn't already have the
  7018. consensus and certs cached in our datadirectory: we were caching
  7019. the consensus in consensus_waiting_for_certs but then free'ing it
  7020. right after.
  7021. - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
  7022. Request) if we need more v3 certs but we've already got pending
  7023. requests for all of them.
  7024. - Correctly back off from failing certificate downloads. Fixes
  7025. bug 546.
  7026. - Authorities don't vote on the Running flag if they have been running
  7027. for less than 30 minutes themselves. Fixes bug 547, where a newly
  7028. started authority would vote that everyone was down.
  7029. o New requirements:
  7030. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  7031. it, it had no AES, and it hasn't seen any security patches since
  7032. 2004.
  7033. o Minor features:
  7034. - Clients now hold circuitless TLS connections open for 1.5 times
  7035. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  7036. rebuild a new circuit over them within that timeframe. Previously,
  7037. they held them open only for KeepalivePeriod (5 minutes).
  7038. - Use "If-Modified-Since" to avoid retrieving consensus
  7039. networkstatuses that we already have.
  7040. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  7041. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  7042. we start knowing some directory caches.
  7043. - When we receive a consensus from the future, warn about skew.
  7044. - Improve skew reporting: try to give the user a better log message
  7045. about how skewed they are, and how much this matters.
  7046. - When we have a certificate for an authority, believe that
  7047. certificate's claims about the authority's IP address.
  7048. - New --quiet command-line option to suppress the default console log.
  7049. Good in combination with --hash-password.
  7050. - Authorities send back an X-Descriptor-Not-New header in response to
  7051. an accepted-but-discarded descriptor upload. Partially implements
  7052. fix for bug 535.
  7053. - Make the log message for "tls error. breaking." more useful.
  7054. - Better log messages about certificate downloads, to attempt to
  7055. track down the second incarnation of bug 546.
  7056. o Minor features (bridges):
  7057. - If bridge users set UpdateBridgesFromAuthority, but the digest
  7058. they ask for is a 404 from the bridge authority, they now fall
  7059. back to trying the bridge directly.
  7060. - Bridges now use begin_dir to publish their server descriptor to
  7061. the bridge authority, even when they haven't set TunnelDirConns.
  7062. o Minor features (controller):
  7063. - When reporting clock skew, and we know that the clock is _at least
  7064. as skewed_ as some value, but we don't know the actual value,
  7065. report the value as a "minimum skew."
  7066. o Utilities:
  7067. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  7068. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  7069. Perry.
  7070. o Minor bugfixes:
  7071. - Refuse to start if both ORPort and UseBridges are set. Bugfix
  7072. on 0.2.0.x, suggested by Matt Edman.
  7073. - Don't stop fetching descriptors when FetchUselessDescriptors is
  7074. set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
  7075. reported by tup and ioerror.
  7076. - Better log message on vote from unknown authority.
  7077. - Don't log "Launching 0 request for 0 router" message.
  7078. o Minor bugfixes (memory leaks):
  7079. - Stop leaking memory every time we parse a v3 certificate. Bugfix
  7080. on 0.2.0.1-alpha.
  7081. - Stop leaking memory every time we load a v3 certificate. Bugfix
  7082. on 0.2.0.1-alpha. Fixes bug 536.
  7083. - Stop leaking a cached networkstatus on exit. Bugfix on
  7084. 0.2.0.3-alpha.
  7085. - Stop leaking voter information every time we free a consensus.
  7086. Bugfix on 0.2.0.3-alpha.
  7087. - Stop leaking signed data every time we check a voter signature.
  7088. Bugfix on 0.2.0.3-alpha.
  7089. - Stop leaking a signature every time we fail to parse a consensus or
  7090. a vote. Bugfix on 0.2.0.3-alpha.
  7091. - Stop leaking v2_download_status_map on shutdown. Bugfix on
  7092. 0.2.0.9-alpha.
  7093. - Stop leaking conn->nickname every time we make a connection to a
  7094. Tor relay without knowing its expected identity digest (e.g. when
  7095. using bridges). Bugfix on 0.2.0.3-alpha.
  7096. - Minor bugfixes (portability):
  7097. - Run correctly on platforms where rlim_t is larger than unsigned
  7098. long, and/or where the real limit for number of open files is
  7099. OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
  7100. particular, these may be needed for OS X 10.5.
  7101. Changes in version 0.1.2.18 - 2007-10-28
  7102. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  7103. hidden service introduction that were causing huge delays, and a big
  7104. bug that was causing some servers to disappear from the network status
  7105. lists for a few hours each day.
  7106. o Major bugfixes (crashes):
  7107. - If a connection is shut down abruptly because of something that
  7108. happened inside connection_flushed_some(), do not call
  7109. connection_finished_flushing(). Should fix bug 451:
  7110. "connection_stop_writing: Assertion conn->write_event failed"
  7111. Bugfix on 0.1.2.7-alpha.
  7112. - Fix possible segfaults in functions called from
  7113. rend_process_relay_cell().
  7114. o Major bugfixes (hidden services):
  7115. - Hidden services were choosing introduction points uniquely by
  7116. hexdigest, but when constructing the hidden service descriptor
  7117. they merely wrote the (potentially ambiguous) nickname.
  7118. - Clients now use the v2 intro format for hidden service
  7119. connections: they specify their chosen rendezvous point by identity
  7120. digest rather than by (potentially ambiguous) nickname. These
  7121. changes could speed up hidden service connections dramatically.
  7122. o Major bugfixes (other):
  7123. - Stop publishing a new server descriptor just because we get a
  7124. HUP signal. This led (in a roundabout way) to some servers getting
  7125. dropped from the networkstatus lists for a few hours each day.
  7126. - When looking for a circuit to cannibalize, consider family as well
  7127. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  7128. circuit cannibalization).
  7129. - When a router wasn't listed in a new networkstatus, we were leaving
  7130. the flags for that router alone -- meaning it remained Named,
  7131. Running, etc -- even though absence from the networkstatus means
  7132. that it shouldn't be considered to exist at all anymore. Now we
  7133. clear all the flags for routers that fall out of the networkstatus
  7134. consensus. Fixes bug 529.
  7135. o Minor bugfixes:
  7136. - Don't try to access (or alter) the state file when running
  7137. --list-fingerprint or --verify-config or --hash-password. Resolves
  7138. bug 499.
  7139. - When generating information telling us how to extend to a given
  7140. router, do not try to include the nickname if it is
  7141. absent. Resolves bug 467.
  7142. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  7143. a way to trigger this remotely.)
  7144. - When sending a status event to the controller telling it that an
  7145. OR address is reachable, set the port correctly. (Previously we
  7146. were reporting the dir port.)
  7147. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  7148. command. Bugfix on 0.1.2.17.
  7149. - When loading bandwidth history, do not believe any information in
  7150. the future. Fixes bug 434.
  7151. - When loading entry guard information, do not believe any information
  7152. in the future.
  7153. - When we have our clock set far in the future and generate an
  7154. onion key, then re-set our clock to be correct, we should not stop
  7155. the onion key from getting rotated.
  7156. - On some platforms, accept() can return a broken address. Detect
  7157. this more quietly, and deal accordingly. Fixes bug 483.
  7158. - It's not actually an error to find a non-pending entry in the DNS
  7159. cache when canceling a pending resolve. Don't log unless stuff
  7160. is fishy. Resolves bug 463.
  7161. - Don't reset trusted dir server list when we set a configuration
  7162. option. Patch from Robert Hogan.
  7163. - Don't try to create the datadir when running --verify-config or
  7164. --hash-password. Resolves bug 540.
  7165. Changes in version 0.2.0.9-alpha - 2007-10-24
  7166. This ninth development snapshot switches clients to the new v3 directory
  7167. system; allows servers to be listed in the network status even when they
  7168. have the same nickname as a registered server; and fixes many other
  7169. bugs including a big one that was causing some servers to disappear
  7170. from the network status lists for a few hours each day.
  7171. o Major features (directory system):
  7172. - Clients now download v3 consensus networkstatus documents instead
  7173. of v2 networkstatus documents. Clients and caches now base their
  7174. opinions about routers on these consensus documents. Clients only
  7175. download router descriptors listed in the consensus.
  7176. - Authorities now list servers who have the same nickname as
  7177. a different named server, but list them with a new flag,
  7178. "Unnamed". Now we can list servers that happen to pick the same
  7179. nickname as a server that registered two years ago and then
  7180. disappeared. Partially implements proposal 122.
  7181. - If the consensus lists a router as "Unnamed", the name is assigned
  7182. to a different router: do not identify the router by that name.
  7183. Partially implements proposal 122.
  7184. - Authorities can now come to a consensus on which method to use to
  7185. compute the consensus. This gives us forward compatibility.
  7186. o Major bugfixes:
  7187. - Stop publishing a new server descriptor just because we HUP or
  7188. when we find our DirPort to be reachable but won't actually publish
  7189. it. New descriptors without any real changes are dropped by the
  7190. authorities, and can screw up our "publish every 18 hours" schedule.
  7191. Bugfix on 0.1.2.x.
  7192. - When a router wasn't listed in a new networkstatus, we were leaving
  7193. the flags for that router alone -- meaning it remained Named,
  7194. Running, etc -- even though absence from the networkstatus means
  7195. that it shouldn't be considered to exist at all anymore. Now we
  7196. clear all the flags for routers that fall out of the networkstatus
  7197. consensus. Fixes bug 529; bugfix on 0.1.2.x.
  7198. - Fix awful behavior in DownloadExtraInfo option where we'd fetch
  7199. extrainfo documents and then discard them immediately for not
  7200. matching the latest router. Bugfix on 0.2.0.1-alpha.
  7201. o Minor features (v3 directory protocol):
  7202. - Allow tor-gencert to generate a new certificate without replacing
  7203. the signing key.
  7204. - Allow certificates to include an address.
  7205. - When we change our directory-cache settings, reschedule all voting
  7206. and download operations.
  7207. - Reattempt certificate downloads immediately on failure, as long as
  7208. we haven't failed a threshold number of times yet.
  7209. - Delay retrying consensus downloads while we're downloading
  7210. certificates to verify the one we just got. Also, count getting a
  7211. consensus that we already have (or one that isn't valid) as a failure,
  7212. and count failing to get the certificates after 20 minutes as a
  7213. failure.
  7214. - Build circuits and download descriptors even if our consensus is a
  7215. little expired. (This feature will go away once authorities are
  7216. more reliable.)
  7217. o Minor features (router descriptor cache):
  7218. - If we find a cached-routers file that's been sitting around for more
  7219. than 28 days unmodified, then most likely it's a leftover from
  7220. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  7221. routers anyway.
  7222. - When we (as a cache) download a descriptor because it was listed
  7223. in a consensus, remember when the consensus was supposed to expire,
  7224. and don't expire the descriptor until then.
  7225. o Minor features (performance):
  7226. - Call routerlist_remove_old_routers() much less often. This should
  7227. speed startup, especially on directory caches.
  7228. - Don't try to launch new descriptor downloads quite so often when we
  7229. already have enough directory information to build circuits.
  7230. - Base64 decoding was actually showing up on our profile when parsing
  7231. the initial descriptor file; switch to an in-process all-at-once
  7232. implementation that's about 3.5x times faster than calling out to
  7233. OpenSSL.
  7234. o Minor features (compilation):
  7235. - Detect non-ASCII platforms (if any still exist) and refuse to
  7236. build there: some of our code assumes that 'A' is 65 and so on.
  7237. o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
  7238. - Make the "next period" votes into "current period" votes immediately
  7239. after publishing the consensus; avoid a heisenbug that made them
  7240. stick around indefinitely.
  7241. - When we discard a vote as a duplicate, do not report this as
  7242. an error.
  7243. - Treat missing v3 keys or certificates as an error when running as a
  7244. v3 directory authority.
  7245. - When we're configured to be a v3 authority, but we're only listed
  7246. as a non-v3 authority in our DirServer line for ourself, correct
  7247. the listing.
  7248. - If an authority doesn't have a qualified hostname, just put
  7249. its address in the vote. This fixes the problem where we referred to
  7250. "moria on moria:9031."
  7251. - Distinguish between detached signatures for the wrong period, and
  7252. detached signatures for a divergent vote.
  7253. - Fix a small memory leak when computing a consensus.
  7254. - When there's no concensus, we were forming a vote every 30
  7255. minutes, but writing the "valid-after" line in our vote based
  7256. on our configured V3AuthVotingInterval: so unless the intervals
  7257. matched up, we immediately rejected our own vote because it didn't
  7258. start at the voting interval that caused us to construct a vote.
  7259. o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
  7260. - Delete unverified-consensus when the real consensus is set.
  7261. - Consider retrying a consensus networkstatus fetch immediately
  7262. after one fails: don't wait 60 seconds to notice.
  7263. - When fetching a consensus as a cache, wait until a newer consensus
  7264. should exist before trying to replace the current one.
  7265. - Use a more forgiving schedule for retrying failed consensus
  7266. downloads than for other types.
  7267. o Minor bugfixes (other directory issues):
  7268. - Correct the implementation of "download votes by digest." Bugfix on
  7269. 0.2.0.8-alpha.
  7270. - Authorities no longer send back "400 you're unreachable please fix
  7271. it" errors to Tor servers that aren't online all the time. We're
  7272. supposed to tolerate these servers now. Bugfix on 0.1.2.x.
  7273. o Minor bugfixes (controller):
  7274. - Don't reset trusted dir server list when we set a configuration
  7275. option. Patch from Robert Hogan; bugfix on 0.1.2.x.
  7276. - Respond to INT and TERM SIGNAL commands before we execute the
  7277. signal, in case the signal shuts us down. We had a patch in
  7278. 0.1.2.1-alpha that tried to do this by queueing the response on
  7279. the connection's buffer before shutting down, but that really
  7280. isn't the same thing at all. Bug located by Matt Edman.
  7281. o Minor bugfixes (misc):
  7282. - Correctly check for bad options to the "PublishServerDescriptor"
  7283. config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
  7284. - Stop leaking memory on failing case of base32_decode, and make
  7285. it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
  7286. - Don't try to download extrainfo documents when we're trying to
  7287. fetch enough directory info to build a circuit: having enough
  7288. info should get priority. Bugfix on 0.2.0.x.
  7289. - Don't complain that "your server has not managed to confirm that its
  7290. ports are reachable" if we haven't been able to build any circuits
  7291. yet. Bug found by spending four hours without a v3 consensus. Bugfix
  7292. on 0.1.2.x.
  7293. - Detect the reason for failing to mmap a descriptor file we just
  7294. wrote, and give a more useful log message. Fixes bug 533. Bugfix
  7295. on 0.1.2.x.
  7296. o Code simplifications and refactoring:
  7297. - Remove support for the old bw_accounting file: we've been storing
  7298. bandwidth accounting information in the state file since
  7299. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  7300. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  7301. downgrade to 0.1.1.x or earlier.
  7302. - New convenience code to locate a file within the DataDirectory.
  7303. - Move non-authority functionality out of dirvote.c.
  7304. - Refactor the arguments for router_pick_{directory_|trusteddir}server
  7305. so that they all take the same named flags.
  7306. o Utilities
  7307. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  7308. Unix users an easy way to script their Tor process (e.g. by
  7309. adjusting bandwidth based on the time of the day).
  7310. Changes in version 0.2.0.8-alpha - 2007-10-12
  7311. This eighth development snapshot fixes a crash bug that's been bothering
  7312. us since February 2007, lets bridge authorities store a list of bridge
  7313. descriptors they've seen, gets v3 directory voting closer to working,
  7314. starts caching v3 directory consensus documents on directory mirrors,
  7315. and fixes a variety of smaller issues including some minor memory leaks.
  7316. o Major features (router descriptor cache):
  7317. - Store routers in a file called cached-descriptors instead of in
  7318. cached-routers. Initialize cached-descriptors from cached-routers
  7319. if the old format is around. The new format allows us to store
  7320. annotations along with descriptors.
  7321. - Use annotations to record the time we received each descriptor, its
  7322. source, and its purpose.
  7323. - Disable the SETROUTERPURPOSE controller command: it is now
  7324. obsolete.
  7325. - Controllers should now specify cache=no or cache=yes when using
  7326. the +POSTDESCRIPTOR command.
  7327. - Bridge authorities now write bridge descriptors to disk, meaning
  7328. we can export them to other programs and begin distributing them
  7329. to blocked users.
  7330. o Major features (directory authorities):
  7331. - When a v3 authority is missing votes or signatures, it now tries
  7332. to fetch them.
  7333. - Directory authorities track weighted fractional uptime as well as
  7334. weighted mean-time-between failures. WFU is suitable for deciding
  7335. whether a node is "usually up", while MTBF is suitable for deciding
  7336. whether a node is "likely to stay up." We need both, because
  7337. "usually up" is a good requirement for guards, while "likely to
  7338. stay up" is a good requirement for long-lived connections.
  7339. o Major features (v3 directory system):
  7340. - Caches now download v3 network status documents as needed,
  7341. and download the descriptors listed in them.
  7342. - All hosts now attempt to download and keep fresh v3 authority
  7343. certificates, and re-attempt after failures.
  7344. - More internal-consistency checks for vote parsing.
  7345. o Major bugfixes (crashes):
  7346. - If a connection is shut down abruptly because of something that
  7347. happened inside connection_flushed_some(), do not call
  7348. connection_finished_flushing(). Should fix bug 451. Bugfix on
  7349. 0.1.2.7-alpha.
  7350. o Major bugfixes (performance):
  7351. - Fix really bad O(n^2) performance when parsing a long list of
  7352. routers: Instead of searching the entire list for an "extra-info "
  7353. string which usually wasn't there, once for every routerinfo
  7354. we read, just scan lines forward until we find one we like.
  7355. Bugfix on 0.2.0.1.
  7356. - When we add data to a write buffer in response to the data on that
  7357. write buffer getting low because of a flush, do not consider the
  7358. newly added data as a candidate for immediate flushing, but rather
  7359. make it wait until the next round of writing. Otherwise, we flush
  7360. and refill recursively, and a single greedy TLS connection can
  7361. eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
  7362. o Minor features (v3 authority system):
  7363. - Add more ways for tools to download the votes that lead to the
  7364. current consensus.
  7365. - Send a 503 when low on bandwidth and a vote, consensus, or
  7366. certificate is requested.
  7367. - If-modified-since is now implemented properly for all kinds of
  7368. certificate requests.
  7369. o Minor bugfixes (network statuses):
  7370. - Tweak the implementation of proposal 109 slightly: allow at most
  7371. two Tor servers on the same IP address, except if it's the location
  7372. of a directory authority, in which case allow five. Bugfix on
  7373. 0.2.0.3-alpha.
  7374. o Minor bugfixes (controller):
  7375. - When sending a status event to the controller telling it that an
  7376. OR address is reachable, set the port correctly. (Previously we
  7377. were reporting the dir port.) Bugfix on 0.1.2.x.
  7378. o Minor bugfixes (v3 directory system):
  7379. - Fix logic to look up a cert by its signing key digest. Bugfix on
  7380. 0.2.0.7-alpha.
  7381. - Only change the reply to a vote to "OK" if it's not already
  7382. set. This gets rid of annoying "400 OK" log messages, which may
  7383. have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
  7384. - When we get a valid consensus, recompute the voting schedule.
  7385. - Base the valid-after time of a vote on the consensus voting
  7386. schedule, not on our preferred schedule.
  7387. - Make the return values and messages from signature uploads and
  7388. downloads more sensible.
  7389. - Fix a memory leak when serving votes and consensus documents, and
  7390. another when serving certificates.
  7391. o Minor bugfixes (performance):
  7392. - Use a slightly simpler string hashing algorithm (copying Python's
  7393. instead of Java's) and optimize our digest hashing algorithm to take
  7394. advantage of 64-bit platforms and to remove some possibly-costly
  7395. voodoo.
  7396. - Fix a minor memory leak whenever we parse guards from our state
  7397. file. Bugfix on 0.2.0.7-alpha.
  7398. - Fix a minor memory leak whenever we write out a file. Bugfix on
  7399. 0.2.0.7-alpha.
  7400. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  7401. command. Bugfix on 0.2.0.5-alpha.
  7402. o Minor bugfixes (portability):
  7403. - On some platforms, accept() can return a broken address. Detect
  7404. this more quietly, and deal accordingly. Fixes bug 483.
  7405. - Stop calling tor_strlower() on uninitialized memory in some cases.
  7406. Bugfix in 0.2.0.7-alpha.
  7407. o Minor bugfixes (usability):
  7408. - Treat some 403 responses from directory servers as INFO rather than
  7409. WARN-severity events.
  7410. - It's not actually an error to find a non-pending entry in the DNS
  7411. cache when canceling a pending resolve. Don't log unless stuff is
  7412. fishy. Resolves bug 463.
  7413. o Minor bugfixes (anonymity):
  7414. - Never report that we've used more bandwidth than we're willing to
  7415. relay: it leaks how much non-relay traffic we're using. Resolves
  7416. bug 516.
  7417. - When looking for a circuit to cannibalize, consider family as well
  7418. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  7419. circuit cannibalization).
  7420. o Code simplifications and refactoring:
  7421. - Make a bunch of functions static. Remove some dead code.
  7422. - Pull out about a third of the really big routerlist.c; put it in a
  7423. new module, networkstatus.c.
  7424. - Merge the extra fields in local_routerstatus_t back into
  7425. routerstatus_t: we used to need one routerstatus_t for each
  7426. authority's opinion, plus a local_routerstatus_t for the locally
  7427. computed consensus opinion. To save space, we put the locally
  7428. modified fields into local_routerstatus_t, and only the common
  7429. stuff into routerstatus_t. But once v3 directories are in use,
  7430. clients and caches will no longer need to hold authority opinions;
  7431. thus, the rationale for keeping the types separate is now gone.
  7432. - Make the code used to reschedule and reattempt downloads more
  7433. uniform.
  7434. - Turn all 'Are we a directory server/mirror?' logic into a call to
  7435. dirserver_mode().
  7436. - Remove the code to generate the oldest (v1) directory format.
  7437. The code has been disabled since 0.2.0.5-alpha.
  7438. Changes in version 0.2.0.7-alpha - 2007-09-21
  7439. This seventh development snapshot makes bridges work again, makes bridge
  7440. authorities work for the first time, fixes two huge performance flaws
  7441. in hidden services, and fixes a variety of minor issues.
  7442. o New directory authorities:
  7443. - Set up moria1 and tor26 as the first v3 directory authorities. See
  7444. doc/spec/dir-spec.txt for details on the new directory design.
  7445. o Major bugfixes (crashes):
  7446. - Fix possible segfaults in functions called from
  7447. rend_process_relay_cell(). Bugfix on 0.1.2.x.
  7448. o Major bugfixes (bridges):
  7449. - Fix a bug that made servers send a "404 Not found" in response to
  7450. attempts to fetch their server descriptor. This caused Tor servers
  7451. to take many minutes to establish reachability for their DirPort,
  7452. and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
  7453. - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
  7454. users configure that and specify a bridge with an identity
  7455. fingerprint, now they will lookup the bridge descriptor at the
  7456. default bridge authority via a one-hop tunnel, but once circuits
  7457. are established they will switch to a three-hop tunnel for later
  7458. connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
  7459. o Major bugfixes (hidden services):
  7460. - Hidden services were choosing introduction points uniquely by
  7461. hexdigest, but when constructing the hidden service descriptor
  7462. they merely wrote the (potentially ambiguous) nickname.
  7463. - Clients now use the v2 intro format for hidden service
  7464. connections: they specify their chosen rendezvous point by identity
  7465. digest rather than by (potentially ambiguous) nickname. Both
  7466. are bugfixes on 0.1.2.x, and they could speed up hidden service
  7467. connections dramatically. Thanks to Karsten Loesing.
  7468. o Minor features (security):
  7469. - As a client, do not believe any server that tells us that an
  7470. address maps to an internal address space.
  7471. - Make it possible to enable HashedControlPassword and
  7472. CookieAuthentication at the same time.
  7473. o Minor features (guard nodes):
  7474. - Tag every guard node in our state file with the version that
  7475. we believe added it, or with our own version if we add it. This way,
  7476. if a user temporarily runs an old version of Tor and then switches
  7477. back to a new one, she doesn't automatically lose her guards.
  7478. o Minor features (speed):
  7479. - When implementing AES counter mode, update only the portions of the
  7480. counter buffer that need to change, and don't keep separate
  7481. network-order and host-order counters when they are the same (i.e.,
  7482. on big-endian hosts.)
  7483. o Minor features (controller):
  7484. - Accept LF instead of CRLF on controller, since some software has a
  7485. hard time generating real Internet newlines.
  7486. - Add GETINFO values for the server status events
  7487. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  7488. Robert Hogan.
  7489. o Removed features:
  7490. - Routers no longer include bandwidth-history lines in their
  7491. descriptors; this information is already available in extra-info
  7492. documents, and including it in router descriptors took up 60%
  7493. (!) of compressed router descriptor downloads. Completes
  7494. implementation of proposal 104.
  7495. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  7496. and TorControl.py, as they use the old v0 controller protocol,
  7497. and are obsoleted by TorFlow anyway.
  7498. - Drop support for v1 rendezvous descriptors, since we never used
  7499. them anyway, and the code has probably rotted by now. Based on
  7500. patch from Karsten Loesing.
  7501. - On OSX, stop warning the user that kqueue support in libevent is
  7502. "experimental", since it seems to have worked fine for ages.
  7503. o Minor bugfixes:
  7504. - When generating information telling us how to extend to a given
  7505. router, do not try to include the nickname if it is absent. Fixes
  7506. bug 467. Bugfix on 0.2.0.3-alpha.
  7507. - Fix a user-triggerable (but not remotely-triggerable) segfault
  7508. in expand_filename(). Bugfix on 0.1.2.x.
  7509. - Fix a memory leak when freeing incomplete requests from DNSPort.
  7510. Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
  7511. - Don't try to access (or alter) the state file when running
  7512. --list-fingerprint or --verify-config or --hash-password. (Resolves
  7513. bug 499.) Bugfix on 0.1.2.x.
  7514. - Servers used to decline to publish their DirPort if their
  7515. BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
  7516. were below a threshold. Now they only look at BandwidthRate and
  7517. RelayBandwidthRate. Bugfix on 0.1.2.x.
  7518. - Remove an optimization in the AES counter-mode code that assumed
  7519. that the counter never exceeded 2^68. When the counter can be set
  7520. arbitrarily as an IV (as it is by Karsten's new hidden services
  7521. code), this assumption no longer holds. Bugfix on 0.1.2.x.
  7522. - Resume listing "AUTHORITY" flag for authorities in network status.
  7523. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
  7524. o Code simplifications and refactoring:
  7525. - Revamp file-writing logic so we don't need to have the entire
  7526. contents of a file in memory at once before we write to disk. Tor,
  7527. meet stdio.
  7528. - Turn "descriptor store" into a full-fledged type.
  7529. - Move all NT services code into a separate source file.
  7530. - Unify all code that computes medians, percentile elements, etc.
  7531. - Get rid of a needless malloc when parsing address policies.
  7532. Changes in version 0.1.2.17 - 2007-08-30
  7533. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  7534. X bundles. Vidalia 0.0.14 makes authentication required for the
  7535. ControlPort in the default configuration, which addresses important
  7536. security risks. Everybody who uses Vidalia (or another controller)
  7537. should upgrade.
  7538. In addition, this Tor update fixes major load balancing problems with
  7539. path selection, which should speed things up a lot once many people
  7540. have upgraded.
  7541. o Major bugfixes (security):
  7542. - We removed support for the old (v0) control protocol. It has been
  7543. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  7544. become more of a headache than it's worth.
  7545. o Major bugfixes (load balancing):
  7546. - When choosing nodes for non-guard positions, weight guards
  7547. proportionally less, since they already have enough load. Patch
  7548. from Mike Perry.
  7549. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  7550. will allow fast Tor servers to get more attention.
  7551. - When we're upgrading from an old Tor version, forget our current
  7552. guards and pick new ones according to the new weightings. These
  7553. three load balancing patches could raise effective network capacity
  7554. by a factor of four. Thanks to Mike Perry for measurements.
  7555. o Major bugfixes (stream expiration):
  7556. - Expire not-yet-successful application streams in all cases if
  7557. they've been around longer than SocksTimeout. Right now there are
  7558. some cases where the stream will live forever, demanding a new
  7559. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  7560. o Minor features (controller):
  7561. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  7562. is valid before any authentication has been received. It tells
  7563. a controller what kind of authentication is expected, and what
  7564. protocol is spoken. Implements proposal 119.
  7565. o Minor bugfixes (performance):
  7566. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  7567. greatly speeding up loading cached-routers from disk on startup.
  7568. - Disable sentinel-based debugging for buffer code: we squashed all
  7569. the bugs that this was supposed to detect a long time ago, and now
  7570. its only effect is to change our buffer sizes from nice powers of
  7571. two (which platform mallocs tend to like) to values slightly over
  7572. powers of two (which make some platform mallocs sad).
  7573. o Minor bugfixes (misc):
  7574. - If exit bandwidth ever exceeds one third of total bandwidth, then
  7575. use the correct formula to weight exit nodes when choosing paths.
  7576. Based on patch from Mike Perry.
  7577. - Choose perfectly fairly among routers when choosing by bandwidth and
  7578. weighting by fraction of bandwidth provided by exits. Previously, we
  7579. would choose with only approximate fairness, and correct ourselves
  7580. if we ran off the end of the list.
  7581. - If we require CookieAuthentication but we fail to write the
  7582. cookie file, we would warn but not exit, and end up in a state
  7583. where no controller could authenticate. Now we exit.
  7584. - If we require CookieAuthentication, stop generating a new cookie
  7585. every time we change any piece of our config.
  7586. - Refuse to start with certain directory authority keys, and
  7587. encourage people using them to stop.
  7588. - Terminate multi-line control events properly. Original patch
  7589. from tup.
  7590. - Fix a minor memory leak when we fail to find enough suitable
  7591. servers to choose a circuit.
  7592. - Stop leaking part of the descriptor when we run into a particularly
  7593. unparseable piece of it.
  7594. Changes in version 0.2.0.6-alpha - 2007-08-26
  7595. This sixth development snapshot features a new Vidalia version in the
  7596. Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
  7597. the ControlPort in the default configuration, which addresses important
  7598. security risks.
  7599. In addition, this snapshot fixes major load balancing problems
  7600. with path selection, which should speed things up a lot once many
  7601. people have upgraded. The directory authorities also use a new
  7602. mean-time-between-failure approach to tracking which servers are stable,
  7603. rather than just looking at the most recent uptime.
  7604. o New directory authorities:
  7605. - Set up Tonga as the default bridge directory authority.
  7606. o Major features:
  7607. - Directory authorities now track servers by weighted
  7608. mean-times-between-failures. When we have 4 or more days of data,
  7609. use measured MTBF rather than declared uptime to decide whether
  7610. to call a router Stable. Implements proposal 108.
  7611. o Major bugfixes (load balancing):
  7612. - When choosing nodes for non-guard positions, weight guards
  7613. proportionally less, since they already have enough load. Patch
  7614. from Mike Perry.
  7615. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  7616. will allow fast Tor servers to get more attention.
  7617. - When we're upgrading from an old Tor version, forget our current
  7618. guards and pick new ones according to the new weightings. These
  7619. three load balancing patches could raise effective network capacity
  7620. by a factor of four. Thanks to Mike Perry for measurements.
  7621. o Major bugfixes (descriptor parsing):
  7622. - Handle unexpected whitespace better in malformed descriptors. Bug
  7623. found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
  7624. o Minor features:
  7625. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  7626. GETINFO for Torstat to use until it can switch to using extrainfos.
  7627. - Optionally (if built with -DEXPORTMALLINFO) export the output
  7628. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  7629. from localhost.
  7630. o Minor bugfixes:
  7631. - Do not intermix bridge routers with controller-added
  7632. routers. (Bugfix on 0.2.0.x)
  7633. - Do not fail with an assert when accept() returns an unexpected
  7634. address family. Addresses but does not wholly fix bug 483. (Bugfix
  7635. on 0.2.0.x)
  7636. - Let directory authorities startup even when they can't generate
  7637. a descriptor immediately, e.g. because they don't know their
  7638. address.
  7639. - Stop putting the authentication cookie in a file called "0"
  7640. in your working directory if you don't specify anything for the
  7641. new CookieAuthFile option. Reported by Matt Edman.
  7642. - Make it possible to read the PROTOCOLINFO response in a way that
  7643. conforms to our control-spec. Reported by Matt Edman.
  7644. - Fix a minor memory leak when we fail to find enough suitable
  7645. servers to choose a circuit. Bugfix on 0.1.2.x.
  7646. - Stop leaking part of the descriptor when we run into a particularly
  7647. unparseable piece of it. Bugfix on 0.1.2.x.
  7648. - Unmap the extrainfo cache file on exit.
  7649. Changes in version 0.2.0.5-alpha - 2007-08-19
  7650. This fifth development snapshot fixes compilation on Windows again;
  7651. fixes an obnoxious client-side bug that slowed things down and put
  7652. extra load on the network; gets us closer to using the v3 directory
  7653. voting scheme; makes it easier for Tor controllers to use cookie-based
  7654. authentication; and fixes a variety of other bugs.
  7655. o Removed features:
  7656. - Version 1 directories are no longer generated in full. Instead,
  7657. authorities generate and serve "stub" v1 directories that list
  7658. no servers. This will stop Tor versions 0.1.0.x and earlier from
  7659. working, but (for security reasons) nobody should be running those
  7660. versions anyway.
  7661. o Major bugfixes (compilation, 0.2.0.x):
  7662. - Try to fix Win32 compilation again: improve checking for IPv6 types.
  7663. - Try to fix MSVC compilation: build correctly on platforms that do
  7664. not define s6_addr16 or s6_addr32.
  7665. - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
  7666. Zhou.
  7667. o Major bugfixes (stream expiration):
  7668. - Expire not-yet-successful application streams in all cases if
  7669. they've been around longer than SocksTimeout. Right now there are
  7670. some cases where the stream will live forever, demanding a new
  7671. circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
  7672. reported by lodger.
  7673. o Minor features (directory servers):
  7674. - When somebody requests a list of statuses or servers, and we have
  7675. none of those, return a 404 rather than an empty 200.
  7676. o Minor features (directory voting):
  7677. - Store v3 consensus status consensuses on disk, and reload them
  7678. on startup.
  7679. o Minor features (security):
  7680. - Warn about unsafe ControlPort configurations.
  7681. - Refuse to start with certain directory authority keys, and
  7682. encourage people using them to stop.
  7683. o Minor features (controller):
  7684. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  7685. is valid before any authentication has been received. It tells
  7686. a controller what kind of authentication is expected, and what
  7687. protocol is spoken. Implements proposal 119.
  7688. - New config option CookieAuthFile to choose a new location for the
  7689. cookie authentication file, and config option
  7690. CookieAuthFileGroupReadable to make it group-readable.
  7691. o Minor features (unit testing):
  7692. - Add command-line arguments to unit-test executable so that we can
  7693. invoke any chosen test from the command line rather than having
  7694. to run the whole test suite at once; and so that we can turn on
  7695. logging for the unit tests.
  7696. o Minor bugfixes (on 0.1.2.x):
  7697. - If we require CookieAuthentication but we fail to write the
  7698. cookie file, we would warn but not exit, and end up in a state
  7699. where no controller could authenticate. Now we exit.
  7700. - If we require CookieAuthentication, stop generating a new cookie
  7701. every time we change any piece of our config.
  7702. - When loading bandwidth history, do not believe any information in
  7703. the future. Fixes bug 434.
  7704. - When loading entry guard information, do not believe any information
  7705. in the future.
  7706. - When we have our clock set far in the future and generate an
  7707. onion key, then re-set our clock to be correct, we should not stop
  7708. the onion key from getting rotated.
  7709. - Clean up torrc sample config file.
  7710. - Do not automatically run configure from autogen.sh. This
  7711. non-standard behavior tended to annoy people who have built other
  7712. programs.
  7713. o Minor bugfixes (on 0.2.0.x):
  7714. - Fix a bug with AutomapHostsOnResolve that would always cause
  7715. the second request to fail. Bug reported by Kate. Bugfix on
  7716. 0.2.0.3-alpha.
  7717. - Fix a bug in ADDRMAP controller replies that would sometimes
  7718. try to print a NULL. Patch from tup.
  7719. - Read v3 directory authority keys from the right location.
  7720. - Numerous bugfixes to directory voting code.
  7721. Changes in version 0.1.2.16 - 2007-08-01
  7722. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  7723. remote attacker in certain situations to rewrite the user's torrc
  7724. configuration file. This can completely compromise anonymity of users
  7725. in most configurations, including those running the Vidalia bundles,
  7726. TorK, etc. Or worse.
  7727. o Major security fixes:
  7728. - Close immediately after missing authentication on control port;
  7729. do not allow multiple authentication attempts.
  7730. Changes in version 0.2.0.4-alpha - 2007-08-01
  7731. This fourth development snapshot fixes a critical security vulnerability
  7732. for most users, specifically those running Vidalia, TorK, etc. Everybody
  7733. should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
  7734. o Major security fixes:
  7735. - Close immediately after missing authentication on control port;
  7736. do not allow multiple authentication attempts.
  7737. o Major bugfixes (compilation):
  7738. - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
  7739. defined there.
  7740. o Minor features (performance):
  7741. - Be even more aggressive about releasing RAM from small
  7742. empty buffers. Thanks to our free-list code, this shouldn't be too
  7743. performance-intensive.
  7744. - Disable sentinel-based debugging for buffer code: we squashed all
  7745. the bugs that this was supposed to detect a long time ago, and
  7746. now its only effect is to change our buffer sizes from nice
  7747. powers of two (which platform mallocs tend to like) to values
  7748. slightly over powers of two (which make some platform mallocs sad).
  7749. - Log malloc statistics from mallinfo() on platforms where it
  7750. exists.
  7751. Changes in version 0.2.0.3-alpha - 2007-07-29
  7752. This third development snapshot introduces new experimental
  7753. blocking-resistance features and a preliminary version of the v3
  7754. directory voting design, and includes many other smaller features
  7755. and bugfixes.
  7756. o Major features:
  7757. - The first pieces of our "bridge" design for blocking-resistance
  7758. are implemented. People can run bridge directory authorities;
  7759. people can run bridges; and people can configure their Tor clients
  7760. with a set of bridges to use as the first hop into the Tor network.
  7761. See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
  7762. details.
  7763. - Create listener connections before we setuid to the configured
  7764. User and Group. Now non-Windows users can choose port values
  7765. under 1024, start Tor as root, and have Tor bind those ports
  7766. before it changes to another UID. (Windows users could already
  7767. pick these ports.)
  7768. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  7769. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  7770. on "vserver" accounts. (Patch from coderman.)
  7771. - Be even more aggressive about separating local traffic from relayed
  7772. traffic when RelayBandwidthRate is set. (Refines proposal 111.)
  7773. o Major features (experimental):
  7774. - First cut of code for "v3 dir voting": directory authorities will
  7775. vote on a common network status document rather than each publishing
  7776. their own opinion. This code needs more testing and more corner-case
  7777. handling before it's ready for use.
  7778. o Security fixes:
  7779. - Directory authorities now call routers Fast if their bandwidth is
  7780. at least 100KB/s, and consider their bandwidth adequate to be a
  7781. Guard if it is at least 250KB/s, no matter the medians. This fix
  7782. complements proposal 107. [Bugfix on 0.1.2.x]
  7783. - Directory authorities now never mark more than 3 servers per IP as
  7784. Valid and Running. (Implements proposal 109, by Kevin Bauer and
  7785. Damon McCoy.)
  7786. - Minor change to organizationName and commonName generation
  7787. procedures in TLS certificates during Tor handshakes, to invalidate
  7788. some earlier censorware approaches. This is not a long-term
  7789. solution, but applying it will give us a bit of time to look into
  7790. the epidemiology of countermeasures as they spread.
  7791. o Major bugfixes (directory):
  7792. - Rewrite directory tokenization code to never run off the end of
  7793. a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
  7794. o Minor features (controller):
  7795. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  7796. match requests to applications. (Patch from Robert Hogan.)
  7797. - Report address and port correctly on connections to DNSPort. (Patch
  7798. from Robert Hogan.)
  7799. - Add a RESOLVE command to launch hostname lookups. (Original patch
  7800. from Robert Hogan.)
  7801. - Add GETINFO status/enough-dir-info to let controllers tell whether
  7802. Tor has downloaded sufficient directory information. (Patch
  7803. from Tup.)
  7804. - You can now use the ControlSocket option to tell Tor to listen for
  7805. controller connections on Unix domain sockets on systems that
  7806. support them. (Patch from Peter Palfrader.)
  7807. - STREAM NEW events are generated for DNSPort requests and for
  7808. tunneled directory connections. (Patch from Robert Hogan.)
  7809. - New "GETINFO address-mappings/*" command to get address mappings
  7810. with expiry information. "addr-mappings/*" is now deprecated.
  7811. (Patch from Tup.)
  7812. o Minor features (misc):
  7813. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  7814. from croup.)
  7815. - The tor-gencert tool for v3 directory authorities now creates all
  7816. files as readable to the file creator only, and write-protects
  7817. the authority identity key.
  7818. - When dumping memory usage, list bytes used in buffer memory
  7819. free-lists.
  7820. - When running with dmalloc, dump more stats on hup and on exit.
  7821. - Directory authorities now fail quickly and (relatively) harmlessly
  7822. if they generate a network status document that is somehow
  7823. malformed.
  7824. o Traffic load balancing improvements:
  7825. - If exit bandwidth ever exceeds one third of total bandwidth, then
  7826. use the correct formula to weight exit nodes when choosing paths.
  7827. (Based on patch from Mike Perry.)
  7828. - Choose perfectly fairly among routers when choosing by bandwidth and
  7829. weighting by fraction of bandwidth provided by exits. Previously, we
  7830. would choose with only approximate fairness, and correct ourselves
  7831. if we ran off the end of the list. [Bugfix on 0.1.2.x]
  7832. o Performance improvements:
  7833. - Be more aggressive with freeing buffer RAM or putting it on the
  7834. memory free lists.
  7835. - Use Critical Sections rather than Mutexes for synchronizing threads
  7836. on win32; Mutexes are heavier-weight, and designed for synchronizing
  7837. between processes.
  7838. o Deprecated and removed features:
  7839. - RedirectExits is now deprecated.
  7840. - Stop allowing address masks that do not correspond to bit prefixes.
  7841. We have warned about these for a really long time; now it's time
  7842. to reject them. (Patch from croup.)
  7843. o Minor bugfixes (directory):
  7844. - Fix another crash bug related to extra-info caching. (Bug found by
  7845. Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
  7846. - Directories no longer return a "304 not modified" when they don't
  7847. have the networkstatus the client asked for. Also fix a memory
  7848. leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
  7849. - We had accidentally labelled 0.1.2.x directory servers as not
  7850. suitable for begin_dir requests, and had labelled no directory
  7851. servers as suitable for uploading extra-info documents. [Bugfix
  7852. on 0.2.0.1-alpha]
  7853. o Minor bugfixes (dns):
  7854. - Fix a crash when DNSPort is set more than once. (Patch from Robert
  7855. Hogan.) [Bugfix on 0.2.0.2-alpha]
  7856. - Add DNSPort connections to the global connection list, so that we
  7857. can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
  7858. on 0.2.0.2-alpha]
  7859. - Fix a dangling reference that could lead to a crash when DNSPort is
  7860. changed or closed (Patch from Robert Hogan.) [Bugfix on
  7861. 0.2.0.2-alpha]
  7862. o Minor bugfixes (controller):
  7863. - Provide DNS expiry times in GMT, not in local time. For backward
  7864. compatibility, ADDRMAP events only provide GMT expiry in an extended
  7865. field. "GETINFO address-mappings" always does the right thing.
  7866. - Use CRLF line endings properly in NS events.
  7867. - Terminate multi-line control events properly. (Original patch
  7868. from tup.) [Bugfix on 0.1.2.x-alpha]
  7869. - Do not include spaces in SOURCE_ADDR fields in STREAM
  7870. events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
  7871. Changes in version 0.1.2.15 - 2007-07-17
  7872. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  7873. problems, fixes compilation on BSD, and fixes a variety of other
  7874. bugs. Everybody should upgrade.
  7875. o Major bugfixes (compilation):
  7876. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  7877. o Major bugfixes (crashes):
  7878. - Try even harder not to dereference the first character after
  7879. an mmap(). Reported by lodger.
  7880. - Fix a crash bug in directory authorities when we re-number the
  7881. routerlist while inserting a new router.
  7882. - When the cached-routers file is an even multiple of the page size,
  7883. don't run off the end and crash. (Fixes bug 455; based on idea
  7884. from croup.)
  7885. - Fix eventdns.c behavior on Solaris: It is critical to include
  7886. orconfig.h _before_ sys/types.h, so that we can get the expected
  7887. definition of _FILE_OFFSET_BITS.
  7888. o Major bugfixes (security):
  7889. - Fix a possible buffer overrun when using BSD natd support. Bug
  7890. found by croup.
  7891. - When sending destroy cells from a circuit's origin, don't include
  7892. the reason for tearing down the circuit. The spec says we didn't,
  7893. and now we actually don't. Reported by lodger.
  7894. - Keep streamids from different exits on a circuit separate. This
  7895. bug may have allowed other routers on a given circuit to inject
  7896. cells into streams. Reported by lodger; fixes bug 446.
  7897. - If there's a never-before-connected-to guard node in our list,
  7898. never choose any guards past it. This way we don't expand our
  7899. guard list unless we need to.
  7900. o Minor bugfixes (guard nodes):
  7901. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  7902. don't get overused as guards.
  7903. o Minor bugfixes (directory):
  7904. - Correctly count the number of authorities that recommend each
  7905. version. Previously, we were under-counting by 1.
  7906. - Fix a potential crash bug when we load many server descriptors at
  7907. once and some of them make others of them obsolete. Fixes bug 458.
  7908. o Minor bugfixes (hidden services):
  7909. - Stop tearing down the whole circuit when the user asks for a
  7910. connection to a port that the hidden service didn't configure.
  7911. Resolves bug 444.
  7912. o Minor bugfixes (misc):
  7913. - On Windows, we were preventing other processes from reading
  7914. cached-routers while Tor was running. Reported by janbar.
  7915. - Fix a possible (but very unlikely) bug in picking routers by
  7916. bandwidth. Add a log message to confirm that it is in fact
  7917. unlikely. Patch from lodger.
  7918. - Backport a couple of memory leak fixes.
  7919. - Backport miscellaneous cosmetic bugfixes.
  7920. Changes in version 0.2.0.2-alpha - 2007-06-02
  7921. o Major bugfixes on 0.2.0.1-alpha:
  7922. - Fix an assertion failure related to servers without extra-info digests.
  7923. Resolves bugs 441 and 442.
  7924. o Minor features (directory):
  7925. - Support "If-Modified-Since" when answering HTTP requests for
  7926. directories, running-routers documents, and network-status documents.
  7927. (There's no need to support it for router descriptors, since those
  7928. are downloaded by descriptor digest.)
  7929. o Minor build issues:
  7930. - Clear up some MIPSPro compiler warnings.
  7931. - When building from a tarball on a machine that happens to have SVK
  7932. installed, report the micro-revision as whatever version existed
  7933. in the tarball, not as "x".
  7934. Changes in version 0.2.0.1-alpha - 2007-06-01
  7935. This early development snapshot provides new features for people running
  7936. Tor as both a client and a server (check out the new RelayBandwidth
  7937. config options); lets Tor run as a DNS proxy; and generally moves us
  7938. forward on a lot of fronts.
  7939. o Major features, server usability:
  7940. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  7941. a separate set of token buckets for relayed traffic. Right now
  7942. relayed traffic is defined as answers to directory requests, and
  7943. OR connections that don't have any local circuits on them.
  7944. o Major features, client usability:
  7945. - A client-side DNS proxy feature to replace the need for
  7946. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  7947. for DNS requests on port 9999, use the Tor network to resolve them
  7948. anonymously, and send the reply back like a regular DNS server.
  7949. The code still only implements a subset of DNS.
  7950. - Make PreferTunneledDirConns and TunnelDirConns work even when
  7951. we have no cached directory info. This means Tor clients can now
  7952. do all of their connections protected by TLS.
  7953. o Major features, performance and efficiency:
  7954. - Directory authorities accept and serve "extra info" documents for
  7955. routers. These documents contain fields from router descriptors
  7956. that aren't usually needed, and that use a lot of excess
  7957. bandwidth. Once these fields are removed from router descriptors,
  7958. the bandwidth savings should be about 60%. [Partially implements
  7959. proposal 104.]
  7960. - Servers upload extra-info documents to any authority that accepts
  7961. them. Authorities (and caches that have been configured to download
  7962. extra-info documents) download them as needed. [Partially implements
  7963. proposal 104.]
  7964. - Change the way that Tor buffers data that it is waiting to write.
  7965. Instead of queueing data cells in an enormous ring buffer for each
  7966. client->OR or OR->OR connection, we now queue cells on a separate
  7967. queue for each circuit. This lets us use less slack memory, and
  7968. will eventually let us be smarter about prioritizing different kinds
  7969. of traffic.
  7970. - Use memory pools to allocate cells with better speed and memory
  7971. efficiency, especially on platforms where malloc() is inefficient.
  7972. - Stop reading on edge connections when their corresponding circuit
  7973. buffers are full; start again as the circuits empty out.
  7974. o Major features, other:
  7975. - Add an HSAuthorityRecordStats option that hidden service authorities
  7976. can use to track statistics of overall hidden service usage without
  7977. logging information that would be very useful to an attacker.
  7978. - Start work implementing multi-level keys for directory authorities:
  7979. Add a standalone tool to generate key certificates. (Proposal 103.)
  7980. o Security fixes:
  7981. - Directory authorities now call routers Stable if they have an
  7982. uptime of at least 30 days, even if that's not the median uptime
  7983. in the network. Implements proposal 107, suggested by Kevin Bauer
  7984. and Damon McCoy.
  7985. o Minor fixes (resource management):
  7986. - Count the number of open sockets separately from the number
  7987. of active connection_t objects. This will let us avoid underusing
  7988. our allocated connection limit.
  7989. - We no longer use socket pairs to link an edge connection to an
  7990. anonymous directory connection or a DirPort test connection.
  7991. Instead, we track the link internally and transfer the data
  7992. in-process. This saves two sockets per "linked" connection (at the
  7993. client and at the server), and avoids the nasty Windows socketpair()
  7994. workaround.
  7995. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  7996. for every single inactive connection_t. Free items from the
  7997. 4k/16k-buffer free lists when they haven't been used for a while.
  7998. o Minor features (build):
  7999. - Make autoconf search for libevent, openssl, and zlib consistently.
  8000. - Update deprecated macros in configure.in.
  8001. - When warning about missing headers, tell the user to let us
  8002. know if the compile succeeds anyway, so we can downgrade the
  8003. warning.
  8004. - Include the current subversion revision as part of the version
  8005. string: either fetch it directly if we're in an SVN checkout, do
  8006. some magic to guess it if we're in an SVK checkout, or use
  8007. the last-detected version if we're building from a .tar.gz.
  8008. Use this version consistently in log messages.
  8009. o Minor features (logging):
  8010. - Always prepend "Bug: " to any log message about a bug.
  8011. - Put a platform string (e.g. "Linux i686") in the startup log
  8012. message, so when people paste just their logs, we know if it's
  8013. OpenBSD or Windows or what.
  8014. - When logging memory usage, break down memory used in buffers by
  8015. buffer type.
  8016. o Minor features (directory system):
  8017. - New config option V2AuthoritativeDirectory that all directory
  8018. authorities should set. This will let future authorities choose
  8019. not to serve V2 directory information.
  8020. - Directory authorities allow multiple router descriptors and/or extra
  8021. info documents to be uploaded in a single go. This will make
  8022. implementing proposal 104 simpler.
  8023. o Minor features (controller):
  8024. - Add a new config option __DisablePredictedCircuits designed for
  8025. use by the controller, when we don't want Tor to build any circuits
  8026. preemptively.
  8027. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  8028. so we can exit from the middle of the circuit.
  8029. - Implement "getinfo status/circuit-established".
  8030. - Implement "getinfo status/version/..." so a controller can tell
  8031. whether the current version is recommended, and whether any versions
  8032. are good, and how many authorities agree. (Patch from shibz.)
  8033. o Minor features (hidden services):
  8034. - Allow multiple HiddenServicePort directives with the same virtual
  8035. port; when they occur, the user is sent round-robin to one
  8036. of the target ports chosen at random. Partially fixes bug 393 by
  8037. adding limited ad-hoc round-robining.
  8038. o Minor features (other):
  8039. - More unit tests.
  8040. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  8041. resolve request for hosts matching a given pattern causes Tor to
  8042. generate an internal virtual address mapping for that host. This
  8043. allows DNSPort to work sensibly with hidden service users. By
  8044. default, .exit and .onion addresses are remapped; the list of
  8045. patterns can be reconfigured with AutomapHostsSuffixes.
  8046. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  8047. address. Thanks to the AutomapHostsOnResolve option, this is no
  8048. longer a completely silly thing to do.
  8049. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  8050. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  8051. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  8052. minus 1 byte: the actual maximum declared bandwidth.
  8053. o Removed features:
  8054. - Removed support for the old binary "version 0" controller protocol.
  8055. This has been deprecated since 0.1.1, and warnings have been issued
  8056. since 0.1.2. When we encounter a v0 control message, we now send
  8057. back an error and close the connection.
  8058. - Remove the old "dns worker" server DNS code: it hasn't been default
  8059. since 0.1.2.2-alpha, and all the servers seem to be using the new
  8060. eventdns code.
  8061. o Minor bugfixes (portability):
  8062. - Even though Windows is equally happy with / and \ as path separators,
  8063. try to use \ consistently on Windows and / consistently on Unix: it
  8064. makes the log messages nicer.
  8065. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  8066. - Read resolv.conf files correctly on platforms where read() returns
  8067. partial results on small file reads.
  8068. o Minor bugfixes (directory):
  8069. - Correctly enforce that elements of directory objects do not appear
  8070. more often than they are allowed to appear.
  8071. - When we are reporting the DirServer line we just parsed, we were
  8072. logging the second stanza of the key fingerprint, not the first.
  8073. o Minor bugfixes (logging):
  8074. - When we hit an EOF on a log (probably because we're shutting down),
  8075. don't try to remove the log from the list: just mark it as
  8076. unusable. (Bulletproofs against bug 222.)
  8077. o Minor bugfixes (other):
  8078. - In the exitlist script, only consider the most recently published
  8079. server descriptor for each server. Also, when the user requests
  8080. a list of servers that _reject_ connections to a given address,
  8081. explicitly exclude the IPs that also have servers that accept
  8082. connections to that address. (Resolves bug 405.)
  8083. - Stop allowing hibernating servers to be "stable" or "fast".
  8084. - On Windows, we were preventing other processes from reading
  8085. cached-routers while Tor was running. (Reported by janbar)
  8086. - Make the NodeFamilies config option work. (Reported by
  8087. lodger -- it has never actually worked, even though we added it
  8088. in Oct 2004.)
  8089. - Check return values from pthread_mutex functions.
  8090. - Don't save non-general-purpose router descriptors to the disk cache,
  8091. because we have no way of remembering what their purpose was when
  8092. we restart.
  8093. - Add even more asserts to hunt down bug 417.
  8094. - Build without verbose warnings even on (not-yet-released) gcc 4.2.
  8095. - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
  8096. Add a log message to confirm that it is in fact unlikely.
  8097. o Minor bugfixes (controller):
  8098. - Make 'getinfo fingerprint' return a 551 error if we're not a
  8099. server, so we match what the control spec claims we do. Reported
  8100. by daejees.
  8101. - Fix a typo in an error message when extendcircuit fails that
  8102. caused us to not follow the \r\n-based delimiter protocol. Reported
  8103. by daejees.
  8104. o Code simplifications and refactoring:
  8105. - Stop passing around circuit_t and crypt_path_t pointers that are
  8106. implicit in other procedure arguments.
  8107. - Drop the old code to choke directory connections when the
  8108. corresponding OR connections got full: thanks to the cell queue
  8109. feature, OR conns don't get full any more.
  8110. - Make dns_resolve() handle attaching connections to circuits
  8111. properly, so the caller doesn't have to.
  8112. - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
  8113. - Keep the connection array as a dynamic smartlist_t, rather than as
  8114. a fixed-sized array. This is important, as the number of connections
  8115. is becoming increasingly decoupled from the number of sockets.
  8116. Changes in version 0.1.2.14 - 2007-05-25
  8117. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  8118. change especially affects those who serve or use hidden services),
  8119. and fixes several other crash- and security-related bugs.
  8120. o Directory authority changes:
  8121. - Two directory authorities (moria1 and moria2) just moved to new
  8122. IP addresses. This change will particularly affect those who serve
  8123. or use hidden services.
  8124. o Major bugfixes (crashes):
  8125. - If a directory server runs out of space in the connection table
  8126. as it's processing a begin_dir request, it will free the exit stream
  8127. but leave it attached to the circuit, leading to unpredictable
  8128. behavior. (Reported by seeess, fixes bug 425.)
  8129. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  8130. to corrupt memory under some really unlikely scenarios.
  8131. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  8132. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  8133. by lodger.)
  8134. o Major bugfixes (security):
  8135. - When choosing an entry guard for a circuit, avoid using guards
  8136. that are in the same family as the chosen exit -- not just guards
  8137. that are exactly the chosen exit. (Reported by lodger.)
  8138. o Major bugfixes (resource management):
  8139. - If a directory authority is down, skip it when deciding where to get
  8140. networkstatus objects or descriptors. Otherwise we keep asking
  8141. every 10 seconds forever. Fixes bug 384.
  8142. - Count it as a failure if we fetch a valid network-status but we
  8143. don't want to keep it. Otherwise we'll keep fetching it and keep
  8144. not wanting to keep it. Fixes part of bug 422.
  8145. - If all of our dirservers have given us bad or no networkstatuses
  8146. lately, then stop hammering them once per minute even when we
  8147. think they're failed. Fixes another part of bug 422.
  8148. o Minor bugfixes:
  8149. - Actually set the purpose correctly for descriptors inserted with
  8150. purpose=controller.
  8151. - When we have k non-v2 authorities in our DirServer config,
  8152. we ignored the last k authorities in the list when updating our
  8153. network-statuses.
  8154. - Correctly back-off from requesting router descriptors that we are
  8155. having a hard time downloading.
  8156. - Read resolv.conf files correctly on platforms where read() returns
  8157. partial results on small file reads.
  8158. - Don't rebuild the entire router store every time we get 32K of
  8159. routers: rebuild it when the journal gets very large, or when
  8160. the gaps in the store get very large.
  8161. o Minor features:
  8162. - When routers publish SVN revisions in their router descriptors,
  8163. authorities now include those versions correctly in networkstatus
  8164. documents.
  8165. - Warn when using a version of libevent before 1.3b to run a server on
  8166. OSX or BSD: these versions interact badly with userspace threads.
  8167. Changes in version 0.1.2.13 - 2007-04-24
  8168. This release features some major anonymity fixes, such as safer path
  8169. selection; better client performance; faster bootstrapping, better
  8170. address detection, and better DNS support for servers; write limiting as
  8171. well as read limiting to make servers easier to run; and a huge pile of
  8172. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  8173. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  8174. of the Freenode IRC network, remembering his patience and vision for
  8175. free speech on the Internet.
  8176. o Minor fixes:
  8177. - Fix a memory leak when we ask for "all" networkstatuses and we
  8178. get one we don't recognize.
  8179. - Add more asserts to hunt down bug 417.
  8180. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  8181. Changes in version 0.1.2.12-rc - 2007-03-16
  8182. o Major bugfixes:
  8183. - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
  8184. directory information requested inside Tor connections (i.e. via
  8185. begin_dir cells). It only triggered when the same connection was
  8186. serving other data at the same time. Reported by seeess.
  8187. o Minor bugfixes:
  8188. - When creating a circuit via the controller, send a 'launched'
  8189. event when we're done, so we follow the spec better.
  8190. Changes in version 0.1.2.11-rc - 2007-03-15
  8191. o Minor bugfixes (controller), reported by daejees:
  8192. - Correct the control spec to match how the code actually responds
  8193. to 'getinfo addr-mappings/*'.
  8194. - The control spec described a GUARDS event, but the code
  8195. implemented a GUARD event. Standardize on GUARD, but let people
  8196. ask for GUARDS too.
  8197. Changes in version 0.1.2.10-rc - 2007-03-07
  8198. o Major bugfixes (Windows):
  8199. - Do not load the NT services library functions (which may not exist)
  8200. just to detect if we're a service trying to shut down. Now we run
  8201. on Win98 and friends again.
  8202. o Minor bugfixes (other):
  8203. - Clarify a couple of log messages.
  8204. - Fix a misleading socks5 error number.
  8205. Changes in version 0.1.2.9-rc - 2007-03-02
  8206. o Major bugfixes (Windows):
  8207. - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
  8208. of the usual GCC "%llu". This prevents a bug when saving 64-bit
  8209. int configuration values: the high-order 32 bits would get
  8210. truncated. In particular, we were being bitten by the default
  8211. MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
  8212. and maybe also bug 397.)
  8213. o Minor bugfixes (performance):
  8214. - Use OpenSSL's AES implementation on platforms where it's faster.
  8215. This could save us as much as 10% CPU usage.
  8216. o Minor bugfixes (server):
  8217. - Do not rotate onion key immediately after setting it for the first
  8218. time.
  8219. o Minor bugfixes (directory authorities):
  8220. - Stop calling servers that have been hibernating for a long time
  8221. "stable". Also, stop letting hibernating or obsolete servers affect
  8222. uptime and bandwidth cutoffs.
  8223. - Stop listing hibernating servers in the v1 directory.
  8224. o Minor bugfixes (hidden services):
  8225. - Upload hidden service descriptors slightly less often, to reduce
  8226. load on authorities.
  8227. o Minor bugfixes (other):
  8228. - Fix an assert that could trigger if a controller quickly set then
  8229. cleared EntryNodes. Bug found by Udo van den Heuvel.
  8230. - On architectures where sizeof(int)>4, still clamp declarable bandwidth
  8231. to INT32_MAX.
  8232. - Fix a potential race condition in the rpm installer. Found by
  8233. Stefan Nordhausen.
  8234. - Try to fix eventdns warnings once and for all: do not treat a dns rcode
  8235. of 2 as indicating that the server is completely bad; it sometimes
  8236. means that the server is just bad for the request in question. (may fix
  8237. the last of bug 326.)
  8238. - Disable encrypted directory connections when we don't have a server
  8239. descriptor for the destination. We'll get this working again in
  8240. the 0.2.0 branch.
  8241. Changes in version 0.1.2.8-beta - 2007-02-26
  8242. o Major bugfixes (crashes):
  8243. - Stop crashing when the controller asks us to resetconf more than
  8244. one config option at once. (Vidalia 0.0.11 does this.)
  8245. - Fix a crash that happened on Win98 when we're given command-line
  8246. arguments: don't try to load NT service functions from advapi32.dll
  8247. except when we need them. (Bug introduced in 0.1.2.7-alpha;
  8248. resolves bug 389.)
  8249. - Fix a longstanding obscure crash bug that could occur when
  8250. we run out of DNS worker processes. (Resolves bug 390.)
  8251. o Major bugfixes (hidden services):
  8252. - Correctly detect whether hidden service descriptor downloads are
  8253. in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
  8254. o Major bugfixes (accounting):
  8255. - When we start during an accounting interval before it's time to wake
  8256. up, remember to wake up at the correct time. (May fix bug 342.)
  8257. o Minor bugfixes (controller):
  8258. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  8259. clear the corresponding on_circuit variable, and remember later
  8260. that we don't need to send a redundant CLOSED event. Resolves part
  8261. 3 of bug 367.
  8262. - Report events where a resolve succeeded or where we got a socks
  8263. protocol error correctly, rather than calling both of them
  8264. "INTERNAL".
  8265. - Change reported stream target addresses to IP consistently when
  8266. we finally get the IP from an exit node.
  8267. - Send log messages to the controller even if they happen to be very
  8268. long.
  8269. o Minor bugfixes (other):
  8270. - Display correct results when reporting which versions are
  8271. recommended, and how recommended they are. (Resolves bug 383.)
  8272. - Improve our estimates for directory bandwidth to be less random:
  8273. guess that an unrecognized directory will have the average bandwidth
  8274. from all known directories, not that it will have the average
  8275. bandwidth from those directories earlier than it on the list.
  8276. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  8277. and hup, stop triggering an assert based on an empty onion_key.
  8278. - On platforms with no working mmap() equivalent, don't warn the
  8279. user when cached-routers doesn't exist.
  8280. - Warn the user when mmap() [or its equivalent] fails for some reason
  8281. other than file-not-found.
  8282. - Don't warn the user when cached-routers.new doesn't exist: that's
  8283. perfectly fine when starting up for the first time.
  8284. - When EntryNodes are configured, rebuild the guard list to contain,
  8285. in order: the EntryNodes that were guards before; the rest of the
  8286. EntryNodes; the nodes that were guards before.
  8287. - Mask out all signals in sub-threads; only the libevent signal
  8288. handler should be processing them. This should prevent some crashes
  8289. on some machines using pthreads. (Patch from coderman.)
  8290. - Fix switched arguments on memset in the implementation of
  8291. tor_munmap() for systems with no mmap() call.
  8292. - When Tor receives a router descriptor that it asked for, but
  8293. no longer wants (because it has received fresh networkstatuses
  8294. in the meantime), do not warn the user. Cache the descriptor if
  8295. we're a cache; drop it if we aren't.
  8296. - Make earlier entry guards _really_ get retried when the network
  8297. comes back online.
  8298. - On a malformed DNS reply, always give an error to the corresponding
  8299. DNS request.
  8300. - Build with recent libevents on platforms that do not define the
  8301. nonstandard types "u_int8_t" and friends.
  8302. o Minor features (controller):
  8303. - Warn the user when an application uses the obsolete binary v0
  8304. control protocol. We're planning to remove support for it during
  8305. the next development series, so it's good to give people some
  8306. advance warning.
  8307. - Add STREAM_BW events to report per-entry-stream bandwidth
  8308. use. (Patch from Robert Hogan.)
  8309. - Rate-limit SIGNEWNYM signals in response to controllers that
  8310. impolitely generate them for every single stream. (Patch from
  8311. mwenge; closes bug 394.)
  8312. - Make REMAP stream events have a SOURCE (cache or exit), and
  8313. make them generated in every case where we get a successful
  8314. connected or resolved cell.
  8315. o Minor bugfixes (performance):
  8316. - Call router_have_min_dir_info half as often. (This is showing up in
  8317. some profiles, but not others.)
  8318. - When using GCC, make log_debug never get called at all, and its
  8319. arguments never get evaluated, when no debug logs are configured.
  8320. (This is showing up in some profiles, but not others.)
  8321. o Minor features:
  8322. - Remove some never-implemented options. Mark PathlenCoinWeight as
  8323. obsolete.
  8324. - Implement proposal 106: Stop requiring clients to have well-formed
  8325. certificates; stop checking nicknames in certificates. (Clients
  8326. have certificates so that they can look like Tor servers, but in
  8327. the future we might want to allow them to look like regular TLS
  8328. clients instead. Nicknames in certificates serve no purpose other
  8329. than making our protocol easier to recognize on the wire.)
  8330. - Revise messages on handshake failure again to be even more clear about
  8331. which are incoming connections and which are outgoing.
  8332. - Discard any v1 directory info that's over 1 month old (for
  8333. directories) or over 1 week old (for running-routers lists).
  8334. - Do not warn when individual nodes in the configuration's EntryNodes,
  8335. ExitNodes, etc are down: warn only when all possible nodes
  8336. are down. (Fixes bug 348.)
  8337. - Always remove expired routers and networkstatus docs before checking
  8338. whether we have enough information to build circuits. (Fixes
  8339. bug 373.)
  8340. - Put a lower-bound on MaxAdvertisedBandwidth.
  8341. Changes in version 0.1.2.7-alpha - 2007-02-06
  8342. o Major bugfixes (rate limiting):
  8343. - Servers decline directory requests much more aggressively when
  8344. they're low on bandwidth. Otherwise they end up queueing more and
  8345. more directory responses, which can't be good for latency.
  8346. - But never refuse directory requests from local addresses.
  8347. - Fix a memory leak when sending a 503 response for a networkstatus
  8348. request.
  8349. - Be willing to read or write on local connections (e.g. controller
  8350. connections) even when the global rate limiting buckets are empty.
  8351. - If our system clock jumps back in time, don't publish a negative
  8352. uptime in the descriptor. Also, don't let the global rate limiting
  8353. buckets go absurdly negative.
  8354. - Flush local controller connection buffers periodically as we're
  8355. writing to them, so we avoid queueing 4+ megabytes of data before
  8356. trying to flush.
  8357. o Major bugfixes (NT services):
  8358. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  8359. command-line flag so that admins can override the default by saying
  8360. "tor --service install --user "SomeUser"". This will not affect
  8361. existing installed services. Also, warn the user that the service
  8362. will look for its configuration file in the service user's
  8363. %appdata% directory. (We can't do the 'hardwire the user's appdata
  8364. directory' trick any more, since we may not have read access to that
  8365. directory.)
  8366. o Major bugfixes (other):
  8367. - Previously, we would cache up to 16 old networkstatus documents
  8368. indefinitely, if they came from nontrusted authorities. Now we
  8369. discard them if they are more than 10 days old.
  8370. - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
  8371. Del Vecchio).
  8372. - Detect and reject malformed DNS responses containing circular
  8373. pointer loops.
  8374. - If exits are rare enough that we're not marking exits as guards,
  8375. ignore exit bandwidth when we're deciding the required bandwidth
  8376. to become a guard.
  8377. - When we're handling a directory connection tunneled over Tor,
  8378. don't fill up internal memory buffers with all the data we want
  8379. to tunnel; instead, only add it if the OR connection that will
  8380. eventually receive it has some room for it. (This can lead to
  8381. slowdowns in tunneled dir connections; a better solution will have
  8382. to wait for 0.2.0.)
  8383. o Minor bugfixes (dns):
  8384. - Add some defensive programming to eventdns.c in an attempt to catch
  8385. possible memory-stomping bugs.
  8386. - Detect and reject DNS replies containing IPv4 or IPv6 records with
  8387. an incorrect number of bytes. (Previously, we would ignore the
  8388. extra bytes.)
  8389. - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
  8390. in the correct order, and doesn't crash.
  8391. - Free memory held in recently-completed DNS lookup attempts on exit.
  8392. This was not a memory leak, but may have been hiding memory leaks.
  8393. - Handle TTL values correctly on reverse DNS lookups.
  8394. - Treat failure to parse resolv.conf as an error.
  8395. o Minor bugfixes (other):
  8396. - Fix crash with "tor --list-fingerprint" (reported by seeess).
  8397. - When computing clock skew from directory HTTP headers, consider what
  8398. time it was when we finished asking for the directory, not what
  8399. time it is now.
  8400. - Expire socks connections if they spend too long waiting for the
  8401. handshake to finish. Previously we would let them sit around for
  8402. days, if the connecting application didn't close them either.
  8403. - And if the socks handshake hasn't started, don't send a
  8404. "DNS resolve socks failed" handshake reply; just close it.
  8405. - Stop using C functions that OpenBSD's linker doesn't like.
  8406. - Don't launch requests for descriptors unless we have networkstatuses
  8407. from at least half of the authorities. This delays the first
  8408. download slightly under pathological circumstances, but can prevent
  8409. us from downloading a bunch of descriptors we don't need.
  8410. - Do not log IPs with TLS failures for incoming TLS
  8411. connections. (Fixes bug 382.)
  8412. - If the user asks to use invalid exit nodes, be willing to use
  8413. unstable ones.
  8414. - Stop using the reserved ac_cv namespace in our configure script.
  8415. - Call stat() slightly less often; use fstat() when possible.
  8416. - Refactor the way we handle pending circuits when an OR connection
  8417. completes or fails, in an attempt to fix a rare crash bug.
  8418. - Only rewrite a conn's address based on X-Forwarded-For: headers
  8419. if it's a parseable public IP address; and stop adding extra quotes
  8420. to the resulting address.
  8421. o Major features:
  8422. - Weight directory requests by advertised bandwidth. Now we can
  8423. let servers enable write limiting but still allow most clients to
  8424. succeed at their directory requests. (We still ignore weights when
  8425. choosing a directory authority; I hope this is a feature.)
  8426. o Minor features:
  8427. - Create a new file ReleaseNotes which was the old ChangeLog. The
  8428. new ChangeLog file now includes the summaries for all development
  8429. versions too.
  8430. - Check for addresses with invalid characters at the exit as well
  8431. as at the client, and warn less verbosely when they fail. You can
  8432. override this by setting ServerDNSAllowNonRFC953Addresses to 1.
  8433. - Adapt a patch from goodell to let the contrib/exitlist script
  8434. take arguments rather than require direct editing.
  8435. - Inform the server operator when we decide not to advertise a
  8436. DirPort due to AccountingMax enabled or a low BandwidthRate. It
  8437. was confusing Zax, so now we're hopefully more helpful.
  8438. - Bring us one step closer to being able to establish an encrypted
  8439. directory tunnel without knowing a descriptor first. Still not
  8440. ready yet. As part of the change, now assume we can use a
  8441. create_fast cell if we don't know anything about a router.
  8442. - Allow exit nodes to use nameservers running on ports other than 53.
  8443. - Servers now cache reverse DNS replies.
  8444. - Add an --ignore-missing-torrc command-line option so that we can
  8445. get the "use sensible defaults if the configuration file doesn't
  8446. exist" behavior even when specifying a torrc location on the command
  8447. line.
  8448. o Minor features (controller):
  8449. - Track reasons for OR connection failure; make these reasons
  8450. available via the controller interface. (Patch from Mike Perry.)
  8451. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  8452. can learn when clients are sending malformed hostnames to Tor.
  8453. - Clean up documentation for controller status events.
  8454. - Add a REMAP status to stream events to note that a stream's
  8455. address has changed because of a cached address or a MapAddress
  8456. directive.
  8457. Changes in version 0.1.2.6-alpha - 2007-01-09
  8458. o Major bugfixes:
  8459. - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
  8460. connection handles more than 4 gigs in either direction, we crash.
  8461. - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
  8462. advertised exit node, somebody might try to exit from us when
  8463. we're bootstrapping and before we've built our descriptor yet.
  8464. Refuse the connection rather than crashing.
  8465. o Minor bugfixes:
  8466. - Warn if we (as a server) find that we've resolved an address that we
  8467. weren't planning to resolve.
  8468. - Warn that using select() on any libevent version before 1.1 will be
  8469. unnecessarily slow (even for select()).
  8470. - Flush ERR-level controller status events just like we currently
  8471. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  8472. the controller from learning about current events.
  8473. o Minor features (more controller status events):
  8474. - Implement EXTERNAL_ADDRESS server status event so controllers can
  8475. learn when our address changes.
  8476. - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
  8477. can learn when directories reject our descriptor.
  8478. - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
  8479. can learn when a client application is speaking a non-socks protocol
  8480. to our SocksPort.
  8481. - Implement DANGEROUS_SOCKS client status event so controllers
  8482. can learn when a client application is leaking DNS addresses.
  8483. - Implement BUG general status event so controllers can learn when
  8484. Tor is unhappy about its internal invariants.
  8485. - Implement CLOCK_SKEW general status event so controllers can learn
  8486. when Tor thinks the system clock is set incorrectly.
  8487. - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
  8488. server status events so controllers can learn when their descriptors
  8489. are accepted by a directory.
  8490. - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
  8491. server status events so controllers can learn about Tor's progress in
  8492. deciding whether it's reachable from the outside.
  8493. - Implement BAD_LIBEVENT general status event so controllers can learn
  8494. when we have a version/method combination in libevent that needs to
  8495. be changed.
  8496. - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
  8497. and DNS_USELESS server status events so controllers can learn
  8498. about changes to DNS server status.
  8499. o Minor features (directory):
  8500. - Authorities no longer recommend exits as guards if this would shift
  8501. too much load to the exit nodes.
  8502. Changes in version 0.1.2.5-alpha - 2007-01-06
  8503. o Major features:
  8504. - Enable write limiting as well as read limiting. Now we sacrifice
  8505. capacity if we're pushing out lots of directory traffic, rather
  8506. than overrunning the user's intended bandwidth limits.
  8507. - Include TLS overhead when counting bandwidth usage; previously, we
  8508. would count only the bytes sent over TLS, but not the bytes used
  8509. to send them.
  8510. - Support running the Tor service with a torrc not in the same
  8511. directory as tor.exe and default to using the torrc located in
  8512. the %appdata%\Tor\ of the user who installed the service. Patch
  8513. from Matt Edman.
  8514. - Servers now check for the case when common DNS requests are going to
  8515. wildcarded addresses (i.e. all getting the same answer), and change
  8516. their exit policy to reject *:* if it's happening.
  8517. - Implement BEGIN_DIR cells, so we can connect to the directory
  8518. server via TLS to do encrypted directory requests rather than
  8519. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  8520. config options if you like.
  8521. o Minor features (config and docs):
  8522. - Start using the state file to store bandwidth accounting data:
  8523. the bw_accounting file is now obsolete. We'll keep generating it
  8524. for a while for people who are still using 0.1.2.4-alpha.
  8525. - Try to batch changes to the state file so that we do as few
  8526. disk writes as possible while still storing important things in
  8527. a timely fashion.
  8528. - The state file and the bw_accounting file get saved less often when
  8529. the AvoidDiskWrites config option is set.
  8530. - Make PIDFile work on Windows (untested).
  8531. - Add internal descriptions for a bunch of configuration options:
  8532. accessible via controller interface and in comments in saved
  8533. options files.
  8534. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  8535. NNTP by default, so this seems like a sensible addition.
  8536. - Clients now reject hostnames with invalid characters. This should
  8537. avoid some inadvertent info leaks. Add an option
  8538. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  8539. is running a private network with hosts called @, !, and #.
  8540. - Add a maintainer script to tell us which options are missing
  8541. documentation: "make check-docs".
  8542. - Add a new address-spec.txt document to describe our special-case
  8543. addresses: .exit, .onion, and .noconnnect.
  8544. o Minor features (DNS):
  8545. - Ongoing work on eventdns infrastructure: now it has dns server
  8546. and ipv6 support. One day Tor will make use of it.
  8547. - Add client-side caching for reverse DNS lookups.
  8548. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  8549. - When we change nameservers or IP addresses, reset and re-launch
  8550. our tests for DNS hijacking.
  8551. o Minor features (directory):
  8552. - Authorities now specify server versions in networkstatus. This adds
  8553. about 2% to the size of compressed networkstatus docs, and allows
  8554. clients to tell which servers support BEGIN_DIR and which don't.
  8555. The implementation is forward-compatible with a proposed future
  8556. protocol version scheme not tied to Tor versions.
  8557. - DirServer configuration lines now have an orport= option so
  8558. clients can open encrypted tunnels to the authorities without
  8559. having downloaded their descriptors yet. Enabled for moria1,
  8560. moria2, tor26, and lefkada now in the default configuration.
  8561. - Directory servers are more willing to send a 503 "busy" if they
  8562. are near their write limit, especially for v1 directory requests.
  8563. Now they can use their limited bandwidth for actual Tor traffic.
  8564. - Clients track responses with status 503 from dirservers. After a
  8565. dirserver has given us a 503, we try not to use it until an hour has
  8566. gone by, or until we have no dirservers that haven't given us a 503.
  8567. - When we get a 503 from a directory, and we're not a server, we don't
  8568. count the failure against the total number of failures allowed
  8569. for the thing we're trying to download.
  8570. - Report X-Your-Address-Is correctly from tunneled directory
  8571. connections; don't report X-Your-Address-Is when it's an internal
  8572. address; and never believe reported remote addresses when they're
  8573. internal.
  8574. - Protect against an unlikely DoS attack on directory servers.
  8575. - Add a BadDirectory flag to network status docs so that authorities
  8576. can (eventually) tell clients about caches they believe to be
  8577. broken.
  8578. o Minor features (controller):
  8579. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  8580. - Reimplement GETINFO so that info/names stays in sync with the
  8581. actual keys.
  8582. - Implement "GETINFO fingerprint".
  8583. - Implement "SETEVENTS GUARD" so controllers can get updates on
  8584. entry guard status as it changes.
  8585. o Minor features (clean up obsolete pieces):
  8586. - Remove some options that have been deprecated since at least
  8587. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  8588. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  8589. to set log options.
  8590. - We no longer look for identity and onion keys in "identity.key" and
  8591. "onion.key" -- these were replaced by secret_id_key and
  8592. secret_onion_key in 0.0.8pre1.
  8593. - We no longer require unrecognized directory entries to be
  8594. preceded by "opt".
  8595. o Major bugfixes (security):
  8596. - Stop sending the HttpProxyAuthenticator string to directory
  8597. servers when directory connections are tunnelled through Tor.
  8598. - Clients no longer store bandwidth history in the state file.
  8599. - Do not log introduction points for hidden services if SafeLogging
  8600. is set.
  8601. - When generating bandwidth history, round down to the nearest
  8602. 1k. When storing accounting data, round up to the nearest 1k.
  8603. - When we're running as a server, remember when we last rotated onion
  8604. keys, so that we will rotate keys once they're a week old even if
  8605. we never stay up for a week ourselves.
  8606. o Major bugfixes (other):
  8607. - Fix a longstanding bug in eventdns that prevented the count of
  8608. timed-out resolves from ever being reset. This bug caused us to
  8609. give up on a nameserver the third time it timed out, and try it
  8610. 10 seconds later... and to give up on it every time it timed out
  8611. after that.
  8612. - Take out the '5 second' timeout from the connection retry
  8613. schedule. Now the first connect attempt will wait a full 10
  8614. seconds before switching to a new circuit. Perhaps this will help
  8615. a lot. Based on observations from Mike Perry.
  8616. - Fix a bug on the Windows implementation of tor_mmap_file() that
  8617. would prevent the cached-routers file from ever loading. Reported
  8618. by John Kimble.
  8619. o Minor bugfixes:
  8620. - Fix an assert failure when a directory authority sets
  8621. AuthDirRejectUnlisted and then receives a descriptor from an
  8622. unlisted router. Reported by seeess.
  8623. - Avoid a double-free when parsing malformed DirServer lines.
  8624. - Fix a bug when a BSD-style PF socket is first used. Patch from
  8625. Fabian Keil.
  8626. - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
  8627. to resolve an address at a given exit node even when they ask for
  8628. it by name.
  8629. - Servers no longer ever list themselves in their "family" line,
  8630. even if configured to do so. This makes it easier to configure
  8631. family lists conveniently.
  8632. - When running as a server, don't fall back to 127.0.0.1 when no
  8633. nameservers are configured in /etc/resolv.conf; instead, make the
  8634. user fix resolv.conf or specify nameservers explicitly. (Resolves
  8635. bug 363.)
  8636. - Stop accepting certain malformed ports in configured exit policies.
  8637. - Don't re-write the fingerprint file every restart, unless it has
  8638. changed.
  8639. - Stop warning when a single nameserver fails: only warn when _all_ of
  8640. our nameservers have failed. Also, when we only have one nameserver,
  8641. raise the threshold for deciding that the nameserver is dead.
  8642. - Directory authorities now only decide that routers are reachable
  8643. if their identity keys are as expected.
  8644. - When the user uses bad syntax in the Log config line, stop
  8645. suggesting other bad syntax as a replacement.
  8646. - Correctly detect ipv6 DNS capability on OpenBSD.
  8647. o Minor bugfixes (controller):
  8648. - Report the circuit number correctly in STREAM CLOSED events. Bug
  8649. reported by Mike Perry.
  8650. - Do not report bizarre values for results of accounting GETINFOs
  8651. when the last second's write or read exceeds the allotted bandwidth.
  8652. - Report "unrecognized key" rather than an empty string when the
  8653. controller tries to fetch a networkstatus that doesn't exist.
  8654. Changes in version 0.1.1.26 - 2006-12-14
  8655. o Security bugfixes:
  8656. - Stop sending the HttpProxyAuthenticator string to directory
  8657. servers when directory connections are tunnelled through Tor.
  8658. - Clients no longer store bandwidth history in the state file.
  8659. - Do not log introduction points for hidden services if SafeLogging
  8660. is set.
  8661. o Minor bugfixes:
  8662. - Fix an assert failure when a directory authority sets
  8663. AuthDirRejectUnlisted and then receives a descriptor from an
  8664. unlisted router (reported by seeess).
  8665. Changes in version 0.1.2.4-alpha - 2006-12-03
  8666. o Major features:
  8667. - Add support for using natd; this allows FreeBSDs earlier than
  8668. 5.1.2 to have ipfw send connections through Tor without using
  8669. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  8670. o Minor features:
  8671. - Make all connections to addresses of the form ".noconnect"
  8672. immediately get closed. This lets application/controller combos
  8673. successfully test whether they're talking to the same Tor by
  8674. watching for STREAM events.
  8675. - Make cross.sh cross-compilation script work even when autogen.sh
  8676. hasn't been run. (Patch from Michael Mohr.)
  8677. - Statistics dumped by -USR2 now include a breakdown of public key
  8678. operations, for profiling.
  8679. o Major bugfixes:
  8680. - Fix a major leak when directory authorities parse their
  8681. approved-routers list, a minor memory leak when we fail to pick
  8682. an exit node, and a few rare leaks on errors.
  8683. - Handle TransPort connections even when the server sends data before
  8684. the client sends data. Previously, the connection would just hang
  8685. until the client sent data. (Patch from tup based on patch from
  8686. Zajcev Evgeny.)
  8687. - Avoid assert failure when our cached-routers file is empty on
  8688. startup.
  8689. o Minor bugfixes:
  8690. - Don't log spurious warnings when we see a circuit close reason we
  8691. don't recognize; it's probably just from a newer version of Tor.
  8692. - Have directory authorities allow larger amounts of drift in uptime
  8693. without replacing the server descriptor: previously, a server that
  8694. restarted every 30 minutes could have 48 "interesting" descriptors
  8695. per day.
  8696. - Start linking to the Tor specification and Tor reference manual
  8697. correctly in the Windows installer.
  8698. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  8699. Tor/Privoxy we also uninstall Vidalia.
  8700. - Resume building on Irix64, and fix a lot of warnings from its
  8701. MIPSpro C compiler.
  8702. - Don't corrupt last_guessed_ip in router_new_address_suggestion()
  8703. when we're running as a client.
  8704. Changes in version 0.1.1.25 - 2006-11-04
  8705. o Major bugfixes:
  8706. - When a client asks us to resolve (rather than connect to)
  8707. an address, and we have a cached answer, give them the cached
  8708. answer. Previously, we would give them no answer at all.
  8709. - We were building exactly the wrong circuits when we predict
  8710. hidden service requirements, meaning Tor would have to build all
  8711. its circuits on demand.
  8712. - If none of our live entry guards have a high uptime, but we
  8713. require a guard with a high uptime, try adding a new guard before
  8714. we give up on the requirement. This patch should make long-lived
  8715. connections more stable on average.
  8716. - When testing reachability of our DirPort, don't launch new
  8717. tests when there's already one in progress -- unreachable
  8718. servers were stacking up dozens of testing streams.
  8719. o Security bugfixes:
  8720. - When the user sends a NEWNYM signal, clear the client-side DNS
  8721. cache too. Otherwise we continue to act on previous information.
  8722. o Minor bugfixes:
  8723. - Avoid a memory corruption bug when creating a hash table for
  8724. the first time.
  8725. - Avoid possibility of controller-triggered crash when misusing
  8726. certain commands from a v0 controller on platforms that do not
  8727. handle printf("%s",NULL) gracefully.
  8728. - Avoid infinite loop on unexpected controller input.
  8729. - Don't log spurious warnings when we see a circuit close reason we
  8730. don't recognize; it's probably just from a newer version of Tor.
  8731. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  8732. Tor/Privoxy we also uninstall Vidalia.
  8733. Changes in version 0.1.2.3-alpha - 2006-10-29
  8734. o Minor features:
  8735. - Prepare for servers to publish descriptors less often: never
  8736. discard a descriptor simply for being too old until either it is
  8737. recommended by no authorities, or until we get a better one for
  8738. the same router. Make caches consider retaining old recommended
  8739. routers for even longer.
  8740. - If most authorities set a BadExit flag for a server, clients
  8741. don't think of it as a general-purpose exit. Clients only consider
  8742. authorities that advertise themselves as listing bad exits.
  8743. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  8744. headers for content, so that we can work better in the presence of
  8745. caching HTTP proxies.
  8746. - Allow authorities to list nodes as bad exits by fingerprint or by
  8747. address.
  8748. o Minor features, controller:
  8749. - Add a REASON field to CIRC events; for backward compatibility, this
  8750. field is sent only to controllers that have enabled the extended
  8751. event format. Also, add additional reason codes to explain why
  8752. a given circuit has been destroyed or truncated. (Patches from
  8753. Mike Perry)
  8754. - Add a REMOTE_REASON field to extended CIRC events to tell the
  8755. controller about why a remote OR told us to close a circuit.
  8756. - Stream events also now have REASON and REMOTE_REASON fields,
  8757. working much like those for circuit events.
  8758. - There's now a GETINFO ns/... field so that controllers can ask Tor
  8759. about the current status of a router.
  8760. - A new event type "NS" to inform a controller when our opinion of
  8761. a router's status has changed.
  8762. - Add a GETINFO events/names and GETINFO features/names so controllers
  8763. can tell which events and features are supported.
  8764. - A new CLEARDNSCACHE signal to allow controllers to clear the
  8765. client-side DNS cache without expiring circuits.
  8766. o Security bugfixes:
  8767. - When the user sends a NEWNYM signal, clear the client-side DNS
  8768. cache too. Otherwise we continue to act on previous information.
  8769. o Minor bugfixes:
  8770. - Avoid sending junk to controllers or segfaulting when a controller
  8771. uses EVENT_NEW_DESC with verbose nicknames.
  8772. - Stop triggering asserts if the controller tries to extend hidden
  8773. service circuits (reported by mwenge).
  8774. - Avoid infinite loop on unexpected controller input.
  8775. - When the controller does a "GETINFO network-status", tell it
  8776. about even those routers whose descriptors are very old, and use
  8777. long nicknames where appropriate.
  8778. - Change NT service functions to be loaded on demand. This lets us
  8779. build with MinGW without breaking Tor for Windows 98 users.
  8780. - Do DirPort reachability tests less often, since a single test
  8781. chews through many circuits before giving up.
  8782. - In the hidden service example in torrc.sample, stop recommending
  8783. esoteric and discouraged hidden service options.
  8784. - When stopping an NT service, wait up to 10 sec for it to actually
  8785. stop. Patch from Matt Edman; resolves bug 295.
  8786. - Fix handling of verbose nicknames with ORCONN controller events:
  8787. make them show up exactly when requested, rather than exactly when
  8788. not requested.
  8789. - When reporting verbose nicknames in entry_guards_getinfo(), avoid
  8790. printing a duplicate "$" in the keys we send (reported by mwenge).
  8791. - Correctly set maximum connection limit on Cygwin. (This time
  8792. for sure!)
  8793. - Try to detect Windows correctly when cross-compiling.
  8794. - Detect the size of the routers file correctly even if it is
  8795. corrupted (on systems without mmap) or not page-aligned (on systems
  8796. with mmap). This bug was harmless.
  8797. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  8798. to open a stream fails; now we do in more cases. This should
  8799. make clients able to find a good exit faster in some cases, since
  8800. unhandleable requests will now get an error rather than timing out.
  8801. - Resolve two memory leaks when rebuilding the on-disk router cache
  8802. (reported by fookoowa).
  8803. - Clean up minor code warnings suggested by the MIPSpro C compiler,
  8804. and reported by some Centos users.
  8805. - Controller signals now work on non-Unix platforms that don't define
  8806. SIGUSR1 and SIGUSR2 the way we expect.
  8807. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  8808. values before failing, and always enables eventdns.
  8809. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  8810. Try to fix this in configure.in by checking for most functions
  8811. before we check for libevent.
  8812. Changes in version 0.1.2.2-alpha - 2006-10-07
  8813. o Major features:
  8814. - Make our async eventdns library on-by-default for Tor servers,
  8815. and plan to deprecate the separate dnsworker threads.
  8816. - Add server-side support for "reverse" DNS lookups (using PTR
  8817. records so clients can determine the canonical hostname for a given
  8818. IPv4 address). Only supported by servers using eventdns; servers
  8819. now announce in their descriptors whether they support eventdns.
  8820. - Specify and implement client-side SOCKS5 interface for reverse DNS
  8821. lookups (see doc/socks-extensions.txt).
  8822. - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
  8823. connect to directory servers through Tor. Previously, clients needed
  8824. to find Tor exits to make private connections to directory servers.
  8825. - Avoid choosing Exit nodes for entry or middle hops when the
  8826. total bandwidth available from non-Exit nodes is much higher than
  8827. the total bandwidth available from Exit nodes.
  8828. - Workaround for name servers (like Earthlink's) that hijack failing
  8829. DNS requests and replace the no-such-server answer with a "helpful"
  8830. redirect to an advertising-driven search portal. Also work around
  8831. DNS hijackers who "helpfully" decline to hijack known-invalid
  8832. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  8833. lets you turn it off.
  8834. - Send out a burst of long-range padding cells once we've established
  8835. that we're reachable. Spread them over 4 circuits, so hopefully
  8836. a few will be fast. This exercises our bandwidth and bootstraps
  8837. us into the directory more quickly.
  8838. o New/improved config options:
  8839. - Add new config option "ResolvConf" to let the server operator
  8840. choose an alternate resolve.conf file when using eventdns.
  8841. - Add an "EnforceDistinctSubnets" option to control our "exclude
  8842. servers on the same /16" behavior. It's still on by default; this
  8843. is mostly for people who want to operate private test networks with
  8844. all the machines on the same subnet.
  8845. - If one of our entry guards is on the ExcludeNodes list, or the
  8846. directory authorities don't think it's a good guard, treat it as
  8847. if it were unlisted: stop using it as a guard, and throw it off
  8848. the guards list if it stays that way for a long time.
  8849. - Allow directory authorities to be marked separately as authorities
  8850. for the v1 directory protocol, the v2 directory protocol, and
  8851. as hidden service directories, to make it easier to retire old
  8852. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  8853. to continue being hidden service authorities too.
  8854. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  8855. o Minor features, controller:
  8856. - Fix CIRC controller events so that controllers can learn the
  8857. identity digests of non-Named servers used in circuit paths.
  8858. - Let controllers ask for more useful identifiers for servers. Instead
  8859. of learning identity digests for un-Named servers and nicknames
  8860. for Named servers, the new identifiers include digest, nickname,
  8861. and indication of Named status. Off by default; see control-spec.txt
  8862. for more information.
  8863. - Add a "getinfo address" controller command so it can display Tor's
  8864. best guess to the user.
  8865. - New controller event to alert the controller when our server
  8866. descriptor has changed.
  8867. - Give more meaningful errors on controller authentication failure.
  8868. o Minor features, other:
  8869. - When asked to resolve a hostname, don't use non-exit servers unless
  8870. requested to do so. This allows servers with broken DNS to be
  8871. useful to the network.
  8872. - Divide eventdns log messages into warn and info messages.
  8873. - Reserve the nickname "Unnamed" for routers that can't pick
  8874. a hostname: any router can call itself Unnamed; directory
  8875. authorities will never allocate Unnamed to any particular router;
  8876. clients won't believe that any router is the canonical Unnamed.
  8877. - Only include function names in log messages for info/debug messages.
  8878. For notice/warn/err, the content of the message should be clear on
  8879. its own, and printing the function name only confuses users.
  8880. - Avoid some false positives during reachability testing: don't try
  8881. to test via a server that's on the same /24 as us.
  8882. - If we fail to build a circuit to an intended enclave, and it's
  8883. not mandatory that we use that enclave, stop wanting it.
  8884. - When eventdns is enabled, allow multithreaded builds on NetBSD and
  8885. OpenBSD. (We had previously disabled threads on these platforms
  8886. because they didn't have working thread-safe resolver functions.)
  8887. o Major bugfixes, anonymity/security:
  8888. - If a client asked for a server by name, and there's a named server
  8889. in our network-status but we don't have its descriptor yet, we
  8890. could return an unnamed server instead.
  8891. - Fix NetBSD bug that could allow someone to force uninitialized RAM
  8892. to be sent to a server's DNS resolver. This only affects NetBSD
  8893. and other platforms that do not bounds-check tolower().
  8894. - Reject (most) attempts to use Tor circuits with length one. (If
  8895. many people start using Tor as a one-hop proxy, exit nodes become
  8896. a more attractive target for compromise.)
  8897. - Just because your DirPort is open doesn't mean people should be
  8898. able to remotely teach you about hidden service descriptors. Now
  8899. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  8900. o Major bugfixes, other:
  8901. - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
  8902. - When a client asks the server to resolve (not connect to)
  8903. an address, and it has a cached answer, give them the cached answer.
  8904. Previously, the server would give them no answer at all.
  8905. - Allow really slow clients to not hang up five minutes into their
  8906. directory downloads (suggested by Adam J. Richter).
  8907. - We were building exactly the wrong circuits when we anticipated
  8908. hidden service requirements, meaning Tor would have to build all
  8909. its circuits on demand.
  8910. - Avoid crashing when we mmap a router cache file of size 0.
  8911. - When testing reachability of our DirPort, don't launch new
  8912. tests when there's already one in progress -- unreachable
  8913. servers were stacking up dozens of testing streams.
  8914. o Minor bugfixes, correctness:
  8915. - If we're a directory mirror and we ask for "all" network status
  8916. documents, we would discard status documents from authorities
  8917. we don't recognize.
  8918. - Avoid a memory corruption bug when creating a hash table for
  8919. the first time.
  8920. - Avoid controller-triggered crash when misusing certain commands
  8921. from a v0 controller on platforms that do not handle
  8922. printf("%s",NULL) gracefully.
  8923. - Don't crash when a controller sends a third argument to an
  8924. "extendcircuit" request.
  8925. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  8926. response; fix error code when "getinfo dir/status/" fails.
  8927. - Avoid crash when telling controller stream-status and a stream
  8928. is detached.
  8929. - Patch from Adam Langley to fix assert() in eventdns.c.
  8930. - Fix a debug log message in eventdns to say "X resolved to Y"
  8931. instead of "X resolved to X".
  8932. - Make eventdns give strings for DNS errors, not just error numbers.
  8933. - Track unreachable entry guards correctly: don't conflate
  8934. 'unreachable by us right now' with 'listed as down by the directory
  8935. authorities'. With the old code, if a guard was unreachable by
  8936. us but listed as running, it would clog our guard list forever.
  8937. - Behave correctly in case we ever have a network with more than
  8938. 2GB/s total advertised capacity.
  8939. - Make TrackExitHosts case-insensitive, and fix the behavior of
  8940. ".suffix" TrackExitHosts items to avoid matching in the middle of
  8941. an address.
  8942. - Finally fix the openssl warnings from newer gccs that believe that
  8943. ignoring a return value is okay, but casting a return value and
  8944. then ignoring it is a sign of madness.
  8945. - Prevent the contrib/exitlist script from printing the same
  8946. result more than once.
  8947. - Patch from Steve Hildrey: Generate network status correctly on
  8948. non-versioning dirservers.
  8949. - Don't listen to the X-Your-Address-Is hint if you did the lookup
  8950. via Tor; otherwise you'll think you're the exit node's IP address.
  8951. o Minor bugfixes, performance:
  8952. - Two small performance improvements on parsing descriptors.
  8953. - Major performance improvement on inserting descriptors: change
  8954. algorithm from O(n^2) to O(n).
  8955. - Make the common memory allocation path faster on machines where
  8956. malloc(0) returns a pointer.
  8957. - Start remembering X-Your-Address-Is directory hints even if you're
  8958. a client, so you can become a server more smoothly.
  8959. - Avoid duplicate entries on MyFamily line in server descriptor.
  8960. o Packaging, features:
  8961. - Remove architecture from OS X builds. The official builds are
  8962. now universal binaries.
  8963. - The Debian package now uses --verify-config when (re)starting,
  8964. to distinguish configuration errors from other errors.
  8965. - Update RPMs to require libevent 1.1b.
  8966. o Packaging, bugfixes:
  8967. - Patches so Tor builds with MinGW on Windows.
  8968. - Patches so Tor might run on Cygwin again.
  8969. - Resume building on non-gcc compilers and ancient gcc. Resume
  8970. building with the -O0 compile flag. Resume building cleanly on
  8971. Debian woody.
  8972. - Run correctly on OS X platforms with case-sensitive filesystems.
  8973. - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
  8974. - Add autoconf checks so Tor can build on Solaris x86 again.
  8975. o Documentation
  8976. - Documented (and renamed) ServerDNSSearchDomains and
  8977. ServerDNSResolvConfFile options.
  8978. - Be clearer that the *ListenAddress directives can be repeated
  8979. multiple times.
  8980. Changes in version 0.1.1.24 - 2006-09-29
  8981. o Major bugfixes:
  8982. - Allow really slow clients to not hang up five minutes into their
  8983. directory downloads (suggested by Adam J. Richter).
  8984. - Fix major performance regression from 0.1.0.x: instead of checking
  8985. whether we have enough directory information every time we want to
  8986. do something, only check when the directory information has changed.
  8987. This should improve client CPU usage by 25-50%.
  8988. - Don't crash if, after a server has been running for a while,
  8989. it can't resolve its hostname.
  8990. o Minor bugfixes:
  8991. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  8992. - Don't crash when the controller receives a third argument to an
  8993. "extendcircuit" request.
  8994. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  8995. response; fix error code when "getinfo dir/status/" fails.
  8996. - Fix configure.in to not produce broken configure files with
  8997. more recent versions of autoconf. Thanks to Clint for his auto*
  8998. voodoo.
  8999. - Fix security bug on NetBSD that could allow someone to force
  9000. uninitialized RAM to be sent to a server's DNS resolver. This
  9001. only affects NetBSD and other platforms that do not bounds-check
  9002. tolower().
  9003. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  9004. methods: these are known to be buggy.
  9005. - If we're a directory mirror and we ask for "all" network status
  9006. documents, we would discard status documents from authorities
  9007. we don't recognize.
  9008. Changes in version 0.1.2.1-alpha - 2006-08-27
  9009. o Major features:
  9010. - Add "eventdns" async dns library from Adam Langley, tweaked to
  9011. build on OSX and Windows. Only enabled if you pass the
  9012. --enable-eventdns argument to configure.
  9013. - Allow servers with no hostname or IP address to learn their
  9014. IP address by asking the directory authorities. This code only
  9015. kicks in when you would normally have exited with a "no address"
  9016. error. Nothing's authenticated, so use with care.
  9017. - Rather than waiting a fixed amount of time between retrying
  9018. application connections, we wait only 5 seconds for the first,
  9019. 10 seconds for the second, and 15 seconds for each retry after
  9020. that. Hopefully this will improve the expected user experience.
  9021. - Patch from Tup to add support for transparent AP connections:
  9022. this basically bundles the functionality of trans-proxy-tor
  9023. into the Tor mainline. Now hosts with compliant pf/netfilter
  9024. implementations can redirect TCP connections straight to Tor
  9025. without diverting through SOCKS. Needs docs.
  9026. - Busy directory servers save lots of memory by spooling server
  9027. descriptors, v1 directories, and v2 networkstatus docs to buffers
  9028. as needed rather than en masse. Also mmap the cached-routers
  9029. files, so we don't need to keep the whole thing in memory too.
  9030. - Automatically avoid picking more than one node from the same
  9031. /16 network when constructing a circuit.
  9032. - Revise and clean up the torrc.sample that we ship with; add
  9033. a section for BandwidthRate and BandwidthBurst.
  9034. o Minor features:
  9035. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  9036. split connection_t into edge, or, dir, control, and base structs.
  9037. These will save quite a bit of memory on busy servers, and they'll
  9038. also help us track down bugs in the code and bugs in the spec.
  9039. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  9040. or later. Log when we are doing this, so we can diagnose it when
  9041. it fails. (Also, recommend libevent 1.1b for kqueue and
  9042. win32 methods; deprecate libevent 1.0b harder; make libevent
  9043. recommendation system saner.)
  9044. - Start being able to build universal binaries on OS X (thanks
  9045. to Phobos).
  9046. - Export the default exit policy via the control port, so controllers
  9047. don't need to guess what it is / will be later.
  9048. - Add a man page entry for ProtocolWarnings.
  9049. - Add TestVia config option to the man page.
  9050. - Remove even more protocol-related warnings from Tor server logs,
  9051. such as bad TLS handshakes and malformed begin cells.
  9052. - Stop fetching descriptors if you're not a dir mirror and you
  9053. haven't tried to establish any circuits lately. [This currently
  9054. causes some dangerous behavior, because when you start up again
  9055. you'll use your ancient server descriptors.]
  9056. - New DirPort behavior: if you have your dirport set, you download
  9057. descriptors aggressively like a directory mirror, whether or not
  9058. your ORPort is set.
  9059. - Get rid of the router_retry_connections notion. Now routers
  9060. no longer try to rebuild long-term connections to directory
  9061. authorities, and directory authorities no longer try to rebuild
  9062. long-term connections to all servers. We still don't hang up
  9063. connections in these two cases though -- we need to look at it
  9064. more carefully to avoid flapping, and we likely need to wait til
  9065. 0.1.1.x is obsolete.
  9066. - Drop compatibility with obsolete Tors that permit create cells
  9067. to have the wrong circ_id_type.
  9068. - Re-enable per-connection rate limiting. Get rid of the "OP
  9069. bandwidth" concept. Lay groundwork for "bandwidth classes" --
  9070. separate global buckets that apply depending on what sort of conn
  9071. it is.
  9072. - Start publishing one minute or so after we find our ORPort
  9073. to be reachable. This will help reduce the number of descriptors
  9074. we have for ourselves floating around, since it's quite likely
  9075. other things (e.g. DirPort) will change during that minute too.
  9076. - Fork the v1 directory protocol into its own spec document,
  9077. and mark dir-spec.txt as the currently correct (v2) spec.
  9078. o Major bugfixes:
  9079. - When we find our DirPort to be reachable, publish a new descriptor
  9080. so we'll tell the world (reported by pnx).
  9081. - Publish a new descriptor after we hup/reload. This is important
  9082. if our config has changed such that we'll want to start advertising
  9083. our DirPort now, etc.
  9084. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  9085. - When we have a state file we cannot parse, tell the user and
  9086. move it aside. Now we avoid situations where the user starts
  9087. Tor in 1904, Tor writes a state file with that timestamp in it,
  9088. the user fixes her clock, and Tor refuses to start.
  9089. - Fix configure.in to not produce broken configure files with
  9090. more recent versions of autoconf. Thanks to Clint for his auto*
  9091. voodoo.
  9092. - "tor --verify-config" now exits with -1(255) or 0 depending on
  9093. whether the config options are bad or good.
  9094. - Resolve bug 321 when using dnsworkers: append a period to every
  9095. address we resolve at the exit node, so that we do not accidentally
  9096. pick up local addresses, and so that failing searches are retried
  9097. in the resolver search domains. (This is already solved for
  9098. eventdns.) (This breaks Blossom servers for now.)
  9099. - If we are using an exit enclave and we can't connect, e.g. because
  9100. its webserver is misconfigured to not listen on localhost, then
  9101. back off and try connecting from somewhere else before we fail.
  9102. o Minor bugfixes:
  9103. - Start compiling on MinGW on Windows (patches from Mike Chiussi).
  9104. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  9105. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  9106. when the IP address is mapped through MapAddress to a hostname.
  9107. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  9108. useless IPv6 DNS resolves.
  9109. - Patch suggested by Karsten Loesing: respond to SIGNAL command
  9110. before we execute the signal, in case the signal shuts us down.
  9111. - Clean up AllowInvalidNodes man page entry.
  9112. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  9113. - Add more asserts to track down an assert error on a windows Tor
  9114. server with connection_add being called with socket == -1.
  9115. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  9116. - Fix misleading log messages: an entry guard that is "unlisted",
  9117. as well as not known to be "down" (because we've never heard
  9118. of it), is not therefore "up".
  9119. - Remove code to special-case "-cvs" ending, since it has not
  9120. actually mattered since 0.0.9.
  9121. - Make our socks5 handling more robust to broken socks clients:
  9122. throw out everything waiting on the buffer in between socks
  9123. handshake phases, since they can't possibly (so the theory
  9124. goes) have predicted what we plan to respond to them.
  9125. Changes in version 0.1.1.23 - 2006-07-30
  9126. o Major bugfixes:
  9127. - Fast Tor servers, especially exit nodes, were triggering asserts
  9128. due to a bug in handling the list of pending DNS resolves. Some
  9129. bugs still remain here; we're hunting them.
  9130. - Entry guards could crash clients by sending unexpected input.
  9131. - More fixes on reachability testing: if you find yourself reachable,
  9132. then don't ever make any client requests (so you stop predicting
  9133. circuits), then hup or have your clock jump, then later your IP
  9134. changes, you won't think circuits are working, so you won't try to
  9135. test reachability, so you won't publish.
  9136. o Minor bugfixes:
  9137. - Avoid a crash if the controller does a resetconf firewallports
  9138. and then a setconf fascistfirewall=1.
  9139. - Avoid an integer underflow when the dir authority decides whether
  9140. a router is stable: we might wrongly label it stable, and compute
  9141. a slightly wrong median stability, when a descriptor is published
  9142. later than now.
  9143. - Fix a place where we might trigger an assert if we can't build our
  9144. own server descriptor yet.
  9145. Changes in version 0.1.1.22 - 2006-07-05
  9146. o Major bugfixes:
  9147. - Fix a big bug that was causing servers to not find themselves
  9148. reachable if they changed IP addresses. Since only 0.1.1.22+
  9149. servers can do reachability testing correctly, now we automatically
  9150. make sure to test via one of these.
  9151. - Fix to allow clients and mirrors to learn directory info from
  9152. descriptor downloads that get cut off partway through.
  9153. - Directory authorities had a bug in deciding if a newly published
  9154. descriptor was novel enough to make everybody want a copy -- a few
  9155. servers seem to be publishing new descriptors many times a minute.
  9156. o Minor bugfixes:
  9157. - Fix a rare bug that was causing some servers to complain about
  9158. "closing wedged cpuworkers" and skip some circuit create requests.
  9159. - Make the Exit flag in directory status documents actually work.
  9160. Changes in version 0.1.1.21 - 2006-06-10
  9161. o Crash and assert fixes from 0.1.1.20:
  9162. - Fix a rare crash on Tor servers that have enabled hibernation.
  9163. - Fix a seg fault on startup for Tor networks that use only one
  9164. directory authority.
  9165. - Fix an assert from a race condition that occurs on Tor servers
  9166. while exiting, where various threads are trying to log that they're
  9167. exiting, and delete the logs, at the same time.
  9168. - Make our unit tests pass again on certain obscure platforms.
  9169. o Other fixes:
  9170. - Add support for building SUSE RPM packages.
  9171. - Speed up initial bootstrapping for clients: if we are making our
  9172. first ever connection to any entry guard, then don't mark it down
  9173. right after that.
  9174. - When only one Tor server in the network is labelled as a guard,
  9175. and we've already picked him, we would cycle endlessly picking him
  9176. again, being unhappy about it, etc. Now we specifically exclude
  9177. current guards when picking a new guard.
  9178. - Servers send create cells more reliably after the TLS connection
  9179. is established: we were sometimes forgetting to send half of them
  9180. when we had more than one pending.
  9181. - If we get a create cell that asks us to extend somewhere, but the
  9182. Tor server there doesn't match the expected digest, we now send
  9183. a destroy cell back, rather than silently doing nothing.
  9184. - Make options->RedirectExit work again.
  9185. - Make cookie authentication for the controller work again.
  9186. - Stop being picky about unusual characters in the arguments to
  9187. mapaddress. It's none of our business.
  9188. - Add a new config option "TestVia" that lets you specify preferred
  9189. middle hops to use for test circuits. Perhaps this will let me
  9190. debug the reachability problems better.
  9191. o Log / documentation fixes:
  9192. - If we're a server and some peer has a broken TLS certificate, don't
  9193. log about it unless ProtocolWarnings is set, i.e., we want to hear
  9194. about protocol violations by others.
  9195. - Fix spelling of VirtualAddrNetwork in man page.
  9196. - Add a better explanation at the top of the autogenerated torrc file
  9197. about what happened to our old torrc.
  9198. Changes in version 0.1.1.20 - 2006-05-23
  9199. o Bugfixes:
  9200. - Downgrade a log severity where servers complain that they're
  9201. invalid.
  9202. - Avoid a compile warning on FreeBSD.
  9203. - Remove string size limit on NEWDESC messages; solve bug 291.
  9204. - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
  9205. more thoroughly when we're running on windows.
  9206. Changes in version 0.1.1.19-rc - 2006-05-03
  9207. o Minor bugs:
  9208. - Regenerate our local descriptor if it's dirty and we try to use
  9209. it locally (e.g. if it changes during reachability detection).
  9210. - If we setconf our ORPort to 0, we continued to listen on the
  9211. old ORPort and receive connections.
  9212. - Avoid a second warning about machine/limits.h on Debian
  9213. GNU/kFreeBSD.
  9214. - Be willing to add our own routerinfo into the routerlist.
  9215. Now authorities will include themselves in their directories
  9216. and network-statuses.
  9217. - Stop trying to upload rendezvous descriptors to every
  9218. directory authority: only try the v1 authorities.
  9219. - Servers no longer complain when they think they're not
  9220. registered with the directory authorities. There were too many
  9221. false positives.
  9222. - Backport dist-rpm changes so rpms can be built without errors.
  9223. o Features:
  9224. - Implement an option, VirtualAddrMask, to set which addresses
  9225. get handed out in response to mapaddress requests. This works
  9226. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  9227. Changes in version 0.1.1.18-rc - 2006-04-10
  9228. o Major fixes:
  9229. - Work harder to download live network-statuses from all the
  9230. directory authorities we know about. Improve the threshold
  9231. decision logic so we're more robust to edge cases.
  9232. - When fetching rendezvous descriptors, we were willing to ask
  9233. v2 authorities too, which would always return 404.
  9234. o Minor fixes:
  9235. - Stop listing down or invalid nodes in the v1 directory. This will
  9236. reduce its bulk by about 1/3, and reduce load on directory
  9237. mirrors.
  9238. - When deciding whether a router is Fast or Guard-worthy, consider
  9239. his advertised BandwidthRate and not just the BandwidthCapacity.
  9240. - No longer ship INSTALL and README files -- they are useless now.
  9241. - Force rpmbuild to behave and honor target_cpu.
  9242. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  9243. - Start to include translated versions of the tor-doc-*.html
  9244. files, along with the screenshots. Still needs more work.
  9245. - Start sending back 512 and 451 errors if mapaddress fails,
  9246. rather than not sending anything back at all.
  9247. - When we fail to bind or listen on an incoming or outgoing
  9248. socket, we should close it before failing. otherwise we just
  9249. leak it. (thanks to weasel for finding.)
  9250. - Allow "getinfo dir/status/foo" to work, as long as your DirPort
  9251. is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
  9252. - Make NoPublish (even though deprecated) work again.
  9253. - Fix a minor security flaw where a versioning auth dirserver
  9254. could list a recommended version many times in a row to make
  9255. clients more convinced that it's recommended.
  9256. - Fix crash bug if there are two unregistered servers running
  9257. with the same nickname, one of them is down, and you ask for
  9258. them by nickname in your EntryNodes or ExitNodes. Also, try
  9259. to pick the one that's running rather than an arbitrary one.
  9260. - Fix an infinite loop we could hit if we go offline for too long.
  9261. - Complain when we hit WSAENOBUFS on recv() or write() too.
  9262. Perhaps this will help us hunt the bug.
  9263. - If you're not a versioning dirserver, don't put the string
  9264. "client-versions \nserver-versions \n" in your network-status.
  9265. - Lower the minimum required number of file descriptors to 1000,
  9266. so we can have some overhead for Valgrind on Linux, where the
  9267. default ulimit -n is 1024.
  9268. o New features:
  9269. - Add tor.dizum.com as the fifth authoritative directory server.
  9270. - Add a new config option FetchUselessDescriptors, off by default,
  9271. for when you plan to run "exitlist" on your client and you want
  9272. to know about even the non-running descriptors.
  9273. Changes in version 0.1.1.17-rc - 2006-03-28
  9274. o Major fixes:
  9275. - Clients and servers since 0.1.1.10-alpha have been expiring
  9276. connections whenever they are idle for 5 minutes and they *do*
  9277. have circuits on them. Oops. With this new version, clients will
  9278. discard their previous entry guard choices and avoid choosing
  9279. entry guards running these flawed versions.
  9280. - Fix memory leak when uncompressing concatenated zlib streams. This
  9281. was causing substantial leaks over time on Tor servers.
  9282. - The v1 directory was including servers as much as 48 hours old,
  9283. because that's how the new routerlist->routers works. Now only
  9284. include them if they're 20 hours old or less.
  9285. o Minor fixes:
  9286. - Resume building on irix64, netbsd 2.0, etc.
  9287. - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
  9288. "-Wall -g -O2".
  9289. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  9290. and it is confusing some users.
  9291. - Mirrors stop caching the v1 directory so often.
  9292. - Make the max number of old descriptors that a cache will hold
  9293. rise with the number of directory authorities, so we can scale.
  9294. - Change our win32 uname() hack to be more forgiving about what
  9295. win32 versions it thinks it's found.
  9296. o New features:
  9297. - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
  9298. server.
  9299. - When the controller's *setconf commands fail, collect an error
  9300. message in a string and hand it back to the controller.
  9301. - Make the v2 dir's "Fast" flag based on relative capacity, just
  9302. like "Stable" is based on median uptime. Name everything in the
  9303. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  9304. - Log server fingerprint on startup, so new server operators don't
  9305. have to go hunting around their filesystem for it.
  9306. - Return a robots.txt on our dirport to discourage google indexing.
  9307. - Let the controller ask for GETINFO dir/status/foo so it can ask
  9308. directly rather than connecting to the dir port. Only works when
  9309. dirport is set for now.
  9310. o New config options rather than constants in the code:
  9311. - SocksTimeout: How long do we let a socks connection wait
  9312. unattached before we fail it?
  9313. - CircuitBuildTimeout: Cull non-open circuits that were born
  9314. at least this many seconds ago.
  9315. - CircuitIdleTimeout: Cull open clean circuits that were born
  9316. at least this many seconds ago.
  9317. Changes in version 0.1.1.16-rc - 2006-03-18
  9318. o Bugfixes on 0.1.1.15-rc:
  9319. - Fix assert when the controller asks to attachstream a connect-wait
  9320. or resolve-wait stream.
  9321. - Now do address rewriting when the controller asks us to attach
  9322. to a particular circuit too. This will let Blossom specify
  9323. "moria2.exit" without having to learn what moria2's IP address is.
  9324. - Make the "tor --verify-config" command-line work again, so people
  9325. can automatically check if their torrc will parse.
  9326. - Authoritative dirservers no longer require an open connection from
  9327. a server to consider him "reachable". We need this change because
  9328. when we add new auth dirservers, old servers won't know not to
  9329. hang up on them.
  9330. - Let Tor build on Sun CC again.
  9331. - Fix an off-by-one buffer size in dirserv.c that magically never
  9332. hit our three authorities but broke sjmurdoch's own tor network.
  9333. - If we as a directory mirror don't know of any v1 directory
  9334. authorities, then don't try to cache any v1 directories.
  9335. - Stop warning about unknown servers in our family when they are
  9336. given as hex digests.
  9337. - Stop complaining as quickly to the server operator that he
  9338. hasn't registered his nickname/key binding.
  9339. - Various cleanups so we can add new V2 Auth Dirservers.
  9340. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  9341. reflect the updated flags in our v2 dir protocol.
  9342. - Resume allowing non-printable characters for exit streams (both
  9343. for connecting and for resolving). Now we tolerate applications
  9344. that don't follow the RFCs. But continue to block malformed names
  9345. at the socks side.
  9346. o Bugfixes on 0.1.0.x:
  9347. - Fix assert bug in close_logs(): when we close and delete logs,
  9348. remove them all from the global "logfiles" list.
  9349. - Fix minor integer overflow in calculating when we expect to use up
  9350. our bandwidth allocation before hibernating.
  9351. - Fix a couple of bugs in OpenSSL detection. Also, deal better when
  9352. there are multiple SSLs installed with different versions.
  9353. - When we try to be a server and Address is not explicitly set and
  9354. our hostname resolves to a private IP address, try to use an
  9355. interface address if it has a public address. Now Windows machines
  9356. that think of themselves as localhost can work by default.
  9357. o New features:
  9358. - Let the controller ask for GETINFO dir/server/foo so it can ask
  9359. directly rather than connecting to the dir port.
  9360. - Let the controller tell us about certain router descriptors
  9361. that it doesn't want Tor to use in circuits. Implement
  9362. SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
  9363. - New config option SafeSocks to reject all application connections
  9364. using unsafe socks protocols. Defaults to off.
  9365. Changes in version 0.1.1.15-rc - 2006-03-11
  9366. o Bugfixes and cleanups:
  9367. - When we're printing strings from the network, don't try to print
  9368. non-printable characters. This protects us against shell escape
  9369. sequence exploits, and also against attacks to fool humans into
  9370. misreading their logs.
  9371. - Fix a bug where Tor would fail to establish any connections if you
  9372. left it off for 24 hours and then started it: we were happy with
  9373. the obsolete network statuses, but they all referred to router
  9374. descriptors that were too old to fetch, so we ended up with no
  9375. valid router descriptors.
  9376. - Fix a seg fault in the controller's "getinfo orconn-status"
  9377. command while listing status on incoming handshaking connections.
  9378. Introduce a status name "NEW" for these connections.
  9379. - If we get a linelist or linelist_s config option from the torrc
  9380. (e.g. ExitPolicy) and it has no value, warn and skip rather than
  9381. silently resetting it to its default.
  9382. - Don't abandon entry guards until they've been down or gone for
  9383. a whole month.
  9384. - Cleaner and quieter log messages.
  9385. o New features:
  9386. - New controller signal NEWNYM that makes new application requests
  9387. use clean circuits.
  9388. - Add a new circuit purpose 'controller' to let the controller ask
  9389. for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
  9390. controller command to let you specify the purpose if you're
  9391. starting a new circuit. Add a new SETCIRCUITPURPOSE controller
  9392. command to let you change a circuit's purpose after it's been
  9393. created.
  9394. - Accept "private:*" in routerdesc exit policies; not generated yet
  9395. because older Tors do not understand it.
  9396. - Add BSD-style contributed startup script "rc.subr" from Peter
  9397. Thoenen.
  9398. Changes in version 0.1.1.14-alpha - 2006-02-20
  9399. o Bugfixes on 0.1.1.x:
  9400. - Don't die if we ask for a stdout or stderr log (even implicitly)
  9401. and we're set to RunAsDaemon -- just warn.
  9402. - We still had a few bugs in the OR connection rotation code that
  9403. caused directory servers to slowly aggregate connections to other
  9404. fast Tor servers. This time for sure!
  9405. - Make log entries on Win32 include the name of the function again.
  9406. - We were treating a pair of exit policies if they were equal even
  9407. if one said accept and the other said reject -- causing us to
  9408. not always publish a new descriptor since we thought nothing
  9409. had changed.
  9410. - Retry pending server downloads as well as pending networkstatus
  9411. downloads when we unexpectedly get a socks request.
  9412. - We were ignoring the IS_FAST flag in the directory status,
  9413. meaning we were willing to pick trivial-bandwidth nodes for "fast"
  9414. connections.
  9415. - If the controller's SAVECONF command fails (e.g. due to file
  9416. permissions), let the controller know that it failed.
  9417. o Features:
  9418. - If we're trying to be a Tor server and running Windows 95/98/ME
  9419. as a server, explain that we'll likely crash.
  9420. - When we're a server, a client asks for an old-style directory,
  9421. and our write bucket is empty, don't give it to him. This way
  9422. small servers can continue to serve the directory *sometimes*,
  9423. without getting overloaded.
  9424. - Compress exit policies even more -- look for duplicate lines
  9425. and remove them.
  9426. - Clients now honor the "guard" flag in the router status when
  9427. picking entry guards, rather than looking at is_fast or is_stable.
  9428. - Retain unrecognized lines in $DATADIR/state file, so that we can
  9429. be forward-compatible.
  9430. - Generate 18.0.0.0/8 address policy format in descs when we can;
  9431. warn when the mask is not reducible to a bit-prefix.
  9432. - Let the user set ControlListenAddress in the torrc. This can be
  9433. dangerous, but there are some cases (like a secured LAN) where it
  9434. makes sense.
  9435. - Split ReachableAddresses into ReachableDirAddresses and
  9436. ReachableORAddresses, so we can restrict Dir conns to port 80
  9437. and OR conns to port 443.
  9438. - Now we can target arch and OS in rpm builds (contributed by
  9439. Phobos). Also make the resulting dist-rpm filename match the
  9440. target arch.
  9441. - New config options to help controllers: FetchServerDescriptors
  9442. and FetchHidServDescriptors for whether to fetch server
  9443. info and hidserv info or let the controller do it, and
  9444. PublishServerDescriptor and PublishHidServDescriptors.
  9445. - Also let the controller set the __AllDirActionsPrivate config
  9446. option if you want all directory fetches/publishes to happen via
  9447. Tor (it assumes your controller bootstraps your circuits).
  9448. Changes in version 0.1.0.17 - 2006-02-17
  9449. o Crash bugfixes on 0.1.0.x:
  9450. - When servers with a non-zero DirPort came out of hibernation,
  9451. sometimes they would trigger an assert.
  9452. o Other important bugfixes:
  9453. - On platforms that don't have getrlimit (like Windows), we were
  9454. artificially constraining ourselves to a max of 1024
  9455. connections. Now just assume that we can handle as many as 15000
  9456. connections. Hopefully this won't cause other problems.
  9457. o Backported features:
  9458. - When we're a server, a client asks for an old-style directory,
  9459. and our write bucket is empty, don't give it to him. This way
  9460. small servers can continue to serve the directory *sometimes*,
  9461. without getting overloaded.
  9462. - Whenever you get a 503 in response to a directory fetch, try
  9463. once more. This will become important once servers start sending
  9464. 503's whenever they feel busy.
  9465. - Fetch a new directory every 120 minutes, not every 40 minutes.
  9466. Now that we have hundreds of thousands of users running the old
  9467. directory algorithm, it's starting to hurt a lot.
  9468. - Bump up the period for forcing a hidden service descriptor upload
  9469. from 20 minutes to 1 hour.
  9470. Changes in version 0.1.1.13-alpha - 2006-02-09
  9471. o Crashes in 0.1.1.x:
  9472. - When you tried to setconf ORPort via the controller, Tor would
  9473. crash. So people using TorCP to become a server were sad.
  9474. - Solve (I hope) the stack-smashing bug that we were seeing on fast
  9475. servers. The problem appears to be something do with OpenSSL's
  9476. random number generation, or how we call it, or something. Let me
  9477. know if the crashes continue.
  9478. - Turn crypto hardware acceleration off by default, until we find
  9479. somebody smart who can test it for us. (It appears to produce
  9480. seg faults in at least some cases.)
  9481. - Fix a rare assert error when we've tried all intro points for
  9482. a hidden service and we try fetching the service descriptor again:
  9483. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
  9484. o Major fixes:
  9485. - Fix a major load balance bug: we were round-robining in 16 KB
  9486. chunks, and servers with bandwidthrate of 20 KB, while downloading
  9487. a 600 KB directory, would starve their other connections. Now we
  9488. try to be a bit more fair.
  9489. - Dir authorities and mirrors were never expiring the newest
  9490. descriptor for each server, causing memory and directory bloat.
  9491. - Fix memory-bloating and connection-bloating bug on servers: We
  9492. were never closing any connection that had ever had a circuit on
  9493. it, because we were checking conn->n_circuits == 0, yet we had a
  9494. bug that let it go negative.
  9495. - Make Tor work using squid as your http proxy again -- squid
  9496. returns an error if you ask for a URL that's too long, and it uses
  9497. a really generic error message. Plus, many people are behind a
  9498. transparent squid so they don't even realize it.
  9499. - On platforms that don't have getrlimit (like Windows), we were
  9500. artificially constraining ourselves to a max of 1024
  9501. connections. Now just assume that we can handle as many as 15000
  9502. connections. Hopefully this won't cause other problems.
  9503. - Add a new config option ExitPolicyRejectPrivate which defaults to
  9504. 1. This means all exit policies will begin with rejecting private
  9505. addresses, unless the server operator explicitly turns it off.
  9506. o Major features:
  9507. - Clients no longer download descriptors for non-running
  9508. descriptors.
  9509. - Before we add new directory authorities, we should make it
  9510. clear that only v1 authorities should receive/publish hidden
  9511. service descriptors.
  9512. o Minor features:
  9513. - As soon as we've fetched some more directory info, immediately
  9514. try to download more server descriptors. This way we don't have
  9515. a 10 second pause during initial bootstrapping.
  9516. - Remove even more loud log messages that the server operator can't
  9517. do anything about.
  9518. - When we're running an obsolete or un-recommended version, make
  9519. the log message more clear about what the problem is and what
  9520. versions *are* still recommended.
  9521. - Provide a more useful warn message when our onion queue gets full:
  9522. the CPU is too slow or the exit policy is too liberal.
  9523. - Don't warn when we receive a 503 from a dirserver/cache -- this
  9524. will pave the way for them being able to refuse if they're busy.
  9525. - When we fail to bind a listener, try to provide a more useful
  9526. log message: e.g., "Is Tor already running?"
  9527. - Adjust tor-spec to parameterize cell and key lengths. Now Ian
  9528. Goldberg can prove things about our handshake protocol more
  9529. easily.
  9530. - MaxConn has been obsolete for a while now. Document the ConnLimit
  9531. config option, which is a *minimum* number of file descriptors
  9532. that must be available else Tor refuses to start.
  9533. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  9534. if you log to syslog and want something other than LOG_DAEMON.
  9535. - Make dirservers generate a separate "guard" flag to mean,
  9536. "would make a good entry guard". Make clients parse it and vote
  9537. on it. Not used by clients yet.
  9538. - Implement --with-libevent-dir option to ./configure. Also, improve
  9539. search techniques to find libevent, and use those for openssl too.
  9540. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
  9541. - Only start testing reachability once we've established a
  9542. circuit. This will make startup on dirservers less noisy.
  9543. - Don't try to upload hidden service descriptors until we have
  9544. established a circuit.
  9545. - Fix the controller's "attachstream 0" command to treat conn like
  9546. it just connected, doing address remapping, handling .exit and
  9547. .onion idioms, and so on. Now we're more uniform in making sure
  9548. that the controller hears about new and closing connections.
  9549. Changes in version 0.1.1.12-alpha - 2006-01-11
  9550. o Bugfixes on 0.1.1.x:
  9551. - The fix to close duplicate server connections was closing all
  9552. Tor client connections if they didn't establish a circuit
  9553. quickly enough. Oops.
  9554. - Fix minor memory issue (double-free) that happened on exit.
  9555. o Bugfixes on 0.1.0.x:
  9556. - Tor didn't warn when it failed to open a log file.
  9557. Changes in version 0.1.1.11-alpha - 2006-01-10
  9558. o Crashes in 0.1.1.x:
  9559. - Include all the assert/crash fixes from 0.1.0.16.
  9560. - If you start Tor and then quit very quickly, there were some
  9561. races that tried to free things that weren't allocated yet.
  9562. - Fix a rare memory stomp if you're running hidden services.
  9563. - Fix segfault when specifying DirServer in config without nickname.
  9564. - Fix a seg fault when you finish connecting to a server but at
  9565. that moment you dump his server descriptor.
  9566. - Extendcircuit and Attachstream controller commands would
  9567. assert/crash if you don't give them enough arguments.
  9568. - Fix an assert error when we're out of space in the connection_list
  9569. and we try to post a hidden service descriptor (reported by weasel).
  9570. - If you specify a relative torrc path and you set RunAsDaemon in
  9571. your torrc, then it chdir()'s to the new directory. If you HUP,
  9572. it tries to load the new torrc location, fails, and exits.
  9573. The fix: no longer allow a relative path to torrc using -f.
  9574. o Major features:
  9575. - Implement "entry guards": automatically choose a handful of entry
  9576. nodes and stick with them for all circuits. Only pick new guards
  9577. when the ones you have are unsuitable, and if the old guards
  9578. become suitable again, switch back. This will increase security
  9579. dramatically against certain end-point attacks. The EntryNodes
  9580. config option now provides some hints about which entry guards you
  9581. want to use most; and StrictEntryNodes means to only use those.
  9582. - New directory logic: download by descriptor digest, not by
  9583. fingerprint. Caches try to download all listed digests from
  9584. authorities; clients try to download "best" digests from caches.
  9585. This avoids partitioning and isolating attacks better.
  9586. - Make the "stable" router flag in network-status be the median of
  9587. the uptimes of running valid servers, and make clients pay
  9588. attention to the network-status flags. Thus the cutoff adapts
  9589. to the stability of the network as a whole, making IRC, IM, etc
  9590. connections more reliable.
  9591. o Major fixes:
  9592. - Tor servers with dynamic IP addresses were needing to wait 18
  9593. hours before they could start doing reachability testing using
  9594. the new IP address and ports. This is because they were using
  9595. the internal descriptor to learn what to test, yet they were only
  9596. rebuilding the descriptor once they decided they were reachable.
  9597. - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
  9598. to download certain server descriptors, throw them away, and then
  9599. fetch them again after 30 minutes. Now mirrors throw away these
  9600. server descriptors so clients can't get them.
  9601. - We were leaving duplicate connections to other ORs open for a week,
  9602. rather than closing them once we detect a duplicate. This only
  9603. really affected authdirservers, but it affected them a lot.
  9604. - Spread the authdirservers' reachability testing over the entire
  9605. testing interval, so we don't try to do 500 TLS's at once every
  9606. 20 minutes.
  9607. o Minor fixes:
  9608. - If the network is down, and we try to connect to a conn because
  9609. we have a circuit in mind, and we timeout (30 seconds) because the
  9610. network never answers, we were expiring the circuit, but we weren't
  9611. obsoleting the connection or telling the entry_guards functions.
  9612. - Some Tor servers process billions of cells per day. These statistics
  9613. need to be uint64_t's.
  9614. - Check for integer overflows in more places, when adding elements
  9615. to smartlists. This could possibly prevent a buffer overflow
  9616. on malicious huge inputs. I don't see any, but I haven't looked
  9617. carefully.
  9618. - ReachableAddresses kept growing new "reject *:*" lines on every
  9619. setconf/reload.
  9620. - When you "setconf log" via the controller, it should remove all
  9621. logs. We were automatically adding back in a "log notice stdout".
  9622. - Newly bootstrapped Tor networks couldn't establish hidden service
  9623. circuits until they had nodes with high uptime. Be more tolerant.
  9624. - We were marking servers down when they could not answer every piece
  9625. of the directory request we sent them. This was far too harsh.
  9626. - Fix the torify (tsocks) config file to not use Tor for localhost
  9627. connections.
  9628. - Directory authorities now go to the proper authority when asking for
  9629. a networkstatus, even when they want a compressed one.
  9630. - Fix a harmless bug that was causing Tor servers to log
  9631. "Got an end because of misc error, but we're not an AP. Closing."
  9632. - Authorities were treating their own descriptor changes as cosmetic,
  9633. meaning the descriptor available in the network-status and the
  9634. descriptor that clients downloaded were different.
  9635. - The OS X installer was adding a symlink for tor_resolve but
  9636. the binary was called tor-resolve (reported by Thomas Hardly).
  9637. - Workaround a problem with some http proxies where they refuse GET
  9638. requests that specify "Content-Length: 0" (reported by Adrian).
  9639. - Fix wrong log message when you add a "HiddenServiceNodes" config
  9640. line without any HiddenServiceDir line (reported by Chris Thomas).
  9641. o Minor features:
  9642. - Write the TorVersion into the state file so we have a prayer of
  9643. keeping forward and backward compatibility.
  9644. - Revive the FascistFirewall config option rather than eliminating it:
  9645. now it's a synonym for ReachableAddresses *:80,*:443.
  9646. - Clients choose directory servers from the network status lists,
  9647. not from their internal list of router descriptors. Now they can
  9648. go to caches directly rather than needing to go to authorities
  9649. to bootstrap.
  9650. - Directory authorities ignore router descriptors that have only
  9651. cosmetic differences: do this for 0.1.0.x servers now too.
  9652. - Add a new flag to network-status indicating whether the server
  9653. can answer v2 directory requests too.
  9654. - Authdirs now stop whining so loudly about bad descriptors that
  9655. they fetch from other dirservers. So when there's a log complaint,
  9656. it's for sure from a freshly uploaded descriptor.
  9657. - Reduce memory requirements in our structs by changing the order
  9658. of fields.
  9659. - There used to be two ways to specify your listening ports in a
  9660. server descriptor: on the "router" line and with a separate "ports"
  9661. line. Remove support for the "ports" line.
  9662. - New config option "AuthDirRejectUnlisted" for auth dirservers as
  9663. a panic button: if we get flooded with unusable servers we can
  9664. revert to only listing servers in the approved-routers file.
  9665. - Auth dir servers can now mark a fingerprint as "!reject" or
  9666. "!invalid" in the approved-routers file (as its nickname), to
  9667. refuse descriptors outright or include them but marked as invalid.
  9668. - Servers store bandwidth history across restarts/crashes.
  9669. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  9670. get a better idea of why their circuits failed. Not used yet.
  9671. - Directory mirrors now cache up to 16 unrecognized network-status
  9672. docs. Now we can add new authdirservers and they'll be cached too.
  9673. - When picking a random directory, prefer non-authorities if any
  9674. are known.
  9675. - New controller option "getinfo desc/all-recent" to fetch the
  9676. latest server descriptor for every router that Tor knows about.
  9677. Changes in version 0.1.0.16 - 2006-01-02
  9678. o Crash bugfixes on 0.1.0.x:
  9679. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  9680. corrupting the heap, losing FDs, or crashing when we need to resize
  9681. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  9682. - It turns out sparc64 platforms crash on unaligned memory access
  9683. too -- so detect and avoid this.
  9684. - Handle truncated compressed data correctly (by detecting it and
  9685. giving an error).
  9686. - Fix possible-but-unlikely free(NULL) in control.c.
  9687. - When we were closing connections, there was a rare case that
  9688. stomped on memory, triggering seg faults and asserts.
  9689. - Avoid potential infinite recursion when building a descriptor. (We
  9690. don't know that it ever happened, but better to fix it anyway.)
  9691. - We were neglecting to unlink marked circuits from soon-to-close OR
  9692. connections, which caused some rare scribbling on freed memory.
  9693. - Fix a memory stomping race bug when closing the joining point of two
  9694. rendezvous circuits.
  9695. - Fix an assert in time parsing found by Steven Murdoch.
  9696. o Other bugfixes on 0.1.0.x:
  9697. - When we're doing reachability testing, provide more useful log
  9698. messages so the operator knows what to expect.
  9699. - Do not check whether DirPort is reachable when we are suppressing
  9700. advertising it because of hibernation.
  9701. - When building with -static or on Solaris, we sometimes needed -ldl.
  9702. - When we're deciding whether a stream has enough circuits around
  9703. that can handle it, count the freshly dirty ones and not the ones
  9704. that are so dirty they won't be able to handle it.
  9705. - When we're expiring old circuits, we had a logic error that caused
  9706. us to close new rendezvous circuits rather than old ones.
  9707. - Give a more helpful log message when you try to change ORPort via
  9708. the controller: you should upgrade Tor if you want that to work.
  9709. - We were failing to parse Tor versions that start with "Tor ".
  9710. - Tolerate faulty streams better: when a stream fails for reason
  9711. exitpolicy, stop assuming that the router is lying about his exit
  9712. policy. When a stream fails for reason misc, allow it to retry just
  9713. as if it was resolvefailed. When a stream has failed three times,
  9714. reset its failure count so we can try again and get all three tries.
  9715. Changes in version 0.1.1.10-alpha - 2005-12-11
  9716. o Correctness bugfixes on 0.1.0.x:
  9717. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  9718. corrupting the heap, losing FDs, or crashing when we need to resize
  9719. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  9720. - Stop doing the complex voodoo overkill checking for insecure
  9721. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  9722. - When we were closing connections, there was a rare case that
  9723. stomped on memory, triggering seg faults and asserts.
  9724. - We were neglecting to unlink marked circuits from soon-to-close OR
  9725. connections, which caused some rare scribbling on freed memory.
  9726. - When we're deciding whether a stream has enough circuits around
  9727. that can handle it, count the freshly dirty ones and not the ones
  9728. that are so dirty they won't be able to handle it.
  9729. - Recover better from TCP connections to Tor servers that are
  9730. broken but don't tell you (it happens!); and rotate TLS
  9731. connections once a week.
  9732. - When we're expiring old circuits, we had a logic error that caused
  9733. us to close new rendezvous circuits rather than old ones.
  9734. - Fix a scary-looking but apparently harmless bug where circuits
  9735. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  9736. servers, and never switch to state CIRCUIT_STATE_OPEN.
  9737. - When building with -static or on Solaris, we sometimes needed to
  9738. build with -ldl.
  9739. - Give a useful message when people run Tor as the wrong user,
  9740. rather than telling them to start chowning random directories.
  9741. - We were failing to inform the controller about new .onion streams.
  9742. o Security bugfixes on 0.1.0.x:
  9743. - Refuse server descriptors if the fingerprint line doesn't match
  9744. the included identity key. Tor doesn't care, but other apps (and
  9745. humans) might actually be trusting the fingerprint line.
  9746. - We used to kill the circuit when we receive a relay command we
  9747. don't recognize. Now we just drop it.
  9748. - Start obeying our firewall options more rigorously:
  9749. . If we can't get to a dirserver directly, try going via Tor.
  9750. . Don't ever try to connect (as a client) to a place our
  9751. firewall options forbid.
  9752. . If we specify a proxy and also firewall options, obey the
  9753. firewall options even when we're using the proxy: some proxies
  9754. can only proxy to certain destinations.
  9755. - Fix a bug found by Lasse Overlier: when we were making internal
  9756. circuits (intended to be cannibalized later for rendezvous and
  9757. introduction circuits), we were picking them so that they had
  9758. useful exit nodes. There was no need for this, and it actually
  9759. aids some statistical attacks.
  9760. - Start treating internal circuits and exit circuits separately.
  9761. It's important to keep them separate because internal circuits
  9762. have their last hops picked like middle hops, rather than like
  9763. exit hops. So exiting on them will break the user's expectations.
  9764. o Bugfixes on 0.1.1.x:
  9765. - Take out the mis-feature where we tried to detect IP address
  9766. flapping for people with DynDNS, and chose not to upload a new
  9767. server descriptor sometimes.
  9768. - Try to be compatible with OpenSSL 0.9.6 again.
  9769. - Log fix: when the controller is logging about .onion addresses,
  9770. sometimes it didn't include the ".onion" part of the address.
  9771. - Don't try to modify options->DirServers internally -- if the
  9772. user didn't specify any, just add the default ones directly to
  9773. the trusted dirserver list. This fixes a bug where people running
  9774. controllers would use SETCONF on some totally unrelated config
  9775. option, and Tor would start yelling at them about changing their
  9776. DirServer lines.
  9777. - Let the controller's redirectstream command specify a port, in
  9778. case the controller wants to change that too.
  9779. - When we requested a pile of server descriptors, we sometimes
  9780. accidentally launched a duplicate request for the first one.
  9781. - Bugfix for trackhostexits: write down the fingerprint of the
  9782. chosen exit, not its nickname, because the chosen exit might not
  9783. be verified.
  9784. - When parsing foo.exit, if foo is unknown, and we are leaving
  9785. circuits unattached, set the chosen_exit field and leave the
  9786. address empty. This matters because controllers got confused
  9787. otherwise.
  9788. - Directory authorities no longer try to download server
  9789. descriptors that they know they will reject.
  9790. o Features and updates:
  9791. - Replace balanced trees with hash tables: this should make stuff
  9792. significantly faster.
  9793. - Resume using the AES counter-mode implementation that we ship,
  9794. rather than OpenSSL's. Ours is significantly faster.
  9795. - Many other CPU and memory improvements.
  9796. - Add a new config option FastFirstHopPK (on by default) so clients
  9797. do a trivial crypto handshake for their first hop, since TLS has
  9798. already taken care of confidentiality and authentication.
  9799. - Add a new config option TestSocks so people can see if their
  9800. applications are using socks4, socks4a, socks5-with-ip, or
  9801. socks5-with-hostname. This way they don't have to keep mucking
  9802. with tcpdump and wondering if something got cached somewhere.
  9803. - Warn when listening on a public address for socks. I suspect a
  9804. lot of people are setting themselves up as open socks proxies,
  9805. and they have no idea that jerks on the Internet are using them,
  9806. since they simply proxy the traffic into the Tor network.
  9807. - Add "private:*" as an alias in configuration for policies. Now
  9808. you can simplify your exit policy rather than needing to list
  9809. every single internal or nonroutable network space.
  9810. - Add a new controller event type that allows controllers to get
  9811. all server descriptors that were uploaded to a router in its role
  9812. as authoritative dirserver.
  9813. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  9814. tor-doc-server.html, and stylesheet.css in the tarball.
  9815. - Stop shipping tor-doc.html in the tarball.
  9816. Changes in version 0.1.1.9-alpha - 2005-11-15
  9817. o Usability improvements:
  9818. - Start calling it FooListenAddress rather than FooBindAddress,
  9819. since few of our users know what it means to bind an address
  9820. or port.
  9821. - Reduce clutter in server logs. We're going to try to make
  9822. them actually usable now. New config option ProtocolWarnings that
  9823. lets you hear about how _other Tors_ are breaking the protocol. Off
  9824. by default.
  9825. - Divide log messages into logging domains. Once we put some sort
  9826. of interface on this, it will let people looking at more verbose
  9827. log levels specify the topics they want to hear more about.
  9828. - Make directory servers return better http 404 error messages
  9829. instead of a generic "Servers unavailable".
  9830. - Check for even more Windows version flags when writing the platform
  9831. string in server descriptors, and note any we don't recognize.
  9832. - Clean up more of the OpenSSL memory when exiting, so we can detect
  9833. memory leaks better.
  9834. - Make directory authorities be non-versioning, non-naming by
  9835. default. Now we can add new directory servers without requiring
  9836. their operators to pay close attention.
  9837. - When logging via syslog, include the pid whenever we provide
  9838. a log entry. Suggested by Todd Fries.
  9839. o Performance improvements:
  9840. - Directory servers now silently throw away new descriptors that
  9841. haven't changed much if the timestamps are similar. We do this to
  9842. tolerate older Tor servers that upload a new descriptor every 15
  9843. minutes. (It seemed like a good idea at the time.)
  9844. - Inline bottleneck smartlist functions; use fast versions by default.
  9845. - Add a "Map from digest to void*" abstraction digestmap_t so we
  9846. can do less hex encoding/decoding. Use it in router_get_by_digest()
  9847. to resolve a performance bottleneck.
  9848. - Allow tor_gzip_uncompress to extract as much as possible from
  9849. truncated compressed data. Try to extract as many
  9850. descriptors as possible from truncated http responses (when
  9851. DIR_PURPOSE_FETCH_ROUTERDESC).
  9852. - Make circ->onionskin a pointer, not a static array. moria2 was using
  9853. 125000 circuit_t's after it had been up for a few weeks, which
  9854. translates to 20+ megs of wasted space.
  9855. - The private half of our EDH handshake keys are now chosen out
  9856. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  9857. o Security improvements:
  9858. - Start making directory caches retain old routerinfos, so soon
  9859. clients can start asking by digest of descriptor rather than by
  9860. fingerprint of server.
  9861. - Add half our entropy from RAND_poll in OpenSSL. This knows how
  9862. to use egd (if present), openbsd weirdness (if present), vms/os2
  9863. weirdness (if we ever port there), and more in the future.
  9864. o Bugfixes on 0.1.0.x:
  9865. - Do round-robin writes of at most 16 kB per write. This might be
  9866. more fair on loaded Tor servers, and it might resolve our Windows
  9867. crash bug. It might also slow things down.
  9868. - Our TLS handshakes were generating a single public/private
  9869. keypair for the TLS context, rather than making a new one for
  9870. each new connections. Oops. (But we were still rotating them
  9871. periodically, so it's not so bad.)
  9872. - When we were cannibalizing a circuit with a particular exit
  9873. node in mind, we weren't checking to see if that exit node was
  9874. already present earlier in the circuit. Oops.
  9875. - When a Tor server's IP changes (e.g. from a dyndns address),
  9876. upload a new descriptor so clients will learn too.
  9877. - Really busy servers were keeping enough circuits open on stable
  9878. connections that they were wrapping around the circuit_id
  9879. space. (It's only two bytes.) This exposed a bug where we would
  9880. feel free to reuse a circuit_id even if it still exists but has
  9881. been marked for close. Try to fix this bug. Some bug remains.
  9882. - If we would close a stream early (e.g. it asks for a .exit that
  9883. we know would refuse it) but the LeaveStreamsUnattached config
  9884. option is set by the controller, then don't close it.
  9885. o Bugfixes on 0.1.1.8-alpha:
  9886. - Fix a big pile of memory leaks, some of them serious.
  9887. - Do not try to download a routerdesc if we would immediately reject
  9888. it as obsolete.
  9889. - Resume inserting a newline between all router descriptors when
  9890. generating (old style) signed directories, since our spec says
  9891. we do.
  9892. - When providing content-type application/octet-stream for
  9893. server descriptors using .z, we were leaving out the
  9894. content-encoding header. Oops. (Everything tolerated this just
  9895. fine, but that doesn't mean we need to be part of the problem.)
  9896. - Fix a potential seg fault in getconf and getinfo using version 1
  9897. of the controller protocol.
  9898. - Avoid crash: do not check whether DirPort is reachable when we
  9899. are suppressing it because of hibernation.
  9900. - Make --hash-password not crash on exit.
  9901. Changes in version 0.1.1.8-alpha - 2005-10-07
  9902. o New features (major):
  9903. - Clients don't download or use the directory anymore. Now they
  9904. download and use network-statuses from the trusted dirservers,
  9905. and fetch individual server descriptors as needed from mirrors.
  9906. See dir-spec.txt for all the gory details.
  9907. - Be more conservative about whether to advertise our DirPort.
  9908. The main change is to not advertise if we're running at capacity
  9909. and either a) we could hibernate or b) our capacity is low and
  9910. we're using a default DirPort.
  9911. - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
  9912. o New features (minor):
  9913. - Try to be smart about when to retry network-status and
  9914. server-descriptor fetches. Still needs some tuning.
  9915. - Stop parsing, storing, or using running-routers output (but
  9916. mirrors still cache and serve it).
  9917. - Consider a threshold of versioning dirservers (dirservers who have
  9918. an opinion about which Tor versions are still recommended) before
  9919. deciding whether to warn the user that he's obsolete.
  9920. - Dirservers can now reject/invalidate by key and IP, with the
  9921. config options "AuthDirInvalid" and "AuthDirReject". This is
  9922. useful since currently we automatically list servers as running
  9923. and usable even if we know they're jerks.
  9924. - Provide dire warnings to any users who set DirServer; move it out
  9925. of torrc.sample and into torrc.complete.
  9926. - Add MyFamily to torrc.sample in the server section.
  9927. - Add nicknames to the DirServer line, so we can refer to them
  9928. without requiring all our users to memorize their IP addresses.
  9929. - When we get an EOF or a timeout on a directory connection, note
  9930. how many bytes of serverdesc we are dropping. This will help
  9931. us determine whether it is smart to parse incomplete serverdesc
  9932. responses.
  9933. - Add a new function to "change pseudonyms" -- that is, to stop
  9934. using any currently-dirty circuits for new streams, so we don't
  9935. link new actions to old actions. Currently it's only called on
  9936. HUP (or SIGNAL RELOAD).
  9937. - On sighup, if UseHelperNodes changed to 1, use new circuits.
  9938. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  9939. OpenSSL. Also, reseed our entropy every hour, not just at
  9940. startup. And entropy in 512-bit chunks, not 160-bit chunks.
  9941. o Fixes on 0.1.1.7-alpha:
  9942. - Nobody ever implemented EVENT_ADDRMAP for control protocol
  9943. version 0, so don't let version 0 controllers ask for it.
  9944. - If you requested something with too many newlines via the
  9945. v1 controller protocol, you could crash tor.
  9946. - Fix a number of memory leaks, including some pretty serious ones.
  9947. - Re-enable DirPort testing again, so Tor servers will be willing
  9948. to advertise their DirPort if it's reachable.
  9949. - On TLS handshake, only check the other router's nickname against
  9950. its expected nickname if is_named is set.
  9951. o Fixes forward-ported from 0.1.0.15:
  9952. - Don't crash when we don't have any spare file descriptors and we
  9953. try to spawn a dns or cpu worker.
  9954. - Make the numbers in read-history and write-history into uint64s,
  9955. so they don't overflow and publish negatives in the descriptor.
  9956. o Fixes on 0.1.0.x:
  9957. - For the OS X package's modified privoxy config file, comment
  9958. out the "logfile" line so we don't log everything passed
  9959. through privoxy.
  9960. - We were whining about using socks4 or socks5-with-local-lookup
  9961. even when it's an IP in the "virtual" range we designed exactly
  9962. for this case.
  9963. - We were leaking some memory every time the client changes IPs.
  9964. - Never call free() on tor_malloc()d memory. This will help us
  9965. use dmalloc to detect memory leaks.
  9966. - Check for named servers when looking them up by nickname;
  9967. warn when we'recalling a non-named server by its nickname;
  9968. don't warn twice about the same name.
  9969. - Try to list MyFamily elements by key, not by nickname, and warn
  9970. if we've not heard of the server.
  9971. - Make windows platform detection (uname equivalent) smarter.
  9972. - It turns out sparc64 doesn't like unaligned access either.
  9973. Changes in version 0.1.0.15 - 2005-09-23
  9974. o Bugfixes on 0.1.0.x:
  9975. - Reject ports 465 and 587 (spam targets) in default exit policy.
  9976. - Don't crash when we don't have any spare file descriptors and we
  9977. try to spawn a dns or cpu worker.
  9978. - Get rid of IgnoreVersion undocumented config option, and make us
  9979. only warn, never exit, when we're running an obsolete version.
  9980. - Don't try to print a null string when your server finds itself to
  9981. be unreachable and the Address config option is empty.
  9982. - Make the numbers in read-history and write-history into uint64s,
  9983. so they don't overflow and publish negatives in the descriptor.
  9984. - Fix a minor memory leak in smartlist_string_remove().
  9985. - We were only allowing ourselves to upload a server descriptor at
  9986. most every 20 minutes, even if it changed earlier than that.
  9987. - Clean up log entries that pointed to old URLs.
  9988. Changes in version 0.1.1.7-alpha - 2005-09-14
  9989. o Fixes on 0.1.1.6-alpha:
  9990. - Exit servers were crashing when people asked them to make a
  9991. connection to an address not in their exit policy.
  9992. - Looking up a non-existent stream for a v1 control connection would
  9993. cause a segfault.
  9994. - Fix a seg fault if we ask a dirserver for a descriptor by
  9995. fingerprint but he doesn't know about him.
  9996. - SETCONF was appending items to linelists, not clearing them.
  9997. - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
  9998. out and refuse the setconf if it would fail.
  9999. - Downgrade the dirserver log messages when whining about
  10000. unreachability.
  10001. o New features:
  10002. - Add Peter Palfrader's check-tor script to tor/contrib/
  10003. It lets you easily check whether a given server (referenced by
  10004. nickname) is reachable by you.
  10005. - Numerous changes to move towards client-side v2 directories. Not
  10006. enabled yet.
  10007. o Fixes on 0.1.0.x:
  10008. - If the user gave tor an odd number of command-line arguments,
  10009. we were silently ignoring the last one. Now we complain and fail.
  10010. [This wins the oldest-bug prize -- this bug has been present since
  10011. November 2002, as released in Tor 0.0.0.]
  10012. - Do not use unaligned memory access on alpha, mips, or mipsel.
  10013. It *works*, but is very slow, so we treat them as if it doesn't.
  10014. - Retry directory requests if we fail to get an answer we like
  10015. from a given dirserver (we were retrying before, but only if
  10016. we fail to connect).
  10017. - When writing the RecommendedVersions line, sort them first.
  10018. - When the client asked for a rendezvous port that the hidden
  10019. service didn't want to provide, we were sending an IP address
  10020. back along with the end cell. Fortunately, it was zero. But stop
  10021. that anyway.
  10022. - Correct "your server is reachable" log entries to indicate that
  10023. it was self-testing that told us so.
  10024. Changes in version 0.1.1.6-alpha - 2005-09-09
  10025. o Fixes on 0.1.1.5-alpha:
  10026. - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
  10027. - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
  10028. - Fix bug with tor_memmem finding a match at the end of the string.
  10029. - Make unit tests run without segfaulting.
  10030. - Resolve some solaris x86 compile warnings.
  10031. - Handle duplicate lines in approved-routers files without warning.
  10032. - Fix bug where as soon as a server refused any requests due to his
  10033. exit policy (e.g. when we ask for localhost and he tells us that's
  10034. 127.0.0.1 and he won't do it), we decided he wasn't obeying his
  10035. exit policy using him for any exits.
  10036. - Only do openssl hardware accelerator stuff if openssl version is
  10037. at least 0.9.7.
  10038. o New controller features/fixes:
  10039. - Add a "RESETCONF" command so you can set config options like
  10040. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  10041. a config option in the torrc with no value, then it clears it
  10042. entirely (rather than setting it to its default).
  10043. - Add a "GETINFO config-file" to tell us where torrc is.
  10044. - Avoid sending blank lines when GETINFO replies should be empty.
  10045. - Add a QUIT command for the controller (for using it manually).
  10046. - Fix a bug in SAVECONF that was adding default dirservers and
  10047. other redundant entries to the torrc file.
  10048. o Start on the new directory design:
  10049. - Generate, publish, cache, serve new network-status format.
  10050. - Publish individual descriptors (by fingerprint, by "all", and by
  10051. "tell me yours").
  10052. - Publish client and server recommended versions separately.
  10053. - Allow tor_gzip_uncompress() to handle multiple concatenated
  10054. compressed strings. Serve compressed groups of router
  10055. descriptors. The compression logic here could be more
  10056. memory-efficient.
  10057. - Distinguish v1 authorities (all currently trusted directories)
  10058. from v2 authorities (all trusted directories).
  10059. - Change DirServers config line to note which dirs are v1 authorities.
  10060. - Add configuration option "V1AuthoritativeDirectory 1" which
  10061. moria1, moria2, and tor26 should set.
  10062. - Remove option when getting directory cache to see whether they
  10063. support running-routers; they all do now. Replace it with one
  10064. to see whether caches support v2 stuff.
  10065. o New features:
  10066. - Dirservers now do their own external reachability testing of each
  10067. Tor server, and only list them as running if they've been found to
  10068. be reachable. We also send back warnings to the server's logs if
  10069. it uploads a descriptor that we already believe is unreachable.
  10070. - Implement exit enclaves: if we know an IP address for the
  10071. destination, and there's a running Tor server at that address
  10072. which allows exit to the destination, then extend the circuit to
  10073. that exit first. This provides end-to-end encryption and end-to-end
  10074. authentication. Also, if the user wants a .exit address or enclave,
  10075. use 4 hops rather than 3, and cannibalize a general circ for it
  10076. if you can.
  10077. - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
  10078. controller. Also, rotate dns and cpu workers if the controller
  10079. changes options that will affect them; and initialize the dns
  10080. worker cache tree whether or not we start out as a server.
  10081. - Only upload a new server descriptor when options change, 18
  10082. hours have passed, uptime is reset, or bandwidth changes a lot.
  10083. - Check [X-]Forwarded-For headers in HTTP requests when generating
  10084. log messages. This lets people run dirservers (and caches) behind
  10085. Apache but still know which IP addresses are causing warnings.
  10086. o Config option changes:
  10087. - Replace (Fascist)Firewall* config options with a new
  10088. ReachableAddresses option that understands address policies.
  10089. For example, "ReachableAddresses *:80,*:443"
  10090. - Get rid of IgnoreVersion undocumented config option, and make us
  10091. only warn, never exit, when we're running an obsolete version.
  10092. - Make MonthlyAccountingStart config option truly obsolete now.
  10093. o Fixes on 0.1.0.x:
  10094. - Reject ports 465 and 587 in the default exit policy, since
  10095. people have started using them for spam too.
  10096. - It turns out we couldn't bootstrap a network since we added
  10097. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  10098. has never gone down. Add an AssumeReachable config option to let
  10099. servers and dirservers bootstrap. When we're trying to build a
  10100. high-uptime or high-bandwidth circuit but there aren't enough
  10101. suitable servers, try being less picky rather than simply failing.
  10102. - Our logic to decide if the OR we connected to was the right guy
  10103. was brittle and maybe open to a mitm for unverified routers.
  10104. - We weren't cannibalizing circuits correctly for
  10105. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  10106. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  10107. build those from scratch. This should make hidden services faster.
  10108. - Predict required circuits better, with an eye toward making hidden
  10109. services faster on the service end.
  10110. - Retry streams if the exit node sends back a 'misc' failure. This
  10111. should result in fewer random failures. Also, after failing
  10112. from resolve failed or misc, reset the num failures, so we give
  10113. it a fair shake next time we try.
  10114. - Clean up the rendezvous warn log msgs, and downgrade some to info.
  10115. - Reduce severity on logs about dns worker spawning and culling.
  10116. - When we're shutting down and we do something like try to post a
  10117. server descriptor or rendezvous descriptor, don't complain that
  10118. we seem to be unreachable. Of course we are, we're shutting down.
  10119. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  10120. We don't use them yet, but maybe one day our DNS resolver will be
  10121. able to discover them.
  10122. - Make ContactInfo mandatory for authoritative directory servers.
  10123. - Require server descriptors to list IPv4 addresses -- hostnames
  10124. are no longer allowed. This also fixes some potential security
  10125. problems with people providing hostnames as their address and then
  10126. preferentially resolving them to partition users.
  10127. - Change log line for unreachability to explicitly suggest /etc/hosts
  10128. as the culprit. Also make it clearer what IP address and ports we're
  10129. testing for reachability.
  10130. - Put quotes around user-supplied strings when logging so users are
  10131. more likely to realize if they add bad characters (like quotes)
  10132. to the torrc.
  10133. - Let auth dir servers start without specifying an Address config
  10134. option.
  10135. - Make unit tests (and other invocations that aren't the real Tor)
  10136. run without launching listeners, creating subdirectories, and so on.
  10137. Changes in version 0.1.1.5-alpha - 2005-08-08
  10138. o Bugfixes included in 0.1.0.14.
  10139. o Bugfixes on 0.1.0.x:
  10140. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  10141. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  10142. it would silently using ignore the 6668.
  10143. Changes in version 0.1.0.14 - 2005-08-08
  10144. o Bugfixes on 0.1.0.x:
  10145. - Fix the other half of the bug with crypto handshakes
  10146. (CVE-2005-2643).
  10147. - Fix an assert trigger if you send a 'signal term' via the
  10148. controller when it's listening for 'event info' messages.
  10149. Changes in version 0.1.1.4-alpha - 2005-08-04
  10150. o Bugfixes included in 0.1.0.13.
  10151. o Features:
  10152. - Improve tor_gettimeofday() granularity on windows.
  10153. - Make clients regenerate their keys when their IP address changes.
  10154. - Implement some more GETINFO goodness: expose helper nodes, config
  10155. options, getinfo keys.
  10156. Changes in version 0.1.0.13 - 2005-08-04
  10157. o Bugfixes on 0.1.0.x:
  10158. - Fix a critical bug in the security of our crypto handshakes.
  10159. - Fix a size_t underflow in smartlist_join_strings2() that made
  10160. it do bad things when you hand it an empty smartlist.
  10161. - Fix Windows installer to ship Tor license (thanks to Aphex for
  10162. pointing out this oversight) and put a link to the doc directory
  10163. in the start menu.
  10164. - Explicitly set no-unaligned-access for sparc: it turns out the
  10165. new gcc's let you compile broken code, but that doesn't make it
  10166. not-broken.
  10167. Changes in version 0.1.1.3-alpha - 2005-07-23
  10168. o Bugfixes on 0.1.1.2-alpha:
  10169. - Fix a bug in handling the controller's "post descriptor"
  10170. function.
  10171. - Fix several bugs in handling the controller's "extend circuit"
  10172. function.
  10173. - Fix a bug in handling the controller's "stream status" event.
  10174. - Fix an assert failure if we have a controller listening for
  10175. circuit events and we go offline.
  10176. - Re-allow hidden service descriptors to publish 0 intro points.
  10177. - Fix a crash when generating your hidden service descriptor if
  10178. you don't have enough intro points already.
  10179. o New features on 0.1.1.2-alpha:
  10180. - New controller function "getinfo accounting", to ask how
  10181. many bytes we've used in this time period.
  10182. - Experimental support for helper nodes: a lot of the risk from
  10183. a small static adversary comes because users pick new random
  10184. nodes every time they rebuild a circuit. Now users will try to
  10185. stick to the same small set of entry nodes if they can. Not
  10186. enabled by default yet.
  10187. o Bugfixes on 0.1.0.12:
  10188. - If you're an auth dir server, always publish your dirport,
  10189. even if you haven't yet found yourself to be reachable.
  10190. - Fix a size_t underflow in smartlist_join_strings2() that made
  10191. it do bad things when you hand it an empty smartlist.
  10192. Changes in version 0.1.0.12 - 2005-07-18
  10193. o New directory servers:
  10194. - tor26 has changed IP address.
  10195. o Bugfixes on 0.1.0.x:
  10196. - Fix a possible double-free in tor_gzip_uncompress().
  10197. - When --disable-threads is set, do not search for or link against
  10198. pthreads libraries.
  10199. - Don't trigger an assert if an authoritative directory server
  10200. claims its dirport is 0.
  10201. - Fix bug with removing Tor as an NT service: some people were
  10202. getting "The service did not return an error." Thanks to Matt
  10203. Edman for the fix.
  10204. Changes in version 0.1.1.2-alpha - 2005-07-15
  10205. o New directory servers:
  10206. - tor26 has changed IP address.
  10207. o Bugfixes on 0.1.0.x, crashes/leaks:
  10208. - Port the servers-not-obeying-their-exit-policies fix from
  10209. 0.1.0.11.
  10210. - Fix an fd leak in start_daemon().
  10211. - On Windows, you can't always reopen a port right after you've
  10212. closed it. So change retry_listeners() to only close and re-open
  10213. ports that have changed.
  10214. - Fix a possible double-free in tor_gzip_uncompress().
  10215. o Bugfixes on 0.1.0.x, usability:
  10216. - When tor_socketpair() fails in Windows, give a reasonable
  10217. Windows-style errno back.
  10218. - Let people type "tor --install" as well as "tor -install" when
  10219. they
  10220. want to make it an NT service.
  10221. - NT service patch from Matt Edman to improve error messages.
  10222. - When the controller asks for a config option with an abbreviated
  10223. name, give the full name in our response.
  10224. - Correct the man page entry on TrackHostExitsExpire.
  10225. - Looks like we were never delivering deflated (i.e. compressed)
  10226. running-routers lists, even when asked. Oops.
  10227. - When --disable-threads is set, do not search for or link against
  10228. pthreads libraries.
  10229. o Bugfixes on 0.1.1.x:
  10230. - Fix a seg fault with autodetecting which controller version is
  10231. being used.
  10232. o Features:
  10233. - New hidden service descriptor format: put a version in it, and
  10234. let people specify introduction/rendezvous points that aren't
  10235. in "the directory" (which is subjective anyway).
  10236. - Allow the DEBUG controller event to work again. Mark certain log
  10237. entries as "don't tell this to controllers", so we avoid cycles.
  10238. Changes in version 0.1.0.11 - 2005-06-30
  10239. o Bugfixes on 0.1.0.x:
  10240. - Fix major security bug: servers were disregarding their
  10241. exit policies if clients behaved unexpectedly.
  10242. - Make OS X init script check for missing argument, so we don't
  10243. confuse users who invoke it incorrectly.
  10244. - Fix a seg fault in "tor --hash-password foo".
  10245. - The MAPADDRESS control command was broken.
  10246. Changes in version 0.1.1.1-alpha - 2005-06-29
  10247. o Bugfixes:
  10248. - Make OS X init script check for missing argument, so we don't
  10249. confuse users who invoke it incorrectly.
  10250. - Fix a seg fault in "tor --hash-password foo".
  10251. - Fix a possible way to DoS dirservers.
  10252. - When we complain that your exit policy implicitly allows local or
  10253. private address spaces, name them explicitly so operators can
  10254. fix it.
  10255. - Make the log message less scary when all the dirservers are
  10256. temporarily unreachable.
  10257. - We were printing the number of idle dns workers incorrectly when
  10258. culling them.
  10259. o Features:
  10260. - Revised controller protocol (version 1) that uses ascii rather
  10261. than binary. Add supporting libraries in python and java so you
  10262. can use the controller from your applications without caring how
  10263. our protocol works.
  10264. - Spiffy new support for crypto hardware accelerators. Can somebody
  10265. test this?
  10266. Changes in version 0.0.9.10 - 2005-06-16
  10267. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  10268. - Refuse relay cells that claim to have a length larger than the
  10269. maximum allowed. This prevents a potential attack that could read
  10270. arbitrary memory (e.g. keys) from an exit server's process
  10271. (CVE-2005-2050).
  10272. Changes in version 0.1.0.10 - 2005-06-14
  10273. o Allow a few EINVALs from libevent before dying. Warn on kqueue with
  10274. libevent before 1.1a.
  10275. Changes in version 0.1.0.9-rc - 2005-06-09
  10276. o Bugfixes:
  10277. - Reset buf->highwater every time buf_shrink() is called, not just on
  10278. a successful shrink. This was causing significant memory bloat.
  10279. - Fix buffer overflow when checking hashed passwords.
  10280. - Security fix: if seeding the RNG on Win32 fails, quit.
  10281. - Allow seeding the RNG on Win32 even when you're not running as
  10282. Administrator.
  10283. - Disable threading on Solaris too. Something is wonky with it,
  10284. cpuworkers, and reentrant libs.
  10285. - Reenable the part of the code that tries to flush as soon as an
  10286. OR outbuf has a full TLS record available. Perhaps this will make
  10287. OR outbufs not grow as huge except in rare cases, thus saving lots
  10288. of CPU time plus memory.
  10289. - Reject malformed .onion addresses rather then passing them on as
  10290. normal web requests.
  10291. - Adapt patch from Adam Langley: fix possible memory leak in
  10292. tor_lookup_hostname().
  10293. - Initialize libevent later in the startup process, so the logs are
  10294. already established by the time we start logging libevent warns.
  10295. - Use correct errno on win32 if libevent fails.
  10296. - Check and warn about known-bad/slow libevent versions.
  10297. - Pay more attention to the ClientOnly config option.
  10298. - Have torctl.in/tor.sh.in check for location of su binary (needed
  10299. on FreeBSD)
  10300. - Correct/add man page entries for LongLivedPorts, ExitPolicy,
  10301. KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
  10302. HttpProxyAuthenticator
  10303. - Stop warning about sigpipes in the logs. We're going to
  10304. pretend that getting these occassionally is normal and fine.
  10305. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
  10306. certain
  10307. installer screens; and don't put stuff into StartupItems unless
  10308. the user asks you to.
  10309. - Require servers that use the default dirservers to have public IP
  10310. addresses. We have too many servers that are configured with private
  10311. IPs and their admins never notice the log entries complaining that
  10312. their descriptors are being rejected.
  10313. - Add OSX uninstall instructions. An actual uninstall script will
  10314. come later.
  10315. Changes in version 0.1.0.8-rc - 2005-05-23
  10316. o Bugfixes:
  10317. - It turns out that kqueue on OS X 10.3.9 was causing kernel
  10318. panics. Disable kqueue on all OS X Tors.
  10319. - Fix RPM: remove duplicate line accidentally added to the rpm
  10320. spec file.
  10321. - Disable threads on openbsd too, since its gethostaddr is not
  10322. reentrant either.
  10323. - Tolerate libevent 0.8 since it still works, even though it's
  10324. ancient.
  10325. - Enable building on Red Hat 9.0 again.
  10326. - Allow the middle hop of the testing circuit to be running any
  10327. version, now that most of them have the bugfix to let them connect
  10328. to unknown servers. This will allow reachability testing to work
  10329. even when 0.0.9.7-0.0.9.9 become obsolete.
  10330. - Handle relay cells with rh.length too large. This prevents
  10331. a potential attack that could read arbitrary memory (maybe even
  10332. keys) from the exit server's process.
  10333. - We screwed up the dirport reachability testing when we don't yet
  10334. have a cached version of the directory. Hopefully now fixed.
  10335. - Clean up router_load_single_router() (used by the controller),
  10336. so it doesn't seg fault on error.
  10337. - Fix a minor memory leak when somebody establishes an introduction
  10338. point at your Tor server.
  10339. - If a socks connection ends because read fails, don't warn that
  10340. you're not sending a socks reply back.
  10341. o Features:
  10342. - Add HttpProxyAuthenticator config option too, that works like
  10343. the HttpsProxyAuthenticator config option.
  10344. - Encode hashed controller passwords in hex instead of base64,
  10345. to make it easier to write controllers.
  10346. Changes in version 0.1.0.7-rc - 2005-05-17
  10347. o Bugfixes:
  10348. - Fix a bug in the OS X package installer that prevented it from
  10349. installing on Tiger.
  10350. - Fix a script bug in the OS X package installer that made it
  10351. complain during installation.
  10352. - Find libevent even if it's hiding in /usr/local/ and your
  10353. CFLAGS and LDFLAGS don't tell you to look there.
  10354. - Be able to link with libevent as a shared library (the default
  10355. after 1.0d), even if it's hiding in /usr/local/lib and even
  10356. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  10357. assuming you're running gcc. Otherwise fail and give a useful
  10358. error message.
  10359. - Fix a bug in the RPM packager: set home directory for _tor to
  10360. something more reasonable when first installing.
  10361. - Free a minor amount of memory that is still reachable on exit.
  10362. Changes in version 0.1.0.6-rc - 2005-05-14
  10363. o Bugfixes:
  10364. - Implement --disable-threads configure option. Disable threads on
  10365. netbsd by default, because it appears to have no reentrant resolver
  10366. functions.
  10367. - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
  10368. release (1.1) detects and disables kqueue if it's broken.
  10369. - Append default exit policy before checking for implicit internal
  10370. addresses. Now we don't log a bunch of complaints on startup
  10371. when using the default exit policy.
  10372. - Some people were putting "Address " in their torrc, and they had
  10373. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  10374. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  10375. LOCALSTATEDIR/tor instead.
  10376. - Fix fragmented-message bug in TorControl.py.
  10377. - Resolve a minor bug which would prevent unreachable dirports
  10378. from getting suppressed in the published descriptor.
  10379. - When the controller gave us a new descriptor, we weren't resolving
  10380. it immediately, so Tor would think its address was 0.0.0.0 until
  10381. we fetched a new directory.
  10382. - Fix an uppercase/lowercase case error in suppressing a bogus
  10383. libevent warning on some Linuxes.
  10384. o Features:
  10385. - Begin scrubbing sensitive strings from logs by default. Turn off
  10386. the config option SafeLogging if you need to do debugging.
  10387. - Switch to a new buffer management algorithm, which tries to avoid
  10388. reallocing and copying quite as much. In first tests it looks like
  10389. it uses *more* memory on average, but less cpu.
  10390. - First cut at support for "create-fast" cells. Clients can use
  10391. these when extending to their first hop, since the TLS already
  10392. provides forward secrecy and authentication. Not enabled on
  10393. clients yet.
  10394. - When dirservers refuse a router descriptor, we now log its
  10395. contactinfo, platform, and the poster's IP address.
  10396. - Call tor_free_all instead of connections_free_all after forking, to
  10397. save memory on systems that need to fork.
  10398. - Whine at you if you're a server and you don't set your contactinfo.
  10399. - Implement --verify-config command-line option to check if your torrc
  10400. is valid without actually launching Tor.
  10401. - Rewrite address "serifos.exit" to "localhost.serifos.exit"
  10402. rather than just rejecting it.
  10403. Changes in version 0.1.0.5-rc - 2005-04-27
  10404. o Bugfixes:
  10405. - Stop trying to print a null pointer if an OR conn fails because
  10406. we didn't like its cert.
  10407. o Features:
  10408. - Switch our internal buffers implementation to use a ring buffer,
  10409. to hopefully improve performance for fast servers a lot.
  10410. - Add HttpsProxyAuthenticator support (basic auth only), based
  10411. on patch from Adam Langley.
  10412. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  10413. the fast servers that have been joining lately.
  10414. - Give hidden service accesses extra time on the first attempt,
  10415. since 60 seconds is often only barely enough. This might improve
  10416. robustness more.
  10417. - Improve performance for dirservers: stop re-parsing the whole
  10418. directory every time you regenerate it.
  10419. - Add more debugging info to help us find the weird dns freebsd
  10420. pthreads bug; cleaner debug messages to help track future issues.
  10421. Changes in version 0.0.9.9 - 2005-04-23
  10422. o Bugfixes on 0.0.9.x:
  10423. - If unofficial Tor clients connect and send weird TLS certs, our
  10424. Tor server triggers an assert. This release contains a minimal
  10425. backport from the broader fix that we put into 0.1.0.4-rc.
  10426. Changes in version 0.1.0.4-rc - 2005-04-23
  10427. o Bugfixes:
  10428. - If unofficial Tor clients connect and send weird TLS certs, our
  10429. Tor server triggers an assert. Stop asserting, and start handling
  10430. TLS errors better in other situations too.
  10431. - When the controller asks us to tell it about all the debug-level
  10432. logs, it turns out we were generating debug-level logs while
  10433. telling it about them, which turns into a bad loop. Now keep
  10434. track of whether you're sending a debug log to the controller,
  10435. and don't log when you are.
  10436. - Fix the "postdescriptor" feature of the controller interface: on
  10437. non-complete success, only say "done" once.
  10438. o Features:
  10439. - Clients are now willing to load balance over up to 2mB, not 1mB,
  10440. of advertised bandwidth capacity.
  10441. - Add a NoPublish config option, so you can be a server (e.g. for
  10442. testing running Tor servers in other Tor networks) without
  10443. publishing your descriptor to the primary dirservers.
  10444. Changes in version 0.1.0.3-rc - 2005-04-08
  10445. o Improvements on 0.1.0.2-rc:
  10446. - Client now retries when streams end early for 'hibernating' or
  10447. 'resource limit' reasons, rather than failing them.
  10448. - More automated handling for dirserver operators:
  10449. - Automatically approve nodes running 0.1.0.2-rc or later,
  10450. now that the the reachability detection stuff is working.
  10451. - Now we allow two unverified servers with the same nickname
  10452. but different keys. But if a nickname is verified, only that
  10453. nickname+key are allowed.
  10454. - If you're an authdirserver connecting to an address:port,
  10455. and it's not the OR you were expecting, forget about that
  10456. descriptor. If he *was* the one you were expecting, then forget
  10457. about all other descriptors for that address:port.
  10458. - Allow servers to publish descriptors from 12 hours in the future.
  10459. Corollary: only whine about clock skew from the dirserver if
  10460. he's a trusted dirserver (since now even verified servers could
  10461. have quite wrong clocks).
  10462. - Adjust maximum skew and age for rendezvous descriptors: let skew
  10463. be 48 hours rather than 90 minutes.
  10464. - Efficiency improvements:
  10465. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  10466. it much faster to look up a circuit for each relay cell.
  10467. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  10468. since they're eating our cpu on exit nodes.
  10469. - Stop wasting time doing a case insensitive comparison for every
  10470. dns name every time we do any lookup. Canonicalize the names to
  10471. lowercase and be done with it.
  10472. - Start sending 'truncated' cells back rather than destroy cells,
  10473. if the circuit closes in front of you. This means we won't have
  10474. to abandon partially built circuits.
  10475. - Only warn once per nickname from add_nickname_list_to_smartlist
  10476. per failure, so an entrynode or exitnode choice that's down won't
  10477. yell so much.
  10478. - Put a note in the torrc about abuse potential with the default
  10479. exit policy.
  10480. - Revise control spec and implementation to allow all log messages to
  10481. be sent to controller with their severities intact (suggested by
  10482. Matt Edman). Update TorControl to handle new log event types.
  10483. - Provide better explanation messages when controller's POSTDESCRIPTOR
  10484. fails.
  10485. - Stop putting nodename in the Platform string in server descriptors.
  10486. It doesn't actually help, and it is confusing/upsetting some people.
  10487. o Bugfixes on 0.1.0.2-rc:
  10488. - We were printing the host mask wrong in exit policies in server
  10489. descriptors. This isn't a critical bug though, since we were still
  10490. obeying the exit policy internally.
  10491. - Fix Tor when compiled with libevent but without pthreads: move
  10492. connection_unregister() from _connection_free() to
  10493. connection_free().
  10494. - Fix an assert trigger (already fixed in 0.0.9.x): when we have
  10495. the rare mysterious case of accepting a conn on 0.0.0.0:0, then
  10496. when we look through the connection array, we'll find any of the
  10497. cpu/dnsworkers. This is no good.
  10498. o Bugfixes on 0.0.9.8:
  10499. - Fix possible bug on threading platforms (e.g. win32) which was
  10500. leaking a file descriptor whenever a cpuworker or dnsworker died.
  10501. - When using preferred entry or exit nodes, ignore whether the
  10502. circuit wants uptime or capacity. They asked for the nodes, they
  10503. get the nodes.
  10504. - chdir() to your datadirectory at the *end* of the daemonize process,
  10505. not the beginning. This was a problem because the first time you
  10506. run tor, if your datadir isn't there, and you have runasdaemon set
  10507. to 1, it will try to chdir to it before it tries to create it. Oops.
  10508. - Handle changed router status correctly when dirserver reloads
  10509. fingerprint file. We used to be dropping all unverified descriptors
  10510. right then. The bug was hidden because we would immediately
  10511. fetch a directory from another dirserver, which would include the
  10512. descriptors we just dropped.
  10513. - When we're connecting to an OR and he's got a different nickname/key
  10514. than we were expecting, only complain loudly if we're an OP or a
  10515. dirserver. Complaining loudly to the OR admins just confuses them.
  10516. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  10517. artificially capped at 500kB.
  10518. Changes in version 0.0.9.8 - 2005-04-07
  10519. o Bugfixes on 0.0.9.x:
  10520. - We have a bug that I haven't found yet. Sometimes, very rarely,
  10521. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  10522. thinks of itself as idle. This meant that no new circuits ever got
  10523. established. Here's a workaround to kill any cpuworker that's been
  10524. busy for more than 100 seconds.
  10525. Changes in version 0.1.0.2-rc - 2005-04-01
  10526. o Bugfixes on 0.1.0.1-rc:
  10527. - Fixes on reachability detection:
  10528. - Don't check for reachability while hibernating.
  10529. - If ORPort is reachable but DirPort isn't, still publish the
  10530. descriptor, but zero out DirPort until it's found reachable.
  10531. - When building testing circs for ORPort testing, use only
  10532. high-bandwidth nodes, so fewer circuits fail.
  10533. - Complain about unreachable ORPort separately from unreachable
  10534. DirPort, so the user knows what's going on.
  10535. - Make sure we only conclude ORPort reachability if we didn't
  10536. initiate the conn. Otherwise we could falsely conclude that
  10537. we're reachable just because we connected to the guy earlier
  10538. and he used that same pipe to extend to us.
  10539. - Authdirservers shouldn't do ORPort reachability detection,
  10540. since they're in clique mode, so it will be rare to find a
  10541. server not already connected to them.
  10542. - When building testing circuits, always pick middle hops running
  10543. Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
  10544. bug. (This is a kludge; it will go away when 0.0.9.x becomes
  10545. obsolete.)
  10546. - When we decide we're reachable, actually publish our descriptor
  10547. right then.
  10548. - Fix bug in redirectstream in the controller.
  10549. - Fix the state descriptor strings so logs don't claim edge streams
  10550. are in a different state than they actually are.
  10551. - Use recent libevent features when possible (this only really affects
  10552. win32 and osx right now, because the new libevent with these
  10553. features hasn't been released yet). Add code to suppress spurious
  10554. libevent log msgs.
  10555. - Prevent possible segfault in connection_close_unattached_ap().
  10556. - Fix newlines on torrc in win32.
  10557. - Improve error msgs when tor-resolve fails.
  10558. o Improvements on 0.0.9.x:
  10559. - New experimental script tor/contrib/ExerciseServer.py (needs more
  10560. work) that uses the controller interface to build circuits and
  10561. fetch pages over them. This will help us bootstrap servers that
  10562. have lots of capacity but haven't noticed it yet.
  10563. - New experimental script tor/contrib/PathDemo.py (needs more work)
  10564. that uses the controller interface to let you choose whole paths
  10565. via addresses like
  10566. "<hostname>.<path,separated by dots>.<length of path>.path"
  10567. - When we've connected to an OR and handshaked but didn't like
  10568. the result, we were closing the conn without sending destroy
  10569. cells back for pending circuits. Now send those destroys.
  10570. Changes in version 0.0.9.7 - 2005-04-01
  10571. o Bugfixes on 0.0.9.x:
  10572. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  10573. - Compare identity to identity, not to nickname, when extending to
  10574. a router not already in the directory. This was preventing us from
  10575. extending to unknown routers. Oops.
  10576. - Make sure to create OS X Tor user in <500 range, so we aren't
  10577. creating actual system users.
  10578. - Note where connection-that-hasn't-sent-end was marked, and fix
  10579. a few really loud instances of this harmless bug (it's fixed more
  10580. in 0.1.0.x).
  10581. Changes in version 0.1.0.1-rc - 2005-03-28
  10582. o New features:
  10583. - Add reachability testing. Your Tor server will automatically try
  10584. to see if its ORPort and DirPort are reachable from the outside,
  10585. and it won't upload its descriptor until it decides they are.
  10586. - Handle unavailable hidden services better. Handle slow or busy
  10587. hidden services better.
  10588. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  10589. config option.
  10590. - New exit policy: accept most low-numbered ports, rather than
  10591. rejecting most low-numbered ports.
  10592. - More Tor controller support (still experimental). See
  10593. http://tor.eff.org/doc/control-spec.txt for all the new features,
  10594. including signals to emulate unix signals from any platform;
  10595. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  10596. closestream; closecircuit; etc.
  10597. - Make nt services work and start on startup on win32 (based on
  10598. patch by Matt Edman).
  10599. - Add a new AddressMap config directive to rewrite incoming socks
  10600. addresses. This lets you, for example, declare an implicit
  10601. required exit node for certain sites.
  10602. - Add a new TrackHostExits config directive to trigger addressmaps
  10603. for certain incoming socks addresses -- for sites that break when
  10604. your exit keeps changing (based on patch by Mike Perry).
  10605. - Redo the client-side dns cache so it's just an addressmap too.
  10606. - Notice when our IP changes, and reset stats/uptime/reachability.
  10607. - When an application is using socks5, give him the whole variety of
  10608. potential socks5 responses (connect refused, host unreachable, etc),
  10609. rather than just "success" or "failure".
  10610. - A more sane version numbering system. See
  10611. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  10612. - New contributed script "exitlist": a simple python script to
  10613. parse directories and find Tor nodes that exit to listed
  10614. addresses/ports.
  10615. - New contributed script "privoxy-tor-toggle" to toggle whether
  10616. Privoxy uses Tor. Seems to be configured for Debian by default.
  10617. - Report HTTP reasons to client when getting a response from directory
  10618. servers -- so you can actually know what went wrong.
  10619. - New config option MaxAdvertisedBandwidth which lets you advertise
  10620. a low bandwidthrate (to not attract as many circuits) while still
  10621. allowing a higher bandwidthrate in reality.
  10622. o Robustness/stability fixes:
  10623. - Make Tor use Niels Provos's libevent instead of its current
  10624. poll-but-sometimes-select mess. This will let us use faster async
  10625. cores (like epoll, kpoll, and /dev/poll), and hopefully work better
  10626. on Windows too.
  10627. - pthread support now too. This was forced because when we forked,
  10628. we ended up wasting a lot of duplicate ram over time. Also switch
  10629. to foo_r versions of some library calls to allow reentry and
  10630. threadsafeness.
  10631. - Better handling for heterogeneous / unreliable nodes:
  10632. - Annotate circuits w/ whether they aim to contain high uptime nodes
  10633. and/or high capacity nodes. When building circuits, choose
  10634. appropriate nodes.
  10635. - This means that every single node in an intro rend circuit,
  10636. not just the last one, will have a minimum uptime.
  10637. - New config option LongLivedPorts to indicate application streams
  10638. that will want high uptime circuits.
  10639. - Servers reset uptime when a dir fetch entirely fails. This
  10640. hopefully reflects stability of the server's network connectivity.
  10641. - If somebody starts his tor server in Jan 2004 and then fixes his
  10642. clock, don't make his published uptime be a year.
  10643. - Reset published uptime when you wake up from hibernation.
  10644. - Introduce a notion of 'internal' circs, which are chosen without
  10645. regard to the exit policy of the last hop. Intro and rendezvous
  10646. circs must be internal circs, to avoid leaking information. Resolve
  10647. and connect streams can use internal circs if they want.
  10648. - New circuit pooling algorithm: make sure to have enough circs around
  10649. to satisfy any predicted ports, and also make sure to have 2 internal
  10650. circs around if we've required internal circs lately (and with high
  10651. uptime if we've seen that lately too).
  10652. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  10653. which describes how often we retry making new circuits if current
  10654. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  10655. how long we're willing to make use of an already-dirty circuit.
  10656. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  10657. circ as necessary, if there are any completed ones lying around
  10658. when we try to launch one.
  10659. - Make hidden services try to establish a rendezvous for 30 seconds,
  10660. rather than for n (where n=3) attempts to build a circuit.
  10661. - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
  10662. "ShutdownWaitLength".
  10663. - Try to be more zealous about calling connection_edge_end when
  10664. things go bad with edge conns in connection.c.
  10665. - Revise tor-spec to add more/better stream end reasons.
  10666. - Revise all calls to connection_edge_end to avoid sending "misc",
  10667. and to take errno into account where possible.
  10668. o Bug fixes:
  10669. - Fix a race condition that can trigger an assert, when we have a
  10670. pending create cell and an OR connection fails right then.
  10671. - Fix several double-mark-for-close bugs, e.g. where we were finding
  10672. a conn for a cell even if that conn is already marked for close.
  10673. - Make sequence of log messages when starting on win32 with no config
  10674. file more reasonable.
  10675. - When choosing an exit node for a new non-internal circ, don't take
  10676. into account whether it'll be useful for any pending x.onion
  10677. addresses -- it won't.
  10678. - Turn addr_policy_compare from a tristate to a quadstate; this should
  10679. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  10680. for google.com" problem.
  10681. - Make "platform" string in descriptor more accurate for Win32 servers,
  10682. so it's not just "unknown platform".
  10683. - Fix an edge case in parsing config options (thanks weasel).
  10684. If they say "--" on the commandline, it's not an option.
  10685. - Reject odd-looking addresses at the client (e.g. addresses that
  10686. contain a colon), rather than having the server drop them because
  10687. they're malformed.
  10688. - tor-resolve requests were ignoring .exit if there was a working circuit
  10689. they could use instead.
  10690. - REUSEADDR on normal platforms means you can rebind to the port
  10691. right after somebody else has let it go. But REUSEADDR on win32
  10692. means to let you bind to the port _even when somebody else
  10693. already has it bound_! So, don't do that on Win32.
  10694. - Change version parsing logic: a version is "obsolete" if it is not
  10695. recommended and (1) there is a newer recommended version in the
  10696. same series, or (2) there are no recommended versions in the same
  10697. series, but there are some recommended versions in a newer series.
  10698. A version is "new" if it is newer than any recommended version in
  10699. the same series.
  10700. - Stop most cases of hanging up on a socks connection without sending
  10701. the socks reject.
  10702. o Helpful fixes:
  10703. - Require BandwidthRate to be at least 20kB/s for servers.
  10704. - When a dirserver causes you to give a warn, mention which dirserver
  10705. it was.
  10706. - New config option DirAllowPrivateAddresses for authdirservers.
  10707. Now by default they refuse router descriptors that have non-IP or
  10708. private-IP addresses.
  10709. - Stop publishing socksport in the directory, since it's not
  10710. actually meant to be public. For compatibility, publish a 0 there
  10711. for now.
  10712. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  10713. smart" value, that is low for servers and high for clients.
  10714. - If our clock jumps forward by 100 seconds or more, assume something
  10715. has gone wrong with our network and abandon all not-yet-used circs.
  10716. - Warn when exit policy implicitly allows local addresses.
  10717. - If we get an incredibly skewed timestamp from a dirserver mirror
  10718. that isn't a verified OR, don't warn -- it's probably him that's
  10719. wrong.
  10720. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  10721. cookies to disk and doesn't log each web request to disk. (Thanks
  10722. to Brett Carrington for pointing this out.)
  10723. - When a client asks us for a dir mirror and we don't have one,
  10724. launch an attempt to get a fresh one.
  10725. - If we're hibernating and we get a SIGINT, exit immediately.
  10726. - Add --with-dmalloc ./configure option, to track memory leaks.
  10727. - And try to free all memory on closing, so we can detect what
  10728. we're leaking.
  10729. - Cache local dns resolves correctly even when they're .exit
  10730. addresses.
  10731. - Give a better warning when some other server advertises an
  10732. ORPort that is actually an apache running ssl.
  10733. - Add "opt hibernating 1" to server descriptor to make it clearer
  10734. whether the server is hibernating.
  10735. Changes in version 0.0.9.6 - 2005-03-24
  10736. o Bugfixes on 0.0.9.x (crashes and asserts):
  10737. - Add new end stream reasons to maintainance branch. Fix bug where
  10738. reason (8) could trigger an assert. Prevent bug from recurring.
  10739. - Apparently win32 stat wants paths to not end with a slash.
  10740. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  10741. blowing away the circuit that conn->cpath_layer points to, then
  10742. checking to see if the circ is well-formed. Backport check to make
  10743. sure we dont use the cpath on a closed connection.
  10744. - Prevent circuit_resume_edge_reading_helper() from trying to package
  10745. inbufs for marked-for-close streams.
  10746. - Don't crash on hup if your options->address has become unresolvable.
  10747. - Some systems (like OS X) sometimes accept() a connection and tell
  10748. you the remote host is 0.0.0.0:0. If this happens, due to some
  10749. other mis-features, we get confused; so refuse the conn for now.
  10750. o Bugfixes on 0.0.9.x (other):
  10751. - Fix harmless but scary "Unrecognized content encoding" warn message.
  10752. - Add new stream error reason: TORPROTOCOL reason means "you are not
  10753. speaking a version of Tor I understand; say bye-bye to your stream."
  10754. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  10755. into the future, now that we are more tolerant of skew. This
  10756. resolves a bug where a Tor server would refuse to cache a directory
  10757. because all the directories it gets are too far in the future;
  10758. yet the Tor server never logs any complaints about clock skew.
  10759. - Mac packaging magic: make man pages useable, and do not overwrite
  10760. existing torrc files.
  10761. - Make OS X log happily to /var/log/tor/tor.log
  10762. Changes in version 0.0.9.5 - 2005-02-22
  10763. o Bugfixes on 0.0.9.x:
  10764. - Fix an assert race at exit nodes when resolve requests fail.
  10765. - Stop picking unverified dir mirrors--it only leads to misery.
  10766. - Patch from Matt Edman to make NT services work better. Service
  10767. support is still not compiled into the executable by default.
  10768. - Patch from Dmitri Bely so the Tor service runs better under
  10769. the win32 SYSTEM account.
  10770. - Make tor-resolve actually work (?) on Win32.
  10771. - Fix a sign bug when getrlimit claims to have 4+ billion
  10772. file descriptors available.
  10773. - Stop refusing to start when bandwidthburst == bandwidthrate.
  10774. - When create cells have been on the onion queue more than five
  10775. seconds, just send back a destroy and take them off the list.
  10776. Changes in version 0.0.9.4 - 2005-02-03
  10777. o Bugfixes on 0.0.9:
  10778. - Fix an assert bug that took down most of our servers: when
  10779. a server claims to have 1 GB of bandwidthburst, don't
  10780. freak out.
  10781. - Don't crash as badly if we have spawned the max allowed number
  10782. of dnsworkers, or we're out of file descriptors.
  10783. - Block more file-sharing ports in the default exit policy.
  10784. - MaxConn is now automatically set to the hard limit of max
  10785. file descriptors we're allowed (ulimit -n), minus a few for
  10786. logs, etc.
  10787. - Give a clearer message when servers need to raise their
  10788. ulimit -n when they start running out of file descriptors.
  10789. - SGI Compatibility patches from Jan Schaumann.
  10790. - Tolerate a corrupt cached directory better.
  10791. - When a dirserver hasn't approved your server, list which one.
  10792. - Go into soft hibernation after 95% of the bandwidth is used,
  10793. not 99%. This is especially important for daily hibernators who
  10794. have a small accounting max. Hopefully it will result in fewer
  10795. cut connections when the hard hibernation starts.
  10796. - Load-balance better when using servers that claim more than
  10797. 800kB/s of capacity.
  10798. - Make NT services work (experimental, only used if compiled in).
  10799. Changes in version 0.0.9.3 - 2005-01-21
  10800. o Bugfixes on 0.0.9:
  10801. - Backport the cpu use fixes from main branch, so busy servers won't
  10802. need as much processor time.
  10803. - Work better when we go offline and then come back, or when we
  10804. run Tor at boot before the network is up. We do this by
  10805. optimistically trying to fetch a new directory whenever an
  10806. application request comes in and we think we're offline -- the
  10807. human is hopefully a good measure of when the network is back.
  10808. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  10809. long as you keep using them; actually publish hidserv descriptors
  10810. shortly after they change, rather than waiting 20-40 minutes.
  10811. - Enable Mac startup script by default.
  10812. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  10813. - When you update AllowUnverifiedNodes or FirewallPorts via the
  10814. controller's setconf feature, we were always appending, never
  10815. resetting.
  10816. - When you update HiddenServiceDir via setconf, it was screwing up
  10817. the order of reading the lines, making it fail.
  10818. - Do not rewrite a cached directory back to the cache; otherwise we
  10819. will think it is recent and not fetch a newer one on startup.
  10820. - Workaround for webservers that lie about Content-Encoding: Tor
  10821. now tries to autodetect compressed directories and compression
  10822. itself. This lets us Proxypass dir fetches through apache.
  10823. Changes in version 0.0.9.2 - 2005-01-04
  10824. o Bugfixes on 0.0.9 (crashes and asserts):
  10825. - Fix an assert on startup when the disk is full and you're logging
  10826. to a file.
  10827. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  10828. style address, then we'd crash.
  10829. - Fix an assert trigger when the running-routers string we get from
  10830. a dirserver is broken.
  10831. - Make worker threads start and run on win32. Now win32 servers
  10832. may work better.
  10833. - Bandaid (not actually fix, but now it doesn't crash) an assert
  10834. where the dns worker dies mysteriously and the main Tor process
  10835. doesn't remember anything about the address it was resolving.
  10836. o Bugfixes on 0.0.9 (Win32):
  10837. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  10838. name out of the warning/assert messages.
  10839. - Fix a superficial "unhandled error on read" bug on win32.
  10840. - The win32 installer no longer requires a click-through for our
  10841. license, since our Free Software license grants rights but does not
  10842. take any away.
  10843. - Win32: When connecting to a dirserver fails, try another one
  10844. immediately. (This was already working for non-win32 Tors.)
  10845. - Stop trying to parse $HOME on win32 when hunting for default
  10846. DataDirectory.
  10847. - Make tor-resolve.c work on win32 by calling network_init().
  10848. o Bugfixes on 0.0.9 (other):
  10849. - Make 0.0.9.x build on Solaris again.
  10850. - Due to a fencepost error, we were blowing away the \n when reporting
  10851. confvalue items in the controller. So asking for multiple config
  10852. values at once couldn't work.
  10853. - When listing circuits that are pending on an opening OR connection,
  10854. if we're an OR we were listing circuits that *end* at us as
  10855. being pending on every listener, dns/cpu worker, etc. Stop that.
  10856. - Dirservers were failing to create 'running-routers' or 'directory'
  10857. strings if we had more than some threshold of routers. Fix them so
  10858. they can handle any number of routers.
  10859. - Fix a superficial "Duplicate mark for close" bug.
  10860. - Stop checking for clock skew for OR connections, even for servers.
  10861. - Fix a fencepost error that was chopping off the last letter of any
  10862. nickname that is the maximum allowed nickname length.
  10863. - Update URLs in log messages so they point to the new website.
  10864. - Fix a potential problem in mangling server private keys while
  10865. writing to disk (not triggered yet, as far as we know).
  10866. - Include the licenses for other free software we include in Tor,
  10867. now that we're shipping binary distributions more regularly.
  10868. Changes in version 0.0.9.1 - 2004-12-15
  10869. o Bugfixes on 0.0.9:
  10870. - Make hibernation actually work.
  10871. - Make HashedControlPassword config option work.
  10872. - When we're reporting event circuit status to a controller,
  10873. don't use the stream status code.
  10874. Changes in version 0.0.9 - 2004-12-12
  10875. o Cleanups:
  10876. - Clean up manpage and torrc.sample file.
  10877. - Clean up severities and text of log warnings.
  10878. o Mistakes:
  10879. - Make servers trigger an assert when they enter hibernation.
  10880. Changes in version 0.0.9rc7 - 2004-12-08
  10881. o Bugfixes on 0.0.9rc:
  10882. - Fix a stack-trashing crash when an exit node begins hibernating.
  10883. - Avoid looking at unallocated memory while considering which
  10884. ports we need to build circuits to cover.
  10885. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  10886. we shouldn't hold-open-until-flush if the eof arrived first.
  10887. - Fix a bug with init_cookie_authentication() in the controller.
  10888. - When recommending new-format log lines, if the upper bound is
  10889. LOG_ERR, leave it implicit.
  10890. o Bugfixes on 0.0.8.1:
  10891. - Fix a whole slew of memory leaks.
  10892. - Fix isspace() and friends so they still make Solaris happy
  10893. but also so they don't trigger asserts on win32.
  10894. - Fix parse_iso_time on platforms without strptime (eg win32).
  10895. - win32: tolerate extra "readable" events better.
  10896. - win32: when being multithreaded, leave parent fdarray open.
  10897. - Make unit tests work on win32.
  10898. Changes in version 0.0.9rc6 - 2004-12-06
  10899. o Bugfixes on 0.0.9pre:
  10900. - Clean up some more integer underflow opportunities (not exploitable
  10901. we think).
  10902. - While hibernating, hup should not regrow our listeners.
  10903. - Send an end to the streams we close when we hibernate, rather
  10904. than just chopping them off.
  10905. - React to eof immediately on non-open edge connections.
  10906. o Bugfixes on 0.0.8.1:
  10907. - Calculate timeout for waiting for a connected cell from the time
  10908. we sent the begin cell, not from the time the stream started. If
  10909. it took a long time to establish the circuit, we would time out
  10910. right after sending the begin cell.
  10911. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  10912. of * as always matching, so we were picking reject *:* nodes as
  10913. exit nodes too. Oops.
  10914. o Features:
  10915. - New circuit building strategy: keep a list of ports that we've
  10916. used in the past 6 hours, and always try to have 2 circuits open
  10917. or on the way that will handle each such port. Seed us with port
  10918. 80 so web users won't complain that Tor is "slow to start up".
  10919. - Make kill -USR1 dump more useful stats about circuits.
  10920. - When warning about retrying or giving up, print the address, so
  10921. the user knows which one it's talking about.
  10922. - If you haven't used a clean circuit in an hour, throw it away,
  10923. just to be on the safe side. (This means after 6 hours a totally
  10924. unused Tor client will have no circuits open.)
  10925. Changes in version 0.0.9rc5 - 2004-12-01
  10926. o Bugfixes on 0.0.8.1:
  10927. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  10928. - Let resolve conns retry/expire also, rather than sticking around
  10929. forever.
  10930. - If we are using select, make sure we stay within FD_SETSIZE.
  10931. o Bugfixes on 0.0.9pre:
  10932. - Fix integer underflow in tor_vsnprintf() that may be exploitable,
  10933. but doesn't seem to be currently; thanks to Ilja van Sprundel for
  10934. finding it.
  10935. - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
  10936. instead. Impose minima and maxima for all *Period options; impose
  10937. even tighter maxima for fetching if we are a caching dirserver.
  10938. Clip rather than rejecting.
  10939. - Fetch cached running-routers from servers that serve it (that is,
  10940. authdirservers and servers running 0.0.9rc5-cvs or later.)
  10941. o Features:
  10942. - Accept *:706 (silc) in default exit policy.
  10943. - Implement new versioning format for post 0.1.
  10944. - Support "foo.nickname.exit" addresses, to let Alice request the
  10945. address "foo" as viewed by exit node "nickname". Based on a patch
  10946. by Geoff Goodell.
  10947. - Make tor --version --version dump the cvs Id of every file.
  10948. Changes in version 0.0.9rc4 - 2004-11-28
  10949. o Bugfixes on 0.0.8.1:
  10950. - Make windows sockets actually non-blocking (oops), and handle
  10951. win32 socket errors better.
  10952. o Bugfixes on 0.0.9rc1:
  10953. - Actually catch the -USR2 signal.
  10954. Changes in version 0.0.9rc3 - 2004-11-25
  10955. o Bugfixes on 0.0.8.1:
  10956. - Flush the log file descriptor after we print "Tor opening log file",
  10957. so we don't see those messages days later.
  10958. o Bugfixes on 0.0.9rc1:
  10959. - Make tor-resolve work again.
  10960. - Avoid infinite loop in tor-resolve if tor hangs up on it.
  10961. - Fix an assert trigger for clients/servers handling resolves.
  10962. Changes in version 0.0.9rc2 - 2004-11-24
  10963. o Bugfixes on 0.0.9rc1:
  10964. - I broke socks5 support while fixing the eof bug.
  10965. - Allow unitless bandwidths and intervals; they default to bytes
  10966. and seconds.
  10967. - New servers don't start out hibernating; they are active until
  10968. they run out of bytes, so they have a better estimate of how
  10969. long it takes, and so their operators can know they're working.
  10970. Changes in version 0.0.9rc1 - 2004-11-23
  10971. o Bugfixes on 0.0.8.1:
  10972. - Finally fix a bug that's been plaguing us for a year:
  10973. With high load, circuit package window was reaching 0. Whenever
  10974. we got a circuit-level sendme, we were reading a lot on each
  10975. socket, but only writing out a bit. So we would eventually reach
  10976. eof. This would be noticed and acted on even when there were still
  10977. bytes sitting in the inbuf.
  10978. - When poll() is interrupted, we shouldn't believe the revents values.
  10979. o Bugfixes on 0.0.9pre6:
  10980. - Fix hibernate bug that caused pre6 to be broken.
  10981. - Don't keep rephist info for routers that haven't had activity for
  10982. 24 hours. (This matters now that clients have keys, since we track
  10983. them too.)
  10984. - Never call close_temp_logs while validating log options.
  10985. - Fix backslash-escaping on tor.sh.in and torctl.in.
  10986. o Features:
  10987. - Implement weekly/monthly/daily accounting: now you specify your
  10988. hibernation properties by
  10989. AccountingMax N bytes|KB|MB|GB|TB
  10990. AccountingStart day|week|month [day] HH:MM
  10991. Defaults to "month 1 0:00".
  10992. - Let bandwidth and interval config options be specified as 5 bytes,
  10993. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  10994. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  10995. get back to normal.)
  10996. - If your requested entry or exit node has advertised bandwidth 0,
  10997. pick it anyway.
  10998. - Be more greedy about filling up relay cells -- we try reading again
  10999. once we've processed the stuff we read, in case enough has arrived
  11000. to fill the last cell completely.
  11001. - Apply NT service patch from Osamu Fujino. Still needs more work.
  11002. Changes in version 0.0.9pre6 - 2004-11-15
  11003. o Bugfixes on 0.0.8.1:
  11004. - Fix assert failure on malformed socks4a requests.
  11005. - Use identity comparison, not nickname comparison, to choose which
  11006. half of circuit-ID-space each side gets to use. This is needed
  11007. because sometimes we think of a router as a nickname, and sometimes
  11008. as a hex ID, and we can't predict what the other side will do.
  11009. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  11010. write() call will fail and we handle it there.
  11011. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  11012. and smartlist_len, which are two major profiling offenders.
  11013. o Bugfixes on 0.0.9pre5:
  11014. - Fix a bug in read_all that was corrupting config files on windows.
  11015. - When we're raising the max number of open file descriptors to
  11016. 'unlimited', don't log that we just raised it to '-1'.
  11017. - Include event code with events, as required by control-spec.txt.
  11018. - Don't give a fingerprint when clients do --list-fingerprint:
  11019. it's misleading, because it will never be the same again.
  11020. - Stop using strlcpy in tor_strndup, since it was slowing us
  11021. down a lot.
  11022. - Remove warn on startup about missing cached-directory file.
  11023. - Make kill -USR1 work again.
  11024. - Hibernate if we start tor during the "wait for wakeup-time" phase
  11025. of an accounting interval. Log our hibernation plans better.
  11026. - Authoritative dirservers now also cache their directory, so they
  11027. have it on start-up.
  11028. o Features:
  11029. - Fetch running-routers; cache running-routers; compress
  11030. running-routers; serve compressed running-routers.z
  11031. - Add NSI installer script contributed by J Doe.
  11032. - Commit VC6 and VC7 workspace/project files.
  11033. - Commit a tor.spec for making RPM files, with help from jbash.
  11034. - Add contrib/torctl.in contributed by Glenn Fink.
  11035. - Implement the control-spec's SAVECONF command, to write your
  11036. configuration to torrc.
  11037. - Get cookie authentication for the controller closer to working.
  11038. - Include control-spec.txt in the tarball.
  11039. - When set_conf changes our server descriptor, upload a new copy.
  11040. But don't upload it too often if there are frequent changes.
  11041. - Document authentication config in man page, and document signals
  11042. we catch.
  11043. - Clean up confusing parts of man page and torrc.sample.
  11044. - Make expand_filename handle ~ and ~username.
  11045. - Use autoconf to enable largefile support where necessary. Use
  11046. ftello where available, since ftell can fail at 2GB.
  11047. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  11048. log more informatively.
  11049. - Give a slightly more useful output for "tor -h".
  11050. - Refuse application socks connections to port 0.
  11051. - Check clock skew for verified servers, but allow unverified
  11052. servers and clients to have any clock skew.
  11053. - Break DirFetchPostPeriod into:
  11054. - DirFetchPeriod for fetching full directory,
  11055. - StatusFetchPeriod for fetching running-routers,
  11056. - DirPostPeriod for posting server descriptor,
  11057. - RendPostPeriod for posting hidden service descriptors.
  11058. - Make sure the hidden service descriptors are at a random offset
  11059. from each other, to hinder linkability.
  11060. Changes in version 0.0.9pre5 - 2004-11-09
  11061. o Bugfixes on 0.0.9pre4:
  11062. - Fix a seg fault in unit tests (doesn't affect main program).
  11063. - Fix an assert bug where a hidden service provider would fail if
  11064. the first hop of his rendezvous circuit was down.
  11065. - Hidden service operators now correctly handle version 1 style
  11066. INTRODUCE1 cells (nobody generates them still, so not a critical
  11067. bug).
  11068. - If do_hup fails, actually notice.
  11069. - Handle more errnos from accept() without closing the listener.
  11070. Some OpenBSD machines were closing their listeners because
  11071. they ran out of file descriptors.
  11072. - Send resolve cells to exit routers that are running a new
  11073. enough version of the resolve code to work right.
  11074. - Better handling of winsock includes on non-MSV win32 compilers.
  11075. - Some people had wrapped their tor client/server in a script
  11076. that would restart it whenever it died. This did not play well
  11077. with our "shut down if your version is obsolete" code. Now people
  11078. don't fetch a new directory if their local cached version is
  11079. recent enough.
  11080. - Make our autogen.sh work on ksh as well as bash.
  11081. o Major Features:
  11082. - Hibernation: New config option "AccountingMaxKB" lets you
  11083. set how many KBytes per month you want to allow your server to
  11084. consume. Rather than spreading those bytes out evenly over the
  11085. month, we instead hibernate for some of the month and pop up
  11086. at a deterministic time, work until the bytes are consumed, then
  11087. hibernate again. Config option "MonthlyAccountingStart" lets you
  11088. specify which day of the month your billing cycle starts on.
  11089. - Control interface: a separate program can now talk to your
  11090. client/server over a socket, and get/set config options, receive
  11091. notifications of circuits and streams starting/finishing/dying,
  11092. bandwidth used, etc. The next step is to get some GUIs working.
  11093. Let us know if you want to help out. See doc/control-spec.txt .
  11094. - Ship a contrib/tor-control.py as an example script to interact
  11095. with the control port.
  11096. - "tor --hash-password zzyxz" will output a salted password for
  11097. use in authenticating to the control interface.
  11098. - New log format in config:
  11099. "Log minsev[-maxsev] stdout|stderr|syslog" or
  11100. "Log minsev[-maxsev] file /var/foo"
  11101. o Minor Features:
  11102. - DirPolicy config option, to let people reject incoming addresses
  11103. from their dirserver.
  11104. - "tor --list-fingerprint" will list your identity key fingerprint
  11105. and then exit.
  11106. - Add "pass" target for RedirectExit, to make it easier to break
  11107. out of a sequence of RedirectExit rules.
  11108. - Clients now generate a TLS cert too, in preparation for having
  11109. them act more like real nodes.
  11110. - Ship src/win32/ in the tarball, so people can use it to build.
  11111. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  11112. is broken.
  11113. - New "router-status" line in directory, to better bind each verified
  11114. nickname to its identity key.
  11115. - Deprecate unofficial config option abbreviations, and abbreviations
  11116. not on the command line.
  11117. - Add a pure-C tor-resolve implementation.
  11118. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  11119. 1024) file descriptors.
  11120. o Code security improvements, inspired by Ilja:
  11121. - Replace sprintf with snprintf. (I think they were all safe, but
  11122. hey.)
  11123. - Replace strcpy/strncpy with strlcpy in more places.
  11124. - Avoid strcat; use snprintf or strlcat instead.
  11125. - snprintf wrapper with consistent (though not C99) overflow behavior.
  11126. Changes in version 0.0.9pre4 - 2004-10-17
  11127. o Bugfixes on 0.0.9pre3:
  11128. - If the server doesn't specify an exit policy, use the real default
  11129. exit policy, not reject *:*.
  11130. - Ignore fascistfirewall when uploading/downloading hidden service
  11131. descriptors, since we go through Tor for those; and when using
  11132. an HttpProxy, since we assume it can reach them all.
  11133. - When looking for an authoritative dirserver, use only the ones
  11134. configured at boot. Don't bother looking in the directory.
  11135. - The rest of the fix for get_default_conf_file() on older win32.
  11136. - Make 'Routerfile' config option obsolete.
  11137. o Features:
  11138. - New 'MyFamily nick1,...' config option for a server to
  11139. specify other servers that shouldn't be used in the same circuit
  11140. with it. Only believed if nick1 also specifies us.
  11141. - New 'NodeFamily nick1,nick2,...' config option for a client to
  11142. specify nodes that it doesn't want to use in the same circuit.
  11143. - New 'Redirectexit pattern address:port' config option for a
  11144. server to redirect exit connections, e.g. to a local squid.
  11145. Changes in version 0.0.9pre3 - 2004-10-13
  11146. o Bugfixes on 0.0.8.1:
  11147. - Better torrc example lines for dirbindaddress and orbindaddress.
  11148. - Improved bounds checking on parsed ints (e.g. config options and
  11149. the ones we find in directories.)
  11150. - Better handling of size_t vs int, so we're more robust on 64
  11151. bit platforms.
  11152. - Fix the rest of the bug where a newly started OR would appear
  11153. as unverified even after we've added his fingerprint and hupped
  11154. the dirserver.
  11155. - Fix a bug from 0.0.7: when read() failed on a stream, we would
  11156. close it without sending back an end. So 'connection refused'
  11157. would simply be ignored and the user would get no response.
  11158. o Bugfixes on 0.0.9pre2:
  11159. - Serving the cached-on-disk directory to people is bad. We now
  11160. provide no directory until we've fetched a fresh one.
  11161. - Workaround for bug on windows where cached-directories get crlf
  11162. corruption.
  11163. - Make get_default_conf_file() work on older windows too.
  11164. - If we write a *:* exit policy line in the descriptor, don't write
  11165. any more exit policy lines.
  11166. o Features:
  11167. - Use only 0.0.9pre1 and later servers for resolve cells.
  11168. - Make the dirservers file obsolete.
  11169. - Include a dir-signing-key token in directories to tell the
  11170. parsing entity which key is being used to sign.
  11171. - Remove the built-in bulky default dirservers string.
  11172. - New config option "Dirserver %s:%d [fingerprint]", which can be
  11173. repeated as many times as needed. If no dirservers specified,
  11174. default to moria1,moria2,tor26.
  11175. - Make moria2 advertise a dirport of 80, so people behind firewalls
  11176. will be able to get a directory.
  11177. - Http proxy support
  11178. - Dirservers translate requests for http://%s:%d/x to /x
  11179. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  11180. be routed through this host.
  11181. - Clients ask for /tor/x rather than /x for new enough dirservers.
  11182. This way we can one day coexist peacefully with apache.
  11183. - Clients specify a "Host: %s%d" http header, to be compatible
  11184. with more proxies, and so running squid on an exit node can work.
  11185. Changes in version 0.0.8.1 - 2004-10-13
  11186. o Bugfixes:
  11187. - Fix a seg fault that can be triggered remotely for Tor
  11188. clients/servers with an open dirport.
  11189. - Fix a rare assert trigger, where routerinfos for entries in
  11190. our cpath would expire while we're building the path.
  11191. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  11192. - Fix a rare seg fault for people running hidden services on
  11193. intermittent connections.
  11194. - Fix a bug in parsing opt keywords with objects.
  11195. - Fix a stale pointer assert bug when a stream detaches and
  11196. reattaches.
  11197. - Fix a string format vulnerability (probably not exploitable)
  11198. in reporting stats locally.
  11199. - Fix an assert trigger: sometimes launching circuits can fail
  11200. immediately, e.g. because too many circuits have failed recently.
  11201. - Fix a compile warning on 64 bit platforms.
  11202. Changes in version 0.0.9pre2 - 2004-10-03
  11203. o Bugfixes:
  11204. - Make fetching a cached directory work for 64-bit platforms too.
  11205. - Make zlib.h a required header, not an optional header.
  11206. Changes in version 0.0.9pre1 - 2004-10-01
  11207. o Bugfixes:
  11208. - Stop using separate defaults for no-config-file and
  11209. empty-config-file. Now you have to explicitly turn off SocksPort,
  11210. if you don't want it open.
  11211. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  11212. - Improve man page to mention more of the 0.0.8 features.
  11213. - Fix a rare seg fault for people running hidden services on
  11214. intermittent connections.
  11215. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  11216. happier.
  11217. - Fix more dns related bugs: send back resolve_failed and end cells
  11218. more reliably when the resolve fails, rather than closing the
  11219. circuit and then trying to send the cell. Also attach dummy resolve
  11220. connections to a circuit *before* calling dns_resolve(), to fix
  11221. a bug where cached answers would never be sent in RESOLVED cells.
  11222. - When we run out of disk space, or other log writing error, don't
  11223. crash. Just stop logging to that log and continue.
  11224. - We were starting to daemonize before we opened our logs, so if
  11225. there were any problems opening logs, we would complain to stderr,
  11226. which wouldn't work, and then mysteriously exit.
  11227. - Fix a rare bug where sometimes a verified OR would connect to us
  11228. before he'd uploaded his descriptor, which would cause us to
  11229. assign conn->nickname as though he's unverified. Now we look through
  11230. the fingerprint list to see if he's there.
  11231. - Fix a rare assert trigger, where routerinfos for entries in
  11232. our cpath would expire while we're building the path.
  11233. o Features:
  11234. - Clients can ask dirservers for /dir.z to get a compressed version
  11235. of the directory. Only works for servers running 0.0.9, of course.
  11236. - Make clients cache directories and use them to seed their router
  11237. lists at startup. This means clients have a datadir again.
  11238. - Configuration infrastructure support for warning on obsolete
  11239. options.
  11240. - Respond to content-encoding headers by trying to uncompress as
  11241. appropriate.
  11242. - Reply with a deflated directory when a client asks for "dir.z".
  11243. We could use allow-encodings instead, but allow-encodings isn't
  11244. specified in HTTP 1.0.
  11245. - Raise the max dns workers from 50 to 100.
  11246. - Discourage people from setting their dirfetchpostperiod more often
  11247. than once per minute.
  11248. - Protect dirservers from overzealous descriptor uploading -- wait
  11249. 10 seconds after directory gets dirty, before regenerating.
  11250. Changes in version 0.0.8 - 2004-08-25
  11251. o Port it to SunOS 5.9 / Athena
  11252. Changes in version 0.0.8rc2 - 2004-08-20
  11253. o Make it compile on cygwin again.
  11254. o When picking unverified routers, skip those with low uptime and/or
  11255. low bandwidth, depending on what properties you care about.
  11256. Changes in version 0.0.8rc1 - 2004-08-18
  11257. o Changes from 0.0.7.3:
  11258. - Bugfixes:
  11259. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  11260. don't put it into the client dns cache.
  11261. - If a begin failed due to exit policy, but we believe the IP address
  11262. should have been allowed, switch that router to exitpolicy reject *:*
  11263. until we get our next directory.
  11264. - Features:
  11265. - Clients choose nodes proportional to advertised bandwidth.
  11266. - Avoid using nodes with low uptime as introduction points.
  11267. - Handle servers with dynamic IP addresses: don't replace
  11268. options->Address with the resolved one at startup, and
  11269. detect our address right before we make a routerinfo each time.
  11270. - 'FascistFirewall' option to pick dirservers and ORs on specific
  11271. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  11272. which ports are open. (Defaults to 80,443)
  11273. - Be more aggressive about trying to make circuits when the network
  11274. has changed (e.g. when you unsuspend your laptop).
  11275. - Check for time skew on http headers; report date in response to
  11276. "GET /".
  11277. - If the entrynode config line has only one node, don't pick it as
  11278. an exitnode.
  11279. - Add strict{entry|exit}nodes config options. If set to 1, then
  11280. we refuse to build circuits that don't include the specified entry
  11281. or exit nodes.
  11282. - OutboundBindAddress config option, to bind to a specific
  11283. IP address for outgoing connect()s.
  11284. - End truncated log entries (e.g. directories) with "[truncated]".
  11285. o Patches to 0.0.8preX:
  11286. - Bugfixes:
  11287. - Patches to compile and run on win32 again (maybe)?
  11288. - Fix crash when looking for ~/.torrc with no $HOME set.
  11289. - Fix a race bug in the unit tests.
  11290. - Handle verified/unverified name collisions better when new
  11291. routerinfo's arrive in a directory.
  11292. - Sometimes routers were getting entered into the stats before
  11293. we'd assigned their identity_digest. Oops.
  11294. - Only pick and establish intro points after we've gotten a
  11295. directory.
  11296. - Features:
  11297. - AllowUnverifiedNodes config option to let circuits choose no-name
  11298. routers in entry,middle,exit,introduction,rendezvous positions.
  11299. Allow middle and rendezvous positions by default.
  11300. - Add a man page for tor-resolve.
  11301. Changes in version 0.0.7.3 - 2004-08-12
  11302. o Stop dnsworkers from triggering an assert failure when you
  11303. ask them to resolve the host "".
  11304. Changes in version 0.0.8pre3 - 2004-08-09
  11305. o Changes from 0.0.7.2:
  11306. - Allow multiple ORs with same nickname in routerlist -- now when
  11307. people give us one identity key for a nickname, then later
  11308. another, we don't constantly complain until the first expires.
  11309. - Remember used bandwidth (both in and out), and publish 15-minute
  11310. snapshots for the past day into our descriptor.
  11311. - You can now fetch $DIRURL/running-routers to get just the
  11312. running-routers line, not the whole descriptor list. (But
  11313. clients don't use this yet.)
  11314. - When people mistakenly use Tor as an http proxy, point them
  11315. at the tor-doc.html rather than the INSTALL.
  11316. - Remove our mostly unused -- and broken -- hex_encode()
  11317. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  11318. for pointing out this bug.)
  11319. - Rotate onion keys every 12 hours, not every 2 hours, so we have
  11320. fewer problems with people using the wrong key.
  11321. - Change the default exit policy to reject the default edonkey,
  11322. kazaa, gnutella ports.
  11323. - Add replace_file() to util.[ch] to handle win32's rename().
  11324. o Changes from 0.0.8preX:
  11325. - Fix two bugs in saving onion keys to disk when rotating, so
  11326. hopefully we'll get fewer people using old onion keys.
  11327. - Fix an assert error that was making SocksPolicy not work.
  11328. - Be willing to expire routers that have an open dirport -- it's
  11329. just the authoritative dirservers we want to not forget.
  11330. - Reject tor-resolve requests for .onion addresses early, so we
  11331. don't build a whole rendezvous circuit and then fail.
  11332. - When you're warning a server that he's unverified, don't cry
  11333. wolf unpredictably.
  11334. - Fix a race condition: don't try to extend onto a connection
  11335. that's still handshaking.
  11336. - For servers in clique mode, require the conn to be open before
  11337. you'll choose it for your path.
  11338. - Fix some cosmetic bugs about duplicate mark-for-close, lack of
  11339. end relay cell, etc.
  11340. - Measure bandwidth capacity over the last 24 hours, not just 12
  11341. - Bugfix: authoritative dirservers were making and signing a new
  11342. directory for each client, rather than reusing the cached one.
  11343. Changes in version 0.0.8pre2 - 2004-08-04
  11344. o Changes from 0.0.7.2:
  11345. - Security fixes:
  11346. - Check directory signature _before_ you decide whether you're
  11347. you're running an obsolete version and should exit.
  11348. - Check directory signature _before_ you parse the running-routers
  11349. list to decide who's running or verified.
  11350. - Bugfixes and features:
  11351. - Check return value of fclose while writing to disk, so we don't
  11352. end up with broken files when servers run out of disk space.
  11353. - Log a warning if the user uses an unsafe socks variant, so people
  11354. are more likely to learn about privoxy or socat.
  11355. - Dirservers now include RFC1123-style dates in the HTTP headers,
  11356. which one day we will use to better detect clock skew.
  11357. o Changes from 0.0.8pre1:
  11358. - Make it compile without warnings again on win32.
  11359. - Log a warning if you're running an unverified server, to let you
  11360. know you might want to get it verified.
  11361. - Only pick a default nickname if you plan to be a server.
  11362. Changes in version 0.0.8pre1 - 2004-07-23
  11363. o Bugfixes:
  11364. - Made our unit tests compile again on OpenBSD 3.5, and tor
  11365. itself compile again on OpenBSD on a sparc64.
  11366. - We were neglecting milliseconds when logging on win32, so
  11367. everything appeared to happen at the beginning of each second.
  11368. o Protocol changes:
  11369. - 'Extend' relay cell payloads now include the digest of the
  11370. intended next hop's identity key. Now we can verify that we're
  11371. extending to the right router, and also extend to routers we
  11372. hadn't heard of before.
  11373. o Features:
  11374. - Tor nodes can now act as relays (with an advertised ORPort)
  11375. without being manually verified by the dirserver operators.
  11376. - Uploaded descriptors of unverified routers are now accepted
  11377. by the dirservers, and included in the directory.
  11378. - Verified routers are listed by nickname in the running-routers
  11379. list; unverified routers are listed as "$<fingerprint>".
  11380. - We now use hash-of-identity-key in most places rather than
  11381. nickname or addr:port, for improved security/flexibility.
  11382. - To avoid Sybil attacks, paths still use only verified servers.
  11383. But now we have a chance to play around with hybrid approaches.
  11384. - Nodes track bandwidth usage to estimate capacity (not used yet).
  11385. - ClientOnly option for nodes that never want to become servers.
  11386. - Directory caching.
  11387. - "AuthoritativeDir 1" option for the official dirservers.
  11388. - Now other nodes (clients and servers) will cache the latest
  11389. directory they've pulled down.
  11390. - They can enable their DirPort to serve it to others.
  11391. - Clients will pull down a directory from any node with an open
  11392. DirPort, and check the signature/timestamp correctly.
  11393. - Authoritative dirservers now fetch directories from other
  11394. authdirservers, to stay better synced.
  11395. - Running-routers list tells who's down also, along with noting
  11396. if they're verified (listed by nickname) or unverified (listed
  11397. by hash-of-key).
  11398. - Allow dirservers to serve running-router list separately.
  11399. This isn't used yet.
  11400. - ORs connect-on-demand to other ORs
  11401. - If you get an extend cell to an OR you're not connected to,
  11402. connect, handshake, and forward the create cell.
  11403. - The authoritative dirservers stay connected to everybody,
  11404. and everybody stays connected to 0.0.7 servers, but otherwise
  11405. clients/servers expire unused connections after 5 minutes.
  11406. - When servers get a sigint, they delay 30 seconds (refusing new
  11407. connections) then exit. A second sigint causes immediate exit.
  11408. - File and name management:
  11409. - Look for .torrc if no CONFDIR "torrc" is found.
  11410. - If no datadir is defined, then choose, make, and secure ~/.tor
  11411. as datadir.
  11412. - If torrc not found, exitpolicy reject *:*.
  11413. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  11414. - If no nickname is defined, derive default from hostname.
  11415. - Rename secret key files, e.g. identity.key -> secret_id_key,
  11416. to discourage people from mailing their identity key to tor-ops.
  11417. - Refuse to build a circuit before the directory has arrived --
  11418. it won't work anyway, since you won't know the right onion keys
  11419. to use.
  11420. - Try other dirservers immediately if the one you try is down. This
  11421. should tolerate down dirservers better now.
  11422. - Parse tor version numbers so we can do an is-newer-than check
  11423. rather than an is-in-the-list check.
  11424. - New socks command 'resolve', to let us shim gethostbyname()
  11425. locally.
  11426. - A 'tor_resolve' script to access the socks resolve functionality.
  11427. - A new socks-extensions.txt doc file to describe our
  11428. interpretation and extensions to the socks protocols.
  11429. - Add a ContactInfo option, which gets published in descriptor.
  11430. - Publish OR uptime in descriptor (and thus in directory) too.
  11431. - Write tor version at the top of each log file
  11432. - New docs in the tarball:
  11433. - tor-doc.html.
  11434. - Document that you should proxy your SSL traffic too.
  11435. Changes in version 0.0.7.2 - 2004-07-07
  11436. o A better fix for the 0.0.0.0 problem, that will hopefully
  11437. eliminate the remaining related assertion failures.
  11438. Changes in version 0.0.7.1 - 2004-07-04
  11439. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  11440. since internally we use 0.0.0.0 to signify "not yet resolved".
  11441. Changes in version 0.0.7 - 2004-06-07
  11442. o Updated the man page to reflect the new features.
  11443. Changes in version 0.0.7rc2 - 2004-06-06
  11444. o Changes from 0.0.7rc1:
  11445. - Make it build on Win32 again.
  11446. o Changes from 0.0.6.2:
  11447. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  11448. settings too.
  11449. Changes in version 0.0.7rc1 - 2004-06-02
  11450. o Bugfixes:
  11451. - On sighup, we were adding another log without removing the first
  11452. one. So log messages would get duplicated n times for n sighups.
  11453. - Several cases of using a connection after we'd freed it. The
  11454. problem was that connections that are pending resolve are in both
  11455. the pending_resolve tree, and also the circuit's resolving_streams
  11456. list. When you want to remove one, you must remove it from both.
  11457. - Fix a double-mark-for-close where an end cell arrived for a
  11458. resolving stream, and then the resolve failed.
  11459. - Check directory signatures based on name of signer, not on whom
  11460. we got the directory from. This will let us cache directories more
  11461. easily.
  11462. o Features:
  11463. - Crank up some of our constants to handle more users.
  11464. Changes in version 0.0.7pre1 - 2004-06-02
  11465. o Fixes for crashes and other obnoxious bugs:
  11466. - Fix an epipe bug: sometimes when directory connections failed
  11467. to connect, we would give them a chance to flush before closing
  11468. them.
  11469. - When we detached from a circuit because of resolvefailed, we
  11470. would immediately try the same circuit twice more, and then
  11471. give up on the resolve thinking we'd tried three different
  11472. exit nodes.
  11473. - Limit the number of intro circuits we'll attempt to build for a
  11474. hidden service per 15-minute period.
  11475. - Check recommended-software string *early*, before actually parsing
  11476. the directory. Thus we can detect an obsolete version and exit,
  11477. even if the new directory format doesn't parse.
  11478. o Fixes for security bugs:
  11479. - Remember which nodes are dirservers when you startup, and if a
  11480. random OR enables his dirport, don't automatically assume he's
  11481. a trusted dirserver.
  11482. o Other bugfixes:
  11483. - Directory connections were asking the wrong poll socket to
  11484. start writing, and not asking themselves to start writing.
  11485. - When we detached from a circuit because we sent a begin but
  11486. didn't get a connected, we would use it again the first time;
  11487. but after that we would correctly switch to a different one.
  11488. - Stop warning when the first onion decrypt attempt fails; they
  11489. will sometimes legitimately fail now that we rotate keys.
  11490. - Override unaligned-access-ok check when $host_cpu is ia64 or
  11491. arm. Apparently they allow it but the kernel whines.
  11492. - Dirservers try to reconnect periodically too, in case connections
  11493. have failed.
  11494. - Fix some memory leaks in directory servers.
  11495. - Allow backslash in Win32 filenames.
  11496. - Made Tor build complain-free on FreeBSD, hopefully without
  11497. breaking other BSD builds. We'll see.
  11498. o Features:
  11499. - Doxygen markup on all functions and global variables.
  11500. - Make directory functions update routerlist, not replace it. So
  11501. now directory disagreements are not so critical a problem.
  11502. - Remove the upper limit on number of descriptors in a dirserver's
  11503. directory (not that we were anywhere close).
  11504. - Allow multiple logfiles at different severity ranges.
  11505. - Allow *BindAddress to specify ":port" rather than setting *Port
  11506. separately. Allow multiple instances of each BindAddress config
  11507. option, so you can bind to multiple interfaces if you want.
  11508. - Allow multiple exit policy lines, which are processed in order.
  11509. Now we don't need that huge line with all the commas in it.
  11510. - Enable accept/reject policies on SOCKS connections, so you can bind
  11511. to 0.0.0.0 but still control who can use your OP.
  11512. Changes in version 0.0.6.2 - 2004-05-16
  11513. o Our integrity-checking digest was checking only the most recent cell,
  11514. not the previous cells like we'd thought.
  11515. Thanks to Stefan Mark for finding the flaw!
  11516. Changes in version 0.0.6.1 - 2004-05-06
  11517. o Fix two bugs in our AES counter-mode implementation (this affected
  11518. onion-level stream encryption, but not TLS-level). It turns
  11519. out we were doing something much more akin to a 16-character
  11520. polyalphabetic cipher. Oops.
  11521. Thanks to Stefan Mark for finding the flaw!
  11522. o Retire moria3 as a directory server, and add tor26 as a directory
  11523. server.
  11524. Changes in version 0.0.6 - 2004-05-02
  11525. [version bump only]
  11526. Changes in version 0.0.6rc4 - 2004-05-01
  11527. o Update the built-in dirservers list to use the new directory format
  11528. o Fix a rare seg fault: if a node offering a hidden service attempts
  11529. to build a circuit to Alice's rendezvous point and fails before it
  11530. reaches the last hop, it retries with a different circuit, but
  11531. then dies.
  11532. o Handle windows socket errors correctly.
  11533. Changes in version 0.0.6rc3 - 2004-04-28
  11534. o Don't expire non-general excess circuits (if we had enough
  11535. circuits open, we were expiring rendezvous circuits -- even
  11536. when they had a stream attached. oops.)
  11537. o Fetch randomness from /dev/urandom better (not via fopen/fread)
  11538. o Better debugging for tls errors
  11539. o Some versions of openssl have an SSL_pending function that erroneously
  11540. returns bytes when there is a non-application record pending.
  11541. o Set Content-Type on the directory and hidserv descriptor.
  11542. o Remove IVs from cipher code, since AES-ctr has none.
  11543. o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  11544. o We were using an array of length zero in a few places.
  11545. o win32's gethostbyname can't resolve an IP to an IP.
  11546. o win32's close can't close a socket.
  11547. Changes in version 0.0.6rc2 - 2004-04-26
  11548. o Fix a bug where we were closing tls connections intermittently.
  11549. It turns out openssl keeps its errors around -- so if an error
  11550. happens, and you don't ask about it, and then another openssl
  11551. operation happens and succeeds, and you ask if there was an error,
  11552. it tells you about the first error. Fun fun.
  11553. o Fix a bug that's been lurking since 27 may 03 (!)
  11554. When passing back a destroy cell, we would use the wrong circ id.
  11555. 'Mostly harmless', but still worth fixing.
  11556. o Since we don't support truncateds much, don't bother sending them;
  11557. just close the circ.
  11558. o check for <machine/limits.h> so we build on NetBSD again (I hope).
  11559. o don't crash if a conn that sent a begin has suddenly lost its circuit
  11560. (this was quite rare).
  11561. Changes in version 0.0.6rc1 - 2004-04-25
  11562. o We now rotate link (tls context) keys and onion keys.
  11563. o CREATE cells now include oaep padding, so you can tell
  11564. if you decrypted them correctly.
  11565. o Add bandwidthburst to server descriptor.
  11566. o Directories now say which dirserver signed them.
  11567. o Use a tor_assert macro that logs failed assertions too.
  11568. Changes in version 0.0.6pre5 - 2004-04-18
  11569. o changes from 0.0.6pre4:
  11570. - make tor build on broken freebsd 5.2 installs
  11571. - fix a failed assert when you try an intro point, get a nack, and try
  11572. a second one and it works.
  11573. - when alice uses a port that the hidden service doesn't accept,
  11574. it now sends back an end cell (denied by exit policy). otherwise
  11575. alice would just have to wait to time out.
  11576. - fix another rare bug: when we had tried all the intro
  11577. points for a hidden service, we fetched the descriptor
  11578. again, but we left our introcirc thinking it had already
  11579. sent an intro, so it kept waiting for a response...
  11580. - bugfix: when you sleep your hidden-service laptop, as soon
  11581. as it wakes up it tries to upload a service descriptor, but
  11582. socketpair fails for some reason (localhost not up yet?).
  11583. now we simply give up on that upload, and we'll try again later.
  11584. i'd still like to find the bug though.
  11585. - if an intro circ waiting for an ack dies before getting one, then
  11586. count it as a nack
  11587. - we were reusing stale service descriptors and refetching usable
  11588. ones. oops.
  11589. Changes in version 0.0.6pre4 - 2004-04-14
  11590. o changes from 0.0.6pre3:
  11591. - when bob fails to connect to the rendezvous point, and his
  11592. circ didn't fail because of the rendezvous point itself, then
  11593. he retries a couple of times
  11594. - we expire introduction and rendezvous circs more thoroughly
  11595. (sometimes they were hanging around forever)
  11596. - we expire unattached rendezvous streams that have been around
  11597. too long (they were sticking around forever).
  11598. - fix a measly fencepost error that was crashing everybody with
  11599. a strict glibc.
  11600. Changes in version 0.0.6pre3 - 2004-04-14
  11601. o changes from 0.0.6pre2:
  11602. - make hup work again
  11603. - fix some memory leaks for dirservers
  11604. - allow more skew in rendezvous descriptor timestamps, to help
  11605. handle people like blanu who don't know what time it is
  11606. - normal circs are 3 hops, but some rend/intro circs are 4, if
  11607. the initiator doesn't get to choose the last hop
  11608. - send acks for introductions, so alice can know whether to try
  11609. again
  11610. - bob publishes intro points more correctly
  11611. o changes from 0.0.5:
  11612. - fix an assert trigger that's been plaguing us since the days
  11613. of 0.0.2prexx (thanks weasel!)
  11614. - retry stream correctly when we fail to connect because of
  11615. exit-policy-reject (should try another) or can't-resolve-address
  11616. (also should try another, because dns on random internet servers
  11617. is flaky).
  11618. - when we hup a dirserver and we've *removed* a server from the
  11619. approved-routers list, now we remove that server from the
  11620. in-memory directories too
  11621. Changes in version 0.0.6pre2 - 2004-04-08
  11622. o We fixed our base32 implementation. Now it works on all architectures.
  11623. Changes in version 0.0.6pre1 - 2004-04-08
  11624. o Features:
  11625. - Hidden services and rendezvous points are implemented. Go to
  11626. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  11627. hidden services. (This only works via a socks4a proxy such as
  11628. Privoxy, and currently it's quite slow.)
  11629. Changes in version 0.0.5 - 2004-03-30
  11630. [version bump only]
  11631. Changes in version 0.0.5rc3 - 2004-03-29
  11632. o Install torrc as torrc.sample -- we no longer clobber your
  11633. torrc. (Woo!)
  11634. o Re-enable recommendedversion checking (we broke it in rc2, oops)
  11635. o Add in a 'notice' log level for things the operator should hear
  11636. but that aren't warnings
  11637. Changes in version 0.0.5rc2 - 2004-03-29
  11638. o Hold socks connection open until reply is flushed (if possible)
  11639. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  11640. the dns farm to do it.
  11641. o Fix c99 aliasing warnings in rephist.c
  11642. o Don't include server descriptors that are older than 24 hours in the
  11643. directory.
  11644. o Give socks 'reject' replies their whole 15s to attempt to flush,
  11645. rather than seeing the 60s timeout and assuming the flush had failed.
  11646. o Clean automake droppings from the cvs repository
  11647. Changes in version 0.0.5rc1 - 2004-03-28
  11648. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  11649. o Only build circuits after we've fetched the directory: clients were
  11650. using only the directory servers before they'd fetched a directory.
  11651. This also means longer startup time; so it goes.
  11652. o Fix an assert trigger where an OP would fail to handshake, and we'd
  11653. expect it to have a nickname.
  11654. o Work around a tsocks bug: do a socks reject when AP connection dies
  11655. early, else tsocks goes into an infinite loop.
  11656. Changes in version 0.0.4 - 2004-03-26
  11657. o When connecting to a dirserver or OR and the network is down,
  11658. we would crash.
  11659. Changes in version 0.0.3 - 2004-03-26
  11660. o Warn and fail if server chose a nickname with illegal characters
  11661. o Port to Solaris and Sparc:
  11662. - include missing header fcntl.h
  11663. - have autoconf find -lsocket -lnsl automatically
  11664. - deal with hardware word alignment
  11665. - make uname() work (solaris has a different return convention)
  11666. - switch from using signal() to sigaction()
  11667. o Preliminary work on reputation system:
  11668. - Keep statistics on success/fail of connect attempts; they're published
  11669. by kill -USR1 currently.
  11670. - Add a RunTesting option to try to learn link state by creating test
  11671. circuits, even when SocksPort is off.
  11672. - Remove unused open circuits when there are too many.
  11673. Changes in version 0.0.2 - 2004-03-19
  11674. - Include strlcpy and strlcat for safer string ops
  11675. - define INADDR_NONE so we compile (but still not run) on solaris
  11676. Changes in version 0.0.2pre27 - 2004-03-14
  11677. o Bugfixes:
  11678. - Allow internal tor networks (we were rejecting internal IPs,
  11679. now we allow them if they're set explicitly).
  11680. - And fix a few endian issues.
  11681. Changes in version 0.0.2pre26 - 2004-03-14
  11682. o New features:
  11683. - If a stream times out after 15s without a connected cell, don't
  11684. try that circuit again: try a new one.
  11685. - Retry streams at most 4 times. Then give up.
  11686. - When a dirserver gets a descriptor from an unknown router, it
  11687. logs its fingerprint (so the dirserver operator can choose to
  11688. accept it even without mail from the server operator).
  11689. - Inform unapproved servers when we reject their descriptors.
  11690. - Make tor build on Windows again. It works as a client, who knows
  11691. about as a server.
  11692. - Clearer instructions in the torrc for how to set up a server.
  11693. - Be more efficient about reading fd's when our global token bucket
  11694. (used for rate limiting) becomes empty.
  11695. o Bugfixes:
  11696. - Stop asserting that computers always go forward in time. It's
  11697. simply not true.
  11698. - When we sent a cell (e.g. destroy) and then marked an OR connection
  11699. expired, we might close it before finishing a flush if the other
  11700. side isn't reading right then.
  11701. - Don't allow dirservers to start if they haven't defined
  11702. RecommendedVersions
  11703. - We were caching transient dns failures. Oops.
  11704. - Prevent servers from publishing an internal IP as their address.
  11705. - Address a strcat vulnerability in circuit.c
  11706. Changes in version 0.0.2pre25 - 2004-03-04
  11707. o New features:
  11708. - Put the OR's IP in its router descriptor, not its fqdn. That way
  11709. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  11710. e.g. poblano.
  11711. o Bugfixes:
  11712. - If the user typed in an address that didn't resolve, the server
  11713. crashed.
  11714. Changes in version 0.0.2pre24 - 2004-03-03
  11715. o Bugfixes:
  11716. - Fix an assertion failure in dns.c, where we were trying to dequeue
  11717. a pending dns resolve even if it wasn't pending
  11718. - Fix a spurious socks5 warning about still trying to write after the
  11719. connection is finished.
  11720. - Hold certain marked_for_close connections open until they're finished
  11721. flushing, rather than losing bytes by closing them too early.
  11722. - Correctly report the reason for ending a stream
  11723. - Remove some duplicate calls to connection_mark_for_close
  11724. - Put switch_id and start_daemon earlier in the boot sequence, so it
  11725. will actually try to chdir() to options.DataDirectory
  11726. - Make 'make test' exit(1) if a test fails; fix some unit tests
  11727. - Make tor fail when you use a config option it doesn't know about,
  11728. rather than warn and continue.
  11729. - Make --version work
  11730. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  11731. Changes in version 0.0.2pre23 - 2004-02-29
  11732. o New features:
  11733. - Print a statement when the first circ is finished, so the user
  11734. knows it's working.
  11735. - If a relay cell is unrecognized at the end of the circuit,
  11736. send back a destroy. (So attacks to mutate cells are more
  11737. clearly thwarted.)
  11738. - New config option 'excludenodes' to avoid certain nodes for circuits.
  11739. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  11740. so you can collect coredumps there.
  11741. o Bugfixes:
  11742. - Fix a bug in tls flushing where sometimes data got wedged and
  11743. didn't flush until more data got sent. Hopefully this bug was
  11744. a big factor in the random delays we were seeing.
  11745. - Make 'connected' cells include the resolved IP, so the client
  11746. dns cache actually gets populated.
  11747. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  11748. - When we time-out on a stream and detach from the circuit, send an
  11749. end cell down it first.
  11750. - Only warn about an unknown router (in exitnodes, entrynodes,
  11751. excludenodes) after we've fetched a directory.
  11752. Changes in version 0.0.2pre22 - 2004-02-26
  11753. o New features:
  11754. - Servers publish less revealing uname information in descriptors.
  11755. - More memory tracking and assertions, to crash more usefully when
  11756. errors happen.
  11757. - If the default torrc isn't there, just use some default defaults.
  11758. Plus provide an internal dirservers file if they don't have one.
  11759. - When the user tries to use Tor as an http proxy, give them an http
  11760. 501 failure explaining that we're a socks proxy.
  11761. - Dump a new router.desc on hup, to help confused people who change
  11762. their exit policies and then wonder why router.desc doesn't reflect
  11763. it.
  11764. - Clean up the generic tor.sh init script that we ship with.
  11765. o Bugfixes:
  11766. - If the exit stream is pending on the resolve, and a destroy arrives,
  11767. then the stream wasn't getting removed from the pending list. I
  11768. think this was the one causing recent server crashes.
  11769. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  11770. - When it couldn't resolve any dirservers, it was useless from then on.
  11771. Now it reloads the RouterFile (or default dirservers) if it has no
  11772. dirservers.
  11773. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  11774. many users don't even *have* a /usr/local/sbin/.
  11775. Changes in version 0.0.2pre21 - 2004-02-18
  11776. o New features:
  11777. - There's a ChangeLog file that actually reflects the changelog.
  11778. - There's a 'torify' wrapper script, with an accompanying
  11779. tor-tsocks.conf, that simplifies the process of using tsocks for
  11780. tor. It even has a man page.
  11781. - The tor binary gets installed to sbin rather than bin now.
  11782. - Retry streams where the connected cell hasn't arrived in 15 seconds
  11783. - Clean up exit policy handling -- get the default out of the torrc,
  11784. so we can update it without forcing each server operator to fix
  11785. his/her torrc.
  11786. - Allow imaps and pop3s in default exit policy
  11787. o Bugfixes:
  11788. - Prevent picking middleman nodes as the last node in the circuit
  11789. Changes in version 0.0.2pre20 - 2004-01-30
  11790. o New features:
  11791. - We now have a deb package, and it's in debian unstable. Go to
  11792. it, apt-getters. :)
  11793. - I've split the TotalBandwidth option into BandwidthRate (how many
  11794. bytes per second you want to allow, long-term) and
  11795. BandwidthBurst (how many bytes you will allow at once before the cap
  11796. kicks in). This better token bucket approach lets you, say, set
  11797. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  11798. performance while not exceeding your monthly bandwidth quota.
  11799. - Push out a tls record's worth of data once you've got it, rather
  11800. than waiting until you've read everything waiting to be read. This
  11801. may improve performance by pipelining better. We'll see.
  11802. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  11803. from failed circuits (if they haven't been connected yet) and attach
  11804. to new ones.
  11805. - Expire old streams that haven't managed to connect. Some day we'll
  11806. have them reattach to new circuits instead.
  11807. o Bugfixes:
  11808. - Fix several memory leaks that were causing servers to become bloated
  11809. after a while.
  11810. - Fix a few very rare assert triggers. A few more remain.
  11811. - Setuid to User _before_ complaining about running as root.
  11812. Changes in version 0.0.2pre19 - 2004-01-07
  11813. o Bugfixes:
  11814. - Fix deadlock condition in dns farm. We were telling a child to die by
  11815. closing the parent's file descriptor to him. But newer children were
  11816. inheriting the open file descriptor from the parent, and since they
  11817. weren't closing it, the socket never closed, so the child never read
  11818. eof, so he never knew to exit. Similarly, dns workers were holding
  11819. open other sockets, leading to all sorts of chaos.
  11820. - New cleaner daemon() code for forking and backgrounding.
  11821. - If you log to a file, it now prints an entry at the top of the
  11822. logfile so you know it's working.
  11823. - The onionskin challenge length was 30 bytes longer than necessary.
  11824. - Started to patch up the spec so it's not quite so out of date.
  11825. Changes in version 0.0.2pre18 - 2004-01-02
  11826. o Bugfixes:
  11827. - Fix endian issues with the 'integrity' field in the relay header.
  11828. - Fix a potential bug where connections in state
  11829. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  11830. Changes in version 0.0.2pre17 - 2003-12-30
  11831. o Bugfixes:
  11832. - Made --debuglogfile (or any second log file, actually) work.
  11833. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  11834. adversary could force us into an infinite loop.
  11835. o Features:
  11836. - Each onionskin handshake now includes a hash of the computed key,
  11837. to prove the server's identity and help perfect forward secrecy.
  11838. - Changed cell size from 256 to 512 bytes (working toward compatibility
  11839. with MorphMix).
  11840. - Changed cell length to 2 bytes, and moved it to the relay header.
  11841. - Implemented end-to-end integrity checking for the payloads of
  11842. relay cells.
  11843. - Separated streamid from 'recognized' (otherwise circuits will get
  11844. messed up when we try to have streams exit from the middle). We
  11845. use the integrity-checking to confirm that a cell is addressed to
  11846. this hop.
  11847. - Randomize the initial circid and streamid values, so an adversary who
  11848. breaks into a node can't learn how many circuits or streams have
  11849. been made so far.
  11850. Changes in version 0.0.2pre16 - 2003-12-14
  11851. o Bugfixes:
  11852. - Fixed a bug that made HUP trigger an assert
  11853. - Fixed a bug where a circuit that immediately failed wasn't being
  11854. counted as a failed circuit in counting retries.
  11855. o Features:
  11856. - Now we close the circuit when we get a truncated cell: otherwise we're
  11857. open to an anonymity attack where a bad node in the path truncates
  11858. the circuit and then we open streams at him.
  11859. - Add port ranges to exit policies
  11860. - Add a conservative default exit policy
  11861. - Warn if you're running tor as root
  11862. - on HUP, retry OR connections and close/rebind listeners
  11863. - options.EntryNodes: try these nodes first when picking the first node
  11864. - options.ExitNodes: if your best choices happen to include any of
  11865. your preferred exit nodes, you choose among just those preferred
  11866. exit nodes.
  11867. - options.ExcludedNodes: nodes that are never picked in path building
  11868. Changes in version 0.0.2pre15 - 2003-12-03
  11869. o Robustness and bugfixes:
  11870. - Sometimes clients would cache incorrect DNS resolves, which would
  11871. really screw things up.
  11872. - An OP that goes offline would slowly leak all its sockets and stop
  11873. working.
  11874. - A wide variety of bugfixes in exit node selection, exit policy
  11875. handling, and processing pending streams when a new circuit is
  11876. established.
  11877. - Pick nodes for a path only from those the directory says are up
  11878. - Choose randomly from all running dirservers, not always the first one
  11879. - Increase allowed http header size for directory fetch.
  11880. - Stop writing to stderr (if we're daemonized it will be closed).
  11881. - Enable -g always, so cores will be more useful to me.
  11882. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  11883. o Documentation:
  11884. - Wrote a man page. It lists commonly used options.
  11885. o Configuration:
  11886. - Change default loglevel to warn.
  11887. - Make PidFile default to null rather than littering in your CWD.
  11888. - OnionRouter config option is now obsolete. Instead it just checks
  11889. ORPort>0.
  11890. - Moved to a single unified torrc file for both clients and servers.
  11891. Changes in version 0.0.2pre14 - 2003-11-29
  11892. o Robustness and bugfixes:
  11893. - Force the admin to make the DataDirectory himself
  11894. - to get ownership/permissions right
  11895. - so clients no longer make a DataDirectory and then never use it
  11896. - fix bug where a client who was offline for 45 minutes would never
  11897. pull down a directory again
  11898. - fix (or at least hide really well) the dns assert bug that was
  11899. causing server crashes
  11900. - warnings and improved robustness wrt clockskew for certs
  11901. - use the native daemon(3) to daemonize, when available
  11902. - exit if bind() fails
  11903. - exit if neither socksport nor orport is defined
  11904. - include our own tor_timegm (Win32 doesn't have its own)
  11905. - bugfix for win32 with lots of connections
  11906. - fix minor bias in PRNG
  11907. - make dirserver more robust to corrupt cached directory
  11908. o Documentation:
  11909. - Wrote the design document (woo)
  11910. o Circuit building and exit policies:
  11911. - Circuits no longer try to use nodes that the directory has told them
  11912. are down.
  11913. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  11914. bitcounts (18.0.0.0/8).
  11915. - Make AP connections standby for a circuit if no suitable circuit
  11916. exists, rather than failing
  11917. - Circuits choose exit node based on addr/port, exit policies, and
  11918. which AP connections are standing by
  11919. - Bump min pathlen from 2 to 3
  11920. - Relay end cells have a payload to describe why the stream ended.
  11921. - If the stream failed because of exit policy, try again with a new
  11922. circuit.
  11923. - Clients have a dns cache to remember resolved addresses.
  11924. - Notice more quickly when we have no working circuits
  11925. o Configuration:
  11926. - APPort is now called SocksPort
  11927. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  11928. where to bind
  11929. - RecommendedVersions is now a config variable rather than
  11930. hardcoded (for dirservers)
  11931. - Reloads config on HUP
  11932. - Usage info on -h or --help
  11933. - If you set User and Group config vars, it'll setu/gid to them.
  11934. Changes in version 0.0.2pre13 - 2003-10-19
  11935. o General stability:
  11936. - SSL_write no longer fails when it returns WANTWRITE and the number
  11937. of bytes in the buf has changed by the next SSL_write call.
  11938. - Fix segfault fetching directory when network is down
  11939. - Fix a variety of minor memory leaks
  11940. - Dirservers reload the fingerprints file on HUP, so I don't have
  11941. to take down the network when I approve a new router
  11942. - Default server config file has explicit Address line to specify fqdn
  11943. o Buffers:
  11944. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  11945. - Make listener connections not ever alloc bufs
  11946. o Autoconf improvements:
  11947. - don't clobber an external CFLAGS in ./configure
  11948. - Make install now works
  11949. - create var/lib/tor on make install
  11950. - autocreate a tor.sh initscript to help distribs
  11951. - autocreate the torrc and sample-server-torrc with correct paths
  11952. o Log files and Daemonizing now work:
  11953. - If --DebugLogFile is specified, log to it at -l debug
  11954. - If --LogFile is specified, use it instead of commandline
  11955. - If --RunAsDaemon is set, tor forks and backgrounds on startup