ChangeLog 844 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269
  1. Changes in version 0.2.5.3-alpha - 2014-03-22
  2. Tor 0.2.5.3-alpha includes all the fixes from 0.2.4.21. It contains
  3. two new anti-DoS features for Tor relays, resolves a bug that kept
  4. SOCKS5 support for IPv6 from working, fixes several annoying usability
  5. issues for bridge users, and removes more old code for unused
  6. directory formats.
  7. The Tor 0.2.5.x release series is now in patch-freeze: no feature
  8. patches not already written will be considered for inclusion in 0.2.5.x.
  9. o Major features (relay security, DoS-resistance):
  10. - When deciding whether we have run out of memory and we need to
  11. close circuits, also consider memory allocated in buffers for
  12. streams attached to each circuit.
  13. This change, which extends an anti-DoS feature introduced in
  14. 0.2.4.13-alpha and improved in 0.2.4.14-alpha, lets Tor exit relays
  15. better resist more memory-based DoS attacks than before. Since the
  16. MaxMemInCellQueues option now applies to all queues, it is renamed
  17. to MaxMemInQueues. This feature fixes bug 10169.
  18. - Avoid hash-flooding denial-of-service attacks by using the secure
  19. SipHash-2-4 hash function for our hashtables. Without this
  20. feature, an attacker could degrade performance of a targeted
  21. client or server by flooding their data structures with a large
  22. number of entries to be stored at the same hash table position,
  23. thereby slowing down the Tor instance. With this feature, hash
  24. table positions are derived from a randomized cryptographic key,
  25. and an attacker cannot predict which entries will collide. Closes
  26. ticket 4900.
  27. - Decrease the lower limit of MaxMemInQueues to 256 MBytes (but leave
  28. the default at 8GBytes), to better support Raspberry Pi users. Fixes
  29. bug 9686; bugfix on 0.2.4.14-alpha.
  30. o Minor features (bridges, pluggable transports):
  31. - Bridges now write the SHA1 digest of their identity key
  32. fingerprint (that is, a hash of a hash of their public key) to
  33. notice-level logs, and to a new hashed-fingerprint file. This
  34. information will help bridge operators look up their bridge in
  35. Globe and similar tools. Resolves ticket 10884.
  36. - Improve the message that Tor displays when running as a bridge
  37. using pluggable transports without an Extended ORPort listener.
  38. Also, log the message in the log file too. Resolves ticket 11043.
  39. o Minor features (other):
  40. - Add a new option, PredictedPortsRelevanceTime, to control how long
  41. after having received a request to connect to a given port Tor
  42. will try to keep circuits ready in anticipation of future requests
  43. for that port. Patch from "unixninja92"; implements ticket 9176.
  44. - Generate a warning if any ports are listed in the SocksPolicy,
  45. DirPolicy, AuthDirReject, AuthDirInvalid, AuthDirBadDir, or
  46. AuthDirBadExit options. (These options only support address
  47. ranges.) Fixes part of ticket 11108.
  48. - Update geoip and geoip6 to the February 7 2014 Maxmind GeoLite2
  49. Country database.
  50. o Minor bugfixes (new since 0.2.5.2-alpha, also in 0.2.4.21):
  51. - Build without warnings under clang 3.4. (We have some macros that
  52. define static functions only some of which will get used later in
  53. the module. Starting with clang 3.4, these give a warning unless the
  54. unused attribute is set on them.) Resolves ticket 10904.
  55. - Fix build warnings about missing "a2x" comment when building the
  56. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  57. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  58. o Minor bugfixes (client):
  59. - Improve the log message when we can't connect to a hidden service
  60. because all of the hidden service directory nodes hosting its
  61. descriptor are excluded. Improves on our fix for bug 10722, which
  62. was a bugfix on 0.2.0.10-alpha.
  63. - Raise a control port warning when we fail to connect to all of
  64. our bridges. Previously, we didn't inform the controller, and
  65. the bootstrap process would stall. Fixes bug 11069; bugfix on
  66. 0.2.1.2-alpha.
  67. - Exit immediately when a process-owning controller exits.
  68. Previously, tor relays would wait for a little while after their
  69. controller exited, as if they had gotten an INT signal -- but this
  70. was problematic, since there was no feedback for the user. To do a
  71. clean shutdown, controllers should send an INT signal and give Tor
  72. a chance to clean up. Fixes bug 10449; bugfix on 0.2.2.28-beta.
  73. - Stop attempting to connect to bridges before our pluggable
  74. transports are configured (harmless but resulted in some erroneous
  75. log messages). Fixes bug 11156; bugfix on 0.2.3.2-alpha.
  76. - Fix connections to IPv6 addresses over SOCKS5. Previously, we were
  77. generating incorrect SOCKS5 responses, and confusing client
  78. applications. Fixes bug 10987; bugfix on 0.2.4.7-alpha.
  79. o Minor bugfixes (relays and bridges):
  80. - Avoid crashing on a malformed resolv.conf file when running a
  81. relay using Libevent 1. Fixes bug 8788; bugfix on 0.1.1.23.
  82. - Non-exit relays no longer launch mock DNS requests to check for
  83. DNS hijacking. This has been unnecessary since 0.2.1.7-alpha, when
  84. non-exit relays stopped servicing DNS requests. Fixes bug 965;
  85. bugfix on 0.2.1.7-alpha. Patch from Matt Pagan.
  86. - Bridges now report complete directory request statistics. Related
  87. to bug 5824; bugfix on 0.2.2.1-alpha.
  88. - Bridges now never collect statistics that were designed for
  89. relays. Fixes bug 5824; bugfix on 0.2.3.8-alpha.
  90. - Stop giving annoying warning messages when we decide not to launch
  91. a pluggable transport proxy that we don't need (because there are
  92. no bridges configured to use it). Resolves ticket 5018; bugfix
  93. on 0.2.5.2-alpha.
  94. - Give the correct URL in the warning message when trying to run a
  95. relay on an ancient version of Windows. Fixes bug 9393.
  96. o Minor bugfixes (backtrace support):
  97. - Support automatic backtraces on more platforms by using the
  98. "-fasynchronous-unwind-tables" compiler option. This option is
  99. needed for platforms like 32-bit Intel where "-fomit-frame-pointer"
  100. is on by default and table generation is not. This doesn't yet
  101. add Windows support; only Linux, OSX, and some BSDs are affected.
  102. Reported by 'cypherpunks'; fixes bug 11047; bugfix on 0.2.5.2-alpha.
  103. - Avoid strange behavior if two threads hit failed assertions at the
  104. same time and both try to log backtraces at once. (Previously, if
  105. this had happened, both threads would have stored their intermediate
  106. results in the same buffer, and generated junk outputs.) Reported by
  107. "cypherpunks". Fixes bug 11048; bugfix on 0.2.5.2-alpha.
  108. - Fix a compiler warning in format_number_sigsafe(). Bugfix on
  109. 0.2.5.2-alpha; patch from Nick Hopper.
  110. o Minor bugfixes (unit tests):
  111. - Fix a small bug in the unit tests that might have made the tests
  112. call 'chmod' with an uninitialized bitmask. Fixes bug 10928;
  113. bugfix on 0.2.5.1-alpha. Patch from Dana Koch.
  114. o Removed code:
  115. - Remove all remaining code related to version-0 hidden service
  116. descriptors: they have not been in use since 0.2.2.1-alpha. Fixes
  117. the rest of bug 10841.
  118. o Documentation:
  119. - Document in the manpage that "KBytes" may also be written as
  120. "kilobytes" or "KB", that "Kbits" may also be written as
  121. "kilobits", and so forth. Closes ticket 9222.
  122. - Document that the ClientOnly config option overrides ORPort.
  123. Our old explanation made ClientOnly sound as though it did
  124. nothing at all. Resolves bug 9059.
  125. - Explain that SocksPolicy, DirPolicy, and similar options don't
  126. take port arguments. Fixes the other part of ticket 11108.
  127. - Fix a comment about the rend_server_descriptor_t.protocols field
  128. to more accurately describe its range. Also, make that field
  129. unsigned, to more accurately reflect its usage. Fixes bug 9099;
  130. bugfix on 0.2.1.5-alpha.
  131. - Fix the manpage's description of HiddenServiceAuthorizeClient:
  132. the maximum client name length is 16, not 19. Fixes bug 11118;
  133. bugfix on 0.2.1.6-alpha.
  134. o Code simplifications and refactoring:
  135. - Get rid of router->address, since in all cases it was just the
  136. string representation of router->addr. Resolves ticket 5528.
  137. o Test infrastructure:
  138. - Update to the latest version of tinytest.
  139. - Improve the tinytest implementation of string operation tests so
  140. that comparisons with NULL strings no longer crash the tests; they
  141. now just fail, normally. Fixes bug 9004; bugfix on 0.2.2.4-alpha.
  142. Changes in version 0.2.4.21 - 2014-02-28
  143. Tor 0.2.4.21 further improves security against potential adversaries who
  144. find breaking 1024-bit crypto doable, and backports several stability
  145. and robustness patches from the 0.2.5 branch.
  146. o Major features (client security):
  147. - When we choose a path for a 3-hop circuit, make sure it contains
  148. at least one relay that supports the NTor circuit extension
  149. handshake. Otherwise, there is a chance that we're building
  150. a circuit that's worth attacking by an adversary who finds
  151. breaking 1024-bit crypto doable, and that chance changes the game
  152. theory. Implements ticket 9777.
  153. o Major bugfixes:
  154. - Do not treat streams that fail with reason
  155. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  156. since it could also indicate an ENETUNREACH connection error. Fixes
  157. part of bug 10777; bugfix on 0.2.4.8-alpha.
  158. o Code simplification and refactoring:
  159. - Remove data structures which were introduced to implement the
  160. CellStatistics option: they are now redundant with the new timestamp
  161. field in the regular packed_cell_t data structure, which we did
  162. in 0.2.4.18-rc in order to resolve bug 9093. Resolves ticket 10870.
  163. o Minor features:
  164. - Always clear OpenSSL bignums before freeing them -- even bignums
  165. that don't contain secrets. Resolves ticket 10793. Patch by
  166. Florent Daigniere.
  167. - Build without warnings under clang 3.4. (We have some macros that
  168. define static functions only some of which will get used later in
  169. the module. Starting with clang 3.4, these give a warning unless the
  170. unused attribute is set on them.) Resolves ticket 10904.
  171. - Update geoip and geoip6 files to the February 7 2014 Maxmind
  172. GeoLite2 Country database.
  173. o Minor bugfixes:
  174. - Set the listen() backlog limit to the largest actually supported
  175. on the system, not to the value in a header file. Fixes bug 9716;
  176. bugfix on every released Tor.
  177. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  178. exit node as a NOROUTE error, not an INTERNAL error, since they
  179. can apparently happen when trying to connect to the wrong sort
  180. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  181. - Fix build warnings about missing "a2x" comment when building the
  182. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  183. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  184. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  185. not entirely remove it from the connection lists. Fixes bug 9602;
  186. bugfix on 0.2.4.4-alpha.
  187. - Fix a segmentation fault in our benchmark code when running with
  188. Fedora's OpenSSL package, or any other OpenSSL that provides
  189. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  190. - Turn "circuit handshake stats since last time" log messages into a
  191. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  192. o Documentation fixes:
  193. - Document that all but one DirPort entry must have the NoAdvertise
  194. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  195. Changes in version 0.2.5.2-alpha - 2014-02-13
  196. Tor 0.2.5.2-alpha includes all the fixes from 0.2.4.18-rc and 0.2.4.20,
  197. like the "poor random number generation" fix and the "building too many
  198. circuits" fix. It also further improves security against potential
  199. adversaries who find breaking 1024-bit crypto doable, and launches
  200. pluggable transports on demand (which gets us closer to integrating
  201. pluggable transport support by default -- not to be confused with Tor
  202. bundles enabling pluggable transports and bridges by default).
  203. o Major features (client security):
  204. - When we choose a path for a 3-hop circuit, make sure it contains
  205. at least one relay that supports the NTor circuit extension
  206. handshake. Otherwise, there is a chance that we're building
  207. a circuit that's worth attacking by an adversary who finds
  208. breaking 1024-bit crypto doable, and that chance changes the game
  209. theory. Implements ticket 9777.
  210. - Clients now look at the "usecreatefast" consensus parameter to
  211. decide whether to use CREATE_FAST or CREATE cells for the first hop
  212. of their circuit. This approach can improve security on connections
  213. where Tor's circuit handshake is stronger than the available TLS
  214. connection security levels, but the tradeoff is more computational
  215. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  216. o Major features (bridges):
  217. - Don't launch pluggable transport proxies if we don't have any
  218. bridges configured that would use them. Now we can list many
  219. pluggable transports, and Tor will dynamically start one when it
  220. hears a bridge address that needs it. Resolves ticket 5018.
  221. - The bridge directory authority now assigns status flags (Stable,
  222. Guard, etc) to bridges based on thresholds calculated over all
  223. Running bridges. Now bridgedb can finally make use of its features
  224. to e.g. include at least one Stable bridge in its answers. Fixes
  225. bug 9859.
  226. o Major features (other):
  227. - Extend ORCONN controller event to include an "ID" parameter,
  228. and add four new controller event types CONN_BW, CIRC_BW,
  229. CELL_STATS, and TB_EMPTY that show connection and circuit usage.
  230. The new events are emitted in private Tor networks only, with the
  231. goal of being able to better track performance and load during
  232. full-network simulations. Implements proposal 218 and ticket 7359.
  233. - On some platforms (currently: recent OSX versions, glibc-based
  234. platforms that support the ELF format, and a few other
  235. Unix-like operating systems), Tor can now dump stack traces
  236. when a crash occurs or an assertion fails. By default, traces
  237. are dumped to stderr (if possible) and to any logs that are
  238. reporting errors. Implements ticket 9299.
  239. o Major bugfixes:
  240. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  241. not entirely remove it from the connection lists. Fixes bug 9602;
  242. bugfix on 0.2.4.4-alpha.
  243. - Do not treat streams that fail with reason
  244. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  245. since it could also indicate an ENETUNREACH connection error. Fixes
  246. part of bug 10777; bugfix on 0.2.4.8-alpha.
  247. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  248. - Do not allow OpenSSL engines to replace the PRNG, even when
  249. HardwareAccel is set. The only default builtin PRNG engine uses
  250. the Intel RDRAND instruction to replace the entire PRNG, and
  251. ignores all attempts to seed it with more entropy. That's
  252. cryptographically stupid: the right response to a new alleged
  253. entropy source is never to discard all previously used entropy
  254. sources. Fixes bug 10402; works around behavior introduced in
  255. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  256. and "rl1987".
  257. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  258. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  259. - Avoid launching spurious extra circuits when a stream is pending.
  260. This fixes a bug where any circuit that _wasn't_ unusable for new
  261. streams would be treated as if it were, causing extra circuits to
  262. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  263. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  264. - No longer stop reading or writing on cpuworker connections when
  265. our rate limiting buckets go empty. Now we should handle circuit
  266. handshake requests more promptly. Resolves bug 9731.
  267. - Stop trying to bootstrap all our directory information from
  268. only our first guard. Discovered while fixing bug 9946; bugfix
  269. on 0.2.4.8-alpha.
  270. o Minor features (bridges, pluggable transports):
  271. - Add threshold cutoffs to the networkstatus document created by
  272. the Bridge Authority. Fixes bug 1117.
  273. - On Windows, spawn background processes using the CREATE_NO_WINDOW
  274. flag. Now Tor Browser Bundle 3.5 with pluggable transports enabled
  275. doesn't pop up a blank console window. (In Tor Browser Bundle 2.x,
  276. Vidalia set this option for us.) Implements ticket 10297.
  277. o Minor features (security):
  278. - Always clear OpenSSL bignums before freeing them -- even bignums
  279. that don't contain secrets. Resolves ticket 10793. Patch by
  280. Florent Daignière.
  281. o Minor features (config options and command line):
  282. - Add an --allow-missing-torrc commandline option that tells Tor to
  283. run even if the configuration file specified by -f is not available.
  284. Implements ticket 10060.
  285. - Add support for the TPROXY transparent proxying facility on Linux.
  286. See documentation for the new TransProxyType option for more
  287. details. Implementation by "thomo". Closes ticket 10582.
  288. o Minor features (controller):
  289. - Add a new "HS_DESC" controller event that reports activities
  290. related to hidden service descriptors. Resolves ticket 8510.
  291. - New "DROPGUARDS" controller command to forget all current entry
  292. guards. Not recommended for ordinary use, since replacing guards
  293. too frequently makes several attacks easier. Resolves ticket 9934;
  294. patch from "ra".
  295. o Minor features (build):
  296. - Assume that a user using ./configure --host wants to cross-compile,
  297. and give an error if we cannot find a properly named
  298. tool-chain. Add a --disable-tool-name-check option to proceed
  299. nevertheless. Addresses ticket 9869. Patch by Benedikt Gollatz.
  300. - If we run ./configure and the compiler recognizes -fstack-protector
  301. but the linker rejects it, warn the user about a potentially missing
  302. libssp package. Addresses ticket 9948. Patch from Benedikt Gollatz.
  303. o Minor features (testing):
  304. - If Python is installed, "make check" now runs extra tests beyond
  305. the unit test scripts.
  306. - When bootstrapping a test network, sometimes very few relays get
  307. the Guard flag. Now a new option "TestingDirAuthVoteGuard" can
  308. specify a set of relays which should be voted Guard regardless of
  309. their uptime or bandwidth. Addresses ticket 9206.
  310. o Minor features (log messages):
  311. - When ServerTransportPlugin is set on a bridge, Tor can write more
  312. useful statistics about bridge use in its extrainfo descriptors,
  313. but only if the Extended ORPort ("ExtORPort") is set too. Add a
  314. log message to inform the user in this case. Resolves ticket 9651.
  315. - When receiving a new controller connection, log the origin address.
  316. Resolves ticket 9698; patch from "sigpipe".
  317. - When logging OpenSSL engine status at startup, log the status of
  318. more engines. Fixes ticket 10043; patch from Joshua Datko.
  319. - Turn "circuit handshake stats since last time" log messages into a
  320. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  321. o Minor features (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  322. - Improve the circuit queue out-of-memory handler. Previously, when
  323. we ran low on memory, we'd close whichever circuits had the most
  324. queued cells. Now, we close those that have the *oldest* queued
  325. cells, on the theory that those are most responsible for us
  326. running low on memory. Based on analysis from a forthcoming paper
  327. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  328. - Generate bootstrapping status update events correctly when fetching
  329. microdescriptors. Fixes bug 9927.
  330. - Update to the October 2 2013 Maxmind GeoLite Country database.
  331. o Minor bugfixes (clients):
  332. - When closing a channel that has already been open, do not close
  333. pending circuits that were waiting to connect to the same relay.
  334. Fixes bug 9880; bugfix on 0.2.5.1-alpha. Thanks to skruffy for
  335. finding this bug.
  336. o Minor bugfixes (relays):
  337. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  338. exit node as a NOROUTE error, not an INTERNAL error, since they
  339. can apparently happen when trying to connect to the wrong sort
  340. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  341. o Minor bugfixes (bridges):
  342. - Fix a bug where the first connection works to a bridge that uses a
  343. pluggable transport with client-side parameters, but we don't send
  344. the client-side parameters on subsequent connections. (We don't
  345. use any pluggable transports with client-side parameters yet,
  346. but ScrambleSuit will soon become the first one.) Fixes bug 9162;
  347. bugfix on 0.2.0.3-alpha. Based on a patch from "rl1987".
  348. o Minor bugfixes (node selection):
  349. - If ExcludeNodes is set, consider non-excluded hidden service
  350. directory servers before excluded ones. Do not consider excluded
  351. hidden service directory servers at all if StrictNodes is
  352. set. (Previously, we would sometimes decide to connect to those
  353. servers, and then realize before we initiated a connection that
  354. we had excluded them.) Fixes bug 10722; bugfix on 0.2.0.10-alpha.
  355. Reported by "mr-4".
  356. - If we set the ExitNodes option but it doesn't include any nodes
  357. that have the Exit flag, we would choose not to bootstrap. Now we
  358. bootstrap so long as ExitNodes includes nodes which can exit to
  359. some port. Fixes bug 10543; bugfix on 0.2.4.10-alpha.
  360. o Minor bugfixes (controller and command-line):
  361. - If changing a config option via "setconf" fails in a recoverable
  362. way, we used to nonetheless write our new control ports to the
  363. file described by the "ControlPortWriteToFile" option. Now we only
  364. write out that file if we successfully switch to the new config
  365. option. Fixes bug 5605; bugfix on 0.2.2.26-beta. Patch from "Ryman".
  366. - When a command-line option such as --version or --help that
  367. ordinarily implies --hush appears on the command line along with
  368. --quiet, then actually obey --quiet. Previously, we obeyed --quiet
  369. only if it appeared later on the command line. Fixes bug 9578;
  370. bugfix on 0.2.5.1-alpha.
  371. o Minor bugfixes (code correctness):
  372. - Previously we used two temporary files when writing descriptors to
  373. disk; now we only use one. Fixes bug 1376.
  374. - Remove an erroneous (but impossible and thus harmless) pointer
  375. comparison that would have allowed compilers to skip a bounds
  376. check in channeltls.c. Fixes bugs 10313 and 9980; bugfix on
  377. 0.2.0.10-alpha. Noticed by Jared L Wong and David Fifield.
  378. - Fix an always-true assertion in pluggable transports code so it
  379. actually checks what it was trying to check. Fixes bug 10046;
  380. bugfix on 0.2.3.9-alpha. Found by "dcb".
  381. o Minor bugfixes (protocol correctness):
  382. - When receiving a VERSIONS cell with an odd number of bytes, close
  383. the connection immediately since the cell is malformed. Fixes bug
  384. 10365; bugfix on 0.2.0.10-alpha. Spotted by "bobnomnom"; fix by
  385. "rl1987".
  386. o Minor bugfixes (build):
  387. - Restore the ability to compile Tor with V2_HANDSHAKE_SERVER
  388. turned off (that is, without support for v2 link handshakes). Fixes
  389. bug 4677; bugfix on 0.2.3.2-alpha. Patch from "piet".
  390. - Fix compilation warnings and startup issues when running with
  391. "Sandbox 1" and libseccomp-2.1.0. Fixes bug 10563; bugfix on
  392. 0.2.5.1-alpha.
  393. - Fix compilation on Solaris 9, which didn't like us having an
  394. identifier named "sun". Fixes bug 10565; bugfix in 0.2.5.1-alpha.
  395. o Minor bugfixes (testing):
  396. - Fix a segmentation fault in our benchmark code when running with
  397. Fedora's OpenSSL package, or any other OpenSSL that provides
  398. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  399. o Minor bugfixes (log messages):
  400. - Fix a bug where clients using bridges would report themselves
  401. as 50% bootstrapped even without a live consensus document.
  402. Fixes bug 9922; bugfix on 0.2.1.1-alpha.
  403. - Suppress a warning where, if there's only one directory authority
  404. in the network, we would complain that votes and signatures cannot
  405. be uploaded to other directory authorities. Fixes bug 10842;
  406. bugfix on 0.2.2.26-beta.
  407. - Report bootstrapping progress correctly when we're downloading
  408. microdescriptors. We had updated our "do we have enough microdescs
  409. to begin building circuits?" logic most recently in 0.2.4.10-alpha
  410. (see bug 5956), but we left the bootstrap status event logic at
  411. "how far through getting 1/4 of them are we?" Fixes bug 9958;
  412. bugfix on 0.2.2.36, which is where they diverged (see bug 5343).
  413. o Minor bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  414. - Avoid a crash bug when starting with a corrupted microdescriptor
  415. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  416. - If we fail to dump a previously cached microdescriptor to disk, avoid
  417. freeing duplicate data later on. Fixes bug 10423; bugfix on
  418. 0.2.4.13-alpha. Spotted by "bobnomnom".
  419. o Minor bugfixes on 0.2.4.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  420. - Correctly log long IPv6 exit policies, instead of truncating them
  421. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  422. - Our default TLS ecdhe groups were backwards: we meant to be using
  423. P224 for relays (for performance win) and P256 for bridges (since
  424. it is more common in the wild). Instead we had it backwards. After
  425. reconsideration, we decided that the default should be P256 on all
  426. hosts, since its security is probably better, and since P224 is
  427. reportedly used quite little in the wild. Found by "skruffy" on
  428. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  429. - Free directory authority certificate download statuses on exit
  430. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  431. o Minor bugfixes on 0.2.3.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  432. - If the guard we choose first doesn't answer, we would try the
  433. second guard, but once we connected to the second guard we would
  434. abandon it and retry the first one, slowing down bootstrapping.
  435. The fix is to treat all our initially chosen guards as acceptable
  436. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  437. - Fix an assertion failure that would occur when disabling the
  438. ORPort setting on a running Tor process while accounting was
  439. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  440. - When examining the list of network interfaces to find our address,
  441. do not consider non-running or disabled network interfaces. Fixes
  442. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  443. - Avoid an off-by-one error when checking buffer boundaries when
  444. formatting the exit status of a pluggable transport helper.
  445. This is probably not an exploitable bug, but better safe than
  446. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  447. Pedro Ribeiro.
  448. o Removed code and features:
  449. - Clients now reject any directory authority certificates lacking
  450. a dir-key-crosscert element. These have been included since
  451. 0.2.1.9-alpha, so there's no real reason for them to be optional
  452. any longer. Completes proposal 157. Resolves ticket 10162.
  453. - Remove all code that existed to support the v2 directory system,
  454. since there are no longer any v2 directory authorities. Resolves
  455. ticket 10758.
  456. - Remove the HSAuthoritativeDir and AlternateHSAuthority torrc
  457. options, which were used for designating authorities as "Hidden
  458. service authorities". There has been no use of hidden service
  459. authorities since 0.2.2.1-alpha, when we stopped uploading or
  460. downloading v0 hidden service descriptors. Fixes bug 10881; also
  461. part of a fix for bug 10841.
  462. o Code simplification and refactoring:
  463. - Remove some old fallback code designed to keep Tor clients working
  464. in a network with only two working relays. Elsewhere in the code we
  465. have long since stopped supporting such networks, so there wasn't
  466. much point in keeping it around. Addresses ticket 9926.
  467. - Reject 0-length EXTEND2 cells more explicitly. Fixes bug 10536;
  468. bugfix on 0.2.4.8-alpha. Reported by "cypherpunks".
  469. - Remove data structures which were introduced to implement the
  470. CellStatistics option: they are now redundant with the addition
  471. of a timestamp to the regular packed_cell_t data structure, which
  472. we did in 0.2.4.18-rc in order to resolve ticket 9093. Implements
  473. ticket 10870.
  474. o Documentation (man page) fixes:
  475. - Update manpage to describe some of the files you can expect to
  476. find in Tor's DataDirectory. Addresses ticket 9839.
  477. - Document that all but one DirPort entry must have the NoAdvertise
  478. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  479. o Documentation fixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  480. - Clarify the usage and risks of setting the ContactInfo torrc line
  481. for your relay or bridge. Resolves ticket 9854.
  482. - Add anchors to the manpage so we can link to the html version of
  483. the documentation for specific options. Resolves ticket 9866.
  484. - Replace remaining references to DirServer in man page and
  485. log entries. Resolves ticket 10124.
  486. o Tool changes:
  487. - Make the "tor-gencert" tool used by directory authority operators
  488. create 2048-bit signing keys by default (rather than 1024-bit, since
  489. 1024-bit is uncomfortably small these days). Addresses ticket 10324.
  490. Changes in version 0.2.4.20 - 2013-12-22
  491. Tor 0.2.4.20 fixes potentially poor random number generation for users
  492. who 1) use OpenSSL 1.0.0 or later, 2) set "HardwareAccel 1" in their
  493. torrc file, 3) have "Sandy Bridge" or "Ivy Bridge" Intel processors,
  494. and 4) have no state file in their DataDirectory (as would happen on
  495. first start). Users who generated relay or hidden service identity
  496. keys in such a situation should discard them and generate new ones.
  497. This release also fixes a logic error that caused Tor clients to build
  498. many more preemptive circuits than they actually need.
  499. o Major bugfixes:
  500. - Do not allow OpenSSL engines to replace the PRNG, even when
  501. HardwareAccel is set. The only default builtin PRNG engine uses
  502. the Intel RDRAND instruction to replace the entire PRNG, and
  503. ignores all attempts to seed it with more entropy. That's
  504. cryptographically stupid: the right response to a new alleged
  505. entropy source is never to discard all previously used entropy
  506. sources. Fixes bug 10402; works around behavior introduced in
  507. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  508. and "rl1987".
  509. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  510. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  511. - Avoid launching spurious extra circuits when a stream is pending.
  512. This fixes a bug where any circuit that _wasn't_ unusable for new
  513. streams would be treated as if it were, causing extra circuits to
  514. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  515. o Minor bugfixes:
  516. - Avoid a crash bug when starting with a corrupted microdescriptor
  517. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  518. - If we fail to dump a previously cached microdescriptor to disk, avoid
  519. freeing duplicate data later on. Fixes bug 10423; bugfix on
  520. 0.2.4.13-alpha. Spotted by "bobnomnom".
  521. Changes in version 0.2.4.19 - 2013-12-11
  522. The Tor 0.2.4 release series is dedicated to the memory of Aaron Swartz
  523. (1986-2013). Aaron worked on diverse projects including helping to guide
  524. Creative Commons, playing a key role in stopping SOPA/PIPA, bringing
  525. transparency to the U.S government's PACER documents, and contributing
  526. design and development for Tor and Tor2Web. Aaron was one of the latest
  527. martyrs in our collective fight for civil liberties and human rights,
  528. and his death is all the more painful because he was one of us.
  529. Tor 0.2.4.19, the first stable release in the 0.2.4 branch, features
  530. a new circuit handshake and link encryption that use ECC to provide
  531. better security and efficiency; makes relays better manage circuit
  532. creation requests; uses "directory guards" to reduce client enumeration
  533. risks; makes bridges collect and report statistics about the pluggable
  534. transports they support; cleans up and improves our geoip database;
  535. gets much closer to IPv6 support for clients, bridges, and relays; makes
  536. directory authorities use measured bandwidths rather than advertised
  537. ones when computing flags and thresholds; disables client-side DNS
  538. caching to reduce tracking risks; and fixes a big bug in bridge
  539. reachability testing. This release introduces two new design
  540. abstractions in the code: a new "channel" abstraction between circuits
  541. and or_connections to allow for implementing alternate relay-to-relay
  542. transports, and a new "circuitmux" abstraction storing the queue of
  543. circuits for a channel. The release also includes many stability,
  544. security, and privacy fixes.
  545. Changes in version 0.2.4.18-rc - 2013-11-16
  546. Tor 0.2.4.18-rc is the fourth release candidate for the Tor 0.2.4.x
  547. series. It takes a variety of fixes from the 0.2.5.x branch to improve
  548. stability, performance, and better handling of edge cases.
  549. o Major features:
  550. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  551. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  552. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  553. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  554. them to solve bug 6033.)
  555. o Major bugfixes:
  556. - No longer stop reading or writing on cpuworker connections when
  557. our rate limiting buckets go empty. Now we should handle circuit
  558. handshake requests more promptly. Resolves bug 9731.
  559. - If we are unable to save a microdescriptor to the journal, do not
  560. drop it from memory and then reattempt downloading it. Fixes bug
  561. 9645; bugfix on 0.2.2.6-alpha.
  562. - Stop trying to bootstrap all our directory information from
  563. only our first guard. Discovered while fixing bug 9946; bugfix
  564. on 0.2.4.8-alpha.
  565. - The new channel code sometimes lost track of in-progress circuits,
  566. causing long-running clients to stop building new circuits. The
  567. fix is to always call circuit_n_chan_done(chan, 0) from
  568. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  569. o Minor bugfixes (on 0.2.4.x):
  570. - Correctly log long IPv6 exit policies, instead of truncating them
  571. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  572. - Our default TLS ecdhe groups were backwards: we meant to be using
  573. P224 for relays (for performance win) and P256 for bridges (since
  574. it is more common in the wild). Instead we had it backwards. After
  575. reconsideration, we decided that the default should be P256 on all
  576. hosts, since its security is probably better, and since P224 is
  577. reportedly used quite little in the wild. Found by "skruffy" on
  578. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  579. - Free directory authority certificate download statuses on exit
  580. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  581. o Minor bugfixes (on 0.2.3.x and earlier):
  582. - If the guard we choose first doesn't answer, we would try the
  583. second guard, but once we connected to the second guard we would
  584. abandon it and retry the first one, slowing down bootstrapping.
  585. The fix is to treat all our initially chosen guards as acceptable
  586. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  587. - Fix an assertion failure that would occur when disabling the
  588. ORPort setting on a running Tor process while accounting was
  589. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  590. - When examining the list of network interfaces to find our address,
  591. do not consider non-running or disabled network interfaces. Fixes
  592. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  593. - Avoid an off-by-one error when checking buffer boundaries when
  594. formatting the exit status of a pluggable transport helper.
  595. This is probably not an exploitable bug, but better safe than
  596. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  597. Pedro Ribeiro.
  598. o Minor features (protecting client timestamps):
  599. - Clients no longer send timestamps in their NETINFO cells. These were
  600. not used for anything, and they provided one small way for clients
  601. to be distinguished from each other as they moved from network to
  602. network or behind NAT. Implements part of proposal 222.
  603. - Clients now round timestamps in INTRODUCE cells down to the nearest
  604. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  605. if it's set to "auto" and the feature is disabled in the consensus,
  606. the timestamp is sent as 0 instead. Implements part of proposal 222.
  607. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  608. a big deal from a security point of view, but it achieves no actual
  609. good purpose, and isn't needed. Implements part of proposal 222.
  610. - Reduce down accuracy of timestamps in hidden service descriptors.
  611. Implements part of proposal 222.
  612. o Minor features (other):
  613. - Improve the circuit queue out-of-memory handler. Previously, when
  614. we ran low on memory, we'd close whichever circuits had the most
  615. queued cells. Now, we close those that have the *oldest* queued
  616. cells, on the theory that those are most responsible for us
  617. running low on memory. Based on analysis from a forthcoming paper
  618. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  619. - Generate bootstrapping status update events correctly when fetching
  620. microdescriptors. Fixes bug 9927.
  621. - Update to the October 2 2013 Maxmind GeoLite Country database.
  622. o Documentation fixes:
  623. - Clarify the usage and risks of setting the ContactInfo torrc line
  624. for your relay or bridge. Resolves ticket 9854.
  625. - Add anchors to the manpage so we can link to the html version of
  626. the documentation for specific options. Resolves ticket 9866.
  627. - Replace remaining references to DirServer in man page and
  628. log entries. Resolves ticket 10124.
  629. Changes in version 0.2.5.1-alpha - 2013-10-02
  630. Tor 0.2.5.1-alpha introduces experimental support for syscall sandboxing
  631. on Linux, allows bridges that offer pluggable transports to report usage
  632. statistics, fixes many issues to make testing easier, and provides
  633. a pile of minor features and bugfixes that have been waiting for a
  634. release of the new branch.
  635. This is the first alpha release in a new series, so expect there to
  636. be bugs. Users who would rather test out a more stable branch should
  637. stay with 0.2.4.x for now.
  638. o Major features (security):
  639. - Use the seccomp2 syscall filtering facility on Linux to limit
  640. which system calls Tor can invoke. This is an experimental,
  641. Linux-only feature to provide defense-in-depth against unknown
  642. attacks. To try turning it on, set "Sandbox 1" in your torrc
  643. file. Please be ready to report bugs. We hope to add support
  644. for better sandboxing in the future, including more fine-grained
  645. filters, better division of responsibility, and support for more
  646. platforms. This work has been done by Cristian-Matei Toader for
  647. Google Summer of Code.
  648. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  649. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  650. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  651. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  652. them to solve bug 6033.)
  653. o Major features (other):
  654. - Add support for passing arguments to managed pluggable transport
  655. proxies. Implements ticket 3594.
  656. - Bridges now track GeoIP information and the number of their users
  657. even when pluggable transports are in use, and report usage
  658. statistics in their extra-info descriptors. Resolves tickets 4773
  659. and 5040.
  660. - Make testing Tor networks bootstrap better: lower directory fetch
  661. retry schedules and maximum interval without directory requests,
  662. and raise maximum download tries. Implements ticket 6752.
  663. - Add make target 'test-network' to run tests on a Chutney network.
  664. Implements ticket 8530.
  665. - The ntor handshake is now on-by-default, no matter what the
  666. directory authorities recommend. Implements ticket 8561.
  667. o Major bugfixes:
  668. - Instead of writing destroy cells directly to outgoing connection
  669. buffers, queue them and intersperse them with other outgoing cells.
  670. This can prevent a set of resource starvation conditions where too
  671. many pending destroy cells prevent data cells from actually getting
  672. delivered. Reported by "oftc_must_be_destroyed". Fixes bug 7912;
  673. bugfix on 0.2.0.1-alpha.
  674. - If we are unable to save a microdescriptor to the journal, do not
  675. drop it from memory and then reattempt downloading it. Fixes bug
  676. 9645; bugfix on 0.2.2.6-alpha.
  677. - The new channel code sometimes lost track of in-progress circuits,
  678. causing long-running clients to stop building new circuits. The
  679. fix is to always call circuit_n_chan_done(chan, 0) from
  680. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  681. o Build features:
  682. - Tor now builds each source file in two modes: a mode that avoids
  683. exposing identifiers needlessly, and another mode that exposes
  684. more identifiers for testing. This lets the compiler do better at
  685. optimizing the production code, while enabling us to take more
  686. radical measures to let the unit tests test things.
  687. - The production builds no longer include functions used only in
  688. the unit tests; all functions exposed from a module only for
  689. unit-testing are now static in production builds.
  690. - Add an --enable-coverage configuration option to make the unit
  691. tests (and a new src/or/tor-cov target) to build with gcov test
  692. coverage support.
  693. o Testing:
  694. - We now have rudimentary function mocking support that our unit
  695. tests can use to test functions in isolation. Function mocking
  696. lets the tests temporarily replace a function's dependencies with
  697. stub functions, so that the tests can check the function without
  698. invoking the other functions it calls.
  699. - Add more unit tests for the <circid,channel>->circuit map, and
  700. the destroy-cell-tracking code to fix bug 7912.
  701. - Unit tests for failing cases of the TAP onion handshake.
  702. - More unit tests for address-manipulation functions.
  703. o Minor features (protecting client timestamps):
  704. - Clients no longer send timestamps in their NETINFO cells. These were
  705. not used for anything, and they provided one small way for clients
  706. to be distinguished from each other as they moved from network to
  707. network or behind NAT. Implements part of proposal 222.
  708. - Clients now round timestamps in INTRODUCE cells down to the nearest
  709. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  710. if it's set to "auto" and the feature is disabled in the consensus,
  711. the timestamp is sent as 0 instead. Implements part of proposal 222.
  712. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  713. a big deal from a security point of view, but it achieves no actual
  714. good purpose, and isn't needed. Implements part of proposal 222.
  715. - Reduce down accuracy of timestamps in hidden service descriptors.
  716. Implements part of proposal 222.
  717. o Minor features (config options):
  718. - Config (torrc) lines now handle fingerprints which are missing
  719. their initial '$'. Resolves ticket 4341; improvement over 0.0.9pre5.
  720. - Support a --dump-config option to print some or all of the
  721. configured options. Mainly useful for debugging the command-line
  722. option parsing code. Helps resolve ticket 4647.
  723. - Raise awareness of safer logging: notify user of potentially
  724. unsafe config options, like logging more verbosely than severity
  725. "notice" or setting SafeLogging to 0. Resolves ticket 5584.
  726. - Add a new configuration option TestingV3AuthVotingStartOffset
  727. that bootstraps a network faster by changing the timing for
  728. consensus votes. Addresses ticket 8532.
  729. - Add a new torrc option "ServerTransportOptions" that allows
  730. bridge operators to pass configuration parameters to their
  731. pluggable transports. Resolves ticket 8929.
  732. - The config (torrc) file now accepts bandwidth and space limits in
  733. bits as well as bytes. (Anywhere that you can say "2 Kilobytes",
  734. you can now say "16 kilobits", and so on.) Resolves ticket 9214.
  735. Patch by CharlieB.
  736. o Minor features (build):
  737. - Add support for `--library-versions` flag. Implements ticket 6384.
  738. - Return the "unexpected sendme" warnings to a warn severity, but make
  739. them rate limited, to help diagnose ticket 8093.
  740. - Detect a missing asciidoc, and warn the user about it, during
  741. configure rather than at build time. Fixes issue 6506. Patch from
  742. Arlo Breault.
  743. o Minor features (other):
  744. - Use the SOCK_NONBLOCK socket type, if supported, to open nonblocking
  745. sockets in a single system call. Implements ticket 5129.
  746. - Log current accounting state (bytes sent and received + remaining
  747. time for the current accounting period) in the relay's heartbeat
  748. message. Implements ticket 5526; patch from Peter Retzlaff.
  749. - Implement the TRANSPORT_LAUNCHED control port event that
  750. notifies controllers about new launched pluggable
  751. transports. Resolves ticket 5609.
  752. - If we're using the pure-C 32-bit curve25519_donna implementation
  753. of curve25519, build it with the -fomit-frame-pointer option to
  754. make it go faster on register-starved hosts. This improves our
  755. handshake performance by about 6% on i386 hosts without nacl.
  756. Closes ticket 8109.
  757. - Update to the September 4 2013 Maxmind GeoLite Country database.
  758. o Minor bugfixes:
  759. - Set the listen() backlog limit to the largest actually supported
  760. on the system, not to the value in a header file. Fixes bug 9716;
  761. bugfix on every released Tor.
  762. - No longer accept malformed http headers when parsing urls from
  763. headers. Now we reply with Bad Request ("400"). Fixes bug 2767;
  764. bugfix on 0.0.6pre1.
  765. - In munge_extrainfo_into_routerinfo(), check the return value of
  766. memchr(). This would have been a serious issue if we ever passed
  767. it a non-extrainfo. Fixes bug 8791; bugfix on 0.2.0.6-alpha. Patch
  768. from Arlo Breault.
  769. - On the chance that somebody manages to build Tor on a
  770. platform where time_t is unsigned, correct the way that
  771. microdesc_add_to_cache() handles negative time arguments.
  772. Fixes bug 8042; bugfix on 0.2.3.1-alpha.
  773. - Reject relative control socket paths and emit a warning. Previously,
  774. single-component control socket paths would be rejected, but Tor
  775. would not log why it could not validate the config. Fixes bug 9258;
  776. bugfix on 0.2.3.16-alpha.
  777. o Minor bugfixes (command line):
  778. - Use a single command-line parser for parsing torrc options on the
  779. command line and for finding special command-line options to avoid
  780. inconsistent behavior for torrc option arguments that have the same
  781. names as command-line options. Fixes bugs 4647 and 9578; bugfix on
  782. 0.0.9pre5.
  783. - No longer allow 'tor --hash-password' with no arguments. Fixes bug
  784. 9573; bugfix on 0.0.9pre5.
  785. o Minor fixes (build, auxiliary programs):
  786. - Stop preprocessing the "torify" script with autoconf, since
  787. it no longer refers to LOCALSTATEDIR. Fixes bug 5505; patch
  788. from Guilhem.
  789. - The tor-fw-helper program now follows the standard convention and
  790. exits with status code "0" on success. Fixes bug 9030; bugfix on
  791. 0.2.3.1-alpha. Patch by Arlo Breault.
  792. - Corrected ./configure advice for what openssl dev package you should
  793. install on Debian. Fixes bug 9207; bugfix on 0.2.0.1-alpha.
  794. o Minor code improvements:
  795. - Remove constants and tests for PKCS1 padding; it's insecure and
  796. shouldn't be used for anything new. Fixes bug 8792; patch
  797. from Arlo Breault.
  798. - Remove instances of strcpy() from the unit tests. They weren't
  799. hurting anything, since they were only in the unit tests, but it's
  800. embarassing to have strcpy() in the code at all, and some analysis
  801. tools don't like it. Fixes bug 8790; bugfix on 0.2.3.6-alpha and
  802. 0.2.3.8-alpha. Patch from Arlo Breault.
  803. o Removed features:
  804. - Remove migration code from when we renamed the "cached-routers"
  805. file to "cached-descriptors" back in 0.2.0.8-alpha. This
  806. incidentally resolves ticket 6502 by cleaning up the related code
  807. a bit. Patch from Akshay Hebbar.
  808. o Code simplification and refactoring:
  809. - Extract the common duplicated code for creating a subdirectory
  810. of the data directory and writing to a file in it. Fixes ticket
  811. 4282; patch from Peter Retzlaff.
  812. - Since OpenSSL 0.9.7, the i2d_*() functions support allocating output
  813. buffer. Avoid calling twice: i2d_RSAPublicKey(), i2d_DHparams(),
  814. i2d_X509(), and i2d_PublicKey(). Resolves ticket 5170.
  815. - Add a set of accessor functions for the circuit timeout data
  816. structure. Fixes ticket 6153; patch from "piet".
  817. - Clean up exit paths from connection_listener_new(). Closes ticket
  818. 8789. Patch from Arlo Breault.
  819. - Since we rely on OpenSSL 0.9.8 now, we can use EVP_PKEY_cmp()
  820. and drop our own custom pkey_eq() implementation. Fixes bug 9043.
  821. - Use a doubly-linked list to implement the global circuit list.
  822. Resolves ticket 9108. Patch from Marek Majkowski.
  823. - Remove contrib/id_to_fp.c since it wasn't used anywhere.
  824. Changes in version 0.2.4.17-rc - 2013-09-05
  825. Tor 0.2.4.17-rc is the third release candidate for the Tor 0.2.4.x
  826. series. It adds an emergency step to help us tolerate the massive
  827. influx of users: 0.2.4 clients using the new (faster and safer) "NTor"
  828. circuit-level handshakes now effectively jump the queue compared to
  829. the 0.2.3 clients using "TAP" handshakes. This release also fixes a
  830. big bug hindering bridge reachability tests.
  831. o Major features:
  832. - Relays now process the new "NTor" circuit-level handshake requests
  833. with higher priority than the old "TAP" circuit-level handshake
  834. requests. We still process some TAP requests to not totally starve
  835. 0.2.3 clients when NTor becomes popular. A new consensus parameter
  836. "NumNTorsPerTAP" lets us tune the balance later if we need to.
  837. Implements ticket 9574.
  838. o Major bugfixes:
  839. - If the circuit build timeout logic is disabled (via the consensus,
  840. or because we are an authority), then don't build testing circuits.
  841. Fixes bug 9657; bugfix on 0.2.2.14-alpha.
  842. - Bridges now send AUTH_CHALLENGE cells during their v3 handshakes;
  843. previously they did not, which prevented them from receiving
  844. successful connections from relays for self-test or bandwidth
  845. testing. Also, when a relay is extending a circuit to a bridge,
  846. it needs to send a NETINFO cell, even when the bridge hasn't sent
  847. an AUTH_CHALLENGE cell. Fixes bug 9546; bugfix on 0.2.3.6-alpha.
  848. - If the time to download the next old-style networkstatus is in
  849. the future, do not decline to consider whether to download the
  850. next microdescriptor networkstatus. Fixes bug 9564; bugfix on
  851. 0.2.3.14-alpha.
  852. o Minor bugfixes:
  853. - Avoid double-closing the listener socket in our socketpair()
  854. replacement (used on Windows) in the case where the addresses on
  855. our opened sockets don't match what we expected. Fixes bug 9400;
  856. bugfix on 0.0.2pre7. Found by Coverity.
  857. o Minor fixes (config options):
  858. - Avoid overflows when the user sets MaxCircuitDirtiness to a
  859. ridiculously high value, by imposing a (ridiculously high) 30-day
  860. maximum on MaxCircuitDirtiness.
  861. - Fix the documentation of HeartbeatPeriod to say that the heartbeat
  862. message is logged at notice, not at info.
  863. - Warn and fail if a server is configured not to advertise any
  864. ORPorts at all. (We need *something* to put in our descriptor,
  865. or we just won't work.)
  866. o Minor features:
  867. - Track how many "TAP" and "NTor" circuit handshake requests we get,
  868. and how many we complete, and log it every hour to help relay
  869. operators follow trends in network load. Addresses ticket 9658.
  870. - Update to the August 7 2013 Maxmind GeoLite Country database.
  871. Changes in version 0.2.4.16-rc - 2013-08-10
  872. Tor 0.2.4.16-rc is the second release candidate for the Tor 0.2.4.x
  873. series. It fixes several crash bugs in the 0.2.4 branch.
  874. o Major bugfixes:
  875. - Fix a bug in the voting algorithm that could yield incorrect results
  876. when a non-naming authority declared too many flags. Fixes bug 9200;
  877. bugfix on 0.2.0.3-alpha.
  878. - Fix an uninitialized read that could in some cases lead to a remote
  879. crash while parsing INTRODUCE2 cells. Bugfix on 0.2.4.1-alpha.
  880. Anybody running a hidden service on the experimental 0.2.4.x
  881. branch should upgrade. (This is, so far as we know, unrelated to
  882. the recent news.)
  883. - Avoid an assertion failure when processing DNS replies without the
  884. answer types we expected. Fixes bug 9337; bugfix on 0.2.4.7-alpha.
  885. - Avoid a crash when using --hash-password. Fixes bug 9295; bugfix on
  886. 0.2.4.15-rc. Found by stem integration tests.
  887. o Minor bugfixes:
  888. - Fix an invalid memory read that occured when a pluggable
  889. transport proxy failed its configuration protocol.
  890. Fixes bug 9288; bugfix on 0.2.4.1-alpha.
  891. - When evaluating whether to use a connection that we haven't
  892. decided is canonical using a recent link protocol version,
  893. decide that it's canonical only if it used address _does_
  894. match the desired address. Fixes bug 9309; bugfix on
  895. 0.2.4.4-alpha. Reported by skruffy.
  896. - Make the default behavior of NumDirectoryGuards be to track
  897. NumEntryGuards. Now a user who changes only NumEntryGuards will get
  898. the behavior she expects. Fixes bug 9354; bugfix on 0.2.4.8-alpha.
  899. - Fix a spurious compilation warning with some older versions of
  900. GCC on FreeBSD. Fixes bug 9254; bugfix on 0.2.4.14-alpha.
  901. o Minor features:
  902. - Update to the July 3 2013 Maxmind GeoLite Country database.
  903. Changes in version 0.2.4.15-rc - 2013-07-01
  904. Tor 0.2.4.15-rc is the first release candidate for the Tor 0.2.4.x
  905. series. It fixes a few smaller bugs, but generally appears stable.
  906. Please test it and let us know whether it is!
  907. o Major bugfixes:
  908. - When receiving a new configuration file via the control port's
  909. LOADCONF command, do not treat the defaults file as absent.
  910. Fixes bug 9122; bugfix on 0.2.3.9-alpha.
  911. o Minor features:
  912. - Issue a warning when running with the bufferevents backend enabled.
  913. It's still not stable, and people should know that they're likely
  914. to hit unexpected problems. Closes ticket 9147.
  915. Changes in version 0.2.4.14-alpha - 2013-06-18
  916. Tor 0.2.4.14-alpha fixes a pair of client guard enumeration problems
  917. present in 0.2.4.13-alpha.
  918. o Major bugfixes:
  919. - When we have too much memory queued in circuits (according to a new
  920. MaxMemInCellQueues option), close the circuits consuming the most
  921. memory. This prevents us from running out of memory as a relay if
  922. circuits fill up faster than they can be drained. Fixes bug 9063;
  923. bugfix on the 54th commit of Tor. This bug is a further fix beyond
  924. bug 6252, whose fix was merged into 0.2.3.21-rc.
  925. This change also fixes an earlier approach taken in 0.2.4.13-alpha,
  926. where we tried to solve this issue simply by imposing an upper limit
  927. on the number of queued cells for a single circuit. That approach
  928. proved to be problematic, since there are ways to provoke clients to
  929. send a number of cells in excess of any such reasonable limit. Fixes
  930. bug 9072; bugfix on 0.2.4.13-alpha.
  931. - Limit hidden service descriptors to at most ten introduction
  932. points, to slow one kind of guard enumeration. Fixes bug 9002;
  933. bugfix on 0.1.1.11-alpha.
  934. Changes in version 0.2.4.13-alpha - 2013-06-14
  935. Tor 0.2.4.13-alpha fixes a variety of potential remote crash
  936. vulnerabilities, makes socks5 username/password circuit isolation
  937. actually actually work (this time for sure!), and cleans up a bunch
  938. of other issues in preparation for a release candidate.
  939. o Major bugfixes (robustness):
  940. - Close any circuit that has too many cells queued on it. Fixes
  941. bug 9063; bugfix on the 54th commit of Tor. This bug is a further
  942. fix beyond bug 6252, whose fix was merged into 0.2.3.21-rc.
  943. - Prevent the get_freelists() function from running off the end of
  944. the list of freelists if it somehow gets an unrecognized
  945. allocation. Fixes bug 8844; bugfix on 0.2.0.16-alpha. Reported by
  946. eugenis.
  947. - Avoid an assertion failure on OpenBSD (and perhaps other BSDs)
  948. when an exit connection with optimistic data succeeds immediately
  949. rather than returning EINPROGRESS. Fixes bug 9017; bugfix on
  950. 0.2.3.1-alpha.
  951. - Fix a directory authority crash bug when building a consensus
  952. using an older consensus as its basis. Fixes bug 8833. Bugfix
  953. on 0.2.4.12-alpha.
  954. o Major bugfixes:
  955. - Avoid a memory leak where we would leak a consensus body when we
  956. find that a consensus which we couldn't previously verify due to
  957. missing certificates is now verifiable. Fixes bug 8719; bugfix
  958. on 0.2.0.10-alpha.
  959. - We used to always request authority certificates by identity digest,
  960. meaning we'd get the newest one even when we wanted one with a
  961. different signing key. Then we would complain about being given
  962. a certificate we already had, and never get the one we really
  963. wanted. Now we use the "fp-sk/" resource as well as the "fp/"
  964. resource to request the one we want. Fixes bug 5595; bugfix on
  965. 0.2.0.8-alpha.
  966. - Follow the socks5 protocol when offering username/password
  967. authentication. The fix for bug 8117 exposed this bug, and it
  968. turns out real-world applications like Pidgin do care. Bugfix on
  969. 0.2.3.2-alpha; fixes bug 8879.
  970. - Prevent failures on Windows Vista and later when rebuilding the
  971. microdescriptor cache. Diagnosed by Robert Ransom. Fixes bug 8822;
  972. bugfix on 0.2.4.12-alpha.
  973. o Minor bugfixes:
  974. - Fix an impossible buffer overrun in the AES unit tests. Fixes
  975. bug 8845; bugfix on 0.2.0.7-alpha. Found by eugenis.
  976. - If for some reason we fail to write a microdescriptor while
  977. rebuilding the cache, do not let the annotations from that
  978. microdescriptor linger in the cache file, and do not let the
  979. microdescriptor stay recorded as present in its old location.
  980. Fixes bug 9047; bugfix on 0.2.2.6-alpha.
  981. - Fix a memory leak that would occur whenever a configuration
  982. option changed. Fixes bug 8718; bugfix on 0.2.3.3-alpha.
  983. - Paste the description for PathBias parameters from the man
  984. page into or.h, so the code documents them too. Fixes bug 7982;
  985. bugfix on 0.2.3.17-beta and 0.2.4.8-alpha.
  986. - Relays now treat a changed IPv6 ORPort as sufficient reason to
  987. publish an updated descriptor. Fixes bug 6026; bugfix on
  988. 0.2.4.1-alpha.
  989. - When launching a resolve request on behalf of an AF_UNIX control
  990. socket, omit the address field of the new entry connection, used in
  991. subsequent controller events, rather than letting tor_dup_addr()
  992. set it to "<unknown address type>". Fixes bug 8639; bugfix on
  993. 0.2.4.12-alpha.
  994. o Minor bugfixes (log messages):
  995. - Fix a scaling issue in the path bias accounting code that
  996. resulted in "Bug:" log messages from either
  997. pathbias_scale_close_rates() or pathbias_count_build_success().
  998. This represents a bugfix on a previous bugfix: the original fix
  999. attempted in 0.2.4.10-alpha was incomplete. Fixes bug 8235; bugfix
  1000. on 0.2.4.1-alpha.
  1001. - Give a less useless error message when the user asks for an IPv4
  1002. address on an IPv6-only port, or vice versa. Fixes bug 8846; bugfix
  1003. on 0.2.4.7-alpha.
  1004. o Minor features:
  1005. - Downgrade "unexpected SENDME" warnings to protocol-warn for 0.2.4.x,
  1006. to tolerate bug 8093 for now.
  1007. - Add an "ignoring-advertised-bws" boolean to the flag-threshold lines
  1008. in directory authority votes to describe whether they have enough
  1009. measured bandwidths to ignore advertised (relay descriptor)
  1010. bandwidth claims. Resolves ticket 8711.
  1011. - Update to the June 5 2013 Maxmind GeoLite Country database.
  1012. o Removed documentation:
  1013. - Remove some of the older contents of doc/ as obsolete; move others
  1014. to torspec.git. Fixes bug 8965.
  1015. o Code simplification and refactoring:
  1016. - Avoid using character buffers when constructing most directory
  1017. objects: this approach was unwieldy and error-prone. Instead,
  1018. build smartlists of strings, and concatenate them when done.
  1019. Changes in version 0.2.4.12-alpha - 2013-04-18
  1020. Tor 0.2.4.12-alpha moves Tor forward on several fronts: it starts the
  1021. process for lengthening the guard rotation period, makes directory
  1022. authority opinions in the consensus a bit less gameable, makes socks5
  1023. username/password circuit isolation actually work, and fixes a wide
  1024. variety of other issues.
  1025. o Major features:
  1026. - Raise the default time that a client keeps an entry guard from
  1027. "1-2 months" to "2-3 months", as suggested by Tariq Elahi's WPES
  1028. 2012 paper. (We would make it even longer, but we need better client
  1029. load balancing first.) Also, make the guard lifetime controllable
  1030. via a new GuardLifetime torrc option and a GuardLifetime consensus
  1031. parameter. Start of a fix for bug 8240; bugfix on 0.1.1.11-alpha.
  1032. - Directory authorities now prefer using measured bandwidths to
  1033. advertised ones when computing flags and thresholds. Resolves
  1034. ticket 8273.
  1035. - Directory authorities that have more than a threshold number
  1036. of relays with measured bandwidths now treat relays with unmeasured
  1037. bandwidths as having bandwidth 0. Resolves ticket 8435.
  1038. o Major bugfixes (assert / resource use):
  1039. - Avoid a bug where our response to TLS renegotiation under certain
  1040. network conditions could lead to a busy-loop, with 100% CPU
  1041. consumption. Fixes bug 5650; bugfix on 0.2.0.16-alpha.
  1042. - Avoid an assertion when we discover that we'd like to write a cell
  1043. onto a closing connection: just discard the cell. Fixes another
  1044. case of bug 7350; bugfix on 0.2.4.4-alpha.
  1045. o Major bugfixes (client-side privacy):
  1046. - When we mark a circuit as unusable for new circuits, have it
  1047. continue to be unusable for new circuits even if MaxCircuitDirtiness
  1048. is increased too much at the wrong time, or the system clock jumps
  1049. backwards. Fixes bug 6174; bugfix on 0.0.2pre26.
  1050. - If ClientDNSRejectInternalAddresses ("do not believe DNS queries
  1051. which have resolved to internal addresses") is set, apply that
  1052. rule to IPv6 as well. Fixes bug 8475; bugfix on 0.2.0.7-alpha.
  1053. - When an exit relay rejects a stream with reason "exit policy", but
  1054. we only know an exit policy summary (e.g. from the microdesc
  1055. consensus) for it, do not mark the relay as useless for all exiting.
  1056. Instead, mark just the circuit as unsuitable for that particular
  1057. address. Fixes part of bug 7582; bugfix on 0.2.3.2-alpha.
  1058. - Allow applications to get proper stream isolation with
  1059. IsolateSOCKSAuth. Many SOCKS5 clients that want to offer
  1060. username/password authentication also offer "no authentication". Tor
  1061. had previously preferred "no authentication", so the applications
  1062. never actually sent Tor their auth details. Now Tor selects
  1063. username/password authentication if it's offered. You can disable
  1064. this behavior on a per-SOCKSPort basis via PreferSOCKSNoAuth. Fixes
  1065. bug 8117; bugfix on 0.2.3.3-alpha.
  1066. o Major bugfixes (other):
  1067. - When unable to find any working directory nodes to use as a
  1068. directory guard, give up rather than adding the same non-working
  1069. nodes to the directory guard list over and over. Fixes bug 8231;
  1070. bugfix on 0.2.4.8-alpha.
  1071. o Minor features:
  1072. - Reject as invalid most directory objects containing a NUL.
  1073. Belt-and-suspender fix for bug 8037.
  1074. - In our testsuite, create temporary directories with a bit more
  1075. entropy in their name to make name collisions less likely. Fixes
  1076. bug 8638.
  1077. - Add CACHED keyword to ADDRMAP events in the control protocol
  1078. to indicate whether a DNS result will be cached or not. Resolves
  1079. ticket 8596.
  1080. - Update to the April 3 2013 Maxmind GeoLite Country database.
  1081. o Minor features (build):
  1082. - Detect and reject attempts to build Tor with threading support
  1083. when OpenSSL has been compiled without threading support.
  1084. Fixes bug 6673.
  1085. - Clarify that when autoconf is checking for nacl, it is checking
  1086. specifically for nacl with a fast curve25519 implementation.
  1087. Fixes bug 8014.
  1088. - Warn if building on a platform with an unsigned time_t: there
  1089. are too many places where Tor currently assumes that time_t can
  1090. hold negative values. We'd like to fix them all, but probably
  1091. some will remain.
  1092. o Minor bugfixes (build):
  1093. - Fix some bugs in tor-fw-helper-natpmp when trying to build and
  1094. run it on Windows. More bugs likely remain. Patch from Gisle Vanem.
  1095. Fixes bug 7280; bugfix on 0.2.3.1-alpha.
  1096. - Add the old src/or/micro-revision.i filename to CLEANFILES.
  1097. On the off chance that somebody has one, it will go away as soon
  1098. as they run "make clean". Fix for bug 7143; bugfix on 0.2.4.1-alpha.
  1099. - Build Tor correctly on 32-bit platforms where the compiler can build
  1100. but not run code using the "uint128_t" construction. Fixes bug 8587;
  1101. bugfix on 0.2.4.8-alpha.
  1102. - Fix compilation warning with some versions of clang that would
  1103. prefer the -Wswitch-enum compiler flag to warn about switch
  1104. statements with missing enum values, even if those switch
  1105. statements have a "default:" statement. Fixes bug 8598; bugfix
  1106. on 0.2.4.10-alpha.
  1107. o Minor bugfixes (protocol):
  1108. - Fix the handling of a TRUNCATE cell when it arrives while the
  1109. circuit extension is in progress. Fixes bug 7947; bugfix on 0.0.7.1.
  1110. - Fix a misframing issue when reading the version numbers in a
  1111. VERSIONS cell. Previously we would recognize [00 01 00 02] as
  1112. 'version 1, version 2, and version 0x100', when it should have
  1113. only included versions 1 and 2. Fixes bug 8059; bugfix on
  1114. 0.2.0.10-alpha. Reported pseudonymously.
  1115. - Make the format and order of STREAM events for DNS lookups
  1116. consistent among the various ways to launch DNS lookups. Fixes
  1117. bug 8203; bugfix on 0.2.0.24-rc. Patch by "Desoxy."
  1118. - Correct our check for which versions of Tor support the EXTEND2
  1119. cell. We had been willing to send it to Tor 0.2.4.7-alpha and
  1120. later, when support was really added in version 0.2.4.8-alpha.
  1121. Fixes bug 8464; bugfix on 0.2.4.8-alpha.
  1122. o Minor bugfixes (other):
  1123. - Correctly store microdescriptors and extrainfo descriptors with
  1124. an internal NUL byte. Fixes bug 8037; bugfix on 0.2.0.1-alpha.
  1125. Bug reported by "cypherpunks".
  1126. - Increase the width of the field used to remember a connection's
  1127. link protocol version to two bytes. Harmless for now, since the
  1128. only currently recognized versions are one byte long. Reported
  1129. pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha.
  1130. - If the state file's path bias counts are invalid (presumably from a
  1131. buggy Tor prior to 0.2.4.10-alpha), make them correct. Also add
  1132. additional checks and log messages to the scaling of Path Bias
  1133. counts, in case there still are remaining issues with scaling.
  1134. Should help resolve bug 8235.
  1135. - Eliminate several instances where we use "Nickname=ID" to refer to
  1136. nodes in logs. Use "Nickname (ID)" instead. (Elsewhere, we still use
  1137. "$ID=Nickname", which is also acceptable.) Fixes bug 7065. Bugfix
  1138. on 0.2.3.21-rc, 0.2.4.5-alpha, 0.2.4.8-alpha, and 0.2.4.10-alpha.
  1139. o Minor bugfixes (syscalls):
  1140. - Always check the return values of functions fcntl() and
  1141. setsockopt(). We don't believe these are ever actually failing in
  1142. practice, but better safe than sorry. Also, checking these return
  1143. values should please analysis tools like Coverity. Patch from
  1144. 'flupzor'. Fixes bug 8206; bugfix on all versions of Tor.
  1145. - Use direct writes rather than stdio when building microdescriptor
  1146. caches, in an attempt to mitigate bug 8031, or at least make it
  1147. less common.
  1148. o Minor bugfixes (config):
  1149. - When rejecting a configuration because we were unable to parse a
  1150. quoted string, log an actual error message. Fixes bug 7950; bugfix
  1151. on 0.2.0.16-alpha.
  1152. - Behave correctly when the user disables LearnCircuitBuildTimeout
  1153. but doesn't tell us what they would like the timeout to be. Fixes
  1154. bug 6304; bugfix on 0.2.2.14-alpha.
  1155. - When autodetecting the number of CPUs, use the number of available
  1156. CPUs in preference to the number of configured CPUs. Inform the
  1157. user if this reduces the number of available CPUs. Fixes bug 8002;
  1158. bugfix on 0.2.3.1-alpha.
  1159. - Make it an error when you set EntryNodes but disable UseGuardNodes,
  1160. since it will (surprisingly to some users) ignore EntryNodes. Fixes
  1161. bug 8180; bugfix on 0.2.3.11-alpha.
  1162. - Allow TestingTorNetworks to override the 4096-byte minimum for
  1163. the Fast threshold. Otherwise they can't bootstrap until they've
  1164. observed more traffic. Fixes bug 8508; bugfix on 0.2.4.10-alpha.
  1165. - Fix some logic errors when the user manually overrides the
  1166. PathsNeededToBuildCircuits option in torrc. Fixes bug 8599; bugfix
  1167. on 0.2.4.10-alpha.
  1168. o Minor bugfixes (log messages to help diagnose bugs):
  1169. - If we fail to free a microdescriptor because of bug 7164, log
  1170. the filename and line number from which we tried to free it.
  1171. - Add another diagnostic to the heartbeat message: track and log
  1172. overhead that TLS is adding to the data we write. If this is
  1173. high, we are sending too little data to SSL_write at a time.
  1174. Diagnostic for bug 7707.
  1175. - Add more detail to a log message about relaxed timeouts, to help
  1176. track bug 7799.
  1177. - Warn more aggressively when flushing microdescriptors to a
  1178. microdescriptor cache fails, in an attempt to mitigate bug 8031,
  1179. or at least make it more diagnosable.
  1180. - Improve debugging output to help track down bug 8185 ("Bug:
  1181. outgoing relay cell has n_chan==NULL. Dropping.")
  1182. - Log the purpose of a path-bias testing circuit correctly.
  1183. Improves a log message from bug 8477; bugfix on 0.2.4.8-alpha.
  1184. o Minor bugfixes (0.2.4.x log messages that were too noisy):
  1185. - Don't attempt to relax the timeout of already opened 1-hop circuits.
  1186. They might never timeout. This should eliminate some/all cases of
  1187. the relaxed timeout log message.
  1188. - Use circuit creation time for network liveness evaluation. This
  1189. should eliminate warning log messages about liveness caused
  1190. by changes in timeout evaluation. Fixes bug 6572; bugfix on
  1191. 0.2.4.8-alpha.
  1192. - Reduce a path bias length check from notice to info. The message
  1193. is triggered when creating controller circuits. Fixes bug 8196;
  1194. bugfix on 0.2.4.8-alpha.
  1195. - Fix a path state issue that triggered a notice during relay startup.
  1196. Fixes bug 8320; bugfix on 0.2.4.10-alpha.
  1197. - Reduce occurrences of warns about circuit purpose in
  1198. connection_ap_expire_building(). Fixes bug 8477; bugfix on
  1199. 0.2.4.11-alpha.
  1200. o Minor bugfixes (pre-0.2.4.x log messages that were too noisy):
  1201. - If we encounter a write failure on a SOCKS connection before we
  1202. finish our SOCKS handshake, don't warn that we closed the
  1203. connection before we could send a SOCKS reply. Fixes bug 8427;
  1204. bugfix on 0.1.0.1-rc.
  1205. - Correctly recognize that [::1] is a loopback address. Fixes
  1206. bug 8377; bugfix on 0.2.1.3-alpha.
  1207. - Fix a directory authority warn caused when we have a large amount
  1208. of badexit bandwidth. Fixes bug 8419; bugfix on 0.2.2.10-alpha.
  1209. - Don't log inappropriate heartbeat messages when hibernating: a
  1210. hibernating node is _expected_ to drop out of the consensus,
  1211. decide it isn't bootstrapped, and so forth. Fixes bug 7302;
  1212. bugfix on 0.2.3.1-alpha.
  1213. - Don't complain about bootstrapping problems while hibernating.
  1214. These complaints reflect a general code problem, but not one
  1215. with any problematic effects (no connections are actually
  1216. opened). Fixes part of bug 7302; bugfix on 0.2.3.2-alpha.
  1217. o Documentation fixes:
  1218. - Update tor-fw-helper.1.txt and tor-fw-helper.c to make option
  1219. names match. Fixes bug 7768.
  1220. - Make the torify manpage no longer refer to tsocks; torify hasn't
  1221. supported tsocks since 0.2.3.14-alpha.
  1222. - Make the tor manpage no longer reference tsocks.
  1223. - Fix the GeoIPExcludeUnknown documentation to refer to
  1224. ExcludeExitNodes rather than the currently nonexistent
  1225. ExcludeEntryNodes. Spotted by "hamahangi" on tor-talk.
  1226. o Removed files:
  1227. - The tor-tsocks.conf is no longer distributed or installed. We
  1228. recommend that tsocks users use torsocks instead. Resolves
  1229. ticket 8290.
  1230. Changes in version 0.2.4.11-alpha - 2013-03-11
  1231. Tor 0.2.4.11-alpha makes relay measurement by directory authorities
  1232. more robust, makes hidden service authentication work again, and
  1233. resolves a DPI fingerprint for Tor's SSL transport.
  1234. o Major features (directory authorities):
  1235. - Directory authorities now support a new consensus method (17)
  1236. where they cap the published bandwidth of servers for which
  1237. insufficient bandwidth measurements exist. Fixes part of bug 2286.
  1238. - Directory authorities that set "DisableV2DirectoryInfo_ 1" no longer
  1239. serve any v2 directory information. Now we can test disabling the
  1240. old deprecated v2 directory format, and see whether doing so has
  1241. any effect on network load. Begins to fix bug 6783.
  1242. - Directory authorities now include inside each vote a statement of
  1243. the performance thresholds they used when assigning flags.
  1244. Implements ticket 8151.
  1245. o Major bugfixes (directory authorities):
  1246. - Stop marking every relay as having been down for one hour every
  1247. time we restart a directory authority. These artificial downtimes
  1248. were messing with our Stable and Guard flag calculations. Fixes
  1249. bug 8218 (introduced by the fix for 1035). Bugfix on 0.2.2.23-alpha.
  1250. o Major bugfixes (hidden services):
  1251. - Allow hidden service authentication to succeed again. When we
  1252. refactored the hidden service introduction code back
  1253. in 0.2.4.1-alpha, we didn't update the code that checks
  1254. whether authentication information is present, causing all
  1255. authentication checks to return "false". Fix for bug 8207; bugfix
  1256. on 0.2.4.1-alpha. Found by Coverity; this is CID 718615.
  1257. o Minor features (relays, bridges):
  1258. - Make bridge relays check once a minute for whether their IP
  1259. address has changed, rather than only every 15 minutes. Resolves
  1260. bugs 1913 and 1992.
  1261. - Refactor resolve_my_address() so it returns the method by which we
  1262. decided our public IP address (explicitly configured, resolved from
  1263. explicit hostname, guessed from interfaces, learned by gethostname).
  1264. Now we can provide more helpful log messages when a relay guesses
  1265. its IP address incorrectly (e.g. due to unexpected lines in
  1266. /etc/hosts). Resolves ticket 2267.
  1267. - Teach bridge-using clients to avoid 0.2.2 bridges when making
  1268. microdescriptor-related dir requests, and only fall back to normal
  1269. descriptors if none of their bridges can handle microdescriptors
  1270. (as opposed to the fix in ticket 4013, which caused them to fall
  1271. back to normal descriptors if *any* of their bridges preferred
  1272. them). Resolves ticket 4994.
  1273. - Randomize the lifetime of our SSL link certificate, so censors can't
  1274. use the static value for filtering Tor flows. Resolves ticket 8443;
  1275. related to ticket 4014 which was included in 0.2.2.33.
  1276. o Minor features (portability):
  1277. - Tweak the curve25519-donna*.c implementations to tolerate systems
  1278. that lack stdint.h. Fixes bug 3894; bugfix on 0.2.4.8-alpha.
  1279. - Use Ville Laurikari's implementation of AX_CHECK_SIGN() to determine
  1280. the signs of types during autoconf. This is better than our old
  1281. approach, which didn't work when cross-compiling.
  1282. - Detect the sign of enum values, rather than assuming that MSC is the
  1283. only compiler where enum types are all signed. Fixes bug 7727;
  1284. bugfix on 0.2.4.10-alpha.
  1285. o Minor features (other):
  1286. - Say "KBytes" rather than "KB" in the man page (for various values
  1287. of K), to further reduce confusion about whether Tor counts in
  1288. units of memory or fractions of units of memory. Resolves ticket 7054.
  1289. - Clear the high bit on curve25519 public keys before passing them to
  1290. our backend, in case we ever wind up using a backend that doesn't do
  1291. so itself. If we used such a backend, and *didn't* clear the high bit,
  1292. we could wind up in a situation where users with such backends would
  1293. be distinguishable from users without. Fixes bug 8121; bugfix on
  1294. 0.2.4.8-alpha.
  1295. - Update to the March 6 2013 Maxmind GeoLite Country database.
  1296. o Minor bugfixes (clients):
  1297. - When we receive a RELAY_END cell with the reason DONE, or with no
  1298. reason, before receiving a RELAY_CONNECTED cell, report the SOCKS
  1299. status as "connection refused". Previously we reported these cases
  1300. as success but then immediately closed the connection. Fixes bug
  1301. 7902; bugfix on 0.1.0.1-rc. Reported by "oftc_must_be_destroyed".
  1302. - Downgrade an assertion in connection_ap_expire_beginning to an
  1303. LD_BUG message. The fix for bug 8024 should prevent this message
  1304. from displaying, but just in case, a warn that we can diagnose
  1305. is better than more assert crashes. Fixes bug 8065; bugfix on
  1306. 0.2.4.8-alpha.
  1307. - Lower path use bias thresholds to .80 for notice and .60 for warn.
  1308. Also make the rate limiting flags for the path use bias log messages
  1309. independent from the original path bias flags. Fixes bug 8161;
  1310. bugfix on 0.2.4.10-alpha.
  1311. o Minor bugfixes (relays):
  1312. - Stop trying to resolve our hostname so often (e.g. every time we
  1313. think about doing a directory fetch). Now we reuse the cached
  1314. answer in some cases. Fixes bugs 1992 (bugfix on 0.2.0.20-rc)
  1315. and 2410 (bugfix on 0.1.2.2-alpha).
  1316. - Stop sending a stray "(null)" in some cases for the server status
  1317. "EXTERNAL_ADDRESS" controller event. Resolves bug 8200; bugfix
  1318. on 0.1.2.6-alpha.
  1319. - When choosing which stream on a formerly stalled circuit to wake
  1320. first, make better use of the platform's weak RNG. Previously,
  1321. we had been using the % ("modulo") operator to try to generate a
  1322. 1/N chance of picking each stream, but this behaves badly with
  1323. many platforms' choice of weak RNG. Fixes bug 7801; bugfix on
  1324. 0.2.2.20-alpha.
  1325. - Use our own weak RNG when we need a weak RNG. Windows's rand() and
  1326. Irix's random() only return 15 bits; Solaris's random() returns more
  1327. bits but its RAND_MAX says it only returns 15, and so on. Motivated
  1328. by the fix for bug 7801; bugfix on 0.2.2.20-alpha.
  1329. o Minor bugfixes (directory authorities):
  1330. - Directory authorities now use less space when formatting identical
  1331. microdescriptor lines in directory votes. Fixes bug 8158; bugfix
  1332. on 0.2.4.1-alpha.
  1333. o Minor bugfixes (memory leaks spotted by Coverity -- bug 7816):
  1334. - Avoid leaking memory if we fail to compute a consensus signature
  1335. or we generate a consensus we can't parse. Bugfix on 0.2.0.5-alpha.
  1336. - Fix a memory leak when receiving headers from an HTTPS proxy. Bugfix
  1337. on 0.2.1.1-alpha.
  1338. - Fix a memory leak during safe-cookie controller authentication.
  1339. Bugfix on 0.2.3.13-alpha.
  1340. - Avoid memory leak of IPv6 policy content if we fail to format it into
  1341. a router descriptor. Bugfix on 0.2.4.7-alpha.
  1342. o Minor bugfixes (other code correctness issues):
  1343. - Avoid a crash if we fail to generate an extrainfo descriptor.
  1344. Fixes bug 8208; bugfix on 0.2.3.16-alpha. Found by Coverity;
  1345. this is CID 718634.
  1346. - When detecting the largest possible file descriptor (in order to
  1347. close all file descriptors when launching a new program), actually
  1348. use _SC_OPEN_MAX. The old code for doing this was very, very broken.
  1349. Fixes bug 8209; bugfix on 0.2.3.1-alpha. Found by Coverity; this
  1350. is CID 743383.
  1351. - Fix a copy-and-paste error when adding a missing A1 to a routerset
  1352. because of GeoIPExcludeUnknown. Fix for Coverity CID 980650.
  1353. Bugfix on 0.2.4.10-alpha.
  1354. - Fix an impossible-to-trigger integer overflow when estimating how
  1355. long our onionskin queue would take. (This overflow would require us
  1356. to accept 4 million onionskins before processing 100 of them.) Fixes
  1357. bug 8210; bugfix on 0.2.4.10-alpha.
  1358. o Code simplification and refactoring:
  1359. - Add a wrapper function for the common "log a message with a
  1360. rate-limit" case.
  1361. Changes in version 0.2.4.10-alpha - 2013-02-04
  1362. Tor 0.2.4.10-alpha adds defenses at the directory authority level from
  1363. certain attacks that flood the network with relays; changes the queue
  1364. for circuit create requests from a sized-based limit to a time-based
  1365. limit; resumes building with MSVC on Windows; and fixes a wide variety
  1366. of other issues.
  1367. o Major bugfixes (directory authority):
  1368. - When computing directory thresholds, ignore any rejected-as-sybil
  1369. nodes during the computation so that they can't influence Fast,
  1370. Guard, etc. (We should have done this for proposal 109.) Fixes
  1371. bug 8146.
  1372. - When marking a node as a likely sybil, reset its uptime metrics
  1373. to zero, so that it cannot time towards getting marked as Guard,
  1374. Stable, or HSDir. (We should have done this for proposal 109.) Fixes
  1375. bug 8147.
  1376. o Major bugfixes:
  1377. - When a TLS write is partially successful but incomplete, remember
  1378. that the flushed part has been flushed, and notice that bytes were
  1379. actually written. Reported and fixed pseudonymously. Fixes bug
  1380. 7708; bugfix on Tor 0.1.0.5-rc.
  1381. - Reject bogus create and relay cells with 0 circuit ID or 0 stream
  1382. ID: these could be used to create unexpected streams and circuits
  1383. which would count as "present" to some parts of Tor but "absent"
  1384. to others, leading to zombie circuits and streams or to a bandwidth
  1385. denial-of-service. Fixes bug 7889; bugfix on every released version
  1386. of Tor. Reported by "oftc_must_be_destroyed".
  1387. - Rename all macros in our local copy of queue.h to begin with "TOR_".
  1388. This change seems the only good way to permanently prevent conflicts
  1389. with queue.h on various operating systems. Fixes bug 8107; bugfix
  1390. on 0.2.4.6-alpha.
  1391. o Major features (relay):
  1392. - Instead of limiting the number of queued onionskins (aka circuit
  1393. create requests) to a fixed, hard-to-configure number, we limit
  1394. the size of the queue based on how many we expect to be able to
  1395. process in a given amount of time. We estimate the time it will
  1396. take to process an onionskin based on average processing time
  1397. of previous onionskins. Closes ticket 7291. You'll never have to
  1398. configure MaxOnionsPending again.
  1399. o Major features (portability):
  1400. - Resume building correctly with MSVC and Makefile.nmake. This patch
  1401. resolves numerous bugs and fixes reported by ultramage, including
  1402. 7305, 7308, 7309, 7310, 7312, 7313, 7315, 7316, and 7669.
  1403. - Make the ntor and curve25519 code build correctly with MSVC.
  1404. Fix on 0.2.4.8-alpha.
  1405. o Minor features:
  1406. - When directory authorities are computing thresholds for flags,
  1407. never let the threshold for the Fast flag fall below 4096
  1408. bytes. Also, do not consider nodes with extremely low bandwidths
  1409. when deciding thresholds for various directory flags. This change
  1410. should raise our threshold for Fast relays, possibly in turn
  1411. improving overall network performance; see ticket 1854. Resolves
  1412. ticket 8145.
  1413. - The Tor client now ignores sub-domain components of a .onion
  1414. address. This change makes HTTP "virtual" hosting
  1415. possible: http://foo.aaaaaaaaaaaaaaaa.onion/ and
  1416. http://bar.aaaaaaaaaaaaaaaa.onion/ can be two different websites
  1417. hosted on the same hidden service. Implements proposal 204.
  1418. - We compute the overhead from passing onionskins back and forth to
  1419. cpuworkers, and report it when dumping statistics in response to
  1420. SIGUSR1. Supports ticket 7291.
  1421. o Minor features (path selection):
  1422. - When deciding whether we have enough descriptors to build circuits,
  1423. instead of looking at raw relay counts, look at which fraction
  1424. of (bandwidth-weighted) paths we're able to build. This approach
  1425. keeps clients from building circuits if their paths are likely to
  1426. stand out statistically. The default fraction of paths needed is
  1427. taken from the consensus directory; you can override it with the
  1428. new PathsNeededToBuildCircuits option. Fixes ticket 5956.
  1429. - When any country code is listed in ExcludeNodes or ExcludeExitNodes,
  1430. and we have GeoIP information, also exclude all nodes with unknown
  1431. countries "??" and "A1". This behavior is controlled by the
  1432. new GeoIPExcludeUnknown option: you can make such nodes always
  1433. excluded with "GeoIPExcludeUnknown 1", and disable the feature
  1434. with "GeoIPExcludeUnknown 0". Setting "GeoIPExcludeUnknown auto"
  1435. gets you the default behavior. Implements feature 7706.
  1436. - Path Use Bias: Perform separate accounting for successful circuit
  1437. use. Keep separate statistics on stream attempt rates versus stream
  1438. success rates for each guard. Provide configurable thresholds to
  1439. determine when to emit log messages or disable use of guards that
  1440. fail too many stream attempts. Resolves ticket 7802.
  1441. o Minor features (log messages):
  1442. - When learning a fingerprint for a bridge, log its corresponding
  1443. transport type. Implements ticket 7896.
  1444. - Improve the log message when "Bug/attack: unexpected sendme cell
  1445. from client" occurs, to help us track bug 8093.
  1446. o Minor bugfixes:
  1447. - Remove a couple of extraneous semicolons that were upsetting the
  1448. cparser library. Patch by Christian Grothoff. Fixes bug 7115;
  1449. bugfix on 0.2.2.1-alpha.
  1450. - Remove a source of rounding error during path bias count scaling;
  1451. don't count cannibalized circuits as used for path bias until we
  1452. actually try to use them; and fix a circuit_package_relay_cell()
  1453. warning message about n_chan==NULL. Fixes bug 7802.
  1454. - Detect nacl when its headers are in a nacl/ subdirectory. Also,
  1455. actually link against nacl when we're configured to use it. Fixes
  1456. bug 7972; bugfix on 0.2.4.8-alpha.
  1457. - Compile correctly with the --disable-curve25519 option. Fixes
  1458. bug 8153; bugfix on 0.2.4.8-alpha.
  1459. o Build improvements:
  1460. - Do not report status verbosely from autogen.sh unless the -v flag
  1461. is specified. Fixes issue 4664. Patch from Onizuka.
  1462. - Replace all calls to snprintf() outside of src/ext with
  1463. tor_snprintf(). Also remove the #define to replace snprintf with
  1464. _snprintf on Windows; they have different semantics, and all of
  1465. our callers should be using tor_snprintf() anyway. Fixes bug 7304.
  1466. - Try to detect if we are ever building on a platform where
  1467. memset(...,0,...) does not set the value of a double to 0.0. Such
  1468. platforms are permitted by the C standard, though in practice
  1469. they're pretty rare (since IEEE 754 is nigh-ubiquitous). We don't
  1470. currently support them, but it's better to detect them and fail
  1471. than to perform erroneously.
  1472. o Removed features:
  1473. - Stop exporting estimates of v2 and v3 directory traffic shares
  1474. in extrainfo documents. They were unneeded and sometimes inaccurate.
  1475. Also stop exporting any v2 directory request statistics. Resolves
  1476. ticket 5823.
  1477. - Drop support for detecting and warning about versions of Libevent
  1478. before 1.3e. Nothing reasonable ships with them any longer;
  1479. warning the user about them shouldn't be needed. Resolves ticket
  1480. 6826.
  1481. o Code simplifications and refactoring:
  1482. - Rename "isin" functions to "contains", for grammar. Resolves
  1483. ticket 5285.
  1484. - Rename Tor's logging function log() to tor_log(), to avoid conflicts
  1485. with the natural logarithm function from the system libm. Resolves
  1486. ticket 7599.
  1487. Changes in version 0.2.4.9-alpha - 2013-01-15
  1488. Tor 0.2.4.9-alpha provides a quick fix to make the new ntor handshake
  1489. work more robustly.
  1490. o Major bugfixes:
  1491. - Fix backward compatibility logic when receiving an embedded ntor
  1492. handshake tunneled in a CREATE cell. This clears up the "Bug:
  1493. couldn't format CREATED cell" warning. Fixes bug 7959; bugfix
  1494. on 0.2.4.8-alpha.
  1495. Changes in version 0.2.4.8-alpha - 2013-01-14
  1496. Tor 0.2.4.8-alpha introduces directory guards to reduce user enumeration
  1497. risks, adds a new stronger and faster circuit handshake, and offers
  1498. stronger and faster link encryption when both sides support it.
  1499. o Major features:
  1500. - Preliminary support for directory guards (proposal 207): when
  1501. possible, clients now use their entry guards for non-anonymous
  1502. directory requests. This can help prevent client enumeration. Note
  1503. that this behavior only works when we have a usable consensus
  1504. directory, and when options about what to download are more or less
  1505. standard. In the future we should re-bootstrap from our guards,
  1506. rather than re-bootstrapping from the preconfigured list of
  1507. directory sources that ships with Tor. Resolves ticket 6526.
  1508. - Tor relays and clients now support a better CREATE/EXTEND cell
  1509. format, allowing the sender to specify multiple address, identity,
  1510. and handshake types. Implements Robert Ransom's proposal 200;
  1511. closes ticket 7199.
  1512. o Major features (new circuit handshake):
  1513. - Tor now supports a new circuit extension handshake designed by Ian
  1514. Goldberg, Douglas Stebila, and Berkant Ustaoglu. Our original
  1515. circuit extension handshake, later called "TAP", was a bit slow
  1516. (especially on the relay side), had a fragile security proof, and
  1517. used weaker keys than we'd now prefer. The new circuit handshake
  1518. uses Dan Bernstein's "curve25519" elliptic-curve Diffie-Hellman
  1519. function, making it significantly more secure than the older
  1520. handshake, and significantly faster. Tor can use one of two built-in
  1521. pure-C curve25519-donna implementations by Adam Langley, or it
  1522. can link against the "nacl" library for a tuned version if present.
  1523. The built-in version is very fast for 64-bit systems when building
  1524. with GCC. The built-in 32-bit version is still faster than the
  1525. old TAP protocol, but using libnacl is better on most such hosts.
  1526. Clients don't currently use this protocol by default, since
  1527. comparatively few clients support it so far. To try it, set
  1528. UseNTorHandshake to 1.
  1529. Implements proposal 216; closes ticket 7202.
  1530. o Major features (better link encryption):
  1531. - Relays can now enable the ECDHE TLS ciphersuites when available
  1532. and appropriate. These ciphersuites let us negotiate forward-secure
  1533. TLS secret keys more safely and more efficiently than with our
  1534. previous use of Diffie-Hellman modulo a 1024-bit prime. By default,
  1535. public relays prefer the (faster) P224 group, and bridges prefer
  1536. the (more common) P256 group; you can override this with the
  1537. TLSECGroup option.
  1538. Enabling these ciphers was a little tricky, since for a long time,
  1539. clients had been claiming to support them without actually doing
  1540. so, in order to foil fingerprinting. But with the client-side
  1541. implementation of proposal 198 in 0.2.3.17-beta, clients can now
  1542. match the ciphers from recent Firefox versions *and* list the
  1543. ciphers they actually mean, so relays can believe such clients
  1544. when they advertise ECDHE support in their TLS ClientHello messages.
  1545. This feature requires clients running 0.2.3.17-beta or later,
  1546. and requires both sides to be running OpenSSL 1.0.0 or later
  1547. with ECC support. OpenSSL 1.0.1, with the compile-time option
  1548. "enable-ec_nistp_64_gcc_128", is highly recommended.
  1549. Implements the relay side of proposal 198; closes ticket 7200.
  1550. o Major bugfixes:
  1551. - Avoid crashing when, as a relay without IPv6-exit support, a
  1552. client insists on getting an IPv6 address or nothing. Fixes bug
  1553. 7814; bugfix on 0.2.4.7-alpha.
  1554. o Minor features:
  1555. - Improve circuit build timeout handling for hidden services.
  1556. In particular: adjust build timeouts more accurately depending
  1557. upon the number of hop-RTTs that a particular circuit type
  1558. undergoes. Additionally, launch intro circuits in parallel
  1559. if they timeout, and take the first one to reply as valid.
  1560. - Work correctly on Unix systems where EAGAIN and EWOULDBLOCK are
  1561. separate error codes; or at least, don't break for that reason.
  1562. Fixes bug 7935. Reported by "oftc_must_be_destroyed".
  1563. - Update to the January 2 2013 Maxmind GeoLite Country database.
  1564. o Minor features (testing):
  1565. - Add benchmarks for DH (1024-bit multiplicative group) and ECDH
  1566. (P-256) Diffie-Hellman handshakes to src/or/bench.
  1567. - Add benchmark functions to test onion handshake performance.
  1568. o Minor features (path bias detection):
  1569. - Alter the Path Bias log messages to be more descriptive in terms
  1570. of reporting timeouts and other statistics.
  1571. - Create three levels of Path Bias log messages, as opposed to just
  1572. two. These are configurable via consensus as well as via the torrc
  1573. options PathBiasNoticeRate, PathBiasWarnRate, PathBiasExtremeRate.
  1574. The default values are 0.70, 0.50, and 0.30 respectively.
  1575. - Separate the log message levels from the decision to drop guards,
  1576. which also is available via torrc option PathBiasDropGuards.
  1577. PathBiasDropGuards still defaults to 0 (off).
  1578. - Deprecate PathBiasDisableRate in favor of PathBiasDropGuards
  1579. in combination with PathBiasExtremeRate.
  1580. - Increase the default values for PathBiasScaleThreshold and
  1581. PathBiasCircThreshold from (200, 20) to (300, 150).
  1582. - Add in circuit usage accounting to path bias. If we try to use a
  1583. built circuit but fail for any reason, it counts as path bias.
  1584. Certain classes of circuits where the adversary gets to pick your
  1585. destination node are exempt from this accounting. Usage accounting
  1586. can be specifically disabled via consensus parameter or torrc.
  1587. - Convert all internal path bias state to double-precision floating
  1588. point, to avoid roundoff error and other issues.
  1589. - Only record path bias information for circuits that have completed
  1590. *two* hops. Assuming end-to-end tagging is the attack vector, this
  1591. makes us more resilient to ambient circuit failure without any
  1592. detection capability loss.
  1593. o Minor bugfixes (log messages):
  1594. - Rate-limit the "No circuits are opened. Relaxed timeout for a
  1595. circuit with channel state open..." message to once per hour to
  1596. keep it from filling the notice logs. Mitigates bug 7799 but does
  1597. not fix the underlying cause. Bugfix on 0.2.4.7-alpha.
  1598. - Avoid spurious warnings when configuring multiple client ports of
  1599. which only some are nonlocal. Previously, we had claimed that some
  1600. were nonlocal when in fact they weren't. Fixes bug 7836; bugfix on
  1601. 0.2.3.3-alpha.
  1602. o Code simplifications and refactoring:
  1603. - Get rid of a couple of harmless clang warnings, where we compared
  1604. enums to ints. These warnings are newly introduced in clang 3.2.
  1605. - Split the onion.c file into separate modules for the onion queue
  1606. and the different handshakes it supports.
  1607. - Remove the marshalling/unmarshalling code for sending requests to
  1608. cpuworkers over a socket, and instead just send structs. The
  1609. recipient will always be the same Tor binary as the sender, so
  1610. any encoding is overkill.
  1611. Changes in version 0.2.4.7-alpha - 2012-12-24
  1612. Tor 0.2.4.7-alpha introduces a new approach to providing fallback
  1613. directory mirrors for more robust bootstrapping; fixes more issues where
  1614. clients with changing network conditions refuse to make any circuits;
  1615. adds initial support for exiting to IPv6 addresses; resumes being able
  1616. to update our GeoIP database, and includes the geoip6 file this time;
  1617. turns off the client-side DNS cache by default due to privacy risks;
  1618. and fixes a variety of other issues.
  1619. o Major features (client resilience):
  1620. - Add a new "FallbackDir" torrc option to use when we can't use
  1621. a directory mirror from the consensus (either because we lack a
  1622. consensus, or because they're all down). Currently, all authorities
  1623. are fallbacks by default, and there are no other default fallbacks,
  1624. but that will change. This option will allow us to give clients a
  1625. longer list of servers to try to get a consensus from when first
  1626. connecting to the Tor network, and thereby reduce load on the
  1627. directory authorities. Implements proposal 206, "Preconfigured
  1628. directory sources for bootstrapping". We also removed the old
  1629. "FallbackNetworkstatus" option, since we never got it working well
  1630. enough to use it. Closes bug 572.
  1631. - If we have no circuits open, use a relaxed timeout (the
  1632. 95-percentile cutoff) until a circuit succeeds. This heuristic
  1633. should allow Tor to succeed at building circuits even when the
  1634. network connection drastically changes. Should help with bug 3443.
  1635. o Major features (IPv6):
  1636. - Relays can now exit to IPv6 addresses: make sure that you have IPv6
  1637. connectivity, then set the IPv6Exit flag to 1. Also make sure your
  1638. exit policy reads as you would like: the address * applies to all
  1639. address families, whereas *4 is IPv4 address only, and *6 is IPv6
  1640. addresses only. On the client side, you'll need to wait until the
  1641. authorities have upgraded, wait for enough exits to support IPv6,
  1642. apply the "IPv6Traffic" flag to a SocksPort, and use Socks5. Closes
  1643. ticket 5547, implements proposal 117 as revised in proposal 208.
  1644. We DO NOT recommend that clients with actual anonymity needs start
  1645. using IPv6 over Tor yet, since not enough exits support it yet.
  1646. o Major features (geoip database):
  1647. - Maxmind began labelling Tor relays as being in country "A1",
  1648. which breaks by-country node selection inside Tor. Now we use a
  1649. script to replace "A1" ("Anonymous Proxy") entries in our geoip
  1650. file with real country codes. This script fixes about 90% of "A1"
  1651. entries automatically and uses manual country code assignments to
  1652. fix the remaining 10%. See src/config/README.geoip for details.
  1653. Fixes bug 6266. Also update to the December 5 2012 Maxmind GeoLite
  1654. Country database, as modified above.
  1655. o Major bugfixes (client-side DNS):
  1656. - Turn off the client-side DNS cache by default. Updating and using
  1657. the DNS cache is now configurable on a per-client-port
  1658. level. SOCKSPort, DNSPort, etc lines may now contain
  1659. {No,}Cache{IPv4,IPv6,}DNS lines to indicate that we shouldn't
  1660. cache these types of DNS answers when we receive them from an
  1661. exit node in response to an application request on this port, and
  1662. {No,}UseCached{IPv4,IPv6,DNS} lines to indicate that if we have
  1663. cached DNS answers of these types, we shouldn't use them. It's
  1664. potentially risky to use cached DNS answers at the client, since
  1665. doing so can indicate to one exit what answers we've gotten
  1666. for DNS lookups in the past. With IPv6, this becomes especially
  1667. problematic. Using cached DNS answers for requests on the same
  1668. circuit would present less linkability risk, since all traffic
  1669. on a circuit is already linkable, but it would also provide
  1670. little performance benefit: the exit node caches DNS replies
  1671. too. Implements a simplified version of Proposal 205. Implements
  1672. ticket 7570.
  1673. o Major bugfixes (other):
  1674. - Alter circuit build timeout measurement to start at the point
  1675. where we begin the CREATE/CREATE_FAST step (as opposed to circuit
  1676. initialization). This should make our timeout measurements more
  1677. uniform. Previously, we were sometimes including ORconn setup time
  1678. in our circuit build time measurements. Should resolve bug 3443.
  1679. - Fix an assertion that could trigger in hibernate_go_dormant() when
  1680. closing an or_connection_t: call channel_mark_for_close() rather
  1681. than connection_mark_for_close(). Fixes bug 7267. Bugfix on
  1682. 0.2.4.4-alpha.
  1683. - Include the geoip6 IPv6 GeoIP database in the tarball. Fixes bug
  1684. 7655; bugfix on 0.2.4.6-alpha.
  1685. o Minor features:
  1686. - Add a new torrc option "ServerTransportListenAddr" to let bridge
  1687. operators select the address where their pluggable transports will
  1688. listen for connections. Resolves ticket 7013.
  1689. - Allow an optional $ before the node identity digest in the
  1690. controller command GETINFO ns/id/<identity>, for consistency with
  1691. md/id/<identity> and desc/id/<identity>. Resolves ticket 7059.
  1692. - Log packaged cell fullness as part of the heartbeat message.
  1693. Diagnosis to try to determine the extent of bug 7743.
  1694. o Minor features (IPv6):
  1695. - AutomapHostsOnResolve now supports IPv6 addresses. By default, we
  1696. prefer to hand out virtual IPv6 addresses, since there are more of
  1697. them and we can't run out. To override this behavior and make IPv4
  1698. addresses preferred, set NoPreferIPv6Automap on whatever SOCKSPort
  1699. or DNSPort you're using for resolving. Implements ticket 7571.
  1700. - AutomapHostsOnResolve responses are now randomized, to avoid
  1701. annoying situations where Tor is restarted and applications
  1702. connect to the wrong addresses.
  1703. - Never try more than 1000 times to pick a new virtual address when
  1704. AutomapHostsOnResolve is set. That's good enough so long as we
  1705. aren't close to handing out our entire virtual address space;
  1706. if you're getting there, it's best to switch to IPv6 virtual
  1707. addresses anyway.
  1708. o Minor bugfixes:
  1709. - The ADDRMAP command can no longer generate an ill-formed error
  1710. code on a failed MAPADDRESS. It now says "internal" rather than
  1711. an English sentence fragment with spaces in the middle. Bugfix on
  1712. Tor 0.2.0.19-alpha.
  1713. - Fix log messages and comments to avoid saying "GMT" when we mean
  1714. "UTC". Fixes bug 6113.
  1715. - Compile on win64 using mingw64. Fixes bug 7260; patches from
  1716. "yayooo".
  1717. - Fix a crash when debugging unit tests on Windows: deallocate a
  1718. shared library with FreeLibrary, not CloseHandle. Fixes bug 7306;
  1719. bugfix on 0.2.2.17-alpha. Reported by "ultramage".
  1720. o Renamed options:
  1721. - The DirServer option is now DirAuthority, for consistency with
  1722. current naming patterns. You can still use the old DirServer form.
  1723. o Code simplification and refactoring:
  1724. - Move the client-side address-map/virtual-address/DNS-cache code
  1725. out of connection_edge.c into a new addressmap.c module.
  1726. - Remove unused code for parsing v1 directories and "running routers"
  1727. documents. Fixes bug 6887.
  1728. Changes in version 0.2.3.25 - 2012-11-19
  1729. The Tor 0.2.3 release series is dedicated to the memory of Len "rabbi"
  1730. Sassaman (1980-2011), a long-time cypherpunk, anonymity researcher,
  1731. Mixmaster maintainer, Pynchon Gate co-designer, CodeCon organizer,
  1732. programmer, and friend. Unstinting in his dedication to the cause of
  1733. freedom, he inspired and helped many of us as we began our work on
  1734. anonymity, and inspires us still. Please honor his memory by writing
  1735. software to protect people's freedoms, and by helping others to do so.
  1736. Tor 0.2.3.25, the first stable release in the 0.2.3 branch, features
  1737. significantly reduced directory overhead (via microdescriptors),
  1738. enormous crypto performance improvements for fast relays on new
  1739. enough hardware, a new v3 TLS handshake protocol that can better
  1740. resist fingerprinting, support for protocol obfuscation plugins (aka
  1741. pluggable transports), better scalability for hidden services, IPv6
  1742. support for bridges, performance improvements like allowing clients
  1743. to skip the first round-trip on the circuit ("optimistic data") and
  1744. refilling token buckets more often, a new "stream isolation" design
  1745. to isolate different applications on different circuits, and many
  1746. stability, security, and privacy fixes.
  1747. o Major bugfixes:
  1748. - Tor tries to wipe potentially sensitive data after using it, so
  1749. that if some subsequent security failure exposes Tor's memory,
  1750. the damage will be limited. But we had a bug where the compiler
  1751. was eliminating these wipe operations when it decided that the
  1752. memory was no longer visible to a (correctly running) program,
  1753. hence defeating our attempt at defense in depth. We fix that
  1754. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  1755. is unlikely to optimize away. Future versions of Tor may use
  1756. a less ridiculously heavy approach for this. Fixes bug 7352.
  1757. Reported in an article by Andrey Karpov.
  1758. o Minor bugfixes:
  1759. - Fix a harmless bug when opting against publishing a relay descriptor
  1760. because DisableNetwork is set. Fixes bug 7464; bugfix on
  1761. 0.2.3.9-alpha.
  1762. Changes in version 0.2.4.6-alpha - 2012-11-13
  1763. Tor 0.2.4.6-alpha fixes an assert bug that has been plaguing relays,
  1764. makes our defense-in-depth memory wiping more reliable, and begins to
  1765. count IPv6 addresses in bridge statistics,
  1766. o Major bugfixes:
  1767. - Fix an assertion failure that could occur when closing a connection
  1768. with a spliced rendezvous circuit. Fix for bug 7212; bugfix on
  1769. Tor 0.2.4.4-alpha.
  1770. - Tor tries to wipe potentially sensitive data after using it, so
  1771. that if some subsequent security failure exposes Tor's memory,
  1772. the damage will be limited. But we had a bug where the compiler
  1773. was eliminating these wipe operations when it decided that the
  1774. memory was no longer visible to a (correctly running) program,
  1775. hence defeating our attempt at defense in depth. We fix that
  1776. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  1777. is unlikely to optimize away. Future versions of Tor may use
  1778. a less ridiculously heavy approach for this. Fixes bug 7352.
  1779. Reported in an article by Andrey Karpov.
  1780. o Minor features:
  1781. - Add GeoIP database for IPv6 addresses. The new config option
  1782. is GeoIPv6File.
  1783. - Bridge statistics now count bridge clients connecting over IPv6:
  1784. bridge statistics files now list "bridge-ip-versions" and
  1785. extra-info documents list "geoip6-db-digest". The control protocol
  1786. "CLIENTS_SEEN" and "ip-to-country" queries now support IPv6. Initial
  1787. implementation by "shkoo", addressing ticket 5055.
  1788. o Minor bugfixes:
  1789. - Warn when we are binding low ports when hibernation is enabled;
  1790. previously we had warned when we were _advertising_ low ports with
  1791. hibernation enabled. Fixes bug 7285; bugfix on 0.2.3.9-alpha.
  1792. - Fix a harmless bug when opting against publishing a relay descriptor
  1793. because DisableNetwork is set. Fixes bug 7464; bugfix on
  1794. 0.2.3.9-alpha.
  1795. - Add warning message when a managed proxy dies during configuration.
  1796. Fixes bug 7195; bugfix on 0.2.4.2-alpha.
  1797. - Fix a linking error when building tor-fw-helper without miniupnp.
  1798. Fixes bug 7235; bugfix on 0.2.4.2-alpha. Fix by Anthony G. Basile.
  1799. - Check for closing an or_connection_t without going through correct
  1800. channel functions; emit a warning and then call
  1801. connection_or_close_for_error() so we don't assert as in bugs 7212
  1802. and 7267.
  1803. - Compile correctly on compilers without C99 designated initializer
  1804. support. Fixes bug 7286; bugfix on 0.2.4.4-alpha.
  1805. - Avoid a possible assert that can occur when channel_send_destroy() is
  1806. called on a channel in CHANNEL_STATE_CLOSING, CHANNEL_STATE_CLOSED,
  1807. or CHANNEL_STATE_ERROR when the Tor process is resumed after being
  1808. blocked for a long interval. Fixes bug 7350; bugfix on 0.2.4.4-alpha.
  1809. - Fix a memory leak on failing cases of channel_tls_process_certs_cell.
  1810. Fixes bug 7422; bugfix on 0.2.4.4-alpha.
  1811. o Code simplification and refactoring:
  1812. - Start using OpenBSD's implementation of queue.h, so that we don't
  1813. need to hand-roll our own pointer and list structures whenever we
  1814. need them. (We can't rely on a sys/queue.h, since some operating
  1815. systems don't have them, and the ones that do have them don't all
  1816. present the same extensions.)
  1817. Changes in version 0.2.4.5-alpha - 2012-10-25
  1818. Tor 0.2.4.5-alpha comes hard at the heels of 0.2.4.4-alpha, to fix
  1819. two important security vulnerabilities that could lead to remotely
  1820. triggerable relay crashes, fix a major bug that was preventing clients
  1821. from choosing suitable exit nodes, and refactor some of our code.
  1822. o Major bugfixes (security, also in 0.2.3.24-rc):
  1823. - Fix a group of remotely triggerable assertion failures related to
  1824. incorrect link protocol negotiation. Found, diagnosed, and fixed
  1825. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  1826. 0.2.3.6-alpha.
  1827. - Fix a denial of service attack by which any directory authority
  1828. could crash all the others, or by which a single v2 directory
  1829. authority could crash everybody downloading v2 directory
  1830. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  1831. o Major bugfixes (also in 0.2.3.24-rc):
  1832. - When parsing exit policy summaries from microdescriptors, we had
  1833. previously been ignoring the last character in each one, so that
  1834. "accept 80,443,8080" would be treated by clients as indicating
  1835. a node that allows access to ports 80, 443, and 808. That would
  1836. lead to clients attempting connections that could never work,
  1837. and ignoring exit nodes that would support their connections. Now
  1838. clients parse these exit policy summaries correctly. Fixes bug 7192;
  1839. bugfix on 0.2.3.1-alpha.
  1840. o Minor bugfixes (also in 0.2.3.24-rc):
  1841. - Clients now consider the ClientRejectInternalAddresses config option
  1842. when using a microdescriptor consensus stanza to decide whether
  1843. an exit relay would allow exiting to an internal address. Fixes
  1844. bug 7190; bugfix on 0.2.3.1-alpha.
  1845. o Minor bugfixes:
  1846. - Only disable TLS session ticket support when running as a TLS
  1847. server. Now clients will blend better with regular Firefox
  1848. connections. Fixes bug 7189; bugfix on Tor 0.2.3.23-rc.
  1849. o Code simplification and refactoring:
  1850. - Start using OpenBSD's implementation of queue.h (originally by
  1851. Niels Provos).
  1852. - Move the entry node code from circuitbuild.c to its own file.
  1853. - Move the circuit build timeout tracking code from circuitbuild.c
  1854. to its own file.
  1855. Changes in version 0.2.3.24-rc - 2012-10-25
  1856. Tor 0.2.3.24-rc fixes two important security vulnerabilities that
  1857. could lead to remotely triggerable relay crashes, and fixes
  1858. a major bug that was preventing clients from choosing suitable exit
  1859. nodes.
  1860. o Major bugfixes (security):
  1861. - Fix a group of remotely triggerable assertion failures related to
  1862. incorrect link protocol negotiation. Found, diagnosed, and fixed
  1863. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  1864. 0.2.3.6-alpha.
  1865. - Fix a denial of service attack by which any directory authority
  1866. could crash all the others, or by which a single v2 directory
  1867. authority could crash everybody downloading v2 directory
  1868. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  1869. o Major bugfixes:
  1870. - When parsing exit policy summaries from microdescriptors, we had
  1871. previously been ignoring the last character in each one, so that
  1872. "accept 80,443,8080" would be treated by clients as indicating
  1873. a node that allows access to ports 80, 443, and 808. That would
  1874. lead to clients attempting connections that could never work,
  1875. and ignoring exit nodes that would support their connections. Now
  1876. clients parse these exit policy summaries correctly. Fixes bug 7192;
  1877. bugfix on 0.2.3.1-alpha.
  1878. o Minor bugfixes:
  1879. - Clients now consider the ClientRejectInternalAddresses config option
  1880. when using a microdescriptor consensus stanza to decide whether
  1881. an exit relay would allow exiting to an internal address. Fixes
  1882. bug 7190; bugfix on 0.2.3.1-alpha.
  1883. Changes in version 0.2.4.4-alpha - 2012-10-20
  1884. Tor 0.2.4.4-alpha adds a new v3 directory authority, fixes a privacy
  1885. vulnerability introduced by a change in OpenSSL, fixes a remotely
  1886. triggerable assert, and adds new channel_t and circuitmux_t abstractions
  1887. that will make it easier to test new connection transport and cell
  1888. scheduling algorithms.
  1889. o New directory authorities (also in 0.2.3.23-rc):
  1890. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  1891. authority. Closes ticket 5749.
  1892. o Major bugfixes (security/privacy, also in 0.2.3.23-rc):
  1893. - Disable TLS session tickets. OpenSSL's implementation was giving
  1894. our TLS session keys the lifetime of our TLS context objects, when
  1895. perfect forward secrecy would want us to discard anything that
  1896. could decrypt a link connection as soon as the link connection
  1897. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  1898. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  1899. - Discard extraneous renegotiation attempts once the V3 link
  1900. protocol has been initiated. Failure to do so left us open to
  1901. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  1902. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  1903. o Internal abstraction features:
  1904. - Introduce new channel_t abstraction between circuits and
  1905. or_connection_t to allow for implementing alternate OR-to-OR
  1906. transports. A channel_t is an abstract object which can either be a
  1907. cell-bearing channel, which is responsible for authenticating and
  1908. handshaking with the remote OR and transmitting cells to and from
  1909. it, or a listening channel, which spawns new cell-bearing channels
  1910. at the request of remote ORs. Implements part of ticket 6465.
  1911. - Also new is the channel_tls_t subclass of channel_t, adapting it
  1912. to the existing or_connection_t code. The V2/V3 protocol handshaking
  1913. code which formerly resided in command.c has been moved below the
  1914. channel_t abstraction layer and may be found in channeltls.c now.
  1915. Implements the rest of ticket 6465.
  1916. - Introduce new circuitmux_t storing the queue of circuits for
  1917. a channel; this encapsulates and abstracts the queue logic and
  1918. circuit selection policy, and allows the latter to be overridden
  1919. easily by switching out a policy object. The existing EWMA behavior
  1920. is now implemented as a circuitmux_policy_t. Resolves ticket 6816.
  1921. o Required libraries:
  1922. - Tor now requires OpenSSL 0.9.8 or later. OpenSSL 1.0.0 or later is
  1923. strongly recommended.
  1924. o Minor features:
  1925. - Warn users who run hidden services on a Tor client with
  1926. UseEntryGuards disabled that their hidden services will be
  1927. vulnerable to http://freehaven.net/anonbib/#hs-attack06 (the
  1928. attack which motivated Tor to support entry guards in the first
  1929. place). Resolves ticket 6889.
  1930. - Tor now builds correctly on Bitrig, an OpenBSD fork. Patch from
  1931. dhill. Resolves ticket 6982.
  1932. - Option OutboundBindAddress can be specified multiple times and
  1933. accepts IPv6 addresses. Resolves ticket 6876.
  1934. o Minor bugfixes (also in 0.2.3.23-rc):
  1935. - Don't serve or accept v2 hidden service descriptors over a
  1936. relay's DirPort. It's never correct to do so, and disabling it
  1937. might make it more annoying to exploit any bugs that turn up in the
  1938. descriptor-parsing code. Fixes bug 7149.
  1939. - Fix two cases in src/or/transports.c where we were calling
  1940. fmt_addr() twice in a parameter list. Bug found by David
  1941. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  1942. - Fix memory leaks whenever we logged any message about the "path
  1943. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  1944. - When relays refuse a "create" cell because their queue of pending
  1945. create cells is too big (typically because their cpu can't keep up
  1946. with the arrival rate), send back reason "resource limit" rather
  1947. than reason "internal", so network measurement scripts can get a
  1948. more accurate picture. Fixes bug 7037; bugfix on 0.1.1.11-alpha.
  1949. o Minor bugfixes:
  1950. - Command-line option "--version" implies "--quiet". Fixes bug 6997.
  1951. - Free some more still-in-use memory at exit, to make hunting for
  1952. memory leaks easier. Resolves bug 7029.
  1953. - When a Tor client gets a "truncated" relay cell, the first byte of
  1954. its payload specifies why the circuit was truncated. We were
  1955. ignoring this 'reason' byte when tearing down the circuit, resulting
  1956. in the controller not being told why the circuit closed. Now we
  1957. pass the reason from the truncated cell to the controller. Bugfix
  1958. on 0.1.2.3-alpha; fixes bug 7039.
  1959. - Downgrade "Failed to hand off onionskin" messages to "debug"
  1960. severity, since they're typically redundant with the "Your computer
  1961. is too slow" messages. Fixes bug 7038; bugfix on 0.2.2.16-alpha.
  1962. - Make clients running with IPv6 bridges connect over IPv6 again,
  1963. even without setting new config options ClientUseIPv6 and
  1964. ClientPreferIPv6ORPort. Fixes bug 6757; bugfix on 0.2.4.1-alpha.
  1965. - Use square brackets around IPv6 addresses in numerous places
  1966. that needed them, including log messages, HTTPS CONNECT proxy
  1967. requests, TransportProxy statefile entries, and pluggable transport
  1968. extra-info lines. Fixes bug 7011; patch by David Fifield.
  1969. o Code refactoring and cleanup:
  1970. - Source files taken from other packages now reside in src/ext;
  1971. previously they were scattered around the rest of Tor.
  1972. - Avoid use of reserved identifiers in our C code. The C standard
  1973. doesn't like us declaring anything that starts with an
  1974. underscore, so let's knock it off before we get in trouble. Fix
  1975. for bug 1031; bugfix on the first Tor commit.
  1976. Changes in version 0.2.3.23-rc - 2012-10-20
  1977. Tor 0.2.3.23-rc adds a new v3 directory authority, fixes a privacy
  1978. vulnerability introduced by a change in OpenSSL, and fixes a variety
  1979. of smaller bugs in preparation for the release.
  1980. o New directory authorities:
  1981. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  1982. authority. Closes ticket 5749.
  1983. o Major bugfixes (security/privacy):
  1984. - Disable TLS session tickets. OpenSSL's implementation was giving
  1985. our TLS session keys the lifetime of our TLS context objects, when
  1986. perfect forward secrecy would want us to discard anything that
  1987. could decrypt a link connection as soon as the link connection
  1988. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  1989. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  1990. - Discard extraneous renegotiation attempts once the V3 link
  1991. protocol has been initiated. Failure to do so left us open to
  1992. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  1993. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  1994. o Major bugfixes:
  1995. - Fix a possible crash bug when checking for deactivated circuits
  1996. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  1997. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  1998. o Minor bugfixes (on 0.2.3.x):
  1999. - Fix two cases in src/or/transports.c where we were calling
  2000. fmt_addr() twice in a parameter list. Bug found by David
  2001. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  2002. - Convert an assert in the pathbias code to a log message. The assert
  2003. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  2004. bugfix on 0.2.3.17-beta.
  2005. - Fix memory leaks whenever we logged any message about the "path
  2006. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  2007. o Minor bugfixes (on 0.2.2.x and earlier):
  2008. - Don't serve or accept v2 hidden service descriptors over a relay's
  2009. DirPort. It's never correct to do so, and disabling it might
  2010. make it more annoying to exploit any bugs that turn up in the
  2011. descriptor-parsing code. Fixes bug 7149.
  2012. - When relays refuse a "create" cell because their queue of pending
  2013. create cells is too big (typically because their cpu can't keep up
  2014. with the arrival rate), send back reason "resource limit" rather
  2015. than reason "internal", so network measurement scripts can get a
  2016. more accurate picture. Bugfix on 0.1.1.11-alpha; fixes bug 7037.
  2017. - Correct file sizes when reading binary files on Cygwin, to avoid
  2018. a bug where Tor would fail to read its state file. Fixes bug 6844;
  2019. bugfix on 0.1.2.7-alpha.
  2020. - Avoid undefined behaviour when parsing the list of supported
  2021. rendezvous/introduction protocols in a hidden service descriptor.
  2022. Previously, Tor would have confused (as-yet-unused) protocol version
  2023. numbers greater than 32 with lower ones on many platforms. Fixes
  2024. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  2025. o Documentation fixes:
  2026. - Clarify that hidden services are TCP only. Fixes bug 6024.
  2027. Changes in version 0.2.4.3-alpha - 2012-09-22
  2028. Tor 0.2.4.3-alpha fixes another opportunity for a remotely triggerable
  2029. assertion, resumes letting relays test reachability of their DirPort,
  2030. and cleans up a bunch of smaller bugs.
  2031. o Security fixes:
  2032. - Fix an assertion failure in tor_timegm() that could be triggered
  2033. by a badly formatted directory object. Bug found by fuzzing with
  2034. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  2035. o Major bugfixes:
  2036. - Fix a possible crash bug when checking for deactivated circuits
  2037. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  2038. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  2039. - Allow routers to detect that their own DirPorts are running. When
  2040. we removed support for versions_supports_begindir, we also
  2041. accidentally removed the mechanism we used to self-test our
  2042. DirPort. Diagnosed with help from kargig. Fixes bugs 6814 and 6815;
  2043. bugfix on 0.2.4.2-alpha.
  2044. o Security features:
  2045. - Switch to a completely time-invariant approach for picking nodes
  2046. weighted by bandwidth. Our old approach would run through the
  2047. part of the loop after it had made its choice slightly slower
  2048. than it ran through the part of the loop before it had made its
  2049. choice. Addresses ticket 6538.
  2050. - Disable the use of Guard nodes when in Tor2WebMode. Guard usage
  2051. by tor2web clients allows hidden services to identify tor2web
  2052. clients through their repeated selection of the same rendezvous
  2053. and introduction point circuit endpoints (their guards). Resolves
  2054. ticket 6888.
  2055. o Minor features:
  2056. - Enable Tor to read configuration, state, and key information from
  2057. a FIFO. Previously Tor would only read from files with a positive
  2058. stat.st_size. Code from meejah; fixes bug 6044.
  2059. o Minor bugfixes:
  2060. - Correct file sizes when reading binary files on Cygwin, to avoid
  2061. a bug where Tor would fail to read its state file. Fixes bug 6844;
  2062. bugfix on 0.1.2.7-alpha.
  2063. - Correctly handle votes with more than 31 flags. Fixes bug 6853;
  2064. bugfix on 0.2.0.3-alpha.
  2065. - When complaining about a client port on a public address, log
  2066. which address we're complaining about. Fixes bug 4020; bugfix on
  2067. 0.2.3.3-alpha. Patch by Tom Fitzhenry.
  2068. - Convert an assert in the pathbias code to a log message. The assert
  2069. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  2070. bugfix on 0.2.3.17-beta.
  2071. - Our new buildsystem was overzealous about rebuilding manpages: it
  2072. would rebuild them all whenever any one of them changed. Now our
  2073. dependency checking should be correct. Fixes bug 6843; bugfix on
  2074. 0.2.4.1-alpha.
  2075. - Don't do reachability testing over IPv6 unless AuthDirPublishIPv6
  2076. is set. Fixes bug 6880. Bugfix on 0.2.4.1-alpha.
  2077. - Correct log printout about which address family is preferred
  2078. when connecting to a bridge with both an IPv4 and IPv6 OR port.
  2079. Fixes bug 6884; bugfix on 0.2.4.1-alpha.
  2080. o Minor bugfixes (code cleanliness):
  2081. - Fix round_to_power_of_2() so it doesn't invoke undefined behavior
  2082. with large values. This situation was untriggered, but nevertheless
  2083. incorrect. Fixes bug 6831; bugfix on 0.2.0.1-alpha.
  2084. - Reject consensus votes with more than 64 known-flags. We aren't even
  2085. close to that limit yet, and our code doesn't handle it correctly.
  2086. Fixes bug 6833; bugfix on 0.2.0.1-alpha.
  2087. - Avoid undefined behaviour when parsing the list of supported
  2088. rendezvous/introduction protocols in a hidden service descriptor.
  2089. Previously, Tor would have confused (as-yet-unused) protocol version
  2090. numbers greater than 32 with lower ones on many platforms. Fixes
  2091. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  2092. - Fix handling of rendezvous client authorization types over 8.
  2093. Fixes bug 6861; bugfix on 0.2.1.5-alpha.
  2094. - Fix building with older versions of GCC (2.95, for one) that don't
  2095. like preprocessor directives inside macro arguments. Found by
  2096. grarpamp. Fixes bug 6842; bugfix on 0.2.4.2-alpha.
  2097. - Switch weighted node selection rule from using a list of doubles
  2098. to using a list of int64_t. This change should make the process
  2099. slightly easier to debug and maintain. Needed to finish ticket 6538.
  2100. o Code simplification and refactoring:
  2101. - Move the generic "config" code into a new file, and have "config.c"
  2102. hold only torrc- and state-related code. Resolves ticket 6823.
  2103. - Move the core of our "choose a weighted element at random" logic
  2104. into its own function, and give it unit tests. Now the logic is
  2105. testable, and a little less fragile too.
  2106. - Removed the testing_since field of node_t, which hasn't been used
  2107. for anything since 0.2.0.9-alpha.
  2108. o Documentation fixes:
  2109. - Clarify that hidden services are TCP only. Fixes bug 6024.
  2110. - Resolve a typo in torrc.sample.in. Fixes bug 6819; bugfix on
  2111. 0.2.3.14-alpha.
  2112. Changes in version 0.2.3.22-rc - 2012-09-11
  2113. Tor 0.2.3.22-rc fixes another opportunity for a remotely triggerable
  2114. assertion.
  2115. o Security fixes:
  2116. - Fix an assertion failure in tor_timegm() that could be triggered
  2117. by a badly formatted directory object. Bug found by fuzzing with
  2118. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  2119. o Minor bugfixes:
  2120. - Avoid segfault when starting up having run with an extremely old
  2121. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  2122. on 0.2.2.23-alpha.
  2123. Changes in version 0.2.2.39 - 2012-09-11
  2124. Tor 0.2.2.39 fixes two more opportunities for remotely triggerable
  2125. assertions.
  2126. o Security fixes:
  2127. - Fix an assertion failure in tor_timegm() that could be triggered
  2128. by a badly formatted directory object. Bug found by fuzzing with
  2129. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  2130. - Do not crash when comparing an address with port value 0 to an
  2131. address policy. This bug could have been used to cause a remote
  2132. assertion failure by or against directory authorities, or to
  2133. allow some applications to crash clients. Fixes bug 6690; bugfix
  2134. on 0.2.1.10-alpha.
  2135. Changes in version 0.2.4.2-alpha - 2012-09-10
  2136. Tor 0.2.4.2-alpha enables port forwarding for pluggable transports,
  2137. raises the default rate limiting even more, and makes the bootstrapping
  2138. log messages less noisy.
  2139. o Major features:
  2140. - Automatically forward the TCP ports of pluggable transport
  2141. proxies using tor-fw-helper if PortForwarding is enabled. Implements
  2142. ticket 4567.
  2143. o Major bugfixes:
  2144. - Raise the default BandwidthRate/BandwidthBurst values from 5MB/10MB
  2145. to 1GB/1GB. The previous defaults were intended to be "basically
  2146. infinite", but it turns out they're now limiting our 100mbit+
  2147. relays and bridges. Fixes bug 6605; bugfix on 0.2.0.10-alpha (the
  2148. last time we raised it).
  2149. o Minor features:
  2150. - Detect when we're running with a version of OpenSSL other than the
  2151. one we compiled with. This has occasionally given people hard-to-
  2152. track-down errors.
  2153. - Log fewer lines at level "notice" about our OpenSSL and Libevent
  2154. versions and capabilities when everything is going right. Resolves
  2155. part of ticket 6736.
  2156. - Directory authorities no long accept descriptors for any version of
  2157. Tor before 0.2.2.35, or for any 0.2.3 release before 0.2.3.10-alpha.
  2158. These versions are insecure, unsupported, or both. Implements
  2159. ticket 6789.
  2160. o Minor bugfixes:
  2161. - Rename the (internal-use-only) UsingTestingNetworkDefaults option
  2162. to start with a triple-underscore so the controller won't touch it.
  2163. Patch by Meejah. Fixes bug 3155. Bugfix on 0.2.2.23-alpha.
  2164. - Avoid segfault when starting up having run with an extremely old
  2165. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  2166. on 0.2.2.23-alpha.
  2167. - Rename the (testing-use-only) _UseFilteringSSLBufferevents option
  2168. so it doesn't start with _. Fixes bug 3155. Bugfix on 0.2.3.1-alpha.
  2169. - Don't follow the NULL pointer if microdescriptor generation fails.
  2170. (This does not appear to be triggerable, but it's best to be safe.)
  2171. Found by "f. tp.". Fixes bug 6797; bugfix on 0.2.4.1-alpha.
  2172. - Fix mis-declared dependencies on src/common/crypto.c and
  2173. src/or/tor_main.c that could break out-of-tree builds under some
  2174. circumstances. Fixes bug 6778; bugfix on 0.2.4.1-alpha.
  2175. - Avoid a warning when building common_sha1.i out of tree. Fixes bug
  2176. 6778; bugfix on 0.2.4.1-alpha.
  2177. - Fix a harmless (in this case) build warning for implicitly
  2178. converting a strlen() to an int. Bugfix on 0.2.4.1-alpha.
  2179. o Removed features:
  2180. - Now that all versions before 0.2.2.x are disallowed, we no longer
  2181. need to work around their missing features. Thus we can remove a
  2182. bunch of compatibility code.
  2183. o Code refactoring:
  2184. - Tweak tor-fw-helper to accept an arbitrary amount of arbitrary
  2185. TCP ports to forward. In the past it only accepted two ports:
  2186. the ORPort and the DirPort.
  2187. Changes in version 0.2.4.1-alpha - 2012-09-05
  2188. Tor 0.2.4.1-alpha lets bridges publish their pluggable transports to
  2189. bridgedb; lets relays use IPv6 addresses and directory authorities
  2190. advertise them; and switches to a cleaner build interface.
  2191. This is the first alpha release in a new series, so expect there to
  2192. be bugs. Users who would rather test out a more stable branch should
  2193. stay with 0.2.3.x for now.
  2194. o Major features (bridges):
  2195. - Bridges now report the pluggable transports they support to the
  2196. bridge authority, so it can pass the supported transports on to
  2197. bridgedb and/or eventually do reachability testing. Implements
  2198. ticket 3589.
  2199. o Major features (IPv6):
  2200. - Bridge authorities now accept IPv6 bridge addresses and include
  2201. them in network status documents. Implements ticket 5534.
  2202. - Clients who set "ClientUseIPv6 1" may connect to entry nodes over
  2203. IPv6. Set "ClientPreferIPv6ORPort 1" to make this even more likely
  2204. to happen. Implements ticket 5535.
  2205. - All kind of relays, not just bridges, can now advertise an IPv6
  2206. OR port. Implements ticket 6362.
  2207. - Directory authorities vote on IPv6 OR ports using the new consensus
  2208. method 14. Implements ticket 6363.
  2209. o Major features (build):
  2210. - Switch to a nonrecursive Makefile structure. Now instead of each
  2211. Makefile.am invoking other Makefile.am's, there is a master
  2212. Makefile.am that includes the others. This change makes our build
  2213. process slightly more maintainable, and improves parallelism for
  2214. building with make -j. Original patch by Stewart Smith; various
  2215. fixes by Jim Meyering.
  2216. - Where available, we now use automake's "silent" make rules by
  2217. default, so that warnings are easier to spot. You can get the old
  2218. behavior with "make V=1". Patch by Stewart Smith for ticket 6522.
  2219. o Minor features (code security and spec conformance):
  2220. - Clear keys and key-derived material left on the stack in
  2221. rendservice.c and rendclient.c. Check return value of
  2222. crypto_pk_write_private_key_to_string() in rend_service_load_keys().
  2223. These fixes should make us more forward-secure against cold-boot
  2224. attacks and the like. Fixes bug 2385.
  2225. - Reject EXTEND cells sent to nonexistent streams. According to the
  2226. spec, an EXTEND cell sent to _any_ nonzero stream ID is invalid, but
  2227. we were only checking for stream IDs that were currently in use.
  2228. Found while hunting for more instances of bug 6271. Bugfix on
  2229. 0.0.2pre8, which introduced incremental circuit construction.
  2230. o Minor features (streamlining);
  2231. - No longer include the "opt" prefix when generating routerinfos
  2232. or v2 directories: it has been needless since Tor 0.1.2. Closes
  2233. ticket 5124.
  2234. - Remove some now-needless code that tried to aggressively flush
  2235. OR connections as data was added to them. Since 0.2.0.1-alpha, our
  2236. cell queue logic has saved us from the failure mode that this code
  2237. was supposed to prevent. Removing this code will limit the number
  2238. of baroque control flow paths through Tor's network logic. Reported
  2239. pseudonymously on IRC. Fixes bug 6468; bugfix on 0.2.0.1-alpha.
  2240. o Minor features (controller):
  2241. - Add a "GETINFO signal/names" control port command. Implements
  2242. ticket 3842.
  2243. - Provide default values for all options via "GETINFO config/defaults".
  2244. Implements ticket 4971.
  2245. o Minor features (IPv6):
  2246. - New config option "AuthDirHasIPv6Connectivity 1" that directory
  2247. authorities should set if they have IPv6 connectivity and want to
  2248. do reachability tests for IPv6 relays. Implements feature 5974.
  2249. - A relay with an IPv6 OR port now sends that address in NETINFO
  2250. cells (in addition to its other address). Implements ticket 6364.
  2251. o Minor features (log messages):
  2252. - Omit the first heartbeat log message, because it never has anything
  2253. useful to say, and it clutters up the bootstrapping messages.
  2254. Resolves ticket 6758.
  2255. - Don't log about reloading the microdescriptor cache at startup. Our
  2256. bootstrap warnings are supposed to tell the user when there's a
  2257. problem, and our bootstrap notices say when there isn't. Resolves
  2258. ticket 6759; bugfix on 0.2.2.6-alpha.
  2259. - Don't log "I learned some more directory information" when we're
  2260. reading cached directory information. Reserve it for when new
  2261. directory information arrives in response to a fetch. Resolves
  2262. ticket 6760.
  2263. - Prevent rounding error in path bias counts when scaling
  2264. them down, and use the correct scale factor default. Also demote
  2265. some path bias related log messages down a level and make others
  2266. less scary sounding. Fixes bug 6647. Bugfix against 0.2.3.17-beta.
  2267. - We no longer warn so much when generating manpages from their
  2268. asciidoc source.
  2269. o Code simplifications and refactoring:
  2270. - Enhance our internal sscanf replacement so that we can eliminate
  2271. the last remaining uses of the system sscanf. (Though those uses
  2272. of sscanf were safe, sscanf itself is generally error prone, so
  2273. we want to eliminate when we can.) Fixes ticket 4195 and Coverity
  2274. CID 448.
  2275. - Move ipv6_preferred from routerinfo_t to node_t. Addresses bug 4620.
  2276. - Move last_reachable and testing_since from routerinfo_t to node_t.
  2277. Implements ticket 5529.
  2278. - Add replaycache_t structure, functions and unit tests, then refactor
  2279. rend_service_introduce() to be more clear to read, improve, debug,
  2280. and test. Resolves bug 6177.
  2281. - Finally remove support for malloc_good_size and malloc_usable_size.
  2282. We had hoped that these functions would let us eke a little more
  2283. memory out of our malloc implementation. Unfortunately, the only
  2284. implementations that provided these functions are also ones that
  2285. are already efficient about not overallocation: they never got us
  2286. more than 7 or so bytes per allocation. Removing them saves us a
  2287. little code complexity and a nontrivial amount of build complexity.
  2288. o New requirements:
  2289. - Tor maintainers now require Automake version 1.9 or later to build
  2290. Tor from the Git repository. (Automake is not required when building
  2291. from a source distribution.)
  2292. Changes in version 0.2.3.21-rc - 2012-09-05
  2293. Tor 0.2.3.21-rc is the fourth release candidate for the Tor 0.2.3.x
  2294. series. It fixes a trio of potential security bugs, fixes a bug where
  2295. we were leaving some of the fast relays out of the microdescriptor
  2296. consensus, resumes interpreting "ORPort 0" and "DirPort 0" correctly,
  2297. and cleans up other smaller issues.
  2298. o Major bugfixes (security):
  2299. - Tear down the circuit if we get an unexpected SENDME cell. Clients
  2300. could use this trick to make their circuits receive cells faster
  2301. than our flow control would have allowed, or to gum up the network,
  2302. or possibly to do targeted memory denial-of-service attacks on
  2303. entry nodes. Fixes bug 6252. Bugfix on the 54th commit on Tor --
  2304. from July 2002, before the release of Tor 0.0.0. We had committed
  2305. this patch previously, but we had to revert it because of bug 6271.
  2306. Now that 6271 is fixed, this patch appears to work.
  2307. - Reject any attempt to extend to an internal address. Without
  2308. this fix, a router could be used to probe addresses on an internal
  2309. network to see whether they were accepting connections. Fixes bug
  2310. 6710; bugfix on 0.0.8pre1.
  2311. - Do not crash when comparing an address with port value 0 to an
  2312. address policy. This bug could have been used to cause a remote
  2313. assertion failure by or against directory authorities, or to
  2314. allow some applications to crash clients. Fixes bug 6690; bugfix
  2315. on 0.2.1.10-alpha.
  2316. o Major bugfixes:
  2317. - Remove the upper bound on microdescriptor length. We were hitting
  2318. the limit for routers with complex exit policies or family
  2319. declarations, causing clients to not use them. Fixes the first
  2320. piece of bug 6404; fix on 0.2.2.6-alpha.
  2321. - Detect "ORPort 0" as meaning, uniformly, that we're not running
  2322. as a relay. Previously, some of our code would treat the presence
  2323. of any ORPort line as meaning that we should act like a relay,
  2324. even though our new listener code would correctly not open any
  2325. ORPorts for ORPort 0. Similar bugs in other Port options are also
  2326. fixed. Fixes the first half of bug 6507; bugfix on 0.2.3.3-alpha.
  2327. o Minor bugfixes:
  2328. - Avoid a pair of double-free and use-after-mark bugs that can
  2329. occur with certain timings in canceled and re-received DNS
  2330. requests. Fixes bug 6472; bugfix on 0.0.7rc1.
  2331. - Fix build and 64-bit compile warnings from --enable-openbsd-malloc.
  2332. Fixes bug 6379. Bugfix on 0.2.0.20-rc.
  2333. - Allow one-hop directory fetching circuits the full "circuit build
  2334. timeout" period, rather than just half of it, before failing them
  2335. and marking the relay down. This fix should help reduce cases where
  2336. clients declare relays (or worse, bridges) unreachable because
  2337. the TLS handshake takes a few seconds to complete. Fixes bug 6743;
  2338. bugfix on 0.2.2.2-alpha, where we changed the timeout from a static
  2339. 30 seconds.
  2340. - Authorities no longer include any router in their microdescriptor
  2341. consensuses for which they couldn't generate or agree on a
  2342. microdescriptor. Fixes the second piece of bug 6404; fix on
  2343. 0.2.2.6-alpha.
  2344. - Detect and reject attempts to specify both "FooPort" and
  2345. "FooPort 0" in the same configuration domain. (It's still okay
  2346. to have a FooPort in your configuration file, and use "FooPort 0"
  2347. on the command line to disable it.) Fixes the second half of bug
  2348. 6507; bugfix on 0.2.3.3-alpha.
  2349. - Make wildcarded addresses (that is, ones beginning with "*.") work
  2350. when provided via the controller's MapAddress command. Previously,
  2351. they were accepted, but we never actually noticed that they were
  2352. wildcards. Fixes bug 6244; bugfix on 0.2.3.9-alpha.
  2353. - Avoid crashing on a malformed state file where EntryGuardPathBias
  2354. precedes EntryGuard. Fix for bug 6774; bugfix on 0.2.3.17-beta.
  2355. - Add a (probably redundant) memory clear between iterations of
  2356. the router status voting loop, to prevent future coding errors
  2357. where data might leak between iterations of the loop. Resolves
  2358. ticket 6514.
  2359. o Minor bugfixes (log messages):
  2360. - Downgrade "set buildtimeout to low value" messages to "info"
  2361. severity; they were never an actual problem, there was never
  2362. anything reasonable to do about them, and they tended to spam logs
  2363. from time to time. Fixes bug 6251; bugfix on 0.2.2.2-alpha.
  2364. - Downgrade path-bias warning messages to "info". We'll try to get
  2365. them working better in 0.2.4. Add internal circuit construction
  2366. state to protect against the noisy warn message "Unexpectedly high
  2367. circuit_successes". Also add some additional rate-limited notice
  2368. messages to help determine the root cause of the warn. Fixes bug
  2369. 6475. Bugfix against 0.2.3.17-beta.
  2370. - Move log message when unable to find a microdesc in a routerstatus
  2371. entry to parse time. Previously we'd spam this warning every time
  2372. we tried to figure out which microdescriptors to download. Fixes
  2373. the third piece of bug 6404; fix on 0.2.3.18-rc.
  2374. o Minor features:
  2375. - Consider new, removed or changed IPv6 OR ports a non-cosmetic
  2376. change when the authority is deciding whether to accept a newly
  2377. uploaded descriptor. Implements ticket 6423.
  2378. - Add missing documentation for consensus and microdesc files.
  2379. Resolves ticket 6732.
  2380. Changes in version 0.2.2.38 - 2012-08-12
  2381. Tor 0.2.2.38 fixes a remotely triggerable crash bug, and fixes a timing
  2382. attack that could in theory leak path information.
  2383. o Security fixes:
  2384. - Avoid an uninitialized memory read when reading a vote or consensus
  2385. document that has an unrecognized flavor name. This read could
  2386. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  2387. - Try to leak less information about what relays a client is
  2388. choosing to a side-channel attacker. Previously, a Tor client would
  2389. stop iterating through the list of available relays as soon as it
  2390. had chosen one, thus finishing a little earlier when it picked
  2391. a router earlier in the list. If an attacker can recover this
  2392. timing information (nontrivial but not proven to be impossible),
  2393. they could learn some coarse-grained information about which relays
  2394. a client was picking (middle nodes in particular are likelier to
  2395. be affected than exits). The timing attack might be mitigated by
  2396. other factors (see bug 6537 for some discussion), but it's best
  2397. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  2398. Changes in version 0.2.3.20-rc - 2012-08-05
  2399. Tor 0.2.3.20-rc is the third release candidate for the Tor 0.2.3.x
  2400. series. It fixes a pair of code security bugs and a potential anonymity
  2401. issue, updates our RPM spec files, and cleans up other smaller issues.
  2402. o Security fixes:
  2403. - Avoid read-from-freed-memory and double-free bugs that could occur
  2404. when a DNS request fails while launching it. Fixes bug 6480;
  2405. bugfix on 0.2.0.1-alpha.
  2406. - Avoid an uninitialized memory read when reading a vote or consensus
  2407. document that has an unrecognized flavor name. This read could
  2408. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  2409. - Try to leak less information about what relays a client is
  2410. choosing to a side-channel attacker. Previously, a Tor client would
  2411. stop iterating through the list of available relays as soon as it
  2412. had chosen one, thus finishing a little earlier when it picked
  2413. a router earlier in the list. If an attacker can recover this
  2414. timing information (nontrivial but not proven to be impossible),
  2415. they could learn some coarse-grained information about which relays
  2416. a client was picking (middle nodes in particular are likelier to
  2417. be affected than exits). The timing attack might be mitigated by
  2418. other factors (see bug 6537 for some discussion), but it's best
  2419. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  2420. o Minor features:
  2421. - Try to make the warning when giving an obsolete SOCKSListenAddress
  2422. a little more useful.
  2423. - Terminate active server managed proxies if Tor stops being a
  2424. relay. Addresses parts of bug 6274; bugfix on 0.2.3.6-alpha.
  2425. - Provide a better error message about possible OSX Asciidoc failure
  2426. reasons. Fixes bug 6436.
  2427. - Warn when Tor is configured to use accounting in a way that can
  2428. link a hidden service to some other hidden service or public
  2429. address. Resolves ticket 6490.
  2430. o Minor bugfixes:
  2431. - Check return value of fputs() when writing authority certificate
  2432. file. Fixes Coverity issue 709056; bugfix on 0.2.0.1-alpha.
  2433. - Ignore ServerTransportPlugin lines when Tor is not configured as
  2434. a relay. Fixes bug 6274; bugfix on 0.2.3.6-alpha.
  2435. - When disabling guards for having too high a proportion of failed
  2436. circuits, make sure to look at each guard. Fixes bug 6397; bugfix
  2437. on 0.2.3.17-beta.
  2438. o Packaging (RPM):
  2439. - Update our default RPM spec files to work with mock and rpmbuild
  2440. on RHEL/Fedora. They have an updated set of dependencies and
  2441. conflicts, a fix for an ancient typo when creating the "_tor"
  2442. user, and better instructions. Thanks to Ondrej Mikle for the
  2443. patch series. Fixes bug 6043.
  2444. o Testing:
  2445. - Make it possible to set the TestingTorNetwork configuration
  2446. option using AlternateDirAuthority and AlternateBridgeAuthority
  2447. as an alternative to setting DirServer. Addresses ticket 6377.
  2448. o Documentation:
  2449. - Clarify the documentation for the Alternate*Authority options.
  2450. Fixes bug 6387.
  2451. - Fix some typos in the manpages. Patch from A. Costa. Fixes bug 6500.
  2452. o Code simplification and refactoring:
  2453. - Do not use SMARTLIST_FOREACH for any loop whose body exceeds
  2454. 10 lines. Also, don't nest them. Doing so in the past has
  2455. led to hard-to-debug code. The new style is to use the
  2456. SMARTLIST_FOREACH_{BEGIN,END} pair. Addresses issue 6400.
  2457. Changes in version 0.2.3.19-rc - 2012-07-06
  2458. Tor 0.2.3.19-rc is the second release candidate for the Tor 0.2.3.x
  2459. series. It fixes the compile on Windows, reverts to a GeoIP database
  2460. that isn't as broken, and fixes a flow control bug that has been around
  2461. since the beginning of Tor.
  2462. o Major bugfixes:
  2463. - Fix a bug handling SENDME cells on nonexistent streams that could
  2464. result in bizarre window values. Report and patch contributed
  2465. pseudonymously. Fixes part of bug 6271. This bug was introduced
  2466. before the first Tor release, in svn commit r152.
  2467. - Revert to the May 1 2012 Maxmind GeoLite Country database. In the
  2468. June 2012 database, Maxmind marked many Tor relays as country "A1",
  2469. which will cause risky behavior for clients that set EntryNodes
  2470. or ExitNodes. Addresses bug 6334; bugfix on 0.2.3.17-beta.
  2471. - Instead of ENOBUFS on Windows, say WSAENOBUFS. Fixes compilation
  2472. on Windows. Fixes bug 6296; bugfix on 0.2.3.18-rc.
  2473. o Minor bugfixes:
  2474. - Fix wrong TCP port range in parse_port_range(). Fixes bug 6218;
  2475. bugfix on 0.2.1.10-alpha.
  2476. Changes in version 0.2.3.18-rc - 2012-06-28
  2477. Tor 0.2.3.18-rc is the first release candidate for the Tor 0.2.3.x
  2478. series. It fixes a few smaller bugs, but generally appears stable.
  2479. Please test it and let us know whether it is!
  2480. o Major bugfixes:
  2481. - Allow wildcarded mapaddress targets to be specified on the
  2482. controlport. Partially fixes bug 6244; bugfix on 0.2.3.9-alpha.
  2483. - Make our linker option detection code more robust against linkers
  2484. such as on FreeBSD 8, where a bad combination of options completes
  2485. successfully but makes an unrunnable binary. Fixes bug 6173;
  2486. bugfix on 0.2.3.17-beta.
  2487. o Minor bugfixes (on 0.2.2.x and earlier):
  2488. - Avoid a false positive in the util/threads unit test by increasing
  2489. the maximum timeout time. Fixes bug 6227; bugfix on 0.2.0.4-alpha.
  2490. - Replace "Sending publish request" log messages with "Launching
  2491. upload", so that they no longer confusingly imply that we're
  2492. sending something to a directory we might not even be connected
  2493. to yet. Fixes bug 3311; bugfix on 0.2.0.10-alpha.
  2494. - Make sure to set *socket_error in all error cases in
  2495. connection_connect(), so it can't produce a warning about
  2496. errno being zero from errno_to_orconn_end_reason(). Bugfix on
  2497. 0.2.1.1-alpha; resolves ticket 6028.
  2498. - Downgrade "Got a certificate, but we already have it" log messages
  2499. from warning to info, except when we're a dirauth. Fixes bug 5238;
  2500. bugfix on 0.2.1.7-alpha.
  2501. - When checking for requested signatures on the latest consensus
  2502. before serving it to a client, make sure to check the right
  2503. consensus flavor. Bugfix on 0.2.2.6-alpha.
  2504. - Downgrade "eventdns rejected address" message to LOG_PROTOCOL_WARN.
  2505. Fixes bug 5932; bugfix on 0.2.2.7-alpha.
  2506. o Minor bugfixes (on 0.2.3.x):
  2507. - Make format_helper_exit_status() avoid unnecessary space padding
  2508. and stop confusing log_from_pipe(). Fixes ticket 5557; bugfix
  2509. on 0.2.3.1-alpha.
  2510. - Downgrade a message about cleaning the microdescriptor cache to
  2511. "info" from "notice". Fixes bug 6238; bugfix on 0.2.3.1-alpha.
  2512. - Log a BUG message at severity INFO if we have a networkstatus with
  2513. a missing entry for some microdescriptor. Continues on a patch
  2514. to 0.2.3.2-alpha.
  2515. - Improve the log message when a managed proxy fails to launch. Fixes
  2516. bug 5099; bugfix on 0.2.3.6-alpha.
  2517. - Don't do DNS lookups when parsing corrupted managed proxy protocol
  2518. messages. Fixes bug 6226; bugfix on 0.2.3.6-alpha.
  2519. - When formatting wildcarded address mappings for the controller,
  2520. be sure to include "*." as appropriate. Partially fixes bug 6244;
  2521. bugfix on 0.2.3.9-alpha.
  2522. - Avoid a warning caused by using strcspn() from glibc with clang 3.0.
  2523. Bugfix on 0.2.3.13-alpha.
  2524. - Stop logging messages about running with circuit timeout learning
  2525. enabled at severity LD_BUG. Fixes bug 6169; bugfix on 0.2.3.17-beta.
  2526. - Disable a spurious warning about reading on a marked and flushing
  2527. connection. We shouldn't be doing that, but apparently we
  2528. sometimes do. Fixes bug 6203; bugfix on 0.2.3.17-beta.
  2529. - Fix a bug that stopped AllowDotExit from working on addresses
  2530. that had an entry in the DNS cache. Fixes bug 6211; bugfix on
  2531. 0.2.3.17-beta.
  2532. o Code simplification, refactoring, unit tests:
  2533. - Move tor_gettimeofday_cached() into compat_libevent.c, and use
  2534. Libevent's notion of cached time when possible.
  2535. - Remove duplicate code for invoking getrlimit() from control.c.
  2536. - Add a unit test for the environment_variable_names_equal function.
  2537. o Documentation:
  2538. - Document the --defaults-torrc option, and the new (in 0.2.3)
  2539. semantics for overriding, extending, and clearing lists of
  2540. options. Closes bug 4748.
  2541. Changes in version 0.2.3.17-beta - 2012-06-15
  2542. Tor 0.2.3.17-beta enables compiler and linker hardening by default,
  2543. gets our TLS handshake back on track for being able to blend in with
  2544. Firefox, fixes a big bug in 0.2.3.16-alpha that broke Tor's interaction
  2545. with Vidalia, and otherwise continues to get us closer to a release
  2546. candidate.
  2547. o Major features:
  2548. - Enable gcc and ld hardening by default. Resolves ticket 5210.
  2549. - Update TLS cipher list to match Firefox 8 and later. Resolves
  2550. ticket 4744.
  2551. - Implement the client side of proposal 198: remove support for
  2552. clients falsely claiming to support standard ciphersuites that
  2553. they can actually provide. As of modern OpenSSL versions, it's not
  2554. necessary to fake any standard ciphersuite, and doing so prevents
  2555. us from using better ciphersuites in the future, since servers
  2556. can't know whether an advertised ciphersuite is really supported or
  2557. not. Some hosts -- notably, ones with very old versions of OpenSSL
  2558. or where OpenSSL has been built with ECC disabled -- will stand
  2559. out because of this change; TBB users should not be affected.
  2560. o Major bugfixes:
  2561. - Change the default value for DynamicDHGroups (introduced in
  2562. 0.2.3.9-alpha) to 0. This feature can make Tor relays less
  2563. identifiable by their use of the mod_ssl DH group, but at
  2564. the cost of some usability (#4721) and bridge tracing (#6087)
  2565. regressions. Resolves ticket 5598.
  2566. - Send a CRLF at the end of each STATUS_* control protocol event. This
  2567. bug tickled a bug in Vidalia which would make it freeze. Fixes
  2568. bug 6094; bugfix on 0.2.3.16-alpha.
  2569. o Minor bugfixes:
  2570. - Disable writing on marked-for-close connections when they are
  2571. blocked on bandwidth, to prevent busy-looping in Libevent. Fixes
  2572. bug 5263; bugfix on 0.0.2pre13, where we first added a special
  2573. case for flushing marked connections.
  2574. - Detect SSL handshake even when the initial attempt to write the
  2575. server hello fails. Fixes bug 4592; bugfix on 0.2.0.13-alpha.
  2576. - Change the AllowDotExit rules so they should actually work.
  2577. We now enforce AllowDotExit only immediately after receiving an
  2578. address via SOCKS or DNSPort: other sources are free to provide
  2579. .exit addresses after the resolution occurs. Fixes bug 3940;
  2580. bugfix on 0.2.2.1-alpha.
  2581. - Fix a (harmless) integer overflow in cell statistics reported by
  2582. some fast relays. Fixes bug 5849; bugfix on 0.2.2.1-alpha.
  2583. - Make sure circuitbuild.c checks LearnCircuitBuildTimeout in all the
  2584. right places and never depends on the consensus parameters or
  2585. computes adaptive timeouts when it is disabled. Fixes bug 5049;
  2586. bugfix on 0.2.2.14-alpha.
  2587. - When building Tor on Windows with -DUNICODE (not default), ensure
  2588. that error messages, filenames, and DNS server names are always
  2589. NUL-terminated when we convert them to a single-byte encoding.
  2590. Fixes bug 5909; bugfix on 0.2.2.16-alpha.
  2591. - Make Tor build correctly again with -DUNICODE -D_UNICODE defined.
  2592. Fixes bug 6097; bugfix on 0.2.2.16-alpha.
  2593. - Fix an edge case where TestingTorNetwork is set but the authorities
  2594. and relays all have an uptime of zero, where the private Tor network
  2595. could briefly lack support for hidden services. Fixes bug 3886;
  2596. bugfix on 0.2.2.18-alpha.
  2597. - Correct the manpage's descriptions for the default values of
  2598. DirReqStatistics and ExtraInfoStatistics. Fixes bug 2865; bugfix
  2599. on 0.2.3.1-alpha.
  2600. - Fix the documentation for the --hush and --quiet command line
  2601. options, which changed their behavior back in 0.2.3.3-alpha.
  2602. - Fix compilation warning with clang 3.1. Fixes bug 6141; bugfix on
  2603. 0.2.3.11-alpha.
  2604. o Minor features:
  2605. - Rate-limit the "Weighted bandwidth is 0.000000" message, and add
  2606. more information to it, so that we can track it down in case it
  2607. returns again. Mitigates bug 5235.
  2608. - Check CircuitBuildTimeout and LearnCircuitBuildTimeout in
  2609. options_validate(); warn if LearnCircuitBuildTimeout is disabled and
  2610. CircuitBuildTimeout is set unreasonably low. Resolves ticket 5452.
  2611. - Warn the user when HTTPProxy, but no other proxy type, is
  2612. configured. This can cause surprising behavior: it doesn't send
  2613. all of Tor's traffic over the HTTPProxy -- it sends unencrypted
  2614. directory traffic only. Resolves ticket 4663.
  2615. - Issue a notice if a guard completes less than 40% of your circuits.
  2616. Threshold is configurable by torrc option PathBiasNoticeRate and
  2617. consensus parameter pb_noticepct. There is additional, off-by-
  2618. default code to disable guards which fail too many circuits.
  2619. Addresses ticket 5458.
  2620. - Update to the June 6 2012 Maxmind GeoLite Country database.
  2621. o Code simplifications and refactoring:
  2622. - Remove validate_pluggable_transports_config(): its warning
  2623. message is now handled by connection_or_connect().
  2624. Changes in version 0.2.2.37 - 2012-06-06
  2625. Tor 0.2.2.37 introduces a workaround for a critical renegotiation
  2626. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  2627. currently).
  2628. o Major bugfixes:
  2629. - Work around a bug in OpenSSL that broke renegotiation with TLS
  2630. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  2631. the v2 Tor connection protocol when both sides were using OpenSSL
  2632. 1.0.1 would fail. Resolves ticket 6033.
  2633. - When waiting for a client to renegotiate, don't allow it to add
  2634. any bytes to the input buffer. This fixes a potential DoS issue.
  2635. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  2636. - Fix an edge case where if we fetch or publish a hidden service
  2637. descriptor, we might build a 4-hop circuit and then use that circuit
  2638. for exiting afterwards -- even if the new last hop doesn't obey our
  2639. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  2640. o Minor bugfixes:
  2641. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  2642. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  2643. o Minor features:
  2644. - Tell GCC and Clang to check for any errors in format strings passed
  2645. to the tor_v*(print|scan)f functions.
  2646. Changes in version 0.2.3.16-alpha - 2012-06-05
  2647. Tor 0.2.3.16-alpha introduces a workaround for a critical renegotiation
  2648. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  2649. currently). It also fixes a variety of smaller bugs and other cleanups
  2650. that get us closer to a release candidate.
  2651. o Major bugfixes (general):
  2652. - Work around a bug in OpenSSL that broke renegotiation with TLS
  2653. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  2654. the v2 Tor connection protocol when both sides were using OpenSSL
  2655. 1.0.1 would fail. Resolves ticket 6033.
  2656. - When waiting for a client to renegotiate, don't allow it to add
  2657. any bytes to the input buffer. This fixes a potential DoS issue.
  2658. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  2659. - Pass correct OR address to managed proxies (like obfsproxy),
  2660. even when ORListenAddress is used. Fixes bug 4865; bugfix on
  2661. 0.2.3.9-alpha.
  2662. - The advertised platform of a router now includes only its operating
  2663. system's name (e.g., "Linux", "Darwin", "Windows 7"), and not its
  2664. service pack level (for Windows) or its CPU architecture (for Unix).
  2665. We also no longer include the "git-XYZ" tag in the version. Resolves
  2666. part of bug 2988.
  2667. o Major bugfixes (clients):
  2668. - If we are unable to find any exit that supports our predicted ports,
  2669. stop calling them predicted, so that we don't loop and build
  2670. hopeless circuits indefinitely. Fixes bug 3296; bugfix on 0.0.9pre6,
  2671. which introduced predicted ports.
  2672. - Fix an edge case where if we fetch or publish a hidden service
  2673. descriptor, we might build a 4-hop circuit and then use that circuit
  2674. for exiting afterwards -- even if the new last hop doesn't obey our
  2675. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  2676. - Check at each new consensus whether our entry guards were picked
  2677. long enough ago that we should rotate them. Previously, we only
  2678. did this check at startup, which could lead to us holding a guard
  2679. indefinitely. Fixes bug 5380; bugfix on 0.2.1.14-rc.
  2680. - When fetching a bridge descriptor from a bridge authority,
  2681. always do so anonymously, whether we have been able to open
  2682. circuits or not. Partial fix for bug 1938; bugfix on 0.2.0.7-alpha.
  2683. This behavior makes it *safer* to use UpdateBridgesFromAuthority,
  2684. but we'll need to wait for bug 6010 before it's actually usable.
  2685. o Major bugfixes (directory authorities):
  2686. - When computing weight parameters, behave more robustly in the
  2687. presence of a bad bwweightscale value. Previously, the authorities
  2688. would crash if they agreed on a sufficiently broken weight_scale
  2689. value: now, they use a reasonable default and carry on. Partial
  2690. fix for 5786; bugfix on 0.2.2.17-alpha.
  2691. - Check more thoroughly to prevent a rogue authority from
  2692. double-voting on any consensus directory parameter. Previously,
  2693. authorities would crash in this case if the total number of
  2694. votes for any parameter exceeded the number of active voters,
  2695. but would let it pass otherwise. Partial fix for bug 5786; bugfix
  2696. on 0.2.2.2-alpha.
  2697. o Minor features:
  2698. - Rate-limit log messages when asked to connect anonymously to
  2699. a private address. When these hit, they tended to hit fast and
  2700. often. Also, don't bother trying to connect to addresses that we
  2701. are sure will resolve to 127.0.0.1: getting 127.0.0.1 in a directory
  2702. reply makes us think we have been lied to, even when the address the
  2703. client tried to connect to was "localhost." Resolves ticket 2822.
  2704. - Allow packagers to insert an extra string in server descriptor
  2705. platform lines by setting the preprocessor variable TOR_BUILD_TAG.
  2706. Resolves the rest of ticket 2988.
  2707. - Raise the threshold of server descriptors needed (75%) and exit
  2708. server descriptors needed (50%) before we will declare ourselves
  2709. bootstrapped. This will make clients start building circuits a
  2710. little later, but makes the initially constructed circuits less
  2711. skewed and less in conflict with further directory fetches. Fixes
  2712. ticket 3196.
  2713. - Close any connection that sends unrecognized junk before the
  2714. handshake. Solves an issue noted in bug 4369.
  2715. - Improve log messages about managed transports. Resolves ticket 5070.
  2716. - Tag a bridge's descriptor as "never to be sent unencrypted".
  2717. This shouldn't matter, since bridges don't open non-anonymous
  2718. connections to the bridge authority and don't allow unencrypted
  2719. directory connections from clients, but we might as well make
  2720. sure. Closes bug 5139.
  2721. - Expose our view of whether we have gone dormant to the controller,
  2722. via a new "GETINFO dormant" value. Torbutton and other controllers
  2723. can use this to avoid doing periodic requests through Tor while
  2724. it's dormant (bug 4718). Fixes bug 5954.
  2725. - Tell GCC and Clang to check for any errors in format strings passed
  2726. to the tor_v*(print|scan)f functions.
  2727. - Update to the May 1 2012 Maxmind GeoLite Country database.
  2728. o Minor bugfixes (already included in 0.2.2.36):
  2729. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  2730. Fixes bug 5346; bugfix on 0.0.8pre3.
  2731. - Correct parsing of certain date types in parse_http_time().
  2732. Without this patch, If-Modified-Since would behave
  2733. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  2734. Esteban Manchado Velázques.
  2735. - Make our number-parsing functions always treat too-large values
  2736. as an error, even when those values exceed the width of the
  2737. underlying type. Previously, if the caller provided these
  2738. functions with minima or maxima set to the extreme values of the
  2739. underlying integer type, these functions would return those
  2740. values on overflow rather than treating overflow as an error.
  2741. Fixes part of bug 5786; bugfix on 0.0.9.
  2742. - If we hit the error case where routerlist_insert() replaces an
  2743. existing (old) server descriptor, make sure to remove that
  2744. server descriptor from the old_routers list. Fix related to bug
  2745. 1776. Bugfix on 0.2.2.18-alpha.
  2746. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  2747. circuits. Fixes issue 5259.
  2748. o Minor bugfixes (coding cleanup, on 0.2.2.x and earlier):
  2749. - Prevent a null-pointer dereference when receiving a data cell
  2750. for a nonexistent stream when the circuit in question has an
  2751. empty deliver window. We don't believe this is triggerable,
  2752. since we don't currently allow deliver windows to become empty,
  2753. but the logic is tricky enough that it's better to make the code
  2754. robust. Fixes bug 5541; bugfix on 0.0.2pre14.
  2755. - Fix a memory leak when trying to launch a DNS request when the
  2756. network is disabled or the nameservers are unconfigurable. Fixes
  2757. bug 5916; bugfix on Tor 0.1.2.1-alpha (for the unconfigurable
  2758. nameserver case) and on 0.2.3.9-alpha (for the DisableNetwork case).
  2759. - Don't hold a Windows file handle open for every file mapping;
  2760. the file mapping handle is sufficient. Fixes bug 5951; bugfix on
  2761. 0.1.2.1-alpha.
  2762. - Avoid O(n^2) performance characteristics when parsing a large
  2763. extrainfo cache. Fixes bug 5828; bugfix on 0.2.0.1-alpha.
  2764. - Format more doubles with %f, not %lf. Patch from grarpamp to make
  2765. Tor build correctly on older BSDs again. Fixes bug 3894; bugfix on
  2766. Tor 0.2.0.8-alpha.
  2767. - Make our replacement implementation of strtok_r() compatible with
  2768. the standard behavior of strtok_r(). Patch by nils. Fixes bug 5091;
  2769. bugfix on 0.2.2.1-alpha.
  2770. - Fix a NULL-pointer dereference on a badly formed
  2771. SETCIRCUITPURPOSE command. Found by mikeyc. Fixes bug 5796;
  2772. bugfix on 0.2.2.9-alpha.
  2773. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  2774. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  2775. - Defensively refactor rend_mid_rendezvous() so that protocol
  2776. violations and length checks happen in the beginning. Fixes
  2777. bug 5645.
  2778. - Set _WIN32_WINNT to 0x0501 consistently throughout the code, so
  2779. that IPv6 stuff will compile on MSVC, and compilation issues
  2780. will be easier to track down. Fixes bug 5861.
  2781. o Minor bugfixes (correctness, on 0.2.2.x and earlier):
  2782. - Exit nodes now correctly report EADDRINUSE and EADDRNOTAVAIL as
  2783. resource exhaustion, so that clients can adjust their load to
  2784. try other exits. Fixes bug 4710; bugfix on 0.1.0.1-rc, which
  2785. started using END_STREAM_REASON_RESOURCELIMIT.
  2786. - Don't check for whether the address we're using for outbound
  2787. connections has changed until after the outbound connection has
  2788. completed. On Windows, getsockname() doesn't succeed until the
  2789. connection is finished. Fixes bug 5374; bugfix on 0.1.1.14-alpha.
  2790. - If the configuration tries to set MyFamily on a bridge, refuse to
  2791. do so, and warn about the security implications. Fixes bug 4657;
  2792. bugfix on 0.2.0.3-alpha.
  2793. - If the client fails to set a reasonable set of ciphersuites
  2794. during its v2 handshake renegotiation, allow the renegotiation to
  2795. continue nevertheless (i.e. send all the required certificates).
  2796. Fixes bug 4591; bugfix on 0.2.0.20-rc.
  2797. - When we receive a SIGHUP and the controller __ReloadTorrcOnSIGHUP
  2798. option is set to 0 (which Vidalia version 0.2.16 now does when
  2799. a SAVECONF attempt fails), perform other actions that SIGHUP
  2800. usually causes (like reopening the logs). Fixes bug 5095; bugfix
  2801. on 0.2.1.9-alpha.
  2802. - If we fail to write a microdescriptor to the disk cache, do not
  2803. continue replacing the old microdescriptor file. Fixes bug 2954;
  2804. bugfix on 0.2.2.6-alpha.
  2805. - Exit nodes don't need to fetch certificates for authorities that
  2806. they don't recognize; only directory authorities, bridges,
  2807. and caches need to do that. Fixes part of bug 2297; bugfix on
  2808. 0.2.2.11-alpha.
  2809. - Correctly handle checking the permissions on the parent
  2810. directory of a control socket in the root directory. Bug found
  2811. by Esteban Manchado Velázquez. Fixes bug 5089; bugfix on Tor
  2812. 0.2.2.26-beta.
  2813. - When told to add a bridge with the same digest as a preexisting
  2814. bridge but a different addr:port, change the addr:port as
  2815. requested. Previously we would not notice the change. Fixes half
  2816. of bug 5603; fix on 0.2.2.26-beta.
  2817. - End AUTHCHALLENGE error messages (in the control protocol) with
  2818. a CRLF. Fixes bug 5760; bugfix on 0.2.2.36 and 0.2.3.13-alpha.
  2819. o Minor bugfixes (on 0.2.3.x):
  2820. - Turn an assertion (that the number of handshakes received as a
  2821. server is not < 1) into a warning. Fixes bug 4873; bugfix on
  2822. 0.2.3.1-alpha.
  2823. - Format IPv4 addresses correctly in ADDRMAP events. (Previously,
  2824. we had reversed them when the answer was cached.) Fixes bug
  2825. 5723; bugfix on 0.2.3.1-alpha.
  2826. - Work correctly on Linux systems with accept4 support advertised in
  2827. their headers, but without accept4 support in the kernel. Fix
  2828. by murb. Fixes bug 5762; bugfix on 0.2.3.1-alpha.
  2829. - When told to add a bridge with the same addr:port as a preexisting
  2830. bridge but a different transport, change the transport as
  2831. requested. Previously we would not notice the change. Fixes half
  2832. of bug 5603; fix on 0.2.3.2-alpha.
  2833. - Avoid a "double-reply" warning when replying to a SOCKS request
  2834. with a parse error. Patch from Fabian Keil. Fixes bug 4108;
  2835. bugfix on 0.2.3.4-alpha.
  2836. - Fix a bug where a bridge authority crashes if it has seen no
  2837. directory requests when it's time to write statistics to disk.
  2838. Fixes bug 5891; bugfix on 0.2.3.6-alpha. Also fixes bug 5508 in
  2839. a better way.
  2840. - Don't try to open non-control listeners when DisableNetwork is set.
  2841. Previously, we'd open all listeners, then immediately close them.
  2842. Fixes bug 5604; bugfix on 0.2.3.9-alpha.
  2843. - Don't abort the managed proxy protocol if the managed proxy
  2844. sends us an unrecognized line; ignore it instead. Fixes bug
  2845. 5910; bugfix on 0.2.3.9-alpha.
  2846. - Fix a compile warning in crypto.c when compiling with clang 3.1.
  2847. Fixes bug 5969, bugfix on 0.2.3.9-alpha.
  2848. - Fix a compilation issue on GNU Hurd, which doesn't have PATH_MAX.
  2849. Fixes bug 5355; bugfix on 0.2.3.11-alpha.
  2850. - Remove bogus definition of "_WIN32" from src/win32/orconfig.h, to
  2851. unbreak the MSVC build. Fixes bug 5858; bugfix on 0.2.3.12-alpha.
  2852. - Resolve numerous small warnings and build issues with MSVC. Resolves
  2853. bug 5859.
  2854. o Documentation fixes:
  2855. - Improve the manual's documentation for the NT Service command-line
  2856. options. Addresses ticket 3964.
  2857. - Clarify SessionGroup documentation slightly; resolves ticket 5437.
  2858. - Document the changes to the ORPort and DirPort options, and the
  2859. fact that {OR/Dir}ListenAddress is now unnecessary (and
  2860. therefore deprecated). Resolves ticket 5597.
  2861. o Removed files:
  2862. - Remove the torrc.bridge file: we don't use it for anything, and
  2863. it had become badly desynchronized from torrc.sample. Resolves
  2864. bug 5622.
  2865. Changes in version 0.2.2.36 - 2012-05-24
  2866. Tor 0.2.2.36 updates the addresses for two of the eight directory
  2867. authorities, fixes some potential anonymity and security issues,
  2868. and fixes several crash bugs.
  2869. Tor 0.2.1.x has reached its end-of-life. Those Tor versions have many
  2870. known flaws, and nobody should be using them. You should upgrade. If
  2871. you're using a Linux or BSD and its packages are obsolete, stop using
  2872. those packages and upgrade anyway.
  2873. o Directory authority changes:
  2874. - Change IP address for maatuska (v3 directory authority).
  2875. - Change IP address for ides (v3 directory authority), and rename
  2876. it to turtles.
  2877. o Security fixes:
  2878. - When building or running with any version of OpenSSL earlier
  2879. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  2880. versions have a bug (CVE-2011-4576) in which their block cipher
  2881. padding includes uninitialized data, potentially leaking sensitive
  2882. information to any peer with whom they make a SSLv3 connection. Tor
  2883. does not use SSL v3 by default, but a hostile client or server
  2884. could force an SSLv3 connection in order to gain information that
  2885. they shouldn't have been able to get. The best solution here is to
  2886. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  2887. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  2888. to make sure that the bug can't happen.
  2889. - Never use a bridge or a controller-supplied node as an exit, even
  2890. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  2891. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  2892. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  2893. - Only build circuits if we have a sufficient threshold of the total
  2894. descriptors that are marked in the consensus with the "Exit"
  2895. flag. This mitigates an attack proposed by wanoskarnet, in which
  2896. all of a client's bridges collude to restrict the exit nodes that
  2897. the client knows about. Fixes bug 5343.
  2898. - Provide controllers with a safer way to implement the cookie
  2899. authentication mechanism. With the old method, if another locally
  2900. running program could convince a controller that it was the Tor
  2901. process, then that program could trick the controller into telling
  2902. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  2903. authentication method uses a challenge-response approach to prevent
  2904. this attack. Fixes bug 5185; implements proposal 193.
  2905. o Major bugfixes:
  2906. - Avoid logging uninitialized data when unable to decode a hidden
  2907. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  2908. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  2909. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  2910. 0.2.1.6-alpha.
  2911. - Fix builds when the path to sed, openssl, or sha1sum contains
  2912. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  2913. on 0.2.2.1-alpha.
  2914. - Correct our replacements for the timeradd() and timersub() functions
  2915. on platforms that lack them (for example, Windows). The timersub()
  2916. function is used when expiring circuits, while timeradd() is
  2917. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  2918. bugfix on 0.2.2.24-alpha.
  2919. - Fix the SOCKET_OK test that we use to tell when socket
  2920. creation fails so that it works on Win64. Fixes part of bug 4533;
  2921. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  2922. o Minor bugfixes:
  2923. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  2924. Fixes bug 5346; bugfix on 0.0.8pre3.
  2925. - Make our number-parsing functions always treat too-large values
  2926. as an error, even when those values exceed the width of the
  2927. underlying type. Previously, if the caller provided these
  2928. functions with minima or maxima set to the extreme values of the
  2929. underlying integer type, these functions would return those
  2930. values on overflow rather than treating overflow as an error.
  2931. Fixes part of bug 5786; bugfix on 0.0.9.
  2932. - Older Linux kernels erroneously respond to strange nmap behavior
  2933. by having accept() return successfully with a zero-length
  2934. socket. When this happens, just close the connection. Previously,
  2935. we would try harder to learn the remote address: but there was
  2936. no such remote address to learn, and our method for trying to
  2937. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  2938. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  2939. - Correct parsing of certain date types in parse_http_time().
  2940. Without this patch, If-Modified-Since would behave
  2941. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  2942. Esteban Manchado Velázques.
  2943. - Change the BridgePassword feature (part of the "bridge community"
  2944. design, which is not yet implemented) to use a time-independent
  2945. comparison. The old behavior might have allowed an adversary
  2946. to use timing to guess the BridgePassword value. Fixes bug 5543;
  2947. bugfix on 0.2.0.14-alpha.
  2948. - Detect and reject certain misformed escape sequences in
  2949. configuration values. Previously, these values would cause us
  2950. to crash if received in a torrc file or over an authenticated
  2951. control port. Bug found by Esteban Manchado Velázquez, and
  2952. independently by Robert Connolly from Matta Consulting who further
  2953. noted that it allows a post-authentication heap overflow. Patch
  2954. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  2955. bugfix on 0.2.0.16-alpha.
  2956. - Fix a compile warning when using the --enable-openbsd-malloc
  2957. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  2958. - During configure, detect when we're building with clang version
  2959. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  2960. CFLAGS. clang doesn't support them yet.
  2961. - When sending an HTTP/1.1 proxy request, include a Host header.
  2962. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  2963. - Fix a NULL-pointer dereference on a badly formed SETCIRCUITPURPOSE
  2964. command. Found by mikeyc. Fixes bug 5796; bugfix on 0.2.2.9-alpha.
  2965. - If we hit the error case where routerlist_insert() replaces an
  2966. existing (old) server descriptor, make sure to remove that
  2967. server descriptor from the old_routers list. Fix related to bug
  2968. 1776. Bugfix on 0.2.2.18-alpha.
  2969. o Minor bugfixes (documentation and log messages):
  2970. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  2971. Fixes bug 4856; bugfix on Tor 0.0.6.
  2972. - Update "ClientOnly" man page entry to explain that there isn't
  2973. really any point to messing with it. Resolves ticket 5005.
  2974. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  2975. directory authority option (introduced in Tor 0.2.2.34).
  2976. - Downgrade the "We're missing a certificate" message from notice
  2977. to info: people kept mistaking it for a real problem, whereas it
  2978. is seldom the problem even when we are failing to bootstrap. Fixes
  2979. bug 5067; bugfix on 0.2.0.10-alpha.
  2980. - Correctly spell "connect" in a log message on failure to create a
  2981. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta.
  2982. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  2983. circuits. Fixes issue 5259.
  2984. o Minor features:
  2985. - Directory authorities now reject versions of Tor older than
  2986. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  2987. inclusive. These versions accounted for only a small fraction of
  2988. the Tor network, and have numerous known security issues. Resolves
  2989. issue 4788.
  2990. - Update to the May 1 2012 Maxmind GeoLite Country database.
  2991. - Feature removal:
  2992. - When sending or relaying a RELAY_EARLY cell, we used to convert
  2993. it to a RELAY cell if the connection was using the v1 link
  2994. protocol. This was a workaround for older versions of Tor, which
  2995. didn't handle RELAY_EARLY cells properly. Now that all supported
  2996. versions can handle RELAY_EARLY cells, and now that we're enforcing
  2997. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  2998. remove this workaround. Addresses bug 4786.
  2999. Changes in version 0.2.3.15-alpha - 2012-04-30
  3000. Tor 0.2.3.15-alpha fixes a variety of smaller bugs, including making
  3001. the development branch build on Windows again.
  3002. o Minor bugfixes (on 0.2.2.x and earlier):
  3003. - Make sure that there are no unhandled pending TLS errors before
  3004. reading from a TLS stream. We had checks in 0.1.0.3-rc, but
  3005. lost them in 0.1.0.5-rc when we refactored read_to_buf_tls().
  3006. Bugfix on 0.1.0.5-rc; fixes bug 4528.
  3007. - Fix an assert that directory authorities could trigger on sighup
  3008. during some configuration state transitions. We now don't treat
  3009. it as a fatal error when the new descriptor we just generated in
  3010. init_keys() isn't accepted. Fixes bug 4438; bugfix on 0.2.1.9-alpha.
  3011. - After we pick a directory mirror, we would refuse to use it if
  3012. it's in our ExcludeExitNodes list, resulting in mysterious failures
  3013. to bootstrap for people who just wanted to avoid exiting from
  3014. certain locations. Fixes bug 5623; bugfix on 0.2.2.25-alpha.
  3015. - When building with --enable-static-tor on OpenBSD, do not
  3016. erroneously attempt to link -lrt. Fixes bug 5103.
  3017. o Minor bugfixes (on 0.2.3.x):
  3018. - When Tor is built with kernel headers from a recent (last few
  3019. years) Linux kernel, do not fail to run on older (pre-2.6.28
  3020. Linux kernels). Fixes bug 5112; bugfix on 0.2.3.1-alpha.
  3021. - Fix cross-compilation issues with mingw. Bugfixes on 0.2.3.6-alpha
  3022. and 0.2.3.12-alpha.
  3023. - Fix compilation with miniupnpc version 1.6; patch from
  3024. Anthony G. Basile. Fixes bug 5434; bugfix on 0.2.3.12-alpha.
  3025. - Fix compilation with MSVC, which had defined MS_WINDOWS. Bugfix
  3026. on 0.2.3.13-alpha; found and fixed by Gisle Vanem.
  3027. - Fix compilation on platforms without unistd.h, or where environ
  3028. is defined in stdlib.h. Fixes bug 5704; bugfix on 0.2.3.13-alpha.
  3029. o Minor features:
  3030. - Directory authorities are now a little more lenient at accepting
  3031. older router descriptors, or newer router descriptors that don't
  3032. make big changes. This should help ameliorate past and future
  3033. issues where routers think they have uploaded valid descriptors,
  3034. but the authorities don't think so. Fix for ticket 2479.
  3035. - Make the code that clients use to detect an address change be
  3036. IPv6-aware, so that it won't fill clients' logs with error
  3037. messages when trying to get the IPv4 address of an IPv6
  3038. connection. Implements ticket 5537.
  3039. o Removed features:
  3040. - Remove the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays option;
  3041. authorities needed to use it for a while to keep the network working
  3042. as people upgraded to 0.2.1.31, 0.2.2.34, or 0.2.3.6-alpha, but
  3043. that was six months ago. As of now, it should no longer be needed
  3044. or used.
  3045. Changes in version 0.2.3.14-alpha - 2012-04-23
  3046. Tor 0.2.3.14-alpha fixes yet more bugs to get us closer to a release
  3047. candidate. It also dramatically speeds up AES: fast relays should
  3048. consider switching to the newer OpenSSL library.
  3049. o Directory authority changes:
  3050. - Change IP address for ides (v3 directory authority), and rename
  3051. it to turtles.
  3052. o Major bugfixes:
  3053. - Avoid logging uninitialized data when unable to decode a hidden
  3054. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  3055. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  3056. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  3057. 0.2.1.6-alpha.
  3058. - If authorities are unable to get a v2 consensus document from other
  3059. directory authorities, they no longer fall back to fetching
  3060. them from regular directory caches. Fixes bug 5635; bugfix on
  3061. 0.2.2.26-beta, where routers stopped downloading v2 consensus
  3062. documents entirely.
  3063. - When we start a Tor client with a normal consensus already cached,
  3064. be willing to download a microdescriptor consensus. Fixes bug 4011;
  3065. fix on 0.2.3.1-alpha.
  3066. o Major features (performance):
  3067. - When built to use OpenSSL 1.0.1, and built for an x86 or x86_64
  3068. instruction set, take advantage of OpenSSL's AESNI, bitsliced, or
  3069. vectorized AES implementations as appropriate. These can be much,
  3070. much faster than other AES implementations.
  3071. o Minor bugfixes (0.2.2.x and earlier):
  3072. - Don't launch more than 10 service-side introduction-point circuits
  3073. for a hidden service in five minutes. Previously, we would consider
  3074. launching more introduction-point circuits if at least one second
  3075. had passed without any introduction-point circuits failing. Fixes
  3076. bug 4607; bugfix on 0.0.7pre1.
  3077. - Change the BridgePassword feature (part of the "bridge community"
  3078. design, which is not yet implemented) to use a time-independent
  3079. comparison. The old behavior might have allowed an adversary
  3080. to use timing to guess the BridgePassword value. Fixes bug 5543;
  3081. bugfix on 0.2.0.14-alpha.
  3082. - Enforce correct return behavior of tor_vsscanf() when the '%%'
  3083. pattern is used. Fixes bug 5558. Bugfix on 0.2.1.13.
  3084. - When sending an HTTP/1.1 proxy request, include a Host header.
  3085. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  3086. - Don't log that we have "decided to publish new relay descriptor"
  3087. unless we are actually publishing a descriptor. Fixes bug 3942;
  3088. bugfix on 0.2.2.28-beta.
  3089. o Minor bugfixes (0.2.3.x):
  3090. - Fix a bug where a bridge authority crashes (on a failed assert)
  3091. if it has seen no directory requests when it's time to write
  3092. statistics to disk. Fixes bug 5508. Bugfix on 0.2.3.6-alpha.
  3093. - Fix bug stomping on ORPort option NoListen and ignoring option
  3094. NoAdvertise. Fixes bug 5151; bugfix on 0.2.3.9-alpha.
  3095. - In the testsuite, provide a large enough buffer in the tor_sscanf
  3096. unit test. Otherwise we'd overrun that buffer and crash during
  3097. the unit tests. Found by weasel. Fixes bug 5449; bugfix on
  3098. 0.2.3.12-alpha.
  3099. - Make sure we create the keys directory if it doesn't exist and we're
  3100. about to store the dynamic Diffie-Hellman parameters. Fixes bug
  3101. 5572; bugfix on 0.2.3.13-alpha.
  3102. - Fix a small memory leak when trying to decode incorrect base16
  3103. authenticator during SAFECOOKIE authentication. Found by
  3104. Coverity Scan. Fixes CID 507. Bugfix on 0.2.3.13-alpha.
  3105. o Minor features:
  3106. - Add more information to a log statement that might help track down
  3107. bug 4091. If you're seeing "Bug: tor_addr_is_internal() called with a
  3108. non-IP address" messages (or any Bug messages, for that matter!),
  3109. please let us know about it.
  3110. - Relays now understand an IPv6 address when they get one from a
  3111. directory server. Resolves ticket 4875.
  3112. - Resolve IPv6 addresses in bridge and entry statistics to country
  3113. code "??" which means we at least count them. Resolves ticket 5053;
  3114. improves on 0.2.3.9-alpha.
  3115. - Update to the April 3 2012 Maxmind GeoLite Country database.
  3116. - Begin a doc/state-contents.txt file to explain the contents of
  3117. the Tor state file. Fixes bug 2987.
  3118. o Default torrc changes:
  3119. - Stop listing "socksport 9050" in torrc.sample. We open a socks
  3120. port on 9050 by default anyway, so this should not change anything
  3121. in practice.
  3122. - Stop mentioning the deprecated *ListenAddress options in
  3123. torrc.sample. Fixes bug 5438.
  3124. - Document unit of bandwidth related options in sample torrc.
  3125. Fixes bug 5621.
  3126. o Removed features:
  3127. - The "torify" script no longer supports the "tsocks" socksifier
  3128. tool, since tsocks doesn't support DNS and UDP right for Tor.
  3129. Everyone should be using torsocks instead. Fixes bugs 3530 and
  3130. 5180. Based on a patch by "ugh".
  3131. o Code refactoring:
  3132. - Change the symmetric cipher interface so that creating and
  3133. initializing a stream cipher are no longer separate functions.
  3134. - Remove all internal support for unpadded RSA. We never used it, and
  3135. it would be a bad idea to start.
  3136. Changes in version 0.2.3.13-alpha - 2012-03-26
  3137. Tor 0.2.3.13-alpha fixes a variety of stability and correctness bugs
  3138. in managed pluggable transports, as well as providing other cleanups
  3139. that get us closer to a release candidate.
  3140. o Directory authority changes:
  3141. - Change IP address for maatuska (v3 directory authority).
  3142. o Security fixes:
  3143. - Provide controllers with a safer way to implement the cookie
  3144. authentication mechanism. With the old method, if another locally
  3145. running program could convince a controller that it was the Tor
  3146. process, then that program could trick the controller into telling
  3147. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  3148. authentication method uses a challenge-response approach to prevent
  3149. this attack. Fixes bug 5185, implements proposal 193.
  3150. - Never use a bridge or a controller-supplied node as an exit, even
  3151. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  3152. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  3153. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  3154. - Only build circuits if we have a sufficient threshold of the total
  3155. descriptors that are marked in the consensus with the "Exit"
  3156. flag. This mitigates an attack proposed by wanoskarnet, in which
  3157. all of a client's bridges collude to restrict the exit nodes that
  3158. the client knows about. Fixes bug 5343.
  3159. o Major bugfixes (on Tor 0.2.3.x):
  3160. - Avoid an assert when managed proxies like obfsproxy are configured,
  3161. and we receive HUP signals or setconf attempts too rapidly. This
  3162. situation happens most commonly when Vidalia tries to attach to
  3163. Tor or tries to configure the Tor it's attached to. Fixes bug 5084;
  3164. bugfix on 0.2.3.6-alpha.
  3165. - Fix a relay-side pluggable transports bug where managed proxies were
  3166. unreachable from the Internet, because Tor asked them to bind on
  3167. localhost. Fixes bug 4725; bugfix on 0.2.3.9-alpha.
  3168. - Stop discarding command-line arguments when TestingTorNetwork
  3169. is set. Discovered by Kevin Bauer. Fixes bug 5373; bugfix on
  3170. 0.2.3.9-alpha, where task 4552 added support for two layers of
  3171. torrc files.
  3172. - Resume allowing the unit tests to run in gdb. This was accidentally
  3173. made impossible when the DisableDebuggerAttachment option was
  3174. introduced. Fixes bug 5448; bugfix on 0.2.3.9-alpha.
  3175. - Resume building with nat-pmp support. Fixes bug 4955; bugfix on
  3176. 0.2.3.11-alpha. Reported by Anthony G. Basile.
  3177. o Minor bugfixes (on 0.2.2.x and earlier):
  3178. - Ensure we don't cannibalize circuits that are longer than three hops
  3179. already, so we don't end up making circuits with 5 or more
  3180. hops. Patch contributed by wanoskarnet. Fixes bug 5231; bugfix on
  3181. 0.1.0.1-rc which introduced cannibalization.
  3182. - Detect and reject certain misformed escape sequences in
  3183. configuration values. Previously, these values would cause us
  3184. to crash if received in a torrc file or over an authenticated
  3185. control port. Bug found by Esteban Manchado Velázquez, and
  3186. independently by Robert Connolly from Matta Consulting who further
  3187. noted that it allows a post-authentication heap overflow. Patch
  3188. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  3189. bugfix on 0.2.0.16-alpha.
  3190. - Fix a compile warning when using the --enable-openbsd-malloc
  3191. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  3192. - Directory caches no longer refuse to clean out descriptors because
  3193. of missing v2 networkstatus documents, unless they're configured
  3194. to retrieve v2 networkstatus documents. Fixes bug 4838; bugfix on
  3195. 0.2.2.26-beta. Patch by Daniel Bryg.
  3196. - Update to the latest version of the tinytest unit testing framework.
  3197. This includes a couple of bugfixes that can be relevant for
  3198. running forked unit tests on Windows, and removes all reserved
  3199. identifiers.
  3200. o Minor bugfixes (on 0.2.3.x):
  3201. - On a failed pipe() call, don't leak file descriptors. Fixes bug
  3202. 4296; bugfix on 0.2.3.1-alpha.
  3203. - Spec conformance: on a v3 handshake, do not send a NETINFO cell
  3204. until after we have received a CERTS cell. Fixes bug 4361; bugfix
  3205. on 0.2.3.6-alpha. Patch by "frosty".
  3206. - When binding to an IPv6 address, set the IPV6_V6ONLY socket
  3207. option, so that the IP stack doesn't decide to use it for IPv4
  3208. too. Fixes bug 4760; bugfix on 0.2.3.9-alpha.
  3209. - Ensure that variables set in Tor's environment cannot override
  3210. environment variables that Tor passes to a managed
  3211. pluggable-transport proxy. Previously, Tor would pass every
  3212. variable in its environment to managed proxies along with the new
  3213. ones, in such a way that on many operating systems, the inherited
  3214. environment variables would override those which Tor tried to
  3215. explicitly set. Bugfix on 0.2.3.12-alpha for most Unixoid systems;
  3216. bugfix on 0.2.3.9-alpha for Windows.
  3217. o Minor features:
  3218. - A wide variety of new unit tests by Esteban Manchado Velázquez.
  3219. - Shorten links in the tor-exit-notice file. Patch by Christian Kujau.
  3220. - Update to the March 6 2012 Maxmind GeoLite Country database.
  3221. Changes in version 0.2.3.12-alpha - 2012-02-13
  3222. Tor 0.2.3.12-alpha lets fast exit relays scale better, allows clients
  3223. to use bridges that run Tor 0.2.2.x, and resolves several big bugs
  3224. when Tor is configured to use a pluggable transport like obfsproxy.
  3225. o Major bugfixes:
  3226. - Fix builds when the path to sed, openssl, or sha1sum contains
  3227. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  3228. on 0.2.2.1-alpha.
  3229. - Set the SO_REUSEADDR socket option before we call bind() on outgoing
  3230. connections. This change should allow busy exit relays to stop
  3231. running out of available sockets as quickly. Fixes bug 4950;
  3232. bugfix on 0.2.2.26-beta.
  3233. - Allow 0.2.3.x clients to use 0.2.2.x bridges. Previously the client
  3234. would ask the bridge for microdescriptors, which are only supported
  3235. in 0.2.3.x, and then fail to bootstrap when it didn't get the
  3236. answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha.
  3237. - Properly set up obfsproxy's environment when in managed mode. The
  3238. Tor Browser Bundle needs LD_LIBRARY_PATH to be passed to obfsproxy,
  3239. and when you run your Tor as a daemon, there's no HOME. Fixes bugs
  3240. 5076 and 5082; bugfix on 0.2.3.6-alpha.
  3241. o Minor features:
  3242. - Use the dead_strip option when building Tor on OS X. This reduces
  3243. binary size by almost 19% when linking openssl and libevent
  3244. statically, which we do for Tor Browser Bundle.
  3245. - Fix broken URLs in the sample torrc file, and tell readers about
  3246. the OutboundBindAddress, ExitPolicyRejectPrivate, and
  3247. PublishServerDescriptor options. Addresses bug 4652.
  3248. - Update to the February 7 2012 Maxmind GeoLite Country database.
  3249. o Minor bugfixes:
  3250. - Downgrade the "We're missing a certificate" message from notice
  3251. to info: people kept mistaking it for a real problem, whereas it
  3252. is seldom the problem even when we are failing to bootstrap. Fixes
  3253. bug 5067; bugfix on 0.2.0.10-alpha.
  3254. - Don't put "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200" in a
  3255. managed pluggable transport server proxy's environment.
  3256. Previously, we would put it there, even though Tor doesn't
  3257. implement an 'extended server port' yet, and even though Tor
  3258. almost certainly isn't listening at that address. For now, we set
  3259. it to an empty string to avoid crashing older obfsproxies. Bugfix
  3260. on 0.2.3.6-alpha.
  3261. - Log the heartbeat message every HeartbeatPeriod seconds, not every
  3262. HeartbeatPeriod + 1 seconds. Fixes bug 4942; bugfix on
  3263. 0.2.3.1-alpha. Bug reported by Scott Bennett.
  3264. - Calculate absolute paths correctly on Windows. Fixes bug 4973;
  3265. bugfix on 0.2.3.11-alpha.
  3266. - Update "ClientOnly" man page entry to explain that there isn't
  3267. really any point to messing with it. Resolves ticket 5005.
  3268. - Use the correct CVE number for CVE-2011-4576 in our comments and
  3269. log messages. Found by "fermenthor". Resolves bug 5066; bugfix on
  3270. 0.2.3.11-alpha.
  3271. o Code simplifications and refactoring:
  3272. - Use the _WIN32 macro throughout our code to detect Windows.
  3273. (Previously we had used the obsolete 'WIN32' and the idiosyncratic
  3274. 'MS_WINDOWS'.)
  3275. Changes in version 0.2.3.11-alpha - 2012-01-22
  3276. Tor 0.2.3.11-alpha marks feature-freeze for the 0.2.3 tree. It deploys
  3277. the last step of the plan to limit maximum circuit length, includes
  3278. a wide variety of hidden service performance and correctness fixes,
  3279. works around an OpenSSL security flaw if your distro is too stubborn
  3280. to upgrade, and fixes a bunch of smaller issues.
  3281. o Major features:
  3282. - Now that Tor 0.2.0.x is completely deprecated, enable the final
  3283. part of "Proposal 110: Avoiding infinite length circuits" by
  3284. refusing all circuit-extend requests that do not use a relay_early
  3285. cell. This change helps Tor resist a class of denial-of-service
  3286. attacks by limiting the maximum circuit length.
  3287. - Adjust the number of introduction points that a hidden service
  3288. will try to maintain based on how long its introduction points
  3289. remain in use and how many introductions they handle. Fixes
  3290. part of bug 3825.
  3291. - Try to use system facilities for enumerating local interface
  3292. addresses, before falling back to our old approach (which was
  3293. binding a UDP socket, and calling getsockname() on it). That
  3294. approach was scaring OS X users whose draconian firewall
  3295. software warned about binding to UDP sockets, regardless of
  3296. whether packets were sent. Now we try to use getifaddrs(),
  3297. SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
  3298. system supports. Resolves ticket 1827.
  3299. o Major security workaround:
  3300. - When building or running with any version of OpenSSL earlier
  3301. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  3302. versions have a bug (CVE-2011-4576) in which their block cipher
  3303. padding includes uninitialized data, potentially leaking sensitive
  3304. information to any peer with whom they make a SSLv3 connection. Tor
  3305. does not use SSL v3 by default, but a hostile client or server
  3306. could force an SSLv3 connection in order to gain information that
  3307. they shouldn't have been able to get. The best solution here is to
  3308. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  3309. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  3310. to make sure that the bug can't happen.
  3311. o Major bugfixes:
  3312. - Fix the SOCKET_OK test that we use to tell when socket
  3313. creation fails so that it works on Win64. Fixes part of bug 4533;
  3314. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  3315. - Correct our replacements for the timeradd() and timersub() functions
  3316. on platforms that lack them (for example, Windows). The timersub()
  3317. function is used when expiring circuits, while timeradd() is
  3318. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  3319. bugfix on 0.2.2.24-alpha and 0.2.3.1-alpha.
  3320. - Do not use OpenSSL 1.0.0's counter mode: it has a critical bug
  3321. that was fixed in OpenSSL 1.0.0a. We test for the counter mode
  3322. bug at runtime, not compile time, because some distributions hack
  3323. their OpenSSL to mis-report its version. Fixes bug 4779; bugfix
  3324. on 0.2.3.9-alpha. Found by Pascal.
  3325. o Minor features (controller):
  3326. - Use absolute path names when reporting the torrc filename in the
  3327. control protocol, so a controller can more easily find the torrc
  3328. file. Resolves bug 1101.
  3329. - Extend the control protocol to report flags that control a circuit's
  3330. path selection in CIRC events and in replies to 'GETINFO
  3331. circuit-status'. Implements part of ticket 2411.
  3332. - Extend the control protocol to report the hidden service address
  3333. and current state of a hidden-service-related circuit in CIRC
  3334. events and in replies to 'GETINFO circuit-status'. Implements part
  3335. of ticket 2411.
  3336. - When reporting the path to the cookie file to the controller,
  3337. give an absolute path. Resolves ticket 4881.
  3338. - Allow controllers to request an event notification whenever a
  3339. circuit is cannibalized or its purpose is changed. Implements
  3340. part of ticket 3457.
  3341. - Include the creation time of a circuit in CIRC and CIRC2
  3342. control-port events and the list produced by the 'GETINFO
  3343. circuit-status' control-port command.
  3344. o Minor features (directory authorities):
  3345. - Directory authorities now reject versions of Tor older than
  3346. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  3347. inclusive. These versions accounted for only a small fraction of
  3348. the Tor network, and have numerous known security issues. Resolves
  3349. issue 4788.
  3350. - Authority operators can now vote for all relays in a given
  3351. set of countries to be BadDir/BadExit/Invalid/Rejected.
  3352. - Provide two consensus parameters (FastFlagMinThreshold and
  3353. FastFlagMaxThreshold) to control the range of allowable bandwidths
  3354. for the Fast directory flag. These allow authorities to run
  3355. experiments on appropriate requirements for being a "Fast" node.
  3356. The AuthDirFastGuarantee config value still applies. Implements
  3357. ticket 3946.
  3358. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  3359. directory authority option (introduced in Tor 0.2.2.34).
  3360. o Minor features (other):
  3361. - Don't disable the DirPort when we cannot exceed our AccountingMax
  3362. limit during this interval because the effective bandwidthrate is
  3363. low enough. This is useful in a situation where AccountMax is only
  3364. used as an additional safeguard or to provide statistics.
  3365. - Prepend an informative header to generated dynamic_dh_params files.
  3366. - If EntryNodes are given, but UseEntryGuards is set to 0, warn that
  3367. EntryNodes will have no effect. Resolves issue 2571.
  3368. - Log more useful messages when we fail to disable debugger
  3369. attachment.
  3370. - Log which authority we're missing votes from when we go to fetch
  3371. them from the other auths.
  3372. - Log (at debug level) whenever a circuit's purpose is changed.
  3373. - Add missing documentation for the MaxClientCircuitsPending,
  3374. UseMicrodescriptors, UserspaceIOCPBuffers, and
  3375. _UseFilteringSSLBufferevents options, all introduced during
  3376. the 0.2.3.x series.
  3377. - Update to the January 3 2012 Maxmind GeoLite Country database.
  3378. o Minor bugfixes (hidden services):
  3379. - Don't close hidden service client circuits which have almost
  3380. finished connecting to their destination when they reach
  3381. the normal circuit-build timeout. Previously, we would close
  3382. introduction circuits which are waiting for an acknowledgement
  3383. from the introduction point, and rendezvous circuits which have
  3384. been specified in an INTRODUCE1 cell sent to a hidden service,
  3385. after the normal CBT. Now, we mark them as 'timed out', and launch
  3386. another rendezvous attempt in parallel. This behavior change can
  3387. be disabled using the new CloseHSClientCircuitsImmediatelyOnTimeout
  3388. option. Fixes part of bug 1297; bugfix on 0.2.2.2-alpha.
  3389. - Don't close hidden-service-side rendezvous circuits when they
  3390. reach the normal circuit-build timeout. This behaviour change can
  3391. be disabled using the new
  3392. CloseHSServiceRendCircuitsImmediatelyOnTimeout option. Fixes the
  3393. remaining part of bug 1297; bugfix on 0.2.2.2-alpha.
  3394. - Make sure we never mark the wrong rendezvous circuit as having
  3395. had its introduction cell acknowleged by the introduction-point
  3396. relay. Previously, when we received an INTRODUCE_ACK cell on a
  3397. client-side hidden-service introduction circuit, we might have
  3398. marked a rendezvous circuit other than the one we specified in
  3399. the INTRODUCE1 cell as INTRO_ACKED, which would have produced
  3400. a warning message and interfered with the hidden service
  3401. connection-establishment process. Fixes bug 4759; bugfix on
  3402. 0.2.3.3-alpha, when we added the stream-isolation feature which
  3403. might cause Tor to open multiple rendezvous circuits for the same
  3404. hidden service.
  3405. - Don't trigger an assertion failure when we mark a new client-side
  3406. hidden-service introduction circuit for close during the process
  3407. of creating it. Fixes bug 4796; bugfix on 0.2.3.6-alpha. Reported
  3408. by murb.
  3409. o Minor bugfixes (log messages):
  3410. - Correctly spell "connect" in a log message on failure to create a
  3411. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta and
  3412. 0.2.3.2-alpha.
  3413. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  3414. Fixes bug 4856; bugfix on Tor 0.0.6.
  3415. - Fix the log message describing how we work around discovering
  3416. that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
  3417. 4837; bugfix on 0.2.2.9-alpha.
  3418. - When logging about a disallowed .exit name, do not also call it
  3419. an "invalid onion address". Fixes bug 3325; bugfix on 0.2.2.9-alpha.
  3420. o Minor bugfixes (build fixes):
  3421. - During configure, detect when we're building with clang version
  3422. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  3423. CFLAGS. clang doesn't support them yet.
  3424. - During configure, search for library containing cos function as
  3425. libm lives in libcore on some platforms (BeOS/Haiku). Linking
  3426. against libm was hard-coded before. Fixes the first part of bug
  3427. 4727; bugfix on 0.2.2.2-alpha. Patch and analysis by Martin Hebnes
  3428. Pedersen.
  3429. - Detect attempts to build Tor on (as yet hypothetical) versions
  3430. of Windows where sizeof(intptr_t) != sizeof(SOCKET). Partial
  3431. fix for bug 4533. Bugfix on 0.2.2.28-beta.
  3432. - Preprocessor directives should not be put inside the arguments
  3433. of a macro. This would break compilation with GCC releases prior
  3434. to version 3.3. We would never recommend such an old GCC version,
  3435. but it is apparently required for binary compatibility on some
  3436. platforms (namely, certain builds of Haiku). Fixes the other part
  3437. of bug 4727; bugfix on 0.2.3.3-alpha. Patch and analysis by Martin
  3438. Hebnes Pedersen.
  3439. o Minor bugfixes (other):
  3440. - Older Linux kernels erroneously respond to strange nmap behavior
  3441. by having accept() return successfully with a zero-length
  3442. socket. When this happens, just close the connection. Previously,
  3443. we would try harder to learn the remote address: but there was
  3444. no such remote address to learn, and our method for trying to
  3445. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  3446. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  3447. - Fix null-pointer access that could occur if TLS allocation failed.
  3448. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un". This was
  3449. erroneously listed as fixed in 0.2.3.9-alpha, but the fix had
  3450. accidentally been reverted.
  3451. - Fix our implementation of crypto_random_hostname() so it can't
  3452. overflow on ridiculously large inputs. (No Tor version has ever
  3453. provided this kind of bad inputs, but let's be correct in depth.)
  3454. Fixes bug 4413; bugfix on 0.2.2.9-alpha. Fix by Stephen Palmateer.
  3455. - Find more places in the code that should have been testing for
  3456. invalid sockets using the SOCKET_OK macro. Required for a fix
  3457. for bug 4533. Bugfix on 0.2.2.28-beta.
  3458. - Fix an assertion failure when, while running with bufferevents, a
  3459. connection finishes connecting after it is marked for close, but
  3460. before it is closed. Fixes bug 4697; bugfix on 0.2.3.1-alpha.
  3461. - test_util_spawn_background_ok() hardcoded the expected value
  3462. for ENOENT to 2. This isn't portable as error numbers are
  3463. platform specific, and particularly the hurd has ENOENT at
  3464. 0x40000002. Construct expected string at runtime, using the correct
  3465. value for ENOENT. Fixes bug 4733; bugfix on 0.2.3.1-alpha.
  3466. - Reject attempts to disable DisableDebuggerAttachment while Tor is
  3467. running. Fixes bug 4650; bugfix on 0.2.3.9-alpha.
  3468. - Use an appropriate-width type for sockets in tor-fw-helper on
  3469. win64. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
  3470. o Feature removal:
  3471. - When sending or relaying a RELAY_EARLY cell, we used to convert
  3472. it to a RELAY cell if the connection was using the v1 link
  3473. protocol. This was a workaround for older versions of Tor, which
  3474. didn't handle RELAY_EARLY cells properly. Now that all supported
  3475. versions can handle RELAY_EARLY cells, and now that we're enforcing
  3476. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  3477. remove this workaround. Addresses bug 4786.
  3478. o Code simplifications and refactoring:
  3479. - Use OpenSSL's built-in SSL_state_string_long() instead of our
  3480. own homebrewed ssl_state_to_string() replacement. Patch from
  3481. Emile Snyder. Fixes bug 4653.
  3482. - Use macros to indicate OpenSSL versions, so we don't need to worry
  3483. about accidental hexadecimal bit shifts.
  3484. - Remove some workaround code for OpenSSL 0.9.6 (which is no longer
  3485. supported).
  3486. - Convert more instances of tor_snprintf+tor_strdup into tor_asprintf.
  3487. - Use the smartlist_add_asprintf() alias more consistently.
  3488. - Use a TOR_INVALID_SOCKET macro when initializing a socket to an
  3489. invalid value, rather than just -1.
  3490. - Rename a handful of old identifiers, mostly related to crypto
  3491. structures and crypto functions. By convention, our "create an
  3492. object" functions are called "type_new()", our "free an object"
  3493. functions are called "type_free()", and our types indicate that
  3494. they are types only with a final "_t". But a handful of older
  3495. types and functions broke these rules, with function names like
  3496. "type_create" or "subsystem_op_type", or with type names like
  3497. type_env_t.
  3498. Changes in version 0.2.3.10-alpha - 2011-12-16
  3499. Tor 0.2.3.10-alpha fixes a critical heap-overflow security issue in
  3500. Tor's buffers code. Absolutely everybody should upgrade.
  3501. The bug relied on an incorrect calculation when making data continuous
  3502. in one of our IO buffers, if the first chunk of the buffer was
  3503. misaligned by just the wrong amount. The miscalculation would allow an
  3504. attacker to overflow a piece of heap-allocated memory. To mount this
  3505. attack, the attacker would need to either open a SOCKS connection to
  3506. Tor's SocksPort (usually restricted to localhost), or target a Tor
  3507. instance configured to make its connections through a SOCKS proxy
  3508. (which Tor does not do by default).
  3509. Good security practice requires that all heap-overflow bugs should be
  3510. presumed to be exploitable until proven otherwise, so we are treating
  3511. this as a potential code execution attack. Please upgrade immediately!
  3512. This bug does not affect bufferevents-based builds of Tor. Special
  3513. thanks to "Vektor" for reporting this issue to us!
  3514. This release also contains a few minor bugfixes for issues discovered
  3515. in 0.2.3.9-alpha.
  3516. o Major bugfixes:
  3517. - Fix a heap overflow bug that could occur when trying to pull
  3518. data into the first chunk of a buffer, when that chunk had
  3519. already had some data drained from it. Fixes CVE-2011-2778;
  3520. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  3521. o Minor bugfixes:
  3522. - If we can't attach streams to a rendezvous circuit when we
  3523. finish connecting to a hidden service, clear the rendezvous
  3524. circuit's stream-isolation state and try to attach streams
  3525. again. Previously, we cleared rendezvous circuits' isolation
  3526. state either too early (if they were freshly built) or not at all
  3527. (if they had been built earlier and were cannibalized). Bugfix on
  3528. 0.2.3.3-alpha; fixes bug 4655.
  3529. - Fix compilation of the libnatpmp helper on non-Windows. Bugfix on
  3530. 0.2.3.9-alpha; fixes bug 4691. Reported by Anthony G. Basile.
  3531. - Fix an assertion failure when a relay with accounting enabled
  3532. starts up while dormant. Fixes bug 4702; bugfix on 0.2.3.9-alpha.
  3533. o Minor features:
  3534. - Update to the December 6 2011 Maxmind GeoLite Country database.
  3535. Changes in version 0.2.2.35 - 2011-12-16
  3536. Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
  3537. buffers code. Absolutely everybody should upgrade.
  3538. The bug relied on an incorrect calculation when making data continuous
  3539. in one of our IO buffers, if the first chunk of the buffer was
  3540. misaligned by just the wrong amount. The miscalculation would allow an
  3541. attacker to overflow a piece of heap-allocated memory. To mount this
  3542. attack, the attacker would need to either open a SOCKS connection to
  3543. Tor's SocksPort (usually restricted to localhost), or target a Tor
  3544. instance configured to make its connections through a SOCKS proxy
  3545. (which Tor does not do by default).
  3546. Good security practice requires that all heap-overflow bugs should be
  3547. presumed to be exploitable until proven otherwise, so we are treating
  3548. this as a potential code execution attack. Please upgrade immediately!
  3549. This bug does not affect bufferevents-based builds of Tor. Special
  3550. thanks to "Vektor" for reporting this issue to us!
  3551. Tor 0.2.2.35 also fixes several bugs in previous versions, including
  3552. crash bugs for unusual configurations, and a long-term bug that
  3553. would prevent Tor from starting on Windows machines with draconian
  3554. AV software.
  3555. With this release, we remind everyone that 0.2.0.x has reached its
  3556. formal end-of-life. Those Tor versions have many known flaws, and
  3557. nobody should be using them. You should upgrade -- ideally to the
  3558. 0.2.2.x series. If you're using a Linux or BSD and its packages are
  3559. obsolete, stop using those packages and upgrade anyway.
  3560. The Tor 0.2.1.x series is also approaching its end-of-life: it will no
  3561. longer receive support after some time in early 2012.
  3562. o Major bugfixes:
  3563. - Fix a heap overflow bug that could occur when trying to pull
  3564. data into the first chunk of a buffer, when that chunk had
  3565. already had some data drained from it. Fixes CVE-2011-2778;
  3566. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  3567. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  3568. that it doesn't attempt to allocate a socketpair. This could cause
  3569. some problems on Windows systems with overzealous firewalls. Fix for
  3570. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  3571. 2.0.15-stable.
  3572. - If we mark an OR connection for close based on a cell we process,
  3573. don't process any further cells on it. We already avoid further
  3574. reads on marked-for-close connections, but now we also discard the
  3575. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  3576. which was the first version where we might mark a connection for
  3577. close based on processing a cell on it.
  3578. - Correctly sanity-check that we don't underflow on a memory
  3579. allocation (and then assert) for hidden service introduction
  3580. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  3581. bugfix on 0.2.1.5-alpha.
  3582. - Fix a memory leak when we check whether a hidden service
  3583. descriptor has any usable introduction points left. Fixes bug
  3584. 4424. Bugfix on 0.2.2.25-alpha.
  3585. - Don't crash when we're running as a relay and don't have a GeoIP
  3586. file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
  3587. we've had in the 0.2.3.x branch already.
  3588. - When running as a client, do not print a misleading (and plain
  3589. wrong) log message that we're collecting "directory request"
  3590. statistics: clients don't collect statistics. Also don't create a
  3591. useless (because empty) stats file in the stats/ directory. Fixes
  3592. bug 4353; bugfix on 0.2.2.34.
  3593. o Minor bugfixes:
  3594. - Detect failure to initialize Libevent. This fix provides better
  3595. detection for future instances of bug 4457.
  3596. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  3597. function. This was eating up hideously large amounts of time on some
  3598. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  3599. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  3600. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  3601. Mansour Moufid.
  3602. - Don't warn about unused log_mutex in log.c when building with
  3603. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  3604. 0.1.0.6-rc which introduced --disable-threads.
  3605. - When configuring, starting, or stopping an NT service, stop
  3606. immediately after the service configuration attempt has succeeded
  3607. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  3608. - When sending a NETINFO cell, include the original address
  3609. received for the other side, not its canonical address. Found
  3610. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  3611. - Fix a typo in a hibernation-related log message. Fixes bug 4331;
  3612. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  3613. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  3614. occurred when a client tried to fetch a descriptor for a bridge
  3615. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  3616. - Backport fixes for a pair of compilation warnings on Windows.
  3617. Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
  3618. - If we had ever tried to call tor_addr_to_str on an address of
  3619. unknown type, we would have done a strdup on an uninitialized
  3620. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  3621. Reported by "troll_un".
  3622. - Correctly detect and handle transient lookup failures from
  3623. tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  3624. Reported by "troll_un".
  3625. - Fix null-pointer access that could occur if TLS allocation failed.
  3626. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  3627. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  3628. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  3629. o Minor features:
  3630. - Add two new config options for directory authorities:
  3631. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  3632. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  3633. that is always sufficient to satisfy the bandwidth requirement for
  3634. the Guard flag. Now it will be easier for researchers to simulate
  3635. Tor networks with different values. Resolves ticket 4484.
  3636. - When Tor ignores a hidden service specified in its configuration,
  3637. include the hidden service's directory in the warning message.
  3638. Previously, we would only tell the user that some hidden service
  3639. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  3640. - Update to the December 6 2011 Maxmind GeoLite Country database.
  3641. o Packaging changes:
  3642. - Make it easier to automate expert package builds on Windows,
  3643. by removing an absolute path from makensis.exe command.
  3644. Changes in version 0.2.1.32 - 2011-12-16
  3645. Tor 0.2.1.32 backports important security and privacy fixes for
  3646. oldstable. This release is intended only for package maintainers and
  3647. others who cannot use the 0.2.2 stable series. All others should be
  3648. using Tor 0.2.2.x or newer.
  3649. The Tor 0.2.1.x series will reach formal end-of-life some time in
  3650. early 2012; we will stop releasing patches for it then.
  3651. o Major bugfixes (also included in 0.2.2.x):
  3652. - Correctly sanity-check that we don't underflow on a memory
  3653. allocation (and then assert) for hidden service introduction
  3654. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  3655. bugfix on 0.2.1.5-alpha.
  3656. - Fix a heap overflow bug that could occur when trying to pull
  3657. data into the first chunk of a buffer, when that chunk had
  3658. already had some data drained from it. Fixes CVE-2011-2778;
  3659. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  3660. o Minor features:
  3661. - Update to the December 6 2011 Maxmind GeoLite Country database.
  3662. Changes in version 0.2.3.9-alpha - 2011-12-08
  3663. Tor 0.2.3.9-alpha introduces initial IPv6 support for bridges, adds
  3664. a "DisableNetwork" security feature that bundles can use to avoid
  3665. touching the network until bridges are configured, moves forward on
  3666. the pluggable transport design, fixes a flaw in the hidden service
  3667. design that unnecessarily prevented clients with wrong clocks from
  3668. reaching hidden services, and fixes a wide variety of other issues.
  3669. o Major features:
  3670. - Clients can now connect to private bridges over IPv6. Bridges
  3671. still need at least one IPv4 address in order to connect to
  3672. other relays. Note that we don't yet handle the case where the
  3673. user has two bridge lines for the same bridge (one IPv4, one
  3674. IPv6). Implements parts of proposal 186.
  3675. - New "DisableNetwork" config option to prevent Tor from launching any
  3676. connections or accepting any connections except on a control port.
  3677. Bundles and controllers can set this option before letting Tor talk
  3678. to the rest of the network, for example to prevent any connections
  3679. to a non-bridge address. Packages like Orbot can also use this
  3680. option to instruct Tor to save power when the network is off.
  3681. - Clients and bridges can now be configured to use a separate
  3682. "transport" proxy. This approach makes the censorship arms race
  3683. easier by allowing bridges to use protocol obfuscation plugins. It
  3684. implements the "managed proxy" part of proposal 180 (ticket 3472).
  3685. - When using OpenSSL 1.0.0 or later, use OpenSSL's counter mode
  3686. implementation. It makes AES_CTR about 7% faster than our old one
  3687. (which was about 10% faster than the one OpenSSL used to provide).
  3688. Resolves ticket 4526.
  3689. - Add a "tor2web mode" for clients that want to connect to hidden
  3690. services non-anonymously (and possibly more quickly). As a safety
  3691. measure to try to keep users from turning this on without knowing
  3692. what they are doing, tor2web mode must be explicitly enabled at
  3693. compile time, and a copy of Tor compiled to run in tor2web mode
  3694. cannot be used as a normal Tor client. Implements feature 2553.
  3695. - Add experimental support for running on Windows with IOCP and no
  3696. kernel-space socket buffers. This feature is controlled by a new
  3697. "UserspaceIOCPBuffers" config option (off by default), which has
  3698. no effect unless Tor has been built with support for bufferevents,
  3699. is running on Windows, and has enabled IOCP. This may, in the long
  3700. run, help solve or mitigate bug 98.
  3701. - Use a more secure consensus parameter voting algorithm. Now at
  3702. least three directory authorities or a majority of them must
  3703. vote on a given parameter before it will be included in the
  3704. consensus. Implements proposal 178.
  3705. o Major bugfixes:
  3706. - Hidden services now ignore the timestamps on INTRODUCE2 cells.
  3707. They used to check that the timestamp was within 30 minutes
  3708. of their system clock, so they could cap the size of their
  3709. replay-detection cache, but that approach unnecessarily refused
  3710. service to clients with wrong clocks. Bugfix on 0.2.1.6-alpha, when
  3711. the v3 intro-point protocol (the first one which sent a timestamp
  3712. field in the INTRODUCE2 cell) was introduced; fixes bug 3460.
  3713. - Only use the EVP interface when AES acceleration is enabled,
  3714. to avoid a 5-7% performance regression. Resolves issue 4525;
  3715. bugfix on 0.2.3.8-alpha.
  3716. o Privacy/anonymity features (bridge detection):
  3717. - Make bridge SSL certificates a bit more stealthy by using random
  3718. serial numbers, in the same fashion as OpenSSL when generating
  3719. self-signed certificates. Implements ticket 4584.
  3720. - Introduce a new config option "DynamicDHGroups", enabled by
  3721. default, which provides each bridge with a unique prime DH modulus
  3722. to be used during SSL handshakes. This option attempts to help
  3723. against censors who might use the Apache DH modulus as a static
  3724. identifier for bridges. Addresses ticket 4548.
  3725. o Minor features (new/different config options):
  3726. - New configuration option "DisableDebuggerAttachment" (on by default)
  3727. to prevent basic debugging attachment attempts by other processes.
  3728. Supports Mac OS X and Gnu/Linux. Resolves ticket 3313.
  3729. - Allow MapAddress directives to specify matches against super-domains,
  3730. as in "MapAddress *.torproject.org *.torproject.org.torserver.exit".
  3731. Implements issue 933.
  3732. - Slightly change behavior of "list" options (that is, config
  3733. options that can appear more than once) when they appear both in
  3734. torrc and on the command line. Previously, the command-line options
  3735. would be appended to the ones from torrc. Now, the command-line
  3736. options override the torrc options entirely. This new behavior
  3737. allows the user to override list options (like exit policies and
  3738. ports to listen on) from the command line, rather than simply
  3739. appending to the list.
  3740. - You can get the old (appending) command-line behavior for "list"
  3741. options by prefixing the option name with a "+".
  3742. - You can remove all the values for a "list" option from the command
  3743. line without adding any new ones by prefixing the option name
  3744. with a "/".
  3745. - Add experimental support for a "defaults" torrc file to be parsed
  3746. before the regular torrc. Torrc options override the defaults file's
  3747. options in the same way that the command line overrides the torrc.
  3748. The SAVECONF controller command saves only those options which
  3749. differ between the current configuration and the defaults file. HUP
  3750. reloads both files. (Note: This is an experimental feature; its
  3751. behavior will probably be refined in future 0.2.3.x-alpha versions
  3752. to better meet packagers' needs.) Implements task 4552.
  3753. o Minor features:
  3754. - Try to make the introductory warning message that Tor prints on
  3755. startup more useful for actually finding help and information.
  3756. Resolves ticket 2474.
  3757. - Running "make version" now displays the version of Tor that
  3758. we're about to build. Idea from katmagic; resolves issue 4400.
  3759. - Expire old or over-used hidden service introduction points.
  3760. Required by fix for bug 3460.
  3761. - Move the replay-detection cache for the RSA-encrypted parts of
  3762. INTRODUCE2 cells to the introduction point data structures.
  3763. Previously, we would use one replay-detection cache per hidden
  3764. service. Required by fix for bug 3460.
  3765. - Reduce the lifetime of elements of hidden services' Diffie-Hellman
  3766. public key replay-detection cache from 60 minutes to 5 minutes. This
  3767. replay-detection cache is now used only to detect multiple
  3768. INTRODUCE2 cells specifying the same rendezvous point, so we can
  3769. avoid launching multiple simultaneous attempts to connect to it.
  3770. o Minor bugfixes (on Tor 0.2.2.x and earlier):
  3771. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  3772. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  3773. Mansour Moufid.
  3774. - Fix a minor formatting issue in one of tor-gencert's error messages.
  3775. Fixes bug 4574.
  3776. - Prevent a false positive from the check-spaces script, by disabling
  3777. the "whitespace between function name and (" check for functions
  3778. named 'op()'.
  3779. - Fix a log message suggesting that people contact a non-existent
  3780. email address. Fixes bug 3448.
  3781. - Fix null-pointer access that could occur if TLS allocation failed.
  3782. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  3783. - Report a real bootstrap problem to the controller on router
  3784. identity mismatch. Previously we just said "foo", which probably
  3785. made a lot of sense at the time. Fixes bug 4169; bugfix on
  3786. 0.2.1.1-alpha.
  3787. - If we had ever tried to call tor_addr_to_str() on an address of
  3788. unknown type, we would have done a strdup() on an uninitialized
  3789. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  3790. Reported by "troll_un".
  3791. - Correctly detect and handle transient lookup failures from
  3792. tor_addr_lookup(). Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  3793. Reported by "troll_un".
  3794. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  3795. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  3796. - Initialize conn->addr to a valid state in spawn_cpuworker(). Fixes
  3797. bug 4532; found by "troll_un".
  3798. o Minor bugfixes (on Tor 0.2.3.x):
  3799. - Fix a compile warning in tor_inet_pton(). Bugfix on 0.2.3.8-alpha;
  3800. fixes bug 4554.
  3801. - Don't send two ESTABLISH_RENDEZVOUS cells when opening a new
  3802. circuit for use as a hidden service client's rendezvous point.
  3803. Fixes bugs 4641 and 4171; bugfix on 0.2.3.3-alpha. Diagnosed
  3804. with help from wanoskarnet.
  3805. - Restore behavior of overriding SocksPort, ORPort, and similar
  3806. options from the command line. Bugfix on 0.2.3.3-alpha.
  3807. o Build fixes:
  3808. - Properly handle the case where the build-tree is not the same
  3809. as the source tree when generating src/common/common_sha1.i,
  3810. src/or/micro-revision.i, and src/or/or_sha1.i. Fixes bug 3953;
  3811. bugfix on 0.2.0.1-alpha.
  3812. o Code simplifications, cleanups, and refactorings:
  3813. - Remove the pure attribute from all functions that used it
  3814. previously. In many cases we assigned it incorrectly, because the
  3815. functions might assert or call impure functions, and we don't have
  3816. evidence that keeping the pure attribute is worthwhile. Implements
  3817. changes suggested in ticket 4421.
  3818. - Remove some dead code spotted by coverity. Fixes cid 432.
  3819. Bugfix on 0.2.3.1-alpha, closes bug 4637.
  3820. Changes in version 0.2.3.8-alpha - 2011-11-22
  3821. Tor 0.2.3.8-alpha fixes some crash and assert bugs, including a
  3822. socketpair-related bug that has been bothering Windows users. It adds
  3823. support to serve microdescriptors to controllers, so Vidalia's network
  3824. map can resume listing relays (once Vidalia implements its side),
  3825. and adds better support for hardware AES acceleration. Finally, it
  3826. starts the process of adjusting the bandwidth cutoff for getting the
  3827. "Fast" flag from 20KB to (currently) 32KB -- preliminary results show
  3828. that tiny relays harm performance more than they help network capacity.
  3829. o Major bugfixes:
  3830. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  3831. that it doesn't attempt to allocate a socketpair. This could cause
  3832. some problems on Windows systems with overzealous firewalls. Fix for
  3833. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  3834. 2.0.15-stable.
  3835. - Correctly sanity-check that we don't underflow on a memory
  3836. allocation (and then assert) for hidden service introduction
  3837. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  3838. bugfix on 0.2.1.5-alpha.
  3839. - Remove the artificially low cutoff of 20KB to guarantee the Fast
  3840. flag. In the past few years the average relay speed has picked
  3841. up, and while the "top 7/8 of the network get the Fast flag" and
  3842. "all relays with 20KB or more of capacity get the Fast flag" rules
  3843. used to have the same result, now the top 7/8 of the network has
  3844. a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
  3845. - Fix a rare assertion failure when checking whether a v0 hidden
  3846. service descriptor has any usable introduction points left, and
  3847. we don't have enough information to build a circuit to the first
  3848. intro point named in the descriptor. The HS client code in
  3849. 0.2.3.x no longer uses v0 HS descriptors, but this assertion can
  3850. trigger on (and crash) v0 HS authorities. Fixes bug 4411.
  3851. Bugfix on 0.2.3.1-alpha; diagnosed by frosty_un.
  3852. - Make bridge authorities not crash when they are asked for their own
  3853. descriptor. Bugfix on 0.2.3.7-alpha, reported by Lucky Green.
  3854. - When running as a client, do not print a misleading (and plain
  3855. wrong) log message that we're collecting "directory request"
  3856. statistics: clients don't collect statistics. Also don't create a
  3857. useless (because empty) stats file in the stats/ directory. Fixes
  3858. bug 4353; bugfix on 0.2.2.34 and 0.2.3.7-alpha.
  3859. o Major features:
  3860. - Allow Tor controllers like Vidalia to obtain the microdescriptor
  3861. for a relay by identity digest or nickname. Previously,
  3862. microdescriptors were only available by their own digests, so a
  3863. controller would have to ask for and parse the whole microdescriptor
  3864. consensus in order to look up a single relay's microdesc. Fixes
  3865. bug 3832; bugfix on 0.2.3.1-alpha.
  3866. - Use OpenSSL's EVP interface for AES encryption, so that all AES
  3867. operations can use hardware acceleration (if present). Resolves
  3868. ticket 4442.
  3869. o Minor bugfixes (on 0.2.2.x and earlier):
  3870. - Detect failure to initialize Libevent. This fix provides better
  3871. detection for future instances of bug 4457.
  3872. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  3873. function. This was eating up hideously large amounts of time on some
  3874. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  3875. - Don't warn about unused log_mutex in log.c when building with
  3876. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  3877. 0.1.0.6-rc which introduced --disable-threads.
  3878. - Allow manual 'authenticate' commands to the controller interface
  3879. from netcat (nc) as well as telnet. We were rejecting them because
  3880. they didn't come with the expected whitespace at the end of the
  3881. command. Bugfix on 0.1.1.1-alpha; fixes bug 2893.
  3882. - Fix some (not actually triggerable) buffer size checks in usage of
  3883. tor_inet_ntop. Fixes bug 4434; bugfix on Tor 0.2.0.1-alpha. Patch
  3884. by Anders Sundman.
  3885. - Fix parsing of some corner-cases with tor_inet_pton(). Fixes
  3886. bug 4515; bugfix on 0.2.0.1-alpha; fix by Anders Sundman.
  3887. - When configuring, starting, or stopping an NT service, stop
  3888. immediately after the service configuration attempt has succeeded
  3889. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  3890. - When sending a NETINFO cell, include the original address
  3891. received for the other side, not its canonical address. Found
  3892. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  3893. - Rename the bench_{aes,dmap} functions to test_*, so that tinytest
  3894. can pick them up when the tests aren't disabled. Bugfix on
  3895. 0.2.2.4-alpha which introduced tinytest.
  3896. - Fix a memory leak when we check whether a hidden service
  3897. descriptor has any usable introduction points left. Fixes bug
  3898. 4424. Bugfix on 0.2.2.25-alpha.
  3899. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  3900. occurred when a client tried to fetch a descriptor for a bridge
  3901. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  3902. o Minor bugfixes (on 0.2.3.x):
  3903. - Make util unit tests build correctly with MSVC. Bugfix on
  3904. 0.2.3.3-alpha. Patch by Gisle Vanem.
  3905. - Successfully detect AUTH_CHALLENGE cells with no recognized
  3906. authentication type listed. Fixes bug 4367; bugfix on 0.2.3.6-alpha.
  3907. Found by frosty_un.
  3908. - If a relay receives an AUTH_CHALLENGE cell it can't answer,
  3909. it should still send a NETINFO cell to allow the connection to
  3910. become open. Fixes bug 4368; fix on 0.2.3.6-alpha; bug found by
  3911. "frosty".
  3912. - Log less loudly when we get an invalid authentication certificate
  3913. from a source other than a directory authority: it's not unusual
  3914. to see invalid certs because of clock skew. Fixes bug 4370; bugfix
  3915. on 0.2.3.6-alpha.
  3916. - Tolerate servers with more clock skew in their authentication
  3917. certificates than previously. Fixes bug 4371; bugfix on
  3918. 0.2.3.6-alpha.
  3919. - Fix a couple of compile warnings on Windows. Fixes bug 4469; bugfix
  3920. on 0.2.3.4-alpha and 0.2.3.6-alpha.
  3921. o Minor features:
  3922. - Add two new config options for directory authorities:
  3923. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  3924. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  3925. that is always sufficient to satisfy the bandwidth requirement for
  3926. the Guard flag. Now it will be easier for researchers to simulate
  3927. Tor networks with different values. Resolves ticket 4484.
  3928. - When Tor ignores a hidden service specified in its configuration,
  3929. include the hidden service's directory in the warning message.
  3930. Previously, we would only tell the user that some hidden service
  3931. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  3932. - When we fail to initialize Libevent, retry with IOCP disabled so we
  3933. don't need to turn on multi-threading support in Libevent, which in
  3934. turn requires a working socketpair(). This is a workaround for bug
  3935. 4457, which affects Libevent versions from 2.0.1-alpha through
  3936. 2.0.15-stable.
  3937. - Detect when we try to build on a platform that doesn't define
  3938. AF_UNSPEC to 0. We don't work there, so refuse to compile.
  3939. - Update to the November 1 2011 Maxmind GeoLite Country database.
  3940. o Packaging changes:
  3941. - Make it easier to automate expert package builds on Windows,
  3942. by removing an absolute path from makensis.exe command.
  3943. o Code simplifications and refactoring:
  3944. - Remove some redundant #include directives throughout the code.
  3945. Patch from Andrea Gelmini.
  3946. - Unconditionally use OpenSSL's AES implementation instead of our
  3947. old built-in one. OpenSSL's AES has been better for a while, and
  3948. relatively few servers should still be on any version of OpenSSL
  3949. that doesn't have good optimized assembly AES.
  3950. - Use the name "CERTS" consistently to refer to the new cell type;
  3951. we were calling it CERT in some places and CERTS in others.
  3952. o Testing:
  3953. - Numerous new unit tests for functions in util.c and address.c by
  3954. Anders Sundman.
  3955. - The long-disabled benchmark tests are now split into their own
  3956. ./src/test/bench binary.
  3957. - The benchmark tests can now use more accurate timers than
  3958. gettimeofday() when such timers are available.
  3959. Changes in version 0.2.3.7-alpha - 2011-10-30
  3960. Tor 0.2.3.7-alpha fixes a crash bug in 0.2.3.6-alpha introduced by
  3961. the new v3 handshake. It also resolves yet another bridge address
  3962. enumeration issue.
  3963. o Major bugfixes:
  3964. - If we mark an OR connection for close based on a cell we process,
  3965. don't process any further cells on it. We already avoid further
  3966. reads on marked-for-close connections, but now we also discard the
  3967. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  3968. which was the first version where we might mark a connection for
  3969. close based on processing a cell on it.
  3970. - Fix a double-free bug that would occur when we received an invalid
  3971. certificate in a CERT cell in the new v3 handshake. Fixes bug 4343;
  3972. bugfix on 0.2.3.6-alpha.
  3973. - Bridges no longer include their address in NETINFO cells on outgoing
  3974. OR connections, to allow them to blend in better with clients.
  3975. Removes another avenue for enumerating bridges. Reported by
  3976. "troll_un". Fixes bug 4348; bugfix on 0.2.0.10-alpha, when NETINFO
  3977. cells were introduced.
  3978. o Trivial fixes:
  3979. - Fixed a typo in a hibernation-related log message. Fixes bug 4331;
  3980. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  3981. Changes in version 0.2.3.6-alpha - 2011-10-26
  3982. Tor 0.2.3.6-alpha includes the fix from 0.2.2.34 for a critical
  3983. anonymity vulnerability where an attacker can deanonymize Tor
  3984. users. Everybody should upgrade.
  3985. This release also features support for a new v3 connection handshake
  3986. protocol, and fixes to make hidden service connections more robust.
  3987. o Major features:
  3988. - Implement a new handshake protocol (v3) for authenticating Tors to
  3989. each other over TLS. It should be more resistant to fingerprinting
  3990. than previous protocols, and should require less TLS hacking for
  3991. future Tor implementations. Implements proposal 176.
  3992. - Allow variable-length padding cells to disguise the length of
  3993. Tor's TLS records. Implements part of proposal 184.
  3994. o Privacy/anonymity fixes (clients):
  3995. - Clients and bridges no longer send TLS certificate chains on
  3996. outgoing OR connections. Previously, each client or bridge would
  3997. use the same cert chain for all outgoing OR connections until
  3998. its IP address changes, which allowed any relay that the client
  3999. or bridge contacted to determine which entry guards it is using.
  4000. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  4001. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  4002. no longer considers that connection as suitable for satisfying a
  4003. circuit EXTEND request. Now relays can protect clients from the
  4004. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  4005. - Directory authorities no longer assign the Guard flag to relays
  4006. that haven't upgraded to the above "refuse EXTEND requests
  4007. to client connections" fix. Now directory authorities can
  4008. protect clients from the CVE-2011-2768 issue even if neither
  4009. the clients nor the relays have upgraded yet. There's a new
  4010. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  4011. to let us transition smoothly, else tomorrow there would be no
  4012. guard relays.
  4013. o Major bugfixes (hidden services):
  4014. - Improve hidden service robustness: when an attempt to connect to
  4015. a hidden service ends, be willing to refetch its hidden service
  4016. descriptors from each of the HSDir relays responsible for them
  4017. immediately. Previously, we would not consider refetching the
  4018. service's descriptors from each HSDir for 15 minutes after the last
  4019. fetch, which was inconvenient if the hidden service was not running
  4020. during the first attempt. Bugfix on 0.2.0.18-alpha; fixes bug 3335.
  4021. - When one of a hidden service's introduction points appears to be
  4022. unreachable, stop trying it. Previously, we would keep trying
  4023. to build circuits to the introduction point until we lost the
  4024. descriptor, usually because the user gave up and restarted Tor.
  4025. Partly fixes bug 3825.
  4026. - Don't launch a useless circuit after failing to use one of a
  4027. hidden service's introduction points. Previously, we would
  4028. launch a new introduction circuit, but not set the hidden service
  4029. which that circuit was intended to connect to, so it would never
  4030. actually be used. A different piece of code would then create a
  4031. new introduction circuit correctly. Bug reported by katmagic and
  4032. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  4033. o Major bugfixes (other):
  4034. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  4035. that they initiated. Relays could distinguish incoming bridge
  4036. connections from client connections, creating another avenue for
  4037. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  4038. Found by "frosty_un".
  4039. - Don't update the AccountingSoftLimitHitAt state file entry whenever
  4040. tor gets started. This prevents a wrong average bandwidth
  4041. estimate, which would cause relays to always start a new accounting
  4042. interval at the earliest possible moment. Fixes bug 2003; bugfix
  4043. on 0.2.2.7-alpha. Reported by BryonEldridge, who also helped
  4044. immensely in tracking this bug down.
  4045. - Fix a crash bug when changing node restrictions while a DNS lookup
  4046. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  4047. by "Tey'".
  4048. o Minor bugfixes (on 0.2.2.x and earlier):
  4049. - When a hidden service turns an extra service-side introduction
  4050. circuit into a general-purpose circuit, free the rend_data and
  4051. intro_key fields first, so we won't leak memory if the circuit
  4052. is cannibalized for use as another service-side introduction
  4053. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  4054. - Rephrase the log message emitted if the TestSocks check is
  4055. successful. Patch from Fabian Keil; fixes bug 4094.
  4056. - Bridges now skip DNS self-tests, to act a little more stealthily.
  4057. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  4058. bridges. Patch by "warms0x".
  4059. - Remove a confusing dollar sign from the example fingerprint in the
  4060. man page, and also make the example fingerprint a valid one. Fixes
  4061. bug 4309; bugfix on 0.2.1.3-alpha.
  4062. - Fix internal bug-checking logic that was supposed to catch
  4063. failures in digest generation so that it will fail more robustly
  4064. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  4065. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  4066. - Report any failure in init_keys() calls launched because our
  4067. IP address has changed. Spotted by Coverity Scan. Bugfix on
  4068. 0.1.1.4-alpha; fixes CID 484.
  4069. o Minor bugfixes (on 0.2.3.x):
  4070. - Fix a bug in configure.in that kept it from building a configure
  4071. script with autoconf versions earlier than 2.61. Fixes bug 2430;
  4072. bugfix on 0.2.3.1-alpha.
  4073. - Don't warn users that they are exposing a client port to the
  4074. Internet if they have specified an RFC1918 address. Previously,
  4075. we would warn if the user had specified any non-loopback
  4076. address. Bugfix on 0.2.3.3-alpha. Fixes bug 4018; reported by Tas.
  4077. - Fix memory leaks in the failing cases of the new SocksPort and
  4078. ControlPort code. Found by Coverity Scan. Bugfix on 0.2.3.3-alpha;
  4079. fixes coverity CIDs 485, 486, and 487.
  4080. o Minor features:
  4081. - When a hidden service's introduction point times out, consider
  4082. trying it again during the next attempt to connect to the
  4083. HS. Previously, we would not try it again unless a newly fetched
  4084. descriptor contained it. Required by fixes for bugs 1297 and 3825.
  4085. - The next version of Windows will be called Windows 8, and it has
  4086. a major version of 6, minor version of 2. Correctly identify that
  4087. version instead of calling it "Very recent version". Resolves
  4088. ticket 4153; reported by funkstar.
  4089. - The Bridge Authority now writes statistics on how many bridge
  4090. descriptors it gave out in total, and how many unique descriptors
  4091. it gave out. It also lists how often the most and least commonly
  4092. fetched descriptors were given out, as well as the median and
  4093. 25th/75th percentile. Implements tickets 4200 and 4294.
  4094. - Update to the October 4 2011 Maxmind GeoLite Country database.
  4095. o Code simplifications and refactoring:
  4096. - Remove some old code to remember statistics about which descriptors
  4097. we've served as a directory mirror. The feature wasn't used and
  4098. is outdated now that microdescriptors are around.
  4099. - Rename Tor functions that turn strings into addresses, so that
  4100. "parse" indicates that no hostname resolution occurs, and
  4101. "lookup" indicates that hostname resolution may occur. This
  4102. should help prevent mistakes in the future. Fixes bug 3512.
  4103. Changes in version 0.2.2.34 - 2011-10-26
  4104. Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
  4105. can deanonymize Tor users. Everybody should upgrade.
  4106. The attack relies on four components: 1) Clients reuse their TLS cert
  4107. when talking to different relays, so relays can recognize a user by
  4108. the identity key in her cert. 2) An attacker who knows the client's
  4109. identity key can probe each guard relay to see if that identity key
  4110. is connected to that guard relay right now. 3) A variety of active
  4111. attacks in the literature (starting from "Low-Cost Traffic Analysis
  4112. of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
  4113. discover the guard relays that a Tor user visiting the website is using.
  4114. 4) Clients typically pick three guards at random, so the set of guards
  4115. for a given user could well be a unique fingerprint for her. This
  4116. release fixes components #1 and #2, which is enough to block the attack;
  4117. the other two remain as open research problems. Special thanks to
  4118. "frosty_un" for reporting the issue to us!
  4119. Clients should upgrade so they are no longer recognizable by the TLS
  4120. certs they present. Relays should upgrade so they no longer allow a
  4121. remote attacker to probe them to test whether unpatched clients are
  4122. currently connected to them.
  4123. This release also fixes several vulnerabilities that allow an attacker
  4124. to enumerate bridge relays. Some bridge enumeration attacks still
  4125. remain; see for example proposal 188.
  4126. o Privacy/anonymity fixes (clients):
  4127. - Clients and bridges no longer send TLS certificate chains on
  4128. outgoing OR connections. Previously, each client or bridge would
  4129. use the same cert chain for all outgoing OR connections until
  4130. its IP address changes, which allowed any relay that the client
  4131. or bridge contacted to determine which entry guards it is using.
  4132. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  4133. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  4134. no longer considers that connection as suitable for satisfying a
  4135. circuit EXTEND request. Now relays can protect clients from the
  4136. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  4137. - Directory authorities no longer assign the Guard flag to relays
  4138. that haven't upgraded to the above "refuse EXTEND requests
  4139. to client connections" fix. Now directory authorities can
  4140. protect clients from the CVE-2011-2768 issue even if neither
  4141. the clients nor the relays have upgraded yet. There's a new
  4142. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  4143. to let us transition smoothly, else tomorrow there would be no
  4144. guard relays.
  4145. o Privacy/anonymity fixes (bridge enumeration):
  4146. - Bridge relays now do their directory fetches inside Tor TLS
  4147. connections, like all the other clients do, rather than connecting
  4148. directly to the DirPort like public relays do. Removes another
  4149. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  4150. - Bridges relays now build circuits for themselves in a more similar
  4151. way to how clients build them. Removes another avenue for
  4152. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  4153. when bridges were introduced.
  4154. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  4155. that they initiated. Relays could distinguish incoming bridge
  4156. connections from client connections, creating another avenue for
  4157. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  4158. Found by "frosty_un".
  4159. o Major bugfixes:
  4160. - Fix a crash bug when changing node restrictions while a DNS lookup
  4161. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  4162. by "Tey'".
  4163. - Don't launch a useless circuit after failing to use one of a
  4164. hidden service's introduction points. Previously, we would
  4165. launch a new introduction circuit, but not set the hidden service
  4166. which that circuit was intended to connect to, so it would never
  4167. actually be used. A different piece of code would then create a
  4168. new introduction circuit correctly. Bug reported by katmagic and
  4169. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  4170. o Minor bugfixes:
  4171. - Change an integer overflow check in the OpenBSD_Malloc code so
  4172. that GCC is less likely to eliminate it as impossible. Patch
  4173. from Mansour Moufid. Fixes bug 4059.
  4174. - When a hidden service turns an extra service-side introduction
  4175. circuit into a general-purpose circuit, free the rend_data and
  4176. intro_key fields first, so we won't leak memory if the circuit
  4177. is cannibalized for use as another service-side introduction
  4178. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  4179. - Bridges now skip DNS self-tests, to act a little more stealthily.
  4180. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  4181. bridges. Patch by "warms0x".
  4182. - Fix internal bug-checking logic that was supposed to catch
  4183. failures in digest generation so that it will fail more robustly
  4184. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  4185. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  4186. - Report any failure in init_keys() calls launched because our
  4187. IP address has changed. Spotted by Coverity Scan. Bugfix on
  4188. 0.1.1.4-alpha; fixes CID 484.
  4189. o Minor bugfixes (log messages and documentation):
  4190. - Remove a confusing dollar sign from the example fingerprint in the
  4191. man page, and also make the example fingerprint a valid one. Fixes
  4192. bug 4309; bugfix on 0.2.1.3-alpha.
  4193. - The next version of Windows will be called Windows 8, and it has
  4194. a major version of 6, minor version of 2. Correctly identify that
  4195. version instead of calling it "Very recent version". Resolves
  4196. ticket 4153; reported by funkstar.
  4197. - Downgrade log messages about circuit timeout calibration from
  4198. "notice" to "info": they don't require or suggest any human
  4199. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  4200. bugfix on 0.2.2.14-alpha.
  4201. o Minor features:
  4202. - Turn on directory request statistics by default and include them in
  4203. extra-info descriptors. Don't break if we have no GeoIP database.
  4204. Backported from 0.2.3.1-alpha; implements ticket 3951.
  4205. - Update to the October 4 2011 Maxmind GeoLite Country database.
  4206. Changes in version 0.2.1.31 - 2011-10-26
  4207. Tor 0.2.1.31 backports important security and privacy fixes for
  4208. oldstable. This release is intended only for package maintainers and
  4209. others who cannot use the 0.2.2 stable series. All others should be
  4210. using Tor 0.2.2.x or newer.
  4211. o Security fixes (also included in 0.2.2.x):
  4212. - Replace all potentially sensitive memory comparison operations
  4213. with versions whose runtime does not depend on the data being
  4214. compared. This will help resist a class of attacks where an
  4215. adversary can use variations in timing information to learn
  4216. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  4217. implementation by Robert Ransom based partially on code by DJB.)
  4218. - Fix an assert in parsing router descriptors containing IPv6
  4219. addresses. This one took down the directory authorities when
  4220. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  4221. o Privacy/anonymity fixes (also included in 0.2.2.x):
  4222. - Clients and bridges no longer send TLS certificate chains on
  4223. outgoing OR connections. Previously, each client or bridge would
  4224. use the same cert chain for all outgoing OR connections until
  4225. its IP address changes, which allowed any relay that the client
  4226. or bridge contacted to determine which entry guards it is using.
  4227. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  4228. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  4229. no longer considers that connection as suitable for satisfying a
  4230. circuit EXTEND request. Now relays can protect clients from the
  4231. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  4232. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  4233. that they initiated. Relays could distinguish incoming bridge
  4234. connections from client connections, creating another avenue for
  4235. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  4236. Found by "frosty_un".
  4237. - When receiving a hidden service descriptor, check that it is for
  4238. the hidden service we wanted. Previously, Tor would store any
  4239. hidden service descriptors that a directory gave it, whether it
  4240. wanted them or not. This wouldn't have let an attacker impersonate
  4241. a hidden service, but it did let directories pre-seed a client
  4242. with descriptors that it didn't want. Bugfix on 0.0.6.
  4243. - Avoid linkability based on cached hidden service descriptors: forget
  4244. all hidden service descriptors cached as a client when processing a
  4245. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  4246. - Make the bridge directory authority refuse to answer directory
  4247. requests for "all" descriptors. It used to include bridge
  4248. descriptors in its answer, which was a major information leak.
  4249. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  4250. - Don't attach new streams to old rendezvous circuits after SIGNAL
  4251. NEWNYM. Previously, we would keep using an existing rendezvous
  4252. circuit if it remained open (i.e. if it were kept open by a
  4253. long-lived stream, or if a new stream were attached to it before
  4254. Tor could notice that it was old and no longer in use). Bugfix on
  4255. 0.1.1.15-rc; fixes bug 3375.
  4256. o Minor bugfixes (also included in 0.2.2.x):
  4257. - When we restart our relay, we might get a successful connection
  4258. from the outside before we've started our reachability tests,
  4259. triggering a warning: "ORPort found reachable, but I have no
  4260. routerinfo yet. Failing to inform controller of success." This
  4261. bug was harmless unless Tor is running under a controller
  4262. like Vidalia, in which case the controller would never get a
  4263. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  4264. fixes bug 1172.
  4265. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  4266. enabled. Fixes bug 1526.
  4267. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  4268. anything since 0.2.1.16-rc.
  4269. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  4270. None of the cases where we did this before were wrong, but by making
  4271. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  4272. - Fix a rare crash bug that could occur when a client was configured
  4273. with a large number of bridges. Fixes bug 2629; bugfix on
  4274. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  4275. - Correct the warning displayed when a rendezvous descriptor exceeds
  4276. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  4277. John Brooks.
  4278. - Fix an uncommon assertion failure when running with DNSPort under
  4279. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  4280. - When warning about missing zlib development packages during compile,
  4281. give the correct package names. Bugfix on 0.2.0.1-alpha.
  4282. - Require that introduction point keys and onion keys have public
  4283. exponent 65537. Bugfix on 0.2.0.10-alpha.
  4284. - Do not crash when our configuration file becomes unreadable, for
  4285. example due to a permissions change, between when we start up
  4286. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  4287. on 0.0.9pre6.
  4288. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  4289. Fixes bug 3208.
  4290. - Always NUL-terminate the sun_path field of a sockaddr_un before
  4291. passing it to the kernel. (Not a security issue: kernels are
  4292. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  4293. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  4294. - Don't stack-allocate the list of supplementary GIDs when we're
  4295. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  4296. could take up to 256K, which is way too much stack. Found by
  4297. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  4298. o Minor bugfixes (only in 0.2.1.x):
  4299. - Resume using micro-version numbers in 0.2.1.x: our Debian packages
  4300. rely on them. Bugfix on 0.2.1.30.
  4301. - Use git revisions instead of svn revisions when generating our
  4302. micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  4303. o Minor features (also included in 0.2.2.x):
  4304. - Adjust the expiration time on our SSL session certificates to
  4305. better match SSL certs seen in the wild. Resolves ticket 4014.
  4306. - Allow nameservers with IPv6 address. Resolves bug 2574.
  4307. - Update to the October 4 2011 Maxmind GeoLite Country database.
  4308. Changes in version 0.2.3.5-alpha - 2011-09-28
  4309. Tor 0.2.3.5-alpha fixes two bugs that make it possible to enumerate
  4310. bridge relays; fixes an assertion error that many users started hitting
  4311. today; and adds the ability to refill token buckets more often than
  4312. once per second, allowing significant performance improvements.
  4313. o Security fixes:
  4314. - Bridge relays now do their directory fetches inside Tor TLS
  4315. connections, like all the other clients do, rather than connecting
  4316. directly to the DirPort like public relays do. Removes another
  4317. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  4318. - Bridges relays now build circuits for themselves in a more similar
  4319. way to how clients build them. Removes another avenue for
  4320. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  4321. when bridges were introduced.
  4322. o Major bugfixes:
  4323. - Fix an "Assertion md->held_by_node == 1 failed" error that could
  4324. occur when the same microdescriptor was referenced by two node_t
  4325. objects at once. Fix for bug 4118; bugfix on Tor 0.2.3.1-alpha.
  4326. o Major features (networking):
  4327. - Add a new TokenBucketRefillInterval option to refill token buckets
  4328. more frequently than once per second. This should improve network
  4329. performance, alleviate queueing problems, and make traffic less
  4330. bursty. Implements proposal 183; closes ticket 3630. Design by
  4331. Florian Tschorsch and Björn Scheuermann; implementation by
  4332. Florian Tschorsch.
  4333. o Minor bugfixes:
  4334. - Change an integer overflow check in the OpenBSD_Malloc code so
  4335. that GCC is less likely to eliminate it as impossible. Patch
  4336. from Mansour Moufid. Fixes bug 4059.
  4337. o Minor bugfixes (usability):
  4338. - Downgrade log messages about circuit timeout calibration from
  4339. "notice" to "info": they don't require or suggest any human
  4340. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  4341. bugfix on 0.2.2.14-alpha.
  4342. o Minor features (diagnostics):
  4343. - When the system call to create a listener socket fails, log the
  4344. error message explaining why. This may help diagnose bug 4027.
  4345. Changes in version 0.2.3.4-alpha - 2011-09-13
  4346. Tor 0.2.3.4-alpha includes the fixes from 0.2.2.33, including a slight
  4347. tweak to Tor's TLS handshake that makes relays and bridges that run
  4348. this new version reachable from Iran again. It also fixes a few new
  4349. bugs in 0.2.3.x, and teaches relays to recognize when they're not
  4350. listed in the network consensus and republish.
  4351. o Major bugfixes (also part of 0.2.2.33):
  4352. - Avoid an assertion failure when reloading a configuration with
  4353. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  4354. 3923; bugfix on 0.2.2.25-alpha.
  4355. o Minor features (security, also part of 0.2.2.33):
  4356. - Check for replays of the public-key encrypted portion of an
  4357. INTRODUCE1 cell, in addition to the current check for replays of
  4358. the g^x value. This prevents a possible class of active attacks
  4359. by an attacker who controls both an introduction point and a
  4360. rendezvous point, and who uses the malleability of AES-CTR to
  4361. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  4362. that these attacks are infeasible (requiring the attacker to send
  4363. on the order of zettabytes of altered cells in a short interval),
  4364. but we'd rather block them off in case there are any classes of
  4365. this attack that we missed. Reported by Willem Pinckaers.
  4366. o Minor features (also part of 0.2.2.33):
  4367. - Adjust the expiration time on our SSL session certificates to
  4368. better match SSL certs seen in the wild. Resolves ticket 4014.
  4369. - Change the default required uptime for a relay to be accepted as
  4370. a HSDir (hidden service directory) from 24 hours to 25 hours.
  4371. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  4372. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  4373. authorities to abstain from voting on assignment of the HSDir
  4374. consensus flag. Related to bug 2649.
  4375. - Update to the September 6 2011 Maxmind GeoLite Country database.
  4376. o Minor bugfixes (also part of 0.2.2.33):
  4377. - Demote the 'replay detected' log message emitted when a hidden
  4378. service receives the same Diffie-Hellman public key in two different
  4379. INTRODUCE2 cells to info level. A normal Tor client can cause that
  4380. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  4381. fixes part of bug 2442.
  4382. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  4383. level. There is nothing that a hidden service's operator can do
  4384. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  4385. of bug 2442.
  4386. - Clarify a log message specifying the characters permitted in
  4387. HiddenServiceAuthorizeClient client names. Previously, the log
  4388. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  4389. given the impression that every ASCII character between "+" and "_"
  4390. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  4391. o Build fixes (also part of 0.2.2.33):
  4392. - Clean up some code issues that prevented Tor from building on older
  4393. BSDs. Fixes bug 3894; reported by "grarpamp".
  4394. - Search for a platform-specific version of "ar" when cross-compiling.
  4395. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  4396. o Major bugfixes:
  4397. - Fix a bug where the SocksPort option (for example) would get
  4398. ignored and replaced by the default if a SocksListenAddress
  4399. option was set. Bugfix on 0.2.3.3-alpha; fixes bug 3936. Fix by
  4400. Fabian Keil.
  4401. o Major features:
  4402. - Relays now try regenerating and uploading their descriptor more
  4403. frequently if they are not listed in the consensus, or if the
  4404. version of their descriptor listed in the consensus is too
  4405. old. This fix should prevent situations where a server declines
  4406. to re-publish itself because it has done so too recently, even
  4407. though the authorities decided not to list its recent-enough
  4408. descriptor. Fix for bug 3327.
  4409. o Minor features:
  4410. - Relays now include a reason for regenerating their descriptors
  4411. in an HTTP header when uploading to the authorities. This will
  4412. make it easier to debug descriptor-upload issues in the future.
  4413. - When starting as root and then changing our UID via the User
  4414. control option, and we have a ControlSocket configured, make sure
  4415. that the ControlSocket is owned by the same account that Tor will
  4416. run under. Implements ticket 3421; fix by Jérémy Bobbio.
  4417. o Minor bugfixes:
  4418. - Abort if tor_vasprintf fails in connection_printf_to_buf (a
  4419. utility function used in the control-port code). This shouldn't
  4420. ever happen unless Tor is completely out of memory, but if it did
  4421. happen and Tor somehow recovered from it, Tor could have sent a log
  4422. message to a control port in the middle of a reply to a controller
  4423. command. Fixes part of bug 3428; bugfix on 0.1.2.3-alpha.
  4424. - Make 'FetchUselessDescriptors' cause all descriptor types and
  4425. all consensus types (including microdescriptors) to get fetched.
  4426. Fixes bug 3851; bugfix on 0.2.3.1-alpha.
  4427. o Code refactoring:
  4428. - Make a new "entry connection" struct as an internal subtype of "edge
  4429. connection", to simplify the code and make exit connections smaller.
  4430. Changes in version 0.2.2.33 - 2011-09-13
  4431. Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
  4432. TLS handshake that makes relays and bridges that run this new version
  4433. reachable from Iran again.
  4434. o Major bugfixes:
  4435. - Avoid an assertion failure when reloading a configuration with
  4436. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  4437. 3923; bugfix on 0.2.2.25-alpha.
  4438. o Minor features (security):
  4439. - Check for replays of the public-key encrypted portion of an
  4440. INTRODUCE1 cell, in addition to the current check for replays of
  4441. the g^x value. This prevents a possible class of active attacks
  4442. by an attacker who controls both an introduction point and a
  4443. rendezvous point, and who uses the malleability of AES-CTR to
  4444. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  4445. that these attacks are infeasible (requiring the attacker to send
  4446. on the order of zettabytes of altered cells in a short interval),
  4447. but we'd rather block them off in case there are any classes of
  4448. this attack that we missed. Reported by Willem Pinckaers.
  4449. o Minor features:
  4450. - Adjust the expiration time on our SSL session certificates to
  4451. better match SSL certs seen in the wild. Resolves ticket 4014.
  4452. - Change the default required uptime for a relay to be accepted as
  4453. a HSDir (hidden service directory) from 24 hours to 25 hours.
  4454. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  4455. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  4456. authorities to abstain from voting on assignment of the HSDir
  4457. consensus flag. Related to bug 2649.
  4458. - Update to the September 6 2011 Maxmind GeoLite Country database.
  4459. o Minor bugfixes (documentation and log messages):
  4460. - Correct the man page to explain that HashedControlPassword and
  4461. CookieAuthentication can both be set, in which case either method
  4462. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  4463. when we decided to allow these config options to both be set. Issue
  4464. raised by bug 3898.
  4465. - Demote the 'replay detected' log message emitted when a hidden
  4466. service receives the same Diffie-Hellman public key in two different
  4467. INTRODUCE2 cells to info level. A normal Tor client can cause that
  4468. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  4469. fixes part of bug 2442.
  4470. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  4471. level. There is nothing that a hidden service's operator can do
  4472. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  4473. of bug 2442.
  4474. - Clarify a log message specifying the characters permitted in
  4475. HiddenServiceAuthorizeClient client names. Previously, the log
  4476. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  4477. given the impression that every ASCII character between "+" and "_"
  4478. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  4479. o Build fixes:
  4480. - Provide a substitute implementation of lround() for MSVC, which
  4481. apparently lacks it. Patch from Gisle Vanem.
  4482. - Clean up some code issues that prevented Tor from building on older
  4483. BSDs. Fixes bug 3894; reported by "grarpamp".
  4484. - Search for a platform-specific version of "ar" when cross-compiling.
  4485. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  4486. Changes in version 0.2.3.3-alpha - 2011-09-01
  4487. Tor 0.2.3.3-alpha adds a new "stream isolation" feature to improve Tor's
  4488. security, and provides client-side support for the microdescriptor
  4489. and optimistic data features introduced earlier in the 0.2.3.x
  4490. series. It also includes numerous critical bugfixes in the (optional)
  4491. bufferevent-based networking backend.
  4492. o Major features (stream isolation):
  4493. - You can now configure Tor so that streams from different
  4494. applications are isolated on different circuits, to prevent an
  4495. attacker who sees your streams as they leave an exit node from
  4496. linking your sessions to one another. To do this, choose some way
  4497. to distinguish the applications: have them connect to different
  4498. SocksPorts, or have one of them use SOCKS4 while the other uses
  4499. SOCKS5, or have them pass different authentication strings to the
  4500. SOCKS proxy. Then, use the new SocksPort syntax to configure the
  4501. degree of isolation you need. This implements Proposal 171.
  4502. - There's a new syntax for specifying multiple client ports (such as
  4503. SOCKSPort, TransPort, DNSPort, NATDPort): you can now just declare
  4504. multiple *Port entries with full addr:port syntax on each.
  4505. The old *ListenAddress format is still supported, but you can't
  4506. mix it with the new *Port syntax.
  4507. o Major features (other):
  4508. - Enable microdescriptor fetching by default for clients. This allows
  4509. clients to download a much smaller amount of directory information.
  4510. To disable it (and go back to the old-style consensus and
  4511. descriptors), set "UseMicrodescriptors 0" in your torrc file.
  4512. - Tor's firewall-helper feature, introduced in 0.2.3.1-alpha (see the
  4513. "PortForwarding" config option), now supports Windows.
  4514. - When using an exit relay running 0.2.3.x, clients can now
  4515. "optimistically" send data before the exit relay reports that
  4516. the stream has opened. This saves a round trip when starting
  4517. connections where the client speaks first (such as web browsing).
  4518. This behavior is controlled by a consensus parameter (currently
  4519. disabled). To turn it on or off manually, use the "OptimisticData"
  4520. torrc option. Implements proposal 181; code by Ian Goldberg.
  4521. o Major bugfixes (bufferevents, fixes on 0.2.3.1-alpha):
  4522. - When using IOCP on Windows, we need to enable Libevent windows
  4523. threading support.
  4524. - The IOCP backend now works even when the user has not specified
  4525. the (internal, debugging-only) _UseFilteringSSLBufferevents option.
  4526. Fixes part of bug 3752.
  4527. - Correctly record the bytes we've read and written when using
  4528. bufferevents, so that we can include them in our bandwidth history
  4529. and advertised bandwidth. Fixes bug 3803.
  4530. - Apply rate-limiting only at the bottom of a chain of filtering
  4531. bufferevents. This prevents us from filling up internal read
  4532. buffers and violating rate-limits when filtering bufferevents
  4533. are enabled. Fixes part of bug 3804.
  4534. - Add high-watermarks to the output buffers for filtered
  4535. bufferevents. This prevents us from filling up internal write
  4536. buffers and wasting CPU cycles when filtering bufferevents are
  4537. enabled. Fixes part of bug 3804.
  4538. - Correctly notice when data has been written from a bufferevent
  4539. without flushing it completely. Fixes bug 3805.
  4540. - Fix a bug where server-side tunneled bufferevent-based directory
  4541. streams would get closed prematurely. Fixes bug 3814.
  4542. - Fix a use-after-free error with per-connection rate-limiting
  4543. buckets. Fixes bug 3888.
  4544. o Major bugfixes (also part of 0.2.2.31-rc):
  4545. - If we're configured to write our ControlPorts to disk, only write
  4546. them after switching UID and creating the data directory. This way,
  4547. we don't fail when starting up with a nonexistent DataDirectory
  4548. and a ControlPortWriteToFile setting based on that directory. Fixes
  4549. bug 3747; bugfix on Tor 0.2.2.26-beta.
  4550. o Minor features:
  4551. - Added a new CONF_CHANGED event so that controllers can be notified
  4552. of any configuration changes made by other controllers, or by the
  4553. user. Implements ticket 1692.
  4554. - Use evbuffer_copyout() in inspect_evbuffer(). This fixes a memory
  4555. leak when using bufferevents, and lets Libevent worry about how to
  4556. best copy data out of a buffer.
  4557. - Replace files in stats/ rather than appending to them. Now that we
  4558. include statistics in extra-info descriptors, it makes no sense to
  4559. keep old statistics forever. Implements ticket 2930.
  4560. o Minor features (build compatibility):
  4561. - Limited, experimental support for building with nmake and MSVC.
  4562. - Provide a substitute implementation of lround() for MSVC, which
  4563. apparently lacks it. Patch from Gisle Vanem.
  4564. o Minor features (also part of 0.2.2.31-rc):
  4565. - Update to the August 2 2011 Maxmind GeoLite Country database.
  4566. o Minor bugfixes (on 0.2.3.x-alpha):
  4567. - Fix a spurious warning when parsing SOCKS requests with
  4568. bufferevents enabled. Fixes bug 3615; bugfix on 0.2.3.2-alpha.
  4569. - Get rid of a harmless warning that could happen on relays running
  4570. with bufferevents. The warning was caused by someone doing an http
  4571. request to a relay's orport. Also don't warn for a few related
  4572. non-errors. Fixes bug 3700; bugfix on 0.2.3.1-alpha.
  4573. o Minor bugfixes (on 2.2.x and earlier):
  4574. - Correct the man page to explain that HashedControlPassword and
  4575. CookieAuthentication can both be set, in which case either method
  4576. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  4577. when we decided to allow these config options to both be set. Issue
  4578. raised by bug 3898.
  4579. - The "--quiet" and "--hush" options now apply not only to Tor's
  4580. behavior before logs are configured, but also to Tor's behavior in
  4581. the absense of configured logs. Fixes bug 3550; bugfix on
  4582. 0.2.0.10-alpha.
  4583. o Minor bugfixes (also part of 0.2.2.31-rc):
  4584. - Write several files in text mode, on OSes that distinguish text
  4585. mode from binary mode (namely, Windows). These files are:
  4586. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  4587. that collect those statistics; 'client_keys' and 'hostname' for
  4588. hidden services that use authentication; and (in the tor-gencert
  4589. utility) newly generated identity and signing keys. Previously,
  4590. we wouldn't specify text mode or binary mode, leading to an
  4591. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  4592. the DirRecordUsageByCountry option which would have triggered
  4593. the assertion failure was added), although this assertion failure
  4594. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  4595. - Selectively disable deprecation warnings on OS X because Lion
  4596. started deprecating the shipped copy of openssl. Fixes bug 3643.
  4597. - Remove an extra pair of quotation marks around the error
  4598. message in control-port STATUS_GENERAL BUG events. Bugfix on
  4599. 0.1.2.6-alpha; fixes bug 3732.
  4600. - When unable to format an address as a string, report its value
  4601. as "???" rather than reusing the last formatted address. Bugfix
  4602. on 0.2.1.5-alpha.
  4603. o Code simplifications and refactoring:
  4604. - Rewrite the listener-selection logic so that parsing which ports
  4605. we want to listen on is now separate from binding to the ports
  4606. we want.
  4607. o Build changes:
  4608. - Building Tor with bufferevent support now requires Libevent
  4609. 2.0.13-stable or later. Previous versions of Libevent had bugs in
  4610. SSL-related bufferevents and related issues that would make Tor
  4611. work badly with bufferevents. Requiring 2.0.13-stable also allows
  4612. Tor with bufferevents to take advantage of Libevent APIs
  4613. introduced after 2.0.8-rc.
  4614. Changes in version 0.2.2.32 - 2011-08-27
  4615. The Tor 0.2.2 release series is dedicated to the memory of Andreas
  4616. Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
  4617. a founder of the PETS community, a leader in our field, a mentor,
  4618. and a friend. He left us with these words: "I had the possibility
  4619. to contribute to this world that is not as it should be. I hope I
  4620. could help in some areas to make the world a better place, and that
  4621. I could also encourage other people to be engaged in improving the
  4622. world. Please, stay engaged. This world needs you, your love, your
  4623. initiative -- now I cannot be part of that anymore."
  4624. Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
  4625. ready. More than two years in the making, this release features improved
  4626. client performance and hidden service reliability, better compatibility
  4627. for Android, correct behavior for bridges that listen on more than
  4628. one address, more extensible and flexible directory object handling,
  4629. better reporting of network statistics, improved code security, and
  4630. many many other features and bugfixes.
  4631. Changes in version 0.2.2.31-rc - 2011-08-17
  4632. Tor 0.2.2.31-rc is the second and hopefully final release candidate
  4633. for the Tor 0.2.2.x series.
  4634. o Major bugfixes:
  4635. - Remove an extra pair of quotation marks around the error
  4636. message in control-port STATUS_GENERAL BUG events. Bugfix on
  4637. 0.1.2.6-alpha; fixes bug 3732.
  4638. - If we're configured to write our ControlPorts to disk, only write
  4639. them after switching UID and creating the data directory. This way,
  4640. we don't fail when starting up with a nonexistent DataDirectory
  4641. and a ControlPortWriteToFile setting based on that directory. Fixes
  4642. bug 3747; bugfix on Tor 0.2.2.26-beta.
  4643. o Minor features:
  4644. - Update to the August 2 2011 Maxmind GeoLite Country database.
  4645. o Minor bugfixes:
  4646. - Allow GETINFO fingerprint to return a fingerprint even when
  4647. we have not yet built a router descriptor. Fixes bug 3577;
  4648. bugfix on 0.2.0.1-alpha.
  4649. - Write several files in text mode, on OSes that distinguish text
  4650. mode from binary mode (namely, Windows). These files are:
  4651. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  4652. that collect those statistics; 'client_keys' and 'hostname' for
  4653. hidden services that use authentication; and (in the tor-gencert
  4654. utility) newly generated identity and signing keys. Previously,
  4655. we wouldn't specify text mode or binary mode, leading to an
  4656. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  4657. the DirRecordUsageByCountry option which would have triggered
  4658. the assertion failure was added), although this assertion failure
  4659. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  4660. - Selectively disable deprecation warnings on OS X because Lion
  4661. started deprecating the shipped copy of openssl. Fixes bug 3643.
  4662. - When unable to format an address as a string, report its value
  4663. as "???" rather than reusing the last formatted address. Bugfix
  4664. on 0.2.1.5-alpha.
  4665. Changes in version 0.2.3.2-alpha - 2011-07-18
  4666. Tor 0.2.3.2-alpha introduces two new experimental features:
  4667. microdescriptors and pluggable transports. It also continues cleaning
  4668. up a variety of recently introduced features.
  4669. o Major features:
  4670. - Clients can now use microdescriptors instead of regular descriptors
  4671. to build circuits. Microdescriptors are authority-generated
  4672. summaries of regular descriptors' contents, designed to change
  4673. very rarely (see proposal 158 for details). This feature is
  4674. designed to save bandwidth, especially for clients on slow internet
  4675. connections. It's off by default for now, since nearly no caches
  4676. support it, but it will be on-by-default for clients in a future
  4677. version. You can use the UseMicrodescriptors option to turn it on.
  4678. - Tor clients using bridges can now be configured to use a separate
  4679. 'transport' proxy for each bridge. This approach helps to resist
  4680. censorship by allowing bridges to use protocol obfuscation
  4681. plugins. It implements part of proposal 180. Implements ticket 2841.
  4682. - While we're trying to bootstrap, record how many TLS connections
  4683. fail in each state, and report which states saw the most failures
  4684. in response to any bootstrap failures. This feature may speed up
  4685. diagnosis of censorship events. Implements ticket 3116.
  4686. o Major bugfixes (on 0.2.3.1-alpha):
  4687. - When configuring a large set of nodes in EntryNodes (as with
  4688. 'EntryNodes {cc}' or 'EntryNodes 1.1.1.1/16'), choose only a
  4689. random subset to be guards, and choose them in random
  4690. order. Fixes bug 2798.
  4691. - Tor could crash when remembering a consensus in a non-used consensus
  4692. flavor without having a current consensus set. Fixes bug 3361.
  4693. - Comparing an unknown address to a microdescriptor's shortened exit
  4694. policy would always give a "rejected" result. Fixes bug 3599.
  4695. - Using microdescriptors as a client no longer prevents Tor from
  4696. uploading and downloading hidden service descriptors. Fixes
  4697. bug 3601.
  4698. o Minor features:
  4699. - Allow nameservers with IPv6 address. Resolves bug 2574.
  4700. - Accept attempts to include a password authenticator in the
  4701. handshake, as supported by SOCKS5. This handles SOCKS clients that
  4702. don't know how to omit a password when authenticating. Resolves
  4703. bug 1666.
  4704. - When configuring a large set of nodes in EntryNodes, and there are
  4705. enough of them listed as Guard so that we don't need to consider
  4706. the non-guard entries, prefer the ones listed with the Guard flag.
  4707. - Check for and recover from inconsistency in the microdescriptor
  4708. cache. This will make it harder for us to accidentally free a
  4709. microdescriptor without removing it from the appropriate data
  4710. structures. Fixes issue 3135; issue noted by "wanoskarnet".
  4711. - Log SSL state transitions at log level DEBUG, log domain
  4712. HANDSHAKE. This can be useful for debugging censorship events.
  4713. Implements ticket 3264.
  4714. - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
  4715. implements ticket 3439.
  4716. o Minor bugfixes (on 0.2.3.1-alpha):
  4717. - Do not free all general-purpose regular descriptors just
  4718. because microdescriptor use is enabled. Fixes bug 3113.
  4719. - Correctly link libevent_openssl when --enable-static-libevent
  4720. is passed to configure. Fixes bug 3118.
  4721. - Bridges should not complain during their heartbeat log messages that
  4722. they are unlisted in the consensus: that's more or less the point
  4723. of being a bridge. Fixes bug 3183.
  4724. - Report a SIGNAL event to controllers when acting on a delayed
  4725. SIGNAL NEWNYM command. Previously, we would report a SIGNAL
  4726. event to the controller if we acted on a SIGNAL NEWNYM command
  4727. immediately, and otherwise not report a SIGNAL event for the
  4728. command at all. Fixes bug 3349.
  4729. - Fix a crash when handling the SIGNAL controller command or
  4730. reporting ERR-level status events with bufferevents enabled. Found
  4731. by Robert Ransom. Fixes bug 3367.
  4732. - Always ship the tor-fw-helper manpage in our release tarballs.
  4733. Fixes bug 3389. Reported by Stephen Walker.
  4734. - Fix a class of double-mark-for-close bugs when bufferevents
  4735. are enabled. Fixes bug 3403.
  4736. - Update tor-fw-helper to support libnatpmp-20110618. Fixes bug 3434.
  4737. - Add SIGNAL to the list returned by the 'GETINFO events/names'
  4738. control-port command. Fixes part of bug 3465.
  4739. - Prevent using negative indices during unit test runs when read_all()
  4740. fails. Spotted by coverity.
  4741. - Fix a rare memory leak when checking the nodelist without it being
  4742. present. Found by coverity.
  4743. - Only try to download a microdescriptor-flavored consensus from
  4744. a directory cache that provides them.
  4745. o Minor bugfixes (on 0.2.2.x and earlier):
  4746. - Assert that hidden-service-related operations are not performed
  4747. using single-hop circuits. Previously, Tor would assert that
  4748. client-side streams are not attached to single-hop circuits,
  4749. but not that other sensitive operations on the client and service
  4750. side are not performed using single-hop circuits. Fixes bug 3332;
  4751. bugfix on 0.0.6.
  4752. - Don't publish a new relay descriptor when we reload our onion key,
  4753. unless the onion key has actually changed. Fixes bug 3263 and
  4754. resolves another cause of bug 1810. Bugfix on 0.1.1.11-alpha.
  4755. - Allow GETINFO fingerprint to return a fingerprint even when
  4756. we have not yet built a router descriptor. Fixes bug 3577;
  4757. bugfix on 0.2.0.1-alpha.
  4758. - Make 'tor --digests' list hashes of all Tor source files. Bugfix
  4759. on 0.2.2.4-alpha; fixes bug 3427.
  4760. o Code simplification and refactoring:
  4761. - Use tor_sscanf() in place of scanf() in more places through the
  4762. code. This makes us a little more locale-independent, and
  4763. should help shut up code-analysis tools that can't tell
  4764. a safe sscanf string from a dangerous one.
  4765. - Use tt_assert(), not tor_assert(), for checking for test failures.
  4766. This makes the unit tests more able to go on in the event that
  4767. one of them fails.
  4768. - Split connection_about_to_close() into separate functions for each
  4769. connection type.
  4770. o Build changes:
  4771. - On Windows, we now define the _WIN32_WINNT macros only if they
  4772. are not already defined. This lets the person building Tor decide,
  4773. if they want, to require a later version of Windows.
  4774. Changes in version 0.2.2.30-rc - 2011-07-07
  4775. Tor 0.2.2.30-rc is the first release candidate for the Tor 0.2.2.x
  4776. series. It fixes a few smaller bugs, but generally appears stable.
  4777. Please test it and let us know whether it is!
  4778. o Minor bugfixes:
  4779. - Send a SUCCEEDED stream event to the controller when a reverse
  4780. resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
  4781. discovered by katmagic.
  4782. - Always NUL-terminate the sun_path field of a sockaddr_un before
  4783. passing it to the kernel. (Not a security issue: kernels are
  4784. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  4785. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  4786. - Don't stack-allocate the list of supplementary GIDs when we're
  4787. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  4788. could take up to 256K, which is way too much stack. Found by
  4789. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  4790. - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
  4791. events/names' control-port command. Bugfix on 0.2.2.9-alpha;
  4792. fixes part of bug 3465.
  4793. - Fix a memory leak when receiving a descriptor for a hidden
  4794. service we didn't ask for. Found by Coverity; CID #30. Bugfix
  4795. on 0.2.2.26-beta.
  4796. o Minor features:
  4797. - Update to the July 1 2011 Maxmind GeoLite Country database.
  4798. Changes in version 0.2.2.29-beta - 2011-06-20
  4799. Tor 0.2.2.29-beta reverts an accidental behavior change for users who
  4800. have bridge lines in their torrc but don't want to use them; gets
  4801. us closer to having the control socket feature working on Debian;
  4802. and fixes a variety of smaller bugs.
  4803. o Major bugfixes:
  4804. - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
  4805. When we changed the default behavior to "use bridges if any
  4806. are listed in the torrc", we surprised users who had bridges
  4807. in their torrc files but who didn't actually want to use them.
  4808. Partial resolution for bug 3354.
  4809. o Privacy fixes:
  4810. - Don't attach new streams to old rendezvous circuits after SIGNAL
  4811. NEWNYM. Previously, we would keep using an existing rendezvous
  4812. circuit if it remained open (i.e. if it were kept open by a
  4813. long-lived stream, or if a new stream were attached to it before
  4814. Tor could notice that it was old and no longer in use). Bugfix on
  4815. 0.1.1.15-rc; fixes bug 3375.
  4816. o Minor bugfixes:
  4817. - Fix a bug when using ControlSocketsGroupWritable with User. The
  4818. directory's group would be checked against the current group, not
  4819. the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
  4820. bugfix on 0.2.2.26-beta.
  4821. - Make connection_printf_to_buf()'s behaviour sane. Its callers
  4822. expect it to emit a CRLF iff the format string ends with CRLF;
  4823. it actually emitted a CRLF iff (a) the format string ended with
  4824. CRLF or (b) the resulting string was over 1023 characters long or
  4825. (c) the format string did not end with CRLF *and* the resulting
  4826. string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
  4827. fixes part of bug 3407.
  4828. - Make send_control_event_impl()'s behaviour sane. Its callers
  4829. expect it to always emit a CRLF at the end of the string; it
  4830. might have emitted extra control characters as well. Bugfix on
  4831. 0.1.1.9-alpha; fixes another part of bug 3407.
  4832. - Make crypto_rand_int() check the value of its input correctly.
  4833. Previously, it accepted values up to UINT_MAX, but could return a
  4834. negative number if given a value above INT_MAX+1. Found by George
  4835. Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
  4836. - Avoid a segfault when reading a malformed circuit build state
  4837. with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
  4838. 0.2.2.4-alpha.
  4839. - When asked about a DNS record type we don't support via a
  4840. client DNSPort, reply with NOTIMPL rather than an empty
  4841. reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
  4842. - Fix a rare memory leak during stats writing. Found by coverity.
  4843. o Minor features:
  4844. - Update to the June 1 2011 Maxmind GeoLite Country database.
  4845. o Code simplifications and refactoring:
  4846. - Remove some dead code as indicated by coverity.
  4847. - Remove a few dead assignments during router parsing. Found by
  4848. coverity.
  4849. - Add some forgotten return value checks during unit tests. Found
  4850. by coverity.
  4851. - Don't use 1-bit wide signed bit fields. Found by coverity.
  4852. Changes in version 0.2.2.28-beta - 2011-06-04
  4853. Tor 0.2.2.28-beta makes great progress towards a new stable release: we
  4854. fixed a big bug in whether relays stay in the consensus consistently,
  4855. we moved closer to handling bridges and hidden services correctly,
  4856. and we started the process of better handling the dreaded "my Vidalia
  4857. died, and now my Tor demands a password when I try to reconnect to it"
  4858. usability issue.
  4859. o Major bugfixes:
  4860. - Don't decide to make a new descriptor when receiving a HUP signal.
  4861. This bug has caused a lot of 0.2.2.x relays to disappear from the
  4862. consensus periodically. Fixes the most common case of triggering
  4863. bug 1810; bugfix on 0.2.2.7-alpha.
  4864. - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
  4865. - Don't try to build descriptors if "ORPort auto" is set and we
  4866. don't know our actual ORPort yet. Fix for bug 3216; bugfix on
  4867. 0.2.2.26-beta.
  4868. - Resolve a crash that occurred when setting BridgeRelay to 1 with
  4869. accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
  4870. - Apply circuit timeouts to opened hidden-service-related circuits
  4871. based on the correct start time. Previously, we would apply the
  4872. circuit build timeout based on time since the circuit's creation;
  4873. it was supposed to be applied based on time since the circuit
  4874. entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
  4875. - Use the same circuit timeout for client-side introduction
  4876. circuits as for other four-hop circuits, rather than the timeout
  4877. for single-hop directory-fetch circuits; the shorter timeout may
  4878. have been appropriate with the static circuit build timeout in
  4879. 0.2.1.x and earlier, but caused many hidden service access attempts
  4880. to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
  4881. on 0.2.2.2-alpha; fixes another part of bug 1297.
  4882. - In ticket 2511 we fixed a case where you could use an unconfigured
  4883. bridge if you had configured it as a bridge the last time you ran
  4884. Tor. Now fix another edge case: if you had configured it as a bridge
  4885. but then switched to a different bridge via the controller, you
  4886. would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
  4887. fixes bug 3321.
  4888. o Major features:
  4889. - Add an __OwningControllerProcess configuration option and a
  4890. TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
  4891. that when it exits, Tor will shut down. Implements feature 3049.
  4892. - If "UseBridges 1" is set and no bridges are configured, Tor will
  4893. now refuse to build any circuits until some bridges are set.
  4894. If "UseBridges auto" is set, Tor will use bridges if they are
  4895. configured and we are not running as a server, but otherwise will
  4896. make circuits as usual. The new default is "auto". Patch by anonym,
  4897. so the Tails LiveCD can stop automatically revealing you as a Tor
  4898. user on startup.
  4899. o Minor bugfixes:
  4900. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  4901. - Remove a trailing asterisk from "exit-policy/default" in the
  4902. output of the control port command "GETINFO info/names". Bugfix
  4903. on 0.1.2.5-alpha.
  4904. - Use a wide type to hold sockets when built for 64-bit Windows builds.
  4905. Fixes bug 3270.
  4906. - Warn when the user configures two HiddenServiceDir lines that point
  4907. to the same directory. Bugfix on 0.0.6 (the version introducing
  4908. HiddenServiceDir); fixes bug 3289.
  4909. - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
  4910. part of bug 2748; bugfix on 0.2.0.10-alpha.
  4911. - Log malformed requests for rendezvous descriptors as protocol
  4912. warnings, not warnings. Also, use a more informative log message
  4913. in case someone sees it at log level warning without prior
  4914. info-level messages. Fixes the other part of bug 2748; bugfix
  4915. on 0.2.0.10-alpha.
  4916. - Clear the table recording the time of the last request for each
  4917. hidden service descriptor from each HS directory on SIGNAL NEWNYM.
  4918. Previously, we would clear our HS descriptor cache on SIGNAL
  4919. NEWNYM, but if we had previously retrieved a descriptor (or tried
  4920. to) from every directory responsible for it, we would refuse to
  4921. fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
  4922. fixes bug 3309.
  4923. - Fix a log message that said "bits" while displaying a value in
  4924. bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
  4925. 0.2.0.1-alpha.
  4926. - When checking for 1024-bit keys, check for 1024 bits, not 128
  4927. bytes. This allows Tor to correctly discard keys of length 1017
  4928. through 1023. Bugfix on 0.0.9pre5.
  4929. o Minor features:
  4930. - Relays now log the reason for publishing a new relay descriptor,
  4931. so we have a better chance of hunting down instances of bug 1810.
  4932. Resolves ticket 3252.
  4933. - Revise most log messages that refer to nodes by nickname to
  4934. instead use the "$key=nickname at address" format. This should be
  4935. more useful, especially since nicknames are less and less likely
  4936. to be unique. Resolves ticket 3045.
  4937. - Log (at info level) when purging pieces of hidden-service-client
  4938. state because of SIGNAL NEWNYM.
  4939. o Removed options:
  4940. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  4941. anything since 0.2.1.16-rc.
  4942. Changes in version 0.2.2.27-beta - 2011-05-18
  4943. Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
  4944. release, and also adds a few more general bugfixes.
  4945. o Major bugfixes:
  4946. - Fix a crash bug when changing bridges in a running Tor process.
  4947. Fixes bug 3213; bugfix on 0.2.2.26-beta.
  4948. - When the controller configures a new bridge, don't wait 10 to 60
  4949. seconds before trying to fetch its descriptor. Bugfix on
  4950. 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
  4951. o Minor bugfixes:
  4952. - Require that onion keys have exponent 65537 in microdescriptors too.
  4953. Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
  4954. - Tor used to limit HttpProxyAuthenticator values to 48 characters.
  4955. Changed the limit to 512 characters by removing base64 newlines.
  4956. Fixes bug 2752. Fix by Michael Yakubovich.
  4957. - When a client starts or stops using bridges, never use a circuit
  4958. that was built before the configuration change. This behavior could
  4959. put at risk a user who uses bridges to ensure that her traffic
  4960. only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
  4961. bug 3200.
  4962. Changes in version 0.2.2.26-beta - 2011-05-17
  4963. Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
  4964. also introduces a new "socksport auto" approach that should make it
  4965. easier to run multiple Tors on the same system, and does a lot of
  4966. cleanup to get us closer to a release candidate.
  4967. o Security/privacy fixes:
  4968. - Replace all potentially sensitive memory comparison operations
  4969. with versions whose runtime does not depend on the data being
  4970. compared. This will help resist a class of attacks where an
  4971. adversary can use variations in timing information to learn
  4972. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  4973. implementation by Robert Ransom based partially on code by DJB.)
  4974. - When receiving a hidden service descriptor, check that it is for
  4975. the hidden service we wanted. Previously, Tor would store any
  4976. hidden service descriptors that a directory gave it, whether it
  4977. wanted them or not. This wouldn't have let an attacker impersonate
  4978. a hidden service, but it did let directories pre-seed a client
  4979. with descriptors that it didn't want. Bugfix on 0.0.6.
  4980. - On SIGHUP, do not clear out all TrackHostExits mappings, client
  4981. DNS cache entries, and virtual address mappings: that's what
  4982. NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
  4983. o Major features:
  4984. - The options SocksPort, ControlPort, and so on now all accept a
  4985. value "auto" that opens a socket on an OS-selected port. A
  4986. new ControlPortWriteToFile option tells Tor to write its
  4987. actual control port or ports to a chosen file. If the option
  4988. ControlPortFileGroupReadable is set, the file is created as
  4989. group-readable. Now users can run two Tor clients on the same
  4990. system without needing to manually mess with parameters. Resolves
  4991. part of ticket 3076.
  4992. - Set SO_REUSEADDR on all sockets, not just listeners. This should
  4993. help busy exit nodes avoid running out of useable ports just
  4994. because all the ports have been used in the near past. Resolves
  4995. issue 2850.
  4996. o Minor features:
  4997. - New "GETINFO net/listeners/(type)" controller command to return
  4998. a list of addresses and ports that are bound for listeners for a
  4999. given connection type. This is useful when the user has configured
  5000. "SocksPort auto" and the controller needs to know which port got
  5001. chosen. Resolves another part of ticket 3076.
  5002. - Add a new ControlSocketsGroupWritable configuration option: when
  5003. it is turned on, ControlSockets are group-writeable by the default
  5004. group of the current user. Patch by Jérémy Bobbio; implements
  5005. ticket 2972.
  5006. - Tor now refuses to create a ControlSocket in a directory that is
  5007. world-readable (or group-readable if ControlSocketsGroupWritable
  5008. is 0). This is necessary because some operating systems do not
  5009. enforce permissions on an AF_UNIX sockets. Permissions on the
  5010. directory holding the socket, however, seems to work everywhere.
  5011. - Rate-limit a warning about failures to download v2 networkstatus
  5012. documents. Resolves part of bug 1352.
  5013. - Backport code from 0.2.3.x that allows directory authorities to
  5014. clean their microdescriptor caches. Needed to resolve bug 2230.
  5015. - When an HTTPS proxy reports "403 Forbidden", we now explain
  5016. what it means rather than calling it an unexpected status code.
  5017. Closes bug 2503. Patch from Michael Yakubovich.
  5018. - Update to the May 1 2011 Maxmind GeoLite Country database.
  5019. o Minor bugfixes:
  5020. - Authorities now clean their microdesc cache periodically and when
  5021. reading from disk initially, not only when adding new descriptors.
  5022. This prevents a bug where we could lose microdescriptors. Bugfix
  5023. on 0.2.2.6-alpha. Fixes bug 2230.
  5024. - Do not crash when our configuration file becomes unreadable, for
  5025. example due to a permissions change, between when we start up
  5026. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  5027. on 0.0.9pre6.
  5028. - Avoid a bug that would keep us from replacing a microdescriptor
  5029. cache on Windows. (We would try to replace the file while still
  5030. holding it open. That's fine on Unix, but Windows doesn't let us
  5031. do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
  5032. - Add missing explanations for the authority-related torrc options
  5033. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
  5034. man page. Resolves issue 2379.
  5035. - As an authority, do not upload our own vote or signature set to
  5036. ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
  5037. it would get flagged as a duplicate. Resolves bug 3026.
  5038. - Accept hidden service descriptors if we think we might be a hidden
  5039. service directory, regardless of what our consensus says. This
  5040. helps robustness, since clients and hidden services can sometimes
  5041. have a more up-to-date view of the network consensus than we do,
  5042. and if they think that the directory authorities list us a HSDir,
  5043. we might actually be one. Related to bug 2732; bugfix on
  5044. 0.2.0.10-alpha.
  5045. - When a controller changes TrackHostExits, remove mappings for
  5046. hosts that should no longer have their exits tracked. Bugfix on
  5047. 0.1.0.1-rc.
  5048. - When a controller changes VirtualAddrNetwork, remove any mappings
  5049. for hosts that were automapped to the old network. Bugfix on
  5050. 0.1.1.19-rc.
  5051. - When a controller changes one of the AutomapHosts* options, remove
  5052. any mappings for hosts that should no longer be automapped. Bugfix
  5053. on 0.2.0.1-alpha.
  5054. - Do not reset the bridge descriptor download status every time we
  5055. re-parse our configuration or get a configuration change. Fixes
  5056. bug 3019; bugfix on 0.2.0.3-alpha.
  5057. o Minor bugfixes (code cleanup):
  5058. - When loading the microdesc journal, remember its current size.
  5059. In 0.2.2, this helps prevent the microdesc journal from growing
  5060. without limit on authorities (who are the only ones to use it in
  5061. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  5062. Fix posted by "cypherpunks."
  5063. - The microdesc journal is supposed to get rebuilt only if it is
  5064. at least _half_ the length of the store, not _twice_ the length
  5065. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  5066. - Fix a potential null-pointer dereference while computing a
  5067. consensus. Bugfix on tor-0.2.0.3-alpha, found with the help of
  5068. clang's analyzer.
  5069. - Avoid a possible null-pointer dereference when rebuilding the mdesc
  5070. cache without actually having any descriptors to cache. Bugfix on
  5071. 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
  5072. - If we fail to compute the identity digest of a v3 legacy keypair,
  5073. warn, and don't use a buffer-full of junk instead. Bugfix on
  5074. 0.2.1.1-alpha; fixes bug 3106.
  5075. - Resolve an untriggerable issue in smartlist_string_num_isin(),
  5076. where if the function had ever in the future been used to check
  5077. for the presence of a too-large number, it would have given an
  5078. incorrect result. (Fortunately, we only used it for 16-bit
  5079. values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
  5080. - Require that introduction point keys and onion handshake keys
  5081. have a public exponent of 65537. Starts to fix bug 3207; bugfix
  5082. on 0.2.0.10-alpha.
  5083. o Removed features:
  5084. - Caches no longer download and serve v2 networkstatus documents
  5085. unless FetchV2Networkstatus flag is set: these documents haven't
  5086. haven't been used by clients or relays since 0.2.0.x. Resolves
  5087. bug 3022.
  5088. Changes in version 0.2.3.1-alpha - 2011-05-05
  5089. Tor 0.2.3.1-alpha adds some new experimental features, including support
  5090. for an improved network IO backend, IOCP networking on Windows,
  5091. microdescriptor caching, "fast-start" support for streams, and automatic
  5092. home router configuration. There are also numerous internal improvements
  5093. to try to make the code easier for developers to work with.
  5094. This is the first alpha release in a new series, so expect there to be
  5095. bugs. Users who would rather test out a more stable branch should
  5096. stay with 0.2.2.x for now.
  5097. o Major features:
  5098. - Tor can now optionally build with the "bufferevents" buffered IO
  5099. backend provided by Libevent 2. To use this feature, make sure you
  5100. have the latest possible version of Libevent, and pass the
  5101. --enable-bufferevents flag to configure when building Tor from
  5102. source. This feature will make our networking code more flexible,
  5103. let us stack layers on each other, and let us use more efficient
  5104. zero-copy transports where available.
  5105. - As an experimental feature, Tor can use IOCP for networking on Windows.
  5106. Once this code is tuned and optimized, it promises much better
  5107. performance than the select-based backend we've used in the past. To
  5108. try this feature, you must build Tor with Libevent 2, configure Tor
  5109. with the "bufferevents" buffered IO backend, and add "DisableIOCP 0" to
  5110. your torrc. There are known bugs here: only try this if you can help
  5111. debug it as it breaks.
  5112. - The EntryNodes option can now include country codes like {de} or IP
  5113. addresses or network masks. Previously we had disallowed these options
  5114. because we didn't have an efficient way to keep the list up to
  5115. date. Fixes bug 1982, but see bug 2798 for an unresolved issue here.
  5116. - Exit nodes now accept and queue data on not-yet-connected streams.
  5117. Previously, the client wasn't allowed to send data until the stream was
  5118. connected, which slowed down all connections. This change will enable
  5119. clients to perform a "fast-start" on streams and send data without
  5120. having to wait for a confirmation that the stream has opened. (Patch
  5121. from Ian Goldberg; implements the server side of Proposal 174.)
  5122. - Tor now has initial support for automatic port mapping on the many
  5123. home routers that support NAT-PMP or UPnP. (Not yet supported on
  5124. Windows). To build the support code, you'll need to have libnatpnp
  5125. library and/or the libminiupnpc library, and you'll need to enable the
  5126. feature specifically by passing "--enable-upnp" and/or
  5127. "--enable-natpnp" to configure. To turn it on, use the new
  5128. PortForwarding option.
  5129. - Caches now download, cache, and serve multiple "flavors" of the
  5130. consensus, including a flavor that describes microdescriptors.
  5131. - Caches now download, cache, and serve microdescriptors -- small
  5132. summaries of router descriptors that are authenticated by all of the
  5133. directory authorities. Once enough caches are running this code,
  5134. clients will be able to save significant amounts of directory bandwidth
  5135. by downloading microdescriptors instead of router descriptors.
  5136. o Minor features:
  5137. - Make logging resolution configurable with a new LogTimeGranularity
  5138. option, and change the default from 1 millisecond to 1 second.
  5139. Implements enhancement 1668.
  5140. - We log which torrc file we're using on startup. Implements ticket
  5141. 2444.
  5142. - Ordinarily, Tor does not count traffic from private addresses (like
  5143. 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
  5144. There is now a new option, CountPrivateBandwidth, to disable this
  5145. behavior. Patch from Daniel Cagara.
  5146. - New --enable-static-tor configure option for building Tor as
  5147. statically as possible. Idea, general hackery and thoughts from
  5148. Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
  5149. 2702.
  5150. - If you set the NumCPUs option to 0, Tor will now try to detect how
  5151. many CPUs you have. This is the new default behavior.
  5152. - Turn on directory request statistics by default and include them in
  5153. extra-info descriptors. Don't break if we have no GeoIP database.
  5154. - Relays that set "ConnDirectionStatistics 1" write statistics on the
  5155. bidirectional use of connections to disk every 24 hours.
  5156. - Add a GeoIP file digest to the extra-info descriptor. Implements
  5157. enhancement 1883.
  5158. - The NodeFamily option -- which let you declare that you want to
  5159. consider nodes to be part of a family whether they list themselves
  5160. that way or not -- now allows IP address ranges and country codes.
  5161. - Add a new 'Heartbeat' log message type to periodically log a message
  5162. describing Tor's status at level Notice. This feature is meant for
  5163. operators who log at notice, and want to make sure that their Tor
  5164. server is still working. Implementation by George Kadianakis.
  5165. o Minor bugfixes (on 0.2.2.25-alpha):
  5166. - When loading the microdesc journal, remember its current size.
  5167. In 0.2.2, this helps prevent the microdesc journal from growing
  5168. without limit on authorities (who are the only ones to use it in
  5169. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  5170. Fix posted by "cypherpunks."
  5171. - The microdesc journal is supposed to get rebuilt only if it is
  5172. at least _half_ the length of the store, not _twice_ the length
  5173. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  5174. - If as an authority we fail to compute the identity digest of a v3
  5175. legacy keypair, warn, and don't use a buffer-full of junk instead.
  5176. Bugfix on 0.2.1.1-alpha; fixes bug 3106.
  5177. - Authorities now clean their microdesc cache periodically and when
  5178. reading from disk initially, not only when adding new descriptors.
  5179. This prevents a bug where we could lose microdescriptors. Bugfix
  5180. on 0.2.2.6-alpha.
  5181. o Minor features (controller):
  5182. - Add a new SIGNAL event to the controller interface so that
  5183. controllers can be notified when Tor handles a signal. Resolves
  5184. issue 1955. Patch by John Brooks.
  5185. - Add a new GETINFO option to get total bytes read and written. Patch
  5186. from pipe, revised by atagar. Resolves ticket 2345.
  5187. - Implement some GETINFO controller fields to provide information about
  5188. the Tor process's pid, euid, username, and resource limits.
  5189. o Build changes:
  5190. - Our build system requires automake 1.6 or later to create the
  5191. Makefile.in files. Previously, you could have used 1.4.
  5192. This only affects developers and people building Tor from git;
  5193. people who build Tor from the source distribution without changing
  5194. the Makefile.am files should be fine.
  5195. - Our autogen.sh script uses autoreconf to launch autoconf, automake, and
  5196. so on. This is more robust against some of the failure modes
  5197. associated with running the autotools pieces on their own.
  5198. o Minor packaging issues:
  5199. - On OpenSUSE, create the /var/run/tor directory on startup if it is not
  5200. already created. Patch from Andreas Stieger. Fixes bug 2573.
  5201. o Code simplifications and refactoring:
  5202. - A major revision to our internal node-selecting and listing logic.
  5203. Tor already had at least two major ways to look at the question of
  5204. "which Tor servers do we know about": a list of router descriptors,
  5205. and a list of entries in the current consensus. With
  5206. microdescriptors, we're adding a third. Having so many systems
  5207. without an abstraction layer over them was hurting the codebase.
  5208. Now, we have a new "node_t" abstraction that presents a consistent
  5209. interface to a client's view of a Tor node, and holds (nearly) all
  5210. of the mutable state formerly in routerinfo_t and routerstatus_t.
  5211. - The helper programs tor-gencert, tor-resolve, and tor-checkkey
  5212. no longer link against Libevent: they never used it, but
  5213. our library structure used to force them to link it.
  5214. o Removed features:
  5215. - Remove some old code to work around even older versions of Tor that
  5216. used forked processes to handle DNS requests. Such versions of Tor
  5217. are no longer in use as servers.
  5218. o Documentation fixes:
  5219. - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
  5220. - Add missing documentation for the authority-related torrc options
  5221. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey. Resolves
  5222. issue 2379.
  5223. Changes in version 0.2.2.25-alpha - 2011-04-29
  5224. Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
  5225. robust, routers no longer overreport their bandwidth, Win7 should crash
  5226. a little less, and NEWNYM (as used by Vidalia's "new identity" button)
  5227. now prevents hidden service-related activity from being linkable. It
  5228. provides more information to Vidalia so you can see if your bridge is
  5229. working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
  5230. StrictNodes configuration options to make them more reliable, more
  5231. understandable, and more regularly applied. If you use those options,
  5232. please see the revised documentation for them in the manual page.
  5233. o Major bugfixes:
  5234. - Relays were publishing grossly inflated bandwidth values because
  5235. they were writing their state files wrong--now they write the
  5236. correct value. Also, resume reading bandwidth history from the
  5237. state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
  5238. - Improve hidden service robustness: When we find that we have
  5239. extended a hidden service's introduction circuit to a relay not
  5240. listed as an introduction point in the HS descriptor we currently
  5241. have, retry with an introduction point from the current
  5242. descriptor. Previously we would just give up. Fixes bugs 1024 and
  5243. 1930; bugfix on 0.2.0.10-alpha.
  5244. - Clients now stop trying to use an exit node associated with a given
  5245. destination by TrackHostExits if they fail to reach that exit node.
  5246. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
  5247. - Fix crash bug on platforms where gmtime and localtime can return
  5248. NULL. Windows 7 users were running into this one. Fixes part of bug
  5249. 2077. Bugfix on all versions of Tor. Found by boboper.
  5250. o Security and stability fixes:
  5251. - Don't double-free a parsable, but invalid, microdescriptor, even if
  5252. it is followed in the blob we're parsing by an unparsable
  5253. microdescriptor. Fixes an issue reported in a comment on bug 2954.
  5254. Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
  5255. - If the Nickname configuration option isn't given, Tor would pick a
  5256. nickname based on the local hostname as the nickname for a relay.
  5257. Because nicknames are not very important in today's Tor and the
  5258. "Unnamed" nickname has been implemented, this is now problematic
  5259. behavior: It leaks information about the hostname without being
  5260. useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
  5261. introduced the Unnamed nickname. Reported by tagnaq.
  5262. - Fix an uncommon assertion failure when running with DNSPort under
  5263. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  5264. - Avoid linkability based on cached hidden service descriptors: forget
  5265. all hidden service descriptors cached as a client when processing a
  5266. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  5267. o Major features:
  5268. - Export GeoIP information on bridge usage to controllers even if we
  5269. have not yet been running for 24 hours. Now Vidalia bridge operators
  5270. can get more accurate and immediate feedback about their
  5271. contributions to the network.
  5272. o Major features and bugfixes (node selection):
  5273. - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
  5274. ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
  5275. options. Previously, we had been ambiguous in describing what
  5276. counted as an "exit" node, and what operations exactly "StrictNodes
  5277. 0" would permit. This created confusion when people saw nodes built
  5278. through unexpected circuits, and made it hard to tell real bugs from
  5279. surprises. Now the intended behavior is:
  5280. . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
  5281. a node that delivers user traffic outside the Tor network.
  5282. . "Entry", in the context of EntryNodes, means a node used as the
  5283. first hop of a multihop circuit. It doesn't include direct
  5284. connections to directory servers.
  5285. . "ExcludeNodes" applies to all nodes.
  5286. . "StrictNodes" changes the behavior of ExcludeNodes only. When
  5287. StrictNodes is set, Tor should avoid all nodes listed in
  5288. ExcludeNodes, even when it will make user requests fail. When
  5289. StrictNodes is *not* set, then Tor should follow ExcludeNodes
  5290. whenever it can, except when it must use an excluded node to
  5291. perform self-tests, connect to a hidden service, provide a
  5292. hidden service, fulfill a .exit request, upload directory
  5293. information, or fetch directory information.
  5294. Collectively, the changes to implement the behavior fix bug 1090.
  5295. - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
  5296. a node is listed in both, it's treated as excluded.
  5297. - ExcludeNodes now applies to directory nodes -- as a preference if
  5298. StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
  5299. Don't exclude all the directory authorities and set StrictNodes to 1
  5300. unless you really want your Tor to break.
  5301. - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
  5302. - ExcludeExitNodes now overrides .exit requests.
  5303. - We don't use bridges listed in ExcludeNodes.
  5304. - When StrictNodes is 1:
  5305. . We now apply ExcludeNodes to hidden service introduction points
  5306. and to rendezvous points selected by hidden service users. This
  5307. can make your hidden service less reliable: use it with caution!
  5308. . If we have used ExcludeNodes on ourself, do not try relay
  5309. reachability self-tests.
  5310. . If we have excluded all the directory authorities, we will not
  5311. even try to upload our descriptor if we're a relay.
  5312. . Do not honor .exit requests to an excluded node.
  5313. - Remove a misfeature that caused us to ignore the Fast/Stable flags
  5314. when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
  5315. - When the set of permitted nodes changes, we now remove any mappings
  5316. introduced via TrackExitHosts to now-excluded nodes. Bugfix on
  5317. 0.1.0.1-rc.
  5318. - We never cannibalize a circuit that had excluded nodes on it, even
  5319. if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
  5320. - Revert a change where we would be laxer about attaching streams to
  5321. circuits than when building the circuits. This was meant to prevent
  5322. a set of bugs where streams were never attachable, but our improved
  5323. code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
  5324. - Keep track of how many times we launch a new circuit to handle a
  5325. given stream. Too many launches could indicate an inconsistency
  5326. between our "launch a circuit to handle this stream" logic and our
  5327. "attach this stream to one of the available circuits" logic.
  5328. - Improve log messages related to excluded nodes.
  5329. o Minor bugfixes:
  5330. - Fix a spurious warning when moving from a short month to a long
  5331. month on relays with month-based BandwidthAccounting. Bugfix on
  5332. 0.2.2.17-alpha; fixes bug 3020.
  5333. - When a client finds that an origin circuit has run out of 16-bit
  5334. stream IDs, we now mark it as unusable for new streams. Previously,
  5335. we would try to close the entire circuit. Bugfix on 0.0.6.
  5336. - Add a forgotten cast that caused a compile warning on OS X 10.6.
  5337. Bugfix on 0.2.2.24-alpha.
  5338. - Be more careful about reporting the correct error from a failed
  5339. connect() system call. Under some circumstances, it was possible to
  5340. look at an incorrect value for errno when sending the end reason.
  5341. Bugfix on 0.1.0.1-rc.
  5342. - Correctly handle an "impossible" overflow cases in connection byte
  5343. counting, where we write or read more than 4GB on an edge connection
  5344. in a single second. Bugfix on 0.1.2.8-beta.
  5345. - Correct the warning displayed when a rendezvous descriptor exceeds
  5346. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  5347. John Brooks.
  5348. - Clients and hidden services now use HSDir-flagged relays for hidden
  5349. service descriptor downloads and uploads even if the relays have no
  5350. DirPort set and the client has disabled TunnelDirConns. This will
  5351. eventually allow us to give the HSDir flag to relays with no
  5352. DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
  5353. - Downgrade "no current certificates known for authority" message from
  5354. Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
  5355. - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
  5356. 2917. Bugfix on 0.1.1.1-alpha.
  5357. - Only limit the lengths of single HS descriptors, even when multiple
  5358. HS descriptors are published to an HSDir relay in a single POST
  5359. operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
  5360. - Write the current time into the LastWritten line in our state file,
  5361. rather than the time from the previous write attempt. Also, stop
  5362. trying to use a time of -1 in our log statements. Fixes bug 3039;
  5363. bugfix on 0.2.2.14-alpha.
  5364. - Be more consistent in our treatment of file system paths. "~" should
  5365. get expanded to the user's home directory in the Log config option.
  5366. Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
  5367. feature for the -f and --DataDirectory options.
  5368. o Minor features:
  5369. - Make sure every relay writes a state file at least every 12 hours.
  5370. Previously, a relay could go for weeks without writing its state
  5371. file, and on a crash could lose its bandwidth history, capacity
  5372. estimates, client country statistics, and so on. Addresses bug 3012.
  5373. - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
  5374. Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
  5375. clients are already deprecated because of security bugs.
  5376. - Don't allow v0 hidden service authorities to act as clients.
  5377. Required by fix for bug 3000.
  5378. - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
  5379. by fix for bug 3000.
  5380. - Ensure that no empty [dirreq-](read|write)-history lines are added
  5381. to an extrainfo document. Implements ticket 2497.
  5382. o Code simplification and refactoring:
  5383. - Remove workaround code to handle directory responses from servers
  5384. that had bug 539 (they would send HTTP status 503 responses _and_
  5385. send a body too). Since only server versions before
  5386. 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
  5387. keep the workaround in place.
  5388. - Remove the old 'fuzzy time' logic. It was supposed to be used for
  5389. handling calculations where we have a known amount of clock skew and
  5390. an allowed amount of unknown skew. But we only used it in three
  5391. places, and we never adjusted the known/unknown skew values. This is
  5392. still something we might want to do someday, but if we do, we'll
  5393. want to do it differently.
  5394. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  5395. None of the cases where we did this before were wrong, but by making
  5396. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  5397. - Use GetTempDir to find the proper temporary directory location on
  5398. Windows when generating temporary files for the unit tests. Patch by
  5399. Gisle Vanem.
  5400. Changes in version 0.2.2.24-alpha - 2011-04-08
  5401. Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
  5402. prevented Tor clients from effectively using "multihomed" bridges,
  5403. that is, bridges that listen on multiple ports or IP addresses so users
  5404. can continue to use some of their addresses even if others get blocked.
  5405. o Major bugfixes:
  5406. - Fix a bug where bridge users who configure the non-canonical
  5407. address of a bridge automatically switch to its canonical
  5408. address. If a bridge listens at more than one address, it should be
  5409. able to advertise those addresses independently and any non-blocked
  5410. addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
  5411. bug 2510.
  5412. - If you configured Tor to use bridge A, and then quit and
  5413. configured Tor to use bridge B instead, it would happily continue
  5414. to use bridge A if it's still reachable. While this behavior is
  5415. a feature if your goal is connectivity, in some scenarios it's a
  5416. dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
  5417. - Directory authorities now use data collected from their own
  5418. uptime observations when choosing whether to assign the HSDir flag
  5419. to relays, instead of trusting the uptime value the relay reports in
  5420. its descriptor. This change helps prevent an attack where a small
  5421. set of nodes with frequently-changing identity keys can blackhole
  5422. a hidden service. (Only authorities need upgrade; others will be
  5423. fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
  5424. o Minor bugfixes:
  5425. - When we restart our relay, we might get a successful connection
  5426. from the outside before we've started our reachability tests,
  5427. triggering a warning: "ORPort found reachable, but I have no
  5428. routerinfo yet. Failing to inform controller of success." This
  5429. bug was harmless unless Tor is running under a controller
  5430. like Vidalia, in which case the controller would never get a
  5431. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  5432. fixes bug 1172.
  5433. - Make directory authorities more accurate at recording when
  5434. relays that have failed several reachability tests became
  5435. unreachable, so we can provide more accuracy at assigning Stable,
  5436. Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
  5437. - Fix an issue that prevented static linking of libevent on
  5438. some platforms (notably Linux). Fixes bug 2698; bugfix on
  5439. versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
  5440. the --with-static-libevent configure option).
  5441. - We now ask the other side of a stream (the client or the exit)
  5442. for more data on that stream when the amount of queued data on
  5443. that stream dips low enough. Previously, we wouldn't ask the
  5444. other side for more data until either it sent us more data (which
  5445. it wasn't supposed to do if it had exhausted its window!) or we
  5446. had completely flushed all our queued data. This flow control fix
  5447. should improve throughput. Fixes bug 2756; bugfix on the earliest
  5448. released versions of Tor (svn commit r152).
  5449. - Avoid a double-mark-for-free warning when failing to attach a
  5450. transparent proxy connection. (We thought we had fixed this in
  5451. 0.2.2.23-alpha, but it turns out our fix was checking the wrong
  5452. connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
  5453. bug) and 0.2.2.23-alpha (the incorrect fix).
  5454. - When warning about missing zlib development packages during compile,
  5455. give the correct package names. Bugfix on 0.2.0.1-alpha.
  5456. o Minor features:
  5457. - Directory authorities now log the source of a rejected POSTed v3
  5458. networkstatus vote.
  5459. - Make compilation with clang possible when using
  5460. --enable-gcc-warnings by removing two warning options that clang
  5461. hasn't implemented yet and by fixing a few warnings. Implements
  5462. ticket 2696.
  5463. - When expiring circuits, use microsecond timers rather than
  5464. one-second timers. This can avoid an unpleasant situation where a
  5465. circuit is launched near the end of one second and expired right
  5466. near the beginning of the next, and prevent fluctuations in circuit
  5467. timeout values.
  5468. - Use computed circuit-build timeouts to decide when to launch
  5469. parallel introduction circuits for hidden services. (Previously,
  5470. we would retry after 15 seconds.)
  5471. - Update to the April 1 2011 Maxmind GeoLite Country database.
  5472. o Packaging fixes:
  5473. - Create the /var/run/tor directory on startup on OpenSUSE if it is
  5474. not already created. Patch from Andreas Stieger. Fixes bug 2573.
  5475. o Documentation changes:
  5476. - Modernize the doxygen configuration file slightly. Fixes bug 2707.
  5477. - Resolve all doxygen warnings except those for missing documentation.
  5478. Fixes bug 2705.
  5479. - Add doxygen documentation for more functions, fields, and types.
  5480. Changes in version 0.2.2.23-alpha - 2011-03-08
  5481. Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
  5482. they restart they don't lose their bandwidth capacity estimate. This
  5483. release also fixes a diverse set of user-facing bugs, ranging from
  5484. relays overrunning their rate limiting to clients falsely warning about
  5485. clock skew to bridge descriptor leaks by our bridge directory authority.
  5486. o Major bugfixes:
  5487. - Stop sending a CLOCK_SKEW controller status event whenever
  5488. we fetch directory information from a relay that has a wrong clock.
  5489. Instead, only inform the controller when it's a trusted authority
  5490. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  5491. the rest of bug 1074.
  5492. - Fix an assert in parsing router descriptors containing IPv6
  5493. addresses. This one took down the directory authorities when
  5494. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  5495. - Make the bridge directory authority refuse to answer directory
  5496. requests for "all" descriptors. It used to include bridge
  5497. descriptors in its answer, which was a major information leak.
  5498. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  5499. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  5500. Tor would ignore their RelayBandwidthBurst setting,
  5501. potentially using more bandwidth than expected. Bugfix on
  5502. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  5503. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  5504. hidserv" in her torrc. The 'hidserv' argument never controlled
  5505. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  5506. o Major features:
  5507. - Relays now save observed peak bandwidth throughput rates to their
  5508. state file (along with total usage, which was already saved)
  5509. so that they can determine their correct estimated bandwidth on
  5510. restart. Resolves bug 1863, where Tor relays would reset their
  5511. estimated bandwidth to 0 after restarting.
  5512. - Directory authorities now take changes in router IP address and
  5513. ORPort into account when determining router stability. Previously,
  5514. if a router changed its IP or ORPort, the authorities would not
  5515. treat it as having any downtime for the purposes of stability
  5516. calculation, whereas clients would experience downtime since the
  5517. change could take a while to propagate to them. Resolves issue 1035.
  5518. - Enable Address Space Layout Randomization (ASLR) and Data Execution
  5519. Prevention (DEP) by default on Windows to make it harder for
  5520. attackers to exploit vulnerabilities. Patch from John Brooks.
  5521. o Minor bugfixes (on 0.2.1.x and earlier):
  5522. - Fix a rare crash bug that could occur when a client was configured
  5523. with a large number of bridges. Fixes bug 2629; bugfix on
  5524. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  5525. - Avoid a double mark-for-free warning when failing to attach a
  5526. transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
  5527. bug 2279.
  5528. - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
  5529. found by "cypherpunks". This bug was introduced before the first
  5530. Tor release, in svn commit r110.
  5531. - Country codes aren't supported in EntryNodes until 0.2.3.x, so
  5532. don't mention them in the manpage. Fixes bug 2450; issue
  5533. spotted by keb and G-Lo.
  5534. - Fix a bug in bandwidth history state parsing that could have been
  5535. triggered if a future version of Tor ever changed the timing
  5536. granularity at which bandwidth history is measured. Bugfix on
  5537. Tor 0.1.1.11-alpha.
  5538. - When a relay decides that its DNS is too broken for it to serve
  5539. as an exit server, it advertised itself as a non-exit, but
  5540. continued to act as an exit. This could create accidental
  5541. partitioning opportunities for users. Instead, if a relay is
  5542. going to advertise reject *:* as its exit policy, it should
  5543. really act with exit policy "reject *:*". Fixes bug 2366.
  5544. Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
  5545. - In the special case where you configure a public exit relay as your
  5546. bridge, Tor would be willing to use that exit relay as the last
  5547. hop in your circuit as well. Now we fail that circuit instead.
  5548. Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
  5549. - Fix a bug with our locking implementation on Windows that couldn't
  5550. correctly detect when a file was already locked. Fixes bug 2504,
  5551. bugfix on 0.2.1.6-alpha.
  5552. - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
  5553. Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
  5554. "piebeer".
  5555. - Set target port in get_interface_address6() correctly. Bugfix
  5556. on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
  5557. - Directory authorities are now more robust to hops back in time
  5558. when calculating router stability. Previously, if a run of uptime
  5559. or downtime appeared to be negative, the calculation could give
  5560. incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
  5561. bug 1035.
  5562. - Fix an assert that got triggered when using the TestingTorNetwork
  5563. configuration option and then issuing a GETINFO config-text control
  5564. command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
  5565. o Minor bugfixes (on 0.2.2.x):
  5566. - Clients should not weight BadExit nodes as Exits in their node
  5567. selection. Similarly, directory authorities should not count BadExit
  5568. bandwidth as Exit bandwidth when computing bandwidth-weights.
  5569. Bugfix on 0.2.2.10-alpha; fixes bug 2203.
  5570. - Correctly clear our dir_read/dir_write history when there is an
  5571. error parsing any bw history value from the state file. Bugfix on
  5572. Tor 0.2.2.15-alpha.
  5573. - Resolve a bug in verifying signatures of directory objects
  5574. with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
  5575. Fixes bug 2409. Found by "piebeer".
  5576. - Bridge authorities no longer crash on SIGHUP when they try to
  5577. publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
  5578. on 0.2.2.22-alpha.
  5579. o Minor features:
  5580. - Log less aggressively about circuit timeout changes, and improve
  5581. some other circuit timeout messages. Resolves bug 2004.
  5582. - Log a little more clearly about the times at which we're no longer
  5583. accepting new connections. Resolves bug 2181.
  5584. - Reject attempts at the client side to open connections to private
  5585. IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
  5586. a randomly chosen exit node. Attempts to do so are always
  5587. ill-defined, generally prevented by exit policies, and usually
  5588. in error. This will also help to detect loops in transparent
  5589. proxy configurations. You can disable this feature by setting
  5590. "ClientRejectInternalAddresses 0" in your torrc.
  5591. - Always treat failure to allocate an RSA key as an unrecoverable
  5592. allocation error.
  5593. - Update to the March 1 2011 Maxmind GeoLite Country database.
  5594. o Minor features (log subsystem):
  5595. - Add documentation for configuring logging at different severities in
  5596. different log domains. We've had this feature since 0.2.1.1-alpha,
  5597. but for some reason it never made it into the manpage. Fixes
  5598. bug 2215.
  5599. - Make it simpler to specify "All log domains except for A and B".
  5600. Previously you needed to say "[*,~A,~B]". Now you can just say
  5601. "[~A,~B]".
  5602. - Add a "LogMessageDomains 1" option to include the domains of log
  5603. messages along with the messages. Without this, there's no way
  5604. to use log domains without reading the source or doing a lot
  5605. of guessing.
  5606. o Packaging changes:
  5607. - Stop shipping the Tor specs files and development proposal documents
  5608. in the tarball. They are now in a separate git repository at
  5609. git://git.torproject.org/torspec.git
  5610. Changes in version 0.2.1.30 - 2011-02-23
  5611. Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
  5612. change is a slight tweak to Tor's TLS handshake that makes relays
  5613. and bridges that run this new version reachable from Iran again.
  5614. We don't expect this tweak will win the arms race long-term, but it
  5615. buys us time until we roll out a better solution.
  5616. o Major bugfixes:
  5617. - Stop sending a CLOCK_SKEW controller status event whenever
  5618. we fetch directory information from a relay that has a wrong clock.
  5619. Instead, only inform the controller when it's a trusted authority
  5620. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  5621. the rest of bug 1074.
  5622. - Fix a bounds-checking error that could allow an attacker to
  5623. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  5624. Found by "piebeer".
  5625. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  5626. Tor would ignore their RelayBandwidthBurst setting,
  5627. potentially using more bandwidth than expected. Bugfix on
  5628. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  5629. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  5630. hidserv" in her torrc. The 'hidserv' argument never controlled
  5631. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  5632. o Minor features:
  5633. - Adjust our TLS Diffie-Hellman parameters to match those used by
  5634. Apache's mod_ssl.
  5635. - Update to the February 1 2011 Maxmind GeoLite Country database.
  5636. o Minor bugfixes:
  5637. - Check for and reject overly long directory certificates and
  5638. directory tokens before they have a chance to hit any assertions.
  5639. Bugfix on 0.2.1.28. Found by "doorss".
  5640. - Bring the logic that gathers routerinfos and assesses the
  5641. acceptability of circuits into line. This prevents a Tor OP from
  5642. getting locked in a cycle of choosing its local OR as an exit for a
  5643. path (due to a .exit request) and then rejecting the circuit because
  5644. its OR is not listed yet. It also prevents Tor clients from using an
  5645. OR running in the same instance as an exit (due to a .exit request)
  5646. if the OR does not meet the same requirements expected of an OR
  5647. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  5648. o Packaging changes:
  5649. - Stop shipping the Tor specs files and development proposal documents
  5650. in the tarball. They are now in a separate git repository at
  5651. git://git.torproject.org/torspec.git
  5652. - Do not include Git version tags as though they are SVN tags when
  5653. generating a tarball from inside a repository that has switched
  5654. between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  5655. Changes in version 0.2.2.22-alpha - 2011-01-25
  5656. Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
  5657. main other change is a slight tweak to Tor's TLS handshake that makes
  5658. relays and bridges that run this new version reachable from Iran again.
  5659. We don't expect this tweak will win the arms race long-term, but it
  5660. will buy us a bit more time until we roll out a better solution.
  5661. o Major bugfixes:
  5662. - Fix a bounds-checking error that could allow an attacker to
  5663. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  5664. Found by "piebeer".
  5665. - Don't assert when changing from bridge to relay or vice versa
  5666. via the controller. The assert happened because we didn't properly
  5667. initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
  5668. bug 2433. Reported by bastik.
  5669. o Minor features:
  5670. - Adjust our TLS Diffie-Hellman parameters to match those used by
  5671. Apache's mod_ssl.
  5672. - Provide a log message stating which geoip file we're parsing
  5673. instead of just stating that we're parsing the geoip file.
  5674. Implements ticket 2432.
  5675. o Minor bugfixes:
  5676. - Check for and reject overly long directory certificates and
  5677. directory tokens before they have a chance to hit any assertions.
  5678. Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
  5679. Changes in version 0.2.2.21-alpha - 2011-01-15
  5680. Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
  5681. continues our recent code security audit work. The main fix resolves
  5682. a remote heap overflow vulnerability that can allow remote code
  5683. execution (CVE-2011-0427). Other fixes address a variety of assert
  5684. and crash bugs, most of which we think are hard to exploit remotely.
  5685. o Major bugfixes (security), also included in 0.2.1.29:
  5686. - Fix a heap overflow bug where an adversary could cause heap
  5687. corruption. This bug probably allows remote code execution
  5688. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  5689. 0.1.2.10-rc.
  5690. - Prevent a denial-of-service attack by disallowing any
  5691. zlib-compressed data whose compression factor is implausibly
  5692. high. Fixes part of bug 2324; reported by "doorss".
  5693. - Zero out a few more keys in memory before freeing them. Fixes
  5694. bug 2384 and part of bug 2385. These key instances found by
  5695. "cypherpunks", based on Andrew Case's report about being able
  5696. to find sensitive data in Tor's memory space if you have enough
  5697. permissions. Bugfix on 0.0.2pre9.
  5698. o Major bugfixes (crashes), also included in 0.2.1.29:
  5699. - Prevent calls to Libevent from inside Libevent log handlers.
  5700. This had potential to cause a nasty set of crashes, especially
  5701. if running Libevent with debug logging enabled, and running
  5702. Tor with a controller watching for low-severity log messages.
  5703. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  5704. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  5705. underflow errors there too. Fixes the other part of bug 2324.
  5706. - Fix a bug where we would assert if we ever had a
  5707. cached-descriptors.new file (or another file read directly into
  5708. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  5709. on 0.2.1.25. Found by doorss.
  5710. - Fix some potential asserts and parsing issues with grossly
  5711. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  5712. Found by doorss.
  5713. o Minor bugfixes (other), also included in 0.2.1.29:
  5714. - Fix a bug with handling misformed replies to reverse DNS lookup
  5715. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  5716. bug reported by doorss.
  5717. - Fix compilation on mingw when a pthreads compatibility library
  5718. has been installed. (We don't want to use it, so we shouldn't
  5719. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  5720. - Fix a bug where we would declare that we had run out of virtual
  5721. addresses when the address space was only half-exhausted. Bugfix
  5722. on 0.1.2.1-alpha.
  5723. - Correctly handle the case where AutomapHostsOnResolve is set but
  5724. no virtual addresses are available. Fixes bug 2328; bugfix on
  5725. 0.1.2.1-alpha. Bug found by doorss.
  5726. - Correctly handle wrapping around when we run out of virtual
  5727. address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
  5728. o Minor features, also included in 0.2.1.29:
  5729. - Update to the January 1 2011 Maxmind GeoLite Country database.
  5730. - Introduce output size checks on all of our decryption functions.
  5731. o Build changes, also included in 0.2.1.29:
  5732. - Tor does not build packages correctly with Automake 1.6 and earlier;
  5733. added a check to Makefile.am to make sure that we're building with
  5734. Automake 1.7 or later.
  5735. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  5736. because we built it with a too-old version of automake. Thus that
  5737. release broke ./configure --enable-openbsd-malloc, which is popular
  5738. among really fast exit relays on Linux.
  5739. o Major bugfixes, new in 0.2.2.21-alpha:
  5740. - Prevent crash/heap corruption when the cbtnummodes consensus
  5741. parameter is set to 0 or large values. Fixes bug 2317; bugfix
  5742. on 0.2.2.14-alpha.
  5743. o Major features, new in 0.2.2.21-alpha:
  5744. - Introduce minimum/maximum values that clients will believe
  5745. from the consensus. Now we'll have a better chance to avoid crashes
  5746. or worse when a consensus param has a weird value.
  5747. o Minor features, new in 0.2.2.21-alpha:
  5748. - Make sure to disable DirPort if running as a bridge. DirPorts aren't
  5749. used on bridges, and it makes bridge scanning somewhat easier.
  5750. - If writing the state file to disk fails, wait up to an hour before
  5751. retrying again, rather than trying again each second. Fixes bug
  5752. 2346; bugfix on Tor 0.1.1.3-alpha.
  5753. - Make Libevent log messages get delivered to controllers later,
  5754. and not from inside the Libevent log handler. This prevents unsafe
  5755. reentrant Libevent calls while still letting the log messages
  5756. get through.
  5757. - Detect platforms that brokenly use a signed size_t, and refuse to
  5758. build there. Found and analyzed by doorss and rransom.
  5759. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
  5760. Resolves bug 2314.
  5761. o Minor bugfixes, new in 0.2.2.21-alpha:
  5762. - Handle SOCKS messages longer than 128 bytes long correctly, rather
  5763. than waiting forever for them to finish. Fixes bug 2330; bugfix
  5764. on 0.2.0.16-alpha. Found by doorss.
  5765. - Add assertions to check for overflow in arguments to
  5766. base32_encode() and base32_decode(); fix a signed-unsigned
  5767. comparison there too. These bugs are not actually reachable in Tor,
  5768. but it's good to prevent future errors too. Found by doorss.
  5769. - Correctly detect failures to create DNS requests when using Libevent
  5770. versions before v2. (Before Libevent 2, we used our own evdns
  5771. implementation. Its return values for Libevent's evdns_resolve_*()
  5772. functions are not consistent with those from Libevent.) Fixes bug
  5773. 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
  5774. o Documentation, new in 0.2.2.21-alpha:
  5775. - Document the default socks host and port (127.0.0.1:9050) for
  5776. tor-resolve.
  5777. Changes in version 0.2.1.29 - 2011-01-15
  5778. Tor 0.2.1.29 continues our recent code security audit work. The main
  5779. fix resolves a remote heap overflow vulnerability that can allow remote
  5780. code execution. Other fixes address a variety of assert and crash bugs,
  5781. most of which we think are hard to exploit remotely.
  5782. o Major bugfixes (security):
  5783. - Fix a heap overflow bug where an adversary could cause heap
  5784. corruption. This bug probably allows remote code execution
  5785. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  5786. 0.1.2.10-rc.
  5787. - Prevent a denial-of-service attack by disallowing any
  5788. zlib-compressed data whose compression factor is implausibly
  5789. high. Fixes part of bug 2324; reported by "doorss".
  5790. - Zero out a few more keys in memory before freeing them. Fixes
  5791. bug 2384 and part of bug 2385. These key instances found by
  5792. "cypherpunks", based on Andrew Case's report about being able
  5793. to find sensitive data in Tor's memory space if you have enough
  5794. permissions. Bugfix on 0.0.2pre9.
  5795. o Major bugfixes (crashes):
  5796. - Prevent calls to Libevent from inside Libevent log handlers.
  5797. This had potential to cause a nasty set of crashes, especially
  5798. if running Libevent with debug logging enabled, and running
  5799. Tor with a controller watching for low-severity log messages.
  5800. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  5801. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  5802. underflow errors there too. Fixes the other part of bug 2324.
  5803. - Fix a bug where we would assert if we ever had a
  5804. cached-descriptors.new file (or another file read directly into
  5805. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  5806. on 0.2.1.25. Found by doorss.
  5807. - Fix some potential asserts and parsing issues with grossly
  5808. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  5809. Found by doorss.
  5810. o Minor bugfixes (other):
  5811. - Fix a bug with handling misformed replies to reverse DNS lookup
  5812. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  5813. bug reported by doorss.
  5814. - Fix compilation on mingw when a pthreads compatibility library
  5815. has been installed. (We don't want to use it, so we shouldn't
  5816. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  5817. - Fix a bug where we would declare that we had run out of virtual
  5818. addresses when the address space was only half-exhausted. Bugfix
  5819. on 0.1.2.1-alpha.
  5820. - Correctly handle the case where AutomapHostsOnResolve is set but
  5821. no virtual addresses are available. Fixes bug 2328; bugfix on
  5822. 0.1.2.1-alpha. Bug found by doorss.
  5823. - Correctly handle wrapping around to when we run out of virtual
  5824. address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
  5825. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  5826. because we built it with a too-old version of automake. Thus that
  5827. release broke ./configure --enable-openbsd-malloc, which is popular
  5828. among really fast exit relays on Linux.
  5829. o Minor features:
  5830. - Update to the January 1 2011 Maxmind GeoLite Country database.
  5831. - Introduce output size checks on all of our decryption functions.
  5832. o Build changes:
  5833. - Tor does not build packages correctly with Automake 1.6 and earlier;
  5834. added a check to Makefile.am to make sure that we're building with
  5835. Automake 1.7 or later.
  5836. Changes in version 0.2.2.20-alpha - 2010-12-17
  5837. Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
  5838. exploitable bugs. We also fix a variety of other significant bugs,
  5839. change the IP address for one of our directory authorities, and update
  5840. the minimum version that Tor relays must run to join the network.
  5841. o Major bugfixes:
  5842. - Fix a remotely exploitable bug that could be used to crash instances
  5843. of Tor remotely by overflowing on the heap. Remote-code execution
  5844. hasn't been confirmed, but can't be ruled out. Everyone should
  5845. upgrade. Bugfix on the 0.1.1 series and later.
  5846. - Fix a bug that could break accounting on 64-bit systems with large
  5847. time_t values, making them hibernate for impossibly long intervals.
  5848. Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
  5849. - Fix a logic error in directory_fetches_from_authorities() that
  5850. would cause all _non_-exits refusing single-hop-like circuits
  5851. to fetch from authorities, when we wanted to have _exits_ fetch
  5852. from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
  5853. fix by boboper.
  5854. - Fix a stream fairness bug that would cause newer streams on a given
  5855. circuit to get preference when reading bytes from the origin or
  5856. destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
  5857. introduced before the first Tor release, in svn revision r152.
  5858. o Directory authority changes:
  5859. - Change IP address and ports for gabelmoo (v3 directory authority).
  5860. o Minor bugfixes:
  5861. - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
  5862. Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
  5863. - Fix an off-by-one error in calculating some controller command
  5864. argument lengths. Fortunately, this mistake is harmless since
  5865. the controller code does redundant NUL termination too. Found by
  5866. boboper. Bugfix on 0.1.1.1-alpha.
  5867. - Do not dereference NULL if a bridge fails to build its
  5868. extra-info descriptor. Found by an anonymous commenter on
  5869. Trac. Bugfix on 0.2.2.19-alpha.
  5870. o Minor features:
  5871. - Update to the December 1 2010 Maxmind GeoLite Country database.
  5872. - Directory authorities now reject relays running any versions of
  5873. Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
  5874. known bugs that keep RELAY_EARLY cells from working on rendezvous
  5875. circuits. Followup to fix for bug 2081.
  5876. - Directory authorities now reject relays running any version of Tor
  5877. older than 0.2.0.26-rc. That version is the earliest that fetches
  5878. current directory information correctly. Fixes bug 2156.
  5879. - Report only the top 10 ports in exit-port stats in order not to
  5880. exceed the maximum extra-info descriptor length of 50 KB. Implements
  5881. task 2196.
  5882. Changes in version 0.2.1.28 - 2010-12-17
  5883. Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
  5884. exploitable bugs. We also took this opportunity to change the IP address
  5885. for one of our directory authorities, and to update the geoip database
  5886. we ship.
  5887. o Major bugfixes:
  5888. - Fix a remotely exploitable bug that could be used to crash instances
  5889. of Tor remotely by overflowing on the heap. Remote-code execution
  5890. hasn't been confirmed, but can't be ruled out. Everyone should
  5891. upgrade. Bugfix on the 0.1.1 series and later.
  5892. o Directory authority changes:
  5893. - Change IP address and ports for gabelmoo (v3 directory authority).
  5894. o Minor features:
  5895. - Update to the December 1 2010 Maxmind GeoLite Country database.
  5896. Changes in version 0.2.1.27 - 2010-11-23
  5897. Yet another OpenSSL security patch broke its compatibility with Tor:
  5898. Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
  5899. also took this opportunity to fix several crash bugs, integrate a new
  5900. directory authority, and update the bundled GeoIP database.
  5901. o Major bugfixes:
  5902. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  5903. No longer set the tlsext_host_name extension on server SSL objects;
  5904. but continue to set it on client SSL objects. Our goal in setting
  5905. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  5906. bugfix on 0.2.1.1-alpha.
  5907. - Do not log messages to the controller while shrinking buffer
  5908. freelists. Doing so would sometimes make the controller connection
  5909. try to allocate a buffer chunk, which would mess up the internals
  5910. of the freelist and cause an assertion failure. Fixes bug 1125;
  5911. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  5912. - Learn our external IP address when we're a relay or bridge, even if
  5913. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  5914. where we introduced bridge relays that don't need to publish to
  5915. be useful. Fixes bug 2050.
  5916. - Do even more to reject (and not just ignore) annotations on
  5917. router descriptors received anywhere but from the cache. Previously
  5918. we would ignore such annotations at first, but cache them to disk
  5919. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  5920. - When you're using bridges and your network goes away and your
  5921. bridges get marked as down, recover when you attempt a new socks
  5922. connection (if the network is back), rather than waiting up to an
  5923. hour to try fetching new descriptors for your bridges. Bugfix on
  5924. 0.2.0.3-alpha; fixes bug 1981.
  5925. o Major features:
  5926. - Move to the November 2010 Maxmind GeoLite country db (rather
  5927. than the June 2009 ip-to-country GeoIP db) for our statistics that
  5928. count how many users relays are seeing from each country. Now we'll
  5929. have more accurate data, especially for many African countries.
  5930. o New directory authorities:
  5931. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  5932. authority.
  5933. o Minor bugfixes:
  5934. - Fix an assertion failure that could occur in directory caches or
  5935. bridge users when using a very short voting interval on a testing
  5936. network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
  5937. 0.2.0.8-alpha.
  5938. - Enforce multiplicity rules when parsing annotations. Bugfix on
  5939. 0.2.0.8-alpha. Found by piebeer.
  5940. - Allow handshaking OR connections to take a full KeepalivePeriod
  5941. seconds to handshake. Previously, we would close them after
  5942. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  5943. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  5944. for analysis help.
  5945. - When building with --enable-gcc-warnings on OpenBSD, disable
  5946. warnings in system headers. This makes --enable-gcc-warnings
  5947. pass on OpenBSD 4.8.
  5948. o Minor features:
  5949. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  5950. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  5951. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  5952. Servers can start sending this code when enough clients recognize
  5953. it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
  5954. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  5955. Patch from mingw-san.
  5956. o Removed files:
  5957. - Remove the old debian/ directory from the main Tor distribution.
  5958. The official Tor-for-debian git repository lives at the URL
  5959. https://git.torproject.org/debian/tor.git
  5960. - Stop shipping the old doc/website/ directory in the tarball. We
  5961. changed the website format in late 2010, and what we shipped in
  5962. 0.2.1.26 really wasn't that useful anyway.
  5963. Changes in version 0.2.2.19-alpha - 2010-11-22
  5964. Yet another OpenSSL security patch broke its compatibility with Tor:
  5965. Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
  5966. o Major bugfixes:
  5967. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  5968. No longer set the tlsext_host_name extension on server SSL objects;
  5969. but continue to set it on client SSL objects. Our goal in setting
  5970. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  5971. bugfix on 0.2.1.1-alpha.
  5972. o Minor bugfixes:
  5973. - Try harder not to exceed the maximum length of 50 KB when writing
  5974. statistics to extra-info descriptors. This bug was triggered by very
  5975. fast relays reporting exit-port, entry, and dirreq statistics.
  5976. Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
  5977. - Publish a router descriptor even if generating an extra-info
  5978. descriptor fails. Previously we would not publish a router
  5979. descriptor without an extra-info descriptor; this can cause fast
  5980. exit relays collecting exit-port statistics to drop from the
  5981. consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
  5982. Changes in version 0.2.2.18-alpha - 2010-11-16
  5983. Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
  5984. us lately, makes unpublished bridge relays able to detect their IP
  5985. address, and fixes a wide variety of other bugs to get us much closer
  5986. to a stable release.
  5987. o Major bugfixes:
  5988. - Do even more to reject (and not just ignore) annotations on
  5989. router descriptors received anywhere but from the cache. Previously
  5990. we would ignore such annotations at first, but cache them to disk
  5991. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  5992. - Do not log messages to the controller while shrinking buffer
  5993. freelists. Doing so would sometimes make the controller connection
  5994. try to allocate a buffer chunk, which would mess up the internals
  5995. of the freelist and cause an assertion failure. Fixes bug 1125;
  5996. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  5997. - Learn our external IP address when we're a relay or bridge, even if
  5998. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  5999. where we introduced bridge relays that don't need to publish to
  6000. be useful. Fixes bug 2050.
  6001. - Maintain separate TLS contexts and certificates for incoming and
  6002. outgoing connections in bridge relays. Previously we would use the
  6003. same TLS contexts and certs for incoming and outgoing connections.
  6004. Bugfix on 0.2.0.3-alpha; addresses bug 988.
  6005. - Maintain separate identity keys for incoming and outgoing TLS
  6006. contexts in bridge relays. Previously we would use the same
  6007. identity keys for incoming and outgoing TLS contexts. Bugfix on
  6008. 0.2.0.3-alpha; addresses the other half of bug 988.
  6009. - Avoid an assertion failure when we as an authority receive a
  6010. duplicate upload of a router descriptor that we already have,
  6011. but which we previously considered an obsolete descriptor.
  6012. Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
  6013. - Avoid a crash bug triggered by looking at a dangling pointer while
  6014. setting the network status consensus. Found by Robert Ransom.
  6015. Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
  6016. - Fix a logic error where servers that _didn't_ act as exits would
  6017. try to keep their server lists more aggressively up to date than
  6018. exits, when it was supposed to be the other way around. Bugfix
  6019. on 0.2.2.17-alpha.
  6020. o Minor bugfixes (on Tor 0.2.1.x and earlier):
  6021. - When we're trying to guess whether we know our IP address as
  6022. a relay, we would log various ways that we failed to guess
  6023. our address, but never log that we ended up guessing it
  6024. successfully. Now add a log line to help confused and anxious
  6025. relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
  6026. - Bring the logic that gathers routerinfos and assesses the
  6027. acceptability of circuits into line. This prevents a Tor OP from
  6028. getting locked in a cycle of choosing its local OR as an exit for a
  6029. path (due to a .exit request) and then rejecting the circuit because
  6030. its OR is not listed yet. It also prevents Tor clients from using an
  6031. OR running in the same instance as an exit (due to a .exit request)
  6032. if the OR does not meet the same requirements expected of an OR
  6033. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  6034. - Correctly describe errors that occur when generating a TLS object.
  6035. Previously we would attribute them to a failure while generating a
  6036. TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
  6037. bug 1994.
  6038. - Enforce multiplicity rules when parsing annotations. Bugfix on
  6039. 0.2.0.8-alpha. Found by piebeer.
  6040. - Fix warnings that newer versions of autoconf produced during
  6041. ./autogen.sh. These warnings appear to be harmless in our case,
  6042. but they were extremely verbose. Fixes bug 2020.
  6043. o Minor bugfixes (on Tor 0.2.2.x):
  6044. - Enable protection of small arrays whenever we build with gcc
  6045. hardening features, not only when also building with warnings
  6046. enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
  6047. o Minor features:
  6048. - Make hidden services work better in private Tor networks by not
  6049. requiring any uptime to join the hidden service descriptor
  6050. DHT. Implements ticket 2088.
  6051. - Rate-limit the "your application is giving Tor only an IP address"
  6052. warning. Addresses bug 2000; bugfix on 0.0.8pre2.
  6053. - When AllowSingleHopExits is set, print a warning to explain to the
  6054. relay operator why most clients are avoiding her relay.
  6055. - Update to the November 1 2010 Maxmind GeoLite Country database.
  6056. o Code simplifications and refactoring:
  6057. - When we fixed bug 1038 we had to put in a restriction not to send
  6058. RELAY_EARLY cells on rend circuits. This was necessary as long
  6059. as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
  6060. active. Now remove this obsolete check. Resolves bug 2081.
  6061. - Some options used different conventions for uppercasing of acronyms
  6062. when comparing manpage and source. Fix those in favor of the
  6063. manpage, as it makes sense to capitalize acronyms.
  6064. - Remove the torrc.complete file. It hasn't been kept up to date
  6065. and users will have better luck checking out the manpage.
  6066. - Remove the obsolete "NoPublish" option; it has been flagged
  6067. as obsolete and has produced a warning since 0.1.1.18-rc.
  6068. - Remove everything related to building the expert bundle for OS X.
  6069. It has confused many users, doesn't work right on OS X 10.6,
  6070. and is hard to get rid of once installed. Resolves bug 1274.
  6071. Changes in version 0.2.2.17-alpha - 2010-09-30
  6072. Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
  6073. to use one-hop circuits (which can put the exit relays at higher risk,
  6074. plus unbalance the network); fixes a big bug in bandwidth accounting
  6075. for relays that want to limit their monthly bandwidth use; fixes a
  6076. big pile of bugs in how clients tolerate temporary network failure;
  6077. and makes our adaptive circuit build timeout feature (which improves
  6078. client performance if your network is fast while not breaking things
  6079. if your network is slow) better handle bad networks.
  6080. o Major features:
  6081. - Exit relays now try harder to block exit attempts from unknown
  6082. relays, to make it harder for people to use them as one-hop proxies
  6083. a la tortunnel. Controlled by the refuseunknownexits consensus
  6084. parameter (currently enabled), or you can override it on your
  6085. relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
  6086. o Major bugfixes (0.2.1.x and earlier):
  6087. - Fix a bug in bandwidth accounting that could make us use twice
  6088. the intended bandwidth when our interval start changes due to
  6089. daylight saving time. Now we tolerate skew in stored vs computed
  6090. interval starts: if the start of the period changes by no more than
  6091. 50% of the period's duration, we remember bytes that we transferred
  6092. in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
  6093. - Always search the Windows system directory for system DLLs, and
  6094. nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
  6095. - When you're using bridges and your network goes away and your
  6096. bridges get marked as down, recover when you attempt a new socks
  6097. connection (if the network is back), rather than waiting up to an
  6098. hour to try fetching new descriptors for your bridges. Bugfix on
  6099. 0.2.0.3-alpha; fixes bug 1981.
  6100. o Major bugfixes (on 0.2.2.x):
  6101. - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
  6102. bug 1797.
  6103. - Fix a segfault that could happen when operating a bridge relay with
  6104. no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
  6105. - The consensus bandwidth-weights (used by clients to choose fast
  6106. relays) entered an unexpected edge case in September where
  6107. Exits were much scarcer than Guards, resulting in bad weight
  6108. recommendations. Now we compute them using new constraints that
  6109. should succeed in all cases. Also alter directory authorities to
  6110. not include the bandwidth-weights line if they fail to produce
  6111. valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
  6112. - When weighting bridges during path selection, we used to trust
  6113. the bandwidths they provided in their descriptor, only capping them
  6114. at 10MB/s. This turned out to be problematic for two reasons:
  6115. Bridges could claim to handle a lot more traffic then they
  6116. actually would, thus making more clients pick them and have a
  6117. pretty effective DoS attack. The other issue is that new bridges
  6118. that might not have a good estimate for their bw capacity yet
  6119. would not get used at all unless no other bridges are available
  6120. to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
  6121. o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
  6122. - Ignore cannibalized circuits when recording circuit build times.
  6123. This should provide for a minor performance improvement for hidden
  6124. service users using 0.2.2.14-alpha, and should remove two spurious
  6125. notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
  6126. - Simplify the logic that causes us to decide if the network is
  6127. unavailable for purposes of recording circuit build times. If we
  6128. receive no cells whatsoever for the entire duration of a circuit's
  6129. full measured lifetime, the network is probably down. Also ignore
  6130. one-hop directory fetching circuit timeouts when calculating our
  6131. circuit build times. These changes should hopefully reduce the
  6132. cases where we see ridiculous circuit build timeouts for people
  6133. with spotty wireless connections. Fixes part of bug 1772; bugfix
  6134. on 0.2.2.2-alpha.
  6135. - Prevent the circuit build timeout from becoming larger than
  6136. the maximum build time we have ever seen. Also, prevent the time
  6137. period for measurement circuits from becoming larger than twice that
  6138. value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
  6139. o Minor features:
  6140. - When we run out of directory information such that we can't build
  6141. circuits, but then get enough that we can build circuits, log when
  6142. we actually construct a circuit, so the user has a better chance of
  6143. knowing what's going on. Fixes bug 1362.
  6144. - Be more generous with how much bandwidth we'd use up (with
  6145. accounting enabled) before entering "soft hibernation". Previously,
  6146. we'd refuse new connections and circuits once we'd used up 95% of
  6147. our allotment. Now, we use up 95% of our allotment, AND make sure
  6148. that we have no more than 500MB (or 3 hours of expected traffic,
  6149. whichever is lower) remaining before we enter soft hibernation.
  6150. - If we've configured EntryNodes and our network goes away and/or all
  6151. our entrynodes get marked down, optimistically retry them all when
  6152. a new socks application request appears. Fixes bug 1882.
  6153. - Add some more defensive programming for architectures that can't
  6154. handle unaligned integer accesses. We don't know of any actual bugs
  6155. right now, but that's the best time to fix them. Fixes bug 1943.
  6156. - Support line continuations in the torrc config file. If a line
  6157. ends with a single backslash character, the newline is ignored, and
  6158. the configuration value is treated as continuing on the next line.
  6159. Resolves bug 1929.
  6160. o Minor bugfixes (on 0.2.1.x and earlier):
  6161. - For bandwidth accounting, calculate our expected bandwidth rate
  6162. based on the time during which we were active and not in
  6163. soft-hibernation during the last interval. Previously, we were
  6164. also considering the time spent in soft-hibernation. If this
  6165. was a long time, we would wind up underestimating our bandwidth
  6166. by a lot, and skewing our wakeup time towards the start of the
  6167. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
  6168. o Minor bugfixes (on 0.2.2.x):
  6169. - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
  6170. which were disabled by the circuit build timeout changes in
  6171. 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
  6172. - Make sure we don't warn about missing bandwidth weights when
  6173. choosing bridges or other relays not in the consensus. Bugfix on
  6174. 0.2.2.10-alpha; fixes bug 1805.
  6175. - In our logs, do not double-report signatures from unrecognized
  6176. authorities both as "from unknown authority" and "not
  6177. present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
  6178. Changes in version 0.2.2.16-alpha - 2010-09-17
  6179. Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
  6180. evident at exit relays), and also continues to resolve all the little
  6181. bugs that have been filling up trac lately.
  6182. o Major bugfixes (stream-level fairness):
  6183. - When receiving a circuit-level SENDME for a blocked circuit, try
  6184. to package cells fairly from all the streams that had previously
  6185. been blocked on that circuit. Previously, we had started with the
  6186. oldest stream, and allowed each stream to potentially exhaust
  6187. the circuit's package window. This gave older streams on any
  6188. given circuit priority over newer ones. Fixes bug 1937. Detected
  6189. originally by Camilo Viecco. This bug was introduced before the
  6190. first Tor release, in svn commit r152: it is the new winner of
  6191. the longest-lived bug prize.
  6192. - When the exit relay got a circuit-level sendme cell, it started
  6193. reading on the exit streams, even if had 500 cells queued in the
  6194. circuit queue already, so the circuit queue just grew and grew in
  6195. some cases. We fix this by not re-enabling reading on receipt of a
  6196. sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
  6197. on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
  6198. "yetonetime".
  6199. - Newly created streams were allowed to read cells onto circuits,
  6200. even if the circuit's cell queue was blocked and waiting to drain.
  6201. This created potential unfairness, as older streams would be
  6202. blocked, but newer streams would gladly fill the queue completely.
  6203. We add code to detect this situation and prevent any stream from
  6204. getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
  6205. fixes bug 1298.
  6206. o Minor features:
  6207. - Update to the September 1 2010 Maxmind GeoLite Country database.
  6208. - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
  6209. not. This would lead to a cookie that is still not group readable.
  6210. Closes bug 1843. Suggested by katmagic.
  6211. - When logging a rate-limited warning, we now mention how many messages
  6212. got suppressed since the last warning.
  6213. - Add new "perconnbwrate" and "perconnbwburst" consensus params to
  6214. do individual connection-level rate limiting of clients. The torrc
  6215. config options with the same names trump the consensus params, if
  6216. both are present. Replaces the old "bwconnrate" and "bwconnburst"
  6217. consensus params which were broken from 0.2.2.7-alpha through
  6218. 0.2.2.14-alpha. Closes bug 1947.
  6219. - When a router changes IP address or port, authorities now launch
  6220. a new reachability test for it. Implements ticket 1899.
  6221. - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
  6222. 2 no signature, 4 required" messages about consensus signatures
  6223. easier to read, and make sure they get logged at the same severity
  6224. as the messages explaining which keys are which. Fixes bug 1290.
  6225. - Don't warn when we have a consensus that we can't verify because
  6226. of missing certificates, unless those certificates are ones
  6227. that we have been trying and failing to download. Fixes bug 1145.
  6228. - If you configure your bridge with a known identity fingerprint,
  6229. and the bridge authority is unreachable (as it is in at least
  6230. one country now), fall back to directly requesting the descriptor
  6231. from the bridge. Finishes the feature started in 0.2.0.10-alpha;
  6232. closes bug 1138.
  6233. - When building with --enable-gcc-warnings on OpenBSD, disable
  6234. warnings in system headers. This makes --enable-gcc-warnings
  6235. pass on OpenBSD 4.8.
  6236. o Minor bugfixes (on 0.2.1.x and earlier):
  6237. - Authorities will now attempt to download consensuses if their
  6238. own efforts to make a live consensus have failed. This change
  6239. means authorities that restart will fetch a valid consensus, and
  6240. it means authorities that didn't agree with the current consensus
  6241. will still fetch and serve it if it has enough signatures. Bugfix
  6242. on 0.2.0.9-alpha; fixes bug 1300.
  6243. - Ensure DNS requests launched by "RESOLVE" commands from the
  6244. controller respect the __LeaveStreamsUnattached setconf options. The
  6245. same goes for requests launched via DNSPort or transparent
  6246. proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
  6247. - Allow handshaking OR connections to take a full KeepalivePeriod
  6248. seconds to handshake. Previously, we would close them after
  6249. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  6250. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  6251. for analysis help.
  6252. - Rate-limit "Failed to hand off onionskin" warnings.
  6253. - Never relay a cell for a circuit we have already destroyed.
  6254. Between marking a circuit as closeable and finally closing it,
  6255. it may have been possible for a few queued cells to get relayed,
  6256. even though they would have been immediately dropped by the next
  6257. OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
  6258. - Never queue a cell for a circuit that's already been marked
  6259. for close.
  6260. - Never vote for a server as "Running" if we have a descriptor for
  6261. it claiming to be hibernating, and that descriptor was published
  6262. more recently than our last contact with the server. Bugfix on
  6263. 0.2.0.3-alpha; fixes bug 911.
  6264. - Squash a compile warning on OpenBSD. Reported by Tas; fixes
  6265. bug 1848.
  6266. o Minor bugfixes (on 0.2.2.x):
  6267. - Fix a regression introduced in 0.2.2.7-alpha that marked relays
  6268. down if a directory fetch fails and you've configured either
  6269. bridges or EntryNodes. The intent was to mark the relay as down
  6270. _unless_ you're using bridges or EntryNodes, since if you are
  6271. then you could quickly run out of entry points.
  6272. - Fix the Windows directory-listing code. A bug introduced in
  6273. 0.2.2.14-alpha could make Windows directory servers forget to load
  6274. some of their cached v2 networkstatus files.
  6275. - Really allow clients to use relays as bridges. Fixes bug 1776;
  6276. bugfix on 0.2.2.15-alpha.
  6277. - Demote a warn to info that happens when the CellStatistics option
  6278. was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
  6279. Reported by Moritz Bartl.
  6280. - On Windows, build correctly either with or without Unicode support.
  6281. This is necessary so that Tor can support fringe platforms like
  6282. Windows 98 (which has no Unicode), or Windows CE (which has no
  6283. non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
  6284. o Testing
  6285. - Add a unit test for cross-platform directory-listing code.
  6286. Changes in version 0.2.2.15-alpha - 2010-08-18
  6287. Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
  6288. fixes a variety of other bugs that were preventing performance
  6289. experiments from moving forward, fixes several bothersome memory leaks,
  6290. and generally closes a lot of smaller bugs that have been filling up
  6291. trac lately.
  6292. o Major bugfixes:
  6293. - Stop assigning the HSDir flag to relays that disable their
  6294. DirPort (and thus will refuse to answer directory requests). This
  6295. fix should dramatically improve the reachability of hidden services:
  6296. hidden services and hidden service clients pick six HSDir relays
  6297. to store and retrieve the hidden service descriptor, and currently
  6298. about half of the HSDir relays will refuse to work. Bugfix on
  6299. 0.2.0.10-alpha; fixes part of bug 1693.
  6300. - The PerConnBWRate and Burst config options, along with the
  6301. bwconnrate and bwconnburst consensus params, initialized each conn's
  6302. token bucket values only when the connection is established. Now we
  6303. update them if the config options change, and update them every time
  6304. we get a new consensus. Otherwise we can encounter an ugly edge
  6305. case where we initialize an OR conn to client-level bandwidth,
  6306. but then later the relay joins the consensus and we leave it
  6307. throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
  6308. - Fix a regression that caused Tor to rebind its ports if it receives
  6309. SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
  6310. o Major features:
  6311. - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
  6312. should give us approximately 40-50% more Guard-flagged nodes,
  6313. improving the anonymity the Tor network can provide and also
  6314. decreasing the dropoff in throughput that relays experience when
  6315. they first get the Guard flag.
  6316. - Allow enabling or disabling the *Statistics config options while
  6317. Tor is running.
  6318. o Minor features:
  6319. - Update to the August 1 2010 Maxmind GeoLite Country database.
  6320. - Have the controller interface give a more useful message than
  6321. "Internal Error" in response to failed GETINFO requests.
  6322. - Warn when the same option is provided more than once in a torrc
  6323. file, on the command line, or in a single SETCONF statement, and
  6324. the option is one that only accepts a single line. Closes bug 1384.
  6325. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  6326. Patch from mingw-san.
  6327. - Add support for the country code "{??}" in torrc options like
  6328. ExcludeNodes, to indicate all routers of unknown country. Closes
  6329. bug 1094.
  6330. - Relays report the number of bytes spent on answering directory
  6331. requests in extra-info descriptors similar to {read,write}-history.
  6332. Implements enhancement 1790.
  6333. o Minor bugfixes (on 0.2.1.x and earlier):
  6334. - Complain if PublishServerDescriptor is given multiple arguments that
  6335. include 0 or 1. This configuration will be rejected in the future.
  6336. Bugfix on 0.2.0.1-alpha; closes bug 1107.
  6337. - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
  6338. Bugfix on 0.2.0.13-alpha; closes bug 928.
  6339. - Change "Application request when we're believed to be offline."
  6340. notice to "Application request when we haven't used client
  6341. functionality lately.", to clarify that it's not an error. Bugfix
  6342. on 0.0.9.3; fixes bug 1222.
  6343. - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
  6344. would return "551 Internal error" rather than "552 Unrecognized key
  6345. ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
  6346. - Users can't configure a regular relay to be their bridge. It didn't
  6347. work because when Tor fetched the bridge descriptor, it found
  6348. that it already had it, and didn't realize that the purpose of the
  6349. descriptor had changed. Now we replace routers with a purpose other
  6350. than bridge with bridge descriptors when fetching them. Bugfix on
  6351. 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
  6352. refetch the descriptor with router purpose 'general', disabling
  6353. it as a bridge.
  6354. - Fix a rare bug in rend_fn unit tests: we would fail a test when
  6355. a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
  6356. on 0.2.0.10-alpha; fixes bug 1808.
  6357. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  6358. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  6359. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  6360. Servers can start sending this code when enough clients recognize
  6361. it. Also update the spec to reflect this new reason. Bugfix on
  6362. 0.1.0.1-rc; fixes part of bug 1793.
  6363. - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
  6364. when we switch from being a public relay to a bridge. Otherwise
  6365. there will still be clients that see the relay in their consensus,
  6366. and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
  6367. 932 even more.
  6368. - Instead of giving an assertion failure on an internal mismatch
  6369. on estimated freelist size, just log a BUG warning and try later.
  6370. Mitigates but does not fix bug 1125.
  6371. - Fix an assertion failure that could occur in caches or bridge users
  6372. when using a very short voting interval on a testing network.
  6373. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
  6374. o Minor bugfixes (on 0.2.2.x):
  6375. - Alter directory authorities to always consider Exit-flagged nodes
  6376. as potential Guard nodes in their votes. The actual decision to
  6377. use Exits as Guards is done in the consensus bandwidth weights.
  6378. Fixes bug 1294; bugfix on 0.2.2.10-alpha.
  6379. - When the controller is reporting the purpose of circuits that
  6380. didn't finish building before the circuit build timeout, it was
  6381. printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
  6382. - Our libevent version parsing code couldn't handle versions like
  6383. 1.4.14b-stable and incorrectly warned the user about using an
  6384. old and broken version of libevent. Treat 1.4.14b-stable like
  6385. 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
  6386. on 0.2.2.1-alpha.
  6387. - Don't use substitution references like $(VAR:MOD) when
  6388. $(asciidoc_files) is empty -- make(1) on NetBSD transforms
  6389. '$(:x)' to 'x' rather than the empty string. This bites us in
  6390. doc/ when configured with --disable-asciidoc. Bugfix on
  6391. 0.2.2.9-alpha; fixes bug 1773.
  6392. - Remove a spurious hidden service server-side log notice about
  6393. "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
  6394. bug 1741.
  6395. - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
  6396. fixes bug 1832.
  6397. - Correctly report written bytes on linked connections. Found while
  6398. implementing 1790. Bugfix on 0.2.2.4-alpha.
  6399. - Fix three memory leaks: one in circuit_build_times_parse_state(),
  6400. one in dirvote_add_signatures_to_pending_consensus(), and one every
  6401. time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
  6402. 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
  6403. o Code simplifications and refactoring:
  6404. - Take a first step towards making or.h smaller by splitting out
  6405. function definitions for all source files in src/or/. Leave
  6406. structures and defines in or.h for now.
  6407. - Remove a bunch of unused function declarations as well as a block of
  6408. #if 0'd code from the unit tests. Closes bug 1824.
  6409. - New unit tests for exit-port history statistics; refactored exit
  6410. statistics code to be more easily tested.
  6411. - Remove the old debian/ directory from the main Tor distribution.
  6412. The official Tor-for-debian git repository lives at the URL
  6413. https://git.torproject.org/debian/tor.git
  6414. Changes in version 0.2.2.14-alpha - 2010-07-12
  6415. Tor 0.2.2.14-alpha greatly improves client-side handling of
  6416. circuit build timeouts, which are used to estimate speed and improve
  6417. performance. We also move to a much better GeoIP database, port Tor to
  6418. Windows CE, introduce new compile flags that improve code security,
  6419. add an eighth v3 directory authority, and address a lot of more
  6420. minor issues.
  6421. o Major bugfixes:
  6422. - Tor directory authorities no longer crash when started with a
  6423. cached-microdesc-consensus file in their data directory. Bugfix
  6424. on 0.2.2.6-alpha; fixes bug 1532.
  6425. - Treat an unset $HOME like an empty $HOME rather than triggering an
  6426. assert. Bugfix on 0.0.8pre1; fixes bug 1522.
  6427. - Ignore negative and large circuit build timeout values that can
  6428. happen during a suspend or hibernate. These values caused various
  6429. asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
  6430. - Alter calculation of Pareto distribution parameter 'Xm' for
  6431. Circuit Build Timeout learning to use the weighted average of the
  6432. top N=3 modes (because we have three entry guards). Considering
  6433. multiple modes should improve the timeout calculation in some cases,
  6434. and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
  6435. fixes bug 1335.
  6436. - Alter calculation of Pareto distribution parameter 'Alpha' to use a
  6437. right censored distribution model. This approach improves over the
  6438. synthetic timeout generation approach that was producing insanely
  6439. high timeout values. Now we calculate build timeouts using truncated
  6440. times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
  6441. - Do not close circuits that are under construction when they reach
  6442. the circuit build timeout. Instead, leave them building (but do not
  6443. use them) for up until the time corresponding to the 95th percentile
  6444. on the Pareto CDF or 60 seconds, whichever is greater. This is done
  6445. to provide better data for the new Pareto model. This percentile
  6446. can be controlled by the consensus.
  6447. o Major features:
  6448. - Move to the June 2010 Maxmind GeoLite country db (rather than the
  6449. June 2009 ip-to-country GeoIP db) for our statistics that count
  6450. how many users relays are seeing from each country. Now we have
  6451. more accurate data for many African countries.
  6452. - Port Tor to build and run correctly on Windows CE systems, using
  6453. the wcecompat library. Contributed by Valerio Lupi.
  6454. - New "--enable-gcc-hardening" ./configure flag (off by default)
  6455. to turn on gcc compile time hardening options. It ensures
  6456. that signed ints have defined behavior (-fwrapv), enables
  6457. -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
  6458. with canaries (-fstack-protector-all), turns on ASLR protection if
  6459. supported by the kernel (-fPIE, -pie), and adds additional security
  6460. related warnings. Verified to work on Mac OS X and Debian Lenny.
  6461. - New "--enable-linker-hardening" ./configure flag (off by default)
  6462. to turn on ELF specific hardening features (relro, now). This does
  6463. not work with Mac OS X or any other non-ELF binary format.
  6464. o New directory authorities:
  6465. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  6466. authority.
  6467. o Minor features:
  6468. - New config option "WarnUnsafeSocks 0" disables the warning that
  6469. occurs whenever Tor receives a socks handshake using a version of
  6470. the socks protocol that can only provide an IP address (rather
  6471. than a hostname). Setups that do DNS locally over Tor are fine,
  6472. and we shouldn't spam the logs in that case.
  6473. - Convert the HACKING file to asciidoc, and add a few new sections
  6474. to it, explaining how we use Git, how we make changelogs, and
  6475. what should go in a patch.
  6476. - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
  6477. event, to give information on the current rate of circuit timeouts
  6478. over our stored history.
  6479. - Add ability to disable circuit build time learning via consensus
  6480. parameter and via a LearnCircuitBuildTimeout config option. Also
  6481. automatically disable circuit build time calculation if we are
  6482. either a AuthoritativeDirectory, or if we fail to write our state
  6483. file. Fixes bug 1296.
  6484. - More gracefully handle corrupt state files, removing asserts
  6485. in favor of saving a backup and resetting state.
  6486. - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
  6487. system headers.
  6488. o Minor bugfixes:
  6489. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  6490. enabled.
  6491. - When a2x fails, mention that the user could disable manpages instead
  6492. of trying to fix their asciidoc installation.
  6493. - Where available, use Libevent 2.0's periodic timers so that our
  6494. once-per-second cleanup code gets called even more closely to
  6495. once per second than it would otherwise. Fixes bug 943.
  6496. - If you run a bridge that listens on multiple IP addresses, and
  6497. some user configures a bridge address that uses a different IP
  6498. address than your bridge writes in its router descriptor, and the
  6499. user doesn't specify an identity key, their Tor would discard the
  6500. descriptor because "it isn't one of our configured bridges", and
  6501. fail to bootstrap. Now believe the descriptor and bootstrap anyway.
  6502. Bugfix on 0.2.0.3-alpha.
  6503. - If OpenSSL fails to make a duplicate of a private or public key, log
  6504. an error message and try to exit cleanly. May help with debugging
  6505. if bug 1209 ever remanifests.
  6506. - Save a couple bytes in memory allocation every time we escape
  6507. certain characters in a string. Patch from Florian Zumbiehl.
  6508. - Make it explicit that we don't cannibalize one-hop circuits. This
  6509. happens in the wild, but doesn't turn out to be a problem because
  6510. we fortunately don't use those circuits. Many thanks to outofwords
  6511. for the initial analysis and to swissknife who confirmed that
  6512. two-hop circuits are actually created.
  6513. - Make directory mirrors report non-zero dirreq-v[23]-shares again.
  6514. Fixes bug 1564; bugfix on 0.2.2.9-alpha.
  6515. - Eliminate a case where a circuit build time warning was displayed
  6516. after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
  6517. Changes in version 0.2.1.26 - 2010-05-02
  6518. Tor 0.2.1.26 addresses the recent connection and memory overload
  6519. problems we've been seeing on relays, especially relays with their
  6520. DirPort open. If your relay has been crashing, or you turned it off
  6521. because it used too many resources, give this release a try.
  6522. This release also fixes yet another instance of broken OpenSSL libraries
  6523. that was causing some relays to drop out of the consensus.
  6524. o Major bugfixes:
  6525. - Teach relays to defend themselves from connection overload. Relays
  6526. now close idle circuits early if it looks like they were intended
  6527. for directory fetches. Relays are also more aggressive about closing
  6528. TLS connections that have no circuits on them. Such circuits are
  6529. unlikely to be re-used, and tens of thousands of them were piling
  6530. up at the fast relays, causing the relays to run out of sockets
  6531. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  6532. their directory fetches over TLS).
  6533. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  6534. that claim to be earlier than 0.9.8m, but which have in reality
  6535. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  6536. behavior. Possible fix for some cases of bug 1346.
  6537. - Directory mirrors were fetching relay descriptors only from v2
  6538. directory authorities, rather than v3 authorities like they should.
  6539. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  6540. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  6541. o Minor bugfixes:
  6542. - Finally get rid of the deprecated and now harmful notion of "clique
  6543. mode", where directory authorities maintain TLS connections to
  6544. every other relay.
  6545. o Testsuite fixes:
  6546. - In the util/threads test, no longer free the test_mutex before all
  6547. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  6548. - The master thread could starve the worker threads quite badly on
  6549. certain systems, causing them to run only partially in the allowed
  6550. window. This resulted in test failures. Now the master thread sleeps
  6551. occasionally for a few microseconds while the two worker-threads
  6552. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  6553. Changes in version 0.2.2.13-alpha - 2010-04-24
  6554. Tor 0.2.2.13-alpha addresses the recent connection and memory overload
  6555. problems we've been seeing on relays, especially relays with their
  6556. DirPort open. If your relay has been crashing, or you turned it off
  6557. because it used too many resources, give this release a try.
  6558. o Major bugfixes:
  6559. - Teach relays to defend themselves from connection overload. Relays
  6560. now close idle circuits early if it looks like they were intended
  6561. for directory fetches. Relays are also more aggressive about closing
  6562. TLS connections that have no circuits on them. Such circuits are
  6563. unlikely to be re-used, and tens of thousands of them were piling
  6564. up at the fast relays, causing the relays to run out of sockets
  6565. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  6566. their directory fetches over TLS).
  6567. o Minor features:
  6568. - Finally get rid of the deprecated and now harmful notion of "clique
  6569. mode", where directory authorities maintain TLS connections to
  6570. every other relay.
  6571. - Directory authorities now do an immediate reachability check as soon
  6572. as they hear about a new relay. This change should slightly reduce
  6573. the time between setting up a relay and getting listed as running
  6574. in the consensus. It should also improve the time between setting
  6575. up a bridge and seeing use by bridge users.
  6576. - Directory authorities no longer launch a TLS connection to every
  6577. relay as they startup. Now that we have 2k+ descriptors cached,
  6578. the resulting network hiccup is becoming a burden. Besides,
  6579. authorities already avoid voting about Running for the first half
  6580. hour of their uptime.
  6581. Changes in version 0.2.2.12-alpha - 2010-04-20
  6582. Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
  6583. handle and vote on descriptors. It was causing relays to drop out of
  6584. the consensus.
  6585. o Major bugfixes:
  6586. - Many relays have been falling out of the consensus lately because
  6587. not enough authorities know about their descriptor for them to get
  6588. a majority of votes. When we deprecated the v2 directory protocol,
  6589. we got rid of the only way that v3 authorities can hear from each
  6590. other about other descriptors. Now authorities examine every v3
  6591. vote for new descriptors, and fetch them from that authority. Bugfix
  6592. on 0.2.1.23.
  6593. - Fix two typos in tor_vasprintf() that broke the compile on Windows,
  6594. and a warning in or.h related to bandwidth_weight_rule_t that
  6595. prevented clean compile on OS X. Fixes bug 1363; bugfix on
  6596. 0.2.2.11-alpha.
  6597. - Fix a segfault on relays when DirReqStatistics is enabled
  6598. and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
  6599. 0.2.2.11-alpha.
  6600. o Minor bugfixes:
  6601. - Demote a confusing TLS warning that relay operators might get when
  6602. someone tries to talk to their OrPort. It is neither the operator's
  6603. fault nor can they do anything about it. Fixes bug 1364; bugfix
  6604. on 0.2.0.14-alpha.
  6605. Changes in version 0.2.2.11-alpha - 2010-04-15
  6606. Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
  6607. libraries that was causing some relays to drop out of the consensus.
  6608. o Major bugfixes:
  6609. - Directory mirrors were fetching relay descriptors only from v2
  6610. directory authorities, rather than v3 authorities like they should.
  6611. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  6612. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  6613. - Fix a parsing error that made every possible value of
  6614. CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
  6615. on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
  6616. CircuitPriorityHalflifeMsec, so authorities can tell newer relays
  6617. about the option without breaking older ones.
  6618. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  6619. that claim to be earlier than 0.9.8m, but which have in reality
  6620. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  6621. behavior. Possible fix for some cases of bug 1346.
  6622. o Minor features:
  6623. - Experiment with a more aggressive approach to preventing clients
  6624. from making one-hop exit streams. Exit relays who want to try it
  6625. out can set "RefuseUnknownExits 1" in their torrc, and then look
  6626. for "Attempt by %s to open a stream" log messages. Let us know
  6627. how it goes!
  6628. - Add support for statically linking zlib by specifying
  6629. --enable-static-zlib, to go with our support for statically linking
  6630. openssl and libevent. Resolves bug 1358.
  6631. o Minor bugfixes:
  6632. - Fix a segfault that happens whenever a Tor client that is using
  6633. libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
  6634. fixes bug 1341.
  6635. - When we cleaned up the contrib/tor-exit-notice.html file, we left
  6636. out the first line. Fixes bug 1295.
  6637. - When building the manpage from a tarball, we required asciidoc, but
  6638. the asciidoc -> roff/html conversion was already done for the
  6639. tarball. Make 'make' complain only when we need asciidoc (either
  6640. because we're compiling directly from git, or because we altered
  6641. the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
  6642. - When none of the directory authorities vote on any params, Tor
  6643. segfaulted when trying to make the consensus from the votes. We
  6644. didn't trigger the bug in practice, because authorities do include
  6645. params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
  6646. o Testsuite fixes:
  6647. - In the util/threads test, no longer free the test_mutex before all
  6648. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  6649. - The master thread could starve the worker threads quite badly on
  6650. certain systems, causing them to run only partially in the allowed
  6651. window. This resulted in test failures. Now the master thread sleeps
  6652. occasionally for a few microseconds while the two worker-threads
  6653. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  6654. Changes in version 0.2.2.10-alpha - 2010-03-07
  6655. Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
  6656. could prevent relays from guessing their IP address correctly. It also
  6657. starts the groundwork for another client-side performance boost, since
  6658. currently we're not making efficient use of relays that have both the
  6659. Guard flag and the Exit flag.
  6660. o Major bugfixes:
  6661. - Fix a regression from our patch for bug 1244 that caused relays
  6662. to guess their IP address incorrectly if they didn't set Address
  6663. in their torrc and/or their address fails to resolve. Bugfix on
  6664. 0.2.2.9-alpha; fixes bug 1269.
  6665. o Major features (performance):
  6666. - Directory authorities now compute consensus weightings that instruct
  6667. clients how to weight relays flagged as Guard, Exit, Guard+Exit,
  6668. and no flag. Clients that use these weightings will distribute
  6669. network load more evenly across these different relay types. The
  6670. weightings are in the consensus so we can change them globally in
  6671. the future. Extra thanks to "outofwords" for finding some nasty
  6672. security bugs in the first implementation of this feature.
  6673. o Minor features (performance):
  6674. - Always perform router selections using weighted relay bandwidth,
  6675. even if we don't need a high capacity circuit at the time. Non-fast
  6676. circuits now only differ from fast ones in that they can use relays
  6677. not marked with the Fast flag. This "feature" could turn out to
  6678. be a horrible bug; we should investigate more before it goes into
  6679. a stable release.
  6680. o Minor features:
  6681. - Allow disabling building of the manpages. Skipping the manpage
  6682. speeds up the build considerably.
  6683. o Minor bugfixes (on 0.2.2.x):
  6684. - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
  6685. Bugfix on 0.2.2.9-alpha.
  6686. - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
  6687. config option. Bugfix on 0.2.2.7-alpha.
  6688. - Ship the asciidoc-helper file in the tarball, so that people can
  6689. build from source if they want to, and touching the .1.txt files
  6690. doesn't break the build. Bugfix on 0.2.2.9-alpha.
  6691. o Minor bugfixes (on 0.2.1.x or earlier):
  6692. - Fix a dereference-then-NULL-check sequence when publishing
  6693. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  6694. bug 1255.
  6695. - Fix another dereference-then-NULL-check sequence. Bugfix on
  6696. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  6697. - Make sure we treat potentially not NUL-terminated strings correctly.
  6698. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  6699. o Code simplifications and refactoring:
  6700. - Fix some urls in the exit notice file and make it XHTML1.1 strict
  6701. compliant. Based on a patch from Christian Kujau.
  6702. - Don't use sed in asciidoc-helper anymore.
  6703. - Make the build process fail if asciidoc cannot be found and
  6704. building with asciidoc isn't disabled.
  6705. Changes in version 0.2.2.9-alpha - 2010-02-22
  6706. Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
  6707. location of a directory authority, and cleans up a bunch of small bugs.
  6708. o Directory authority changes:
  6709. - Change IP address for dannenberg (v3 directory authority), and
  6710. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  6711. service directory authority) from the list.
  6712. o Major bugfixes:
  6713. - Make Tor work again on the latest OS X: when deciding whether to
  6714. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  6715. version at run-time, not compile time. We need to do this because
  6716. Apple doesn't update its dev-tools headers when it updates its
  6717. libraries in a security patch.
  6718. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  6719. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  6720. a memory leak when requesting a hidden service descriptor we've
  6721. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  6722. by aakova.
  6723. - Authorities could be tricked into giving out the Exit flag to relays
  6724. that didn't allow exiting to any ports. This bug could screw
  6725. with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
  6726. 1238. Bug discovered by Martin Kowalczyk.
  6727. - When freeing a session key, zero it out completely. We only zeroed
  6728. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  6729. patched by ekir. Fixes bug 1254.
  6730. o Minor bugfixes:
  6731. - Fix static compilation by listing the openssl libraries in the right
  6732. order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
  6733. - Resume handling .exit hostnames in a special way: originally we
  6734. stripped the .exit part and used the requested exit relay. In
  6735. 0.2.2.1-alpha we stopped treating them in any special way, meaning
  6736. if you use a .exit address then Tor will pass it on to the exit
  6737. relay. Now we reject the .exit stream outright, since that behavior
  6738. might be more expected by the user. Found and diagnosed by Scott
  6739. Bennett and Downie on or-talk.
  6740. - Don't spam the controller with events when we have no file
  6741. descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
  6742. for log messages was already solved from bug 748.)
  6743. - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
  6744. "memcpyfail".
  6745. - Make the DNSPort option work with libevent 2.x. Don't alter the
  6746. behaviour for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
  6747. - Emit a GUARD DROPPED controller event for a case we missed.
  6748. - Make more fields in the controller protocol case-insensitive, since
  6749. control-spec.txt said they were.
  6750. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  6751. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  6752. - Fix a spec conformance issue: the network-status-version token
  6753. must be the first token in a v3 consensus or vote. Discovered by
  6754. parakeep. Bugfix on 0.2.0.3-alpha.
  6755. o Code simplifications and refactoring:
  6756. - Generate our manpage and HTML documentation using Asciidoc. This
  6757. change should make it easier to maintain the documentation, and
  6758. produce nicer HTML.
  6759. - Remove the --enable-iphone option. According to reports from Marco
  6760. Bonetti, Tor builds fine without any special tweaking on recent
  6761. iPhone SDK versions.
  6762. - Removed some unnecessary files from the source distribution. The
  6763. AUTHORS file has now been merged into the people page on the
  6764. website. The roadmaps and design doc can now be found in the
  6765. projects directory in svn.
  6766. - Enabled various circuit build timeout constants to be controlled
  6767. by consensus parameters. Also set better defaults for these
  6768. parameters based on experimentation on broadband and simulated
  6769. high latency links.
  6770. o Minor features:
  6771. - The 'EXTENDCIRCUIT' control port command can now be used with
  6772. a circ id of 0 and no path. This feature will cause Tor to build
  6773. a new 'fast' general purpose circuit using its own path selection
  6774. algorithms.
  6775. - Added a BUILDTIMEOUT_SET controller event to describe changes
  6776. to the circuit build timeout.
  6777. - Future-proof the controller protocol a bit by ignoring keyword
  6778. arguments we do not recognize.
  6779. - Expand homedirs passed to tor-checkkey. This should silence a
  6780. coverity complaint about passing a user-supplied string into
  6781. open() without checking it.
  6782. Changes in version 0.2.1.25 - 2010-03-16
  6783. Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
  6784. prevent relays from guessing their IP address correctly. It also fixes
  6785. several minor potential security bugs.
  6786. o Major bugfixes:
  6787. - Fix a regression from our patch for bug 1244 that caused relays
  6788. to guess their IP address incorrectly if they didn't set Address
  6789. in their torrc and/or their address fails to resolve. Bugfix on
  6790. 0.2.1.23; fixes bug 1269.
  6791. - When freeing a session key, zero it out completely. We only zeroed
  6792. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  6793. patched by ekir. Fixes bug 1254.
  6794. o Minor bugfixes:
  6795. - Fix a dereference-then-NULL-check sequence when publishing
  6796. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  6797. bug 1255.
  6798. - Fix another dereference-then-NULL-check sequence. Bugfix on
  6799. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  6800. - Make sure we treat potentially not NUL-terminated strings correctly.
  6801. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  6802. Changes in version 0.2.1.24 - 2010-02-21
  6803. Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  6804. for sure!
  6805. o Minor bugfixes:
  6806. - Work correctly out-of-the-box with even more vendor-patched versions
  6807. of OpenSSL. In particular, make it so Debian and OS X don't need
  6808. customized patches to run/build.
  6809. Changes in version 0.2.1.23 - 2010-02-13
  6810. Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  6811. again on the latest OS X, and updates the location of a directory
  6812. authority.
  6813. o Major bugfixes (performance):
  6814. - We were selecting our guards uniformly at random, and then weighting
  6815. which of our guards we'd use uniformly at random. This imbalance
  6816. meant that Tor clients were severely limited on throughput (and
  6817. probably latency too) by the first hop in their circuit. Now we
  6818. select guards weighted by currently advertised bandwidth. We also
  6819. automatically discard guards picked using the old algorithm. Fixes
  6820. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  6821. o Major bugfixes:
  6822. - Make Tor work again on the latest OS X: when deciding whether to
  6823. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  6824. version at run-time, not compile time. We need to do this because
  6825. Apple doesn't update its dev-tools headers when it updates its
  6826. libraries in a security patch.
  6827. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  6828. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  6829. a memory leak when requesting a hidden service descriptor we've
  6830. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  6831. by aakova.
  6832. o Directory authority changes:
  6833. - Change IP address for dannenberg (v3 directory authority), and
  6834. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  6835. service directory authority) from the list.
  6836. o Minor bugfixes:
  6837. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  6838. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  6839. o Minor features:
  6840. - Avoid a mad rush at the beginning of each month when each client
  6841. rotates half of its guards. Instead we spread the rotation out
  6842. throughout the month, but we still avoid leaving a precise timestamp
  6843. in the state file about when we first picked the guard. Improves
  6844. over the behavior introduced in 0.1.2.17.
  6845. Changes in version 0.2.2.8-alpha - 2010-01-26
  6846. Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
  6847. causing bridge relays to disappear. If you're running a bridge,
  6848. please upgrade.
  6849. o Major bugfixes:
  6850. - Fix a memory corruption bug on bridges that occured during the
  6851. inclusion of stats data in extra-info descriptors. Also fix the
  6852. interface for geoip_get_bridge_stats* to prevent similar bugs in
  6853. the future. Diagnosis by Tas, patch by Karsten and Sebastian.
  6854. Fixes bug 1208; bugfix on 0.2.2.7-alpha.
  6855. o Minor bugfixes:
  6856. - Ignore OutboundBindAddress when connecting to localhost.
  6857. Connections to localhost need to come _from_ localhost, or else
  6858. local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
  6859. refuse to listen.
  6860. Changes in version 0.2.2.7-alpha - 2010-01-19
  6861. Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
  6862. as laying the groundwork for further relay-side performance fixes. It
  6863. also starts cleaning up client behavior with respect to the EntryNodes,
  6864. ExitNodes, and StrictNodes config options.
  6865. This release also rotates two directory authority keys, due to a
  6866. security breach of some of the Torproject servers.
  6867. o Directory authority changes:
  6868. - Rotate keys (both v3 identity and relay identity) for moria1
  6869. and gabelmoo.
  6870. o Major features (performance):
  6871. - We were selecting our guards uniformly at random, and then weighting
  6872. which of our guards we'd use uniformly at random. This imbalance
  6873. meant that Tor clients were severely limited on throughput (and
  6874. probably latency too) by the first hop in their circuit. Now we
  6875. select guards weighted by currently advertised bandwidth. We also
  6876. automatically discard guards picked using the old algorithm. Fixes
  6877. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  6878. - When choosing which cells to relay first, relays can now favor
  6879. circuits that have been quiet recently, to provide lower latency
  6880. for low-volume circuits. By default, relays enable or disable this
  6881. feature based on a setting in the consensus. You can override
  6882. this default by using the new "CircuitPriorityHalflife" config
  6883. option. Design and code by Ian Goldberg, Can Tang, and Chris
  6884. Alexander.
  6885. - Add separate per-conn write limiting to go with the per-conn read
  6886. limiting. We added a global write limit in Tor 0.1.2.5-alpha,
  6887. but never per-conn write limits.
  6888. - New consensus params "bwconnrate" and "bwconnburst" to let us
  6889. rate-limit client connections as they enter the network. It's
  6890. controlled in the consensus so we can turn it on and off for
  6891. experiments. It's starting out off. Based on proposal 163.
  6892. o Major features (relay selection options):
  6893. - Switch to a StrictNodes config option, rather than the previous
  6894. "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
  6895. "StrictExcludeNodes" option.
  6896. - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
  6897. change during a config reload, mark and discard all our origin
  6898. circuits. This fix should address edge cases where we change the
  6899. config options and but then choose a circuit that we created before
  6900. the change.
  6901. - If EntryNodes or ExitNodes are set, be more willing to use an
  6902. unsuitable (e.g. slow or unstable) circuit. The user asked for it,
  6903. they get it.
  6904. - Make EntryNodes config option much more aggressive even when
  6905. StrictNodes is not set. Before it would prepend your requested
  6906. entrynodes to your list of guard nodes, but feel free to use others
  6907. after that. Now it chooses only from your EntryNodes if any of
  6908. those are available, and only falls back to others if a) they're
  6909. all down and b) StrictNodes is not set.
  6910. - Now we refresh your entry guards from EntryNodes at each consensus
  6911. fetch -- rather than just at startup and then they slowly rot as
  6912. the network changes.
  6913. o Major bugfixes:
  6914. - Stop bridge directory authorities from answering dbg-stability.txt
  6915. directory queries, which would let people fetch a list of all
  6916. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  6917. o Minor features:
  6918. - Log a notice when we get a new control connection. Now it's easier
  6919. for security-conscious users to recognize when a local application
  6920. is knocking on their controller door. Suggested by bug 1196.
  6921. - New config option "CircuitStreamTimeout" to override our internal
  6922. timeout schedule for how many seconds until we detach a stream from
  6923. a circuit and try a new circuit. If your network is particularly
  6924. slow, you might want to set this to a number like 60.
  6925. - New controller command "getinfo config-text". It returns the
  6926. contents that Tor would write if you send it a SAVECONF command,
  6927. so the controller can write the file to disk itself.
  6928. - New options for SafeLogging to allow scrubbing only log messages
  6929. generated while acting as a relay.
  6930. - Ship the bridges spec file in the tarball too.
  6931. - Avoid a mad rush at the beginning of each month when each client
  6932. rotates half of its guards. Instead we spread the rotation out
  6933. throughout the month, but we still avoid leaving a precise timestamp
  6934. in the state file about when we first picked the guard. Improves
  6935. over the behavior introduced in 0.1.2.17.
  6936. o Minor bugfixes (compiling):
  6937. - Fix compilation on OS X 10.3, which has a stub mlockall() but
  6938. hides it. Bugfix on 0.2.2.6-alpha.
  6939. - Fix compilation on Solaris by removing support for the
  6940. DisableAllSwap config option. Solaris doesn't have an rlimit for
  6941. mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
  6942. 0.2.2.6-alpha.
  6943. o Minor bugfixes (crashes):
  6944. - Do not segfault when writing buffer stats when we haven't observed
  6945. a single circuit to report about. Found by Fabian Lanze. Bugfix on
  6946. 0.2.2.1-alpha.
  6947. - If we're in the pathological case where there's no exit bandwidth
  6948. but there is non-exit bandwidth, or no guard bandwidth but there
  6949. is non-guard bandwidth, don't crash during path selection. Bugfix
  6950. on 0.2.0.3-alpha.
  6951. - Fix an impossible-to-actually-trigger buffer overflow in relay
  6952. descriptor generation. Bugfix on 0.1.0.15.
  6953. o Minor bugfixes (privacy):
  6954. - Fix an instance where a Tor directory mirror might accidentally
  6955. log the IP address of a misbehaving Tor client. Bugfix on
  6956. 0.1.0.1-rc.
  6957. - Don't list Windows capabilities in relay descriptors. We never made
  6958. use of them, and maybe it's a bad idea to publish them. Bugfix
  6959. on 0.1.1.8-alpha.
  6960. o Minor bugfixes (other):
  6961. - Resolve an edge case in path weighting that could make us misweight
  6962. our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
  6963. - Fix statistics on client numbers by country as seen by bridges that
  6964. were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
  6965. intervals instead of variable 12-to-48-hour intervals.
  6966. - After we free an internal connection structure, overwrite it
  6967. with a different memory value than we use for overwriting a freed
  6968. internal circuit structure. Should help with debugging. Suggested
  6969. by bug 1055.
  6970. - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
  6971. too.
  6972. o Removed features:
  6973. - Remove the HSAuthorityRecordStats option that version 0 hidden
  6974. service authorities could have used to track statistics of overall
  6975. hidden service usage.
  6976. Changes in version 0.2.1.22 - 2010-01-19
  6977. Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
  6978. authorities -- it would tell you its whole history of bridge descriptors
  6979. if you make the right directory request. This stable update also
  6980. rotates two of the seven v3 directory authority keys and locations.
  6981. o Directory authority changes:
  6982. - Rotate keys (both v3 identity and relay identity) for moria1
  6983. and gabelmoo.
  6984. o Major bugfixes:
  6985. - Stop bridge directory authorities from answering dbg-stability.txt
  6986. directory queries, which would let people fetch a list of all
  6987. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  6988. Changes in version 0.2.1.21 - 2009-12-21
  6989. Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
  6990. library. If you use Tor on Linux / Unix and you're getting SSL
  6991. renegotiation errors, upgrading should help. We also recommend an
  6992. upgrade if you're an exit relay.
  6993. o Major bugfixes:
  6994. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  6995. handshake from working unless we explicitly tell OpenSSL that we
  6996. are using SSL renegotiation safely. We are, of course, but OpenSSL
  6997. 0.9.8l won't work unless we say we are.
  6998. - Avoid crashing if the client is trying to upload many bytes and the
  6999. circuit gets torn down at the same time, or if the flip side
  7000. happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
  7001. o Minor bugfixes:
  7002. - Do not refuse to learn about authority certs and v2 networkstatus
  7003. documents that are older than the latest consensus. This bug might
  7004. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  7005. Spotted and fixed by xmux.
  7006. - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
  7007. trigger platform-specific option misparsing case found by Coverity
  7008. Scan.
  7009. - Fix a compilation warning on Fedora 12 by removing an impossible-to-
  7010. trigger assert. Fixes bug 1173.
  7011. Changes in version 0.2.2.6-alpha - 2009-11-19
  7012. Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
  7013. support for the new lower-footprint "microdescriptor" directory design,
  7014. future-proofing our consensus format against new hash functions or
  7015. other changes, and an Android port. It also makes Tor compatible with
  7016. the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
  7017. o Major features:
  7018. - Directory authorities can now create, vote on, and serve multiple
  7019. parallel formats of directory data as part of their voting process.
  7020. Partially implements Proposal 162: "Publish the consensus in
  7021. multiple flavors".
  7022. - Directory authorities can now agree on and publish small summaries
  7023. of router information that clients can use in place of regular
  7024. server descriptors. This transition will eventually allow clients
  7025. to use far less bandwidth for downloading information about the
  7026. network. Begins the implementation of Proposal 158: "Clients
  7027. download consensus + microdescriptors".
  7028. - The directory voting system is now extensible to use multiple hash
  7029. algorithms for signatures and resource selection. Newer formats
  7030. are signed with SHA256, with a possibility for moving to a better
  7031. hash algorithm in the future.
  7032. - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
  7033. current and future memory pages via mlockall(). On supported
  7034. platforms (modern Linux and probably BSD but not Windows or OS X),
  7035. this should effectively disable any and all attempts to page out
  7036. memory. This option requires that you start your Tor as root --
  7037. if you use DisableAllSwap, please consider using the User option
  7038. to properly reduce the privileges of your Tor.
  7039. - Numerous changes, bugfixes, and workarounds from Nathan Freitas
  7040. to help Tor build correctly for Android phones.
  7041. o Major bugfixes:
  7042. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  7043. handshake from working unless we explicitly tell OpenSSL that we
  7044. are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
  7045. won't work unless we say we are.
  7046. o Minor bugfixes:
  7047. - Fix a crash bug when trying to initialize the evdns module in
  7048. Libevent 2. Bugfix on 0.2.1.16-rc.
  7049. - Stop logging at severity 'warn' when some other Tor client tries
  7050. to establish a circuit with us using weak DH keys. It's a protocol
  7051. violation, but that doesn't mean ordinary users need to hear about
  7052. it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
  7053. - Do not refuse to learn about authority certs and v2 networkstatus
  7054. documents that are older than the latest consensus. This bug might
  7055. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  7056. Spotted and fixed by xmux.
  7057. - Fix numerous small code-flaws found by Coverity Scan Rung 3.
  7058. - If all authorities restart at once right before a consensus vote,
  7059. nobody will vote about "Running", and clients will get a consensus
  7060. with no usable relays. Instead, authorities refuse to build a
  7061. consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
  7062. - If your relay can't keep up with the number of incoming create
  7063. cells, it would log one warning per failure into your logs. Limit
  7064. warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
  7065. - Bridges now use "reject *:*" as their default exit policy. Bugfix
  7066. on 0.2.0.3-alpha; fixes bug 1113.
  7067. - Fix a memory leak on directory authorities during voting that was
  7068. introduced in 0.2.2.1-alpha. Found via valgrind.
  7069. Changes in version 0.2.1.20 - 2009-10-15
  7070. Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
  7071. services at once, prepares for more performance improvements, and
  7072. fixes a bunch of smaller bugs.
  7073. The Windows and OS X bundles also include a more recent Vidalia,
  7074. and switch from Privoxy to Polipo.
  7075. The OS X installers are now drag and drop. It's best to un-install
  7076. Tor/Vidalia and then install this new bundle, rather than upgrade. If
  7077. you want to upgrade, you'll need to update the paths for Tor and Polipo
  7078. in the Vidalia Settings window.
  7079. o Major bugfixes:
  7080. - Send circuit or stream sendme cells when our window has decreased
  7081. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  7082. by Karsten when testing the "reduce circuit window" performance
  7083. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  7084. before the release of Tor 0.0.0. This is the new winner of the
  7085. oldest-bug prize.
  7086. - Fix a remotely triggerable memory leak when a consensus document
  7087. contains more than one signature from the same voter. Bugfix on
  7088. 0.2.0.3-alpha.
  7089. - Avoid segfault in rare cases when finishing an introduction circuit
  7090. as a client and finding out that we don't have an introduction key
  7091. for it. Fixes bug 1073. Reported by Aaron Swartz.
  7092. o Major features:
  7093. - Tor now reads the "circwindow" parameter out of the consensus,
  7094. and uses that value for its circuit package window rather than the
  7095. default of 1000 cells. Begins the implementation of proposal 168.
  7096. o New directory authorities:
  7097. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  7098. authority.
  7099. - Move moria1 and tonga to alternate IP addresses.
  7100. o Minor bugfixes:
  7101. - Fix a signed/unsigned compile warning in 0.2.1.19.
  7102. - Fix possible segmentation fault on directory authorities. Bugfix on
  7103. 0.2.1.14-rc.
  7104. - Fix an extremely rare infinite recursion bug that could occur if
  7105. we tried to log a message after shutting down the log subsystem.
  7106. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  7107. - Fix an obscure bug where hidden services on 64-bit big-endian
  7108. systems might mis-read the timestamp in v3 introduce cells, and
  7109. refuse to connect back to the client. Discovered by "rotor".
  7110. Bugfix on 0.2.1.6-alpha.
  7111. - We were triggering a CLOCK_SKEW controller status event whenever
  7112. we connect via the v2 connection protocol to any relay that has
  7113. a wrong clock. Instead, we should only inform the controller when
  7114. it's a trusted authority that claims our clock is wrong. Bugfix
  7115. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  7116. - We were telling the controller about CHECKING_REACHABILITY and
  7117. REACHABILITY_FAILED status events whenever we launch a testing
  7118. circuit or notice that one has failed. Instead, only tell the
  7119. controller when we want to inform the user of overall success or
  7120. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  7121. by SwissTorExit.
  7122. - Don't warn when we're using a circuit that ends with a node
  7123. excluded in ExcludeExitNodes, but the circuit is not used to access
  7124. the outside world. This should help fix bug 1090. Bugfix on
  7125. 0.2.1.6-alpha.
  7126. - Work around a small memory leak in some versions of OpenSSL that
  7127. stopped the memory used by the hostname TLS extension from being
  7128. freed.
  7129. o Minor features:
  7130. - Add a "getinfo status/accepted-server-descriptor" controller
  7131. command, which is the recommended way for controllers to learn
  7132. whether our server descriptor has been successfully received by at
  7133. least on directory authority. Un-recommend good-server-descriptor
  7134. getinfo and status events until we have a better design for them.
  7135. Changes in version 0.2.2.5-alpha - 2009-10-11
  7136. Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
  7137. o Major bugfixes:
  7138. - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
  7139. o Directory authorities:
  7140. - Temporarily (just for this release) move dizum to an alternate
  7141. IP address.
  7142. Changes in version 0.2.2.4-alpha - 2009-10-10
  7143. Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
  7144. introduces a new unit test framework, shifts directry authority
  7145. addresses around to reduce the impact from recent blocking events,
  7146. and fixes a few smaller bugs.
  7147. o Major bugfixes:
  7148. - Fix several more asserts in the circuit_build_times code, for
  7149. example one that causes Tor to fail to start once we have
  7150. accumulated 5000 build times in the state file. Bugfixes on
  7151. 0.2.2.2-alpha; fixes bug 1108.
  7152. o New directory authorities:
  7153. - Move moria1 and Tonga to alternate IP addresses.
  7154. o Minor features:
  7155. - Log SSL state transitions at debug level during handshake, and
  7156. include SSL states in error messages. This may help debug future
  7157. SSL handshake issues.
  7158. - Add a new "Handshake" log domain for activities that happen
  7159. during the TLS handshake.
  7160. - Revert to the "June 3 2009" ip-to-country file. The September one
  7161. seems to have removed most US IP addresses.
  7162. - Directory authorities now reject Tor relays with versions less than
  7163. 0.1.2.14. This step cuts out four relays from the current network,
  7164. none of which are very big.
  7165. o Minor bugfixes:
  7166. - Fix a couple of smaller issues with gathering statistics. Bugfixes
  7167. on 0.2.2.1-alpha.
  7168. - Fix two memory leaks in the error case of
  7169. circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
  7170. - Don't count one-hop circuits when we're estimating how long it
  7171. takes circuits to build on average. Otherwise we'll set our circuit
  7172. build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
  7173. - Directory authorities no longer change their opinion of, or vote on,
  7174. whether a router is Running, unless they have themselves been
  7175. online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
  7176. Fixes bug 1023.
  7177. o Code simplifications and refactoring:
  7178. - Revise our unit tests to use the "tinytest" framework, so we
  7179. can run tests in their own processes, have smarter setup/teardown
  7180. code, and so on. The unit test code has moved to its own
  7181. subdirectory, and has been split into multiple modules.
  7182. Changes in version 0.2.2.3-alpha - 2009-09-23
  7183. Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
  7184. o Major bugfixes:
  7185. - Fix an overzealous assert in our new circuit build timeout code.
  7186. Bugfix on 0.2.2.2-alpha; fixes bug 1103.
  7187. o Minor bugfixes:
  7188. - If the networkstatus consensus tells us that we should use a
  7189. negative circuit package window, ignore it. Otherwise we'll
  7190. believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
  7191. Changes in version 0.2.2.2-alpha - 2009-09-21
  7192. Tor 0.2.2.2-alpha introduces our latest performance improvement for
  7193. clients: Tor tracks the average time it takes to build a circuit, and
  7194. avoids using circuits that take too long to build. For fast connections,
  7195. this feature can cut your expected latency in half. For slow or flaky
  7196. connections, it could ruin your Tor experience. Let us know if it does!
  7197. o Major features:
  7198. - Tor now tracks how long it takes to build client-side circuits
  7199. over time, and adapts its timeout to local network performance.
  7200. Since a circuit that takes a long time to build will also provide
  7201. bad performance, we get significant latency improvements by
  7202. discarding the slowest 20% of circuits. Specifically, Tor creates
  7203. circuits more aggressively than usual until it has enough data
  7204. points for a good timeout estimate. Implements proposal 151.
  7205. We are especially looking for reports (good and bad) from users with
  7206. both EDGE and broadband connections that can move from broadband
  7207. to EDGE and find out if the build-time data in the .tor/state gets
  7208. reset without loss of Tor usability. You should also see a notice
  7209. log message telling you that Tor has reset its timeout.
  7210. - Directory authorities can now vote on arbitary integer values as
  7211. part of the consensus process. This is designed to help set
  7212. network-wide parameters. Implements proposal 167.
  7213. - Tor now reads the "circwindow" parameter out of the consensus,
  7214. and uses that value for its circuit package window rather than the
  7215. default of 1000 cells. Begins the implementation of proposal 168.
  7216. o Major bugfixes:
  7217. - Fix a remotely triggerable memory leak when a consensus document
  7218. contains more than one signature from the same voter. Bugfix on
  7219. 0.2.0.3-alpha.
  7220. o Minor bugfixes:
  7221. - Fix an extremely rare infinite recursion bug that could occur if
  7222. we tried to log a message after shutting down the log subsystem.
  7223. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  7224. - Fix parsing for memory or time units given without a space between
  7225. the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
  7226. - A networkstatus vote must contain exactly one signature. Spec
  7227. conformance issue. Bugfix on 0.2.0.3-alpha.
  7228. - Fix an obscure bug where hidden services on 64-bit big-endian
  7229. systems might mis-read the timestamp in v3 introduce cells, and
  7230. refuse to connect back to the client. Discovered by "rotor".
  7231. Bugfix on 0.2.1.6-alpha.
  7232. - We were triggering a CLOCK_SKEW controller status event whenever
  7233. we connect via the v2 connection protocol to any relay that has
  7234. a wrong clock. Instead, we should only inform the controller when
  7235. it's a trusted authority that claims our clock is wrong. Bugfix
  7236. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  7237. - We were telling the controller about CHECKING_REACHABILITY and
  7238. REACHABILITY_FAILED status events whenever we launch a testing
  7239. circuit or notice that one has failed. Instead, only tell the
  7240. controller when we want to inform the user of overall success or
  7241. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  7242. by SwissTorExit.
  7243. - Don't warn when we're using a circuit that ends with a node
  7244. excluded in ExcludeExitNodes, but the circuit is not used to access
  7245. the outside world. This should help fix bug 1090, but more problems
  7246. remain. Bugfix on 0.2.1.6-alpha.
  7247. - Work around a small memory leak in some versions of OpenSSL that
  7248. stopped the memory used by the hostname TLS extension from being
  7249. freed.
  7250. - Make our 'torify' script more portable; if we have only one of
  7251. 'torsocks' or 'tsocks' installed, don't complain to the user;
  7252. and explain our warning about tsocks better.
  7253. o Minor features:
  7254. - Add a "getinfo status/accepted-server-descriptor" controller
  7255. command, which is the recommended way for controllers to learn
  7256. whether our server descriptor has been successfully received by at
  7257. least on directory authority. Un-recommend good-server-descriptor
  7258. getinfo and status events until we have a better design for them.
  7259. - Update to the "September 4 2009" ip-to-country file.
  7260. Changes in version 0.2.2.1-alpha - 2009-08-26
  7261. Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
  7262. Tor clients to bootstrap on networks where only port 80 is reachable,
  7263. makes it more straightforward to support hardware crypto accelerators,
  7264. and starts the groundwork for gathering stats safely at relays.
  7265. o Security fixes:
  7266. - Start the process of disabling ".exit" address notation, since it
  7267. can be used for a variety of esoteric application-level attacks
  7268. on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
  7269. on 0.0.9rc5.
  7270. o New directory authorities:
  7271. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  7272. authority.
  7273. o Major features:
  7274. - New AccelName and AccelDir options add support for dynamic OpenSSL
  7275. hardware crypto acceleration engines.
  7276. - Tor now supports tunneling all of its outgoing connections over
  7277. a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
  7278. configuration options. Code by Christopher Davis.
  7279. o Major bugfixes:
  7280. - Send circuit or stream sendme cells when our window has decreased
  7281. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  7282. by Karsten when testing the "reduce circuit window" performance
  7283. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  7284. before the release of Tor 0.0.0. This is the new winner of the
  7285. oldest-bug prize.
  7286. o New options for gathering stats safely:
  7287. - Directory mirrors that set "DirReqStatistics 1" write statistics
  7288. about directory requests to disk every 24 hours. As compared to the
  7289. --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
  7290. 1) stats are written to disk exactly every 24 hours; 2) estimated
  7291. shares of v2 and v3 requests are determined as mean values, not at
  7292. the end of a measurement period; 3) unresolved requests are listed
  7293. with country code '??'; 4) directories also measure download times.
  7294. - Exit nodes that set "ExitPortStatistics 1" write statistics on the
  7295. number of exit streams and transferred bytes per port to disk every
  7296. 24 hours.
  7297. - Relays that set "CellStatistics 1" write statistics on how long
  7298. cells spend in their circuit queues to disk every 24 hours.
  7299. - Entry nodes that set "EntryStatistics 1" write statistics on the
  7300. rough number and origins of connecting clients to disk every 24
  7301. hours.
  7302. - Relays that write any of the above statistics to disk and set
  7303. "ExtraInfoStatistics 1" include the past 24 hours of statistics in
  7304. their extra-info documents.
  7305. o Minor features:
  7306. - New --digests command-line switch to output the digests of the
  7307. source files Tor was built with.
  7308. - The "torify" script now uses torsocks where available.
  7309. - The memarea code now uses a sentinel value at the end of each area
  7310. to make sure nothing writes beyond the end of an area. This might
  7311. help debug some conceivable causes of bug 930.
  7312. - Time and memory units in the configuration file can now be set to
  7313. fractional units. For example, "2.5 GB" is now a valid value for
  7314. AccountingMax.
  7315. - Certain Tor clients (such as those behind check.torproject.org) may
  7316. want to fetch the consensus in an extra early manner. To enable this
  7317. a user may now set FetchDirInfoExtraEarly to 1. This also depends on
  7318. setting FetchDirInfoEarly to 1. Previous behavior will stay the same
  7319. as only certain clients who must have this information sooner should
  7320. set this option.
  7321. - Instead of adding the svn revision to the Tor version string, report
  7322. the git commit (when we're building from a git checkout).
  7323. o Minor bugfixes:
  7324. - If any of the v3 certs we download are unparseable, we should
  7325. actually notice the failure so we don't retry indefinitely. Bugfix
  7326. on 0.2.0.x; reported by "rotator".
  7327. - If the cached cert file is unparseable, warn but don't exit.
  7328. - Fix possible segmentation fault on directory authorities. Bugfix on
  7329. 0.2.1.14-rc.
  7330. - When Tor fails to parse a descriptor of any kind, dump it to disk.
  7331. Might help diagnosing bug 1051.
  7332. o Deprecated and removed features:
  7333. - The controller no longer accepts the old obsolete "addr-mappings/"
  7334. or "unregistered-servers-" GETINFO values.
  7335. - Hidden services no longer publish version 0 descriptors, and clients
  7336. do not request or use version 0 descriptors. However, the old hidden
  7337. service authorities still accept and serve version 0 descriptors
  7338. when contacted by older hidden services/clients.
  7339. - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
  7340. always on; using them is necessary for correct forward-compatible
  7341. controllers.
  7342. - Remove support for .noconnect style addresses. Nobody was using
  7343. them, and they provided another avenue for detecting Tor users
  7344. via application-level web tricks.
  7345. o Packaging changes:
  7346. - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
  7347. installer bundles. See
  7348. https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
  7349. for details of what's new in Vidalia 0.2.3.
  7350. - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
  7351. - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
  7352. configuration file, rather than the old Privoxy.
  7353. - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
  7354. x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
  7355. - OS X Tor Expert Bundle: Tor is compiled as x86-only for
  7356. better compatibility with OS X 10.6, aka Snow Leopard.
  7357. - OS X Vidalia Bundle: The multi-package installer is now replaced
  7358. by a simple drag and drop to the /Applications folder. This change
  7359. occurred with the upgrade to Vidalia 0.2.3.
  7360. Changes in version 0.2.1.19 - 2009-07-28
  7361. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
  7362. services on Tor 0.2.1.3-alpha through 0.2.1.18.
  7363. o Major bugfixes:
  7364. - Make accessing hidden services on 0.2.1.x work right again.
  7365. Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
  7366. part of patch provided by "optimist".
  7367. o Minor features:
  7368. - When a relay/bridge is writing out its identity key fingerprint to
  7369. the "fingerprint" file and to its logs, write it without spaces. Now
  7370. it will look like the fingerprints in our bridges documentation,
  7371. and confuse fewer users.
  7372. o Minor bugfixes:
  7373. - Relays no longer publish a new server descriptor if they change
  7374. their MaxAdvertisedBandwidth config option but it doesn't end up
  7375. changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
  7376. fixes bug 1026. Patch from Sebastian.
  7377. - Avoid leaking memory every time we get a create cell but we have
  7378. so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
  7379. fixes bug 1034. Reported by BarkerJr.
  7380. Changes in version 0.2.1.18 - 2009-07-24
  7381. Tor 0.2.1.18 lays the foundations for performance improvements,
  7382. adds status events to help users diagnose bootstrap problems, adds
  7383. optional authentication/authorization for hidden services, fixes a
  7384. variety of potential anonymity problems, and includes a huge pile of
  7385. other features and bug fixes.
  7386. o Build fixes:
  7387. - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
  7388. Changes in version 0.2.1.17-rc - 2009-07-07
  7389. Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
  7390. candidate for the 0.2.1.x series. It lays the groundwork for further
  7391. client performance improvements, and also fixes a big bug with directory
  7392. authorities that were causing them to assign Guard and Stable flags
  7393. poorly.
  7394. The Windows bundles also finally include the geoip database that we
  7395. thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
  7396. should actually install Torbutton rather than giving you a cryptic
  7397. failure message (oops).
  7398. o Major features:
  7399. - Clients now use the bandwidth values in the consensus, rather than
  7400. the bandwidth values in each relay descriptor. This approach opens
  7401. the door to more accurate bandwidth estimates once the directory
  7402. authorities start doing active measurements. Implements more of
  7403. proposal 141.
  7404. o Major bugfixes:
  7405. - When Tor clients restart after 1-5 days, they discard all their
  7406. cached descriptors as too old, but they still use the cached
  7407. consensus document. This approach is good for robustness, but
  7408. bad for performance: since they don't know any bandwidths, they
  7409. end up choosing at random rather than weighting their choice by
  7410. speed. Fixed by the above feature of putting bandwidths in the
  7411. consensus. Bugfix on 0.2.0.x.
  7412. - Directory authorities were neglecting to mark relays down in their
  7413. internal histories if the relays fall off the routerlist without
  7414. ever being found unreachable. So there were relays in the histories
  7415. that haven't been seen for eight months, and are listed as being
  7416. up for eight months. This wreaked havoc on the "median wfu"
  7417. and "median mtbf" calculations, in turn making Guard and Stable
  7418. flags very wrong, hurting network performance. Fixes bugs 696 and
  7419. 969. Bugfix on 0.2.0.6-alpha.
  7420. o Minor bugfixes:
  7421. - Serve the DirPortFrontPage page even when we have been approaching
  7422. our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
  7423. - The control port would close the connection before flushing long
  7424. replies, such as the network consensus, if a QUIT command was issued
  7425. before the reply had completed. Now, the control port flushes all
  7426. pending replies before closing the connection. Also fixed a spurious
  7427. warning when a QUIT command is issued after a malformed or rejected
  7428. AUTHENTICATE command, but before the connection was closed. Patch
  7429. by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
  7430. - When we can't find an intro key for a v2 hidden service descriptor,
  7431. fall back to the v0 hidden service descriptor and log a bug message.
  7432. Workaround for bug 1024.
  7433. - Fix a log message that did not respect the SafeLogging option.
  7434. Resolves bug 1027.
  7435. o Minor features:
  7436. - If we're a relay and we change our IP address, be more verbose
  7437. about the reason that made us change. Should help track down
  7438. further bugs for relays on dynamic IP addresses.
  7439. Changes in version 0.2.0.35 - 2009-06-24
  7440. o Security fix:
  7441. - Avoid crashing in the presence of certain malformed descriptors.
  7442. Found by lark, and by automated fuzzing.
  7443. - Fix an edge case where a malicious exit relay could convince a
  7444. controller that the client's DNS question resolves to an internal IP
  7445. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  7446. o Major bugfixes:
  7447. - Finally fix the bug where dynamic-IP relays disappear when their
  7448. IP address changes: directory mirrors were mistakenly telling
  7449. them their old address if they asked via begin_dir, so they
  7450. never got an accurate answer about their new address, so they
  7451. just vanished after a day. For belt-and-suspenders, relays that
  7452. don't set Address in their config now avoid using begin_dir for
  7453. all direct connections. Should fix bugs 827, 883, and 900.
  7454. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  7455. that would occur on some exit nodes when DNS failures and timeouts
  7456. occurred in certain patterns. Fix for bug 957.
  7457. o Minor bugfixes:
  7458. - When starting with a cache over a few days old, do not leak
  7459. memory for the obsolete router descriptors in it. Bugfix on
  7460. 0.2.0.33; fixes bug 672.
  7461. - Hidden service clients didn't use a cached service descriptor that
  7462. was older than 15 minutes, but wouldn't fetch a new one either,
  7463. because there was already one in the cache. Now, fetch a v2
  7464. descriptor unless the same descriptor was added to the cache within
  7465. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  7466. Changes in version 0.2.1.16-rc - 2009-06-20
  7467. Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
  7468. a bunch of minor bugs.
  7469. o Security fixes:
  7470. - Fix an edge case where a malicious exit relay could convince a
  7471. controller that the client's DNS question resolves to an internal IP
  7472. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  7473. o Major performance improvements (on 0.2.0.x):
  7474. - Disable and refactor some debugging checks that forced a linear scan
  7475. over the whole server-side DNS cache. These accounted for over 50%
  7476. of CPU time on a relatively busy exit node's gprof profile. Found
  7477. by Jacob.
  7478. - Disable some debugging checks that appeared in exit node profile
  7479. data.
  7480. o Minor features:
  7481. - Update to the "June 3 2009" ip-to-country file.
  7482. - Do not have tor-resolve automatically refuse all .onion addresses;
  7483. if AutomapHostsOnResolve is set in your torrc, this will work fine.
  7484. o Minor bugfixes (on 0.2.0.x):
  7485. - Log correct error messages for DNS-related network errors on
  7486. Windows.
  7487. - Fix a race condition that could cause crashes or memory corruption
  7488. when running as a server with a controller listening for log
  7489. messages.
  7490. - Avoid crashing when we have a policy specified in a DirPolicy or
  7491. SocksPolicy or ReachableAddresses option with ports set on it,
  7492. and we re-load the policy. May fix bug 996.
  7493. - Hidden service clients didn't use a cached service descriptor that
  7494. was older than 15 minutes, but wouldn't fetch a new one either,
  7495. because there was already one in the cache. Now, fetch a v2
  7496. descriptor unless the same descriptor was added to the cache within
  7497. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  7498. o Minor bugfixes (on 0.2.1.x):
  7499. - Don't warn users about low port and hibernation mix when they
  7500. provide a *ListenAddress directive to fix that. Bugfix on
  7501. 0.2.1.15-rc.
  7502. - When switching back and forth between bridge mode, do not start
  7503. gathering GeoIP data until two hours have passed.
  7504. - Do not complain that the user has requested an excluded node as
  7505. an exit when the node is not really an exit. This could happen
  7506. because the circuit was for testing, or an introduction point.
  7507. Fix for bug 984.
  7508. Changes in version 0.2.1.15-rc - 2009-05-25
  7509. Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
  7510. series. It fixes a major bug on fast exit relays, as well as a variety
  7511. of more minor bugs.
  7512. o Major bugfixes (on 0.2.0.x):
  7513. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  7514. that would occur on some exit nodes when DNS failures and timeouts
  7515. occurred in certain patterns. Fix for bug 957.
  7516. o Minor bugfixes (on 0.2.0.x):
  7517. - Actually return -1 in the error case for read_bandwidth_usage().
  7518. Harmless bug, since we currently don't care about the return value
  7519. anywhere. Bugfix on 0.2.0.9-alpha.
  7520. - Provide a more useful log message if bug 977 (related to buffer
  7521. freelists) ever reappears, and do not crash right away.
  7522. - Fix an assertion failure on 64-bit platforms when we allocated
  7523. memory right up to the end of a memarea, then realigned the memory
  7524. one step beyond the end. Fixes a possible cause of bug 930.
  7525. - Protect the count of open sockets with a mutex, so we can't
  7526. corrupt it when two threads are closing or opening sockets at once.
  7527. Fix for bug 939. Bugfix on 0.2.0.1-alpha.
  7528. - Don't allow a bridge to publish its router descriptor to a
  7529. non-bridge directory authority. Fixes part of bug 932.
  7530. - When we change to or from being a bridge, reset our counts of
  7531. client usage by country. Fixes bug 932.
  7532. - Fix a bug that made stream bandwidth get misreported to the
  7533. controller.
  7534. - Stop using malloc_usable_size() to use more area than we had
  7535. actually allocated: it was safe, but made valgrind really unhappy.
  7536. - Fix a memory leak when v3 directory authorities load their keys
  7537. and cert from disk. Bugfix on 0.2.0.1-alpha.
  7538. o Minor bugfixes (on 0.2.1.x):
  7539. - Fix use of freed memory when deciding to mark a non-addable
  7540. descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
  7541. Changes in version 0.2.1.14-rc - 2009-04-12
  7542. Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
  7543. series. It begins fixing some major performance problems, and also
  7544. finally addresses the bug that was causing relays on dynamic IP
  7545. addresses to fall out of the directory.
  7546. o Major features:
  7547. - Clients replace entry guards that were chosen more than a few months
  7548. ago. This change should significantly improve client performance,
  7549. especially once more people upgrade, since relays that have been
  7550. a guard for a long time are currently overloaded.
  7551. o Major bugfixes (on 0.2.0):
  7552. - Finally fix the bug where dynamic-IP relays disappear when their
  7553. IP address changes: directory mirrors were mistakenly telling
  7554. them their old address if they asked via begin_dir, so they
  7555. never got an accurate answer about their new address, so they
  7556. just vanished after a day. For belt-and-suspenders, relays that
  7557. don't set Address in their config now avoid using begin_dir for
  7558. all direct connections. Should fix bugs 827, 883, and 900.
  7559. - Relays were falling out of the networkstatus consensus for
  7560. part of a day if they changed their local config but the
  7561. authorities discarded their new descriptor as "not sufficiently
  7562. different". Now directory authorities accept a descriptor as changed
  7563. if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
  7564. patch by Sebastian.
  7565. - Avoid crashing in the presence of certain malformed descriptors.
  7566. Found by lark, and by automated fuzzing.
  7567. o Minor features:
  7568. - When generating circuit events with verbose nicknames for
  7569. controllers, try harder to look up nicknames for routers on a
  7570. circuit. (Previously, we would look in the router descriptors we had
  7571. for nicknames, but not in the consensus.) Partial fix for bug 941.
  7572. - If the bridge config line doesn't specify a port, assume 443.
  7573. This makes bridge lines a bit smaller and easier for users to
  7574. understand.
  7575. - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
  7576. bytes (aka 20KB/s), to match our documentation. Also update
  7577. directory authorities so they always assign the Fast flag to relays
  7578. with 20KB/s of capacity. Now people running relays won't suddenly
  7579. find themselves not seeing any use, if the network gets faster
  7580. on average.
  7581. - Update to the "April 3 2009" ip-to-country file.
  7582. o Minor bugfixes:
  7583. - Avoid trying to print raw memory to the logs when we decide to
  7584. give up on downloading a given relay descriptor. Bugfix on
  7585. 0.2.1.9-alpha.
  7586. - In tor-resolve, when the Tor client to use is specified by
  7587. <hostname>:<port>, actually use the specified port rather than
  7588. defaulting to 9050. Bugfix on 0.2.1.6-alpha.
  7589. - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
  7590. - When starting with a cache over a few days old, do not leak
  7591. memory for the obsolete router descriptors in it. Bugfix on
  7592. 0.2.0.33.
  7593. - Avoid double-free on list of successfully uploaded hidden
  7594. service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
  7595. - Change memarea_strndup() implementation to work even when
  7596. duplicating a string at the end of a page. This bug was
  7597. harmless for now, but could have meant crashes later. Fix by
  7598. lark. Bugfix on 0.2.1.1-alpha.
  7599. - Limit uploaded directory documents to be 16M rather than 500K.
  7600. The directory authorities were refusing v3 consensus votes from
  7601. other authorities, since the votes are now 504K. Fixes bug 959;
  7602. bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
  7603. - Directory authorities should never send a 503 "busy" response to
  7604. requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
  7605. bug 959.
  7606. Changes in version 0.2.1.13-alpha - 2009-03-09
  7607. Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
  7608. cleanups. We're finally getting close to a release candidate.
  7609. o Major bugfixes:
  7610. - Correctly update the list of which countries we exclude as
  7611. exits, when the GeoIP file is loaded or reloaded. Diagnosed by
  7612. lark. Bugfix on 0.2.1.6-alpha.
  7613. o Minor bugfixes (on 0.2.0.x and earlier):
  7614. - Automatically detect MacOSX versions earlier than 10.4.0, and
  7615. disable kqueue from inside Tor when running with these versions.
  7616. We previously did this from the startup script, but that was no
  7617. help to people who didn't use the startup script. Resolves bug 863.
  7618. - When we had picked an exit node for a connection, but marked it as
  7619. "optional", and it turned out we had no onion key for the exit,
  7620. stop wanting that exit and try again. This situation may not
  7621. be possible now, but will probably become feasible with proposal
  7622. 158. Spotted by rovv. Fixes another case of bug 752.
  7623. - Clients no longer cache certificates for authorities they do not
  7624. recognize. Bugfix on 0.2.0.9-alpha.
  7625. - When we can't transmit a DNS request due to a network error, retry
  7626. it after a while, and eventually transmit a failing response to
  7627. the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
  7628. - If the controller claimed responsibility for a stream, but that
  7629. stream never finished making its connection, it would live
  7630. forever in circuit_wait state. Now we close it after SocksTimeout
  7631. seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
  7632. - Drop begin cells to a hidden service if they come from the middle
  7633. of a circuit. Patch from lark.
  7634. - When we erroneously receive two EXTEND cells for the same circuit
  7635. ID on the same connection, drop the second. Patch from lark.
  7636. - Fix a crash that occurs on exit nodes when a nameserver request
  7637. timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
  7638. been suppressing the bug since 0.1.2.10-alpha. Partial fix for
  7639. bug 929.
  7640. - Do not assume that a stack-allocated character array will be
  7641. 64-bit aligned on platforms that demand that uint64_t access is
  7642. aligned. Possible fix for bug 604.
  7643. - Parse dates and IPv4 addresses in a locale- and libc-independent
  7644. manner, to avoid platform-dependent behavior on malformed input.
  7645. - Build correctly when configured to build outside the main source
  7646. path. Patch from Michael Gold.
  7647. - We were already rejecting relay begin cells with destination port
  7648. of 0. Now also reject extend cells with destination port or address
  7649. of 0. Suggested by lark.
  7650. o Minor bugfixes (on 0.2.1.x):
  7651. - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
  7652. cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
  7653. - If we're an exit node, scrub the IP address to which we are exiting
  7654. in the logs. Bugfix on 0.2.1.8-alpha.
  7655. o Minor features:
  7656. - On Linux, use the prctl call to re-enable core dumps when the user
  7657. is option is set.
  7658. - New controller event NEWCONSENSUS that lists the networkstatus
  7659. lines for every recommended relay. Now controllers like Torflow
  7660. can keep up-to-date on which relays they should be using.
  7661. - Update to the "February 26 2009" ip-to-country file.
  7662. Changes in version 0.2.0.34 - 2009-02-08
  7663. Tor 0.2.0.34 features several more security-related fixes. You should
  7664. upgrade, especially if you run an exit relay (remote crash) or a
  7665. directory authority (remote infinite loop), or you're on an older
  7666. (pre-XP) or not-recently-patched Windows (remote exploit).
  7667. This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
  7668. have many known flaws, and nobody should be using them. You should
  7669. upgrade. If you're using a Linux or BSD and its packages are obsolete,
  7670. stop using those packages and upgrade anyway.
  7671. o Security fixes:
  7672. - Fix an infinite-loop bug on handling corrupt votes under certain
  7673. circumstances. Bugfix on 0.2.0.8-alpha.
  7674. - Fix a temporary DoS vulnerability that could be performed by
  7675. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  7676. - Avoid a potential crash on exit nodes when processing malformed
  7677. input. Remote DoS opportunity. Bugfix on 0.2.0.33.
  7678. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  7679. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  7680. o Minor bugfixes:
  7681. - Fix compilation on systems where time_t is a 64-bit integer.
  7682. Patch from Matthias Drochner.
  7683. - Don't consider expiring already-closed client connections. Fixes
  7684. bug 893. Bugfix on 0.0.2pre20.
  7685. Changes in version 0.2.1.12-alpha - 2009-02-08
  7686. Tor 0.2.1.12-alpha features several more security-related fixes. You
  7687. should upgrade, especially if you run an exit relay (remote crash) or
  7688. a directory authority (remote infinite loop), or you're on an older
  7689. (pre-XP) or not-recently-patched Windows (remote exploit). It also
  7690. includes a big pile of minor bugfixes and cleanups.
  7691. o Security fixes:
  7692. - Fix an infinite-loop bug on handling corrupt votes under certain
  7693. circumstances. Bugfix on 0.2.0.8-alpha.
  7694. - Fix a temporary DoS vulnerability that could be performed by
  7695. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  7696. - Avoid a potential crash on exit nodes when processing malformed
  7697. input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
  7698. o Minor bugfixes:
  7699. - Let controllers actually ask for the "clients_seen" event for
  7700. getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
  7701. reported by Matt Edman.
  7702. - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
  7703. 0.2.1.11-alpha.
  7704. - Fix a bug in address parsing that was preventing bridges or hidden
  7705. service targets from being at IPv6 addresses.
  7706. - Solve a bug that kept hardware crypto acceleration from getting
  7707. enabled when accounting was turned on. Fixes bug 907. Bugfix on
  7708. 0.0.9pre6.
  7709. - Remove a bash-ism from configure.in to build properly on non-Linux
  7710. platforms. Bugfix on 0.2.1.1-alpha.
  7711. - Fix code so authorities _actually_ send back X-Descriptor-Not-New
  7712. headers. Bugfix on 0.2.0.10-alpha.
  7713. - Don't consider expiring already-closed client connections. Fixes
  7714. bug 893. Bugfix on 0.0.2pre20.
  7715. - Fix another interesting corner-case of bug 891 spotted by rovv:
  7716. Previously, if two hosts had different amounts of clock drift, and
  7717. one of them created a new connection with just the wrong timing,
  7718. the other might decide to deprecate the new connection erroneously.
  7719. Bugfix on 0.1.1.13-alpha.
  7720. - Resolve a very rare crash bug that could occur when the user forced
  7721. a nameserver reconfiguration during the middle of a nameserver
  7722. probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
  7723. - Support changing value of ServerDNSRandomizeCase during SIGHUP.
  7724. Bugfix on 0.2.1.7-alpha.
  7725. - If we're using bridges and our network goes away, be more willing
  7726. to forgive our bridges and try again when we get an application
  7727. request. Bugfix on 0.2.0.x.
  7728. o Minor features:
  7729. - Support platforms where time_t is 64 bits long. (Congratulations,
  7730. NetBSD!) Patch from Matthias Drochner.
  7731. - Add a 'getinfo status/clients-seen' controller command, in case
  7732. controllers want to hear clients_seen events but connect late.
  7733. o Build changes:
  7734. - Disable GCC's strict alias optimization by default, to avoid the
  7735. likelihood of its introducing subtle bugs whenever our code violates
  7736. the letter of C99's alias rules.
  7737. Changes in version 0.2.0.33 - 2009-01-21
  7738. Tor 0.2.0.33 fixes a variety of bugs that were making relays less
  7739. useful to users. It also finally fixes a bug where a relay or client
  7740. that's been off for many days would take a long time to bootstrap.
  7741. This update also fixes an important security-related bug reported by
  7742. Ilja van Sprundel. You should upgrade. (We'll send out more details
  7743. about the bug once people have had some time to upgrade.)
  7744. o Security fixes:
  7745. - Fix a heap-corruption bug that may be remotely triggerable on
  7746. some platforms. Reported by Ilja van Sprundel.
  7747. o Major bugfixes:
  7748. - When a stream at an exit relay is in state "resolving" or
  7749. "connecting" and it receives an "end" relay cell, the exit relay
  7750. would silently ignore the end cell and not close the stream. If
  7751. the client never closes the circuit, then the exit relay never
  7752. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  7753. reported by "wood".
  7754. - When sending CREATED cells back for a given circuit, use a 64-bit
  7755. connection ID to find the right connection, rather than an addr:port
  7756. combination. Now that we can have multiple OR connections between
  7757. the same ORs, it is no longer possible to use addr:port to uniquely
  7758. identify a connection.
  7759. - Bridge relays that had DirPort set to 0 would stop fetching
  7760. descriptors shortly after startup, and then briefly resume
  7761. after a new bandwidth test and/or after publishing a new bridge
  7762. descriptor. Bridge users that try to bootstrap from them would
  7763. get a recent networkstatus but would get descriptors from up to
  7764. 18 hours earlier, meaning most of the descriptors were obsolete
  7765. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  7766. - Prevent bridge relays from serving their 'extrainfo' document
  7767. to anybody who asks, now that extrainfo docs include potentially
  7768. sensitive aggregated client geoip summaries. Bugfix on
  7769. 0.2.0.13-alpha.
  7770. - If the cached networkstatus consensus is more than five days old,
  7771. discard it rather than trying to use it. In theory it could be
  7772. useful because it lists alternate directory mirrors, but in practice
  7773. it just means we spend many minutes trying directory mirrors that
  7774. are long gone from the network. Also discard router descriptors as
  7775. we load them if they are more than five days old, since the onion
  7776. key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
  7777. o Minor bugfixes:
  7778. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  7779. could make gcc generate non-functional binary search code. Bugfix
  7780. on 0.2.0.10-alpha.
  7781. - Build correctly on platforms without socklen_t.
  7782. - Compile without warnings on solaris.
  7783. - Avoid potential crash on internal error during signature collection.
  7784. Fixes bug 864. Patch from rovv.
  7785. - Correct handling of possible malformed authority signing key
  7786. certificates with internal signature types. Fixes bug 880.
  7787. Bugfix on 0.2.0.3-alpha.
  7788. - Fix a hard-to-trigger resource leak when logging credential status.
  7789. CID 349.
  7790. - When we can't initialize DNS because the network is down, do not
  7791. automatically stop Tor from starting. Instead, we retry failed
  7792. dns_init() every 10 minutes, and change the exit policy to reject
  7793. *:* until one succeeds. Fixes bug 691.
  7794. - Use 64 bits instead of 32 bits for connection identifiers used with
  7795. the controller protocol, to greatly reduce risk of identifier reuse.
  7796. - When we're choosing an exit node for a circuit, and we have
  7797. no pending streams, choose a good general exit rather than one that
  7798. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  7799. - Fix another case of assuming, when a specific exit is requested,
  7800. that we know more than the user about what hosts it allows.
  7801. Fixes one case of bug 752. Patch from rovv.
  7802. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  7803. seconds. Warn the user if lower values are given in the
  7804. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  7805. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  7806. user if lower values are given in the configuration. Bugfix on
  7807. 0.1.1.17-rc. Patch by Sebastian.
  7808. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  7809. the cache because we already had a v0 descriptor with the same ID.
  7810. Bugfix on 0.2.0.18-alpha.
  7811. - Fix a race condition when freeing keys shared between main thread
  7812. and CPU workers that could result in a memory leak. Bugfix on
  7813. 0.1.0.1-rc. Fixes bug 889.
  7814. - Send a valid END cell back when a client tries to connect to a
  7815. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  7816. 840. Patch from rovv.
  7817. - Check which hops rendezvous stream cells are associated with to
  7818. prevent possible guess-the-streamid injection attacks from
  7819. intermediate hops. Fixes another case of bug 446. Based on patch
  7820. from rovv.
  7821. - If a broken client asks a non-exit router to connect somewhere,
  7822. do not even do the DNS lookup before rejecting the connection.
  7823. Fixes another case of bug 619. Patch from rovv.
  7824. - When a relay gets a create cell it can't decrypt (e.g. because it's
  7825. using the wrong onion key), we were dropping it and letting the
  7826. client time out. Now actually answer with a destroy cell. Fixes
  7827. bug 904. Bugfix on 0.0.2pre8.
  7828. o Minor bugfixes (hidden services):
  7829. - Do not throw away existing introduction points on SIGHUP. Bugfix on
  7830. 0.0.6pre1. Patch by Karsten. Fixes bug 874.
  7831. o Minor features:
  7832. - Report the case where all signatures in a detached set are rejected
  7833. differently than the case where there is an error handling the
  7834. detached set.
  7835. - When we realize that another process has modified our cached
  7836. descriptors, print out a more useful error message rather than
  7837. triggering an assertion. Fixes bug 885. Patch from Karsten.
  7838. - Implement the 0x20 hack to better resist DNS poisoning: set the
  7839. case on outgoing DNS requests randomly, and reject responses that do
  7840. not match the case correctly. This logic can be disabled with the
  7841. ServerDNSRamdomizeCase setting, if you are using one of the 0.3%
  7842. of servers that do not reliably preserve case in replies. See
  7843. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  7844. for more info.
  7845. - Check DNS replies for more matching fields to better resist DNS
  7846. poisoning.
  7847. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  7848. compress cells, which are basically all encrypted, compressed, or
  7849. both.
  7850. Changes in version 0.2.1.11-alpha - 2009-01-20
  7851. Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
  7852. week it will take a long time to bootstrap again" bug. It also fixes
  7853. an important security-related bug reported by Ilja van Sprundel. You
  7854. should upgrade. (We'll send out more details about the bug once people
  7855. have had some time to upgrade.)
  7856. o Security fixes:
  7857. - Fix a heap-corruption bug that may be remotely triggerable on
  7858. some platforms. Reported by Ilja van Sprundel.
  7859. o Major bugfixes:
  7860. - Discard router descriptors as we load them if they are more than
  7861. five days old. Otherwise if Tor is off for a long time and then
  7862. starts with cached descriptors, it will try to use the onion
  7863. keys in those obsolete descriptors when building circuits. Bugfix
  7864. on 0.2.0.x. Fixes bug 887.
  7865. o Minor features:
  7866. - Try to make sure that the version of Libevent we're running with
  7867. is binary-compatible with the one we built with. May address bug
  7868. 897 and others.
  7869. - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
  7870. for bug 905. Bugfix on 0.2.1.7-alpha.
  7871. - Add a new --enable-local-appdata configuration switch to change
  7872. the default location of the datadir on win32 from APPDATA to
  7873. LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
  7874. entirely. Patch from coderman.
  7875. o Minor bugfixes:
  7876. - Make outbound DNS packets respect the OutboundBindAddress setting.
  7877. Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
  7878. - When our circuit fails at the first hop (e.g. we get a destroy
  7879. cell back), avoid using that OR connection anymore, and also
  7880. tell all the one-hop directory requests waiting for it that they
  7881. should fail. Bugfix on 0.2.1.3-alpha.
  7882. - In the torify(1) manpage, mention that tsocks will leak your
  7883. DNS requests.
  7884. Changes in version 0.2.1.10-alpha - 2009-01-06
  7885. Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
  7886. would make the bridge relay not so useful if it had DirPort set to 0,
  7887. and one that could let an attacker learn a little bit of information
  7888. about the bridge's users), and a bug that would cause your Tor relay
  7889. to ignore a circuit create request it can't decrypt (rather than reply
  7890. with an error). It also fixes a wide variety of other bugs.
  7891. o Major bugfixes:
  7892. - If the cached networkstatus consensus is more than five days old,
  7893. discard it rather than trying to use it. In theory it could
  7894. be useful because it lists alternate directory mirrors, but in
  7895. practice it just means we spend many minutes trying directory
  7896. mirrors that are long gone from the network. Helps bug 887 a bit;
  7897. bugfix on 0.2.0.x.
  7898. - Bridge relays that had DirPort set to 0 would stop fetching
  7899. descriptors shortly after startup, and then briefly resume
  7900. after a new bandwidth test and/or after publishing a new bridge
  7901. descriptor. Bridge users that try to bootstrap from them would
  7902. get a recent networkstatus but would get descriptors from up to
  7903. 18 hours earlier, meaning most of the descriptors were obsolete
  7904. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  7905. - Prevent bridge relays from serving their 'extrainfo' document
  7906. to anybody who asks, now that extrainfo docs include potentially
  7907. sensitive aggregated client geoip summaries. Bugfix on
  7908. 0.2.0.13-alpha.
  7909. o Minor features:
  7910. - New controller event "clients_seen" to report a geoip-based summary
  7911. of which countries we've seen clients from recently. Now controllers
  7912. like Vidalia can show bridge operators that they're actually making
  7913. a difference.
  7914. - Build correctly against versions of OpenSSL 0.9.8 or later built
  7915. without support for deprecated functions.
  7916. - Update to the "December 19 2008" ip-to-country file.
  7917. o Minor bugfixes (on 0.2.0.x):
  7918. - Authorities now vote for the Stable flag for any router whose
  7919. weighted MTBF is at least 5 days, regardless of the mean MTBF.
  7920. - Do not remove routers as too old if we do not have any consensus
  7921. document. Bugfix on 0.2.0.7-alpha.
  7922. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  7923. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  7924. - When an exit relay resolves a stream address to a local IP address,
  7925. do not just keep retrying that same exit relay over and
  7926. over. Instead, just close the stream. Addresses bug 872. Bugfix
  7927. on 0.2.0.32. Patch from rovv.
  7928. - If a hidden service sends us an END cell, do not consider
  7929. retrying the connection; just close it. Patch from rovv.
  7930. - When we made bridge authorities stop serving bridge descriptors over
  7931. unencrypted links, we also broke DirPort reachability testing for
  7932. bridges. So bridges with a non-zero DirPort were printing spurious
  7933. warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
  7934. - When a relay gets a create cell it can't decrypt (e.g. because it's
  7935. using the wrong onion key), we were dropping it and letting the
  7936. client time out. Now actually answer with a destroy cell. Fixes
  7937. bug 904. Bugfix on 0.0.2pre8.
  7938. - Squeeze 2-5% out of client performance (according to oprofile) by
  7939. improving the implementation of some policy-manipulation functions.
  7940. o Minor bugfixes (on 0.2.1.x):
  7941. - Make get_interface_address() function work properly again; stop
  7942. guessing the wrong parts of our address as our address.
  7943. - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
  7944. send on that circuit. Otherwise we might violate the proposal-110
  7945. limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
  7946. thanks to Karsten.
  7947. - When we're sending non-EXTEND cells to the first hop in a circuit,
  7948. for example to use an encrypted directory connection, we don't need
  7949. to use RELAY_EARLY cells: the first hop knows what kind of cell
  7950. it is, and nobody else can even see the cell type. Conserving
  7951. RELAY_EARLY cells makes it easier to cannibalize circuits like
  7952. this later.
  7953. - Stop logging nameserver addresses in reverse order.
  7954. - If we are retrying a directory download slowly over and over, do
  7955. not automatically give up after the 254th failure. Bugfix on
  7956. 0.2.1.9-alpha.
  7957. - Resume reporting accurate "stream end" reasons to the local control
  7958. port. They were lost in the changes for Proposal 148. Bugfix on
  7959. 0.2.1.9-alpha.
  7960. o Deprecated and removed features:
  7961. - The old "tor --version --version" command, which would print out
  7962. the subversion "Id" of most of the source files, is now removed. It
  7963. turned out to be less useful than we'd expected, and harder to
  7964. maintain.
  7965. o Code simplifications and refactoring:
  7966. - Change our header file guard macros to be less likely to conflict
  7967. with system headers. Adam Langley noticed that we were conflicting
  7968. with log.h on Android.
  7969. - Tool-assisted documentation cleanup. Nearly every function or
  7970. static variable in Tor should have its own documentation now.
  7971. Changes in version 0.2.1.9-alpha - 2008-12-25
  7972. Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
  7973. o New directory authorities:
  7974. - gabelmoo (the authority run by Karsten Loesing) now has a new
  7975. IP address.
  7976. o Security fixes:
  7977. - Never use a connection with a mismatched address to extend a
  7978. circuit, unless that connection is canonical. A canonical
  7979. connection is one whose address is authenticated by the router's
  7980. identity key, either in a NETINFO cell or in a router descriptor.
  7981. - Avoid a possible memory corruption bug when receiving hidden service
  7982. descriptors. Bugfix on 0.2.1.6-alpha.
  7983. o Major bugfixes:
  7984. - Fix a logic error that would automatically reject all but the first
  7985. configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
  7986. part of bug 813/868. Bug spotted by coderman.
  7987. - When a stream at an exit relay is in state "resolving" or
  7988. "connecting" and it receives an "end" relay cell, the exit relay
  7989. would silently ignore the end cell and not close the stream. If
  7990. the client never closes the circuit, then the exit relay never
  7991. closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
  7992. reported by "wood".
  7993. - When we can't initialize DNS because the network is down, do not
  7994. automatically stop Tor from starting. Instead, retry failed
  7995. dns_init() every 10 minutes, and change the exit policy to reject
  7996. *:* until one succeeds. Fixes bug 691.
  7997. o Minor features:
  7998. - Give a better error message when an overzealous init script says
  7999. "sudo -u username tor --user username". Makes Bug 882 easier for
  8000. users to diagnose.
  8001. - When a directory authority gives us a new guess for our IP address,
  8002. log which authority we used. Hopefully this will help us debug
  8003. the recent complaints about bad IP address guesses.
  8004. - Detect svn revision properly when we're using git-svn.
  8005. - Try not to open more than one descriptor-downloading connection
  8006. to an authority at once. This should reduce load on directory
  8007. authorities. Fixes bug 366.
  8008. - Add cross-certification to newly generated certificates, so that
  8009. a signing key is enough information to look up a certificate.
  8010. Partial implementation of proposal 157.
  8011. - Start serving certificates by <identity digest, signing key digest>
  8012. pairs. Partial implementation of proposal 157.
  8013. - Clients now never report any stream end reason except 'MISC'.
  8014. Implements proposal 148.
  8015. - On platforms with a maximum syslog string length, truncate syslog
  8016. messages to that length ourselves, rather than relying on the
  8017. system to do it for us.
  8018. - Optimize out calls to time(NULL) that occur for every IO operation,
  8019. or for every cell. On systems where time() is a slow syscall,
  8020. this fix will be slightly helpful.
  8021. - Exit servers can now answer resolve requests for ip6.arpa addresses.
  8022. - When we download a descriptor that we then immediately (as
  8023. a directory authority) reject, do not retry downloading it right
  8024. away. Should save some bandwidth on authorities. Fix for bug
  8025. 888. Patch by Sebastian Hahn.
  8026. - When a download gets us zero good descriptors, do not notify
  8027. Tor that new directory information has arrived.
  8028. - Avoid some nasty corner cases in the logic for marking connections
  8029. as too old or obsolete or noncanonical for circuits. Partial
  8030. bugfix on bug 891.
  8031. o Minor features (controller):
  8032. - New CONSENSUS_ARRIVED event to note when a new consensus has
  8033. been fetched and validated.
  8034. - When we realize that another process has modified our cached
  8035. descriptors file, print out a more useful error message rather
  8036. than triggering an assertion. Fixes bug 885. Patch from Karsten.
  8037. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  8038. controllers to prevent SIGHUP from reloading the
  8039. configuration. Fixes bug 856.
  8040. o Minor bugfixes:
  8041. - Resume using the correct "REASON=" stream when telling the
  8042. controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
  8043. - When a canonical connection appears later in our internal list
  8044. than a noncanonical one for a given OR ID, always use the
  8045. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  8046. Spotted by rovv.
  8047. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  8048. seconds. Warn the user if lower values are given in the
  8049. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  8050. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  8051. user if lower values are given in the configuration. Bugfix on
  8052. 0.1.1.17-rc. Patch by Sebastian.
  8053. - Fix a race condition when freeing keys shared between main thread
  8054. and CPU workers that could result in a memory leak. Bugfix on
  8055. 0.1.0.1-rc. Fixes bug 889.
  8056. o Minor bugfixes (hidden services):
  8057. - Do not throw away existing introduction points on SIGHUP (bugfix on
  8058. 0.0.6pre1); also, do not stall hidden services because we're
  8059. throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
  8060. by John Brooks. Patch by Karsten. Fixes bug 874.
  8061. - Fix a memory leak when we decline to add a v2 rendezvous
  8062. descriptor to the cache because we already had a v0 descriptor
  8063. with the same ID. Bugfix on 0.2.0.18-alpha.
  8064. o Deprecated and removed features:
  8065. - RedirectExits has been removed. It was deprecated since
  8066. 0.2.0.3-alpha.
  8067. - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
  8068. has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  8069. - Cell pools are now always enabled; --disable-cell-pools is ignored.
  8070. o Code simplifications and refactoring:
  8071. - Rename the confusing or_is_obsolete field to the more appropriate
  8072. is_bad_for_new_circs, and move it to or_connection_t where it
  8073. belongs.
  8074. - Move edge-only flags from connection_t to edge_connection_t: not
  8075. only is this better coding, but on machines of plausible alignment,
  8076. it should save 4-8 bytes per connection_t. "Every little bit helps."
  8077. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  8078. for consistency; keep old option working for backward compatibility.
  8079. - Simplify the code for finding connections to use for a circuit.
  8080. Changes in version 0.2.1.8-alpha - 2008-12-08
  8081. Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
  8082. builds better on unusual platforms like Solaris and old OS X, and
  8083. fixes a variety of other issues.
  8084. o Major features:
  8085. - New DirPortFrontPage option that takes an html file and publishes
  8086. it as "/" on the DirPort. Now relay operators can provide a
  8087. disclaimer without needing to set up a separate webserver. There's
  8088. a sample disclaimer in contrib/tor-exit-notice.html.
  8089. o Security fixes:
  8090. - When the client is choosing entry guards, now it selects at most
  8091. one guard from a given relay family. Otherwise we could end up with
  8092. all of our entry points into the network run by the same operator.
  8093. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  8094. o Major bugfixes:
  8095. - Fix a DOS opportunity during the voting signature collection process
  8096. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  8097. - Fix a possible segfault when establishing an exit connection. Bugfix
  8098. on 0.2.1.5-alpha.
  8099. o Minor bugfixes:
  8100. - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
  8101. bug 859.
  8102. - Made Tor a little less aggressive about deleting expired
  8103. certificates. Partial fix for bug 854.
  8104. - Stop doing unaligned memory access that generated bus errors on
  8105. sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
  8106. - Fix a crash bug when changing EntryNodes from the controller. Bugfix
  8107. on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
  8108. - Make USR2 log-level switch take effect immediately. Bugfix on
  8109. 0.1.2.8-beta.
  8110. - If one win32 nameserver fails to get added, continue adding the
  8111. rest, and don't automatically fail.
  8112. - Use fcntl() for locking when flock() is not available. Should fix
  8113. compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
  8114. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  8115. could make gcc generate non-functional binary search code. Bugfix
  8116. on 0.2.0.10-alpha.
  8117. - Build correctly on platforms without socklen_t.
  8118. - Avoid potential crash on internal error during signature collection.
  8119. Fixes bug 864. Patch from rovv.
  8120. - Do not use C's stdio library for writing to log files. This will
  8121. improve logging performance by a minute amount, and will stop
  8122. leaking fds when our disk is full. Fixes bug 861.
  8123. - Stop erroneous use of O_APPEND in cases where we did not in fact
  8124. want to re-seek to the end of a file before every last write().
  8125. - Correct handling of possible malformed authority signing key
  8126. certificates with internal signature types. Fixes bug 880. Bugfix
  8127. on 0.2.0.3-alpha.
  8128. - Fix a hard-to-trigger resource leak when logging credential status.
  8129. CID 349.
  8130. o Minor features:
  8131. - Directory mirrors no longer fetch the v1 directory or
  8132. running-routers files. They are obsolete, and nobody asks for them
  8133. anymore. This is the first step to making v1 authorities obsolete.
  8134. o Minor features (controller):
  8135. - Return circuit purposes in response to GETINFO circuit-status. Fixes
  8136. bug 858.
  8137. Changes in version 0.2.0.32 - 2008-11-20
  8138. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  8139. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  8140. a smaller security flaw that might allow an attacker to access local
  8141. services, further improves hidden service performance, and fixes a
  8142. variety of other issues.
  8143. o Security fixes:
  8144. - The "User" and "Group" config options did not clear the
  8145. supplementary group entries for the Tor process. The "User" option
  8146. is now more robust, and we now set the groups to the specified
  8147. user's primary group. The "Group" option is now ignored. For more
  8148. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  8149. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  8150. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  8151. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  8152. consistently obeyed: if an exit relay refuses a stream because its
  8153. exit policy doesn't allow it, we would remember what IP address
  8154. the relay said the destination address resolves to, even if it's
  8155. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  8156. o Major bugfixes:
  8157. - Fix a DOS opportunity during the voting signature collection process
  8158. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  8159. o Major bugfixes (hidden services):
  8160. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  8161. we were failing the whole hidden service request when the v0
  8162. descriptor fetch fails, even if the v2 fetch is still pending and
  8163. might succeed. Similarly, if the last v2 fetch fails, we were
  8164. failing the whole hidden service request even if a v0 fetch is
  8165. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  8166. - When extending a circuit to a hidden service directory to upload a
  8167. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  8168. requests failed, because the router descriptor has not been
  8169. downloaded yet. In these cases, do not attempt to upload the
  8170. rendezvous descriptor, but wait until the router descriptor is
  8171. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  8172. descriptor from a hidden service directory for which the router
  8173. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  8174. on 0.2.0.10-alpha.
  8175. o Minor bugfixes:
  8176. - Fix several infrequent memory leaks spotted by Coverity.
  8177. - When testing for libevent functions, set the LDFLAGS variable
  8178. correctly. Found by Riastradh.
  8179. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  8180. bootstrapping with tunneled directory connections. Bugfix on
  8181. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  8182. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  8183. and we know that server B rejects most-but-not all connections to
  8184. port 80, we would previously reject the connection. Now, we assume
  8185. the user knows what they were asking for. Fixes bug 752. Bugfix
  8186. on 0.0.9rc5. Diagnosed by BarkerJr.
  8187. - If we overrun our per-second write limits a little, count this as
  8188. having used up our write allocation for the second, and choke
  8189. outgoing directory writes. Previously, we had only counted this when
  8190. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  8191. Bugfix on 0.2.0.x (??).
  8192. - Remove the old v2 directory authority 'lefkada' from the default
  8193. list. It has been gone for many months.
  8194. - Stop doing unaligned memory access that generated bus errors on
  8195. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  8196. - Make USR2 log-level switch take effect immediately. Bugfix on
  8197. 0.1.2.8-beta.
  8198. o Minor bugfixes (controller):
  8199. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  8200. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  8201. Changes in version 0.2.1.7-alpha - 2008-11-08
  8202. Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
  8203. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  8204. a smaller security flaw that might allow an attacker to access local
  8205. services, adds better defense against DNS poisoning attacks on exit
  8206. relays, further improves hidden service performance, and fixes a
  8207. variety of other issues.
  8208. o Security fixes:
  8209. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  8210. consistently obeyed: if an exit relay refuses a stream because its
  8211. exit policy doesn't allow it, we would remember what IP address
  8212. the relay said the destination address resolves to, even if it's
  8213. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  8214. - The "User" and "Group" config options did not clear the
  8215. supplementary group entries for the Tor process. The "User" option
  8216. is now more robust, and we now set the groups to the specified
  8217. user's primary group. The "Group" option is now ignored. For more
  8218. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  8219. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  8220. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
  8221. - Do not use or believe expired v3 authority certificates. Patch
  8222. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  8223. o Minor features:
  8224. - Now NodeFamily and MyFamily config options allow spaces in
  8225. identity fingerprints, so it's easier to paste them in.
  8226. Suggested by Lucky Green.
  8227. - Implement the 0x20 hack to better resist DNS poisoning: set the
  8228. case on outgoing DNS requests randomly, and reject responses that do
  8229. not match the case correctly. This logic can be disabled with the
  8230. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  8231. of servers that do not reliably preserve case in replies. See
  8232. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  8233. for more info.
  8234. - Preserve case in replies to DNSPort requests in order to support
  8235. the 0x20 hack for resisting DNS poisoning attacks.
  8236. o Hidden service performance improvements:
  8237. - When the client launches an introduction circuit, retry with a
  8238. new circuit after 30 seconds rather than 60 seconds.
  8239. - Launch a second client-side introduction circuit in parallel
  8240. after a delay of 15 seconds (based on work by Christian Wilms).
  8241. - Hidden services start out building five intro circuits rather
  8242. than three, and when the first three finish they publish a service
  8243. descriptor using those. Now we publish our service descriptor much
  8244. faster after restart.
  8245. o Minor bugfixes:
  8246. - Minor fix in the warning messages when you're having problems
  8247. bootstrapping; also, be more forgiving of bootstrap problems when
  8248. we're still making incremental progress on a given bootstrap phase.
  8249. - When we're choosing an exit node for a circuit, and we have
  8250. no pending streams, choose a good general exit rather than one that
  8251. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  8252. - Send a valid END cell back when a client tries to connect to a
  8253. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  8254. 840. Patch from rovv.
  8255. - If a broken client asks a non-exit router to connect somewhere,
  8256. do not even do the DNS lookup before rejecting the connection.
  8257. Fixes another case of bug 619. Patch from rovv.
  8258. - Fix another case of assuming, when a specific exit is requested,
  8259. that we know more than the user about what hosts it allows.
  8260. Fixes another case of bug 752. Patch from rovv.
  8261. - Check which hops rendezvous stream cells are associated with to
  8262. prevent possible guess-the-streamid injection attacks from
  8263. intermediate hops. Fixes another case of bug 446. Based on patch
  8264. from rovv.
  8265. - Avoid using a negative right-shift when comparing 32-bit
  8266. addresses. Possible fix for bug 845 and bug 811.
  8267. - Make the assert_circuit_ok() function work correctly on circuits that
  8268. have already been marked for close.
  8269. - Fix read-off-the-end-of-string error in unit tests when decoding
  8270. introduction points.
  8271. - Fix uninitialized size field for memory area allocation: may improve
  8272. memory performance during directory parsing.
  8273. - Treat duplicate certificate fetches as failures, so that we do
  8274. not try to re-fetch an expired certificate over and over and over.
  8275. - Do not say we're fetching a certificate when we'll in fact skip it
  8276. because of a pending download.
  8277. Changes in version 0.2.1.6-alpha - 2008-09-30
  8278. Tor 0.2.1.6-alpha further improves performance and robustness of
  8279. hidden services, starts work on supporting per-country relay selection,
  8280. and fixes a variety of smaller issues.
  8281. o Major features:
  8282. - Implement proposal 121: make it possible to build hidden services
  8283. that only certain clients are allowed to connect to. This is
  8284. enforced at several points, so that unauthorized clients are unable
  8285. to send INTRODUCE cells to the service, or even (depending on the
  8286. type of authentication) to learn introduction points. This feature
  8287. raises the bar for certain kinds of active attacks against hidden
  8288. services. Code by Karsten Loesing.
  8289. - Relays now store and serve v2 hidden service descriptors by default,
  8290. i.e., the new default value for HidServDirectoryV2 is 1. This is
  8291. the last step in proposal 114, which aims to make hidden service
  8292. lookups more reliable.
  8293. - Start work to allow node restrictions to include country codes. The
  8294. syntax to exclude nodes in a country with country code XX is
  8295. "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
  8296. refinement to decide what config options should take priority if
  8297. you ask to both use a particular node and exclude it.
  8298. - Allow ExitNodes list to include IP ranges and country codes, just
  8299. like the Exclude*Nodes lists. Patch from Robert Hogan.
  8300. o Major bugfixes:
  8301. - Fix a bug when parsing ports in tor_addr_port_parse() that caused
  8302. Tor to fail to start if you had it configured to use a bridge
  8303. relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
  8304. - When extending a circuit to a hidden service directory to upload a
  8305. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  8306. requests failed, because the router descriptor had not been
  8307. downloaded yet. In these cases, we now wait until the router
  8308. descriptor is downloaded, and then retry. Likewise, clients
  8309. now skip over a hidden service directory if they don't yet have
  8310. its router descriptor, rather than futilely requesting it and
  8311. putting mysterious complaints in the logs. Fixes bug 767. Bugfix
  8312. on 0.2.0.10-alpha.
  8313. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  8314. we were failing the whole hidden service request when the v0
  8315. descriptor fetch fails, even if the v2 fetch is still pending and
  8316. might succeed. Similarly, if the last v2 fetch fails, we were
  8317. failing the whole hidden service request even if a v0 fetch is
  8318. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  8319. - DNS replies need to have names matching their requests, but
  8320. these names should be in the questions section, not necessarily
  8321. in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
  8322. o Minor features:
  8323. - Update to the "September 1 2008" ip-to-country file.
  8324. - Allow ports 465 and 587 in the default exit policy again. We had
  8325. rejected them in 0.1.0.15, because back in 2005 they were commonly
  8326. misconfigured and ended up as spam targets. We hear they are better
  8327. locked down these days.
  8328. - Use a lockfile to make sure that two Tor processes are not
  8329. simultaneously running with the same datadir.
  8330. - Serve the latest v3 networkstatus consensus via the control
  8331. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  8332. - Better logging about stability/reliability calculations on directory
  8333. servers.
  8334. - Drop the requirement to have an open dir port for storing and
  8335. serving v2 hidden service descriptors.
  8336. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  8337. help debug WFU and MTBF calculations.
  8338. - Implement most of Proposal 152: allow specialized servers to permit
  8339. single-hop circuits, and clients to use those servers to build
  8340. single-hop circuits when using a specialized controller. Patch
  8341. from Josh Albrecht. Resolves feature request 768.
  8342. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  8343. people find host:port too confusing.
  8344. - Make TrackHostExit mappings expire a while after their last use, not
  8345. after their creation. Patch from Robert Hogan.
  8346. - Provide circuit purposes along with circuit events to the controller.
  8347. o Minor bugfixes:
  8348. - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
  8349. Reported by Tas.
  8350. - Fixed some memory leaks -- some quite frequent, some almost
  8351. impossible to trigger -- based on results from Coverity.
  8352. - When testing for libevent functions, set the LDFLAGS variable
  8353. correctly. Found by Riastradh.
  8354. - Fix an assertion bug in parsing policy-related options; possible fix
  8355. for bug 811.
  8356. - Catch and report a few more bootstrapping failure cases when Tor
  8357. fails to establish a TCP connection. Cleanup on 0.2.1.x.
  8358. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  8359. bootstrapping with tunneled directory connections. Bugfix on
  8360. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  8361. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  8362. and we know that server B rejects most-but-not all connections to
  8363. port 80, we would previously reject the connection. Now, we assume
  8364. the user knows what they were asking for. Fixes bug 752. Bugfix
  8365. on 0.0.9rc5. Diagnosed by BarkerJr.
  8366. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  8367. service directories if they have no advertised dir port. Bugfix
  8368. on 0.2.0.10-alpha.
  8369. - If we overrun our per-second write limits a little, count this as
  8370. having used up our write allocation for the second, and choke
  8371. outgoing directory writes. Previously, we had only counted this when
  8372. we had met our limits precisely. Fixes bug 824. Patch by rovv.
  8373. Bugfix on 0.2.0.x (??).
  8374. - Avoid a "0 divided by 0" calculation when calculating router uptime
  8375. at directory authorities. Bugfix on 0.2.0.8-alpha.
  8376. - Make DNS resolved controller events into "CLOSED", not
  8377. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  8378. bug 807.
  8379. - Fix a bug where an unreachable relay would establish enough
  8380. reachability testing circuits to do a bandwidth test -- if
  8381. we already have a connection to the middle hop of the testing
  8382. circuit, then it could establish the last hop by using the existing
  8383. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  8384. circuits no longer use entry guards in 0.2.1.3-alpha.
  8385. - If we have correct permissions on $datadir, we complain to stdout
  8386. and fail to start. But dangerous permissions on
  8387. $datadir/cached-status/ would cause us to open a log and complain
  8388. there. Now complain to stdout and fail to start in both cases. Fixes
  8389. bug 820, reported by seeess.
  8390. - Remove the old v2 directory authority 'lefkada' from the default
  8391. list. It has been gone for many months.
  8392. o Code simplifications and refactoring:
  8393. - Revise the connection_new functions so that a more typesafe variant
  8394. exists. This will work better with Coverity, and let us find any
  8395. actual mistakes we're making here.
  8396. - Refactor unit testing logic so that dmalloc can be used sensibly
  8397. with unit tests to check for memory leaks.
  8398. - Move all hidden-service related fields from connection and circuit
  8399. structure to substructures: this way they won't eat so much memory.
  8400. Changes in version 0.2.0.31 - 2008-09-03
  8401. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  8402. a big bug we're seeing where in rare cases traffic from one Tor stream
  8403. gets mixed into another stream, and fixes a variety of smaller issues.
  8404. o Major bugfixes:
  8405. - Make sure that two circuits can never exist on the same connection
  8406. with the same circuit ID, even if one is marked for close. This
  8407. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  8408. - Relays now reject risky extend cells: if the extend cell includes
  8409. a digest of all zeroes, or asks to extend back to the relay that
  8410. sent the extend cell, tear down the circuit. Ideas suggested
  8411. by rovv.
  8412. - If not enough of our entry guards are available so we add a new
  8413. one, we might use the new one even if it overlapped with the
  8414. current circuit's exit relay (or its family). Anonymity bugfix
  8415. pointed out by rovv.
  8416. o Minor bugfixes:
  8417. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  8418. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  8419. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  8420. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  8421. - Pick size of default geoip filename string correctly on windows.
  8422. Fixes bug 806. Bugfix on 0.2.0.30.
  8423. - Make the autoconf script accept the obsolete --with-ssl-dir
  8424. option as an alias for the actually-working --with-openssl-dir
  8425. option. Fix the help documentation to recommend --with-openssl-dir.
  8426. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  8427. - When using the TransPort option on OpenBSD, and using the User
  8428. option to change UID and drop privileges, make sure to open
  8429. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  8430. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  8431. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  8432. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  8433. on the client side when connecting to a hidden service. Bugfix
  8434. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  8435. - When closing an application-side connection because its circuit is
  8436. getting torn down, generate the stream event correctly. Bugfix on
  8437. 0.1.2.x. Anonymous patch.
  8438. Changes in version 0.2.1.5-alpha - 2008-08-31
  8439. Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
  8440. in a lot of the infrastructure for adding authorization to hidden
  8441. services, lays the groundwork for having clients read their load
  8442. balancing information out of the networkstatus consensus rather than
  8443. the individual router descriptors, addresses two potential anonymity
  8444. issues, and fixes a variety of smaller issues.
  8445. o Major features:
  8446. - Convert many internal address representations to optionally hold
  8447. IPv6 addresses.
  8448. - Generate and accept IPv6 addresses in many protocol elements.
  8449. - Make resolver code handle nameservers located at ipv6 addresses.
  8450. - Begin implementation of proposal 121 ("Client authorization for
  8451. hidden services"): configure hidden services with client
  8452. authorization, publish descriptors for them, and configure
  8453. authorization data for hidden services at clients. The next
  8454. step is to actually access hidden services that perform client
  8455. authorization.
  8456. - More progress toward proposal 141: Network status consensus
  8457. documents and votes now contain bandwidth information for each
  8458. router and a summary of that router's exit policy. Eventually this
  8459. will be used by clients so that they do not have to download every
  8460. known descriptor before building circuits.
  8461. o Major bugfixes (on 0.2.0.x and before):
  8462. - When sending CREATED cells back for a given circuit, use a 64-bit
  8463. connection ID to find the right connection, rather than an addr:port
  8464. combination. Now that we can have multiple OR connections between
  8465. the same ORs, it is no longer possible to use addr:port to uniquely
  8466. identify a connection.
  8467. - Relays now reject risky extend cells: if the extend cell includes
  8468. a digest of all zeroes, or asks to extend back to the relay that
  8469. sent the extend cell, tear down the circuit. Ideas suggested
  8470. by rovv.
  8471. - If not enough of our entry guards are available so we add a new
  8472. one, we might use the new one even if it overlapped with the
  8473. current circuit's exit relay (or its family). Anonymity bugfix
  8474. pointed out by rovv.
  8475. o Minor bugfixes:
  8476. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  8477. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  8478. - When using the TransPort option on OpenBSD, and using the User
  8479. option to change UID and drop privileges, make sure to open /dev/pf
  8480. before dropping privileges. Fixes bug 782. Patch from Christopher
  8481. Davis. Bugfix on 0.1.2.1-alpha.
  8482. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  8483. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  8484. - Add a missing safe_str() call for a debug log message.
  8485. - Use 64 bits instead of 32 bits for connection identifiers used with
  8486. the controller protocol, to greatly reduce risk of identifier reuse.
  8487. - Make the autoconf script accept the obsolete --with-ssl-dir
  8488. option as an alias for the actually-working --with-openssl-dir
  8489. option. Fix the help documentation to recommend --with-openssl-dir.
  8490. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  8491. o Minor features:
  8492. - Rate-limit too-many-sockets messages: when they happen, they happen
  8493. a lot. Resolves bug 748.
  8494. - Resist DNS poisoning a little better by making sure that names in
  8495. answer sections match.
  8496. - Print the SOCKS5 error message string as well as the error code
  8497. when a tor-resolve request fails. Patch from Jacob.
  8498. Changes in version 0.2.1.4-alpha - 2008-08-04
  8499. Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
  8500. o Major bugfixes:
  8501. - The address part of exit policies was not correctly written
  8502. to router descriptors. This generated router descriptors that failed
  8503. their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
  8504. on 0.2.1.3-alpha.
  8505. - Tor triggered a false assert when extending a circuit to a relay
  8506. but we already have a connection open to that relay. Noticed by
  8507. phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
  8508. o Minor bugfixes:
  8509. - Fix a hidden service logging bug: in some edge cases, the router
  8510. descriptor of a previously picked introduction point becomes
  8511. obsolete and we need to give up on it rather than continually
  8512. complaining that it has become obsolete. Observed by xiando. Bugfix
  8513. on 0.2.1.3-alpha.
  8514. o Removed features:
  8515. - Take out the TestVia config option, since it was a workaround for
  8516. a bug that was fixed in Tor 0.1.1.21.
  8517. Changes in version 0.2.1.3-alpha - 2008-08-03
  8518. Tor 0.2.1.3-alpha implements most of the pieces to prevent
  8519. infinite-length circuit attacks (see proposal 110); fixes a bug that
  8520. might cause exit relays to corrupt streams they send back; allows
  8521. address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
  8522. ExcludeExitNodes config options; and fixes a big pile of bugs.
  8523. o Bootstrapping bugfixes (on 0.2.1.x-alpha):
  8524. - Send a bootstrap problem "warn" event on the first problem if the
  8525. reason is NO_ROUTE (that is, our network is down).
  8526. o Major features:
  8527. - Implement most of proposal 110: The first K cells to be sent
  8528. along a circuit are marked as special "early" cells; only K "early"
  8529. cells will be allowed. Once this code is universal, we can block
  8530. certain kinds of DOS attack by requiring that EXTEND commands must
  8531. be sent using an "early" cell.
  8532. o Major bugfixes:
  8533. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  8534. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  8535. on the client side when connecting to a hidden service. Bugfix
  8536. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  8537. - Ensure that two circuits can never exist on the same connection
  8538. with the same circuit ID, even if one is marked for close. This
  8539. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  8540. o Minor features:
  8541. - When relays do their initial bandwidth measurement, don't limit
  8542. to just our entry guards for the test circuits. Otherwise we tend
  8543. to have multiple test circuits going through a single entry guard,
  8544. which makes our bandwidth test less accurate. Fixes part of bug 654;
  8545. patch contributed by Josh Albrecht.
  8546. - Add an ExcludeExitNodes option so users can list a set of nodes
  8547. that should be be excluded from the exit node position, but
  8548. allowed elsewhere. Implements proposal 151.
  8549. - Allow address patterns (e.g., 255.128.0.0/16) to appear in
  8550. ExcludeNodes and ExcludeExitNodes lists.
  8551. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  8552. be more efficient. Formerly it was quadratic in the number of
  8553. servers; now it should be linear. Fixes bug 509.
  8554. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  8555. and n_conn_id_digest fields into a separate structure that's
  8556. only needed when the circuit has not yet attached to an n_conn.
  8557. o Minor bugfixes:
  8558. - Change the contrib/tor.logrotate script so it makes the new
  8559. logs as "_tor:_tor" rather than the default, which is generally
  8560. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  8561. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  8562. warnings (occasionally), but it can also cause the compiler to
  8563. eliminate error-checking code. Suggested by Peter Gutmann.
  8564. - When a hidden service is giving up on an introduction point candidate
  8565. that was not included in the last published rendezvous descriptor,
  8566. don't reschedule publication of the next descriptor. Fixes bug 763.
  8567. Bugfix on 0.0.9.3.
  8568. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  8569. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  8570. and nobody claims to be using them. Fixes bug 754. Bugfix on
  8571. 0.1.0.1-rc. Patch from Christian Wilms.
  8572. - Fix a small alignment and memory-wasting bug on buffer chunks.
  8573. Spotted by rovv.
  8574. o Minor bugfixes (controller):
  8575. - When closing an application-side connection because its circuit
  8576. is getting torn down, generate the stream event correctly.
  8577. Bugfix on 0.1.2.x. Anonymous patch.
  8578. o Removed features:
  8579. - Remove all backward-compatibility code to support relays running
  8580. versions of Tor so old that they no longer work at all on the
  8581. Tor network.
  8582. Changes in version 0.2.0.30 - 2008-07-15
  8583. o Minor bugfixes:
  8584. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  8585. warnings (occasionally), but it can also cause the compiler to
  8586. eliminate error-checking code. Suggested by Peter Gutmann.
  8587. Changes in version 0.2.0.29-rc - 2008-07-08
  8588. Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
  8589. hidden-service performance bugs, and fixes a bunch of smaller bugs.
  8590. o Major bugfixes:
  8591. - If you have more than one bridge but don't know their keys,
  8592. you would only launch a request for the descriptor of the first one
  8593. on your list. (Tor considered launching requests for the others, but
  8594. found that it already had a connection on the way for $0000...0000
  8595. so it didn't open another.) Bugfix on 0.2.0.x.
  8596. - If you have more than one bridge but don't know their keys, and the
  8597. connection to one of the bridges failed, you would cancel all
  8598. pending bridge connections. (After all, they all have the same
  8599. digest.) Bugfix on 0.2.0.x.
  8600. - When a hidden service was trying to establish an introduction point,
  8601. and Tor had built circuits preemptively for such purposes, we
  8602. were ignoring all the preemptive circuits and launching a new one
  8603. instead. Bugfix on 0.2.0.14-alpha.
  8604. - When a hidden service was trying to establish an introduction point,
  8605. and Tor *did* manage to reuse one of the preemptively built
  8606. circuits, it didn't correctly remember which one it used,
  8607. so it asked for another one soon after, until there were no
  8608. more preemptive circuits, at which point it launched one from
  8609. scratch. Bugfix on 0.0.9.x.
  8610. - Make directory servers include the X-Your-Address-Is: http header in
  8611. their responses even for begin_dir conns. Now clients who only
  8612. ever use begin_dir connections still have a way to learn their IP
  8613. address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
  8614. o Minor bugfixes:
  8615. - Fix a macro/CPP interaction that was confusing some compilers:
  8616. some GCCs don't like #if/#endif pairs inside macro arguments.
  8617. Fixes bug 707.
  8618. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  8619. Fixes bug 704; fix from Steven Murdoch.
  8620. - When opening /dev/null in finish_daemonize(), do not pass the
  8621. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  8622. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  8623. - Correctly detect transparent proxy support on Linux hosts that
  8624. require in.h to be included before netfilter_ipv4.h. Patch
  8625. from coderman.
  8626. - Disallow session resumption attempts during the renegotiation
  8627. stage of the v2 handshake protocol. Clients should never be trying
  8628. session resumption at this point, but apparently some did, in
  8629. ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
  8630. found by Geoff Goodell.
  8631. Changes in version 0.2.1.2-alpha - 2008-06-20
  8632. Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
  8633. make it easier to set up your own private Tor network; fixes several
  8634. big bugs with using more than one bridge relay; fixes a big bug with
  8635. offering hidden services quickly after Tor starts; and uses a better
  8636. API for reporting potential bootstrapping problems to the controller.
  8637. o Major features:
  8638. - New TestingTorNetwork config option to allow adjustment of
  8639. previously constant values that, while reasonable, could slow
  8640. bootstrapping. Implements proposal 135. Patch from Karsten.
  8641. o Major bugfixes:
  8642. - If you have more than one bridge but don't know their digests,
  8643. you would only learn a request for the descriptor of the first one
  8644. on your list. (Tor considered launching requests for the others, but
  8645. found that it already had a connection on the way for $0000...0000
  8646. so it didn't open another.) Bugfix on 0.2.0.x.
  8647. - If you have more than one bridge but don't know their digests,
  8648. and the connection to one of the bridges failed, you would cancel
  8649. all pending bridge connections. (After all, they all have the
  8650. same digest.) Bugfix on 0.2.0.x.
  8651. - When establishing a hidden service, introduction points that
  8652. originate from cannibalized circuits are completely ignored and not
  8653. included in rendezvous service descriptors. This might be another
  8654. reason for delay in making a hidden service available. Bugfix
  8655. from long ago (0.0.9.x?)
  8656. o Minor features:
  8657. - Allow OpenSSL to use dynamic locks if it wants.
  8658. - When building a consensus, do not include routers that are down.
  8659. This will cut down 30% to 40% on consensus size. Implements
  8660. proposal 138.
  8661. - In directory authorities' approved-routers files, allow
  8662. fingerprints with or without space.
  8663. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  8664. controller can query our current bootstrap state in case it attaches
  8665. partway through and wants to catch up.
  8666. - Send an initial "Starting" bootstrap status event, so we have a
  8667. state to start out in.
  8668. o Minor bugfixes:
  8669. - Asking for a conditional consensus at .../consensus/<fingerprints>
  8670. would crash a dirserver if it did not already have a
  8671. consensus. Bugfix on 0.2.1.1-alpha.
  8672. - Clean up some macro/CPP interactions: some GCC versions don't like
  8673. #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
  8674. 0.2.0.x.
  8675. o Bootstrapping bugfixes (on 0.2.1.1-alpha):
  8676. - Directory authorities shouldn't complain about bootstrapping
  8677. problems just because they do a lot of reachability testing and
  8678. some of the connection attempts fail.
  8679. - Start sending "count" and "recommendation" key/value pairs in
  8680. bootstrap problem status events, so the controller can hear about
  8681. problems even before Tor decides they're worth reporting for sure.
  8682. - If you're using bridges, generate "bootstrap problem" warnings
  8683. as soon as you run out of working bridges, rather than waiting
  8684. for ten failures -- which will never happen if you have less than
  8685. ten bridges.
  8686. - If we close our OR connection because there's been a circuit
  8687. pending on it for too long, we were telling our bootstrap status
  8688. events "REASON=NONE". Now tell them "REASON=TIMEOUT".
  8689. Changes in version 0.2.1.1-alpha - 2008-06-13
  8690. Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
  8691. were making the Tor process bloat especially on Linux; makes our TLS
  8692. handshake blend in better; sends "bootstrap phase" status events to
  8693. the controller, so it can keep the user informed of progress (and
  8694. problems) fetching directory information and establishing circuits;
  8695. and adds a variety of smaller features.
  8696. o Major features:
  8697. - More work on making our TLS handshake blend in: modify the list
  8698. of ciphers advertised by OpenSSL in client mode to even more
  8699. closely resemble a common web browser. We cheat a little so that
  8700. we can advertise ciphers that the locally installed OpenSSL doesn't
  8701. know about.
  8702. - Start sending "bootstrap phase" status events to the controller,
  8703. so it can keep the user informed of progress fetching directory
  8704. information and establishing circuits. Also inform the controller
  8705. if we think we're stuck at a particular bootstrap phase. Implements
  8706. proposal 137.
  8707. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  8708. cross-platform entropy collection again. We used to use it, then
  8709. stopped using it because of a bug that could crash systems that
  8710. called RAND_poll when they had a lot of fds open. It looks like the
  8711. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  8712. at startup, and to call RAND_poll() when we reseed later only if
  8713. we have a non-buggy OpenSSL version.
  8714. o Major bugfixes:
  8715. - When we choose to abandon a new entry guard because we think our
  8716. older ones might be better, close any circuits pending on that
  8717. new entry guard connection. This fix should make us recover much
  8718. faster when our network is down and then comes back. Bugfix on
  8719. 0.1.2.8-beta; found by lodger.
  8720. o Memory fixes and improvements:
  8721. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  8722. to avoid unused RAM in buffer chunks and memory pools.
  8723. - Speed up parsing and cut down on memory fragmentation by using
  8724. stack-style allocations for parsing directory objects. Previously,
  8725. this accounted for over 40% of allocations from within Tor's code
  8726. on a typical directory cache.
  8727. - Use a Bloom filter rather than a digest-based set to track which
  8728. descriptors we need to keep around when we're cleaning out old
  8729. router descriptors. This speeds up the computation significantly,
  8730. and may reduce fragmentation.
  8731. - Reduce the default smartlist size from 32 to 16; it turns out that
  8732. most smartlists hold around 8-12 elements tops.
  8733. - Make dumpstats() log the fullness and size of openssl-internal
  8734. buffers.
  8735. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  8736. patch to their OpenSSL, turn it on to save memory on servers. This
  8737. patch will (with any luck) get included in a mainline distribution
  8738. before too long.
  8739. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  8740. compress cells, which are basically all encrypted, compressed,
  8741. or both.
  8742. o Minor bugfixes:
  8743. - Stop reloading the router list from disk for no reason when we
  8744. run out of reachable directory mirrors. Once upon a time reloading
  8745. it would set the 'is_running' flag back to 1 for them. It hasn't
  8746. done that for a long time.
  8747. - In very rare situations new hidden service descriptors were
  8748. published earlier than 30 seconds after the last change to the
  8749. service. (We currently think that a hidden service descriptor
  8750. that's been stable for 30 seconds is worth publishing.)
  8751. o Minor features:
  8752. - Allow separate log levels to be configured for different logging
  8753. domains. For example, this allows one to log all notices, warnings,
  8754. or errors, plus all memory management messages of level debug or
  8755. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  8756. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  8757. and stop using a warning that had become unfixably verbose under
  8758. GCC 4.3.
  8759. - New --hush command-line option similar to --quiet. While --quiet
  8760. disables all logging to the console on startup, --hush limits the
  8761. output to messages of warning and error severity.
  8762. - Servers support a new URL scheme for consensus downloads that
  8763. allows the client to specify which authorities are trusted.
  8764. The server then only sends the consensus if the client will trust
  8765. it. Otherwise a 404 error is sent back. Clients use this
  8766. new scheme when the server supports it (meaning it's running
  8767. 0.2.1.1-alpha or later). Implements proposal 134.
  8768. - New configure/torrc options (--enable-geoip-stats,
  8769. DirRecordUsageByCountry) to record how many IPs we've served
  8770. directory info to in each country code, how many status documents
  8771. total we've sent to each country code, and what share of the total
  8772. directory requests we should expect to see.
  8773. - Use the TLS1 hostname extension to more closely resemble browser
  8774. behavior.
  8775. - Lots of new unit tests.
  8776. - Add a macro to implement the common pattern of iterating through
  8777. two parallel lists in lockstep.
  8778. Changes in version 0.2.0.28-rc - 2008-06-13
  8779. Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
  8780. performance bug, and fixes a bunch of smaller bugs.
  8781. o Anonymity fixes:
  8782. - Fix a bug where, when we were choosing the 'end stream reason' to
  8783. put in our relay end cell that we send to the exit relay, Tor
  8784. clients on Windows were sometimes sending the wrong 'reason'. The
  8785. anonymity problem is that exit relays may be able to guess whether
  8786. the client is running Windows, thus helping partition the anonymity
  8787. set. Down the road we should stop sending reasons to exit relays,
  8788. or otherwise prevent future versions of this bug.
  8789. o Major bugfixes:
  8790. - While setting up a hidden service, some valid introduction circuits
  8791. were overlooked and abandoned. This might be the reason for
  8792. the long delay in making a hidden service available. Bugfix on
  8793. 0.2.0.14-alpha.
  8794. o Minor features:
  8795. - Update to the "June 9 2008" ip-to-country file.
  8796. - Run 'make test' as part of 'make dist', so we stop releasing so
  8797. many development snapshots that fail their unit tests.
  8798. o Minor bugfixes:
  8799. - When we're checking if we have enough dir info for each relay
  8800. to begin establishing circuits, make sure that we actually have
  8801. the descriptor listed in the consensus, not just any descriptor.
  8802. Bugfix on 0.1.2.x.
  8803. - Bridge relays no longer print "xx=0" in their extrainfo document
  8804. for every single country code in the geoip db. Bugfix on
  8805. 0.2.0.27-rc.
  8806. - Only warn when we fail to load the geoip file if we were planning to
  8807. include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
  8808. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  8809. Tor won't realize it should publish a new relay descriptor. Fixes
  8810. bug 688, reported by mfr. Bugfix on 0.1.2.x.
  8811. - When we haven't had any application requests lately, don't bother
  8812. logging that we have expired a bunch of descriptors. Bugfix
  8813. on 0.1.2.x.
  8814. - Make relay cells written on a connection count as non-padding when
  8815. tracking how long a connection has been in use. Bugfix on
  8816. 0.2.0.1-alpha. Spotted by lodger.
  8817. - Fix unit tests in 0.2.0.27-rc.
  8818. - Fix compile on Windows.
  8819. Changes in version 0.2.0.27-rc - 2008-06-03
  8820. Tor 0.2.0.27-rc adds a few features we left out of the earlier
  8821. release candidates. In particular, we now include an IP-to-country
  8822. GeoIP database, so controllers can easily look up what country a
  8823. given relay is in, and so bridge relays can give us some sanitized
  8824. summaries about which countries are making use of bridges. (See proposal
  8825. 126-geoip-fetching.txt for details.)
  8826. o Major features:
  8827. - Include an IP-to-country GeoIP file in the tarball, so bridge
  8828. relays can report sanitized summaries of the usage they're seeing.
  8829. o Minor features:
  8830. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  8831. Robert Hogan. Fixes the first part of bug 681.
  8832. - Make bridge authorities never serve extrainfo docs.
  8833. - Add support to detect Libevent versions in the 1.4.x series
  8834. on mingw.
  8835. - Fix build on gcc 4.3 with --enable-gcc-warnings set.
  8836. - Include a new contrib/tor-exit-notice.html file that exit relay
  8837. operators can put on their website to help reduce abuse queries.
  8838. o Minor bugfixes:
  8839. - When tunneling an encrypted directory connection, and its first
  8840. circuit fails, do not leave it unattached and ask the controller
  8841. to deal. Fixes the second part of bug 681.
  8842. - Make bridge authorities correctly expire old extrainfo documents
  8843. from time to time.
  8844. Changes in version 0.2.0.26-rc - 2008-05-13
  8845. Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
  8846. in Debian's OpenSSL packages. All users running any 0.2.0.x version
  8847. should upgrade, whether they're running Debian or not.
  8848. o Major security fixes:
  8849. - Use new V3 directory authority keys on the tor26, gabelmoo, and
  8850. moria1 V3 directory authorities. The old keys were generated with
  8851. a vulnerable version of Debian's OpenSSL package, and must be
  8852. considered compromised. Other authorities' keys were not generated
  8853. with an affected version of OpenSSL.
  8854. o Major bugfixes:
  8855. - List authority signatures as "unrecognized" based on DirServer
  8856. lines, not on cert cache. Bugfix on 0.2.0.x.
  8857. o Minor features:
  8858. - Add a new V3AuthUseLegacyKey option to make it easier for
  8859. authorities to change their identity keys if they have to.
  8860. Changes in version 0.2.0.25-rc - 2008-04-23
  8861. Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
  8862. o Major bugfixes:
  8863. - Remember to initialize threading before initializing logging.
  8864. Otherwise, many BSD-family implementations will crash hard on
  8865. startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
  8866. o Minor bugfixes:
  8867. - Authorities correctly free policies on bad servers on
  8868. exit. Fixes bug 672. Bugfix on 0.2.0.x.
  8869. Changes in version 0.2.0.24-rc - 2008-04-22
  8870. Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
  8871. v3 directory authority, makes relays with dynamic IP addresses and no
  8872. DirPort notice more quickly when their IP address changes, fixes a few
  8873. rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
  8874. o New directory authorities:
  8875. - Take lefkada out of the list of v3 directory authorities, since
  8876. it has been down for months.
  8877. - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
  8878. authority.
  8879. o Major bugfixes:
  8880. - Detect address changes more quickly on non-directory mirror
  8881. relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
  8882. o Minor features (security):
  8883. - Reject requests for reverse-dns lookup of names that are in
  8884. a private address space. Patch from lodger.
  8885. - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
  8886. from lodger.
  8887. o Minor bugfixes (crashes):
  8888. - Avoid a rare assert that can trigger when Tor doesn't have much
  8889. directory information yet and it tries to fetch a v2 hidden
  8890. service descriptor. Fixes bug 651, reported by nwf.
  8891. - Initialize log mutex before initializing dmalloc. Otherwise,
  8892. running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
  8893. - Use recursive pthread mutexes in order to avoid deadlock when
  8894. logging debug-level messages to a controller. Bug spotted by nwf,
  8895. bugfix on 0.2.0.16-alpha.
  8896. o Minor bugfixes (resource management):
  8897. - Keep address policies from leaking memory: start their refcount
  8898. at 1, not 2. Bugfix on 0.2.0.16-alpha.
  8899. - Free authority certificates on exit, so they don't look like memory
  8900. leaks. Bugfix on 0.2.0.19-alpha.
  8901. - Free static hashtables for policy maps and for TLS connections on
  8902. shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
  8903. - Avoid allocating extra space when computing consensuses on 64-bit
  8904. platforms. Bug spotted by aakova.
  8905. o Minor bugfixes (misc):
  8906. - Do not read the configuration file when we've only been told to
  8907. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  8908. based on patch from Sebastian Hahn.
  8909. - Exit relays that are used as a client can now reach themselves
  8910. using the .exit notation, rather than just launching an infinite
  8911. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  8912. - When attempting to open a logfile fails, tell us why.
  8913. - Fix a dumb bug that was preventing us from knowing that we should
  8914. preemptively build circuits to handle expected directory requests.
  8915. Fixes bug 660. Bugfix on 0.1.2.x.
  8916. - Warn less verbosely about clock skew from netinfo cells from
  8917. untrusted sources. Fixes bug 663.
  8918. - Make controller stream events for DNS requests more consistent,
  8919. by adding "new stream" events for DNS requests, and removing
  8920. spurious "stream closed" events" for cached reverse resolves.
  8921. Patch from mwenge. Fixes bug 646.
  8922. - Correctly notify one-hop connections when a circuit build has
  8923. failed. Possible fix for bug 669. Found by lodger.
  8924. Changes in version 0.2.0.23-rc - 2008-03-24
  8925. Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
  8926. makes bootstrapping faster if the first directory mirror you contact
  8927. is down. The bundles also include the new Vidalia 0.1.2 release.
  8928. o Major bugfixes:
  8929. - When a tunneled directory request is made to a directory server
  8930. that's down, notice after 30 seconds rather than 120 seconds. Also,
  8931. fail any begindir streams that are pending on it, so they can
  8932. retry elsewhere. This was causing multi-minute delays on bootstrap.
  8933. Changes in version 0.2.0.22-rc - 2008-03-18
  8934. Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
  8935. enables encrypted directory connections by default for non-relays, fixes
  8936. some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
  8937. other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
  8938. o Major features:
  8939. - Enable encrypted directory connections by default for non-relays,
  8940. so censor tools that block Tor directory connections based on their
  8941. plaintext patterns will no longer work. This means Tor works in
  8942. certain censored countries by default again.
  8943. o Major bugfixes:
  8944. - Make sure servers always request certificates from clients during
  8945. TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
  8946. - Do not enter a CPU-eating loop when a connection is closed in
  8947. the middle of client-side TLS renegotiation. Fixes bug 622. Bug
  8948. diagnosed by lodger; bugfix on 0.2.0.20-rc.
  8949. - Fix assertion failure that could occur when a blocked circuit
  8950. became unblocked, and it had pending client DNS requests. Bugfix
  8951. on 0.2.0.1-alpha. Fixes bug 632.
  8952. o Minor bugfixes (on 0.1.2.x):
  8953. - Generate "STATUS_SERVER" events rather than misspelled
  8954. "STATUS_SEVER" events. Caught by mwenge.
  8955. - When counting the number of bytes written on a TLS connection,
  8956. look at the BIO actually used for writing to the network, not
  8957. at the BIO used (sometimes) to buffer data for the network.
  8958. Looking at different BIOs could result in write counts on the
  8959. order of ULONG_MAX. Fixes bug 614.
  8960. - On Windows, correctly detect errors when listing the contents of
  8961. a directory. Fix from lodger.
  8962. o Minor bugfixes (on 0.2.0.x):
  8963. - Downgrade "sslv3 alert handshake failure" message to INFO.
  8964. - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
  8965. left BandwidthRate and BandwidthBurst at the default, we would be
  8966. silently limited by those defaults. Now raise them to match the
  8967. RelayBandwidth* values.
  8968. - Fix the SVK version detection logic to work correctly on a branch.
  8969. - Make --enable-openbsd-malloc work correctly on Linux with alpha
  8970. CPUs. Fixes bug 625.
  8971. - Logging functions now check that the passed severity is sane.
  8972. - Use proper log levels in the testsuite call of
  8973. get_interface_address6().
  8974. - When using a nonstandard malloc, do not use the platform values for
  8975. HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
  8976. - Make the openbsd malloc code use 8k pages on alpha CPUs and
  8977. 16k pages on ia64.
  8978. - Detect mismatched page sizes when using --enable-openbsd-malloc.
  8979. - Avoid double-marked-for-close warning when certain kinds of invalid
  8980. .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
  8981. for bug 617. Bugfix on 0.2.0.1-alpha.
  8982. - Make sure that the "NULL-means-reject *:*" convention is followed by
  8983. all the policy manipulation functions, avoiding some possible crash
  8984. bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
  8985. - Fix the implementation of ClientDNSRejectInternalAddresses so that it
  8986. actually works, and doesn't warn about every single reverse lookup.
  8987. Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
  8988. o Minor features:
  8989. - Only log guard node status when guard node status has changed.
  8990. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  8991. make "INFO" 75% less verbose.
  8992. Changes in version 0.2.0.21-rc - 2008-03-02
  8993. Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
  8994. makes Tor work well with Vidalia again, fixes a rare assert bug,
  8995. and fixes a pair of more minor bugs. The bundles also include Vidalia
  8996. 0.1.0 and Torbutton 1.1.16.
  8997. o Major bugfixes:
  8998. - The control port should declare that it requires password auth
  8999. when HashedControlSessionPassword is set too. Patch from Matt Edman;
  9000. bugfix on 0.2.0.20-rc. Fixes bug 615.
  9001. - Downgrade assert in connection_buckets_decrement() to a log message.
  9002. This may help us solve bug 614, and in any case will make its
  9003. symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
  9004. - We were sometimes miscounting the number of bytes read from the
  9005. network, causing our rate limiting to not be followed exactly.
  9006. Bugfix on 0.2.0.16-alpha. Reported by lodger.
  9007. o Minor bugfixes:
  9008. - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
  9009. OpenSSL versions should have been working fine. Diagnosis and patch
  9010. from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
  9011. Bugfix on 0.2.0.20-rc.
  9012. Changes in version 0.2.0.20-rc - 2008-02-24
  9013. Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
  9014. makes more progress towards normalizing Tor's TLS handshake, makes
  9015. hidden services work better again, helps relays bootstrap if they don't
  9016. know their IP address, adds optional support for linking in openbsd's
  9017. allocator or tcmalloc, allows really fast relays to scale past 15000
  9018. sockets, and fixes a bunch of minor bugs reported by Veracode.
  9019. o Major features:
  9020. - Enable the revised TLS handshake based on the one designed by
  9021. Steven Murdoch in proposal 124, as revised in proposal 130. It
  9022. includes version negotiation for OR connections as described in
  9023. proposal 105. The new handshake is meant to be harder for censors
  9024. to fingerprint, and it adds the ability to detect certain kinds of
  9025. man-in-the-middle traffic analysis attacks. The version negotiation
  9026. feature will allow us to improve Tor's link protocol more safely
  9027. in the future.
  9028. - Choose which bridge to use proportional to its advertised bandwidth,
  9029. rather than uniformly at random. This should speed up Tor for
  9030. bridge users. Also do this for people who set StrictEntryNodes.
  9031. - When a TrackHostExits-chosen exit fails too many times in a row,
  9032. stop using it. Bugfix on 0.1.2.x; fixes bug 437.
  9033. o Major bugfixes:
  9034. - Resolved problems with (re-)fetching hidden service descriptors.
  9035. Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
  9036. and 0.2.0.19-alpha.
  9037. - If we only ever used Tor for hidden service lookups or posts, we
  9038. would stop building circuits and start refusing connections after
  9039. 24 hours, since we falsely believed that Tor was dormant. Reported
  9040. by nwf; bugfix on 0.1.2.x.
  9041. - Servers that don't know their own IP address should go to the
  9042. authorities for their first directory fetch, even if their DirPort
  9043. is off or if they don't know they're reachable yet. This will help
  9044. them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
  9045. - When counting the number of open sockets, count not only the number
  9046. of sockets we have received from the socket() call, but also
  9047. the number we've gotten from accept() and socketpair(). This bug
  9048. made us fail to count all sockets that we were using for incoming
  9049. connections. Bugfix on 0.2.0.x.
  9050. - Fix code used to find strings within buffers, when those strings
  9051. are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
  9052. - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
  9053. - Add a new __HashedControlSessionPassword option for controllers
  9054. to use for one-off session password hashes that shouldn't get
  9055. saved to disk by SAVECONF --- Vidalia users were accumulating a
  9056. pile of HashedControlPassword lines in their torrc files, one for
  9057. each time they had restarted Tor and then clicked Save. Make Tor
  9058. automatically convert "HashedControlPassword" to this new option but
  9059. only when it's given on the command line. Partial fix for bug 586.
  9060. o Minor features (performance):
  9061. - Tune parameters for cell pool allocation to minimize amount of
  9062. RAM overhead used.
  9063. - Add OpenBSD malloc code from phk as an optional malloc
  9064. replacement on Linux: some glibc libraries do very poorly
  9065. with Tor's memory allocation patterns. Pass
  9066. --enable-openbsd-malloc to get the replacement malloc code.
  9067. - Add a --with-tcmalloc option to the configure script to link
  9068. against tcmalloc (if present). Does not yet search for
  9069. non-system include paths.
  9070. - Stop imposing an arbitrary maximum on the number of file descriptors
  9071. used for busy servers. Bug reported by Olaf Selke; patch from
  9072. Sebastian Hahn.
  9073. o Minor features (other):
  9074. - When SafeLogging is disabled, log addresses along with all TLS
  9075. errors.
  9076. - When building with --enable-gcc-warnings, check for whether Apple's
  9077. warning "-Wshorten-64-to-32" is available.
  9078. - Add a --passphrase-fd argument to the tor-gencert command for
  9079. scriptability.
  9080. o Minor bugfixes (memory leaks and code problems):
  9081. - We were leaking a file descriptor if Tor started with a zero-length
  9082. cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
  9083. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  9084. Dan Kaminsky.
  9085. - We were comparing the raw BridgePassword entry with a base64'ed
  9086. version of it, when handling a "/tor/networkstatus-bridges"
  9087. directory request. Now compare correctly. Noticed by Veracode.
  9088. - Recover from bad tracked-since value in MTBF-history file.
  9089. Should fix bug 537.
  9090. - Alter the code that tries to recover from unhandled write
  9091. errors, to not try to flush onto a socket that's given us
  9092. unhandled errors. Bugfix on 0.1.2.x.
  9093. - Make Unix controlsockets work correctly on OpenBSD. Patch from
  9094. tup. Bugfix on 0.2.0.3-alpha.
  9095. o Minor bugfixes (other):
  9096. - If we have an extra-info document for our server, always make
  9097. it available on the control port, even if we haven't gotten
  9098. a copy of it from an authority yet. Patch from mwenge.
  9099. - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
  9100. - Directory mirrors no longer include a guess at the client's IP
  9101. address if the connection appears to be coming from the same /24
  9102. network; it was producing too many wrong guesses.
  9103. - Make the new hidden service code respect the SafeLogging setting.
  9104. Bugfix on 0.2.0.x. Patch from Karsten.
  9105. - When starting as an authority, do not overwrite all certificates
  9106. cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
  9107. - If we're trying to flush the last bytes on a connection (for
  9108. example, when answering a directory request), reset the
  9109. time-to-give-up timeout every time we manage to write something
  9110. on the socket. Bugfix on 0.1.2.x.
  9111. - Change the behavior of "getinfo status/good-server-descriptor"
  9112. so it doesn't return failure when any authority disappears.
  9113. - Even though the man page said that "TrackHostExits ." should
  9114. work, nobody had ever implemented it. Bugfix on 0.1.0.x.
  9115. - Report TLS "zero return" case as a "clean close" and "IO error"
  9116. as a "close". Stop calling closes "unexpected closes": existing
  9117. Tors don't use SSL_close(), so having a connection close without
  9118. the TLS shutdown handshake is hardly unexpected.
  9119. - Send NAMESERVER_STATUS messages for a single failed nameserver
  9120. correctly.
  9121. o Code simplifications and refactoring:
  9122. - Remove the tor_strpartition function: its logic was confused,
  9123. and it was only used for one thing that could be implemented far
  9124. more easily.
  9125. Changes in version 0.2.0.19-alpha - 2008-02-09
  9126. Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
  9127. handshake, makes path selection for relays more secure and IP address
  9128. guessing more robust, and generally fixes a lot of bugs in preparation
  9129. for calling the 0.2.0 branch stable.
  9130. o Major features:
  9131. - Do not include recognizeable strings in the commonname part of
  9132. Tor's x509 certificates.
  9133. o Major bugfixes:
  9134. - If we're a relay, avoid picking ourselves as an introduction point,
  9135. a rendezvous point, or as the final hop for internal circuits. Bug
  9136. reported by taranis and lodger. Bugfix on 0.1.2.x.
  9137. - Patch from "Andrew S. Lists" to catch when we contact a directory
  9138. mirror at IP address X and he says we look like we're coming from
  9139. IP address X. Bugfix on 0.1.2.x.
  9140. o Minor features (security):
  9141. - Be more paranoid about overwriting sensitive memory on free(),
  9142. as a defensive programming tactic to ensure forward secrecy.
  9143. o Minor features (directory authority):
  9144. - Actually validate the options passed to AuthDirReject,
  9145. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  9146. - Reject router descriptors with out-of-range bandwidthcapacity or
  9147. bandwidthburst values.
  9148. o Minor features (controller):
  9149. - Reject controller commands over 1MB in length. This keeps rogue
  9150. processes from running us out of memory.
  9151. o Minor features (misc):
  9152. - Give more descriptive well-formedness errors for out-of-range
  9153. hidden service descriptor/protocol versions.
  9154. - Make memory debugging information describe more about history
  9155. of cell allocation, so we can help reduce our memory use.
  9156. o Deprecated features (controller):
  9157. - The status/version/num-versioning and status/version/num-concurring
  9158. GETINFO options are no longer useful in the v3 directory protocol:
  9159. treat them as deprecated, and warn when they're used.
  9160. o Minor bugfixes:
  9161. - When our consensus networkstatus has been expired for a while, stop
  9162. being willing to build circuits using it. Fixes bug 401. Bugfix
  9163. on 0.1.2.x.
  9164. - Directory caches now fetch certificates from all authorities
  9165. listed in a networkstatus consensus, even when they do not
  9166. recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
  9167. - When connecting to a bridge without specifying its key, insert
  9168. the connection into the identity-to-connection map as soon as
  9169. a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
  9170. - Detect versions of OS X where malloc_good_size() is present in the
  9171. library but never actually declared. Resolves bug 587. Bugfix
  9172. on 0.2.0.x.
  9173. - Stop incorrectly truncating zlib responses to directory authority
  9174. signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
  9175. - Stop recommending that every server operator send mail to tor-ops.
  9176. Resolves bug 597. Bugfix on 0.1.2.x.
  9177. - Don't trigger an assert if we start a directory authority with a
  9178. private IP address (like 127.0.0.1).
  9179. - Avoid possible failures when generating a directory with routers
  9180. with over-long versions strings, or too many flags set. Bugfix
  9181. on 0.1.2.x.
  9182. - If an attempt to launch a DNS resolve request over the control
  9183. port fails because we have overrun the limit on the number of
  9184. connections, tell the controller that the request has failed.
  9185. - Avoid using too little bandwidth when our clock skips a few
  9186. seconds. Bugfix on 0.1.2.x.
  9187. - Fix shell error when warning about missing packages in configure
  9188. script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
  9189. - Do not become confused when receiving a spurious VERSIONS-like
  9190. cell from a confused v1 client. Bugfix on 0.2.0.x.
  9191. - Re-fetch v2 (as well as v0) rendezvous descriptors when all
  9192. introduction points for a hidden service have failed. Patch from
  9193. Karsten Loesing. Bugfix on 0.2.0.x.
  9194. o Code simplifications and refactoring:
  9195. - Remove some needless generality from cpuworker code, for improved
  9196. type-safety.
  9197. - Stop overloading the circuit_t.onionskin field for both "onionskin
  9198. from a CREATE cell that we are waiting for a cpuworker to be
  9199. assigned" and "onionskin from an EXTEND cell that we are going to
  9200. send to an OR as soon as we are connected". Might help with bug 600.
  9201. - Add an in-place version of aes_crypt() so that we can avoid doing a
  9202. needless memcpy() call on each cell payload.
  9203. Changes in version 0.2.0.18-alpha - 2008-01-25
  9204. Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
  9205. fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
  9206. that can warn or reject connections to ports generally associated with
  9207. vulnerable-plaintext protocols.
  9208. o New directory authorities:
  9209. - Set up dannenberg (run by CCC) as the sixth v3 directory
  9210. authority.
  9211. o Major bugfixes:
  9212. - Fix a major memory leak when attempting to use the v2 TLS
  9213. handshake code. Bugfix on 0.2.0.x; fixes bug 589.
  9214. - We accidentally enabled the under-development v2 TLS handshake
  9215. code, which was causing log entries like "TLS error while
  9216. renegotiating handshake". Disable it again. Resolves bug 590.
  9217. - We were computing the wrong Content-Length: header for directory
  9218. responses that need to be compressed on the fly, causing clients
  9219. asking for those items to always fail. Bugfix on 0.2.0.x; partially
  9220. fixes bug 593.
  9221. o Major features:
  9222. - Avoid going directly to the directory authorities even if you're a
  9223. relay, if you haven't found yourself reachable yet or if you've
  9224. decided not to advertise your dirport yet. Addresses bug 556.
  9225. - If we've gone 12 hours since our last bandwidth check, and we
  9226. estimate we have less than 50KB bandwidth capacity but we could
  9227. handle more, do another bandwidth test.
  9228. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  9229. Tor can warn and/or refuse connections to ports commonly used with
  9230. vulnerable-plaintext protocols. Currently we warn on ports 23,
  9231. 109, 110, and 143, but we don't reject any.
  9232. o Minor bugfixes:
  9233. - When we setconf ClientOnly to 1, close any current OR and Dir
  9234. listeners. Reported by mwenge.
  9235. - When we get a consensus that's been signed by more people than
  9236. we expect, don't log about it; it's not a big deal. Reported
  9237. by Kyle Williams.
  9238. o Minor features:
  9239. - Don't answer "/tor/networkstatus-bridges" directory requests if
  9240. the request isn't encrypted.
  9241. - Make "ClientOnly 1" config option disable directory ports too.
  9242. - Patches from Karsten Loesing to make v2 hidden services more
  9243. robust: work even when there aren't enough HSDir relays available;
  9244. retry when a v2 rend desc fetch fails; but don't retry if we
  9245. already have a usable v0 rend desc.
  9246. Changes in version 0.2.0.17-alpha - 2008-01-17
  9247. Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
  9248. o Compile fixes:
  9249. - Make the tor-gencert man page get included correctly in the tarball.
  9250. Changes in version 0.2.0.16-alpha - 2008-01-17
  9251. Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
  9252. Loesing, and generally cleans up a lot of features and minor bugs.
  9253. o New directory authorities:
  9254. - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
  9255. authority.
  9256. o Major performance improvements:
  9257. - Switch our old ring buffer implementation for one more like that
  9258. used by free Unix kernels. The wasted space in a buffer with 1mb
  9259. of data will now be more like 8k than 1mb. The new implementation
  9260. also avoids realloc();realloc(); patterns that can contribute to
  9261. memory fragmentation.
  9262. o Minor features:
  9263. - Configuration files now accept C-style strings as values. This
  9264. helps encode characters not allowed in the current configuration
  9265. file format, such as newline or #. Addresses bug 557.
  9266. - Although we fixed bug 539 (where servers would send HTTP status 503
  9267. responses _and_ send a body too), there are still servers out
  9268. there that haven't upgraded. Therefore, make clients parse such
  9269. bodies when they receive them.
  9270. - When we're not serving v2 directory information, there is no reason
  9271. to actually keep any around. Remove the obsolete files and directory
  9272. on startup if they are very old and we aren't going to serve them.
  9273. o Minor performance improvements:
  9274. - Reference-count and share copies of address policy entries; only 5%
  9275. of them were actually distinct.
  9276. - Never walk through the list of logs if we know that no log is
  9277. interested in a given message.
  9278. o Minor bugfixes:
  9279. - When an authority has not signed a consensus, do not try to
  9280. download a nonexistent "certificate with key 00000000". Bugfix
  9281. on 0.2.0.x. Fixes bug 569.
  9282. - Fix a rare assert error when we're closing one of our threads:
  9283. use a mutex to protect the list of logs, so we never write to the
  9284. list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
  9285. bug 575, which is kind of the revenge of bug 222.
  9286. - Patch from Karsten Loesing to complain less at both the client
  9287. and the relay when a relay used to have the HSDir flag but doesn't
  9288. anymore, and we try to upload a hidden service descriptor.
  9289. - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
  9290. 0.2.0.15-alpha.
  9291. - Do not try to download missing certificates until we have tried
  9292. to check our fallback consensus. Fixes bug 583.
  9293. - Make bridges round reported GeoIP stats info up to the nearest
  9294. estimate, not down. Now we can distinguish between "0 people from
  9295. this country" and "1 person from this country".
  9296. - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
  9297. - Avoid possible segfault if key generation fails in
  9298. crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
  9299. - Avoid segfault in the case where a badly behaved v2 versioning
  9300. directory sends a signed networkstatus with missing client-versions.
  9301. Bugfix on 0.1.2.
  9302. - Avoid segfaults on certain complex invocations of
  9303. router_get_by_hexdigest(). Bugfix on 0.1.2.
  9304. - Correct bad index on array access in parse_http_time(). Bugfix
  9305. on 0.2.0.
  9306. - Fix possible bug in vote generation when server versions are present
  9307. but client versions are not.
  9308. - Fix rare bug on REDIRECTSTREAM control command when called with no
  9309. port set: it could erroneously report an error when none had
  9310. happened.
  9311. - Avoid bogus crash-prone, leak-prone tor_realloc when we're
  9312. compressing large objects and find ourselves with more than 4k
  9313. left over. Bugfix on 0.2.0.
  9314. - Fix a small memory leak when setting up a hidden service.
  9315. - Fix a few memory leaks that could in theory happen under bizarre
  9316. error conditions.
  9317. - Fix an assert if we post a general-purpose descriptor via the
  9318. control port but that descriptor isn't mentioned in our current
  9319. network consensus. Bug reported by Jon McLachlan; bugfix on
  9320. 0.2.0.9-alpha.
  9321. o Minor features (controller):
  9322. - Get NS events working again. Patch from tup.
  9323. - The GETCONF command now escapes and quotes configuration values
  9324. that don't otherwise fit into the torrc file.
  9325. - The SETCONF command now handles quoted values correctly.
  9326. o Minor features (directory authorities):
  9327. - New configuration options to override default maximum number of
  9328. servers allowed on a single IP address. This is important for
  9329. running a test network on a single host.
  9330. - Actually implement the -s option to tor-gencert.
  9331. - Add a manual page for tor-gencert.
  9332. o Minor features (bridges):
  9333. - Bridge authorities no longer serve bridge descriptors over
  9334. unencrypted connections.
  9335. o Minor features (other):
  9336. - Add hidden services and DNSPorts to the list of things that make
  9337. Tor accept that it has running ports. Change starting Tor with no
  9338. ports from a fatal error to a warning; we might change it back if
  9339. this turns out to confuse anybody. Fixes bug 579.
  9340. Changes in version 0.1.2.19 - 2008-01-17
  9341. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  9342. exit policy a little bit more conservative so it's safer to run an
  9343. exit relay on a home system, and fixes a variety of smaller issues.
  9344. o Security fixes:
  9345. - Exit policies now reject connections that are addressed to a
  9346. relay's public (external) IP address too, unless
  9347. ExitPolicyRejectPrivate is turned off. We do this because too
  9348. many relays are running nearby to services that trust them based
  9349. on network address.
  9350. o Major bugfixes:
  9351. - When the clock jumps forward a lot, do not allow the bandwidth
  9352. buckets to become negative. Fixes bug 544.
  9353. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  9354. on every successful resolve. Reported by Mike Perry.
  9355. - Purge old entries from the "rephist" database and the hidden
  9356. service descriptor database even when DirPort is zero.
  9357. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  9358. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  9359. crashing or mis-answering these requests.
  9360. - When we decide to send a 503 response to a request for servers, do
  9361. not then also send the server descriptors: this defeats the whole
  9362. purpose. Fixes bug 539.
  9363. o Minor bugfixes:
  9364. - Changing the ExitPolicyRejectPrivate setting should cause us to
  9365. rebuild our server descriptor.
  9366. - Fix handling of hex nicknames when answering controller requests for
  9367. networkstatus by name, or when deciding whether to warn about
  9368. unknown routers in a config option. (Patch from mwenge.)
  9369. - Fix a couple of hard-to-trigger autoconf problems that could result
  9370. in really weird results on platforms whose sys/types.h files define
  9371. nonstandard integer types.
  9372. - Don't try to create the datadir when running --verify-config or
  9373. --hash-password. Resolves bug 540.
  9374. - If we were having problems getting a particular descriptor from the
  9375. directory caches, and then we learned about a new descriptor for
  9376. that router, we weren't resetting our failure count. Reported
  9377. by lodger.
  9378. - Although we fixed bug 539 (where servers would send HTTP status 503
  9379. responses _and_ send a body too), there are still servers out there
  9380. that haven't upgraded. Therefore, make clients parse such bodies
  9381. when they receive them.
  9382. - Run correctly on systems where rlim_t is larger than unsigned long.
  9383. This includes some 64-bit systems.
  9384. - Run correctly on platforms (like some versions of OS X 10.5) where
  9385. the real limit for number of open files is OPEN_FILES, not rlim_max
  9386. from getrlimit(RLIMIT_NOFILES).
  9387. - Avoid a spurious free on base64 failure.
  9388. - Avoid segfaults on certain complex invocations of
  9389. router_get_by_hexdigest().
  9390. - Fix rare bug on REDIRECTSTREAM control command when called with no
  9391. port set: it could erroneously report an error when none had
  9392. happened.
  9393. Changes in version 0.2.0.15-alpha - 2007-12-25
  9394. Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
  9395. features added in 0.2.0.13-alpha.
  9396. o Major bugfixes:
  9397. - Fix several remotely triggerable asserts based on DirPort requests
  9398. for a v2 or v3 networkstatus object before we were prepared. This
  9399. was particularly bad for 0.2.0.13 and later bridge relays, who
  9400. would never have a v2 networkstatus and would thus always crash
  9401. when used. Bugfixes on 0.2.0.x.
  9402. - Estimate the v3 networkstatus size more accurately, rather than
  9403. estimating it at zero bytes and giving it artificially high priority
  9404. compared to other directory requests. Bugfix on 0.2.0.x.
  9405. o Minor bugfixes:
  9406. - Fix configure.in logic for cross-compilation.
  9407. - When we load a bridge descriptor from the cache, and it was
  9408. previously unreachable, mark it as retriable so we won't just
  9409. ignore it. Also, try fetching a new copy immediately. Bugfixes
  9410. on 0.2.0.13-alpha.
  9411. - The bridge GeoIP stats were counting other relays, for example
  9412. self-reachability and authority-reachability tests.
  9413. o Minor features:
  9414. - Support compilation to target iPhone; patch from cjacker huang.
  9415. To build for iPhone, pass the --enable-iphone option to configure.
  9416. Changes in version 0.2.0.14-alpha - 2007-12-23
  9417. o Major bugfixes:
  9418. - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
  9419. without a datadirectory from a previous Tor install. Reported
  9420. by Zax.
  9421. - Fix a crash when we fetch a descriptor that turns out to be
  9422. unexpected (it used to be in our networkstatus when we started
  9423. fetching it, but it isn't in our current networkstatus), and we
  9424. aren't using bridges. Bugfix on 0.2.0.x.
  9425. - Fix a crash when accessing hidden services: it would work the first
  9426. time you use a given introduction point for your service, but
  9427. on subsequent requests we'd be using garbage memory. Fixed by
  9428. Karsten Loesing. Bugfix on 0.2.0.13-alpha.
  9429. - Fix a crash when we load a bridge descriptor from disk but we don't
  9430. currently have a Bridge line for it in our torrc. Bugfix on
  9431. 0.2.0.13-alpha.
  9432. o Major features:
  9433. - If bridge authorities set BridgePassword, they will serve a
  9434. snapshot of known bridge routerstatuses from their DirPort to
  9435. anybody who knows that password. Unset by default.
  9436. o Minor bugfixes:
  9437. - Make the unit tests build again.
  9438. - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
  9439. - Make PublishServerDescriptor default to 1, so the default doesn't
  9440. have to change as we invent new directory protocol versions.
  9441. - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
  9442. be included unless sys/time.h is already included. Fixes
  9443. bug 553. Bugfix on 0.2.0.x.
  9444. - If we receive a general-purpose descriptor and then receive an
  9445. identical bridge-purpose descriptor soon after, don't discard
  9446. the next one as a duplicate.
  9447. o Minor features:
  9448. - If BridgeRelay is set to 1, then the default for
  9449. PublishServerDescriptor is now "bridge" rather than "v2,v3".
  9450. - If the user sets RelayBandwidthRate but doesn't set
  9451. RelayBandwidthBurst, then make them equal rather than erroring out.
  9452. Changes in version 0.2.0.13-alpha - 2007-12-21
  9453. Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
  9454. Goodell, fixes many more bugs, and adds a lot of infrastructure for
  9455. upcoming features.
  9456. o New directory authorities:
  9457. - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
  9458. authority.
  9459. o Major bugfixes:
  9460. - Only update guard status (usable / not usable) once we have
  9461. enough directory information. This was causing us to always pick
  9462. two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
  9463. causing us to discard all our guards on startup if we hadn't been
  9464. running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
  9465. - Purge old entries from the "rephist" database and the hidden
  9466. service descriptor databases even when DirPort is zero. Bugfix
  9467. on 0.1.2.x.
  9468. - We were ignoring our RelayBandwidthRate for the first 30 seconds
  9469. after opening a circuit -- even a relayed circuit. Bugfix on
  9470. 0.2.0.3-alpha.
  9471. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  9472. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  9473. crashing or mis-answering these types of requests.
  9474. - Relays were publishing their server descriptor to v1 and v2
  9475. directory authorities, but they didn't try publishing to v3-only
  9476. authorities. Fix this; and also stop publishing to v1 authorities.
  9477. Bugfix on 0.2.0.x.
  9478. - When we were reading router descriptors from cache, we were ignoring
  9479. the annotations -- so for example we were reading in bridge-purpose
  9480. descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
  9481. - When we decided to send a 503 response to a request for servers, we
  9482. were then also sending the server descriptors: this defeats the
  9483. whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
  9484. o Major features:
  9485. - Bridge relays now behave like clients with respect to time
  9486. intervals for downloading new consensus documents -- otherwise they
  9487. stand out. Bridge users now wait until the end of the interval,
  9488. so their bridge relay will be sure to have a new consensus document.
  9489. - Three new config options (AlternateDirAuthority,
  9490. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  9491. user selectively replace the default directory authorities by type,
  9492. rather than the all-or-nothing replacement that DirServer offers.
  9493. - Tor can now be configured to read a GeoIP file from disk in one
  9494. of two formats. This can be used by controllers to map IP addresses
  9495. to countries. Eventually, it may support exit-by-country.
  9496. - When possible, bridge relays remember which countries users
  9497. are coming from, and report aggregate information in their
  9498. extra-info documents, so that the bridge authorities can learn
  9499. where Tor is blocked.
  9500. - Bridge directory authorities now do reachability testing on the
  9501. bridges they know. They provide router status summaries to the
  9502. controller via "getinfo ns/purpose/bridge", and also dump summaries
  9503. to a file periodically.
  9504. - Stop fetching directory info so aggressively if your DirPort is
  9505. on but your ORPort is off; stop fetching v2 dir info entirely.
  9506. You can override these choices with the new FetchDirInfoEarly
  9507. config option.
  9508. o Minor bugfixes:
  9509. - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
  9510. consensus documents when there are too many relays at a single
  9511. IP address. Now clear it in v2 network status documents too, and
  9512. also clear it in routerinfo_t when the relay is no longer listed
  9513. in the relevant networkstatus document.
  9514. - Don't crash if we get an unexpected value for the
  9515. PublishServerDescriptor config option. Reported by Matt Edman;
  9516. bugfix on 0.2.0.9-alpha.
  9517. - Our new v2 hidden service descriptor format allows descriptors
  9518. that have no introduction points. But Tor crashed when we tried
  9519. to build a descriptor with no intro points (and it would have
  9520. crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
  9521. by Karsten Loesing.
  9522. - Fix building with dmalloc 5.5.2 with glibc.
  9523. - Reject uploaded descriptors and extrainfo documents if they're
  9524. huge. Otherwise we'll cache them all over the network and it'll
  9525. clog everything up. Reported by Aljosha Judmayer.
  9526. - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
  9527. via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
  9528. - When the DANGEROUS_VERSION controller status event told us we're
  9529. running an obsolete version, it used the string "OLD" to describe
  9530. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  9531. "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
  9532. - If we can't expand our list of entry guards (e.g. because we're
  9533. using bridges or we have StrictEntryNodes set), don't mark relays
  9534. down when they fail a directory request. Otherwise we're too quick
  9535. to mark all our entry points down. Bugfix on 0.1.2.x.
  9536. - Fix handling of hex nicknames when answering controller requests for
  9537. networkstatus by name, or when deciding whether to warn about unknown
  9538. routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
  9539. - Fix a couple of hard-to-trigger autoconf problems that could result
  9540. in really weird results on platforms whose sys/types.h files define
  9541. nonstandard integer types. Bugfix on 0.1.2.x.
  9542. - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
  9543. - Don't crash on name lookup when we have no current consensus. Fixes
  9544. bug 538; bugfix on 0.2.0.x.
  9545. - Only Tors that want to mirror the v2 directory info should
  9546. create the "cached-status" directory in their datadir. (All Tors
  9547. used to create it.) Bugfix on 0.2.0.9-alpha.
  9548. - Directory authorities should only automatically download Extra Info
  9549. documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
  9550. o Minor features:
  9551. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  9552. consumers. (We already do this on HUP.)
  9553. - Authorities and caches fetch the v2 networkstatus documents
  9554. less often, now that v3 is encouraged.
  9555. - Add a new config option BridgeRelay that specifies you want to
  9556. be a bridge relay. Right now the only difference is that it makes
  9557. you answer begin_dir requests, and it makes you cache dir info,
  9558. even if your DirPort isn't on.
  9559. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  9560. ask about source, timestamp of arrival, purpose, etc. We need
  9561. something like this to help Vidalia not do GeoIP lookups on bridge
  9562. addresses.
  9563. - Allow multiple HashedControlPassword config lines, to support
  9564. multiple controller passwords.
  9565. - Authorities now decide whether they're authoritative for a given
  9566. router based on the router's purpose.
  9567. - New config options AuthDirBadDir and AuthDirListBadDirs for
  9568. authorities to mark certain relays as "bad directories" in the
  9569. networkstatus documents. Also supports the "!baddir" directive in
  9570. the approved-routers file.
  9571. Changes in version 0.2.0.12-alpha - 2007-11-16
  9572. This twelfth development snapshot fixes some more build problems as
  9573. well as a few minor bugs.
  9574. o Compile fixes:
  9575. - Make it build on OpenBSD again. Patch from tup.
  9576. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
  9577. package-building for Red Hat, OS X, etc.
  9578. o Minor bugfixes (on 0.1.2.x):
  9579. - Changing the ExitPolicyRejectPrivate setting should cause us to
  9580. rebuild our server descriptor.
  9581. o Minor bugfixes (on 0.2.0.x):
  9582. - When we're lacking a consensus, don't try to perform rendezvous
  9583. operations. Reported by Karsten Loesing.
  9584. - Fix a small memory leak whenever we decide against using a
  9585. newly picked entry guard. Reported by Mike Perry.
  9586. - When authorities detected more than two relays running on the same
  9587. IP address, they were clearing all the status flags but forgetting
  9588. to clear the "hsdir" flag. So clients were being told that a
  9589. given relay was the right choice for a v2 hsdir lookup, yet they
  9590. never had its descriptor because it was marked as 'not running'
  9591. in the consensus.
  9592. - If we're trying to fetch a bridge descriptor and there's no way
  9593. the bridge authority could help us (for example, we don't know
  9594. a digest, or there is no bridge authority), don't be so eager to
  9595. fall back to asking the bridge authority.
  9596. - If we're using bridges or have strictentrynodes set, and our
  9597. chosen exit is in the same family as all our bridges/entry guards,
  9598. then be flexible about families.
  9599. o Minor features:
  9600. - When we negotiate a v2 link-layer connection (not yet implemented),
  9601. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  9602. negotiated a v1 connection for their next step. Initial code for
  9603. proposal 110.
  9604. Changes in version 0.2.0.11-alpha - 2007-11-12
  9605. This eleventh development snapshot fixes some build problems with
  9606. the previous snapshot. It also includes a more secure-by-default exit
  9607. policy for relays, fixes an enormous memory leak for exit relays, and
  9608. fixes another bug where servers were falling out of the directory list.
  9609. o Security fixes:
  9610. - Exit policies now reject connections that are addressed to a
  9611. relay's public (external) IP address too, unless
  9612. ExitPolicyRejectPrivate is turned off. We do this because too
  9613. many relays are running nearby to services that trust them based
  9614. on network address. Bugfix on 0.1.2.x.
  9615. o Major bugfixes:
  9616. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  9617. on every successful resolve. Reported by Mike Perry; bugfix
  9618. on 0.1.2.x.
  9619. - On authorities, never downgrade to old router descriptors simply
  9620. because they're listed in the consensus. This created a catch-22
  9621. where we wouldn't list a new descriptor because there was an
  9622. old one in the consensus, and we couldn't get the new one in the
  9623. consensus because we wouldn't list it. Possible fix for bug 548.
  9624. Also, this might cause bug 543 to appear on authorities; if so,
  9625. we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
  9626. o Packaging fixes on 0.2.0.10-alpha:
  9627. - We were including instructions about what to do with the
  9628. src/config/fallback-consensus file, but we weren't actually
  9629. including it in the tarball. Disable all of that for now.
  9630. o Minor features:
  9631. - Allow people to say PreferTunnelledDirConns rather than
  9632. PreferTunneledDirConns, for those alternate-spellers out there.
  9633. o Minor bugfixes:
  9634. - Don't reevaluate all the information from our consensus document
  9635. just because we've downloaded a v2 networkstatus that we intend
  9636. to cache. Fixes bug 545; bugfix on 0.2.0.x.
  9637. Changes in version 0.2.0.10-alpha - 2007-11-10
  9638. This tenth development snapshot adds a third v3 directory authority
  9639. run by Mike Perry, adds most of Karsten Loesing's new hidden service
  9640. descriptor format, fixes a bad crash bug and new bridge bugs introduced
  9641. in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
  9642. fixes some minor memory leaks in previous 0.2.0.x snapshots, and
  9643. addresses many more minor issues.
  9644. o New directory authorities:
  9645. - Set up ides (run by Mike Perry) as the third v3 directory authority.
  9646. o Major features:
  9647. - Allow tunnelled directory connections to ask for an encrypted
  9648. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  9649. connection independently. Now we can make anonymized begin_dir
  9650. connections for (e.g.) more secure hidden service posting and
  9651. fetching.
  9652. - More progress on proposal 114: code from Karsten Loesing to
  9653. implement new hidden service descriptor format.
  9654. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  9655. accommodate the growing number of servers that use the default
  9656. and are reaching it.
  9657. - Directory authorities use a new formula for selecting which nodes
  9658. to advertise as Guards: they must be in the top 7/8 in terms of
  9659. how long we have known about them, and above the median of those
  9660. nodes in terms of weighted fractional uptime.
  9661. - Make "not enough dir info yet" warnings describe *why* Tor feels
  9662. it doesn't have enough directory info yet.
  9663. o Major bugfixes:
  9664. - Stop servers from crashing if they set a Family option (or
  9665. maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
  9666. by Fabian Keil.
  9667. - Make bridge users work again -- the move to v3 directories in
  9668. 0.2.0.9-alpha had introduced a number of bugs that made bridges
  9669. no longer work for clients.
  9670. - When the clock jumps forward a lot, do not allow the bandwidth
  9671. buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
  9672. o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
  9673. - When the consensus lists a router descriptor that we previously were
  9674. mirroring, but that we considered non-canonical, reload the
  9675. descriptor as canonical. This fixes bug 543 where Tor servers
  9676. would start complaining after a few days that they don't have
  9677. enough directory information to build a circuit.
  9678. - Consider replacing the current consensus when certificates arrive
  9679. that make the pending consensus valid. Previously, we were only
  9680. considering replacement when the new certs _didn't_ help.
  9681. - Fix an assert error on startup if we didn't already have the
  9682. consensus and certs cached in our datadirectory: we were caching
  9683. the consensus in consensus_waiting_for_certs but then free'ing it
  9684. right after.
  9685. - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
  9686. Request) if we need more v3 certs but we've already got pending
  9687. requests for all of them.
  9688. - Correctly back off from failing certificate downloads. Fixes
  9689. bug 546.
  9690. - Authorities don't vote on the Running flag if they have been running
  9691. for less than 30 minutes themselves. Fixes bug 547, where a newly
  9692. started authority would vote that everyone was down.
  9693. o New requirements:
  9694. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  9695. it, it had no AES, and it hasn't seen any security patches since
  9696. 2004.
  9697. o Minor features:
  9698. - Clients now hold circuitless TLS connections open for 1.5 times
  9699. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  9700. rebuild a new circuit over them within that timeframe. Previously,
  9701. they held them open only for KeepalivePeriod (5 minutes).
  9702. - Use "If-Modified-Since" to avoid retrieving consensus
  9703. networkstatuses that we already have.
  9704. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  9705. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  9706. we start knowing some directory caches.
  9707. - When we receive a consensus from the future, warn about skew.
  9708. - Improve skew reporting: try to give the user a better log message
  9709. about how skewed they are, and how much this matters.
  9710. - When we have a certificate for an authority, believe that
  9711. certificate's claims about the authority's IP address.
  9712. - New --quiet command-line option to suppress the default console log.
  9713. Good in combination with --hash-password.
  9714. - Authorities send back an X-Descriptor-Not-New header in response to
  9715. an accepted-but-discarded descriptor upload. Partially implements
  9716. fix for bug 535.
  9717. - Make the log message for "tls error. breaking." more useful.
  9718. - Better log messages about certificate downloads, to attempt to
  9719. track down the second incarnation of bug 546.
  9720. o Minor features (bridges):
  9721. - If bridge users set UpdateBridgesFromAuthority, but the digest
  9722. they ask for is a 404 from the bridge authority, they now fall
  9723. back to trying the bridge directly.
  9724. - Bridges now use begin_dir to publish their server descriptor to
  9725. the bridge authority, even when they haven't set TunnelDirConns.
  9726. o Minor features (controller):
  9727. - When reporting clock skew, and we know that the clock is _at least
  9728. as skewed_ as some value, but we don't know the actual value,
  9729. report the value as a "minimum skew."
  9730. o Utilities:
  9731. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  9732. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  9733. Perry.
  9734. o Minor bugfixes:
  9735. - Refuse to start if both ORPort and UseBridges are set. Bugfix
  9736. on 0.2.0.x, suggested by Matt Edman.
  9737. - Don't stop fetching descriptors when FetchUselessDescriptors is
  9738. set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
  9739. reported by tup and ioerror.
  9740. - Better log message on vote from unknown authority.
  9741. - Don't log "Launching 0 request for 0 router" message.
  9742. o Minor bugfixes (memory leaks):
  9743. - Stop leaking memory every time we parse a v3 certificate. Bugfix
  9744. on 0.2.0.1-alpha.
  9745. - Stop leaking memory every time we load a v3 certificate. Bugfix
  9746. on 0.2.0.1-alpha. Fixes bug 536.
  9747. - Stop leaking a cached networkstatus on exit. Bugfix on
  9748. 0.2.0.3-alpha.
  9749. - Stop leaking voter information every time we free a consensus.
  9750. Bugfix on 0.2.0.3-alpha.
  9751. - Stop leaking signed data every time we check a voter signature.
  9752. Bugfix on 0.2.0.3-alpha.
  9753. - Stop leaking a signature every time we fail to parse a consensus or
  9754. a vote. Bugfix on 0.2.0.3-alpha.
  9755. - Stop leaking v2_download_status_map on shutdown. Bugfix on
  9756. 0.2.0.9-alpha.
  9757. - Stop leaking conn->nickname every time we make a connection to a
  9758. Tor relay without knowing its expected identity digest (e.g. when
  9759. using bridges). Bugfix on 0.2.0.3-alpha.
  9760. - Minor bugfixes (portability):
  9761. - Run correctly on platforms where rlim_t is larger than unsigned
  9762. long, and/or where the real limit for number of open files is
  9763. OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
  9764. particular, these may be needed for OS X 10.5.
  9765. Changes in version 0.1.2.18 - 2007-10-28
  9766. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  9767. hidden service introduction that were causing huge delays, and a big
  9768. bug that was causing some servers to disappear from the network status
  9769. lists for a few hours each day.
  9770. o Major bugfixes (crashes):
  9771. - If a connection is shut down abruptly because of something that
  9772. happened inside connection_flushed_some(), do not call
  9773. connection_finished_flushing(). Should fix bug 451:
  9774. "connection_stop_writing: Assertion conn->write_event failed"
  9775. Bugfix on 0.1.2.7-alpha.
  9776. - Fix possible segfaults in functions called from
  9777. rend_process_relay_cell().
  9778. o Major bugfixes (hidden services):
  9779. - Hidden services were choosing introduction points uniquely by
  9780. hexdigest, but when constructing the hidden service descriptor
  9781. they merely wrote the (potentially ambiguous) nickname.
  9782. - Clients now use the v2 intro format for hidden service
  9783. connections: they specify their chosen rendezvous point by identity
  9784. digest rather than by (potentially ambiguous) nickname. These
  9785. changes could speed up hidden service connections dramatically.
  9786. o Major bugfixes (other):
  9787. - Stop publishing a new server descriptor just because we get a
  9788. HUP signal. This led (in a roundabout way) to some servers getting
  9789. dropped from the networkstatus lists for a few hours each day.
  9790. - When looking for a circuit to cannibalize, consider family as well
  9791. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  9792. circuit cannibalization).
  9793. - When a router wasn't listed in a new networkstatus, we were leaving
  9794. the flags for that router alone -- meaning it remained Named,
  9795. Running, etc -- even though absence from the networkstatus means
  9796. that it shouldn't be considered to exist at all anymore. Now we
  9797. clear all the flags for routers that fall out of the networkstatus
  9798. consensus. Fixes bug 529.
  9799. o Minor bugfixes:
  9800. - Don't try to access (or alter) the state file when running
  9801. --list-fingerprint or --verify-config or --hash-password. Resolves
  9802. bug 499.
  9803. - When generating information telling us how to extend to a given
  9804. router, do not try to include the nickname if it is
  9805. absent. Resolves bug 467.
  9806. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  9807. a way to trigger this remotely.)
  9808. - When sending a status event to the controller telling it that an
  9809. OR address is reachable, set the port correctly. (Previously we
  9810. were reporting the dir port.)
  9811. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  9812. command. Bugfix on 0.1.2.17.
  9813. - When loading bandwidth history, do not believe any information in
  9814. the future. Fixes bug 434.
  9815. - When loading entry guard information, do not believe any information
  9816. in the future.
  9817. - When we have our clock set far in the future and generate an
  9818. onion key, then re-set our clock to be correct, we should not stop
  9819. the onion key from getting rotated.
  9820. - On some platforms, accept() can return a broken address. Detect
  9821. this more quietly, and deal accordingly. Fixes bug 483.
  9822. - It's not actually an error to find a non-pending entry in the DNS
  9823. cache when canceling a pending resolve. Don't log unless stuff
  9824. is fishy. Resolves bug 463.
  9825. - Don't reset trusted dir server list when we set a configuration
  9826. option. Patch from Robert Hogan.
  9827. - Don't try to create the datadir when running --verify-config or
  9828. --hash-password. Resolves bug 540.
  9829. Changes in version 0.2.0.9-alpha - 2007-10-24
  9830. This ninth development snapshot switches clients to the new v3 directory
  9831. system; allows servers to be listed in the network status even when they
  9832. have the same nickname as a registered server; and fixes many other
  9833. bugs including a big one that was causing some servers to disappear
  9834. from the network status lists for a few hours each day.
  9835. o Major features (directory system):
  9836. - Clients now download v3 consensus networkstatus documents instead
  9837. of v2 networkstatus documents. Clients and caches now base their
  9838. opinions about routers on these consensus documents. Clients only
  9839. download router descriptors listed in the consensus.
  9840. - Authorities now list servers who have the same nickname as
  9841. a different named server, but list them with a new flag,
  9842. "Unnamed". Now we can list servers that happen to pick the same
  9843. nickname as a server that registered two years ago and then
  9844. disappeared. Partially implements proposal 122.
  9845. - If the consensus lists a router as "Unnamed", the name is assigned
  9846. to a different router: do not identify the router by that name.
  9847. Partially implements proposal 122.
  9848. - Authorities can now come to a consensus on which method to use to
  9849. compute the consensus. This gives us forward compatibility.
  9850. o Major bugfixes:
  9851. - Stop publishing a new server descriptor just because we HUP or
  9852. when we find our DirPort to be reachable but won't actually publish
  9853. it. New descriptors without any real changes are dropped by the
  9854. authorities, and can screw up our "publish every 18 hours" schedule.
  9855. Bugfix on 0.1.2.x.
  9856. - When a router wasn't listed in a new networkstatus, we were leaving
  9857. the flags for that router alone -- meaning it remained Named,
  9858. Running, etc -- even though absence from the networkstatus means
  9859. that it shouldn't be considered to exist at all anymore. Now we
  9860. clear all the flags for routers that fall out of the networkstatus
  9861. consensus. Fixes bug 529; bugfix on 0.1.2.x.
  9862. - Fix awful behavior in DownloadExtraInfo option where we'd fetch
  9863. extrainfo documents and then discard them immediately for not
  9864. matching the latest router. Bugfix on 0.2.0.1-alpha.
  9865. o Minor features (v3 directory protocol):
  9866. - Allow tor-gencert to generate a new certificate without replacing
  9867. the signing key.
  9868. - Allow certificates to include an address.
  9869. - When we change our directory-cache settings, reschedule all voting
  9870. and download operations.
  9871. - Reattempt certificate downloads immediately on failure, as long as
  9872. we haven't failed a threshold number of times yet.
  9873. - Delay retrying consensus downloads while we're downloading
  9874. certificates to verify the one we just got. Also, count getting a
  9875. consensus that we already have (or one that isn't valid) as a failure,
  9876. and count failing to get the certificates after 20 minutes as a
  9877. failure.
  9878. - Build circuits and download descriptors even if our consensus is a
  9879. little expired. (This feature will go away once authorities are
  9880. more reliable.)
  9881. o Minor features (router descriptor cache):
  9882. - If we find a cached-routers file that's been sitting around for more
  9883. than 28 days unmodified, then most likely it's a leftover from
  9884. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  9885. routers anyway.
  9886. - When we (as a cache) download a descriptor because it was listed
  9887. in a consensus, remember when the consensus was supposed to expire,
  9888. and don't expire the descriptor until then.
  9889. o Minor features (performance):
  9890. - Call routerlist_remove_old_routers() much less often. This should
  9891. speed startup, especially on directory caches.
  9892. - Don't try to launch new descriptor downloads quite so often when we
  9893. already have enough directory information to build circuits.
  9894. - Base64 decoding was actually showing up on our profile when parsing
  9895. the initial descriptor file; switch to an in-process all-at-once
  9896. implementation that's about 3.5x times faster than calling out to
  9897. OpenSSL.
  9898. o Minor features (compilation):
  9899. - Detect non-ASCII platforms (if any still exist) and refuse to
  9900. build there: some of our code assumes that 'A' is 65 and so on.
  9901. o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
  9902. - Make the "next period" votes into "current period" votes immediately
  9903. after publishing the consensus; avoid a heisenbug that made them
  9904. stick around indefinitely.
  9905. - When we discard a vote as a duplicate, do not report this as
  9906. an error.
  9907. - Treat missing v3 keys or certificates as an error when running as a
  9908. v3 directory authority.
  9909. - When we're configured to be a v3 authority, but we're only listed
  9910. as a non-v3 authority in our DirServer line for ourself, correct
  9911. the listing.
  9912. - If an authority doesn't have a qualified hostname, just put
  9913. its address in the vote. This fixes the problem where we referred to
  9914. "moria on moria:9031."
  9915. - Distinguish between detached signatures for the wrong period, and
  9916. detached signatures for a divergent vote.
  9917. - Fix a small memory leak when computing a consensus.
  9918. - When there's no concensus, we were forming a vote every 30
  9919. minutes, but writing the "valid-after" line in our vote based
  9920. on our configured V3AuthVotingInterval: so unless the intervals
  9921. matched up, we immediately rejected our own vote because it didn't
  9922. start at the voting interval that caused us to construct a vote.
  9923. o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
  9924. - Delete unverified-consensus when the real consensus is set.
  9925. - Consider retrying a consensus networkstatus fetch immediately
  9926. after one fails: don't wait 60 seconds to notice.
  9927. - When fetching a consensus as a cache, wait until a newer consensus
  9928. should exist before trying to replace the current one.
  9929. - Use a more forgiving schedule for retrying failed consensus
  9930. downloads than for other types.
  9931. o Minor bugfixes (other directory issues):
  9932. - Correct the implementation of "download votes by digest." Bugfix on
  9933. 0.2.0.8-alpha.
  9934. - Authorities no longer send back "400 you're unreachable please fix
  9935. it" errors to Tor servers that aren't online all the time. We're
  9936. supposed to tolerate these servers now. Bugfix on 0.1.2.x.
  9937. o Minor bugfixes (controller):
  9938. - Don't reset trusted dir server list when we set a configuration
  9939. option. Patch from Robert Hogan; bugfix on 0.1.2.x.
  9940. - Respond to INT and TERM SIGNAL commands before we execute the
  9941. signal, in case the signal shuts us down. We had a patch in
  9942. 0.1.2.1-alpha that tried to do this by queueing the response on
  9943. the connection's buffer before shutting down, but that really
  9944. isn't the same thing at all. Bug located by Matt Edman.
  9945. o Minor bugfixes (misc):
  9946. - Correctly check for bad options to the "PublishServerDescriptor"
  9947. config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
  9948. - Stop leaking memory on failing case of base32_decode, and make
  9949. it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
  9950. - Don't try to download extrainfo documents when we're trying to
  9951. fetch enough directory info to build a circuit: having enough
  9952. info should get priority. Bugfix on 0.2.0.x.
  9953. - Don't complain that "your server has not managed to confirm that its
  9954. ports are reachable" if we haven't been able to build any circuits
  9955. yet. Bug found by spending four hours without a v3 consensus. Bugfix
  9956. on 0.1.2.x.
  9957. - Detect the reason for failing to mmap a descriptor file we just
  9958. wrote, and give a more useful log message. Fixes bug 533. Bugfix
  9959. on 0.1.2.x.
  9960. o Code simplifications and refactoring:
  9961. - Remove support for the old bw_accounting file: we've been storing
  9962. bandwidth accounting information in the state file since
  9963. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  9964. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  9965. downgrade to 0.1.1.x or earlier.
  9966. - New convenience code to locate a file within the DataDirectory.
  9967. - Move non-authority functionality out of dirvote.c.
  9968. - Refactor the arguments for router_pick_{directory_|trusteddir}server
  9969. so that they all take the same named flags.
  9970. o Utilities
  9971. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  9972. Unix users an easy way to script their Tor process (e.g. by
  9973. adjusting bandwidth based on the time of the day).
  9974. Changes in version 0.2.0.8-alpha - 2007-10-12
  9975. This eighth development snapshot fixes a crash bug that's been bothering
  9976. us since February 2007, lets bridge authorities store a list of bridge
  9977. descriptors they've seen, gets v3 directory voting closer to working,
  9978. starts caching v3 directory consensus documents on directory mirrors,
  9979. and fixes a variety of smaller issues including some minor memory leaks.
  9980. o Major features (router descriptor cache):
  9981. - Store routers in a file called cached-descriptors instead of in
  9982. cached-routers. Initialize cached-descriptors from cached-routers
  9983. if the old format is around. The new format allows us to store
  9984. annotations along with descriptors.
  9985. - Use annotations to record the time we received each descriptor, its
  9986. source, and its purpose.
  9987. - Disable the SETROUTERPURPOSE controller command: it is now
  9988. obsolete.
  9989. - Controllers should now specify cache=no or cache=yes when using
  9990. the +POSTDESCRIPTOR command.
  9991. - Bridge authorities now write bridge descriptors to disk, meaning
  9992. we can export them to other programs and begin distributing them
  9993. to blocked users.
  9994. o Major features (directory authorities):
  9995. - When a v3 authority is missing votes or signatures, it now tries
  9996. to fetch them.
  9997. - Directory authorities track weighted fractional uptime as well as
  9998. weighted mean-time-between failures. WFU is suitable for deciding
  9999. whether a node is "usually up", while MTBF is suitable for deciding
  10000. whether a node is "likely to stay up." We need both, because
  10001. "usually up" is a good requirement for guards, while "likely to
  10002. stay up" is a good requirement for long-lived connections.
  10003. o Major features (v3 directory system):
  10004. - Caches now download v3 network status documents as needed,
  10005. and download the descriptors listed in them.
  10006. - All hosts now attempt to download and keep fresh v3 authority
  10007. certificates, and re-attempt after failures.
  10008. - More internal-consistency checks for vote parsing.
  10009. o Major bugfixes (crashes):
  10010. - If a connection is shut down abruptly because of something that
  10011. happened inside connection_flushed_some(), do not call
  10012. connection_finished_flushing(). Should fix bug 451. Bugfix on
  10013. 0.1.2.7-alpha.
  10014. o Major bugfixes (performance):
  10015. - Fix really bad O(n^2) performance when parsing a long list of
  10016. routers: Instead of searching the entire list for an "extra-info "
  10017. string which usually wasn't there, once for every routerinfo
  10018. we read, just scan lines forward until we find one we like.
  10019. Bugfix on 0.2.0.1.
  10020. - When we add data to a write buffer in response to the data on that
  10021. write buffer getting low because of a flush, do not consider the
  10022. newly added data as a candidate for immediate flushing, but rather
  10023. make it wait until the next round of writing. Otherwise, we flush
  10024. and refill recursively, and a single greedy TLS connection can
  10025. eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
  10026. o Minor features (v3 authority system):
  10027. - Add more ways for tools to download the votes that lead to the
  10028. current consensus.
  10029. - Send a 503 when low on bandwidth and a vote, consensus, or
  10030. certificate is requested.
  10031. - If-modified-since is now implemented properly for all kinds of
  10032. certificate requests.
  10033. o Minor bugfixes (network statuses):
  10034. - Tweak the implementation of proposal 109 slightly: allow at most
  10035. two Tor servers on the same IP address, except if it's the location
  10036. of a directory authority, in which case allow five. Bugfix on
  10037. 0.2.0.3-alpha.
  10038. o Minor bugfixes (controller):
  10039. - When sending a status event to the controller telling it that an
  10040. OR address is reachable, set the port correctly. (Previously we
  10041. were reporting the dir port.) Bugfix on 0.1.2.x.
  10042. o Minor bugfixes (v3 directory system):
  10043. - Fix logic to look up a cert by its signing key digest. Bugfix on
  10044. 0.2.0.7-alpha.
  10045. - Only change the reply to a vote to "OK" if it's not already
  10046. set. This gets rid of annoying "400 OK" log messages, which may
  10047. have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
  10048. - When we get a valid consensus, recompute the voting schedule.
  10049. - Base the valid-after time of a vote on the consensus voting
  10050. schedule, not on our preferred schedule.
  10051. - Make the return values and messages from signature uploads and
  10052. downloads more sensible.
  10053. - Fix a memory leak when serving votes and consensus documents, and
  10054. another when serving certificates.
  10055. o Minor bugfixes (performance):
  10056. - Use a slightly simpler string hashing algorithm (copying Python's
  10057. instead of Java's) and optimize our digest hashing algorithm to take
  10058. advantage of 64-bit platforms and to remove some possibly-costly
  10059. voodoo.
  10060. - Fix a minor memory leak whenever we parse guards from our state
  10061. file. Bugfix on 0.2.0.7-alpha.
  10062. - Fix a minor memory leak whenever we write out a file. Bugfix on
  10063. 0.2.0.7-alpha.
  10064. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  10065. command. Bugfix on 0.2.0.5-alpha.
  10066. o Minor bugfixes (portability):
  10067. - On some platforms, accept() can return a broken address. Detect
  10068. this more quietly, and deal accordingly. Fixes bug 483.
  10069. - Stop calling tor_strlower() on uninitialized memory in some cases.
  10070. Bugfix in 0.2.0.7-alpha.
  10071. o Minor bugfixes (usability):
  10072. - Treat some 403 responses from directory servers as INFO rather than
  10073. WARN-severity events.
  10074. - It's not actually an error to find a non-pending entry in the DNS
  10075. cache when canceling a pending resolve. Don't log unless stuff is
  10076. fishy. Resolves bug 463.
  10077. o Minor bugfixes (anonymity):
  10078. - Never report that we've used more bandwidth than we're willing to
  10079. relay: it leaks how much non-relay traffic we're using. Resolves
  10080. bug 516.
  10081. - When looking for a circuit to cannibalize, consider family as well
  10082. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  10083. circuit cannibalization).
  10084. o Code simplifications and refactoring:
  10085. - Make a bunch of functions static. Remove some dead code.
  10086. - Pull out about a third of the really big routerlist.c; put it in a
  10087. new module, networkstatus.c.
  10088. - Merge the extra fields in local_routerstatus_t back into
  10089. routerstatus_t: we used to need one routerstatus_t for each
  10090. authority's opinion, plus a local_routerstatus_t for the locally
  10091. computed consensus opinion. To save space, we put the locally
  10092. modified fields into local_routerstatus_t, and only the common
  10093. stuff into routerstatus_t. But once v3 directories are in use,
  10094. clients and caches will no longer need to hold authority opinions;
  10095. thus, the rationale for keeping the types separate is now gone.
  10096. - Make the code used to reschedule and reattempt downloads more
  10097. uniform.
  10098. - Turn all 'Are we a directory server/mirror?' logic into a call to
  10099. dirserver_mode().
  10100. - Remove the code to generate the oldest (v1) directory format.
  10101. The code has been disabled since 0.2.0.5-alpha.
  10102. Changes in version 0.2.0.7-alpha - 2007-09-21
  10103. This seventh development snapshot makes bridges work again, makes bridge
  10104. authorities work for the first time, fixes two huge performance flaws
  10105. in hidden services, and fixes a variety of minor issues.
  10106. o New directory authorities:
  10107. - Set up moria1 and tor26 as the first v3 directory authorities. See
  10108. doc/spec/dir-spec.txt for details on the new directory design.
  10109. o Major bugfixes (crashes):
  10110. - Fix possible segfaults in functions called from
  10111. rend_process_relay_cell(). Bugfix on 0.1.2.x.
  10112. o Major bugfixes (bridges):
  10113. - Fix a bug that made servers send a "404 Not found" in response to
  10114. attempts to fetch their server descriptor. This caused Tor servers
  10115. to take many minutes to establish reachability for their DirPort,
  10116. and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
  10117. - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
  10118. users configure that and specify a bridge with an identity
  10119. fingerprint, now they will lookup the bridge descriptor at the
  10120. default bridge authority via a one-hop tunnel, but once circuits
  10121. are established they will switch to a three-hop tunnel for later
  10122. connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
  10123. o Major bugfixes (hidden services):
  10124. - Hidden services were choosing introduction points uniquely by
  10125. hexdigest, but when constructing the hidden service descriptor
  10126. they merely wrote the (potentially ambiguous) nickname.
  10127. - Clients now use the v2 intro format for hidden service
  10128. connections: they specify their chosen rendezvous point by identity
  10129. digest rather than by (potentially ambiguous) nickname. Both
  10130. are bugfixes on 0.1.2.x, and they could speed up hidden service
  10131. connections dramatically. Thanks to Karsten Loesing.
  10132. o Minor features (security):
  10133. - As a client, do not believe any server that tells us that an
  10134. address maps to an internal address space.
  10135. - Make it possible to enable HashedControlPassword and
  10136. CookieAuthentication at the same time.
  10137. o Minor features (guard nodes):
  10138. - Tag every guard node in our state file with the version that
  10139. we believe added it, or with our own version if we add it. This way,
  10140. if a user temporarily runs an old version of Tor and then switches
  10141. back to a new one, she doesn't automatically lose her guards.
  10142. o Minor features (speed):
  10143. - When implementing AES counter mode, update only the portions of the
  10144. counter buffer that need to change, and don't keep separate
  10145. network-order and host-order counters when they are the same (i.e.,
  10146. on big-endian hosts.)
  10147. o Minor features (controller):
  10148. - Accept LF instead of CRLF on controller, since some software has a
  10149. hard time generating real Internet newlines.
  10150. - Add GETINFO values for the server status events
  10151. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  10152. Robert Hogan.
  10153. o Removed features:
  10154. - Routers no longer include bandwidth-history lines in their
  10155. descriptors; this information is already available in extra-info
  10156. documents, and including it in router descriptors took up 60%
  10157. (!) of compressed router descriptor downloads. Completes
  10158. implementation of proposal 104.
  10159. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  10160. and TorControl.py, as they use the old v0 controller protocol,
  10161. and are obsoleted by TorFlow anyway.
  10162. - Drop support for v1 rendezvous descriptors, since we never used
  10163. them anyway, and the code has probably rotted by now. Based on
  10164. patch from Karsten Loesing.
  10165. - On OSX, stop warning the user that kqueue support in libevent is
  10166. "experimental", since it seems to have worked fine for ages.
  10167. o Minor bugfixes:
  10168. - When generating information telling us how to extend to a given
  10169. router, do not try to include the nickname if it is absent. Fixes
  10170. bug 467. Bugfix on 0.2.0.3-alpha.
  10171. - Fix a user-triggerable (but not remotely-triggerable) segfault
  10172. in expand_filename(). Bugfix on 0.1.2.x.
  10173. - Fix a memory leak when freeing incomplete requests from DNSPort.
  10174. Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
  10175. - Don't try to access (or alter) the state file when running
  10176. --list-fingerprint or --verify-config or --hash-password. (Resolves
  10177. bug 499.) Bugfix on 0.1.2.x.
  10178. - Servers used to decline to publish their DirPort if their
  10179. BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
  10180. were below a threshold. Now they only look at BandwidthRate and
  10181. RelayBandwidthRate. Bugfix on 0.1.2.x.
  10182. - Remove an optimization in the AES counter-mode code that assumed
  10183. that the counter never exceeded 2^68. When the counter can be set
  10184. arbitrarily as an IV (as it is by Karsten's new hidden services
  10185. code), this assumption no longer holds. Bugfix on 0.1.2.x.
  10186. - Resume listing "AUTHORITY" flag for authorities in network status.
  10187. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
  10188. o Code simplifications and refactoring:
  10189. - Revamp file-writing logic so we don't need to have the entire
  10190. contents of a file in memory at once before we write to disk. Tor,
  10191. meet stdio.
  10192. - Turn "descriptor store" into a full-fledged type.
  10193. - Move all NT services code into a separate source file.
  10194. - Unify all code that computes medians, percentile elements, etc.
  10195. - Get rid of a needless malloc when parsing address policies.
  10196. Changes in version 0.1.2.17 - 2007-08-30
  10197. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  10198. X bundles. Vidalia 0.0.14 makes authentication required for the
  10199. ControlPort in the default configuration, which addresses important
  10200. security risks. Everybody who uses Vidalia (or another controller)
  10201. should upgrade.
  10202. In addition, this Tor update fixes major load balancing problems with
  10203. path selection, which should speed things up a lot once many people
  10204. have upgraded.
  10205. o Major bugfixes (security):
  10206. - We removed support for the old (v0) control protocol. It has been
  10207. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  10208. become more of a headache than it's worth.
  10209. o Major bugfixes (load balancing):
  10210. - When choosing nodes for non-guard positions, weight guards
  10211. proportionally less, since they already have enough load. Patch
  10212. from Mike Perry.
  10213. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  10214. will allow fast Tor servers to get more attention.
  10215. - When we're upgrading from an old Tor version, forget our current
  10216. guards and pick new ones according to the new weightings. These
  10217. three load balancing patches could raise effective network capacity
  10218. by a factor of four. Thanks to Mike Perry for measurements.
  10219. o Major bugfixes (stream expiration):
  10220. - Expire not-yet-successful application streams in all cases if
  10221. they've been around longer than SocksTimeout. Right now there are
  10222. some cases where the stream will live forever, demanding a new
  10223. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  10224. o Minor features (controller):
  10225. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  10226. is valid before any authentication has been received. It tells
  10227. a controller what kind of authentication is expected, and what
  10228. protocol is spoken. Implements proposal 119.
  10229. o Minor bugfixes (performance):
  10230. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  10231. greatly speeding up loading cached-routers from disk on startup.
  10232. - Disable sentinel-based debugging for buffer code: we squashed all
  10233. the bugs that this was supposed to detect a long time ago, and now
  10234. its only effect is to change our buffer sizes from nice powers of
  10235. two (which platform mallocs tend to like) to values slightly over
  10236. powers of two (which make some platform mallocs sad).
  10237. o Minor bugfixes (misc):
  10238. - If exit bandwidth ever exceeds one third of total bandwidth, then
  10239. use the correct formula to weight exit nodes when choosing paths.
  10240. Based on patch from Mike Perry.
  10241. - Choose perfectly fairly among routers when choosing by bandwidth and
  10242. weighting by fraction of bandwidth provided by exits. Previously, we
  10243. would choose with only approximate fairness, and correct ourselves
  10244. if we ran off the end of the list.
  10245. - If we require CookieAuthentication but we fail to write the
  10246. cookie file, we would warn but not exit, and end up in a state
  10247. where no controller could authenticate. Now we exit.
  10248. - If we require CookieAuthentication, stop generating a new cookie
  10249. every time we change any piece of our config.
  10250. - Refuse to start with certain directory authority keys, and
  10251. encourage people using them to stop.
  10252. - Terminate multi-line control events properly. Original patch
  10253. from tup.
  10254. - Fix a minor memory leak when we fail to find enough suitable
  10255. servers to choose a circuit.
  10256. - Stop leaking part of the descriptor when we run into a particularly
  10257. unparseable piece of it.
  10258. Changes in version 0.2.0.6-alpha - 2007-08-26
  10259. This sixth development snapshot features a new Vidalia version in the
  10260. Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
  10261. the ControlPort in the default configuration, which addresses important
  10262. security risks.
  10263. In addition, this snapshot fixes major load balancing problems
  10264. with path selection, which should speed things up a lot once many
  10265. people have upgraded. The directory authorities also use a new
  10266. mean-time-between-failure approach to tracking which servers are stable,
  10267. rather than just looking at the most recent uptime.
  10268. o New directory authorities:
  10269. - Set up Tonga as the default bridge directory authority.
  10270. o Major features:
  10271. - Directory authorities now track servers by weighted
  10272. mean-times-between-failures. When we have 4 or more days of data,
  10273. use measured MTBF rather than declared uptime to decide whether
  10274. to call a router Stable. Implements proposal 108.
  10275. o Major bugfixes (load balancing):
  10276. - When choosing nodes for non-guard positions, weight guards
  10277. proportionally less, since they already have enough load. Patch
  10278. from Mike Perry.
  10279. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  10280. will allow fast Tor servers to get more attention.
  10281. - When we're upgrading from an old Tor version, forget our current
  10282. guards and pick new ones according to the new weightings. These
  10283. three load balancing patches could raise effective network capacity
  10284. by a factor of four. Thanks to Mike Perry for measurements.
  10285. o Major bugfixes (descriptor parsing):
  10286. - Handle unexpected whitespace better in malformed descriptors. Bug
  10287. found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
  10288. o Minor features:
  10289. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  10290. GETINFO for Torstat to use until it can switch to using extrainfos.
  10291. - Optionally (if built with -DEXPORTMALLINFO) export the output
  10292. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  10293. from localhost.
  10294. o Minor bugfixes:
  10295. - Do not intermix bridge routers with controller-added
  10296. routers. (Bugfix on 0.2.0.x)
  10297. - Do not fail with an assert when accept() returns an unexpected
  10298. address family. Addresses but does not wholly fix bug 483. (Bugfix
  10299. on 0.2.0.x)
  10300. - Let directory authorities startup even when they can't generate
  10301. a descriptor immediately, e.g. because they don't know their
  10302. address.
  10303. - Stop putting the authentication cookie in a file called "0"
  10304. in your working directory if you don't specify anything for the
  10305. new CookieAuthFile option. Reported by Matt Edman.
  10306. - Make it possible to read the PROTOCOLINFO response in a way that
  10307. conforms to our control-spec. Reported by Matt Edman.
  10308. - Fix a minor memory leak when we fail to find enough suitable
  10309. servers to choose a circuit. Bugfix on 0.1.2.x.
  10310. - Stop leaking part of the descriptor when we run into a particularly
  10311. unparseable piece of it. Bugfix on 0.1.2.x.
  10312. - Unmap the extrainfo cache file on exit.
  10313. Changes in version 0.2.0.5-alpha - 2007-08-19
  10314. This fifth development snapshot fixes compilation on Windows again;
  10315. fixes an obnoxious client-side bug that slowed things down and put
  10316. extra load on the network; gets us closer to using the v3 directory
  10317. voting scheme; makes it easier for Tor controllers to use cookie-based
  10318. authentication; and fixes a variety of other bugs.
  10319. o Removed features:
  10320. - Version 1 directories are no longer generated in full. Instead,
  10321. authorities generate and serve "stub" v1 directories that list
  10322. no servers. This will stop Tor versions 0.1.0.x and earlier from
  10323. working, but (for security reasons) nobody should be running those
  10324. versions anyway.
  10325. o Major bugfixes (compilation, 0.2.0.x):
  10326. - Try to fix Win32 compilation again: improve checking for IPv6 types.
  10327. - Try to fix MSVC compilation: build correctly on platforms that do
  10328. not define s6_addr16 or s6_addr32.
  10329. - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
  10330. Zhou.
  10331. o Major bugfixes (stream expiration):
  10332. - Expire not-yet-successful application streams in all cases if
  10333. they've been around longer than SocksTimeout. Right now there are
  10334. some cases where the stream will live forever, demanding a new
  10335. circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
  10336. reported by lodger.
  10337. o Minor features (directory servers):
  10338. - When somebody requests a list of statuses or servers, and we have
  10339. none of those, return a 404 rather than an empty 200.
  10340. o Minor features (directory voting):
  10341. - Store v3 consensus status consensuses on disk, and reload them
  10342. on startup.
  10343. o Minor features (security):
  10344. - Warn about unsafe ControlPort configurations.
  10345. - Refuse to start with certain directory authority keys, and
  10346. encourage people using them to stop.
  10347. o Minor features (controller):
  10348. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  10349. is valid before any authentication has been received. It tells
  10350. a controller what kind of authentication is expected, and what
  10351. protocol is spoken. Implements proposal 119.
  10352. - New config option CookieAuthFile to choose a new location for the
  10353. cookie authentication file, and config option
  10354. CookieAuthFileGroupReadable to make it group-readable.
  10355. o Minor features (unit testing):
  10356. - Add command-line arguments to unit-test executable so that we can
  10357. invoke any chosen test from the command line rather than having
  10358. to run the whole test suite at once; and so that we can turn on
  10359. logging for the unit tests.
  10360. o Minor bugfixes (on 0.1.2.x):
  10361. - If we require CookieAuthentication but we fail to write the
  10362. cookie file, we would warn but not exit, and end up in a state
  10363. where no controller could authenticate. Now we exit.
  10364. - If we require CookieAuthentication, stop generating a new cookie
  10365. every time we change any piece of our config.
  10366. - When loading bandwidth history, do not believe any information in
  10367. the future. Fixes bug 434.
  10368. - When loading entry guard information, do not believe any information
  10369. in the future.
  10370. - When we have our clock set far in the future and generate an
  10371. onion key, then re-set our clock to be correct, we should not stop
  10372. the onion key from getting rotated.
  10373. - Clean up torrc sample config file.
  10374. - Do not automatically run configure from autogen.sh. This
  10375. non-standard behavior tended to annoy people who have built other
  10376. programs.
  10377. o Minor bugfixes (on 0.2.0.x):
  10378. - Fix a bug with AutomapHostsOnResolve that would always cause
  10379. the second request to fail. Bug reported by Kate. Bugfix on
  10380. 0.2.0.3-alpha.
  10381. - Fix a bug in ADDRMAP controller replies that would sometimes
  10382. try to print a NULL. Patch from tup.
  10383. - Read v3 directory authority keys from the right location.
  10384. - Numerous bugfixes to directory voting code.
  10385. Changes in version 0.1.2.16 - 2007-08-01
  10386. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  10387. remote attacker in certain situations to rewrite the user's torrc
  10388. configuration file. This can completely compromise anonymity of users
  10389. in most configurations, including those running the Vidalia bundles,
  10390. TorK, etc. Or worse.
  10391. o Major security fixes:
  10392. - Close immediately after missing authentication on control port;
  10393. do not allow multiple authentication attempts.
  10394. Changes in version 0.2.0.4-alpha - 2007-08-01
  10395. This fourth development snapshot fixes a critical security vulnerability
  10396. for most users, specifically those running Vidalia, TorK, etc. Everybody
  10397. should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
  10398. o Major security fixes:
  10399. - Close immediately after missing authentication on control port;
  10400. do not allow multiple authentication attempts.
  10401. o Major bugfixes (compilation):
  10402. - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
  10403. defined there.
  10404. o Minor features (performance):
  10405. - Be even more aggressive about releasing RAM from small
  10406. empty buffers. Thanks to our free-list code, this shouldn't be too
  10407. performance-intensive.
  10408. - Disable sentinel-based debugging for buffer code: we squashed all
  10409. the bugs that this was supposed to detect a long time ago, and
  10410. now its only effect is to change our buffer sizes from nice
  10411. powers of two (which platform mallocs tend to like) to values
  10412. slightly over powers of two (which make some platform mallocs sad).
  10413. - Log malloc statistics from mallinfo() on platforms where it
  10414. exists.
  10415. Changes in version 0.2.0.3-alpha - 2007-07-29
  10416. This third development snapshot introduces new experimental
  10417. blocking-resistance features and a preliminary version of the v3
  10418. directory voting design, and includes many other smaller features
  10419. and bugfixes.
  10420. o Major features:
  10421. - The first pieces of our "bridge" design for blocking-resistance
  10422. are implemented. People can run bridge directory authorities;
  10423. people can run bridges; and people can configure their Tor clients
  10424. with a set of bridges to use as the first hop into the Tor network.
  10425. See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
  10426. details.
  10427. - Create listener connections before we setuid to the configured
  10428. User and Group. Now non-Windows users can choose port values
  10429. under 1024, start Tor as root, and have Tor bind those ports
  10430. before it changes to another UID. (Windows users could already
  10431. pick these ports.)
  10432. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  10433. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  10434. on "vserver" accounts. (Patch from coderman.)
  10435. - Be even more aggressive about separating local traffic from relayed
  10436. traffic when RelayBandwidthRate is set. (Refines proposal 111.)
  10437. o Major features (experimental):
  10438. - First cut of code for "v3 dir voting": directory authorities will
  10439. vote on a common network status document rather than each publishing
  10440. their own opinion. This code needs more testing and more corner-case
  10441. handling before it's ready for use.
  10442. o Security fixes:
  10443. - Directory authorities now call routers Fast if their bandwidth is
  10444. at least 100KB/s, and consider their bandwidth adequate to be a
  10445. Guard if it is at least 250KB/s, no matter the medians. This fix
  10446. complements proposal 107. [Bugfix on 0.1.2.x]
  10447. - Directory authorities now never mark more than 3 servers per IP as
  10448. Valid and Running. (Implements proposal 109, by Kevin Bauer and
  10449. Damon McCoy.)
  10450. - Minor change to organizationName and commonName generation
  10451. procedures in TLS certificates during Tor handshakes, to invalidate
  10452. some earlier censorware approaches. This is not a long-term
  10453. solution, but applying it will give us a bit of time to look into
  10454. the epidemiology of countermeasures as they spread.
  10455. o Major bugfixes (directory):
  10456. - Rewrite directory tokenization code to never run off the end of
  10457. a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
  10458. o Minor features (controller):
  10459. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  10460. match requests to applications. (Patch from Robert Hogan.)
  10461. - Report address and port correctly on connections to DNSPort. (Patch
  10462. from Robert Hogan.)
  10463. - Add a RESOLVE command to launch hostname lookups. (Original patch
  10464. from Robert Hogan.)
  10465. - Add GETINFO status/enough-dir-info to let controllers tell whether
  10466. Tor has downloaded sufficient directory information. (Patch
  10467. from Tup.)
  10468. - You can now use the ControlSocket option to tell Tor to listen for
  10469. controller connections on Unix domain sockets on systems that
  10470. support them. (Patch from Peter Palfrader.)
  10471. - STREAM NEW events are generated for DNSPort requests and for
  10472. tunneled directory connections. (Patch from Robert Hogan.)
  10473. - New "GETINFO address-mappings/*" command to get address mappings
  10474. with expiry information. "addr-mappings/*" is now deprecated.
  10475. (Patch from Tup.)
  10476. o Minor features (misc):
  10477. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  10478. from croup.)
  10479. - The tor-gencert tool for v3 directory authorities now creates all
  10480. files as readable to the file creator only, and write-protects
  10481. the authority identity key.
  10482. - When dumping memory usage, list bytes used in buffer memory
  10483. free-lists.
  10484. - When running with dmalloc, dump more stats on hup and on exit.
  10485. - Directory authorities now fail quickly and (relatively) harmlessly
  10486. if they generate a network status document that is somehow
  10487. malformed.
  10488. o Traffic load balancing improvements:
  10489. - If exit bandwidth ever exceeds one third of total bandwidth, then
  10490. use the correct formula to weight exit nodes when choosing paths.
  10491. (Based on patch from Mike Perry.)
  10492. - Choose perfectly fairly among routers when choosing by bandwidth and
  10493. weighting by fraction of bandwidth provided by exits. Previously, we
  10494. would choose with only approximate fairness, and correct ourselves
  10495. if we ran off the end of the list. [Bugfix on 0.1.2.x]
  10496. o Performance improvements:
  10497. - Be more aggressive with freeing buffer RAM or putting it on the
  10498. memory free lists.
  10499. - Use Critical Sections rather than Mutexes for synchronizing threads
  10500. on win32; Mutexes are heavier-weight, and designed for synchronizing
  10501. between processes.
  10502. o Deprecated and removed features:
  10503. - RedirectExits is now deprecated.
  10504. - Stop allowing address masks that do not correspond to bit prefixes.
  10505. We have warned about these for a really long time; now it's time
  10506. to reject them. (Patch from croup.)
  10507. o Minor bugfixes (directory):
  10508. - Fix another crash bug related to extra-info caching. (Bug found by
  10509. Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
  10510. - Directories no longer return a "304 not modified" when they don't
  10511. have the networkstatus the client asked for. Also fix a memory
  10512. leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
  10513. - We had accidentally labelled 0.1.2.x directory servers as not
  10514. suitable for begin_dir requests, and had labelled no directory
  10515. servers as suitable for uploading extra-info documents. [Bugfix
  10516. on 0.2.0.1-alpha]
  10517. o Minor bugfixes (dns):
  10518. - Fix a crash when DNSPort is set more than once. (Patch from Robert
  10519. Hogan.) [Bugfix on 0.2.0.2-alpha]
  10520. - Add DNSPort connections to the global connection list, so that we
  10521. can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
  10522. on 0.2.0.2-alpha]
  10523. - Fix a dangling reference that could lead to a crash when DNSPort is
  10524. changed or closed (Patch from Robert Hogan.) [Bugfix on
  10525. 0.2.0.2-alpha]
  10526. o Minor bugfixes (controller):
  10527. - Provide DNS expiry times in GMT, not in local time. For backward
  10528. compatibility, ADDRMAP events only provide GMT expiry in an extended
  10529. field. "GETINFO address-mappings" always does the right thing.
  10530. - Use CRLF line endings properly in NS events.
  10531. - Terminate multi-line control events properly. (Original patch
  10532. from tup.) [Bugfix on 0.1.2.x-alpha]
  10533. - Do not include spaces in SOURCE_ADDR fields in STREAM
  10534. events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
  10535. Changes in version 0.1.2.15 - 2007-07-17
  10536. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  10537. problems, fixes compilation on BSD, and fixes a variety of other
  10538. bugs. Everybody should upgrade.
  10539. o Major bugfixes (compilation):
  10540. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  10541. o Major bugfixes (crashes):
  10542. - Try even harder not to dereference the first character after
  10543. an mmap(). Reported by lodger.
  10544. - Fix a crash bug in directory authorities when we re-number the
  10545. routerlist while inserting a new router.
  10546. - When the cached-routers file is an even multiple of the page size,
  10547. don't run off the end and crash. (Fixes bug 455; based on idea
  10548. from croup.)
  10549. - Fix eventdns.c behavior on Solaris: It is critical to include
  10550. orconfig.h _before_ sys/types.h, so that we can get the expected
  10551. definition of _FILE_OFFSET_BITS.
  10552. o Major bugfixes (security):
  10553. - Fix a possible buffer overrun when using BSD natd support. Bug
  10554. found by croup.
  10555. - When sending destroy cells from a circuit's origin, don't include
  10556. the reason for tearing down the circuit. The spec says we didn't,
  10557. and now we actually don't. Reported by lodger.
  10558. - Keep streamids from different exits on a circuit separate. This
  10559. bug may have allowed other routers on a given circuit to inject
  10560. cells into streams. Reported by lodger; fixes bug 446.
  10561. - If there's a never-before-connected-to guard node in our list,
  10562. never choose any guards past it. This way we don't expand our
  10563. guard list unless we need to.
  10564. o Minor bugfixes (guard nodes):
  10565. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  10566. don't get overused as guards.
  10567. o Minor bugfixes (directory):
  10568. - Correctly count the number of authorities that recommend each
  10569. version. Previously, we were under-counting by 1.
  10570. - Fix a potential crash bug when we load many server descriptors at
  10571. once and some of them make others of them obsolete. Fixes bug 458.
  10572. o Minor bugfixes (hidden services):
  10573. - Stop tearing down the whole circuit when the user asks for a
  10574. connection to a port that the hidden service didn't configure.
  10575. Resolves bug 444.
  10576. o Minor bugfixes (misc):
  10577. - On Windows, we were preventing other processes from reading
  10578. cached-routers while Tor was running. Reported by janbar.
  10579. - Fix a possible (but very unlikely) bug in picking routers by
  10580. bandwidth. Add a log message to confirm that it is in fact
  10581. unlikely. Patch from lodger.
  10582. - Backport a couple of memory leak fixes.
  10583. - Backport miscellaneous cosmetic bugfixes.
  10584. Changes in version 0.2.0.2-alpha - 2007-06-02
  10585. o Major bugfixes on 0.2.0.1-alpha:
  10586. - Fix an assertion failure related to servers without extra-info digests.
  10587. Resolves bugs 441 and 442.
  10588. o Minor features (directory):
  10589. - Support "If-Modified-Since" when answering HTTP requests for
  10590. directories, running-routers documents, and network-status documents.
  10591. (There's no need to support it for router descriptors, since those
  10592. are downloaded by descriptor digest.)
  10593. o Minor build issues:
  10594. - Clear up some MIPSPro compiler warnings.
  10595. - When building from a tarball on a machine that happens to have SVK
  10596. installed, report the micro-revision as whatever version existed
  10597. in the tarball, not as "x".
  10598. Changes in version 0.2.0.1-alpha - 2007-06-01
  10599. This early development snapshot provides new features for people running
  10600. Tor as both a client and a server (check out the new RelayBandwidth
  10601. config options); lets Tor run as a DNS proxy; and generally moves us
  10602. forward on a lot of fronts.
  10603. o Major features, server usability:
  10604. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  10605. a separate set of token buckets for relayed traffic. Right now
  10606. relayed traffic is defined as answers to directory requests, and
  10607. OR connections that don't have any local circuits on them.
  10608. o Major features, client usability:
  10609. - A client-side DNS proxy feature to replace the need for
  10610. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  10611. for DNS requests on port 9999, use the Tor network to resolve them
  10612. anonymously, and send the reply back like a regular DNS server.
  10613. The code still only implements a subset of DNS.
  10614. - Make PreferTunneledDirConns and TunnelDirConns work even when
  10615. we have no cached directory info. This means Tor clients can now
  10616. do all of their connections protected by TLS.
  10617. o Major features, performance and efficiency:
  10618. - Directory authorities accept and serve "extra info" documents for
  10619. routers. These documents contain fields from router descriptors
  10620. that aren't usually needed, and that use a lot of excess
  10621. bandwidth. Once these fields are removed from router descriptors,
  10622. the bandwidth savings should be about 60%. [Partially implements
  10623. proposal 104.]
  10624. - Servers upload extra-info documents to any authority that accepts
  10625. them. Authorities (and caches that have been configured to download
  10626. extra-info documents) download them as needed. [Partially implements
  10627. proposal 104.]
  10628. - Change the way that Tor buffers data that it is waiting to write.
  10629. Instead of queueing data cells in an enormous ring buffer for each
  10630. client->OR or OR->OR connection, we now queue cells on a separate
  10631. queue for each circuit. This lets us use less slack memory, and
  10632. will eventually let us be smarter about prioritizing different kinds
  10633. of traffic.
  10634. - Use memory pools to allocate cells with better speed and memory
  10635. efficiency, especially on platforms where malloc() is inefficient.
  10636. - Stop reading on edge connections when their corresponding circuit
  10637. buffers are full; start again as the circuits empty out.
  10638. o Major features, other:
  10639. - Add an HSAuthorityRecordStats option that hidden service authorities
  10640. can use to track statistics of overall hidden service usage without
  10641. logging information that would be very useful to an attacker.
  10642. - Start work implementing multi-level keys for directory authorities:
  10643. Add a standalone tool to generate key certificates. (Proposal 103.)
  10644. o Security fixes:
  10645. - Directory authorities now call routers Stable if they have an
  10646. uptime of at least 30 days, even if that's not the median uptime
  10647. in the network. Implements proposal 107, suggested by Kevin Bauer
  10648. and Damon McCoy.
  10649. o Minor fixes (resource management):
  10650. - Count the number of open sockets separately from the number
  10651. of active connection_t objects. This will let us avoid underusing
  10652. our allocated connection limit.
  10653. - We no longer use socket pairs to link an edge connection to an
  10654. anonymous directory connection or a DirPort test connection.
  10655. Instead, we track the link internally and transfer the data
  10656. in-process. This saves two sockets per "linked" connection (at the
  10657. client and at the server), and avoids the nasty Windows socketpair()
  10658. workaround.
  10659. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  10660. for every single inactive connection_t. Free items from the
  10661. 4k/16k-buffer free lists when they haven't been used for a while.
  10662. o Minor features (build):
  10663. - Make autoconf search for libevent, openssl, and zlib consistently.
  10664. - Update deprecated macros in configure.in.
  10665. - When warning about missing headers, tell the user to let us
  10666. know if the compile succeeds anyway, so we can downgrade the
  10667. warning.
  10668. - Include the current subversion revision as part of the version
  10669. string: either fetch it directly if we're in an SVN checkout, do
  10670. some magic to guess it if we're in an SVK checkout, or use
  10671. the last-detected version if we're building from a .tar.gz.
  10672. Use this version consistently in log messages.
  10673. o Minor features (logging):
  10674. - Always prepend "Bug: " to any log message about a bug.
  10675. - Put a platform string (e.g. "Linux i686") in the startup log
  10676. message, so when people paste just their logs, we know if it's
  10677. OpenBSD or Windows or what.
  10678. - When logging memory usage, break down memory used in buffers by
  10679. buffer type.
  10680. o Minor features (directory system):
  10681. - New config option V2AuthoritativeDirectory that all directory
  10682. authorities should set. This will let future authorities choose
  10683. not to serve V2 directory information.
  10684. - Directory authorities allow multiple router descriptors and/or extra
  10685. info documents to be uploaded in a single go. This will make
  10686. implementing proposal 104 simpler.
  10687. o Minor features (controller):
  10688. - Add a new config option __DisablePredictedCircuits designed for
  10689. use by the controller, when we don't want Tor to build any circuits
  10690. preemptively.
  10691. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  10692. so we can exit from the middle of the circuit.
  10693. - Implement "getinfo status/circuit-established".
  10694. - Implement "getinfo status/version/..." so a controller can tell
  10695. whether the current version is recommended, and whether any versions
  10696. are good, and how many authorities agree. (Patch from shibz.)
  10697. o Minor features (hidden services):
  10698. - Allow multiple HiddenServicePort directives with the same virtual
  10699. port; when they occur, the user is sent round-robin to one
  10700. of the target ports chosen at random. Partially fixes bug 393 by
  10701. adding limited ad-hoc round-robining.
  10702. o Minor features (other):
  10703. - More unit tests.
  10704. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  10705. resolve request for hosts matching a given pattern causes Tor to
  10706. generate an internal virtual address mapping for that host. This
  10707. allows DNSPort to work sensibly with hidden service users. By
  10708. default, .exit and .onion addresses are remapped; the list of
  10709. patterns can be reconfigured with AutomapHostsSuffixes.
  10710. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  10711. address. Thanks to the AutomapHostsOnResolve option, this is no
  10712. longer a completely silly thing to do.
  10713. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  10714. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  10715. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  10716. minus 1 byte: the actual maximum declared bandwidth.
  10717. o Removed features:
  10718. - Removed support for the old binary "version 0" controller protocol.
  10719. This has been deprecated since 0.1.1, and warnings have been issued
  10720. since 0.1.2. When we encounter a v0 control message, we now send
  10721. back an error and close the connection.
  10722. - Remove the old "dns worker" server DNS code: it hasn't been default
  10723. since 0.1.2.2-alpha, and all the servers seem to be using the new
  10724. eventdns code.
  10725. o Minor bugfixes (portability):
  10726. - Even though Windows is equally happy with / and \ as path separators,
  10727. try to use \ consistently on Windows and / consistently on Unix: it
  10728. makes the log messages nicer.
  10729. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  10730. - Read resolv.conf files correctly on platforms where read() returns
  10731. partial results on small file reads.
  10732. o Minor bugfixes (directory):
  10733. - Correctly enforce that elements of directory objects do not appear
  10734. more often than they are allowed to appear.
  10735. - When we are reporting the DirServer line we just parsed, we were
  10736. logging the second stanza of the key fingerprint, not the first.
  10737. o Minor bugfixes (logging):
  10738. - When we hit an EOF on a log (probably because we're shutting down),
  10739. don't try to remove the log from the list: just mark it as
  10740. unusable. (Bulletproofs against bug 222.)
  10741. o Minor bugfixes (other):
  10742. - In the exitlist script, only consider the most recently published
  10743. server descriptor for each server. Also, when the user requests
  10744. a list of servers that _reject_ connections to a given address,
  10745. explicitly exclude the IPs that also have servers that accept
  10746. connections to that address. (Resolves bug 405.)
  10747. - Stop allowing hibernating servers to be "stable" or "fast".
  10748. - On Windows, we were preventing other processes from reading
  10749. cached-routers while Tor was running. (Reported by janbar)
  10750. - Make the NodeFamilies config option work. (Reported by
  10751. lodger -- it has never actually worked, even though we added it
  10752. in Oct 2004.)
  10753. - Check return values from pthread_mutex functions.
  10754. - Don't save non-general-purpose router descriptors to the disk cache,
  10755. because we have no way of remembering what their purpose was when
  10756. we restart.
  10757. - Add even more asserts to hunt down bug 417.
  10758. - Build without verbose warnings even on (not-yet-released) gcc 4.2.
  10759. - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
  10760. Add a log message to confirm that it is in fact unlikely.
  10761. o Minor bugfixes (controller):
  10762. - Make 'getinfo fingerprint' return a 551 error if we're not a
  10763. server, so we match what the control spec claims we do. Reported
  10764. by daejees.
  10765. - Fix a typo in an error message when extendcircuit fails that
  10766. caused us to not follow the \r\n-based delimiter protocol. Reported
  10767. by daejees.
  10768. o Code simplifications and refactoring:
  10769. - Stop passing around circuit_t and crypt_path_t pointers that are
  10770. implicit in other procedure arguments.
  10771. - Drop the old code to choke directory connections when the
  10772. corresponding OR connections got full: thanks to the cell queue
  10773. feature, OR conns don't get full any more.
  10774. - Make dns_resolve() handle attaching connections to circuits
  10775. properly, so the caller doesn't have to.
  10776. - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
  10777. - Keep the connection array as a dynamic smartlist_t, rather than as
  10778. a fixed-sized array. This is important, as the number of connections
  10779. is becoming increasingly decoupled from the number of sockets.
  10780. Changes in version 0.1.2.14 - 2007-05-25
  10781. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  10782. change especially affects those who serve or use hidden services),
  10783. and fixes several other crash- and security-related bugs.
  10784. o Directory authority changes:
  10785. - Two directory authorities (moria1 and moria2) just moved to new
  10786. IP addresses. This change will particularly affect those who serve
  10787. or use hidden services.
  10788. o Major bugfixes (crashes):
  10789. - If a directory server runs out of space in the connection table
  10790. as it's processing a begin_dir request, it will free the exit stream
  10791. but leave it attached to the circuit, leading to unpredictable
  10792. behavior. (Reported by seeess, fixes bug 425.)
  10793. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  10794. to corrupt memory under some really unlikely scenarios.
  10795. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  10796. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  10797. by lodger.)
  10798. o Major bugfixes (security):
  10799. - When choosing an entry guard for a circuit, avoid using guards
  10800. that are in the same family as the chosen exit -- not just guards
  10801. that are exactly the chosen exit. (Reported by lodger.)
  10802. o Major bugfixes (resource management):
  10803. - If a directory authority is down, skip it when deciding where to get
  10804. networkstatus objects or descriptors. Otherwise we keep asking
  10805. every 10 seconds forever. Fixes bug 384.
  10806. - Count it as a failure if we fetch a valid network-status but we
  10807. don't want to keep it. Otherwise we'll keep fetching it and keep
  10808. not wanting to keep it. Fixes part of bug 422.
  10809. - If all of our dirservers have given us bad or no networkstatuses
  10810. lately, then stop hammering them once per minute even when we
  10811. think they're failed. Fixes another part of bug 422.
  10812. o Minor bugfixes:
  10813. - Actually set the purpose correctly for descriptors inserted with
  10814. purpose=controller.
  10815. - When we have k non-v2 authorities in our DirServer config,
  10816. we ignored the last k authorities in the list when updating our
  10817. network-statuses.
  10818. - Correctly back-off from requesting router descriptors that we are
  10819. having a hard time downloading.
  10820. - Read resolv.conf files correctly on platforms where read() returns
  10821. partial results on small file reads.
  10822. - Don't rebuild the entire router store every time we get 32K of
  10823. routers: rebuild it when the journal gets very large, or when
  10824. the gaps in the store get very large.
  10825. o Minor features:
  10826. - When routers publish SVN revisions in their router descriptors,
  10827. authorities now include those versions correctly in networkstatus
  10828. documents.
  10829. - Warn when using a version of libevent before 1.3b to run a server on
  10830. OSX or BSD: these versions interact badly with userspace threads.
  10831. Changes in version 0.1.2.13 - 2007-04-24
  10832. This release features some major anonymity fixes, such as safer path
  10833. selection; better client performance; faster bootstrapping, better
  10834. address detection, and better DNS support for servers; write limiting as
  10835. well as read limiting to make servers easier to run; and a huge pile of
  10836. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  10837. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  10838. of the Freenode IRC network, remembering his patience and vision for
  10839. free speech on the Internet.
  10840. o Minor fixes:
  10841. - Fix a memory leak when we ask for "all" networkstatuses and we
  10842. get one we don't recognize.
  10843. - Add more asserts to hunt down bug 417.
  10844. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  10845. Changes in version 0.1.2.12-rc - 2007-03-16
  10846. o Major bugfixes:
  10847. - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
  10848. directory information requested inside Tor connections (i.e. via
  10849. begin_dir cells). It only triggered when the same connection was
  10850. serving other data at the same time. Reported by seeess.
  10851. o Minor bugfixes:
  10852. - When creating a circuit via the controller, send a 'launched'
  10853. event when we're done, so we follow the spec better.
  10854. Changes in version 0.1.2.11-rc - 2007-03-15
  10855. o Minor bugfixes (controller), reported by daejees:
  10856. - Correct the control spec to match how the code actually responds
  10857. to 'getinfo addr-mappings/*'.
  10858. - The control spec described a GUARDS event, but the code
  10859. implemented a GUARD event. Standardize on GUARD, but let people
  10860. ask for GUARDS too.
  10861. Changes in version 0.1.2.10-rc - 2007-03-07
  10862. o Major bugfixes (Windows):
  10863. - Do not load the NT services library functions (which may not exist)
  10864. just to detect if we're a service trying to shut down. Now we run
  10865. on Win98 and friends again.
  10866. o Minor bugfixes (other):
  10867. - Clarify a couple of log messages.
  10868. - Fix a misleading socks5 error number.
  10869. Changes in version 0.1.2.9-rc - 2007-03-02
  10870. o Major bugfixes (Windows):
  10871. - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
  10872. of the usual GCC "%llu". This prevents a bug when saving 64-bit
  10873. int configuration values: the high-order 32 bits would get
  10874. truncated. In particular, we were being bitten by the default
  10875. MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
  10876. and maybe also bug 397.)
  10877. o Minor bugfixes (performance):
  10878. - Use OpenSSL's AES implementation on platforms where it's faster.
  10879. This could save us as much as 10% CPU usage.
  10880. o Minor bugfixes (server):
  10881. - Do not rotate onion key immediately after setting it for the first
  10882. time.
  10883. o Minor bugfixes (directory authorities):
  10884. - Stop calling servers that have been hibernating for a long time
  10885. "stable". Also, stop letting hibernating or obsolete servers affect
  10886. uptime and bandwidth cutoffs.
  10887. - Stop listing hibernating servers in the v1 directory.
  10888. o Minor bugfixes (hidden services):
  10889. - Upload hidden service descriptors slightly less often, to reduce
  10890. load on authorities.
  10891. o Minor bugfixes (other):
  10892. - Fix an assert that could trigger if a controller quickly set then
  10893. cleared EntryNodes. Bug found by Udo van den Heuvel.
  10894. - On architectures where sizeof(int)>4, still clamp declarable bandwidth
  10895. to INT32_MAX.
  10896. - Fix a potential race condition in the rpm installer. Found by
  10897. Stefan Nordhausen.
  10898. - Try to fix eventdns warnings once and for all: do not treat a dns rcode
  10899. of 2 as indicating that the server is completely bad; it sometimes
  10900. means that the server is just bad for the request in question. (may fix
  10901. the last of bug 326.)
  10902. - Disable encrypted directory connections when we don't have a server
  10903. descriptor for the destination. We'll get this working again in
  10904. the 0.2.0 branch.
  10905. Changes in version 0.1.2.8-beta - 2007-02-26
  10906. o Major bugfixes (crashes):
  10907. - Stop crashing when the controller asks us to resetconf more than
  10908. one config option at once. (Vidalia 0.0.11 does this.)
  10909. - Fix a crash that happened on Win98 when we're given command-line
  10910. arguments: don't try to load NT service functions from advapi32.dll
  10911. except when we need them. (Bug introduced in 0.1.2.7-alpha;
  10912. resolves bug 389.)
  10913. - Fix a longstanding obscure crash bug that could occur when
  10914. we run out of DNS worker processes. (Resolves bug 390.)
  10915. o Major bugfixes (hidden services):
  10916. - Correctly detect whether hidden service descriptor downloads are
  10917. in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
  10918. o Major bugfixes (accounting):
  10919. - When we start during an accounting interval before it's time to wake
  10920. up, remember to wake up at the correct time. (May fix bug 342.)
  10921. o Minor bugfixes (controller):
  10922. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  10923. clear the corresponding on_circuit variable, and remember later
  10924. that we don't need to send a redundant CLOSED event. Resolves part
  10925. 3 of bug 367.
  10926. - Report events where a resolve succeeded or where we got a socks
  10927. protocol error correctly, rather than calling both of them
  10928. "INTERNAL".
  10929. - Change reported stream target addresses to IP consistently when
  10930. we finally get the IP from an exit node.
  10931. - Send log messages to the controller even if they happen to be very
  10932. long.
  10933. o Minor bugfixes (other):
  10934. - Display correct results when reporting which versions are
  10935. recommended, and how recommended they are. (Resolves bug 383.)
  10936. - Improve our estimates for directory bandwidth to be less random:
  10937. guess that an unrecognized directory will have the average bandwidth
  10938. from all known directories, not that it will have the average
  10939. bandwidth from those directories earlier than it on the list.
  10940. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  10941. and hup, stop triggering an assert based on an empty onion_key.
  10942. - On platforms with no working mmap() equivalent, don't warn the
  10943. user when cached-routers doesn't exist.
  10944. - Warn the user when mmap() [or its equivalent] fails for some reason
  10945. other than file-not-found.
  10946. - Don't warn the user when cached-routers.new doesn't exist: that's
  10947. perfectly fine when starting up for the first time.
  10948. - When EntryNodes are configured, rebuild the guard list to contain,
  10949. in order: the EntryNodes that were guards before; the rest of the
  10950. EntryNodes; the nodes that were guards before.
  10951. - Mask out all signals in sub-threads; only the libevent signal
  10952. handler should be processing them. This should prevent some crashes
  10953. on some machines using pthreads. (Patch from coderman.)
  10954. - Fix switched arguments on memset in the implementation of
  10955. tor_munmap() for systems with no mmap() call.
  10956. - When Tor receives a router descriptor that it asked for, but
  10957. no longer wants (because it has received fresh networkstatuses
  10958. in the meantime), do not warn the user. Cache the descriptor if
  10959. we're a cache; drop it if we aren't.
  10960. - Make earlier entry guards _really_ get retried when the network
  10961. comes back online.
  10962. - On a malformed DNS reply, always give an error to the corresponding
  10963. DNS request.
  10964. - Build with recent libevents on platforms that do not define the
  10965. nonstandard types "u_int8_t" and friends.
  10966. o Minor features (controller):
  10967. - Warn the user when an application uses the obsolete binary v0
  10968. control protocol. We're planning to remove support for it during
  10969. the next development series, so it's good to give people some
  10970. advance warning.
  10971. - Add STREAM_BW events to report per-entry-stream bandwidth
  10972. use. (Patch from Robert Hogan.)
  10973. - Rate-limit SIGNEWNYM signals in response to controllers that
  10974. impolitely generate them for every single stream. (Patch from
  10975. mwenge; closes bug 394.)
  10976. - Make REMAP stream events have a SOURCE (cache or exit), and
  10977. make them generated in every case where we get a successful
  10978. connected or resolved cell.
  10979. o Minor bugfixes (performance):
  10980. - Call router_have_min_dir_info half as often. (This is showing up in
  10981. some profiles, but not others.)
  10982. - When using GCC, make log_debug never get called at all, and its
  10983. arguments never get evaluated, when no debug logs are configured.
  10984. (This is showing up in some profiles, but not others.)
  10985. o Minor features:
  10986. - Remove some never-implemented options. Mark PathlenCoinWeight as
  10987. obsolete.
  10988. - Implement proposal 106: Stop requiring clients to have well-formed
  10989. certificates; stop checking nicknames in certificates. (Clients
  10990. have certificates so that they can look like Tor servers, but in
  10991. the future we might want to allow them to look like regular TLS
  10992. clients instead. Nicknames in certificates serve no purpose other
  10993. than making our protocol easier to recognize on the wire.)
  10994. - Revise messages on handshake failure again to be even more clear about
  10995. which are incoming connections and which are outgoing.
  10996. - Discard any v1 directory info that's over 1 month old (for
  10997. directories) or over 1 week old (for running-routers lists).
  10998. - Do not warn when individual nodes in the configuration's EntryNodes,
  10999. ExitNodes, etc are down: warn only when all possible nodes
  11000. are down. (Fixes bug 348.)
  11001. - Always remove expired routers and networkstatus docs before checking
  11002. whether we have enough information to build circuits. (Fixes
  11003. bug 373.)
  11004. - Put a lower-bound on MaxAdvertisedBandwidth.
  11005. Changes in version 0.1.2.7-alpha - 2007-02-06
  11006. o Major bugfixes (rate limiting):
  11007. - Servers decline directory requests much more aggressively when
  11008. they're low on bandwidth. Otherwise they end up queueing more and
  11009. more directory responses, which can't be good for latency.
  11010. - But never refuse directory requests from local addresses.
  11011. - Fix a memory leak when sending a 503 response for a networkstatus
  11012. request.
  11013. - Be willing to read or write on local connections (e.g. controller
  11014. connections) even when the global rate limiting buckets are empty.
  11015. - If our system clock jumps back in time, don't publish a negative
  11016. uptime in the descriptor. Also, don't let the global rate limiting
  11017. buckets go absurdly negative.
  11018. - Flush local controller connection buffers periodically as we're
  11019. writing to them, so we avoid queueing 4+ megabytes of data before
  11020. trying to flush.
  11021. o Major bugfixes (NT services):
  11022. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  11023. command-line flag so that admins can override the default by saying
  11024. "tor --service install --user "SomeUser"". This will not affect
  11025. existing installed services. Also, warn the user that the service
  11026. will look for its configuration file in the service user's
  11027. %appdata% directory. (We can't do the 'hardwire the user's appdata
  11028. directory' trick any more, since we may not have read access to that
  11029. directory.)
  11030. o Major bugfixes (other):
  11031. - Previously, we would cache up to 16 old networkstatus documents
  11032. indefinitely, if they came from nontrusted authorities. Now we
  11033. discard them if they are more than 10 days old.
  11034. - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
  11035. Del Vecchio).
  11036. - Detect and reject malformed DNS responses containing circular
  11037. pointer loops.
  11038. - If exits are rare enough that we're not marking exits as guards,
  11039. ignore exit bandwidth when we're deciding the required bandwidth
  11040. to become a guard.
  11041. - When we're handling a directory connection tunneled over Tor,
  11042. don't fill up internal memory buffers with all the data we want
  11043. to tunnel; instead, only add it if the OR connection that will
  11044. eventually receive it has some room for it. (This can lead to
  11045. slowdowns in tunneled dir connections; a better solution will have
  11046. to wait for 0.2.0.)
  11047. o Minor bugfixes (dns):
  11048. - Add some defensive programming to eventdns.c in an attempt to catch
  11049. possible memory-stomping bugs.
  11050. - Detect and reject DNS replies containing IPv4 or IPv6 records with
  11051. an incorrect number of bytes. (Previously, we would ignore the
  11052. extra bytes.)
  11053. - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
  11054. in the correct order, and doesn't crash.
  11055. - Free memory held in recently-completed DNS lookup attempts on exit.
  11056. This was not a memory leak, but may have been hiding memory leaks.
  11057. - Handle TTL values correctly on reverse DNS lookups.
  11058. - Treat failure to parse resolv.conf as an error.
  11059. o Minor bugfixes (other):
  11060. - Fix crash with "tor --list-fingerprint" (reported by seeess).
  11061. - When computing clock skew from directory HTTP headers, consider what
  11062. time it was when we finished asking for the directory, not what
  11063. time it is now.
  11064. - Expire socks connections if they spend too long waiting for the
  11065. handshake to finish. Previously we would let them sit around for
  11066. days, if the connecting application didn't close them either.
  11067. - And if the socks handshake hasn't started, don't send a
  11068. "DNS resolve socks failed" handshake reply; just close it.
  11069. - Stop using C functions that OpenBSD's linker doesn't like.
  11070. - Don't launch requests for descriptors unless we have networkstatuses
  11071. from at least half of the authorities. This delays the first
  11072. download slightly under pathological circumstances, but can prevent
  11073. us from downloading a bunch of descriptors we don't need.
  11074. - Do not log IPs with TLS failures for incoming TLS
  11075. connections. (Fixes bug 382.)
  11076. - If the user asks to use invalid exit nodes, be willing to use
  11077. unstable ones.
  11078. - Stop using the reserved ac_cv namespace in our configure script.
  11079. - Call stat() slightly less often; use fstat() when possible.
  11080. - Refactor the way we handle pending circuits when an OR connection
  11081. completes or fails, in an attempt to fix a rare crash bug.
  11082. - Only rewrite a conn's address based on X-Forwarded-For: headers
  11083. if it's a parseable public IP address; and stop adding extra quotes
  11084. to the resulting address.
  11085. o Major features:
  11086. - Weight directory requests by advertised bandwidth. Now we can
  11087. let servers enable write limiting but still allow most clients to
  11088. succeed at their directory requests. (We still ignore weights when
  11089. choosing a directory authority; I hope this is a feature.)
  11090. o Minor features:
  11091. - Create a new file ReleaseNotes which was the old ChangeLog. The
  11092. new ChangeLog file now includes the summaries for all development
  11093. versions too.
  11094. - Check for addresses with invalid characters at the exit as well
  11095. as at the client, and warn less verbosely when they fail. You can
  11096. override this by setting ServerDNSAllowNonRFC953Addresses to 1.
  11097. - Adapt a patch from goodell to let the contrib/exitlist script
  11098. take arguments rather than require direct editing.
  11099. - Inform the server operator when we decide not to advertise a
  11100. DirPort due to AccountingMax enabled or a low BandwidthRate. It
  11101. was confusing Zax, so now we're hopefully more helpful.
  11102. - Bring us one step closer to being able to establish an encrypted
  11103. directory tunnel without knowing a descriptor first. Still not
  11104. ready yet. As part of the change, now assume we can use a
  11105. create_fast cell if we don't know anything about a router.
  11106. - Allow exit nodes to use nameservers running on ports other than 53.
  11107. - Servers now cache reverse DNS replies.
  11108. - Add an --ignore-missing-torrc command-line option so that we can
  11109. get the "use sensible defaults if the configuration file doesn't
  11110. exist" behavior even when specifying a torrc location on the command
  11111. line.
  11112. o Minor features (controller):
  11113. - Track reasons for OR connection failure; make these reasons
  11114. available via the controller interface. (Patch from Mike Perry.)
  11115. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  11116. can learn when clients are sending malformed hostnames to Tor.
  11117. - Clean up documentation for controller status events.
  11118. - Add a REMAP status to stream events to note that a stream's
  11119. address has changed because of a cached address or a MapAddress
  11120. directive.
  11121. Changes in version 0.1.2.6-alpha - 2007-01-09
  11122. o Major bugfixes:
  11123. - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
  11124. connection handles more than 4 gigs in either direction, we crash.
  11125. - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
  11126. advertised exit node, somebody might try to exit from us when
  11127. we're bootstrapping and before we've built our descriptor yet.
  11128. Refuse the connection rather than crashing.
  11129. o Minor bugfixes:
  11130. - Warn if we (as a server) find that we've resolved an address that we
  11131. weren't planning to resolve.
  11132. - Warn that using select() on any libevent version before 1.1 will be
  11133. unnecessarily slow (even for select()).
  11134. - Flush ERR-level controller status events just like we currently
  11135. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  11136. the controller from learning about current events.
  11137. o Minor features (more controller status events):
  11138. - Implement EXTERNAL_ADDRESS server status event so controllers can
  11139. learn when our address changes.
  11140. - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
  11141. can learn when directories reject our descriptor.
  11142. - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
  11143. can learn when a client application is speaking a non-socks protocol
  11144. to our SocksPort.
  11145. - Implement DANGEROUS_SOCKS client status event so controllers
  11146. can learn when a client application is leaking DNS addresses.
  11147. - Implement BUG general status event so controllers can learn when
  11148. Tor is unhappy about its internal invariants.
  11149. - Implement CLOCK_SKEW general status event so controllers can learn
  11150. when Tor thinks the system clock is set incorrectly.
  11151. - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
  11152. server status events so controllers can learn when their descriptors
  11153. are accepted by a directory.
  11154. - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
  11155. server status events so controllers can learn about Tor's progress in
  11156. deciding whether it's reachable from the outside.
  11157. - Implement BAD_LIBEVENT general status event so controllers can learn
  11158. when we have a version/method combination in libevent that needs to
  11159. be changed.
  11160. - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
  11161. and DNS_USELESS server status events so controllers can learn
  11162. about changes to DNS server status.
  11163. o Minor features (directory):
  11164. - Authorities no longer recommend exits as guards if this would shift
  11165. too much load to the exit nodes.
  11166. Changes in version 0.1.2.5-alpha - 2007-01-06
  11167. o Major features:
  11168. - Enable write limiting as well as read limiting. Now we sacrifice
  11169. capacity if we're pushing out lots of directory traffic, rather
  11170. than overrunning the user's intended bandwidth limits.
  11171. - Include TLS overhead when counting bandwidth usage; previously, we
  11172. would count only the bytes sent over TLS, but not the bytes used
  11173. to send them.
  11174. - Support running the Tor service with a torrc not in the same
  11175. directory as tor.exe and default to using the torrc located in
  11176. the %appdata%\Tor\ of the user who installed the service. Patch
  11177. from Matt Edman.
  11178. - Servers now check for the case when common DNS requests are going to
  11179. wildcarded addresses (i.e. all getting the same answer), and change
  11180. their exit policy to reject *:* if it's happening.
  11181. - Implement BEGIN_DIR cells, so we can connect to the directory
  11182. server via TLS to do encrypted directory requests rather than
  11183. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  11184. config options if you like.
  11185. o Minor features (config and docs):
  11186. - Start using the state file to store bandwidth accounting data:
  11187. the bw_accounting file is now obsolete. We'll keep generating it
  11188. for a while for people who are still using 0.1.2.4-alpha.
  11189. - Try to batch changes to the state file so that we do as few
  11190. disk writes as possible while still storing important things in
  11191. a timely fashion.
  11192. - The state file and the bw_accounting file get saved less often when
  11193. the AvoidDiskWrites config option is set.
  11194. - Make PIDFile work on Windows (untested).
  11195. - Add internal descriptions for a bunch of configuration options:
  11196. accessible via controller interface and in comments in saved
  11197. options files.
  11198. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  11199. NNTP by default, so this seems like a sensible addition.
  11200. - Clients now reject hostnames with invalid characters. This should
  11201. avoid some inadvertent info leaks. Add an option
  11202. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  11203. is running a private network with hosts called @, !, and #.
  11204. - Add a maintainer script to tell us which options are missing
  11205. documentation: "make check-docs".
  11206. - Add a new address-spec.txt document to describe our special-case
  11207. addresses: .exit, .onion, and .noconnnect.
  11208. o Minor features (DNS):
  11209. - Ongoing work on eventdns infrastructure: now it has dns server
  11210. and ipv6 support. One day Tor will make use of it.
  11211. - Add client-side caching for reverse DNS lookups.
  11212. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  11213. - When we change nameservers or IP addresses, reset and re-launch
  11214. our tests for DNS hijacking.
  11215. o Minor features (directory):
  11216. - Authorities now specify server versions in networkstatus. This adds
  11217. about 2% to the size of compressed networkstatus docs, and allows
  11218. clients to tell which servers support BEGIN_DIR and which don't.
  11219. The implementation is forward-compatible with a proposed future
  11220. protocol version scheme not tied to Tor versions.
  11221. - DirServer configuration lines now have an orport= option so
  11222. clients can open encrypted tunnels to the authorities without
  11223. having downloaded their descriptors yet. Enabled for moria1,
  11224. moria2, tor26, and lefkada now in the default configuration.
  11225. - Directory servers are more willing to send a 503 "busy" if they
  11226. are near their write limit, especially for v1 directory requests.
  11227. Now they can use their limited bandwidth for actual Tor traffic.
  11228. - Clients track responses with status 503 from dirservers. After a
  11229. dirserver has given us a 503, we try not to use it until an hour has
  11230. gone by, or until we have no dirservers that haven't given us a 503.
  11231. - When we get a 503 from a directory, and we're not a server, we don't
  11232. count the failure against the total number of failures allowed
  11233. for the thing we're trying to download.
  11234. - Report X-Your-Address-Is correctly from tunneled directory
  11235. connections; don't report X-Your-Address-Is when it's an internal
  11236. address; and never believe reported remote addresses when they're
  11237. internal.
  11238. - Protect against an unlikely DoS attack on directory servers.
  11239. - Add a BadDirectory flag to network status docs so that authorities
  11240. can (eventually) tell clients about caches they believe to be
  11241. broken.
  11242. o Minor features (controller):
  11243. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  11244. - Reimplement GETINFO so that info/names stays in sync with the
  11245. actual keys.
  11246. - Implement "GETINFO fingerprint".
  11247. - Implement "SETEVENTS GUARD" so controllers can get updates on
  11248. entry guard status as it changes.
  11249. o Minor features (clean up obsolete pieces):
  11250. - Remove some options that have been deprecated since at least
  11251. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  11252. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  11253. to set log options.
  11254. - We no longer look for identity and onion keys in "identity.key" and
  11255. "onion.key" -- these were replaced by secret_id_key and
  11256. secret_onion_key in 0.0.8pre1.
  11257. - We no longer require unrecognized directory entries to be
  11258. preceded by "opt".
  11259. o Major bugfixes (security):
  11260. - Stop sending the HttpProxyAuthenticator string to directory
  11261. servers when directory connections are tunnelled through Tor.
  11262. - Clients no longer store bandwidth history in the state file.
  11263. - Do not log introduction points for hidden services if SafeLogging
  11264. is set.
  11265. - When generating bandwidth history, round down to the nearest
  11266. 1k. When storing accounting data, round up to the nearest 1k.
  11267. - When we're running as a server, remember when we last rotated onion
  11268. keys, so that we will rotate keys once they're a week old even if
  11269. we never stay up for a week ourselves.
  11270. o Major bugfixes (other):
  11271. - Fix a longstanding bug in eventdns that prevented the count of
  11272. timed-out resolves from ever being reset. This bug caused us to
  11273. give up on a nameserver the third time it timed out, and try it
  11274. 10 seconds later... and to give up on it every time it timed out
  11275. after that.
  11276. - Take out the '5 second' timeout from the connection retry
  11277. schedule. Now the first connect attempt will wait a full 10
  11278. seconds before switching to a new circuit. Perhaps this will help
  11279. a lot. Based on observations from Mike Perry.
  11280. - Fix a bug on the Windows implementation of tor_mmap_file() that
  11281. would prevent the cached-routers file from ever loading. Reported
  11282. by John Kimble.
  11283. o Minor bugfixes:
  11284. - Fix an assert failure when a directory authority sets
  11285. AuthDirRejectUnlisted and then receives a descriptor from an
  11286. unlisted router. Reported by seeess.
  11287. - Avoid a double-free when parsing malformed DirServer lines.
  11288. - Fix a bug when a BSD-style PF socket is first used. Patch from
  11289. Fabian Keil.
  11290. - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
  11291. to resolve an address at a given exit node even when they ask for
  11292. it by name.
  11293. - Servers no longer ever list themselves in their "family" line,
  11294. even if configured to do so. This makes it easier to configure
  11295. family lists conveniently.
  11296. - When running as a server, don't fall back to 127.0.0.1 when no
  11297. nameservers are configured in /etc/resolv.conf; instead, make the
  11298. user fix resolv.conf or specify nameservers explicitly. (Resolves
  11299. bug 363.)
  11300. - Stop accepting certain malformed ports in configured exit policies.
  11301. - Don't re-write the fingerprint file every restart, unless it has
  11302. changed.
  11303. - Stop warning when a single nameserver fails: only warn when _all_ of
  11304. our nameservers have failed. Also, when we only have one nameserver,
  11305. raise the threshold for deciding that the nameserver is dead.
  11306. - Directory authorities now only decide that routers are reachable
  11307. if their identity keys are as expected.
  11308. - When the user uses bad syntax in the Log config line, stop
  11309. suggesting other bad syntax as a replacement.
  11310. - Correctly detect ipv6 DNS capability on OpenBSD.
  11311. o Minor bugfixes (controller):
  11312. - Report the circuit number correctly in STREAM CLOSED events. Bug
  11313. reported by Mike Perry.
  11314. - Do not report bizarre values for results of accounting GETINFOs
  11315. when the last second's write or read exceeds the allotted bandwidth.
  11316. - Report "unrecognized key" rather than an empty string when the
  11317. controller tries to fetch a networkstatus that doesn't exist.
  11318. Changes in version 0.1.1.26 - 2006-12-14
  11319. o Security bugfixes:
  11320. - Stop sending the HttpProxyAuthenticator string to directory
  11321. servers when directory connections are tunnelled through Tor.
  11322. - Clients no longer store bandwidth history in the state file.
  11323. - Do not log introduction points for hidden services if SafeLogging
  11324. is set.
  11325. o Minor bugfixes:
  11326. - Fix an assert failure when a directory authority sets
  11327. AuthDirRejectUnlisted and then receives a descriptor from an
  11328. unlisted router (reported by seeess).
  11329. Changes in version 0.1.2.4-alpha - 2006-12-03
  11330. o Major features:
  11331. - Add support for using natd; this allows FreeBSDs earlier than
  11332. 5.1.2 to have ipfw send connections through Tor without using
  11333. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  11334. o Minor features:
  11335. - Make all connections to addresses of the form ".noconnect"
  11336. immediately get closed. This lets application/controller combos
  11337. successfully test whether they're talking to the same Tor by
  11338. watching for STREAM events.
  11339. - Make cross.sh cross-compilation script work even when autogen.sh
  11340. hasn't been run. (Patch from Michael Mohr.)
  11341. - Statistics dumped by -USR2 now include a breakdown of public key
  11342. operations, for profiling.
  11343. o Major bugfixes:
  11344. - Fix a major leak when directory authorities parse their
  11345. approved-routers list, a minor memory leak when we fail to pick
  11346. an exit node, and a few rare leaks on errors.
  11347. - Handle TransPort connections even when the server sends data before
  11348. the client sends data. Previously, the connection would just hang
  11349. until the client sent data. (Patch from tup based on patch from
  11350. Zajcev Evgeny.)
  11351. - Avoid assert failure when our cached-routers file is empty on
  11352. startup.
  11353. o Minor bugfixes:
  11354. - Don't log spurious warnings when we see a circuit close reason we
  11355. don't recognize; it's probably just from a newer version of Tor.
  11356. - Have directory authorities allow larger amounts of drift in uptime
  11357. without replacing the server descriptor: previously, a server that
  11358. restarted every 30 minutes could have 48 "interesting" descriptors
  11359. per day.
  11360. - Start linking to the Tor specification and Tor reference manual
  11361. correctly in the Windows installer.
  11362. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  11363. Tor/Privoxy we also uninstall Vidalia.
  11364. - Resume building on Irix64, and fix a lot of warnings from its
  11365. MIPSpro C compiler.
  11366. - Don't corrupt last_guessed_ip in router_new_address_suggestion()
  11367. when we're running as a client.
  11368. Changes in version 0.1.1.25 - 2006-11-04
  11369. o Major bugfixes:
  11370. - When a client asks us to resolve (rather than connect to)
  11371. an address, and we have a cached answer, give them the cached
  11372. answer. Previously, we would give them no answer at all.
  11373. - We were building exactly the wrong circuits when we predict
  11374. hidden service requirements, meaning Tor would have to build all
  11375. its circuits on demand.
  11376. - If none of our live entry guards have a high uptime, but we
  11377. require a guard with a high uptime, try adding a new guard before
  11378. we give up on the requirement. This patch should make long-lived
  11379. connections more stable on average.
  11380. - When testing reachability of our DirPort, don't launch new
  11381. tests when there's already one in progress -- unreachable
  11382. servers were stacking up dozens of testing streams.
  11383. o Security bugfixes:
  11384. - When the user sends a NEWNYM signal, clear the client-side DNS
  11385. cache too. Otherwise we continue to act on previous information.
  11386. o Minor bugfixes:
  11387. - Avoid a memory corruption bug when creating a hash table for
  11388. the first time.
  11389. - Avoid possibility of controller-triggered crash when misusing
  11390. certain commands from a v0 controller on platforms that do not
  11391. handle printf("%s",NULL) gracefully.
  11392. - Avoid infinite loop on unexpected controller input.
  11393. - Don't log spurious warnings when we see a circuit close reason we
  11394. don't recognize; it's probably just from a newer version of Tor.
  11395. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  11396. Tor/Privoxy we also uninstall Vidalia.
  11397. Changes in version 0.1.2.3-alpha - 2006-10-29
  11398. o Minor features:
  11399. - Prepare for servers to publish descriptors less often: never
  11400. discard a descriptor simply for being too old until either it is
  11401. recommended by no authorities, or until we get a better one for
  11402. the same router. Make caches consider retaining old recommended
  11403. routers for even longer.
  11404. - If most authorities set a BadExit flag for a server, clients
  11405. don't think of it as a general-purpose exit. Clients only consider
  11406. authorities that advertise themselves as listing bad exits.
  11407. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  11408. headers for content, so that we can work better in the presence of
  11409. caching HTTP proxies.
  11410. - Allow authorities to list nodes as bad exits by fingerprint or by
  11411. address.
  11412. o Minor features, controller:
  11413. - Add a REASON field to CIRC events; for backward compatibility, this
  11414. field is sent only to controllers that have enabled the extended
  11415. event format. Also, add additional reason codes to explain why
  11416. a given circuit has been destroyed or truncated. (Patches from
  11417. Mike Perry)
  11418. - Add a REMOTE_REASON field to extended CIRC events to tell the
  11419. controller about why a remote OR told us to close a circuit.
  11420. - Stream events also now have REASON and REMOTE_REASON fields,
  11421. working much like those for circuit events.
  11422. - There's now a GETINFO ns/... field so that controllers can ask Tor
  11423. about the current status of a router.
  11424. - A new event type "NS" to inform a controller when our opinion of
  11425. a router's status has changed.
  11426. - Add a GETINFO events/names and GETINFO features/names so controllers
  11427. can tell which events and features are supported.
  11428. - A new CLEARDNSCACHE signal to allow controllers to clear the
  11429. client-side DNS cache without expiring circuits.
  11430. o Security bugfixes:
  11431. - When the user sends a NEWNYM signal, clear the client-side DNS
  11432. cache too. Otherwise we continue to act on previous information.
  11433. o Minor bugfixes:
  11434. - Avoid sending junk to controllers or segfaulting when a controller
  11435. uses EVENT_NEW_DESC with verbose nicknames.
  11436. - Stop triggering asserts if the controller tries to extend hidden
  11437. service circuits (reported by mwenge).
  11438. - Avoid infinite loop on unexpected controller input.
  11439. - When the controller does a "GETINFO network-status", tell it
  11440. about even those routers whose descriptors are very old, and use
  11441. long nicknames where appropriate.
  11442. - Change NT service functions to be loaded on demand. This lets us
  11443. build with MinGW without breaking Tor for Windows 98 users.
  11444. - Do DirPort reachability tests less often, since a single test
  11445. chews through many circuits before giving up.
  11446. - In the hidden service example in torrc.sample, stop recommending
  11447. esoteric and discouraged hidden service options.
  11448. - When stopping an NT service, wait up to 10 sec for it to actually
  11449. stop. Patch from Matt Edman; resolves bug 295.
  11450. - Fix handling of verbose nicknames with ORCONN controller events:
  11451. make them show up exactly when requested, rather than exactly when
  11452. not requested.
  11453. - When reporting verbose nicknames in entry_guards_getinfo(), avoid
  11454. printing a duplicate "$" in the keys we send (reported by mwenge).
  11455. - Correctly set maximum connection limit on Cygwin. (This time
  11456. for sure!)
  11457. - Try to detect Windows correctly when cross-compiling.
  11458. - Detect the size of the routers file correctly even if it is
  11459. corrupted (on systems without mmap) or not page-aligned (on systems
  11460. with mmap). This bug was harmless.
  11461. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  11462. to open a stream fails; now we do in more cases. This should
  11463. make clients able to find a good exit faster in some cases, since
  11464. unhandleable requests will now get an error rather than timing out.
  11465. - Resolve two memory leaks when rebuilding the on-disk router cache
  11466. (reported by fookoowa).
  11467. - Clean up minor code warnings suggested by the MIPSpro C compiler,
  11468. and reported by some Centos users.
  11469. - Controller signals now work on non-Unix platforms that don't define
  11470. SIGUSR1 and SIGUSR2 the way we expect.
  11471. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  11472. values before failing, and always enables eventdns.
  11473. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  11474. Try to fix this in configure.in by checking for most functions
  11475. before we check for libevent.
  11476. Changes in version 0.1.2.2-alpha - 2006-10-07
  11477. o Major features:
  11478. - Make our async eventdns library on-by-default for Tor servers,
  11479. and plan to deprecate the separate dnsworker threads.
  11480. - Add server-side support for "reverse" DNS lookups (using PTR
  11481. records so clients can determine the canonical hostname for a given
  11482. IPv4 address). Only supported by servers using eventdns; servers
  11483. now announce in their descriptors whether they support eventdns.
  11484. - Specify and implement client-side SOCKS5 interface for reverse DNS
  11485. lookups (see doc/socks-extensions.txt).
  11486. - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
  11487. connect to directory servers through Tor. Previously, clients needed
  11488. to find Tor exits to make private connections to directory servers.
  11489. - Avoid choosing Exit nodes for entry or middle hops when the
  11490. total bandwidth available from non-Exit nodes is much higher than
  11491. the total bandwidth available from Exit nodes.
  11492. - Workaround for name servers (like Earthlink's) that hijack failing
  11493. DNS requests and replace the no-such-server answer with a "helpful"
  11494. redirect to an advertising-driven search portal. Also work around
  11495. DNS hijackers who "helpfully" decline to hijack known-invalid
  11496. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  11497. lets you turn it off.
  11498. - Send out a burst of long-range padding cells once we've established
  11499. that we're reachable. Spread them over 4 circuits, so hopefully
  11500. a few will be fast. This exercises our bandwidth and bootstraps
  11501. us into the directory more quickly.
  11502. o New/improved config options:
  11503. - Add new config option "ResolvConf" to let the server operator
  11504. choose an alternate resolve.conf file when using eventdns.
  11505. - Add an "EnforceDistinctSubnets" option to control our "exclude
  11506. servers on the same /16" behavior. It's still on by default; this
  11507. is mostly for people who want to operate private test networks with
  11508. all the machines on the same subnet.
  11509. - If one of our entry guards is on the ExcludeNodes list, or the
  11510. directory authorities don't think it's a good guard, treat it as
  11511. if it were unlisted: stop using it as a guard, and throw it off
  11512. the guards list if it stays that way for a long time.
  11513. - Allow directory authorities to be marked separately as authorities
  11514. for the v1 directory protocol, the v2 directory protocol, and
  11515. as hidden service directories, to make it easier to retire old
  11516. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  11517. to continue being hidden service authorities too.
  11518. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  11519. o Minor features, controller:
  11520. - Fix CIRC controller events so that controllers can learn the
  11521. identity digests of non-Named servers used in circuit paths.
  11522. - Let controllers ask for more useful identifiers for servers. Instead
  11523. of learning identity digests for un-Named servers and nicknames
  11524. for Named servers, the new identifiers include digest, nickname,
  11525. and indication of Named status. Off by default; see control-spec.txt
  11526. for more information.
  11527. - Add a "getinfo address" controller command so it can display Tor's
  11528. best guess to the user.
  11529. - New controller event to alert the controller when our server
  11530. descriptor has changed.
  11531. - Give more meaningful errors on controller authentication failure.
  11532. o Minor features, other:
  11533. - When asked to resolve a hostname, don't use non-exit servers unless
  11534. requested to do so. This allows servers with broken DNS to be
  11535. useful to the network.
  11536. - Divide eventdns log messages into warn and info messages.
  11537. - Reserve the nickname "Unnamed" for routers that can't pick
  11538. a hostname: any router can call itself Unnamed; directory
  11539. authorities will never allocate Unnamed to any particular router;
  11540. clients won't believe that any router is the canonical Unnamed.
  11541. - Only include function names in log messages for info/debug messages.
  11542. For notice/warn/err, the content of the message should be clear on
  11543. its own, and printing the function name only confuses users.
  11544. - Avoid some false positives during reachability testing: don't try
  11545. to test via a server that's on the same /24 as us.
  11546. - If we fail to build a circuit to an intended enclave, and it's
  11547. not mandatory that we use that enclave, stop wanting it.
  11548. - When eventdns is enabled, allow multithreaded builds on NetBSD and
  11549. OpenBSD. (We had previously disabled threads on these platforms
  11550. because they didn't have working thread-safe resolver functions.)
  11551. o Major bugfixes, anonymity/security:
  11552. - If a client asked for a server by name, and there's a named server
  11553. in our network-status but we don't have its descriptor yet, we
  11554. could return an unnamed server instead.
  11555. - Fix NetBSD bug that could allow someone to force uninitialized RAM
  11556. to be sent to a server's DNS resolver. This only affects NetBSD
  11557. and other platforms that do not bounds-check tolower().
  11558. - Reject (most) attempts to use Tor circuits with length one. (If
  11559. many people start using Tor as a one-hop proxy, exit nodes become
  11560. a more attractive target for compromise.)
  11561. - Just because your DirPort is open doesn't mean people should be
  11562. able to remotely teach you about hidden service descriptors. Now
  11563. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  11564. o Major bugfixes, other:
  11565. - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
  11566. - When a client asks the server to resolve (not connect to)
  11567. an address, and it has a cached answer, give them the cached answer.
  11568. Previously, the server would give them no answer at all.
  11569. - Allow really slow clients to not hang up five minutes into their
  11570. directory downloads (suggested by Adam J. Richter).
  11571. - We were building exactly the wrong circuits when we anticipated
  11572. hidden service requirements, meaning Tor would have to build all
  11573. its circuits on demand.
  11574. - Avoid crashing when we mmap a router cache file of size 0.
  11575. - When testing reachability of our DirPort, don't launch new
  11576. tests when there's already one in progress -- unreachable
  11577. servers were stacking up dozens of testing streams.
  11578. o Minor bugfixes, correctness:
  11579. - If we're a directory mirror and we ask for "all" network status
  11580. documents, we would discard status documents from authorities
  11581. we don't recognize.
  11582. - Avoid a memory corruption bug when creating a hash table for
  11583. the first time.
  11584. - Avoid controller-triggered crash when misusing certain commands
  11585. from a v0 controller on platforms that do not handle
  11586. printf("%s",NULL) gracefully.
  11587. - Don't crash when a controller sends a third argument to an
  11588. "extendcircuit" request.
  11589. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  11590. response; fix error code when "getinfo dir/status/" fails.
  11591. - Avoid crash when telling controller stream-status and a stream
  11592. is detached.
  11593. - Patch from Adam Langley to fix assert() in eventdns.c.
  11594. - Fix a debug log message in eventdns to say "X resolved to Y"
  11595. instead of "X resolved to X".
  11596. - Make eventdns give strings for DNS errors, not just error numbers.
  11597. - Track unreachable entry guards correctly: don't conflate
  11598. 'unreachable by us right now' with 'listed as down by the directory
  11599. authorities'. With the old code, if a guard was unreachable by
  11600. us but listed as running, it would clog our guard list forever.
  11601. - Behave correctly in case we ever have a network with more than
  11602. 2GB/s total advertised capacity.
  11603. - Make TrackExitHosts case-insensitive, and fix the behavior of
  11604. ".suffix" TrackExitHosts items to avoid matching in the middle of
  11605. an address.
  11606. - Finally fix the openssl warnings from newer gccs that believe that
  11607. ignoring a return value is okay, but casting a return value and
  11608. then ignoring it is a sign of madness.
  11609. - Prevent the contrib/exitlist script from printing the same
  11610. result more than once.
  11611. - Patch from Steve Hildrey: Generate network status correctly on
  11612. non-versioning dirservers.
  11613. - Don't listen to the X-Your-Address-Is hint if you did the lookup
  11614. via Tor; otherwise you'll think you're the exit node's IP address.
  11615. o Minor bugfixes, performance:
  11616. - Two small performance improvements on parsing descriptors.
  11617. - Major performance improvement on inserting descriptors: change
  11618. algorithm from O(n^2) to O(n).
  11619. - Make the common memory allocation path faster on machines where
  11620. malloc(0) returns a pointer.
  11621. - Start remembering X-Your-Address-Is directory hints even if you're
  11622. a client, so you can become a server more smoothly.
  11623. - Avoid duplicate entries on MyFamily line in server descriptor.
  11624. o Packaging, features:
  11625. - Remove architecture from OS X builds. The official builds are
  11626. now universal binaries.
  11627. - The Debian package now uses --verify-config when (re)starting,
  11628. to distinguish configuration errors from other errors.
  11629. - Update RPMs to require libevent 1.1b.
  11630. o Packaging, bugfixes:
  11631. - Patches so Tor builds with MinGW on Windows.
  11632. - Patches so Tor might run on Cygwin again.
  11633. - Resume building on non-gcc compilers and ancient gcc. Resume
  11634. building with the -O0 compile flag. Resume building cleanly on
  11635. Debian woody.
  11636. - Run correctly on OS X platforms with case-sensitive filesystems.
  11637. - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
  11638. - Add autoconf checks so Tor can build on Solaris x86 again.
  11639. o Documentation
  11640. - Documented (and renamed) ServerDNSSearchDomains and
  11641. ServerDNSResolvConfFile options.
  11642. - Be clearer that the *ListenAddress directives can be repeated
  11643. multiple times.
  11644. Changes in version 0.1.1.24 - 2006-09-29
  11645. o Major bugfixes:
  11646. - Allow really slow clients to not hang up five minutes into their
  11647. directory downloads (suggested by Adam J. Richter).
  11648. - Fix major performance regression from 0.1.0.x: instead of checking
  11649. whether we have enough directory information every time we want to
  11650. do something, only check when the directory information has changed.
  11651. This should improve client CPU usage by 25-50%.
  11652. - Don't crash if, after a server has been running for a while,
  11653. it can't resolve its hostname.
  11654. o Minor bugfixes:
  11655. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  11656. - Don't crash when the controller receives a third argument to an
  11657. "extendcircuit" request.
  11658. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  11659. response; fix error code when "getinfo dir/status/" fails.
  11660. - Fix configure.in to not produce broken configure files with
  11661. more recent versions of autoconf. Thanks to Clint for his auto*
  11662. voodoo.
  11663. - Fix security bug on NetBSD that could allow someone to force
  11664. uninitialized RAM to be sent to a server's DNS resolver. This
  11665. only affects NetBSD and other platforms that do not bounds-check
  11666. tolower().
  11667. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  11668. methods: these are known to be buggy.
  11669. - If we're a directory mirror and we ask for "all" network status
  11670. documents, we would discard status documents from authorities
  11671. we don't recognize.
  11672. Changes in version 0.1.2.1-alpha - 2006-08-27
  11673. o Major features:
  11674. - Add "eventdns" async dns library from Adam Langley, tweaked to
  11675. build on OSX and Windows. Only enabled if you pass the
  11676. --enable-eventdns argument to configure.
  11677. - Allow servers with no hostname or IP address to learn their
  11678. IP address by asking the directory authorities. This code only
  11679. kicks in when you would normally have exited with a "no address"
  11680. error. Nothing's authenticated, so use with care.
  11681. - Rather than waiting a fixed amount of time between retrying
  11682. application connections, we wait only 5 seconds for the first,
  11683. 10 seconds for the second, and 15 seconds for each retry after
  11684. that. Hopefully this will improve the expected user experience.
  11685. - Patch from Tup to add support for transparent AP connections:
  11686. this basically bundles the functionality of trans-proxy-tor
  11687. into the Tor mainline. Now hosts with compliant pf/netfilter
  11688. implementations can redirect TCP connections straight to Tor
  11689. without diverting through SOCKS. Needs docs.
  11690. - Busy directory servers save lots of memory by spooling server
  11691. descriptors, v1 directories, and v2 networkstatus docs to buffers
  11692. as needed rather than en masse. Also mmap the cached-routers
  11693. files, so we don't need to keep the whole thing in memory too.
  11694. - Automatically avoid picking more than one node from the same
  11695. /16 network when constructing a circuit.
  11696. - Revise and clean up the torrc.sample that we ship with; add
  11697. a section for BandwidthRate and BandwidthBurst.
  11698. o Minor features:
  11699. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  11700. split connection_t into edge, or, dir, control, and base structs.
  11701. These will save quite a bit of memory on busy servers, and they'll
  11702. also help us track down bugs in the code and bugs in the spec.
  11703. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  11704. or later. Log when we are doing this, so we can diagnose it when
  11705. it fails. (Also, recommend libevent 1.1b for kqueue and
  11706. win32 methods; deprecate libevent 1.0b harder; make libevent
  11707. recommendation system saner.)
  11708. - Start being able to build universal binaries on OS X (thanks
  11709. to Phobos).
  11710. - Export the default exit policy via the control port, so controllers
  11711. don't need to guess what it is / will be later.
  11712. - Add a man page entry for ProtocolWarnings.
  11713. - Add TestVia config option to the man page.
  11714. - Remove even more protocol-related warnings from Tor server logs,
  11715. such as bad TLS handshakes and malformed begin cells.
  11716. - Stop fetching descriptors if you're not a dir mirror and you
  11717. haven't tried to establish any circuits lately. [This currently
  11718. causes some dangerous behavior, because when you start up again
  11719. you'll use your ancient server descriptors.]
  11720. - New DirPort behavior: if you have your dirport set, you download
  11721. descriptors aggressively like a directory mirror, whether or not
  11722. your ORPort is set.
  11723. - Get rid of the router_retry_connections notion. Now routers
  11724. no longer try to rebuild long-term connections to directory
  11725. authorities, and directory authorities no longer try to rebuild
  11726. long-term connections to all servers. We still don't hang up
  11727. connections in these two cases though -- we need to look at it
  11728. more carefully to avoid flapping, and we likely need to wait til
  11729. 0.1.1.x is obsolete.
  11730. - Drop compatibility with obsolete Tors that permit create cells
  11731. to have the wrong circ_id_type.
  11732. - Re-enable per-connection rate limiting. Get rid of the "OP
  11733. bandwidth" concept. Lay groundwork for "bandwidth classes" --
  11734. separate global buckets that apply depending on what sort of conn
  11735. it is.
  11736. - Start publishing one minute or so after we find our ORPort
  11737. to be reachable. This will help reduce the number of descriptors
  11738. we have for ourselves floating around, since it's quite likely
  11739. other things (e.g. DirPort) will change during that minute too.
  11740. - Fork the v1 directory protocol into its own spec document,
  11741. and mark dir-spec.txt as the currently correct (v2) spec.
  11742. o Major bugfixes:
  11743. - When we find our DirPort to be reachable, publish a new descriptor
  11744. so we'll tell the world (reported by pnx).
  11745. - Publish a new descriptor after we hup/reload. This is important
  11746. if our config has changed such that we'll want to start advertising
  11747. our DirPort now, etc.
  11748. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  11749. - When we have a state file we cannot parse, tell the user and
  11750. move it aside. Now we avoid situations where the user starts
  11751. Tor in 1904, Tor writes a state file with that timestamp in it,
  11752. the user fixes her clock, and Tor refuses to start.
  11753. - Fix configure.in to not produce broken configure files with
  11754. more recent versions of autoconf. Thanks to Clint for his auto*
  11755. voodoo.
  11756. - "tor --verify-config" now exits with -1(255) or 0 depending on
  11757. whether the config options are bad or good.
  11758. - Resolve bug 321 when using dnsworkers: append a period to every
  11759. address we resolve at the exit node, so that we do not accidentally
  11760. pick up local addresses, and so that failing searches are retried
  11761. in the resolver search domains. (This is already solved for
  11762. eventdns.) (This breaks Blossom servers for now.)
  11763. - If we are using an exit enclave and we can't connect, e.g. because
  11764. its webserver is misconfigured to not listen on localhost, then
  11765. back off and try connecting from somewhere else before we fail.
  11766. o Minor bugfixes:
  11767. - Start compiling on MinGW on Windows (patches from Mike Chiussi).
  11768. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  11769. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  11770. when the IP address is mapped through MapAddress to a hostname.
  11771. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  11772. useless IPv6 DNS resolves.
  11773. - Patch suggested by Karsten Loesing: respond to SIGNAL command
  11774. before we execute the signal, in case the signal shuts us down.
  11775. - Clean up AllowInvalidNodes man page entry.
  11776. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  11777. - Add more asserts to track down an assert error on a windows Tor
  11778. server with connection_add being called with socket == -1.
  11779. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  11780. - Fix misleading log messages: an entry guard that is "unlisted",
  11781. as well as not known to be "down" (because we've never heard
  11782. of it), is not therefore "up".
  11783. - Remove code to special-case "-cvs" ending, since it has not
  11784. actually mattered since 0.0.9.
  11785. - Make our socks5 handling more robust to broken socks clients:
  11786. throw out everything waiting on the buffer in between socks
  11787. handshake phases, since they can't possibly (so the theory
  11788. goes) have predicted what we plan to respond to them.
  11789. Changes in version 0.1.1.23 - 2006-07-30
  11790. o Major bugfixes:
  11791. - Fast Tor servers, especially exit nodes, were triggering asserts
  11792. due to a bug in handling the list of pending DNS resolves. Some
  11793. bugs still remain here; we're hunting them.
  11794. - Entry guards could crash clients by sending unexpected input.
  11795. - More fixes on reachability testing: if you find yourself reachable,
  11796. then don't ever make any client requests (so you stop predicting
  11797. circuits), then hup or have your clock jump, then later your IP
  11798. changes, you won't think circuits are working, so you won't try to
  11799. test reachability, so you won't publish.
  11800. o Minor bugfixes:
  11801. - Avoid a crash if the controller does a resetconf firewallports
  11802. and then a setconf fascistfirewall=1.
  11803. - Avoid an integer underflow when the dir authority decides whether
  11804. a router is stable: we might wrongly label it stable, and compute
  11805. a slightly wrong median stability, when a descriptor is published
  11806. later than now.
  11807. - Fix a place where we might trigger an assert if we can't build our
  11808. own server descriptor yet.
  11809. Changes in version 0.1.1.22 - 2006-07-05
  11810. o Major bugfixes:
  11811. - Fix a big bug that was causing servers to not find themselves
  11812. reachable if they changed IP addresses. Since only 0.1.1.22+
  11813. servers can do reachability testing correctly, now we automatically
  11814. make sure to test via one of these.
  11815. - Fix to allow clients and mirrors to learn directory info from
  11816. descriptor downloads that get cut off partway through.
  11817. - Directory authorities had a bug in deciding if a newly published
  11818. descriptor was novel enough to make everybody want a copy -- a few
  11819. servers seem to be publishing new descriptors many times a minute.
  11820. o Minor bugfixes:
  11821. - Fix a rare bug that was causing some servers to complain about
  11822. "closing wedged cpuworkers" and skip some circuit create requests.
  11823. - Make the Exit flag in directory status documents actually work.
  11824. Changes in version 0.1.1.21 - 2006-06-10
  11825. o Crash and assert fixes from 0.1.1.20:
  11826. - Fix a rare crash on Tor servers that have enabled hibernation.
  11827. - Fix a seg fault on startup for Tor networks that use only one
  11828. directory authority.
  11829. - Fix an assert from a race condition that occurs on Tor servers
  11830. while exiting, where various threads are trying to log that they're
  11831. exiting, and delete the logs, at the same time.
  11832. - Make our unit tests pass again on certain obscure platforms.
  11833. o Other fixes:
  11834. - Add support for building SUSE RPM packages.
  11835. - Speed up initial bootstrapping for clients: if we are making our
  11836. first ever connection to any entry guard, then don't mark it down
  11837. right after that.
  11838. - When only one Tor server in the network is labelled as a guard,
  11839. and we've already picked him, we would cycle endlessly picking him
  11840. again, being unhappy about it, etc. Now we specifically exclude
  11841. current guards when picking a new guard.
  11842. - Servers send create cells more reliably after the TLS connection
  11843. is established: we were sometimes forgetting to send half of them
  11844. when we had more than one pending.
  11845. - If we get a create cell that asks us to extend somewhere, but the
  11846. Tor server there doesn't match the expected digest, we now send
  11847. a destroy cell back, rather than silently doing nothing.
  11848. - Make options->RedirectExit work again.
  11849. - Make cookie authentication for the controller work again.
  11850. - Stop being picky about unusual characters in the arguments to
  11851. mapaddress. It's none of our business.
  11852. - Add a new config option "TestVia" that lets you specify preferred
  11853. middle hops to use for test circuits. Perhaps this will let me
  11854. debug the reachability problems better.
  11855. o Log / documentation fixes:
  11856. - If we're a server and some peer has a broken TLS certificate, don't
  11857. log about it unless ProtocolWarnings is set, i.e., we want to hear
  11858. about protocol violations by others.
  11859. - Fix spelling of VirtualAddrNetwork in man page.
  11860. - Add a better explanation at the top of the autogenerated torrc file
  11861. about what happened to our old torrc.
  11862. Changes in version 0.1.1.20 - 2006-05-23
  11863. o Bugfixes:
  11864. - Downgrade a log severity where servers complain that they're
  11865. invalid.
  11866. - Avoid a compile warning on FreeBSD.
  11867. - Remove string size limit on NEWDESC messages; solve bug 291.
  11868. - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
  11869. more thoroughly when we're running on windows.
  11870. Changes in version 0.1.1.19-rc - 2006-05-03
  11871. o Minor bugs:
  11872. - Regenerate our local descriptor if it's dirty and we try to use
  11873. it locally (e.g. if it changes during reachability detection).
  11874. - If we setconf our ORPort to 0, we continued to listen on the
  11875. old ORPort and receive connections.
  11876. - Avoid a second warning about machine/limits.h on Debian
  11877. GNU/kFreeBSD.
  11878. - Be willing to add our own routerinfo into the routerlist.
  11879. Now authorities will include themselves in their directories
  11880. and network-statuses.
  11881. - Stop trying to upload rendezvous descriptors to every
  11882. directory authority: only try the v1 authorities.
  11883. - Servers no longer complain when they think they're not
  11884. registered with the directory authorities. There were too many
  11885. false positives.
  11886. - Backport dist-rpm changes so rpms can be built without errors.
  11887. o Features:
  11888. - Implement an option, VirtualAddrMask, to set which addresses
  11889. get handed out in response to mapaddress requests. This works
  11890. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  11891. Changes in version 0.1.1.18-rc - 2006-04-10
  11892. o Major fixes:
  11893. - Work harder to download live network-statuses from all the
  11894. directory authorities we know about. Improve the threshold
  11895. decision logic so we're more robust to edge cases.
  11896. - When fetching rendezvous descriptors, we were willing to ask
  11897. v2 authorities too, which would always return 404.
  11898. o Minor fixes:
  11899. - Stop listing down or invalid nodes in the v1 directory. This will
  11900. reduce its bulk by about 1/3, and reduce load on directory
  11901. mirrors.
  11902. - When deciding whether a router is Fast or Guard-worthy, consider
  11903. his advertised BandwidthRate and not just the BandwidthCapacity.
  11904. - No longer ship INSTALL and README files -- they are useless now.
  11905. - Force rpmbuild to behave and honor target_cpu.
  11906. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  11907. - Start to include translated versions of the tor-doc-*.html
  11908. files, along with the screenshots. Still needs more work.
  11909. - Start sending back 512 and 451 errors if mapaddress fails,
  11910. rather than not sending anything back at all.
  11911. - When we fail to bind or listen on an incoming or outgoing
  11912. socket, we should close it before failing. otherwise we just
  11913. leak it. (thanks to weasel for finding.)
  11914. - Allow "getinfo dir/status/foo" to work, as long as your DirPort
  11915. is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
  11916. - Make NoPublish (even though deprecated) work again.
  11917. - Fix a minor security flaw where a versioning auth dirserver
  11918. could list a recommended version many times in a row to make
  11919. clients more convinced that it's recommended.
  11920. - Fix crash bug if there are two unregistered servers running
  11921. with the same nickname, one of them is down, and you ask for
  11922. them by nickname in your EntryNodes or ExitNodes. Also, try
  11923. to pick the one that's running rather than an arbitrary one.
  11924. - Fix an infinite loop we could hit if we go offline for too long.
  11925. - Complain when we hit WSAENOBUFS on recv() or write() too.
  11926. Perhaps this will help us hunt the bug.
  11927. - If you're not a versioning dirserver, don't put the string
  11928. "client-versions \nserver-versions \n" in your network-status.
  11929. - Lower the minimum required number of file descriptors to 1000,
  11930. so we can have some overhead for Valgrind on Linux, where the
  11931. default ulimit -n is 1024.
  11932. o New features:
  11933. - Add tor.dizum.com as the fifth authoritative directory server.
  11934. - Add a new config option FetchUselessDescriptors, off by default,
  11935. for when you plan to run "exitlist" on your client and you want
  11936. to know about even the non-running descriptors.
  11937. Changes in version 0.1.1.17-rc - 2006-03-28
  11938. o Major fixes:
  11939. - Clients and servers since 0.1.1.10-alpha have been expiring
  11940. connections whenever they are idle for 5 minutes and they *do*
  11941. have circuits on them. Oops. With this new version, clients will
  11942. discard their previous entry guard choices and avoid choosing
  11943. entry guards running these flawed versions.
  11944. - Fix memory leak when uncompressing concatenated zlib streams. This
  11945. was causing substantial leaks over time on Tor servers.
  11946. - The v1 directory was including servers as much as 48 hours old,
  11947. because that's how the new routerlist->routers works. Now only
  11948. include them if they're 20 hours old or less.
  11949. o Minor fixes:
  11950. - Resume building on irix64, netbsd 2.0, etc.
  11951. - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
  11952. "-Wall -g -O2".
  11953. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  11954. and it is confusing some users.
  11955. - Mirrors stop caching the v1 directory so often.
  11956. - Make the max number of old descriptors that a cache will hold
  11957. rise with the number of directory authorities, so we can scale.
  11958. - Change our win32 uname() hack to be more forgiving about what
  11959. win32 versions it thinks it's found.
  11960. o New features:
  11961. - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
  11962. server.
  11963. - When the controller's *setconf commands fail, collect an error
  11964. message in a string and hand it back to the controller.
  11965. - Make the v2 dir's "Fast" flag based on relative capacity, just
  11966. like "Stable" is based on median uptime. Name everything in the
  11967. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  11968. - Log server fingerprint on startup, so new server operators don't
  11969. have to go hunting around their filesystem for it.
  11970. - Return a robots.txt on our dirport to discourage google indexing.
  11971. - Let the controller ask for GETINFO dir/status/foo so it can ask
  11972. directly rather than connecting to the dir port. Only works when
  11973. dirport is set for now.
  11974. o New config options rather than constants in the code:
  11975. - SocksTimeout: How long do we let a socks connection wait
  11976. unattached before we fail it?
  11977. - CircuitBuildTimeout: Cull non-open circuits that were born
  11978. at least this many seconds ago.
  11979. - CircuitIdleTimeout: Cull open clean circuits that were born
  11980. at least this many seconds ago.
  11981. Changes in version 0.1.1.16-rc - 2006-03-18
  11982. o Bugfixes on 0.1.1.15-rc:
  11983. - Fix assert when the controller asks to attachstream a connect-wait
  11984. or resolve-wait stream.
  11985. - Now do address rewriting when the controller asks us to attach
  11986. to a particular circuit too. This will let Blossom specify
  11987. "moria2.exit" without having to learn what moria2's IP address is.
  11988. - Make the "tor --verify-config" command-line work again, so people
  11989. can automatically check if their torrc will parse.
  11990. - Authoritative dirservers no longer require an open connection from
  11991. a server to consider him "reachable". We need this change because
  11992. when we add new auth dirservers, old servers won't know not to
  11993. hang up on them.
  11994. - Let Tor build on Sun CC again.
  11995. - Fix an off-by-one buffer size in dirserv.c that magically never
  11996. hit our three authorities but broke sjmurdoch's own tor network.
  11997. - If we as a directory mirror don't know of any v1 directory
  11998. authorities, then don't try to cache any v1 directories.
  11999. - Stop warning about unknown servers in our family when they are
  12000. given as hex digests.
  12001. - Stop complaining as quickly to the server operator that he
  12002. hasn't registered his nickname/key binding.
  12003. - Various cleanups so we can add new V2 Auth Dirservers.
  12004. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  12005. reflect the updated flags in our v2 dir protocol.
  12006. - Resume allowing non-printable characters for exit streams (both
  12007. for connecting and for resolving). Now we tolerate applications
  12008. that don't follow the RFCs. But continue to block malformed names
  12009. at the socks side.
  12010. o Bugfixes on 0.1.0.x:
  12011. - Fix assert bug in close_logs(): when we close and delete logs,
  12012. remove them all from the global "logfiles" list.
  12013. - Fix minor integer overflow in calculating when we expect to use up
  12014. our bandwidth allocation before hibernating.
  12015. - Fix a couple of bugs in OpenSSL detection. Also, deal better when
  12016. there are multiple SSLs installed with different versions.
  12017. - When we try to be a server and Address is not explicitly set and
  12018. our hostname resolves to a private IP address, try to use an
  12019. interface address if it has a public address. Now Windows machines
  12020. that think of themselves as localhost can work by default.
  12021. o New features:
  12022. - Let the controller ask for GETINFO dir/server/foo so it can ask
  12023. directly rather than connecting to the dir port.
  12024. - Let the controller tell us about certain router descriptors
  12025. that it doesn't want Tor to use in circuits. Implement
  12026. SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
  12027. - New config option SafeSocks to reject all application connections
  12028. using unsafe socks protocols. Defaults to off.
  12029. Changes in version 0.1.1.15-rc - 2006-03-11
  12030. o Bugfixes and cleanups:
  12031. - When we're printing strings from the network, don't try to print
  12032. non-printable characters. This protects us against shell escape
  12033. sequence exploits, and also against attacks to fool humans into
  12034. misreading their logs.
  12035. - Fix a bug where Tor would fail to establish any connections if you
  12036. left it off for 24 hours and then started it: we were happy with
  12037. the obsolete network statuses, but they all referred to router
  12038. descriptors that were too old to fetch, so we ended up with no
  12039. valid router descriptors.
  12040. - Fix a seg fault in the controller's "getinfo orconn-status"
  12041. command while listing status on incoming handshaking connections.
  12042. Introduce a status name "NEW" for these connections.
  12043. - If we get a linelist or linelist_s config option from the torrc
  12044. (e.g. ExitPolicy) and it has no value, warn and skip rather than
  12045. silently resetting it to its default.
  12046. - Don't abandon entry guards until they've been down or gone for
  12047. a whole month.
  12048. - Cleaner and quieter log messages.
  12049. o New features:
  12050. - New controller signal NEWNYM that makes new application requests
  12051. use clean circuits.
  12052. - Add a new circuit purpose 'controller' to let the controller ask
  12053. for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
  12054. controller command to let you specify the purpose if you're
  12055. starting a new circuit. Add a new SETCIRCUITPURPOSE controller
  12056. command to let you change a circuit's purpose after it's been
  12057. created.
  12058. - Accept "private:*" in routerdesc exit policies; not generated yet
  12059. because older Tors do not understand it.
  12060. - Add BSD-style contributed startup script "rc.subr" from Peter
  12061. Thoenen.
  12062. Changes in version 0.1.1.14-alpha - 2006-02-20
  12063. o Bugfixes on 0.1.1.x:
  12064. - Don't die if we ask for a stdout or stderr log (even implicitly)
  12065. and we're set to RunAsDaemon -- just warn.
  12066. - We still had a few bugs in the OR connection rotation code that
  12067. caused directory servers to slowly aggregate connections to other
  12068. fast Tor servers. This time for sure!
  12069. - Make log entries on Win32 include the name of the function again.
  12070. - We were treating a pair of exit policies if they were equal even
  12071. if one said accept and the other said reject -- causing us to
  12072. not always publish a new descriptor since we thought nothing
  12073. had changed.
  12074. - Retry pending server downloads as well as pending networkstatus
  12075. downloads when we unexpectedly get a socks request.
  12076. - We were ignoring the IS_FAST flag in the directory status,
  12077. meaning we were willing to pick trivial-bandwidth nodes for "fast"
  12078. connections.
  12079. - If the controller's SAVECONF command fails (e.g. due to file
  12080. permissions), let the controller know that it failed.
  12081. o Features:
  12082. - If we're trying to be a Tor server and running Windows 95/98/ME
  12083. as a server, explain that we'll likely crash.
  12084. - When we're a server, a client asks for an old-style directory,
  12085. and our write bucket is empty, don't give it to him. This way
  12086. small servers can continue to serve the directory *sometimes*,
  12087. without getting overloaded.
  12088. - Compress exit policies even more -- look for duplicate lines
  12089. and remove them.
  12090. - Clients now honor the "guard" flag in the router status when
  12091. picking entry guards, rather than looking at is_fast or is_stable.
  12092. - Retain unrecognized lines in $DATADIR/state file, so that we can
  12093. be forward-compatible.
  12094. - Generate 18.0.0.0/8 address policy format in descs when we can;
  12095. warn when the mask is not reducible to a bit-prefix.
  12096. - Let the user set ControlListenAddress in the torrc. This can be
  12097. dangerous, but there are some cases (like a secured LAN) where it
  12098. makes sense.
  12099. - Split ReachableAddresses into ReachableDirAddresses and
  12100. ReachableORAddresses, so we can restrict Dir conns to port 80
  12101. and OR conns to port 443.
  12102. - Now we can target arch and OS in rpm builds (contributed by
  12103. Phobos). Also make the resulting dist-rpm filename match the
  12104. target arch.
  12105. - New config options to help controllers: FetchServerDescriptors
  12106. and FetchHidServDescriptors for whether to fetch server
  12107. info and hidserv info or let the controller do it, and
  12108. PublishServerDescriptor and PublishHidServDescriptors.
  12109. - Also let the controller set the __AllDirActionsPrivate config
  12110. option if you want all directory fetches/publishes to happen via
  12111. Tor (it assumes your controller bootstraps your circuits).
  12112. Changes in version 0.1.0.17 - 2006-02-17
  12113. o Crash bugfixes on 0.1.0.x:
  12114. - When servers with a non-zero DirPort came out of hibernation,
  12115. sometimes they would trigger an assert.
  12116. o Other important bugfixes:
  12117. - On platforms that don't have getrlimit (like Windows), we were
  12118. artificially constraining ourselves to a max of 1024
  12119. connections. Now just assume that we can handle as many as 15000
  12120. connections. Hopefully this won't cause other problems.
  12121. o Backported features:
  12122. - When we're a server, a client asks for an old-style directory,
  12123. and our write bucket is empty, don't give it to him. This way
  12124. small servers can continue to serve the directory *sometimes*,
  12125. without getting overloaded.
  12126. - Whenever you get a 503 in response to a directory fetch, try
  12127. once more. This will become important once servers start sending
  12128. 503's whenever they feel busy.
  12129. - Fetch a new directory every 120 minutes, not every 40 minutes.
  12130. Now that we have hundreds of thousands of users running the old
  12131. directory algorithm, it's starting to hurt a lot.
  12132. - Bump up the period for forcing a hidden service descriptor upload
  12133. from 20 minutes to 1 hour.
  12134. Changes in version 0.1.1.13-alpha - 2006-02-09
  12135. o Crashes in 0.1.1.x:
  12136. - When you tried to setconf ORPort via the controller, Tor would
  12137. crash. So people using TorCP to become a server were sad.
  12138. - Solve (I hope) the stack-smashing bug that we were seeing on fast
  12139. servers. The problem appears to be something do with OpenSSL's
  12140. random number generation, or how we call it, or something. Let me
  12141. know if the crashes continue.
  12142. - Turn crypto hardware acceleration off by default, until we find
  12143. somebody smart who can test it for us. (It appears to produce
  12144. seg faults in at least some cases.)
  12145. - Fix a rare assert error when we've tried all intro points for
  12146. a hidden service and we try fetching the service descriptor again:
  12147. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
  12148. o Major fixes:
  12149. - Fix a major load balance bug: we were round-robining in 16 KB
  12150. chunks, and servers with bandwidthrate of 20 KB, while downloading
  12151. a 600 KB directory, would starve their other connections. Now we
  12152. try to be a bit more fair.
  12153. - Dir authorities and mirrors were never expiring the newest
  12154. descriptor for each server, causing memory and directory bloat.
  12155. - Fix memory-bloating and connection-bloating bug on servers: We
  12156. were never closing any connection that had ever had a circuit on
  12157. it, because we were checking conn->n_circuits == 0, yet we had a
  12158. bug that let it go negative.
  12159. - Make Tor work using squid as your http proxy again -- squid
  12160. returns an error if you ask for a URL that's too long, and it uses
  12161. a really generic error message. Plus, many people are behind a
  12162. transparent squid so they don't even realize it.
  12163. - On platforms that don't have getrlimit (like Windows), we were
  12164. artificially constraining ourselves to a max of 1024
  12165. connections. Now just assume that we can handle as many as 15000
  12166. connections. Hopefully this won't cause other problems.
  12167. - Add a new config option ExitPolicyRejectPrivate which defaults to
  12168. 1. This means all exit policies will begin with rejecting private
  12169. addresses, unless the server operator explicitly turns it off.
  12170. o Major features:
  12171. - Clients no longer download descriptors for non-running
  12172. descriptors.
  12173. - Before we add new directory authorities, we should make it
  12174. clear that only v1 authorities should receive/publish hidden
  12175. service descriptors.
  12176. o Minor features:
  12177. - As soon as we've fetched some more directory info, immediately
  12178. try to download more server descriptors. This way we don't have
  12179. a 10 second pause during initial bootstrapping.
  12180. - Remove even more loud log messages that the server operator can't
  12181. do anything about.
  12182. - When we're running an obsolete or un-recommended version, make
  12183. the log message more clear about what the problem is and what
  12184. versions *are* still recommended.
  12185. - Provide a more useful warn message when our onion queue gets full:
  12186. the CPU is too slow or the exit policy is too liberal.
  12187. - Don't warn when we receive a 503 from a dirserver/cache -- this
  12188. will pave the way for them being able to refuse if they're busy.
  12189. - When we fail to bind a listener, try to provide a more useful
  12190. log message: e.g., "Is Tor already running?"
  12191. - Adjust tor-spec to parameterize cell and key lengths. Now Ian
  12192. Goldberg can prove things about our handshake protocol more
  12193. easily.
  12194. - MaxConn has been obsolete for a while now. Document the ConnLimit
  12195. config option, which is a *minimum* number of file descriptors
  12196. that must be available else Tor refuses to start.
  12197. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  12198. if you log to syslog and want something other than LOG_DAEMON.
  12199. - Make dirservers generate a separate "guard" flag to mean,
  12200. "would make a good entry guard". Make clients parse it and vote
  12201. on it. Not used by clients yet.
  12202. - Implement --with-libevent-dir option to ./configure. Also, improve
  12203. search techniques to find libevent, and use those for openssl too.
  12204. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
  12205. - Only start testing reachability once we've established a
  12206. circuit. This will make startup on dirservers less noisy.
  12207. - Don't try to upload hidden service descriptors until we have
  12208. established a circuit.
  12209. - Fix the controller's "attachstream 0" command to treat conn like
  12210. it just connected, doing address remapping, handling .exit and
  12211. .onion idioms, and so on. Now we're more uniform in making sure
  12212. that the controller hears about new and closing connections.
  12213. Changes in version 0.1.1.12-alpha - 2006-01-11
  12214. o Bugfixes on 0.1.1.x:
  12215. - The fix to close duplicate server connections was closing all
  12216. Tor client connections if they didn't establish a circuit
  12217. quickly enough. Oops.
  12218. - Fix minor memory issue (double-free) that happened on exit.
  12219. o Bugfixes on 0.1.0.x:
  12220. - Tor didn't warn when it failed to open a log file.
  12221. Changes in version 0.1.1.11-alpha - 2006-01-10
  12222. o Crashes in 0.1.1.x:
  12223. - Include all the assert/crash fixes from 0.1.0.16.
  12224. - If you start Tor and then quit very quickly, there were some
  12225. races that tried to free things that weren't allocated yet.
  12226. - Fix a rare memory stomp if you're running hidden services.
  12227. - Fix segfault when specifying DirServer in config without nickname.
  12228. - Fix a seg fault when you finish connecting to a server but at
  12229. that moment you dump his server descriptor.
  12230. - Extendcircuit and Attachstream controller commands would
  12231. assert/crash if you don't give them enough arguments.
  12232. - Fix an assert error when we're out of space in the connection_list
  12233. and we try to post a hidden service descriptor (reported by weasel).
  12234. - If you specify a relative torrc path and you set RunAsDaemon in
  12235. your torrc, then it chdir()'s to the new directory. If you HUP,
  12236. it tries to load the new torrc location, fails, and exits.
  12237. The fix: no longer allow a relative path to torrc using -f.
  12238. o Major features:
  12239. - Implement "entry guards": automatically choose a handful of entry
  12240. nodes and stick with them for all circuits. Only pick new guards
  12241. when the ones you have are unsuitable, and if the old guards
  12242. become suitable again, switch back. This will increase security
  12243. dramatically against certain end-point attacks. The EntryNodes
  12244. config option now provides some hints about which entry guards you
  12245. want to use most; and StrictEntryNodes means to only use those.
  12246. - New directory logic: download by descriptor digest, not by
  12247. fingerprint. Caches try to download all listed digests from
  12248. authorities; clients try to download "best" digests from caches.
  12249. This avoids partitioning and isolating attacks better.
  12250. - Make the "stable" router flag in network-status be the median of
  12251. the uptimes of running valid servers, and make clients pay
  12252. attention to the network-status flags. Thus the cutoff adapts
  12253. to the stability of the network as a whole, making IRC, IM, etc
  12254. connections more reliable.
  12255. o Major fixes:
  12256. - Tor servers with dynamic IP addresses were needing to wait 18
  12257. hours before they could start doing reachability testing using
  12258. the new IP address and ports. This is because they were using
  12259. the internal descriptor to learn what to test, yet they were only
  12260. rebuilding the descriptor once they decided they were reachable.
  12261. - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
  12262. to download certain server descriptors, throw them away, and then
  12263. fetch them again after 30 minutes. Now mirrors throw away these
  12264. server descriptors so clients can't get them.
  12265. - We were leaving duplicate connections to other ORs open for a week,
  12266. rather than closing them once we detect a duplicate. This only
  12267. really affected authdirservers, but it affected them a lot.
  12268. - Spread the authdirservers' reachability testing over the entire
  12269. testing interval, so we don't try to do 500 TLS's at once every
  12270. 20 minutes.
  12271. o Minor fixes:
  12272. - If the network is down, and we try to connect to a conn because
  12273. we have a circuit in mind, and we timeout (30 seconds) because the
  12274. network never answers, we were expiring the circuit, but we weren't
  12275. obsoleting the connection or telling the entry_guards functions.
  12276. - Some Tor servers process billions of cells per day. These statistics
  12277. need to be uint64_t's.
  12278. - Check for integer overflows in more places, when adding elements
  12279. to smartlists. This could possibly prevent a buffer overflow
  12280. on malicious huge inputs. I don't see any, but I haven't looked
  12281. carefully.
  12282. - ReachableAddresses kept growing new "reject *:*" lines on every
  12283. setconf/reload.
  12284. - When you "setconf log" via the controller, it should remove all
  12285. logs. We were automatically adding back in a "log notice stdout".
  12286. - Newly bootstrapped Tor networks couldn't establish hidden service
  12287. circuits until they had nodes with high uptime. Be more tolerant.
  12288. - We were marking servers down when they could not answer every piece
  12289. of the directory request we sent them. This was far too harsh.
  12290. - Fix the torify (tsocks) config file to not use Tor for localhost
  12291. connections.
  12292. - Directory authorities now go to the proper authority when asking for
  12293. a networkstatus, even when they want a compressed one.
  12294. - Fix a harmless bug that was causing Tor servers to log
  12295. "Got an end because of misc error, but we're not an AP. Closing."
  12296. - Authorities were treating their own descriptor changes as cosmetic,
  12297. meaning the descriptor available in the network-status and the
  12298. descriptor that clients downloaded were different.
  12299. - The OS X installer was adding a symlink for tor_resolve but
  12300. the binary was called tor-resolve (reported by Thomas Hardly).
  12301. - Workaround a problem with some http proxies where they refuse GET
  12302. requests that specify "Content-Length: 0" (reported by Adrian).
  12303. - Fix wrong log message when you add a "HiddenServiceNodes" config
  12304. line without any HiddenServiceDir line (reported by Chris Thomas).
  12305. o Minor features:
  12306. - Write the TorVersion into the state file so we have a prayer of
  12307. keeping forward and backward compatibility.
  12308. - Revive the FascistFirewall config option rather than eliminating it:
  12309. now it's a synonym for ReachableAddresses *:80,*:443.
  12310. - Clients choose directory servers from the network status lists,
  12311. not from their internal list of router descriptors. Now they can
  12312. go to caches directly rather than needing to go to authorities
  12313. to bootstrap.
  12314. - Directory authorities ignore router descriptors that have only
  12315. cosmetic differences: do this for 0.1.0.x servers now too.
  12316. - Add a new flag to network-status indicating whether the server
  12317. can answer v2 directory requests too.
  12318. - Authdirs now stop whining so loudly about bad descriptors that
  12319. they fetch from other dirservers. So when there's a log complaint,
  12320. it's for sure from a freshly uploaded descriptor.
  12321. - Reduce memory requirements in our structs by changing the order
  12322. of fields.
  12323. - There used to be two ways to specify your listening ports in a
  12324. server descriptor: on the "router" line and with a separate "ports"
  12325. line. Remove support for the "ports" line.
  12326. - New config option "AuthDirRejectUnlisted" for auth dirservers as
  12327. a panic button: if we get flooded with unusable servers we can
  12328. revert to only listing servers in the approved-routers file.
  12329. - Auth dir servers can now mark a fingerprint as "!reject" or
  12330. "!invalid" in the approved-routers file (as its nickname), to
  12331. refuse descriptors outright or include them but marked as invalid.
  12332. - Servers store bandwidth history across restarts/crashes.
  12333. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  12334. get a better idea of why their circuits failed. Not used yet.
  12335. - Directory mirrors now cache up to 16 unrecognized network-status
  12336. docs. Now we can add new authdirservers and they'll be cached too.
  12337. - When picking a random directory, prefer non-authorities if any
  12338. are known.
  12339. - New controller option "getinfo desc/all-recent" to fetch the
  12340. latest server descriptor for every router that Tor knows about.
  12341. Changes in version 0.1.0.16 - 2006-01-02
  12342. o Crash bugfixes on 0.1.0.x:
  12343. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  12344. corrupting the heap, losing FDs, or crashing when we need to resize
  12345. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  12346. - It turns out sparc64 platforms crash on unaligned memory access
  12347. too -- so detect and avoid this.
  12348. - Handle truncated compressed data correctly (by detecting it and
  12349. giving an error).
  12350. - Fix possible-but-unlikely free(NULL) in control.c.
  12351. - When we were closing connections, there was a rare case that
  12352. stomped on memory, triggering seg faults and asserts.
  12353. - Avoid potential infinite recursion when building a descriptor. (We
  12354. don't know that it ever happened, but better to fix it anyway.)
  12355. - We were neglecting to unlink marked circuits from soon-to-close OR
  12356. connections, which caused some rare scribbling on freed memory.
  12357. - Fix a memory stomping race bug when closing the joining point of two
  12358. rendezvous circuits.
  12359. - Fix an assert in time parsing found by Steven Murdoch.
  12360. o Other bugfixes on 0.1.0.x:
  12361. - When we're doing reachability testing, provide more useful log
  12362. messages so the operator knows what to expect.
  12363. - Do not check whether DirPort is reachable when we are suppressing
  12364. advertising it because of hibernation.
  12365. - When building with -static or on Solaris, we sometimes needed -ldl.
  12366. - When we're deciding whether a stream has enough circuits around
  12367. that can handle it, count the freshly dirty ones and not the ones
  12368. that are so dirty they won't be able to handle it.
  12369. - When we're expiring old circuits, we had a logic error that caused
  12370. us to close new rendezvous circuits rather than old ones.
  12371. - Give a more helpful log message when you try to change ORPort via
  12372. the controller: you should upgrade Tor if you want that to work.
  12373. - We were failing to parse Tor versions that start with "Tor ".
  12374. - Tolerate faulty streams better: when a stream fails for reason
  12375. exitpolicy, stop assuming that the router is lying about his exit
  12376. policy. When a stream fails for reason misc, allow it to retry just
  12377. as if it was resolvefailed. When a stream has failed three times,
  12378. reset its failure count so we can try again and get all three tries.
  12379. Changes in version 0.1.1.10-alpha - 2005-12-11
  12380. o Correctness bugfixes on 0.1.0.x:
  12381. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  12382. corrupting the heap, losing FDs, or crashing when we need to resize
  12383. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  12384. - Stop doing the complex voodoo overkill checking for insecure
  12385. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  12386. - When we were closing connections, there was a rare case that
  12387. stomped on memory, triggering seg faults and asserts.
  12388. - We were neglecting to unlink marked circuits from soon-to-close OR
  12389. connections, which caused some rare scribbling on freed memory.
  12390. - When we're deciding whether a stream has enough circuits around
  12391. that can handle it, count the freshly dirty ones and not the ones
  12392. that are so dirty they won't be able to handle it.
  12393. - Recover better from TCP connections to Tor servers that are
  12394. broken but don't tell you (it happens!); and rotate TLS
  12395. connections once a week.
  12396. - When we're expiring old circuits, we had a logic error that caused
  12397. us to close new rendezvous circuits rather than old ones.
  12398. - Fix a scary-looking but apparently harmless bug where circuits
  12399. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  12400. servers, and never switch to state CIRCUIT_STATE_OPEN.
  12401. - When building with -static or on Solaris, we sometimes needed to
  12402. build with -ldl.
  12403. - Give a useful message when people run Tor as the wrong user,
  12404. rather than telling them to start chowning random directories.
  12405. - We were failing to inform the controller about new .onion streams.
  12406. o Security bugfixes on 0.1.0.x:
  12407. - Refuse server descriptors if the fingerprint line doesn't match
  12408. the included identity key. Tor doesn't care, but other apps (and
  12409. humans) might actually be trusting the fingerprint line.
  12410. - We used to kill the circuit when we receive a relay command we
  12411. don't recognize. Now we just drop it.
  12412. - Start obeying our firewall options more rigorously:
  12413. . If we can't get to a dirserver directly, try going via Tor.
  12414. . Don't ever try to connect (as a client) to a place our
  12415. firewall options forbid.
  12416. . If we specify a proxy and also firewall options, obey the
  12417. firewall options even when we're using the proxy: some proxies
  12418. can only proxy to certain destinations.
  12419. - Fix a bug found by Lasse Overlier: when we were making internal
  12420. circuits (intended to be cannibalized later for rendezvous and
  12421. introduction circuits), we were picking them so that they had
  12422. useful exit nodes. There was no need for this, and it actually
  12423. aids some statistical attacks.
  12424. - Start treating internal circuits and exit circuits separately.
  12425. It's important to keep them separate because internal circuits
  12426. have their last hops picked like middle hops, rather than like
  12427. exit hops. So exiting on them will break the user's expectations.
  12428. o Bugfixes on 0.1.1.x:
  12429. - Take out the mis-feature where we tried to detect IP address
  12430. flapping for people with DynDNS, and chose not to upload a new
  12431. server descriptor sometimes.
  12432. - Try to be compatible with OpenSSL 0.9.6 again.
  12433. - Log fix: when the controller is logging about .onion addresses,
  12434. sometimes it didn't include the ".onion" part of the address.
  12435. - Don't try to modify options->DirServers internally -- if the
  12436. user didn't specify any, just add the default ones directly to
  12437. the trusted dirserver list. This fixes a bug where people running
  12438. controllers would use SETCONF on some totally unrelated config
  12439. option, and Tor would start yelling at them about changing their
  12440. DirServer lines.
  12441. - Let the controller's redirectstream command specify a port, in
  12442. case the controller wants to change that too.
  12443. - When we requested a pile of server descriptors, we sometimes
  12444. accidentally launched a duplicate request for the first one.
  12445. - Bugfix for trackhostexits: write down the fingerprint of the
  12446. chosen exit, not its nickname, because the chosen exit might not
  12447. be verified.
  12448. - When parsing foo.exit, if foo is unknown, and we are leaving
  12449. circuits unattached, set the chosen_exit field and leave the
  12450. address empty. This matters because controllers got confused
  12451. otherwise.
  12452. - Directory authorities no longer try to download server
  12453. descriptors that they know they will reject.
  12454. o Features and updates:
  12455. - Replace balanced trees with hash tables: this should make stuff
  12456. significantly faster.
  12457. - Resume using the AES counter-mode implementation that we ship,
  12458. rather than OpenSSL's. Ours is significantly faster.
  12459. - Many other CPU and memory improvements.
  12460. - Add a new config option FastFirstHopPK (on by default) so clients
  12461. do a trivial crypto handshake for their first hop, since TLS has
  12462. already taken care of confidentiality and authentication.
  12463. - Add a new config option TestSocks so people can see if their
  12464. applications are using socks4, socks4a, socks5-with-ip, or
  12465. socks5-with-hostname. This way they don't have to keep mucking
  12466. with tcpdump and wondering if something got cached somewhere.
  12467. - Warn when listening on a public address for socks. I suspect a
  12468. lot of people are setting themselves up as open socks proxies,
  12469. and they have no idea that jerks on the Internet are using them,
  12470. since they simply proxy the traffic into the Tor network.
  12471. - Add "private:*" as an alias in configuration for policies. Now
  12472. you can simplify your exit policy rather than needing to list
  12473. every single internal or nonroutable network space.
  12474. - Add a new controller event type that allows controllers to get
  12475. all server descriptors that were uploaded to a router in its role
  12476. as authoritative dirserver.
  12477. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  12478. tor-doc-server.html, and stylesheet.css in the tarball.
  12479. - Stop shipping tor-doc.html in the tarball.
  12480. Changes in version 0.1.1.9-alpha - 2005-11-15
  12481. o Usability improvements:
  12482. - Start calling it FooListenAddress rather than FooBindAddress,
  12483. since few of our users know what it means to bind an address
  12484. or port.
  12485. - Reduce clutter in server logs. We're going to try to make
  12486. them actually usable now. New config option ProtocolWarnings that
  12487. lets you hear about how _other Tors_ are breaking the protocol. Off
  12488. by default.
  12489. - Divide log messages into logging domains. Once we put some sort
  12490. of interface on this, it will let people looking at more verbose
  12491. log levels specify the topics they want to hear more about.
  12492. - Make directory servers return better http 404 error messages
  12493. instead of a generic "Servers unavailable".
  12494. - Check for even more Windows version flags when writing the platform
  12495. string in server descriptors, and note any we don't recognize.
  12496. - Clean up more of the OpenSSL memory when exiting, so we can detect
  12497. memory leaks better.
  12498. - Make directory authorities be non-versioning, non-naming by
  12499. default. Now we can add new directory servers without requiring
  12500. their operators to pay close attention.
  12501. - When logging via syslog, include the pid whenever we provide
  12502. a log entry. Suggested by Todd Fries.
  12503. o Performance improvements:
  12504. - Directory servers now silently throw away new descriptors that
  12505. haven't changed much if the timestamps are similar. We do this to
  12506. tolerate older Tor servers that upload a new descriptor every 15
  12507. minutes. (It seemed like a good idea at the time.)
  12508. - Inline bottleneck smartlist functions; use fast versions by default.
  12509. - Add a "Map from digest to void*" abstraction digestmap_t so we
  12510. can do less hex encoding/decoding. Use it in router_get_by_digest()
  12511. to resolve a performance bottleneck.
  12512. - Allow tor_gzip_uncompress to extract as much as possible from
  12513. truncated compressed data. Try to extract as many
  12514. descriptors as possible from truncated http responses (when
  12515. DIR_PURPOSE_FETCH_ROUTERDESC).
  12516. - Make circ->onionskin a pointer, not a static array. moria2 was using
  12517. 125000 circuit_t's after it had been up for a few weeks, which
  12518. translates to 20+ megs of wasted space.
  12519. - The private half of our EDH handshake keys are now chosen out
  12520. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  12521. o Security improvements:
  12522. - Start making directory caches retain old routerinfos, so soon
  12523. clients can start asking by digest of descriptor rather than by
  12524. fingerprint of server.
  12525. - Add half our entropy from RAND_poll in OpenSSL. This knows how
  12526. to use egd (if present), openbsd weirdness (if present), vms/os2
  12527. weirdness (if we ever port there), and more in the future.
  12528. o Bugfixes on 0.1.0.x:
  12529. - Do round-robin writes of at most 16 kB per write. This might be
  12530. more fair on loaded Tor servers, and it might resolve our Windows
  12531. crash bug. It might also slow things down.
  12532. - Our TLS handshakes were generating a single public/private
  12533. keypair for the TLS context, rather than making a new one for
  12534. each new connections. Oops. (But we were still rotating them
  12535. periodically, so it's not so bad.)
  12536. - When we were cannibalizing a circuit with a particular exit
  12537. node in mind, we weren't checking to see if that exit node was
  12538. already present earlier in the circuit. Oops.
  12539. - When a Tor server's IP changes (e.g. from a dyndns address),
  12540. upload a new descriptor so clients will learn too.
  12541. - Really busy servers were keeping enough circuits open on stable
  12542. connections that they were wrapping around the circuit_id
  12543. space. (It's only two bytes.) This exposed a bug where we would
  12544. feel free to reuse a circuit_id even if it still exists but has
  12545. been marked for close. Try to fix this bug. Some bug remains.
  12546. - If we would close a stream early (e.g. it asks for a .exit that
  12547. we know would refuse it) but the LeaveStreamsUnattached config
  12548. option is set by the controller, then don't close it.
  12549. o Bugfixes on 0.1.1.8-alpha:
  12550. - Fix a big pile of memory leaks, some of them serious.
  12551. - Do not try to download a routerdesc if we would immediately reject
  12552. it as obsolete.
  12553. - Resume inserting a newline between all router descriptors when
  12554. generating (old style) signed directories, since our spec says
  12555. we do.
  12556. - When providing content-type application/octet-stream for
  12557. server descriptors using .z, we were leaving out the
  12558. content-encoding header. Oops. (Everything tolerated this just
  12559. fine, but that doesn't mean we need to be part of the problem.)
  12560. - Fix a potential seg fault in getconf and getinfo using version 1
  12561. of the controller protocol.
  12562. - Avoid crash: do not check whether DirPort is reachable when we
  12563. are suppressing it because of hibernation.
  12564. - Make --hash-password not crash on exit.
  12565. Changes in version 0.1.1.8-alpha - 2005-10-07
  12566. o New features (major):
  12567. - Clients don't download or use the directory anymore. Now they
  12568. download and use network-statuses from the trusted dirservers,
  12569. and fetch individual server descriptors as needed from mirrors.
  12570. See dir-spec.txt for all the gory details.
  12571. - Be more conservative about whether to advertise our DirPort.
  12572. The main change is to not advertise if we're running at capacity
  12573. and either a) we could hibernate or b) our capacity is low and
  12574. we're using a default DirPort.
  12575. - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
  12576. o New features (minor):
  12577. - Try to be smart about when to retry network-status and
  12578. server-descriptor fetches. Still needs some tuning.
  12579. - Stop parsing, storing, or using running-routers output (but
  12580. mirrors still cache and serve it).
  12581. - Consider a threshold of versioning dirservers (dirservers who have
  12582. an opinion about which Tor versions are still recommended) before
  12583. deciding whether to warn the user that he's obsolete.
  12584. - Dirservers can now reject/invalidate by key and IP, with the
  12585. config options "AuthDirInvalid" and "AuthDirReject". This is
  12586. useful since currently we automatically list servers as running
  12587. and usable even if we know they're jerks.
  12588. - Provide dire warnings to any users who set DirServer; move it out
  12589. of torrc.sample and into torrc.complete.
  12590. - Add MyFamily to torrc.sample in the server section.
  12591. - Add nicknames to the DirServer line, so we can refer to them
  12592. without requiring all our users to memorize their IP addresses.
  12593. - When we get an EOF or a timeout on a directory connection, note
  12594. how many bytes of serverdesc we are dropping. This will help
  12595. us determine whether it is smart to parse incomplete serverdesc
  12596. responses.
  12597. - Add a new function to "change pseudonyms" -- that is, to stop
  12598. using any currently-dirty circuits for new streams, so we don't
  12599. link new actions to old actions. Currently it's only called on
  12600. HUP (or SIGNAL RELOAD).
  12601. - On sighup, if UseHelperNodes changed to 1, use new circuits.
  12602. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  12603. OpenSSL. Also, reseed our entropy every hour, not just at
  12604. startup. And entropy in 512-bit chunks, not 160-bit chunks.
  12605. o Fixes on 0.1.1.7-alpha:
  12606. - Nobody ever implemented EVENT_ADDRMAP for control protocol
  12607. version 0, so don't let version 0 controllers ask for it.
  12608. - If you requested something with too many newlines via the
  12609. v1 controller protocol, you could crash tor.
  12610. - Fix a number of memory leaks, including some pretty serious ones.
  12611. - Re-enable DirPort testing again, so Tor servers will be willing
  12612. to advertise their DirPort if it's reachable.
  12613. - On TLS handshake, only check the other router's nickname against
  12614. its expected nickname if is_named is set.
  12615. o Fixes forward-ported from 0.1.0.15:
  12616. - Don't crash when we don't have any spare file descriptors and we
  12617. try to spawn a dns or cpu worker.
  12618. - Make the numbers in read-history and write-history into uint64s,
  12619. so they don't overflow and publish negatives in the descriptor.
  12620. o Fixes on 0.1.0.x:
  12621. - For the OS X package's modified privoxy config file, comment
  12622. out the "logfile" line so we don't log everything passed
  12623. through privoxy.
  12624. - We were whining about using socks4 or socks5-with-local-lookup
  12625. even when it's an IP in the "virtual" range we designed exactly
  12626. for this case.
  12627. - We were leaking some memory every time the client changes IPs.
  12628. - Never call free() on tor_malloc()d memory. This will help us
  12629. use dmalloc to detect memory leaks.
  12630. - Check for named servers when looking them up by nickname;
  12631. warn when we'recalling a non-named server by its nickname;
  12632. don't warn twice about the same name.
  12633. - Try to list MyFamily elements by key, not by nickname, and warn
  12634. if we've not heard of the server.
  12635. - Make windows platform detection (uname equivalent) smarter.
  12636. - It turns out sparc64 doesn't like unaligned access either.
  12637. Changes in version 0.1.0.15 - 2005-09-23
  12638. o Bugfixes on 0.1.0.x:
  12639. - Reject ports 465 and 587 (spam targets) in default exit policy.
  12640. - Don't crash when we don't have any spare file descriptors and we
  12641. try to spawn a dns or cpu worker.
  12642. - Get rid of IgnoreVersion undocumented config option, and make us
  12643. only warn, never exit, when we're running an obsolete version.
  12644. - Don't try to print a null string when your server finds itself to
  12645. be unreachable and the Address config option is empty.
  12646. - Make the numbers in read-history and write-history into uint64s,
  12647. so they don't overflow and publish negatives in the descriptor.
  12648. - Fix a minor memory leak in smartlist_string_remove().
  12649. - We were only allowing ourselves to upload a server descriptor at
  12650. most every 20 minutes, even if it changed earlier than that.
  12651. - Clean up log entries that pointed to old URLs.
  12652. Changes in version 0.1.1.7-alpha - 2005-09-14
  12653. o Fixes on 0.1.1.6-alpha:
  12654. - Exit servers were crashing when people asked them to make a
  12655. connection to an address not in their exit policy.
  12656. - Looking up a non-existent stream for a v1 control connection would
  12657. cause a segfault.
  12658. - Fix a seg fault if we ask a dirserver for a descriptor by
  12659. fingerprint but he doesn't know about him.
  12660. - SETCONF was appending items to linelists, not clearing them.
  12661. - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
  12662. out and refuse the setconf if it would fail.
  12663. - Downgrade the dirserver log messages when whining about
  12664. unreachability.
  12665. o New features:
  12666. - Add Peter Palfrader's check-tor script to tor/contrib/
  12667. It lets you easily check whether a given server (referenced by
  12668. nickname) is reachable by you.
  12669. - Numerous changes to move towards client-side v2 directories. Not
  12670. enabled yet.
  12671. o Fixes on 0.1.0.x:
  12672. - If the user gave tor an odd number of command-line arguments,
  12673. we were silently ignoring the last one. Now we complain and fail.
  12674. [This wins the oldest-bug prize -- this bug has been present since
  12675. November 2002, as released in Tor 0.0.0.]
  12676. - Do not use unaligned memory access on alpha, mips, or mipsel.
  12677. It *works*, but is very slow, so we treat them as if it doesn't.
  12678. - Retry directory requests if we fail to get an answer we like
  12679. from a given dirserver (we were retrying before, but only if
  12680. we fail to connect).
  12681. - When writing the RecommendedVersions line, sort them first.
  12682. - When the client asked for a rendezvous port that the hidden
  12683. service didn't want to provide, we were sending an IP address
  12684. back along with the end cell. Fortunately, it was zero. But stop
  12685. that anyway.
  12686. - Correct "your server is reachable" log entries to indicate that
  12687. it was self-testing that told us so.
  12688. Changes in version 0.1.1.6-alpha - 2005-09-09
  12689. o Fixes on 0.1.1.5-alpha:
  12690. - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
  12691. - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
  12692. - Fix bug with tor_memmem finding a match at the end of the string.
  12693. - Make unit tests run without segfaulting.
  12694. - Resolve some solaris x86 compile warnings.
  12695. - Handle duplicate lines in approved-routers files without warning.
  12696. - Fix bug where as soon as a server refused any requests due to his
  12697. exit policy (e.g. when we ask for localhost and he tells us that's
  12698. 127.0.0.1 and he won't do it), we decided he wasn't obeying his
  12699. exit policy using him for any exits.
  12700. - Only do openssl hardware accelerator stuff if openssl version is
  12701. at least 0.9.7.
  12702. o New controller features/fixes:
  12703. - Add a "RESETCONF" command so you can set config options like
  12704. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  12705. a config option in the torrc with no value, then it clears it
  12706. entirely (rather than setting it to its default).
  12707. - Add a "GETINFO config-file" to tell us where torrc is.
  12708. - Avoid sending blank lines when GETINFO replies should be empty.
  12709. - Add a QUIT command for the controller (for using it manually).
  12710. - Fix a bug in SAVECONF that was adding default dirservers and
  12711. other redundant entries to the torrc file.
  12712. o Start on the new directory design:
  12713. - Generate, publish, cache, serve new network-status format.
  12714. - Publish individual descriptors (by fingerprint, by "all", and by
  12715. "tell me yours").
  12716. - Publish client and server recommended versions separately.
  12717. - Allow tor_gzip_uncompress() to handle multiple concatenated
  12718. compressed strings. Serve compressed groups of router
  12719. descriptors. The compression logic here could be more
  12720. memory-efficient.
  12721. - Distinguish v1 authorities (all currently trusted directories)
  12722. from v2 authorities (all trusted directories).
  12723. - Change DirServers config line to note which dirs are v1 authorities.
  12724. - Add configuration option "V1AuthoritativeDirectory 1" which
  12725. moria1, moria2, and tor26 should set.
  12726. - Remove option when getting directory cache to see whether they
  12727. support running-routers; they all do now. Replace it with one
  12728. to see whether caches support v2 stuff.
  12729. o New features:
  12730. - Dirservers now do their own external reachability testing of each
  12731. Tor server, and only list them as running if they've been found to
  12732. be reachable. We also send back warnings to the server's logs if
  12733. it uploads a descriptor that we already believe is unreachable.
  12734. - Implement exit enclaves: if we know an IP address for the
  12735. destination, and there's a running Tor server at that address
  12736. which allows exit to the destination, then extend the circuit to
  12737. that exit first. This provides end-to-end encryption and end-to-end
  12738. authentication. Also, if the user wants a .exit address or enclave,
  12739. use 4 hops rather than 3, and cannibalize a general circ for it
  12740. if you can.
  12741. - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
  12742. controller. Also, rotate dns and cpu workers if the controller
  12743. changes options that will affect them; and initialize the dns
  12744. worker cache tree whether or not we start out as a server.
  12745. - Only upload a new server descriptor when options change, 18
  12746. hours have passed, uptime is reset, or bandwidth changes a lot.
  12747. - Check [X-]Forwarded-For headers in HTTP requests when generating
  12748. log messages. This lets people run dirservers (and caches) behind
  12749. Apache but still know which IP addresses are causing warnings.
  12750. o Config option changes:
  12751. - Replace (Fascist)Firewall* config options with a new
  12752. ReachableAddresses option that understands address policies.
  12753. For example, "ReachableAddresses *:80,*:443"
  12754. - Get rid of IgnoreVersion undocumented config option, and make us
  12755. only warn, never exit, when we're running an obsolete version.
  12756. - Make MonthlyAccountingStart config option truly obsolete now.
  12757. o Fixes on 0.1.0.x:
  12758. - Reject ports 465 and 587 in the default exit policy, since
  12759. people have started using them for spam too.
  12760. - It turns out we couldn't bootstrap a network since we added
  12761. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  12762. has never gone down. Add an AssumeReachable config option to let
  12763. servers and dirservers bootstrap. When we're trying to build a
  12764. high-uptime or high-bandwidth circuit but there aren't enough
  12765. suitable servers, try being less picky rather than simply failing.
  12766. - Our logic to decide if the OR we connected to was the right guy
  12767. was brittle and maybe open to a mitm for unverified routers.
  12768. - We weren't cannibalizing circuits correctly for
  12769. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  12770. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  12771. build those from scratch. This should make hidden services faster.
  12772. - Predict required circuits better, with an eye toward making hidden
  12773. services faster on the service end.
  12774. - Retry streams if the exit node sends back a 'misc' failure. This
  12775. should result in fewer random failures. Also, after failing
  12776. from resolve failed or misc, reset the num failures, so we give
  12777. it a fair shake next time we try.
  12778. - Clean up the rendezvous warn log msgs, and downgrade some to info.
  12779. - Reduce severity on logs about dns worker spawning and culling.
  12780. - When we're shutting down and we do something like try to post a
  12781. server descriptor or rendezvous descriptor, don't complain that
  12782. we seem to be unreachable. Of course we are, we're shutting down.
  12783. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  12784. We don't use them yet, but maybe one day our DNS resolver will be
  12785. able to discover them.
  12786. - Make ContactInfo mandatory for authoritative directory servers.
  12787. - Require server descriptors to list IPv4 addresses -- hostnames
  12788. are no longer allowed. This also fixes some potential security
  12789. problems with people providing hostnames as their address and then
  12790. preferentially resolving them to partition users.
  12791. - Change log line for unreachability to explicitly suggest /etc/hosts
  12792. as the culprit. Also make it clearer what IP address and ports we're
  12793. testing for reachability.
  12794. - Put quotes around user-supplied strings when logging so users are
  12795. more likely to realize if they add bad characters (like quotes)
  12796. to the torrc.
  12797. - Let auth dir servers start without specifying an Address config
  12798. option.
  12799. - Make unit tests (and other invocations that aren't the real Tor)
  12800. run without launching listeners, creating subdirectories, and so on.
  12801. Changes in version 0.1.1.5-alpha - 2005-08-08
  12802. o Bugfixes included in 0.1.0.14.
  12803. o Bugfixes on 0.1.0.x:
  12804. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  12805. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  12806. it would silently using ignore the 6668.
  12807. Changes in version 0.1.0.14 - 2005-08-08
  12808. o Bugfixes on 0.1.0.x:
  12809. - Fix the other half of the bug with crypto handshakes
  12810. (CVE-2005-2643).
  12811. - Fix an assert trigger if you send a 'signal term' via the
  12812. controller when it's listening for 'event info' messages.
  12813. Changes in version 0.1.1.4-alpha - 2005-08-04
  12814. o Bugfixes included in 0.1.0.13.
  12815. o Features:
  12816. - Improve tor_gettimeofday() granularity on windows.
  12817. - Make clients regenerate their keys when their IP address changes.
  12818. - Implement some more GETINFO goodness: expose helper nodes, config
  12819. options, getinfo keys.
  12820. Changes in version 0.1.0.13 - 2005-08-04
  12821. o Bugfixes on 0.1.0.x:
  12822. - Fix a critical bug in the security of our crypto handshakes.
  12823. - Fix a size_t underflow in smartlist_join_strings2() that made
  12824. it do bad things when you hand it an empty smartlist.
  12825. - Fix Windows installer to ship Tor license (thanks to Aphex for
  12826. pointing out this oversight) and put a link to the doc directory
  12827. in the start menu.
  12828. - Explicitly set no-unaligned-access for sparc: it turns out the
  12829. new gcc's let you compile broken code, but that doesn't make it
  12830. not-broken.
  12831. Changes in version 0.1.1.3-alpha - 2005-07-23
  12832. o Bugfixes on 0.1.1.2-alpha:
  12833. - Fix a bug in handling the controller's "post descriptor"
  12834. function.
  12835. - Fix several bugs in handling the controller's "extend circuit"
  12836. function.
  12837. - Fix a bug in handling the controller's "stream status" event.
  12838. - Fix an assert failure if we have a controller listening for
  12839. circuit events and we go offline.
  12840. - Re-allow hidden service descriptors to publish 0 intro points.
  12841. - Fix a crash when generating your hidden service descriptor if
  12842. you don't have enough intro points already.
  12843. o New features on 0.1.1.2-alpha:
  12844. - New controller function "getinfo accounting", to ask how
  12845. many bytes we've used in this time period.
  12846. - Experimental support for helper nodes: a lot of the risk from
  12847. a small static adversary comes because users pick new random
  12848. nodes every time they rebuild a circuit. Now users will try to
  12849. stick to the same small set of entry nodes if they can. Not
  12850. enabled by default yet.
  12851. o Bugfixes on 0.1.0.12:
  12852. - If you're an auth dir server, always publish your dirport,
  12853. even if you haven't yet found yourself to be reachable.
  12854. - Fix a size_t underflow in smartlist_join_strings2() that made
  12855. it do bad things when you hand it an empty smartlist.
  12856. Changes in version 0.1.0.12 - 2005-07-18
  12857. o New directory servers:
  12858. - tor26 has changed IP address.
  12859. o Bugfixes on 0.1.0.x:
  12860. - Fix a possible double-free in tor_gzip_uncompress().
  12861. - When --disable-threads is set, do not search for or link against
  12862. pthreads libraries.
  12863. - Don't trigger an assert if an authoritative directory server
  12864. claims its dirport is 0.
  12865. - Fix bug with removing Tor as an NT service: some people were
  12866. getting "The service did not return an error." Thanks to Matt
  12867. Edman for the fix.
  12868. Changes in version 0.1.1.2-alpha - 2005-07-15
  12869. o New directory servers:
  12870. - tor26 has changed IP address.
  12871. o Bugfixes on 0.1.0.x, crashes/leaks:
  12872. - Port the servers-not-obeying-their-exit-policies fix from
  12873. 0.1.0.11.
  12874. - Fix an fd leak in start_daemon().
  12875. - On Windows, you can't always reopen a port right after you've
  12876. closed it. So change retry_listeners() to only close and re-open
  12877. ports that have changed.
  12878. - Fix a possible double-free in tor_gzip_uncompress().
  12879. o Bugfixes on 0.1.0.x, usability:
  12880. - When tor_socketpair() fails in Windows, give a reasonable
  12881. Windows-style errno back.
  12882. - Let people type "tor --install" as well as "tor -install" when
  12883. they
  12884. want to make it an NT service.
  12885. - NT service patch from Matt Edman to improve error messages.
  12886. - When the controller asks for a config option with an abbreviated
  12887. name, give the full name in our response.
  12888. - Correct the man page entry on TrackHostExitsExpire.
  12889. - Looks like we were never delivering deflated (i.e. compressed)
  12890. running-routers lists, even when asked. Oops.
  12891. - When --disable-threads is set, do not search for or link against
  12892. pthreads libraries.
  12893. o Bugfixes on 0.1.1.x:
  12894. - Fix a seg fault with autodetecting which controller version is
  12895. being used.
  12896. o Features:
  12897. - New hidden service descriptor format: put a version in it, and
  12898. let people specify introduction/rendezvous points that aren't
  12899. in "the directory" (which is subjective anyway).
  12900. - Allow the DEBUG controller event to work again. Mark certain log
  12901. entries as "don't tell this to controllers", so we avoid cycles.
  12902. Changes in version 0.1.0.11 - 2005-06-30
  12903. o Bugfixes on 0.1.0.x:
  12904. - Fix major security bug: servers were disregarding their
  12905. exit policies if clients behaved unexpectedly.
  12906. - Make OS X init script check for missing argument, so we don't
  12907. confuse users who invoke it incorrectly.
  12908. - Fix a seg fault in "tor --hash-password foo".
  12909. - The MAPADDRESS control command was broken.
  12910. Changes in version 0.1.1.1-alpha - 2005-06-29
  12911. o Bugfixes:
  12912. - Make OS X init script check for missing argument, so we don't
  12913. confuse users who invoke it incorrectly.
  12914. - Fix a seg fault in "tor --hash-password foo".
  12915. - Fix a possible way to DoS dirservers.
  12916. - When we complain that your exit policy implicitly allows local or
  12917. private address spaces, name them explicitly so operators can
  12918. fix it.
  12919. - Make the log message less scary when all the dirservers are
  12920. temporarily unreachable.
  12921. - We were printing the number of idle dns workers incorrectly when
  12922. culling them.
  12923. o Features:
  12924. - Revised controller protocol (version 1) that uses ascii rather
  12925. than binary. Add supporting libraries in python and java so you
  12926. can use the controller from your applications without caring how
  12927. our protocol works.
  12928. - Spiffy new support for crypto hardware accelerators. Can somebody
  12929. test this?
  12930. Changes in version 0.0.9.10 - 2005-06-16
  12931. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  12932. - Refuse relay cells that claim to have a length larger than the
  12933. maximum allowed. This prevents a potential attack that could read
  12934. arbitrary memory (e.g. keys) from an exit server's process
  12935. (CVE-2005-2050).
  12936. Changes in version 0.1.0.10 - 2005-06-14
  12937. o Allow a few EINVALs from libevent before dying. Warn on kqueue with
  12938. libevent before 1.1a.
  12939. Changes in version 0.1.0.9-rc - 2005-06-09
  12940. o Bugfixes:
  12941. - Reset buf->highwater every time buf_shrink() is called, not just on
  12942. a successful shrink. This was causing significant memory bloat.
  12943. - Fix buffer overflow when checking hashed passwords.
  12944. - Security fix: if seeding the RNG on Win32 fails, quit.
  12945. - Allow seeding the RNG on Win32 even when you're not running as
  12946. Administrator.
  12947. - Disable threading on Solaris too. Something is wonky with it,
  12948. cpuworkers, and reentrant libs.
  12949. - Reenable the part of the code that tries to flush as soon as an
  12950. OR outbuf has a full TLS record available. Perhaps this will make
  12951. OR outbufs not grow as huge except in rare cases, thus saving lots
  12952. of CPU time plus memory.
  12953. - Reject malformed .onion addresses rather then passing them on as
  12954. normal web requests.
  12955. - Adapt patch from Adam Langley: fix possible memory leak in
  12956. tor_lookup_hostname().
  12957. - Initialize libevent later in the startup process, so the logs are
  12958. already established by the time we start logging libevent warns.
  12959. - Use correct errno on win32 if libevent fails.
  12960. - Check and warn about known-bad/slow libevent versions.
  12961. - Pay more attention to the ClientOnly config option.
  12962. - Have torctl.in/tor.sh.in check for location of su binary (needed
  12963. on FreeBSD)
  12964. - Correct/add man page entries for LongLivedPorts, ExitPolicy,
  12965. KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
  12966. HttpProxyAuthenticator
  12967. - Stop warning about sigpipes in the logs. We're going to
  12968. pretend that getting these occassionally is normal and fine.
  12969. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
  12970. certain
  12971. installer screens; and don't put stuff into StartupItems unless
  12972. the user asks you to.
  12973. - Require servers that use the default dirservers to have public IP
  12974. addresses. We have too many servers that are configured with private
  12975. IPs and their admins never notice the log entries complaining that
  12976. their descriptors are being rejected.
  12977. - Add OSX uninstall instructions. An actual uninstall script will
  12978. come later.
  12979. Changes in version 0.1.0.8-rc - 2005-05-23
  12980. o Bugfixes:
  12981. - It turns out that kqueue on OS X 10.3.9 was causing kernel
  12982. panics. Disable kqueue on all OS X Tors.
  12983. - Fix RPM: remove duplicate line accidentally added to the rpm
  12984. spec file.
  12985. - Disable threads on openbsd too, since its gethostaddr is not
  12986. reentrant either.
  12987. - Tolerate libevent 0.8 since it still works, even though it's
  12988. ancient.
  12989. - Enable building on Red Hat 9.0 again.
  12990. - Allow the middle hop of the testing circuit to be running any
  12991. version, now that most of them have the bugfix to let them connect
  12992. to unknown servers. This will allow reachability testing to work
  12993. even when 0.0.9.7-0.0.9.9 become obsolete.
  12994. - Handle relay cells with rh.length too large. This prevents
  12995. a potential attack that could read arbitrary memory (maybe even
  12996. keys) from the exit server's process.
  12997. - We screwed up the dirport reachability testing when we don't yet
  12998. have a cached version of the directory. Hopefully now fixed.
  12999. - Clean up router_load_single_router() (used by the controller),
  13000. so it doesn't seg fault on error.
  13001. - Fix a minor memory leak when somebody establishes an introduction
  13002. point at your Tor server.
  13003. - If a socks connection ends because read fails, don't warn that
  13004. you're not sending a socks reply back.
  13005. o Features:
  13006. - Add HttpProxyAuthenticator config option too, that works like
  13007. the HttpsProxyAuthenticator config option.
  13008. - Encode hashed controller passwords in hex instead of base64,
  13009. to make it easier to write controllers.
  13010. Changes in version 0.1.0.7-rc - 2005-05-17
  13011. o Bugfixes:
  13012. - Fix a bug in the OS X package installer that prevented it from
  13013. installing on Tiger.
  13014. - Fix a script bug in the OS X package installer that made it
  13015. complain during installation.
  13016. - Find libevent even if it's hiding in /usr/local/ and your
  13017. CFLAGS and LDFLAGS don't tell you to look there.
  13018. - Be able to link with libevent as a shared library (the default
  13019. after 1.0d), even if it's hiding in /usr/local/lib and even
  13020. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  13021. assuming you're running gcc. Otherwise fail and give a useful
  13022. error message.
  13023. - Fix a bug in the RPM packager: set home directory for _tor to
  13024. something more reasonable when first installing.
  13025. - Free a minor amount of memory that is still reachable on exit.
  13026. Changes in version 0.1.0.6-rc - 2005-05-14
  13027. o Bugfixes:
  13028. - Implement --disable-threads configure option. Disable threads on
  13029. netbsd by default, because it appears to have no reentrant resolver
  13030. functions.
  13031. - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
  13032. release (1.1) detects and disables kqueue if it's broken.
  13033. - Append default exit policy before checking for implicit internal
  13034. addresses. Now we don't log a bunch of complaints on startup
  13035. when using the default exit policy.
  13036. - Some people were putting "Address " in their torrc, and they had
  13037. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  13038. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  13039. LOCALSTATEDIR/tor instead.
  13040. - Fix fragmented-message bug in TorControl.py.
  13041. - Resolve a minor bug which would prevent unreachable dirports
  13042. from getting suppressed in the published descriptor.
  13043. - When the controller gave us a new descriptor, we weren't resolving
  13044. it immediately, so Tor would think its address was 0.0.0.0 until
  13045. we fetched a new directory.
  13046. - Fix an uppercase/lowercase case error in suppressing a bogus
  13047. libevent warning on some Linuxes.
  13048. o Features:
  13049. - Begin scrubbing sensitive strings from logs by default. Turn off
  13050. the config option SafeLogging if you need to do debugging.
  13051. - Switch to a new buffer management algorithm, which tries to avoid
  13052. reallocing and copying quite as much. In first tests it looks like
  13053. it uses *more* memory on average, but less cpu.
  13054. - First cut at support for "create-fast" cells. Clients can use
  13055. these when extending to their first hop, since the TLS already
  13056. provides forward secrecy and authentication. Not enabled on
  13057. clients yet.
  13058. - When dirservers refuse a router descriptor, we now log its
  13059. contactinfo, platform, and the poster's IP address.
  13060. - Call tor_free_all instead of connections_free_all after forking, to
  13061. save memory on systems that need to fork.
  13062. - Whine at you if you're a server and you don't set your contactinfo.
  13063. - Implement --verify-config command-line option to check if your torrc
  13064. is valid without actually launching Tor.
  13065. - Rewrite address "serifos.exit" to "localhost.serifos.exit"
  13066. rather than just rejecting it.
  13067. Changes in version 0.1.0.5-rc - 2005-04-27
  13068. o Bugfixes:
  13069. - Stop trying to print a null pointer if an OR conn fails because
  13070. we didn't like its cert.
  13071. o Features:
  13072. - Switch our internal buffers implementation to use a ring buffer,
  13073. to hopefully improve performance for fast servers a lot.
  13074. - Add HttpsProxyAuthenticator support (basic auth only), based
  13075. on patch from Adam Langley.
  13076. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  13077. the fast servers that have been joining lately.
  13078. - Give hidden service accesses extra time on the first attempt,
  13079. since 60 seconds is often only barely enough. This might improve
  13080. robustness more.
  13081. - Improve performance for dirservers: stop re-parsing the whole
  13082. directory every time you regenerate it.
  13083. - Add more debugging info to help us find the weird dns freebsd
  13084. pthreads bug; cleaner debug messages to help track future issues.
  13085. Changes in version 0.0.9.9 - 2005-04-23
  13086. o Bugfixes on 0.0.9.x:
  13087. - If unofficial Tor clients connect and send weird TLS certs, our
  13088. Tor server triggers an assert. This release contains a minimal
  13089. backport from the broader fix that we put into 0.1.0.4-rc.
  13090. Changes in version 0.1.0.4-rc - 2005-04-23
  13091. o Bugfixes:
  13092. - If unofficial Tor clients connect and send weird TLS certs, our
  13093. Tor server triggers an assert. Stop asserting, and start handling
  13094. TLS errors better in other situations too.
  13095. - When the controller asks us to tell it about all the debug-level
  13096. logs, it turns out we were generating debug-level logs while
  13097. telling it about them, which turns into a bad loop. Now keep
  13098. track of whether you're sending a debug log to the controller,
  13099. and don't log when you are.
  13100. - Fix the "postdescriptor" feature of the controller interface: on
  13101. non-complete success, only say "done" once.
  13102. o Features:
  13103. - Clients are now willing to load balance over up to 2mB, not 1mB,
  13104. of advertised bandwidth capacity.
  13105. - Add a NoPublish config option, so you can be a server (e.g. for
  13106. testing running Tor servers in other Tor networks) without
  13107. publishing your descriptor to the primary dirservers.
  13108. Changes in version 0.1.0.3-rc - 2005-04-08
  13109. o Improvements on 0.1.0.2-rc:
  13110. - Client now retries when streams end early for 'hibernating' or
  13111. 'resource limit' reasons, rather than failing them.
  13112. - More automated handling for dirserver operators:
  13113. - Automatically approve nodes running 0.1.0.2-rc or later,
  13114. now that the the reachability detection stuff is working.
  13115. - Now we allow two unverified servers with the same nickname
  13116. but different keys. But if a nickname is verified, only that
  13117. nickname+key are allowed.
  13118. - If you're an authdirserver connecting to an address:port,
  13119. and it's not the OR you were expecting, forget about that
  13120. descriptor. If he *was* the one you were expecting, then forget
  13121. about all other descriptors for that address:port.
  13122. - Allow servers to publish descriptors from 12 hours in the future.
  13123. Corollary: only whine about clock skew from the dirserver if
  13124. he's a trusted dirserver (since now even verified servers could
  13125. have quite wrong clocks).
  13126. - Adjust maximum skew and age for rendezvous descriptors: let skew
  13127. be 48 hours rather than 90 minutes.
  13128. - Efficiency improvements:
  13129. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  13130. it much faster to look up a circuit for each relay cell.
  13131. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  13132. since they're eating our cpu on exit nodes.
  13133. - Stop wasting time doing a case insensitive comparison for every
  13134. dns name every time we do any lookup. Canonicalize the names to
  13135. lowercase and be done with it.
  13136. - Start sending 'truncated' cells back rather than destroy cells,
  13137. if the circuit closes in front of you. This means we won't have
  13138. to abandon partially built circuits.
  13139. - Only warn once per nickname from add_nickname_list_to_smartlist
  13140. per failure, so an entrynode or exitnode choice that's down won't
  13141. yell so much.
  13142. - Put a note in the torrc about abuse potential with the default
  13143. exit policy.
  13144. - Revise control spec and implementation to allow all log messages to
  13145. be sent to controller with their severities intact (suggested by
  13146. Matt Edman). Update TorControl to handle new log event types.
  13147. - Provide better explanation messages when controller's POSTDESCRIPTOR
  13148. fails.
  13149. - Stop putting nodename in the Platform string in server descriptors.
  13150. It doesn't actually help, and it is confusing/upsetting some people.
  13151. o Bugfixes on 0.1.0.2-rc:
  13152. - We were printing the host mask wrong in exit policies in server
  13153. descriptors. This isn't a critical bug though, since we were still
  13154. obeying the exit policy internally.
  13155. - Fix Tor when compiled with libevent but without pthreads: move
  13156. connection_unregister() from _connection_free() to
  13157. connection_free().
  13158. - Fix an assert trigger (already fixed in 0.0.9.x): when we have
  13159. the rare mysterious case of accepting a conn on 0.0.0.0:0, then
  13160. when we look through the connection array, we'll find any of the
  13161. cpu/dnsworkers. This is no good.
  13162. o Bugfixes on 0.0.9.8:
  13163. - Fix possible bug on threading platforms (e.g. win32) which was
  13164. leaking a file descriptor whenever a cpuworker or dnsworker died.
  13165. - When using preferred entry or exit nodes, ignore whether the
  13166. circuit wants uptime or capacity. They asked for the nodes, they
  13167. get the nodes.
  13168. - chdir() to your datadirectory at the *end* of the daemonize process,
  13169. not the beginning. This was a problem because the first time you
  13170. run tor, if your datadir isn't there, and you have runasdaemon set
  13171. to 1, it will try to chdir to it before it tries to create it. Oops.
  13172. - Handle changed router status correctly when dirserver reloads
  13173. fingerprint file. We used to be dropping all unverified descriptors
  13174. right then. The bug was hidden because we would immediately
  13175. fetch a directory from another dirserver, which would include the
  13176. descriptors we just dropped.
  13177. - When we're connecting to an OR and he's got a different nickname/key
  13178. than we were expecting, only complain loudly if we're an OP or a
  13179. dirserver. Complaining loudly to the OR admins just confuses them.
  13180. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  13181. artificially capped at 500kB.
  13182. Changes in version 0.0.9.8 - 2005-04-07
  13183. o Bugfixes on 0.0.9.x:
  13184. - We have a bug that I haven't found yet. Sometimes, very rarely,
  13185. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  13186. thinks of itself as idle. This meant that no new circuits ever got
  13187. established. Here's a workaround to kill any cpuworker that's been
  13188. busy for more than 100 seconds.
  13189. Changes in version 0.1.0.2-rc - 2005-04-01
  13190. o Bugfixes on 0.1.0.1-rc:
  13191. - Fixes on reachability detection:
  13192. - Don't check for reachability while hibernating.
  13193. - If ORPort is reachable but DirPort isn't, still publish the
  13194. descriptor, but zero out DirPort until it's found reachable.
  13195. - When building testing circs for ORPort testing, use only
  13196. high-bandwidth nodes, so fewer circuits fail.
  13197. - Complain about unreachable ORPort separately from unreachable
  13198. DirPort, so the user knows what's going on.
  13199. - Make sure we only conclude ORPort reachability if we didn't
  13200. initiate the conn. Otherwise we could falsely conclude that
  13201. we're reachable just because we connected to the guy earlier
  13202. and he used that same pipe to extend to us.
  13203. - Authdirservers shouldn't do ORPort reachability detection,
  13204. since they're in clique mode, so it will be rare to find a
  13205. server not already connected to them.
  13206. - When building testing circuits, always pick middle hops running
  13207. Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
  13208. bug. (This is a kludge; it will go away when 0.0.9.x becomes
  13209. obsolete.)
  13210. - When we decide we're reachable, actually publish our descriptor
  13211. right then.
  13212. - Fix bug in redirectstream in the controller.
  13213. - Fix the state descriptor strings so logs don't claim edge streams
  13214. are in a different state than they actually are.
  13215. - Use recent libevent features when possible (this only really affects
  13216. win32 and osx right now, because the new libevent with these
  13217. features hasn't been released yet). Add code to suppress spurious
  13218. libevent log msgs.
  13219. - Prevent possible segfault in connection_close_unattached_ap().
  13220. - Fix newlines on torrc in win32.
  13221. - Improve error msgs when tor-resolve fails.
  13222. o Improvements on 0.0.9.x:
  13223. - New experimental script tor/contrib/ExerciseServer.py (needs more
  13224. work) that uses the controller interface to build circuits and
  13225. fetch pages over them. This will help us bootstrap servers that
  13226. have lots of capacity but haven't noticed it yet.
  13227. - New experimental script tor/contrib/PathDemo.py (needs more work)
  13228. that uses the controller interface to let you choose whole paths
  13229. via addresses like
  13230. "<hostname>.<path,separated by dots>.<length of path>.path"
  13231. - When we've connected to an OR and handshaked but didn't like
  13232. the result, we were closing the conn without sending destroy
  13233. cells back for pending circuits. Now send those destroys.
  13234. Changes in version 0.0.9.7 - 2005-04-01
  13235. o Bugfixes on 0.0.9.x:
  13236. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  13237. - Compare identity to identity, not to nickname, when extending to
  13238. a router not already in the directory. This was preventing us from
  13239. extending to unknown routers. Oops.
  13240. - Make sure to create OS X Tor user in <500 range, so we aren't
  13241. creating actual system users.
  13242. - Note where connection-that-hasn't-sent-end was marked, and fix
  13243. a few really loud instances of this harmless bug (it's fixed more
  13244. in 0.1.0.x).
  13245. Changes in version 0.1.0.1-rc - 2005-03-28
  13246. o New features:
  13247. - Add reachability testing. Your Tor server will automatically try
  13248. to see if its ORPort and DirPort are reachable from the outside,
  13249. and it won't upload its descriptor until it decides they are.
  13250. - Handle unavailable hidden services better. Handle slow or busy
  13251. hidden services better.
  13252. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  13253. config option.
  13254. - New exit policy: accept most low-numbered ports, rather than
  13255. rejecting most low-numbered ports.
  13256. - More Tor controller support (still experimental). See
  13257. http://tor.eff.org/doc/control-spec.txt for all the new features,
  13258. including signals to emulate unix signals from any platform;
  13259. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  13260. closestream; closecircuit; etc.
  13261. - Make nt services work and start on startup on win32 (based on
  13262. patch by Matt Edman).
  13263. - Add a new AddressMap config directive to rewrite incoming socks
  13264. addresses. This lets you, for example, declare an implicit
  13265. required exit node for certain sites.
  13266. - Add a new TrackHostExits config directive to trigger addressmaps
  13267. for certain incoming socks addresses -- for sites that break when
  13268. your exit keeps changing (based on patch by Mike Perry).
  13269. - Redo the client-side dns cache so it's just an addressmap too.
  13270. - Notice when our IP changes, and reset stats/uptime/reachability.
  13271. - When an application is using socks5, give him the whole variety of
  13272. potential socks5 responses (connect refused, host unreachable, etc),
  13273. rather than just "success" or "failure".
  13274. - A more sane version numbering system. See
  13275. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  13276. - New contributed script "exitlist": a simple python script to
  13277. parse directories and find Tor nodes that exit to listed
  13278. addresses/ports.
  13279. - New contributed script "privoxy-tor-toggle" to toggle whether
  13280. Privoxy uses Tor. Seems to be configured for Debian by default.
  13281. - Report HTTP reasons to client when getting a response from directory
  13282. servers -- so you can actually know what went wrong.
  13283. - New config option MaxAdvertisedBandwidth which lets you advertise
  13284. a low bandwidthrate (to not attract as many circuits) while still
  13285. allowing a higher bandwidthrate in reality.
  13286. o Robustness/stability fixes:
  13287. - Make Tor use Niels Provos's libevent instead of its current
  13288. poll-but-sometimes-select mess. This will let us use faster async
  13289. cores (like epoll, kpoll, and /dev/poll), and hopefully work better
  13290. on Windows too.
  13291. - pthread support now too. This was forced because when we forked,
  13292. we ended up wasting a lot of duplicate ram over time. Also switch
  13293. to foo_r versions of some library calls to allow reentry and
  13294. threadsafeness.
  13295. - Better handling for heterogeneous / unreliable nodes:
  13296. - Annotate circuits w/ whether they aim to contain high uptime nodes
  13297. and/or high capacity nodes. When building circuits, choose
  13298. appropriate nodes.
  13299. - This means that every single node in an intro rend circuit,
  13300. not just the last one, will have a minimum uptime.
  13301. - New config option LongLivedPorts to indicate application streams
  13302. that will want high uptime circuits.
  13303. - Servers reset uptime when a dir fetch entirely fails. This
  13304. hopefully reflects stability of the server's network connectivity.
  13305. - If somebody starts his tor server in Jan 2004 and then fixes his
  13306. clock, don't make his published uptime be a year.
  13307. - Reset published uptime when you wake up from hibernation.
  13308. - Introduce a notion of 'internal' circs, which are chosen without
  13309. regard to the exit policy of the last hop. Intro and rendezvous
  13310. circs must be internal circs, to avoid leaking information. Resolve
  13311. and connect streams can use internal circs if they want.
  13312. - New circuit pooling algorithm: make sure to have enough circs around
  13313. to satisfy any predicted ports, and also make sure to have 2 internal
  13314. circs around if we've required internal circs lately (and with high
  13315. uptime if we've seen that lately too).
  13316. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  13317. which describes how often we retry making new circuits if current
  13318. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  13319. how long we're willing to make use of an already-dirty circuit.
  13320. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  13321. circ as necessary, if there are any completed ones lying around
  13322. when we try to launch one.
  13323. - Make hidden services try to establish a rendezvous for 30 seconds,
  13324. rather than for n (where n=3) attempts to build a circuit.
  13325. - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
  13326. "ShutdownWaitLength".
  13327. - Try to be more zealous about calling connection_edge_end when
  13328. things go bad with edge conns in connection.c.
  13329. - Revise tor-spec to add more/better stream end reasons.
  13330. - Revise all calls to connection_edge_end to avoid sending "misc",
  13331. and to take errno into account where possible.
  13332. o Bug fixes:
  13333. - Fix a race condition that can trigger an assert, when we have a
  13334. pending create cell and an OR connection fails right then.
  13335. - Fix several double-mark-for-close bugs, e.g. where we were finding
  13336. a conn for a cell even if that conn is already marked for close.
  13337. - Make sequence of log messages when starting on win32 with no config
  13338. file more reasonable.
  13339. - When choosing an exit node for a new non-internal circ, don't take
  13340. into account whether it'll be useful for any pending x.onion
  13341. addresses -- it won't.
  13342. - Turn addr_policy_compare from a tristate to a quadstate; this should
  13343. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  13344. for google.com" problem.
  13345. - Make "platform" string in descriptor more accurate for Win32 servers,
  13346. so it's not just "unknown platform".
  13347. - Fix an edge case in parsing config options (thanks weasel).
  13348. If they say "--" on the commandline, it's not an option.
  13349. - Reject odd-looking addresses at the client (e.g. addresses that
  13350. contain a colon), rather than having the server drop them because
  13351. they're malformed.
  13352. - tor-resolve requests were ignoring .exit if there was a working circuit
  13353. they could use instead.
  13354. - REUSEADDR on normal platforms means you can rebind to the port
  13355. right after somebody else has let it go. But REUSEADDR on win32
  13356. means to let you bind to the port _even when somebody else
  13357. already has it bound_! So, don't do that on Win32.
  13358. - Change version parsing logic: a version is "obsolete" if it is not
  13359. recommended and (1) there is a newer recommended version in the
  13360. same series, or (2) there are no recommended versions in the same
  13361. series, but there are some recommended versions in a newer series.
  13362. A version is "new" if it is newer than any recommended version in
  13363. the same series.
  13364. - Stop most cases of hanging up on a socks connection without sending
  13365. the socks reject.
  13366. o Helpful fixes:
  13367. - Require BandwidthRate to be at least 20kB/s for servers.
  13368. - When a dirserver causes you to give a warn, mention which dirserver
  13369. it was.
  13370. - New config option DirAllowPrivateAddresses for authdirservers.
  13371. Now by default they refuse router descriptors that have non-IP or
  13372. private-IP addresses.
  13373. - Stop publishing socksport in the directory, since it's not
  13374. actually meant to be public. For compatibility, publish a 0 there
  13375. for now.
  13376. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  13377. smart" value, that is low for servers and high for clients.
  13378. - If our clock jumps forward by 100 seconds or more, assume something
  13379. has gone wrong with our network and abandon all not-yet-used circs.
  13380. - Warn when exit policy implicitly allows local addresses.
  13381. - If we get an incredibly skewed timestamp from a dirserver mirror
  13382. that isn't a verified OR, don't warn -- it's probably him that's
  13383. wrong.
  13384. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  13385. cookies to disk and doesn't log each web request to disk. (Thanks
  13386. to Brett Carrington for pointing this out.)
  13387. - When a client asks us for a dir mirror and we don't have one,
  13388. launch an attempt to get a fresh one.
  13389. - If we're hibernating and we get a SIGINT, exit immediately.
  13390. - Add --with-dmalloc ./configure option, to track memory leaks.
  13391. - And try to free all memory on closing, so we can detect what
  13392. we're leaking.
  13393. - Cache local dns resolves correctly even when they're .exit
  13394. addresses.
  13395. - Give a better warning when some other server advertises an
  13396. ORPort that is actually an apache running ssl.
  13397. - Add "opt hibernating 1" to server descriptor to make it clearer
  13398. whether the server is hibernating.
  13399. Changes in version 0.0.9.6 - 2005-03-24
  13400. o Bugfixes on 0.0.9.x (crashes and asserts):
  13401. - Add new end stream reasons to maintainance branch. Fix bug where
  13402. reason (8) could trigger an assert. Prevent bug from recurring.
  13403. - Apparently win32 stat wants paths to not end with a slash.
  13404. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  13405. blowing away the circuit that conn->cpath_layer points to, then
  13406. checking to see if the circ is well-formed. Backport check to make
  13407. sure we dont use the cpath on a closed connection.
  13408. - Prevent circuit_resume_edge_reading_helper() from trying to package
  13409. inbufs for marked-for-close streams.
  13410. - Don't crash on hup if your options->address has become unresolvable.
  13411. - Some systems (like OS X) sometimes accept() a connection and tell
  13412. you the remote host is 0.0.0.0:0. If this happens, due to some
  13413. other mis-features, we get confused; so refuse the conn for now.
  13414. o Bugfixes on 0.0.9.x (other):
  13415. - Fix harmless but scary "Unrecognized content encoding" warn message.
  13416. - Add new stream error reason: TORPROTOCOL reason means "you are not
  13417. speaking a version of Tor I understand; say bye-bye to your stream."
  13418. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  13419. into the future, now that we are more tolerant of skew. This
  13420. resolves a bug where a Tor server would refuse to cache a directory
  13421. because all the directories it gets are too far in the future;
  13422. yet the Tor server never logs any complaints about clock skew.
  13423. - Mac packaging magic: make man pages useable, and do not overwrite
  13424. existing torrc files.
  13425. - Make OS X log happily to /var/log/tor/tor.log
  13426. Changes in version 0.0.9.5 - 2005-02-22
  13427. o Bugfixes on 0.0.9.x:
  13428. - Fix an assert race at exit nodes when resolve requests fail.
  13429. - Stop picking unverified dir mirrors--it only leads to misery.
  13430. - Patch from Matt Edman to make NT services work better. Service
  13431. support is still not compiled into the executable by default.
  13432. - Patch from Dmitri Bely so the Tor service runs better under
  13433. the win32 SYSTEM account.
  13434. - Make tor-resolve actually work (?) on Win32.
  13435. - Fix a sign bug when getrlimit claims to have 4+ billion
  13436. file descriptors available.
  13437. - Stop refusing to start when bandwidthburst == bandwidthrate.
  13438. - When create cells have been on the onion queue more than five
  13439. seconds, just send back a destroy and take them off the list.
  13440. Changes in version 0.0.9.4 - 2005-02-03
  13441. o Bugfixes on 0.0.9:
  13442. - Fix an assert bug that took down most of our servers: when
  13443. a server claims to have 1 GB of bandwidthburst, don't
  13444. freak out.
  13445. - Don't crash as badly if we have spawned the max allowed number
  13446. of dnsworkers, or we're out of file descriptors.
  13447. - Block more file-sharing ports in the default exit policy.
  13448. - MaxConn is now automatically set to the hard limit of max
  13449. file descriptors we're allowed (ulimit -n), minus a few for
  13450. logs, etc.
  13451. - Give a clearer message when servers need to raise their
  13452. ulimit -n when they start running out of file descriptors.
  13453. - SGI Compatibility patches from Jan Schaumann.
  13454. - Tolerate a corrupt cached directory better.
  13455. - When a dirserver hasn't approved your server, list which one.
  13456. - Go into soft hibernation after 95% of the bandwidth is used,
  13457. not 99%. This is especially important for daily hibernators who
  13458. have a small accounting max. Hopefully it will result in fewer
  13459. cut connections when the hard hibernation starts.
  13460. - Load-balance better when using servers that claim more than
  13461. 800kB/s of capacity.
  13462. - Make NT services work (experimental, only used if compiled in).
  13463. Changes in version 0.0.9.3 - 2005-01-21
  13464. o Bugfixes on 0.0.9:
  13465. - Backport the cpu use fixes from main branch, so busy servers won't
  13466. need as much processor time.
  13467. - Work better when we go offline and then come back, or when we
  13468. run Tor at boot before the network is up. We do this by
  13469. optimistically trying to fetch a new directory whenever an
  13470. application request comes in and we think we're offline -- the
  13471. human is hopefully a good measure of when the network is back.
  13472. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  13473. long as you keep using them; actually publish hidserv descriptors
  13474. shortly after they change, rather than waiting 20-40 minutes.
  13475. - Enable Mac startup script by default.
  13476. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  13477. - When you update AllowUnverifiedNodes or FirewallPorts via the
  13478. controller's setconf feature, we were always appending, never
  13479. resetting.
  13480. - When you update HiddenServiceDir via setconf, it was screwing up
  13481. the order of reading the lines, making it fail.
  13482. - Do not rewrite a cached directory back to the cache; otherwise we
  13483. will think it is recent and not fetch a newer one on startup.
  13484. - Workaround for webservers that lie about Content-Encoding: Tor
  13485. now tries to autodetect compressed directories and compression
  13486. itself. This lets us Proxypass dir fetches through apache.
  13487. Changes in version 0.0.9.2 - 2005-01-04
  13488. o Bugfixes on 0.0.9 (crashes and asserts):
  13489. - Fix an assert on startup when the disk is full and you're logging
  13490. to a file.
  13491. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  13492. style address, then we'd crash.
  13493. - Fix an assert trigger when the running-routers string we get from
  13494. a dirserver is broken.
  13495. - Make worker threads start and run on win32. Now win32 servers
  13496. may work better.
  13497. - Bandaid (not actually fix, but now it doesn't crash) an assert
  13498. where the dns worker dies mysteriously and the main Tor process
  13499. doesn't remember anything about the address it was resolving.
  13500. o Bugfixes on 0.0.9 (Win32):
  13501. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  13502. name out of the warning/assert messages.
  13503. - Fix a superficial "unhandled error on read" bug on win32.
  13504. - The win32 installer no longer requires a click-through for our
  13505. license, since our Free Software license grants rights but does not
  13506. take any away.
  13507. - Win32: When connecting to a dirserver fails, try another one
  13508. immediately. (This was already working for non-win32 Tors.)
  13509. - Stop trying to parse $HOME on win32 when hunting for default
  13510. DataDirectory.
  13511. - Make tor-resolve.c work on win32 by calling network_init().
  13512. o Bugfixes on 0.0.9 (other):
  13513. - Make 0.0.9.x build on Solaris again.
  13514. - Due to a fencepost error, we were blowing away the \n when reporting
  13515. confvalue items in the controller. So asking for multiple config
  13516. values at once couldn't work.
  13517. - When listing circuits that are pending on an opening OR connection,
  13518. if we're an OR we were listing circuits that *end* at us as
  13519. being pending on every listener, dns/cpu worker, etc. Stop that.
  13520. - Dirservers were failing to create 'running-routers' or 'directory'
  13521. strings if we had more than some threshold of routers. Fix them so
  13522. they can handle any number of routers.
  13523. - Fix a superficial "Duplicate mark for close" bug.
  13524. - Stop checking for clock skew for OR connections, even for servers.
  13525. - Fix a fencepost error that was chopping off the last letter of any
  13526. nickname that is the maximum allowed nickname length.
  13527. - Update URLs in log messages so they point to the new website.
  13528. - Fix a potential problem in mangling server private keys while
  13529. writing to disk (not triggered yet, as far as we know).
  13530. - Include the licenses for other free software we include in Tor,
  13531. now that we're shipping binary distributions more regularly.
  13532. Changes in version 0.0.9.1 - 2004-12-15
  13533. o Bugfixes on 0.0.9:
  13534. - Make hibernation actually work.
  13535. - Make HashedControlPassword config option work.
  13536. - When we're reporting event circuit status to a controller,
  13537. don't use the stream status code.
  13538. Changes in version 0.0.9 - 2004-12-12
  13539. o Cleanups:
  13540. - Clean up manpage and torrc.sample file.
  13541. - Clean up severities and text of log warnings.
  13542. o Mistakes:
  13543. - Make servers trigger an assert when they enter hibernation.
  13544. Changes in version 0.0.9rc7 - 2004-12-08
  13545. o Bugfixes on 0.0.9rc:
  13546. - Fix a stack-trashing crash when an exit node begins hibernating.
  13547. - Avoid looking at unallocated memory while considering which
  13548. ports we need to build circuits to cover.
  13549. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  13550. we shouldn't hold-open-until-flush if the eof arrived first.
  13551. - Fix a bug with init_cookie_authentication() in the controller.
  13552. - When recommending new-format log lines, if the upper bound is
  13553. LOG_ERR, leave it implicit.
  13554. o Bugfixes on 0.0.8.1:
  13555. - Fix a whole slew of memory leaks.
  13556. - Fix isspace() and friends so they still make Solaris happy
  13557. but also so they don't trigger asserts on win32.
  13558. - Fix parse_iso_time on platforms without strptime (eg win32).
  13559. - win32: tolerate extra "readable" events better.
  13560. - win32: when being multithreaded, leave parent fdarray open.
  13561. - Make unit tests work on win32.
  13562. Changes in version 0.0.9rc6 - 2004-12-06
  13563. o Bugfixes on 0.0.9pre:
  13564. - Clean up some more integer underflow opportunities (not exploitable
  13565. we think).
  13566. - While hibernating, hup should not regrow our listeners.
  13567. - Send an end to the streams we close when we hibernate, rather
  13568. than just chopping them off.
  13569. - React to eof immediately on non-open edge connections.
  13570. o Bugfixes on 0.0.8.1:
  13571. - Calculate timeout for waiting for a connected cell from the time
  13572. we sent the begin cell, not from the time the stream started. If
  13573. it took a long time to establish the circuit, we would time out
  13574. right after sending the begin cell.
  13575. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  13576. of * as always matching, so we were picking reject *:* nodes as
  13577. exit nodes too. Oops.
  13578. o Features:
  13579. - New circuit building strategy: keep a list of ports that we've
  13580. used in the past 6 hours, and always try to have 2 circuits open
  13581. or on the way that will handle each such port. Seed us with port
  13582. 80 so web users won't complain that Tor is "slow to start up".
  13583. - Make kill -USR1 dump more useful stats about circuits.
  13584. - When warning about retrying or giving up, print the address, so
  13585. the user knows which one it's talking about.
  13586. - If you haven't used a clean circuit in an hour, throw it away,
  13587. just to be on the safe side. (This means after 6 hours a totally
  13588. unused Tor client will have no circuits open.)
  13589. Changes in version 0.0.9rc5 - 2004-12-01
  13590. o Bugfixes on 0.0.8.1:
  13591. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  13592. - Let resolve conns retry/expire also, rather than sticking around
  13593. forever.
  13594. - If we are using select, make sure we stay within FD_SETSIZE.
  13595. o Bugfixes on 0.0.9pre:
  13596. - Fix integer underflow in tor_vsnprintf() that may be exploitable,
  13597. but doesn't seem to be currently; thanks to Ilja van Sprundel for
  13598. finding it.
  13599. - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
  13600. instead. Impose minima and maxima for all *Period options; impose
  13601. even tighter maxima for fetching if we are a caching dirserver.
  13602. Clip rather than rejecting.
  13603. - Fetch cached running-routers from servers that serve it (that is,
  13604. authdirservers and servers running 0.0.9rc5-cvs or later.)
  13605. o Features:
  13606. - Accept *:706 (silc) in default exit policy.
  13607. - Implement new versioning format for post 0.1.
  13608. - Support "foo.nickname.exit" addresses, to let Alice request the
  13609. address "foo" as viewed by exit node "nickname". Based on a patch
  13610. by Geoff Goodell.
  13611. - Make tor --version --version dump the cvs Id of every file.
  13612. Changes in version 0.0.9rc4 - 2004-11-28
  13613. o Bugfixes on 0.0.8.1:
  13614. - Make windows sockets actually non-blocking (oops), and handle
  13615. win32 socket errors better.
  13616. o Bugfixes on 0.0.9rc1:
  13617. - Actually catch the -USR2 signal.
  13618. Changes in version 0.0.9rc3 - 2004-11-25
  13619. o Bugfixes on 0.0.8.1:
  13620. - Flush the log file descriptor after we print "Tor opening log file",
  13621. so we don't see those messages days later.
  13622. o Bugfixes on 0.0.9rc1:
  13623. - Make tor-resolve work again.
  13624. - Avoid infinite loop in tor-resolve if tor hangs up on it.
  13625. - Fix an assert trigger for clients/servers handling resolves.
  13626. Changes in version 0.0.9rc2 - 2004-11-24
  13627. o Bugfixes on 0.0.9rc1:
  13628. - I broke socks5 support while fixing the eof bug.
  13629. - Allow unitless bandwidths and intervals; they default to bytes
  13630. and seconds.
  13631. - New servers don't start out hibernating; they are active until
  13632. they run out of bytes, so they have a better estimate of how
  13633. long it takes, and so their operators can know they're working.
  13634. Changes in version 0.0.9rc1 - 2004-11-23
  13635. o Bugfixes on 0.0.8.1:
  13636. - Finally fix a bug that's been plaguing us for a year:
  13637. With high load, circuit package window was reaching 0. Whenever
  13638. we got a circuit-level sendme, we were reading a lot on each
  13639. socket, but only writing out a bit. So we would eventually reach
  13640. eof. This would be noticed and acted on even when there were still
  13641. bytes sitting in the inbuf.
  13642. - When poll() is interrupted, we shouldn't believe the revents values.
  13643. o Bugfixes on 0.0.9pre6:
  13644. - Fix hibernate bug that caused pre6 to be broken.
  13645. - Don't keep rephist info for routers that haven't had activity for
  13646. 24 hours. (This matters now that clients have keys, since we track
  13647. them too.)
  13648. - Never call close_temp_logs while validating log options.
  13649. - Fix backslash-escaping on tor.sh.in and torctl.in.
  13650. o Features:
  13651. - Implement weekly/monthly/daily accounting: now you specify your
  13652. hibernation properties by
  13653. AccountingMax N bytes|KB|MB|GB|TB
  13654. AccountingStart day|week|month [day] HH:MM
  13655. Defaults to "month 1 0:00".
  13656. - Let bandwidth and interval config options be specified as 5 bytes,
  13657. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  13658. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  13659. get back to normal.)
  13660. - If your requested entry or exit node has advertised bandwidth 0,
  13661. pick it anyway.
  13662. - Be more greedy about filling up relay cells -- we try reading again
  13663. once we've processed the stuff we read, in case enough has arrived
  13664. to fill the last cell completely.
  13665. - Apply NT service patch from Osamu Fujino. Still needs more work.
  13666. Changes in version 0.0.9pre6 - 2004-11-15
  13667. o Bugfixes on 0.0.8.1:
  13668. - Fix assert failure on malformed socks4a requests.
  13669. - Use identity comparison, not nickname comparison, to choose which
  13670. half of circuit-ID-space each side gets to use. This is needed
  13671. because sometimes we think of a router as a nickname, and sometimes
  13672. as a hex ID, and we can't predict what the other side will do.
  13673. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  13674. write() call will fail and we handle it there.
  13675. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  13676. and smartlist_len, which are two major profiling offenders.
  13677. o Bugfixes on 0.0.9pre5:
  13678. - Fix a bug in read_all that was corrupting config files on windows.
  13679. - When we're raising the max number of open file descriptors to
  13680. 'unlimited', don't log that we just raised it to '-1'.
  13681. - Include event code with events, as required by control-spec.txt.
  13682. - Don't give a fingerprint when clients do --list-fingerprint:
  13683. it's misleading, because it will never be the same again.
  13684. - Stop using strlcpy in tor_strndup, since it was slowing us
  13685. down a lot.
  13686. - Remove warn on startup about missing cached-directory file.
  13687. - Make kill -USR1 work again.
  13688. - Hibernate if we start tor during the "wait for wakeup-time" phase
  13689. of an accounting interval. Log our hibernation plans better.
  13690. - Authoritative dirservers now also cache their directory, so they
  13691. have it on start-up.
  13692. o Features:
  13693. - Fetch running-routers; cache running-routers; compress
  13694. running-routers; serve compressed running-routers.z
  13695. - Add NSI installer script contributed by J Doe.
  13696. - Commit VC6 and VC7 workspace/project files.
  13697. - Commit a tor.spec for making RPM files, with help from jbash.
  13698. - Add contrib/torctl.in contributed by Glenn Fink.
  13699. - Implement the control-spec's SAVECONF command, to write your
  13700. configuration to torrc.
  13701. - Get cookie authentication for the controller closer to working.
  13702. - Include control-spec.txt in the tarball.
  13703. - When set_conf changes our server descriptor, upload a new copy.
  13704. But don't upload it too often if there are frequent changes.
  13705. - Document authentication config in man page, and document signals
  13706. we catch.
  13707. - Clean up confusing parts of man page and torrc.sample.
  13708. - Make expand_filename handle ~ and ~username.
  13709. - Use autoconf to enable largefile support where necessary. Use
  13710. ftello where available, since ftell can fail at 2GB.
  13711. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  13712. log more informatively.
  13713. - Give a slightly more useful output for "tor -h".
  13714. - Refuse application socks connections to port 0.
  13715. - Check clock skew for verified servers, but allow unverified
  13716. servers and clients to have any clock skew.
  13717. - Break DirFetchPostPeriod into:
  13718. - DirFetchPeriod for fetching full directory,
  13719. - StatusFetchPeriod for fetching running-routers,
  13720. - DirPostPeriod for posting server descriptor,
  13721. - RendPostPeriod for posting hidden service descriptors.
  13722. - Make sure the hidden service descriptors are at a random offset
  13723. from each other, to hinder linkability.
  13724. Changes in version 0.0.9pre5 - 2004-11-09
  13725. o Bugfixes on 0.0.9pre4:
  13726. - Fix a seg fault in unit tests (doesn't affect main program).
  13727. - Fix an assert bug where a hidden service provider would fail if
  13728. the first hop of his rendezvous circuit was down.
  13729. - Hidden service operators now correctly handle version 1 style
  13730. INTRODUCE1 cells (nobody generates them still, so not a critical
  13731. bug).
  13732. - If do_hup fails, actually notice.
  13733. - Handle more errnos from accept() without closing the listener.
  13734. Some OpenBSD machines were closing their listeners because
  13735. they ran out of file descriptors.
  13736. - Send resolve cells to exit routers that are running a new
  13737. enough version of the resolve code to work right.
  13738. - Better handling of winsock includes on non-MSV win32 compilers.
  13739. - Some people had wrapped their tor client/server in a script
  13740. that would restart it whenever it died. This did not play well
  13741. with our "shut down if your version is obsolete" code. Now people
  13742. don't fetch a new directory if their local cached version is
  13743. recent enough.
  13744. - Make our autogen.sh work on ksh as well as bash.
  13745. o Major Features:
  13746. - Hibernation: New config option "AccountingMaxKB" lets you
  13747. set how many KBytes per month you want to allow your server to
  13748. consume. Rather than spreading those bytes out evenly over the
  13749. month, we instead hibernate for some of the month and pop up
  13750. at a deterministic time, work until the bytes are consumed, then
  13751. hibernate again. Config option "MonthlyAccountingStart" lets you
  13752. specify which day of the month your billing cycle starts on.
  13753. - Control interface: a separate program can now talk to your
  13754. client/server over a socket, and get/set config options, receive
  13755. notifications of circuits and streams starting/finishing/dying,
  13756. bandwidth used, etc. The next step is to get some GUIs working.
  13757. Let us know if you want to help out. See doc/control-spec.txt .
  13758. - Ship a contrib/tor-control.py as an example script to interact
  13759. with the control port.
  13760. - "tor --hash-password zzyxz" will output a salted password for
  13761. use in authenticating to the control interface.
  13762. - New log format in config:
  13763. "Log minsev[-maxsev] stdout|stderr|syslog" or
  13764. "Log minsev[-maxsev] file /var/foo"
  13765. o Minor Features:
  13766. - DirPolicy config option, to let people reject incoming addresses
  13767. from their dirserver.
  13768. - "tor --list-fingerprint" will list your identity key fingerprint
  13769. and then exit.
  13770. - Add "pass" target for RedirectExit, to make it easier to break
  13771. out of a sequence of RedirectExit rules.
  13772. - Clients now generate a TLS cert too, in preparation for having
  13773. them act more like real nodes.
  13774. - Ship src/win32/ in the tarball, so people can use it to build.
  13775. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  13776. is broken.
  13777. - New "router-status" line in directory, to better bind each verified
  13778. nickname to its identity key.
  13779. - Deprecate unofficial config option abbreviations, and abbreviations
  13780. not on the command line.
  13781. - Add a pure-C tor-resolve implementation.
  13782. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  13783. 1024) file descriptors.
  13784. o Code security improvements, inspired by Ilja:
  13785. - Replace sprintf with snprintf. (I think they were all safe, but
  13786. hey.)
  13787. - Replace strcpy/strncpy with strlcpy in more places.
  13788. - Avoid strcat; use snprintf or strlcat instead.
  13789. - snprintf wrapper with consistent (though not C99) overflow behavior.
  13790. Changes in version 0.0.9pre4 - 2004-10-17
  13791. o Bugfixes on 0.0.9pre3:
  13792. - If the server doesn't specify an exit policy, use the real default
  13793. exit policy, not reject *:*.
  13794. - Ignore fascistfirewall when uploading/downloading hidden service
  13795. descriptors, since we go through Tor for those; and when using
  13796. an HttpProxy, since we assume it can reach them all.
  13797. - When looking for an authoritative dirserver, use only the ones
  13798. configured at boot. Don't bother looking in the directory.
  13799. - The rest of the fix for get_default_conf_file() on older win32.
  13800. - Make 'Routerfile' config option obsolete.
  13801. o Features:
  13802. - New 'MyFamily nick1,...' config option for a server to
  13803. specify other servers that shouldn't be used in the same circuit
  13804. with it. Only believed if nick1 also specifies us.
  13805. - New 'NodeFamily nick1,nick2,...' config option for a client to
  13806. specify nodes that it doesn't want to use in the same circuit.
  13807. - New 'Redirectexit pattern address:port' config option for a
  13808. server to redirect exit connections, e.g. to a local squid.
  13809. Changes in version 0.0.9pre3 - 2004-10-13
  13810. o Bugfixes on 0.0.8.1:
  13811. - Better torrc example lines for dirbindaddress and orbindaddress.
  13812. - Improved bounds checking on parsed ints (e.g. config options and
  13813. the ones we find in directories.)
  13814. - Better handling of size_t vs int, so we're more robust on 64
  13815. bit platforms.
  13816. - Fix the rest of the bug where a newly started OR would appear
  13817. as unverified even after we've added his fingerprint and hupped
  13818. the dirserver.
  13819. - Fix a bug from 0.0.7: when read() failed on a stream, we would
  13820. close it without sending back an end. So 'connection refused'
  13821. would simply be ignored and the user would get no response.
  13822. o Bugfixes on 0.0.9pre2:
  13823. - Serving the cached-on-disk directory to people is bad. We now
  13824. provide no directory until we've fetched a fresh one.
  13825. - Workaround for bug on windows where cached-directories get crlf
  13826. corruption.
  13827. - Make get_default_conf_file() work on older windows too.
  13828. - If we write a *:* exit policy line in the descriptor, don't write
  13829. any more exit policy lines.
  13830. o Features:
  13831. - Use only 0.0.9pre1 and later servers for resolve cells.
  13832. - Make the dirservers file obsolete.
  13833. - Include a dir-signing-key token in directories to tell the
  13834. parsing entity which key is being used to sign.
  13835. - Remove the built-in bulky default dirservers string.
  13836. - New config option "Dirserver %s:%d [fingerprint]", which can be
  13837. repeated as many times as needed. If no dirservers specified,
  13838. default to moria1,moria2,tor26.
  13839. - Make moria2 advertise a dirport of 80, so people behind firewalls
  13840. will be able to get a directory.
  13841. - Http proxy support
  13842. - Dirservers translate requests for http://%s:%d/x to /x
  13843. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  13844. be routed through this host.
  13845. - Clients ask for /tor/x rather than /x for new enough dirservers.
  13846. This way we can one day coexist peacefully with apache.
  13847. - Clients specify a "Host: %s%d" http header, to be compatible
  13848. with more proxies, and so running squid on an exit node can work.
  13849. Changes in version 0.0.8.1 - 2004-10-13
  13850. o Bugfixes:
  13851. - Fix a seg fault that can be triggered remotely for Tor
  13852. clients/servers with an open dirport.
  13853. - Fix a rare assert trigger, where routerinfos for entries in
  13854. our cpath would expire while we're building the path.
  13855. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  13856. - Fix a rare seg fault for people running hidden services on
  13857. intermittent connections.
  13858. - Fix a bug in parsing opt keywords with objects.
  13859. - Fix a stale pointer assert bug when a stream detaches and
  13860. reattaches.
  13861. - Fix a string format vulnerability (probably not exploitable)
  13862. in reporting stats locally.
  13863. - Fix an assert trigger: sometimes launching circuits can fail
  13864. immediately, e.g. because too many circuits have failed recently.
  13865. - Fix a compile warning on 64 bit platforms.
  13866. Changes in version 0.0.9pre2 - 2004-10-03
  13867. o Bugfixes:
  13868. - Make fetching a cached directory work for 64-bit platforms too.
  13869. - Make zlib.h a required header, not an optional header.
  13870. Changes in version 0.0.9pre1 - 2004-10-01
  13871. o Bugfixes:
  13872. - Stop using separate defaults for no-config-file and
  13873. empty-config-file. Now you have to explicitly turn off SocksPort,
  13874. if you don't want it open.
  13875. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  13876. - Improve man page to mention more of the 0.0.8 features.
  13877. - Fix a rare seg fault for people running hidden services on
  13878. intermittent connections.
  13879. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  13880. happier.
  13881. - Fix more dns related bugs: send back resolve_failed and end cells
  13882. more reliably when the resolve fails, rather than closing the
  13883. circuit and then trying to send the cell. Also attach dummy resolve
  13884. connections to a circuit *before* calling dns_resolve(), to fix
  13885. a bug where cached answers would never be sent in RESOLVED cells.
  13886. - When we run out of disk space, or other log writing error, don't
  13887. crash. Just stop logging to that log and continue.
  13888. - We were starting to daemonize before we opened our logs, so if
  13889. there were any problems opening logs, we would complain to stderr,
  13890. which wouldn't work, and then mysteriously exit.
  13891. - Fix a rare bug where sometimes a verified OR would connect to us
  13892. before he'd uploaded his descriptor, which would cause us to
  13893. assign conn->nickname as though he's unverified. Now we look through
  13894. the fingerprint list to see if he's there.
  13895. - Fix a rare assert trigger, where routerinfos for entries in
  13896. our cpath would expire while we're building the path.
  13897. o Features:
  13898. - Clients can ask dirservers for /dir.z to get a compressed version
  13899. of the directory. Only works for servers running 0.0.9, of course.
  13900. - Make clients cache directories and use them to seed their router
  13901. lists at startup. This means clients have a datadir again.
  13902. - Configuration infrastructure support for warning on obsolete
  13903. options.
  13904. - Respond to content-encoding headers by trying to uncompress as
  13905. appropriate.
  13906. - Reply with a deflated directory when a client asks for "dir.z".
  13907. We could use allow-encodings instead, but allow-encodings isn't
  13908. specified in HTTP 1.0.
  13909. - Raise the max dns workers from 50 to 100.
  13910. - Discourage people from setting their dirfetchpostperiod more often
  13911. than once per minute.
  13912. - Protect dirservers from overzealous descriptor uploading -- wait
  13913. 10 seconds after directory gets dirty, before regenerating.
  13914. Changes in version 0.0.8 - 2004-08-25
  13915. o Port it to SunOS 5.9 / Athena
  13916. Changes in version 0.0.8rc2 - 2004-08-20
  13917. o Make it compile on cygwin again.
  13918. o When picking unverified routers, skip those with low uptime and/or
  13919. low bandwidth, depending on what properties you care about.
  13920. Changes in version 0.0.8rc1 - 2004-08-18
  13921. o Changes from 0.0.7.3:
  13922. - Bugfixes:
  13923. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  13924. don't put it into the client dns cache.
  13925. - If a begin failed due to exit policy, but we believe the IP address
  13926. should have been allowed, switch that router to exitpolicy reject *:*
  13927. until we get our next directory.
  13928. - Features:
  13929. - Clients choose nodes proportional to advertised bandwidth.
  13930. - Avoid using nodes with low uptime as introduction points.
  13931. - Handle servers with dynamic IP addresses: don't replace
  13932. options->Address with the resolved one at startup, and
  13933. detect our address right before we make a routerinfo each time.
  13934. - 'FascistFirewall' option to pick dirservers and ORs on specific
  13935. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  13936. which ports are open. (Defaults to 80,443)
  13937. - Be more aggressive about trying to make circuits when the network
  13938. has changed (e.g. when you unsuspend your laptop).
  13939. - Check for time skew on http headers; report date in response to
  13940. "GET /".
  13941. - If the entrynode config line has only one node, don't pick it as
  13942. an exitnode.
  13943. - Add strict{entry|exit}nodes config options. If set to 1, then
  13944. we refuse to build circuits that don't include the specified entry
  13945. or exit nodes.
  13946. - OutboundBindAddress config option, to bind to a specific
  13947. IP address for outgoing connect()s.
  13948. - End truncated log entries (e.g. directories) with "[truncated]".
  13949. o Patches to 0.0.8preX:
  13950. - Bugfixes:
  13951. - Patches to compile and run on win32 again (maybe)?
  13952. - Fix crash when looking for ~/.torrc with no $HOME set.
  13953. - Fix a race bug in the unit tests.
  13954. - Handle verified/unverified name collisions better when new
  13955. routerinfo's arrive in a directory.
  13956. - Sometimes routers were getting entered into the stats before
  13957. we'd assigned their identity_digest. Oops.
  13958. - Only pick and establish intro points after we've gotten a
  13959. directory.
  13960. - Features:
  13961. - AllowUnverifiedNodes config option to let circuits choose no-name
  13962. routers in entry,middle,exit,introduction,rendezvous positions.
  13963. Allow middle and rendezvous positions by default.
  13964. - Add a man page for tor-resolve.
  13965. Changes in version 0.0.7.3 - 2004-08-12
  13966. o Stop dnsworkers from triggering an assert failure when you
  13967. ask them to resolve the host "".
  13968. Changes in version 0.0.8pre3 - 2004-08-09
  13969. o Changes from 0.0.7.2:
  13970. - Allow multiple ORs with same nickname in routerlist -- now when
  13971. people give us one identity key for a nickname, then later
  13972. another, we don't constantly complain until the first expires.
  13973. - Remember used bandwidth (both in and out), and publish 15-minute
  13974. snapshots for the past day into our descriptor.
  13975. - You can now fetch $DIRURL/running-routers to get just the
  13976. running-routers line, not the whole descriptor list. (But
  13977. clients don't use this yet.)
  13978. - When people mistakenly use Tor as an http proxy, point them
  13979. at the tor-doc.html rather than the INSTALL.
  13980. - Remove our mostly unused -- and broken -- hex_encode()
  13981. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  13982. for pointing out this bug.)
  13983. - Rotate onion keys every 12 hours, not every 2 hours, so we have
  13984. fewer problems with people using the wrong key.
  13985. - Change the default exit policy to reject the default edonkey,
  13986. kazaa, gnutella ports.
  13987. - Add replace_file() to util.[ch] to handle win32's rename().
  13988. o Changes from 0.0.8preX:
  13989. - Fix two bugs in saving onion keys to disk when rotating, so
  13990. hopefully we'll get fewer people using old onion keys.
  13991. - Fix an assert error that was making SocksPolicy not work.
  13992. - Be willing to expire routers that have an open dirport -- it's
  13993. just the authoritative dirservers we want to not forget.
  13994. - Reject tor-resolve requests for .onion addresses early, so we
  13995. don't build a whole rendezvous circuit and then fail.
  13996. - When you're warning a server that he's unverified, don't cry
  13997. wolf unpredictably.
  13998. - Fix a race condition: don't try to extend onto a connection
  13999. that's still handshaking.
  14000. - For servers in clique mode, require the conn to be open before
  14001. you'll choose it for your path.
  14002. - Fix some cosmetic bugs about duplicate mark-for-close, lack of
  14003. end relay cell, etc.
  14004. - Measure bandwidth capacity over the last 24 hours, not just 12
  14005. - Bugfix: authoritative dirservers were making and signing a new
  14006. directory for each client, rather than reusing the cached one.
  14007. Changes in version 0.0.8pre2 - 2004-08-04
  14008. o Changes from 0.0.7.2:
  14009. - Security fixes:
  14010. - Check directory signature _before_ you decide whether you're
  14011. you're running an obsolete version and should exit.
  14012. - Check directory signature _before_ you parse the running-routers
  14013. list to decide who's running or verified.
  14014. - Bugfixes and features:
  14015. - Check return value of fclose while writing to disk, so we don't
  14016. end up with broken files when servers run out of disk space.
  14017. - Log a warning if the user uses an unsafe socks variant, so people
  14018. are more likely to learn about privoxy or socat.
  14019. - Dirservers now include RFC1123-style dates in the HTTP headers,
  14020. which one day we will use to better detect clock skew.
  14021. o Changes from 0.0.8pre1:
  14022. - Make it compile without warnings again on win32.
  14023. - Log a warning if you're running an unverified server, to let you
  14024. know you might want to get it verified.
  14025. - Only pick a default nickname if you plan to be a server.
  14026. Changes in version 0.0.8pre1 - 2004-07-23
  14027. o Bugfixes:
  14028. - Made our unit tests compile again on OpenBSD 3.5, and tor
  14029. itself compile again on OpenBSD on a sparc64.
  14030. - We were neglecting milliseconds when logging on win32, so
  14031. everything appeared to happen at the beginning of each second.
  14032. o Protocol changes:
  14033. - 'Extend' relay cell payloads now include the digest of the
  14034. intended next hop's identity key. Now we can verify that we're
  14035. extending to the right router, and also extend to routers we
  14036. hadn't heard of before.
  14037. o Features:
  14038. - Tor nodes can now act as relays (with an advertised ORPort)
  14039. without being manually verified by the dirserver operators.
  14040. - Uploaded descriptors of unverified routers are now accepted
  14041. by the dirservers, and included in the directory.
  14042. - Verified routers are listed by nickname in the running-routers
  14043. list; unverified routers are listed as "$<fingerprint>".
  14044. - We now use hash-of-identity-key in most places rather than
  14045. nickname or addr:port, for improved security/flexibility.
  14046. - To avoid Sybil attacks, paths still use only verified servers.
  14047. But now we have a chance to play around with hybrid approaches.
  14048. - Nodes track bandwidth usage to estimate capacity (not used yet).
  14049. - ClientOnly option for nodes that never want to become servers.
  14050. - Directory caching.
  14051. - "AuthoritativeDir 1" option for the official dirservers.
  14052. - Now other nodes (clients and servers) will cache the latest
  14053. directory they've pulled down.
  14054. - They can enable their DirPort to serve it to others.
  14055. - Clients will pull down a directory from any node with an open
  14056. DirPort, and check the signature/timestamp correctly.
  14057. - Authoritative dirservers now fetch directories from other
  14058. authdirservers, to stay better synced.
  14059. - Running-routers list tells who's down also, along with noting
  14060. if they're verified (listed by nickname) or unverified (listed
  14061. by hash-of-key).
  14062. - Allow dirservers to serve running-router list separately.
  14063. This isn't used yet.
  14064. - ORs connect-on-demand to other ORs
  14065. - If you get an extend cell to an OR you're not connected to,
  14066. connect, handshake, and forward the create cell.
  14067. - The authoritative dirservers stay connected to everybody,
  14068. and everybody stays connected to 0.0.7 servers, but otherwise
  14069. clients/servers expire unused connections after 5 minutes.
  14070. - When servers get a sigint, they delay 30 seconds (refusing new
  14071. connections) then exit. A second sigint causes immediate exit.
  14072. - File and name management:
  14073. - Look for .torrc if no CONFDIR "torrc" is found.
  14074. - If no datadir is defined, then choose, make, and secure ~/.tor
  14075. as datadir.
  14076. - If torrc not found, exitpolicy reject *:*.
  14077. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  14078. - If no nickname is defined, derive default from hostname.
  14079. - Rename secret key files, e.g. identity.key -> secret_id_key,
  14080. to discourage people from mailing their identity key to tor-ops.
  14081. - Refuse to build a circuit before the directory has arrived --
  14082. it won't work anyway, since you won't know the right onion keys
  14083. to use.
  14084. - Try other dirservers immediately if the one you try is down. This
  14085. should tolerate down dirservers better now.
  14086. - Parse tor version numbers so we can do an is-newer-than check
  14087. rather than an is-in-the-list check.
  14088. - New socks command 'resolve', to let us shim gethostbyname()
  14089. locally.
  14090. - A 'tor_resolve' script to access the socks resolve functionality.
  14091. - A new socks-extensions.txt doc file to describe our
  14092. interpretation and extensions to the socks protocols.
  14093. - Add a ContactInfo option, which gets published in descriptor.
  14094. - Publish OR uptime in descriptor (and thus in directory) too.
  14095. - Write tor version at the top of each log file
  14096. - New docs in the tarball:
  14097. - tor-doc.html.
  14098. - Document that you should proxy your SSL traffic too.
  14099. Changes in version 0.0.7.2 - 2004-07-07
  14100. o A better fix for the 0.0.0.0 problem, that will hopefully
  14101. eliminate the remaining related assertion failures.
  14102. Changes in version 0.0.7.1 - 2004-07-04
  14103. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  14104. since internally we use 0.0.0.0 to signify "not yet resolved".
  14105. Changes in version 0.0.7 - 2004-06-07
  14106. o Updated the man page to reflect the new features.
  14107. Changes in version 0.0.7rc2 - 2004-06-06
  14108. o Changes from 0.0.7rc1:
  14109. - Make it build on Win32 again.
  14110. o Changes from 0.0.6.2:
  14111. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  14112. settings too.
  14113. Changes in version 0.0.7rc1 - 2004-06-02
  14114. o Bugfixes:
  14115. - On sighup, we were adding another log without removing the first
  14116. one. So log messages would get duplicated n times for n sighups.
  14117. - Several cases of using a connection after we'd freed it. The
  14118. problem was that connections that are pending resolve are in both
  14119. the pending_resolve tree, and also the circuit's resolving_streams
  14120. list. When you want to remove one, you must remove it from both.
  14121. - Fix a double-mark-for-close where an end cell arrived for a
  14122. resolving stream, and then the resolve failed.
  14123. - Check directory signatures based on name of signer, not on whom
  14124. we got the directory from. This will let us cache directories more
  14125. easily.
  14126. o Features:
  14127. - Crank up some of our constants to handle more users.
  14128. Changes in version 0.0.7pre1 - 2004-06-02
  14129. o Fixes for crashes and other obnoxious bugs:
  14130. - Fix an epipe bug: sometimes when directory connections failed
  14131. to connect, we would give them a chance to flush before closing
  14132. them.
  14133. - When we detached from a circuit because of resolvefailed, we
  14134. would immediately try the same circuit twice more, and then
  14135. give up on the resolve thinking we'd tried three different
  14136. exit nodes.
  14137. - Limit the number of intro circuits we'll attempt to build for a
  14138. hidden service per 15-minute period.
  14139. - Check recommended-software string *early*, before actually parsing
  14140. the directory. Thus we can detect an obsolete version and exit,
  14141. even if the new directory format doesn't parse.
  14142. o Fixes for security bugs:
  14143. - Remember which nodes are dirservers when you startup, and if a
  14144. random OR enables his dirport, don't automatically assume he's
  14145. a trusted dirserver.
  14146. o Other bugfixes:
  14147. - Directory connections were asking the wrong poll socket to
  14148. start writing, and not asking themselves to start writing.
  14149. - When we detached from a circuit because we sent a begin but
  14150. didn't get a connected, we would use it again the first time;
  14151. but after that we would correctly switch to a different one.
  14152. - Stop warning when the first onion decrypt attempt fails; they
  14153. will sometimes legitimately fail now that we rotate keys.
  14154. - Override unaligned-access-ok check when $host_cpu is ia64 or
  14155. arm. Apparently they allow it but the kernel whines.
  14156. - Dirservers try to reconnect periodically too, in case connections
  14157. have failed.
  14158. - Fix some memory leaks in directory servers.
  14159. - Allow backslash in Win32 filenames.
  14160. - Made Tor build complain-free on FreeBSD, hopefully without
  14161. breaking other BSD builds. We'll see.
  14162. o Features:
  14163. - Doxygen markup on all functions and global variables.
  14164. - Make directory functions update routerlist, not replace it. So
  14165. now directory disagreements are not so critical a problem.
  14166. - Remove the upper limit on number of descriptors in a dirserver's
  14167. directory (not that we were anywhere close).
  14168. - Allow multiple logfiles at different severity ranges.
  14169. - Allow *BindAddress to specify ":port" rather than setting *Port
  14170. separately. Allow multiple instances of each BindAddress config
  14171. option, so you can bind to multiple interfaces if you want.
  14172. - Allow multiple exit policy lines, which are processed in order.
  14173. Now we don't need that huge line with all the commas in it.
  14174. - Enable accept/reject policies on SOCKS connections, so you can bind
  14175. to 0.0.0.0 but still control who can use your OP.
  14176. Changes in version 0.0.6.2 - 2004-05-16
  14177. o Our integrity-checking digest was checking only the most recent cell,
  14178. not the previous cells like we'd thought.
  14179. Thanks to Stefan Mark for finding the flaw!
  14180. Changes in version 0.0.6.1 - 2004-05-06
  14181. o Fix two bugs in our AES counter-mode implementation (this affected
  14182. onion-level stream encryption, but not TLS-level). It turns
  14183. out we were doing something much more akin to a 16-character
  14184. polyalphabetic cipher. Oops.
  14185. Thanks to Stefan Mark for finding the flaw!
  14186. o Retire moria3 as a directory server, and add tor26 as a directory
  14187. server.
  14188. Changes in version 0.0.6 - 2004-05-02
  14189. [version bump only]
  14190. Changes in version 0.0.6rc4 - 2004-05-01
  14191. o Update the built-in dirservers list to use the new directory format
  14192. o Fix a rare seg fault: if a node offering a hidden service attempts
  14193. to build a circuit to Alice's rendezvous point and fails before it
  14194. reaches the last hop, it retries with a different circuit, but
  14195. then dies.
  14196. o Handle windows socket errors correctly.
  14197. Changes in version 0.0.6rc3 - 2004-04-28
  14198. o Don't expire non-general excess circuits (if we had enough
  14199. circuits open, we were expiring rendezvous circuits -- even
  14200. when they had a stream attached. oops.)
  14201. o Fetch randomness from /dev/urandom better (not via fopen/fread)
  14202. o Better debugging for tls errors
  14203. o Some versions of openssl have an SSL_pending function that erroneously
  14204. returns bytes when there is a non-application record pending.
  14205. o Set Content-Type on the directory and hidserv descriptor.
  14206. o Remove IVs from cipher code, since AES-ctr has none.
  14207. o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  14208. o We were using an array of length zero in a few places.
  14209. o win32's gethostbyname can't resolve an IP to an IP.
  14210. o win32's close can't close a socket.
  14211. Changes in version 0.0.6rc2 - 2004-04-26
  14212. o Fix a bug where we were closing tls connections intermittently.
  14213. It turns out openssl keeps its errors around -- so if an error
  14214. happens, and you don't ask about it, and then another openssl
  14215. operation happens and succeeds, and you ask if there was an error,
  14216. it tells you about the first error. Fun fun.
  14217. o Fix a bug that's been lurking since 27 may 03 (!)
  14218. When passing back a destroy cell, we would use the wrong circ id.
  14219. 'Mostly harmless', but still worth fixing.
  14220. o Since we don't support truncateds much, don't bother sending them;
  14221. just close the circ.
  14222. o check for <machine/limits.h> so we build on NetBSD again (I hope).
  14223. o don't crash if a conn that sent a begin has suddenly lost its circuit
  14224. (this was quite rare).
  14225. Changes in version 0.0.6rc1 - 2004-04-25
  14226. o We now rotate link (tls context) keys and onion keys.
  14227. o CREATE cells now include oaep padding, so you can tell
  14228. if you decrypted them correctly.
  14229. o Add bandwidthburst to server descriptor.
  14230. o Directories now say which dirserver signed them.
  14231. o Use a tor_assert macro that logs failed assertions too.
  14232. Changes in version 0.0.6pre5 - 2004-04-18
  14233. o changes from 0.0.6pre4:
  14234. - make tor build on broken freebsd 5.2 installs
  14235. - fix a failed assert when you try an intro point, get a nack, and try
  14236. a second one and it works.
  14237. - when alice uses a port that the hidden service doesn't accept,
  14238. it now sends back an end cell (denied by exit policy). otherwise
  14239. alice would just have to wait to time out.
  14240. - fix another rare bug: when we had tried all the intro
  14241. points for a hidden service, we fetched the descriptor
  14242. again, but we left our introcirc thinking it had already
  14243. sent an intro, so it kept waiting for a response...
  14244. - bugfix: when you sleep your hidden-service laptop, as soon
  14245. as it wakes up it tries to upload a service descriptor, but
  14246. socketpair fails for some reason (localhost not up yet?).
  14247. now we simply give up on that upload, and we'll try again later.
  14248. i'd still like to find the bug though.
  14249. - if an intro circ waiting for an ack dies before getting one, then
  14250. count it as a nack
  14251. - we were reusing stale service descriptors and refetching usable
  14252. ones. oops.
  14253. Changes in version 0.0.6pre4 - 2004-04-14
  14254. o changes from 0.0.6pre3:
  14255. - when bob fails to connect to the rendezvous point, and his
  14256. circ didn't fail because of the rendezvous point itself, then
  14257. he retries a couple of times
  14258. - we expire introduction and rendezvous circs more thoroughly
  14259. (sometimes they were hanging around forever)
  14260. - we expire unattached rendezvous streams that have been around
  14261. too long (they were sticking around forever).
  14262. - fix a measly fencepost error that was crashing everybody with
  14263. a strict glibc.
  14264. Changes in version 0.0.6pre3 - 2004-04-14
  14265. o changes from 0.0.6pre2:
  14266. - make hup work again
  14267. - fix some memory leaks for dirservers
  14268. - allow more skew in rendezvous descriptor timestamps, to help
  14269. handle people like blanu who don't know what time it is
  14270. - normal circs are 3 hops, but some rend/intro circs are 4, if
  14271. the initiator doesn't get to choose the last hop
  14272. - send acks for introductions, so alice can know whether to try
  14273. again
  14274. - bob publishes intro points more correctly
  14275. o changes from 0.0.5:
  14276. - fix an assert trigger that's been plaguing us since the days
  14277. of 0.0.2prexx (thanks weasel!)
  14278. - retry stream correctly when we fail to connect because of
  14279. exit-policy-reject (should try another) or can't-resolve-address
  14280. (also should try another, because dns on random internet servers
  14281. is flaky).
  14282. - when we hup a dirserver and we've *removed* a server from the
  14283. approved-routers list, now we remove that server from the
  14284. in-memory directories too
  14285. Changes in version 0.0.6pre2 - 2004-04-08
  14286. o We fixed our base32 implementation. Now it works on all architectures.
  14287. Changes in version 0.0.6pre1 - 2004-04-08
  14288. o Features:
  14289. - Hidden services and rendezvous points are implemented. Go to
  14290. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  14291. hidden services. (This only works via a socks4a proxy such as
  14292. Privoxy, and currently it's quite slow.)
  14293. Changes in version 0.0.5 - 2004-03-30
  14294. [version bump only]
  14295. Changes in version 0.0.5rc3 - 2004-03-29
  14296. o Install torrc as torrc.sample -- we no longer clobber your
  14297. torrc. (Woo!)
  14298. o Re-enable recommendedversion checking (we broke it in rc2, oops)
  14299. o Add in a 'notice' log level for things the operator should hear
  14300. but that aren't warnings
  14301. Changes in version 0.0.5rc2 - 2004-03-29
  14302. o Hold socks connection open until reply is flushed (if possible)
  14303. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  14304. the dns farm to do it.
  14305. o Fix c99 aliasing warnings in rephist.c
  14306. o Don't include server descriptors that are older than 24 hours in the
  14307. directory.
  14308. o Give socks 'reject' replies their whole 15s to attempt to flush,
  14309. rather than seeing the 60s timeout and assuming the flush had failed.
  14310. o Clean automake droppings from the cvs repository
  14311. Changes in version 0.0.5rc1 - 2004-03-28
  14312. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  14313. o Only build circuits after we've fetched the directory: clients were
  14314. using only the directory servers before they'd fetched a directory.
  14315. This also means longer startup time; so it goes.
  14316. o Fix an assert trigger where an OP would fail to handshake, and we'd
  14317. expect it to have a nickname.
  14318. o Work around a tsocks bug: do a socks reject when AP connection dies
  14319. early, else tsocks goes into an infinite loop.
  14320. Changes in version 0.0.4 - 2004-03-26
  14321. o When connecting to a dirserver or OR and the network is down,
  14322. we would crash.
  14323. Changes in version 0.0.3 - 2004-03-26
  14324. o Warn and fail if server chose a nickname with illegal characters
  14325. o Port to Solaris and Sparc:
  14326. - include missing header fcntl.h
  14327. - have autoconf find -lsocket -lnsl automatically
  14328. - deal with hardware word alignment
  14329. - make uname() work (solaris has a different return convention)
  14330. - switch from using signal() to sigaction()
  14331. o Preliminary work on reputation system:
  14332. - Keep statistics on success/fail of connect attempts; they're published
  14333. by kill -USR1 currently.
  14334. - Add a RunTesting option to try to learn link state by creating test
  14335. circuits, even when SocksPort is off.
  14336. - Remove unused open circuits when there are too many.
  14337. Changes in version 0.0.2 - 2004-03-19
  14338. - Include strlcpy and strlcat for safer string ops
  14339. - define INADDR_NONE so we compile (but still not run) on solaris
  14340. Changes in version 0.0.2pre27 - 2004-03-14
  14341. o Bugfixes:
  14342. - Allow internal tor networks (we were rejecting internal IPs,
  14343. now we allow them if they're set explicitly).
  14344. - And fix a few endian issues.
  14345. Changes in version 0.0.2pre26 - 2004-03-14
  14346. o New features:
  14347. - If a stream times out after 15s without a connected cell, don't
  14348. try that circuit again: try a new one.
  14349. - Retry streams at most 4 times. Then give up.
  14350. - When a dirserver gets a descriptor from an unknown router, it
  14351. logs its fingerprint (so the dirserver operator can choose to
  14352. accept it even without mail from the server operator).
  14353. - Inform unapproved servers when we reject their descriptors.
  14354. - Make tor build on Windows again. It works as a client, who knows
  14355. about as a server.
  14356. - Clearer instructions in the torrc for how to set up a server.
  14357. - Be more efficient about reading fd's when our global token bucket
  14358. (used for rate limiting) becomes empty.
  14359. o Bugfixes:
  14360. - Stop asserting that computers always go forward in time. It's
  14361. simply not true.
  14362. - When we sent a cell (e.g. destroy) and then marked an OR connection
  14363. expired, we might close it before finishing a flush if the other
  14364. side isn't reading right then.
  14365. - Don't allow dirservers to start if they haven't defined
  14366. RecommendedVersions
  14367. - We were caching transient dns failures. Oops.
  14368. - Prevent servers from publishing an internal IP as their address.
  14369. - Address a strcat vulnerability in circuit.c
  14370. Changes in version 0.0.2pre25 - 2004-03-04
  14371. o New features:
  14372. - Put the OR's IP in its router descriptor, not its fqdn. That way
  14373. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  14374. e.g. poblano.
  14375. o Bugfixes:
  14376. - If the user typed in an address that didn't resolve, the server
  14377. crashed.
  14378. Changes in version 0.0.2pre24 - 2004-03-03
  14379. o Bugfixes:
  14380. - Fix an assertion failure in dns.c, where we were trying to dequeue
  14381. a pending dns resolve even if it wasn't pending
  14382. - Fix a spurious socks5 warning about still trying to write after the
  14383. connection is finished.
  14384. - Hold certain marked_for_close connections open until they're finished
  14385. flushing, rather than losing bytes by closing them too early.
  14386. - Correctly report the reason for ending a stream
  14387. - Remove some duplicate calls to connection_mark_for_close
  14388. - Put switch_id and start_daemon earlier in the boot sequence, so it
  14389. will actually try to chdir() to options.DataDirectory
  14390. - Make 'make test' exit(1) if a test fails; fix some unit tests
  14391. - Make tor fail when you use a config option it doesn't know about,
  14392. rather than warn and continue.
  14393. - Make --version work
  14394. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  14395. Changes in version 0.0.2pre23 - 2004-02-29
  14396. o New features:
  14397. - Print a statement when the first circ is finished, so the user
  14398. knows it's working.
  14399. - If a relay cell is unrecognized at the end of the circuit,
  14400. send back a destroy. (So attacks to mutate cells are more
  14401. clearly thwarted.)
  14402. - New config option 'excludenodes' to avoid certain nodes for circuits.
  14403. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  14404. so you can collect coredumps there.
  14405. o Bugfixes:
  14406. - Fix a bug in tls flushing where sometimes data got wedged and
  14407. didn't flush until more data got sent. Hopefully this bug was
  14408. a big factor in the random delays we were seeing.
  14409. - Make 'connected' cells include the resolved IP, so the client
  14410. dns cache actually gets populated.
  14411. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  14412. - When we time-out on a stream and detach from the circuit, send an
  14413. end cell down it first.
  14414. - Only warn about an unknown router (in exitnodes, entrynodes,
  14415. excludenodes) after we've fetched a directory.
  14416. Changes in version 0.0.2pre22 - 2004-02-26
  14417. o New features:
  14418. - Servers publish less revealing uname information in descriptors.
  14419. - More memory tracking and assertions, to crash more usefully when
  14420. errors happen.
  14421. - If the default torrc isn't there, just use some default defaults.
  14422. Plus provide an internal dirservers file if they don't have one.
  14423. - When the user tries to use Tor as an http proxy, give them an http
  14424. 501 failure explaining that we're a socks proxy.
  14425. - Dump a new router.desc on hup, to help confused people who change
  14426. their exit policies and then wonder why router.desc doesn't reflect
  14427. it.
  14428. - Clean up the generic tor.sh init script that we ship with.
  14429. o Bugfixes:
  14430. - If the exit stream is pending on the resolve, and a destroy arrives,
  14431. then the stream wasn't getting removed from the pending list. I
  14432. think this was the one causing recent server crashes.
  14433. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  14434. - When it couldn't resolve any dirservers, it was useless from then on.
  14435. Now it reloads the RouterFile (or default dirservers) if it has no
  14436. dirservers.
  14437. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  14438. many users don't even *have* a /usr/local/sbin/.
  14439. Changes in version 0.0.2pre21 - 2004-02-18
  14440. o New features:
  14441. - There's a ChangeLog file that actually reflects the changelog.
  14442. - There's a 'torify' wrapper script, with an accompanying
  14443. tor-tsocks.conf, that simplifies the process of using tsocks for
  14444. tor. It even has a man page.
  14445. - The tor binary gets installed to sbin rather than bin now.
  14446. - Retry streams where the connected cell hasn't arrived in 15 seconds
  14447. - Clean up exit policy handling -- get the default out of the torrc,
  14448. so we can update it without forcing each server operator to fix
  14449. his/her torrc.
  14450. - Allow imaps and pop3s in default exit policy
  14451. o Bugfixes:
  14452. - Prevent picking middleman nodes as the last node in the circuit
  14453. Changes in version 0.0.2pre20 - 2004-01-30
  14454. o New features:
  14455. - We now have a deb package, and it's in debian unstable. Go to
  14456. it, apt-getters. :)
  14457. - I've split the TotalBandwidth option into BandwidthRate (how many
  14458. bytes per second you want to allow, long-term) and
  14459. BandwidthBurst (how many bytes you will allow at once before the cap
  14460. kicks in). This better token bucket approach lets you, say, set
  14461. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  14462. performance while not exceeding your monthly bandwidth quota.
  14463. - Push out a tls record's worth of data once you've got it, rather
  14464. than waiting until you've read everything waiting to be read. This
  14465. may improve performance by pipelining better. We'll see.
  14466. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  14467. from failed circuits (if they haven't been connected yet) and attach
  14468. to new ones.
  14469. - Expire old streams that haven't managed to connect. Some day we'll
  14470. have them reattach to new circuits instead.
  14471. o Bugfixes:
  14472. - Fix several memory leaks that were causing servers to become bloated
  14473. after a while.
  14474. - Fix a few very rare assert triggers. A few more remain.
  14475. - Setuid to User _before_ complaining about running as root.
  14476. Changes in version 0.0.2pre19 - 2004-01-07
  14477. o Bugfixes:
  14478. - Fix deadlock condition in dns farm. We were telling a child to die by
  14479. closing the parent's file descriptor to him. But newer children were
  14480. inheriting the open file descriptor from the parent, and since they
  14481. weren't closing it, the socket never closed, so the child never read
  14482. eof, so he never knew to exit. Similarly, dns workers were holding
  14483. open other sockets, leading to all sorts of chaos.
  14484. - New cleaner daemon() code for forking and backgrounding.
  14485. - If you log to a file, it now prints an entry at the top of the
  14486. logfile so you know it's working.
  14487. - The onionskin challenge length was 30 bytes longer than necessary.
  14488. - Started to patch up the spec so it's not quite so out of date.
  14489. Changes in version 0.0.2pre18 - 2004-01-02
  14490. o Bugfixes:
  14491. - Fix endian issues with the 'integrity' field in the relay header.
  14492. - Fix a potential bug where connections in state
  14493. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  14494. Changes in version 0.0.2pre17 - 2003-12-30
  14495. o Bugfixes:
  14496. - Made --debuglogfile (or any second log file, actually) work.
  14497. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  14498. adversary could force us into an infinite loop.
  14499. o Features:
  14500. - Each onionskin handshake now includes a hash of the computed key,
  14501. to prove the server's identity and help perfect forward secrecy.
  14502. - Changed cell size from 256 to 512 bytes (working toward compatibility
  14503. with MorphMix).
  14504. - Changed cell length to 2 bytes, and moved it to the relay header.
  14505. - Implemented end-to-end integrity checking for the payloads of
  14506. relay cells.
  14507. - Separated streamid from 'recognized' (otherwise circuits will get
  14508. messed up when we try to have streams exit from the middle). We
  14509. use the integrity-checking to confirm that a cell is addressed to
  14510. this hop.
  14511. - Randomize the initial circid and streamid values, so an adversary who
  14512. breaks into a node can't learn how many circuits or streams have
  14513. been made so far.
  14514. Changes in version 0.0.2pre16 - 2003-12-14
  14515. o Bugfixes:
  14516. - Fixed a bug that made HUP trigger an assert
  14517. - Fixed a bug where a circuit that immediately failed wasn't being
  14518. counted as a failed circuit in counting retries.
  14519. o Features:
  14520. - Now we close the circuit when we get a truncated cell: otherwise we're
  14521. open to an anonymity attack where a bad node in the path truncates
  14522. the circuit and then we open streams at him.
  14523. - Add port ranges to exit policies
  14524. - Add a conservative default exit policy
  14525. - Warn if you're running tor as root
  14526. - on HUP, retry OR connections and close/rebind listeners
  14527. - options.EntryNodes: try these nodes first when picking the first node
  14528. - options.ExitNodes: if your best choices happen to include any of
  14529. your preferred exit nodes, you choose among just those preferred
  14530. exit nodes.
  14531. - options.ExcludedNodes: nodes that are never picked in path building
  14532. Changes in version 0.0.2pre15 - 2003-12-03
  14533. o Robustness and bugfixes:
  14534. - Sometimes clients would cache incorrect DNS resolves, which would
  14535. really screw things up.
  14536. - An OP that goes offline would slowly leak all its sockets and stop
  14537. working.
  14538. - A wide variety of bugfixes in exit node selection, exit policy
  14539. handling, and processing pending streams when a new circuit is
  14540. established.
  14541. - Pick nodes for a path only from those the directory says are up
  14542. - Choose randomly from all running dirservers, not always the first one
  14543. - Increase allowed http header size for directory fetch.
  14544. - Stop writing to stderr (if we're daemonized it will be closed).
  14545. - Enable -g always, so cores will be more useful to me.
  14546. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  14547. o Documentation:
  14548. - Wrote a man page. It lists commonly used options.
  14549. o Configuration:
  14550. - Change default loglevel to warn.
  14551. - Make PidFile default to null rather than littering in your CWD.
  14552. - OnionRouter config option is now obsolete. Instead it just checks
  14553. ORPort>0.
  14554. - Moved to a single unified torrc file for both clients and servers.
  14555. Changes in version 0.0.2pre14 - 2003-11-29
  14556. o Robustness and bugfixes:
  14557. - Force the admin to make the DataDirectory himself
  14558. - to get ownership/permissions right
  14559. - so clients no longer make a DataDirectory and then never use it
  14560. - fix bug where a client who was offline for 45 minutes would never
  14561. pull down a directory again
  14562. - fix (or at least hide really well) the dns assert bug that was
  14563. causing server crashes
  14564. - warnings and improved robustness wrt clockskew for certs
  14565. - use the native daemon(3) to daemonize, when available
  14566. - exit if bind() fails
  14567. - exit if neither socksport nor orport is defined
  14568. - include our own tor_timegm (Win32 doesn't have its own)
  14569. - bugfix for win32 with lots of connections
  14570. - fix minor bias in PRNG
  14571. - make dirserver more robust to corrupt cached directory
  14572. o Documentation:
  14573. - Wrote the design document (woo)
  14574. o Circuit building and exit policies:
  14575. - Circuits no longer try to use nodes that the directory has told them
  14576. are down.
  14577. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  14578. bitcounts (18.0.0.0/8).
  14579. - Make AP connections standby for a circuit if no suitable circuit
  14580. exists, rather than failing
  14581. - Circuits choose exit node based on addr/port, exit policies, and
  14582. which AP connections are standing by
  14583. - Bump min pathlen from 2 to 3
  14584. - Relay end cells have a payload to describe why the stream ended.
  14585. - If the stream failed because of exit policy, try again with a new
  14586. circuit.
  14587. - Clients have a dns cache to remember resolved addresses.
  14588. - Notice more quickly when we have no working circuits
  14589. o Configuration:
  14590. - APPort is now called SocksPort
  14591. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  14592. where to bind
  14593. - RecommendedVersions is now a config variable rather than
  14594. hardcoded (for dirservers)
  14595. - Reloads config on HUP
  14596. - Usage info on -h or --help
  14597. - If you set User and Group config vars, it'll setu/gid to them.
  14598. Changes in version 0.0.2pre13 - 2003-10-19
  14599. o General stability:
  14600. - SSL_write no longer fails when it returns WANTWRITE and the number
  14601. of bytes in the buf has changed by the next SSL_write call.
  14602. - Fix segfault fetching directory when network is down
  14603. - Fix a variety of minor memory leaks
  14604. - Dirservers reload the fingerprints file on HUP, so I don't have
  14605. to take down the network when I approve a new router
  14606. - Default server config file has explicit Address line to specify fqdn
  14607. o Buffers:
  14608. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  14609. - Make listener connections not ever alloc bufs
  14610. o Autoconf improvements:
  14611. - don't clobber an external CFLAGS in ./configure
  14612. - Make install now works
  14613. - create var/lib/tor on make install
  14614. - autocreate a tor.sh initscript to help distribs
  14615. - autocreate the torrc and sample-server-torrc with correct paths
  14616. o Log files and Daemonizing now work:
  14617. - If --DebugLogFile is specified, log to it at -l debug
  14618. - If --LogFile is specified, use it instead of commandline
  14619. - If --RunAsDaemon is set, tor forks and backgrounds on startup