ChangeLog 556 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890
  1. Changes in version 0.2.2.29-beta - 2011-06-20
  2. Tor 0.2.2.29-beta reverts an accidental behavior change for users who
  3. have bridge lines in their torrc but don't want to use them; gets
  4. us closer to having the control socket feature working on Debian;
  5. and fixes a variety of smaller bugs.
  6. o Major bugfixes:
  7. - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
  8. When we changed the default behavior to "use bridges if any
  9. are listed in the torrc", we surprised users who had bridges
  10. in their torrc files but who didn't actually want to use them.
  11. Partial resolution for bug 3354.
  12. o Privacy fixes:
  13. - Don't attach new streams to old rendezvous circuits after SIGNAL
  14. NEWNYM. Previously, we would keep using an existing rendezvous
  15. circuit if it remained open (i.e. if it were kept open by a
  16. long-lived stream, or if a new stream were attached to it before
  17. Tor could notice that it was old and no longer in use). Bugfix on
  18. 0.1.1.15-rc; fixes bug 3375.
  19. o Minor bugfixes:
  20. - Fix a bug when using ControlSocketsGroupWritable with User. The
  21. directory's group would be checked against the current group, not
  22. the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
  23. bugfix on 0.2.2.26-beta.
  24. - Make connection_printf_to_buf()'s behaviour sane. Its callers
  25. expect it to emit a CRLF iff the format string ends with CRLF;
  26. it actually emitted a CRLF iff (a) the format string ended with
  27. CRLF or (b) the resulting string was over 1023 characters long or
  28. (c) the format string did not end with CRLF *and* the resulting
  29. string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
  30. fixes part of bug 3407.
  31. - Make send_control_event_impl()'s behaviour sane. Its callers
  32. expect it to always emit a CRLF at the end of the string; it
  33. might have emitted extra control characters as well. Bugfix on
  34. 0.1.1.9-alpha; fixes another part of bug 3407.
  35. - Make crypto_rand_int() check the value of its input correctly.
  36. Previously, it accepted values up to UINT_MAX, but could return a
  37. negative number if given a value above INT_MAX+1. Found by George
  38. Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
  39. - Avoid a segfault when reading a malformed circuit build state
  40. with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
  41. 0.2.2.4-alpha.
  42. - When asked about a DNS record type we don't support via a
  43. client DNSPort, reply with NOTIMPL rather than an empty
  44. reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
  45. - Fix a rare memory leak during stats writing. Found by coverity.
  46. o Minor features:
  47. - Update to the June 1 2011 Maxmind GeoLite Country database.
  48. o Code simplifications and refactoring:
  49. - Remove some dead code as indicated by coverity.
  50. - Remove a few dead assignments during router parsing. Found by
  51. coverity.
  52. - Add some forgotten return value checks during unit tests. Found
  53. by coverity.
  54. - Don't use 1-bit wide signed bit fields. Found by coverity.
  55. Changes in version 0.2.2.28-beta - 2011-06-04
  56. Tor 0.2.2.28-beta makes great progress towards a new stable release: we
  57. fixed a big bug in whether relays stay in the consensus consistently,
  58. we moved closer to handling bridges and hidden services correctly,
  59. and we started the process of better handling the dreaded "my Vidalia
  60. died, and now my Tor demands a password when I try to reconnect to it"
  61. usability issue.
  62. o Major bugfixes:
  63. - Don't decide to make a new descriptor when receiving a HUP signal.
  64. This bug has caused a lot of 0.2.2.x relays to disappear from the
  65. consensus periodically. Fixes the most common case of triggering
  66. bug 1810; bugfix on 0.2.2.7-alpha.
  67. - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
  68. - Don't try to build descriptors if "ORPort auto" is set and we
  69. don't know our actual ORPort yet. Fix for bug 3216; bugfix on
  70. 0.2.2.26-beta.
  71. - Resolve a crash that occurred when setting BridgeRelay to 1 with
  72. accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
  73. - Apply circuit timeouts to opened hidden-service-related circuits
  74. based on the correct start time. Previously, we would apply the
  75. circuit build timeout based on time since the circuit's creation;
  76. it was supposed to be applied based on time since the circuit
  77. entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
  78. - Use the same circuit timeout for client-side introduction
  79. circuits as for other four-hop circuits, rather than the timeout
  80. for single-hop directory-fetch circuits; the shorter timeout may
  81. have been appropriate with the static circuit build timeout in
  82. 0.2.1.x and earlier, but caused many hidden service access attempts
  83. to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
  84. on 0.2.2.2-alpha; fixes another part of bug 1297.
  85. - In ticket 2511 we fixed a case where you could use an unconfigured
  86. bridge if you had configured it as a bridge the last time you ran
  87. Tor. Now fix another edge case: if you had configured it as a bridge
  88. but then switched to a different bridge via the controller, you
  89. would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
  90. fixes bug 3321.
  91. o Major features:
  92. - Add an __OwningControllerProcess configuration option and a
  93. TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
  94. that when it exits, Tor will shut down. Implements feature 3049.
  95. - If "UseBridges 1" is set and no bridges are configured, Tor will
  96. now refuse to build any circuits until some bridges are set.
  97. If "UseBridges auto" is set, Tor will use bridges if they are
  98. configured and we are not running as a server, but otherwise will
  99. make circuits as usual. The new default is "auto". Patch by anonym,
  100. so the Tails LiveCD can stop automatically revealing you as a Tor
  101. user on startup.
  102. o Minor bugfixes:
  103. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  104. - Remove a trailing asterisk from "exit-policy/default" in the
  105. output of the control port command "GETINFO info/names". Bugfix
  106. on 0.1.2.5-alpha.
  107. - Use a wide type to hold sockets when built for 64-bit Windows builds.
  108. Fixes bug 3270.
  109. - Warn when the user configures two HiddenServiceDir lines that point
  110. to the same directory. Bugfix on 0.0.6 (the version introducing
  111. HiddenServiceDir); fixes bug 3289.
  112. - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
  113. part of bug 2748; bugfix on 0.2.0.10-alpha.
  114. - Log malformed requests for rendezvous descriptors as protocol
  115. warnings, not warnings. Also, use a more informative log message
  116. in case someone sees it at log level warning without prior
  117. info-level messages. Fixes the other part of bug 2748; bugfix
  118. on 0.2.0.10-alpha.
  119. - Clear the table recording the time of the last request for each
  120. hidden service descriptor from each HS directory on SIGNAL NEWNYM.
  121. Previously, we would clear our HS descriptor cache on SIGNAL
  122. NEWNYM, but if we had previously retrieved a descriptor (or tried
  123. to) from every directory responsible for it, we would refuse to
  124. fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
  125. fixes bug 3309.
  126. - Fix a log message that said "bits" while displaying a value in
  127. bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
  128. 0.2.0.1-alpha.
  129. - When checking for 1024-bit keys, check for 1024 bits, not 128
  130. bytes. This allows Tor to correctly discard keys of length 1017
  131. through 1023. Bugfix on 0.0.9pre5.
  132. o Minor features:
  133. - Relays now log the reason for publishing a new relay descriptor,
  134. so we have a better chance of hunting down instances of bug 1810.
  135. Resolves ticket 3252.
  136. - Revise most log messages that refer to nodes by nickname to
  137. instead use the "$key=nickname at address" format. This should be
  138. more useful, especially since nicknames are less and less likely
  139. to be unique. Resolves ticket 3045.
  140. - Log (at info level) when purging pieces of hidden-service-client
  141. state because of SIGNAL NEWNYM.
  142. o Removed options:
  143. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  144. anything since 0.2.1.16-rc.
  145. Changes in version 0.2.2.27-beta - 2011-05-18
  146. Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
  147. release, and also adds a few more general bugfixes.
  148. o Major bugfixes:
  149. - Fix a crash bug when changing bridges in a running Tor process.
  150. Fixes bug 3213; bugfix on 0.2.2.26-beta.
  151. - When the controller configures a new bridge, don't wait 10 to 60
  152. seconds before trying to fetch its descriptor. Bugfix on
  153. 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
  154. o Minor bugfixes:
  155. - Require that onion keys have exponent 65537 in microdescriptors too.
  156. Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
  157. - Tor used to limit HttpProxyAuthenticator values to 48 characters.
  158. Changed the limit to 512 characters by removing base64 newlines.
  159. Fixes bug 2752. Fix by Michael Yakubovich.
  160. - When a client starts or stops using bridges, never use a circuit
  161. that was built before the configuration change. This behavior could
  162. put at risk a user who uses bridges to ensure that her traffic
  163. only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
  164. bug 3200.
  165. Changes in version 0.2.2.26-beta - 2011-05-17
  166. Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
  167. also introduces a new "socksport auto" approach that should make it
  168. easier to run multiple Tors on the same system, and does a lot of
  169. cleanup to get us closer to a release candidate.
  170. o Security/privacy fixes:
  171. - Replace all potentially sensitive memory comparison operations
  172. with versions whose runtime does not depend on the data being
  173. compared. This will help resist a class of attacks where an
  174. adversary can use variations in timing information to learn
  175. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  176. implementation by Robert Ransom based partially on code by DJB.)
  177. - When receiving a hidden service descriptor, check that it is for
  178. the hidden service we wanted. Previously, Tor would store any
  179. hidden service descriptors that a directory gave it, whether it
  180. wanted them or not. This wouldn't have let an attacker impersonate
  181. a hidden service, but it did let directories pre-seed a client
  182. with descriptors that it didn't want. Bugfix on 0.0.6.
  183. - On SIGHUP, do not clear out all TrackHostExits mappings, client
  184. DNS cache entries, and virtual address mappings: that's what
  185. NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
  186. o Major features:
  187. - The options SocksPort, ControlPort, and so on now all accept a
  188. value "auto" that opens a socket on an OS-selected port. A
  189. new ControlPortWriteToFile option tells Tor to write its
  190. actual control port or ports to a chosen file. If the option
  191. ControlPortFileGroupReadable is set, the file is created as
  192. group-readable. Now users can run two Tor clients on the same
  193. system without needing to manually mess with parameters. Resolves
  194. part of ticket 3076.
  195. - Set SO_REUSEADDR on all sockets, not just listeners. This should
  196. help busy exit nodes avoid running out of useable ports just
  197. because all the ports have been used in the near past. Resolves
  198. issue 2850.
  199. o Minor features:
  200. - New "GETINFO net/listeners/(type)" controller command to return
  201. a list of addresses and ports that are bound for listeners for a
  202. given connection type. This is useful when the user has configured
  203. "SocksPort auto" and the controller needs to know which port got
  204. chosen. Resolves another part of ticket 3076.
  205. - Add a new ControlSocketsGroupWritable configuration option: when
  206. it is turned on, ControlSockets are group-writeable by the default
  207. group of the current user. Patch by Jérémy Bobbio; implements
  208. ticket 2972.
  209. - Tor now refuses to create a ControlSocket in a directory that is
  210. world-readable (or group-readable if ControlSocketsGroupWritable
  211. is 0). This is necessary because some operating systems do not
  212. enforce permissions on an AF_UNIX sockets. Permissions on the
  213. directory holding the socket, however, seems to work everywhere.
  214. - Rate-limit a warning about failures to download v2 networkstatus
  215. documents. Resolves part of bug 1352.
  216. - Backport code from 0.2.3.x that allows directory authorities to
  217. clean their microdescriptor caches. Needed to resolve bug 2230.
  218. - When an HTTPS proxy reports "403 Forbidden", we now explain
  219. what it means rather than calling it an unexpected status code.
  220. Closes bug 2503. Patch from Michael Yakubovich.
  221. - Update to the May 1 2011 Maxmind GeoLite Country database.
  222. o Minor bugfixes:
  223. - Authorities now clean their microdesc cache periodically and when
  224. reading from disk initially, not only when adding new descriptors.
  225. This prevents a bug where we could lose microdescriptors. Bugfix
  226. on 0.2.2.6-alpha. 2230
  227. - Do not crash when our configuration file becomes unreadable, for
  228. example due to a permissions change, between when we start up
  229. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  230. on 0.0.9pre6.
  231. - Avoid a bug that would keep us from replacing a microdescriptor
  232. cache on Windows. (We would try to replace the file while still
  233. holding it open. That's fine on Unix, but Windows doesn't let us
  234. do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
  235. - Add missing explanations for the authority-related torrc options
  236. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
  237. man page. Resolves issue 2379.
  238. - As an authority, do not upload our own vote or signature set to
  239. ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
  240. it would get flagged as a duplicate. Resolves bug 3026.
  241. - Accept hidden service descriptors if we think we might be a hidden
  242. service directory, regardless of what our consensus says. This
  243. helps robustness, since clients and hidden services can sometimes
  244. have a more up-to-date view of the network consensus than we do,
  245. and if they think that the directory authorities list us a HSDir,
  246. we might actually be one. Related to bug 2732; bugfix on
  247. 0.2.0.10-alpha.
  248. - When a controller changes TrackHostExits, remove mappings for
  249. hosts that should no longer have their exits tracked. Bugfix on
  250. 0.1.0.1-rc.
  251. - When a controller changes VirtualAddrNetwork, remove any mappings
  252. for hosts that were automapped to the old network. Bugfix on
  253. 0.1.1.19-rc.
  254. - When a controller changes one of the AutomapHosts* options, remove
  255. any mappings for hosts that should no longer be automapped. Bugfix
  256. on 0.2.0.1-alpha.
  257. - Do not reset the bridge descriptor download status every time we
  258. re-parse our configuration or get a configuration change. Fixes
  259. bug 3019; bugfix on 0.2.0.3-alpha.
  260. o Minor bugfixes (code cleanup):
  261. - When loading the microdesc journal, remember its current size.
  262. In 0.2.2, this helps prevent the microdesc journal from growing
  263. without limit on authorities (who are the only ones to use it in
  264. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  265. Fix posted by "cypherpunks."
  266. - The microdesc journal is supposed to get rebuilt only if it is
  267. at least _half_ the length of the store, not _twice_ the length
  268. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  269. - Fix a potential null-pointer dereference while computing a
  270. consensus. Bugfix on tor-0.2.0.3-alpha, found with the help of
  271. clang's analyzer.
  272. - Avoid a possible null-pointer dereference when rebuilding the mdesc
  273. cache without actually having any descriptors to cache. Bugfix on
  274. 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
  275. - If we fail to compute the identity digest of a v3 legacy keypair,
  276. warn, and don't use a buffer-full of junk instead. Bugfix on
  277. 0.2.1.1-alpha; fixes bug 3106.
  278. - Resolve an untriggerable issue in smartlist_string_num_isin(),
  279. where if the function had ever in the future been used to check
  280. for the presence of a too-large number, it would have given an
  281. incorrect result. (Fortunately, we only used it for 16-bit
  282. values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
  283. - Require that introduction point keys and onion handshake keys
  284. have a public exponent of 65537. Starts to fix bug 3207; bugfix
  285. on 0.2.0.10-alpha.
  286. o Removed features:
  287. - Caches no longer download and serve v2 networkstatus documents
  288. unless FetchV2Networkstatus flag is set: these documents haven't
  289. haven't been used by clients or relays since 0.2.0.x. Resolves
  290. bug 3022.
  291. Changes in version 0.2.3.1-alpha - 2011-05-05
  292. Tor 0.2.3.1-alpha adds some new experimental features, including support
  293. for an improved network IO backend, IOCP networking on Windows,
  294. microdescriptor caching, "fast-start" support for streams, and automatic
  295. home router configuration. There are also numerous internal improvements
  296. to try to make the code easier for developers to work with.
  297. This is the first alpha release in a new series, so expect there to be
  298. bugs. Users who would rather test out a more stable branch should
  299. stay with 0.2.2.x for now.
  300. o Major features:
  301. - Tor can now optionally build with the "bufferevents" buffered IO
  302. backend provided by Libevent 2. To use this feature, make sure you
  303. have the latest possible version of Libevent, and pass the
  304. --enable-bufferevents flag to configure when building Tor from
  305. source. This feature will make our networking code more flexible,
  306. let us stack layers on each other, and let us use more efficient
  307. zero-copy transports where available.
  308. - As an experimental feature, Tor can use IOCP for networking on Windows.
  309. Once this code is tuned and optimized, it promises much better
  310. performance than the select-based backend we've used in the past. To
  311. try this feature, you must build Tor with Libevent 2, configure Tor
  312. with the "bufferevents" buffered IO backend, and add "DisableIOCP 0" to
  313. your torrc. There are known bugs here: only try this if you can help
  314. debug it as it breaks.
  315. - The EntryNodes option can now include country codes like {de} or IP
  316. addresses or network masks. Previously we had disallowed these options
  317. because we didn't have an efficient way to keep the list up to
  318. date. Fixes bug 1982, but see bug 2798 for an unresolved issue here.
  319. - Exit nodes now accept and queue data on not-yet-connected streams.
  320. Previously, the client wasn't allowed to send data until the stream was
  321. connected, which slowed down all connections. This change will enable
  322. clients to perform a "fast-start" on streams and send data without
  323. having to wait for a confirmation that the stream has opened. (Patch
  324. from Ian Goldberg; implements the server side of Proposal 174.)
  325. - Tor now has initial support for automatic port mapping on the many
  326. home routers that support NAT-PMP or UPnP. (Not yet supported on
  327. Windows). To build the support code, you'll need to have libnatpnp
  328. library and/or the libminiupnpc library, and you'll need to enable the
  329. feature specifically by passing "--enable-upnp" and/or
  330. "--enable-natpnp" to configure. To turn it on, use the new
  331. PortForwarding option.
  332. - Caches now download, cache, and serve multiple "flavors" of the
  333. consensus, including a flavor that describes microdescriptors.
  334. - Caches now download, cache, and serve microdescriptors -- small
  335. summaries of router descriptors that are authenticated by all of the
  336. directory authorities. Once enough caches are running this code,
  337. clients will be able to save significant amounts of directory bandwidth
  338. by downloading microdescriptors instead of router descriptors.
  339. o Minor features:
  340. - Make logging resolution configurable with a new LogTimeGranularity
  341. option, and change the default from 1 millisecond to 1 second.
  342. Implements enhancement 1668.
  343. - We log which torrc file we're using on startup. Implements ticket
  344. 2444.
  345. - Ordinarily, Tor does not count traffic from private addresses (like
  346. 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
  347. There is now a new option, CountPrivateBandwidth, to disable this
  348. behavior. Patch from Daniel Cagara.
  349. - New --enable-static-tor configure option for building Tor as
  350. statically as possible. Idea, general hackery and thoughts from
  351. Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
  352. 2702.
  353. - If you set the NumCPUs option to 0, Tor will now try to detect how
  354. many CPUs you have. This is the new default behavior.
  355. - Turn on directory request statistics by default and include them in
  356. extra-info descriptors. Don't break if we have no GeoIP database.
  357. - Relays that set "ConnDirectionStatistics 1" write statistics on the
  358. bidirectional use of connections to disk every 24 hours.
  359. - Add a GeoIP file digest to the extra-info descriptor. Implements
  360. enhancement 1883.
  361. - The NodeFamily option -- which let you declare that you want to
  362. consider nodes to be part of a family whether they list themselves
  363. that way or not -- now allows IP address ranges and country codes.
  364. - Add a new 'Heartbeat' log message type to periodically log a message
  365. describing Tor's status at level Notice. This feature is meant for
  366. operators who log at notice, and want to make sure that their Tor
  367. server is still working. Implementation by George Kadianakis.
  368. o Minor bugfixes (on 0.2.2.25-alpha):
  369. - When loading the microdesc journal, remember its current size.
  370. In 0.2.2, this helps prevent the microdesc journal from growing
  371. without limit on authorities (who are the only ones to use it in
  372. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  373. Fix posted by "cypherpunks."
  374. - The microdesc journal is supposed to get rebuilt only if it is
  375. at least _half_ the length of the store, not _twice_ the length
  376. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  377. - If as an authority we fail to compute the identity digest of a v3
  378. legacy keypair, warn, and don't use a buffer-full of junk instead.
  379. Bugfix on 0.2.1.1-alpha; fixes bug 3106.
  380. - Authorities now clean their microdesc cache periodically and when
  381. reading from disk initially, not only when adding new descriptors.
  382. This prevents a bug where we could lose microdescriptors. Bugfix
  383. on 0.2.2.6-alpha.
  384. o Minor features (controller):
  385. - Add a new SIGNAL event to the controller interface so that
  386. controllers can be notified when Tor handles a signal. Resolves
  387. issue 1955. Patch by John Brooks.
  388. - Add a new GETINFO option to get total bytes read and written. Patch
  389. from pipe, revised by atagar. Resolves ticket 2345.
  390. - Implement some GETINFO controller fields to provide information about
  391. the Tor process's pid, euid, username, and resource limits.
  392. o Build changes:
  393. - Our build system requires automake 1.6 or later to create the
  394. Makefile.in files. Previously, you could have used 1.4.
  395. This only affects developers and people building Tor from git;
  396. people who build Tor from the source distribution without changing
  397. the Makefile.am files should be fine.
  398. - Our autogen.sh script uses autoreconf to launch autoconf, automake, and
  399. so on. This is more robust against some of the failure modes
  400. associated with running the autotools pieces on their own.
  401. o Minor packaging issues:
  402. - On OpenSUSE, create the /var/run/tor directory on startup if it is not
  403. already created. Patch from Andreas Stieger. Fixes bug 2573.
  404. o Code simplifications and refactoring:
  405. - A major revision to our internal node-selecting and listing logic.
  406. Tor already had at least two major ways to look at the question of
  407. "which Tor servers do we know about": a list of router descriptors,
  408. and a list of entries in the current consensus. With
  409. microdescriptors, we're adding a third. Having so many systems
  410. without an abstraction layer over them was hurting the codebase.
  411. Now, we have a new "node_t" abstraction that presents a consistent
  412. interface to a client's view of a Tor node, and holds (nearly) all
  413. of the mutable state formerly in routerinfo_t and routerstatus_t.
  414. - The helper programs tor-gencert, tor-resolve, and tor-checkkey
  415. no longer link against Libevent: they never used it, but
  416. our library structure used to force them to link it.
  417. o Removed features:
  418. - Remove some old code to work around even older versions of Tor that
  419. used forked processes to handle DNS requests. Such versions of Tor
  420. are no longer in use as servers.
  421. o Documentation fixes:
  422. - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
  423. - Add missing documentation for the authority-related torrc options
  424. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey. Resolves
  425. issue 2379.
  426. Changes in version 0.2.2.25-alpha - 2011-04-29
  427. Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
  428. robust, routers no longer overreport their bandwidth, Win7 should crash
  429. a little less, and NEWNYM (as used by Vidalia's "new identity" button)
  430. now prevents hidden service-related activity from being linkable. It
  431. provides more information to Vidalia so you can see if your bridge is
  432. working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
  433. StrictNodes configuration options to make them more reliable, more
  434. understandable, and more regularly applied. If you use those options,
  435. please see the revised documentation for them in the manual page.
  436. o Major bugfixes:
  437. - Relays were publishing grossly inflated bandwidth values because
  438. they were writing their state files wrong--now they write the
  439. correct value. Also, resume reading bandwidth history from the
  440. state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
  441. - Improve hidden service robustness: When we find that we have
  442. extended a hidden service's introduction circuit to a relay not
  443. listed as an introduction point in the HS descriptor we currently
  444. have, retry with an introduction point from the current
  445. descriptor. Previously we would just give up. Fixes bugs 1024 and
  446. 1930; bugfix on 0.2.0.10-alpha.
  447. - Clients now stop trying to use an exit node associated with a given
  448. destination by TrackHostExits if they fail to reach that exit node.
  449. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
  450. - Fix crash bug on platforms where gmtime and localtime can return
  451. NULL. Windows 7 users were running into this one. Fixes part of bug
  452. 2077. Bugfix on all versions of Tor. Found by boboper.
  453. o Security and stability fixes:
  454. - Don't double-free a parsable, but invalid, microdescriptor, even if
  455. it is followed in the blob we're parsing by an unparsable
  456. microdescriptor. Fixes an issue reported in a comment on bug 2954.
  457. Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
  458. - If the Nickname configuration option isn't given, Tor would pick a
  459. nickname based on the local hostname as the nickname for a relay.
  460. Because nicknames are not very important in today's Tor and the
  461. "Unnamed" nickname has been implemented, this is now problematic
  462. behavior: It leaks information about the hostname without being
  463. useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
  464. introduced the Unnamed nickname. Reported by tagnaq.
  465. - Fix an uncommon assertion failure when running with DNSPort under
  466. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  467. - Avoid linkability based on cached hidden service descriptors: forget
  468. all hidden service descriptors cached as a client when processing a
  469. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  470. o Major features:
  471. - Export GeoIP information on bridge usage to controllers even if we
  472. have not yet been running for 24 hours. Now Vidalia bridge operators
  473. can get more accurate and immediate feedback about their
  474. contributions to the network.
  475. o Major features and bugfixes (node selection):
  476. - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
  477. ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
  478. options. Previously, we had been ambiguous in describing what
  479. counted as an "exit" node, and what operations exactly "StrictNodes
  480. 0" would permit. This created confusion when people saw nodes built
  481. through unexpected circuits, and made it hard to tell real bugs from
  482. surprises. Now the intended behavior is:
  483. . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
  484. a node that delivers user traffic outside the Tor network.
  485. . "Entry", in the context of EntryNodes, means a node used as the
  486. first hop of a multihop circuit. It doesn't include direct
  487. connections to directory servers.
  488. . "ExcludeNodes" applies to all nodes.
  489. . "StrictNodes" changes the behavior of ExcludeNodes only. When
  490. StrictNodes is set, Tor should avoid all nodes listed in
  491. ExcludeNodes, even when it will make user requests fail. When
  492. StrictNodes is *not* set, then Tor should follow ExcludeNodes
  493. whenever it can, except when it must use an excluded node to
  494. perform self-tests, connect to a hidden service, provide a
  495. hidden service, fulfill a .exit request, upload directory
  496. information, or fetch directory information.
  497. Collectively, the changes to implement the behavior fix bug 1090.
  498. - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
  499. a node is listed in both, it's treated as excluded.
  500. - ExcludeNodes now applies to directory nodes -- as a preference if
  501. StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
  502. Don't exclude all the directory authorities and set StrictNodes to 1
  503. unless you really want your Tor to break.
  504. - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
  505. - ExcludeExitNodes now overrides .exit requests.
  506. - We don't use bridges listed in ExcludeNodes.
  507. - When StrictNodes is 1:
  508. . We now apply ExcludeNodes to hidden service introduction points
  509. and to rendezvous points selected by hidden service users. This
  510. can make your hidden service less reliable: use it with caution!
  511. . If we have used ExcludeNodes on ourself, do not try relay
  512. reachability self-tests.
  513. . If we have excluded all the directory authorities, we will not
  514. even try to upload our descriptor if we're a relay.
  515. . Do not honor .exit requests to an excluded node.
  516. - Remove a misfeature that caused us to ignore the Fast/Stable flags
  517. when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
  518. - When the set of permitted nodes changes, we now remove any mappings
  519. introduced via TrackExitHosts to now-excluded nodes. Bugfix on
  520. 0.1.0.1-rc.
  521. - We never cannibalize a circuit that had excluded nodes on it, even
  522. if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
  523. - Revert a change where we would be laxer about attaching streams to
  524. circuits than when building the circuits. This was meant to prevent
  525. a set of bugs where streams were never attachable, but our improved
  526. code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
  527. - Keep track of how many times we launch a new circuit to handle a
  528. given stream. Too many launches could indicate an inconsistency
  529. between our "launch a circuit to handle this stream" logic and our
  530. "attach this stream to one of the available circuits" logic.
  531. - Improve log messages related to excluded nodes.
  532. o Minor bugfixes:
  533. - Fix a spurious warning when moving from a short month to a long
  534. month on relays with month-based BandwidthAccounting. Bugfix on
  535. 0.2.2.17-alpha; fixes bug 3020.
  536. - When a client finds that an origin circuit has run out of 16-bit
  537. stream IDs, we now mark it as unusable for new streams. Previously,
  538. we would try to close the entire circuit. Bugfix on 0.0.6.
  539. - Add a forgotten cast that caused a compile warning on OS X 10.6.
  540. Bugfix on 0.2.2.24-alpha.
  541. - Be more careful about reporting the correct error from a failed
  542. connect() system call. Under some circumstances, it was possible to
  543. look at an incorrect value for errno when sending the end reason.
  544. Bugfix on 0.1.0.1-rc.
  545. - Correctly handle an "impossible" overflow cases in connection byte
  546. counting, where we write or read more than 4GB on an edge connection
  547. in a single second. Bugfix on 0.1.2.8-beta.
  548. - Correct the warning displayed when a rendezvous descriptor exceeds
  549. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  550. John Brooks.
  551. - Clients and hidden services now use HSDir-flagged relays for hidden
  552. service descriptor downloads and uploads even if the relays have no
  553. DirPort set and the client has disabled TunnelDirConns. This will
  554. eventually allow us to give the HSDir flag to relays with no
  555. DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
  556. - Downgrade "no current certificates known for authority" message from
  557. Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
  558. - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
  559. 2917. Bugfix on 0.1.1.1-alpha.
  560. - Only limit the lengths of single HS descriptors, even when multiple
  561. HS descriptors are published to an HSDir relay in a single POST
  562. operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
  563. - Write the current time into the LastWritten line in our state file,
  564. rather than the time from the previous write attempt. Also, stop
  565. trying to use a time of -1 in our log statements. Fixes bug 3039;
  566. bugfix on 0.2.2.14-alpha.
  567. - Be more consistent in our treatment of file system paths. "~" should
  568. get expanded to the user's home directory in the Log config option.
  569. Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
  570. feature for the -f and --DataDirectory options.
  571. o Minor features:
  572. - Make sure every relay writes a state file at least every 12 hours.
  573. Previously, a relay could go for weeks without writing its state
  574. file, and on a crash could lose its bandwidth history, capacity
  575. estimates, client country statistics, and so on. Addresses bug 3012.
  576. - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
  577. Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
  578. clients are already deprecated because of security bugs.
  579. - Don't allow v0 hidden service authorities to act as clients.
  580. Required by fix for bug 3000.
  581. - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
  582. by fix for bug 3000.
  583. - Ensure that no empty [dirreq-](read|write)-history lines are added
  584. to an extrainfo document. Implements ticket 2497.
  585. o Code simplification and refactoring:
  586. - Remove workaround code to handle directory responses from servers
  587. that had bug 539 (they would send HTTP status 503 responses _and_
  588. send a body too). Since only server versions before
  589. 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
  590. keep the workaround in place.
  591. - Remove the old 'fuzzy time' logic. It was supposed to be used for
  592. handling calculations where we have a known amount of clock skew and
  593. an allowed amount of unknown skew. But we only used it in three
  594. places, and we never adjusted the known/unknown skew values. This is
  595. still something we might want to do someday, but if we do, we'll
  596. want to do it differently.
  597. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  598. None of the cases where we did this before were wrong, but by making
  599. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  600. - Use GetTempDir to find the proper temporary directory location on
  601. Windows when generating temporary files for the unit tests. Patch by
  602. Gisle Vanem.
  603. Changes in version 0.2.2.24-alpha - 2011-04-08
  604. Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
  605. prevented Tor clients from effectively using "multihomed" bridges,
  606. that is, bridges that listen on multiple ports or IP addresses so users
  607. can continue to use some of their addresses even if others get blocked.
  608. o Major bugfixes:
  609. - Fix a bug where bridge users who configure the non-canonical
  610. address of a bridge automatically switch to its canonical
  611. address. If a bridge listens at more than one address, it should be
  612. able to advertise those addresses independently and any non-blocked
  613. addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
  614. bug 2510.
  615. - If you configured Tor to use bridge A, and then quit and
  616. configured Tor to use bridge B instead, it would happily continue
  617. to use bridge A if it's still reachable. While this behavior is
  618. a feature if your goal is connectivity, in some scenarios it's a
  619. dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
  620. - Directory authorities now use data collected from their own
  621. uptime observations when choosing whether to assign the HSDir flag
  622. to relays, instead of trusting the uptime value the relay reports in
  623. its descriptor. This change helps prevent an attack where a small
  624. set of nodes with frequently-changing identity keys can blackhole
  625. a hidden service. (Only authorities need upgrade; others will be
  626. fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
  627. o Minor bugfixes:
  628. - When we restart our relay, we might get a successful connection
  629. from the outside before we've started our reachability tests,
  630. triggering a warning: "ORPort found reachable, but I have no
  631. routerinfo yet. Failing to inform controller of success." This
  632. bug was harmless unless Tor is running under a controller
  633. like Vidalia, in which case the controller would never get a
  634. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  635. fixes bug 1172.
  636. - Make directory authorities more accurate at recording when
  637. relays that have failed several reachability tests became
  638. unreachable, so we can provide more accuracy at assigning Stable,
  639. Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
  640. - Fix an issue that prevented static linking of libevent on
  641. some platforms (notably Linux). Fixes bug 2698; bugfix on
  642. versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
  643. the --with-static-libevent configure option).
  644. - We now ask the other side of a stream (the client or the exit)
  645. for more data on that stream when the amount of queued data on
  646. that stream dips low enough. Previously, we wouldn't ask the
  647. other side for more data until either it sent us more data (which
  648. it wasn't supposed to do if it had exhausted its window!) or we
  649. had completely flushed all our queued data. This flow control fix
  650. should improve throughput. Fixes bug 2756; bugfix on the earliest
  651. released versions of Tor (svn commit r152).
  652. - Avoid a double-mark-for-free warning when failing to attach a
  653. transparent proxy connection. (We thought we had fixed this in
  654. 0.2.2.23-alpha, but it turns out our fix was checking the wrong
  655. connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
  656. bug) and 0.2.2.23-alpha (the incorrect fix).
  657. - When warning about missing zlib development packages during compile,
  658. give the correct package names. Bugfix on 0.2.0.1-alpha.
  659. o Minor features:
  660. - Directory authorities now log the source of a rejected POSTed v3
  661. networkstatus vote.
  662. - Make compilation with clang possible when using
  663. --enable-gcc-warnings by removing two warning optionss that clang
  664. hasn't implemented yet and by fixing a few warnings. Implements
  665. ticket 2696.
  666. - When expiring circuits, use microsecond timers rather than
  667. one-second timers. This can avoid an unpleasant situation where a
  668. circuit is launched near the end of one second and expired right
  669. near the beginning of the next, and prevent fluctuations in circuit
  670. timeout values.
  671. - Use computed circuit-build timeouts to decide when to launch
  672. parallel introduction circuits for hidden services. (Previously,
  673. we would retry after 15 seconds.)
  674. - Update to the April 1 2011 Maxmind GeoLite Country database.
  675. o Packaging fixes:
  676. - Create the /var/run/tor directory on startup on OpenSUSE if it is
  677. not already created. Patch from Andreas Stieger. Fixes bug 2573.
  678. o Documentation changes:
  679. - Modernize the doxygen configuration file slightly. Fixes bug 2707.
  680. - Resolve all doxygen warnings except those for missing documentation.
  681. Fixes bug 2705.
  682. - Add doxygen documentation for more functions, fields, and types.
  683. Changes in version 0.2.2.23-alpha - 2011-03-08
  684. Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
  685. they restart they don't lose their bandwidth capacity estimate. This
  686. release also fixes a diverse set of user-facing bugs, ranging from
  687. relays overrunning their rate limiting to clients falsely warning about
  688. clock skew to bridge descriptor leaks by our bridge directory authority.
  689. o Major bugfixes:
  690. - Stop sending a CLOCK_SKEW controller status event whenever
  691. we fetch directory information from a relay that has a wrong clock.
  692. Instead, only inform the controller when it's a trusted authority
  693. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  694. the rest of bug 1074.
  695. - Fix an assert in parsing router descriptors containing IPv6
  696. addresses. This one took down the directory authorities when
  697. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  698. - Make the bridge directory authority refuse to answer directory
  699. requests for "all" descriptors. It used to include bridge
  700. descriptors in its answer, which was a major information leak.
  701. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  702. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  703. Tor would ignore their RelayBandwidthBurst setting,
  704. potentially using more bandwidth than expected. Bugfix on
  705. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  706. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  707. hidserv" in her torrc. The 'hidserv' argument never controlled
  708. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  709. o Major features:
  710. - Relays now save observed peak bandwidth throughput rates to their
  711. state file (along with total usage, which was already saved)
  712. so that they can determine their correct estimated bandwidth on
  713. restart. Resolves bug 1863, where Tor relays would reset their
  714. estimated bandwidth to 0 after restarting.
  715. - Directory authorities now take changes in router IP address and
  716. ORPort into account when determining router stability. Previously,
  717. if a router changed its IP or ORPort, the authorities would not
  718. treat it as having any downtime for the purposes of stability
  719. calculation, whereas clients would experience downtime since the
  720. change could take a while to propagate to them. Resolves issue 1035.
  721. - Enable Address Space Layout Randomization (ASLR) and Data Execution
  722. Prevention (DEP) by default on Windows to make it harder for
  723. attackers to exploit vulnerabilities. Patch from John Brooks.
  724. o Minor bugfixes (on 0.2.1.x and earlier):
  725. - Fix a rare crash bug that could occur when a client was configured
  726. with a large number of bridges. Fixes bug 2629; bugfix on
  727. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  728. - Avoid a double mark-for-free warning when failing to attach a
  729. transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
  730. bug 2279.
  731. - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
  732. found by "cypherpunks". This bug was introduced before the first
  733. Tor release, in svn commit r110.
  734. - Country codes aren't supported in EntryNodes until 0.2.3.x, so
  735. don't mention them in the manpage. Fixes bug 2450; issue
  736. spotted by keb and G-Lo.
  737. - Fix a bug in bandwidth history state parsing that could have been
  738. triggered if a future version of Tor ever changed the timing
  739. granularity at which bandwidth history is measured. Bugfix on
  740. Tor 0.1.1.11-alpha.
  741. - When a relay decides that its DNS is too broken for it to serve
  742. as an exit server, it advertised itself as a non-exit, but
  743. continued to act as an exit. This could create accidental
  744. partitioning opportunities for users. Instead, if a relay is
  745. going to advertise reject *:* as its exit policy, it should
  746. really act with exit policy "reject *:*". Fixes bug 2366.
  747. Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
  748. - In the special case where you configure a public exit relay as your
  749. bridge, Tor would be willing to use that exit relay as the last
  750. hop in your circuit as well. Now we fail that circuit instead.
  751. Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
  752. - Fix a bug with our locking implementation on Windows that couldn't
  753. correctly detect when a file was already locked. Fixes bug 2504,
  754. bugfix on 0.2.1.6-alpha.
  755. - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
  756. Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
  757. "piebeer".
  758. - Set target port in get_interface_address6() correctly. Bugfix
  759. on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
  760. - Directory authorities are now more robust to hops back in time
  761. when calculating router stability. Previously, if a run of uptime
  762. or downtime appeared to be negative, the calculation could give
  763. incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
  764. bug 1035.
  765. - Fix an assert that got triggered when using the TestingTorNetwork
  766. configuration option and then issuing a GETINFO config-text control
  767. command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
  768. o Minor bugfixes (on 0.2.2.x):
  769. - Clients should not weight BadExit nodes as Exits in their node
  770. selection. Similarly, directory authorities should not count BadExit
  771. bandwidth as Exit bandwidth when computing bandwidth-weights.
  772. Bugfix on 0.2.2.10-alpha; fixes bug 2203.
  773. - Correctly clear our dir_read/dir_write history when there is an
  774. error parsing any bw history value from the state file. Bugfix on
  775. Tor 0.2.2.15-alpha.
  776. - Resolve a bug in verifying signatures of directory objects
  777. with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
  778. Fixes bug 2409. Found by "piebeer".
  779. - Bridge authorities no longer crash on SIGHUP when they try to
  780. publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
  781. on 0.2.2.22-alpha.
  782. o Minor features:
  783. - Log less aggressively about circuit timeout changes, and improve
  784. some other circuit timeout messages. Resolves bug 2004.
  785. - Log a little more clearly about the times at which we're no longer
  786. accepting new connections. Resolves bug 2181.
  787. - Reject attempts at the client side to open connections to private
  788. IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
  789. a randomly chosen exit node. Attempts to do so are always
  790. ill-defined, generally prevented by exit policies, and usually
  791. in error. This will also help to detect loops in transparent
  792. proxy configurations. You can disable this feature by setting
  793. "ClientRejectInternalAddresses 0" in your torrc.
  794. - Always treat failure to allocate an RSA key as an unrecoverable
  795. allocation error.
  796. - Update to the March 1 2011 Maxmind GeoLite Country database.
  797. o Minor features (log subsystem):
  798. - Add documentation for configuring logging at different severities in
  799. different log domains. We've had this feature since 0.2.1.1-alpha,
  800. but for some reason it never made it into the manpage. Fixes
  801. bug 2215.
  802. - Make it simpler to specify "All log domains except for A and B".
  803. Previously you needed to say "[*,~A,~B]". Now you can just say
  804. "[~A,~B]".
  805. - Add a "LogMessageDomains 1" option to include the domains of log
  806. messages along with the messages. Without this, there's no way
  807. to use log domains without reading the source or doing a lot
  808. of guessing.
  809. o Packaging changes:
  810. - Stop shipping the Tor specs files and development proposal documents
  811. in the tarball. They are now in a separate git repository at
  812. git://git.torproject.org/torspec.git
  813. Changes in version 0.2.2.22-alpha - 2011-01-25
  814. Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
  815. main other change is a slight tweak to Tor's TLS handshake that makes
  816. relays and bridges that run this new version reachable from Iran again.
  817. We don't expect this tweak will win the arms race long-term, but it
  818. will buy us a bit more time until we roll out a better solution.
  819. o Major bugfixes:
  820. - Fix a bounds-checking error that could allow an attacker to
  821. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  822. Found by "piebeer".
  823. - Don't assert when changing from bridge to relay or vice versa
  824. via the controller. The assert happened because we didn't properly
  825. initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
  826. bug 2433. Reported by bastik.
  827. o Minor features:
  828. - Adjust our TLS Diffie-Hellman parameters to match those used by
  829. Apache's mod_ssl.
  830. - Provide a log message stating which geoip file we're parsing
  831. instead of just stating that we're parsing the geoip file.
  832. Implements ticket 2432.
  833. o Minor bugfixes:
  834. - Check for and reject overly long directory certificates and
  835. directory tokens before they have a chance to hit any assertions.
  836. Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
  837. Changes in version 0.2.2.21-alpha - 2011-01-15
  838. Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
  839. continues our recent code security audit work. The main fix resolves
  840. a remote heap overflow vulnerability that can allow remote code
  841. execution (CVE-2011-0427). Other fixes address a variety of assert
  842. and crash bugs, most of which we think are hard to exploit remotely.
  843. o Major bugfixes (security), also included in 0.2.1.29:
  844. - Fix a heap overflow bug where an adversary could cause heap
  845. corruption. This bug probably allows remote code execution
  846. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  847. 0.1.2.10-rc.
  848. - Prevent a denial-of-service attack by disallowing any
  849. zlib-compressed data whose compression factor is implausibly
  850. high. Fixes part of bug 2324; reported by "doorss".
  851. - Zero out a few more keys in memory before freeing them. Fixes
  852. bug 2384 and part of bug 2385. These key instances found by
  853. "cypherpunks", based on Andrew Case's report about being able
  854. to find sensitive data in Tor's memory space if you have enough
  855. permissions. Bugfix on 0.0.2pre9.
  856. o Major bugfixes (crashes), also included in 0.2.1.29:
  857. - Prevent calls to Libevent from inside Libevent log handlers.
  858. This had potential to cause a nasty set of crashes, especially
  859. if running Libevent with debug logging enabled, and running
  860. Tor with a controller watching for low-severity log messages.
  861. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  862. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  863. underflow errors there too. Fixes the other part of bug 2324.
  864. - Fix a bug where we would assert if we ever had a
  865. cached-descriptors.new file (or another file read directly into
  866. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  867. on 0.2.1.25. Found by doorss.
  868. - Fix some potential asserts and parsing issues with grossly
  869. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  870. Found by doorss.
  871. o Minor bugfixes (other), also included in 0.2.1.29:
  872. - Fix a bug with handling misformed replies to reverse DNS lookup
  873. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  874. bug reported by doorss.
  875. - Fix compilation on mingw when a pthreads compatibility library
  876. has been installed. (We don't want to use it, so we shouldn't
  877. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  878. - Fix a bug where we would declare that we had run out of virtual
  879. addresses when the address space was only half-exhausted. Bugfix
  880. on 0.1.2.1-alpha.
  881. - Correctly handle the case where AutomapHostsOnResolve is set but
  882. no virtual addresses are available. Fixes bug 2328; bugfix on
  883. 0.1.2.1-alpha. Bug found by doorss.
  884. - Correctly handle wrapping around when we run out of virtual
  885. address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
  886. o Minor features, also included in 0.2.1.29:
  887. - Update to the January 1 2011 Maxmind GeoLite Country database.
  888. - Introduce output size checks on all of our decryption functions.
  889. o Build changes, also included in 0.2.1.29:
  890. - Tor does not build packages correctly with Automake 1.6 and earlier;
  891. added a check to Makefile.am to make sure that we're building with
  892. Automake 1.7 or later.
  893. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  894. because we built it with a too-old version of automake. Thus that
  895. release broke ./configure --enable-openbsd-malloc, which is popular
  896. among really fast exit relays on Linux.
  897. o Major bugfixes, new in 0.2.2.21-alpha:
  898. - Prevent crash/heap corruption when the cbtnummodes consensus
  899. parameter is set to 0 or large values. Fixes bug 2317; bugfix
  900. on 0.2.2.14-alpha.
  901. o Major features, new in 0.2.2.21-alpha:
  902. - Introduce minimum/maximum values that clients will believe
  903. from the consensus. Now we'll have a better chance to avoid crashes
  904. or worse when a consensus param has a weird value.
  905. o Minor features, new in 0.2.2.21-alpha:
  906. - Make sure to disable DirPort if running as a bridge. DirPorts aren't
  907. used on bridges, and it makes bridge scanning somewhat easier.
  908. - If writing the state file to disk fails, wait up to an hour before
  909. retrying again, rather than trying again each second. Fixes bug
  910. 2346; bugfix on Tor 0.1.1.3-alpha.
  911. - Make Libevent log messages get delivered to controllers later,
  912. and not from inside the Libevent log handler. This prevents unsafe
  913. reentrant Libevent calls while still letting the log messages
  914. get through.
  915. - Detect platforms that brokenly use a signed size_t, and refuse to
  916. build there. Found and analyzed by doorss and rransom.
  917. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
  918. Resolves bug 2314.
  919. o Minor bugfixes, new in 0.2.2.21-alpha:
  920. - Handle SOCKS messages longer than 128 bytes long correctly, rather
  921. than waiting forever for them to finish. Fixes bug 2330; bugfix
  922. on 0.2.0.16-alpha. Found by doorss.
  923. - Add assertions to check for overflow in arguments to
  924. base32_encode() and base32_decode(); fix a signed-unsigned
  925. comparison there too. These bugs are not actually reachable in Tor,
  926. but it's good to prevent future errors too. Found by doorss.
  927. - Correctly detect failures to create DNS requests when using Libevent
  928. versions before v2. (Before Libevent 2, we used our own evdns
  929. implementation. Its return values for Libevent's evdns_resolve_*()
  930. functions are not consistent with those from Libevent.) Fixes bug
  931. 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
  932. o Documentation, new in 0.2.2.21-alpha:
  933. - Document the default socks host and port (127.0.0.1:9050) for
  934. tor-resolve.
  935. Changes in version 0.2.1.29 - 2011-01-15
  936. Tor 0.2.1.29 continues our recent code security audit work. The main
  937. fix resolves a remote heap overflow vulnerability that can allow remote
  938. code execution. Other fixes address a variety of assert and crash bugs,
  939. most of which we think are hard to exploit remotely.
  940. o Major bugfixes (security):
  941. - Fix a heap overflow bug where an adversary could cause heap
  942. corruption. This bug probably allows remote code execution
  943. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  944. 0.1.2.10-rc.
  945. - Prevent a denial-of-service attack by disallowing any
  946. zlib-compressed data whose compression factor is implausibly
  947. high. Fixes part of bug 2324; reported by "doorss".
  948. - Zero out a few more keys in memory before freeing them. Fixes
  949. bug 2384 and part of bug 2385. These key instances found by
  950. "cypherpunks", based on Andrew Case's report about being able
  951. to find sensitive data in Tor's memory space if you have enough
  952. permissions. Bugfix on 0.0.2pre9.
  953. o Major bugfixes (crashes):
  954. - Prevent calls to Libevent from inside Libevent log handlers.
  955. This had potential to cause a nasty set of crashes, especially
  956. if running Libevent with debug logging enabled, and running
  957. Tor with a controller watching for low-severity log messages.
  958. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  959. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  960. underflow errors there too. Fixes the other part of bug 2324.
  961. - Fix a bug where we would assert if we ever had a
  962. cached-descriptors.new file (or another file read directly into
  963. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  964. on 0.2.1.25. Found by doorss.
  965. - Fix some potential asserts and parsing issues with grossly
  966. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  967. Found by doorss.
  968. o Minor bugfixes (other):
  969. - Fix a bug with handling misformed replies to reverse DNS lookup
  970. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  971. bug reported by doorss.
  972. - Fix compilation on mingw when a pthreads compatibility library
  973. has been installed. (We don't want to use it, so we shouldn't
  974. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  975. - Fix a bug where we would declare that we had run out of virtual
  976. addresses when the address space was only half-exhausted. Bugfix
  977. on 0.1.2.1-alpha.
  978. - Correctly handle the case where AutomapHostsOnResolve is set but
  979. no virtual addresses are available. Fixes bug 2328; bugfix on
  980. 0.1.2.1-alpha. Bug found by doorss.
  981. - Correctly handle wrapping around to when we run out of virtual
  982. address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
  983. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  984. because we built it with a too-old version of automake. Thus that
  985. release broke ./configure --enable-openbsd-malloc, which is popular
  986. among really fast exit relays on Linux.
  987. o Minor features:
  988. - Update to the January 1 2011 Maxmind GeoLite Country database.
  989. - Introduce output size checks on all of our decryption functions.
  990. o Build changes:
  991. - Tor does not build packages correctly with Automake 1.6 and earlier;
  992. added a check to Makefile.am to make sure that we're building with
  993. Automake 1.7 or later.
  994. Changes in version 0.2.2.20-alpha - 2010-12-17
  995. Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
  996. exploitable bugs. We also fix a variety of other significant bugs,
  997. change the IP address for one of our directory authorities, and update
  998. the minimum version that Tor relays must run to join the network.
  999. o Major bugfixes:
  1000. - Fix a remotely exploitable bug that could be used to crash instances
  1001. of Tor remotely by overflowing on the heap. Remote-code execution
  1002. hasn't been confirmed, but can't be ruled out. Everyone should
  1003. upgrade. Bugfix on the 0.1.1 series and later.
  1004. - Fix a bug that could break accounting on 64-bit systems with large
  1005. time_t values, making them hibernate for impossibly long intervals.
  1006. Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
  1007. - Fix a logic error in directory_fetches_from_authorities() that
  1008. would cause all _non_-exits refusing single-hop-like circuits
  1009. to fetch from authorities, when we wanted to have _exits_ fetch
  1010. from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
  1011. fix by boboper.
  1012. - Fix a stream fairness bug that would cause newer streams on a given
  1013. circuit to get preference when reading bytes from the origin or
  1014. destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
  1015. introduced before the first Tor release, in svn revision r152.
  1016. o Directory authority changes:
  1017. - Change IP address and ports for gabelmoo (v3 directory authority).
  1018. o Minor bugfixes:
  1019. - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
  1020. Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
  1021. - Fix an off-by-one error in calculating some controller command
  1022. argument lengths. Fortunately, this mistake is harmless since
  1023. the controller code does redundant NUL termination too. Found by
  1024. boboper. Bugfix on 0.1.1.1-alpha.
  1025. - Do not dereference NULL if a bridge fails to build its
  1026. extra-info descriptor. Found by an anonymous commenter on
  1027. Trac. Bugfix on 0.2.2.19-alpha.
  1028. o Minor features:
  1029. - Update to the December 1 2010 Maxmind GeoLite Country database.
  1030. - Directory authorities now reject relays running any versions of
  1031. Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
  1032. known bugs that keep RELAY_EARLY cells from working on rendezvous
  1033. circuits. Followup to fix for bug 2081.
  1034. - Directory authorities now reject relays running any version of Tor
  1035. older than 0.2.0.26-rc. That version is the earliest that fetches
  1036. current directory information correctly. Fixes bug 2156.
  1037. - Report only the top 10 ports in exit-port stats in order not to
  1038. exceed the maximum extra-info descriptor length of 50 KB. Implements
  1039. task 2196.
  1040. Changes in version 0.2.1.28 - 2010-12-17
  1041. Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
  1042. exploitable bugs. We also took this opportunity to change the IP address
  1043. for one of our directory authorities, and to update the geoip database
  1044. we ship.
  1045. o Major bugfixes:
  1046. - Fix a remotely exploitable bug that could be used to crash instances
  1047. of Tor remotely by overflowing on the heap. Remote-code execution
  1048. hasn't been confirmed, but can't be ruled out. Everyone should
  1049. upgrade. Bugfix on the 0.1.1 series and later.
  1050. o Directory authority changes:
  1051. - Change IP address and ports for gabelmoo (v3 directory authority).
  1052. o Minor features:
  1053. - Update to the December 1 2010 Maxmind GeoLite Country database.
  1054. Changes in version 0.2.1.27 - 2010-11-23
  1055. Yet another OpenSSL security patch broke its compatibility with Tor:
  1056. Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
  1057. also took this opportunity to fix several crash bugs, integrate a new
  1058. directory authority, and update the bundled GeoIP database.
  1059. o Major bugfixes:
  1060. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  1061. No longer set the tlsext_host_name extension on server SSL objects;
  1062. but continue to set it on client SSL objects. Our goal in setting
  1063. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  1064. bugfix on 0.2.1.1-alpha.
  1065. - Do not log messages to the controller while shrinking buffer
  1066. freelists. Doing so would sometimes make the controller connection
  1067. try to allocate a buffer chunk, which would mess up the internals
  1068. of the freelist and cause an assertion failure. Fixes bug 1125;
  1069. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  1070. - Learn our external IP address when we're a relay or bridge, even if
  1071. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  1072. where we introduced bridge relays that don't need to publish to
  1073. be useful. Fixes bug 2050.
  1074. - Do even more to reject (and not just ignore) annotations on
  1075. router descriptors received anywhere but from the cache. Previously
  1076. we would ignore such annotations at first, but cache them to disk
  1077. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  1078. - When you're using bridges and your network goes away and your
  1079. bridges get marked as down, recover when you attempt a new socks
  1080. connection (if the network is back), rather than waiting up to an
  1081. hour to try fetching new descriptors for your bridges. Bugfix on
  1082. 0.2.0.3-alpha; fixes bug 1981.
  1083. o Major features:
  1084. - Move to the November 2010 Maxmind GeoLite country db (rather
  1085. than the June 2009 ip-to-country GeoIP db) for our statistics that
  1086. count how many users relays are seeing from each country. Now we'll
  1087. have more accurate data, especially for many African countries.
  1088. o New directory authorities:
  1089. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  1090. authority.
  1091. o Minor bugfixes:
  1092. - Fix an assertion failure that could occur in directory caches or
  1093. bridge users when using a very short voting interval on a testing
  1094. network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
  1095. 0.2.0.8-alpha.
  1096. - Enforce multiplicity rules when parsing annotations. Bugfix on
  1097. 0.2.0.8-alpha. Found by piebeer.
  1098. - Allow handshaking OR connections to take a full KeepalivePeriod
  1099. seconds to handshake. Previously, we would close them after
  1100. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  1101. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  1102. for analysis help.
  1103. - When building with --enable-gcc-warnings on OpenBSD, disable
  1104. warnings in system headers. This makes --enable-gcc-warnings
  1105. pass on OpenBSD 4.8.
  1106. o Minor features:
  1107. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  1108. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  1109. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  1110. Servers can start sending this code when enough clients recognize
  1111. it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
  1112. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  1113. Patch from mingw-san.
  1114. o Removed files:
  1115. - Remove the old debian/ directory from the main Tor distribution.
  1116. The official Tor-for-debian git repository lives at the URL
  1117. https://git.torproject.org/debian/tor.git
  1118. - Stop shipping the old doc/website/ directory in the tarball. We
  1119. changed the website format in late 2010, and what we shipped in
  1120. 0.2.1.26 really wasn't that useful anyway.
  1121. Changes in version 0.2.2.19-alpha - 2010-11-22
  1122. Yet another OpenSSL security patch broke its compatibility with Tor:
  1123. Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
  1124. o Major bugfixes:
  1125. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  1126. No longer set the tlsext_host_name extension on server SSL objects;
  1127. but continue to set it on client SSL objects. Our goal in setting
  1128. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  1129. bugfix on 0.2.1.1-alpha.
  1130. o Minor bugfixes:
  1131. - Try harder not to exceed the maximum length of 50 KB when writing
  1132. statistics to extra-info descriptors. This bug was triggered by very
  1133. fast relays reporting exit-port, entry, and dirreq statistics.
  1134. Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
  1135. - Publish a router descriptor even if generating an extra-info
  1136. descriptor fails. Previously we would not publish a router
  1137. descriptor without an extra-info descriptor; this can cause fast
  1138. exit relays collecting exit-port statistics to drop from the
  1139. consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
  1140. Changes in version 0.2.2.18-alpha - 2010-11-16
  1141. Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
  1142. us lately, makes unpublished bridge relays able to detect their IP
  1143. address, and fixes a wide variety of other bugs to get us much closer
  1144. to a stable release.
  1145. o Major bugfixes:
  1146. - Do even more to reject (and not just ignore) annotations on
  1147. router descriptors received anywhere but from the cache. Previously
  1148. we would ignore such annotations at first, but cache them to disk
  1149. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  1150. - Do not log messages to the controller while shrinking buffer
  1151. freelists. Doing so would sometimes make the controller connection
  1152. try to allocate a buffer chunk, which would mess up the internals
  1153. of the freelist and cause an assertion failure. Fixes bug 1125;
  1154. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  1155. - Learn our external IP address when we're a relay or bridge, even if
  1156. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  1157. where we introduced bridge relays that don't need to publish to
  1158. be useful. Fixes bug 2050.
  1159. - Maintain separate TLS contexts and certificates for incoming and
  1160. outgoing connections in bridge relays. Previously we would use the
  1161. same TLS contexts and certs for incoming and outgoing connections.
  1162. Bugfix on 0.2.0.3-alpha; addresses bug 988.
  1163. - Maintain separate identity keys for incoming and outgoing TLS
  1164. contexts in bridge relays. Previously we would use the same
  1165. identity keys for incoming and outgoing TLS contexts. Bugfix on
  1166. 0.2.0.3-alpha; addresses the other half of bug 988.
  1167. - Avoid an assertion failure when we as an authority receive a
  1168. duplicate upload of a router descriptor that we already have,
  1169. but which we previously considered an obsolete descriptor.
  1170. Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
  1171. - Avoid a crash bug triggered by looking at a dangling pointer while
  1172. setting the network status consensus. Found by Robert Ransom.
  1173. Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
  1174. - Fix a logic error where servers that _didn't_ act as exits would
  1175. try to keep their server lists more aggressively up to date than
  1176. exits, when it was supposed to be the other way around. Bugfix
  1177. on 0.2.2.17-alpha.
  1178. o Minor bugfixes (on Tor 0.2.1.x and earlier):
  1179. - When we're trying to guess whether we know our IP address as
  1180. a relay, we would log various ways that we failed to guess
  1181. our address, but never log that we ended up guessing it
  1182. successfully. Now add a log line to help confused and anxious
  1183. relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
  1184. - Bring the logic that gathers routerinfos and assesses the
  1185. acceptability of circuits into line. This prevents a Tor OP from
  1186. getting locked in a cycle of choosing its local OR as an exit for a
  1187. path (due to a .exit request) and then rejecting the circuit because
  1188. its OR is not listed yet. It also prevents Tor clients from using an
  1189. OR running in the same instance as an exit (due to a .exit request)
  1190. if the OR does not meet the same requirements expected of an OR
  1191. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  1192. - Correctly describe errors that occur when generating a TLS object.
  1193. Previously we would attribute them to a failure while generating a
  1194. TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
  1195. bug 1994.
  1196. - Enforce multiplicity rules when parsing annotations. Bugfix on
  1197. 0.2.0.8-alpha. Found by piebeer.
  1198. - Fix warnings that newer versions of autoconf produced during
  1199. ./autogen.sh. These warnings appear to be harmless in our case,
  1200. but they were extremely verbose. Fixes bug 2020.
  1201. o Minor bugfixes (on Tor 0.2.2.x):
  1202. - Enable protection of small arrays whenever we build with gcc
  1203. hardening features, not only when also building with warnings
  1204. enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
  1205. o Minor features:
  1206. - Make hidden services work better in private Tor networks by not
  1207. requiring any uptime to join the hidden service descriptor
  1208. DHT. Implements ticket 2088.
  1209. - Rate-limit the "your application is giving Tor only an IP address"
  1210. warning. Addresses bug 2000; bugfix on 0.0.8pre2.
  1211. - When AllowSingleHopExits is set, print a warning to explain to the
  1212. relay operator why most clients are avoiding her relay.
  1213. - Update to the November 1 2010 Maxmind GeoLite Country database.
  1214. o Code simplifications and refactoring:
  1215. - When we fixed bug 1038 we had to put in a restriction not to send
  1216. RELAY_EARLY cells on rend circuits. This was necessary as long
  1217. as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
  1218. active. Now remove this obsolete check. Resolves bug 2081.
  1219. - Some options used different conventions for uppercasing of acronyms
  1220. when comparing manpage and source. Fix those in favor of the
  1221. manpage, as it makes sense to capitalize acronyms.
  1222. - Remove the torrc.complete file. It hasn't been kept up to date
  1223. and users will have better luck checking out the manpage.
  1224. - Remove the obsolete "NoPublish" option; it has been flagged
  1225. as obsolete and has produced a warning since 0.1.1.18-rc.
  1226. - Remove everything related to building the expert bundle for OS X.
  1227. It has confused many users, doesn't work right on OS X 10.6,
  1228. and is hard to get rid of once installed. Resolves bug 1274.
  1229. Changes in version 0.2.2.17-alpha - 2010-09-30
  1230. Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
  1231. to use one-hop circuits (which can put the exit relays at higher risk,
  1232. plus unbalance the network); fixes a big bug in bandwidth accounting
  1233. for relays that want to limit their monthly bandwidth use; fixes a
  1234. big pile of bugs in how clients tolerate temporary network failure;
  1235. and makes our adaptive circuit build timeout feature (which improves
  1236. client performance if your network is fast while not breaking things
  1237. if your network is slow) better handle bad networks.
  1238. o Major features:
  1239. - Exit relays now try harder to block exit attempts from unknown
  1240. relays, to make it harder for people to use them as one-hop proxies
  1241. a la tortunnel. Controlled by the refuseunknownexits consensus
  1242. parameter (currently enabled), or you can override it on your
  1243. relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
  1244. o Major bugfixes (0.2.1.x and earlier):
  1245. - Fix a bug in bandwidth accounting that could make us use twice
  1246. the intended bandwidth when our interval start changes due to
  1247. daylight saving time. Now we tolerate skew in stored vs computed
  1248. interval starts: if the start of the period changes by no more than
  1249. 50% of the period's duration, we remember bytes that we transferred
  1250. in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
  1251. - Always search the Windows system directory for system DLLs, and
  1252. nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
  1253. - When you're using bridges and your network goes away and your
  1254. bridges get marked as down, recover when you attempt a new socks
  1255. connection (if the network is back), rather than waiting up to an
  1256. hour to try fetching new descriptors for your bridges. Bugfix on
  1257. 0.2.0.3-alpha; fixes bug 1981.
  1258. o Major bugfixes (on 0.2.2.x):
  1259. - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
  1260. bug 1797.
  1261. - Fix a segfault that could happen when operating a bridge relay with
  1262. no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
  1263. - The consensus bandwidth-weights (used by clients to choose fast
  1264. relays) entered an unexpected edge case in September where
  1265. Exits were much scarcer than Guards, resulting in bad weight
  1266. recommendations. Now we compute them using new constraints that
  1267. should succeed in all cases. Also alter directory authorities to
  1268. not include the bandwidth-weights line if they fail to produce
  1269. valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
  1270. - When weighting bridges during path selection, we used to trust
  1271. the bandwidths they provided in their descriptor, only capping them
  1272. at 10MB/s. This turned out to be problematic for two reasons:
  1273. Bridges could claim to handle a lot more traffic then they
  1274. actually would, thus making more clients pick them and have a
  1275. pretty effective DoS attack. The other issue is that new bridges
  1276. that might not have a good estimate for their bw capacity yet
  1277. would not get used at all unless no other bridges are available
  1278. to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
  1279. o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
  1280. - Ignore cannibalized circuits when recording circuit build times.
  1281. This should provide for a minor performance improvement for hidden
  1282. service users using 0.2.2.14-alpha, and should remove two spurious
  1283. notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
  1284. - Simplify the logic that causes us to decide if the network is
  1285. unavailable for purposes of recording circuit build times. If we
  1286. receive no cells whatsoever for the entire duration of a circuit's
  1287. full measured lifetime, the network is probably down. Also ignore
  1288. one-hop directory fetching circuit timeouts when calculating our
  1289. circuit build times. These changes should hopefully reduce the
  1290. cases where we see ridiculous circuit build timeouts for people
  1291. with spotty wireless connections. Fixes part of bug 1772; bugfix
  1292. on 0.2.2.2-alpha.
  1293. - Prevent the circuit build timeout from becoming larger than
  1294. the maximum build time we have ever seen. Also, prevent the time
  1295. period for measurement circuits from becoming larger than twice that
  1296. value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
  1297. o Minor features:
  1298. - When we run out of directory information such that we can't build
  1299. circuits, but then get enough that we can build circuits, log when
  1300. we actually construct a circuit, so the user has a better chance of
  1301. knowing what's going on. Fixes bug 1362.
  1302. - Be more generous with how much bandwidth we'd use up (with
  1303. accounting enabled) before entering "soft hibernation". Previously,
  1304. we'd refuse new connections and circuits once we'd used up 95% of
  1305. our allotment. Now, we use up 95% of our allotment, AND make sure
  1306. that we have no more than 500MB (or 3 hours of expected traffic,
  1307. whichever is lower) remaining before we enter soft hibernation.
  1308. - If we've configured EntryNodes and our network goes away and/or all
  1309. our entrynodes get marked down, optimistically retry them all when
  1310. a new socks application request appears. Fixes bug 1882.
  1311. - Add some more defensive programming for architectures that can't
  1312. handle unaligned integer accesses. We don't know of any actual bugs
  1313. right now, but that's the best time to fix them. Fixes bug 1943.
  1314. - Support line continuations in the torrc config file. If a line
  1315. ends with a single backslash character, the newline is ignored, and
  1316. the configuration value is treated as continuing on the next line.
  1317. Resolves bug 1929.
  1318. o Minor bugfixes (on 0.2.1.x and earlier):
  1319. - For bandwidth accounting, calculate our expected bandwidth rate
  1320. based on the time during which we were active and not in
  1321. soft-hibernation during the last interval. Previously, we were
  1322. also considering the time spent in soft-hibernation. If this
  1323. was a long time, we would wind up underestimating our bandwidth
  1324. by a lot, and skewing our wakeup time towards the start of the
  1325. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
  1326. o Minor bugfixes (on 0.2.2.x):
  1327. - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
  1328. which were disabled by the circuit build timeout changes in
  1329. 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
  1330. - Make sure we don't warn about missing bandwidth weights when
  1331. choosing bridges or other relays not in the consensus. Bugfix on
  1332. 0.2.2.10-alpha; fixes bug 1805.
  1333. - In our logs, do not double-report signatures from unrecognized
  1334. authorities both as "from unknown authority" and "not
  1335. present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
  1336. Changes in version 0.2.2.16-alpha - 2010-09-17
  1337. Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
  1338. evident at exit relays), and also continues to resolve all the little
  1339. bugs that have been filling up trac lately.
  1340. o Major bugfixes (stream-level fairness):
  1341. - When receiving a circuit-level SENDME for a blocked circuit, try
  1342. to package cells fairly from all the streams that had previously
  1343. been blocked on that circuit. Previously, we had started with the
  1344. oldest stream, and allowed each stream to potentially exhaust
  1345. the circuit's package window. This gave older streams on any
  1346. given circuit priority over newer ones. Fixes bug 1937. Detected
  1347. originally by Camilo Viecco. This bug was introduced before the
  1348. first Tor release, in svn commit r152: it is the new winner of
  1349. the longest-lived bug prize.
  1350. - When the exit relay got a circuit-level sendme cell, it started
  1351. reading on the exit streams, even if had 500 cells queued in the
  1352. circuit queue already, so the circuit queue just grew and grew in
  1353. some cases. We fix this by not re-enabling reading on receipt of a
  1354. sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
  1355. on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
  1356. "yetonetime".
  1357. - Newly created streams were allowed to read cells onto circuits,
  1358. even if the circuit's cell queue was blocked and waiting to drain.
  1359. This created potential unfairness, as older streams would be
  1360. blocked, but newer streams would gladly fill the queue completely.
  1361. We add code to detect this situation and prevent any stream from
  1362. getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
  1363. fixes bug 1298.
  1364. o Minor features:
  1365. - Update to the September 1 2010 Maxmind GeoLite Country database.
  1366. - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
  1367. not. This would lead to a cookie that is still not group readable.
  1368. Closes bug 1843. Suggested by katmagic.
  1369. - When logging a rate-limited warning, we now mention how many messages
  1370. got suppressed since the last warning.
  1371. - Add new "perconnbwrate" and "perconnbwburst" consensus params to
  1372. do individual connection-level rate limiting of clients. The torrc
  1373. config options with the same names trump the consensus params, if
  1374. both are present. Replaces the old "bwconnrate" and "bwconnburst"
  1375. consensus params which were broken from 0.2.2.7-alpha through
  1376. 0.2.2.14-alpha. Closes bug 1947.
  1377. - When a router changes IP address or port, authorities now launch
  1378. a new reachability test for it. Implements ticket 1899.
  1379. - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
  1380. 2 no signature, 4 required" messages about consensus signatures
  1381. easier to read, and make sure they get logged at the same severity
  1382. as the messages explaining which keys are which. Fixes bug 1290.
  1383. - Don't warn when we have a consensus that we can't verify because
  1384. of missing certificates, unless those certificates are ones
  1385. that we have been trying and failing to download. Fixes bug 1145.
  1386. - If you configure your bridge with a known identity fingerprint,
  1387. and the bridge authority is unreachable (as it is in at least
  1388. one country now), fall back to directly requesting the descriptor
  1389. from the bridge. Finishes the feature started in 0.2.0.10-alpha;
  1390. closes bug 1138.
  1391. - When building with --enable-gcc-warnings on OpenBSD, disable
  1392. warnings in system headers. This makes --enable-gcc-warnings
  1393. pass on OpenBSD 4.8.
  1394. o Minor bugfixes (on 0.2.1.x and earlier):
  1395. - Authorities will now attempt to download consensuses if their
  1396. own efforts to make a live consensus have failed. This change
  1397. means authorities that restart will fetch a valid consensus, and
  1398. it means authorities that didn't agree with the current consensus
  1399. will still fetch and serve it if it has enough signatures. Bugfix
  1400. on 0.2.0.9-alpha; fixes bug 1300.
  1401. - Ensure DNS requests launched by "RESOLVE" commands from the
  1402. controller respect the __LeaveStreamsUnattached setconf options. The
  1403. same goes for requests launched via DNSPort or transparent
  1404. proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
  1405. - Allow handshaking OR connections to take a full KeepalivePeriod
  1406. seconds to handshake. Previously, we would close them after
  1407. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  1408. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  1409. for analysis help.
  1410. - Rate-limit "Failed to hand off onionskin" warnings.
  1411. - Never relay a cell for a circuit we have already destroyed.
  1412. Between marking a circuit as closeable and finally closing it,
  1413. it may have been possible for a few queued cells to get relayed,
  1414. even though they would have been immediately dropped by the next
  1415. OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
  1416. - Never queue a cell for a circuit that's already been marked
  1417. for close.
  1418. - Never vote for a server as "Running" if we have a descriptor for
  1419. it claiming to be hibernating, and that descriptor was published
  1420. more recently than our last contact with the server. Bugfix on
  1421. 0.2.0.3-alpha; fixes bug 911.
  1422. - Squash a compile warning on OpenBSD. Reported by Tas; fixes
  1423. bug 1848.
  1424. o Minor bugfixes (on 0.2.2.x):
  1425. - Fix a regression introduced in 0.2.2.7-alpha that marked relays
  1426. down if a directory fetch fails and you've configured either
  1427. bridges or EntryNodes. The intent was to mark the relay as down
  1428. _unless_ you're using bridges or EntryNodes, since if you are
  1429. then you could quickly run out of entry points.
  1430. - Fix the Windows directory-listing code. A bug introduced in
  1431. 0.2.2.14-alpha could make Windows directory servers forget to load
  1432. some of their cached v2 networkstatus files.
  1433. - Really allow clients to use relays as bridges. Fixes bug 1776;
  1434. bugfix on 0.2.2.15-alpha.
  1435. - Demote a warn to info that happens when the CellStatistics option
  1436. was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
  1437. Reported by Moritz Bartl.
  1438. - On Windows, build correctly either with or without Unicode support.
  1439. This is necessary so that Tor can support fringe platforms like
  1440. Windows 98 (which has no Unicode), or Windows CE (which has no
  1441. non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
  1442. o Testing
  1443. - Add a unit test for cross-platform directory-listing code.
  1444. Changes in version 0.2.2.15-alpha - 2010-08-18
  1445. Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
  1446. fixes a variety of other bugs that were preventing performance
  1447. experiments from moving forward, fixes several bothersome memory leaks,
  1448. and generally closes a lot of smaller bugs that have been filling up
  1449. trac lately.
  1450. o Major bugfixes:
  1451. - Stop assigning the HSDir flag to relays that disable their
  1452. DirPort (and thus will refuse to answer directory requests). This
  1453. fix should dramatically improve the reachability of hidden services:
  1454. hidden services and hidden service clients pick six HSDir relays
  1455. to store and retrieve the hidden service descriptor, and currently
  1456. about half of the HSDir relays will refuse to work. Bugfix on
  1457. 0.2.0.10-alpha; fixes part of bug 1693.
  1458. - The PerConnBWRate and Burst config options, along with the
  1459. bwconnrate and bwconnburst consensus params, initialized each conn's
  1460. token bucket values only when the connection is established. Now we
  1461. update them if the config options change, and update them every time
  1462. we get a new consensus. Otherwise we can encounter an ugly edge
  1463. case where we initialize an OR conn to client-level bandwidth,
  1464. but then later the relay joins the consensus and we leave it
  1465. throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
  1466. - Fix a regression that caused Tor to rebind its ports if it receives
  1467. SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
  1468. o Major features:
  1469. - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
  1470. should give us approximately 40-50% more Guard-flagged nodes,
  1471. improving the anonymity the Tor network can provide and also
  1472. decreasing the dropoff in throughput that relays experience when
  1473. they first get the Guard flag.
  1474. - Allow enabling or disabling the *Statistics config options while
  1475. Tor is running.
  1476. o Minor features:
  1477. - Update to the August 1 2010 Maxmind GeoLite Country database.
  1478. - Have the controller interface give a more useful message than
  1479. "Internal Error" in response to failed GETINFO requests.
  1480. - Warn when the same option is provided more than once in a torrc
  1481. file, on the command line, or in a single SETCONF statement, and
  1482. the option is one that only accepts a single line. Closes bug 1384.
  1483. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  1484. Patch from mingw-san.
  1485. - Add support for the country code "{??}" in torrc options like
  1486. ExcludeNodes, to indicate all routers of unknown country. Closes
  1487. bug 1094.
  1488. - Relays report the number of bytes spent on answering directory
  1489. requests in extra-info descriptors similar to {read,write}-history.
  1490. Implements enhancement 1790.
  1491. o Minor bugfixes (on 0.2.1.x and earlier):
  1492. - Complain if PublishServerDescriptor is given multiple arguments that
  1493. include 0 or 1. This configuration will be rejected in the future.
  1494. Bugfix on 0.2.0.1-alpha; closes bug 1107.
  1495. - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
  1496. Bugfix on 0.2.0.13-alpha; closes bug 928.
  1497. - Change "Application request when we're believed to be offline."
  1498. notice to "Application request when we haven't used client
  1499. functionality lately.", to clarify that it's not an error. Bugfix
  1500. on 0.0.9.3; fixes bug 1222.
  1501. - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
  1502. would return "551 Internal error" rather than "552 Unrecognized key
  1503. ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
  1504. - Users can't configure a regular relay to be their bridge. It didn't
  1505. work because when Tor fetched the bridge descriptor, it found
  1506. that it already had it, and didn't realize that the purpose of the
  1507. descriptor had changed. Now we replace routers with a purpose other
  1508. than bridge with bridge descriptors when fetching them. Bugfix on
  1509. 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
  1510. refetch the descriptor with router purpose 'general', disabling
  1511. it as a bridge.
  1512. - Fix a rare bug in rend_fn unit tests: we would fail a test when
  1513. a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
  1514. on 0.2.0.10-alpha; fixes bug 1808.
  1515. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  1516. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  1517. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  1518. Servers can start sending this code when enough clients recognize
  1519. it. Also update the spec to reflect this new reason. Bugfix on
  1520. 0.1.0.1-rc; fixes part of bug 1793.
  1521. - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
  1522. when we switch from being a public relay to a bridge. Otherwise
  1523. there will still be clients that see the relay in their consensus,
  1524. and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
  1525. 932 even more.
  1526. - Instead of giving an assertion failure on an internal mismatch
  1527. on estimated freelist size, just log a BUG warning and try later.
  1528. Mitigates but does not fix bug 1125.
  1529. - Fix an assertion failure that could occur in caches or bridge users
  1530. when using a very short voting interval on a testing network.
  1531. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
  1532. o Minor bugfixes (on 0.2.2.x):
  1533. - Alter directory authorities to always consider Exit-flagged nodes
  1534. as potential Guard nodes in their votes. The actual decision to
  1535. use Exits as Guards is done in the consensus bandwidth weights.
  1536. Fixes bug 1294; bugfix on 0.2.2.10-alpha.
  1537. - When the controller is reporting the purpose of circuits that
  1538. didn't finish building before the circuit build timeout, it was
  1539. printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
  1540. - Our libevent version parsing code couldn't handle versions like
  1541. 1.4.14b-stable and incorrectly warned the user about using an
  1542. old and broken version of libevent. Treat 1.4.14b-stable like
  1543. 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
  1544. on 0.2.2.1-alpha.
  1545. - Don't use substitution references like $(VAR:MOD) when
  1546. $(asciidoc_files) is empty -- make(1) on NetBSD transforms
  1547. '$(:x)' to 'x' rather than the empty string. This bites us in
  1548. doc/ when configured with --disable-asciidoc. Bugfix on
  1549. 0.2.2.9-alpha; fixes bug 1773.
  1550. - Remove a spurious hidden service server-side log notice about
  1551. "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
  1552. bug 1741.
  1553. - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
  1554. fixes bug 1832.
  1555. - Correctly report written bytes on linked connections. Found while
  1556. implementing 1790. Bugfix on 0.2.2.4-alpha.
  1557. - Fix three memory leaks: one in circuit_build_times_parse_state(),
  1558. one in dirvote_add_signatures_to_pending_consensus(), and one every
  1559. time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
  1560. 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
  1561. o Code simplifications and refactoring:
  1562. - Take a first step towards making or.h smaller by splitting out
  1563. function definitions for all source files in src/or/. Leave
  1564. structures and defines in or.h for now.
  1565. - Remove a bunch of unused function declarations as well as a block of
  1566. #if 0'd code from the unit tests. Closes bug 1824.
  1567. - New unit tests for exit-port history statistics; refactored exit
  1568. statistics code to be more easily tested.
  1569. - Remove the old debian/ directory from the main Tor distribution.
  1570. The official Tor-for-debian git repository lives at the URL
  1571. https://git.torproject.org/debian/tor.git
  1572. Changes in version 0.2.2.14-alpha - 2010-07-12
  1573. Tor 0.2.2.14-alpha greatly improves client-side handling of
  1574. circuit build timeouts, which are used to estimate speed and improve
  1575. performance. We also move to a much better GeoIP database, port Tor to
  1576. Windows CE, introduce new compile flags that improve code security,
  1577. add an eighth v3 directory authority, and address a lot of more
  1578. minor issues.
  1579. o Major bugfixes:
  1580. - Tor directory authorities no longer crash when started with a
  1581. cached-microdesc-consensus file in their data directory. Bugfix
  1582. on 0.2.2.6-alpha; fixes bug 1532.
  1583. - Treat an unset $HOME like an empty $HOME rather than triggering an
  1584. assert. Bugfix on 0.0.8pre1; fixes bug 1522.
  1585. - Ignore negative and large circuit build timeout values that can
  1586. happen during a suspend or hibernate. These values caused various
  1587. asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
  1588. - Alter calculation of Pareto distribution parameter 'Xm' for
  1589. Circuit Build Timeout learning to use the weighted average of the
  1590. top N=3 modes (because we have three entry guards). Considering
  1591. multiple modes should improve the timeout calculation in some cases,
  1592. and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
  1593. fixes bug 1335.
  1594. - Alter calculation of Pareto distribution parameter 'Alpha' to use a
  1595. right censored distribution model. This approach improves over the
  1596. synthetic timeout generation approach that was producing insanely
  1597. high timeout values. Now we calculate build timeouts using truncated
  1598. times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
  1599. - Do not close circuits that are under construction when they reach
  1600. the circuit build timeout. Instead, leave them building (but do not
  1601. use them) for up until the time corresponding to the 95th percentile
  1602. on the Pareto CDF or 60 seconds, whichever is greater. This is done
  1603. to provide better data for the new Pareto model. This percentile
  1604. can be controlled by the consensus.
  1605. o Major features:
  1606. - Move to the June 2010 Maxmind GeoLite country db (rather than the
  1607. June 2009 ip-to-country GeoIP db) for our statistics that count
  1608. how many users relays are seeing from each country. Now we have
  1609. more accurate data for many African countries.
  1610. - Port Tor to build and run correctly on Windows CE systems, using
  1611. the wcecompat library. Contributed by Valerio Lupi.
  1612. - New "--enable-gcc-hardening" ./configure flag (off by default)
  1613. to turn on gcc compile time hardening options. It ensures
  1614. that signed ints have defined behavior (-fwrapv), enables
  1615. -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
  1616. with canaries (-fstack-protector-all), turns on ASLR protection if
  1617. supported by the kernel (-fPIE, -pie), and adds additional security
  1618. related warnings. Verified to work on Mac OS X and Debian Lenny.
  1619. - New "--enable-linker-hardening" ./configure flag (off by default)
  1620. to turn on ELF specific hardening features (relro, now). This does
  1621. not work with Mac OS X or any other non-ELF binary format.
  1622. o New directory authorities:
  1623. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  1624. authority.
  1625. o Minor features:
  1626. - New config option "WarnUnsafeSocks 0" disables the warning that
  1627. occurs whenever Tor receives only an IP address instead of a
  1628. hostname. Setups that do DNS locally over Tor are fine, and we
  1629. shouldn't spam the logs in that case.
  1630. - Convert the HACKING file to asciidoc, and add a few new sections
  1631. to it, explaining how we use Git, how we make changelogs, and
  1632. what should go in a patch.
  1633. - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
  1634. event, to give information on the current rate of circuit timeouts
  1635. over our stored history.
  1636. - Add ability to disable circuit build time learning via consensus
  1637. parameter and via a LearnCircuitBuildTimeout config option. Also
  1638. automatically disable circuit build time calculation if we are
  1639. either a AuthoritativeDirectory, or if we fail to write our state
  1640. file. Fixes bug 1296.
  1641. - More gracefully handle corrupt state files, removing asserts
  1642. in favor of saving a backup and resetting state.
  1643. - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
  1644. system headers.
  1645. o Minor bugfixes:
  1646. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  1647. enabled.
  1648. - When a2x fails, mention that the user could disable manpages instead
  1649. of trying to fix their asciidoc installation.
  1650. - Where available, use Libevent 2.0's periodic timers so that our
  1651. once-per-second cleanup code gets called even more closely to
  1652. once per second than it would otherwise. Fixes bug 943.
  1653. - If you run a bridge that listens on multiple IP addresses, and
  1654. some user configures a bridge address that uses a different IP
  1655. address than your bridge writes in its router descriptor, and the
  1656. user doesn't specify an identity key, their Tor would discard the
  1657. descriptor because "it isn't one of our configured bridges", and
  1658. fail to bootstrap. Now believe the descriptor and bootstrap anyway.
  1659. Bugfix on 0.2.0.3-alpha.
  1660. - If OpenSSL fails to make a duplicate of a private or public key, log
  1661. an error message and try to exit cleanly. May help with debugging
  1662. if bug 1209 ever remanifests.
  1663. - Save a couple bytes in memory allocation every time we escape
  1664. certain characters in a string. Patch from Florian Zumbiehl.
  1665. - Make it explicit that we don't cannibalize one-hop circuits. This
  1666. happens in the wild, but doesn't turn out to be a problem because
  1667. we fortunately don't use those circuits. Many thanks to outofwords
  1668. for the initial analysis and to swissknife who confirmed that
  1669. two-hop circuits are actually created.
  1670. - Make directory mirrors report non-zero dirreq-v[23]-shares again.
  1671. Fixes bug 1564; bugfix on 0.2.2.9-alpha.
  1672. - Eliminate a case where a circuit build time warning was displayed
  1673. after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
  1674. Changes in version 0.2.1.26 - 2010-05-02
  1675. Tor 0.2.1.26 addresses the recent connection and memory overload
  1676. problems we've been seeing on relays, especially relays with their
  1677. DirPort open. If your relay has been crashing, or you turned it off
  1678. because it used too many resources, give this release a try.
  1679. This release also fixes yet another instance of broken OpenSSL libraries
  1680. that was causing some relays to drop out of the consensus.
  1681. o Major bugfixes:
  1682. - Teach relays to defend themselves from connection overload. Relays
  1683. now close idle circuits early if it looks like they were intended
  1684. for directory fetches. Relays are also more aggressive about closing
  1685. TLS connections that have no circuits on them. Such circuits are
  1686. unlikely to be re-used, and tens of thousands of them were piling
  1687. up at the fast relays, causing the relays to run out of sockets
  1688. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  1689. their directory fetches over TLS).
  1690. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  1691. that claim to be earlier than 0.9.8m, but which have in reality
  1692. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  1693. behavior. Possible fix for some cases of bug 1346.
  1694. - Directory mirrors were fetching relay descriptors only from v2
  1695. directory authorities, rather than v3 authorities like they should.
  1696. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  1697. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  1698. o Minor bugfixes:
  1699. - Finally get rid of the deprecated and now harmful notion of "clique
  1700. mode", where directory authorities maintain TLS connections to
  1701. every other relay.
  1702. o Testsuite fixes:
  1703. - In the util/threads test, no longer free the test_mutex before all
  1704. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  1705. - The master thread could starve the worker threads quite badly on
  1706. certain systems, causing them to run only partially in the allowed
  1707. window. This resulted in test failures. Now the master thread sleeps
  1708. occasionally for a few microseconds while the two worker-threads
  1709. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  1710. Changes in version 0.2.2.13-alpha - 2010-04-24
  1711. Tor 0.2.2.13-alpha addresses the recent connection and memory overload
  1712. problems we've been seeing on relays, especially relays with their
  1713. DirPort open. If your relay has been crashing, or you turned it off
  1714. because it used too many resources, give this release a try.
  1715. o Major bugfixes:
  1716. - Teach relays to defend themselves from connection overload. Relays
  1717. now close idle circuits early if it looks like they were intended
  1718. for directory fetches. Relays are also more aggressive about closing
  1719. TLS connections that have no circuits on them. Such circuits are
  1720. unlikely to be re-used, and tens of thousands of them were piling
  1721. up at the fast relays, causing the relays to run out of sockets
  1722. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  1723. their directory fetches over TLS).
  1724. o Minor features:
  1725. - Finally get rid of the deprecated and now harmful notion of "clique
  1726. mode", where directory authorities maintain TLS connections to
  1727. every other relay.
  1728. - Directory authorities now do an immediate reachability check as soon
  1729. as they hear about a new relay. This change should slightly reduce
  1730. the time between setting up a relay and getting listed as running
  1731. in the consensus. It should also improve the time between setting
  1732. up a bridge and seeing use by bridge users.
  1733. - Directory authorities no longer launch a TLS connection to every
  1734. relay as they startup. Now that we have 2k+ descriptors cached,
  1735. the resulting network hiccup is becoming a burden. Besides,
  1736. authorities already avoid voting about Running for the first half
  1737. hour of their uptime.
  1738. Changes in version 0.2.2.12-alpha - 2010-04-20
  1739. Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
  1740. handle and vote on descriptors. It was causing relays to drop out of
  1741. the consensus.
  1742. o Major bugfixes:
  1743. - Many relays have been falling out of the consensus lately because
  1744. not enough authorities know about their descriptor for them to get
  1745. a majority of votes. When we deprecated the v2 directory protocol,
  1746. we got rid of the only way that v3 authorities can hear from each
  1747. other about other descriptors. Now authorities examine every v3
  1748. vote for new descriptors, and fetch them from that authority. Bugfix
  1749. on 0.2.1.23.
  1750. - Fix two typos in tor_vasprintf() that broke the compile on Windows,
  1751. and a warning in or.h related to bandwidth_weight_rule_t that
  1752. prevented clean compile on OS X. Fixes bug 1363; bugfix on
  1753. 0.2.2.11-alpha.
  1754. - Fix a segfault on relays when DirReqStatistics is enabled
  1755. and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
  1756. 0.2.2.11-alpha.
  1757. o Minor bugfixes:
  1758. - Demote a confusing TLS warning that relay operators might get when
  1759. someone tries to talk to their OrPort. It is neither the operator's
  1760. fault nor can they do anything about it. Fixes bug 1364; bugfix
  1761. on 0.2.0.14-alpha.
  1762. Changes in version 0.2.2.11-alpha - 2010-04-15
  1763. Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
  1764. libraries that was causing some relays to drop out of the consensus.
  1765. o Major bugfixes:
  1766. - Directory mirrors were fetching relay descriptors only from v2
  1767. directory authorities, rather than v3 authorities like they should.
  1768. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  1769. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  1770. - Fix a parsing error that made every possible value of
  1771. CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
  1772. on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
  1773. CircuitPriorityHalflifeMsec, so authorities can tell newer relays
  1774. about the option without breaking older ones.
  1775. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  1776. that claim to be earlier than 0.9.8m, but which have in reality
  1777. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  1778. behavior. Possible fix for some cases of bug 1346.
  1779. o Minor features:
  1780. - Experiment with a more aggressive approach to preventing clients
  1781. from making one-hop exit streams. Exit relays who want to try it
  1782. out can set "RefuseUnknownExits 1" in their torrc, and then look
  1783. for "Attempt by %s to open a stream" log messages. Let us know
  1784. how it goes!
  1785. - Add support for statically linking zlib by specifying
  1786. --enable-static-zlib, to go with our support for statically linking
  1787. openssl and libevent. Resolves bug 1358.
  1788. o Minor bugfixes:
  1789. - Fix a segfault that happens whenever a Tor client that is using
  1790. libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
  1791. fixes bug 1341.
  1792. - When we cleaned up the contrib/tor-exit-notice.html file, we left
  1793. out the first line. Fixes bug 1295.
  1794. - When building the manpage from a tarball, we required asciidoc, but
  1795. the asciidoc -> roff/html conversion was already done for the
  1796. tarball. Make 'make' complain only when we need asciidoc (either
  1797. because we're compiling directly from git, or because we altered
  1798. the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
  1799. - When none of the directory authorities vote on any params, Tor
  1800. segfaulted when trying to make the consensus from the votes. We
  1801. didn't trigger the bug in practice, because authorities do include
  1802. params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
  1803. o Testsuite fixes:
  1804. - In the util/threads test, no longer free the test_mutex before all
  1805. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  1806. - The master thread could starve the worker threads quite badly on
  1807. certain systems, causing them to run only partially in the allowed
  1808. window. This resulted in test failures. Now the master thread sleeps
  1809. occasionally for a few microseconds while the two worker-threads
  1810. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  1811. Changes in version 0.2.2.10-alpha - 2010-03-07
  1812. Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
  1813. could prevent relays from guessing their IP address correctly. It also
  1814. starts the groundwork for another client-side performance boost, since
  1815. currently we're not making efficient use of relays that have both the
  1816. Guard flag and the Exit flag.
  1817. o Major bugfixes:
  1818. - Fix a regression from our patch for bug 1244 that caused relays
  1819. to guess their IP address incorrectly if they didn't set Address
  1820. in their torrc and/or their address fails to resolve. Bugfix on
  1821. 0.2.2.9-alpha; fixes bug 1269.
  1822. o Major features (performance):
  1823. - Directory authorities now compute consensus weightings that instruct
  1824. clients how to weight relays flagged as Guard, Exit, Guard+Exit,
  1825. and no flag. Clients that use these weightings will distribute
  1826. network load more evenly across these different relay types. The
  1827. weightings are in the consensus so we can change them globally in
  1828. the future. Extra thanks to "outofwords" for finding some nasty
  1829. security bugs in the first implementation of this feature.
  1830. o Minor features (performance):
  1831. - Always perform router selections using weighted relay bandwidth,
  1832. even if we don't need a high capacity circuit at the time. Non-fast
  1833. circuits now only differ from fast ones in that they can use relays
  1834. not marked with the Fast flag. This "feature" could turn out to
  1835. be a horrible bug; we should investigate more before it goes into
  1836. a stable release.
  1837. o Minor features:
  1838. - Allow disabling building of the manpages. Skipping the manpage
  1839. speeds up the build considerably.
  1840. o Minor bugfixes (on 0.2.2.x):
  1841. - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
  1842. Bugfix on 0.2.2.9-alpha.
  1843. - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
  1844. config option. Bugfix on 0.2.2.7-alpha.
  1845. - Ship the asciidoc-helper file in the tarball, so that people can
  1846. build from source if they want to, and touching the .1.txt files
  1847. doesn't break the build. Bugfix on 0.2.2.9-alpha.
  1848. o Minor bugfixes (on 0.2.1.x or earlier):
  1849. - Fix a dereference-then-NULL-check sequence when publishing
  1850. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  1851. bug 1255.
  1852. - Fix another dereference-then-NULL-check sequence. Bugfix on
  1853. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  1854. - Make sure we treat potentially not NUL-terminated strings correctly.
  1855. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  1856. o Code simplifications and refactoring:
  1857. - Fix some urls in the exit notice file and make it XHTML1.1 strict
  1858. compliant. Based on a patch from Christian Kujau.
  1859. - Don't use sed in asciidoc-helper anymore.
  1860. - Make the build process fail if asciidoc cannot be found and
  1861. building with asciidoc isn't disabled.
  1862. Changes in version 0.2.2.9-alpha - 2010-02-22
  1863. Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
  1864. location of a directory authority, and cleans up a bunch of small bugs.
  1865. o Directory authority changes:
  1866. - Change IP address for dannenberg (v3 directory authority), and
  1867. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  1868. service directory authority) from the list.
  1869. o Major bugfixes:
  1870. - Make Tor work again on the latest OS X: when deciding whether to
  1871. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  1872. version at run-time, not compile time. We need to do this because
  1873. Apple doesn't update its dev-tools headers when it updates its
  1874. libraries in a security patch.
  1875. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  1876. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  1877. a memory leak when requesting a hidden service descriptor we've
  1878. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  1879. by aakova.
  1880. - Authorities could be tricked into giving out the Exit flag to relays
  1881. that didn't allow exiting to any ports. This bug could screw
  1882. with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
  1883. 1238. Bug discovered by Martin Kowalczyk.
  1884. - When freeing a session key, zero it out completely. We only zeroed
  1885. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  1886. patched by ekir. Fixes bug 1254.
  1887. o Minor bugfixes:
  1888. - Fix static compilation by listing the openssl libraries in the right
  1889. order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
  1890. - Resume handling .exit hostnames in a special way: originally we
  1891. stripped the .exit part and used the requested exit relay. In
  1892. 0.2.2.1-alpha we stopped treating them in any special way, meaning
  1893. if you use a .exit address then Tor will pass it on to the exit
  1894. relay. Now we reject the .exit stream outright, since that behavior
  1895. might be more expected by the user. Found and diagnosed by Scott
  1896. Bennett and Downie on or-talk.
  1897. - Don't spam the controller with events when we have no file
  1898. descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
  1899. for log messages was already solved from bug 748.)
  1900. - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
  1901. "memcpyfail".
  1902. - Make the DNSPort option work with libevent 2.x. Don't alter the
  1903. behaviour for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
  1904. - Emit a GUARD DROPPED controller event for a case we missed.
  1905. - Make more fields in the controller protocol case-insensitive, since
  1906. control-spec.txt said they were.
  1907. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  1908. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  1909. - Fix a spec conformance issue: the network-status-version token
  1910. must be the first token in a v3 consensus or vote. Discovered by
  1911. parakeep. Bugfix on 0.2.0.3-alpha.
  1912. o Code simplifications and refactoring:
  1913. - Generate our manpage and HTML documentation using Asciidoc. This
  1914. change should make it easier to maintain the documentation, and
  1915. produce nicer HTML.
  1916. - Remove the --enable-iphone option. According to reports from Marco
  1917. Bonetti, Tor builds fine without any special tweaking on recent
  1918. iPhone SDK versions.
  1919. - Removed some unnecessary files from the source distribution. The
  1920. AUTHORS file has now been merged into the people page on the
  1921. website. The roadmaps and design doc can now be found in the
  1922. projects directory in svn.
  1923. - Enabled various circuit build timeout constants to be controlled
  1924. by consensus parameters. Also set better defaults for these
  1925. parameters based on experimentation on broadband and simulated
  1926. high latency links.
  1927. o Minor features:
  1928. - The 'EXTENDCIRCUIT' control port command can now be used with
  1929. a circ id of 0 and no path. This feature will cause Tor to build
  1930. a new 'fast' general purpose circuit using its own path selection
  1931. algorithms.
  1932. - Added a BUILDTIMEOUT_SET controller event to describe changes
  1933. to the circuit build timeout.
  1934. - Future-proof the controller protocol a bit by ignoring keyword
  1935. arguments we do not recognize.
  1936. - Expand homedirs passed to tor-checkkey. This should silence a
  1937. coverity complaint about passing a user-supplied string into
  1938. open() without checking it.
  1939. Changes in version 0.2.1.25 - 2010-03-16
  1940. Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
  1941. prevent relays from guessing their IP address correctly. It also fixes
  1942. several minor potential security bugs.
  1943. o Major bugfixes:
  1944. - Fix a regression from our patch for bug 1244 that caused relays
  1945. to guess their IP address incorrectly if they didn't set Address
  1946. in their torrc and/or their address fails to resolve. Bugfix on
  1947. 0.2.1.23; fixes bug 1269.
  1948. - When freeing a session key, zero it out completely. We only zeroed
  1949. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  1950. patched by ekir. Fixes bug 1254.
  1951. o Minor bugfixes:
  1952. - Fix a dereference-then-NULL-check sequence when publishing
  1953. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  1954. bug 1255.
  1955. - Fix another dereference-then-NULL-check sequence. Bugfix on
  1956. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  1957. - Make sure we treat potentially not NUL-terminated strings correctly.
  1958. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  1959. Changes in version 0.2.1.24 - 2010-02-21
  1960. Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  1961. for sure!
  1962. o Minor bugfixes:
  1963. - Work correctly out-of-the-box with even more vendor-patched versions
  1964. of OpenSSL. In particular, make it so Debian and OS X don't need
  1965. customized patches to run/build.
  1966. Changes in version 0.2.1.23 - 2010-02-13
  1967. Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  1968. again on the latest OS X, and updates the location of a directory
  1969. authority.
  1970. o Major bugfixes (performance):
  1971. - We were selecting our guards uniformly at random, and then weighting
  1972. which of our guards we'd use uniformly at random. This imbalance
  1973. meant that Tor clients were severely limited on throughput (and
  1974. probably latency too) by the first hop in their circuit. Now we
  1975. select guards weighted by currently advertised bandwidth. We also
  1976. automatically discard guards picked using the old algorithm. Fixes
  1977. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  1978. o Major bugfixes:
  1979. - Make Tor work again on the latest OS X: when deciding whether to
  1980. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  1981. version at run-time, not compile time. We need to do this because
  1982. Apple doesn't update its dev-tools headers when it updates its
  1983. libraries in a security patch.
  1984. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  1985. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  1986. a memory leak when requesting a hidden service descriptor we've
  1987. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  1988. by aakova.
  1989. o Directory authority changes:
  1990. - Change IP address for dannenberg (v3 directory authority), and
  1991. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  1992. service directory authority) from the list.
  1993. o Minor bugfixes:
  1994. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  1995. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  1996. o Minor features:
  1997. - Avoid a mad rush at the beginning of each month when each client
  1998. rotates half of its guards. Instead we spread the rotation out
  1999. throughout the month, but we still avoid leaving a precise timestamp
  2000. in the state file about when we first picked the guard. Improves
  2001. over the behavior introduced in 0.1.2.17.
  2002. Changes in version 0.2.2.8-alpha - 2010-01-26
  2003. Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
  2004. causing bridge relays to disappear. If you're running a bridge,
  2005. please upgrade.
  2006. o Major bugfixes:
  2007. - Fix a memory corruption bug on bridges that occured during the
  2008. inclusion of stats data in extra-info descriptors. Also fix the
  2009. interface for geoip_get_bridge_stats* to prevent similar bugs in
  2010. the future. Diagnosis by Tas, patch by Karsten and Sebastian.
  2011. Fixes bug 1208; bugfix on 0.2.2.7-alpha.
  2012. o Minor bugfixes:
  2013. - Ignore OutboundBindAddress when connecting to localhost.
  2014. Connections to localhost need to come _from_ localhost, or else
  2015. local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
  2016. refuse to listen.
  2017. Changes in version 0.2.2.7-alpha - 2010-01-19
  2018. Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
  2019. as laying the groundwork for further relay-side performance fixes. It
  2020. also starts cleaning up client behavior with respect to the EntryNodes,
  2021. ExitNodes, and StrictNodes config options.
  2022. This release also rotates two directory authority keys, due to a
  2023. security breach of some of the Torproject servers.
  2024. o Directory authority changes:
  2025. - Rotate keys (both v3 identity and relay identity) for moria1
  2026. and gabelmoo.
  2027. o Major features (performance):
  2028. - We were selecting our guards uniformly at random, and then weighting
  2029. which of our guards we'd use uniformly at random. This imbalance
  2030. meant that Tor clients were severely limited on throughput (and
  2031. probably latency too) by the first hop in their circuit. Now we
  2032. select guards weighted by currently advertised bandwidth. We also
  2033. automatically discard guards picked using the old algorithm. Fixes
  2034. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  2035. - When choosing which cells to relay first, relays can now favor
  2036. circuits that have been quiet recently, to provide lower latency
  2037. for low-volume circuits. By default, relays enable or disable this
  2038. feature based on a setting in the consensus. You can override
  2039. this default by using the new "CircuitPriorityHalflife" config
  2040. option. Design and code by Ian Goldberg, Can Tang, and Chris
  2041. Alexander.
  2042. - Add separate per-conn write limiting to go with the per-conn read
  2043. limiting. We added a global write limit in Tor 0.1.2.5-alpha,
  2044. but never per-conn write limits.
  2045. - New consensus params "bwconnrate" and "bwconnburst" to let us
  2046. rate-limit client connections as they enter the network. It's
  2047. controlled in the consensus so we can turn it on and off for
  2048. experiments. It's starting out off. Based on proposal 163.
  2049. o Major features (relay selection options):
  2050. - Switch to a StrictNodes config option, rather than the previous
  2051. "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
  2052. "StrictExcludeNodes" option.
  2053. - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
  2054. change during a config reload, mark and discard all our origin
  2055. circuits. This fix should address edge cases where we change the
  2056. config options and but then choose a circuit that we created before
  2057. the change.
  2058. - If EntryNodes or ExitNodes are set, be more willing to use an
  2059. unsuitable (e.g. slow or unstable) circuit. The user asked for it,
  2060. they get it.
  2061. - Make EntryNodes config option much more aggressive even when
  2062. StrictNodes is not set. Before it would prepend your requested
  2063. entrynodes to your list of guard nodes, but feel free to use others
  2064. after that. Now it chooses only from your EntryNodes if any of
  2065. those are available, and only falls back to others if a) they're
  2066. all down and b) StrictNodes is not set.
  2067. - Now we refresh your entry guards from EntryNodes at each consensus
  2068. fetch -- rather than just at startup and then they slowly rot as
  2069. the network changes.
  2070. o Major bugfixes:
  2071. - Stop bridge directory authorities from answering dbg-stability.txt
  2072. directory queries, which would let people fetch a list of all
  2073. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  2074. o Minor features:
  2075. - Log a notice when we get a new control connection. Now it's easier
  2076. for security-conscious users to recognize when a local application
  2077. is knocking on their controller door. Suggested by bug 1196.
  2078. - New config option "CircuitStreamTimeout" to override our internal
  2079. timeout schedule for how many seconds until we detach a stream from
  2080. a circuit and try a new circuit. If your network is particularly
  2081. slow, you might want to set this to a number like 60.
  2082. - New controller command "getinfo config-text". It returns the
  2083. contents that Tor would write if you send it a SAVECONF command,
  2084. so the controller can write the file to disk itself.
  2085. - New options for SafeLogging to allow scrubbing only log messages
  2086. generated while acting as a relay.
  2087. - Ship the bridges spec file in the tarball too.
  2088. - Avoid a mad rush at the beginning of each month when each client
  2089. rotates half of its guards. Instead we spread the rotation out
  2090. throughout the month, but we still avoid leaving a precise timestamp
  2091. in the state file about when we first picked the guard. Improves
  2092. over the behavior introduced in 0.1.2.17.
  2093. o Minor bugfixes (compiling):
  2094. - Fix compilation on OS X 10.3, which has a stub mlockall() but
  2095. hides it. Bugfix on 0.2.2.6-alpha.
  2096. - Fix compilation on Solaris by removing support for the
  2097. DisableAllSwap config option. Solaris doesn't have an rlimit for
  2098. mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
  2099. 0.2.2.6-alpha.
  2100. o Minor bugfixes (crashes):
  2101. - Do not segfault when writing buffer stats when we haven't observed
  2102. a single circuit to report about. Found by Fabian Lanze. Bugfix on
  2103. 0.2.2.1-alpha.
  2104. - If we're in the pathological case where there's no exit bandwidth
  2105. but there is non-exit bandwidth, or no guard bandwidth but there
  2106. is non-guard bandwidth, don't crash during path selection. Bugfix
  2107. on 0.2.0.3-alpha.
  2108. - Fix an impossible-to-actually-trigger buffer overflow in relay
  2109. descriptor generation. Bugfix on 0.1.0.15.
  2110. o Minor bugfixes (privacy):
  2111. - Fix an instance where a Tor directory mirror might accidentally
  2112. log the IP address of a misbehaving Tor client. Bugfix on
  2113. 0.1.0.1-rc.
  2114. - Don't list Windows capabilities in relay descriptors. We never made
  2115. use of them, and maybe it's a bad idea to publish them. Bugfix
  2116. on 0.1.1.8-alpha.
  2117. o Minor bugfixes (other):
  2118. - Resolve an edge case in path weighting that could make us misweight
  2119. our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
  2120. - Fix statistics on client numbers by country as seen by bridges that
  2121. were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
  2122. intervals instead of variable 12-to-48-hour intervals.
  2123. - After we free an internal connection structure, overwrite it
  2124. with a different memory value than we use for overwriting a freed
  2125. internal circuit structure. Should help with debugging. Suggested
  2126. by bug 1055.
  2127. - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
  2128. too.
  2129. o Removed features:
  2130. - Remove the HSAuthorityRecordStats option that version 0 hidden
  2131. service authorities could have used to track statistics of overall
  2132. hidden service usage.
  2133. Changes in version 0.2.1.22 - 2010-01-19
  2134. Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
  2135. authorities -- it would tell you its whole history of bridge descriptors
  2136. if you make the right directory request. This stable update also
  2137. rotates two of the seven v3 directory authority keys and locations.
  2138. o Directory authority changes:
  2139. - Rotate keys (both v3 identity and relay identity) for moria1
  2140. and gabelmoo.
  2141. o Major bugfixes:
  2142. - Stop bridge directory authorities from answering dbg-stability.txt
  2143. directory queries, which would let people fetch a list of all
  2144. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  2145. Changes in version 0.2.1.21 - 2009-12-21
  2146. Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
  2147. library. If you use Tor on Linux / Unix and you're getting SSL
  2148. renegotiation errors, upgrading should help. We also recommend an
  2149. upgrade if you're an exit relay.
  2150. o Major bugfixes:
  2151. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  2152. handshake from working unless we explicitly tell OpenSSL that we
  2153. are using SSL renegotiation safely. We are, of course, but OpenSSL
  2154. 0.9.8l won't work unless we say we are.
  2155. - Avoid crashing if the client is trying to upload many bytes and the
  2156. circuit gets torn down at the same time, or if the flip side
  2157. happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
  2158. o Minor bugfixes:
  2159. - Do not refuse to learn about authority certs and v2 networkstatus
  2160. documents that are older than the latest consensus. This bug might
  2161. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  2162. Spotted and fixed by xmux.
  2163. - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
  2164. trigger platform-specific option misparsing case found by Coverity
  2165. Scan.
  2166. - Fix a compilation warning on Fedora 12 by removing an impossible-to-
  2167. trigger assert. Fixes bug 1173.
  2168. Changes in version 0.2.2.6-alpha - 2009-11-19
  2169. Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
  2170. support for the new lower-footprint "microdescriptor" directory design,
  2171. future-proofing our consensus format against new hash functions or
  2172. other changes, and an Android port. It also makes Tor compatible with
  2173. the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
  2174. o Major features:
  2175. - Directory authorities can now create, vote on, and serve multiple
  2176. parallel formats of directory data as part of their voting process.
  2177. Partially implements Proposal 162: "Publish the consensus in
  2178. multiple flavors".
  2179. - Directory authorities can now agree on and publish small summaries
  2180. of router information that clients can use in place of regular
  2181. server descriptors. This transition will eventually allow clients
  2182. to use far less bandwidth for downloading information about the
  2183. network. Begins the implementation of Proposal 158: "Clients
  2184. download consensus + microdescriptors".
  2185. - The directory voting system is now extensible to use multiple hash
  2186. algorithms for signatures and resource selection. Newer formats
  2187. are signed with SHA256, with a possibility for moving to a better
  2188. hash algorithm in the future.
  2189. - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
  2190. current and future memory pages via mlockall(). On supported
  2191. platforms (modern Linux and probably BSD but not Windows or OS X),
  2192. this should effectively disable any and all attempts to page out
  2193. memory. This option requires that you start your Tor as root --
  2194. if you use DisableAllSwap, please consider using the User option
  2195. to properly reduce the privileges of your Tor.
  2196. - Numerous changes, bugfixes, and workarounds from Nathan Freitas
  2197. to help Tor build correctly for Android phones.
  2198. o Major bugfixes:
  2199. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  2200. handshake from working unless we explicitly tell OpenSSL that we
  2201. are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
  2202. won't work unless we say we are.
  2203. o Minor bugfixes:
  2204. - Fix a crash bug when trying to initialize the evdns module in
  2205. Libevent 2. Bugfix on 0.2.1.16-rc.
  2206. - Stop logging at severity 'warn' when some other Tor client tries
  2207. to establish a circuit with us using weak DH keys. It's a protocol
  2208. violation, but that doesn't mean ordinary users need to hear about
  2209. it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
  2210. - Do not refuse to learn about authority certs and v2 networkstatus
  2211. documents that are older than the latest consensus. This bug might
  2212. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  2213. Spotted and fixed by xmux.
  2214. - Fix numerous small code-flaws found by Coverity Scan Rung 3.
  2215. - If all authorities restart at once right before a consensus vote,
  2216. nobody will vote about "Running", and clients will get a consensus
  2217. with no usable relays. Instead, authorities refuse to build a
  2218. consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
  2219. - If your relay can't keep up with the number of incoming create
  2220. cells, it would log one warning per failure into your logs. Limit
  2221. warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
  2222. - Bridges now use "reject *:*" as their default exit policy. Bugfix
  2223. on 0.2.0.3-alpha; fixes bug 1113.
  2224. - Fix a memory leak on directory authorities during voting that was
  2225. introduced in 0.2.2.1-alpha. Found via valgrind.
  2226. Changes in version 0.2.1.20 - 2009-10-15
  2227. Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
  2228. services at once, prepares for more performance improvements, and
  2229. fixes a bunch of smaller bugs.
  2230. The Windows and OS X bundles also include a more recent Vidalia,
  2231. and switch from Privoxy to Polipo.
  2232. The OS X installers are now drag and drop. It's best to un-install
  2233. Tor/Vidalia and then install this new bundle, rather than upgrade. If
  2234. you want to upgrade, you'll need to update the paths for Tor and Polipo
  2235. in the Vidalia Settings window.
  2236. o Major bugfixes:
  2237. - Send circuit or stream sendme cells when our window has decreased
  2238. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  2239. by Karsten when testing the "reduce circuit window" performance
  2240. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  2241. before the release of Tor 0.0.0. This is the new winner of the
  2242. oldest-bug prize.
  2243. - Fix a remotely triggerable memory leak when a consensus document
  2244. contains more than one signature from the same voter. Bugfix on
  2245. 0.2.0.3-alpha.
  2246. - Avoid segfault in rare cases when finishing an introduction circuit
  2247. as a client and finding out that we don't have an introduction key
  2248. for it. Fixes bug 1073. Reported by Aaron Swartz.
  2249. o Major features:
  2250. - Tor now reads the "circwindow" parameter out of the consensus,
  2251. and uses that value for its circuit package window rather than the
  2252. default of 1000 cells. Begins the implementation of proposal 168.
  2253. o New directory authorities:
  2254. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  2255. authority.
  2256. - Move moria1 and tonga to alternate IP addresses.
  2257. o Minor bugfixes:
  2258. - Fix a signed/unsigned compile warning in 0.2.1.19.
  2259. - Fix possible segmentation fault on directory authorities. Bugfix on
  2260. 0.2.1.14-rc.
  2261. - Fix an extremely rare infinite recursion bug that could occur if
  2262. we tried to log a message after shutting down the log subsystem.
  2263. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  2264. - Fix an obscure bug where hidden services on 64-bit big-endian
  2265. systems might mis-read the timestamp in v3 introduce cells, and
  2266. refuse to connect back to the client. Discovered by "rotor".
  2267. Bugfix on 0.2.1.6-alpha.
  2268. - We were triggering a CLOCK_SKEW controller status event whenever
  2269. we connect via the v2 connection protocol to any relay that has
  2270. a wrong clock. Instead, we should only inform the controller when
  2271. it's a trusted authority that claims our clock is wrong. Bugfix
  2272. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  2273. - We were telling the controller about CHECKING_REACHABILITY and
  2274. REACHABILITY_FAILED status events whenever we launch a testing
  2275. circuit or notice that one has failed. Instead, only tell the
  2276. controller when we want to inform the user of overall success or
  2277. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  2278. by SwissTorExit.
  2279. - Don't warn when we're using a circuit that ends with a node
  2280. excluded in ExcludeExitNodes, but the circuit is not used to access
  2281. the outside world. This should help fix bug 1090. Bugfix on
  2282. 0.2.1.6-alpha.
  2283. - Work around a small memory leak in some versions of OpenSSL that
  2284. stopped the memory used by the hostname TLS extension from being
  2285. freed.
  2286. o Minor features:
  2287. - Add a "getinfo status/accepted-server-descriptor" controller
  2288. command, which is the recommended way for controllers to learn
  2289. whether our server descriptor has been successfully received by at
  2290. least on directory authority. Un-recommend good-server-descriptor
  2291. getinfo and status events until we have a better design for them.
  2292. Changes in version 0.2.2.5-alpha - 2009-10-11
  2293. Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
  2294. o Major bugfixes:
  2295. - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
  2296. o New directory authorities:
  2297. - Move dizum to an alternate IP address.
  2298. Changes in version 0.2.2.4-alpha - 2009-10-10
  2299. Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
  2300. introduces a new unit test framework, shifts directry authority
  2301. addresses around to reduce the impact from recent blocking events,
  2302. and fixes a few smaller bugs.
  2303. o Major bugfixes:
  2304. - Fix several more asserts in the circuit_build_times code, for
  2305. example one that causes Tor to fail to start once we have
  2306. accumulated 5000 build times in the state file. Bugfixes on
  2307. 0.2.2.2-alpha; fixes bug 1108.
  2308. o New directory authorities:
  2309. - Move moria1 and Tonga to alternate IP addresses.
  2310. o Minor features:
  2311. - Log SSL state transitions at debug level during handshake, and
  2312. include SSL states in error messages. This may help debug future
  2313. SSL handshake issues.
  2314. - Add a new "Handshake" log domain for activities that happen
  2315. during the TLS handshake.
  2316. - Revert to the "June 3 2009" ip-to-country file. The September one
  2317. seems to have removed most US IP addresses.
  2318. - Directory authorities now reject Tor relays with versions less than
  2319. 0.1.2.14. This step cuts out four relays from the current network,
  2320. none of which are very big.
  2321. o Minor bugfixes:
  2322. - Fix a couple of smaller issues with gathering statistics. Bugfixes
  2323. on 0.2.2.1-alpha.
  2324. - Fix two memory leaks in the error case of
  2325. circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
  2326. - Don't count one-hop circuits when we're estimating how long it
  2327. takes circuits to build on average. Otherwise we'll set our circuit
  2328. build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
  2329. - Directory authorities no longer change their opinion of, or vote on,
  2330. whether a router is Running, unless they have themselves been
  2331. online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
  2332. Fixes bug 1023.
  2333. o Code simplifications and refactoring:
  2334. - Revise our unit tests to use the "tinytest" framework, so we
  2335. can run tests in their own processes, have smarter setup/teardown
  2336. code, and so on. The unit test code has moved to its own
  2337. subdirectory, and has been split into multiple modules.
  2338. Changes in version 0.2.2.3-alpha - 2009-09-23
  2339. Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
  2340. o Major bugfixes:
  2341. - Fix an overzealous assert in our new circuit build timeout code.
  2342. Bugfix on 0.2.2.2-alpha; fixes bug 1103.
  2343. o Minor bugfixes:
  2344. - If the networkstatus consensus tells us that we should use a
  2345. negative circuit package window, ignore it. Otherwise we'll
  2346. believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
  2347. Changes in version 0.2.2.2-alpha - 2009-09-21
  2348. Tor 0.2.2.2-alpha introduces our latest performance improvement for
  2349. clients: Tor tracks the average time it takes to build a circuit, and
  2350. avoids using circuits that take too long to build. For fast connections,
  2351. this feature can cut your expected latency in half. For slow or flaky
  2352. connections, it could ruin your Tor experience. Let us know if it does!
  2353. o Major features:
  2354. - Tor now tracks how long it takes to build client-side circuits
  2355. over time, and adapts its timeout to local network performance.
  2356. Since a circuit that takes a long time to build will also provide
  2357. bad performance, we get significant latency improvements by
  2358. discarding the slowest 20% of circuits. Specifically, Tor creates
  2359. circuits more aggressively than usual until it has enough data
  2360. points for a good timeout estimate. Implements proposal 151.
  2361. We are especially looking for reports (good and bad) from users with
  2362. both EDGE and broadband connections that can move from broadband
  2363. to EDGE and find out if the build-time data in the .tor/state gets
  2364. reset without loss of Tor usability. You should also see a notice
  2365. log message telling you that Tor has reset its timeout.
  2366. - Directory authorities can now vote on arbitary integer values as
  2367. part of the consensus process. This is designed to help set
  2368. network-wide parameters. Implements proposal 167.
  2369. - Tor now reads the "circwindow" parameter out of the consensus,
  2370. and uses that value for its circuit package window rather than the
  2371. default of 1000 cells. Begins the implementation of proposal 168.
  2372. o Major bugfixes:
  2373. - Fix a remotely triggerable memory leak when a consensus document
  2374. contains more than one signature from the same voter. Bugfix on
  2375. 0.2.0.3-alpha.
  2376. o Minor bugfixes:
  2377. - Fix an extremely rare infinite recursion bug that could occur if
  2378. we tried to log a message after shutting down the log subsystem.
  2379. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  2380. - Fix parsing for memory or time units given without a space between
  2381. the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
  2382. - A networkstatus vote must contain exactly one signature. Spec
  2383. conformance issue. Bugfix on 0.2.0.3-alpha.
  2384. - Fix an obscure bug where hidden services on 64-bit big-endian
  2385. systems might mis-read the timestamp in v3 introduce cells, and
  2386. refuse to connect back to the client. Discovered by "rotor".
  2387. Bugfix on 0.2.1.6-alpha.
  2388. - We were triggering a CLOCK_SKEW controller status event whenever
  2389. we connect via the v2 connection protocol to any relay that has
  2390. a wrong clock. Instead, we should only inform the controller when
  2391. it's a trusted authority that claims our clock is wrong. Bugfix
  2392. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  2393. - We were telling the controller about CHECKING_REACHABILITY and
  2394. REACHABILITY_FAILED status events whenever we launch a testing
  2395. circuit or notice that one has failed. Instead, only tell the
  2396. controller when we want to inform the user of overall success or
  2397. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  2398. by SwissTorExit.
  2399. - Don't warn when we're using a circuit that ends with a node
  2400. excluded in ExcludeExitNodes, but the circuit is not used to access
  2401. the outside world. This should help fix bug 1090, but more problems
  2402. remain. Bugfix on 0.2.1.6-alpha.
  2403. - Work around a small memory leak in some versions of OpenSSL that
  2404. stopped the memory used by the hostname TLS extension from being
  2405. freed.
  2406. - Make our 'torify' script more portable; if we have only one of
  2407. 'torsocks' or 'tsocks' installed, don't complain to the user;
  2408. and explain our warning about tsocks better.
  2409. o Minor features:
  2410. - Add a "getinfo status/accepted-server-descriptor" controller
  2411. command, which is the recommended way for controllers to learn
  2412. whether our server descriptor has been successfully received by at
  2413. least on directory authority. Un-recommend good-server-descriptor
  2414. getinfo and status events until we have a better design for them.
  2415. - Update to the "September 4 2009" ip-to-country file.
  2416. Changes in version 0.2.2.1-alpha - 2009-08-26
  2417. Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
  2418. Tor clients to bootstrap on networks where only port 80 is reachable,
  2419. makes it more straightforward to support hardware crypto accelerators,
  2420. and starts the groundwork for gathering stats safely at relays.
  2421. o Security fixes:
  2422. - Start the process of disabling ".exit" address notation, since it
  2423. can be used for a variety of esoteric application-level attacks
  2424. on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
  2425. on 0.0.9rc5.
  2426. o New directory authorities:
  2427. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  2428. authority.
  2429. o Major features:
  2430. - New AccelName and AccelDir options add support for dynamic OpenSSL
  2431. hardware crypto acceleration engines.
  2432. - Tor now supports tunneling all of its outgoing connections over
  2433. a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
  2434. configuration options. Code by Christopher Davis.
  2435. o Major bugfixes:
  2436. - Send circuit or stream sendme cells when our window has decreased
  2437. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  2438. by Karsten when testing the "reduce circuit window" performance
  2439. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  2440. before the release of Tor 0.0.0. This is the new winner of the
  2441. oldest-bug prize.
  2442. o New options for gathering stats safely:
  2443. - Directories that set "DirReqStatistics 1" write statistics on
  2444. directory request to disk every 24 hours. As compared to the
  2445. --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
  2446. 1) stats are written to disk exactly every 24 hours; 2) estimated
  2447. shares of v2 and v3 requests are determined as mean values, not at
  2448. the end of a measurement period; 3) unresolved requests are listed
  2449. with country code '??'; 4) directories also measure download times.
  2450. - Exit nodes that set "ExitPortStatistics 1" write statistics on the
  2451. number of exit streams and transferred bytes per port to disk every
  2452. 24 hours.
  2453. - Relays that set "CellStatistics 1" write statistics on how long
  2454. cells spend in their circuit queues to disk every 24 hours.
  2455. - Entry nodes that set "EntryStatistics 1" write statistics on the
  2456. rough number and origins of connecting clients to disk every 24
  2457. hours.
  2458. - Relays that write any of the above statistics to disk and set
  2459. "ExtraInfoStatistics 1" include the past 24 hours of statistics in
  2460. their extra-info documents.
  2461. o Minor features:
  2462. - New --digests command-line switch to output the digests of the
  2463. source files Tor was built with.
  2464. - The "torify" script now uses torsocks where available.
  2465. - The memarea code now uses a sentinel value at the end of each area
  2466. to make sure nothing writes beyond the end of an area. This might
  2467. help debug some conceivable causes of bug 930.
  2468. - Time and memory units in the configuration file can now be set to
  2469. fractional units. For example, "2.5 GB" is now a valid value for
  2470. AccountingMax.
  2471. - Certain Tor clients (such as those behind check.torproject.org) may
  2472. want to fetch the consensus in an extra early manner. To enable this
  2473. a user may now set FetchDirInfoExtraEarly to 1. This also depends on
  2474. setting FetchDirInfoEarly to 1. Previous behavior will stay the same
  2475. as only certain clients who must have this information sooner should
  2476. set this option.
  2477. - Instead of adding the svn revision to the Tor version string, report
  2478. the git commit (when we're building from a git checkout).
  2479. o Minor bugfixes:
  2480. - If any the v3 certs we download are unparseable, we should actually
  2481. notice the failure so we don't retry indefinitely. Bugfix on
  2482. 0.2.0.x; reported by "rotator".
  2483. - If the cached cert file is unparseable, warn but don't exit.
  2484. - Fix possible segmentation fault on directory authorities. Bugfix on
  2485. 0.2.1.14-rc.
  2486. - When Tor fails to parse a descriptor of any kind, dump it to disk.
  2487. Might help diagnosing bug 1051.
  2488. o Deprecated and removed features:
  2489. - The controller no longer accepts the old obsolete "addr-mappings/"
  2490. or "unregistered-servers-" GETINFO values.
  2491. - Hidden services no longer publish version 0 descriptors, and clients
  2492. do not request or use version 0 descriptors. However, the old hidden
  2493. service authorities still accept and serve version 0 descriptors
  2494. when contacted by older hidden services/clients.
  2495. - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
  2496. always on; using them is necessary for correct forward-compatible
  2497. controllers.
  2498. - Remove support for .noconnect style addresses. Nobody was using
  2499. them, and they provided another avenue for detecting Tor users
  2500. via application-level web tricks.
  2501. o Packaging changes:
  2502. - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
  2503. installer bundles. See
  2504. https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
  2505. for details of what's new in Vidalia 0.2.3.
  2506. - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
  2507. - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
  2508. configuration file, rather than the old Privoxy.
  2509. - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
  2510. x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
  2511. - OS X Tor Expert Bundle: Tor is compiled as x86-only for
  2512. better compatibility with OS X 10.6, aka Snow Leopard.
  2513. - OS X Vidalia Bundle: The multi-package installer is now replaced
  2514. by a simple drag and drop to the /Applications folder. This change
  2515. occurred with the upgrade to Vidalia 0.2.3.
  2516. Changes in version 0.2.1.19 - 2009-07-28
  2517. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
  2518. services on Tor 0.2.1.3-alpha through 0.2.1.18.
  2519. o Major bugfixes:
  2520. - Make accessing hidden services on 0.2.1.x work right again.
  2521. Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
  2522. part of patch provided by "optimist".
  2523. o Minor features:
  2524. - When a relay/bridge is writing out its identity key fingerprint to
  2525. the "fingerprint" file and to its logs, write it without spaces. Now
  2526. it will look like the fingerprints in our bridges documentation,
  2527. and confuse fewer users.
  2528. o Minor bugfixes:
  2529. - Relays no longer publish a new server descriptor if they change
  2530. their MaxAdvertisedBandwidth config option but it doesn't end up
  2531. changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
  2532. fixes bug 1026. Patch from Sebastian.
  2533. - Avoid leaking memory every time we get a create cell but we have
  2534. so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
  2535. fixes bug 1034. Reported by BarkerJr.
  2536. Changes in version 0.2.1.18 - 2009-07-24
  2537. Tor 0.2.1.18 lays the foundations for performance improvements,
  2538. adds status events to help users diagnose bootstrap problems, adds
  2539. optional authentication/authorization for hidden services, fixes a
  2540. variety of potential anonymity problems, and includes a huge pile of
  2541. other features and bug fixes.
  2542. o Build fixes:
  2543. - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
  2544. Changes in version 0.2.1.17-rc - 2009-07-07
  2545. Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
  2546. candidate for the 0.2.1.x series. It lays the groundwork for further
  2547. client performance improvements, and also fixes a big bug with directory
  2548. authorities that were causing them to assign Guard and Stable flags
  2549. poorly.
  2550. The Windows bundles also finally include the geoip database that we
  2551. thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
  2552. should actually install Torbutton rather than giving you a cryptic
  2553. failure message (oops).
  2554. o Major features:
  2555. - Clients now use the bandwidth values in the consensus, rather than
  2556. the bandwidth values in each relay descriptor. This approach opens
  2557. the door to more accurate bandwidth estimates once the directory
  2558. authorities start doing active measurements. Implements more of
  2559. proposal 141.
  2560. o Major bugfixes:
  2561. - When Tor clients restart after 1-5 days, they discard all their
  2562. cached descriptors as too old, but they still use the cached
  2563. consensus document. This approach is good for robustness, but
  2564. bad for performance: since they don't know any bandwidths, they
  2565. end up choosing at random rather than weighting their choice by
  2566. speed. Fixed by the above feature of putting bandwidths in the
  2567. consensus. Bugfix on 0.2.0.x.
  2568. - Directory authorities were neglecting to mark relays down in their
  2569. internal histories if the relays fall off the routerlist without
  2570. ever being found unreachable. So there were relays in the histories
  2571. that haven't been seen for eight months, and are listed as being
  2572. up for eight months. This wreaked havoc on the "median wfu"
  2573. and "median mtbf" calculations, in turn making Guard and Stable
  2574. flags very wrong, hurting network performance. Fixes bugs 696 and
  2575. 969. Bugfix on 0.2.0.6-alpha.
  2576. o Minor bugfixes:
  2577. - Serve the DirPortFrontPage page even when we have been approaching
  2578. our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
  2579. - The control port would close the connection before flushing long
  2580. replies, such as the network consensus, if a QUIT command was issued
  2581. before the reply had completed. Now, the control port flushes all
  2582. pending replies before closing the connection. Also fixed a spurious
  2583. warning when a QUIT command is issued after a malformed or rejected
  2584. AUTHENTICATE command, but before the connection was closed. Patch
  2585. by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
  2586. - When we can't find an intro key for a v2 hidden service descriptor,
  2587. fall back to the v0 hidden service descriptor and log a bug message.
  2588. Workaround for bug 1024.
  2589. - Fix a log message that did not respect the SafeLogging option.
  2590. Resolves bug 1027.
  2591. o Minor features:
  2592. - If we're a relay and we change our IP address, be more verbose
  2593. about the reason that made us change. Should help track down
  2594. further bugs for relays on dynamic IP addresses.
  2595. Changes in version 0.2.0.35 - 2009-06-24
  2596. o Security fix:
  2597. - Avoid crashing in the presence of certain malformed descriptors.
  2598. Found by lark, and by automated fuzzing.
  2599. - Fix an edge case where a malicious exit relay could convince a
  2600. controller that the client's DNS question resolves to an internal IP
  2601. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  2602. o Major bugfixes:
  2603. - Finally fix the bug where dynamic-IP relays disappear when their
  2604. IP address changes: directory mirrors were mistakenly telling
  2605. them their old address if they asked via begin_dir, so they
  2606. never got an accurate answer about their new address, so they
  2607. just vanished after a day. For belt-and-suspenders, relays that
  2608. don't set Address in their config now avoid using begin_dir for
  2609. all direct connections. Should fix bugs 827, 883, and 900.
  2610. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  2611. that would occur on some exit nodes when DNS failures and timeouts
  2612. occurred in certain patterns. Fix for bug 957.
  2613. o Minor bugfixes:
  2614. - When starting with a cache over a few days old, do not leak
  2615. memory for the obsolete router descriptors in it. Bugfix on
  2616. 0.2.0.33; fixes bug 672.
  2617. - Hidden service clients didn't use a cached service descriptor that
  2618. was older than 15 minutes, but wouldn't fetch a new one either,
  2619. because there was already one in the cache. Now, fetch a v2
  2620. descriptor unless the same descriptor was added to the cache within
  2621. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  2622. Changes in version 0.2.1.16-rc - 2009-06-20
  2623. Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
  2624. a bunch of minor bugs.
  2625. o Security fixes:
  2626. - Fix an edge case where a malicious exit relay could convince a
  2627. controller that the client's DNS question resolves to an internal IP
  2628. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  2629. o Major performance improvements (on 0.2.0.x):
  2630. - Disable and refactor some debugging checks that forced a linear scan
  2631. over the whole server-side DNS cache. These accounted for over 50%
  2632. of CPU time on a relatively busy exit node's gprof profile. Found
  2633. by Jacob.
  2634. - Disable some debugging checks that appeared in exit node profile
  2635. data.
  2636. o Minor features:
  2637. - Update to the "June 3 2009" ip-to-country file.
  2638. - Do not have tor-resolve automatically refuse all .onion addresses;
  2639. if AutomapHostsOnResolve is set in your torrc, this will work fine.
  2640. o Minor bugfixes (on 0.2.0.x):
  2641. - Log correct error messages for DNS-related network errors on
  2642. Windows.
  2643. - Fix a race condition that could cause crashes or memory corruption
  2644. when running as a server with a controller listening for log
  2645. messages.
  2646. - Avoid crashing when we have a policy specified in a DirPolicy or
  2647. SocksPolicy or ReachableAddresses option with ports set on it,
  2648. and we re-load the policy. May fix bug 996.
  2649. - Hidden service clients didn't use a cached service descriptor that
  2650. was older than 15 minutes, but wouldn't fetch a new one either,
  2651. because there was already one in the cache. Now, fetch a v2
  2652. descriptor unless the same descriptor was added to the cache within
  2653. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  2654. o Minor bugfixes (on 0.2.1.x):
  2655. - Don't warn users about low port and hibernation mix when they
  2656. provide a *ListenAddress directive to fix that. Bugfix on
  2657. 0.2.1.15-rc.
  2658. - When switching back and forth between bridge mode, do not start
  2659. gathering GeoIP data until two hours have passed.
  2660. - Do not complain that the user has requested an excluded node as
  2661. an exit when the node is not really an exit. This could happen
  2662. because the circuit was for testing, or an introduction point.
  2663. Fix for bug 984.
  2664. Changes in version 0.2.1.15-rc - 2009-05-25
  2665. Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
  2666. series. It fixes a major bug on fast exit relays, as well as a variety
  2667. of more minor bugs.
  2668. o Major bugfixes (on 0.2.0.x):
  2669. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  2670. that would occur on some exit nodes when DNS failures and timeouts
  2671. occurred in certain patterns. Fix for bug 957.
  2672. o Minor bugfixes (on 0.2.0.x):
  2673. - Actually return -1 in the error case for read_bandwidth_usage().
  2674. Harmless bug, since we currently don't care about the return value
  2675. anywhere. Bugfix on 0.2.0.9-alpha.
  2676. - Provide a more useful log message if bug 977 (related to buffer
  2677. freelists) ever reappears, and do not crash right away.
  2678. - Fix an assertion failure on 64-bit platforms when we allocated
  2679. memory right up to the end of a memarea, then realigned the memory
  2680. one step beyond the end. Fixes a possible cause of bug 930.
  2681. - Protect the count of open sockets with a mutex, so we can't
  2682. corrupt it when two threads are closing or opening sockets at once.
  2683. Fix for bug 939. Bugfix on 0.2.0.1-alpha.
  2684. - Don't allow a bridge to publish its router descriptor to a
  2685. non-bridge directory authority. Fixes part of bug 932.
  2686. - When we change to or from being a bridge, reset our counts of
  2687. client usage by country. Fixes bug 932.
  2688. - Fix a bug that made stream bandwidth get misreported to the
  2689. controller.
  2690. - Stop using malloc_usable_size() to use more area than we had
  2691. actually allocated: it was safe, but made valgrind really unhappy.
  2692. - Fix a memory leak when v3 directory authorities load their keys
  2693. and cert from disk. Bugfix on 0.2.0.1-alpha.
  2694. o Minor bugfixes (on 0.2.1.x):
  2695. - Fix use of freed memory when deciding to mark a non-addable
  2696. descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
  2697. Changes in version 0.2.1.14-rc - 2009-04-12
  2698. Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
  2699. series. It begins fixing some major performance problems, and also
  2700. finally addresses the bug that was causing relays on dynamic IP
  2701. addresses to fall out of the directory.
  2702. o Major features:
  2703. - Clients replace entry guards that were chosen more than a few months
  2704. ago. This change should significantly improve client performance,
  2705. especially once more people upgrade, since relays that have been
  2706. a guard for a long time are currently overloaded.
  2707. o Major bugfixes (on 0.2.0):
  2708. - Finally fix the bug where dynamic-IP relays disappear when their
  2709. IP address changes: directory mirrors were mistakenly telling
  2710. them their old address if they asked via begin_dir, so they
  2711. never got an accurate answer about their new address, so they
  2712. just vanished after a day. For belt-and-suspenders, relays that
  2713. don't set Address in their config now avoid using begin_dir for
  2714. all direct connections. Should fix bugs 827, 883, and 900.
  2715. - Relays were falling out of the networkstatus consensus for
  2716. part of a day if they changed their local config but the
  2717. authorities discarded their new descriptor as "not sufficiently
  2718. different". Now directory authorities accept a descriptor as changed
  2719. if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
  2720. patch by Sebastian.
  2721. - Avoid crashing in the presence of certain malformed descriptors.
  2722. Found by lark, and by automated fuzzing.
  2723. o Minor features:
  2724. - When generating circuit events with verbose nicknames for
  2725. controllers, try harder to look up nicknames for routers on a
  2726. circuit. (Previously, we would look in the router descriptors we had
  2727. for nicknames, but not in the consensus.) Partial fix for bug 941.
  2728. - If the bridge config line doesn't specify a port, assume 443.
  2729. This makes bridge lines a bit smaller and easier for users to
  2730. understand.
  2731. - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
  2732. bytes (aka 20KB/s), to match our documentation. Also update
  2733. directory authorities so they always assign the Fast flag to relays
  2734. with 20KB/s of capacity. Now people running relays won't suddenly
  2735. find themselves not seeing any use, if the network gets faster
  2736. on average.
  2737. - Update to the "April 3 2009" ip-to-country file.
  2738. o Minor bugfixes:
  2739. - Avoid trying to print raw memory to the logs when we decide to
  2740. give up on downloading a given relay descriptor. Bugfix on
  2741. 0.2.1.9-alpha.
  2742. - In tor-resolve, when the Tor client to use is specified by
  2743. <hostname>:<port>, actually use the specified port rather than
  2744. defaulting to 9050. Bugfix on 0.2.1.6-alpha.
  2745. - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
  2746. - When starting with a cache over a few days old, do not leak
  2747. memory for the obsolete router descriptors in it. Bugfix on
  2748. 0.2.0.33.
  2749. - Avoid double-free on list of successfully uploaded hidden
  2750. service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
  2751. - Change memarea_strndup() implementation to work even when
  2752. duplicating a string at the end of a page. This bug was
  2753. harmless for now, but could have meant crashes later. Fix by
  2754. lark. Bugfix on 0.2.1.1-alpha.
  2755. - Limit uploaded directory documents to be 16M rather than 500K.
  2756. The directory authorities were refusing v3 consensus votes from
  2757. other authorities, since the votes are now 504K. Fixes bug 959;
  2758. bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
  2759. - Directory authorities should never send a 503 "busy" response to
  2760. requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
  2761. bug 959.
  2762. Changes in version 0.2.1.13-alpha - 2009-03-09
  2763. Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
  2764. cleanups. We're finally getting close to a release candidate.
  2765. o Major bugfixes:
  2766. - Correctly update the list of which countries we exclude as
  2767. exits, when the GeoIP file is loaded or reloaded. Diagnosed by
  2768. lark. Bugfix on 0.2.1.6-alpha.
  2769. o Minor bugfixes (on 0.2.0.x and earlier):
  2770. - Automatically detect MacOSX versions earlier than 10.4.0, and
  2771. disable kqueue from inside Tor when running with these versions.
  2772. We previously did this from the startup script, but that was no
  2773. help to people who didn't use the startup script. Resolves bug 863.
  2774. - When we had picked an exit node for a connection, but marked it as
  2775. "optional", and it turned out we had no onion key for the exit,
  2776. stop wanting that exit and try again. This situation may not
  2777. be possible now, but will probably become feasible with proposal
  2778. 158. Spotted by rovv. Fixes another case of bug 752.
  2779. - Clients no longer cache certificates for authorities they do not
  2780. recognize. Bugfix on 0.2.0.9-alpha.
  2781. - When we can't transmit a DNS request due to a network error, retry
  2782. it after a while, and eventually transmit a failing response to
  2783. the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
  2784. - If the controller claimed responsibility for a stream, but that
  2785. stream never finished making its connection, it would live
  2786. forever in circuit_wait state. Now we close it after SocksTimeout
  2787. seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
  2788. - Drop begin cells to a hidden service if they come from the middle
  2789. of a circuit. Patch from lark.
  2790. - When we erroneously receive two EXTEND cells for the same circuit
  2791. ID on the same connection, drop the second. Patch from lark.
  2792. - Fix a crash that occurs on exit nodes when a nameserver request
  2793. timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
  2794. been suppressing the bug since 0.1.2.10-alpha. Partial fix for
  2795. bug 929.
  2796. - Do not assume that a stack-allocated character array will be
  2797. 64-bit aligned on platforms that demand that uint64_t access is
  2798. aligned. Possible fix for bug 604.
  2799. - Parse dates and IPv4 addresses in a locale- and libc-independent
  2800. manner, to avoid platform-dependent behavior on malformed input.
  2801. - Build correctly when configured to build outside the main source
  2802. path. Patch from Michael Gold.
  2803. - We were already rejecting relay begin cells with destination port
  2804. of 0. Now also reject extend cells with destination port or address
  2805. of 0. Suggested by lark.
  2806. o Minor bugfixes (on 0.2.1.x):
  2807. - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
  2808. cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
  2809. - If we're an exit node, scrub the IP address to which we are exiting
  2810. in the logs. Bugfix on 0.2.1.8-alpha.
  2811. o Minor features:
  2812. - On Linux, use the prctl call to re-enable core dumps when the user
  2813. is option is set.
  2814. - New controller event NEWCONSENSUS that lists the networkstatus
  2815. lines for every recommended relay. Now controllers like Torflow
  2816. can keep up-to-date on which relays they should be using.
  2817. - Update to the "February 26 2009" ip-to-country file.
  2818. Changes in version 0.2.0.34 - 2009-02-08
  2819. Tor 0.2.0.34 features several more security-related fixes. You should
  2820. upgrade, especially if you run an exit relay (remote crash) or a
  2821. directory authority (remote infinite loop), or you're on an older
  2822. (pre-XP) or not-recently-patched Windows (remote exploit).
  2823. This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
  2824. have many known flaws, and nobody should be using them. You should
  2825. upgrade. If you're using a Linux or BSD and its packages are obsolete,
  2826. stop using those packages and upgrade anyway.
  2827. o Security fixes:
  2828. - Fix an infinite-loop bug on handling corrupt votes under certain
  2829. circumstances. Bugfix on 0.2.0.8-alpha.
  2830. - Fix a temporary DoS vulnerability that could be performed by
  2831. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  2832. - Avoid a potential crash on exit nodes when processing malformed
  2833. input. Remote DoS opportunity. Bugfix on 0.2.0.33.
  2834. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  2835. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  2836. o Minor bugfixes:
  2837. - Fix compilation on systems where time_t is a 64-bit integer.
  2838. Patch from Matthias Drochner.
  2839. - Don't consider expiring already-closed client connections. Fixes
  2840. bug 893. Bugfix on 0.0.2pre20.
  2841. Changes in version 0.2.1.12-alpha - 2009-02-08
  2842. Tor 0.2.1.12-alpha features several more security-related fixes. You
  2843. should upgrade, especially if you run an exit relay (remote crash) or
  2844. a directory authority (remote infinite loop), or you're on an older
  2845. (pre-XP) or not-recently-patched Windows (remote exploit). It also
  2846. includes a big pile of minor bugfixes and cleanups.
  2847. o Security fixes:
  2848. - Fix an infinite-loop bug on handling corrupt votes under certain
  2849. circumstances. Bugfix on 0.2.0.8-alpha.
  2850. - Fix a temporary DoS vulnerability that could be performed by
  2851. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  2852. - Avoid a potential crash on exit nodes when processing malformed
  2853. input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
  2854. o Minor bugfixes:
  2855. - Let controllers actually ask for the "clients_seen" event for
  2856. getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
  2857. reported by Matt Edman.
  2858. - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
  2859. 0.2.1.11-alpha.
  2860. - Fix a bug in address parsing that was preventing bridges or hidden
  2861. service targets from being at IPv6 addresses.
  2862. - Solve a bug that kept hardware crypto acceleration from getting
  2863. enabled when accounting was turned on. Fixes bug 907. Bugfix on
  2864. 0.0.9pre6.
  2865. - Remove a bash-ism from configure.in to build properly on non-Linux
  2866. platforms. Bugfix on 0.2.1.1-alpha.
  2867. - Fix code so authorities _actually_ send back X-Descriptor-Not-New
  2868. headers. Bugfix on 0.2.0.10-alpha.
  2869. - Don't consider expiring already-closed client connections. Fixes
  2870. bug 893. Bugfix on 0.0.2pre20.
  2871. - Fix another interesting corner-case of bug 891 spotted by rovv:
  2872. Previously, if two hosts had different amounts of clock drift, and
  2873. one of them created a new connection with just the wrong timing,
  2874. the other might decide to deprecate the new connection erroneously.
  2875. Bugfix on 0.1.1.13-alpha.
  2876. - Resolve a very rare crash bug that could occur when the user forced
  2877. a nameserver reconfiguration during the middle of a nameserver
  2878. probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
  2879. - Support changing value of ServerDNSRandomizeCase during SIGHUP.
  2880. Bugfix on 0.2.1.7-alpha.
  2881. - If we're using bridges and our network goes away, be more willing
  2882. to forgive our bridges and try again when we get an application
  2883. request. Bugfix on 0.2.0.x.
  2884. o Minor features:
  2885. - Support platforms where time_t is 64 bits long. (Congratulations,
  2886. NetBSD!) Patch from Matthias Drochner.
  2887. - Add a 'getinfo status/clients-seen' controller command, in case
  2888. controllers want to hear clients_seen events but connect late.
  2889. o Build changes:
  2890. - Disable GCC's strict alias optimization by default, to avoid the
  2891. likelihood of its introducing subtle bugs whenever our code violates
  2892. the letter of C99's alias rules.
  2893. Changes in version 0.2.0.33 - 2009-01-21
  2894. Tor 0.2.0.33 fixes a variety of bugs that were making relays less
  2895. useful to users. It also finally fixes a bug where a relay or client
  2896. that's been off for many days would take a long time to bootstrap.
  2897. This update also fixes an important security-related bug reported by
  2898. Ilja van Sprundel. You should upgrade. (We'll send out more details
  2899. about the bug once people have had some time to upgrade.)
  2900. o Security fixes:
  2901. - Fix a heap-corruption bug that may be remotely triggerable on
  2902. some platforms. Reported by Ilja van Sprundel.
  2903. o Major bugfixes:
  2904. - When a stream at an exit relay is in state "resolving" or
  2905. "connecting" and it receives an "end" relay cell, the exit relay
  2906. would silently ignore the end cell and not close the stream. If
  2907. the client never closes the circuit, then the exit relay never
  2908. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  2909. reported by "wood".
  2910. - When sending CREATED cells back for a given circuit, use a 64-bit
  2911. connection ID to find the right connection, rather than an addr:port
  2912. combination. Now that we can have multiple OR connections between
  2913. the same ORs, it is no longer possible to use addr:port to uniquely
  2914. identify a connection.
  2915. - Bridge relays that had DirPort set to 0 would stop fetching
  2916. descriptors shortly after startup, and then briefly resume
  2917. after a new bandwidth test and/or after publishing a new bridge
  2918. descriptor. Bridge users that try to bootstrap from them would
  2919. get a recent networkstatus but would get descriptors from up to
  2920. 18 hours earlier, meaning most of the descriptors were obsolete
  2921. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  2922. - Prevent bridge relays from serving their 'extrainfo' document
  2923. to anybody who asks, now that extrainfo docs include potentially
  2924. sensitive aggregated client geoip summaries. Bugfix on
  2925. 0.2.0.13-alpha.
  2926. - If the cached networkstatus consensus is more than five days old,
  2927. discard it rather than trying to use it. In theory it could be
  2928. useful because it lists alternate directory mirrors, but in practice
  2929. it just means we spend many minutes trying directory mirrors that
  2930. are long gone from the network. Also discard router descriptors as
  2931. we load them if they are more than five days old, since the onion
  2932. key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
  2933. o Minor bugfixes:
  2934. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  2935. could make gcc generate non-functional binary search code. Bugfix
  2936. on 0.2.0.10-alpha.
  2937. - Build correctly on platforms without socklen_t.
  2938. - Compile without warnings on solaris.
  2939. - Avoid potential crash on internal error during signature collection.
  2940. Fixes bug 864. Patch from rovv.
  2941. - Correct handling of possible malformed authority signing key
  2942. certificates with internal signature types. Fixes bug 880.
  2943. Bugfix on 0.2.0.3-alpha.
  2944. - Fix a hard-to-trigger resource leak when logging credential status.
  2945. CID 349.
  2946. - When we can't initialize DNS because the network is down, do not
  2947. automatically stop Tor from starting. Instead, we retry failed
  2948. dns_init() every 10 minutes, and change the exit policy to reject
  2949. *:* until one succeeds. Fixes bug 691.
  2950. - Use 64 bits instead of 32 bits for connection identifiers used with
  2951. the controller protocol, to greatly reduce risk of identifier reuse.
  2952. - When we're choosing an exit node for a circuit, and we have
  2953. no pending streams, choose a good general exit rather than one that
  2954. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  2955. - Fix another case of assuming, when a specific exit is requested,
  2956. that we know more than the user about what hosts it allows.
  2957. Fixes one case of bug 752. Patch from rovv.
  2958. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  2959. seconds. Warn the user if lower values are given in the
  2960. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  2961. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  2962. user if lower values are given in the configuration. Bugfix on
  2963. 0.1.1.17-rc. Patch by Sebastian.
  2964. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  2965. the cache because we already had a v0 descriptor with the same ID.
  2966. Bugfix on 0.2.0.18-alpha.
  2967. - Fix a race condition when freeing keys shared between main thread
  2968. and CPU workers that could result in a memory leak. Bugfix on
  2969. 0.1.0.1-rc. Fixes bug 889.
  2970. - Send a valid END cell back when a client tries to connect to a
  2971. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  2972. 840. Patch from rovv.
  2973. - Check which hops rendezvous stream cells are associated with to
  2974. prevent possible guess-the-streamid injection attacks from
  2975. intermediate hops. Fixes another case of bug 446. Based on patch
  2976. from rovv.
  2977. - If a broken client asks a non-exit router to connect somewhere,
  2978. do not even do the DNS lookup before rejecting the connection.
  2979. Fixes another case of bug 619. Patch from rovv.
  2980. - When a relay gets a create cell it can't decrypt (e.g. because it's
  2981. using the wrong onion key), we were dropping it and letting the
  2982. client time out. Now actually answer with a destroy cell. Fixes
  2983. bug 904. Bugfix on 0.0.2pre8.
  2984. o Minor bugfixes (hidden services):
  2985. - Do not throw away existing introduction points on SIGHUP. Bugfix on
  2986. 0.0.6pre1. Patch by Karsten. Fixes bug 874.
  2987. o Minor features:
  2988. - Report the case where all signatures in a detached set are rejected
  2989. differently than the case where there is an error handling the
  2990. detached set.
  2991. - When we realize that another process has modified our cached
  2992. descriptors, print out a more useful error message rather than
  2993. triggering an assertion. Fixes bug 885. Patch from Karsten.
  2994. - Implement the 0x20 hack to better resist DNS poisoning: set the
  2995. case on outgoing DNS requests randomly, and reject responses that do
  2996. not match the case correctly. This logic can be disabled with the
  2997. ServerDNSRamdomizeCase setting, if you are using one of the 0.3%
  2998. of servers that do not reliably preserve case in replies. See
  2999. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  3000. for more info.
  3001. - Check DNS replies for more matching fields to better resist DNS
  3002. poisoning.
  3003. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  3004. compress cells, which are basically all encrypted, compressed, or
  3005. both.
  3006. Changes in version 0.2.1.11-alpha - 2009-01-20
  3007. Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
  3008. week it will take a long time to bootstrap again" bug. It also fixes
  3009. an important security-related bug reported by Ilja van Sprundel. You
  3010. should upgrade. (We'll send out more details about the bug once people
  3011. have had some time to upgrade.)
  3012. o Security fixes:
  3013. - Fix a heap-corruption bug that may be remotely triggerable on
  3014. some platforms. Reported by Ilja van Sprundel.
  3015. o Major bugfixes:
  3016. - Discard router descriptors as we load them if they are more than
  3017. five days old. Otherwise if Tor is off for a long time and then
  3018. starts with cached descriptors, it will try to use the onion
  3019. keys in those obsolete descriptors when building circuits. Bugfix
  3020. on 0.2.0.x. Fixes bug 887.
  3021. o Minor features:
  3022. - Try to make sure that the version of Libevent we're running with
  3023. is binary-compatible with the one we built with. May address bug
  3024. 897 and others.
  3025. - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
  3026. for bug 905. Bugfix on 0.2.1.7-alpha.
  3027. - Add a new --enable-local-appdata configuration switch to change
  3028. the default location of the datadir on win32 from APPDATA to
  3029. LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
  3030. entirely. Patch from coderman.
  3031. o Minor bugfixes:
  3032. - Make outbound DNS packets respect the OutboundBindAddress setting.
  3033. Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
  3034. - When our circuit fails at the first hop (e.g. we get a destroy
  3035. cell back), avoid using that OR connection anymore, and also
  3036. tell all the one-hop directory requests waiting for it that they
  3037. should fail. Bugfix on 0.2.1.3-alpha.
  3038. - In the torify(1) manpage, mention that tsocks will leak your
  3039. DNS requests.
  3040. Changes in version 0.2.1.10-alpha - 2009-01-06
  3041. Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
  3042. would make the bridge relay not so useful if it had DirPort set to 0,
  3043. and one that could let an attacker learn a little bit of information
  3044. about the bridge's users), and a bug that would cause your Tor relay
  3045. to ignore a circuit create request it can't decrypt (rather than reply
  3046. with an error). It also fixes a wide variety of other bugs.
  3047. o Major bugfixes:
  3048. - If the cached networkstatus consensus is more than five days old,
  3049. discard it rather than trying to use it. In theory it could
  3050. be useful because it lists alternate directory mirrors, but in
  3051. practice it just means we spend many minutes trying directory
  3052. mirrors that are long gone from the network. Helps bug 887 a bit;
  3053. bugfix on 0.2.0.x.
  3054. - Bridge relays that had DirPort set to 0 would stop fetching
  3055. descriptors shortly after startup, and then briefly resume
  3056. after a new bandwidth test and/or after publishing a new bridge
  3057. descriptor. Bridge users that try to bootstrap from them would
  3058. get a recent networkstatus but would get descriptors from up to
  3059. 18 hours earlier, meaning most of the descriptors were obsolete
  3060. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  3061. - Prevent bridge relays from serving their 'extrainfo' document
  3062. to anybody who asks, now that extrainfo docs include potentially
  3063. sensitive aggregated client geoip summaries. Bugfix on
  3064. 0.2.0.13-alpha.
  3065. o Minor features:
  3066. - New controller event "clients_seen" to report a geoip-based summary
  3067. of which countries we've seen clients from recently. Now controllers
  3068. like Vidalia can show bridge operators that they're actually making
  3069. a difference.
  3070. - Build correctly against versions of OpenSSL 0.9.8 or later built
  3071. without support for deprecated functions.
  3072. - Update to the "December 19 2008" ip-to-country file.
  3073. o Minor bugfixes (on 0.2.0.x):
  3074. - Authorities now vote for the Stable flag for any router whose
  3075. weighted MTBF is at least 5 days, regardless of the mean MTBF.
  3076. - Do not remove routers as too old if we do not have any consensus
  3077. document. Bugfix on 0.2.0.7-alpha.
  3078. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  3079. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  3080. - When an exit relay resolves a stream address to a local IP address,
  3081. do not just keep retrying that same exit relay over and
  3082. over. Instead, just close the stream. Addresses bug 872. Bugfix
  3083. on 0.2.0.32. Patch from rovv.
  3084. - If a hidden service sends us an END cell, do not consider
  3085. retrying the connection; just close it. Patch from rovv.
  3086. - When we made bridge authorities stop serving bridge descriptors over
  3087. unencrypted links, we also broke DirPort reachability testing for
  3088. bridges. So bridges with a non-zero DirPort were printing spurious
  3089. warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
  3090. - When a relay gets a create cell it can't decrypt (e.g. because it's
  3091. using the wrong onion key), we were dropping it and letting the
  3092. client time out. Now actually answer with a destroy cell. Fixes
  3093. bug 904. Bugfix on 0.0.2pre8.
  3094. - Squeeze 2-5% out of client performance (according to oprofile) by
  3095. improving the implementation of some policy-manipulation functions.
  3096. o Minor bugfixes (on 0.2.1.x):
  3097. - Make get_interface_address() function work properly again; stop
  3098. guessing the wrong parts of our address as our address.
  3099. - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
  3100. send on that circuit. Otherwise we might violate the proposal-110
  3101. limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
  3102. thanks to Karsten.
  3103. - When we're sending non-EXTEND cells to the first hop in a circuit,
  3104. for example to use an encrypted directory connection, we don't need
  3105. to use RELAY_EARLY cells: the first hop knows what kind of cell
  3106. it is, and nobody else can even see the cell type. Conserving
  3107. RELAY_EARLY cells makes it easier to cannibalize circuits like
  3108. this later.
  3109. - Stop logging nameserver addresses in reverse order.
  3110. - If we are retrying a directory download slowly over and over, do
  3111. not automatically give up after the 254th failure. Bugfix on
  3112. 0.2.1.9-alpha.
  3113. - Resume reporting accurate "stream end" reasons to the local control
  3114. port. They were lost in the changes for Proposal 148. Bugfix on
  3115. 0.2.1.9-alpha.
  3116. o Deprecated and removed features:
  3117. - The old "tor --version --version" command, which would print out
  3118. the subversion "Id" of most of the source files, is now removed. It
  3119. turned out to be less useful than we'd expected, and harder to
  3120. maintain.
  3121. o Code simplifications and refactoring:
  3122. - Change our header file guard macros to be less likely to conflict
  3123. with system headers. Adam Langley noticed that we were conflicting
  3124. with log.h on Android.
  3125. - Tool-assisted documentation cleanup. Nearly every function or
  3126. static variable in Tor should have its own documentation now.
  3127. Changes in version 0.2.1.9-alpha - 2008-12-25
  3128. Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
  3129. o New directory authorities:
  3130. - gabelmoo (the authority run by Karsten Loesing) now has a new
  3131. IP address.
  3132. o Security fixes:
  3133. - Never use a connection with a mismatched address to extend a
  3134. circuit, unless that connection is canonical. A canonical
  3135. connection is one whose address is authenticated by the router's
  3136. identity key, either in a NETINFO cell or in a router descriptor.
  3137. - Avoid a possible memory corruption bug when receiving hidden service
  3138. descriptors. Bugfix on 0.2.1.6-alpha.
  3139. o Major bugfixes:
  3140. - Fix a logic error that would automatically reject all but the first
  3141. configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
  3142. part of bug 813/868. Bug spotted by coderman.
  3143. - When a stream at an exit relay is in state "resolving" or
  3144. "connecting" and it receives an "end" relay cell, the exit relay
  3145. would silently ignore the end cell and not close the stream. If
  3146. the client never closes the circuit, then the exit relay never
  3147. closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
  3148. reported by "wood".
  3149. - When we can't initialize DNS because the network is down, do not
  3150. automatically stop Tor from starting. Instead, retry failed
  3151. dns_init() every 10 minutes, and change the exit policy to reject
  3152. *:* until one succeeds. Fixes bug 691.
  3153. o Minor features:
  3154. - Give a better error message when an overzealous init script says
  3155. "sudo -u username tor --user username". Makes Bug 882 easier for
  3156. users to diagnose.
  3157. - When a directory authority gives us a new guess for our IP address,
  3158. log which authority we used. Hopefully this will help us debug
  3159. the recent complaints about bad IP address guesses.
  3160. - Detect svn revision properly when we're using git-svn.
  3161. - Try not to open more than one descriptor-downloading connection
  3162. to an authority at once. This should reduce load on directory
  3163. authorities. Fixes bug 366.
  3164. - Add cross-certification to newly generated certificates, so that
  3165. a signing key is enough information to look up a certificate.
  3166. Partial implementation of proposal 157.
  3167. - Start serving certificates by <identity digest, signing key digest>
  3168. pairs. Partial implementation of proposal 157.
  3169. - Clients now never report any stream end reason except 'MISC'.
  3170. Implements proposal 148.
  3171. - On platforms with a maximum syslog string length, truncate syslog
  3172. messages to that length ourselves, rather than relying on the
  3173. system to do it for us.
  3174. - Optimize out calls to time(NULL) that occur for every IO operation,
  3175. or for every cell. On systems where time() is a slow syscall,
  3176. this fix will be slightly helpful.
  3177. - Exit servers can now answer resolve requests for ip6.arpa addresses.
  3178. - When we download a descriptor that we then immediately (as
  3179. a directory authority) reject, do not retry downloading it right
  3180. away. Should save some bandwidth on authorities. Fix for bug
  3181. 888. Patch by Sebastian Hahn.
  3182. - When a download gets us zero good descriptors, do not notify
  3183. Tor that new directory information has arrived.
  3184. - Avoid some nasty corner cases in the logic for marking connections
  3185. as too old or obsolete or noncanonical for circuits. Partial
  3186. bugfix on bug 891.
  3187. o Minor features (controller):
  3188. - New CONSENSUS_ARRIVED event to note when a new consensus has
  3189. been fetched and validated.
  3190. - When we realize that another process has modified our cached
  3191. descriptors file, print out a more useful error message rather
  3192. than triggering an assertion. Fixes bug 885. Patch from Karsten.
  3193. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  3194. controllers to prevent SIGHUP from reloading the
  3195. configuration. Fixes bug 856.
  3196. o Minor bugfixes:
  3197. - Resume using the correct "REASON=" stream when telling the
  3198. controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
  3199. - When a canonical connection appears later in our internal list
  3200. than a noncanonical one for a given OR ID, always use the
  3201. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  3202. Spotted by rovv.
  3203. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  3204. seconds. Warn the user if lower values are given in the
  3205. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  3206. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  3207. user if lower values are given in the configuration. Bugfix on
  3208. 0.1.1.17-rc. Patch by Sebastian.
  3209. - Fix a race condition when freeing keys shared between main thread
  3210. and CPU workers that could result in a memory leak. Bugfix on
  3211. 0.1.0.1-rc. Fixes bug 889.
  3212. o Minor bugfixes (hidden services):
  3213. - Do not throw away existing introduction points on SIGHUP (bugfix on
  3214. 0.0.6pre1); also, do not stall hidden services because we're
  3215. throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
  3216. by John Brooks. Patch by Karsten. Fixes bug 874.
  3217. - Fix a memory leak when we decline to add a v2 rendezvous
  3218. descriptor to the cache because we already had a v0 descriptor
  3219. with the same ID. Bugfix on 0.2.0.18-alpha.
  3220. o Deprecated and removed features:
  3221. - RedirectExits has been removed. It was deprecated since
  3222. 0.2.0.3-alpha.
  3223. - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
  3224. has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  3225. - Cell pools are now always enabled; --disable-cell-pools is ignored.
  3226. o Code simplifications and refactoring:
  3227. - Rename the confusing or_is_obsolete field to the more appropriate
  3228. is_bad_for_new_circs, and move it to or_connection_t where it
  3229. belongs.
  3230. - Move edge-only flags from connection_t to edge_connection_t: not
  3231. only is this better coding, but on machines of plausible alignment,
  3232. it should save 4-8 bytes per connection_t. "Every little bit helps."
  3233. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  3234. for consistency; keep old option working for backward compatibility.
  3235. - Simplify the code for finding connections to use for a circuit.
  3236. Changes in version 0.2.1.8-alpha - 2008-12-08
  3237. Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
  3238. builds better on unusual platforms like Solaris and old OS X, and
  3239. fixes a variety of other issues.
  3240. o Major features:
  3241. - New DirPortFrontPage option that takes an html file and publishes
  3242. it as "/" on the DirPort. Now relay operators can provide a
  3243. disclaimer without needing to set up a separate webserver. There's
  3244. a sample disclaimer in contrib/tor-exit-notice.html.
  3245. o Security fixes:
  3246. - When the client is choosing entry guards, now it selects at most
  3247. one guard from a given relay family. Otherwise we could end up with
  3248. all of our entry points into the network run by the same operator.
  3249. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  3250. o Major bugfixes:
  3251. - Fix a DOS opportunity during the voting signature collection process
  3252. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  3253. - Fix a possible segfault when establishing an exit connection. Bugfix
  3254. on 0.2.1.5-alpha.
  3255. o Minor bugfixes:
  3256. - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
  3257. bug 859.
  3258. - Made Tor a little less aggressive about deleting expired
  3259. certificates. Partial fix for bug 854.
  3260. - Stop doing unaligned memory access that generated bus errors on
  3261. sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
  3262. - Fix a crash bug when changing EntryNodes from the controller. Bugfix
  3263. on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
  3264. - Make USR2 log-level switch take effect immediately. Bugfix on
  3265. 0.1.2.8-beta.
  3266. - If one win32 nameserver fails to get added, continue adding the
  3267. rest, and don't automatically fail.
  3268. - Use fcntl() for locking when flock() is not available. Should fix
  3269. compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
  3270. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  3271. could make gcc generate non-functional binary search code. Bugfix
  3272. on 0.2.0.10-alpha.
  3273. - Build correctly on platforms without socklen_t.
  3274. - Avoid potential crash on internal error during signature collection.
  3275. Fixes bug 864. Patch from rovv.
  3276. - Do not use C's stdio library for writing to log files. This will
  3277. improve logging performance by a minute amount, and will stop
  3278. leaking fds when our disk is full. Fixes bug 861.
  3279. - Stop erroneous use of O_APPEND in cases where we did not in fact
  3280. want to re-seek to the end of a file before every last write().
  3281. - Correct handling of possible malformed authority signing key
  3282. certificates with internal signature types. Fixes bug 880. Bugfix
  3283. on 0.2.0.3-alpha.
  3284. - Fix a hard-to-trigger resource leak when logging credential status.
  3285. CID 349.
  3286. o Minor features:
  3287. - Directory mirrors no longer fetch the v1 directory or
  3288. running-routers files. They are obsolete, and nobody asks for them
  3289. anymore. This is the first step to making v1 authorities obsolete.
  3290. o Minor features (controller):
  3291. - Return circuit purposes in response to GETINFO circuit-status. Fixes
  3292. bug 858.
  3293. Changes in version 0.2.0.32 - 2008-11-20
  3294. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  3295. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  3296. a smaller security flaw that might allow an attacker to access local
  3297. services, further improves hidden service performance, and fixes a
  3298. variety of other issues.
  3299. o Security fixes:
  3300. - The "User" and "Group" config options did not clear the
  3301. supplementary group entries for the Tor process. The "User" option
  3302. is now more robust, and we now set the groups to the specified
  3303. user's primary group. The "Group" option is now ignored. For more
  3304. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  3305. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  3306. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  3307. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  3308. consistently obeyed: if an exit relay refuses a stream because its
  3309. exit policy doesn't allow it, we would remember what IP address
  3310. the relay said the destination address resolves to, even if it's
  3311. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  3312. o Major bugfixes:
  3313. - Fix a DOS opportunity during the voting signature collection process
  3314. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  3315. o Major bugfixes (hidden services):
  3316. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  3317. we were failing the whole hidden service request when the v0
  3318. descriptor fetch fails, even if the v2 fetch is still pending and
  3319. might succeed. Similarly, if the last v2 fetch fails, we were
  3320. failing the whole hidden service request even if a v0 fetch is
  3321. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  3322. - When extending a circuit to a hidden service directory to upload a
  3323. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  3324. requests failed, because the router descriptor has not been
  3325. downloaded yet. In these cases, do not attempt to upload the
  3326. rendezvous descriptor, but wait until the router descriptor is
  3327. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  3328. descriptor from a hidden service directory for which the router
  3329. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  3330. on 0.2.0.10-alpha.
  3331. o Minor bugfixes:
  3332. - Fix several infrequent memory leaks spotted by Coverity.
  3333. - When testing for libevent functions, set the LDFLAGS variable
  3334. correctly. Found by Riastradh.
  3335. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  3336. bootstrapping with tunneled directory connections. Bugfix on
  3337. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  3338. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  3339. and we know that server B rejects most-but-not all connections to
  3340. port 80, we would previously reject the connection. Now, we assume
  3341. the user knows what they were asking for. Fixes bug 752. Bugfix
  3342. on 0.0.9rc5. Diagnosed by BarkerJr.
  3343. - If we overrun our per-second write limits a little, count this as
  3344. having used up our write allocation for the second, and choke
  3345. outgoing directory writes. Previously, we had only counted this when
  3346. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  3347. Bugfix on 0.2.0.x (??).
  3348. - Remove the old v2 directory authority 'lefkada' from the default
  3349. list. It has been gone for many months.
  3350. - Stop doing unaligned memory access that generated bus errors on
  3351. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  3352. - Make USR2 log-level switch take effect immediately. Bugfix on
  3353. 0.1.2.8-beta.
  3354. o Minor bugfixes (controller):
  3355. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  3356. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  3357. Changes in version 0.2.1.7-alpha - 2008-11-08
  3358. Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
  3359. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  3360. a smaller security flaw that might allow an attacker to access local
  3361. services, adds better defense against DNS poisoning attacks on exit
  3362. relays, further improves hidden service performance, and fixes a
  3363. variety of other issues.
  3364. o Security fixes:
  3365. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  3366. consistently obeyed: if an exit relay refuses a stream because its
  3367. exit policy doesn't allow it, we would remember what IP address
  3368. the relay said the destination address resolves to, even if it's
  3369. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  3370. - The "User" and "Group" config options did not clear the
  3371. supplementary group entries for the Tor process. The "User" option
  3372. is now more robust, and we now set the groups to the specified
  3373. user's primary group. The "Group" option is now ignored. For more
  3374. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  3375. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  3376. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
  3377. - Do not use or believe expired v3 authority certificates. Patch
  3378. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  3379. o Minor features:
  3380. - Now NodeFamily and MyFamily config options allow spaces in
  3381. identity fingerprints, so it's easier to paste them in.
  3382. Suggested by Lucky Green.
  3383. - Implement the 0x20 hack to better resist DNS poisoning: set the
  3384. case on outgoing DNS requests randomly, and reject responses that do
  3385. not match the case correctly. This logic can be disabled with the
  3386. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  3387. of servers that do not reliably preserve case in replies. See
  3388. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  3389. for more info.
  3390. - Preserve case in replies to DNSPort requests in order to support
  3391. the 0x20 hack for resisting DNS poisoning attacks.
  3392. o Hidden service performance improvements:
  3393. - When the client launches an introduction circuit, retry with a
  3394. new circuit after 30 seconds rather than 60 seconds.
  3395. - Launch a second client-side introduction circuit in parallel
  3396. after a delay of 15 seconds (based on work by Christian Wilms).
  3397. - Hidden services start out building five intro circuits rather
  3398. than three, and when the first three finish they publish a service
  3399. descriptor using those. Now we publish our service descriptor much
  3400. faster after restart.
  3401. o Minor bugfixes:
  3402. - Minor fix in the warning messages when you're having problems
  3403. bootstrapping; also, be more forgiving of bootstrap problems when
  3404. we're still making incremental progress on a given bootstrap phase.
  3405. - When we're choosing an exit node for a circuit, and we have
  3406. no pending streams, choose a good general exit rather than one that
  3407. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  3408. - Send a valid END cell back when a client tries to connect to a
  3409. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  3410. 840. Patch from rovv.
  3411. - If a broken client asks a non-exit router to connect somewhere,
  3412. do not even do the DNS lookup before rejecting the connection.
  3413. Fixes another case of bug 619. Patch from rovv.
  3414. - Fix another case of assuming, when a specific exit is requested,
  3415. that we know more than the user about what hosts it allows.
  3416. Fixes another case of bug 752. Patch from rovv.
  3417. - Check which hops rendezvous stream cells are associated with to
  3418. prevent possible guess-the-streamid injection attacks from
  3419. intermediate hops. Fixes another case of bug 446. Based on patch
  3420. from rovv.
  3421. - Avoid using a negative right-shift when comparing 32-bit
  3422. addresses. Possible fix for bug 845 and bug 811.
  3423. - Make the assert_circuit_ok() function work correctly on circuits that
  3424. have already been marked for close.
  3425. - Fix read-off-the-end-of-string error in unit tests when decoding
  3426. introduction points.
  3427. - Fix uninitialized size field for memory area allocation: may improve
  3428. memory performance during directory parsing.
  3429. - Treat duplicate certificate fetches as failures, so that we do
  3430. not try to re-fetch an expired certificate over and over and over.
  3431. - Do not say we're fetching a certificate when we'll in fact skip it
  3432. because of a pending download.
  3433. Changes in version 0.2.1.6-alpha - 2008-09-30
  3434. Tor 0.2.1.6-alpha further improves performance and robustness of
  3435. hidden services, starts work on supporting per-country relay selection,
  3436. and fixes a variety of smaller issues.
  3437. o Major features:
  3438. - Implement proposal 121: make it possible to build hidden services
  3439. that only certain clients are allowed to connect to. This is
  3440. enforced at several points, so that unauthorized clients are unable
  3441. to send INTRODUCE cells to the service, or even (depending on the
  3442. type of authentication) to learn introduction points. This feature
  3443. raises the bar for certain kinds of active attacks against hidden
  3444. services. Code by Karsten Loesing.
  3445. - Relays now store and serve v2 hidden service descriptors by default,
  3446. i.e., the new default value for HidServDirectoryV2 is 1. This is
  3447. the last step in proposal 114, which aims to make hidden service
  3448. lookups more reliable.
  3449. - Start work to allow node restrictions to include country codes. The
  3450. syntax to exclude nodes in a country with country code XX is
  3451. "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
  3452. refinement to decide what config options should take priority if
  3453. you ask to both use a particular node and exclude it.
  3454. - Allow ExitNodes list to include IP ranges and country codes, just
  3455. like the Exclude*Nodes lists. Patch from Robert Hogan.
  3456. o Major bugfixes:
  3457. - Fix a bug when parsing ports in tor_addr_port_parse() that caused
  3458. Tor to fail to start if you had it configured to use a bridge
  3459. relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
  3460. - When extending a circuit to a hidden service directory to upload a
  3461. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  3462. requests failed, because the router descriptor had not been
  3463. downloaded yet. In these cases, we now wait until the router
  3464. descriptor is downloaded, and then retry. Likewise, clients
  3465. now skip over a hidden service directory if they don't yet have
  3466. its router descriptor, rather than futilely requesting it and
  3467. putting mysterious complaints in the logs. Fixes bug 767. Bugfix
  3468. on 0.2.0.10-alpha.
  3469. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  3470. we were failing the whole hidden service request when the v0
  3471. descriptor fetch fails, even if the v2 fetch is still pending and
  3472. might succeed. Similarly, if the last v2 fetch fails, we were
  3473. failing the whole hidden service request even if a v0 fetch is
  3474. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  3475. - DNS replies need to have names matching their requests, but
  3476. these names should be in the questions section, not necessarily
  3477. in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
  3478. o Minor features:
  3479. - Update to the "September 1 2008" ip-to-country file.
  3480. - Allow ports 465 and 587 in the default exit policy again. We had
  3481. rejected them in 0.1.0.15, because back in 2005 they were commonly
  3482. misconfigured and ended up as spam targets. We hear they are better
  3483. locked down these days.
  3484. - Use a lockfile to make sure that two Tor processes are not
  3485. simultaneously running with the same datadir.
  3486. - Serve the latest v3 networkstatus consensus via the control
  3487. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  3488. - Better logging about stability/reliability calculations on directory
  3489. servers.
  3490. - Drop the requirement to have an open dir port for storing and
  3491. serving v2 hidden service descriptors.
  3492. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  3493. help debug WFU and MTBF calculations.
  3494. - Implement most of Proposal 152: allow specialized servers to permit
  3495. single-hop circuits, and clients to use those servers to build
  3496. single-hop circuits when using a specialized controller. Patch
  3497. from Josh Albrecht. Resolves feature request 768.
  3498. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  3499. people find host:port too confusing.
  3500. - Make TrackHostExit mappings expire a while after their last use, not
  3501. after their creation. Patch from Robert Hogan.
  3502. - Provide circuit purposes along with circuit events to the controller.
  3503. o Minor bugfixes:
  3504. - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
  3505. Reported by Tas.
  3506. - Fixed some memory leaks -- some quite frequent, some almost
  3507. impossible to trigger -- based on results from Coverity.
  3508. - When testing for libevent functions, set the LDFLAGS variable
  3509. correctly. Found by Riastradh.
  3510. - Fix an assertion bug in parsing policy-related options; possible fix
  3511. for bug 811.
  3512. - Catch and report a few more bootstrapping failure cases when Tor
  3513. fails to establish a TCP connection. Cleanup on 0.2.1.x.
  3514. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  3515. bootstrapping with tunneled directory connections. Bugfix on
  3516. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  3517. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  3518. and we know that server B rejects most-but-not all connections to
  3519. port 80, we would previously reject the connection. Now, we assume
  3520. the user knows what they were asking for. Fixes bug 752. Bugfix
  3521. on 0.0.9rc5. Diagnosed by BarkerJr.
  3522. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  3523. service directories if they have no advertised dir port. Bugfix
  3524. on 0.2.0.10-alpha.
  3525. - If we overrun our per-second write limits a little, count this as
  3526. having used up our write allocation for the second, and choke
  3527. outgoing directory writes. Previously, we had only counted this when
  3528. we had met our limits precisely. Fixes bug 824. Patch by rovv.
  3529. Bugfix on 0.2.0.x (??).
  3530. - Avoid a "0 divided by 0" calculation when calculating router uptime
  3531. at directory authorities. Bugfix on 0.2.0.8-alpha.
  3532. - Make DNS resolved controller events into "CLOSED", not
  3533. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  3534. bug 807.
  3535. - Fix a bug where an unreachable relay would establish enough
  3536. reachability testing circuits to do a bandwidth test -- if
  3537. we already have a connection to the middle hop of the testing
  3538. circuit, then it could establish the last hop by using the existing
  3539. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  3540. circuits no longer use entry guards in 0.2.1.3-alpha.
  3541. - If we have correct permissions on $datadir, we complain to stdout
  3542. and fail to start. But dangerous permissions on
  3543. $datadir/cached-status/ would cause us to open a log and complain
  3544. there. Now complain to stdout and fail to start in both cases. Fixes
  3545. bug 820, reported by seeess.
  3546. - Remove the old v2 directory authority 'lefkada' from the default
  3547. list. It has been gone for many months.
  3548. o Code simplifications and refactoring:
  3549. - Revise the connection_new functions so that a more typesafe variant
  3550. exists. This will work better with Coverity, and let us find any
  3551. actual mistakes we're making here.
  3552. - Refactor unit testing logic so that dmalloc can be used sensibly
  3553. with unit tests to check for memory leaks.
  3554. - Move all hidden-service related fields from connection and circuit
  3555. structure to substructures: this way they won't eat so much memory.
  3556. Changes in version 0.2.0.31 - 2008-09-03
  3557. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  3558. a big bug we're seeing where in rare cases traffic from one Tor stream
  3559. gets mixed into another stream, and fixes a variety of smaller issues.
  3560. o Major bugfixes:
  3561. - Make sure that two circuits can never exist on the same connection
  3562. with the same circuit ID, even if one is marked for close. This
  3563. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  3564. - Relays now reject risky extend cells: if the extend cell includes
  3565. a digest of all zeroes, or asks to extend back to the relay that
  3566. sent the extend cell, tear down the circuit. Ideas suggested
  3567. by rovv.
  3568. - If not enough of our entry guards are available so we add a new
  3569. one, we might use the new one even if it overlapped with the
  3570. current circuit's exit relay (or its family). Anonymity bugfix
  3571. pointed out by rovv.
  3572. o Minor bugfixes:
  3573. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  3574. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  3575. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  3576. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  3577. - Pick size of default geoip filename string correctly on windows.
  3578. Fixes bug 806. Bugfix on 0.2.0.30.
  3579. - Make the autoconf script accept the obsolete --with-ssl-dir
  3580. option as an alias for the actually-working --with-openssl-dir
  3581. option. Fix the help documentation to recommend --with-openssl-dir.
  3582. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  3583. - When using the TransPort option on OpenBSD, and using the User
  3584. option to change UID and drop privileges, make sure to open
  3585. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  3586. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  3587. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  3588. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  3589. on the client side when connecting to a hidden service. Bugfix
  3590. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  3591. - When closing an application-side connection because its circuit is
  3592. getting torn down, generate the stream event correctly. Bugfix on
  3593. 0.1.2.x. Anonymous patch.
  3594. Changes in version 0.2.1.5-alpha - 2008-08-31
  3595. Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
  3596. in a lot of the infrastructure for adding authorization to hidden
  3597. services, lays the groundwork for having clients read their load
  3598. balancing information out of the networkstatus consensus rather than
  3599. the individual router descriptors, addresses two potential anonymity
  3600. issues, and fixes a variety of smaller issues.
  3601. o Major features:
  3602. - Convert many internal address representations to optionally hold
  3603. IPv6 addresses.
  3604. - Generate and accept IPv6 addresses in many protocol elements.
  3605. - Make resolver code handle nameservers located at ipv6 addresses.
  3606. - Begin implementation of proposal 121 ("Client authorization for
  3607. hidden services"): configure hidden services with client
  3608. authorization, publish descriptors for them, and configure
  3609. authorization data for hidden services at clients. The next
  3610. step is to actually access hidden services that perform client
  3611. authorization.
  3612. - More progress toward proposal 141: Network status consensus
  3613. documents and votes now contain bandwidth information for each
  3614. router and a summary of that router's exit policy. Eventually this
  3615. will be used by clients so that they do not have to download every
  3616. known descriptor before building circuits.
  3617. o Major bugfixes (on 0.2.0.x and before):
  3618. - When sending CREATED cells back for a given circuit, use a 64-bit
  3619. connection ID to find the right connection, rather than an addr:port
  3620. combination. Now that we can have multiple OR connections between
  3621. the same ORs, it is no longer possible to use addr:port to uniquely
  3622. identify a connection.
  3623. - Relays now reject risky extend cells: if the extend cell includes
  3624. a digest of all zeroes, or asks to extend back to the relay that
  3625. sent the extend cell, tear down the circuit. Ideas suggested
  3626. by rovv.
  3627. - If not enough of our entry guards are available so we add a new
  3628. one, we might use the new one even if it overlapped with the
  3629. current circuit's exit relay (or its family). Anonymity bugfix
  3630. pointed out by rovv.
  3631. o Minor bugfixes:
  3632. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  3633. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  3634. - When using the TransPort option on OpenBSD, and using the User
  3635. option to change UID and drop privileges, make sure to open /dev/pf
  3636. before dropping privileges. Fixes bug 782. Patch from Christopher
  3637. Davis. Bugfix on 0.1.2.1-alpha.
  3638. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  3639. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  3640. - Add a missing safe_str() call for a debug log message.
  3641. - Use 64 bits instead of 32 bits for connection identifiers used with
  3642. the controller protocol, to greatly reduce risk of identifier reuse.
  3643. - Make the autoconf script accept the obsolete --with-ssl-dir
  3644. option as an alias for the actually-working --with-openssl-dir
  3645. option. Fix the help documentation to recommend --with-openssl-dir.
  3646. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  3647. o Minor features:
  3648. - Rate-limit too-many-sockets messages: when they happen, they happen
  3649. a lot. Resolves bug 748.
  3650. - Resist DNS poisoning a little better by making sure that names in
  3651. answer sections match.
  3652. - Print the SOCKS5 error message string as well as the error code
  3653. when a tor-resolve request fails. Patch from Jacob.
  3654. Changes in version 0.2.1.4-alpha - 2008-08-04
  3655. Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
  3656. o Major bugfixes:
  3657. - The address part of exit policies was not correctly written
  3658. to router descriptors. This generated router descriptors that failed
  3659. their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
  3660. on 0.2.1.3-alpha.
  3661. - Tor triggered a false assert when extending a circuit to a relay
  3662. but we already have a connection open to that relay. Noticed by
  3663. phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
  3664. o Minor bugfixes:
  3665. - Fix a hidden service logging bug: in some edge cases, the router
  3666. descriptor of a previously picked introduction point becomes
  3667. obsolete and we need to give up on it rather than continually
  3668. complaining that it has become obsolete. Observed by xiando. Bugfix
  3669. on 0.2.1.3-alpha.
  3670. o Removed features:
  3671. - Take out the TestVia config option, since it was a workaround for
  3672. a bug that was fixed in Tor 0.1.1.21.
  3673. Changes in version 0.2.1.3-alpha - 2008-08-03
  3674. Tor 0.2.1.3-alpha implements most of the pieces to prevent
  3675. infinite-length circuit attacks (see proposal 110); fixes a bug that
  3676. might cause exit relays to corrupt streams they send back; allows
  3677. address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
  3678. ExcludeExitNodes config options; and fixes a big pile of bugs.
  3679. o Bootstrapping bugfixes (on 0.2.1.x-alpha):
  3680. - Send a bootstrap problem "warn" event on the first problem if the
  3681. reason is NO_ROUTE (that is, our network is down).
  3682. o Major features:
  3683. - Implement most of proposal 110: The first K cells to be sent
  3684. along a circuit are marked as special "early" cells; only K "early"
  3685. cells will be allowed. Once this code is universal, we can block
  3686. certain kinds of DOS attack by requiring that EXTEND commands must
  3687. be sent using an "early" cell.
  3688. o Major bugfixes:
  3689. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  3690. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  3691. on the client side when connecting to a hidden service. Bugfix
  3692. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  3693. - Ensure that two circuits can never exist on the same connection
  3694. with the same circuit ID, even if one is marked for close. This
  3695. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  3696. o Minor features:
  3697. - When relays do their initial bandwidth measurement, don't limit
  3698. to just our entry guards for the test circuits. Otherwise we tend
  3699. to have multiple test circuits going through a single entry guard,
  3700. which makes our bandwidth test less accurate. Fixes part of bug 654;
  3701. patch contributed by Josh Albrecht.
  3702. - Add an ExcludeExitNodes option so users can list a set of nodes
  3703. that should be be excluded from the exit node position, but
  3704. allowed elsewhere. Implements proposal 151.
  3705. - Allow address patterns (e.g., 255.128.0.0/16) to appear in
  3706. ExcludeNodes and ExcludeExitNodes lists.
  3707. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  3708. be more efficient. Formerly it was quadratic in the number of
  3709. servers; now it should be linear. Fixes bug 509.
  3710. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  3711. and n_conn_id_digest fields into a separate structure that's
  3712. only needed when the circuit has not yet attached to an n_conn.
  3713. o Minor bugfixes:
  3714. - Change the contrib/tor.logrotate script so it makes the new
  3715. logs as "_tor:_tor" rather than the default, which is generally
  3716. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  3717. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  3718. warnings (occasionally), but it can also cause the compiler to
  3719. eliminate error-checking code. Suggested by Peter Gutmann.
  3720. - When a hidden service is giving up on an introduction point candidate
  3721. that was not included in the last published rendezvous descriptor,
  3722. don't reschedule publication of the next descriptor. Fixes bug 763.
  3723. Bugfix on 0.0.9.3.
  3724. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  3725. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  3726. and nobody claims to be using them. Fixes bug 754. Bugfix on
  3727. 0.1.0.1-rc. Patch from Christian Wilms.
  3728. - Fix a small alignment and memory-wasting bug on buffer chunks.
  3729. Spotted by rovv.
  3730. o Minor bugfixes (controller):
  3731. - When closing an application-side connection because its circuit
  3732. is getting torn down, generate the stream event correctly.
  3733. Bugfix on 0.1.2.x. Anonymous patch.
  3734. o Removed features:
  3735. - Remove all backward-compatibility code to support relays running
  3736. versions of Tor so old that they no longer work at all on the
  3737. Tor network.
  3738. Changes in version 0.2.0.30 - 2008-07-15
  3739. o Minor bugfixes:
  3740. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  3741. warnings (occasionally), but it can also cause the compiler to
  3742. eliminate error-checking code. Suggested by Peter Gutmann.
  3743. Changes in version 0.2.0.29-rc - 2008-07-08
  3744. Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
  3745. hidden-service performance bugs, and fixes a bunch of smaller bugs.
  3746. o Major bugfixes:
  3747. - If you have more than one bridge but don't know their keys,
  3748. you would only launch a request for the descriptor of the first one
  3749. on your list. (Tor considered launching requests for the others, but
  3750. found that it already had a connection on the way for $0000...0000
  3751. so it didn't open another.) Bugfix on 0.2.0.x.
  3752. - If you have more than one bridge but don't know their keys, and the
  3753. connection to one of the bridges failed, you would cancel all
  3754. pending bridge connections. (After all, they all have the same
  3755. digest.) Bugfix on 0.2.0.x.
  3756. - When a hidden service was trying to establish an introduction point,
  3757. and Tor had built circuits preemptively for such purposes, we
  3758. were ignoring all the preemptive circuits and launching a new one
  3759. instead. Bugfix on 0.2.0.14-alpha.
  3760. - When a hidden service was trying to establish an introduction point,
  3761. and Tor *did* manage to reuse one of the preemptively built
  3762. circuits, it didn't correctly remember which one it used,
  3763. so it asked for another one soon after, until there were no
  3764. more preemptive circuits, at which point it launched one from
  3765. scratch. Bugfix on 0.0.9.x.
  3766. - Make directory servers include the X-Your-Address-Is: http header in
  3767. their responses even for begin_dir conns. Now clients who only
  3768. ever use begin_dir connections still have a way to learn their IP
  3769. address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
  3770. o Minor bugfixes:
  3771. - Fix a macro/CPP interaction that was confusing some compilers:
  3772. some GCCs don't like #if/#endif pairs inside macro arguments.
  3773. Fixes bug 707.
  3774. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  3775. Fixes bug 704; fix from Steven Murdoch.
  3776. - When opening /dev/null in finish_daemonize(), do not pass the
  3777. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  3778. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  3779. - Correctly detect transparent proxy support on Linux hosts that
  3780. require in.h to be included before netfilter_ipv4.h. Patch
  3781. from coderman.
  3782. - Disallow session resumption attempts during the renegotiation
  3783. stage of the v2 handshake protocol. Clients should never be trying
  3784. session resumption at this point, but apparently some did, in
  3785. ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
  3786. found by Geoff Goodell.
  3787. Changes in version 0.2.1.2-alpha - 2008-06-20
  3788. Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
  3789. make it easier to set up your own private Tor network; fixes several
  3790. big bugs with using more than one bridge relay; fixes a big bug with
  3791. offering hidden services quickly after Tor starts; and uses a better
  3792. API for reporting potential bootstrapping problems to the controller.
  3793. o Major features:
  3794. - New TestingTorNetwork config option to allow adjustment of
  3795. previously constant values that, while reasonable, could slow
  3796. bootstrapping. Implements proposal 135. Patch from Karsten.
  3797. o Major bugfixes:
  3798. - If you have more than one bridge but don't know their digests,
  3799. you would only learn a request for the descriptor of the first one
  3800. on your list. (Tor considered launching requests for the others, but
  3801. found that it already had a connection on the way for $0000...0000
  3802. so it didn't open another.) Bugfix on 0.2.0.x.
  3803. - If you have more than one bridge but don't know their digests,
  3804. and the connection to one of the bridges failed, you would cancel
  3805. all pending bridge connections. (After all, they all have the
  3806. same digest.) Bugfix on 0.2.0.x.
  3807. - When establishing a hidden service, introduction points that
  3808. originate from cannibalized circuits are completely ignored and not
  3809. included in rendezvous service descriptors. This might be another
  3810. reason for delay in making a hidden service available. Bugfix
  3811. from long ago (0.0.9.x?)
  3812. o Minor features:
  3813. - Allow OpenSSL to use dynamic locks if it wants.
  3814. - When building a consensus, do not include routers that are down.
  3815. This will cut down 30% to 40% on consensus size. Implements
  3816. proposal 138.
  3817. - In directory authorities' approved-routers files, allow
  3818. fingerprints with or without space.
  3819. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  3820. controller can query our current bootstrap state in case it attaches
  3821. partway through and wants to catch up.
  3822. - Send an initial "Starting" bootstrap status event, so we have a
  3823. state to start out in.
  3824. o Minor bugfixes:
  3825. - Asking for a conditional consensus at .../consensus/<fingerprints>
  3826. would crash a dirserver if it did not already have a
  3827. consensus. Bugfix on 0.2.1.1-alpha.
  3828. - Clean up some macro/CPP interactions: some GCC versions don't like
  3829. #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
  3830. 0.2.0.x.
  3831. o Bootstrapping bugfixes (on 0.2.1.1-alpha):
  3832. - Directory authorities shouldn't complain about bootstrapping
  3833. problems just because they do a lot of reachability testing and
  3834. some of the connection attempts fail.
  3835. - Start sending "count" and "recommendation" key/value pairs in
  3836. bootstrap problem status events, so the controller can hear about
  3837. problems even before Tor decides they're worth reporting for sure.
  3838. - If you're using bridges, generate "bootstrap problem" warnings
  3839. as soon as you run out of working bridges, rather than waiting
  3840. for ten failures -- which will never happen if you have less than
  3841. ten bridges.
  3842. - If we close our OR connection because there's been a circuit
  3843. pending on it for too long, we were telling our bootstrap status
  3844. events "REASON=NONE". Now tell them "REASON=TIMEOUT".
  3845. Changes in version 0.2.1.1-alpha - 2008-06-13
  3846. Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
  3847. were making the Tor process bloat especially on Linux; makes our TLS
  3848. handshake blend in better; sends "bootstrap phase" status events to
  3849. the controller, so it can keep the user informed of progress (and
  3850. problems) fetching directory information and establishing circuits;
  3851. and adds a variety of smaller features.
  3852. o Major features:
  3853. - More work on making our TLS handshake blend in: modify the list
  3854. of ciphers advertised by OpenSSL in client mode to even more
  3855. closely resemble a common web browser. We cheat a little so that
  3856. we can advertise ciphers that the locally installed OpenSSL doesn't
  3857. know about.
  3858. - Start sending "bootstrap phase" status events to the controller,
  3859. so it can keep the user informed of progress fetching directory
  3860. information and establishing circuits. Also inform the controller
  3861. if we think we're stuck at a particular bootstrap phase. Implements
  3862. proposal 137.
  3863. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  3864. cross-platform entropy collection again. We used to use it, then
  3865. stopped using it because of a bug that could crash systems that
  3866. called RAND_poll when they had a lot of fds open. It looks like the
  3867. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  3868. at startup, and to call RAND_poll() when we reseed later only if
  3869. we have a non-buggy OpenSSL version.
  3870. o Major bugfixes:
  3871. - When we choose to abandon a new entry guard because we think our
  3872. older ones might be better, close any circuits pending on that
  3873. new entry guard connection. This fix should make us recover much
  3874. faster when our network is down and then comes back. Bugfix on
  3875. 0.1.2.8-beta; found by lodger.
  3876. o Memory fixes and improvements:
  3877. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  3878. to avoid unused RAM in buffer chunks and memory pools.
  3879. - Speed up parsing and cut down on memory fragmentation by using
  3880. stack-style allocations for parsing directory objects. Previously,
  3881. this accounted for over 40% of allocations from within Tor's code
  3882. on a typical directory cache.
  3883. - Use a Bloom filter rather than a digest-based set to track which
  3884. descriptors we need to keep around when we're cleaning out old
  3885. router descriptors. This speeds up the computation significantly,
  3886. and may reduce fragmentation.
  3887. - Reduce the default smartlist size from 32 to 16; it turns out that
  3888. most smartlists hold around 8-12 elements tops.
  3889. - Make dumpstats() log the fullness and size of openssl-internal
  3890. buffers.
  3891. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  3892. patch to their OpenSSL, turn it on to save memory on servers. This
  3893. patch will (with any luck) get included in a mainline distribution
  3894. before too long.
  3895. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  3896. compress cells, which are basically all encrypted, compressed,
  3897. or both.
  3898. o Minor bugfixes:
  3899. - Stop reloading the router list from disk for no reason when we
  3900. run out of reachable directory mirrors. Once upon a time reloading
  3901. it would set the 'is_running' flag back to 1 for them. It hasn't
  3902. done that for a long time.
  3903. - In very rare situations new hidden service descriptors were
  3904. published earlier than 30 seconds after the last change to the
  3905. service. (We currently think that a hidden service descriptor
  3906. that's been stable for 30 seconds is worth publishing.)
  3907. o Minor features:
  3908. - Allow separate log levels to be configured for different logging
  3909. domains. For example, this allows one to log all notices, warnings,
  3910. or errors, plus all memory management messages of level debug or
  3911. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  3912. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  3913. and stop using a warning that had become unfixably verbose under
  3914. GCC 4.3.
  3915. - New --hush command-line option similar to --quiet. While --quiet
  3916. disables all logging to the console on startup, --hush limits the
  3917. output to messages of warning and error severity.
  3918. - Servers support a new URL scheme for consensus downloads that
  3919. allows the client to specify which authorities are trusted.
  3920. The server then only sends the consensus if the client will trust
  3921. it. Otherwise a 404 error is sent back. Clients use this
  3922. new scheme when the server supports it (meaning it's running
  3923. 0.2.1.1-alpha or later). Implements proposal 134.
  3924. - New configure/torrc options (--enable-geoip-stats,
  3925. DirRecordUsageByCountry) to record how many IPs we've served
  3926. directory info to in each country code, how many status documents
  3927. total we've sent to each country code, and what share of the total
  3928. directory requests we should expect to see.
  3929. - Use the TLS1 hostname extension to more closely resemble browser
  3930. behavior.
  3931. - Lots of new unit tests.
  3932. - Add a macro to implement the common pattern of iterating through
  3933. two parallel lists in lockstep.
  3934. Changes in version 0.2.0.28-rc - 2008-06-13
  3935. Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
  3936. performance bug, and fixes a bunch of smaller bugs.
  3937. o Anonymity fixes:
  3938. - Fix a bug where, when we were choosing the 'end stream reason' to
  3939. put in our relay end cell that we send to the exit relay, Tor
  3940. clients on Windows were sometimes sending the wrong 'reason'. The
  3941. anonymity problem is that exit relays may be able to guess whether
  3942. the client is running Windows, thus helping partition the anonymity
  3943. set. Down the road we should stop sending reasons to exit relays,
  3944. or otherwise prevent future versions of this bug.
  3945. o Major bugfixes:
  3946. - While setting up a hidden service, some valid introduction circuits
  3947. were overlooked and abandoned. This might be the reason for
  3948. the long delay in making a hidden service available. Bugfix on
  3949. 0.2.0.14-alpha.
  3950. o Minor features:
  3951. - Update to the "June 9 2008" ip-to-country file.
  3952. - Run 'make test' as part of 'make dist', so we stop releasing so
  3953. many development snapshots that fail their unit tests.
  3954. o Minor bugfixes:
  3955. - When we're checking if we have enough dir info for each relay
  3956. to begin establishing circuits, make sure that we actually have
  3957. the descriptor listed in the consensus, not just any descriptor.
  3958. Bugfix on 0.1.2.x.
  3959. - Bridge relays no longer print "xx=0" in their extrainfo document
  3960. for every single country code in the geoip db. Bugfix on
  3961. 0.2.0.27-rc.
  3962. - Only warn when we fail to load the geoip file if we were planning to
  3963. include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
  3964. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  3965. Tor won't realize it should publish a new relay descriptor. Fixes
  3966. bug 688, reported by mfr. Bugfix on 0.1.2.x.
  3967. - When we haven't had any application requests lately, don't bother
  3968. logging that we have expired a bunch of descriptors. Bugfix
  3969. on 0.1.2.x.
  3970. - Make relay cells written on a connection count as non-padding when
  3971. tracking how long a connection has been in use. Bugfix on
  3972. 0.2.0.1-alpha. Spotted by lodger.
  3973. - Fix unit tests in 0.2.0.27-rc.
  3974. - Fix compile on Windows.
  3975. Changes in version 0.2.0.27-rc - 2008-06-03
  3976. Tor 0.2.0.27-rc adds a few features we left out of the earlier
  3977. release candidates. In particular, we now include an IP-to-country
  3978. GeoIP database, so controllers can easily look up what country a
  3979. given relay is in, and so bridge relays can give us some sanitized
  3980. summaries about which countries are making use of bridges. (See proposal
  3981. 126-geoip-fetching.txt for details.)
  3982. o Major features:
  3983. - Include an IP-to-country GeoIP file in the tarball, so bridge
  3984. relays can report sanitized summaries of the usage they're seeing.
  3985. o Minor features:
  3986. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  3987. Robert Hogan. Fixes the first part of bug 681.
  3988. - Make bridge authorities never serve extrainfo docs.
  3989. - Add support to detect Libevent versions in the 1.4.x series
  3990. on mingw.
  3991. - Fix build on gcc 4.3 with --enable-gcc-warnings set.
  3992. - Include a new contrib/tor-exit-notice.html file that exit relay
  3993. operators can put on their website to help reduce abuse queries.
  3994. o Minor bugfixes:
  3995. - When tunneling an encrypted directory connection, and its first
  3996. circuit fails, do not leave it unattached and ask the controller
  3997. to deal. Fixes the second part of bug 681.
  3998. - Make bridge authorities correctly expire old extrainfo documents
  3999. from time to time.
  4000. Changes in version 0.2.0.26-rc - 2008-05-13
  4001. Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
  4002. in Debian's OpenSSL packages. All users running any 0.2.0.x version
  4003. should upgrade, whether they're running Debian or not.
  4004. o Major security fixes:
  4005. - Use new V3 directory authority keys on the tor26, gabelmoo, and
  4006. moria1 V3 directory authorities. The old keys were generated with
  4007. a vulnerable version of Debian's OpenSSL package, and must be
  4008. considered compromised. Other authorities' keys were not generated
  4009. with an affected version of OpenSSL.
  4010. o Major bugfixes:
  4011. - List authority signatures as "unrecognized" based on DirServer
  4012. lines, not on cert cache. Bugfix on 0.2.0.x.
  4013. o Minor features:
  4014. - Add a new V3AuthUseLegacyKey option to make it easier for
  4015. authorities to change their identity keys if they have to.
  4016. Changes in version 0.2.0.25-rc - 2008-04-23
  4017. Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
  4018. o Major bugfixes:
  4019. - Remember to initialize threading before initializing logging.
  4020. Otherwise, many BSD-family implementations will crash hard on
  4021. startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
  4022. o Minor bugfixes:
  4023. - Authorities correctly free policies on bad servers on
  4024. exit. Fixes bug 672. Bugfix on 0.2.0.x.
  4025. Changes in version 0.2.0.24-rc - 2008-04-22
  4026. Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
  4027. v3 directory authority, makes relays with dynamic IP addresses and no
  4028. DirPort notice more quickly when their IP address changes, fixes a few
  4029. rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
  4030. o New directory authorities:
  4031. - Take lefkada out of the list of v3 directory authorities, since
  4032. it has been down for months.
  4033. - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
  4034. authority.
  4035. o Major bugfixes:
  4036. - Detect address changes more quickly on non-directory mirror
  4037. relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
  4038. o Minor features (security):
  4039. - Reject requests for reverse-dns lookup of names that are in
  4040. a private address space. Patch from lodger.
  4041. - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
  4042. from lodger.
  4043. o Minor bugfixes (crashes):
  4044. - Avoid a rare assert that can trigger when Tor doesn't have much
  4045. directory information yet and it tries to fetch a v2 hidden
  4046. service descriptor. Fixes bug 651, reported by nwf.
  4047. - Initialize log mutex before initializing dmalloc. Otherwise,
  4048. running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
  4049. - Use recursive pthread mutexes in order to avoid deadlock when
  4050. logging debug-level messages to a controller. Bug spotted by nwf,
  4051. bugfix on 0.2.0.16-alpha.
  4052. o Minor bugfixes (resource management):
  4053. - Keep address policies from leaking memory: start their refcount
  4054. at 1, not 2. Bugfix on 0.2.0.16-alpha.
  4055. - Free authority certificates on exit, so they don't look like memory
  4056. leaks. Bugfix on 0.2.0.19-alpha.
  4057. - Free static hashtables for policy maps and for TLS connections on
  4058. shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
  4059. - Avoid allocating extra space when computing consensuses on 64-bit
  4060. platforms. Bug spotted by aakova.
  4061. o Minor bugfixes (misc):
  4062. - Do not read the configuration file when we've only been told to
  4063. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  4064. based on patch from Sebastian Hahn.
  4065. - Exit relays that are used as a client can now reach themselves
  4066. using the .exit notation, rather than just launching an infinite
  4067. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  4068. - When attempting to open a logfile fails, tell us why.
  4069. - Fix a dumb bug that was preventing us from knowing that we should
  4070. preemptively build circuits to handle expected directory requests.
  4071. Fixes bug 660. Bugfix on 0.1.2.x.
  4072. - Warn less verbosely about clock skew from netinfo cells from
  4073. untrusted sources. Fixes bug 663.
  4074. - Make controller stream events for DNS requests more consistent,
  4075. by adding "new stream" events for DNS requests, and removing
  4076. spurious "stream closed" events" for cached reverse resolves.
  4077. Patch from mwenge. Fixes bug 646.
  4078. - Correctly notify one-hop connections when a circuit build has
  4079. failed. Possible fix for bug 669. Found by lodger.
  4080. Changes in version 0.2.0.23-rc - 2008-03-24
  4081. Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
  4082. makes bootstrapping faster if the first directory mirror you contact
  4083. is down. The bundles also include the new Vidalia 0.1.2 release.
  4084. o Major bugfixes:
  4085. - When a tunneled directory request is made to a directory server
  4086. that's down, notice after 30 seconds rather than 120 seconds. Also,
  4087. fail any begindir streams that are pending on it, so they can
  4088. retry elsewhere. This was causing multi-minute delays on bootstrap.
  4089. Changes in version 0.2.0.22-rc - 2008-03-18
  4090. Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
  4091. enables encrypted directory connections by default for non-relays, fixes
  4092. some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
  4093. other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
  4094. o Major features:
  4095. - Enable encrypted directory connections by default for non-relays,
  4096. so censor tools that block Tor directory connections based on their
  4097. plaintext patterns will no longer work. This means Tor works in
  4098. certain censored countries by default again.
  4099. o Major bugfixes:
  4100. - Make sure servers always request certificates from clients during
  4101. TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
  4102. - Do not enter a CPU-eating loop when a connection is closed in
  4103. the middle of client-side TLS renegotiation. Fixes bug 622. Bug
  4104. diagnosed by lodger; bugfix on 0.2.0.20-rc.
  4105. - Fix assertion failure that could occur when a blocked circuit
  4106. became unblocked, and it had pending client DNS requests. Bugfix
  4107. on 0.2.0.1-alpha. Fixes bug 632.
  4108. o Minor bugfixes (on 0.1.2.x):
  4109. - Generate "STATUS_SERVER" events rather than misspelled
  4110. "STATUS_SEVER" events. Caught by mwenge.
  4111. - When counting the number of bytes written on a TLS connection,
  4112. look at the BIO actually used for writing to the network, not
  4113. at the BIO used (sometimes) to buffer data for the network.
  4114. Looking at different BIOs could result in write counts on the
  4115. order of ULONG_MAX. Fixes bug 614.
  4116. - On Windows, correctly detect errors when listing the contents of
  4117. a directory. Fix from lodger.
  4118. o Minor bugfixes (on 0.2.0.x):
  4119. - Downgrade "sslv3 alert handshake failure" message to INFO.
  4120. - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
  4121. left BandwidthRate and BandwidthBurst at the default, we would be
  4122. silently limited by those defaults. Now raise them to match the
  4123. RelayBandwidth* values.
  4124. - Fix the SVK version detection logic to work correctly on a branch.
  4125. - Make --enable-openbsd-malloc work correctly on Linux with alpha
  4126. CPUs. Fixes bug 625.
  4127. - Logging functions now check that the passed severity is sane.
  4128. - Use proper log levels in the testsuite call of
  4129. get_interface_address6().
  4130. - When using a nonstandard malloc, do not use the platform values for
  4131. HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
  4132. - Make the openbsd malloc code use 8k pages on alpha CPUs and
  4133. 16k pages on ia64.
  4134. - Detect mismatched page sizes when using --enable-openbsd-malloc.
  4135. - Avoid double-marked-for-close warning when certain kinds of invalid
  4136. .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
  4137. for bug 617. Bugfix on 0.2.0.1-alpha.
  4138. - Make sure that the "NULL-means-reject *:*" convention is followed by
  4139. all the policy manipulation functions, avoiding some possible crash
  4140. bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
  4141. - Fix the implementation of ClientDNSRejectInternalAddresses so that it
  4142. actually works, and doesn't warn about every single reverse lookup.
  4143. Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
  4144. o Minor features:
  4145. - Only log guard node status when guard node status has changed.
  4146. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  4147. make "INFO" 75% less verbose.
  4148. Changes in version 0.2.0.21-rc - 2008-03-02
  4149. Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
  4150. makes Tor work well with Vidalia again, fixes a rare assert bug,
  4151. and fixes a pair of more minor bugs. The bundles also include Vidalia
  4152. 0.1.0 and Torbutton 1.1.16.
  4153. o Major bugfixes:
  4154. - The control port should declare that it requires password auth
  4155. when HashedControlSessionPassword is set too. Patch from Matt Edman;
  4156. bugfix on 0.2.0.20-rc. Fixes bug 615.
  4157. - Downgrade assert in connection_buckets_decrement() to a log message.
  4158. This may help us solve bug 614, and in any case will make its
  4159. symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
  4160. - We were sometimes miscounting the number of bytes read from the
  4161. network, causing our rate limiting to not be followed exactly.
  4162. Bugfix on 0.2.0.16-alpha. Reported by lodger.
  4163. o Minor bugfixes:
  4164. - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
  4165. OpenSSL versions should have been working fine. Diagnosis and patch
  4166. from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
  4167. Bugfix on 0.2.0.20-rc.
  4168. Changes in version 0.2.0.20-rc - 2008-02-24
  4169. Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
  4170. makes more progress towards normalizing Tor's TLS handshake, makes
  4171. hidden services work better again, helps relays bootstrap if they don't
  4172. know their IP address, adds optional support for linking in openbsd's
  4173. allocator or tcmalloc, allows really fast relays to scale past 15000
  4174. sockets, and fixes a bunch of minor bugs reported by Veracode.
  4175. o Major features:
  4176. - Enable the revised TLS handshake based on the one designed by
  4177. Steven Murdoch in proposal 124, as revised in proposal 130. It
  4178. includes version negotiation for OR connections as described in
  4179. proposal 105. The new handshake is meant to be harder for censors
  4180. to fingerprint, and it adds the ability to detect certain kinds of
  4181. man-in-the-middle traffic analysis attacks. The version negotiation
  4182. feature will allow us to improve Tor's link protocol more safely
  4183. in the future.
  4184. - Choose which bridge to use proportional to its advertised bandwidth,
  4185. rather than uniformly at random. This should speed up Tor for
  4186. bridge users. Also do this for people who set StrictEntryNodes.
  4187. - When a TrackHostExits-chosen exit fails too many times in a row,
  4188. stop using it. Bugfix on 0.1.2.x; fixes bug 437.
  4189. o Major bugfixes:
  4190. - Resolved problems with (re-)fetching hidden service descriptors.
  4191. Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
  4192. and 0.2.0.19-alpha.
  4193. - If we only ever used Tor for hidden service lookups or posts, we
  4194. would stop building circuits and start refusing connections after
  4195. 24 hours, since we falsely believed that Tor was dormant. Reported
  4196. by nwf; bugfix on 0.1.2.x.
  4197. - Servers that don't know their own IP address should go to the
  4198. authorities for their first directory fetch, even if their DirPort
  4199. is off or if they don't know they're reachable yet. This will help
  4200. them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
  4201. - When counting the number of open sockets, count not only the number
  4202. of sockets we have received from the socket() call, but also
  4203. the number we've gotten from accept() and socketpair(). This bug
  4204. made us fail to count all sockets that we were using for incoming
  4205. connections. Bugfix on 0.2.0.x.
  4206. - Fix code used to find strings within buffers, when those strings
  4207. are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
  4208. - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
  4209. - Add a new __HashedControlSessionPassword option for controllers
  4210. to use for one-off session password hashes that shouldn't get
  4211. saved to disk by SAVECONF --- Vidalia users were accumulating a
  4212. pile of HashedControlPassword lines in their torrc files, one for
  4213. each time they had restarted Tor and then clicked Save. Make Tor
  4214. automatically convert "HashedControlPassword" to this new option but
  4215. only when it's given on the command line. Partial fix for bug 586.
  4216. o Minor features (performance):
  4217. - Tune parameters for cell pool allocation to minimize amount of
  4218. RAM overhead used.
  4219. - Add OpenBSD malloc code from phk as an optional malloc
  4220. replacement on Linux: some glibc libraries do very poorly
  4221. with Tor's memory allocation patterns. Pass
  4222. --enable-openbsd-malloc to get the replacement malloc code.
  4223. - Add a --with-tcmalloc option to the configure script to link
  4224. against tcmalloc (if present). Does not yet search for
  4225. non-system include paths.
  4226. - Stop imposing an arbitrary maximum on the number of file descriptors
  4227. used for busy servers. Bug reported by Olaf Selke; patch from
  4228. Sebastian Hahn.
  4229. o Minor features (other):
  4230. - When SafeLogging is disabled, log addresses along with all TLS
  4231. errors.
  4232. - When building with --enable-gcc-warnings, check for whether Apple's
  4233. warning "-Wshorten-64-to-32" is available.
  4234. - Add a --passphrase-fd argument to the tor-gencert command for
  4235. scriptability.
  4236. o Minor bugfixes (memory leaks and code problems):
  4237. - We were leaking a file descriptor if Tor started with a zero-length
  4238. cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
  4239. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  4240. Dan Kaminsky.
  4241. - We were comparing the raw BridgePassword entry with a base64'ed
  4242. version of it, when handling a "/tor/networkstatus-bridges"
  4243. directory request. Now compare correctly. Noticed by Veracode.
  4244. - Recover from bad tracked-since value in MTBF-history file.
  4245. Should fix bug 537.
  4246. - Alter the code that tries to recover from unhandled write
  4247. errors, to not try to flush onto a socket that's given us
  4248. unhandled errors. Bugfix on 0.1.2.x.
  4249. - Make Unix controlsockets work correctly on OpenBSD. Patch from
  4250. tup. Bugfix on 0.2.0.3-alpha.
  4251. o Minor bugfixes (other):
  4252. - If we have an extra-info document for our server, always make
  4253. it available on the control port, even if we haven't gotten
  4254. a copy of it from an authority yet. Patch from mwenge.
  4255. - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
  4256. - Directory mirrors no longer include a guess at the client's IP
  4257. address if the connection appears to be coming from the same /24
  4258. network; it was producing too many wrong guesses.
  4259. - Make the new hidden service code respect the SafeLogging setting.
  4260. Bugfix on 0.2.0.x. Patch from Karsten.
  4261. - When starting as an authority, do not overwrite all certificates
  4262. cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
  4263. - If we're trying to flush the last bytes on a connection (for
  4264. example, when answering a directory request), reset the
  4265. time-to-give-up timeout every time we manage to write something
  4266. on the socket. Bugfix on 0.1.2.x.
  4267. - Change the behavior of "getinfo status/good-server-descriptor"
  4268. so it doesn't return failure when any authority disappears.
  4269. - Even though the man page said that "TrackHostExits ." should
  4270. work, nobody had ever implemented it. Bugfix on 0.1.0.x.
  4271. - Report TLS "zero return" case as a "clean close" and "IO error"
  4272. as a "close". Stop calling closes "unexpected closes": existing
  4273. Tors don't use SSL_close(), so having a connection close without
  4274. the TLS shutdown handshake is hardly unexpected.
  4275. - Send NAMESERVER_STATUS messages for a single failed nameserver
  4276. correctly.
  4277. o Code simplifications and refactoring:
  4278. - Remove the tor_strpartition function: its logic was confused,
  4279. and it was only used for one thing that could be implemented far
  4280. more easily.
  4281. Changes in version 0.2.0.19-alpha - 2008-02-09
  4282. Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
  4283. handshake, makes path selection for relays more secure and IP address
  4284. guessing more robust, and generally fixes a lot of bugs in preparation
  4285. for calling the 0.2.0 branch stable.
  4286. o Major features:
  4287. - Do not include recognizeable strings in the commonname part of
  4288. Tor's x509 certificates.
  4289. o Major bugfixes:
  4290. - If we're a relay, avoid picking ourselves as an introduction point,
  4291. a rendezvous point, or as the final hop for internal circuits. Bug
  4292. reported by taranis and lodger. Bugfix on 0.1.2.x.
  4293. - Patch from "Andrew S. Lists" to catch when we contact a directory
  4294. mirror at IP address X and he says we look like we're coming from
  4295. IP address X. Bugfix on 0.1.2.x.
  4296. o Minor features (security):
  4297. - Be more paranoid about overwriting sensitive memory on free(),
  4298. as a defensive programming tactic to ensure forward secrecy.
  4299. o Minor features (directory authority):
  4300. - Actually validate the options passed to AuthDirReject,
  4301. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  4302. - Reject router descriptors with out-of-range bandwidthcapacity or
  4303. bandwidthburst values.
  4304. o Minor features (controller):
  4305. - Reject controller commands over 1MB in length. This keeps rogue
  4306. processes from running us out of memory.
  4307. o Minor features (misc):
  4308. - Give more descriptive well-formedness errors for out-of-range
  4309. hidden service descriptor/protocol versions.
  4310. - Make memory debugging information describe more about history
  4311. of cell allocation, so we can help reduce our memory use.
  4312. o Deprecated features (controller):
  4313. - The status/version/num-versioning and status/version/num-concurring
  4314. GETINFO options are no longer useful in the v3 directory protocol:
  4315. treat them as deprecated, and warn when they're used.
  4316. o Minor bugfixes:
  4317. - When our consensus networkstatus has been expired for a while, stop
  4318. being willing to build circuits using it. Fixes bug 401. Bugfix
  4319. on 0.1.2.x.
  4320. - Directory caches now fetch certificates from all authorities
  4321. listed in a networkstatus consensus, even when they do not
  4322. recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
  4323. - When connecting to a bridge without specifying its key, insert
  4324. the connection into the identity-to-connection map as soon as
  4325. a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
  4326. - Detect versions of OS X where malloc_good_size() is present in the
  4327. library but never actually declared. Resolves bug 587. Bugfix
  4328. on 0.2.0.x.
  4329. - Stop incorrectly truncating zlib responses to directory authority
  4330. signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
  4331. - Stop recommending that every server operator send mail to tor-ops.
  4332. Resolves bug 597. Bugfix on 0.1.2.x.
  4333. - Don't trigger an assert if we start a directory authority with a
  4334. private IP address (like 127.0.0.1).
  4335. - Avoid possible failures when generating a directory with routers
  4336. with over-long versions strings, or too many flags set. Bugfix
  4337. on 0.1.2.x.
  4338. - If an attempt to launch a DNS resolve request over the control
  4339. port fails because we have overrun the limit on the number of
  4340. connections, tell the controller that the request has failed.
  4341. - Avoid using too little bandwidth when our clock skips a few
  4342. seconds. Bugfix on 0.1.2.x.
  4343. - Fix shell error when warning about missing packages in configure
  4344. script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
  4345. - Do not become confused when receiving a spurious VERSIONS-like
  4346. cell from a confused v1 client. Bugfix on 0.2.0.x.
  4347. - Re-fetch v2 (as well as v0) rendezvous descriptors when all
  4348. introduction points for a hidden service have failed. Patch from
  4349. Karsten Loesing. Bugfix on 0.2.0.x.
  4350. o Code simplifications and refactoring:
  4351. - Remove some needless generality from cpuworker code, for improved
  4352. type-safety.
  4353. - Stop overloading the circuit_t.onionskin field for both "onionskin
  4354. from a CREATE cell that we are waiting for a cpuworker to be
  4355. assigned" and "onionskin from an EXTEND cell that we are going to
  4356. send to an OR as soon as we are connected". Might help with bug 600.
  4357. - Add an in-place version of aes_crypt() so that we can avoid doing a
  4358. needless memcpy() call on each cell payload.
  4359. Changes in version 0.2.0.18-alpha - 2008-01-25
  4360. Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
  4361. fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
  4362. that can warn or reject connections to ports generally associated with
  4363. vulnerable-plaintext protocols.
  4364. o New directory authorities:
  4365. - Set up dannenberg (run by CCC) as the sixth v3 directory
  4366. authority.
  4367. o Major bugfixes:
  4368. - Fix a major memory leak when attempting to use the v2 TLS
  4369. handshake code. Bugfix on 0.2.0.x; fixes bug 589.
  4370. - We accidentally enabled the under-development v2 TLS handshake
  4371. code, which was causing log entries like "TLS error while
  4372. renegotiating handshake". Disable it again. Resolves bug 590.
  4373. - We were computing the wrong Content-Length: header for directory
  4374. responses that need to be compressed on the fly, causing clients
  4375. asking for those items to always fail. Bugfix on 0.2.0.x; partially
  4376. fixes bug 593.
  4377. o Major features:
  4378. - Avoid going directly to the directory authorities even if you're a
  4379. relay, if you haven't found yourself reachable yet or if you've
  4380. decided not to advertise your dirport yet. Addresses bug 556.
  4381. - If we've gone 12 hours since our last bandwidth check, and we
  4382. estimate we have less than 50KB bandwidth capacity but we could
  4383. handle more, do another bandwidth test.
  4384. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  4385. Tor can warn and/or refuse connections to ports commonly used with
  4386. vulnerable-plaintext protocols. Currently we warn on ports 23,
  4387. 109, 110, and 143, but we don't reject any.
  4388. o Minor bugfixes:
  4389. - When we setconf ClientOnly to 1, close any current OR and Dir
  4390. listeners. Reported by mwenge.
  4391. - When we get a consensus that's been signed by more people than
  4392. we expect, don't log about it; it's not a big deal. Reported
  4393. by Kyle Williams.
  4394. o Minor features:
  4395. - Don't answer "/tor/networkstatus-bridges" directory requests if
  4396. the request isn't encrypted.
  4397. - Make "ClientOnly 1" config option disable directory ports too.
  4398. - Patches from Karsten Loesing to make v2 hidden services more
  4399. robust: work even when there aren't enough HSDir relays available;
  4400. retry when a v2 rend desc fetch fails; but don't retry if we
  4401. already have a usable v0 rend desc.
  4402. Changes in version 0.2.0.17-alpha - 2008-01-17
  4403. Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
  4404. o Compile fixes:
  4405. - Make the tor-gencert man page get included correctly in the tarball.
  4406. Changes in version 0.2.0.16-alpha - 2008-01-17
  4407. Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
  4408. Loesing, and generally cleans up a lot of features and minor bugs.
  4409. o New directory authorities:
  4410. - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
  4411. authority.
  4412. o Major performance improvements:
  4413. - Switch our old ring buffer implementation for one more like that
  4414. used by free Unix kernels. The wasted space in a buffer with 1mb
  4415. of data will now be more like 8k than 1mb. The new implementation
  4416. also avoids realloc();realloc(); patterns that can contribute to
  4417. memory fragmentation.
  4418. o Minor features:
  4419. - Configuration files now accept C-style strings as values. This
  4420. helps encode characters not allowed in the current configuration
  4421. file format, such as newline or #. Addresses bug 557.
  4422. - Although we fixed bug 539 (where servers would send HTTP status 503
  4423. responses _and_ send a body too), there are still servers out
  4424. there that haven't upgraded. Therefore, make clients parse such
  4425. bodies when they receive them.
  4426. - When we're not serving v2 directory information, there is no reason
  4427. to actually keep any around. Remove the obsolete files and directory
  4428. on startup if they are very old and we aren't going to serve them.
  4429. o Minor performance improvements:
  4430. - Reference-count and share copies of address policy entries; only 5%
  4431. of them were actually distinct.
  4432. - Never walk through the list of logs if we know that no log is
  4433. interested in a given message.
  4434. o Minor bugfixes:
  4435. - When an authority has not signed a consensus, do not try to
  4436. download a nonexistent "certificate with key 00000000". Bugfix
  4437. on 0.2.0.x. Fixes bug 569.
  4438. - Fix a rare assert error when we're closing one of our threads:
  4439. use a mutex to protect the list of logs, so we never write to the
  4440. list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
  4441. bug 575, which is kind of the revenge of bug 222.
  4442. - Patch from Karsten Loesing to complain less at both the client
  4443. and the relay when a relay used to have the HSDir flag but doesn't
  4444. anymore, and we try to upload a hidden service descriptor.
  4445. - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
  4446. 0.2.0.15-alpha.
  4447. - Do not try to download missing certificates until we have tried
  4448. to check our fallback consensus. Fixes bug 583.
  4449. - Make bridges round reported GeoIP stats info up to the nearest
  4450. estimate, not down. Now we can distinguish between "0 people from
  4451. this country" and "1 person from this country".
  4452. - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
  4453. - Avoid possible segfault if key generation fails in
  4454. crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
  4455. - Avoid segfault in the case where a badly behaved v2 versioning
  4456. directory sends a signed networkstatus with missing client-versions.
  4457. Bugfix on 0.1.2.
  4458. - Avoid segfaults on certain complex invocations of
  4459. router_get_by_hexdigest(). Bugfix on 0.1.2.
  4460. - Correct bad index on array access in parse_http_time(). Bugfix
  4461. on 0.2.0.
  4462. - Fix possible bug in vote generation when server versions are present
  4463. but client versions are not.
  4464. - Fix rare bug on REDIRECTSTREAM control command when called with no
  4465. port set: it could erroneously report an error when none had
  4466. happened.
  4467. - Avoid bogus crash-prone, leak-prone tor_realloc when we're
  4468. compressing large objects and find ourselves with more than 4k
  4469. left over. Bugfix on 0.2.0.
  4470. - Fix a small memory leak when setting up a hidden service.
  4471. - Fix a few memory leaks that could in theory happen under bizarre
  4472. error conditions.
  4473. - Fix an assert if we post a general-purpose descriptor via the
  4474. control port but that descriptor isn't mentioned in our current
  4475. network consensus. Bug reported by Jon McLachlan; bugfix on
  4476. 0.2.0.9-alpha.
  4477. o Minor features (controller):
  4478. - Get NS events working again. Patch from tup.
  4479. - The GETCONF command now escapes and quotes configuration values
  4480. that don't otherwise fit into the torrc file.
  4481. - The SETCONF command now handles quoted values correctly.
  4482. o Minor features (directory authorities):
  4483. - New configuration options to override default maximum number of
  4484. servers allowed on a single IP address. This is important for
  4485. running a test network on a single host.
  4486. - Actually implement the -s option to tor-gencert.
  4487. - Add a manual page for tor-gencert.
  4488. o Minor features (bridges):
  4489. - Bridge authorities no longer serve bridge descriptors over
  4490. unencrypted connections.
  4491. o Minor features (other):
  4492. - Add hidden services and DNSPorts to the list of things that make
  4493. Tor accept that it has running ports. Change starting Tor with no
  4494. ports from a fatal error to a warning; we might change it back if
  4495. this turns out to confuse anybody. Fixes bug 579.
  4496. Changes in version 0.1.2.19 - 2008-01-17
  4497. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  4498. exit policy a little bit more conservative so it's safer to run an
  4499. exit relay on a home system, and fixes a variety of smaller issues.
  4500. o Security fixes:
  4501. - Exit policies now reject connections that are addressed to a
  4502. relay's public (external) IP address too, unless
  4503. ExitPolicyRejectPrivate is turned off. We do this because too
  4504. many relays are running nearby to services that trust them based
  4505. on network address.
  4506. o Major bugfixes:
  4507. - When the clock jumps forward a lot, do not allow the bandwidth
  4508. buckets to become negative. Fixes bug 544.
  4509. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  4510. on every successful resolve. Reported by Mike Perry.
  4511. - Purge old entries from the "rephist" database and the hidden
  4512. service descriptor database even when DirPort is zero.
  4513. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  4514. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  4515. crashing or mis-answering these requests.
  4516. - When we decide to send a 503 response to a request for servers, do
  4517. not then also send the server descriptors: this defeats the whole
  4518. purpose. Fixes bug 539.
  4519. o Minor bugfixes:
  4520. - Changing the ExitPolicyRejectPrivate setting should cause us to
  4521. rebuild our server descriptor.
  4522. - Fix handling of hex nicknames when answering controller requests for
  4523. networkstatus by name, or when deciding whether to warn about
  4524. unknown routers in a config option. (Patch from mwenge.)
  4525. - Fix a couple of hard-to-trigger autoconf problems that could result
  4526. in really weird results on platforms whose sys/types.h files define
  4527. nonstandard integer types.
  4528. - Don't try to create the datadir when running --verify-config or
  4529. --hash-password. Resolves bug 540.
  4530. - If we were having problems getting a particular descriptor from the
  4531. directory caches, and then we learned about a new descriptor for
  4532. that router, we weren't resetting our failure count. Reported
  4533. by lodger.
  4534. - Although we fixed bug 539 (where servers would send HTTP status 503
  4535. responses _and_ send a body too), there are still servers out there
  4536. that haven't upgraded. Therefore, make clients parse such bodies
  4537. when they receive them.
  4538. - Run correctly on systems where rlim_t is larger than unsigned long.
  4539. This includes some 64-bit systems.
  4540. - Run correctly on platforms (like some versions of OS X 10.5) where
  4541. the real limit for number of open files is OPEN_FILES, not rlim_max
  4542. from getrlimit(RLIMIT_NOFILES).
  4543. - Avoid a spurious free on base64 failure.
  4544. - Avoid segfaults on certain complex invocations of
  4545. router_get_by_hexdigest().
  4546. - Fix rare bug on REDIRECTSTREAM control command when called with no
  4547. port set: it could erroneously report an error when none had
  4548. happened.
  4549. Changes in version 0.2.0.15-alpha - 2007-12-25
  4550. Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
  4551. features added in 0.2.0.13-alpha.
  4552. o Major bugfixes:
  4553. - Fix several remotely triggerable asserts based on DirPort requests
  4554. for a v2 or v3 networkstatus object before we were prepared. This
  4555. was particularly bad for 0.2.0.13 and later bridge relays, who
  4556. would never have a v2 networkstatus and would thus always crash
  4557. when used. Bugfixes on 0.2.0.x.
  4558. - Estimate the v3 networkstatus size more accurately, rather than
  4559. estimating it at zero bytes and giving it artificially high priority
  4560. compared to other directory requests. Bugfix on 0.2.0.x.
  4561. o Minor bugfixes:
  4562. - Fix configure.in logic for cross-compilation.
  4563. - When we load a bridge descriptor from the cache, and it was
  4564. previously unreachable, mark it as retriable so we won't just
  4565. ignore it. Also, try fetching a new copy immediately. Bugfixes
  4566. on 0.2.0.13-alpha.
  4567. - The bridge GeoIP stats were counting other relays, for example
  4568. self-reachability and authority-reachability tests.
  4569. o Minor features:
  4570. - Support compilation to target iPhone; patch from cjacker huang.
  4571. To build for iPhone, pass the --enable-iphone option to configure.
  4572. Changes in version 0.2.0.14-alpha - 2007-12-23
  4573. o Major bugfixes:
  4574. - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
  4575. without a datadirectory from a previous Tor install. Reported
  4576. by Zax.
  4577. - Fix a crash when we fetch a descriptor that turns out to be
  4578. unexpected (it used to be in our networkstatus when we started
  4579. fetching it, but it isn't in our current networkstatus), and we
  4580. aren't using bridges. Bugfix on 0.2.0.x.
  4581. - Fix a crash when accessing hidden services: it would work the first
  4582. time you use a given introduction point for your service, but
  4583. on subsequent requests we'd be using garbage memory. Fixed by
  4584. Karsten Loesing. Bugfix on 0.2.0.13-alpha.
  4585. - Fix a crash when we load a bridge descriptor from disk but we don't
  4586. currently have a Bridge line for it in our torrc. Bugfix on
  4587. 0.2.0.13-alpha.
  4588. o Major features:
  4589. - If bridge authorities set BridgePassword, they will serve a
  4590. snapshot of known bridge routerstatuses from their DirPort to
  4591. anybody who knows that password. Unset by default.
  4592. o Minor bugfixes:
  4593. - Make the unit tests build again.
  4594. - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
  4595. - Make PublishServerDescriptor default to 1, so the default doesn't
  4596. have to change as we invent new directory protocol versions.
  4597. - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
  4598. be included unless sys/time.h is already included. Fixes
  4599. bug 553. Bugfix on 0.2.0.x.
  4600. - If we receive a general-purpose descriptor and then receive an
  4601. identical bridge-purpose descriptor soon after, don't discard
  4602. the next one as a duplicate.
  4603. o Minor features:
  4604. - If BridgeRelay is set to 1, then the default for
  4605. PublishServerDescriptor is now "bridge" rather than "v2,v3".
  4606. - If the user sets RelayBandwidthRate but doesn't set
  4607. RelayBandwidthBurst, then make them equal rather than erroring out.
  4608. Changes in version 0.2.0.13-alpha - 2007-12-21
  4609. Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
  4610. Goodell, fixes many more bugs, and adds a lot of infrastructure for
  4611. upcoming features.
  4612. o New directory authorities:
  4613. - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
  4614. authority.
  4615. o Major bugfixes:
  4616. - Only update guard status (usable / not usable) once we have
  4617. enough directory information. This was causing us to always pick
  4618. two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
  4619. causing us to discard all our guards on startup if we hadn't been
  4620. running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
  4621. - Purge old entries from the "rephist" database and the hidden
  4622. service descriptor databases even when DirPort is zero. Bugfix
  4623. on 0.1.2.x.
  4624. - We were ignoring our RelayBandwidthRate for the first 30 seconds
  4625. after opening a circuit -- even a relayed circuit. Bugfix on
  4626. 0.2.0.3-alpha.
  4627. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  4628. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  4629. crashing or mis-answering these types of requests.
  4630. - Relays were publishing their server descriptor to v1 and v2
  4631. directory authorities, but they didn't try publishing to v3-only
  4632. authorities. Fix this; and also stop publishing to v1 authorities.
  4633. Bugfix on 0.2.0.x.
  4634. - When we were reading router descriptors from cache, we were ignoring
  4635. the annotations -- so for example we were reading in bridge-purpose
  4636. descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
  4637. - When we decided to send a 503 response to a request for servers, we
  4638. were then also sending the server descriptors: this defeats the
  4639. whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
  4640. o Major features:
  4641. - Bridge relays now behave like clients with respect to time
  4642. intervals for downloading new consensus documents -- otherwise they
  4643. stand out. Bridge users now wait until the end of the interval,
  4644. so their bridge relay will be sure to have a new consensus document.
  4645. - Three new config options (AlternateDirAuthority,
  4646. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  4647. user selectively replace the default directory authorities by type,
  4648. rather than the all-or-nothing replacement that DirServer offers.
  4649. - Tor can now be configured to read a GeoIP file from disk in one
  4650. of two formats. This can be used by controllers to map IP addresses
  4651. to countries. Eventually, it may support exit-by-country.
  4652. - When possible, bridge relays remember which countries users
  4653. are coming from, and report aggregate information in their
  4654. extra-info documents, so that the bridge authorities can learn
  4655. where Tor is blocked.
  4656. - Bridge directory authorities now do reachability testing on the
  4657. bridges they know. They provide router status summaries to the
  4658. controller via "getinfo ns/purpose/bridge", and also dump summaries
  4659. to a file periodically.
  4660. - Stop fetching directory info so aggressively if your DirPort is
  4661. on but your ORPort is off; stop fetching v2 dir info entirely.
  4662. You can override these choices with the new FetchDirInfoEarly
  4663. config option.
  4664. o Minor bugfixes:
  4665. - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
  4666. consensus documents when there are too many relays at a single
  4667. IP address. Now clear it in v2 network status documents too, and
  4668. also clear it in routerinfo_t when the relay is no longer listed
  4669. in the relevant networkstatus document.
  4670. - Don't crash if we get an unexpected value for the
  4671. PublishServerDescriptor config option. Reported by Matt Edman;
  4672. bugfix on 0.2.0.9-alpha.
  4673. - Our new v2 hidden service descriptor format allows descriptors
  4674. that have no introduction points. But Tor crashed when we tried
  4675. to build a descriptor with no intro points (and it would have
  4676. crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
  4677. by Karsten Loesing.
  4678. - Fix building with dmalloc 5.5.2 with glibc.
  4679. - Reject uploaded descriptors and extrainfo documents if they're
  4680. huge. Otherwise we'll cache them all over the network and it'll
  4681. clog everything up. Reported by Aljosha Judmayer.
  4682. - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
  4683. via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
  4684. - When the DANGEROUS_VERSION controller status event told us we're
  4685. running an obsolete version, it used the string "OLD" to describe
  4686. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  4687. "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
  4688. - If we can't expand our list of entry guards (e.g. because we're
  4689. using bridges or we have StrictEntryNodes set), don't mark relays
  4690. down when they fail a directory request. Otherwise we're too quick
  4691. to mark all our entry points down. Bugfix on 0.1.2.x.
  4692. - Fix handling of hex nicknames when answering controller requests for
  4693. networkstatus by name, or when deciding whether to warn about unknown
  4694. routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
  4695. - Fix a couple of hard-to-trigger autoconf problems that could result
  4696. in really weird results on platforms whose sys/types.h files define
  4697. nonstandard integer types. Bugfix on 0.1.2.x.
  4698. - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
  4699. - Don't crash on name lookup when we have no current consensus. Fixes
  4700. bug 538; bugfix on 0.2.0.x.
  4701. - Only Tors that want to mirror the v2 directory info should
  4702. create the "cached-status" directory in their datadir. (All Tors
  4703. used to create it.) Bugfix on 0.2.0.9-alpha.
  4704. - Directory authorities should only automatically download Extra Info
  4705. documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
  4706. o Minor features:
  4707. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  4708. consumers. (We already do this on HUP.)
  4709. - Authorities and caches fetch the v2 networkstatus documents
  4710. less often, now that v3 is encouraged.
  4711. - Add a new config option BridgeRelay that specifies you want to
  4712. be a bridge relay. Right now the only difference is that it makes
  4713. you answer begin_dir requests, and it makes you cache dir info,
  4714. even if your DirPort isn't on.
  4715. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  4716. ask about source, timestamp of arrival, purpose, etc. We need
  4717. something like this to help Vidalia not do GeoIP lookups on bridge
  4718. addresses.
  4719. - Allow multiple HashedControlPassword config lines, to support
  4720. multiple controller passwords.
  4721. - Authorities now decide whether they're authoritative for a given
  4722. router based on the router's purpose.
  4723. - New config options AuthDirBadDir and AuthDirListBadDirs for
  4724. authorities to mark certain relays as "bad directories" in the
  4725. networkstatus documents. Also supports the "!baddir" directive in
  4726. the approved-routers file.
  4727. Changes in version 0.2.0.12-alpha - 2007-11-16
  4728. This twelfth development snapshot fixes some more build problems as
  4729. well as a few minor bugs.
  4730. o Compile fixes:
  4731. - Make it build on OpenBSD again. Patch from tup.
  4732. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
  4733. package-building for Red Hat, OS X, etc.
  4734. o Minor bugfixes (on 0.1.2.x):
  4735. - Changing the ExitPolicyRejectPrivate setting should cause us to
  4736. rebuild our server descriptor.
  4737. o Minor bugfixes (on 0.2.0.x):
  4738. - When we're lacking a consensus, don't try to perform rendezvous
  4739. operations. Reported by Karsten Loesing.
  4740. - Fix a small memory leak whenever we decide against using a
  4741. newly picked entry guard. Reported by Mike Perry.
  4742. - When authorities detected more than two relays running on the same
  4743. IP address, they were clearing all the status flags but forgetting
  4744. to clear the "hsdir" flag. So clients were being told that a
  4745. given relay was the right choice for a v2 hsdir lookup, yet they
  4746. never had its descriptor because it was marked as 'not running'
  4747. in the consensus.
  4748. - If we're trying to fetch a bridge descriptor and there's no way
  4749. the bridge authority could help us (for example, we don't know
  4750. a digest, or there is no bridge authority), don't be so eager to
  4751. fall back to asking the bridge authority.
  4752. - If we're using bridges or have strictentrynodes set, and our
  4753. chosen exit is in the same family as all our bridges/entry guards,
  4754. then be flexible about families.
  4755. o Minor features:
  4756. - When we negotiate a v2 link-layer connection (not yet implemented),
  4757. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  4758. negotiated a v1 connection for their next step. Initial code for
  4759. proposal 110.
  4760. Changes in version 0.2.0.11-alpha - 2007-11-12
  4761. This eleventh development snapshot fixes some build problems with
  4762. the previous snapshot. It also includes a more secure-by-default exit
  4763. policy for relays, fixes an enormous memory leak for exit relays, and
  4764. fixes another bug where servers were falling out of the directory list.
  4765. o Security fixes:
  4766. - Exit policies now reject connections that are addressed to a
  4767. relay's public (external) IP address too, unless
  4768. ExitPolicyRejectPrivate is turned off. We do this because too
  4769. many relays are running nearby to services that trust them based
  4770. on network address. Bugfix on 0.1.2.x.
  4771. o Major bugfixes:
  4772. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  4773. on every successful resolve. Reported by Mike Perry; bugfix
  4774. on 0.1.2.x.
  4775. - On authorities, never downgrade to old router descriptors simply
  4776. because they're listed in the consensus. This created a catch-22
  4777. where we wouldn't list a new descriptor because there was an
  4778. old one in the consensus, and we couldn't get the new one in the
  4779. consensus because we wouldn't list it. Possible fix for bug 548.
  4780. Also, this might cause bug 543 to appear on authorities; if so,
  4781. we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
  4782. o Packaging fixes on 0.2.0.10-alpha:
  4783. - We were including instructions about what to do with the
  4784. src/config/fallback-consensus file, but we weren't actually
  4785. including it in the tarball. Disable all of that for now.
  4786. o Minor features:
  4787. - Allow people to say PreferTunnelledDirConns rather than
  4788. PreferTunneledDirConns, for those alternate-spellers out there.
  4789. o Minor bugfixes:
  4790. - Don't reevaluate all the information from our consensus document
  4791. just because we've downloaded a v2 networkstatus that we intend
  4792. to cache. Fixes bug 545; bugfix on 0.2.0.x.
  4793. Changes in version 0.2.0.10-alpha - 2007-11-10
  4794. This tenth development snapshot adds a third v3 directory authority
  4795. run by Mike Perry, adds most of Karsten Loesing's new hidden service
  4796. descriptor format, fixes a bad crash bug and new bridge bugs introduced
  4797. in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
  4798. fixes some minor memory leaks in previous 0.2.0.x snapshots, and
  4799. addresses many more minor issues.
  4800. o New directory authorities:
  4801. - Set up ides (run by Mike Perry) as the third v3 directory authority.
  4802. o Major features:
  4803. - Allow tunnelled directory connections to ask for an encrypted
  4804. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  4805. connection independently. Now we can make anonymized begin_dir
  4806. connections for (e.g.) more secure hidden service posting and
  4807. fetching.
  4808. - More progress on proposal 114: code from Karsten Loesing to
  4809. implement new hidden service descriptor format.
  4810. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  4811. accommodate the growing number of servers that use the default
  4812. and are reaching it.
  4813. - Directory authorities use a new formula for selecting which nodes
  4814. to advertise as Guards: they must be in the top 7/8 in terms of
  4815. how long we have known about them, and above the median of those
  4816. nodes in terms of weighted fractional uptime.
  4817. - Make "not enough dir info yet" warnings describe *why* Tor feels
  4818. it doesn't have enough directory info yet.
  4819. o Major bugfixes:
  4820. - Stop servers from crashing if they set a Family option (or
  4821. maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
  4822. by Fabian Keil.
  4823. - Make bridge users work again -- the move to v3 directories in
  4824. 0.2.0.9-alpha had introduced a number of bugs that made bridges
  4825. no longer work for clients.
  4826. - When the clock jumps forward a lot, do not allow the bandwidth
  4827. buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
  4828. o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
  4829. - When the consensus lists a router descriptor that we previously were
  4830. mirroring, but that we considered non-canonical, reload the
  4831. descriptor as canonical. This fixes bug 543 where Tor servers
  4832. would start complaining after a few days that they don't have
  4833. enough directory information to build a circuit.
  4834. - Consider replacing the current consensus when certificates arrive
  4835. that make the pending consensus valid. Previously, we were only
  4836. considering replacement when the new certs _didn't_ help.
  4837. - Fix an assert error on startup if we didn't already have the
  4838. consensus and certs cached in our datadirectory: we were caching
  4839. the consensus in consensus_waiting_for_certs but then free'ing it
  4840. right after.
  4841. - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
  4842. Request) if we need more v3 certs but we've already got pending
  4843. requests for all of them.
  4844. - Correctly back off from failing certificate downloads. Fixes
  4845. bug 546.
  4846. - Authorities don't vote on the Running flag if they have been running
  4847. for less than 30 minutes themselves. Fixes bug 547, where a newly
  4848. started authority would vote that everyone was down.
  4849. o New requirements:
  4850. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  4851. it, it had no AES, and it hasn't seen any security patches since
  4852. 2004.
  4853. o Minor features:
  4854. - Clients now hold circuitless TLS connections open for 1.5 times
  4855. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  4856. rebuild a new circuit over them within that timeframe. Previously,
  4857. they held them open only for KeepalivePeriod (5 minutes).
  4858. - Use "If-Modified-Since" to avoid retrieving consensus
  4859. networkstatuses that we already have.
  4860. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  4861. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  4862. we start knowing some directory caches.
  4863. - When we receive a consensus from the future, warn about skew.
  4864. - Improve skew reporting: try to give the user a better log message
  4865. about how skewed they are, and how much this matters.
  4866. - When we have a certificate for an authority, believe that
  4867. certificate's claims about the authority's IP address.
  4868. - New --quiet command-line option to suppress the default console log.
  4869. Good in combination with --hash-password.
  4870. - Authorities send back an X-Descriptor-Not-New header in response to
  4871. an accepted-but-discarded descriptor upload. Partially implements
  4872. fix for bug 535.
  4873. - Make the log message for "tls error. breaking." more useful.
  4874. - Better log messages about certificate downloads, to attempt to
  4875. track down the second incarnation of bug 546.
  4876. o Minor features (bridges):
  4877. - If bridge users set UpdateBridgesFromAuthority, but the digest
  4878. they ask for is a 404 from the bridge authority, they now fall
  4879. back to trying the bridge directly.
  4880. - Bridges now use begin_dir to publish their server descriptor to
  4881. the bridge authority, even when they haven't set TunnelDirConns.
  4882. o Minor features (controller):
  4883. - When reporting clock skew, and we know that the clock is _at least
  4884. as skewed_ as some value, but we don't know the actual value,
  4885. report the value as a "minimum skew."
  4886. o Utilities:
  4887. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  4888. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  4889. Perry.
  4890. o Minor bugfixes:
  4891. - Refuse to start if both ORPort and UseBridges are set. Bugfix
  4892. on 0.2.0.x, suggested by Matt Edman.
  4893. - Don't stop fetching descriptors when FetchUselessDescriptors is
  4894. set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
  4895. reported by tup and ioerror.
  4896. - Better log message on vote from unknown authority.
  4897. - Don't log "Launching 0 request for 0 router" message.
  4898. o Minor bugfixes (memory leaks):
  4899. - Stop leaking memory every time we parse a v3 certificate. Bugfix
  4900. on 0.2.0.1-alpha.
  4901. - Stop leaking memory every time we load a v3 certificate. Bugfix
  4902. on 0.2.0.1-alpha. Fixes bug 536.
  4903. - Stop leaking a cached networkstatus on exit. Bugfix on
  4904. 0.2.0.3-alpha.
  4905. - Stop leaking voter information every time we free a consensus.
  4906. Bugfix on 0.2.0.3-alpha.
  4907. - Stop leaking signed data every time we check a voter signature.
  4908. Bugfix on 0.2.0.3-alpha.
  4909. - Stop leaking a signature every time we fail to parse a consensus or
  4910. a vote. Bugfix on 0.2.0.3-alpha.
  4911. - Stop leaking v2_download_status_map on shutdown. Bugfix on
  4912. 0.2.0.9-alpha.
  4913. - Stop leaking conn->nickname every time we make a connection to a
  4914. Tor relay without knowing its expected identity digest (e.g. when
  4915. using bridges). Bugfix on 0.2.0.3-alpha.
  4916. - Minor bugfixes (portability):
  4917. - Run correctly on platforms where rlim_t is larger than unsigned
  4918. long, and/or where the real limit for number of open files is
  4919. OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
  4920. particular, these may be needed for OS X 10.5.
  4921. Changes in version 0.1.2.18 - 2007-10-28
  4922. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  4923. hidden service introduction that were causing huge delays, and a big
  4924. bug that was causing some servers to disappear from the network status
  4925. lists for a few hours each day.
  4926. o Major bugfixes (crashes):
  4927. - If a connection is shut down abruptly because of something that
  4928. happened inside connection_flushed_some(), do not call
  4929. connection_finished_flushing(). Should fix bug 451:
  4930. "connection_stop_writing: Assertion conn->write_event failed"
  4931. Bugfix on 0.1.2.7-alpha.
  4932. - Fix possible segfaults in functions called from
  4933. rend_process_relay_cell().
  4934. o Major bugfixes (hidden services):
  4935. - Hidden services were choosing introduction points uniquely by
  4936. hexdigest, but when constructing the hidden service descriptor
  4937. they merely wrote the (potentially ambiguous) nickname.
  4938. - Clients now use the v2 intro format for hidden service
  4939. connections: they specify their chosen rendezvous point by identity
  4940. digest rather than by (potentially ambiguous) nickname. These
  4941. changes could speed up hidden service connections dramatically.
  4942. o Major bugfixes (other):
  4943. - Stop publishing a new server descriptor just because we get a
  4944. HUP signal. This led (in a roundabout way) to some servers getting
  4945. dropped from the networkstatus lists for a few hours each day.
  4946. - When looking for a circuit to cannibalize, consider family as well
  4947. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  4948. circuit cannibalization).
  4949. - When a router wasn't listed in a new networkstatus, we were leaving
  4950. the flags for that router alone -- meaning it remained Named,
  4951. Running, etc -- even though absence from the networkstatus means
  4952. that it shouldn't be considered to exist at all anymore. Now we
  4953. clear all the flags for routers that fall out of the networkstatus
  4954. consensus. Fixes bug 529.
  4955. o Minor bugfixes:
  4956. - Don't try to access (or alter) the state file when running
  4957. --list-fingerprint or --verify-config or --hash-password. Resolves
  4958. bug 499.
  4959. - When generating information telling us how to extend to a given
  4960. router, do not try to include the nickname if it is
  4961. absent. Resolves bug 467.
  4962. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  4963. a way to trigger this remotely.)
  4964. - When sending a status event to the controller telling it that an
  4965. OR address is reachable, set the port correctly. (Previously we
  4966. were reporting the dir port.)
  4967. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  4968. command. Bugfix on 0.1.2.17.
  4969. - When loading bandwidth history, do not believe any information in
  4970. the future. Fixes bug 434.
  4971. - When loading entry guard information, do not believe any information
  4972. in the future.
  4973. - When we have our clock set far in the future and generate an
  4974. onion key, then re-set our clock to be correct, we should not stop
  4975. the onion key from getting rotated.
  4976. - On some platforms, accept() can return a broken address. Detect
  4977. this more quietly, and deal accordingly. Fixes bug 483.
  4978. - It's not actually an error to find a non-pending entry in the DNS
  4979. cache when canceling a pending resolve. Don't log unless stuff
  4980. is fishy. Resolves bug 463.
  4981. - Don't reset trusted dir server list when we set a configuration
  4982. option. Patch from Robert Hogan.
  4983. - Don't try to create the datadir when running --verify-config or
  4984. --hash-password. Resolves bug 540.
  4985. Changes in version 0.2.0.9-alpha - 2007-10-24
  4986. This ninth development snapshot switches clients to the new v3 directory
  4987. system; allows servers to be listed in the network status even when they
  4988. have the same nickname as a registered server; and fixes many other
  4989. bugs including a big one that was causing some servers to disappear
  4990. from the network status lists for a few hours each day.
  4991. o Major features (directory system):
  4992. - Clients now download v3 consensus networkstatus documents instead
  4993. of v2 networkstatus documents. Clients and caches now base their
  4994. opinions about routers on these consensus documents. Clients only
  4995. download router descriptors listed in the consensus.
  4996. - Authorities now list servers who have the same nickname as
  4997. a different named server, but list them with a new flag,
  4998. "Unnamed". Now we can list servers that happen to pick the same
  4999. nickname as a server that registered two years ago and then
  5000. disappeared. Partially implements proposal 122.
  5001. - If the consensus lists a router as "Unnamed", the name is assigned
  5002. to a different router: do not identify the router by that name.
  5003. Partially implements proposal 122.
  5004. - Authorities can now come to a consensus on which method to use to
  5005. compute the consensus. This gives us forward compatibility.
  5006. o Major bugfixes:
  5007. - Stop publishing a new server descriptor just because we HUP or
  5008. when we find our DirPort to be reachable but won't actually publish
  5009. it. New descriptors without any real changes are dropped by the
  5010. authorities, and can screw up our "publish every 18 hours" schedule.
  5011. Bugfix on 0.1.2.x.
  5012. - When a router wasn't listed in a new networkstatus, we were leaving
  5013. the flags for that router alone -- meaning it remained Named,
  5014. Running, etc -- even though absence from the networkstatus means
  5015. that it shouldn't be considered to exist at all anymore. Now we
  5016. clear all the flags for routers that fall out of the networkstatus
  5017. consensus. Fixes bug 529; bugfix on 0.1.2.x.
  5018. - Fix awful behavior in DownloadExtraInfo option where we'd fetch
  5019. extrainfo documents and then discard them immediately for not
  5020. matching the latest router. Bugfix on 0.2.0.1-alpha.
  5021. o Minor features (v3 directory protocol):
  5022. - Allow tor-gencert to generate a new certificate without replacing
  5023. the signing key.
  5024. - Allow certificates to include an address.
  5025. - When we change our directory-cache settings, reschedule all voting
  5026. and download operations.
  5027. - Reattempt certificate downloads immediately on failure, as long as
  5028. we haven't failed a threshold number of times yet.
  5029. - Delay retrying consensus downloads while we're downloading
  5030. certificates to verify the one we just got. Also, count getting a
  5031. consensus that we already have (or one that isn't valid) as a failure,
  5032. and count failing to get the certificates after 20 minutes as a
  5033. failure.
  5034. - Build circuits and download descriptors even if our consensus is a
  5035. little expired. (This feature will go away once authorities are
  5036. more reliable.)
  5037. o Minor features (router descriptor cache):
  5038. - If we find a cached-routers file that's been sitting around for more
  5039. than 28 days unmodified, then most likely it's a leftover from
  5040. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  5041. routers anyway.
  5042. - When we (as a cache) download a descriptor because it was listed
  5043. in a consensus, remember when the consensus was supposed to expire,
  5044. and don't expire the descriptor until then.
  5045. o Minor features (performance):
  5046. - Call routerlist_remove_old_routers() much less often. This should
  5047. speed startup, especially on directory caches.
  5048. - Don't try to launch new descriptor downloads quite so often when we
  5049. already have enough directory information to build circuits.
  5050. - Base64 decoding was actually showing up on our profile when parsing
  5051. the initial descriptor file; switch to an in-process all-at-once
  5052. implementation that's about 3.5x times faster than calling out to
  5053. OpenSSL.
  5054. o Minor features (compilation):
  5055. - Detect non-ASCII platforms (if any still exist) and refuse to
  5056. build there: some of our code assumes that 'A' is 65 and so on.
  5057. o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
  5058. - Make the "next period" votes into "current period" votes immediately
  5059. after publishing the consensus; avoid a heisenbug that made them
  5060. stick around indefinitely.
  5061. - When we discard a vote as a duplicate, do not report this as
  5062. an error.
  5063. - Treat missing v3 keys or certificates as an error when running as a
  5064. v3 directory authority.
  5065. - When we're configured to be a v3 authority, but we're only listed
  5066. as a non-v3 authority in our DirServer line for ourself, correct
  5067. the listing.
  5068. - If an authority doesn't have a qualified hostname, just put
  5069. its address in the vote. This fixes the problem where we referred to
  5070. "moria on moria:9031."
  5071. - Distinguish between detached signatures for the wrong period, and
  5072. detached signatures for a divergent vote.
  5073. - Fix a small memory leak when computing a consensus.
  5074. - When there's no concensus, we were forming a vote every 30
  5075. minutes, but writing the "valid-after" line in our vote based
  5076. on our configured V3AuthVotingInterval: so unless the intervals
  5077. matched up, we immediately rejected our own vote because it didn't
  5078. start at the voting interval that caused us to construct a vote.
  5079. o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
  5080. - Delete unverified-consensus when the real consensus is set.
  5081. - Consider retrying a consensus networkstatus fetch immediately
  5082. after one fails: don't wait 60 seconds to notice.
  5083. - When fetching a consensus as a cache, wait until a newer consensus
  5084. should exist before trying to replace the current one.
  5085. - Use a more forgiving schedule for retrying failed consensus
  5086. downloads than for other types.
  5087. o Minor bugfixes (other directory issues):
  5088. - Correct the implementation of "download votes by digest." Bugfix on
  5089. 0.2.0.8-alpha.
  5090. - Authorities no longer send back "400 you're unreachable please fix
  5091. it" errors to Tor servers that aren't online all the time. We're
  5092. supposed to tolerate these servers now. Bugfix on 0.1.2.x.
  5093. o Minor bugfixes (controller):
  5094. - Don't reset trusted dir server list when we set a configuration
  5095. option. Patch from Robert Hogan; bugfix on 0.1.2.x.
  5096. - Respond to INT and TERM SIGNAL commands before we execute the
  5097. signal, in case the signal shuts us down. We had a patch in
  5098. 0.1.2.1-alpha that tried to do this by queueing the response on
  5099. the connection's buffer before shutting down, but that really
  5100. isn't the same thing at all. Bug located by Matt Edman.
  5101. o Minor bugfixes (misc):
  5102. - Correctly check for bad options to the "PublishServerDescriptor"
  5103. config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
  5104. - Stop leaking memory on failing case of base32_decode, and make
  5105. it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
  5106. - Don't try to download extrainfo documents when we're trying to
  5107. fetch enough directory info to build a circuit: having enough
  5108. info should get priority. Bugfix on 0.2.0.x.
  5109. - Don't complain that "your server has not managed to confirm that its
  5110. ports are reachable" if we haven't been able to build any circuits
  5111. yet. Bug found by spending four hours without a v3 consensus. Bugfix
  5112. on 0.1.2.x.
  5113. - Detect the reason for failing to mmap a descriptor file we just
  5114. wrote, and give a more useful log message. Fixes bug 533. Bugfix
  5115. on 0.1.2.x.
  5116. o Code simplifications and refactoring:
  5117. - Remove support for the old bw_accounting file: we've been storing
  5118. bandwidth accounting information in the state file since
  5119. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  5120. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  5121. downgrade to 0.1.1.x or earlier.
  5122. - New convenience code to locate a file within the DataDirectory.
  5123. - Move non-authority functionality out of dirvote.c.
  5124. - Refactor the arguments for router_pick_{directory_|trusteddir}server
  5125. so that they all take the same named flags.
  5126. o Utilities
  5127. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  5128. Unix users an easy way to script their Tor process (e.g. by
  5129. adjusting bandwidth based on the time of the day).
  5130. Changes in version 0.2.0.8-alpha - 2007-10-12
  5131. This eighth development snapshot fixes a crash bug that's been bothering
  5132. us since February 2007, lets bridge authorities store a list of bridge
  5133. descriptors they've seen, gets v3 directory voting closer to working,
  5134. starts caching v3 directory consensus documents on directory mirrors,
  5135. and fixes a variety of smaller issues including some minor memory leaks.
  5136. o Major features (router descriptor cache):
  5137. - Store routers in a file called cached-descriptors instead of in
  5138. cached-routers. Initialize cached-descriptors from cached-routers
  5139. if the old format is around. The new format allows us to store
  5140. annotations along with descriptors.
  5141. - Use annotations to record the time we received each descriptor, its
  5142. source, and its purpose.
  5143. - Disable the SETROUTERPURPOSE controller command: it is now
  5144. obsolete.
  5145. - Controllers should now specify cache=no or cache=yes when using
  5146. the +POSTDESCRIPTOR command.
  5147. - Bridge authorities now write bridge descriptors to disk, meaning
  5148. we can export them to other programs and begin distributing them
  5149. to blocked users.
  5150. o Major features (directory authorities):
  5151. - When a v3 authority is missing votes or signatures, it now tries
  5152. to fetch them.
  5153. - Directory authorities track weighted fractional uptime as well as
  5154. weighted mean-time-between failures. WFU is suitable for deciding
  5155. whether a node is "usually up", while MTBF is suitable for deciding
  5156. whether a node is "likely to stay up." We need both, because
  5157. "usually up" is a good requirement for guards, while "likely to
  5158. stay up" is a good requirement for long-lived connections.
  5159. o Major features (v3 directory system):
  5160. - Caches now download v3 network status documents as needed,
  5161. and download the descriptors listed in them.
  5162. - All hosts now attempt to download and keep fresh v3 authority
  5163. certificates, and re-attempt after failures.
  5164. - More internal-consistency checks for vote parsing.
  5165. o Major bugfixes (crashes):
  5166. - If a connection is shut down abruptly because of something that
  5167. happened inside connection_flushed_some(), do not call
  5168. connection_finished_flushing(). Should fix bug 451. Bugfix on
  5169. 0.1.2.7-alpha.
  5170. o Major bugfixes (performance):
  5171. - Fix really bad O(n^2) performance when parsing a long list of
  5172. routers: Instead of searching the entire list for an "extra-info "
  5173. string which usually wasn't there, once for every routerinfo
  5174. we read, just scan lines forward until we find one we like.
  5175. Bugfix on 0.2.0.1.
  5176. - When we add data to a write buffer in response to the data on that
  5177. write buffer getting low because of a flush, do not consider the
  5178. newly added data as a candidate for immediate flushing, but rather
  5179. make it wait until the next round of writing. Otherwise, we flush
  5180. and refill recursively, and a single greedy TLS connection can
  5181. eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
  5182. o Minor features (v3 authority system):
  5183. - Add more ways for tools to download the votes that lead to the
  5184. current consensus.
  5185. - Send a 503 when low on bandwidth and a vote, consensus, or
  5186. certificate is requested.
  5187. - If-modified-since is now implemented properly for all kinds of
  5188. certificate requests.
  5189. o Minor bugfixes (network statuses):
  5190. - Tweak the implementation of proposal 109 slightly: allow at most
  5191. two Tor servers on the same IP address, except if it's the location
  5192. of a directory authority, in which case allow five. Bugfix on
  5193. 0.2.0.3-alpha.
  5194. o Minor bugfixes (controller):
  5195. - When sending a status event to the controller telling it that an
  5196. OR address is reachable, set the port correctly. (Previously we
  5197. were reporting the dir port.) Bugfix on 0.1.2.x.
  5198. o Minor bugfixes (v3 directory system):
  5199. - Fix logic to look up a cert by its signing key digest. Bugfix on
  5200. 0.2.0.7-alpha.
  5201. - Only change the reply to a vote to "OK" if it's not already
  5202. set. This gets rid of annoying "400 OK" log messages, which may
  5203. have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
  5204. - When we get a valid consensus, recompute the voting schedule.
  5205. - Base the valid-after time of a vote on the consensus voting
  5206. schedule, not on our preferred schedule.
  5207. - Make the return values and messages from signature uploads and
  5208. downloads more sensible.
  5209. - Fix a memory leak when serving votes and consensus documents, and
  5210. another when serving certificates.
  5211. o Minor bugfixes (performance):
  5212. - Use a slightly simpler string hashing algorithm (copying Python's
  5213. instead of Java's) and optimize our digest hashing algorithm to take
  5214. advantage of 64-bit platforms and to remove some possibly-costly
  5215. voodoo.
  5216. - Fix a minor memory leak whenever we parse guards from our state
  5217. file. Bugfix on 0.2.0.7-alpha.
  5218. - Fix a minor memory leak whenever we write out a file. Bugfix on
  5219. 0.2.0.7-alpha.
  5220. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  5221. command. Bugfix on 0.2.0.5-alpha.
  5222. o Minor bugfixes (portability):
  5223. - On some platforms, accept() can return a broken address. Detect
  5224. this more quietly, and deal accordingly. Fixes bug 483.
  5225. - Stop calling tor_strlower() on uninitialized memory in some cases.
  5226. Bugfix in 0.2.0.7-alpha.
  5227. o Minor bugfixes (usability):
  5228. - Treat some 403 responses from directory servers as INFO rather than
  5229. WARN-severity events.
  5230. - It's not actually an error to find a non-pending entry in the DNS
  5231. cache when canceling a pending resolve. Don't log unless stuff is
  5232. fishy. Resolves bug 463.
  5233. o Minor bugfixes (anonymity):
  5234. - Never report that we've used more bandwidth than we're willing to
  5235. relay: it leaks how much non-relay traffic we're using. Resolves
  5236. bug 516.
  5237. - When looking for a circuit to cannibalize, consider family as well
  5238. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  5239. circuit cannibalization).
  5240. o Code simplifications and refactoring:
  5241. - Make a bunch of functions static. Remove some dead code.
  5242. - Pull out about a third of the really big routerlist.c; put it in a
  5243. new module, networkstatus.c.
  5244. - Merge the extra fields in local_routerstatus_t back into
  5245. routerstatus_t: we used to need one routerstatus_t for each
  5246. authority's opinion, plus a local_routerstatus_t for the locally
  5247. computed consensus opinion. To save space, we put the locally
  5248. modified fields into local_routerstatus_t, and only the common
  5249. stuff into routerstatus_t. But once v3 directories are in use,
  5250. clients and caches will no longer need to hold authority opinions;
  5251. thus, the rationale for keeping the types separate is now gone.
  5252. - Make the code used to reschedule and reattempt downloads more
  5253. uniform.
  5254. - Turn all 'Are we a directory server/mirror?' logic into a call to
  5255. dirserver_mode().
  5256. - Remove the code to generate the oldest (v1) directory format.
  5257. The code has been disabled since 0.2.0.5-alpha.
  5258. Changes in version 0.2.0.7-alpha - 2007-09-21
  5259. This seventh development snapshot makes bridges work again, makes bridge
  5260. authorities work for the first time, fixes two huge performance flaws
  5261. in hidden services, and fixes a variety of minor issues.
  5262. o New directory authorities:
  5263. - Set up moria1 and tor26 as the first v3 directory authorities. See
  5264. doc/spec/dir-spec.txt for details on the new directory design.
  5265. o Major bugfixes (crashes):
  5266. - Fix possible segfaults in functions called from
  5267. rend_process_relay_cell(). Bugfix on 0.1.2.x.
  5268. o Major bugfixes (bridges):
  5269. - Fix a bug that made servers send a "404 Not found" in response to
  5270. attempts to fetch their server descriptor. This caused Tor servers
  5271. to take many minutes to establish reachability for their DirPort,
  5272. and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
  5273. - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
  5274. users configure that and specify a bridge with an identity
  5275. fingerprint, now they will lookup the bridge descriptor at the
  5276. default bridge authority via a one-hop tunnel, but once circuits
  5277. are established they will switch to a three-hop tunnel for later
  5278. connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
  5279. o Major bugfixes (hidden services):
  5280. - Hidden services were choosing introduction points uniquely by
  5281. hexdigest, but when constructing the hidden service descriptor
  5282. they merely wrote the (potentially ambiguous) nickname.
  5283. - Clients now use the v2 intro format for hidden service
  5284. connections: they specify their chosen rendezvous point by identity
  5285. digest rather than by (potentially ambiguous) nickname. Both
  5286. are bugfixes on 0.1.2.x, and they could speed up hidden service
  5287. connections dramatically. Thanks to Karsten Loesing.
  5288. o Minor features (security):
  5289. - As a client, do not believe any server that tells us that an
  5290. address maps to an internal address space.
  5291. - Make it possible to enable HashedControlPassword and
  5292. CookieAuthentication at the same time.
  5293. o Minor features (guard nodes):
  5294. - Tag every guard node in our state file with the version that
  5295. we believe added it, or with our own version if we add it. This way,
  5296. if a user temporarily runs an old version of Tor and then switches
  5297. back to a new one, she doesn't automatically lose her guards.
  5298. o Minor features (speed):
  5299. - When implementing AES counter mode, update only the portions of the
  5300. counter buffer that need to change, and don't keep separate
  5301. network-order and host-order counters when they are the same (i.e.,
  5302. on big-endian hosts.)
  5303. o Minor features (controller):
  5304. - Accept LF instead of CRLF on controller, since some software has a
  5305. hard time generating real Internet newlines.
  5306. - Add GETINFO values for the server status events
  5307. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  5308. Robert Hogan.
  5309. o Removed features:
  5310. - Routers no longer include bandwidth-history lines in their
  5311. descriptors; this information is already available in extra-info
  5312. documents, and including it in router descriptors took up 60%
  5313. (!) of compressed router descriptor downloads. Completes
  5314. implementation of proposal 104.
  5315. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  5316. and TorControl.py, as they use the old v0 controller protocol,
  5317. and are obsoleted by TorFlow anyway.
  5318. - Drop support for v1 rendezvous descriptors, since we never used
  5319. them anyway, and the code has probably rotted by now. Based on
  5320. patch from Karsten Loesing.
  5321. - On OSX, stop warning the user that kqueue support in libevent is
  5322. "experimental", since it seems to have worked fine for ages.
  5323. o Minor bugfixes:
  5324. - When generating information telling us how to extend to a given
  5325. router, do not try to include the nickname if it is absent. Fixes
  5326. bug 467. Bugfix on 0.2.0.3-alpha.
  5327. - Fix a user-triggerable (but not remotely-triggerable) segfault
  5328. in expand_filename(). Bugfix on 0.1.2.x.
  5329. - Fix a memory leak when freeing incomplete requests from DNSPort.
  5330. Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
  5331. - Don't try to access (or alter) the state file when running
  5332. --list-fingerprint or --verify-config or --hash-password. (Resolves
  5333. bug 499.) Bugfix on 0.1.2.x.
  5334. - Servers used to decline to publish their DirPort if their
  5335. BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
  5336. were below a threshold. Now they only look at BandwidthRate and
  5337. RelayBandwidthRate. Bugfix on 0.1.2.x.
  5338. - Remove an optimization in the AES counter-mode code that assumed
  5339. that the counter never exceeded 2^68. When the counter can be set
  5340. arbitrarily as an IV (as it is by Karsten's new hidden services
  5341. code), this assumption no longer holds. Bugfix on 0.1.2.x.
  5342. - Resume listing "AUTHORITY" flag for authorities in network status.
  5343. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
  5344. o Code simplifications and refactoring:
  5345. - Revamp file-writing logic so we don't need to have the entire
  5346. contents of a file in memory at once before we write to disk. Tor,
  5347. meet stdio.
  5348. - Turn "descriptor store" into a full-fledged type.
  5349. - Move all NT services code into a separate source file.
  5350. - Unify all code that computes medians, percentile elements, etc.
  5351. - Get rid of a needless malloc when parsing address policies.
  5352. Changes in version 0.1.2.17 - 2007-08-30
  5353. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  5354. X bundles. Vidalia 0.0.14 makes authentication required for the
  5355. ControlPort in the default configuration, which addresses important
  5356. security risks. Everybody who uses Vidalia (or another controller)
  5357. should upgrade.
  5358. In addition, this Tor update fixes major load balancing problems with
  5359. path selection, which should speed things up a lot once many people
  5360. have upgraded.
  5361. o Major bugfixes (security):
  5362. - We removed support for the old (v0) control protocol. It has been
  5363. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  5364. become more of a headache than it's worth.
  5365. o Major bugfixes (load balancing):
  5366. - When choosing nodes for non-guard positions, weight guards
  5367. proportionally less, since they already have enough load. Patch
  5368. from Mike Perry.
  5369. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  5370. will allow fast Tor servers to get more attention.
  5371. - When we're upgrading from an old Tor version, forget our current
  5372. guards and pick new ones according to the new weightings. These
  5373. three load balancing patches could raise effective network capacity
  5374. by a factor of four. Thanks to Mike Perry for measurements.
  5375. o Major bugfixes (stream expiration):
  5376. - Expire not-yet-successful application streams in all cases if
  5377. they've been around longer than SocksTimeout. Right now there are
  5378. some cases where the stream will live forever, demanding a new
  5379. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  5380. o Minor features (controller):
  5381. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  5382. is valid before any authentication has been received. It tells
  5383. a controller what kind of authentication is expected, and what
  5384. protocol is spoken. Implements proposal 119.
  5385. o Minor bugfixes (performance):
  5386. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  5387. greatly speeding up loading cached-routers from disk on startup.
  5388. - Disable sentinel-based debugging for buffer code: we squashed all
  5389. the bugs that this was supposed to detect a long time ago, and now
  5390. its only effect is to change our buffer sizes from nice powers of
  5391. two (which platform mallocs tend to like) to values slightly over
  5392. powers of two (which make some platform mallocs sad).
  5393. o Minor bugfixes (misc):
  5394. - If exit bandwidth ever exceeds one third of total bandwidth, then
  5395. use the correct formula to weight exit nodes when choosing paths.
  5396. Based on patch from Mike Perry.
  5397. - Choose perfectly fairly among routers when choosing by bandwidth and
  5398. weighting by fraction of bandwidth provided by exits. Previously, we
  5399. would choose with only approximate fairness, and correct ourselves
  5400. if we ran off the end of the list.
  5401. - If we require CookieAuthentication but we fail to write the
  5402. cookie file, we would warn but not exit, and end up in a state
  5403. where no controller could authenticate. Now we exit.
  5404. - If we require CookieAuthentication, stop generating a new cookie
  5405. every time we change any piece of our config.
  5406. - Refuse to start with certain directory authority keys, and
  5407. encourage people using them to stop.
  5408. - Terminate multi-line control events properly. Original patch
  5409. from tup.
  5410. - Fix a minor memory leak when we fail to find enough suitable
  5411. servers to choose a circuit.
  5412. - Stop leaking part of the descriptor when we run into a particularly
  5413. unparseable piece of it.
  5414. Changes in version 0.2.0.6-alpha - 2007-08-26
  5415. This sixth development snapshot features a new Vidalia version in the
  5416. Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
  5417. the ControlPort in the default configuration, which addresses important
  5418. security risks.
  5419. In addition, this snapshot fixes major load balancing problems
  5420. with path selection, which should speed things up a lot once many
  5421. people have upgraded. The directory authorities also use a new
  5422. mean-time-between-failure approach to tracking which servers are stable,
  5423. rather than just looking at the most recent uptime.
  5424. o New directory authorities:
  5425. - Set up Tonga as the default bridge directory authority.
  5426. o Major features:
  5427. - Directory authorities now track servers by weighted
  5428. mean-times-between-failures. When we have 4 or more days of data,
  5429. use measured MTBF rather than declared uptime to decide whether
  5430. to call a router Stable. Implements proposal 108.
  5431. o Major bugfixes (load balancing):
  5432. - When choosing nodes for non-guard positions, weight guards
  5433. proportionally less, since they already have enough load. Patch
  5434. from Mike Perry.
  5435. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  5436. will allow fast Tor servers to get more attention.
  5437. - When we're upgrading from an old Tor version, forget our current
  5438. guards and pick new ones according to the new weightings. These
  5439. three load balancing patches could raise effective network capacity
  5440. by a factor of four. Thanks to Mike Perry for measurements.
  5441. o Major bugfixes (descriptor parsing):
  5442. - Handle unexpected whitespace better in malformed descriptors. Bug
  5443. found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
  5444. o Minor features:
  5445. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  5446. GETINFO for Torstat to use until it can switch to using extrainfos.
  5447. - Optionally (if built with -DEXPORTMALLINFO) export the output
  5448. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  5449. from localhost.
  5450. o Minor bugfixes:
  5451. - Do not intermix bridge routers with controller-added
  5452. routers. (Bugfix on 0.2.0.x)
  5453. - Do not fail with an assert when accept() returns an unexpected
  5454. address family. Addresses but does not wholly fix bug 483. (Bugfix
  5455. on 0.2.0.x)
  5456. - Let directory authorities startup even when they can't generate
  5457. a descriptor immediately, e.g. because they don't know their
  5458. address.
  5459. - Stop putting the authentication cookie in a file called "0"
  5460. in your working directory if you don't specify anything for the
  5461. new CookieAuthFile option. Reported by Matt Edman.
  5462. - Make it possible to read the PROTOCOLINFO response in a way that
  5463. conforms to our control-spec. Reported by Matt Edman.
  5464. - Fix a minor memory leak when we fail to find enough suitable
  5465. servers to choose a circuit. Bugfix on 0.1.2.x.
  5466. - Stop leaking part of the descriptor when we run into a particularly
  5467. unparseable piece of it. Bugfix on 0.1.2.x.
  5468. - Unmap the extrainfo cache file on exit.
  5469. Changes in version 0.2.0.5-alpha - 2007-08-19
  5470. This fifth development snapshot fixes compilation on Windows again;
  5471. fixes an obnoxious client-side bug that slowed things down and put
  5472. extra load on the network; gets us closer to using the v3 directory
  5473. voting scheme; makes it easier for Tor controllers to use cookie-based
  5474. authentication; and fixes a variety of other bugs.
  5475. o Removed features:
  5476. - Version 1 directories are no longer generated in full. Instead,
  5477. authorities generate and serve "stub" v1 directories that list
  5478. no servers. This will stop Tor versions 0.1.0.x and earlier from
  5479. working, but (for security reasons) nobody should be running those
  5480. versions anyway.
  5481. o Major bugfixes (compilation, 0.2.0.x):
  5482. - Try to fix Win32 compilation again: improve checking for IPv6 types.
  5483. - Try to fix MSVC compilation: build correctly on platforms that do
  5484. not define s6_addr16 or s6_addr32.
  5485. - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
  5486. Zhou.
  5487. o Major bugfixes (stream expiration):
  5488. - Expire not-yet-successful application streams in all cases if
  5489. they've been around longer than SocksTimeout. Right now there are
  5490. some cases where the stream will live forever, demanding a new
  5491. circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
  5492. reported by lodger.
  5493. o Minor features (directory servers):
  5494. - When somebody requests a list of statuses or servers, and we have
  5495. none of those, return a 404 rather than an empty 200.
  5496. o Minor features (directory voting):
  5497. - Store v3 consensus status consensuses on disk, and reload them
  5498. on startup.
  5499. o Minor features (security):
  5500. - Warn about unsafe ControlPort configurations.
  5501. - Refuse to start with certain directory authority keys, and
  5502. encourage people using them to stop.
  5503. o Minor features (controller):
  5504. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  5505. is valid before any authentication has been received. It tells
  5506. a controller what kind of authentication is expected, and what
  5507. protocol is spoken. Implements proposal 119.
  5508. - New config option CookieAuthFile to choose a new location for the
  5509. cookie authentication file, and config option
  5510. CookieAuthFileGroupReadable to make it group-readable.
  5511. o Minor features (unit testing):
  5512. - Add command-line arguments to unit-test executable so that we can
  5513. invoke any chosen test from the command line rather than having
  5514. to run the whole test suite at once; and so that we can turn on
  5515. logging for the unit tests.
  5516. o Minor bugfixes (on 0.1.2.x):
  5517. - If we require CookieAuthentication but we fail to write the
  5518. cookie file, we would warn but not exit, and end up in a state
  5519. where no controller could authenticate. Now we exit.
  5520. - If we require CookieAuthentication, stop generating a new cookie
  5521. every time we change any piece of our config.
  5522. - When loading bandwidth history, do not believe any information in
  5523. the future. Fixes bug 434.
  5524. - When loading entry guard information, do not believe any information
  5525. in the future.
  5526. - When we have our clock set far in the future and generate an
  5527. onion key, then re-set our clock to be correct, we should not stop
  5528. the onion key from getting rotated.
  5529. - Clean up torrc sample config file.
  5530. - Do not automatically run configure from autogen.sh. This
  5531. non-standard behavior tended to annoy people who have built other
  5532. programs.
  5533. o Minor bugfixes (on 0.2.0.x):
  5534. - Fix a bug with AutomapHostsOnResolve that would always cause
  5535. the second request to fail. Bug reported by Kate. Bugfix on
  5536. 0.2.0.3-alpha.
  5537. - Fix a bug in ADDRMAP controller replies that would sometimes
  5538. try to print a NULL. Patch from tup.
  5539. - Read v3 directory authority keys from the right location.
  5540. - Numerous bugfixes to directory voting code.
  5541. Changes in version 0.1.2.16 - 2007-08-01
  5542. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  5543. remote attacker in certain situations to rewrite the user's torrc
  5544. configuration file. This can completely compromise anonymity of users
  5545. in most configurations, including those running the Vidalia bundles,
  5546. TorK, etc. Or worse.
  5547. o Major security fixes:
  5548. - Close immediately after missing authentication on control port;
  5549. do not allow multiple authentication attempts.
  5550. Changes in version 0.2.0.4-alpha - 2007-08-01
  5551. This fourth development snapshot fixes a critical security vulnerability
  5552. for most users, specifically those running Vidalia, TorK, etc. Everybody
  5553. should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
  5554. o Major security fixes:
  5555. - Close immediately after missing authentication on control port;
  5556. do not allow multiple authentication attempts.
  5557. o Major bugfixes (compilation):
  5558. - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
  5559. defined there.
  5560. o Minor features (performance):
  5561. - Be even more aggressive about releasing RAM from small
  5562. empty buffers. Thanks to our free-list code, this shouldn't be too
  5563. performance-intensive.
  5564. - Disable sentinel-based debugging for buffer code: we squashed all
  5565. the bugs that this was supposed to detect a long time ago, and
  5566. now its only effect is to change our buffer sizes from nice
  5567. powers of two (which platform mallocs tend to like) to values
  5568. slightly over powers of two (which make some platform mallocs sad).
  5569. - Log malloc statistics from mallinfo() on platforms where it
  5570. exists.
  5571. Changes in version 0.2.0.3-alpha - 2007-07-29
  5572. This third development snapshot introduces new experimental
  5573. blocking-resistance features and a preliminary version of the v3
  5574. directory voting design, and includes many other smaller features
  5575. and bugfixes.
  5576. o Major features:
  5577. - The first pieces of our "bridge" design for blocking-resistance
  5578. are implemented. People can run bridge directory authorities;
  5579. people can run bridges; and people can configure their Tor clients
  5580. with a set of bridges to use as the first hop into the Tor network.
  5581. See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
  5582. details.
  5583. - Create listener connections before we setuid to the configured
  5584. User and Group. Now non-Windows users can choose port values
  5585. under 1024, start Tor as root, and have Tor bind those ports
  5586. before it changes to another UID. (Windows users could already
  5587. pick these ports.)
  5588. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  5589. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  5590. on "vserver" accounts. (Patch from coderman.)
  5591. - Be even more aggressive about separating local traffic from relayed
  5592. traffic when RelayBandwidthRate is set. (Refines proposal 111.)
  5593. o Major features (experimental):
  5594. - First cut of code for "v3 dir voting": directory authorities will
  5595. vote on a common network status document rather than each publishing
  5596. their own opinion. This code needs more testing and more corner-case
  5597. handling before it's ready for use.
  5598. o Security fixes:
  5599. - Directory authorities now call routers Fast if their bandwidth is
  5600. at least 100KB/s, and consider their bandwidth adequate to be a
  5601. Guard if it is at least 250KB/s, no matter the medians. This fix
  5602. complements proposal 107. [Bugfix on 0.1.2.x]
  5603. - Directory authorities now never mark more than 3 servers per IP as
  5604. Valid and Running. (Implements proposal 109, by Kevin Bauer and
  5605. Damon McCoy.)
  5606. - Minor change to organizationName and commonName generation
  5607. procedures in TLS certificates during Tor handshakes, to invalidate
  5608. some earlier censorware approaches. This is not a long-term
  5609. solution, but applying it will give us a bit of time to look into
  5610. the epidemiology of countermeasures as they spread.
  5611. o Major bugfixes (directory):
  5612. - Rewrite directory tokenization code to never run off the end of
  5613. a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
  5614. o Minor features (controller):
  5615. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  5616. match requests to applications. (Patch from Robert Hogan.)
  5617. - Report address and port correctly on connections to DNSPort. (Patch
  5618. from Robert Hogan.)
  5619. - Add a RESOLVE command to launch hostname lookups. (Original patch
  5620. from Robert Hogan.)
  5621. - Add GETINFO status/enough-dir-info to let controllers tell whether
  5622. Tor has downloaded sufficient directory information. (Patch
  5623. from Tup.)
  5624. - You can now use the ControlSocket option to tell Tor to listen for
  5625. controller connections on Unix domain sockets on systems that
  5626. support them. (Patch from Peter Palfrader.)
  5627. - STREAM NEW events are generated for DNSPort requests and for
  5628. tunneled directory connections. (Patch from Robert Hogan.)
  5629. - New "GETINFO address-mappings/*" command to get address mappings
  5630. with expiry information. "addr-mappings/*" is now deprecated.
  5631. (Patch from Tup.)
  5632. o Minor features (misc):
  5633. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  5634. from croup.)
  5635. - The tor-gencert tool for v3 directory authorities now creates all
  5636. files as readable to the file creator only, and write-protects
  5637. the authority identity key.
  5638. - When dumping memory usage, list bytes used in buffer memory
  5639. free-lists.
  5640. - When running with dmalloc, dump more stats on hup and on exit.
  5641. - Directory authorities now fail quickly and (relatively) harmlessly
  5642. if they generate a network status document that is somehow
  5643. malformed.
  5644. o Traffic load balancing improvements:
  5645. - If exit bandwidth ever exceeds one third of total bandwidth, then
  5646. use the correct formula to weight exit nodes when choosing paths.
  5647. (Based on patch from Mike Perry.)
  5648. - Choose perfectly fairly among routers when choosing by bandwidth and
  5649. weighting by fraction of bandwidth provided by exits. Previously, we
  5650. would choose with only approximate fairness, and correct ourselves
  5651. if we ran off the end of the list. [Bugfix on 0.1.2.x]
  5652. o Performance improvements:
  5653. - Be more aggressive with freeing buffer RAM or putting it on the
  5654. memory free lists.
  5655. - Use Critical Sections rather than Mutexes for synchronizing threads
  5656. on win32; Mutexes are heavier-weight, and designed for synchronizing
  5657. between processes.
  5658. o Deprecated and removed features:
  5659. - RedirectExits is now deprecated.
  5660. - Stop allowing address masks that do not correspond to bit prefixes.
  5661. We have warned about these for a really long time; now it's time
  5662. to reject them. (Patch from croup.)
  5663. o Minor bugfixes (directory):
  5664. - Fix another crash bug related to extra-info caching. (Bug found by
  5665. Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
  5666. - Directories no longer return a "304 not modified" when they don't
  5667. have the networkstatus the client asked for. Also fix a memory
  5668. leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
  5669. - We had accidentally labelled 0.1.2.x directory servers as not
  5670. suitable for begin_dir requests, and had labelled no directory
  5671. servers as suitable for uploading extra-info documents. [Bugfix
  5672. on 0.2.0.1-alpha]
  5673. o Minor bugfixes (dns):
  5674. - Fix a crash when DNSPort is set more than once. (Patch from Robert
  5675. Hogan.) [Bugfix on 0.2.0.2-alpha]
  5676. - Add DNSPort connections to the global connection list, so that we
  5677. can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
  5678. on 0.2.0.2-alpha]
  5679. - Fix a dangling reference that could lead to a crash when DNSPort is
  5680. changed or closed (Patch from Robert Hogan.) [Bugfix on
  5681. 0.2.0.2-alpha]
  5682. o Minor bugfixes (controller):
  5683. - Provide DNS expiry times in GMT, not in local time. For backward
  5684. compatibility, ADDRMAP events only provide GMT expiry in an extended
  5685. field. "GETINFO address-mappings" always does the right thing.
  5686. - Use CRLF line endings properly in NS events.
  5687. - Terminate multi-line control events properly. (Original patch
  5688. from tup.) [Bugfix on 0.1.2.x-alpha]
  5689. - Do not include spaces in SOURCE_ADDR fields in STREAM
  5690. events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
  5691. Changes in version 0.1.2.15 - 2007-07-17
  5692. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  5693. problems, fixes compilation on BSD, and fixes a variety of other
  5694. bugs. Everybody should upgrade.
  5695. o Major bugfixes (compilation):
  5696. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  5697. o Major bugfixes (crashes):
  5698. - Try even harder not to dereference the first character after
  5699. an mmap(). Reported by lodger.
  5700. - Fix a crash bug in directory authorities when we re-number the
  5701. routerlist while inserting a new router.
  5702. - When the cached-routers file is an even multiple of the page size,
  5703. don't run off the end and crash. (Fixes bug 455; based on idea
  5704. from croup.)
  5705. - Fix eventdns.c behavior on Solaris: It is critical to include
  5706. orconfig.h _before_ sys/types.h, so that we can get the expected
  5707. definition of _FILE_OFFSET_BITS.
  5708. o Major bugfixes (security):
  5709. - Fix a possible buffer overrun when using BSD natd support. Bug
  5710. found by croup.
  5711. - When sending destroy cells from a circuit's origin, don't include
  5712. the reason for tearing down the circuit. The spec says we didn't,
  5713. and now we actually don't. Reported by lodger.
  5714. - Keep streamids from different exits on a circuit separate. This
  5715. bug may have allowed other routers on a given circuit to inject
  5716. cells into streams. Reported by lodger; fixes bug 446.
  5717. - If there's a never-before-connected-to guard node in our list,
  5718. never choose any guards past it. This way we don't expand our
  5719. guard list unless we need to.
  5720. o Minor bugfixes (guard nodes):
  5721. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  5722. don't get overused as guards.
  5723. o Minor bugfixes (directory):
  5724. - Correctly count the number of authorities that recommend each
  5725. version. Previously, we were under-counting by 1.
  5726. - Fix a potential crash bug when we load many server descriptors at
  5727. once and some of them make others of them obsolete. Fixes bug 458.
  5728. o Minor bugfixes (hidden services):
  5729. - Stop tearing down the whole circuit when the user asks for a
  5730. connection to a port that the hidden service didn't configure.
  5731. Resolves bug 444.
  5732. o Minor bugfixes (misc):
  5733. - On Windows, we were preventing other processes from reading
  5734. cached-routers while Tor was running. Reported by janbar.
  5735. - Fix a possible (but very unlikely) bug in picking routers by
  5736. bandwidth. Add a log message to confirm that it is in fact
  5737. unlikely. Patch from lodger.
  5738. - Backport a couple of memory leak fixes.
  5739. - Backport miscellaneous cosmetic bugfixes.
  5740. Changes in version 0.2.0.2-alpha - 2007-06-02
  5741. o Major bugfixes on 0.2.0.1-alpha:
  5742. - Fix an assertion failure related to servers without extra-info digests.
  5743. Resolves bugs 441 and 442.
  5744. o Minor features (directory):
  5745. - Support "If-Modified-Since" when answering HTTP requests for
  5746. directories, running-routers documents, and network-status documents.
  5747. (There's no need to support it for router descriptors, since those
  5748. are downloaded by descriptor digest.)
  5749. o Minor build issues:
  5750. - Clear up some MIPSPro compiler warnings.
  5751. - When building from a tarball on a machine that happens to have SVK
  5752. installed, report the micro-revision as whatever version existed
  5753. in the tarball, not as "x".
  5754. Changes in version 0.2.0.1-alpha - 2007-06-01
  5755. This early development snapshot provides new features for people running
  5756. Tor as both a client and a server (check out the new RelayBandwidth
  5757. config options); lets Tor run as a DNS proxy; and generally moves us
  5758. forward on a lot of fronts.
  5759. o Major features, server usability:
  5760. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  5761. a separate set of token buckets for relayed traffic. Right now
  5762. relayed traffic is defined as answers to directory requests, and
  5763. OR connections that don't have any local circuits on them.
  5764. o Major features, client usability:
  5765. - A client-side DNS proxy feature to replace the need for
  5766. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  5767. for DNS requests on port 9999, use the Tor network to resolve them
  5768. anonymously, and send the reply back like a regular DNS server.
  5769. The code still only implements a subset of DNS.
  5770. - Make PreferTunneledDirConns and TunnelDirConns work even when
  5771. we have no cached directory info. This means Tor clients can now
  5772. do all of their connections protected by TLS.
  5773. o Major features, performance and efficiency:
  5774. - Directory authorities accept and serve "extra info" documents for
  5775. routers. These documents contain fields from router descriptors
  5776. that aren't usually needed, and that use a lot of excess
  5777. bandwidth. Once these fields are removed from router descriptors,
  5778. the bandwidth savings should be about 60%. [Partially implements
  5779. proposal 104.]
  5780. - Servers upload extra-info documents to any authority that accepts
  5781. them. Authorities (and caches that have been configured to download
  5782. extra-info documents) download them as needed. [Partially implements
  5783. proposal 104.]
  5784. - Change the way that Tor buffers data that it is waiting to write.
  5785. Instead of queueing data cells in an enormous ring buffer for each
  5786. client->OR or OR->OR connection, we now queue cells on a separate
  5787. queue for each circuit. This lets us use less slack memory, and
  5788. will eventually let us be smarter about prioritizing different kinds
  5789. of traffic.
  5790. - Use memory pools to allocate cells with better speed and memory
  5791. efficiency, especially on platforms where malloc() is inefficient.
  5792. - Stop reading on edge connections when their corresponding circuit
  5793. buffers are full; start again as the circuits empty out.
  5794. o Major features, other:
  5795. - Add an HSAuthorityRecordStats option that hidden service authorities
  5796. can use to track statistics of overall hidden service usage without
  5797. logging information that would be very useful to an attacker.
  5798. - Start work implementing multi-level keys for directory authorities:
  5799. Add a standalone tool to generate key certificates. (Proposal 103.)
  5800. o Security fixes:
  5801. - Directory authorities now call routers Stable if they have an
  5802. uptime of at least 30 days, even if that's not the median uptime
  5803. in the network. Implements proposal 107, suggested by Kevin Bauer
  5804. and Damon McCoy.
  5805. o Minor fixes (resource management):
  5806. - Count the number of open sockets separately from the number
  5807. of active connection_t objects. This will let us avoid underusing
  5808. our allocated connection limit.
  5809. - We no longer use socket pairs to link an edge connection to an
  5810. anonymous directory connection or a DirPort test connection.
  5811. Instead, we track the link internally and transfer the data
  5812. in-process. This saves two sockets per "linked" connection (at the
  5813. client and at the server), and avoids the nasty Windows socketpair()
  5814. workaround.
  5815. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  5816. for every single inactive connection_t. Free items from the
  5817. 4k/16k-buffer free lists when they haven't been used for a while.
  5818. o Minor features (build):
  5819. - Make autoconf search for libevent, openssl, and zlib consistently.
  5820. - Update deprecated macros in configure.in.
  5821. - When warning about missing headers, tell the user to let us
  5822. know if the compile succeeds anyway, so we can downgrade the
  5823. warning.
  5824. - Include the current subversion revision as part of the version
  5825. string: either fetch it directly if we're in an SVN checkout, do
  5826. some magic to guess it if we're in an SVK checkout, or use
  5827. the last-detected version if we're building from a .tar.gz.
  5828. Use this version consistently in log messages.
  5829. o Minor features (logging):
  5830. - Always prepend "Bug: " to any log message about a bug.
  5831. - Put a platform string (e.g. "Linux i686") in the startup log
  5832. message, so when people paste just their logs, we know if it's
  5833. OpenBSD or Windows or what.
  5834. - When logging memory usage, break down memory used in buffers by
  5835. buffer type.
  5836. o Minor features (directory system):
  5837. - New config option V2AuthoritativeDirectory that all directory
  5838. authorities should set. This will let future authorities choose
  5839. not to serve V2 directory information.
  5840. - Directory authorities allow multiple router descriptors and/or extra
  5841. info documents to be uploaded in a single go. This will make
  5842. implementing proposal 104 simpler.
  5843. o Minor features (controller):
  5844. - Add a new config option __DisablePredictedCircuits designed for
  5845. use by the controller, when we don't want Tor to build any circuits
  5846. preemptively.
  5847. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  5848. so we can exit from the middle of the circuit.
  5849. - Implement "getinfo status/circuit-established".
  5850. - Implement "getinfo status/version/..." so a controller can tell
  5851. whether the current version is recommended, and whether any versions
  5852. are good, and how many authorities agree. (Patch from shibz.)
  5853. o Minor features (hidden services):
  5854. - Allow multiple HiddenServicePort directives with the same virtual
  5855. port; when they occur, the user is sent round-robin to one
  5856. of the target ports chosen at random. Partially fixes bug 393 by
  5857. adding limited ad-hoc round-robining.
  5858. o Minor features (other):
  5859. - More unit tests.
  5860. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  5861. resolve request for hosts matching a given pattern causes Tor to
  5862. generate an internal virtual address mapping for that host. This
  5863. allows DNSPort to work sensibly with hidden service users. By
  5864. default, .exit and .onion addresses are remapped; the list of
  5865. patterns can be reconfigured with AutomapHostsSuffixes.
  5866. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  5867. address. Thanks to the AutomapHostsOnResolve option, this is no
  5868. longer a completely silly thing to do.
  5869. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  5870. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  5871. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  5872. minus 1 byte: the actual maximum declared bandwidth.
  5873. o Removed features:
  5874. - Removed support for the old binary "version 0" controller protocol.
  5875. This has been deprecated since 0.1.1, and warnings have been issued
  5876. since 0.1.2. When we encounter a v0 control message, we now send
  5877. back an error and close the connection.
  5878. - Remove the old "dns worker" server DNS code: it hasn't been default
  5879. since 0.1.2.2-alpha, and all the servers seem to be using the new
  5880. eventdns code.
  5881. o Minor bugfixes (portability):
  5882. - Even though Windows is equally happy with / and \ as path separators,
  5883. try to use \ consistently on Windows and / consistently on Unix: it
  5884. makes the log messages nicer.
  5885. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  5886. - Read resolv.conf files correctly on platforms where read() returns
  5887. partial results on small file reads.
  5888. o Minor bugfixes (directory):
  5889. - Correctly enforce that elements of directory objects do not appear
  5890. more often than they are allowed to appear.
  5891. - When we are reporting the DirServer line we just parsed, we were
  5892. logging the second stanza of the key fingerprint, not the first.
  5893. o Minor bugfixes (logging):
  5894. - When we hit an EOF on a log (probably because we're shutting down),
  5895. don't try to remove the log from the list: just mark it as
  5896. unusable. (Bulletproofs against bug 222.)
  5897. o Minor bugfixes (other):
  5898. - In the exitlist script, only consider the most recently published
  5899. server descriptor for each server. Also, when the user requests
  5900. a list of servers that _reject_ connections to a given address,
  5901. explicitly exclude the IPs that also have servers that accept
  5902. connections to that address. (Resolves bug 405.)
  5903. - Stop allowing hibernating servers to be "stable" or "fast".
  5904. - On Windows, we were preventing other processes from reading
  5905. cached-routers while Tor was running. (Reported by janbar)
  5906. - Make the NodeFamilies config option work. (Reported by
  5907. lodger -- it has never actually worked, even though we added it
  5908. in Oct 2004.)
  5909. - Check return values from pthread_mutex functions.
  5910. - Don't save non-general-purpose router descriptors to the disk cache,
  5911. because we have no way of remembering what their purpose was when
  5912. we restart.
  5913. - Add even more asserts to hunt down bug 417.
  5914. - Build without verbose warnings even on (not-yet-released) gcc 4.2.
  5915. - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
  5916. Add a log message to confirm that it is in fact unlikely.
  5917. o Minor bugfixes (controller):
  5918. - Make 'getinfo fingerprint' return a 551 error if we're not a
  5919. server, so we match what the control spec claims we do. Reported
  5920. by daejees.
  5921. - Fix a typo in an error message when extendcircuit fails that
  5922. caused us to not follow the \r\n-based delimiter protocol. Reported
  5923. by daejees.
  5924. o Code simplifications and refactoring:
  5925. - Stop passing around circuit_t and crypt_path_t pointers that are
  5926. implicit in other procedure arguments.
  5927. - Drop the old code to choke directory connections when the
  5928. corresponding OR connections got full: thanks to the cell queue
  5929. feature, OR conns don't get full any more.
  5930. - Make dns_resolve() handle attaching connections to circuits
  5931. properly, so the caller doesn't have to.
  5932. - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
  5933. - Keep the connection array as a dynamic smartlist_t, rather than as
  5934. a fixed-sized array. This is important, as the number of connections
  5935. is becoming increasingly decoupled from the number of sockets.
  5936. Changes in version 0.1.2.14 - 2007-05-25
  5937. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  5938. change especially affects those who serve or use hidden services),
  5939. and fixes several other crash- and security-related bugs.
  5940. o Directory authority changes:
  5941. - Two directory authorities (moria1 and moria2) just moved to new
  5942. IP addresses. This change will particularly affect those who serve
  5943. or use hidden services.
  5944. o Major bugfixes (crashes):
  5945. - If a directory server runs out of space in the connection table
  5946. as it's processing a begin_dir request, it will free the exit stream
  5947. but leave it attached to the circuit, leading to unpredictable
  5948. behavior. (Reported by seeess, fixes bug 425.)
  5949. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  5950. to corrupt memory under some really unlikely scenarios.
  5951. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  5952. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  5953. by lodger.)
  5954. o Major bugfixes (security):
  5955. - When choosing an entry guard for a circuit, avoid using guards
  5956. that are in the same family as the chosen exit -- not just guards
  5957. that are exactly the chosen exit. (Reported by lodger.)
  5958. o Major bugfixes (resource management):
  5959. - If a directory authority is down, skip it when deciding where to get
  5960. networkstatus objects or descriptors. Otherwise we keep asking
  5961. every 10 seconds forever. Fixes bug 384.
  5962. - Count it as a failure if we fetch a valid network-status but we
  5963. don't want to keep it. Otherwise we'll keep fetching it and keep
  5964. not wanting to keep it. Fixes part of bug 422.
  5965. - If all of our dirservers have given us bad or no networkstatuses
  5966. lately, then stop hammering them once per minute even when we
  5967. think they're failed. Fixes another part of bug 422.
  5968. o Minor bugfixes:
  5969. - Actually set the purpose correctly for descriptors inserted with
  5970. purpose=controller.
  5971. - When we have k non-v2 authorities in our DirServer config,
  5972. we ignored the last k authorities in the list when updating our
  5973. network-statuses.
  5974. - Correctly back-off from requesting router descriptors that we are
  5975. having a hard time downloading.
  5976. - Read resolv.conf files correctly on platforms where read() returns
  5977. partial results on small file reads.
  5978. - Don't rebuild the entire router store every time we get 32K of
  5979. routers: rebuild it when the journal gets very large, or when
  5980. the gaps in the store get very large.
  5981. o Minor features:
  5982. - When routers publish SVN revisions in their router descriptors,
  5983. authorities now include those versions correctly in networkstatus
  5984. documents.
  5985. - Warn when using a version of libevent before 1.3b to run a server on
  5986. OSX or BSD: these versions interact badly with userspace threads.
  5987. Changes in version 0.1.2.13 - 2007-04-24
  5988. This release features some major anonymity fixes, such as safer path
  5989. selection; better client performance; faster bootstrapping, better
  5990. address detection, and better DNS support for servers; write limiting as
  5991. well as read limiting to make servers easier to run; and a huge pile of
  5992. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  5993. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  5994. of the Freenode IRC network, remembering his patience and vision for
  5995. free speech on the Internet.
  5996. o Minor fixes:
  5997. - Fix a memory leak when we ask for "all" networkstatuses and we
  5998. get one we don't recognize.
  5999. - Add more asserts to hunt down bug 417.
  6000. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  6001. Changes in version 0.1.2.12-rc - 2007-03-16
  6002. o Major bugfixes:
  6003. - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
  6004. directory information requested inside Tor connections (i.e. via
  6005. begin_dir cells). It only triggered when the same connection was
  6006. serving other data at the same time. Reported by seeess.
  6007. o Minor bugfixes:
  6008. - When creating a circuit via the controller, send a 'launched'
  6009. event when we're done, so we follow the spec better.
  6010. Changes in version 0.1.2.11-rc - 2007-03-15
  6011. o Minor bugfixes (controller), reported by daejees:
  6012. - Correct the control spec to match how the code actually responds
  6013. to 'getinfo addr-mappings/*'.
  6014. - The control spec described a GUARDS event, but the code
  6015. implemented a GUARD event. Standardize on GUARD, but let people
  6016. ask for GUARDS too.
  6017. Changes in version 0.1.2.10-rc - 2007-03-07
  6018. o Major bugfixes (Windows):
  6019. - Do not load the NT services library functions (which may not exist)
  6020. just to detect if we're a service trying to shut down. Now we run
  6021. on Win98 and friends again.
  6022. o Minor bugfixes (other):
  6023. - Clarify a couple of log messages.
  6024. - Fix a misleading socks5 error number.
  6025. Changes in version 0.1.2.9-rc - 2007-03-02
  6026. o Major bugfixes (Windows):
  6027. - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
  6028. of the usual GCC "%llu". This prevents a bug when saving 64-bit
  6029. int configuration values: the high-order 32 bits would get
  6030. truncated. In particular, we were being bitten by the default
  6031. MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
  6032. and maybe also bug 397.)
  6033. o Minor bugfixes (performance):
  6034. - Use OpenSSL's AES implementation on platforms where it's faster.
  6035. This could save us as much as 10% CPU usage.
  6036. o Minor bugfixes (server):
  6037. - Do not rotate onion key immediately after setting it for the first
  6038. time.
  6039. o Minor bugfixes (directory authorities):
  6040. - Stop calling servers that have been hibernating for a long time
  6041. "stable". Also, stop letting hibernating or obsolete servers affect
  6042. uptime and bandwidth cutoffs.
  6043. - Stop listing hibernating servers in the v1 directory.
  6044. o Minor bugfixes (hidden services):
  6045. - Upload hidden service descriptors slightly less often, to reduce
  6046. load on authorities.
  6047. o Minor bugfixes (other):
  6048. - Fix an assert that could trigger if a controller quickly set then
  6049. cleared EntryNodes. (Bug found by Udo van den Heuvel.)
  6050. - On architectures where sizeof(int)>4, still clamp declarable bandwidth
  6051. to INT32_MAX.
  6052. - Fix a potential race condition in the rpm installer. Found by
  6053. Stefan Nordhausen.
  6054. - Try to fix eventdns warnings once and for all: do not treat a dns rcode
  6055. of 2 as indicating that the server is completely bad; it sometimes
  6056. means that the server is just bad for the request in question. (may fix
  6057. the last of bug 326.)
  6058. - Disable encrypted directory connections when we don't have a server
  6059. descriptor for the destination. We'll get this working again in
  6060. the 0.2.0 branch.
  6061. Changes in version 0.1.2.8-beta - 2007-02-26
  6062. o Major bugfixes (crashes):
  6063. - Stop crashing when the controller asks us to resetconf more than
  6064. one config option at once. (Vidalia 0.0.11 does this.)
  6065. - Fix a crash that happened on Win98 when we're given command-line
  6066. arguments: don't try to load NT service functions from advapi32.dll
  6067. except when we need them. (Bug introduced in 0.1.2.7-alpha;
  6068. resolves bug 389.)
  6069. - Fix a longstanding obscure crash bug that could occur when
  6070. we run out of DNS worker processes. (Resolves bug 390.)
  6071. o Major bugfixes (hidden services):
  6072. - Correctly detect whether hidden service descriptor downloads are
  6073. in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
  6074. o Major bugfixes (accounting):
  6075. - When we start during an accounting interval before it's time to wake
  6076. up, remember to wake up at the correct time. (May fix bug 342.)
  6077. o Minor bugfixes (controller):
  6078. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  6079. clear the corresponding on_circuit variable, and remember later
  6080. that we don't need to send a redundant CLOSED event. (Resolves part
  6081. 3 of bug 367.)
  6082. - Report events where a resolve succeeded or where we got a socks
  6083. protocol error correctly, rather than calling both of them
  6084. "INTERNAL".
  6085. - Change reported stream target addresses to IP consistently when
  6086. we finally get the IP from an exit node.
  6087. - Send log messages to the controller even if they happen to be very
  6088. long.
  6089. o Minor bugfixes (other):
  6090. - Display correct results when reporting which versions are
  6091. recommended, and how recommended they are. (Resolves bug 383.)
  6092. - Improve our estimates for directory bandwidth to be less random:
  6093. guess that an unrecognized directory will have the average bandwidth
  6094. from all known directories, not that it will have the average
  6095. bandwidth from those directories earlier than it on the list.
  6096. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  6097. and hup, stop triggering an assert based on an empty onion_key.
  6098. - On platforms with no working mmap() equivalent, don't warn the
  6099. user when cached-routers doesn't exist.
  6100. - Warn the user when mmap() [or its equivalent] fails for some reason
  6101. other than file-not-found.
  6102. - Don't warn the user when cached-routers.new doesn't exist: that's
  6103. perfectly fine when starting up for the first time.
  6104. - When EntryNodes are configured, rebuild the guard list to contain,
  6105. in order: the EntryNodes that were guards before; the rest of the
  6106. EntryNodes; the nodes that were guards before.
  6107. - Mask out all signals in sub-threads; only the libevent signal
  6108. handler should be processing them. This should prevent some crashes
  6109. on some machines using pthreads. (Patch from coderman.)
  6110. - Fix switched arguments on memset in the implementation of
  6111. tor_munmap() for systems with no mmap() call.
  6112. - When Tor receives a router descriptor that it asked for, but
  6113. no longer wants (because it has received fresh networkstatuses
  6114. in the meantime), do not warn the user. Cache the descriptor if
  6115. we're a cache; drop it if we aren't.
  6116. - Make earlier entry guards _really_ get retried when the network
  6117. comes back online.
  6118. - On a malformed DNS reply, always give an error to the corresponding
  6119. DNS request.
  6120. - Build with recent libevents on platforms that do not define the
  6121. nonstandard types "u_int8_t" and friends.
  6122. o Minor features (controller):
  6123. - Warn the user when an application uses the obsolete binary v0
  6124. control protocol. We're planning to remove support for it during
  6125. the next development series, so it's good to give people some
  6126. advance warning.
  6127. - Add STREAM_BW events to report per-entry-stream bandwidth
  6128. use. (Patch from Robert Hogan.)
  6129. - Rate-limit SIGNEWNYM signals in response to controllers that
  6130. impolitely generate them for every single stream. (Patch from
  6131. mwenge; closes bug 394.)
  6132. - Make REMAP stream events have a SOURCE (cache or exit), and
  6133. make them generated in every case where we get a successful
  6134. connected or resolved cell.
  6135. o Minor bugfixes (performance):
  6136. - Call router_have_min_dir_info half as often. (This is showing up in
  6137. some profiles, but not others.)
  6138. - When using GCC, make log_debug never get called at all, and its
  6139. arguments never get evaluated, when no debug logs are configured.
  6140. (This is showing up in some profiles, but not others.)
  6141. o Minor features:
  6142. - Remove some never-implemented options. Mark PathlenCoinWeight as
  6143. obsolete.
  6144. - Implement proposal 106: Stop requiring clients to have well-formed
  6145. certificates; stop checking nicknames in certificates. (Clients
  6146. have certificates so that they can look like Tor servers, but in
  6147. the future we might want to allow them to look like regular TLS
  6148. clients instead. Nicknames in certificates serve no purpose other
  6149. than making our protocol easier to recognize on the wire.)
  6150. - Revise messages on handshake failure again to be even more clear about
  6151. which are incoming connections and which are outgoing.
  6152. - Discard any v1 directory info that's over 1 month old (for
  6153. directories) or over 1 week old (for running-routers lists).
  6154. - Do not warn when individual nodes in the configuration's EntryNodes,
  6155. ExitNodes, etc are down: warn only when all possible nodes
  6156. are down. (Fixes bug 348.)
  6157. - Always remove expired routers and networkstatus docs before checking
  6158. whether we have enough information to build circuits. (Fixes
  6159. bug 373.)
  6160. - Put a lower-bound on MaxAdvertisedBandwidth.
  6161. Changes in version 0.1.2.7-alpha - 2007-02-06
  6162. o Major bugfixes (rate limiting):
  6163. - Servers decline directory requests much more aggressively when
  6164. they're low on bandwidth. Otherwise they end up queueing more and
  6165. more directory responses, which can't be good for latency.
  6166. - But never refuse directory requests from local addresses.
  6167. - Fix a memory leak when sending a 503 response for a networkstatus
  6168. request.
  6169. - Be willing to read or write on local connections (e.g. controller
  6170. connections) even when the global rate limiting buckets are empty.
  6171. - If our system clock jumps back in time, don't publish a negative
  6172. uptime in the descriptor. Also, don't let the global rate limiting
  6173. buckets go absurdly negative.
  6174. - Flush local controller connection buffers periodically as we're
  6175. writing to them, so we avoid queueing 4+ megabytes of data before
  6176. trying to flush.
  6177. o Major bugfixes (NT services):
  6178. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  6179. command-line flag so that admins can override the default by saying
  6180. "tor --service install --user "SomeUser"". This will not affect
  6181. existing installed services. Also, warn the user that the service
  6182. will look for its configuration file in the service user's
  6183. %appdata% directory. (We can't do the 'hardwire the user's appdata
  6184. directory' trick any more, since we may not have read access to that
  6185. directory.)
  6186. o Major bugfixes (other):
  6187. - Previously, we would cache up to 16 old networkstatus documents
  6188. indefinitely, if they came from nontrusted authorities. Now we
  6189. discard them if they are more than 10 days old.
  6190. - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
  6191. Del Vecchio).
  6192. - Detect and reject malformed DNS responses containing circular
  6193. pointer loops.
  6194. - If exits are rare enough that we're not marking exits as guards,
  6195. ignore exit bandwidth when we're deciding the required bandwidth
  6196. to become a guard.
  6197. - When we're handling a directory connection tunneled over Tor,
  6198. don't fill up internal memory buffers with all the data we want
  6199. to tunnel; instead, only add it if the OR connection that will
  6200. eventually receive it has some room for it. (This can lead to
  6201. slowdowns in tunneled dir connections; a better solution will have
  6202. to wait for 0.2.0.)
  6203. o Minor bugfixes (dns):
  6204. - Add some defensive programming to eventdns.c in an attempt to catch
  6205. possible memory-stomping bugs.
  6206. - Detect and reject DNS replies containing IPv4 or IPv6 records with
  6207. an incorrect number of bytes. (Previously, we would ignore the
  6208. extra bytes.)
  6209. - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
  6210. in the correct order, and doesn't crash.
  6211. - Free memory held in recently-completed DNS lookup attempts on exit.
  6212. This was not a memory leak, but may have been hiding memory leaks.
  6213. - Handle TTL values correctly on reverse DNS lookups.
  6214. - Treat failure to parse resolv.conf as an error.
  6215. o Minor bugfixes (other):
  6216. - Fix crash with "tor --list-fingerprint" (reported by seeess).
  6217. - When computing clock skew from directory HTTP headers, consider what
  6218. time it was when we finished asking for the directory, not what
  6219. time it is now.
  6220. - Expire socks connections if they spend too long waiting for the
  6221. handshake to finish. Previously we would let them sit around for
  6222. days, if the connecting application didn't close them either.
  6223. - And if the socks handshake hasn't started, don't send a
  6224. "DNS resolve socks failed" handshake reply; just close it.
  6225. - Stop using C functions that OpenBSD's linker doesn't like.
  6226. - Don't launch requests for descriptors unless we have networkstatuses
  6227. from at least half of the authorities. This delays the first
  6228. download slightly under pathological circumstances, but can prevent
  6229. us from downloading a bunch of descriptors we don't need.
  6230. - Do not log IPs with TLS failures for incoming TLS
  6231. connections. (Fixes bug 382.)
  6232. - If the user asks to use invalid exit nodes, be willing to use
  6233. unstable ones.
  6234. - Stop using the reserved ac_cv namespace in our configure script.
  6235. - Call stat() slightly less often; use fstat() when possible.
  6236. - Refactor the way we handle pending circuits when an OR connection
  6237. completes or fails, in an attempt to fix a rare crash bug.
  6238. - Only rewrite a conn's address based on X-Forwarded-For: headers
  6239. if it's a parseable public IP address; and stop adding extra quotes
  6240. to the resulting address.
  6241. o Major features:
  6242. - Weight directory requests by advertised bandwidth. Now we can
  6243. let servers enable write limiting but still allow most clients to
  6244. succeed at their directory requests. (We still ignore weights when
  6245. choosing a directory authority; I hope this is a feature.)
  6246. o Minor features:
  6247. - Create a new file ReleaseNotes which was the old ChangeLog. The
  6248. new ChangeLog file now includes the summaries for all development
  6249. versions too.
  6250. - Check for addresses with invalid characters at the exit as well
  6251. as at the client, and warn less verbosely when they fail. You can
  6252. override this by setting ServerDNSAllowNonRFC953Addresses to 1.
  6253. - Adapt a patch from goodell to let the contrib/exitlist script
  6254. take arguments rather than require direct editing.
  6255. - Inform the server operator when we decide not to advertise a
  6256. DirPort due to AccountingMax enabled or a low BandwidthRate. It
  6257. was confusing Zax, so now we're hopefully more helpful.
  6258. - Bring us one step closer to being able to establish an encrypted
  6259. directory tunnel without knowing a descriptor first. Still not
  6260. ready yet. As part of the change, now assume we can use a
  6261. create_fast cell if we don't know anything about a router.
  6262. - Allow exit nodes to use nameservers running on ports other than 53.
  6263. - Servers now cache reverse DNS replies.
  6264. - Add an --ignore-missing-torrc command-line option so that we can
  6265. get the "use sensible defaults if the configuration file doesn't
  6266. exist" behavior even when specifying a torrc location on the command
  6267. line.
  6268. o Minor features (controller):
  6269. - Track reasons for OR connection failure; make these reasons
  6270. available via the controller interface. (Patch from Mike Perry.)
  6271. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  6272. can learn when clients are sending malformed hostnames to Tor.
  6273. - Clean up documentation for controller status events.
  6274. - Add a REMAP status to stream events to note that a stream's
  6275. address has changed because of a cached address or a MapAddress
  6276. directive.
  6277. Changes in version 0.1.2.6-alpha - 2007-01-09
  6278. o Major bugfixes:
  6279. - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
  6280. connection handles more than 4 gigs in either direction, we crash.
  6281. - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
  6282. advertised exit node, somebody might try to exit from us when
  6283. we're bootstrapping and before we've built our descriptor yet.
  6284. Refuse the connection rather than crashing.
  6285. o Minor bugfixes:
  6286. - Warn if we (as a server) find that we've resolved an address that we
  6287. weren't planning to resolve.
  6288. - Warn that using select() on any libevent version before 1.1 will be
  6289. unnecessarily slow (even for select()).
  6290. - Flush ERR-level controller status events just like we currently
  6291. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  6292. the controller from learning about current events.
  6293. o Minor features (more controller status events):
  6294. - Implement EXTERNAL_ADDRESS server status event so controllers can
  6295. learn when our address changes.
  6296. - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
  6297. can learn when directories reject our descriptor.
  6298. - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
  6299. can learn when a client application is speaking a non-socks protocol
  6300. to our SocksPort.
  6301. - Implement DANGEROUS_SOCKS client status event so controllers
  6302. can learn when a client application is leaking DNS addresses.
  6303. - Implement BUG general status event so controllers can learn when
  6304. Tor is unhappy about its internal invariants.
  6305. - Implement CLOCK_SKEW general status event so controllers can learn
  6306. when Tor thinks the system clock is set incorrectly.
  6307. - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
  6308. server status events so controllers can learn when their descriptors
  6309. are accepted by a directory.
  6310. - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
  6311. server status events so controllers can learn about Tor's progress in
  6312. deciding whether it's reachable from the outside.
  6313. - Implement BAD_LIBEVENT general status event so controllers can learn
  6314. when we have a version/method combination in libevent that needs to
  6315. be changed.
  6316. - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
  6317. and DNS_USELESS server status events so controllers can learn
  6318. about changes to DNS server status.
  6319. o Minor features (directory):
  6320. - Authorities no longer recommend exits as guards if this would shift
  6321. too much load to the exit nodes.
  6322. Changes in version 0.1.2.5-alpha - 2007-01-06
  6323. o Major features:
  6324. - Enable write limiting as well as read limiting. Now we sacrifice
  6325. capacity if we're pushing out lots of directory traffic, rather
  6326. than overrunning the user's intended bandwidth limits.
  6327. - Include TLS overhead when counting bandwidth usage; previously, we
  6328. would count only the bytes sent over TLS, but not the bytes used
  6329. to send them.
  6330. - Support running the Tor service with a torrc not in the same
  6331. directory as tor.exe and default to using the torrc located in
  6332. the %appdata%\Tor\ of the user who installed the service. Patch
  6333. from Matt Edman.
  6334. - Servers now check for the case when common DNS requests are going to
  6335. wildcarded addresses (i.e. all getting the same answer), and change
  6336. their exit policy to reject *:* if it's happening.
  6337. - Implement BEGIN_DIR cells, so we can connect to the directory
  6338. server via TLS to do encrypted directory requests rather than
  6339. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  6340. config options if you like.
  6341. o Minor features (config and docs):
  6342. - Start using the state file to store bandwidth accounting data:
  6343. the bw_accounting file is now obsolete. We'll keep generating it
  6344. for a while for people who are still using 0.1.2.4-alpha.
  6345. - Try to batch changes to the state file so that we do as few
  6346. disk writes as possible while still storing important things in
  6347. a timely fashion.
  6348. - The state file and the bw_accounting file get saved less often when
  6349. the AvoidDiskWrites config option is set.
  6350. - Make PIDFile work on Windows (untested).
  6351. - Add internal descriptions for a bunch of configuration options:
  6352. accessible via controller interface and in comments in saved
  6353. options files.
  6354. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  6355. NNTP by default, so this seems like a sensible addition.
  6356. - Clients now reject hostnames with invalid characters. This should
  6357. avoid some inadvertent info leaks. Add an option
  6358. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  6359. is running a private network with hosts called @, !, and #.
  6360. - Add a maintainer script to tell us which options are missing
  6361. documentation: "make check-docs".
  6362. - Add a new address-spec.txt document to describe our special-case
  6363. addresses: .exit, .onion, and .noconnnect.
  6364. o Minor features (DNS):
  6365. - Ongoing work on eventdns infrastructure: now it has dns server
  6366. and ipv6 support. One day Tor will make use of it.
  6367. - Add client-side caching for reverse DNS lookups.
  6368. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  6369. - When we change nameservers or IP addresses, reset and re-launch
  6370. our tests for DNS hijacking.
  6371. o Minor features (directory):
  6372. - Authorities now specify server versions in networkstatus. This adds
  6373. about 2% to the size of compressed networkstatus docs, and allows
  6374. clients to tell which servers support BEGIN_DIR and which don't.
  6375. The implementation is forward-compatible with a proposed future
  6376. protocol version scheme not tied to Tor versions.
  6377. - DirServer configuration lines now have an orport= option so
  6378. clients can open encrypted tunnels to the authorities without
  6379. having downloaded their descriptors yet. Enabled for moria1,
  6380. moria2, tor26, and lefkada now in the default configuration.
  6381. - Directory servers are more willing to send a 503 "busy" if they
  6382. are near their write limit, especially for v1 directory requests.
  6383. Now they can use their limited bandwidth for actual Tor traffic.
  6384. - Clients track responses with status 503 from dirservers. After a
  6385. dirserver has given us a 503, we try not to use it until an hour has
  6386. gone by, or until we have no dirservers that haven't given us a 503.
  6387. - When we get a 503 from a directory, and we're not a server, we don't
  6388. count the failure against the total number of failures allowed
  6389. for the thing we're trying to download.
  6390. - Report X-Your-Address-Is correctly from tunneled directory
  6391. connections; don't report X-Your-Address-Is when it's an internal
  6392. address; and never believe reported remote addresses when they're
  6393. internal.
  6394. - Protect against an unlikely DoS attack on directory servers.
  6395. - Add a BadDirectory flag to network status docs so that authorities
  6396. can (eventually) tell clients about caches they believe to be
  6397. broken.
  6398. o Minor features (controller):
  6399. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  6400. - Reimplement GETINFO so that info/names stays in sync with the
  6401. actual keys.
  6402. - Implement "GETINFO fingerprint".
  6403. - Implement "SETEVENTS GUARD" so controllers can get updates on
  6404. entry guard status as it changes.
  6405. o Minor features (clean up obsolete pieces):
  6406. - Remove some options that have been deprecated since at least
  6407. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  6408. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  6409. to set log options.
  6410. - We no longer look for identity and onion keys in "identity.key" and
  6411. "onion.key" -- these were replaced by secret_id_key and
  6412. secret_onion_key in 0.0.8pre1.
  6413. - We no longer require unrecognized directory entries to be
  6414. preceded by "opt".
  6415. o Major bugfixes (security):
  6416. - Stop sending the HttpProxyAuthenticator string to directory
  6417. servers when directory connections are tunnelled through Tor.
  6418. - Clients no longer store bandwidth history in the state file.
  6419. - Do not log introduction points for hidden services if SafeLogging
  6420. is set.
  6421. - When generating bandwidth history, round down to the nearest
  6422. 1k. When storing accounting data, round up to the nearest 1k.
  6423. - When we're running as a server, remember when we last rotated onion
  6424. keys, so that we will rotate keys once they're a week old even if
  6425. we never stay up for a week ourselves.
  6426. o Major bugfixes (other):
  6427. - Fix a longstanding bug in eventdns that prevented the count of
  6428. timed-out resolves from ever being reset. This bug caused us to
  6429. give up on a nameserver the third time it timed out, and try it
  6430. 10 seconds later... and to give up on it every time it timed out
  6431. after that.
  6432. - Take out the '5 second' timeout from the connection retry
  6433. schedule. Now the first connect attempt will wait a full 10
  6434. seconds before switching to a new circuit. Perhaps this will help
  6435. a lot. Based on observations from Mike Perry.
  6436. - Fix a bug on the Windows implementation of tor_mmap_file() that
  6437. would prevent the cached-routers file from ever loading. Reported
  6438. by John Kimble.
  6439. o Minor bugfixes:
  6440. - Fix an assert failure when a directory authority sets
  6441. AuthDirRejectUnlisted and then receives a descriptor from an
  6442. unlisted router. Reported by seeess.
  6443. - Avoid a double-free when parsing malformed DirServer lines.
  6444. - Fix a bug when a BSD-style PF socket is first used. Patch from
  6445. Fabian Keil.
  6446. - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
  6447. to resolve an address at a given exit node even when they ask for
  6448. it by name.
  6449. - Servers no longer ever list themselves in their "family" line,
  6450. even if configured to do so. This makes it easier to configure
  6451. family lists conveniently.
  6452. - When running as a server, don't fall back to 127.0.0.1 when no
  6453. nameservers are configured in /etc/resolv.conf; instead, make the
  6454. user fix resolv.conf or specify nameservers explicitly. (Resolves
  6455. bug 363.)
  6456. - Stop accepting certain malformed ports in configured exit policies.
  6457. - Don't re-write the fingerprint file every restart, unless it has
  6458. changed.
  6459. - Stop warning when a single nameserver fails: only warn when _all_ of
  6460. our nameservers have failed. Also, when we only have one nameserver,
  6461. raise the threshold for deciding that the nameserver is dead.
  6462. - Directory authorities now only decide that routers are reachable
  6463. if their identity keys are as expected.
  6464. - When the user uses bad syntax in the Log config line, stop
  6465. suggesting other bad syntax as a replacement.
  6466. - Correctly detect ipv6 DNS capability on OpenBSD.
  6467. o Minor bugfixes (controller):
  6468. - Report the circuit number correctly in STREAM CLOSED events. Bug
  6469. reported by Mike Perry.
  6470. - Do not report bizarre values for results of accounting GETINFOs
  6471. when the last second's write or read exceeds the allotted bandwidth.
  6472. - Report "unrecognized key" rather than an empty string when the
  6473. controller tries to fetch a networkstatus that doesn't exist.
  6474. Changes in version 0.1.1.26 - 2006-12-14
  6475. o Security bugfixes:
  6476. - Stop sending the HttpProxyAuthenticator string to directory
  6477. servers when directory connections are tunnelled through Tor.
  6478. - Clients no longer store bandwidth history in the state file.
  6479. - Do not log introduction points for hidden services if SafeLogging
  6480. is set.
  6481. o Minor bugfixes:
  6482. - Fix an assert failure when a directory authority sets
  6483. AuthDirRejectUnlisted and then receives a descriptor from an
  6484. unlisted router (reported by seeess).
  6485. Changes in version 0.1.2.4-alpha - 2006-12-03
  6486. o Major features:
  6487. - Add support for using natd; this allows FreeBSDs earlier than
  6488. 5.1.2 to have ipfw send connections through Tor without using
  6489. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  6490. o Minor features:
  6491. - Make all connections to addresses of the form ".noconnect"
  6492. immediately get closed. This lets application/controller combos
  6493. successfully test whether they're talking to the same Tor by
  6494. watching for STREAM events.
  6495. - Make cross.sh cross-compilation script work even when autogen.sh
  6496. hasn't been run. (Patch from Michael Mohr.)
  6497. - Statistics dumped by -USR2 now include a breakdown of public key
  6498. operations, for profiling.
  6499. o Major bugfixes:
  6500. - Fix a major leak when directory authorities parse their
  6501. approved-routers list, a minor memory leak when we fail to pick
  6502. an exit node, and a few rare leaks on errors.
  6503. - Handle TransPort connections even when the server sends data before
  6504. the client sends data. Previously, the connection would just hang
  6505. until the client sent data. (Patch from tup based on patch from
  6506. Zajcev Evgeny.)
  6507. - Avoid assert failure when our cached-routers file is empty on
  6508. startup.
  6509. o Minor bugfixes:
  6510. - Don't log spurious warnings when we see a circuit close reason we
  6511. don't recognize; it's probably just from a newer version of Tor.
  6512. - Have directory authorities allow larger amounts of drift in uptime
  6513. without replacing the server descriptor: previously, a server that
  6514. restarted every 30 minutes could have 48 "interesting" descriptors
  6515. per day.
  6516. - Start linking to the Tor specification and Tor reference manual
  6517. correctly in the Windows installer.
  6518. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  6519. Tor/Privoxy we also uninstall Vidalia.
  6520. - Resume building on Irix64, and fix a lot of warnings from its
  6521. MIPSpro C compiler.
  6522. - Don't corrupt last_guessed_ip in router_new_address_suggestion()
  6523. when we're running as a client.
  6524. Changes in version 0.1.1.25 - 2006-11-04
  6525. o Major bugfixes:
  6526. - When a client asks us to resolve (rather than connect to)
  6527. an address, and we have a cached answer, give them the cached
  6528. answer. Previously, we would give them no answer at all.
  6529. - We were building exactly the wrong circuits when we predict
  6530. hidden service requirements, meaning Tor would have to build all
  6531. its circuits on demand.
  6532. - If none of our live entry guards have a high uptime, but we
  6533. require a guard with a high uptime, try adding a new guard before
  6534. we give up on the requirement. This patch should make long-lived
  6535. connections more stable on average.
  6536. - When testing reachability of our DirPort, don't launch new
  6537. tests when there's already one in progress -- unreachable
  6538. servers were stacking up dozens of testing streams.
  6539. o Security bugfixes:
  6540. - When the user sends a NEWNYM signal, clear the client-side DNS
  6541. cache too. Otherwise we continue to act on previous information.
  6542. o Minor bugfixes:
  6543. - Avoid a memory corruption bug when creating a hash table for
  6544. the first time.
  6545. - Avoid possibility of controller-triggered crash when misusing
  6546. certain commands from a v0 controller on platforms that do not
  6547. handle printf("%s",NULL) gracefully.
  6548. - Avoid infinite loop on unexpected controller input.
  6549. - Don't log spurious warnings when we see a circuit close reason we
  6550. don't recognize; it's probably just from a newer version of Tor.
  6551. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  6552. Tor/Privoxy we also uninstall Vidalia.
  6553. Changes in version 0.1.2.3-alpha - 2006-10-29
  6554. o Minor features:
  6555. - Prepare for servers to publish descriptors less often: never
  6556. discard a descriptor simply for being too old until either it is
  6557. recommended by no authorities, or until we get a better one for
  6558. the same router. Make caches consider retaining old recommended
  6559. routers for even longer.
  6560. - If most authorities set a BadExit flag for a server, clients
  6561. don't think of it as a general-purpose exit. Clients only consider
  6562. authorities that advertise themselves as listing bad exits.
  6563. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  6564. headers for content, so that we can work better in the presence of
  6565. caching HTTP proxies.
  6566. - Allow authorities to list nodes as bad exits by fingerprint or by
  6567. address.
  6568. o Minor features, controller:
  6569. - Add a REASON field to CIRC events; for backward compatibility, this
  6570. field is sent only to controllers that have enabled the extended
  6571. event format. Also, add additional reason codes to explain why
  6572. a given circuit has been destroyed or truncated. (Patches from
  6573. Mike Perry)
  6574. - Add a REMOTE_REASON field to extended CIRC events to tell the
  6575. controller about why a remote OR told us to close a circuit.
  6576. - Stream events also now have REASON and REMOTE_REASON fields,
  6577. working much like those for circuit events.
  6578. - There's now a GETINFO ns/... field so that controllers can ask Tor
  6579. about the current status of a router.
  6580. - A new event type "NS" to inform a controller when our opinion of
  6581. a router's status has changed.
  6582. - Add a GETINFO events/names and GETINFO features/names so controllers
  6583. can tell which events and features are supported.
  6584. - A new CLEARDNSCACHE signal to allow controllers to clear the
  6585. client-side DNS cache without expiring circuits.
  6586. o Security bugfixes:
  6587. - When the user sends a NEWNYM signal, clear the client-side DNS
  6588. cache too. Otherwise we continue to act on previous information.
  6589. o Minor bugfixes:
  6590. - Avoid sending junk to controllers or segfaulting when a controller
  6591. uses EVENT_NEW_DESC with verbose nicknames.
  6592. - Stop triggering asserts if the controller tries to extend hidden
  6593. service circuits (reported by mwenge).
  6594. - Avoid infinite loop on unexpected controller input.
  6595. - When the controller does a "GETINFO network-status", tell it
  6596. about even those routers whose descriptors are very old, and use
  6597. long nicknames where appropriate.
  6598. - Change NT service functions to be loaded on demand. This lets us
  6599. build with MinGW without breaking Tor for Windows 98 users.
  6600. - Do DirPort reachability tests less often, since a single test
  6601. chews through many circuits before giving up.
  6602. - In the hidden service example in torrc.sample, stop recommending
  6603. esoteric and discouraged hidden service options.
  6604. - When stopping an NT service, wait up to 10 sec for it to actually
  6605. stop. (Patch from Matt Edman; resolves bug 295.)
  6606. - Fix handling of verbose nicknames with ORCONN controller events:
  6607. make them show up exactly when requested, rather than exactly when
  6608. not requested.
  6609. - When reporting verbose nicknames in entry_guards_getinfo(), avoid
  6610. printing a duplicate "$" in the keys we send (reported by mwenge).
  6611. - Correctly set maximum connection limit on Cygwin. (This time
  6612. for sure!)
  6613. - Try to detect Windows correctly when cross-compiling.
  6614. - Detect the size of the routers file correctly even if it is
  6615. corrupted (on systems without mmap) or not page-aligned (on systems
  6616. with mmap). This bug was harmless.
  6617. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  6618. to open a stream fails; now we do in more cases. This should
  6619. make clients able to find a good exit faster in some cases, since
  6620. unhandleable requests will now get an error rather than timing out.
  6621. - Resolve two memory leaks when rebuilding the on-disk router cache
  6622. (reported by fookoowa).
  6623. - Clean up minor code warnings suggested by the MIPSpro C compiler,
  6624. and reported by some Centos users.
  6625. - Controller signals now work on non-Unix platforms that don't define
  6626. SIGUSR1 and SIGUSR2 the way we expect.
  6627. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  6628. values before failing, and always enables eventdns.
  6629. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  6630. Try to fix this in configure.in by checking for most functions
  6631. before we check for libevent.
  6632. Changes in version 0.1.2.2-alpha - 2006-10-07
  6633. o Major features:
  6634. - Make our async eventdns library on-by-default for Tor servers,
  6635. and plan to deprecate the separate dnsworker threads.
  6636. - Add server-side support for "reverse" DNS lookups (using PTR
  6637. records so clients can determine the canonical hostname for a given
  6638. IPv4 address). Only supported by servers using eventdns; servers
  6639. now announce in their descriptors whether they support eventdns.
  6640. - Specify and implement client-side SOCKS5 interface for reverse DNS
  6641. lookups (see doc/socks-extensions.txt).
  6642. - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
  6643. connect to directory servers through Tor. Previously, clients needed
  6644. to find Tor exits to make private connections to directory servers.
  6645. - Avoid choosing Exit nodes for entry or middle hops when the
  6646. total bandwidth available from non-Exit nodes is much higher than
  6647. the total bandwidth available from Exit nodes.
  6648. - Workaround for name servers (like Earthlink's) that hijack failing
  6649. DNS requests and replace the no-such-server answer with a "helpful"
  6650. redirect to an advertising-driven search portal. Also work around
  6651. DNS hijackers who "helpfully" decline to hijack known-invalid
  6652. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  6653. lets you turn it off.
  6654. - Send out a burst of long-range padding cells once we've established
  6655. that we're reachable. Spread them over 4 circuits, so hopefully
  6656. a few will be fast. This exercises our bandwidth and bootstraps
  6657. us into the directory more quickly.
  6658. o New/improved config options:
  6659. - Add new config option "ResolvConf" to let the server operator
  6660. choose an alternate resolve.conf file when using eventdns.
  6661. - Add an "EnforceDistinctSubnets" option to control our "exclude
  6662. servers on the same /16" behavior. It's still on by default; this
  6663. is mostly for people who want to operate private test networks with
  6664. all the machines on the same subnet.
  6665. - If one of our entry guards is on the ExcludeNodes list, or the
  6666. directory authorities don't think it's a good guard, treat it as
  6667. if it were unlisted: stop using it as a guard, and throw it off
  6668. the guards list if it stays that way for a long time.
  6669. - Allow directory authorities to be marked separately as authorities
  6670. for the v1 directory protocol, the v2 directory protocol, and
  6671. as hidden service directories, to make it easier to retire old
  6672. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  6673. to continue being hidden service authorities too.
  6674. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  6675. o Minor features, controller:
  6676. - Fix CIRC controller events so that controllers can learn the
  6677. identity digests of non-Named servers used in circuit paths.
  6678. - Let controllers ask for more useful identifiers for servers. Instead
  6679. of learning identity digests for un-Named servers and nicknames
  6680. for Named servers, the new identifiers include digest, nickname,
  6681. and indication of Named status. Off by default; see control-spec.txt
  6682. for more information.
  6683. - Add a "getinfo address" controller command so it can display Tor's
  6684. best guess to the user.
  6685. - New controller event to alert the controller when our server
  6686. descriptor has changed.
  6687. - Give more meaningful errors on controller authentication failure.
  6688. o Minor features, other:
  6689. - When asked to resolve a hostname, don't use non-exit servers unless
  6690. requested to do so. This allows servers with broken DNS to be
  6691. useful to the network.
  6692. - Divide eventdns log messages into warn and info messages.
  6693. - Reserve the nickname "Unnamed" for routers that can't pick
  6694. a hostname: any router can call itself Unnamed; directory
  6695. authorities will never allocate Unnamed to any particular router;
  6696. clients won't believe that any router is the canonical Unnamed.
  6697. - Only include function names in log messages for info/debug messages.
  6698. For notice/warn/err, the content of the message should be clear on
  6699. its own, and printing the function name only confuses users.
  6700. - Avoid some false positives during reachability testing: don't try
  6701. to test via a server that's on the same /24 as us.
  6702. - If we fail to build a circuit to an intended enclave, and it's
  6703. not mandatory that we use that enclave, stop wanting it.
  6704. - When eventdns is enabled, allow multithreaded builds on NetBSD and
  6705. OpenBSD. (We had previously disabled threads on these platforms
  6706. because they didn't have working thread-safe resolver functions.)
  6707. o Major bugfixes, anonymity/security:
  6708. - If a client asked for a server by name, and there's a named server
  6709. in our network-status but we don't have its descriptor yet, we
  6710. could return an unnamed server instead.
  6711. - Fix NetBSD bug that could allow someone to force uninitialized RAM
  6712. to be sent to a server's DNS resolver. This only affects NetBSD
  6713. and other platforms that do not bounds-check tolower().
  6714. - Reject (most) attempts to use Tor circuits with length one. (If
  6715. many people start using Tor as a one-hop proxy, exit nodes become
  6716. a more attractive target for compromise.)
  6717. - Just because your DirPort is open doesn't mean people should be
  6718. able to remotely teach you about hidden service descriptors. Now
  6719. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  6720. o Major bugfixes, other:
  6721. - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
  6722. - When a client asks the server to resolve (not connect to)
  6723. an address, and it has a cached answer, give them the cached answer.
  6724. Previously, the server would give them no answer at all.
  6725. - Allow really slow clients to not hang up five minutes into their
  6726. directory downloads (suggested by Adam J. Richter).
  6727. - We were building exactly the wrong circuits when we anticipated
  6728. hidden service requirements, meaning Tor would have to build all
  6729. its circuits on demand.
  6730. - Avoid crashing when we mmap a router cache file of size 0.
  6731. - When testing reachability of our DirPort, don't launch new
  6732. tests when there's already one in progress -- unreachable
  6733. servers were stacking up dozens of testing streams.
  6734. o Minor bugfixes, correctness:
  6735. - If we're a directory mirror and we ask for "all" network status
  6736. documents, we would discard status documents from authorities
  6737. we don't recognize.
  6738. - Avoid a memory corruption bug when creating a hash table for
  6739. the first time.
  6740. - Avoid controller-triggered crash when misusing certain commands
  6741. from a v0 controller on platforms that do not handle
  6742. printf("%s",NULL) gracefully.
  6743. - Don't crash when a controller sends a third argument to an
  6744. "extendcircuit" request.
  6745. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  6746. response; fix error code when "getinfo dir/status/" fails.
  6747. - Avoid crash when telling controller stream-status and a stream
  6748. is detached.
  6749. - Patch from Adam Langley to fix assert() in eventdns.c.
  6750. - Fix a debug log message in eventdns to say "X resolved to Y"
  6751. instead of "X resolved to X".
  6752. - Make eventdns give strings for DNS errors, not just error numbers.
  6753. - Track unreachable entry guards correctly: don't conflate
  6754. 'unreachable by us right now' with 'listed as down by the directory
  6755. authorities'. With the old code, if a guard was unreachable by
  6756. us but listed as running, it would clog our guard list forever.
  6757. - Behave correctly in case we ever have a network with more than
  6758. 2GB/s total advertised capacity.
  6759. - Make TrackExitHosts case-insensitive, and fix the behavior of
  6760. ".suffix" TrackExitHosts items to avoid matching in the middle of
  6761. an address.
  6762. - Finally fix the openssl warnings from newer gccs that believe that
  6763. ignoring a return value is okay, but casting a return value and
  6764. then ignoring it is a sign of madness.
  6765. - Prevent the contrib/exitlist script from printing the same
  6766. result more than once.
  6767. - Patch from Steve Hildrey: Generate network status correctly on
  6768. non-versioning dirservers.
  6769. - Don't listen to the X-Your-Address-Is hint if you did the lookup
  6770. via Tor; otherwise you'll think you're the exit node's IP address.
  6771. o Minor bugfixes, performance:
  6772. - Two small performance improvements on parsing descriptors.
  6773. - Major performance improvement on inserting descriptors: change
  6774. algorithm from O(n^2) to O(n).
  6775. - Make the common memory allocation path faster on machines where
  6776. malloc(0) returns a pointer.
  6777. - Start remembering X-Your-Address-Is directory hints even if you're
  6778. a client, so you can become a server more smoothly.
  6779. - Avoid duplicate entries on MyFamily line in server descriptor.
  6780. o Packaging, features:
  6781. - Remove architecture from OS X builds. The official builds are
  6782. now universal binaries.
  6783. - The Debian package now uses --verify-config when (re)starting,
  6784. to distinguish configuration errors from other errors.
  6785. - Update RPMs to require libevent 1.1b.
  6786. o Packaging, bugfixes:
  6787. - Patches so Tor builds with MinGW on Windows.
  6788. - Patches so Tor might run on Cygwin again.
  6789. - Resume building on non-gcc compilers and ancient gcc. Resume
  6790. building with the -O0 compile flag. Resume building cleanly on
  6791. Debian woody.
  6792. - Run correctly on OS X platforms with case-sensitive filesystems.
  6793. - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
  6794. - Add autoconf checks so Tor can build on Solaris x86 again.
  6795. o Documentation
  6796. - Documented (and renamed) ServerDNSSearchDomains and
  6797. ServerDNSResolvConfFile options.
  6798. - Be clearer that the *ListenAddress directives can be repeated
  6799. multiple times.
  6800. Changes in version 0.1.1.24 - 2006-09-29
  6801. o Major bugfixes:
  6802. - Allow really slow clients to not hang up five minutes into their
  6803. directory downloads (suggested by Adam J. Richter).
  6804. - Fix major performance regression from 0.1.0.x: instead of checking
  6805. whether we have enough directory information every time we want to
  6806. do something, only check when the directory information has changed.
  6807. This should improve client CPU usage by 25-50%.
  6808. - Don't crash if, after a server has been running for a while,
  6809. it can't resolve its hostname.
  6810. o Minor bugfixes:
  6811. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  6812. - Don't crash when the controller receives a third argument to an
  6813. "extendcircuit" request.
  6814. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  6815. response; fix error code when "getinfo dir/status/" fails.
  6816. - Fix configure.in to not produce broken configure files with
  6817. more recent versions of autoconf. Thanks to Clint for his auto*
  6818. voodoo.
  6819. - Fix security bug on NetBSD that could allow someone to force
  6820. uninitialized RAM to be sent to a server's DNS resolver. This
  6821. only affects NetBSD and other platforms that do not bounds-check
  6822. tolower().
  6823. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  6824. methods: these are known to be buggy.
  6825. - If we're a directory mirror and we ask for "all" network status
  6826. documents, we would discard status documents from authorities
  6827. we don't recognize.
  6828. Changes in version 0.1.2.1-alpha - 2006-08-27
  6829. o Major features:
  6830. - Add "eventdns" async dns library from Adam Langley, tweaked to
  6831. build on OSX and Windows. Only enabled if you pass the
  6832. --enable-eventdns argument to configure.
  6833. - Allow servers with no hostname or IP address to learn their
  6834. IP address by asking the directory authorities. This code only
  6835. kicks in when you would normally have exited with a "no address"
  6836. error. Nothing's authenticated, so use with care.
  6837. - Rather than waiting a fixed amount of time between retrying
  6838. application connections, we wait only 5 seconds for the first,
  6839. 10 seconds for the second, and 15 seconds for each retry after
  6840. that. Hopefully this will improve the expected user experience.
  6841. - Patch from Tup to add support for transparent AP connections:
  6842. this basically bundles the functionality of trans-proxy-tor
  6843. into the Tor mainline. Now hosts with compliant pf/netfilter
  6844. implementations can redirect TCP connections straight to Tor
  6845. without diverting through SOCKS. Needs docs.
  6846. - Busy directory servers save lots of memory by spooling server
  6847. descriptors, v1 directories, and v2 networkstatus docs to buffers
  6848. as needed rather than en masse. Also mmap the cached-routers
  6849. files, so we don't need to keep the whole thing in memory too.
  6850. - Automatically avoid picking more than one node from the same
  6851. /16 network when constructing a circuit.
  6852. - Revise and clean up the torrc.sample that we ship with; add
  6853. a section for BandwidthRate and BandwidthBurst.
  6854. o Minor features:
  6855. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  6856. split connection_t into edge, or, dir, control, and base structs.
  6857. These will save quite a bit of memory on busy servers, and they'll
  6858. also help us track down bugs in the code and bugs in the spec.
  6859. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  6860. or later. Log when we are doing this, so we can diagnose it when
  6861. it fails. (Also, recommend libevent 1.1b for kqueue and
  6862. win32 methods; deprecate libevent 1.0b harder; make libevent
  6863. recommendation system saner.)
  6864. - Start being able to build universal binaries on OS X (thanks
  6865. to Phobos).
  6866. - Export the default exit policy via the control port, so controllers
  6867. don't need to guess what it is / will be later.
  6868. - Add a man page entry for ProtocolWarnings.
  6869. - Add TestVia config option to the man page.
  6870. - Remove even more protocol-related warnings from Tor server logs,
  6871. such as bad TLS handshakes and malformed begin cells.
  6872. - Stop fetching descriptors if you're not a dir mirror and you
  6873. haven't tried to establish any circuits lately. [This currently
  6874. causes some dangerous behavior, because when you start up again
  6875. you'll use your ancient server descriptors.]
  6876. - New DirPort behavior: if you have your dirport set, you download
  6877. descriptors aggressively like a directory mirror, whether or not
  6878. your ORPort is set.
  6879. - Get rid of the router_retry_connections notion. Now routers
  6880. no longer try to rebuild long-term connections to directory
  6881. authorities, and directory authorities no longer try to rebuild
  6882. long-term connections to all servers. We still don't hang up
  6883. connections in these two cases though -- we need to look at it
  6884. more carefully to avoid flapping, and we likely need to wait til
  6885. 0.1.1.x is obsolete.
  6886. - Drop compatibility with obsolete Tors that permit create cells
  6887. to have the wrong circ_id_type.
  6888. - Re-enable per-connection rate limiting. Get rid of the "OP
  6889. bandwidth" concept. Lay groundwork for "bandwidth classes" --
  6890. separate global buckets that apply depending on what sort of conn
  6891. it is.
  6892. - Start publishing one minute or so after we find our ORPort
  6893. to be reachable. This will help reduce the number of descriptors
  6894. we have for ourselves floating around, since it's quite likely
  6895. other things (e.g. DirPort) will change during that minute too.
  6896. - Fork the v1 directory protocol into its own spec document,
  6897. and mark dir-spec.txt as the currently correct (v2) spec.
  6898. o Major bugfixes:
  6899. - When we find our DirPort to be reachable, publish a new descriptor
  6900. so we'll tell the world (reported by pnx).
  6901. - Publish a new descriptor after we hup/reload. This is important
  6902. if our config has changed such that we'll want to start advertising
  6903. our DirPort now, etc.
  6904. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  6905. - When we have a state file we cannot parse, tell the user and
  6906. move it aside. Now we avoid situations where the user starts
  6907. Tor in 1904, Tor writes a state file with that timestamp in it,
  6908. the user fixes her clock, and Tor refuses to start.
  6909. - Fix configure.in to not produce broken configure files with
  6910. more recent versions of autoconf. Thanks to Clint for his auto*
  6911. voodoo.
  6912. - "tor --verify-config" now exits with -1(255) or 0 depending on
  6913. whether the config options are bad or good.
  6914. - Resolve bug 321 when using dnsworkers: append a period to every
  6915. address we resolve at the exit node, so that we do not accidentally
  6916. pick up local addresses, and so that failing searches are retried
  6917. in the resolver search domains. (This is already solved for
  6918. eventdns.) (This breaks Blossom servers for now.)
  6919. - If we are using an exit enclave and we can't connect, e.g. because
  6920. its webserver is misconfigured to not listen on localhost, then
  6921. back off and try connecting from somewhere else before we fail.
  6922. o Minor bugfixes:
  6923. - Start compiling on MinGW on Windows (patches from Mike Chiussi).
  6924. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  6925. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  6926. when the IP address is mapped through MapAddress to a hostname.
  6927. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  6928. useless IPv6 DNS resolves.
  6929. - Patch suggested by Karsten Loesing: respond to SIGNAL command
  6930. before we execute the signal, in case the signal shuts us down.
  6931. - Clean up AllowInvalidNodes man page entry.
  6932. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  6933. - Add more asserts to track down an assert error on a windows Tor
  6934. server with connection_add being called with socket == -1.
  6935. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  6936. - Fix misleading log messages: an entry guard that is "unlisted",
  6937. as well as not known to be "down" (because we've never heard
  6938. of it), is not therefore "up".
  6939. - Remove code to special-case "-cvs" ending, since it has not
  6940. actually mattered since 0.0.9.
  6941. - Make our socks5 handling more robust to broken socks clients:
  6942. throw out everything waiting on the buffer in between socks
  6943. handshake phases, since they can't possibly (so the theory
  6944. goes) have predicted what we plan to respond to them.
  6945. Changes in version 0.1.1.23 - 2006-07-30
  6946. o Major bugfixes:
  6947. - Fast Tor servers, especially exit nodes, were triggering asserts
  6948. due to a bug in handling the list of pending DNS resolves. Some
  6949. bugs still remain here; we're hunting them.
  6950. - Entry guards could crash clients by sending unexpected input.
  6951. - More fixes on reachability testing: if you find yourself reachable,
  6952. then don't ever make any client requests (so you stop predicting
  6953. circuits), then hup or have your clock jump, then later your IP
  6954. changes, you won't think circuits are working, so you won't try to
  6955. test reachability, so you won't publish.
  6956. o Minor bugfixes:
  6957. - Avoid a crash if the controller does a resetconf firewallports
  6958. and then a setconf fascistfirewall=1.
  6959. - Avoid an integer underflow when the dir authority decides whether
  6960. a router is stable: we might wrongly label it stable, and compute
  6961. a slightly wrong median stability, when a descriptor is published
  6962. later than now.
  6963. - Fix a place where we might trigger an assert if we can't build our
  6964. own server descriptor yet.
  6965. Changes in version 0.1.1.22 - 2006-07-05
  6966. o Major bugfixes:
  6967. - Fix a big bug that was causing servers to not find themselves
  6968. reachable if they changed IP addresses. Since only 0.1.1.22+
  6969. servers can do reachability testing correctly, now we automatically
  6970. make sure to test via one of these.
  6971. - Fix to allow clients and mirrors to learn directory info from
  6972. descriptor downloads that get cut off partway through.
  6973. - Directory authorities had a bug in deciding if a newly published
  6974. descriptor was novel enough to make everybody want a copy -- a few
  6975. servers seem to be publishing new descriptors many times a minute.
  6976. o Minor bugfixes:
  6977. - Fix a rare bug that was causing some servers to complain about
  6978. "closing wedged cpuworkers" and skip some circuit create requests.
  6979. - Make the Exit flag in directory status documents actually work.
  6980. Changes in version 0.1.1.21 - 2006-06-10
  6981. o Crash and assert fixes from 0.1.1.20:
  6982. - Fix a rare crash on Tor servers that have enabled hibernation.
  6983. - Fix a seg fault on startup for Tor networks that use only one
  6984. directory authority.
  6985. - Fix an assert from a race condition that occurs on Tor servers
  6986. while exiting, where various threads are trying to log that they're
  6987. exiting, and delete the logs, at the same time.
  6988. - Make our unit tests pass again on certain obscure platforms.
  6989. o Other fixes:
  6990. - Add support for building SUSE RPM packages.
  6991. - Speed up initial bootstrapping for clients: if we are making our
  6992. first ever connection to any entry guard, then don't mark it down
  6993. right after that.
  6994. - When only one Tor server in the network is labelled as a guard,
  6995. and we've already picked him, we would cycle endlessly picking him
  6996. again, being unhappy about it, etc. Now we specifically exclude
  6997. current guards when picking a new guard.
  6998. - Servers send create cells more reliably after the TLS connection
  6999. is established: we were sometimes forgetting to send half of them
  7000. when we had more than one pending.
  7001. - If we get a create cell that asks us to extend somewhere, but the
  7002. Tor server there doesn't match the expected digest, we now send
  7003. a destroy cell back, rather than silently doing nothing.
  7004. - Make options->RedirectExit work again.
  7005. - Make cookie authentication for the controller work again.
  7006. - Stop being picky about unusual characters in the arguments to
  7007. mapaddress. It's none of our business.
  7008. - Add a new config option "TestVia" that lets you specify preferred
  7009. middle hops to use for test circuits. Perhaps this will let me
  7010. debug the reachability problems better.
  7011. o Log / documentation fixes:
  7012. - If we're a server and some peer has a broken TLS certificate, don't
  7013. log about it unless ProtocolWarnings is set, i.e., we want to hear
  7014. about protocol violations by others.
  7015. - Fix spelling of VirtualAddrNetwork in man page.
  7016. - Add a better explanation at the top of the autogenerated torrc file
  7017. about what happened to our old torrc.
  7018. Changes in version 0.1.1.20 - 2006-05-23
  7019. o Bugfixes:
  7020. - Downgrade a log severity where servers complain that they're
  7021. invalid.
  7022. - Avoid a compile warning on FreeBSD.
  7023. - Remove string size limit on NEWDESC messages; solve bug 291.
  7024. - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
  7025. more thoroughly when we're running on windows.
  7026. Changes in version 0.1.1.19-rc - 2006-05-03
  7027. o Minor bugs:
  7028. - Regenerate our local descriptor if it's dirty and we try to use
  7029. it locally (e.g. if it changes during reachability detection).
  7030. - If we setconf our ORPort to 0, we continued to listen on the
  7031. old ORPort and receive connections.
  7032. - Avoid a second warning about machine/limits.h on Debian
  7033. GNU/kFreeBSD.
  7034. - Be willing to add our own routerinfo into the routerlist.
  7035. Now authorities will include themselves in their directories
  7036. and network-statuses.
  7037. - Stop trying to upload rendezvous descriptors to every
  7038. directory authority: only try the v1 authorities.
  7039. - Servers no longer complain when they think they're not
  7040. registered with the directory authorities. There were too many
  7041. false positives.
  7042. - Backport dist-rpm changes so rpms can be built without errors.
  7043. o Features:
  7044. - Implement an option, VirtualAddrMask, to set which addresses
  7045. get handed out in response to mapaddress requests. This works
  7046. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  7047. Changes in version 0.1.1.18-rc - 2006-04-10
  7048. o Major fixes:
  7049. - Work harder to download live network-statuses from all the
  7050. directory authorities we know about. Improve the threshold
  7051. decision logic so we're more robust to edge cases.
  7052. - When fetching rendezvous descriptors, we were willing to ask
  7053. v2 authorities too, which would always return 404.
  7054. o Minor fixes:
  7055. - Stop listing down or invalid nodes in the v1 directory. This will
  7056. reduce its bulk by about 1/3, and reduce load on directory
  7057. mirrors.
  7058. - When deciding whether a router is Fast or Guard-worthy, consider
  7059. his advertised BandwidthRate and not just the BandwidthCapacity.
  7060. - No longer ship INSTALL and README files -- they are useless now.
  7061. - Force rpmbuild to behave and honor target_cpu.
  7062. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  7063. - Start to include translated versions of the tor-doc-*.html
  7064. files, along with the screenshots. Still needs more work.
  7065. - Start sending back 512 and 451 errors if mapaddress fails,
  7066. rather than not sending anything back at all.
  7067. - When we fail to bind or listen on an incoming or outgoing
  7068. socket, we should close it before failing. otherwise we just
  7069. leak it. (thanks to weasel for finding.)
  7070. - Allow "getinfo dir/status/foo" to work, as long as your DirPort
  7071. is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
  7072. - Make NoPublish (even though deprecated) work again.
  7073. - Fix a minor security flaw where a versioning auth dirserver
  7074. could list a recommended version many times in a row to make
  7075. clients more convinced that it's recommended.
  7076. - Fix crash bug if there are two unregistered servers running
  7077. with the same nickname, one of them is down, and you ask for
  7078. them by nickname in your EntryNodes or ExitNodes. Also, try
  7079. to pick the one that's running rather than an arbitrary one.
  7080. - Fix an infinite loop we could hit if we go offline for too long.
  7081. - Complain when we hit WSAENOBUFS on recv() or write() too.
  7082. Perhaps this will help us hunt the bug.
  7083. - If you're not a versioning dirserver, don't put the string
  7084. "client-versions \nserver-versions \n" in your network-status.
  7085. - Lower the minimum required number of file descriptors to 1000,
  7086. so we can have some overhead for Valgrind on Linux, where the
  7087. default ulimit -n is 1024.
  7088. o New features:
  7089. - Add tor.dizum.com as the fifth authoritative directory server.
  7090. - Add a new config option FetchUselessDescriptors, off by default,
  7091. for when you plan to run "exitlist" on your client and you want
  7092. to know about even the non-running descriptors.
  7093. Changes in version 0.1.1.17-rc - 2006-03-28
  7094. o Major fixes:
  7095. - Clients and servers since 0.1.1.10-alpha have been expiring
  7096. connections whenever they are idle for 5 minutes and they *do*
  7097. have circuits on them. Oops. With this new version, clients will
  7098. discard their previous entry guard choices and avoid choosing
  7099. entry guards running these flawed versions.
  7100. - Fix memory leak when uncompressing concatenated zlib streams. This
  7101. was causing substantial leaks over time on Tor servers.
  7102. - The v1 directory was including servers as much as 48 hours old,
  7103. because that's how the new routerlist->routers works. Now only
  7104. include them if they're 20 hours old or less.
  7105. o Minor fixes:
  7106. - Resume building on irix64, netbsd 2.0, etc.
  7107. - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
  7108. "-Wall -g -O2".
  7109. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  7110. and it is confusing some users.
  7111. - Mirrors stop caching the v1 directory so often.
  7112. - Make the max number of old descriptors that a cache will hold
  7113. rise with the number of directory authorities, so we can scale.
  7114. - Change our win32 uname() hack to be more forgiving about what
  7115. win32 versions it thinks it's found.
  7116. o New features:
  7117. - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
  7118. server.
  7119. - When the controller's *setconf commands fail, collect an error
  7120. message in a string and hand it back to the controller.
  7121. - Make the v2 dir's "Fast" flag based on relative capacity, just
  7122. like "Stable" is based on median uptime. Name everything in the
  7123. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  7124. - Log server fingerprint on startup, so new server operators don't
  7125. have to go hunting around their filesystem for it.
  7126. - Return a robots.txt on our dirport to discourage google indexing.
  7127. - Let the controller ask for GETINFO dir/status/foo so it can ask
  7128. directly rather than connecting to the dir port. Only works when
  7129. dirport is set for now.
  7130. o New config options rather than constants in the code:
  7131. - SocksTimeout: How long do we let a socks connection wait
  7132. unattached before we fail it?
  7133. - CircuitBuildTimeout: Cull non-open circuits that were born
  7134. at least this many seconds ago.
  7135. - CircuitIdleTimeout: Cull open clean circuits that were born
  7136. at least this many seconds ago.
  7137. Changes in version 0.1.1.16-rc - 2006-03-18
  7138. o Bugfixes on 0.1.1.15-rc:
  7139. - Fix assert when the controller asks to attachstream a connect-wait
  7140. or resolve-wait stream.
  7141. - Now do address rewriting when the controller asks us to attach
  7142. to a particular circuit too. This will let Blossom specify
  7143. "moria2.exit" without having to learn what moria2's IP address is.
  7144. - Make the "tor --verify-config" command-line work again, so people
  7145. can automatically check if their torrc will parse.
  7146. - Authoritative dirservers no longer require an open connection from
  7147. a server to consider him "reachable". We need this change because
  7148. when we add new auth dirservers, old servers won't know not to
  7149. hang up on them.
  7150. - Let Tor build on Sun CC again.
  7151. - Fix an off-by-one buffer size in dirserv.c that magically never
  7152. hit our three authorities but broke sjmurdoch's own tor network.
  7153. - If we as a directory mirror don't know of any v1 directory
  7154. authorities, then don't try to cache any v1 directories.
  7155. - Stop warning about unknown servers in our family when they are
  7156. given as hex digests.
  7157. - Stop complaining as quickly to the server operator that he
  7158. hasn't registered his nickname/key binding.
  7159. - Various cleanups so we can add new V2 Auth Dirservers.
  7160. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  7161. reflect the updated flags in our v2 dir protocol.
  7162. - Resume allowing non-printable characters for exit streams (both
  7163. for connecting and for resolving). Now we tolerate applications
  7164. that don't follow the RFCs. But continue to block malformed names
  7165. at the socks side.
  7166. o Bugfixes on 0.1.0.x:
  7167. - Fix assert bug in close_logs(): when we close and delete logs,
  7168. remove them all from the global "logfiles" list.
  7169. - Fix minor integer overflow in calculating when we expect to use up
  7170. our bandwidth allocation before hibernating.
  7171. - Fix a couple of bugs in OpenSSL detection. Also, deal better when
  7172. there are multiple SSLs installed with different versions.
  7173. - When we try to be a server and Address is not explicitly set and
  7174. our hostname resolves to a private IP address, try to use an
  7175. interface address if it has a public address. Now Windows machines
  7176. that think of themselves as localhost can work by default.
  7177. o New features:
  7178. - Let the controller ask for GETINFO dir/server/foo so it can ask
  7179. directly rather than connecting to the dir port.
  7180. - Let the controller tell us about certain router descriptors
  7181. that it doesn't want Tor to use in circuits. Implement
  7182. SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
  7183. - New config option SafeSocks to reject all application connections
  7184. using unsafe socks protocols. Defaults to off.
  7185. Changes in version 0.1.1.15-rc - 2006-03-11
  7186. o Bugfixes and cleanups:
  7187. - When we're printing strings from the network, don't try to print
  7188. non-printable characters. This protects us against shell escape
  7189. sequence exploits, and also against attacks to fool humans into
  7190. misreading their logs.
  7191. - Fix a bug where Tor would fail to establish any connections if you
  7192. left it off for 24 hours and then started it: we were happy with
  7193. the obsolete network statuses, but they all referred to router
  7194. descriptors that were too old to fetch, so we ended up with no
  7195. valid router descriptors.
  7196. - Fix a seg fault in the controller's "getinfo orconn-status"
  7197. command while listing status on incoming handshaking connections.
  7198. Introduce a status name "NEW" for these connections.
  7199. - If we get a linelist or linelist_s config option from the torrc
  7200. (e.g. ExitPolicy) and it has no value, warn and skip rather than
  7201. silently resetting it to its default.
  7202. - Don't abandon entry guards until they've been down or gone for
  7203. a whole month.
  7204. - Cleaner and quieter log messages.
  7205. o New features:
  7206. - New controller signal NEWNYM that makes new application requests
  7207. use clean circuits.
  7208. - Add a new circuit purpose 'controller' to let the controller ask
  7209. for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
  7210. controller command to let you specify the purpose if you're
  7211. starting a new circuit. Add a new SETCIRCUITPURPOSE controller
  7212. command to let you change a circuit's purpose after it's been
  7213. created.
  7214. - Accept "private:*" in routerdesc exit policies; not generated yet
  7215. because older Tors do not understand it.
  7216. - Add BSD-style contributed startup script "rc.subr" from Peter
  7217. Thoenen.
  7218. Changes in version 0.1.1.14-alpha - 2006-02-20
  7219. o Bugfixes on 0.1.1.x:
  7220. - Don't die if we ask for a stdout or stderr log (even implicitly)
  7221. and we're set to RunAsDaemon -- just warn.
  7222. - We still had a few bugs in the OR connection rotation code that
  7223. caused directory servers to slowly aggregate connections to other
  7224. fast Tor servers. This time for sure!
  7225. - Make log entries on Win32 include the name of the function again.
  7226. - We were treating a pair of exit policies if they were equal even
  7227. if one said accept and the other said reject -- causing us to
  7228. not always publish a new descriptor since we thought nothing
  7229. had changed.
  7230. - Retry pending server downloads as well as pending networkstatus
  7231. downloads when we unexpectedly get a socks request.
  7232. - We were ignoring the IS_FAST flag in the directory status,
  7233. meaning we were willing to pick trivial-bandwidth nodes for "fast"
  7234. connections.
  7235. - If the controller's SAVECONF command fails (e.g. due to file
  7236. permissions), let the controller know that it failed.
  7237. o Features:
  7238. - If we're trying to be a Tor server and running Windows 95/98/ME
  7239. as a server, explain that we'll likely crash.
  7240. - When we're a server, a client asks for an old-style directory,
  7241. and our write bucket is empty, don't give it to him. This way
  7242. small servers can continue to serve the directory *sometimes*,
  7243. without getting overloaded.
  7244. - Compress exit policies even more -- look for duplicate lines
  7245. and remove them.
  7246. - Clients now honor the "guard" flag in the router status when
  7247. picking entry guards, rather than looking at is_fast or is_stable.
  7248. - Retain unrecognized lines in $DATADIR/state file, so that we can
  7249. be forward-compatible.
  7250. - Generate 18.0.0.0/8 address policy format in descs when we can;
  7251. warn when the mask is not reducible to a bit-prefix.
  7252. - Let the user set ControlListenAddress in the torrc. This can be
  7253. dangerous, but there are some cases (like a secured LAN) where it
  7254. makes sense.
  7255. - Split ReachableAddresses into ReachableDirAddresses and
  7256. ReachableORAddresses, so we can restrict Dir conns to port 80
  7257. and OR conns to port 443.
  7258. - Now we can target arch and OS in rpm builds (contributed by
  7259. Phobos). Also make the resulting dist-rpm filename match the
  7260. target arch.
  7261. - New config options to help controllers: FetchServerDescriptors
  7262. and FetchHidServDescriptors for whether to fetch server
  7263. info and hidserv info or let the controller do it, and
  7264. PublishServerDescriptor and PublishHidServDescriptors.
  7265. - Also let the controller set the __AllDirActionsPrivate config
  7266. option if you want all directory fetches/publishes to happen via
  7267. Tor (it assumes your controller bootstraps your circuits).
  7268. Changes in version 0.1.0.17 - 2006-02-17
  7269. o Crash bugfixes on 0.1.0.x:
  7270. - When servers with a non-zero DirPort came out of hibernation,
  7271. sometimes they would trigger an assert.
  7272. o Other important bugfixes:
  7273. - On platforms that don't have getrlimit (like Windows), we were
  7274. artificially constraining ourselves to a max of 1024
  7275. connections. Now just assume that we can handle as many as 15000
  7276. connections. Hopefully this won't cause other problems.
  7277. o Backported features:
  7278. - When we're a server, a client asks for an old-style directory,
  7279. and our write bucket is empty, don't give it to him. This way
  7280. small servers can continue to serve the directory *sometimes*,
  7281. without getting overloaded.
  7282. - Whenever you get a 503 in response to a directory fetch, try
  7283. once more. This will become important once servers start sending
  7284. 503's whenever they feel busy.
  7285. - Fetch a new directory every 120 minutes, not every 40 minutes.
  7286. Now that we have hundreds of thousands of users running the old
  7287. directory algorithm, it's starting to hurt a lot.
  7288. - Bump up the period for forcing a hidden service descriptor upload
  7289. from 20 minutes to 1 hour.
  7290. Changes in version 0.1.1.13-alpha - 2006-02-09
  7291. o Crashes in 0.1.1.x:
  7292. - When you tried to setconf ORPort via the controller, Tor would
  7293. crash. So people using TorCP to become a server were sad.
  7294. - Solve (I hope) the stack-smashing bug that we were seeing on fast
  7295. servers. The problem appears to be something do with OpenSSL's
  7296. random number generation, or how we call it, or something. Let me
  7297. know if the crashes continue.
  7298. - Turn crypto hardware acceleration off by default, until we find
  7299. somebody smart who can test it for us. (It appears to produce
  7300. seg faults in at least some cases.)
  7301. - Fix a rare assert error when we've tried all intro points for
  7302. a hidden service and we try fetching the service descriptor again:
  7303. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
  7304. o Major fixes:
  7305. - Fix a major load balance bug: we were round-robining in 16 KB
  7306. chunks, and servers with bandwidthrate of 20 KB, while downloading
  7307. a 600 KB directory, would starve their other connections. Now we
  7308. try to be a bit more fair.
  7309. - Dir authorities and mirrors were never expiring the newest
  7310. descriptor for each server, causing memory and directory bloat.
  7311. - Fix memory-bloating and connection-bloating bug on servers: We
  7312. were never closing any connection that had ever had a circuit on
  7313. it, because we were checking conn->n_circuits == 0, yet we had a
  7314. bug that let it go negative.
  7315. - Make Tor work using squid as your http proxy again -- squid
  7316. returns an error if you ask for a URL that's too long, and it uses
  7317. a really generic error message. Plus, many people are behind a
  7318. transparent squid so they don't even realize it.
  7319. - On platforms that don't have getrlimit (like Windows), we were
  7320. artificially constraining ourselves to a max of 1024
  7321. connections. Now just assume that we can handle as many as 15000
  7322. connections. Hopefully this won't cause other problems.
  7323. - Add a new config option ExitPolicyRejectPrivate which defaults to
  7324. 1. This means all exit policies will begin with rejecting private
  7325. addresses, unless the server operator explicitly turns it off.
  7326. o Major features:
  7327. - Clients no longer download descriptors for non-running
  7328. descriptors.
  7329. - Before we add new directory authorities, we should make it
  7330. clear that only v1 authorities should receive/publish hidden
  7331. service descriptors.
  7332. o Minor features:
  7333. - As soon as we've fetched some more directory info, immediately
  7334. try to download more server descriptors. This way we don't have
  7335. a 10 second pause during initial bootstrapping.
  7336. - Remove even more loud log messages that the server operator can't
  7337. do anything about.
  7338. - When we're running an obsolete or un-recommended version, make
  7339. the log message more clear about what the problem is and what
  7340. versions *are* still recommended.
  7341. - Provide a more useful warn message when our onion queue gets full:
  7342. the CPU is too slow or the exit policy is too liberal.
  7343. - Don't warn when we receive a 503 from a dirserver/cache -- this
  7344. will pave the way for them being able to refuse if they're busy.
  7345. - When we fail to bind a listener, try to provide a more useful
  7346. log message: e.g., "Is Tor already running?"
  7347. - Adjust tor-spec to parameterize cell and key lengths. Now Ian
  7348. Goldberg can prove things about our handshake protocol more
  7349. easily.
  7350. - MaxConn has been obsolete for a while now. Document the ConnLimit
  7351. config option, which is a *minimum* number of file descriptors
  7352. that must be available else Tor refuses to start.
  7353. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  7354. if you log to syslog and want something other than LOG_DAEMON.
  7355. - Make dirservers generate a separate "guard" flag to mean,
  7356. "would make a good entry guard". Make clients parse it and vote
  7357. on it. Not used by clients yet.
  7358. - Implement --with-libevent-dir option to ./configure. Also, improve
  7359. search techniques to find libevent, and use those for openssl too.
  7360. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
  7361. - Only start testing reachability once we've established a
  7362. circuit. This will make startup on dirservers less noisy.
  7363. - Don't try to upload hidden service descriptors until we have
  7364. established a circuit.
  7365. - Fix the controller's "attachstream 0" command to treat conn like
  7366. it just connected, doing address remapping, handling .exit and
  7367. .onion idioms, and so on. Now we're more uniform in making sure
  7368. that the controller hears about new and closing connections.
  7369. Changes in version 0.1.1.12-alpha - 2006-01-11
  7370. o Bugfixes on 0.1.1.x:
  7371. - The fix to close duplicate server connections was closing all
  7372. Tor client connections if they didn't establish a circuit
  7373. quickly enough. Oops.
  7374. - Fix minor memory issue (double-free) that happened on exit.
  7375. o Bugfixes on 0.1.0.x:
  7376. - Tor didn't warn when it failed to open a log file.
  7377. Changes in version 0.1.1.11-alpha - 2006-01-10
  7378. o Crashes in 0.1.1.x:
  7379. - Include all the assert/crash fixes from 0.1.0.16.
  7380. - If you start Tor and then quit very quickly, there were some
  7381. races that tried to free things that weren't allocated yet.
  7382. - Fix a rare memory stomp if you're running hidden services.
  7383. - Fix segfault when specifying DirServer in config without nickname.
  7384. - Fix a seg fault when you finish connecting to a server but at
  7385. that moment you dump his server descriptor.
  7386. - Extendcircuit and Attachstream controller commands would
  7387. assert/crash if you don't give them enough arguments.
  7388. - Fix an assert error when we're out of space in the connection_list
  7389. and we try to post a hidden service descriptor (reported by weasel).
  7390. - If you specify a relative torrc path and you set RunAsDaemon in
  7391. your torrc, then it chdir()'s to the new directory. If you HUP,
  7392. it tries to load the new torrc location, fails, and exits.
  7393. The fix: no longer allow a relative path to torrc using -f.
  7394. o Major features:
  7395. - Implement "entry guards": automatically choose a handful of entry
  7396. nodes and stick with them for all circuits. Only pick new guards
  7397. when the ones you have are unsuitable, and if the old guards
  7398. become suitable again, switch back. This will increase security
  7399. dramatically against certain end-point attacks. The EntryNodes
  7400. config option now provides some hints about which entry guards you
  7401. want to use most; and StrictEntryNodes means to only use those.
  7402. - New directory logic: download by descriptor digest, not by
  7403. fingerprint. Caches try to download all listed digests from
  7404. authorities; clients try to download "best" digests from caches.
  7405. This avoids partitioning and isolating attacks better.
  7406. - Make the "stable" router flag in network-status be the median of
  7407. the uptimes of running valid servers, and make clients pay
  7408. attention to the network-status flags. Thus the cutoff adapts
  7409. to the stability of the network as a whole, making IRC, IM, etc
  7410. connections more reliable.
  7411. o Major fixes:
  7412. - Tor servers with dynamic IP addresses were needing to wait 18
  7413. hours before they could start doing reachability testing using
  7414. the new IP address and ports. This is because they were using
  7415. the internal descriptor to learn what to test, yet they were only
  7416. rebuilding the descriptor once they decided they were reachable.
  7417. - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
  7418. to download certain server descriptors, throw them away, and then
  7419. fetch them again after 30 minutes. Now mirrors throw away these
  7420. server descriptors so clients can't get them.
  7421. - We were leaving duplicate connections to other ORs open for a week,
  7422. rather than closing them once we detect a duplicate. This only
  7423. really affected authdirservers, but it affected them a lot.
  7424. - Spread the authdirservers' reachability testing over the entire
  7425. testing interval, so we don't try to do 500 TLS's at once every
  7426. 20 minutes.
  7427. o Minor fixes:
  7428. - If the network is down, and we try to connect to a conn because
  7429. we have a circuit in mind, and we timeout (30 seconds) because the
  7430. network never answers, we were expiring the circuit, but we weren't
  7431. obsoleting the connection or telling the entry_guards functions.
  7432. - Some Tor servers process billions of cells per day. These statistics
  7433. need to be uint64_t's.
  7434. - Check for integer overflows in more places, when adding elements
  7435. to smartlists. This could possibly prevent a buffer overflow
  7436. on malicious huge inputs. I don't see any, but I haven't looked
  7437. carefully.
  7438. - ReachableAddresses kept growing new "reject *:*" lines on every
  7439. setconf/reload.
  7440. - When you "setconf log" via the controller, it should remove all
  7441. logs. We were automatically adding back in a "log notice stdout".
  7442. - Newly bootstrapped Tor networks couldn't establish hidden service
  7443. circuits until they had nodes with high uptime. Be more tolerant.
  7444. - We were marking servers down when they could not answer every piece
  7445. of the directory request we sent them. This was far too harsh.
  7446. - Fix the torify (tsocks) config file to not use Tor for localhost
  7447. connections.
  7448. - Directory authorities now go to the proper authority when asking for
  7449. a networkstatus, even when they want a compressed one.
  7450. - Fix a harmless bug that was causing Tor servers to log
  7451. "Got an end because of misc error, but we're not an AP. Closing."
  7452. - Authorities were treating their own descriptor changes as cosmetic,
  7453. meaning the descriptor available in the network-status and the
  7454. descriptor that clients downloaded were different.
  7455. - The OS X installer was adding a symlink for tor_resolve but
  7456. the binary was called tor-resolve (reported by Thomas Hardly).
  7457. - Workaround a problem with some http proxies where they refuse GET
  7458. requests that specify "Content-Length: 0" (reported by Adrian).
  7459. - Fix wrong log message when you add a "HiddenServiceNodes" config
  7460. line without any HiddenServiceDir line (reported by Chris Thomas).
  7461. o Minor features:
  7462. - Write the TorVersion into the state file so we have a prayer of
  7463. keeping forward and backward compatibility.
  7464. - Revive the FascistFirewall config option rather than eliminating it:
  7465. now it's a synonym for ReachableAddresses *:80,*:443.
  7466. - Clients choose directory servers from the network status lists,
  7467. not from their internal list of router descriptors. Now they can
  7468. go to caches directly rather than needing to go to authorities
  7469. to bootstrap.
  7470. - Directory authorities ignore router descriptors that have only
  7471. cosmetic differences: do this for 0.1.0.x servers now too.
  7472. - Add a new flag to network-status indicating whether the server
  7473. can answer v2 directory requests too.
  7474. - Authdirs now stop whining so loudly about bad descriptors that
  7475. they fetch from other dirservers. So when there's a log complaint,
  7476. it's for sure from a freshly uploaded descriptor.
  7477. - Reduce memory requirements in our structs by changing the order
  7478. of fields.
  7479. - There used to be two ways to specify your listening ports in a
  7480. server descriptor: on the "router" line and with a separate "ports"
  7481. line. Remove support for the "ports" line.
  7482. - New config option "AuthDirRejectUnlisted" for auth dirservers as
  7483. a panic button: if we get flooded with unusable servers we can
  7484. revert to only listing servers in the approved-routers file.
  7485. - Auth dir servers can now mark a fingerprint as "!reject" or
  7486. "!invalid" in the approved-routers file (as its nickname), to
  7487. refuse descriptors outright or include them but marked as invalid.
  7488. - Servers store bandwidth history across restarts/crashes.
  7489. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  7490. get a better idea of why their circuits failed. Not used yet.
  7491. - Directory mirrors now cache up to 16 unrecognized network-status
  7492. docs. Now we can add new authdirservers and they'll be cached too.
  7493. - When picking a random directory, prefer non-authorities if any
  7494. are known.
  7495. - New controller option "getinfo desc/all-recent" to fetch the
  7496. latest server descriptor for every router that Tor knows about.
  7497. Changes in version 0.1.0.16 - 2006-01-02
  7498. o Crash bugfixes on 0.1.0.x:
  7499. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  7500. corrupting the heap, losing FDs, or crashing when we need to resize
  7501. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  7502. - It turns out sparc64 platforms crash on unaligned memory access
  7503. too -- so detect and avoid this.
  7504. - Handle truncated compressed data correctly (by detecting it and
  7505. giving an error).
  7506. - Fix possible-but-unlikely free(NULL) in control.c.
  7507. - When we were closing connections, there was a rare case that
  7508. stomped on memory, triggering seg faults and asserts.
  7509. - Avoid potential infinite recursion when building a descriptor. (We
  7510. don't know that it ever happened, but better to fix it anyway.)
  7511. - We were neglecting to unlink marked circuits from soon-to-close OR
  7512. connections, which caused some rare scribbling on freed memory.
  7513. - Fix a memory stomping race bug when closing the joining point of two
  7514. rendezvous circuits.
  7515. - Fix an assert in time parsing found by Steven Murdoch.
  7516. o Other bugfixes on 0.1.0.x:
  7517. - When we're doing reachability testing, provide more useful log
  7518. messages so the operator knows what to expect.
  7519. - Do not check whether DirPort is reachable when we are suppressing
  7520. advertising it because of hibernation.
  7521. - When building with -static or on Solaris, we sometimes needed -ldl.
  7522. - When we're deciding whether a stream has enough circuits around
  7523. that can handle it, count the freshly dirty ones and not the ones
  7524. that are so dirty they won't be able to handle it.
  7525. - When we're expiring old circuits, we had a logic error that caused
  7526. us to close new rendezvous circuits rather than old ones.
  7527. - Give a more helpful log message when you try to change ORPort via
  7528. the controller: you should upgrade Tor if you want that to work.
  7529. - We were failing to parse Tor versions that start with "Tor ".
  7530. - Tolerate faulty streams better: when a stream fails for reason
  7531. exitpolicy, stop assuming that the router is lying about his exit
  7532. policy. When a stream fails for reason misc, allow it to retry just
  7533. as if it was resolvefailed. When a stream has failed three times,
  7534. reset its failure count so we can try again and get all three tries.
  7535. Changes in version 0.1.1.10-alpha - 2005-12-11
  7536. o Correctness bugfixes on 0.1.0.x:
  7537. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  7538. corrupting the heap, losing FDs, or crashing when we need to resize
  7539. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  7540. - Stop doing the complex voodoo overkill checking for insecure
  7541. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  7542. - When we were closing connections, there was a rare case that
  7543. stomped on memory, triggering seg faults and asserts.
  7544. - We were neglecting to unlink marked circuits from soon-to-close OR
  7545. connections, which caused some rare scribbling on freed memory.
  7546. - When we're deciding whether a stream has enough circuits around
  7547. that can handle it, count the freshly dirty ones and not the ones
  7548. that are so dirty they won't be able to handle it.
  7549. - Recover better from TCP connections to Tor servers that are
  7550. broken but don't tell you (it happens!); and rotate TLS
  7551. connections once a week.
  7552. - When we're expiring old circuits, we had a logic error that caused
  7553. us to close new rendezvous circuits rather than old ones.
  7554. - Fix a scary-looking but apparently harmless bug where circuits
  7555. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  7556. servers, and never switch to state CIRCUIT_STATE_OPEN.
  7557. - When building with -static or on Solaris, we sometimes needed to
  7558. build with -ldl.
  7559. - Give a useful message when people run Tor as the wrong user,
  7560. rather than telling them to start chowning random directories.
  7561. - We were failing to inform the controller about new .onion streams.
  7562. o Security bugfixes on 0.1.0.x:
  7563. - Refuse server descriptors if the fingerprint line doesn't match
  7564. the included identity key. Tor doesn't care, but other apps (and
  7565. humans) might actually be trusting the fingerprint line.
  7566. - We used to kill the circuit when we receive a relay command we
  7567. don't recognize. Now we just drop it.
  7568. - Start obeying our firewall options more rigorously:
  7569. . If we can't get to a dirserver directly, try going via Tor.
  7570. . Don't ever try to connect (as a client) to a place our
  7571. firewall options forbid.
  7572. . If we specify a proxy and also firewall options, obey the
  7573. firewall options even when we're using the proxy: some proxies
  7574. can only proxy to certain destinations.
  7575. - Fix a bug found by Lasse Overlier: when we were making internal
  7576. circuits (intended to be cannibalized later for rendezvous and
  7577. introduction circuits), we were picking them so that they had
  7578. useful exit nodes. There was no need for this, and it actually
  7579. aids some statistical attacks.
  7580. - Start treating internal circuits and exit circuits separately.
  7581. It's important to keep them separate because internal circuits
  7582. have their last hops picked like middle hops, rather than like
  7583. exit hops. So exiting on them will break the user's expectations.
  7584. o Bugfixes on 0.1.1.x:
  7585. - Take out the mis-feature where we tried to detect IP address
  7586. flapping for people with DynDNS, and chose not to upload a new
  7587. server descriptor sometimes.
  7588. - Try to be compatible with OpenSSL 0.9.6 again.
  7589. - Log fix: when the controller is logging about .onion addresses,
  7590. sometimes it didn't include the ".onion" part of the address.
  7591. - Don't try to modify options->DirServers internally -- if the
  7592. user didn't specify any, just add the default ones directly to
  7593. the trusted dirserver list. This fixes a bug where people running
  7594. controllers would use SETCONF on some totally unrelated config
  7595. option, and Tor would start yelling at them about changing their
  7596. DirServer lines.
  7597. - Let the controller's redirectstream command specify a port, in
  7598. case the controller wants to change that too.
  7599. - When we requested a pile of server descriptors, we sometimes
  7600. accidentally launched a duplicate request for the first one.
  7601. - Bugfix for trackhostexits: write down the fingerprint of the
  7602. chosen exit, not its nickname, because the chosen exit might not
  7603. be verified.
  7604. - When parsing foo.exit, if foo is unknown, and we are leaving
  7605. circuits unattached, set the chosen_exit field and leave the
  7606. address empty. This matters because controllers got confused
  7607. otherwise.
  7608. - Directory authorities no longer try to download server
  7609. descriptors that they know they will reject.
  7610. o Features and updates:
  7611. - Replace balanced trees with hash tables: this should make stuff
  7612. significantly faster.
  7613. - Resume using the AES counter-mode implementation that we ship,
  7614. rather than OpenSSL's. Ours is significantly faster.
  7615. - Many other CPU and memory improvements.
  7616. - Add a new config option FastFirstHopPK (on by default) so clients
  7617. do a trivial crypto handshake for their first hop, since TLS has
  7618. already taken care of confidentiality and authentication.
  7619. - Add a new config option TestSocks so people can see if their
  7620. applications are using socks4, socks4a, socks5-with-ip, or
  7621. socks5-with-hostname. This way they don't have to keep mucking
  7622. with tcpdump and wondering if something got cached somewhere.
  7623. - Warn when listening on a public address for socks. I suspect a
  7624. lot of people are setting themselves up as open socks proxies,
  7625. and they have no idea that jerks on the Internet are using them,
  7626. since they simply proxy the traffic into the Tor network.
  7627. - Add "private:*" as an alias in configuration for policies. Now
  7628. you can simplify your exit policy rather than needing to list
  7629. every single internal or nonroutable network space.
  7630. - Add a new controller event type that allows controllers to get
  7631. all server descriptors that were uploaded to a router in its role
  7632. as authoritative dirserver.
  7633. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  7634. tor-doc-server.html, and stylesheet.css in the tarball.
  7635. - Stop shipping tor-doc.html in the tarball.
  7636. Changes in version 0.1.1.9-alpha - 2005-11-15
  7637. o Usability improvements:
  7638. - Start calling it FooListenAddress rather than FooBindAddress,
  7639. since few of our users know what it means to bind an address
  7640. or port.
  7641. - Reduce clutter in server logs. We're going to try to make
  7642. them actually usable now. New config option ProtocolWarnings that
  7643. lets you hear about how _other Tors_ are breaking the protocol. Off
  7644. by default.
  7645. - Divide log messages into logging domains. Once we put some sort
  7646. of interface on this, it will let people looking at more verbose
  7647. log levels specify the topics they want to hear more about.
  7648. - Make directory servers return better http 404 error messages
  7649. instead of a generic "Servers unavailable".
  7650. - Check for even more Windows version flags when writing the platform
  7651. string in server descriptors, and note any we don't recognize.
  7652. - Clean up more of the OpenSSL memory when exiting, so we can detect
  7653. memory leaks better.
  7654. - Make directory authorities be non-versioning, non-naming by
  7655. default. Now we can add new directory servers without requiring
  7656. their operators to pay close attention.
  7657. - When logging via syslog, include the pid whenever we provide
  7658. a log entry. Suggested by Todd Fries.
  7659. o Performance improvements:
  7660. - Directory servers now silently throw away new descriptors that
  7661. haven't changed much if the timestamps are similar. We do this to
  7662. tolerate older Tor servers that upload a new descriptor every 15
  7663. minutes. (It seemed like a good idea at the time.)
  7664. - Inline bottleneck smartlist functions; use fast versions by default.
  7665. - Add a "Map from digest to void*" abstraction digestmap_t so we
  7666. can do less hex encoding/decoding. Use it in router_get_by_digest()
  7667. to resolve a performance bottleneck.
  7668. - Allow tor_gzip_uncompress to extract as much as possible from
  7669. truncated compressed data. Try to extract as many
  7670. descriptors as possible from truncated http responses (when
  7671. DIR_PURPOSE_FETCH_ROUTERDESC).
  7672. - Make circ->onionskin a pointer, not a static array. moria2 was using
  7673. 125000 circuit_t's after it had been up for a few weeks, which
  7674. translates to 20+ megs of wasted space.
  7675. - The private half of our EDH handshake keys are now chosen out
  7676. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  7677. o Security improvements:
  7678. - Start making directory caches retain old routerinfos, so soon
  7679. clients can start asking by digest of descriptor rather than by
  7680. fingerprint of server.
  7681. - Add half our entropy from RAND_poll in OpenSSL. This knows how
  7682. to use egd (if present), openbsd weirdness (if present), vms/os2
  7683. weirdness (if we ever port there), and more in the future.
  7684. o Bugfixes on 0.1.0.x:
  7685. - Do round-robin writes of at most 16 kB per write. This might be
  7686. more fair on loaded Tor servers, and it might resolve our Windows
  7687. crash bug. It might also slow things down.
  7688. - Our TLS handshakes were generating a single public/private
  7689. keypair for the TLS context, rather than making a new one for
  7690. each new connections. Oops. (But we were still rotating them
  7691. periodically, so it's not so bad.)
  7692. - When we were cannibalizing a circuit with a particular exit
  7693. node in mind, we weren't checking to see if that exit node was
  7694. already present earlier in the circuit. Oops.
  7695. - When a Tor server's IP changes (e.g. from a dyndns address),
  7696. upload a new descriptor so clients will learn too.
  7697. - Really busy servers were keeping enough circuits open on stable
  7698. connections that they were wrapping around the circuit_id
  7699. space. (It's only two bytes.) This exposed a bug where we would
  7700. feel free to reuse a circuit_id even if it still exists but has
  7701. been marked for close. Try to fix this bug. Some bug remains.
  7702. - If we would close a stream early (e.g. it asks for a .exit that
  7703. we know would refuse it) but the LeaveStreamsUnattached config
  7704. option is set by the controller, then don't close it.
  7705. o Bugfixes on 0.1.1.8-alpha:
  7706. - Fix a big pile of memory leaks, some of them serious.
  7707. - Do not try to download a routerdesc if we would immediately reject
  7708. it as obsolete.
  7709. - Resume inserting a newline between all router descriptors when
  7710. generating (old style) signed directories, since our spec says
  7711. we do.
  7712. - When providing content-type application/octet-stream for
  7713. server descriptors using .z, we were leaving out the
  7714. content-encoding header. Oops. (Everything tolerated this just
  7715. fine, but that doesn't mean we need to be part of the problem.)
  7716. - Fix a potential seg fault in getconf and getinfo using version 1
  7717. of the controller protocol.
  7718. - Avoid crash: do not check whether DirPort is reachable when we
  7719. are suppressing it because of hibernation.
  7720. - Make --hash-password not crash on exit.
  7721. Changes in version 0.1.1.8-alpha - 2005-10-07
  7722. o New features (major):
  7723. - Clients don't download or use the directory anymore. Now they
  7724. download and use network-statuses from the trusted dirservers,
  7725. and fetch individual server descriptors as needed from mirrors.
  7726. See dir-spec.txt for all the gory details.
  7727. - Be more conservative about whether to advertise our DirPort.
  7728. The main change is to not advertise if we're running at capacity
  7729. and either a) we could hibernate or b) our capacity is low and
  7730. we're using a default DirPort.
  7731. - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
  7732. o New features (minor):
  7733. - Try to be smart about when to retry network-status and
  7734. server-descriptor fetches. Still needs some tuning.
  7735. - Stop parsing, storing, or using running-routers output (but
  7736. mirrors still cache and serve it).
  7737. - Consider a threshold of versioning dirservers (dirservers who have
  7738. an opinion about which Tor versions are still recommended) before
  7739. deciding whether to warn the user that he's obsolete.
  7740. - Dirservers can now reject/invalidate by key and IP, with the
  7741. config options "AuthDirInvalid" and "AuthDirReject". This is
  7742. useful since currently we automatically list servers as running
  7743. and usable even if we know they're jerks.
  7744. - Provide dire warnings to any users who set DirServer; move it out
  7745. of torrc.sample and into torrc.complete.
  7746. - Add MyFamily to torrc.sample in the server section.
  7747. - Add nicknames to the DirServer line, so we can refer to them
  7748. without requiring all our users to memorize their IP addresses.
  7749. - When we get an EOF or a timeout on a directory connection, note
  7750. how many bytes of serverdesc we are dropping. This will help
  7751. us determine whether it is smart to parse incomplete serverdesc
  7752. responses.
  7753. - Add a new function to "change pseudonyms" -- that is, to stop
  7754. using any currently-dirty circuits for new streams, so we don't
  7755. link new actions to old actions. Currently it's only called on
  7756. HUP (or SIGNAL RELOAD).
  7757. - On sighup, if UseHelperNodes changed to 1, use new circuits.
  7758. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  7759. OpenSSL. Also, reseed our entropy every hour, not just at
  7760. startup. And entropy in 512-bit chunks, not 160-bit chunks.
  7761. o Fixes on 0.1.1.7-alpha:
  7762. - Nobody ever implemented EVENT_ADDRMAP for control protocol
  7763. version 0, so don't let version 0 controllers ask for it.
  7764. - If you requested something with too many newlines via the
  7765. v1 controller protocol, you could crash tor.
  7766. - Fix a number of memory leaks, including some pretty serious ones.
  7767. - Re-enable DirPort testing again, so Tor servers will be willing
  7768. to advertise their DirPort if it's reachable.
  7769. - On TLS handshake, only check the other router's nickname against
  7770. its expected nickname if is_named is set.
  7771. o Fixes forward-ported from 0.1.0.15:
  7772. - Don't crash when we don't have any spare file descriptors and we
  7773. try to spawn a dns or cpu worker.
  7774. - Make the numbers in read-history and write-history into uint64s,
  7775. so they don't overflow and publish negatives in the descriptor.
  7776. o Fixes on 0.1.0.x:
  7777. - For the OS X package's modified privoxy config file, comment
  7778. out the "logfile" line so we don't log everything passed
  7779. through privoxy.
  7780. - We were whining about using socks4 or socks5-with-local-lookup
  7781. even when it's an IP in the "virtual" range we designed exactly
  7782. for this case.
  7783. - We were leaking some memory every time the client changes IPs.
  7784. - Never call free() on tor_malloc()d memory. This will help us
  7785. use dmalloc to detect memory leaks.
  7786. - Check for named servers when looking them up by nickname;
  7787. warn when we'recalling a non-named server by its nickname;
  7788. don't warn twice about the same name.
  7789. - Try to list MyFamily elements by key, not by nickname, and warn
  7790. if we've not heard of the server.
  7791. - Make windows platform detection (uname equivalent) smarter.
  7792. - It turns out sparc64 doesn't like unaligned access either.
  7793. Changes in version 0.1.0.15 - 2005-09-23
  7794. o Bugfixes on 0.1.0.x:
  7795. - Reject ports 465 and 587 (spam targets) in default exit policy.
  7796. - Don't crash when we don't have any spare file descriptors and we
  7797. try to spawn a dns or cpu worker.
  7798. - Get rid of IgnoreVersion undocumented config option, and make us
  7799. only warn, never exit, when we're running an obsolete version.
  7800. - Don't try to print a null string when your server finds itself to
  7801. be unreachable and the Address config option is empty.
  7802. - Make the numbers in read-history and write-history into uint64s,
  7803. so they don't overflow and publish negatives in the descriptor.
  7804. - Fix a minor memory leak in smartlist_string_remove().
  7805. - We were only allowing ourselves to upload a server descriptor at
  7806. most every 20 minutes, even if it changed earlier than that.
  7807. - Clean up log entries that pointed to old URLs.
  7808. Changes in version 0.1.1.7-alpha - 2005-09-14
  7809. o Fixes on 0.1.1.6-alpha:
  7810. - Exit servers were crashing when people asked them to make a
  7811. connection to an address not in their exit policy.
  7812. - Looking up a non-existent stream for a v1 control connection would
  7813. cause a segfault.
  7814. - Fix a seg fault if we ask a dirserver for a descriptor by
  7815. fingerprint but he doesn't know about him.
  7816. - SETCONF was appending items to linelists, not clearing them.
  7817. - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
  7818. out and refuse the setconf if it would fail.
  7819. - Downgrade the dirserver log messages when whining about
  7820. unreachability.
  7821. o New features:
  7822. - Add Peter Palfrader's check-tor script to tor/contrib/
  7823. It lets you easily check whether a given server (referenced by
  7824. nickname) is reachable by you.
  7825. - Numerous changes to move towards client-side v2 directories. Not
  7826. enabled yet.
  7827. o Fixes on 0.1.0.x:
  7828. - If the user gave tor an odd number of command-line arguments,
  7829. we were silently ignoring the last one. Now we complain and fail.
  7830. [This wins the oldest-bug prize -- this bug has been present since
  7831. November 2002, as released in Tor 0.0.0.]
  7832. - Do not use unaligned memory access on alpha, mips, or mipsel.
  7833. It *works*, but is very slow, so we treat them as if it doesn't.
  7834. - Retry directory requests if we fail to get an answer we like
  7835. from a given dirserver (we were retrying before, but only if
  7836. we fail to connect).
  7837. - When writing the RecommendedVersions line, sort them first.
  7838. - When the client asked for a rendezvous port that the hidden
  7839. service didn't want to provide, we were sending an IP address
  7840. back along with the end cell. Fortunately, it was zero. But stop
  7841. that anyway.
  7842. - Correct "your server is reachable" log entries to indicate that
  7843. it was self-testing that told us so.
  7844. Changes in version 0.1.1.6-alpha - 2005-09-09
  7845. o Fixes on 0.1.1.5-alpha:
  7846. - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
  7847. - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
  7848. - Fix bug with tor_memmem finding a match at the end of the string.
  7849. - Make unit tests run without segfaulting.
  7850. - Resolve some solaris x86 compile warnings.
  7851. - Handle duplicate lines in approved-routers files without warning.
  7852. - Fix bug where as soon as a server refused any requests due to his
  7853. exit policy (e.g. when we ask for localhost and he tells us that's
  7854. 127.0.0.1 and he won't do it), we decided he wasn't obeying his
  7855. exit policy using him for any exits.
  7856. - Only do openssl hardware accelerator stuff if openssl version is
  7857. at least 0.9.7.
  7858. o New controller features/fixes:
  7859. - Add a "RESETCONF" command so you can set config options like
  7860. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  7861. a config option in the torrc with no value, then it clears it
  7862. entirely (rather than setting it to its default).
  7863. - Add a "GETINFO config-file" to tell us where torrc is.
  7864. - Avoid sending blank lines when GETINFO replies should be empty.
  7865. - Add a QUIT command for the controller (for using it manually).
  7866. - Fix a bug in SAVECONF that was adding default dirservers and
  7867. other redundant entries to the torrc file.
  7868. o Start on the new directory design:
  7869. - Generate, publish, cache, serve new network-status format.
  7870. - Publish individual descriptors (by fingerprint, by "all", and by
  7871. "tell me yours").
  7872. - Publish client and server recommended versions separately.
  7873. - Allow tor_gzip_uncompress() to handle multiple concatenated
  7874. compressed strings. Serve compressed groups of router
  7875. descriptors. The compression logic here could be more
  7876. memory-efficient.
  7877. - Distinguish v1 authorities (all currently trusted directories)
  7878. from v2 authorities (all trusted directories).
  7879. - Change DirServers config line to note which dirs are v1 authorities.
  7880. - Add configuration option "V1AuthoritativeDirectory 1" which
  7881. moria1, moria2, and tor26 should set.
  7882. - Remove option when getting directory cache to see whether they
  7883. support running-routers; they all do now. Replace it with one
  7884. to see whether caches support v2 stuff.
  7885. o New features:
  7886. - Dirservers now do their own external reachability testing of each
  7887. Tor server, and only list them as running if they've been found to
  7888. be reachable. We also send back warnings to the server's logs if
  7889. it uploads a descriptor that we already believe is unreachable.
  7890. - Implement exit enclaves: if we know an IP address for the
  7891. destination, and there's a running Tor server at that address
  7892. which allows exit to the destination, then extend the circuit to
  7893. that exit first. This provides end-to-end encryption and end-to-end
  7894. authentication. Also, if the user wants a .exit address or enclave,
  7895. use 4 hops rather than 3, and cannibalize a general circ for it
  7896. if you can.
  7897. - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
  7898. controller. Also, rotate dns and cpu workers if the controller
  7899. changes options that will affect them; and initialize the dns
  7900. worker cache tree whether or not we start out as a server.
  7901. - Only upload a new server descriptor when options change, 18
  7902. hours have passed, uptime is reset, or bandwidth changes a lot.
  7903. - Check [X-]Forwarded-For headers in HTTP requests when generating
  7904. log messages. This lets people run dirservers (and caches) behind
  7905. Apache but still know which IP addresses are causing warnings.
  7906. o Config option changes:
  7907. - Replace (Fascist)Firewall* config options with a new
  7908. ReachableAddresses option that understands address policies.
  7909. For example, "ReachableAddresses *:80,*:443"
  7910. - Get rid of IgnoreVersion undocumented config option, and make us
  7911. only warn, never exit, when we're running an obsolete version.
  7912. - Make MonthlyAccountingStart config option truly obsolete now.
  7913. o Fixes on 0.1.0.x:
  7914. - Reject ports 465 and 587 in the default exit policy, since
  7915. people have started using them for spam too.
  7916. - It turns out we couldn't bootstrap a network since we added
  7917. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  7918. has never gone down. Add an AssumeReachable config option to let
  7919. servers and dirservers bootstrap. When we're trying to build a
  7920. high-uptime or high-bandwidth circuit but there aren't enough
  7921. suitable servers, try being less picky rather than simply failing.
  7922. - Our logic to decide if the OR we connected to was the right guy
  7923. was brittle and maybe open to a mitm for unverified routers.
  7924. - We weren't cannibalizing circuits correctly for
  7925. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  7926. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  7927. build those from scratch. This should make hidden services faster.
  7928. - Predict required circuits better, with an eye toward making hidden
  7929. services faster on the service end.
  7930. - Retry streams if the exit node sends back a 'misc' failure. This
  7931. should result in fewer random failures. Also, after failing
  7932. from resolve failed or misc, reset the num failures, so we give
  7933. it a fair shake next time we try.
  7934. - Clean up the rendezvous warn log msgs, and downgrade some to info.
  7935. - Reduce severity on logs about dns worker spawning and culling.
  7936. - When we're shutting down and we do something like try to post a
  7937. server descriptor or rendezvous descriptor, don't complain that
  7938. we seem to be unreachable. Of course we are, we're shutting down.
  7939. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  7940. We don't use them yet, but maybe one day our DNS resolver will be
  7941. able to discover them.
  7942. - Make ContactInfo mandatory for authoritative directory servers.
  7943. - Require server descriptors to list IPv4 addresses -- hostnames
  7944. are no longer allowed. This also fixes some potential security
  7945. problems with people providing hostnames as their address and then
  7946. preferentially resolving them to partition users.
  7947. - Change log line for unreachability to explicitly suggest /etc/hosts
  7948. as the culprit. Also make it clearer what IP address and ports we're
  7949. testing for reachability.
  7950. - Put quotes around user-supplied strings when logging so users are
  7951. more likely to realize if they add bad characters (like quotes)
  7952. to the torrc.
  7953. - Let auth dir servers start without specifying an Address config
  7954. option.
  7955. - Make unit tests (and other invocations that aren't the real Tor)
  7956. run without launching listeners, creating subdirectories, and so on.
  7957. Changes in version 0.1.1.5-alpha - 2005-08-08
  7958. o Bugfixes included in 0.1.0.14.
  7959. o Bugfixes on 0.1.0.x:
  7960. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  7961. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  7962. it would silently using ignore the 6668.
  7963. Changes in version 0.1.0.14 - 2005-08-08
  7964. o Bugfixes on 0.1.0.x:
  7965. - Fix the other half of the bug with crypto handshakes
  7966. (CVE-2005-2643).
  7967. - Fix an assert trigger if you send a 'signal term' via the
  7968. controller when it's listening for 'event info' messages.
  7969. Changes in version 0.1.1.4-alpha - 2005-08-04
  7970. o Bugfixes included in 0.1.0.13.
  7971. o Features:
  7972. - Improve tor_gettimeofday() granularity on windows.
  7973. - Make clients regenerate their keys when their IP address changes.
  7974. - Implement some more GETINFO goodness: expose helper nodes, config
  7975. options, getinfo keys.
  7976. Changes in version 0.1.0.13 - 2005-08-04
  7977. o Bugfixes on 0.1.0.x:
  7978. - Fix a critical bug in the security of our crypto handshakes.
  7979. - Fix a size_t underflow in smartlist_join_strings2() that made
  7980. it do bad things when you hand it an empty smartlist.
  7981. - Fix Windows installer to ship Tor license (thanks to Aphex for
  7982. pointing out this oversight) and put a link to the doc directory
  7983. in the start menu.
  7984. - Explicitly set no-unaligned-access for sparc: it turns out the
  7985. new gcc's let you compile broken code, but that doesn't make it
  7986. not-broken.
  7987. Changes in version 0.1.1.3-alpha - 2005-07-23
  7988. o Bugfixes on 0.1.1.2-alpha:
  7989. - Fix a bug in handling the controller's "post descriptor"
  7990. function.
  7991. - Fix several bugs in handling the controller's "extend circuit"
  7992. function.
  7993. - Fix a bug in handling the controller's "stream status" event.
  7994. - Fix an assert failure if we have a controller listening for
  7995. circuit events and we go offline.
  7996. - Re-allow hidden service descriptors to publish 0 intro points.
  7997. - Fix a crash when generating your hidden service descriptor if
  7998. you don't have enough intro points already.
  7999. o New features on 0.1.1.2-alpha:
  8000. - New controller function "getinfo accounting", to ask how
  8001. many bytes we've used in this time period.
  8002. - Experimental support for helper nodes: a lot of the risk from
  8003. a small static adversary comes because users pick new random
  8004. nodes every time they rebuild a circuit. Now users will try to
  8005. stick to the same small set of entry nodes if they can. Not
  8006. enabled by default yet.
  8007. o Bugfixes on 0.1.0.12:
  8008. - If you're an auth dir server, always publish your dirport,
  8009. even if you haven't yet found yourself to be reachable.
  8010. - Fix a size_t underflow in smartlist_join_strings2() that made
  8011. it do bad things when you hand it an empty smartlist.
  8012. Changes in version 0.1.0.12 - 2005-07-18
  8013. o New directory servers:
  8014. - tor26 has changed IP address.
  8015. o Bugfixes on 0.1.0.x:
  8016. - Fix a possible double-free in tor_gzip_uncompress().
  8017. - When --disable-threads is set, do not search for or link against
  8018. pthreads libraries.
  8019. - Don't trigger an assert if an authoritative directory server
  8020. claims its dirport is 0.
  8021. - Fix bug with removing Tor as an NT service: some people were
  8022. getting "The service did not return an error." Thanks to Matt
  8023. Edman for the fix.
  8024. Changes in version 0.1.1.2-alpha - 2005-07-15
  8025. o New directory servers:
  8026. - tor26 has changed IP address.
  8027. o Bugfixes on 0.1.0.x, crashes/leaks:
  8028. - Port the servers-not-obeying-their-exit-policies fix from
  8029. 0.1.0.11.
  8030. - Fix an fd leak in start_daemon().
  8031. - On Windows, you can't always reopen a port right after you've
  8032. closed it. So change retry_listeners() to only close and re-open
  8033. ports that have changed.
  8034. - Fix a possible double-free in tor_gzip_uncompress().
  8035. o Bugfixes on 0.1.0.x, usability:
  8036. - When tor_socketpair() fails in Windows, give a reasonable
  8037. Windows-style errno back.
  8038. - Let people type "tor --install" as well as "tor -install" when
  8039. they
  8040. want to make it an NT service.
  8041. - NT service patch from Matt Edman to improve error messages.
  8042. - When the controller asks for a config option with an abbreviated
  8043. name, give the full name in our response.
  8044. - Correct the man page entry on TrackHostExitsExpire.
  8045. - Looks like we were never delivering deflated (i.e. compressed)
  8046. running-routers lists, even when asked. Oops.
  8047. - When --disable-threads is set, do not search for or link against
  8048. pthreads libraries.
  8049. o Bugfixes on 0.1.1.x:
  8050. - Fix a seg fault with autodetecting which controller version is
  8051. being used.
  8052. o Features:
  8053. - New hidden service descriptor format: put a version in it, and
  8054. let people specify introduction/rendezvous points that aren't
  8055. in "the directory" (which is subjective anyway).
  8056. - Allow the DEBUG controller event to work again. Mark certain log
  8057. entries as "don't tell this to controllers", so we avoid cycles.
  8058. Changes in version 0.1.0.11 - 2005-06-30
  8059. o Bugfixes on 0.1.0.x:
  8060. - Fix major security bug: servers were disregarding their
  8061. exit policies if clients behaved unexpectedly.
  8062. - Make OS X init script check for missing argument, so we don't
  8063. confuse users who invoke it incorrectly.
  8064. - Fix a seg fault in "tor --hash-password foo".
  8065. - The MAPADDRESS control command was broken.
  8066. Changes in version 0.1.1.1-alpha - 2005-06-29
  8067. o Bugfixes:
  8068. - Make OS X init script check for missing argument, so we don't
  8069. confuse users who invoke it incorrectly.
  8070. - Fix a seg fault in "tor --hash-password foo".
  8071. - Fix a possible way to DoS dirservers.
  8072. - When we complain that your exit policy implicitly allows local or
  8073. private address spaces, name them explicitly so operators can
  8074. fix it.
  8075. - Make the log message less scary when all the dirservers are
  8076. temporarily unreachable.
  8077. - We were printing the number of idle dns workers incorrectly when
  8078. culling them.
  8079. o Features:
  8080. - Revised controller protocol (version 1) that uses ascii rather
  8081. than binary. Add supporting libraries in python and java so you
  8082. can use the controller from your applications without caring how
  8083. our protocol works.
  8084. - Spiffy new support for crypto hardware accelerators. Can somebody
  8085. test this?
  8086. Changes in version 0.0.9.10 - 2005-06-16
  8087. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  8088. - Refuse relay cells that claim to have a length larger than the
  8089. maximum allowed. This prevents a potential attack that could read
  8090. arbitrary memory (e.g. keys) from an exit server's process
  8091. (CVE-2005-2050).
  8092. Changes in version 0.1.0.10 - 2005-06-14
  8093. o Allow a few EINVALs from libevent before dying. Warn on kqueue with
  8094. libevent before 1.1a.
  8095. Changes in version 0.1.0.9-rc - 2005-06-09
  8096. o Bugfixes:
  8097. - Reset buf->highwater every time buf_shrink() is called, not just on
  8098. a successful shrink. This was causing significant memory bloat.
  8099. - Fix buffer overflow when checking hashed passwords.
  8100. - Security fix: if seeding the RNG on Win32 fails, quit.
  8101. - Allow seeding the RNG on Win32 even when you're not running as
  8102. Administrator.
  8103. - Disable threading on Solaris too. Something is wonky with it,
  8104. cpuworkers, and reentrant libs.
  8105. - Reenable the part of the code that tries to flush as soon as an
  8106. OR outbuf has a full TLS record available. Perhaps this will make
  8107. OR outbufs not grow as huge except in rare cases, thus saving lots
  8108. of CPU time plus memory.
  8109. - Reject malformed .onion addresses rather then passing them on as
  8110. normal web requests.
  8111. - Adapt patch from Adam Langley: fix possible memory leak in
  8112. tor_lookup_hostname().
  8113. - Initialize libevent later in the startup process, so the logs are
  8114. already established by the time we start logging libevent warns.
  8115. - Use correct errno on win32 if libevent fails.
  8116. - Check and warn about known-bad/slow libevent versions.
  8117. - Pay more attention to the ClientOnly config option.
  8118. - Have torctl.in/tor.sh.in check for location of su binary (needed
  8119. on FreeBSD)
  8120. - Correct/add man page entries for LongLivedPorts, ExitPolicy,
  8121. KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
  8122. HttpProxyAuthenticator
  8123. - Stop warning about sigpipes in the logs. We're going to
  8124. pretend that getting these occassionally is normal and fine.
  8125. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
  8126. certain
  8127. installer screens; and don't put stuff into StartupItems unless
  8128. the user asks you to.
  8129. - Require servers that use the default dirservers to have public IP
  8130. addresses. We have too many servers that are configured with private
  8131. IPs and their admins never notice the log entries complaining that
  8132. their descriptors are being rejected.
  8133. - Add OSX uninstall instructions. An actual uninstall script will
  8134. come later.
  8135. Changes in version 0.1.0.8-rc - 2005-05-23
  8136. o Bugfixes:
  8137. - It turns out that kqueue on OS X 10.3.9 was causing kernel
  8138. panics. Disable kqueue on all OS X Tors.
  8139. - Fix RPM: remove duplicate line accidentally added to the rpm
  8140. spec file.
  8141. - Disable threads on openbsd too, since its gethostaddr is not
  8142. reentrant either.
  8143. - Tolerate libevent 0.8 since it still works, even though it's
  8144. ancient.
  8145. - Enable building on Red Hat 9.0 again.
  8146. - Allow the middle hop of the testing circuit to be running any
  8147. version, now that most of them have the bugfix to let them connect
  8148. to unknown servers. This will allow reachability testing to work
  8149. even when 0.0.9.7-0.0.9.9 become obsolete.
  8150. - Handle relay cells with rh.length too large. This prevents
  8151. a potential attack that could read arbitrary memory (maybe even
  8152. keys) from the exit server's process.
  8153. - We screwed up the dirport reachability testing when we don't yet
  8154. have a cached version of the directory. Hopefully now fixed.
  8155. - Clean up router_load_single_router() (used by the controller),
  8156. so it doesn't seg fault on error.
  8157. - Fix a minor memory leak when somebody establishes an introduction
  8158. point at your Tor server.
  8159. - If a socks connection ends because read fails, don't warn that
  8160. you're not sending a socks reply back.
  8161. o Features:
  8162. - Add HttpProxyAuthenticator config option too, that works like
  8163. the HttpsProxyAuthenticator config option.
  8164. - Encode hashed controller passwords in hex instead of base64,
  8165. to make it easier to write controllers.
  8166. Changes in version 0.1.0.7-rc - 2005-05-17
  8167. o Bugfixes:
  8168. - Fix a bug in the OS X package installer that prevented it from
  8169. installing on Tiger.
  8170. - Fix a script bug in the OS X package installer that made it
  8171. complain during installation.
  8172. - Find libevent even if it's hiding in /usr/local/ and your
  8173. CFLAGS and LDFLAGS don't tell you to look there.
  8174. - Be able to link with libevent as a shared library (the default
  8175. after 1.0d), even if it's hiding in /usr/local/lib and even
  8176. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  8177. assuming you're running gcc. Otherwise fail and give a useful
  8178. error message.
  8179. - Fix a bug in the RPM packager: set home directory for _tor to
  8180. something more reasonable when first installing.
  8181. - Free a minor amount of memory that is still reachable on exit.
  8182. Changes in version 0.1.0.6-rc - 2005-05-14
  8183. o Bugfixes:
  8184. - Implement --disable-threads configure option. Disable threads on
  8185. netbsd by default, because it appears to have no reentrant resolver
  8186. functions.
  8187. - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
  8188. release (1.1) detects and disables kqueue if it's broken.
  8189. - Append default exit policy before checking for implicit internal
  8190. addresses. Now we don't log a bunch of complaints on startup
  8191. when using the default exit policy.
  8192. - Some people were putting "Address " in their torrc, and they had
  8193. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  8194. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  8195. LOCALSTATEDIR/tor instead.
  8196. - Fix fragmented-message bug in TorControl.py.
  8197. - Resolve a minor bug which would prevent unreachable dirports
  8198. from getting suppressed in the published descriptor.
  8199. - When the controller gave us a new descriptor, we weren't resolving
  8200. it immediately, so Tor would think its address was 0.0.0.0 until
  8201. we fetched a new directory.
  8202. - Fix an uppercase/lowercase case error in suppressing a bogus
  8203. libevent warning on some Linuxes.
  8204. o Features:
  8205. - Begin scrubbing sensitive strings from logs by default. Turn off
  8206. the config option SafeLogging if you need to do debugging.
  8207. - Switch to a new buffer management algorithm, which tries to avoid
  8208. reallocing and copying quite as much. In first tests it looks like
  8209. it uses *more* memory on average, but less cpu.
  8210. - First cut at support for "create-fast" cells. Clients can use
  8211. these when extending to their first hop, since the TLS already
  8212. provides forward secrecy and authentication. Not enabled on
  8213. clients yet.
  8214. - When dirservers refuse a router descriptor, we now log its
  8215. contactinfo, platform, and the poster's IP address.
  8216. - Call tor_free_all instead of connections_free_all after forking, to
  8217. save memory on systems that need to fork.
  8218. - Whine at you if you're a server and you don't set your contactinfo.
  8219. - Implement --verify-config command-line option to check if your torrc
  8220. is valid without actually launching Tor.
  8221. - Rewrite address "serifos.exit" to "localhost.serifos.exit"
  8222. rather than just rejecting it.
  8223. Changes in version 0.1.0.5-rc - 2005-04-27
  8224. o Bugfixes:
  8225. - Stop trying to print a null pointer if an OR conn fails because
  8226. we didn't like its cert.
  8227. o Features:
  8228. - Switch our internal buffers implementation to use a ring buffer,
  8229. to hopefully improve performance for fast servers a lot.
  8230. - Add HttpsProxyAuthenticator support (basic auth only), based
  8231. on patch from Adam Langley.
  8232. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  8233. the fast servers that have been joining lately.
  8234. - Give hidden service accesses extra time on the first attempt,
  8235. since 60 seconds is often only barely enough. This might improve
  8236. robustness more.
  8237. - Improve performance for dirservers: stop re-parsing the whole
  8238. directory every time you regenerate it.
  8239. - Add more debugging info to help us find the weird dns freebsd
  8240. pthreads bug; cleaner debug messages to help track future issues.
  8241. Changes in version 0.0.9.9 - 2005-04-23
  8242. o Bugfixes on 0.0.9.x:
  8243. - If unofficial Tor clients connect and send weird TLS certs, our
  8244. Tor server triggers an assert. This release contains a minimal
  8245. backport from the broader fix that we put into 0.1.0.4-rc.
  8246. Changes in version 0.1.0.4-rc - 2005-04-23
  8247. o Bugfixes:
  8248. - If unofficial Tor clients connect and send weird TLS certs, our
  8249. Tor server triggers an assert. Stop asserting, and start handling
  8250. TLS errors better in other situations too.
  8251. - When the controller asks us to tell it about all the debug-level
  8252. logs, it turns out we were generating debug-level logs while
  8253. telling it about them, which turns into a bad loop. Now keep
  8254. track of whether you're sending a debug log to the controller,
  8255. and don't log when you are.
  8256. - Fix the "postdescriptor" feature of the controller interface: on
  8257. non-complete success, only say "done" once.
  8258. o Features:
  8259. - Clients are now willing to load balance over up to 2mB, not 1mB,
  8260. of advertised bandwidth capacity.
  8261. - Add a NoPublish config option, so you can be a server (e.g. for
  8262. testing running Tor servers in other Tor networks) without
  8263. publishing your descriptor to the primary dirservers.
  8264. Changes in version 0.1.0.3-rc - 2005-04-08
  8265. o Improvements on 0.1.0.2-rc:
  8266. - Client now retries when streams end early for 'hibernating' or
  8267. 'resource limit' reasons, rather than failing them.
  8268. - More automated handling for dirserver operators:
  8269. - Automatically approve nodes running 0.1.0.2-rc or later,
  8270. now that the the reachability detection stuff is working.
  8271. - Now we allow two unverified servers with the same nickname
  8272. but different keys. But if a nickname is verified, only that
  8273. nickname+key are allowed.
  8274. - If you're an authdirserver connecting to an address:port,
  8275. and it's not the OR you were expecting, forget about that
  8276. descriptor. If he *was* the one you were expecting, then forget
  8277. about all other descriptors for that address:port.
  8278. - Allow servers to publish descriptors from 12 hours in the future.
  8279. Corollary: only whine about clock skew from the dirserver if
  8280. he's a trusted dirserver (since now even verified servers could
  8281. have quite wrong clocks).
  8282. - Adjust maximum skew and age for rendezvous descriptors: let skew
  8283. be 48 hours rather than 90 minutes.
  8284. - Efficiency improvements:
  8285. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  8286. it much faster to look up a circuit for each relay cell.
  8287. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  8288. since they're eating our cpu on exit nodes.
  8289. - Stop wasting time doing a case insensitive comparison for every
  8290. dns name every time we do any lookup. Canonicalize the names to
  8291. lowercase and be done with it.
  8292. - Start sending 'truncated' cells back rather than destroy cells,
  8293. if the circuit closes in front of you. This means we won't have
  8294. to abandon partially built circuits.
  8295. - Only warn once per nickname from add_nickname_list_to_smartlist
  8296. per failure, so an entrynode or exitnode choice that's down won't
  8297. yell so much.
  8298. - Put a note in the torrc about abuse potential with the default
  8299. exit policy.
  8300. - Revise control spec and implementation to allow all log messages to
  8301. be sent to controller with their severities intact (suggested by
  8302. Matt Edman). Update TorControl to handle new log event types.
  8303. - Provide better explanation messages when controller's POSTDESCRIPTOR
  8304. fails.
  8305. - Stop putting nodename in the Platform string in server descriptors.
  8306. It doesn't actually help, and it is confusing/upsetting some people.
  8307. o Bugfixes on 0.1.0.2-rc:
  8308. - We were printing the host mask wrong in exit policies in server
  8309. descriptors. This isn't a critical bug though, since we were still
  8310. obeying the exit policy internally.
  8311. - Fix Tor when compiled with libevent but without pthreads: move
  8312. connection_unregister() from _connection_free() to
  8313. connection_free().
  8314. - Fix an assert trigger (already fixed in 0.0.9.x): when we have
  8315. the rare mysterious case of accepting a conn on 0.0.0.0:0, then
  8316. when we look through the connection array, we'll find any of the
  8317. cpu/dnsworkers. This is no good.
  8318. o Bugfixes on 0.0.9.8:
  8319. - Fix possible bug on threading platforms (e.g. win32) which was
  8320. leaking a file descriptor whenever a cpuworker or dnsworker died.
  8321. - When using preferred entry or exit nodes, ignore whether the
  8322. circuit wants uptime or capacity. They asked for the nodes, they
  8323. get the nodes.
  8324. - chdir() to your datadirectory at the *end* of the daemonize process,
  8325. not the beginning. This was a problem because the first time you
  8326. run tor, if your datadir isn't there, and you have runasdaemon set
  8327. to 1, it will try to chdir to it before it tries to create it. Oops.
  8328. - Handle changed router status correctly when dirserver reloads
  8329. fingerprint file. We used to be dropping all unverified descriptors
  8330. right then. The bug was hidden because we would immediately
  8331. fetch a directory from another dirserver, which would include the
  8332. descriptors we just dropped.
  8333. - When we're connecting to an OR and he's got a different nickname/key
  8334. than we were expecting, only complain loudly if we're an OP or a
  8335. dirserver. Complaining loudly to the OR admins just confuses them.
  8336. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  8337. artificially capped at 500kB.
  8338. Changes in version 0.0.9.8 - 2005-04-07
  8339. o Bugfixes on 0.0.9.x:
  8340. - We have a bug that I haven't found yet. Sometimes, very rarely,
  8341. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  8342. thinks of itself as idle. This meant that no new circuits ever got
  8343. established. Here's a workaround to kill any cpuworker that's been
  8344. busy for more than 100 seconds.
  8345. Changes in version 0.1.0.2-rc - 2005-04-01
  8346. o Bugfixes on 0.1.0.1-rc:
  8347. - Fixes on reachability detection:
  8348. - Don't check for reachability while hibernating.
  8349. - If ORPort is reachable but DirPort isn't, still publish the
  8350. descriptor, but zero out DirPort until it's found reachable.
  8351. - When building testing circs for ORPort testing, use only
  8352. high-bandwidth nodes, so fewer circuits fail.
  8353. - Complain about unreachable ORPort separately from unreachable
  8354. DirPort, so the user knows what's going on.
  8355. - Make sure we only conclude ORPort reachability if we didn't
  8356. initiate the conn. Otherwise we could falsely conclude that
  8357. we're reachable just because we connected to the guy earlier
  8358. and he used that same pipe to extend to us.
  8359. - Authdirservers shouldn't do ORPort reachability detection,
  8360. since they're in clique mode, so it will be rare to find a
  8361. server not already connected to them.
  8362. - When building testing circuits, always pick middle hops running
  8363. Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
  8364. bug. (This is a kludge; it will go away when 0.0.9.x becomes
  8365. obsolete.)
  8366. - When we decide we're reachable, actually publish our descriptor
  8367. right then.
  8368. - Fix bug in redirectstream in the controller.
  8369. - Fix the state descriptor strings so logs don't claim edge streams
  8370. are in a different state than they actually are.
  8371. - Use recent libevent features when possible (this only really affects
  8372. win32 and osx right now, because the new libevent with these
  8373. features hasn't been released yet). Add code to suppress spurious
  8374. libevent log msgs.
  8375. - Prevent possible segfault in connection_close_unattached_ap().
  8376. - Fix newlines on torrc in win32.
  8377. - Improve error msgs when tor-resolve fails.
  8378. o Improvements on 0.0.9.x:
  8379. - New experimental script tor/contrib/ExerciseServer.py (needs more
  8380. work) that uses the controller interface to build circuits and
  8381. fetch pages over them. This will help us bootstrap servers that
  8382. have lots of capacity but haven't noticed it yet.
  8383. - New experimental script tor/contrib/PathDemo.py (needs more work)
  8384. that uses the controller interface to let you choose whole paths
  8385. via addresses like
  8386. "<hostname>.<path,separated by dots>.<length of path>.path"
  8387. - When we've connected to an OR and handshaked but didn't like
  8388. the result, we were closing the conn without sending destroy
  8389. cells back for pending circuits. Now send those destroys.
  8390. Changes in version 0.0.9.7 - 2005-04-01
  8391. o Bugfixes on 0.0.9.x:
  8392. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  8393. - Compare identity to identity, not to nickname, when extending to
  8394. a router not already in the directory. This was preventing us from
  8395. extending to unknown routers. Oops.
  8396. - Make sure to create OS X Tor user in <500 range, so we aren't
  8397. creating actual system users.
  8398. - Note where connection-that-hasn't-sent-end was marked, and fix
  8399. a few really loud instances of this harmless bug (it's fixed more
  8400. in 0.1.0.x).
  8401. Changes in version 0.1.0.1-rc - 2005-03-28
  8402. o New features:
  8403. - Add reachability testing. Your Tor server will automatically try
  8404. to see if its ORPort and DirPort are reachable from the outside,
  8405. and it won't upload its descriptor until it decides they are.
  8406. - Handle unavailable hidden services better. Handle slow or busy
  8407. hidden services better.
  8408. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  8409. config option.
  8410. - New exit policy: accept most low-numbered ports, rather than
  8411. rejecting most low-numbered ports.
  8412. - More Tor controller support (still experimental). See
  8413. http://tor.eff.org/doc/control-spec.txt for all the new features,
  8414. including signals to emulate unix signals from any platform;
  8415. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  8416. closestream; closecircuit; etc.
  8417. - Make nt services work and start on startup on win32 (based on
  8418. patch by Matt Edman).
  8419. - Add a new AddressMap config directive to rewrite incoming socks
  8420. addresses. This lets you, for example, declare an implicit
  8421. required exit node for certain sites.
  8422. - Add a new TrackHostExits config directive to trigger addressmaps
  8423. for certain incoming socks addresses -- for sites that break when
  8424. your exit keeps changing (based on patch by Mike Perry).
  8425. - Redo the client-side dns cache so it's just an addressmap too.
  8426. - Notice when our IP changes, and reset stats/uptime/reachability.
  8427. - When an application is using socks5, give him the whole variety of
  8428. potential socks5 responses (connect refused, host unreachable, etc),
  8429. rather than just "success" or "failure".
  8430. - A more sane version numbering system. See
  8431. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  8432. - New contributed script "exitlist": a simple python script to
  8433. parse directories and find Tor nodes that exit to listed
  8434. addresses/ports.
  8435. - New contributed script "privoxy-tor-toggle" to toggle whether
  8436. Privoxy uses Tor. Seems to be configured for Debian by default.
  8437. - Report HTTP reasons to client when getting a response from directory
  8438. servers -- so you can actually know what went wrong.
  8439. - New config option MaxAdvertisedBandwidth which lets you advertise
  8440. a low bandwidthrate (to not attract as many circuits) while still
  8441. allowing a higher bandwidthrate in reality.
  8442. o Robustness/stability fixes:
  8443. - Make Tor use Niels Provos's libevent instead of its current
  8444. poll-but-sometimes-select mess. This will let us use faster async
  8445. cores (like epoll, kpoll, and /dev/poll), and hopefully work better
  8446. on Windows too.
  8447. - pthread support now too. This was forced because when we forked,
  8448. we ended up wasting a lot of duplicate ram over time. Also switch
  8449. to foo_r versions of some library calls to allow reentry and
  8450. threadsafeness.
  8451. - Better handling for heterogeneous / unreliable nodes:
  8452. - Annotate circuits w/ whether they aim to contain high uptime nodes
  8453. and/or high capacity nodes. When building circuits, choose
  8454. appropriate nodes.
  8455. - This means that every single node in an intro rend circuit,
  8456. not just the last one, will have a minimum uptime.
  8457. - New config option LongLivedPorts to indicate application streams
  8458. that will want high uptime circuits.
  8459. - Servers reset uptime when a dir fetch entirely fails. This
  8460. hopefully reflects stability of the server's network connectivity.
  8461. - If somebody starts his tor server in Jan 2004 and then fixes his
  8462. clock, don't make his published uptime be a year.
  8463. - Reset published uptime when you wake up from hibernation.
  8464. - Introduce a notion of 'internal' circs, which are chosen without
  8465. regard to the exit policy of the last hop. Intro and rendezvous
  8466. circs must be internal circs, to avoid leaking information. Resolve
  8467. and connect streams can use internal circs if they want.
  8468. - New circuit pooling algorithm: make sure to have enough circs around
  8469. to satisfy any predicted ports, and also make sure to have 2 internal
  8470. circs around if we've required internal circs lately (and with high
  8471. uptime if we've seen that lately too).
  8472. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  8473. which describes how often we retry making new circuits if current
  8474. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  8475. how long we're willing to make use of an already-dirty circuit.
  8476. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  8477. circ as necessary, if there are any completed ones lying around
  8478. when we try to launch one.
  8479. - Make hidden services try to establish a rendezvous for 30 seconds,
  8480. rather than for n (where n=3) attempts to build a circuit.
  8481. - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
  8482. "ShutdownWaitLength".
  8483. - Try to be more zealous about calling connection_edge_end when
  8484. things go bad with edge conns in connection.c.
  8485. - Revise tor-spec to add more/better stream end reasons.
  8486. - Revise all calls to connection_edge_end to avoid sending "misc",
  8487. and to take errno into account where possible.
  8488. o Bug fixes:
  8489. - Fix a race condition that can trigger an assert, when we have a
  8490. pending create cell and an OR connection fails right then.
  8491. - Fix several double-mark-for-close bugs, e.g. where we were finding
  8492. a conn for a cell even if that conn is already marked for close.
  8493. - Make sequence of log messages when starting on win32 with no config
  8494. file more reasonable.
  8495. - When choosing an exit node for a new non-internal circ, don't take
  8496. into account whether it'll be useful for any pending x.onion
  8497. addresses -- it won't.
  8498. - Turn addr_policy_compare from a tristate to a quadstate; this should
  8499. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  8500. for google.com" problem.
  8501. - Make "platform" string in descriptor more accurate for Win32 servers,
  8502. so it's not just "unknown platform".
  8503. - Fix an edge case in parsing config options (thanks weasel).
  8504. If they say "--" on the commandline, it's not an option.
  8505. - Reject odd-looking addresses at the client (e.g. addresses that
  8506. contain a colon), rather than having the server drop them because
  8507. they're malformed.
  8508. - tor-resolve requests were ignoring .exit if there was a working circuit
  8509. they could use instead.
  8510. - REUSEADDR on normal platforms means you can rebind to the port
  8511. right after somebody else has let it go. But REUSEADDR on win32
  8512. means to let you bind to the port _even when somebody else
  8513. already has it bound_! So, don't do that on Win32.
  8514. - Change version parsing logic: a version is "obsolete" if it is not
  8515. recommended and (1) there is a newer recommended version in the
  8516. same series, or (2) there are no recommended versions in the same
  8517. series, but there are some recommended versions in a newer series.
  8518. A version is "new" if it is newer than any recommended version in
  8519. the same series.
  8520. - Stop most cases of hanging up on a socks connection without sending
  8521. the socks reject.
  8522. o Helpful fixes:
  8523. - Require BandwidthRate to be at least 20kB/s for servers.
  8524. - When a dirserver causes you to give a warn, mention which dirserver
  8525. it was.
  8526. - New config option DirAllowPrivateAddresses for authdirservers.
  8527. Now by default they refuse router descriptors that have non-IP or
  8528. private-IP addresses.
  8529. - Stop publishing socksport in the directory, since it's not
  8530. actually meant to be public. For compatibility, publish a 0 there
  8531. for now.
  8532. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  8533. smart" value, that is low for servers and high for clients.
  8534. - If our clock jumps forward by 100 seconds or more, assume something
  8535. has gone wrong with our network and abandon all not-yet-used circs.
  8536. - Warn when exit policy implicitly allows local addresses.
  8537. - If we get an incredibly skewed timestamp from a dirserver mirror
  8538. that isn't a verified OR, don't warn -- it's probably him that's
  8539. wrong.
  8540. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  8541. cookies to disk and doesn't log each web request to disk. (Thanks
  8542. to Brett Carrington for pointing this out.)
  8543. - When a client asks us for a dir mirror and we don't have one,
  8544. launch an attempt to get a fresh one.
  8545. - If we're hibernating and we get a SIGINT, exit immediately.
  8546. - Add --with-dmalloc ./configure option, to track memory leaks.
  8547. - And try to free all memory on closing, so we can detect what
  8548. we're leaking.
  8549. - Cache local dns resolves correctly even when they're .exit
  8550. addresses.
  8551. - Give a better warning when some other server advertises an
  8552. ORPort that is actually an apache running ssl.
  8553. - Add "opt hibernating 1" to server descriptor to make it clearer
  8554. whether the server is hibernating.
  8555. Changes in version 0.0.9.6 - 2005-03-24
  8556. o Bugfixes on 0.0.9.x (crashes and asserts):
  8557. - Add new end stream reasons to maintainance branch. Fix bug where
  8558. reason (8) could trigger an assert. Prevent bug from recurring.
  8559. - Apparently win32 stat wants paths to not end with a slash.
  8560. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  8561. blowing away the circuit that conn->cpath_layer points to, then
  8562. checking to see if the circ is well-formed. Backport check to make
  8563. sure we dont use the cpath on a closed connection.
  8564. - Prevent circuit_resume_edge_reading_helper() from trying to package
  8565. inbufs for marked-for-close streams.
  8566. - Don't crash on hup if your options->address has become unresolvable.
  8567. - Some systems (like OS X) sometimes accept() a connection and tell
  8568. you the remote host is 0.0.0.0:0. If this happens, due to some
  8569. other mis-features, we get confused; so refuse the conn for now.
  8570. o Bugfixes on 0.0.9.x (other):
  8571. - Fix harmless but scary "Unrecognized content encoding" warn message.
  8572. - Add new stream error reason: TORPROTOCOL reason means "you are not
  8573. speaking a version of Tor I understand; say bye-bye to your stream."
  8574. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  8575. into the future, now that we are more tolerant of skew. This
  8576. resolves a bug where a Tor server would refuse to cache a directory
  8577. because all the directories it gets are too far in the future;
  8578. yet the Tor server never logs any complaints about clock skew.
  8579. - Mac packaging magic: make man pages useable, and do not overwrite
  8580. existing torrc files.
  8581. - Make OS X log happily to /var/log/tor/tor.log
  8582. Changes in version 0.0.9.5 - 2005-02-22
  8583. o Bugfixes on 0.0.9.x:
  8584. - Fix an assert race at exit nodes when resolve requests fail.
  8585. - Stop picking unverified dir mirrors--it only leads to misery.
  8586. - Patch from Matt Edman to make NT services work better. Service
  8587. support is still not compiled into the executable by default.
  8588. - Patch from Dmitri Bely so the Tor service runs better under
  8589. the win32 SYSTEM account.
  8590. - Make tor-resolve actually work (?) on Win32.
  8591. - Fix a sign bug when getrlimit claims to have 4+ billion
  8592. file descriptors available.
  8593. - Stop refusing to start when bandwidthburst == bandwidthrate.
  8594. - When create cells have been on the onion queue more than five
  8595. seconds, just send back a destroy and take them off the list.
  8596. Changes in version 0.0.9.4 - 2005-02-03
  8597. o Bugfixes on 0.0.9:
  8598. - Fix an assert bug that took down most of our servers: when
  8599. a server claims to have 1 GB of bandwidthburst, don't
  8600. freak out.
  8601. - Don't crash as badly if we have spawned the max allowed number
  8602. of dnsworkers, or we're out of file descriptors.
  8603. - Block more file-sharing ports in the default exit policy.
  8604. - MaxConn is now automatically set to the hard limit of max
  8605. file descriptors we're allowed (ulimit -n), minus a few for
  8606. logs, etc.
  8607. - Give a clearer message when servers need to raise their
  8608. ulimit -n when they start running out of file descriptors.
  8609. - SGI Compatibility patches from Jan Schaumann.
  8610. - Tolerate a corrupt cached directory better.
  8611. - When a dirserver hasn't approved your server, list which one.
  8612. - Go into soft hibernation after 95% of the bandwidth is used,
  8613. not 99%. This is especially important for daily hibernators who
  8614. have a small accounting max. Hopefully it will result in fewer
  8615. cut connections when the hard hibernation starts.
  8616. - Load-balance better when using servers that claim more than
  8617. 800kB/s of capacity.
  8618. - Make NT services work (experimental, only used if compiled in).
  8619. Changes in version 0.0.9.3 - 2005-01-21
  8620. o Bugfixes on 0.0.9:
  8621. - Backport the cpu use fixes from main branch, so busy servers won't
  8622. need as much processor time.
  8623. - Work better when we go offline and then come back, or when we
  8624. run Tor at boot before the network is up. We do this by
  8625. optimistically trying to fetch a new directory whenever an
  8626. application request comes in and we think we're offline -- the
  8627. human is hopefully a good measure of when the network is back.
  8628. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  8629. long as you keep using them; actually publish hidserv descriptors
  8630. shortly after they change, rather than waiting 20-40 minutes.
  8631. - Enable Mac startup script by default.
  8632. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  8633. - When you update AllowUnverifiedNodes or FirewallPorts via the
  8634. controller's setconf feature, we were always appending, never
  8635. resetting.
  8636. - When you update HiddenServiceDir via setconf, it was screwing up
  8637. the order of reading the lines, making it fail.
  8638. - Do not rewrite a cached directory back to the cache; otherwise we
  8639. will think it is recent and not fetch a newer one on startup.
  8640. - Workaround for webservers that lie about Content-Encoding: Tor
  8641. now tries to autodetect compressed directories and compression
  8642. itself. This lets us Proxypass dir fetches through apache.
  8643. Changes in version 0.0.9.2 - 2005-01-04
  8644. o Bugfixes on 0.0.9 (crashes and asserts):
  8645. - Fix an assert on startup when the disk is full and you're logging
  8646. to a file.
  8647. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  8648. style address, then we'd crash.
  8649. - Fix an assert trigger when the running-routers string we get from
  8650. a dirserver is broken.
  8651. - Make worker threads start and run on win32. Now win32 servers
  8652. may work better.
  8653. - Bandaid (not actually fix, but now it doesn't crash) an assert
  8654. where the dns worker dies mysteriously and the main Tor process
  8655. doesn't remember anything about the address it was resolving.
  8656. o Bugfixes on 0.0.9 (Win32):
  8657. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  8658. name out of the warning/assert messages.
  8659. - Fix a superficial "unhandled error on read" bug on win32.
  8660. - The win32 installer no longer requires a click-through for our
  8661. license, since our Free Software license grants rights but does not
  8662. take any away.
  8663. - Win32: When connecting to a dirserver fails, try another one
  8664. immediately. (This was already working for non-win32 Tors.)
  8665. - Stop trying to parse $HOME on win32 when hunting for default
  8666. DataDirectory.
  8667. - Make tor-resolve.c work on win32 by calling network_init().
  8668. o Bugfixes on 0.0.9 (other):
  8669. - Make 0.0.9.x build on Solaris again.
  8670. - Due to a fencepost error, we were blowing away the \n when reporting
  8671. confvalue items in the controller. So asking for multiple config
  8672. values at once couldn't work.
  8673. - When listing circuits that are pending on an opening OR connection,
  8674. if we're an OR we were listing circuits that *end* at us as
  8675. being pending on every listener, dns/cpu worker, etc. Stop that.
  8676. - Dirservers were failing to create 'running-routers' or 'directory'
  8677. strings if we had more than some threshold of routers. Fix them so
  8678. they can handle any number of routers.
  8679. - Fix a superficial "Duplicate mark for close" bug.
  8680. - Stop checking for clock skew for OR connections, even for servers.
  8681. - Fix a fencepost error that was chopping off the last letter of any
  8682. nickname that is the maximum allowed nickname length.
  8683. - Update URLs in log messages so they point to the new website.
  8684. - Fix a potential problem in mangling server private keys while
  8685. writing to disk (not triggered yet, as far as we know).
  8686. - Include the licenses for other free software we include in Tor,
  8687. now that we're shipping binary distributions more regularly.
  8688. Changes in version 0.0.9.1 - 2004-12-15
  8689. o Bugfixes on 0.0.9:
  8690. - Make hibernation actually work.
  8691. - Make HashedControlPassword config option work.
  8692. - When we're reporting event circuit status to a controller,
  8693. don't use the stream status code.
  8694. Changes in version 0.0.9 - 2004-12-12
  8695. o Cleanups:
  8696. - Clean up manpage and torrc.sample file.
  8697. - Clean up severities and text of log warnings.
  8698. o Mistakes:
  8699. - Make servers trigger an assert when they enter hibernation.
  8700. Changes in version 0.0.9rc7 - 2004-12-08
  8701. o Bugfixes on 0.0.9rc:
  8702. - Fix a stack-trashing crash when an exit node begins hibernating.
  8703. - Avoid looking at unallocated memory while considering which
  8704. ports we need to build circuits to cover.
  8705. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  8706. we shouldn't hold-open-until-flush if the eof arrived first.
  8707. - Fix a bug with init_cookie_authentication() in the controller.
  8708. - When recommending new-format log lines, if the upper bound is
  8709. LOG_ERR, leave it implicit.
  8710. o Bugfixes on 0.0.8.1:
  8711. - Fix a whole slew of memory leaks.
  8712. - Fix isspace() and friends so they still make Solaris happy
  8713. but also so they don't trigger asserts on win32.
  8714. - Fix parse_iso_time on platforms without strptime (eg win32).
  8715. - win32: tolerate extra "readable" events better.
  8716. - win32: when being multithreaded, leave parent fdarray open.
  8717. - Make unit tests work on win32.
  8718. Changes in version 0.0.9rc6 - 2004-12-06
  8719. o Bugfixes on 0.0.9pre:
  8720. - Clean up some more integer underflow opportunities (not exploitable
  8721. we think).
  8722. - While hibernating, hup should not regrow our listeners.
  8723. - Send an end to the streams we close when we hibernate, rather
  8724. than just chopping them off.
  8725. - React to eof immediately on non-open edge connections.
  8726. o Bugfixes on 0.0.8.1:
  8727. - Calculate timeout for waiting for a connected cell from the time
  8728. we sent the begin cell, not from the time the stream started. If
  8729. it took a long time to establish the circuit, we would time out
  8730. right after sending the begin cell.
  8731. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  8732. of * as always matching, so we were picking reject *:* nodes as
  8733. exit nodes too. Oops.
  8734. o Features:
  8735. - New circuit building strategy: keep a list of ports that we've
  8736. used in the past 6 hours, and always try to have 2 circuits open
  8737. or on the way that will handle each such port. Seed us with port
  8738. 80 so web users won't complain that Tor is "slow to start up".
  8739. - Make kill -USR1 dump more useful stats about circuits.
  8740. - When warning about retrying or giving up, print the address, so
  8741. the user knows which one it's talking about.
  8742. - If you haven't used a clean circuit in an hour, throw it away,
  8743. just to be on the safe side. (This means after 6 hours a totally
  8744. unused Tor client will have no circuits open.)
  8745. Changes in version 0.0.9rc5 - 2004-12-01
  8746. o Bugfixes on 0.0.8.1:
  8747. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  8748. - Let resolve conns retry/expire also, rather than sticking around
  8749. forever.
  8750. - If we are using select, make sure we stay within FD_SETSIZE.
  8751. o Bugfixes on 0.0.9pre:
  8752. - Fix integer underflow in tor_vsnprintf() that may be exploitable,
  8753. but doesn't seem to be currently; thanks to Ilja van Sprundel for
  8754. finding it.
  8755. - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
  8756. instead. Impose minima and maxima for all *Period options; impose
  8757. even tighter maxima for fetching if we are a caching dirserver.
  8758. Clip rather than rejecting.
  8759. - Fetch cached running-routers from servers that serve it (that is,
  8760. authdirservers and servers running 0.0.9rc5-cvs or later.)
  8761. o Features:
  8762. - Accept *:706 (silc) in default exit policy.
  8763. - Implement new versioning format for post 0.1.
  8764. - Support "foo.nickname.exit" addresses, to let Alice request the
  8765. address "foo" as viewed by exit node "nickname". Based on a patch
  8766. by Geoff Goodell.
  8767. - Make tor --version --version dump the cvs Id of every file.
  8768. Changes in version 0.0.9rc4 - 2004-11-28
  8769. o Bugfixes on 0.0.8.1:
  8770. - Make windows sockets actually non-blocking (oops), and handle
  8771. win32 socket errors better.
  8772. o Bugfixes on 0.0.9rc1:
  8773. - Actually catch the -USR2 signal.
  8774. Changes in version 0.0.9rc3 - 2004-11-25
  8775. o Bugfixes on 0.0.8.1:
  8776. - Flush the log file descriptor after we print "Tor opening log file",
  8777. so we don't see those messages days later.
  8778. o Bugfixes on 0.0.9rc1:
  8779. - Make tor-resolve work again.
  8780. - Avoid infinite loop in tor-resolve if tor hangs up on it.
  8781. - Fix an assert trigger for clients/servers handling resolves.
  8782. Changes in version 0.0.9rc2 - 2004-11-24
  8783. o Bugfixes on 0.0.9rc1:
  8784. - I broke socks5 support while fixing the eof bug.
  8785. - Allow unitless bandwidths and intervals; they default to bytes
  8786. and seconds.
  8787. - New servers don't start out hibernating; they are active until
  8788. they run out of bytes, so they have a better estimate of how
  8789. long it takes, and so their operators can know they're working.
  8790. Changes in version 0.0.9rc1 - 2004-11-23
  8791. o Bugfixes on 0.0.8.1:
  8792. - Finally fix a bug that's been plaguing us for a year:
  8793. With high load, circuit package window was reaching 0. Whenever
  8794. we got a circuit-level sendme, we were reading a lot on each
  8795. socket, but only writing out a bit. So we would eventually reach
  8796. eof. This would be noticed and acted on even when there were still
  8797. bytes sitting in the inbuf.
  8798. - When poll() is interrupted, we shouldn't believe the revents values.
  8799. o Bugfixes on 0.0.9pre6:
  8800. - Fix hibernate bug that caused pre6 to be broken.
  8801. - Don't keep rephist info for routers that haven't had activity for
  8802. 24 hours. (This matters now that clients have keys, since we track
  8803. them too.)
  8804. - Never call close_temp_logs while validating log options.
  8805. - Fix backslash-escaping on tor.sh.in and torctl.in.
  8806. o Features:
  8807. - Implement weekly/monthly/daily accounting: now you specify your
  8808. hibernation properties by
  8809. AccountingMax N bytes|KB|MB|GB|TB
  8810. AccountingStart day|week|month [day] HH:MM
  8811. Defaults to "month 1 0:00".
  8812. - Let bandwidth and interval config options be specified as 5 bytes,
  8813. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  8814. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  8815. get back to normal.)
  8816. - If your requested entry or exit node has advertised bandwidth 0,
  8817. pick it anyway.
  8818. - Be more greedy about filling up relay cells -- we try reading again
  8819. once we've processed the stuff we read, in case enough has arrived
  8820. to fill the last cell completely.
  8821. - Apply NT service patch from Osamu Fujino. Still needs more work.
  8822. Changes in version 0.0.9pre6 - 2004-11-15
  8823. o Bugfixes on 0.0.8.1:
  8824. - Fix assert failure on malformed socks4a requests.
  8825. - Use identity comparison, not nickname comparison, to choose which
  8826. half of circuit-ID-space each side gets to use. This is needed
  8827. because sometimes we think of a router as a nickname, and sometimes
  8828. as a hex ID, and we can't predict what the other side will do.
  8829. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  8830. write() call will fail and we handle it there.
  8831. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  8832. and smartlist_len, which are two major profiling offenders.
  8833. o Bugfixes on 0.0.9pre5:
  8834. - Fix a bug in read_all that was corrupting config files on windows.
  8835. - When we're raising the max number of open file descriptors to
  8836. 'unlimited', don't log that we just raised it to '-1'.
  8837. - Include event code with events, as required by control-spec.txt.
  8838. - Don't give a fingerprint when clients do --list-fingerprint:
  8839. it's misleading, because it will never be the same again.
  8840. - Stop using strlcpy in tor_strndup, since it was slowing us
  8841. down a lot.
  8842. - Remove warn on startup about missing cached-directory file.
  8843. - Make kill -USR1 work again.
  8844. - Hibernate if we start tor during the "wait for wakeup-time" phase
  8845. of an accounting interval. Log our hibernation plans better.
  8846. - Authoritative dirservers now also cache their directory, so they
  8847. have it on start-up.
  8848. o Features:
  8849. - Fetch running-routers; cache running-routers; compress
  8850. running-routers; serve compressed running-routers.z
  8851. - Add NSI installer script contributed by J Doe.
  8852. - Commit VC6 and VC7 workspace/project files.
  8853. - Commit a tor.spec for making RPM files, with help from jbash.
  8854. - Add contrib/torctl.in contributed by Glenn Fink.
  8855. - Implement the control-spec's SAVECONF command, to write your
  8856. configuration to torrc.
  8857. - Get cookie authentication for the controller closer to working.
  8858. - Include control-spec.txt in the tarball.
  8859. - When set_conf changes our server descriptor, upload a new copy.
  8860. But don't upload it too often if there are frequent changes.
  8861. - Document authentication config in man page, and document signals
  8862. we catch.
  8863. - Clean up confusing parts of man page and torrc.sample.
  8864. - Make expand_filename handle ~ and ~username.
  8865. - Use autoconf to enable largefile support where necessary. Use
  8866. ftello where available, since ftell can fail at 2GB.
  8867. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  8868. log more informatively.
  8869. - Give a slightly more useful output for "tor -h".
  8870. - Refuse application socks connections to port 0.
  8871. - Check clock skew for verified servers, but allow unverified
  8872. servers and clients to have any clock skew.
  8873. - Break DirFetchPostPeriod into:
  8874. - DirFetchPeriod for fetching full directory,
  8875. - StatusFetchPeriod for fetching running-routers,
  8876. - DirPostPeriod for posting server descriptor,
  8877. - RendPostPeriod for posting hidden service descriptors.
  8878. - Make sure the hidden service descriptors are at a random offset
  8879. from each other, to hinder linkability.
  8880. Changes in version 0.0.9pre5 - 2004-11-09
  8881. o Bugfixes on 0.0.9pre4:
  8882. - Fix a seg fault in unit tests (doesn't affect main program).
  8883. - Fix an assert bug where a hidden service provider would fail if
  8884. the first hop of his rendezvous circuit was down.
  8885. - Hidden service operators now correctly handle version 1 style
  8886. INTRODUCE1 cells (nobody generates them still, so not a critical
  8887. bug).
  8888. - If do_hup fails, actually notice.
  8889. - Handle more errnos from accept() without closing the listener.
  8890. Some OpenBSD machines were closing their listeners because
  8891. they ran out of file descriptors.
  8892. - Send resolve cells to exit routers that are running a new
  8893. enough version of the resolve code to work right.
  8894. - Better handling of winsock includes on non-MSV win32 compilers.
  8895. - Some people had wrapped their tor client/server in a script
  8896. that would restart it whenever it died. This did not play well
  8897. with our "shut down if your version is obsolete" code. Now people
  8898. don't fetch a new directory if their local cached version is
  8899. recent enough.
  8900. - Make our autogen.sh work on ksh as well as bash.
  8901. o Major Features:
  8902. - Hibernation: New config option "AccountingMaxKB" lets you
  8903. set how many KBytes per month you want to allow your server to
  8904. consume. Rather than spreading those bytes out evenly over the
  8905. month, we instead hibernate for some of the month and pop up
  8906. at a deterministic time, work until the bytes are consumed, then
  8907. hibernate again. Config option "MonthlyAccountingStart" lets you
  8908. specify which day of the month your billing cycle starts on.
  8909. - Control interface: a separate program can now talk to your
  8910. client/server over a socket, and get/set config options, receive
  8911. notifications of circuits and streams starting/finishing/dying,
  8912. bandwidth used, etc. The next step is to get some GUIs working.
  8913. Let us know if you want to help out. See doc/control-spec.txt .
  8914. - Ship a contrib/tor-control.py as an example script to interact
  8915. with the control port.
  8916. - "tor --hash-password zzyxz" will output a salted password for
  8917. use in authenticating to the control interface.
  8918. - New log format in config:
  8919. "Log minsev[-maxsev] stdout|stderr|syslog" or
  8920. "Log minsev[-maxsev] file /var/foo"
  8921. o Minor Features:
  8922. - DirPolicy config option, to let people reject incoming addresses
  8923. from their dirserver.
  8924. - "tor --list-fingerprint" will list your identity key fingerprint
  8925. and then exit.
  8926. - Add "pass" target for RedirectExit, to make it easier to break
  8927. out of a sequence of RedirectExit rules.
  8928. - Clients now generate a TLS cert too, in preparation for having
  8929. them act more like real nodes.
  8930. - Ship src/win32/ in the tarball, so people can use it to build.
  8931. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  8932. is broken.
  8933. - New "router-status" line in directory, to better bind each verified
  8934. nickname to its identity key.
  8935. - Deprecate unofficial config option abbreviations, and abbreviations
  8936. not on the command line.
  8937. - Add a pure-C tor-resolve implementation.
  8938. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  8939. 1024) file descriptors.
  8940. o Code security improvements, inspired by Ilja:
  8941. - Replace sprintf with snprintf. (I think they were all safe, but
  8942. hey.)
  8943. - Replace strcpy/strncpy with strlcpy in more places.
  8944. - Avoid strcat; use snprintf or strlcat instead.
  8945. - snprintf wrapper with consistent (though not C99) overflow behavior.
  8946. Changes in version 0.0.9pre4 - 2004-10-17
  8947. o Bugfixes on 0.0.9pre3:
  8948. - If the server doesn't specify an exit policy, use the real default
  8949. exit policy, not reject *:*.
  8950. - Ignore fascistfirewall when uploading/downloading hidden service
  8951. descriptors, since we go through Tor for those; and when using
  8952. an HttpProxy, since we assume it can reach them all.
  8953. - When looking for an authoritative dirserver, use only the ones
  8954. configured at boot. Don't bother looking in the directory.
  8955. - The rest of the fix for get_default_conf_file() on older win32.
  8956. - Make 'Routerfile' config option obsolete.
  8957. o Features:
  8958. - New 'MyFamily nick1,...' config option for a server to
  8959. specify other servers that shouldn't be used in the same circuit
  8960. with it. Only believed if nick1 also specifies us.
  8961. - New 'NodeFamily nick1,nick2,...' config option for a client to
  8962. specify nodes that it doesn't want to use in the same circuit.
  8963. - New 'Redirectexit pattern address:port' config option for a
  8964. server to redirect exit connections, e.g. to a local squid.
  8965. Changes in version 0.0.9pre3 - 2004-10-13
  8966. o Bugfixes on 0.0.8.1:
  8967. - Better torrc example lines for dirbindaddress and orbindaddress.
  8968. - Improved bounds checking on parsed ints (e.g. config options and
  8969. the ones we find in directories.)
  8970. - Better handling of size_t vs int, so we're more robust on 64
  8971. bit platforms.
  8972. - Fix the rest of the bug where a newly started OR would appear
  8973. as unverified even after we've added his fingerprint and hupped
  8974. the dirserver.
  8975. - Fix a bug from 0.0.7: when read() failed on a stream, we would
  8976. close it without sending back an end. So 'connection refused'
  8977. would simply be ignored and the user would get no response.
  8978. o Bugfixes on 0.0.9pre2:
  8979. - Serving the cached-on-disk directory to people is bad. We now
  8980. provide no directory until we've fetched a fresh one.
  8981. - Workaround for bug on windows where cached-directories get crlf
  8982. corruption.
  8983. - Make get_default_conf_file() work on older windows too.
  8984. - If we write a *:* exit policy line in the descriptor, don't write
  8985. any more exit policy lines.
  8986. o Features:
  8987. - Use only 0.0.9pre1 and later servers for resolve cells.
  8988. - Make the dirservers file obsolete.
  8989. - Include a dir-signing-key token in directories to tell the
  8990. parsing entity which key is being used to sign.
  8991. - Remove the built-in bulky default dirservers string.
  8992. - New config option "Dirserver %s:%d [fingerprint]", which can be
  8993. repeated as many times as needed. If no dirservers specified,
  8994. default to moria1,moria2,tor26.
  8995. - Make moria2 advertise a dirport of 80, so people behind firewalls
  8996. will be able to get a directory.
  8997. - Http proxy support
  8998. - Dirservers translate requests for http://%s:%d/x to /x
  8999. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  9000. be routed through this host.
  9001. - Clients ask for /tor/x rather than /x for new enough dirservers.
  9002. This way we can one day coexist peacefully with apache.
  9003. - Clients specify a "Host: %s%d" http header, to be compatible
  9004. with more proxies, and so running squid on an exit node can work.
  9005. Changes in version 0.0.8.1 - 2004-10-13
  9006. o Bugfixes:
  9007. - Fix a seg fault that can be triggered remotely for Tor
  9008. clients/servers with an open dirport.
  9009. - Fix a rare assert trigger, where routerinfos for entries in
  9010. our cpath would expire while we're building the path.
  9011. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  9012. - Fix a rare seg fault for people running hidden services on
  9013. intermittent connections.
  9014. - Fix a bug in parsing opt keywords with objects.
  9015. - Fix a stale pointer assert bug when a stream detaches and
  9016. reattaches.
  9017. - Fix a string format vulnerability (probably not exploitable)
  9018. in reporting stats locally.
  9019. - Fix an assert trigger: sometimes launching circuits can fail
  9020. immediately, e.g. because too many circuits have failed recently.
  9021. - Fix a compile warning on 64 bit platforms.
  9022. Changes in version 0.0.9pre2 - 2004-10-03
  9023. o Bugfixes:
  9024. - Make fetching a cached directory work for 64-bit platforms too.
  9025. - Make zlib.h a required header, not an optional header.
  9026. Changes in version 0.0.9pre1 - 2004-10-01
  9027. o Bugfixes:
  9028. - Stop using separate defaults for no-config-file and
  9029. empty-config-file. Now you have to explicitly turn off SocksPort,
  9030. if you don't want it open.
  9031. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  9032. - Improve man page to mention more of the 0.0.8 features.
  9033. - Fix a rare seg fault for people running hidden services on
  9034. intermittent connections.
  9035. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  9036. happier.
  9037. - Fix more dns related bugs: send back resolve_failed and end cells
  9038. more reliably when the resolve fails, rather than closing the
  9039. circuit and then trying to send the cell. Also attach dummy resolve
  9040. connections to a circuit *before* calling dns_resolve(), to fix
  9041. a bug where cached answers would never be sent in RESOLVED cells.
  9042. - When we run out of disk space, or other log writing error, don't
  9043. crash. Just stop logging to that log and continue.
  9044. - We were starting to daemonize before we opened our logs, so if
  9045. there were any problems opening logs, we would complain to stderr,
  9046. which wouldn't work, and then mysteriously exit.
  9047. - Fix a rare bug where sometimes a verified OR would connect to us
  9048. before he'd uploaded his descriptor, which would cause us to
  9049. assign conn->nickname as though he's unverified. Now we look through
  9050. the fingerprint list to see if he's there.
  9051. - Fix a rare assert trigger, where routerinfos for entries in
  9052. our cpath would expire while we're building the path.
  9053. o Features:
  9054. - Clients can ask dirservers for /dir.z to get a compressed version
  9055. of the directory. Only works for servers running 0.0.9, of course.
  9056. - Make clients cache directories and use them to seed their router
  9057. lists at startup. This means clients have a datadir again.
  9058. - Configuration infrastructure support for warning on obsolete
  9059. options.
  9060. - Respond to content-encoding headers by trying to uncompress as
  9061. appropriate.
  9062. - Reply with a deflated directory when a client asks for "dir.z".
  9063. We could use allow-encodings instead, but allow-encodings isn't
  9064. specified in HTTP 1.0.
  9065. - Raise the max dns workers from 50 to 100.
  9066. - Discourage people from setting their dirfetchpostperiod more often
  9067. than once per minute.
  9068. - Protect dirservers from overzealous descriptor uploading -- wait
  9069. 10 seconds after directory gets dirty, before regenerating.
  9070. Changes in version 0.0.8 - 2004-08-25
  9071. o Port it to SunOS 5.9 / Athena
  9072. Changes in version 0.0.8rc2 - 2004-08-20
  9073. o Make it compile on cygwin again.
  9074. o When picking unverified routers, skip those with low uptime and/or
  9075. low bandwidth, depending on what properties you care about.
  9076. Changes in version 0.0.8rc1 - 2004-08-18
  9077. o Changes from 0.0.7.3:
  9078. - Bugfixes:
  9079. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  9080. don't put it into the client dns cache.
  9081. - If a begin failed due to exit policy, but we believe the IP address
  9082. should have been allowed, switch that router to exitpolicy reject *:*
  9083. until we get our next directory.
  9084. - Features:
  9085. - Clients choose nodes proportional to advertised bandwidth.
  9086. - Avoid using nodes with low uptime as introduction points.
  9087. - Handle servers with dynamic IP addresses: don't replace
  9088. options->Address with the resolved one at startup, and
  9089. detect our address right before we make a routerinfo each time.
  9090. - 'FascistFirewall' option to pick dirservers and ORs on specific
  9091. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  9092. which ports are open. (Defaults to 80,443)
  9093. - Be more aggressive about trying to make circuits when the network
  9094. has changed (e.g. when you unsuspend your laptop).
  9095. - Check for time skew on http headers; report date in response to
  9096. "GET /".
  9097. - If the entrynode config line has only one node, don't pick it as
  9098. an exitnode.
  9099. - Add strict{entry|exit}nodes config options. If set to 1, then
  9100. we refuse to build circuits that don't include the specified entry
  9101. or exit nodes.
  9102. - OutboundBindAddress config option, to bind to a specific
  9103. IP address for outgoing connect()s.
  9104. - End truncated log entries (e.g. directories) with "[truncated]".
  9105. o Patches to 0.0.8preX:
  9106. - Bugfixes:
  9107. - Patches to compile and run on win32 again (maybe)?
  9108. - Fix crash when looking for ~/.torrc with no $HOME set.
  9109. - Fix a race bug in the unit tests.
  9110. - Handle verified/unverified name collisions better when new
  9111. routerinfo's arrive in a directory.
  9112. - Sometimes routers were getting entered into the stats before
  9113. we'd assigned their identity_digest. Oops.
  9114. - Only pick and establish intro points after we've gotten a
  9115. directory.
  9116. - Features:
  9117. - AllowUnverifiedNodes config option to let circuits choose no-name
  9118. routers in entry,middle,exit,introduction,rendezvous positions.
  9119. Allow middle and rendezvous positions by default.
  9120. - Add a man page for tor-resolve.
  9121. Changes in version 0.0.7.3 - 2004-08-12
  9122. o Stop dnsworkers from triggering an assert failure when you
  9123. ask them to resolve the host "".
  9124. Changes in version 0.0.8pre3 - 2004-08-09
  9125. o Changes from 0.0.7.2:
  9126. - Allow multiple ORs with same nickname in routerlist -- now when
  9127. people give us one identity key for a nickname, then later
  9128. another, we don't constantly complain until the first expires.
  9129. - Remember used bandwidth (both in and out), and publish 15-minute
  9130. snapshots for the past day into our descriptor.
  9131. - You can now fetch $DIRURL/running-routers to get just the
  9132. running-routers line, not the whole descriptor list. (But
  9133. clients don't use this yet.)
  9134. - When people mistakenly use Tor as an http proxy, point them
  9135. at the tor-doc.html rather than the INSTALL.
  9136. - Remove our mostly unused -- and broken -- hex_encode()
  9137. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  9138. for pointing out this bug.)
  9139. - Rotate onion keys every 12 hours, not every 2 hours, so we have
  9140. fewer problems with people using the wrong key.
  9141. - Change the default exit policy to reject the default edonkey,
  9142. kazaa, gnutella ports.
  9143. - Add replace_file() to util.[ch] to handle win32's rename().
  9144. o Changes from 0.0.8preX:
  9145. - Fix two bugs in saving onion keys to disk when rotating, so
  9146. hopefully we'll get fewer people using old onion keys.
  9147. - Fix an assert error that was making SocksPolicy not work.
  9148. - Be willing to expire routers that have an open dirport -- it's
  9149. just the authoritative dirservers we want to not forget.
  9150. - Reject tor-resolve requests for .onion addresses early, so we
  9151. don't build a whole rendezvous circuit and then fail.
  9152. - When you're warning a server that he's unverified, don't cry
  9153. wolf unpredictably.
  9154. - Fix a race condition: don't try to extend onto a connection
  9155. that's still handshaking.
  9156. - For servers in clique mode, require the conn to be open before
  9157. you'll choose it for your path.
  9158. - Fix some cosmetic bugs about duplicate mark-for-close, lack of
  9159. end relay cell, etc.
  9160. - Measure bandwidth capacity over the last 24 hours, not just 12
  9161. - Bugfix: authoritative dirservers were making and signing a new
  9162. directory for each client, rather than reusing the cached one.
  9163. Changes in version 0.0.8pre2 - 2004-08-04
  9164. o Changes from 0.0.7.2:
  9165. - Security fixes:
  9166. - Check directory signature _before_ you decide whether you're
  9167. you're running an obsolete version and should exit.
  9168. - Check directory signature _before_ you parse the running-routers
  9169. list to decide who's running or verified.
  9170. - Bugfixes and features:
  9171. - Check return value of fclose while writing to disk, so we don't
  9172. end up with broken files when servers run out of disk space.
  9173. - Log a warning if the user uses an unsafe socks variant, so people
  9174. are more likely to learn about privoxy or socat.
  9175. - Dirservers now include RFC1123-style dates in the HTTP headers,
  9176. which one day we will use to better detect clock skew.
  9177. o Changes from 0.0.8pre1:
  9178. - Make it compile without warnings again on win32.
  9179. - Log a warning if you're running an unverified server, to let you
  9180. know you might want to get it verified.
  9181. - Only pick a default nickname if you plan to be a server.
  9182. Changes in version 0.0.8pre1 - 2004-07-23
  9183. o Bugfixes:
  9184. - Made our unit tests compile again on OpenBSD 3.5, and tor
  9185. itself compile again on OpenBSD on a sparc64.
  9186. - We were neglecting milliseconds when logging on win32, so
  9187. everything appeared to happen at the beginning of each second.
  9188. o Protocol changes:
  9189. - 'Extend' relay cell payloads now include the digest of the
  9190. intended next hop's identity key. Now we can verify that we're
  9191. extending to the right router, and also extend to routers we
  9192. hadn't heard of before.
  9193. o Features:
  9194. - Tor nodes can now act as relays (with an advertised ORPort)
  9195. without being manually verified by the dirserver operators.
  9196. - Uploaded descriptors of unverified routers are now accepted
  9197. by the dirservers, and included in the directory.
  9198. - Verified routers are listed by nickname in the running-routers
  9199. list; unverified routers are listed as "$<fingerprint>".
  9200. - We now use hash-of-identity-key in most places rather than
  9201. nickname or addr:port, for improved security/flexibility.
  9202. - To avoid Sybil attacks, paths still use only verified servers.
  9203. But now we have a chance to play around with hybrid approaches.
  9204. - Nodes track bandwidth usage to estimate capacity (not used yet).
  9205. - ClientOnly option for nodes that never want to become servers.
  9206. - Directory caching.
  9207. - "AuthoritativeDir 1" option for the official dirservers.
  9208. - Now other nodes (clients and servers) will cache the latest
  9209. directory they've pulled down.
  9210. - They can enable their DirPort to serve it to others.
  9211. - Clients will pull down a directory from any node with an open
  9212. DirPort, and check the signature/timestamp correctly.
  9213. - Authoritative dirservers now fetch directories from other
  9214. authdirservers, to stay better synced.
  9215. - Running-routers list tells who's down also, along with noting
  9216. if they're verified (listed by nickname) or unverified (listed
  9217. by hash-of-key).
  9218. - Allow dirservers to serve running-router list separately.
  9219. This isn't used yet.
  9220. - ORs connect-on-demand to other ORs
  9221. - If you get an extend cell to an OR you're not connected to,
  9222. connect, handshake, and forward the create cell.
  9223. - The authoritative dirservers stay connected to everybody,
  9224. and everybody stays connected to 0.0.7 servers, but otherwise
  9225. clients/servers expire unused connections after 5 minutes.
  9226. - When servers get a sigint, they delay 30 seconds (refusing new
  9227. connections) then exit. A second sigint causes immediate exit.
  9228. - File and name management:
  9229. - Look for .torrc if no CONFDIR "torrc" is found.
  9230. - If no datadir is defined, then choose, make, and secure ~/.tor
  9231. as datadir.
  9232. - If torrc not found, exitpolicy reject *:*.
  9233. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  9234. - If no nickname is defined, derive default from hostname.
  9235. - Rename secret key files, e.g. identity.key -> secret_id_key,
  9236. to discourage people from mailing their identity key to tor-ops.
  9237. - Refuse to build a circuit before the directory has arrived --
  9238. it won't work anyway, since you won't know the right onion keys
  9239. to use.
  9240. - Try other dirservers immediately if the one you try is down. This
  9241. should tolerate down dirservers better now.
  9242. - Parse tor version numbers so we can do an is-newer-than check
  9243. rather than an is-in-the-list check.
  9244. - New socks command 'resolve', to let us shim gethostbyname()
  9245. locally.
  9246. - A 'tor_resolve' script to access the socks resolve functionality.
  9247. - A new socks-extensions.txt doc file to describe our
  9248. interpretation and extensions to the socks protocols.
  9249. - Add a ContactInfo option, which gets published in descriptor.
  9250. - Publish OR uptime in descriptor (and thus in directory) too.
  9251. - Write tor version at the top of each log file
  9252. - New docs in the tarball:
  9253. - tor-doc.html.
  9254. - Document that you should proxy your SSL traffic too.
  9255. Changes in version 0.0.7.2 - 2004-07-07
  9256. o A better fix for the 0.0.0.0 problem, that will hopefully
  9257. eliminate the remaining related assertion failures.
  9258. Changes in version 0.0.7.1 - 2004-07-04
  9259. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  9260. since internally we use 0.0.0.0 to signify "not yet resolved".
  9261. Changes in version 0.0.7 - 2004-06-07
  9262. o Updated the man page to reflect the new features.
  9263. Changes in version 0.0.7rc2 - 2004-06-06
  9264. o Changes from 0.0.7rc1:
  9265. - Make it build on Win32 again.
  9266. o Changes from 0.0.6.2:
  9267. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  9268. settings too.
  9269. Changes in version 0.0.7rc1 - 2004-06-02
  9270. o Bugfixes:
  9271. - On sighup, we were adding another log without removing the first
  9272. one. So log messages would get duplicated n times for n sighups.
  9273. - Several cases of using a connection after we'd freed it. The
  9274. problem was that connections that are pending resolve are in both
  9275. the pending_resolve tree, and also the circuit's resolving_streams
  9276. list. When you want to remove one, you must remove it from both.
  9277. - Fix a double-mark-for-close where an end cell arrived for a
  9278. resolving stream, and then the resolve failed.
  9279. - Check directory signatures based on name of signer, not on whom
  9280. we got the directory from. This will let us cache directories more
  9281. easily.
  9282. o Features:
  9283. - Crank up some of our constants to handle more users.
  9284. Changes in version 0.0.7pre1 - 2004-06-02
  9285. o Fixes for crashes and other obnoxious bugs:
  9286. - Fix an epipe bug: sometimes when directory connections failed
  9287. to connect, we would give them a chance to flush before closing
  9288. them.
  9289. - When we detached from a circuit because of resolvefailed, we
  9290. would immediately try the same circuit twice more, and then
  9291. give up on the resolve thinking we'd tried three different
  9292. exit nodes.
  9293. - Limit the number of intro circuits we'll attempt to build for a
  9294. hidden service per 15-minute period.
  9295. - Check recommended-software string *early*, before actually parsing
  9296. the directory. Thus we can detect an obsolete version and exit,
  9297. even if the new directory format doesn't parse.
  9298. o Fixes for security bugs:
  9299. - Remember which nodes are dirservers when you startup, and if a
  9300. random OR enables his dirport, don't automatically assume he's
  9301. a trusted dirserver.
  9302. o Other bugfixes:
  9303. - Directory connections were asking the wrong poll socket to
  9304. start writing, and not asking themselves to start writing.
  9305. - When we detached from a circuit because we sent a begin but
  9306. didn't get a connected, we would use it again the first time;
  9307. but after that we would correctly switch to a different one.
  9308. - Stop warning when the first onion decrypt attempt fails; they
  9309. will sometimes legitimately fail now that we rotate keys.
  9310. - Override unaligned-access-ok check when $host_cpu is ia64 or
  9311. arm. Apparently they allow it but the kernel whines.
  9312. - Dirservers try to reconnect periodically too, in case connections
  9313. have failed.
  9314. - Fix some memory leaks in directory servers.
  9315. - Allow backslash in Win32 filenames.
  9316. - Made Tor build complain-free on FreeBSD, hopefully without
  9317. breaking other BSD builds. We'll see.
  9318. o Features:
  9319. - Doxygen markup on all functions and global variables.
  9320. - Make directory functions update routerlist, not replace it. So
  9321. now directory disagreements are not so critical a problem.
  9322. - Remove the upper limit on number of descriptors in a dirserver's
  9323. directory (not that we were anywhere close).
  9324. - Allow multiple logfiles at different severity ranges.
  9325. - Allow *BindAddress to specify ":port" rather than setting *Port
  9326. separately. Allow multiple instances of each BindAddress config
  9327. option, so you can bind to multiple interfaces if you want.
  9328. - Allow multiple exit policy lines, which are processed in order.
  9329. Now we don't need that huge line with all the commas in it.
  9330. - Enable accept/reject policies on SOCKS connections, so you can bind
  9331. to 0.0.0.0 but still control who can use your OP.
  9332. Changes in version 0.0.6.2 - 2004-05-16
  9333. o Our integrity-checking digest was checking only the most recent cell,
  9334. not the previous cells like we'd thought.
  9335. Thanks to Stefan Mark for finding the flaw!
  9336. Changes in version 0.0.6.1 - 2004-05-06
  9337. o Fix two bugs in our AES counter-mode implementation (this affected
  9338. onion-level stream encryption, but not TLS-level). It turns
  9339. out we were doing something much more akin to a 16-character
  9340. polyalphabetic cipher. Oops.
  9341. Thanks to Stefan Mark for finding the flaw!
  9342. o Retire moria3 as a directory server, and add tor26 as a directory
  9343. server.
  9344. Changes in version 0.0.6 - 2004-05-02
  9345. [version bump only]
  9346. Changes in version 0.0.6rc4 - 2004-05-01
  9347. o Update the built-in dirservers list to use the new directory format
  9348. o Fix a rare seg fault: if a node offering a hidden service attempts
  9349. to build a circuit to Alice's rendezvous point and fails before it
  9350. reaches the last hop, it retries with a different circuit, but
  9351. then dies.
  9352. o Handle windows socket errors correctly.
  9353. Changes in version 0.0.6rc3 - 2004-04-28
  9354. o Don't expire non-general excess circuits (if we had enough
  9355. circuits open, we were expiring rendezvous circuits -- even
  9356. when they had a stream attached. oops.)
  9357. o Fetch randomness from /dev/urandom better (not via fopen/fread)
  9358. o Better debugging for tls errors
  9359. o Some versions of openssl have an SSL_pending function that erroneously
  9360. returns bytes when there is a non-application record pending.
  9361. o Set Content-Type on the directory and hidserv descriptor.
  9362. o Remove IVs from cipher code, since AES-ctr has none.
  9363. o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  9364. o We were using an array of length zero in a few places.
  9365. o win32's gethostbyname can't resolve an IP to an IP.
  9366. o win32's close can't close a socket.
  9367. Changes in version 0.0.6rc2 - 2004-04-26
  9368. o Fix a bug where we were closing tls connections intermittently.
  9369. It turns out openssl keeps its errors around -- so if an error
  9370. happens, and you don't ask about it, and then another openssl
  9371. operation happens and succeeds, and you ask if there was an error,
  9372. it tells you about the first error. Fun fun.
  9373. o Fix a bug that's been lurking since 27 may 03 (!)
  9374. When passing back a destroy cell, we would use the wrong circ id.
  9375. 'Mostly harmless', but still worth fixing.
  9376. o Since we don't support truncateds much, don't bother sending them;
  9377. just close the circ.
  9378. o check for <machine/limits.h> so we build on NetBSD again (I hope).
  9379. o don't crash if a conn that sent a begin has suddenly lost its circuit
  9380. (this was quite rare).
  9381. Changes in version 0.0.6rc1 - 2004-04-25
  9382. o We now rotate link (tls context) keys and onion keys.
  9383. o CREATE cells now include oaep padding, so you can tell
  9384. if you decrypted them correctly.
  9385. o Add bandwidthburst to server descriptor.
  9386. o Directories now say which dirserver signed them.
  9387. o Use a tor_assert macro that logs failed assertions too.
  9388. Changes in version 0.0.6pre5 - 2004-04-18
  9389. o changes from 0.0.6pre4:
  9390. - make tor build on broken freebsd 5.2 installs
  9391. - fix a failed assert when you try an intro point, get a nack, and try
  9392. a second one and it works.
  9393. - when alice uses a port that the hidden service doesn't accept,
  9394. it now sends back an end cell (denied by exit policy). otherwise
  9395. alice would just have to wait to time out.
  9396. - fix another rare bug: when we had tried all the intro
  9397. points for a hidden service, we fetched the descriptor
  9398. again, but we left our introcirc thinking it had already
  9399. sent an intro, so it kept waiting for a response...
  9400. - bugfix: when you sleep your hidden-service laptop, as soon
  9401. as it wakes up it tries to upload a service descriptor, but
  9402. socketpair fails for some reason (localhost not up yet?).
  9403. now we simply give up on that upload, and we'll try again later.
  9404. i'd still like to find the bug though.
  9405. - if an intro circ waiting for an ack dies before getting one, then
  9406. count it as a nack
  9407. - we were reusing stale service descriptors and refetching usable
  9408. ones. oops.
  9409. Changes in version 0.0.6pre4 - 2004-04-14
  9410. o changes from 0.0.6pre3:
  9411. - when bob fails to connect to the rendezvous point, and his
  9412. circ didn't fail because of the rendezvous point itself, then
  9413. he retries a couple of times
  9414. - we expire introduction and rendezvous circs more thoroughly
  9415. (sometimes they were hanging around forever)
  9416. - we expire unattached rendezvous streams that have been around
  9417. too long (they were sticking around forever).
  9418. - fix a measly fencepost error that was crashing everybody with
  9419. a strict glibc.
  9420. Changes in version 0.0.6pre3 - 2004-04-14
  9421. o changes from 0.0.6pre2:
  9422. - make hup work again
  9423. - fix some memory leaks for dirservers
  9424. - allow more skew in rendezvous descriptor timestamps, to help
  9425. handle people like blanu who don't know what time it is
  9426. - normal circs are 3 hops, but some rend/intro circs are 4, if
  9427. the initiator doesn't get to choose the last hop
  9428. - send acks for introductions, so alice can know whether to try
  9429. again
  9430. - bob publishes intro points more correctly
  9431. o changes from 0.0.5:
  9432. - fix an assert trigger that's been plaguing us since the days
  9433. of 0.0.2prexx (thanks weasel!)
  9434. - retry stream correctly when we fail to connect because of
  9435. exit-policy-reject (should try another) or can't-resolve-address
  9436. (also should try another, because dns on random internet servers
  9437. is flaky).
  9438. - when we hup a dirserver and we've *removed* a server from the
  9439. approved-routers list, now we remove that server from the
  9440. in-memory directories too
  9441. Changes in version 0.0.6pre2 - 2004-04-08
  9442. o We fixed our base32 implementation. Now it works on all architectures.
  9443. Changes in version 0.0.6pre1 - 2004-04-08
  9444. o Features:
  9445. - Hidden services and rendezvous points are implemented. Go to
  9446. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  9447. hidden services. (This only works via a socks4a proxy such as
  9448. Privoxy, and currently it's quite slow.)
  9449. Changes in version 0.0.5 - 2004-03-30
  9450. [version bump only]
  9451. Changes in version 0.0.5rc3 - 2004-03-29
  9452. o Install torrc as torrc.sample -- we no longer clobber your
  9453. torrc. (Woo!)
  9454. o Re-enable recommendedversion checking (we broke it in rc2, oops)
  9455. o Add in a 'notice' log level for things the operator should hear
  9456. but that aren't warnings
  9457. Changes in version 0.0.5rc2 - 2004-03-29
  9458. o Hold socks connection open until reply is flushed (if possible)
  9459. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  9460. the dns farm to do it.
  9461. o Fix c99 aliasing warnings in rephist.c
  9462. o Don't include server descriptors that are older than 24 hours in the
  9463. directory.
  9464. o Give socks 'reject' replies their whole 15s to attempt to flush,
  9465. rather than seeing the 60s timeout and assuming the flush had failed.
  9466. o Clean automake droppings from the cvs repository
  9467. Changes in version 0.0.5rc1 - 2004-03-28
  9468. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  9469. o Only build circuits after we've fetched the directory: clients were
  9470. using only the directory servers before they'd fetched a directory.
  9471. This also means longer startup time; so it goes.
  9472. o Fix an assert trigger where an OP would fail to handshake, and we'd
  9473. expect it to have a nickname.
  9474. o Work around a tsocks bug: do a socks reject when AP connection dies
  9475. early, else tsocks goes into an infinite loop.
  9476. Changes in version 0.0.4 - 2004-03-26
  9477. o When connecting to a dirserver or OR and the network is down,
  9478. we would crash.
  9479. Changes in version 0.0.3 - 2004-03-26
  9480. o Warn and fail if server chose a nickname with illegal characters
  9481. o Port to Solaris and Sparc:
  9482. - include missing header fcntl.h
  9483. - have autoconf find -lsocket -lnsl automatically
  9484. - deal with hardware word alignment
  9485. - make uname() work (solaris has a different return convention)
  9486. - switch from using signal() to sigaction()
  9487. o Preliminary work on reputation system:
  9488. - Keep statistics on success/fail of connect attempts; they're published
  9489. by kill -USR1 currently.
  9490. - Add a RunTesting option to try to learn link state by creating test
  9491. circuits, even when SocksPort is off.
  9492. - Remove unused open circuits when there are too many.
  9493. Changes in version 0.0.2 - 2004-03-19
  9494. - Include strlcpy and strlcat for safer string ops
  9495. - define INADDR_NONE so we compile (but still not run) on solaris
  9496. Changes in version 0.0.2pre27 - 2004-03-14
  9497. o Bugfixes:
  9498. - Allow internal tor networks (we were rejecting internal IPs,
  9499. now we allow them if they're set explicitly).
  9500. - And fix a few endian issues.
  9501. Changes in version 0.0.2pre26 - 2004-03-14
  9502. o New features:
  9503. - If a stream times out after 15s without a connected cell, don't
  9504. try that circuit again: try a new one.
  9505. - Retry streams at most 4 times. Then give up.
  9506. - When a dirserver gets a descriptor from an unknown router, it
  9507. logs its fingerprint (so the dirserver operator can choose to
  9508. accept it even without mail from the server operator).
  9509. - Inform unapproved servers when we reject their descriptors.
  9510. - Make tor build on Windows again. It works as a client, who knows
  9511. about as a server.
  9512. - Clearer instructions in the torrc for how to set up a server.
  9513. - Be more efficient about reading fd's when our global token bucket
  9514. (used for rate limiting) becomes empty.
  9515. o Bugfixes:
  9516. - Stop asserting that computers always go forward in time. It's
  9517. simply not true.
  9518. - When we sent a cell (e.g. destroy) and then marked an OR connection
  9519. expired, we might close it before finishing a flush if the other
  9520. side isn't reading right then.
  9521. - Don't allow dirservers to start if they haven't defined
  9522. RecommendedVersions
  9523. - We were caching transient dns failures. Oops.
  9524. - Prevent servers from publishing an internal IP as their address.
  9525. - Address a strcat vulnerability in circuit.c
  9526. Changes in version 0.0.2pre25 - 2004-03-04
  9527. o New features:
  9528. - Put the OR's IP in its router descriptor, not its fqdn. That way
  9529. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  9530. e.g. poblano.
  9531. o Bugfixes:
  9532. - If the user typed in an address that didn't resolve, the server
  9533. crashed.
  9534. Changes in version 0.0.2pre24 - 2004-03-03
  9535. o Bugfixes:
  9536. - Fix an assertion failure in dns.c, where we were trying to dequeue
  9537. a pending dns resolve even if it wasn't pending
  9538. - Fix a spurious socks5 warning about still trying to write after the
  9539. connection is finished.
  9540. - Hold certain marked_for_close connections open until they're finished
  9541. flushing, rather than losing bytes by closing them too early.
  9542. - Correctly report the reason for ending a stream
  9543. - Remove some duplicate calls to connection_mark_for_close
  9544. - Put switch_id and start_daemon earlier in the boot sequence, so it
  9545. will actually try to chdir() to options.DataDirectory
  9546. - Make 'make test' exit(1) if a test fails; fix some unit tests
  9547. - Make tor fail when you use a config option it doesn't know about,
  9548. rather than warn and continue.
  9549. - Make --version work
  9550. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  9551. Changes in version 0.0.2pre23 - 2004-02-29
  9552. o New features:
  9553. - Print a statement when the first circ is finished, so the user
  9554. knows it's working.
  9555. - If a relay cell is unrecognized at the end of the circuit,
  9556. send back a destroy. (So attacks to mutate cells are more
  9557. clearly thwarted.)
  9558. - New config option 'excludenodes' to avoid certain nodes for circuits.
  9559. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  9560. so you can collect coredumps there.
  9561. o Bugfixes:
  9562. - Fix a bug in tls flushing where sometimes data got wedged and
  9563. didn't flush until more data got sent. Hopefully this bug was
  9564. a big factor in the random delays we were seeing.
  9565. - Make 'connected' cells include the resolved IP, so the client
  9566. dns cache actually gets populated.
  9567. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  9568. - When we time-out on a stream and detach from the circuit, send an
  9569. end cell down it first.
  9570. - Only warn about an unknown router (in exitnodes, entrynodes,
  9571. excludenodes) after we've fetched a directory.
  9572. Changes in version 0.0.2pre22 - 2004-02-26
  9573. o New features:
  9574. - Servers publish less revealing uname information in descriptors.
  9575. - More memory tracking and assertions, to crash more usefully when
  9576. errors happen.
  9577. - If the default torrc isn't there, just use some default defaults.
  9578. Plus provide an internal dirservers file if they don't have one.
  9579. - When the user tries to use Tor as an http proxy, give them an http
  9580. 501 failure explaining that we're a socks proxy.
  9581. - Dump a new router.desc on hup, to help confused people who change
  9582. their exit policies and then wonder why router.desc doesn't reflect
  9583. it.
  9584. - Clean up the generic tor.sh init script that we ship with.
  9585. o Bugfixes:
  9586. - If the exit stream is pending on the resolve, and a destroy arrives,
  9587. then the stream wasn't getting removed from the pending list. I
  9588. think this was the one causing recent server crashes.
  9589. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  9590. - When it couldn't resolve any dirservers, it was useless from then on.
  9591. Now it reloads the RouterFile (or default dirservers) if it has no
  9592. dirservers.
  9593. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  9594. many users don't even *have* a /usr/local/sbin/.
  9595. Changes in version 0.0.2pre21 - 2004-02-18
  9596. o New features:
  9597. - There's a ChangeLog file that actually reflects the changelog.
  9598. - There's a 'torify' wrapper script, with an accompanying
  9599. tor-tsocks.conf, that simplifies the process of using tsocks for
  9600. tor. It even has a man page.
  9601. - The tor binary gets installed to sbin rather than bin now.
  9602. - Retry streams where the connected cell hasn't arrived in 15 seconds
  9603. - Clean up exit policy handling -- get the default out of the torrc,
  9604. so we can update it without forcing each server operator to fix
  9605. his/her torrc.
  9606. - Allow imaps and pop3s in default exit policy
  9607. o Bugfixes:
  9608. - Prevent picking middleman nodes as the last node in the circuit
  9609. Changes in version 0.0.2pre20 - 2004-01-30
  9610. o New features:
  9611. - We now have a deb package, and it's in debian unstable. Go to
  9612. it, apt-getters. :)
  9613. - I've split the TotalBandwidth option into BandwidthRate (how many
  9614. bytes per second you want to allow, long-term) and
  9615. BandwidthBurst (how many bytes you will allow at once before the cap
  9616. kicks in). This better token bucket approach lets you, say, set
  9617. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  9618. performance while not exceeding your monthly bandwidth quota.
  9619. - Push out a tls record's worth of data once you've got it, rather
  9620. than waiting until you've read everything waiting to be read. This
  9621. may improve performance by pipelining better. We'll see.
  9622. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  9623. from failed circuits (if they haven't been connected yet) and attach
  9624. to new ones.
  9625. - Expire old streams that haven't managed to connect. Some day we'll
  9626. have them reattach to new circuits instead.
  9627. o Bugfixes:
  9628. - Fix several memory leaks that were causing servers to become bloated
  9629. after a while.
  9630. - Fix a few very rare assert triggers. A few more remain.
  9631. - Setuid to User _before_ complaining about running as root.
  9632. Changes in version 0.0.2pre19 - 2004-01-07
  9633. o Bugfixes:
  9634. - Fix deadlock condition in dns farm. We were telling a child to die by
  9635. closing the parent's file descriptor to him. But newer children were
  9636. inheriting the open file descriptor from the parent, and since they
  9637. weren't closing it, the socket never closed, so the child never read
  9638. eof, so he never knew to exit. Similarly, dns workers were holding
  9639. open other sockets, leading to all sorts of chaos.
  9640. - New cleaner daemon() code for forking and backgrounding.
  9641. - If you log to a file, it now prints an entry at the top of the
  9642. logfile so you know it's working.
  9643. - The onionskin challenge length was 30 bytes longer than necessary.
  9644. - Started to patch up the spec so it's not quite so out of date.
  9645. Changes in version 0.0.2pre18 - 2004-01-02
  9646. o Bugfixes:
  9647. - Fix endian issues with the 'integrity' field in the relay header.
  9648. - Fix a potential bug where connections in state
  9649. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  9650. Changes in version 0.0.2pre17 - 2003-12-30
  9651. o Bugfixes:
  9652. - Made --debuglogfile (or any second log file, actually) work.
  9653. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  9654. adversary could force us into an infinite loop.
  9655. o Features:
  9656. - Each onionskin handshake now includes a hash of the computed key,
  9657. to prove the server's identity and help perfect forward secrecy.
  9658. - Changed cell size from 256 to 512 bytes (working toward compatibility
  9659. with MorphMix).
  9660. - Changed cell length to 2 bytes, and moved it to the relay header.
  9661. - Implemented end-to-end integrity checking for the payloads of
  9662. relay cells.
  9663. - Separated streamid from 'recognized' (otherwise circuits will get
  9664. messed up when we try to have streams exit from the middle). We
  9665. use the integrity-checking to confirm that a cell is addressed to
  9666. this hop.
  9667. - Randomize the initial circid and streamid values, so an adversary who
  9668. breaks into a node can't learn how many circuits or streams have
  9669. been made so far.
  9670. Changes in version 0.0.2pre16 - 2003-12-14
  9671. o Bugfixes:
  9672. - Fixed a bug that made HUP trigger an assert
  9673. - Fixed a bug where a circuit that immediately failed wasn't being
  9674. counted as a failed circuit in counting retries.
  9675. o Features:
  9676. - Now we close the circuit when we get a truncated cell: otherwise we're
  9677. open to an anonymity attack where a bad node in the path truncates
  9678. the circuit and then we open streams at him.
  9679. - Add port ranges to exit policies
  9680. - Add a conservative default exit policy
  9681. - Warn if you're running tor as root
  9682. - on HUP, retry OR connections and close/rebind listeners
  9683. - options.EntryNodes: try these nodes first when picking the first node
  9684. - options.ExitNodes: if your best choices happen to include any of
  9685. your preferred exit nodes, you choose among just those preferred
  9686. exit nodes.
  9687. - options.ExcludedNodes: nodes that are never picked in path building
  9688. Changes in version 0.0.2pre15 - 2003-12-03
  9689. o Robustness and bugfixes:
  9690. - Sometimes clients would cache incorrect DNS resolves, which would
  9691. really screw things up.
  9692. - An OP that goes offline would slowly leak all its sockets and stop
  9693. working.
  9694. - A wide variety of bugfixes in exit node selection, exit policy
  9695. handling, and processing pending streams when a new circuit is
  9696. established.
  9697. - Pick nodes for a path only from those the directory says are up
  9698. - Choose randomly from all running dirservers, not always the first one
  9699. - Increase allowed http header size for directory fetch.
  9700. - Stop writing to stderr (if we're daemonized it will be closed).
  9701. - Enable -g always, so cores will be more useful to me.
  9702. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  9703. o Documentation:
  9704. - Wrote a man page. It lists commonly used options.
  9705. o Configuration:
  9706. - Change default loglevel to warn.
  9707. - Make PidFile default to null rather than littering in your CWD.
  9708. - OnionRouter config option is now obsolete. Instead it just checks
  9709. ORPort>0.
  9710. - Moved to a single unified torrc file for both clients and servers.
  9711. Changes in version 0.0.2pre14 - 2003-11-29
  9712. o Robustness and bugfixes:
  9713. - Force the admin to make the DataDirectory himself
  9714. - to get ownership/permissions right
  9715. - so clients no longer make a DataDirectory and then never use it
  9716. - fix bug where a client who was offline for 45 minutes would never
  9717. pull down a directory again
  9718. - fix (or at least hide really well) the dns assert bug that was
  9719. causing server crashes
  9720. - warnings and improved robustness wrt clockskew for certs
  9721. - use the native daemon(3) to daemonize, when available
  9722. - exit if bind() fails
  9723. - exit if neither socksport nor orport is defined
  9724. - include our own tor_timegm (Win32 doesn't have its own)
  9725. - bugfix for win32 with lots of connections
  9726. - fix minor bias in PRNG
  9727. - make dirserver more robust to corrupt cached directory
  9728. o Documentation:
  9729. - Wrote the design document (woo)
  9730. o Circuit building and exit policies:
  9731. - Circuits no longer try to use nodes that the directory has told them
  9732. are down.
  9733. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  9734. bitcounts (18.0.0.0/8).
  9735. - Make AP connections standby for a circuit if no suitable circuit
  9736. exists, rather than failing
  9737. - Circuits choose exit node based on addr/port, exit policies, and
  9738. which AP connections are standing by
  9739. - Bump min pathlen from 2 to 3
  9740. - Relay end cells have a payload to describe why the stream ended.
  9741. - If the stream failed because of exit policy, try again with a new
  9742. circuit.
  9743. - Clients have a dns cache to remember resolved addresses.
  9744. - Notice more quickly when we have no working circuits
  9745. o Configuration:
  9746. - APPort is now called SocksPort
  9747. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  9748. where to bind
  9749. - RecommendedVersions is now a config variable rather than
  9750. hardcoded (for dirservers)
  9751. - Reloads config on HUP
  9752. - Usage info on -h or --help
  9753. - If you set User and Group config vars, it'll setu/gid to them.
  9754. Changes in version 0.0.2pre13 - 2003-10-19
  9755. o General stability:
  9756. - SSL_write no longer fails when it returns WANTWRITE and the number
  9757. of bytes in the buf has changed by the next SSL_write call.
  9758. - Fix segfault fetching directory when network is down
  9759. - Fix a variety of minor memory leaks
  9760. - Dirservers reload the fingerprints file on HUP, so I don't have
  9761. to take down the network when I approve a new router
  9762. - Default server config file has explicit Address line to specify fqdn
  9763. o Buffers:
  9764. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  9765. - Make listener connections not ever alloc bufs
  9766. o Autoconf improvements:
  9767. - don't clobber an external CFLAGS in ./configure
  9768. - Make install now works
  9769. - create var/lib/tor on make install
  9770. - autocreate a tor.sh initscript to help distribs
  9771. - autocreate the torrc and sample-server-torrc with correct paths
  9772. o Log files and Daemonizing now work:
  9773. - If --DebugLogFile is specified, log to it at -l debug
  9774. - If --LogFile is specified, use it instead of commandline
  9775. - If --RunAsDaemon is set, tor forks and backgrounds on startup