ChangeLog 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141
  1. Changes in version 0.3.4.7-rc - 2018-08-24
  2. Tor 0.3.4.7-rc fixes several small compilation, portability, and
  3. correctness issues in previous versions of Tor. This version is a
  4. release candidate: if no serious bugs are found, we expect that the
  5. stable 0.3.4 release will be (almost) the same as this release.
  6. o Minor features (bug workaround):
  7. - Compile correctly on systems that provide the C11 stdatomic.h
  8. header, but where C11 atomic functions don't actually compile.
  9. Closes ticket 26779; workaround for Debian issue 903709.
  10. o Minor features (continuous integration):
  11. - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
  12. - Enable macOS builds in our Travis CI configuration. Closes
  13. ticket 24629.
  14. - Install libcap-dev and libseccomp2-dev so these optional
  15. dependencies get tested on Travis CI. Closes ticket 26560.
  16. - Only post Appveyor IRC notifications when the build fails.
  17. Implements ticket 27275.
  18. - Run asciidoc during Travis CI. Implements ticket 27087.
  19. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  20. o Minor features (continuous integration, rust):
  21. - Use cargo cache in our Travis CI configuration. Closes
  22. ticket 26952.
  23. o Minor features (directory authorities):
  24. - Authorities no longer vote to make the subprotocol version
  25. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  26. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  27. o Minor features (geoip):
  28. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  29. Country database. Closes ticket 27089.
  30. o Minor bugfixes (compilation, windows):
  31. - Don't link or search for pthreads when building for Windows, even
  32. if we are using build environment (like mingw) that provides a
  33. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  34. o Minor bugfixes (continuous integration):
  35. - Improve Appveyor CI IRC logging. Generate correct branches and
  36. URLs for pull requests and tags. Use unambiguous short commits.
  37. Fixes bug 26979; bugfix on master.
  38. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  39. - Pass the module flags to distcheck configure, and log the flags
  40. before running configure. (Backported to 0.2.9 and later as a
  41. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  42. o Minor bugfixes (in-process restart):
  43. - Always call tor_free_all() when leaving tor_run_main(). When we
  44. did not, restarting tor in-process would cause an assertion
  45. failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
  46. o Minor bugfixes (linux seccomp2 sandbox):
  47. - Fix a bug in out sandboxing rules for the openat() syscall.
  48. Previously, no openat() call would be permitted, which would break
  49. filesystem operations on recent glibc versions. Fixes bug 25440;
  50. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  51. o Minor bugfixes (onion services):
  52. - Fix bug that causes services to not ever rotate their descriptors
  53. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  54. on 0.3.2.1-alpha.
  55. o Minor bugfixes (portability):
  56. - Fix compilation of the unit tests on GNU/Hurd, which does not
  57. define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
  58. from "paulusASol".
  59. o Minor bugfixes (rust):
  60. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  61. on 0.3.1.5-alpha.
  62. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  63. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  64. - Protover parsing was accepting the presence of whitespace in
  65. version strings, which the C implementation would choke on, e.g.
  66. "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
  67. - Protover parsing was ignoring a 2nd hyphen and everything after
  68. it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
  69. on 0.3.3.1-alpha.
  70. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  71. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  72. - cd to ${abs_top_builddir}/src/rust before running cargo in
  73. src/test/test_rust.sh. This makes the working directory consistent
  74. between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
  75. o Minor bugfixes (testing, bootstrap):
  76. - When calculating bootstrap progress, check exit policies and the
  77. exit flag. Previously, Tor would only check the exit flag, which
  78. caused race conditions in small and fast networks like chutney.
  79. Fixes bug 27236; bugfix on 0.2.6.3-alpha.
  80. o Minor bugfixes (testing, openssl compatibility):
  81. - Our "tortls/cert_matches_key" unit test no longer relies on
  82. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  83. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  84. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  85. o Minor bugfixes (Windows, compilation):
  86. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  87. 27185; bugfix on 0.2.2.2-alpha.
  88. Changes in version 0.3.4.6-rc - 2018-08-06
  89. Tor 0.3.4.6-rc fixes several small compilation, portability, and
  90. correctness issues in previous versions of Tor. This version is a
  91. release candidate: if no serious bugs are found, we expect that the
  92. stable 0.3.4 release will be (almost) the same as this release.
  93. o Major bugfixes (event scheduler):
  94. - When we enable a periodic event, schedule it in the event loop
  95. rather than running it immediately. Previously, we would re-run
  96. periodic events immediately in the middle of (for example)
  97. changing our options, with unpredictable effects. Fixes bug 27003;
  98. bugfix on 0.3.4.1-alpha.
  99. o Minor features (compilation):
  100. - When building Tor, prefer to use Python 3 over Python 2, and more
  101. recent (contemplated) versions over older ones. Closes
  102. ticket 26372.
  103. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  104. tell the compiler not to include the system malloc implementation.
  105. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  106. - Don't try to use a pragma to temporarily disable the
  107. -Wunused-const-variable warning if the compiler doesn't support
  108. it. Fixes bug 26785; bugfix on 0.3.2.11.
  109. o Minor bugfixes (continuous integration):
  110. - Skip a pair of unreliable key generation tests on Windows, until
  111. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  112. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  113. o Minor features (controller):
  114. - The control port now exposes the list of HTTPTunnelPorts and
  115. ExtOrPorts via GETINFO net/listeners/httptunnel and
  116. net/listeners/extor respectively. Closes ticket 26647.
  117. o Minor bugfixes (directory authority):
  118. - When voting for recommended versions, make sure that all of the
  119. versions are well-formed and parsable. Fixes bug 26485; bugfix
  120. on 0.1.1.6-alpha.
  121. o Minor features (geoip):
  122. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  123. Country database. Closes ticket 26674.
  124. o Minor features (Rust, portability):
  125. - Rust cross-compilation is now supported. Closes ticket 25895.
  126. o Minor bugfixes (compilation):
  127. - Update build system so that tor builds again with --disable-unittests
  128. after recent refactoring. Fixes bug 26789; bugfix on 0.3.4.3-alpha.
  129. - Fix a compilation warning on some versions of GCC when building
  130. code that calls routerinfo_get_my_routerinfo() twice, assuming
  131. that the second call will succeed if the first one did. Fixes bug
  132. 26269; bugfix on 0.2.8.2-alpha.
  133. o Minor bugfixes (controller):
  134. - Report the port correctly when a port is configured to bind to
  135. "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
  136. - Parse the "HSADDRESS=" parameter in HSPOST commands properly.
  137. Previously, it was misparsed and ignored. Fixes bug 26523; bugfix
  138. on 0.3.3.1-alpha. Patch by "akwizgran".
  139. o Minor bugfixes (correctness, flow control):
  140. - Upon receiving a stream-level SENDME cell, verify that our window
  141. has not grown too large. Fixes bug 26214; bugfix on svn
  142. r54 (pre-0.0.1)
  143. o Minor bugfixes (memory, correctness):
  144. - Fix a number of small memory leaks identified by coverity. Fixes
  145. bug 26467; bugfix on numerous Tor versions.
  146. o Minor bugfixes (logging):
  147. - Improve the log message when connection initiators fail to
  148. authenticate direct connections to relays. Fixes bug 26927; bugfix
  149. on 0.3.0.1-alpha.
  150. o Minor bugfixes (portability):
  151. - Avoid a compilation error in test_bwmgt.c on Solaris 10. Fixes bug
  152. 26994; bugfix on 0.3.4.1-alpha.
  153. - Work around two different bugs in the OS X 10.10 and later SDKs
  154. that would prevent us from successfully targeting earlier versions
  155. of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
  156. o Minor bugfixes (single onion services, Tor2web):
  157. - Log a protocol warning when single onion services or Tor2web
  158. clients fail to authenticate direct connections to relays. Fixes
  159. bug 26924; bugfix on 0.2.9.1-alpha.
  160. o Minor bugfixes (testing):
  161. - Disable core dumps in test_bt.sh, to avoid failures in "make
  162. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  163. o Minor bugfixes (testing, compatibility):
  164. - When running the ntor_ref.py and hs_ntor_ref.py tests, make sure
  165. only to pass strings (rather than "bytes" objects) to the Python
  166. subprocess module. Python 3 on Windows seems to require this.
  167. Fixes bug 26535; bugfix on 0.2.5.5-alpha (for ntor_ref.py) and
  168. 0.3.1.1-alpha (for hs_ntor_ref.py).
  169. o Minor bugfixes (v3 onion services):
  170. - Stop sending ed25519 link specifiers in v3 onion service introduce
  171. cells and descriptors, when the rendezvous or introduction point
  172. doesn't support ed25519 link authentication. Fixes bug 26627;
  173. bugfix on 0.3.2.4-alpha.
  174. Changes in version 0.3.4.5-rc - 2018-07-13
  175. Tor 0.3.4.5-rc moves to a new bridge authority, meaning people running
  176. bridge relays should upgrade.
  177. o Directory authority changes:
  178. - The "Bifroest" bridge authority has been retired; the new bridge
  179. authority is "Serge", and it is operated by George from the
  180. TorBSD project. Closes ticket 26771.
  181. Changes in version 0.3.3.9 - 2018-07-13
  182. Tor 0.3.3.9 moves to a new bridge authority, meaning people running
  183. bridge relays should upgrade.
  184. o Directory authority changes:
  185. - The "Bifroest" bridge authority has been retired; the new bridge
  186. authority is "Serge", and it is operated by George from the
  187. TorBSD project. Closes ticket 26771.
  188. Changes in version 0.3.2.11 - 2018-07-13
  189. Tor 0.3.2.11 moves to a new bridge authority, meaning people running
  190. bridge relays should upgrade. We also take this opportunity to backport
  191. other minor fixes.
  192. o Directory authority changes:
  193. - The "Bifroest" bridge authority has been retired; the new bridge
  194. authority is "Serge", and it is operated by George from the
  195. TorBSD project. Closes ticket 26771.
  196. o Directory authority changes (backport from 0.3.3.7):
  197. - Add an IPv6 address for the "dannenberg" directory authority.
  198. Closes ticket 26343.
  199. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  200. - When directory authorities read a zero-byte bandwidth file, they
  201. would previously log a warning with the contents of an
  202. uninitialised buffer. They now log a warning about the empty file
  203. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  204. o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
  205. - Correctly detect when onion services get disabled after HUP. Fixes
  206. bug 25761; bugfix on 0.3.2.1.
  207. o Minor features (sandbox, backport from 0.3.3.4-alpha):
  208. - Explicitly permit the poll() system call when the Linux
  209. seccomp2-based sandbox is enabled: apparently, some versions of
  210. libc use poll() when calling getpwnam(). Closes ticket 25313.
  211. o Minor feature (continuous integration, backport from 0.3.3.5-rc):
  212. - Update the Travis CI configuration to use the stable Rust channel,
  213. now that we have decided to require that. Closes ticket 25714.
  214. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  215. - Our .travis.yml configuration now includes support for testing the
  216. results of "make distcheck". (It's not uncommon for "make check"
  217. to pass but "make distcheck" to fail.) Closes ticket 25814.
  218. - Our Travis CI configuration now integrates with the Coveralls
  219. coverage analysis tool. Closes ticket 25818.
  220. o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
  221. - Add several checks to detect whether Tor relays are uploading
  222. their descriptors without specifying why they regenerated them.
  223. Diagnostic for ticket 25686.
  224. o Minor features (compilation, backport from 0.3.4.4-rc):
  225. - When building Tor, prefer to use Python 3 over Python 2, and more
  226. recent (contemplated) versions over older ones. Closes
  227. ticket 26372.
  228. o Minor features (geoip):
  229. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  230. Country database. Closes ticket 26674.
  231. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  232. - Upon receiving a malformed connected cell, stop processing the
  233. cell immediately. Previously we would mark the connection for
  234. close, but continue processing the cell as if the connection were
  235. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  236. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  237. - Allow the nanosleep() system call, which glibc uses to implement
  238. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  239. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  240. - When running the hs_ntor_ref.py test, make sure only to pass
  241. strings (rather than "bytes" objects) to the Python subprocess
  242. module. Python 3 on Windows seems to require this. Fixes bug
  243. 26535; bugfix on 0.3.1.1-alpha.
  244. - When running the ntor_ref.py test, make sure only to pass strings
  245. (rather than "bytes" objects) to the Python subprocess module.
  246. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  247. on 0.2.5.5-alpha.
  248. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  249. - Work around a change in OpenSSL 1.1.1 where return values that
  250. would previously indicate "no password" now indicate an empty
  251. password. Without this workaround, Tor instances running with
  252. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  253. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  254. o Minor bugfixes (documentation, backport from 0.3.3.5-rc):
  255. - Document that the PerConnBW{Rate,Burst} options will fall back to
  256. their corresponding consensus parameters only if those parameters
  257. are set. Previously we had claimed that these values would always
  258. be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
  259. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  260. - Fix a compilation warning on some versions of GCC when building
  261. code that calls routerinfo_get_my_routerinfo() twice, assuming
  262. that the second call will succeed if the first one did. Fixes bug
  263. 26269; bugfix on 0.2.8.2-alpha.
  264. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  265. - Don't consider Tor running as a client if the ControlPort is open,
  266. but no actual client ports are open. Fixes bug 26062; bugfix
  267. on 0.2.9.4-alpha.
  268. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  269. - Prevent a possible out-of-bounds smartlist read in
  270. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  271. o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
  272. - Fix a very unlikely (impossible, we believe) null pointer
  273. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  274. Coverity; this is CID 1430932.
  275. o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
  276. - Fix a memory leak when a v3 onion service is configured and gets a
  277. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  278. - When parsing the descriptor signature, look for the token plus an
  279. extra white-space at the end. This is more correct but also will
  280. allow us to support new fields that might start with "signature".
  281. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  282. o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
  283. - Relays now correctly block attempts to re-extend to the previous
  284. relay by Ed25519 identity. Previously they would warn in this
  285. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  286. on 0.3.0.1-alpha.
  287. o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
  288. - Avoid a crash when running with DirPort set but ORPort turned off.
  289. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  290. o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
  291. - Silence unused-const-variable warnings in zstd.h with some GCC
  292. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  293. o Minor bugfixes (testing, backport from 0.3.3.4-alpha):
  294. - Avoid intermittent test failures due to a test that had relied on
  295. onion service introduction point creation finishing within 5
  296. seconds of real clock time. Fixes bug 25450; bugfix
  297. on 0.3.1.3-alpha.
  298. o Minor bugfixes (compilation, backport from 0.3.3.4-alpha):
  299. - Fix a C99 compliance issue in our configuration script that caused
  300. compilation issues when compiling Tor with certain versions of
  301. xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
  302. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  303. - Fix a number of small memory leaks identified by coverity. Fixes
  304. bug 26467; bugfix on numerous Tor versions.
  305. o Code simplification and refactoring (backport from 0.3.3.5-rc):
  306. - Move the list of default directory authorities to its own file.
  307. Closes ticket 24854. Patch by "beastr0".
  308. Changes in version 0.2.9.16 - 2018-07-13
  309. Tor 0.2.9.16 moves to a new bridge authority, meaning people running
  310. bridge relays should upgrade. We also take this opportunity to backport
  311. other minor fixes.
  312. o Directory authority changes:
  313. - The "Bifroest" bridge authority has been retired; the new bridge
  314. authority is "Serge", and it is operated by George from the
  315. TorBSD project. Closes ticket 26771.
  316. o Directory authority changes (backport from 0.3.3.7):
  317. - Add an IPv6 address for the "dannenberg" directory authority.
  318. Closes ticket 26343.
  319. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  320. - When directory authorities read a zero-byte bandwidth file, they
  321. would previously log a warning with the contents of an
  322. uninitialised buffer. They now log a warning about the empty file
  323. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  324. o Minor features (sandbox, backport from 0.3.3.4-alpha):
  325. - Explicitly permit the poll() system call when the Linux
  326. seccomp2-based sandbox is enabled: apparently, some versions of
  327. libc use poll() when calling getpwnam(). Closes ticket 25313.
  328. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  329. - Our .travis.yml configuration now includes support for testing the
  330. results of "make distcheck". (It's not uncommon for "make check"
  331. to pass but "make distcheck" to fail.) Closes ticket 25814.
  332. - Our Travis CI configuration now integrates with the Coveralls
  333. coverage analysis tool. Closes ticket 25818.
  334. o Minor features (compilation, backport from 0.3.4.4-rc):
  335. - When building Tor, prefer to use Python 3 over Python 2, and more
  336. recent (contemplated) versions over older ones. Closes
  337. ticket 26372.
  338. o Minor features (geoip):
  339. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  340. Country database. Closes ticket 26674.
  341. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  342. - Upon receiving a malformed connected cell, stop processing the
  343. cell immediately. Previously we would mark the connection for
  344. close, but continue processing the cell as if the connection were
  345. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  346. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  347. - Allow the nanosleep() system call, which glibc uses to implement
  348. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  349. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  350. - When running the ntor_ref.py test, make sure only to pass strings
  351. (rather than "bytes" objects) to the Python subprocess module.
  352. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  353. on 0.2.5.5-alpha.
  354. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  355. - Work around a change in OpenSSL 1.1.1 where return values that
  356. would previously indicate "no password" now indicate an empty
  357. password. Without this workaround, Tor instances running with
  358. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  359. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  360. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  361. - Fix a compilation warning on some versions of GCC when building
  362. code that calls routerinfo_get_my_routerinfo() twice, assuming
  363. that the second call will succeed if the first one did. Fixes bug
  364. 26269; bugfix on 0.2.8.2-alpha.
  365. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  366. - Don't consider Tor running as a client if the ControlPort is open,
  367. but no actual client ports are open. Fixes bug 26062; bugfix
  368. on 0.2.9.4-alpha.
  369. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  370. - Prevent a possible out-of-bounds smartlist read in
  371. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  372. o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
  373. - Fix a very unlikely (impossible, we believe) null pointer
  374. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  375. Coverity; this is CID 1430932.
  376. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  377. - Fix a number of small memory leaks identified by coverity. Fixes
  378. bug 26467; bugfix on numerous Tor versions.
  379. o Code simplification and refactoring (backport from 0.3.3.5-rc):
  380. - Move the list of default directory authorities to its own file.
  381. Closes ticket 24854. Patch by "beastr0".
  382. Changes in version 0.3.4.4-rc - 2018-07-09
  383. Tor 0.3.4.4-rc fixes several small compilation, portability, and
  384. correctness issues in previous versions of Tor. This version is a
  385. release candidate: if no serious bugs are found, we expect that the
  386. stable 0.3.4 release will be (almost) the same as this release.
  387. o Minor features (compilation):
  388. - When building Tor, prefer to use Python 3 over Python 2, and more
  389. recent (contemplated) versions over older ones. Closes
  390. ticket 26372.
  391. o Minor features (geoip):
  392. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  393. Country database. Closes ticket 26674.
  394. o Minor features (Rust, portability):
  395. - Rust cross-compilation is now supported. Closes ticket 25895.
  396. o Minor bugfixes (compilation):
  397. - Fix a compilation warning on some versions of GCC when building
  398. code that calls routerinfo_get_my_routerinfo() twice, assuming
  399. that the second call will succeed if the first one did. Fixes bug
  400. 26269; bugfix on 0.2.8.2-alpha.
  401. o Minor bugfixes (control port):
  402. - Report the port correctly when a port is configured to bind to
  403. "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
  404. - Handle the HSADDRESS= argument to the HSPOST command properly.
  405. (Previously, this argument was misparsed and thus ignored.) Fixes
  406. bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
  407. o Minor bugfixes (correctness, flow control):
  408. - Upon receiving a stream-level SENDME cell, verify that our window
  409. has not grown too large. Fixes bug 26214; bugfix on svn
  410. r54 (pre-0.0.1).
  411. o Minor bugfixes (memory, correctness):
  412. - Fix a number of small memory leaks identified by coverity. Fixes
  413. bug 26467; bugfix on numerous Tor versions.
  414. o Minor bugfixes (testing, compatibility):
  415. - When running the hs_ntor_ref.py test, make sure only to pass
  416. strings (rather than "bytes" objects) to the Python subprocess
  417. module. Python 3 on Windows seems to require this. Fixes bug
  418. 26535; bugfix on 0.3.1.1-alpha.
  419. - When running the ntor_ref.py test, make sure only to pass strings
  420. (rather than "bytes" objects) to the Python subprocess module.
  421. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  422. on 0.2.5.5-alpha.
  423. Changes in version 0.3.3.8 - 2018-07-09
  424. Tor 0.3.3.8 backports several changes from the 0.3.4.x series, including
  425. fixes for a memory leak affecting directory authorities.
  426. o Major bugfixes (directory authority, backport from 0.3.4.3-alpha):
  427. - Stop leaking memory on directory authorities when planning to
  428. vote. This bug was crashing authorities by exhausting their
  429. memory. Fixes bug 26435; bugfix on 0.3.3.6.
  430. o Major bugfixes (rust, testing, backport from 0.3.4.3-alpha):
  431. - Make sure that failing tests in Rust will actually cause the build
  432. to fail: previously, they were ignored. Fixes bug 26258; bugfix
  433. on 0.3.3.4-alpha.
  434. o Minor features (compilation, backport from 0.3.4.4-rc):
  435. - When building Tor, prefer to use Python 3 over Python 2, and more
  436. recent (contemplated) versions over older ones. Closes
  437. ticket 26372.
  438. o Minor features (geoip):
  439. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  440. Country database. Closes ticket 26674.
  441. o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
  442. - Add several checks to detect whether Tor relays are uploading
  443. their descriptors without specifying why they regenerated them.
  444. Diagnostic for ticket 25686.
  445. o Minor bugfixes (circuit path selection, backport from 0.3.4.1-alpha):
  446. - Don't count path selection failures as circuit build failures.
  447. This change should eliminate cases where Tor blames its guard or
  448. the network for situations like insufficient microdescriptors
  449. and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
  450. on 0.3.3.1-alpha.
  451. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  452. - Fix a compilation warning on some versions of GCC when building
  453. code that calls routerinfo_get_my_routerinfo() twice, assuming
  454. that the second call will succeed if the first one did. Fixes bug
  455. 26269; bugfix on 0.2.8.2-alpha.
  456. o Minor bugfixes (control port, backport from 0.3.4.4-rc):
  457. - Handle the HSADDRESS= argument to the HSPOST command properly.
  458. (Previously, this argument was misparsed and thus ignored.) Fixes
  459. bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
  460. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  461. - Fix a number of small memory leaks identified by coverity. Fixes
  462. bug 26467; bugfix on numerous Tor versions.
  463. o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
  464. - Relays now correctly block attempts to re-extend to the previous
  465. relay by Ed25519 identity. Previously they would warn in this
  466. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  467. on 0.3.0.1-alpha.
  468. o Minor bugfixes (restart-in-process, backport from 0.3.4.1-alpha):
  469. - When shutting down, Tor now clears all the flags in the control.c
  470. module. This should prevent a bug where authentication cookies are
  471. not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
  472. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  473. - When running the hs_ntor_ref.py test, make sure only to pass
  474. strings (rather than "bytes" objects) to the Python subprocess
  475. module. Python 3 on Windows seems to require this. Fixes bug
  476. 26535; bugfix on 0.3.1.1-alpha.
  477. - When running the ntor_ref.py test, make sure only to pass strings
  478. (rather than "bytes" objects) to the Python subprocess module.
  479. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  480. on 0.2.5.5-alpha.
  481. Changes in version 0.3.4.3-alpha - 2018-06-26
  482. Tor 0.3.4.3-alpha fixes several bugs in earlier versions, including
  483. one that was causing stability issues on directory authorities.
  484. o Major bugfixes (directory authority):
  485. - Stop leaking memory on directory authorities when planning to
  486. vote. This bug was crashing authorities by exhausting their
  487. memory. Fixes bug 26435; bugfix on 0.3.3.6.
  488. o Major bugfixes (rust, testing):
  489. - Make sure that failing tests in Rust will actually cause the build
  490. to fail: previously, they were ignored. Fixes bug 26258; bugfix
  491. on 0.3.3.4-alpha.
  492. o Minor feature (directory authorities):
  493. - Stop warning about incomplete bw lines before the first complete
  494. bw line has been found, so that additional header lines can be
  495. ignored. Fixes bug 25960; bugfix on 0.2.2.1-alpha
  496. o Minor features (relay, diagnostic):
  497. - Add several checks to detect whether Tor relays are uploading
  498. their descriptors without specifying why they regenerated them.
  499. Diagnostic for ticket 25686.
  500. o Minor features (unit tests):
  501. - Test complete bandwidth measurements files, and test that
  502. incomplete bandwidth lines only give warnings when the end of the
  503. header has not been detected. Fixes bug 25947; bugfix
  504. on 0.2.2.1-alpha
  505. o Minor bugfixes (compilation):
  506. - Refrain from compiling unit testing related object files when
  507. --disable-unittests is set to configure script. Fixes bug 24891;
  508. bugfix on 0.2.5.1-alpha.
  509. - When linking the libtor_testing.a library, only include the
  510. dirauth object files once. Previously, they were getting added
  511. twice. Fixes bug 26402; bugfix on 0.3.4.1-alpha.
  512. - The --enable-fatal-warnings flag now affects Rust code as well.
  513. Closes ticket 26245.
  514. o Minor bugfixes (onion services):
  515. - Recompute some consensus information after detecting a clock jump,
  516. or after transitioning from a non-live consensus to a live
  517. consensus. We do this to avoid having an outdated state, and
  518. miscalculating the index for next-generation onion services. Fixes
  519. bug 24977; bugfix on 0.3.2.1-alpha.
  520. o Minor bugfixes (relay):
  521. - Relays now correctly block attempts to re-extend to the previous
  522. relay by Ed25519 identity. Previously they would warn in this
  523. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  524. on 0.3.0.1-alpha.
  525. o Minor bugfixes (testing):
  526. - Fix compilation of the doctests in the Rust crypto crate. Fixes
  527. bug 26415; bugfix on 0.3.4.1-alpha.
  528. - Instead of trying to read the geoip configuration files from
  529. within the unit tests, instead create our own ersatz files with
  530. just enough geoip data in the format we expect. Trying to read
  531. from the source directory created problems on Windows with mingw,
  532. where the build system's paths are not the same as the platform's
  533. paths. Fixes bug 25787; bugfix on 0.3.4.1-alpha.
  534. - Refrain from trying to get an item from an empty smartlist in
  535. test_bridges_clear_bridge_list. Set DEBUG_SMARTLIST in unit tests
  536. to catch improper smartlist usage. Furthermore, enable
  537. DEBUG_SMARTLIST globally when build is configured with fragile
  538. hardening. Fixes bug 26196; bugfix on 0.3.4.1-alpha.
  539. Changes in version 0.3.3.7 - 2018-06-12
  540. Tor 0.3.3.7 backports several changes from the 0.3.4.x series, including
  541. fixes for bugs affecting compatibility and stability.
  542. o Directory authority changes:
  543. - Add an IPv6 address for the "dannenberg" directory authority.
  544. Closes ticket 26343.
  545. o Minor features (geoip):
  546. - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
  547. Country database. Closes ticket 26351.
  548. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  549. - Work around a change in OpenSSL 1.1.1 where return values that
  550. would previously indicate "no password" now indicate an empty
  551. password. Without this workaround, Tor instances running with
  552. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  553. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  554. o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
  555. - Silence unused-const-variable warnings in zstd.h with some GCC
  556. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  557. o Minor bugfixes (controller, backport from 0.3.4.2-alpha):
  558. - Improve accuracy of the BUILDTIMEOUT_SET control port event's
  559. TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
  560. miscounting the total number of circuits for these field values.)
  561. Fixes bug 26121; bugfix on 0.3.3.1-alpha.
  562. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  563. - Prevent a possible out-of-bounds smartlist read in
  564. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  565. o Minor bugfixes (path selection, backport from 0.3.4.1-alpha):
  566. - Only select relays when they have the descriptors we prefer to use
  567. for them. This change fixes a bug where we could select a relay
  568. because it had _some_ descriptor, but reject it later with a
  569. nonfatal assertion error because it didn't have the exact one we
  570. wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
  571. Changes in version 0.3.4.2-alpha - 2018-06-12
  572. Tor 0.3.4.2-alpha fixes several minor bugs in the previous alpha
  573. release, and forward-ports an authority-only security fix from 0.3.3.6.
  574. o Directory authority changes:
  575. - Add an IPv6 address for the "dannenberg" directory authority.
  576. Closes ticket 26343.
  577. o Major bugfixes (security, directory authority, denial-of-service, also in 0.3.3.6):
  578. - Fix a bug that could have allowed an attacker to force a directory
  579. authority to use up all its RAM by passing it a maliciously
  580. crafted protocol versions string. Fixes bug 25517; bugfix on
  581. 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
  582. o Minor features (continuous integration):
  583. - Add the necessary configuration files for continuous integration
  584. testing on Windows, via the Appveyor platform. Closes ticket
  585. 25549. Patches from Marcin Cieślak and Isis Lovecruft.
  586. o Minor features (geoip):
  587. - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
  588. Country database. Closes ticket 26351.
  589. o Minor bugfixes (compatibility, openssl):
  590. - Work around a change in OpenSSL 1.1.1 where return values that
  591. would previously indicate "no password" now indicate an empty
  592. password. Without this workaround, Tor instances running with
  593. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  594. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  595. o Minor bugfixes (compilation):
  596. - Silence unused-const-variable warnings in zstd.h with some GCC
  597. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  598. - Fix compilation when using OpenSSL 1.1.0 with the "no-deprecated"
  599. flag enabled. Fixes bug 26156; bugfix on 0.3.4.1-alpha.
  600. - Avoid a compiler warning when casting the return value of
  601. smartlist_len() to double with DEBUG_SMARTLIST enabled. Fixes bug
  602. 26283; bugfix on 0.2.4.10-alpha.
  603. o Minor bugfixes (control port):
  604. - Do not count 0-length RELAY_COMMAND_DATA cells as valid data in
  605. CIRC_BW events. Previously, such cells were counted entirely in
  606. the OVERHEAD field. Now they are not. Fixes bug 26259; bugfix
  607. on 0.3.4.1-alpha.
  608. o Minor bugfixes (controller):
  609. - Improve accuracy of the BUILDTIMEOUT_SET control port event's
  610. TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
  611. miscounting the total number of circuits for these field values.)
  612. Fixes bug 26121; bugfix on 0.3.3.1-alpha.
  613. o Minor bugfixes (hardening):
  614. - Prevent a possible out-of-bounds smartlist read in
  615. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  616. o Minor bugfixes (onion services):
  617. - Fix a bug that blocked the creation of ephemeral v3 onion
  618. services. Fixes bug 25939; bugfix on 0.3.4.1-alpha.
  619. o Minor bugfixes (test coverage tools):
  620. - Update our "cov-diff" script to handle output from the latest
  621. version of gcov, and to remove extraneous timestamp information
  622. from its output. Fixes bugs 26101 and 26102; bugfix
  623. on 0.2.5.1-alpha.
  624. Changes in version 0.3.3.6 - 2018-05-22
  625. Tor 0.3.3.6 is the first stable release in the 0.3.3 series. It
  626. backports several important fixes from the 0.3.4.1-alpha.
  627. The Tor 0.3.3 series includes controller support and other
  628. improvements for v3 onion services, official support for embedding Tor
  629. within other applications, and our first non-trivial module written in
  630. the Rust programming language. (Rust is still not enabled by default
  631. when building Tor.) And as usual, there are numerous other smaller
  632. bugfixes, features, and improvements.
  633. Below are the changes since 0.3.3.5-rc. For a list of all changes
  634. since 0.3.2.10, see the ReleaseNotes file.
  635. o Major bugfixes (directory authorities, security, backport from 0.3.4.1-alpha):
  636. - When directory authorities read a zero-byte bandwidth file, they
  637. would previously log a warning with the contents of an
  638. uninitialised buffer. They now log a warning about the empty file
  639. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  640. o Major bugfixes (security, directory authority, denial-of-service):
  641. - Fix a bug that could have allowed an attacker to force a directory
  642. authority to use up all its RAM by passing it a maliciously
  643. crafted protocol versions string. Fixes bug 25517; bugfix on
  644. 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
  645. o Major bugfixes (crash, backport from 0.3.4.1-alpha):
  646. - Avoid a rare assertion failure in the circuit build timeout code
  647. if we fail to allow any circuits to actually complete. Fixes bug
  648. 25733; bugfix on 0.2.2.2-alpha.
  649. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  650. - Avoid a crash when testing router reachability on a router that
  651. could have an ed25519 ID, but which does not. Fixes bug 25415;
  652. bugfix on 0.3.3.2-alpha.
  653. o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
  654. - Correctly detect when onion services get disabled after HUP. Fixes
  655. bug 25761; bugfix on 0.3.2.1.
  656. o Major bugfixes (relay, denial of service, backport from 0.3.4.1-alpha):
  657. - Impose a limit on circuit cell queue size. The limit can be
  658. controlled by a consensus parameter. Fixes bug 25226; bugfix
  659. on 0.2.4.14-alpha.
  660. o Minor features (compatibility, backport from 0.3.4.1-alpha):
  661. - Avoid some compilation warnings with recent versions of LibreSSL.
  662. Closes ticket 26006.
  663. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  664. - Our .travis.yml configuration now includes support for testing the
  665. results of "make distcheck". (It's not uncommon for "make check"
  666. to pass but "make distcheck" to fail.) Closes ticket 25814.
  667. - Our Travis CI configuration now integrates with the Coveralls
  668. coverage analysis tool. Closes ticket 25818.
  669. o Minor features (geoip):
  670. - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
  671. database. Closes ticket 26104.
  672. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  673. - Don't consider Tor running as a client if the ControlPort is open,
  674. but no actual client ports are open. Fixes bug 26062; bugfix
  675. on 0.2.9.4-alpha.
  676. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  677. - Upon receiving a malformed connected cell, stop processing the
  678. cell immediately. Previously we would mark the connection for
  679. close, but continue processing the cell as if the connection were
  680. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  681. o Minor bugfixes (documentation, backport from 0.3.4.1-alpha):
  682. - Stop saying in the manual that clients cache ipv4 dns answers from
  683. exit relays. We haven't used them since 0.2.6.3-alpha, and in
  684. ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
  685. we forgot to say so in the man page. Fixes bug 26052; bugfix
  686. on 0.3.2.6-alpha.
  687. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  688. - Allow the nanosleep() system call, which glibc uses to implement
  689. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  690. o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
  691. - Fix a memory leak when a v3 onion service is configured and gets a
  692. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  693. - When parsing the descriptor signature, look for the token plus an
  694. extra white-space at the end. This is more correct but also will
  695. allow us to support new fields that might start with "signature".
  696. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  697. o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
  698. - Avoid a crash when running with DirPort set but ORPort turned off.
  699. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  700. o Documentation (backport from 0.3.4.1-alpha):
  701. - Correct an IPv6 error in the documentation for ExitPolicy. Closes
  702. ticket 25857. Patch from "CTassisF".
  703. Changes in version 0.3.4.1-alpha - 2018-05-17
  704. Tor 0.3.4.1-alpha is the first release in the 0.3.4.x series. It
  705. includes refactoring to begin reducing Tor's binary size and idle CPU
  706. usage on mobile, along with prep work for new bandwidth scanners,
  707. improvements to the experimental "vanguards" feature, and numerous
  708. other small features and bugfixes.
  709. o New system requirements:
  710. - Tor no longer tries to support old operating systems without
  711. mmap() or some local equivalent. Apparently, compilation on such
  712. systems has been broken for some time, without anybody noticing or
  713. complaining. Closes ticket 25398.
  714. o Major feature (directory authority, modularization):
  715. - The directory authority subsystem has been modularized. The code
  716. is now located in src/or/dirauth/, and is compiled in by default.
  717. To disable the module, the configure option
  718. --disable-module-dirauth has been added. This module may be
  719. disabled by default in some future release. Closes ticket 25610.
  720. o Major features (main loop, CPU usage):
  721. - When Tor is disabled (via DisableNetwork or via hibernation), it
  722. no longer needs to run any per-second events. This change should
  723. make it easier for mobile applications to disable Tor while the
  724. device is sleeping, or Tor is not running. Closes ticket 26063.
  725. - Tor no longer enables all of its periodic events by default.
  726. Previously, Tor would enable all possible main loop events,
  727. regardless of whether it needed them. Furthermore, many of these
  728. events are now disabled with Tor is hibernating or DisableNetwork
  729. is set. This is a big step towards reducing client CPU usage by
  730. reducing the amount of wake-ups the daemon does. Closes ticket
  731. 25376 and 25762.
  732. - The bandwidth-limitation logic has been refactored so that
  733. bandwidth calculations are performed on-demand, rather than every
  734. TokenBucketRefillInterval milliseconds. This change should improve
  735. the granularity of our bandwidth calculations, and limit the
  736. number of times that the Tor process needs to wake up when it is
  737. idle. Closes ticket 25373.
  738. - Move responsibility for many operations from a once-per-second
  739. callback to a callback that is only scheduled as needed. Moving
  740. this functionality has allowed us to disable the callback when
  741. Tor's network is disabled. Once enough items are removed from our
  742. once-per-second callback, we can eliminate it entirely to conserve
  743. CPU when idle. The functionality removed includes: closing
  744. connections, circuits, and channels (ticket 25932); consensus
  745. voting (25937); flushing log callbacks (25951); honoring delayed
  746. SIGNEWNYM requests (25949); rescanning the consensus cache
  747. (25931); saving the state file to disk (25948); warning relay
  748. operators about unreachable ports (25952); and keeping track of
  749. Tor's uptime (26009).
  750. o Major bugfixes (directory authorities, security):
  751. - When directory authorities read a zero-byte bandwidth file, they
  752. would previously log a warning with the contents of an
  753. uninitialised buffer. They now log a warning about the empty file
  754. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  755. o Major bugfixes (crash):
  756. - Avoid a rare assertion failure in the circuit build timeout code
  757. if we fail to allow any circuits to actually complete. Fixes bug
  758. 25733; bugfix on 0.2.2.2-alpha.
  759. o Major bugfixes (directory authority):
  760. - Avoid a crash when testing router reachability on a router that
  761. could have an ed25519 ID, but which does not. Fixes bug 25415;
  762. bugfix on 0.3.3.2-alpha.
  763. o Major bugfixes (onion service):
  764. - Correctly detect when onion services get disabled after HUP. Fixes
  765. bug 25761; bugfix on 0.3.2.1.
  766. o Major bugfixes (protover, voting):
  767. - Revise Rust implementation of protover to use a more memory-
  768. efficient voting algorithm and corresponding data structures, thus
  769. avoiding a potential (but small impact) DoS attack where specially
  770. crafted protocol strings would expand to several potential
  771. megabytes in memory. In the process, several portions of code were
  772. revised to be methods on new, custom types, rather than functions
  773. taking interchangeable types, thus increasing type safety of the
  774. module. Custom error types and handling were added as well, in
  775. order to facilitate better error dismissal/handling in outside
  776. crates and avoid mistakenly passing an internal error string to C
  777. over the FFI boundary. Many tests were added, and some previous
  778. differences between the C and Rust implementations have been
  779. remedied. Fixes bug 24031; bugfix on 0.3.3.1-alpha.
  780. o Major bugfixes (relay, denial of service):
  781. - Impose a limit on circuit cell queue size. The limit can be
  782. controlled by a consensus parameter. Fixes bug 25226; bugfix
  783. on 0.2.4.14-alpha.
  784. o Minor features (accounting):
  785. - When Tor becomes dormant, it now uses a scheduled event to wake up
  786. at the right time. Previously, we would use the per-second timer
  787. to check whether to wake up, but we no longer have any per-second
  788. timers enabled when the network is disabled. Closes ticket 26064.
  789. o Minor features (code quality):
  790. - Add optional spell-checking for the Tor codebase, using the
  791. "misspell" program. To use this feature, run "make check-typos".
  792. Closes ticket 25024.
  793. o Minor features (compatibility):
  794. - Tor now detects versions of OpenSSL 1.1.0 and later compiled with
  795. the no-deprecated option, and builds correctly with them. Closes
  796. tickets 19429, 19981, and 25353.
  797. - Avoid some compilation warnings with recent versions of LibreSSL.
  798. Closes ticket 26006.
  799. o Minor features (compression, zstd):
  800. - When running with zstd, Tor now considers using advanced functions
  801. that the zstd maintainers have labeled as potentially unstable. To
  802. prevent breakage, Tor will only use this functionality when the
  803. runtime version of the zstd library matches the version with which
  804. Tor was compiled. Closes ticket 25162.
  805. o Minor features (configuration):
  806. - The "DownloadSchedule" options have been renamed to end with
  807. "DownloadInitialDelay". The old names are still allowed, but will
  808. produce a warning. Comma-separated lists are still permitted for
  809. these options, but all values after the first are ignored (as they
  810. have been since 0.2.9). Closes ticket 23354.
  811. o Minor features (continuous integration):
  812. - Our .travis.yml configuration now includes support for testing the
  813. results of "make distcheck". (It's not uncommon for "make check"
  814. to pass but "make distcheck" to fail.) Closes ticket 25814.
  815. - Our Travis CI configuration now integrates with the Coveralls
  816. coverage analysis tool. Closes ticket 25818.
  817. o Minor features (control port):
  818. - Introduce GETINFO "current-time/{local,utc}" to return the local
  819. and UTC times respectively in ISO format. This helps a controller
  820. like Tor Browser detect a time-related error. Closes ticket 25511.
  821. Patch by Neel Chauhan.
  822. - Introduce new fields to the CIRC_BW event. There are two new
  823. fields in each of the read and written directions. The DELIVERED
  824. fields report the total valid data on the circuit, as measured by
  825. the payload sizes of verified and error-checked relay command
  826. cells. The OVERHEAD fields report the total unused bytes in each
  827. of these cells. Closes ticket 25903.
  828. o Minor features (directory authority):
  829. - Directory authorities now open their key-pinning files as O_SYNC,
  830. to limit their chances of accidentally writing partial lines.
  831. Closes ticket 23909.
  832. o Minor features (directory authority, forward compatibility):
  833. - Make the lines of the measured bandwidth file able to contain
  834. their entries in any order. Previously, the node_id entry needed
  835. to come first. Closes ticket 26004.
  836. o Minor features (entry guards):
  837. - Introduce a new torrc option NumPrimaryGuards for controlling the
  838. number of primary guards. Closes ticket 25843.
  839. o Minor features (geoip):
  840. - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
  841. database. Closes ticket 26104.
  842. o Minor features (performance):
  843. - Avoid a needless call to malloc() when processing an incoming
  844. relay cell. Closes ticket 24914.
  845. - Make our timing-wheel code run a tiny bit faster on 32-bit
  846. platforms, by preferring 32-bit math to 64-bit. Closes
  847. ticket 24688.
  848. - Avoid a needless malloc()/free() pair every time we handle an ntor
  849. handshake. Closes ticket 25150.
  850. o Minor features (testing):
  851. - Add a unit test for voting_schedule_get_start_of_next_interval().
  852. Closes ticket 26014, and helps make unit test coverage
  853. more deterministic.
  854. - A new unittests module specifically for testing the functions in
  855. the (new-ish) bridges.c module has been created with new
  856. unittests, raising the code coverage percentages. Closes 25425.
  857. - We now have improved testing for addressmap_get_virtual_address()
  858. function. This should improve our test coverage, and make our test
  859. coverage more deterministic. Closes ticket 25993.
  860. o Minor features (timekeeping, circuit scheduling):
  861. - When keeping track of how busy each circuit have been recently on
  862. a given connection, use coarse-grained monotonic timers rather
  863. than gettimeofday(). This change should marginally increase
  864. accuracy and performance. Implements part of ticket 25927.
  865. o Minor bugfixes (bandwidth management):
  866. - Consider ourselves "low on write bandwidth" if we have exhausted
  867. our write bandwidth some time in the last second. This was the
  868. documented behavior before, but the actual behavior was to change
  869. this value every TokenBucketRefillInterval. Fixes bug 25828;
  870. bugfix on 0.2.3.5-alpha.
  871. o Minor bugfixes (C correctness):
  872. - Add a missing lock acquisition in the shutdown code of the control
  873. subsystem. Fixes bug 25675; bugfix on 0.2.7.3-rc. Found by
  874. Coverity; this is CID 1433643.
  875. o Minor bugfixes (circuit path selection):
  876. - Don't count path selection failures as circuit build failures.
  877. This change should eliminate cases where Tor blames its guard or
  878. the network for situations like insufficient microdescriptors
  879. and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
  880. on 0.3.3.1-alpha.
  881. o Minor bugfixes (client):
  882. - Don't consider Tor running as a client if the ControlPort is open,
  883. but no actual client ports are open. Fixes bug 26062; bugfix
  884. on 0.2.9.4-alpha.
  885. o Minor bugfixes (code style):
  886. - Fixed multiple includes of transports.h in src/or/connection.c
  887. Fixes bug 25261; bugfix on 0.2.5.1-alpha.
  888. - Remove the unused variable n_possible from the function
  889. channel_get_for_extend(). Fixes bug 25645; bugfix on 0.2.4.4-alpha
  890. o Minor bugfixes (control interface):
  891. - Respond with more human-readable error messages to GETINFO exit-
  892. policy/* requests. Also, let controller know if an error is
  893. transient (response code 551) or not (response code 552). Fixes
  894. bug 25852; bugfix on 0.2.8.1-alpha.
  895. o Minor bugfixes (controller):
  896. - Make CIRC_BW event reflect the total of all data sent on a
  897. circuit, including padding and dropped cells. Also fix a mis-
  898. counting bug when STREAM_BW events were enabled. Fixes bug 25400;
  899. bugfix on 0.2.5.2-alpha.
  900. o Minor bugfixes (correctness, client):
  901. - Upon receiving a malformed connected cell, stop processing the cell
  902. immediately. Previously we would mark the connection for close, but
  903. continue processing the cell as if the connection were open. Fixes bug
  904. 26072; bugfix on 0.2.4.7-alpha.
  905. o Minor bugfixes (directory client):
  906. - When unverified-consensus is verified, rename it to cached-
  907. consenus. Fixes bug 4187; bugfix on 0.2.0.3-alpha.
  908. - Fixed launching a certificate fetch always during the scheduled
  909. periodic consensus fetch by fetching only in those cases when
  910. consensus are waiting for certs. Fixes bug 24740; bugfix
  911. on 0.2.9.1-alpha.
  912. o Minor bugfixes (documentation):
  913. - Stop saying in the manual that clients cache ipv4 dns answers from
  914. exit relays. We haven't used them since 0.2.6.3-alpha, and in
  915. ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
  916. we forgot to say so in the man page. Fixes bug 26052; bugfix
  917. on 0.3.2.6-alpha.
  918. o Minor bugfixes (error reporting):
  919. - Improve tolerance for directory authorities with skewed clocks.
  920. Previously, an authority with a clock more than 60 seconds ahead
  921. could cause a client with a correct clock to warn that the
  922. client's clock was behind. Now the clocks of a majority of
  923. directory authorities have to be ahead of the client before this
  924. warning will occur. Fixes bug 25756; bugfix on 0.2.2.25-alpha.
  925. o Minor bugfixes (Linux seccomp2 sandbox):
  926. - Allow the nanosleep() system call, which glibc uses to implement
  927. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  928. o Minor bugfixes (onion service):
  929. - Fix a memory leak when a v3 onion service is configured and gets a
  930. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  931. - When parsing the descriptor signature, look for the token plus an
  932. extra white-space at the end. This is more correct but also will
  933. allow us to support new fields that might start with "signature".
  934. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  935. o Minor bugfixes (path selection):
  936. - Only select relays when they have the descriptors we prefer to use
  937. for them. This change fixes a bug where we could select a relay
  938. because it had _some_ descriptor, but reject it later with a
  939. nonfatal assertion error because it didn't have the exact one we
  940. wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
  941. o Minor bugfixes (portability):
  942. - Do not align mmap length, as it is not required by POSIX, and the
  943. getpagesize function is deprecated. Fixes bug 25399; bugfix
  944. on 0.1.1.23.
  945. o Minor bugfixes (portability, FreeBSD):
  946. - In have_enough_mem_for_dircache(), the variable DIRCACHE_MIN_MEM_MB
  947. does not stringify on FreeBSD, so we switch to tor_asprintf().
  948. Fixes bug 20887; bugfix on 0.2.8.1-alpha. Patch by Neel Chauhan.
  949. o Minor bugfixes (relay statistics):
  950. - When a relay is collecting internal statistics about how many
  951. create cell requests it has seen of each type, accurately count
  952. the requests from relays that temporarily fall out of the
  953. consensus. (To be extra conservative, we were already ignoring
  954. requests from clients in our counts, and we continue ignoring them
  955. here.) Fixes bug 24910; bugfix on 0.2.4.17-rc.
  956. o Minor bugfixes (relay, crash):
  957. - Avoid a crash when running with DirPort set but ORPort turned off.
  958. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  959. o Minor bugfixes (restart-in-process):
  960. - When shutting down, Tor now clears all the flags in the control.c
  961. module. This should prevent a bug where authentication cookies are
  962. not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
  963. o Minor bugfixes (testing):
  964. - When testing workqueue event-cancellation, make sure that we
  965. actually cancel an event, and that cancel each event with equal
  966. probability. (It was previously possible, though extremely
  967. unlikely, for our event-canceling test not to cancel any events.)
  968. Fixes bug 26008; bugfix on 0.2.6.3-alpha.
  969. - Repeat part of the test in test_client_pick_intro() a number of
  970. times, to give it consistent coverage. Fixes bug 25996; bugfix
  971. on 0.3.2.1-alpha.
  972. - Remove randomness from the hs_common/responsible_hsdirs test, so
  973. that it always takes the same path through the function it tests.
  974. Fixes bug 25997; bugfix on 0.3.2.1-alpha.
  975. - Change the behavior of the "channel/outbound" test so that it
  976. never causes a 10-second rollover for the EWMA circuitmux code.
  977. Previously, this behavior would happen randomly, and result in
  978. fluctuating test coverage. Fixes bug 25994; bugfix
  979. on 0.3.3.1-alpha.
  980. - Use X509_new() to allocate certificates that will be freed later
  981. with X509_free(). Previously, some parts of the unit tests had
  982. used tor_malloc_zero(), which is incorrect, and which caused test
  983. failures on Windows when they were built with extra hardening.
  984. Fixes bugs 25943 and 25944; bugfix on 0.2.8.1-alpha. Patch by
  985. Marcin Cieślak.
  986. - While running the circuit_timeout test, fix the PRNG to a
  987. deterministic AES stream, so that the test coverage from this test
  988. will itself be deterministic. Fixes bug 25995; bugfix
  989. on 0.2.2.2-alpha.
  990. o Minor bugfixes (vanguards):
  991. - Allow the last hop in a vanguard circuit to be the same as our
  992. first, to prevent the adversary from influencing guard node choice
  993. by choice of last hop. Also prevent the creation of A - B - A
  994. paths, or A - A paths, which are forbidden by relays. Fixes bug
  995. 25870; bugfix on 0.3.3.1-alpha.
  996. o Code simplification and refactoring:
  997. - Remove duplicate code in parse_{c,s}method_line and bootstrap
  998. their functionalities into a single function. Fixes bug 6236;
  999. bugfix on 0.2.3.6-alpha.
  1000. - We remove the PortForwsrding and PortForwardingHelper options,
  1001. related functions, and the port_forwarding tests. These options
  1002. were used by the now-deprecated Vidalia to help ordinary users
  1003. become Tor relays or bridges. Closes ticket 25409. Patch by
  1004. Neel Chauhan.
  1005. - In order to make the OR and dir checking function in router.c less
  1006. confusing we renamed some functions and
  1007. consider_testing_reachability() has been split into
  1008. router_should_check_reachability() and
  1009. router_do_reachability_checks(). Also we improved the documentation
  1010. in some functions. Closes ticket 18918.
  1011. - Initial work to isolate Libevent usage to a handful of modules in
  1012. our codebase, to simplify our call structure, and so that we can
  1013. more easily change event loops in the future if needed. Closes
  1014. ticket 23750.
  1015. - Introduce a function to call getsockname() and return tor_addr_t,
  1016. to save a little complexity throughout the codebase. Closes
  1017. ticket 18105.
  1018. - Make hsdir_index in node_t a hsdir_index_t rather than a pointer
  1019. as hsdir_index is always present. Also, we move hsdir_index_t into
  1020. or.h. Closes ticket 23094. Patch by Neel Chauhan.
  1021. - Merge functions used for describing nodes and suppress the
  1022. functions that do not allocate memory for the output buffer
  1023. string. NODE_DESC_BUF_LEN constant and format_node_description()
  1024. function cannot be used externally from router.c module anymore.
  1025. Closes ticket 25432. Patch by valentecaio.
  1026. - Our main loop has been simplified so that all important operations
  1027. happen inside events. Previously, some operations had to happen
  1028. outside the event loop, to prevent infinite sequences of event
  1029. activations. Closes ticket 25374.
  1030. - Put a SHA1 public key digest in hs_service_intro_point_t, and use
  1031. it in register_intro_circ() and service_intro_point_new(). This
  1032. prevents the digest from being re-calculated each time. Closes
  1033. ticket 23107. Patch by Neel Chauhan.
  1034. - Refactor token-bucket implementations to use a common backend.
  1035. Closes ticket 25766.
  1036. - Remove extern declaration of stats_n_seconds_working variable from
  1037. main, protecting its accesses with get_uptime() and reset_uptime()
  1038. functions. Closes ticket 25081, patch by “valentecaio”.
  1039. - Remove our previous logic for "cached gettimeofday()" -- our
  1040. coarse monotonic timers are fast enough for this purpose, and far
  1041. less error-prone. Implements part of ticket 25927.
  1042. - Remove the return value for fascist_firewall_choose_address_base(),
  1043. and sister functions such as fascist_firewall_choose_address_node()
  1044. and fascist_firewall_choose_address_rs(). Also, while we're here,
  1045. initialize the ap argument as leaving it uninitialized can pose a
  1046. security hazard. Closes ticket 24734. Patch by Neel Chauhan.
  1047. - Rename two fields of connection_t struct. timestamp_lastwritten is
  1048. renamed to timestamp_last_write_allowed and timestamp_lastread is
  1049. renamed to timestamp_last_read_allowed. Closes ticket 24714, patch
  1050. by "valentecaio".
  1051. - Since Tor requires C99, remove our old workaround code for libc
  1052. implementations where free(NULL) doesn't work. Closes ticket 24484.
  1053. - Use our standard rate-limiting code to deal with excessive
  1054. libevent failures, rather than the hand-rolled logic we had
  1055. before. Closes ticket 26016.
  1056. - We remove the return value of node_get_prim_orport() and
  1057. node_get_prim_dirport(), and introduce node_get_prim_orport() in
  1058. node_ipv6_or_preferred() and node_ipv6_dir_preferred() in order to
  1059. check for a null address. Closes ticket 23873. Patch by
  1060. Neel Chauhan.
  1061. - We switch to should_record_bridge_info() in
  1062. geoip_note_client_seen() and options_need_geoip_info() instead of
  1063. accessing the configuration values directly. Fixes bug 25290;
  1064. bugfix on 0.2.1.6-alpha. Patch by Neel Chauhan.
  1065. o Deprecated features:
  1066. - As we are not recommending 0.2.5 anymore, we require relays that
  1067. once had an ed25519 key associated with their RSA key to always
  1068. have that key, instead of allowing them to drop back to a version
  1069. that didn't support ed25519. This means they need to use a new RSA
  1070. key if the want to downgrade to an older version of tor without
  1071. ed25519. Closes ticket 20522.
  1072. o Documentation:
  1073. - Correct an IPv6 error in the documentation for ExitPolicy. Closes
  1074. ticket 25857. Patch from "CTassisF".
  1075. o Removed features:
  1076. - Directory authorities will no longer support voting according to
  1077. any consensus method before consensus method 25. This keeps
  1078. authorities compatible with all authorities running 0.2.9.8 and
  1079. later, and does not break any clients or relays. Implements ticket
  1080. 24378 and proposal 290.
  1081. - The PortForwarding and PortForwardingHelper features have been
  1082. removed. The reasoning is, given that implementations of NAT
  1083. traversal protocols within common consumer grade routers are
  1084. frequently buggy, and that the target audience for a NAT punching
  1085. feature is a perhaps less-technically-inclined relay operator,
  1086. when the helper fails to setup traversal the problems are usually
  1087. deep, ugly, and very router specific, making them horrendously
  1088. impossible for technical support to reliable assist with, and thus
  1089. resulting in frustration all around. Unfortunately, relay
  1090. operators who would like to run relays behind NATs will need to
  1091. become more familiar with the port forwarding configurations on
  1092. their local router. Closes 25409.
  1093. - The TestingEnableTbEmptyEvent option has been removed. It was used
  1094. in testing simulations to measure how often connection buckets
  1095. were emptied, in order to improve our scheduling, but it has not
  1096. been actively used in years. Closes ticket 25760.
  1097. - The old "round-robin" circuit multiplexer (circuitmux)
  1098. implementation has been removed, along with a fairly large set of
  1099. code that existed to support it. It has not been the default
  1100. circuitmux since we introduced the "EWMA" circuitmux in 0.2.4.x,
  1101. but it still required an unreasonable amount of memory and CPU.
  1102. Closes ticket 25268.
  1103. Changes in version 0.3.3.5-rc - 2018-04-15
  1104. Tor 0.3.3.5-rc fixes various bugs in earlier versions of Tor,
  1105. including some that could affect reliability or correctness.
  1106. This is the first release candidate in the 0.3.3 series. If we find no
  1107. new bugs or regression here, then the first stable 0.3.3 release will
  1108. be nearly identical to this one.
  1109. o Major bugfixes (security, protover, voting):
  1110. - Revise Rust implementation of protover to use a more memory-
  1111. efficient voting algorithm and corresponding data structures, thus
  1112. avoiding a potential memory-based DoS attack where specially
  1113. crafted protocol strings would expand to fill available memory.
  1114. Fixes bug 24031; bugfix on 0.3.3.1-alpha.
  1115. o Major bugfixes (performance, load balancing):
  1116. - Directory authorities no longer vote in favor of the Guard flag
  1117. for relays without directory support. Starting in Tor
  1118. 0.3.0.1-alpha, clients have been avoiding using such relays in the
  1119. Guard position, leading to increasingly broken load balancing for
  1120. the 5%-or-so of Guards that don't advertise directory support.
  1121. Fixes bug 22310; bugfix on 0.3.0.6.
  1122. o Minor feature (continuous integration):
  1123. - Update the Travis CI configuration to use the stable Rust channel,
  1124. now that we have decided to require that. Closes ticket 25714.
  1125. o Minor features (config options):
  1126. - Change the way the default value for MaxMemInQueues is calculated.
  1127. We now use 40% of the hardware RAM if the system has 8 GB RAM or
  1128. more. Otherwise we use the former value of 75%. Closes
  1129. ticket 24782.
  1130. o Minor features (geoip):
  1131. - Update geoip and geoip6 to the April 3 2018 Maxmind GeoLite2
  1132. Country database. Closes ticket 25718.
  1133. o Minor bugfixes (client):
  1134. - When using a listed relay as a bridge, and also using
  1135. microdescriptors, and considering that relay as a non-bridge in a
  1136. circuit, treat its microdescriptor as a valid source of
  1137. information about that relay. This change should prevent a non-
  1138. fatal assertion error. Fixes bug 25691; bugfix on 0.3.3.4-alpha.
  1139. o Minor bugfixes (controller):
  1140. - Restore the correct operation of the RESOLVE command, which had
  1141. been broken since we added the ability to enable/disable DNS on
  1142. specific listener ports. Fixes bug 25617; bugfix on 0.2.9.3-alpha.
  1143. o Minor bugfixes (distribution, compilation, rust):
  1144. - Build correctly when the rust dependencies submodule is loaded,
  1145. but the TOR_RUST_DEPENDENCIES environment variable is not set.
  1146. Fixes bug 25679; bugfix on 0.3.3.1-alpha.
  1147. - Actually include all of our Rust source in our source
  1148. distributions. (Previously, a few of the files were accidentally
  1149. omitted.) Fixes bug 25732; bugfix on 0.3.3.2-alpha.
  1150. o Minor bugfixes (documentation):
  1151. - Document that the PerConnBW{Rate,Burst} options will fall back to
  1152. their corresponding consensus parameters only if those parameters
  1153. are set. Previously we had claimed that these values would always
  1154. be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
  1155. - Revert a misformatting issue in the ExitPolicy documentation.
  1156. Fixes bug 25582; bugfix on 0.3.3.1-alpha.
  1157. o Minor bugfixes (exit relay DNS retries):
  1158. - Re-attempt timed-out DNS queries 3 times before failure, since our
  1159. timeout is 5 seconds for them, but clients wait 10-15. Also allow
  1160. slightly more timeouts per resolver when an exit has multiple
  1161. resolvers configured. Fixes bug 21394; bugfix on 0.3.1.9.
  1162. o Minor bugfixes (onion services):
  1163. - Re-instate counting the client HSDir fetch circuits against the
  1164. MaxClientCircuitsPending rate limit. Fixes bug 24989; bugfix
  1165. on 0.3.3.1-alpha.
  1166. - Remove underscores from the _HSLayer{2,3}Nodes options. This
  1167. expert-user configuration can now be enabled as HSLayer{2,3}Nodes.
  1168. Fixes bug 25581; bugfix on 0.3.3.1-alpha
  1169. o Code simplification and refactoring:
  1170. - Move the list of default directory authorities to its own file.
  1171. Closes ticket 24854. Patch by "beastr0".
  1172. o Documentation (manpage, denial of service):
  1173. - Provide more detail about the denial-of-service options, by
  1174. listing each mitigation and explaining how they relate. Closes
  1175. ticket 25248.
  1176. Changes in version 0.3.3.4-alpha - 2018-03-29
  1177. Tor 0.3.3.4-alpha includes various bugfixes for issues found during
  1178. the alpha testing of earlier releases in its series. We are
  1179. approaching a stable 0.3.3.4-alpha release: more testing is welcome!
  1180. o New system requirements:
  1181. - When built with Rust, Tor now depends on version 0.2.39 of the
  1182. libc crate. Closes tickets 25310 and 25664.
  1183. o Major bugfixes (relay, connection):
  1184. - If we have failed to connect to a relay and received a connection
  1185. refused, timeout, or similar error (at the TCP level), do not try
  1186. that same address/port again for 60 seconds after the failure has
  1187. occurred. Fixes bug 24767; bugfix on 0.0.6.
  1188. o Minor features (geoip):
  1189. - Update geoip and geoip6 to the March 8 2018 Maxmind GeoLite2
  1190. Country database. Closes ticket 25469.
  1191. o Minor features (log messages):
  1192. - Improve log message in the out-of-memory handler to include
  1193. information about memory usage from the different compression
  1194. backends. Closes ticket 25372.
  1195. o Minor features (sandbox):
  1196. - Explicitly permit the poll() system call when the Linux
  1197. seccomp2-based sandbox is enabled: apparently, some versions of
  1198. libc use poll() when calling getpwnam(). Closes ticket 25313.
  1199. o Minor bugfixes (C correctness):
  1200. - Fix a very unlikely (impossible, we believe) null pointer
  1201. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  1202. Coverity; this is CID 1430932.
  1203. o Minor bugfixes (channel, client):
  1204. - Better identify client connection when reporting to the geoip
  1205. client cache. Fixes bug 24904; bugfix on 0.3.1.7.
  1206. o Minor bugfixes (compilation):
  1207. - Fix a C99 compliance issue in our configuration script that caused
  1208. compilation issues when compiling Tor with certain versions of
  1209. xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
  1210. o Minor bugfixes (controller, reliability):
  1211. - Avoid a (nonfatal) assertion failure when extending a one-hop
  1212. circuit from the controller to become a multihop circuit. Fixes
  1213. bug 24903; bugfix on 0.2.5.2-alpha.
  1214. o Major bugfixes (networking):
  1215. - Tor will no longer reject IPv6 address strings from Tor Browser
  1216. when they are passed as hostnames in SOCKS5 requests. Fixes bug
  1217. 25036, bugfix on Tor 0.3.1.2.
  1218. o Minor bugfixes (networking):
  1219. - string_is_valid_hostname() will not consider IP strings to be
  1220. valid hostnames. Fixes bug 25055; bugfix on Tor 0.2.5.5.
  1221. o Minor bugfixes (onion service v3):
  1222. - Avoid an assertion failure when the next onion service
  1223. descriptor rotation type is out of sync with the consensus's
  1224. valid-after time. Instead, log a warning message with extra
  1225. information, so we can better hunt down the cause of this
  1226. assertion. Fixes bug 25306; bugfix on 0.3.2.1-alpha.
  1227. o Minor bugfixes (testing):
  1228. - Avoid intermittent test failures due to a test that had relied on
  1229. onion service introduction point creation finishing within 5
  1230. seconds of real clock time. Fixes bug 25450; bugfix
  1231. on 0.3.1.3-alpha.
  1232. - Rust crates are now automatically detected and tested. Previously,
  1233. some crates were not tested by `make test-rust` due to a static
  1234. string in the `src/test/test_rust.sh` script specifying which
  1235. crates to test. Fixes bug 25560; bugfix on 0.3.3.3-alpha.
  1236. o Minor bugfixes (testing, benchmarks):
  1237. - Fix a crash when running benchmark tests on win32 systems. The
  1238. crash was due to a mutex that wasn't initialized before logging
  1239. and options were initialized. Fixes bug 25479; bugfix
  1240. on 0.3.3.3-alpha.
  1241. o Minor bugfixes (warnings, ipv6):
  1242. - Avoid a bug warning that could occur when trying to connect to a
  1243. relay over IPv6. This warning would occur on a Tor instance that
  1244. downloads router descriptors, but prefers to use microdescriptors.
  1245. Fixes bug 25213; bugfix on 0.3.3.1-alpha.
  1246. o Code simplification and refactoring:
  1247. - Remove the old (deterministic) directory retry logic entirely:
  1248. We've used exponential backoff exclusively for some time. Closes
  1249. ticket 23814.
  1250. o Documentation:
  1251. - Improved the documentation of AccountingStart parameter. Closes
  1252. ticket 23635.
  1253. - Update the documentation for "Log" to include the current list of
  1254. logging domains. Closes ticket 25378.
  1255. Changes in version 0.3.1.10 - 2018-03-03
  1256. Tor 0.3.1.10 backports a number of bugfixes, including important fixes for
  1257. security issues.
  1258. It includes an important security fix for a remote crash attack
  1259. against directory authorities, tracked as TROVE-2018-001.
  1260. This release also backports our new system for improved resistance to
  1261. denial-of-service attacks against relays.
  1262. This release also fixes several minor bugs and annoyances from
  1263. earlier releases.
  1264. All directory authorities should upgrade to one of the versions
  1265. released today. Relays running 0.3.1.x may wish to update to one of
  1266. the versions released today, for the DoS mitigations.
  1267. Please note: according to our release calendar, Tor 0.3.1 will no
  1268. longer be supported after 1 July 2018. If you will be running Tor
  1269. after that date, you should make sure to plan to upgrade to the latest
  1270. stable version, or downgrade to 0.2.9 (which will receive long-term
  1271. support).
  1272. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  1273. - Fix a protocol-list handling bug that could be used to remotely crash
  1274. directory authorities with a null-pointer exception. Fixes bug 25074;
  1275. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  1276. CVE-2018-0490.
  1277. o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
  1278. - Give relays some defenses against the recent network overload. We
  1279. start with three defenses (default parameters in parentheses).
  1280. First: if a single client address makes too many concurrent
  1281. connections (>100), hang up on further connections. Second: if a
  1282. single client address makes circuits too quickly (more than 3 per
  1283. second, with an allowed burst of 90) while also having too many
  1284. connections open (3), refuse new create cells for the next while
  1285. (1-2 hours). Third: if a client asks to establish a rendezvous
  1286. point to you directly, ignore the request. These defenses can be
  1287. manually controlled by new torrc options, but relays will also
  1288. take guidance from consensus parameters, so there's no need to
  1289. configure anything manually. Implements ticket 24902.
  1290. o Minor features (linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
  1291. - Update the sandbox rules so that they should now work correctly
  1292. with Glibc 2.26. Closes ticket 24315.
  1293. o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
  1294. - Fix an "off by 2" error in counting rendezvous failures on the
  1295. onion service side. While we thought we would stop the rendezvous
  1296. attempt after one failed circuit, we were actually making three
  1297. circuit attempts before giving up. Now switch to a default of 2,
  1298. and allow the consensus parameter "hs_service_max_rdv_failures" to
  1299. override. Fixes bug 24895; bugfix on 0.0.6.
  1300. o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
  1301. - Add Link protocol version 5 to the supported protocols list. Fixes
  1302. bug 25070; bugfix on 0.3.1.1-alpha.
  1303. o Major bugfixes (relay, backport from 0.3.3.1-alpha):
  1304. - Fix a set of false positives where relays would consider
  1305. connections to other relays as being client-only connections (and
  1306. thus e.g. deserving different link padding schemes) if those
  1307. relays fell out of the consensus briefly. Now we look only at the
  1308. initial handshake and whether the connection authenticated as a
  1309. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  1310. o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
  1311. - Make our OOM handler aware of the geoip client history cache so it
  1312. doesn't fill up the memory. This check is important for IPv6 and
  1313. our DoS mitigation subsystem. Closes ticket 25122.
  1314. o Minor feature (relay statistics, backport from 0.3.2.6-alpha):
  1315. - Change relay bandwidth reporting stats interval from 4 hours to 24
  1316. hours in order to reduce the efficiency of guard discovery
  1317. attacks. Fixes ticket 23856.
  1318. o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
  1319. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  1320. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  1321. since they neither disabled TLS 1.3 nor enabled any of the
  1322. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  1323. Closes ticket 24978.
  1324. o Minor features (fallback directory mirrors, backport from 0.3.2.9):
  1325. - The fallback directory list has been re-generated based on the
  1326. current status of the network. Tor uses fallback directories to
  1327. bootstrap when it doesn't yet have up-to-date directory
  1328. information. Closes ticket 24801.
  1329. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  1330. prefer to bootstrap from fallback directory mirrors. This is a
  1331. follow-up to 24679, which removed weights from the default
  1332. fallbacks. Implements ticket 24681.
  1333. o Minor features (geoip):
  1334. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  1335. Country database.
  1336. o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
  1337. - Use the actual observed address of an incoming relay connection,
  1338. not the canonical address of the relay from its descriptor, when
  1339. making decisions about how to handle the incoming connection.
  1340. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  1341. o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
  1342. - Directory authorities, when refusing a descriptor from a rejected
  1343. relay, now explicitly tell the relay (in its logs) to set a valid
  1344. ContactInfo address and contact the bad-relays@ mailing list.
  1345. Fixes bug 25170; bugfix on 0.2.9.1.
  1346. o Minor bugfixes (address selection, backport from 0.3.2.9):
  1347. - When the fascist_firewall_choose_address_ functions don't find a
  1348. reachable address, set the returned address to the null address
  1349. and port. This is a precautionary measure, because some callers do
  1350. not check the return value. Fixes bug 24736; bugfix
  1351. on 0.2.8.2-alpha.
  1352. o Major bugfixes (bootstrapping, backport from 0.3.2.5-alpha):
  1353. - Fetch descriptors aggressively whenever we lack enough to build
  1354. circuits, regardless of how many descriptors we are missing.
  1355. Previously, we would delay launching the fetch when we had fewer
  1356. than 15 missing descriptors, even if some of those descriptors
  1357. were blocking circuits from building. Fixes bug 23985; bugfix on
  1358. 0.1.1.11-alpha. The effects of this bug became worse in
  1359. 0.3.0.3-alpha, when we began treating missing descriptors from our
  1360. primary guards as a reason to delay circuits.
  1361. - Don't try fetching microdescriptors from relays that have failed
  1362. to deliver them in the past. Fixes bug 23817; bugfix
  1363. on 0.3.0.1-alpha.
  1364. o Minor bugfixes (compilation, backport from 0.3.2.7-rc):
  1365. - Fix a signed/unsigned comparison warning introduced by our fix to
  1366. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  1367. o Minor bugfixes (control port, linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
  1368. - Avoid a crash when attempting to use the seccomp2 sandbox together
  1369. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  1370. on 0.2.5.1-alpha.
  1371. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  1372. - Fix a possible crash on malformed consensus. If a consensus had
  1373. contained an unparseable protocol line, it could have made clients
  1374. and relays crash with a null-pointer exception. To exploit this
  1375. issue, however, an attacker would need to be able to subvert the
  1376. directory authority system. Fixes bug 25251; bugfix on
  1377. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  1378. o Minor bugfixes (directory cache, backport from 0.3.2.5-alpha):
  1379. - Recover better from empty or corrupt files in the consensus cache
  1380. directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
  1381. - When a consensus diff calculation is only partially successful,
  1382. only record the successful parts as having succeeded. Partial
  1383. success can happen if (for example) one compression method fails
  1384. but the others succeed. Previously we misrecorded all the
  1385. calculations as having succeeded, which would later cause a
  1386. nonfatal assertion failure. Fixes bug 24086; bugfix
  1387. on 0.3.1.1-alpha.
  1388. o Minor bugfixes (entry guards, backport from 0.3.2.3-alpha):
  1389. - Tor now updates its guard state when it reads a consensus
  1390. regardless of whether it's missing descriptors. That makes tor use
  1391. its primary guards to fetch descriptors in some edge cases where
  1392. it would previously have used fallback directories. Fixes bug
  1393. 23862; bugfix on 0.3.0.1-alpha.
  1394. o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
  1395. - Don't treat inability to store a cached consensus object as a bug:
  1396. it can happen normally when we are out of disk space. Fixes bug
  1397. 24859; bugfix on 0.3.1.1-alpha.
  1398. o Minor bugfixes (memory usage, backport from 0.3.2.8-rc):
  1399. - When queuing DESTROY cells on a channel, only queue the circuit-id
  1400. and reason fields: not the entire 514-byte cell. This fix should
  1401. help mitigate any bugs or attacks that fill up these queues, and
  1402. free more RAM for other uses. Fixes bug 24666; bugfix
  1403. on 0.2.5.1-alpha.
  1404. o Minor bugfixes (network layer, backport from 0.3.2.5-alpha):
  1405. - When closing a connection via close_connection_immediately(), we
  1406. mark it as "not blocked on bandwidth", to prevent later calls from
  1407. trying to unblock it, and give it permission to read. This fixes a
  1408. backtrace warning that can happen on relays under various
  1409. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  1410. o Minor bugfixes (path selection, backport from 0.3.2.4-alpha):
  1411. - When selecting relays by bandwidth, avoid a rounding error that
  1412. could sometimes cause load to be imbalanced incorrectly.
  1413. Previously, we would always round upwards; now, we round towards
  1414. the nearest integer. This had the biggest effect when a relay's
  1415. weight adjustments should have given it weight 0, but it got
  1416. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  1417. - When calculating the fraction of nodes that have descriptors, and
  1418. all nodes in the network have zero bandwidths, count the number of
  1419. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  1420. - Actually log the total bandwidth in compute_weighted_bandwidths().
  1421. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  1422. o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
  1423. - Improve the performance of our consensus-diff application code
  1424. when Tor is built with the --enable-fragile-hardening option set.
  1425. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  1426. o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
  1427. - Don't exit the Tor process if setrlimit() fails to change the file
  1428. limit (which can happen sometimes on some versions of OSX). Fixes
  1429. bug 21074; bugfix on 0.0.9pre5.
  1430. o Minor bugfixes (portability, msvc, backport from 0.3.2.9):
  1431. - Fix a bug in the bit-counting parts of our timing-wheel code on
  1432. MSVC. (Note that MSVC is still not a supported build platform, due
  1433. to cyptographic timing channel risks.) Fixes bug 24633; bugfix
  1434. on 0.2.9.1-alpha.
  1435. o Minor bugfixes (relay, partial backport):
  1436. - Make the internal channel_is_client() function look at what sort
  1437. of connection handshake the other side used, rather than whether
  1438. the other side ever sent a create_fast cell to us. Backports part
  1439. of the fixes from bugs 22805 and 24898.
  1440. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  1441. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  1442. 0.2.9.4-alpha.
  1443. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  1444. bugfix on 0.2.9.4-alpha.
  1445. o Code simplification and refactoring (backport from 0.3.3.3-alpha):
  1446. - Update the "rust dependencies" submodule to be a project-level
  1447. repository, rather than a user repository. Closes ticket 25323.
  1448. Changes in version 0.2.9.15 - 2018-03-03
  1449. Tor 0.2.9.15 backports important security and stability bugfixes from
  1450. later Tor releases.
  1451. It includes an important security fix for a remote crash attack
  1452. against directory authorities, tracked as TROVE-2018-001.
  1453. This release also backports our new system for improved resistance to
  1454. denial-of-service attacks against relays.
  1455. This release also fixes several minor bugs and annoyances from
  1456. earlier releases.
  1457. All directory authorities should upgrade to one of the versions
  1458. released today. Relays running 0.2.9.x may wish to update to one of
  1459. the versions released today, for the DoS mitigations.
  1460. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  1461. - Fix a protocol-list handling bug that could be used to remotely crash
  1462. directory authorities with a null-pointer exception. Fixes bug 25074;
  1463. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  1464. CVE-2018-0490.
  1465. o Major features (denial-of-service mitigation):
  1466. - Give relays some defenses against the recent network overload. We
  1467. start with three defenses (default parameters in parentheses).
  1468. First: if a single client address makes too many concurrent
  1469. connections (>100), hang up on further connections. Second: if a
  1470. single client address makes circuits too quickly (more than 3 per
  1471. second, with an allowed burst of 90) while also having too many
  1472. connections open (3), refuse new create cells for the next while
  1473. (1-2 hours). Third: if a client asks to establish a rendezvous
  1474. point to you directly, ignore the request. These defenses can be
  1475. manually controlled by new torrc options, but relays will also
  1476. take guidance from consensus parameters, so there's no need to
  1477. configure anything manually. Implements ticket 24902.
  1478. o Major bugfixes (bootstrapping):
  1479. - Fetch descriptors aggressively whenever we lack enough to build
  1480. circuits, regardless of how many descriptors we are missing.
  1481. Previously, we would delay launching the fetch when we had fewer
  1482. than 15 missing descriptors, even if some of those descriptors
  1483. were blocking circuits from building. Fixes bug 23985; bugfix on
  1484. 0.1.1.11-alpha. The effects of this bug became worse in
  1485. 0.3.0.3-alpha, when we began treating missing descriptors from our
  1486. primary guards as a reason to delay circuits.
  1487. o Major bugfixes (onion services, retry behavior):
  1488. - Fix an "off by 2" error in counting rendezvous failures on the
  1489. onion service side. While we thought we would stop the rendezvous
  1490. attempt after one failed circuit, we were actually making three
  1491. circuit attempts before giving up. Now switch to a default of 2,
  1492. and allow the consensus parameter "hs_service_max_rdv_failures" to
  1493. override. Fixes bug 24895; bugfix on 0.0.6.
  1494. o Minor feature (relay statistics):
  1495. - Change relay bandwidth reporting stats interval from 4 hours to 24
  1496. hours in order to reduce the efficiency of guard discovery
  1497. attacks. Fixes ticket 23856.
  1498. o Minor features (compatibility, OpenSSL):
  1499. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  1500. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  1501. since they neither disabled TLS 1.3 nor enabled any of the
  1502. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  1503. Closes ticket 24978.
  1504. o Minor features (denial-of-service avoidance):
  1505. - Make our OOM handler aware of the geoip client history cache so it
  1506. doesn't fill up the memory. This check is important for IPv6 and
  1507. our DoS mitigation subsystem. Closes ticket 25122.
  1508. o Minor features (fallback directory mirrors):
  1509. - The fallback directory list has been re-generated based on the
  1510. current status of the network. Tor uses fallback directories to
  1511. bootstrap when it doesn't yet have up-to-date directory
  1512. information. Closes ticket 24801.
  1513. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  1514. prefer to bootstrap from fallback directory mirrors. This is a
  1515. follow-up to 24679, which removed weights from the default
  1516. fallbacks. Implements ticket 24681.
  1517. o Minor features (geoip):
  1518. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  1519. Country database.
  1520. o Minor features (linux seccomp2 sandbox):
  1521. - Update the sandbox rules so that they should now work correctly
  1522. with Glibc 2.26. Closes ticket 24315.
  1523. o Minor bugfix (channel connection):
  1524. - Use the actual observed address of an incoming relay connection,
  1525. not the canonical address of the relay from its descriptor, when
  1526. making decisions about how to handle the incoming connection.
  1527. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  1528. o Minor bugfix (directory authority):
  1529. - Directory authorities, when refusing a descriptor from a rejected
  1530. relay, now explicitly tell the relay (in its logs) to set a valid
  1531. ContactInfo address and contact the bad-relays@ mailing list.
  1532. Fixes bug 25170; bugfix on 0.2.9.1.
  1533. o Minor bugfixes (address selection):
  1534. - When the fascist_firewall_choose_address_ functions don't find a
  1535. reachable address, set the returned address to the null address
  1536. and port. This is a precautionary measure, because some callers do
  1537. not check the return value. Fixes bug 24736; bugfix
  1538. on 0.2.8.2-alpha.
  1539. o Minor bugfixes (compilation):
  1540. - Fix a signed/unsigned comparison warning introduced by our fix to
  1541. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  1542. o Minor bugfixes (control port, linux seccomp2 sandbox):
  1543. - Avoid a crash when attempting to use the seccomp2 sandbox together
  1544. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  1545. on 0.2.5.1-alpha.
  1546. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  1547. - Fix a possible crash on malformed consensus. If a consensus had
  1548. contained an unparseable protocol line, it could have made clients
  1549. and relays crash with a null-pointer exception. To exploit this
  1550. issue, however, an attacker would need to be able to subvert the
  1551. directory authority system. Fixes bug 25251; bugfix on
  1552. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  1553. o Minor bugfixes (memory usage):
  1554. - When queuing DESTROY cells on a channel, only queue the circuit-id
  1555. and reason fields: not the entire 514-byte cell. This fix should
  1556. help mitigate any bugs or attacks that fill up these queues, and
  1557. free more RAM for other uses. Fixes bug 24666; bugfix
  1558. on 0.2.5.1-alpha.
  1559. o Minor bugfixes (network layer):
  1560. - When closing a connection via close_connection_immediately(), we
  1561. mark it as "not blocked on bandwidth", to prevent later calls from
  1562. trying to unblock it, and give it permission to read. This fixes a
  1563. backtrace warning that can happen on relays under various
  1564. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  1565. o Minor bugfixes (OSX):
  1566. - Don't exit the Tor process if setrlimit() fails to change the file
  1567. limit (which can happen sometimes on some versions of OSX). Fixes
  1568. bug 21074; bugfix on 0.0.9pre5.
  1569. o Minor bugfixes (path selection):
  1570. - When selecting relays by bandwidth, avoid a rounding error that
  1571. could sometimes cause load to be imbalanced incorrectly.
  1572. Previously, we would always round upwards; now, we round towards
  1573. the nearest integer. This had the biggest effect when a relay's
  1574. weight adjustments should have given it weight 0, but it got
  1575. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  1576. - When calculating the fraction of nodes that have descriptors, and
  1577. all nodes in the network have zero bandwidths, count the number of
  1578. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  1579. - Actually log the total bandwidth in compute_weighted_bandwidths().
  1580. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  1581. o Minor bugfixes (portability, msvc):
  1582. - Fix a bug in the bit-counting parts of our timing-wheel code on
  1583. MSVC. (Note that MSVC is still not a supported build platform, due
  1584. to cryptographic timing channel risks.) Fixes bug 24633; bugfix
  1585. on 0.2.9.1-alpha.
  1586. o Minor bugfixes (relay):
  1587. - Make the internal channel_is_client() function look at what sort
  1588. of connection handshake the other side used, rather than whether
  1589. the other side ever sent a create_fast cell to us. Backports part
  1590. of the fixes from bugs 22805 and 24898.
  1591. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  1592. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  1593. 0.2.9.4-alpha.
  1594. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  1595. bugfix on 0.2.9.4-alpha.
  1596. Changes in version 0.3.2.10 - 2018-03-03
  1597. Tor 0.3.2.10 is the second stable release in the 0.3.2 series. It
  1598. backports a number of bugfixes, including important fixes for security
  1599. issues.
  1600. It includes an important security fix for a remote crash attack
  1601. against directory authorities, tracked as TROVE-2018-001.
  1602. Additionally, it backports a fix for a bug whose severity we have
  1603. upgraded: Bug 24700, which was fixed in 0.3.3.2-alpha, can be remotely
  1604. triggered in order to crash relays with a use-after-free pattern. As
  1605. such, we are now tracking that bug as TROVE-2018-002 and
  1606. CVE-2018-0491, and backporting it to earlier releases. This bug
  1607. affected versions 0.3.2.1-alpha through 0.3.2.9, as well as version
  1608. 0.3.3.1-alpha.
  1609. This release also backports our new system for improved resistance to
  1610. denial-of-service attacks against relays.
  1611. This release also fixes several minor bugs and annoyances from
  1612. earlier releases.
  1613. Relays running 0.3.2.x SHOULD upgrade to one of the versions released
  1614. today, for the fix to TROVE-2018-002. Directory authorities should
  1615. also upgrade. (Relays on earlier versions might want to update too for
  1616. the DoS mitigations.)
  1617. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  1618. - Fix a protocol-list handling bug that could be used to remotely crash
  1619. directory authorities with a null-pointer exception. Fixes bug 25074;
  1620. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  1621. CVE-2018-0490.
  1622. o Major bugfixes (scheduler, KIST, denial-of-service, backport from 0.3.3.2-alpha):
  1623. - Avoid adding the same channel twice in the KIST scheduler pending
  1624. list, which could lead to remote denial-of-service use-after-free
  1625. attacks against relays. Fixes bug 24700; bugfix on 0.3.2.1-alpha.
  1626. o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
  1627. - Give relays some defenses against the recent network overload. We
  1628. start with three defenses (default parameters in parentheses).
  1629. First: if a single client address makes too many concurrent
  1630. connections (>100), hang up on further connections. Second: if a
  1631. single client address makes circuits too quickly (more than 3 per
  1632. second, with an allowed burst of 90) while also having too many
  1633. connections open (3), refuse new create cells for the next while
  1634. (1-2 hours). Third: if a client asks to establish a rendezvous
  1635. point to you directly, ignore the request. These defenses can be
  1636. manually controlled by new torrc options, but relays will also
  1637. take guidance from consensus parameters, so there's no need to
  1638. configure anything manually. Implements ticket 24902.
  1639. o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
  1640. - Fix an "off by 2" error in counting rendezvous failures on the
  1641. onion service side. While we thought we would stop the rendezvous
  1642. attempt after one failed circuit, we were actually making three
  1643. circuit attempts before giving up. Now switch to a default of 2,
  1644. and allow the consensus parameter "hs_service_max_rdv_failures" to
  1645. override. Fixes bug 24895; bugfix on 0.0.6.
  1646. - New-style (v3) onion services now obey the "max rendezvous circuit
  1647. attempts" logic. Previously they would make as many rendezvous
  1648. circuit attempts as they could fit in the MAX_REND_TIMEOUT second
  1649. window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
  1650. o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
  1651. - Add Link protocol version 5 to the supported protocols list. Fixes
  1652. bug 25070; bugfix on 0.3.1.1-alpha.
  1653. o Major bugfixes (relay, backport from 0.3.3.1-alpha):
  1654. - Fix a set of false positives where relays would consider
  1655. connections to other relays as being client-only connections (and
  1656. thus e.g. deserving different link padding schemes) if those
  1657. relays fell out of the consensus briefly. Now we look only at the
  1658. initial handshake and whether the connection authenticated as a
  1659. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  1660. o Major bugfixes (scheduler, consensus, backport from 0.3.3.2-alpha):
  1661. - The scheduler subsystem was failing to promptly notice changes in
  1662. consensus parameters, making it harder to switch schedulers
  1663. network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
  1664. o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
  1665. - Make our OOM handler aware of the geoip client history cache so it
  1666. doesn't fill up the memory. This check is important for IPv6 and
  1667. our DoS mitigation subsystem. Closes ticket 25122.
  1668. o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
  1669. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  1670. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  1671. since they neither disabled TLS 1.3 nor enabled any of the
  1672. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  1673. Closes ticket 24978.
  1674. o Minor features (geoip):
  1675. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  1676. Country database.
  1677. o Minor features (logging, diagnostic, backport from 0.3.3.2-alpha):
  1678. - When logging a failure to create an onion service's descriptor,
  1679. also log what the problem with the descriptor was. Diagnostic
  1680. for ticket 24972.
  1681. o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
  1682. - Use the actual observed address of an incoming relay connection,
  1683. not the canonical address of the relay from its descriptor, when
  1684. making decisions about how to handle the incoming connection.
  1685. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  1686. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  1687. - Fix a possible crash on malformed consensus. If a consensus had
  1688. contained an unparseable protocol line, it could have made clients
  1689. and relays crash with a null-pointer exception. To exploit this
  1690. issue, however, an attacker would need to be able to subvert the
  1691. directory authority system. Fixes bug 25251; bugfix on
  1692. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  1693. o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
  1694. - Directory authorities, when refusing a descriptor from a rejected
  1695. relay, now explicitly tell the relay (in its logs) to set a valid
  1696. ContactInfo address and contact the bad-relays@ mailing list.
  1697. Fixes bug 25170; bugfix on 0.2.9.1.
  1698. o Minor bugfixes (build, rust, backport from 0.3.3.1-alpha):
  1699. - When building with Rust on OSX, link against libresolv, to work
  1700. around the issue at https://github.com/rust-lang/rust/issues/46797.
  1701. Fixes bug 24652; bugfix on 0.3.1.1-alpha.
  1702. o Minor bugfixes (onion services, backport from 0.3.3.2-alpha):
  1703. - Remove a BUG() statement when a client fetches an onion descriptor
  1704. that has a lower revision counter than the one in its cache. This
  1705. can happen in normal circumstances due to HSDir desync. Fixes bug
  1706. 24976; bugfix on 0.3.2.1-alpha.
  1707. o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
  1708. - Don't treat inability to store a cached consensus object as a bug:
  1709. it can happen normally when we are out of disk space. Fixes bug
  1710. 24859; bugfix on 0.3.1.1-alpha.
  1711. o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
  1712. - Improve the performance of our consensus-diff application code
  1713. when Tor is built with the --enable-fragile-hardening option set.
  1714. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  1715. o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
  1716. - Don't exit the Tor process if setrlimit() fails to change the file
  1717. limit (which can happen sometimes on some versions of OSX). Fixes
  1718. bug 21074; bugfix on 0.0.9pre5.
  1719. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  1720. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  1721. 0.2.9.4-alpha.
  1722. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  1723. bugfix on 0.2.9.4-alpha.
  1724. o Minor bugfixes (testing, backport from 0.3.3.1-alpha):
  1725. - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
  1726. 25005; bugfix on 0.3.2.7-rc.
  1727. o Minor bugfixes (v3 onion services, backport from 0.3.3.2-alpha):
  1728. - Look at the "HSRend" protocol version, not the "HSDir" protocol
  1729. version, when deciding whether a consensus entry can support the
  1730. v3 onion service protocol as a rendezvous point. Fixes bug 25105;
  1731. bugfix on 0.3.2.1-alpha.
  1732. o Code simplification and refactoring (backport from 0.3.3.3-alpha):
  1733. - Update the "rust dependencies" submodule to be a project-level
  1734. repository, rather than a user repository. Closes ticket 25323.
  1735. o Documentation (backport from 0.3.3.1-alpha)
  1736. - Document that operators who run more than one relay or bridge are
  1737. expected to set MyFamily and ContactInfo correctly. Closes
  1738. ticket 24526.
  1739. Changes in version 0.3.3.3-alpha - 2018-03-03
  1740. Tor 0.3.3.3-alpha is the third alpha release for the 0.3.3.x series.
  1741. It includes an important security fix for a remote crash attack
  1742. against directory authorities tracked as TROVE-2018-001.
  1743. Additionally, with this release, we are upgrading the severity of a
  1744. bug fixed in 0.3.3.2-alpha. Bug 24700, which was fixed in
  1745. 0.3.3.2-alpha, can be remotely triggered in order to crash relays with
  1746. a use-after-free pattern. As such, we are now tracking that bug as
  1747. TROVE-2018-002 and CVE-2018-0491. This bug affected versions
  1748. 0.3.2.1-alpha through 0.3.2.9, as well as 0.3.3.1-alpha.
  1749. This release also fixes several minor bugs and annoyances from
  1750. earlier releases.
  1751. Relays running 0.3.2.x should upgrade to one of the versions released
  1752. today, for the fix to TROVE-2018-002. Directory authorities should
  1753. also upgrade. (Relays on earlier versions might want to update too for
  1754. the DoS mitigations.)
  1755. o Major bugfixes (denial-of-service, directory authority):
  1756. - Fix a protocol-list handling bug that could be used to remotely crash
  1757. directory authorities with a null-pointer exception. Fixes bug 25074;
  1758. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  1759. CVE-2018-0490.
  1760. o Minor features (compatibility, OpenSSL):
  1761. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  1762. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  1763. since they neither disabled TLS 1.3 nor enabled any of the
  1764. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  1765. Closes ticket 24978.
  1766. o Minor features (logging):
  1767. - Clarify the log messages produced when getrandom() or a related
  1768. entropy-generation mechanism gives an error. Closes ticket 25120.
  1769. o Minor features (testing):
  1770. - Add a "make test-rust" target to run the rust tests only. Closes
  1771. ticket 25071.
  1772. o Minor bugfixes (denial-of-service):
  1773. - Fix a possible crash on malformed consensus. If a consensus had
  1774. contained an unparseable protocol line, it could have made clients
  1775. and relays crash with a null-pointer exception. To exploit this
  1776. issue, however, an attacker would need to be able to subvert the
  1777. directory authority system. Fixes bug 25251; bugfix on
  1778. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  1779. o Minor bugfixes (DoS mitigation):
  1780. - Add extra safety checks when refilling the circuit creation bucket
  1781. to ensure we never set a value above the allowed maximum burst.
  1782. Fixes bug 25202; bugfix on 0.3.3.2-alpha.
  1783. - When a new consensus arrives, don't update our DoS-mitigation
  1784. parameters if we aren't a public relay. Fixes bug 25223; bugfix
  1785. on 0.3.3.2-alpha.
  1786. o Minor bugfixes (man page, SocksPort):
  1787. - Remove dead code from the old "SocksSocket" option, and rename
  1788. SocksSocketsGroupWritable to UnixSocksGroupWritable. The old option
  1789. still works, but is deprecated. Fixes bug 24343; bugfix on 0.2.6.3.
  1790. o Minor bugfixes (performance):
  1791. - Reduce the number of circuits that will be opened at once during
  1792. the circuit build timeout phase. This is done by increasing the
  1793. idle timeout to 3 minutes, and lowering the maximum number of
  1794. concurrent learning circuits to 10. Fixes bug 24769; bugfix
  1795. on 0.3.1.1-alpha.
  1796. o Minor bugfixes (spec conformance):
  1797. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  1798. 0.2.9.4-alpha.
  1799. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  1800. bugfix on 0.2.9.4-alpha.
  1801. o Minor bugfixes (spec conformance, rust):
  1802. - Resolve a denial-of-service issue caused by an infinite loop in
  1803. the rust protover code. Fixes bug 25250, bugfix on 0.3.3.1-alpha.
  1804. Also tracked as TROVE-2018-003.
  1805. o Code simplification and refactoring:
  1806. - Update the "rust dependencies" submodule to be a project-level
  1807. repository, rather than a user repository. Closes ticket 25323.
  1808. Changes in version 0.3.3.2-alpha - 2018-02-10
  1809. Tor 0.3.3.2-alpha is the second alpha in the 0.3.3.x series. It
  1810. introduces a mechanism to handle the high loads that many relay
  1811. operators have been reporting recently. It also fixes several bugs in
  1812. older releases. If this new code proves reliable, we plan to backport
  1813. it to older supported release series.
  1814. o Major features (denial-of-service mitigation):
  1815. - Give relays some defenses against the recent network overload. We
  1816. start with three defenses (default parameters in parentheses).
  1817. First: if a single client address makes too many concurrent
  1818. connections (>100), hang up on further connections. Second: if a
  1819. single client address makes circuits too quickly (more than 3 per
  1820. second, with an allowed burst of 90) while also having too many
  1821. connections open (3), refuse new create cells for the next while
  1822. (1-2 hours). Third: if a client asks to establish a rendezvous
  1823. point to you directly, ignore the request. These defenses can be
  1824. manually controlled by new torrc options, but relays will also
  1825. take guidance from consensus parameters, so there's no need to
  1826. configure anything manually. Implements ticket 24902.
  1827. o Major bugfixes (netflow padding):
  1828. - Stop adding unneeded channel padding right after we finish
  1829. flushing to a connection that has been trying to flush for many
  1830. seconds. Instead, treat all partial or complete flushes as
  1831. activity on the channel, which will defer the time until we need
  1832. to add padding. This fix should resolve confusing and scary log
  1833. messages like "Channel padding timeout scheduled 221453ms in the
  1834. past." Fixes bug 22212; bugfix on 0.3.1.1-alpha.
  1835. o Major bugfixes (protocol versions):
  1836. - Add Link protocol version 5 to the supported protocols list. Fixes
  1837. bug 25070; bugfix on 0.3.1.1-alpha.
  1838. o Major bugfixes (scheduler, consensus):
  1839. - The scheduler subsystem was failing to promptly notice changes in
  1840. consensus parameters, making it harder to switch schedulers
  1841. network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
  1842. o Minor features (denial-of-service avoidance):
  1843. - Make our OOM handler aware of the geoip client history cache so it
  1844. doesn't fill up the memory. This check is important for IPv6 and
  1845. our DoS mitigation subsystem. Closes ticket 25122.
  1846. o Minor features (directory authority):
  1847. - When directory authorities are unable to add signatures to a
  1848. pending consensus, log the reason why. Closes ticket 24849.
  1849. o Minor features (geoip):
  1850. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  1851. Country database.
  1852. o Minor features (logging, diagnostic):
  1853. - When logging a failure to create an onion service's descriptor,
  1854. also log what the problem with the descriptor was. Diagnostic for
  1855. ticket 24972.
  1856. o Minor bugfix (channel connection):
  1857. - Use the actual observed address of an incoming relay connection,
  1858. not the canonical address of the relay from its descriptor, when
  1859. making decisions about how to handle the incoming connection.
  1860. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  1861. o Minor bugfix (directory authority):
  1862. - Directory authorities, when refusing a descriptor from a rejected
  1863. relay, now explicitly tell the relay (in its logs) to set a valid
  1864. ContactInfo address and contact the bad-relays@ mailing list.
  1865. Fixes bug 25170; bugfix on 0.2.9.1.
  1866. o Minor bugfixes (all versions of Tor):
  1867. - Use the "misspell" tool to detect and fix typos throughout the
  1868. source code. Fixes bug 23650; bugfix on various versions of Tor.
  1869. Patch from Deepesh Pathak.
  1870. o Minor bugfixes (circuit, cannibalization):
  1871. - Don't cannibalize preemptively-built circuits if we no longer
  1872. recognize their first hop. This situation can happen if our Guard
  1873. relay went off the consensus after the circuit was created. Fixes
  1874. bug 24469; bugfix on 0.0.6.
  1875. o Minor bugfixes (correctness):
  1876. - Remove a nonworking, unnecessary check to see whether a circuit
  1877. hop's identity digest was set when the circuit failed. Fixes bug
  1878. 24927; bugfix on 0.2.4.4-alpha.
  1879. o Minor bugfixes (logging):
  1880. - Don't treat inability to store a cached consensus object as a bug:
  1881. it can happen normally when we are out of disk space. Fixes bug
  1882. 24859; bugfix on 0.3.1.1-alpha.
  1883. - Fix a (mostly harmless) race condition when invoking
  1884. LOG_PROTOCOL_WARN message from a subthread while the torrc options
  1885. are changing. Fixes bug 23954; bugfix on 0.1.1.9-alpha.
  1886. o Minor bugfixes (onion services):
  1887. - Remove a BUG() statement when a client fetches an onion descriptor
  1888. that has a lower revision counter than the one in its cache. This
  1889. can happen in normal circumstances due to HSDir desync. Fixes bug
  1890. 24976; bugfix on 0.3.2.1-alpha.
  1891. - If we are configured to offer a single onion service, don't log
  1892. long-term established one hop rendezvous points in the heartbeat.
  1893. Fixes bug 25116; bugfix on 0.2.9.6-rc.
  1894. o Minor bugfixes (performance):
  1895. - Avoid calling protocol_list_supports_protocol() from inside tight
  1896. loops when running with cached routerinfo_t objects. Instead,
  1897. summarize the relevant protocols as flags in the routerinfo_t, as
  1898. we do for routerstatus_t objects. This change simplifies our code
  1899. a little, and saves a large amount of short-term memory allocation
  1900. operations. Fixes bug 25008; bugfix on 0.2.9.4-alpha.
  1901. o Minor bugfixes (Rust FFI):
  1902. - Fix a minor memory leak which would happen whenever the C code
  1903. would call the Rust implementation of
  1904. protover_get_supported_protocols(). This was due to the C version
  1905. returning a static string, whereas the Rust version newly allocated
  1906. a CString to pass across the FFI boundary. Consequently, the C
  1907. code was not expecting to need to free() what it was given. Fixes
  1908. bug 25127; bugfix on 0.3.2.1-alpha.
  1909. o Minor bugfixes (scheduler, KIST):
  1910. - Avoid adding the same channel twice in the KIST scheduler pending
  1911. list, which would waste CPU cycles. Fixes bug 24700; bugfix
  1912. on 0.3.2.1-alpha.
  1913. o Minor bugfixes (unit test, monotonic time):
  1914. - Increase a constant (1msec to 10msec) in the monotonic time test
  1915. that makes sure the nsec/usec/msec times read are synchronized.
  1916. This change was needed to accommodate slow systems like armel or
  1917. when the clock_gettime() is not a VDSO on the running kernel.
  1918. Fixes bug 25113; bugfix on 0.2.9.1.
  1919. o Minor bugfixes (v3 onion services):
  1920. - Look at the "HSRend" protocol version, not the "HSDir" protocol
  1921. version, when deciding whether a consensus entry can support the
  1922. v3 onion service protocol as a rendezvous point. Fixes bug 25105;
  1923. bugfix on 0.3.2.1-alpha.
  1924. o Code simplification and refactoring:
  1925. - Remove the unused nodelist_recompute_all_hsdir_indices(). Closes
  1926. ticket 25108.
  1927. - Remove a series of counters used to track circuit extend attempts
  1928. and connection status but that in reality we aren't using for
  1929. anything other than stats logged by a SIGUSR1 signal. Closes
  1930. ticket 25163.
  1931. o Documentation (man page):
  1932. - The HiddenServiceVersion torrc option accepts only one number:
  1933. either version 2 or 3. Closes ticket 25026; bugfix
  1934. on 0.3.2.2-alpha.
  1935. Changes in version 0.3.3.1-alpha - 2018-01-25
  1936. Tor 0.3.3.1-alpha is the first release in the 0.3.3.x series. It adds
  1937. several new features to Tor, including several improvements to
  1938. bootstrapping, and support for an experimental "vanguards" feature to
  1939. resist guard discovery attacks. This series also includes better
  1940. support for applications that need to embed Tor or manage v3
  1941. onion services.
  1942. o Major features (embedding):
  1943. - There is now a documented stable API for programs that need to
  1944. embed Tor. See tor_api.h for full documentation and known bugs.
  1945. Closes ticket 23684.
  1946. - Tor now has support for restarting in the same process.
  1947. Controllers that run Tor using the "tor_api.h" interface can now
  1948. restart Tor after Tor has exited. This support is incomplete,
  1949. however: we fixed crash bugs that prevented it from working at
  1950. all, but many bugs probably remain, including a possibility of
  1951. security issues. Implements ticket 24581.
  1952. o Major features (IPv6, directory documents):
  1953. - Add consensus method 27, which adds IPv6 ORPorts to the microdesc
  1954. consensus. This information makes it easier for IPv6 clients to
  1955. bootstrap and choose reachable entry guards. Implements ticket 23826.
  1956. - Add consensus method 28, which removes IPv6 ORPorts from
  1957. microdescriptors. Now that the consensus contains IPv6 ORPorts, they
  1958. are redundant in microdescs. This change will be used by Tor clients
  1959. on 0.2.8.x and later. (That is to say, with all Tor clients that
  1960. have IPv6 bootstrap and guard support.) Implements ticket 23828.
  1961. - Expand the documentation for AuthDirHasIPv6Connectivity when it is
  1962. set by different numbers of authorities. Fixes 23870
  1963. on 0.2.4.1-alpha.
  1964. o Major features (onion service v3, control port):
  1965. - The control port now supports commands and events for v3 onion
  1966. services. It is now possible to create ephemeral v3 services using
  1967. ADD_ONION. Additionally, several events (HS_DESC, HS_DESC_CONTENT,
  1968. CIRC and CIRC_MINOR) and commands (GETINFO, HSPOST, ADD_ONION and
  1969. DEL_ONION) have been extended to support v3 onion services. Closes
  1970. ticket 20699; implements proposal 284.
  1971. o Major features (onion services):
  1972. - Provide torrc options to pin the second and third hops of onion
  1973. service circuits to a list of nodes. The option HSLayer2Guards
  1974. pins the second hop, and the option HSLayer3Guards pins the third
  1975. hop. These options are for use in conjunction with experiments
  1976. with "vanguards" for preventing guard enumeration attacks. Closes
  1977. ticket 13837.
  1978. o Major features (rust, portability, experimental):
  1979. - Tor now ships with an optional implementation of one of its
  1980. smaller modules (protover.c) in the Rust programming language. To
  1981. try it out, install a Rust build environment, and configure Tor
  1982. with "--enable-rust --enable-cargo-online-mode". This should not
  1983. cause any user-visible changes, but should help us gain more
  1984. experience with Rust, and plan future Rust integration work.
  1985. Implementation by Chelsea Komlo. Closes ticket 22840.
  1986. o Minor features (storage, configuration):
  1987. - Users can store cached directory documents somewhere other than
  1988. the DataDirectory by using the CacheDirectory option. Similarly,
  1989. the storage location for relay's keys can be overridden with the
  1990. KeyDirectory option. Closes ticket 22703.
  1991. o Major features (v3 onion services, ipv6):
  1992. - When v3 onion service clients send introduce cells, they now
  1993. include the IPv6 address of the rendezvous point, if it has one.
  1994. Current v3 onion services running 0.3.2 ignore IPv6 addresses, but
  1995. in future Tor versions, IPv6-only v3 single onion services will be
  1996. able to use IPv6 addresses to connect directly to the rendezvous
  1997. point. Closes ticket 23577. Patch by Neel Chauhan.
  1998. o Major bugfixes (onion services, retry behavior):
  1999. - Fix an "off by 2" error in counting rendezvous failures on the
  2000. onion service side. While we thought we would stop the rendezvous
  2001. attempt after one failed circuit, we were actually making three
  2002. circuit attempts before giving up. Now switch to a default of 2,
  2003. and allow the consensus parameter "hs_service_max_rdv_failures" to
  2004. override. Fixes bug 24895; bugfix on 0.0.6.
  2005. - New-style (v3) onion services now obey the "max rendezvous circuit
  2006. attempts" logic. Previously they would make as many rendezvous
  2007. circuit attempts as they could fit in the MAX_REND_TIMEOUT second
  2008. window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
  2009. o Major bugfixes (relays):
  2010. - Fix a set of false positives where relays would consider
  2011. connections to other relays as being client-only connections (and
  2012. thus e.g. deserving different link padding schemes) if those
  2013. relays fell out of the consensus briefly. Now we look only at the
  2014. initial handshake and whether the connection authenticated as a
  2015. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  2016. o Minor feature (IPv6):
  2017. - Make IPv6-only clients wait for microdescs for relays, even if we
  2018. were previously using descriptors (or were using them as a bridge)
  2019. and have a cached descriptor for them. Implements ticket 23827.
  2020. - When a consensus has IPv6 ORPorts, make IPv6-only clients use
  2021. them, rather than waiting to download microdescriptors.
  2022. Implements ticket 23827.
  2023. o Minor features (cleanup):
  2024. - Tor now deletes the CookieAuthFile and ExtORPortCookieAuthFile
  2025. when it stops. Closes ticket 23271.
  2026. o Minor features (defensive programming):
  2027. - Most of the functions in Tor that free objects have been replaced
  2028. with macros that free the objects and set the corresponding
  2029. pointers to NULL. This change should help prevent a large class of
  2030. dangling pointer bugs. Closes ticket 24337.
  2031. - Where possible, the tor_free() macro now only evaluates its input
  2032. once. Part of ticket 24337.
  2033. - Check that microdesc ed25519 ids are non-zero in
  2034. node_get_ed25519_id() before returning them. Implements ticket
  2035. 24001, patch by "aruna1234".
  2036. o Minor features (embedding):
  2037. - Tor can now start with a preauthenticated control connection
  2038. created by the process that launched it. This feature is meant for
  2039. use by programs that want to launch and manage a Tor process
  2040. without allowing other programs to manage it as well. For more
  2041. information, see the __OwningControllerFD option documented in
  2042. control-spec.txt. Closes ticket 23900.
  2043. - On most errors that would cause Tor to exit, it now tries to
  2044. return from the tor_main() function, rather than calling the
  2045. system exit() function. Most users won't notice a difference here,
  2046. but it should be significant for programs that run Tor inside
  2047. a separate thread: they should now be able to survive Tor's exit
  2048. conditions rather than having Tor shut down the entire process.
  2049. Closes ticket 23848.
  2050. - Applications that want to embed Tor can now tell Tor not to
  2051. register any of its own POSIX signal handlers, using the
  2052. __DisableSignalHandlers option. Closes ticket 24588.
  2053. o Minor features (fallback directory list):
  2054. - Avoid selecting fallbacks that change their IP addresses too
  2055. often. Select more fallbacks by ignoring the Guard flag, and
  2056. allowing lower cutoffs for the Running and V2Dir flags. Also allow
  2057. a lower bandwidth, and a higher number of fallbacks per operator
  2058. (5% of the list). Implements ticket 24785.
  2059. - Update the fallback whitelist and blacklist based on opt-ins and
  2060. relay changes. Closes tickets 22321, 24678, 22527, 24135,
  2061. and 24695.
  2062. o Minor features (fallback directory mirror configuration):
  2063. - Add a nickname to each fallback in a C comment. This makes it
  2064. easier for operators to find their relays, and allows stem to use
  2065. nicknames to identify fallbacks. Implements ticket 24600.
  2066. - Add a type and version header to the fallback directory mirror
  2067. file. Also add a delimiter to the end of each fallback entry. This
  2068. helps external parsers like stem and Relay Search. Implements
  2069. ticket 24725.
  2070. - Add an extrainfo cache flag for each fallback in a C comment. This
  2071. allows stem to use fallbacks to fetch extra-info documents, rather
  2072. than using authorities. Implements ticket 22759.
  2073. - Add the generateFallbackDirLine.py script for automatically
  2074. generating fallback directory mirror lines from relay fingerprints.
  2075. No more typos! Add the lookupFallbackDirContact.py script for
  2076. automatically looking up operator contact info from relay
  2077. fingerprints. Implements ticket 24706, patch by teor and atagar.
  2078. - Reject any fallback directory mirror that serves an expired
  2079. consensus. Implements ticket 20942, patch by "minik".
  2080. - Remove commas and equals signs from external string inputs to the
  2081. fallback list. This avoids format confusion attacks. Implements
  2082. ticket 24726.
  2083. - Remove the "weight=10" line from fallback directory mirror
  2084. entries. Ticket 24681 will maintain the current fallback weights
  2085. by changing Tor's default fallback weight to 10. Implements
  2086. ticket 24679.
  2087. - Stop logging excessive information about fallback netblocks.
  2088. Implements ticket 24791.
  2089. o Minor features (forward-compatibility):
  2090. - If a relay supports some link authentication protocol that we do
  2091. not recognize, then include that relay's ed25519 key when telling
  2092. other relays to extend to it. Previously, we treated future
  2093. versions as if they were too old to support ed25519 link
  2094. authentication. Closes ticket 20895.
  2095. o Minor features (heartbeat):
  2096. - Add onion service information to our heartbeat logs, displaying
  2097. stats about the activity of configured onion services. Closes
  2098. ticket 24896.
  2099. o Minor features (instrumentation, development):
  2100. - Add the MainloopStats option to allow developers to get
  2101. instrumentation information from the main event loop via the
  2102. heartbeat messages. We hope to use this to improve Tor's behavior
  2103. when it's trying to sleep. Closes ticket 24605.
  2104. o Minor features (log messages):
  2105. - Improve a warning message that happens when we fail to re-parse an
  2106. old router because of an expired certificate. Closes ticket 20020.
  2107. - Make the log more quantitative when we hit MaxMemInQueues
  2108. threshold exposing some values. Closes ticket 24501.
  2109. o Minor features (logging, android):
  2110. - Added support for the Android logging subsystem. Closes
  2111. ticket 24362.
  2112. o Minor features (performance):
  2113. - Support predictive circuit building for onion service circuits
  2114. with multiple layers of guards. Closes ticket 23101.
  2115. - Use stdatomic.h where available, rather than mutexes, to implement
  2116. atomic_counter_t. Closes ticket 23953.
  2117. o Minor features (performance, 32-bit):
  2118. - Improve performance on 32-bit systems by avoiding 64-bit division
  2119. when calculating the timestamp in milliseconds for channel padding
  2120. computations. Implements ticket 24613.
  2121. - Improve performance on 32-bit systems by avoiding 64-bit division
  2122. when timestamping cells and buffer chunks for OOM calculations.
  2123. Implements ticket 24374.
  2124. o Minor features (performance, OSX, iOS):
  2125. - Use the mach_approximate_time() function (when available) to
  2126. implement coarse monotonic time. Having a coarse time function
  2127. should avoid a large number of system calls, and improve
  2128. performance slightly, especially under load. Closes ticket 24427.
  2129. o Minor features (performance, windows):
  2130. - Improve performance on Windows Vista and Windows 7 by adjusting
  2131. TCP send window size according to the recommendation from
  2132. SIO_IDEAL_SEND_BACKLOG_QUERY. Closes ticket 22798. Patch
  2133. from Vort.
  2134. o Major features (relay):
  2135. - Implement an option, ReducedExitPolicy, to allow an Tor exit relay
  2136. operator to use a more reasonable ("reduced") exit policy, rather
  2137. than the default one. If you want to run an exit node without
  2138. thinking too hard about which ports to allow, this one is for you.
  2139. Closes ticket 13605. Patch from Neel Chauhan.
  2140. o Minor features (testing, debugging, embedding):
  2141. - For development purposes, Tor now has a mode in which it runs for
  2142. a few seconds, then stops, and starts again without exiting the
  2143. process. This mode is meant to help us debug various issues with
  2144. ticket 23847. To use this feature, compile with
  2145. --enable-restart-debugging, and set the TOR_DEBUG_RESTART
  2146. environment variable. This is expected to crash a lot, and is
  2147. really meant for developers only. It will likely be removed in a
  2148. future release. Implements ticket 24583.
  2149. o Minor bugfix (network IPv6 test):
  2150. - Tor's test scripts now check if "ping -6 ::1" works when the user
  2151. runs "make test-network-all". Fixes bug 24677; bugfix on
  2152. 0.2.9.3-alpha. Patch by "ffmancera".
  2153. o Minor bugfixes (build, rust):
  2154. - Fix output of autoconf checks to display success messages for Rust
  2155. dependencies and a suitable rustc compiler version. Fixes bug
  2156. 24612; bugfix on 0.3.1.3-alpha.
  2157. - When building with Rust on OSX, link against libresolv, to work
  2158. around the issue at https://github.com/rust-lang/rust/issues/46797.
  2159. Fixes bug 24652; bugfix on 0.3.1.1-alpha.
  2160. - Don't pass the --quiet option to cargo: it seems to suppress some
  2161. errors, which is not what we want to do when building. Fixes bug
  2162. 24518; bugfix on 0.3.1.7.
  2163. - Build correctly when building from outside Tor's source tree with
  2164. the TOR_RUST_DEPENDENCIES option set. Fixes bug 22768; bugfix
  2165. on 0.3.1.7.
  2166. o Minor bugfixes (directory authorities, IPv6):
  2167. - When creating a routerstatus (vote) from a routerinfo (descriptor),
  2168. set the IPv6 address to the unspecified IPv6 address, and
  2169. explicitly initialize the port to zero. Fixes bug 24488; bugfix
  2170. on 0.2.4.1-alpha.
  2171. o Minor bugfixes (fallback directory mirrors):
  2172. - Make updateFallbackDirs.py search harder for python. (Some OSs
  2173. don't put it in /usr/bin.) Fixes bug 24708; bugfix
  2174. on 0.2.8.1-alpha.
  2175. o Minor bugfixes (hibernation, bandwidth accounting, shutdown):
  2176. - When hibernating, close connections normally and allow them to
  2177. flush. Fixes bug 23571; bugfix on 0.2.4.7-alpha. Also fixes
  2178. bug 7267.
  2179. - Do not attempt to launch self-reachability tests when entering
  2180. hibernation. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
  2181. - Resolve several bugs related to descriptor fetching on bridge
  2182. clients with bandwidth accounting enabled. (This combination is
  2183. not recommended!) Fixes a case of bug 12062; bugfix
  2184. on 0.2.0.3-alpha.
  2185. - When hibernating, do not attempt to launch DNS checks. Fixes a
  2186. case of bug 12062; bugfix on 0.1.2.2-alpha.
  2187. - When hibernating, do not try to upload or download descriptors.
  2188. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
  2189. o Minor bugfixes (IPv6, bridges):
  2190. - Tor now always sets IPv6 preferences for bridges. Fixes bug 24573;
  2191. bugfix on 0.2.8.2-alpha.
  2192. - Tor now sets IPv6 address in the routerstatus as well as in the
  2193. router descriptors when updating addresses for a bridge. Closes
  2194. ticket 24572; bugfix on 0.2.4.5-alpha. Patch by "ffmancera".
  2195. o Minor bugfixes (linux seccomp2 sandbox):
  2196. - When running with the sandbox enabled, reload configuration files
  2197. correctly even when %include was used. Previously we would crash.
  2198. Fixes bug 22605; bugfix on 0.3.1. Patch from Daniel Pinto.
  2199. o Minor bugfixes (memory leaks):
  2200. - Avoid possible at-exit memory leaks related to use of Libevent's
  2201. event_base_once() function. (This function tends to leak memory if
  2202. the event_base is closed before the event fires.) Fixes bug 24584;
  2203. bugfix on 0.2.8.1-alpha.
  2204. - Fix a harmless memory leak in tor-resolve. Fixes bug 24582; bugfix
  2205. on 0.2.1.1-alpha.
  2206. o Minor bugfixes (OSX):
  2207. - Don't exit the Tor process if setrlimit() fails to change the file
  2208. limit (which can happen sometimes on some versions of OSX). Fixes
  2209. bug 21074; bugfix on 0.0.9pre5.
  2210. o Minor bugfixes (performance, fragile-hardening):
  2211. - Improve the performance of our consensus-diff application code
  2212. when Tor is built with the --enable-fragile-hardening option set.
  2213. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  2214. o Minor bugfixes (performance, timeouts):
  2215. - Consider circuits for timeout as soon as they complete a hop. This
  2216. is more accurate than applying the timeout in
  2217. circuit_expire_building() because that function is only called
  2218. once per second, which is now too slow for typical timeouts on the
  2219. current network. Fixes bug 23114; bugfix on 0.2.2.2-alpha.
  2220. - Use onion service circuits (and other circuits longer than 3 hops)
  2221. to calculate a circuit build timeout. Previously, Tor only
  2222. calculated its build timeout based on circuits that planned to be
  2223. exactly 3 hops long. With this change, we include measurements
  2224. from all circuits at the point where they complete their third
  2225. hop. Fixes bug 23100; bugfix on 0.2.2.2-alpha.
  2226. o Minor bugfixes (testing):
  2227. - Give out Exit flags in bootstrapping networks. Fixes bug 24137;
  2228. bugfix on 0.2.3.1-alpha.
  2229. - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
  2230. 25005; bugfix on 0.3.2.7-rc.
  2231. o Code simplification and refactoring:
  2232. - Remove /usr/athena from search path in configure.ac. Closes
  2233. ticket 24363.
  2234. - Remove duplicate code in node_has_curve25519_onion_key() and
  2235. node_get_curve25519_onion_key(), and add a check for a zero
  2236. microdesc curve25519 onion key. Closes ticket 23966, patch by
  2237. "aruna1234" and teor.
  2238. - Rewrite channel_rsa_id_group_set_badness to reduce temporary
  2239. memory allocations with large numbers of OR connections (e.g.
  2240. relays). Closes ticket 24119.
  2241. - Separate the function that deletes ephemeral files when Tor
  2242. stops gracefully.
  2243. - Small changes to Tor's buf_t API to make it suitable for use as a
  2244. general-purpose safe string constructor. Closes ticket 22342.
  2245. - Switch -Wnormalized=id to -Wnormalized=nfkc in configure.ac to
  2246. avoid source code identifier confusion. Closes ticket 24467.
  2247. - The tor_git_revision[] constant no longer needs to be redeclared
  2248. by everything that links against the rest of Tor. Done as part of
  2249. ticket 23845, to simplify our external API.
  2250. - We make extend_info_from_node() use node_get_curve25519_onion_key()
  2251. introduced in ticket 23577 to access the curve25519 public keys
  2252. rather than accessing it directly. Closes ticket 23760. Patch by
  2253. Neel Chauhan.
  2254. - Add a function to log channels' scheduler state changes to aid
  2255. debugging efforts. Closes ticket 24531.
  2256. o Documentation:
  2257. - Add documentation on how to build tor with Rust dependencies
  2258. without having to be online. Closes ticket 22907; bugfix
  2259. on 0.3.0.3-alpha.
  2260. - Clarify the behavior of RelayBandwidth{Rate,Burst} with client
  2261. traffic. Closes ticket 24318.
  2262. - Document that OutboundBindAddress doesn't apply to DNS requests.
  2263. Closes ticket 22145. Patch from Aruna Maurya.
  2264. - Document that operators who run more than one relay or bridge are
  2265. expected to set MyFamily and ContactInfo correctly. Closes
  2266. ticket 24526.
  2267. o Code simplification and refactoring (channels):
  2268. - Remove the incoming and outgoing channel queues. These were never
  2269. used, but still took up a step in our fast path.
  2270. - The majority of the channel unit tests have been rewritten and the
  2271. code coverage has now been raised to 83.6% for channel.c. Closes
  2272. ticket 23709.
  2273. - Remove other dead code from the channel subsystem: All together,
  2274. this cleanup has removed more than 1500 lines of code overall and
  2275. adding very little except for unit test.
  2276. o Code simplification and refactoring (circuit rendezvous):
  2277. - Split the client-side rendezvous circuit lookup into two
  2278. functions: one that returns only established circuits and another
  2279. that returns all kinds of circuits. Closes ticket 23459.
  2280. o Code simplification and refactoring (controller):
  2281. - Make most of the variables in networkstatus_getinfo_by_purpose()
  2282. const. Implements ticket 24489.
  2283. Changes in version 0.3.2.9 - 2018-01-09
  2284. Tor 0.3.2.9 is the first stable release in the 0.3.2 series.
  2285. The 0.3.2 series includes our long-anticipated new onion service
  2286. design, with numerous security features. (For more information, see
  2287. our blog post at https://blog.torproject.org/fall-harvest.) We also
  2288. have a new circuit scheduler algorithm for improved performance on
  2289. relays everywhere (see https://blog.torproject.org/kist-and-tell),
  2290. along with many smaller features and bugfixes.
  2291. Per our stable release policy, we plan to support each stable release
  2292. series for at least the next nine months, or for three months after
  2293. the first stable release of the next series: whichever is longer. If
  2294. you need a release with long-term support, we recommend that you stay
  2295. with the 0.2.9 series.
  2296. Below is a list of the changes since 0.3.2.8-rc. For a list of all
  2297. changes since 0.3.1, see the ReleaseNotes file.
  2298. o Minor features (fallback directory mirrors):
  2299. - The fallback directory list has been re-generated based on the
  2300. current status of the network. Tor uses fallback directories to
  2301. bootstrap when it doesn't yet have up-to-date directory
  2302. information. Closes ticket 24801.
  2303. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  2304. prefer to bootstrap from fallback directory mirrors. This is a
  2305. follow-up to 24679, which removed weights from the default
  2306. fallbacks. Implements ticket 24681.
  2307. o Minor features (geoip):
  2308. - Update geoip and geoip6 to the January 5 2018 Maxmind GeoLite2
  2309. Country database.
  2310. o Minor bugfixes (address selection):
  2311. - When the fascist_firewall_choose_address_ functions don't find a
  2312. reachable address, set the returned address to the null address
  2313. and port. This is a precautionary measure, because some callers do
  2314. not check the return value. Fixes bug 24736; bugfix
  2315. on 0.2.8.2-alpha.
  2316. o Minor bugfixes (compilation):
  2317. - Resolve a few shadowed-variable warnings in the onion service
  2318. code. Fixes bug 24634; bugfix on 0.3.2.1-alpha.
  2319. o Minor bugfixes (portability, msvc):
  2320. - Fix a bug in the bit-counting parts of our timing-wheel code on
  2321. MSVC. (Note that MSVC is still not a supported build platform, due
  2322. to cryptographic timing channel risks.) Fixes bug 24633; bugfix
  2323. on 0.2.9.1-alpha.
  2324. Changes in version 0.3.2.8-rc - 2017-12-21
  2325. Tor 0.3.2.8-rc fixes a pair of bugs in the KIST and KISTLite
  2326. schedulers that had led servers under heavy load to overload their
  2327. outgoing connections. All relay operators running earlier 0.3.2.x
  2328. versions should upgrade. This version also includes a mitigation for
  2329. over-full DESTROY queues leading to out-of-memory conditions: if it
  2330. works, we will soon backport it to earlier release series.
  2331. This is the second release candidate in the 0.3.2 series. If we find
  2332. no new bugs or regression here, then the first stable 0.3.2 release
  2333. will be nearly identical to this.
  2334. o Major bugfixes (KIST, scheduler):
  2335. - The KIST scheduler did not correctly account for data already
  2336. enqueued in each connection's send socket buffer, particularly in
  2337. cases when the TCP/IP congestion window was reduced between
  2338. scheduler calls. This situation lead to excessive per-connection
  2339. buffering in the kernel, and a potential memory DoS. Fixes bug
  2340. 24665; bugfix on 0.3.2.1-alpha.
  2341. o Minor features (geoip):
  2342. - Update geoip and geoip6 to the December 6 2017 Maxmind GeoLite2
  2343. Country database.
  2344. o Minor bugfixes (hidden service v3):
  2345. - Bump hsdir_spread_store parameter from 3 to 4 in order to increase
  2346. the probability of reaching a service for a client missing
  2347. microdescriptors. Fixes bug 24425; bugfix on 0.3.2.1-alpha.
  2348. o Minor bugfixes (memory usage):
  2349. - When queuing DESTROY cells on a channel, only queue the circuit-id
  2350. and reason fields: not the entire 514-byte cell. This fix should
  2351. help mitigate any bugs or attacks that fill up these queues, and
  2352. free more RAM for other uses. Fixes bug 24666; bugfix
  2353. on 0.2.5.1-alpha.
  2354. o Minor bugfixes (scheduler, KIST):
  2355. - Use a sane write limit for KISTLite when writing onto a connection
  2356. buffer instead of using INT_MAX and shoving as much as it can.
  2357. Because the OOM handler cleans up circuit queues, we are better
  2358. off at keeping them in that queue instead of the connection's
  2359. buffer. Fixes bug 24671; bugfix on 0.3.2.1-alpha.
  2360. Changes in version 0.3.2.7-rc - 2017-12-14
  2361. Tor 0.3.2.7-rc fixes various bugs in earlier versions of Tor,
  2362. including some that could affect reliability or correctness.
  2363. This is the first release candidate in the 0.3.2 series. If we find no
  2364. new bugs or regression here, then the first stable 0.3.2. release will
  2365. be nearly identical to this.
  2366. o Major bugfixes (circuit prediction):
  2367. - Fix circuit prediction logic so that a client doesn't treat a port
  2368. as being "handled" by a circuit if that circuit already has
  2369. isolation settings on it. This change should make Tor clients more
  2370. responsive by improving their chances of having a pre-created
  2371. circuit ready for use when a request arrives. Fixes bug 18859;
  2372. bugfix on 0.2.3.3-alpha.
  2373. o Minor features (logging):
  2374. - Provide better warnings when the getrandom() syscall fails. Closes
  2375. ticket 24500.
  2376. o Minor features (portability):
  2377. - Tor now compiles correctly on arm64 with libseccomp-dev installed.
  2378. (It doesn't yet work with the sandbox enabled.) Closes
  2379. ticket 24424.
  2380. o Minor bugfixes (bridge clients, bootstrap):
  2381. - Retry directory downloads when we get our first bridge descriptor
  2382. during bootstrap or while reconnecting to the network. Keep
  2383. retrying every time we get a bridge descriptor, until we have a
  2384. reachable bridge. Fixes part of bug 24367; bugfix on 0.2.0.3-alpha.
  2385. - Stop delaying bridge descriptor fetches when we have cached bridge
  2386. descriptors. Instead, only delay bridge descriptor fetches when we
  2387. have at least one reachable bridge. Fixes part of bug 24367;
  2388. bugfix on 0.2.0.3-alpha.
  2389. - Stop delaying directory fetches when we have cached bridge
  2390. descriptors. Instead, only delay bridge descriptor fetches when
  2391. all our bridges are definitely unreachable. Fixes part of bug
  2392. 24367; bugfix on 0.2.0.3-alpha.
  2393. o Minor bugfixes (compilation):
  2394. - Fix a signed/unsigned comparison warning introduced by our fix to
  2395. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  2396. o Minor bugfixes (correctness):
  2397. - Fix several places in our codebase where a C compiler would be
  2398. likely to eliminate a check, based on assuming that undefined
  2399. behavior had not happened elsewhere in the code. These cases are
  2400. usually a sign of redundant checking or dubious arithmetic. Found
  2401. by Georg Koppen using the "STACK" tool from Wang, Zeldovich,
  2402. Kaashoek, and Solar-Lezama. Fixes bug 24423; bugfix on various
  2403. Tor versions.
  2404. o Minor bugfixes (onion service v3):
  2405. - Fix a race where an onion service would launch a new intro circuit
  2406. after closing an old one, but fail to register it before freeing
  2407. the previously closed circuit. This bug was making the service
  2408. unable to find the established intro circuit and thus not upload
  2409. its descriptor, thus making a service unavailable for up to 24
  2410. hours. Fixes bug 23603; bugfix on 0.3.2.1-alpha.
  2411. o Minor bugfixes (scheduler, KIST):
  2412. - Properly set the scheduler state of an unopened channel in the
  2413. KIST scheduler main loop. This prevents a harmless but annoying
  2414. log warning. Fixes bug 24502; bugfix on 0.3.2.4-alpha.
  2415. - Avoid a possible integer overflow when computing the available
  2416. space on the TCP buffer of a channel. This had no security
  2417. implications; but could make KIST allow too many cells on a
  2418. saturated connection. Fixes bug 24590; bugfix on 0.3.2.1-alpha.
  2419. - Downgrade to "info" a harmless warning about the monotonic time
  2420. moving backwards: This can happen on platform not supporting
  2421. monotonic time. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
  2422. Changes in version 0.3.2.6-alpha - 2017-12-01
  2423. This version of Tor is the latest in the 0.3.2 alpha series. It
  2424. includes fixes for several important security issues. All Tor users
  2425. should upgrade to this release, or to one of the other releases coming
  2426. out today.
  2427. o Major bugfixes (security):
  2428. - Fix a denial of service bug where an attacker could use a
  2429. malformed directory object to cause a Tor instance to pause while
  2430. OpenSSL would try to read a passphrase from the terminal. (Tor
  2431. instances run without a terminal, which is the case for most Tor
  2432. packages, are not impacted.) Fixes bug 24246; bugfix on every
  2433. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  2434. Found by OSS-Fuzz as testcase 6360145429790720.
  2435. - Fix a denial of service issue where an attacker could crash a
  2436. directory authority using a malformed router descriptor. Fixes bug
  2437. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  2438. and CVE-2017-8820.
  2439. - When checking for replays in the INTRODUCE1 cell data for a
  2440. (legacy) onion service, correctly detect replays in the RSA-
  2441. encrypted part of the cell. We were previously checking for
  2442. replays on the entire cell, but those can be circumvented due to
  2443. the malleability of Tor's legacy hybrid encryption. This fix helps
  2444. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  2445. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  2446. and CVE-2017-8819.
  2447. o Major bugfixes (security, onion service v2):
  2448. - Fix a use-after-free error that could crash v2 Tor onion services
  2449. when they failed to open circuits while expiring introduction
  2450. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  2451. also tracked as TROVE-2017-013 and CVE-2017-8823.
  2452. o Major bugfixes (security, relay):
  2453. - When running as a relay, make sure that we never build a path
  2454. through ourselves, even in the case where we have somehow lost the
  2455. version of our descriptor appearing in the consensus. Fixes part
  2456. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  2457. as TROVE-2017-012 and CVE-2017-8822.
  2458. - When running as a relay, make sure that we never choose ourselves
  2459. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  2460. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  2461. o Minor feature (relay statistics):
  2462. - Change relay bandwidth reporting stats interval from 4 hours to 24
  2463. hours in order to reduce the efficiency of guard discovery
  2464. attacks. Fixes ticket 23856.
  2465. o Minor features (directory authority):
  2466. - Add an IPv6 address for the "bastet" directory authority. Closes
  2467. ticket 24394.
  2468. o Minor bugfixes (client):
  2469. - By default, do not enable storage of client-side DNS values. These
  2470. values were unused by default previously, but they should not have
  2471. been cached at all. Fixes bug 24050; bugfix on 0.2.6.3-alpha.
  2472. Changes in version 0.3.1.9 - 2017-12-01:
  2473. Tor 0.3.1.9 backports important security and stability fixes from the
  2474. 0.3.2 development series. All Tor users should upgrade to this
  2475. release, or to another of the releases coming out today.
  2476. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  2477. - Fix a denial of service bug where an attacker could use a
  2478. malformed directory object to cause a Tor instance to pause while
  2479. OpenSSL would try to read a passphrase from the terminal. (Tor
  2480. instances run without a terminal, which is the case for most Tor
  2481. packages, are not impacted.) Fixes bug 24246; bugfix on every
  2482. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  2483. Found by OSS-Fuzz as testcase 6360145429790720.
  2484. - Fix a denial of service issue where an attacker could crash a
  2485. directory authority using a malformed router descriptor. Fixes bug
  2486. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  2487. and CVE-2017-8820.
  2488. - When checking for replays in the INTRODUCE1 cell data for a
  2489. (legacy) onion service, correctly detect replays in the RSA-
  2490. encrypted part of the cell. We were previously checking for
  2491. replays on the entire cell, but those can be circumvented due to
  2492. the malleability of Tor's legacy hybrid encryption. This fix helps
  2493. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  2494. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  2495. and CVE-2017-8819.
  2496. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  2497. - Fix a use-after-free error that could crash v2 Tor onion services
  2498. when they failed to open circuits while expiring introduction
  2499. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  2500. also tracked as TROVE-2017-013 and CVE-2017-8823.
  2501. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  2502. - When running as a relay, make sure that we never build a path
  2503. through ourselves, even in the case where we have somehow lost the
  2504. version of our descriptor appearing in the consensus. Fixes part
  2505. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  2506. as TROVE-2017-012 and CVE-2017-8822.
  2507. - When running as a relay, make sure that we never choose ourselves
  2508. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  2509. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  2510. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  2511. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  2512. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  2513. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  2514. identifying and finding a workaround to this bug and to Moritz,
  2515. Arthur Edelstein, and Roger for helping to track it down and
  2516. analyze it.
  2517. o Minor features (bridge):
  2518. - Bridges now include notice in their descriptors that they are
  2519. bridges, and notice of their distribution status, based on their
  2520. publication settings. Implements ticket 18329. For more fine-
  2521. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  2522. or later.
  2523. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  2524. - Add an IPv6 address for the "bastet" directory authority. Closes
  2525. ticket 24394.
  2526. o Minor features (geoip):
  2527. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  2528. Country database.
  2529. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  2530. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  2531. relays, to prevent spurious address resolutions and descriptor
  2532. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  2533. bugfix on in 0.2.8.1-alpha.
  2534. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  2535. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  2536. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  2537. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  2538. - When a circuit is marked for close, do not attempt to package any
  2539. cells for channels on that circuit. Previously, we would detect
  2540. this condition lower in the call stack, when we noticed that the
  2541. circuit had no attached channel, and log an annoying message.
  2542. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  2543. o Minor bugfixes (onion service, backport from 0.3.2.5-alpha):
  2544. - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
  2545. so it matches dir-spec.txt. Fixes bug 24262; bugfix
  2546. on 0.3.1.1-alpha.
  2547. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  2548. - Avoid a crash when transitioning from client mode to bridge mode.
  2549. Previously, we would launch the worker threads whenever our
  2550. "public server" mode changed, but not when our "server" mode
  2551. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  2552. Changes in version 0.3.0.13 - 2017-12-01
  2553. Tor 0.3.0.13 backports important security and stability bugfixes from
  2554. later Tor releases. All Tor users should upgrade to this release, or
  2555. to another of the releases coming out today.
  2556. Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
  2557. 2018. If you need a release with long-term support, please stick with
  2558. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  2559. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  2560. - Fix a denial of service bug where an attacker could use a
  2561. malformed directory object to cause a Tor instance to pause while
  2562. OpenSSL would try to read a passphrase from the terminal. (Tor
  2563. instances run without a terminal, which is the case for most Tor
  2564. packages, are not impacted.) Fixes bug 24246; bugfix on every
  2565. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  2566. Found by OSS-Fuzz as testcase 6360145429790720.
  2567. - Fix a denial of service issue where an attacker could crash a
  2568. directory authority using a malformed router descriptor. Fixes bug
  2569. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  2570. and CVE-2017-8820.
  2571. - When checking for replays in the INTRODUCE1 cell data for a
  2572. (legacy) onion service, correctly detect replays in the RSA-
  2573. encrypted part of the cell. We were previously checking for
  2574. replays on the entire cell, but those can be circumvented due to
  2575. the malleability of Tor's legacy hybrid encryption. This fix helps
  2576. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  2577. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  2578. and CVE-2017-8819.
  2579. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  2580. - Fix a use-after-free error that could crash v2 Tor onion services
  2581. when they failed to open circuits while expiring introduction
  2582. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  2583. also tracked as TROVE-2017-013 and CVE-2017-8823.
  2584. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  2585. - When running as a relay, make sure that we never build a path
  2586. through ourselves, even in the case where we have somehow lost the
  2587. version of our descriptor appearing in the consensus. Fixes part
  2588. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  2589. as TROVE-2017-012 and CVE-2017-8822.
  2590. - When running as a relay, make sure that we never choose ourselves
  2591. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  2592. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  2593. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  2594. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  2595. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  2596. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  2597. identifying and finding a workaround to this bug and to Moritz,
  2598. Arthur Edelstein, and Roger for helping to track it down and
  2599. analyze it.
  2600. o Minor features (security, windows, backport from 0.3.1.1-alpha):
  2601. - Enable a couple of pieces of Windows hardening: one
  2602. (HeapEnableTerminationOnCorruption) that has been on-by-default
  2603. since Windows 8, and unavailable before Windows 7; and one
  2604. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  2605. affect us, but shouldn't do any harm. Closes ticket 21953.
  2606. o Minor features (bridge, backport from 0.3.1.9):
  2607. - Bridges now include notice in their descriptors that they are
  2608. bridges, and notice of their distribution status, based on their
  2609. publication settings. Implements ticket 18329. For more fine-
  2610. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  2611. or later.
  2612. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  2613. - Add an IPv6 address for the "bastet" directory authority. Closes
  2614. ticket 24394.
  2615. o Minor features (geoip):
  2616. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  2617. Country database.
  2618. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  2619. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  2620. relays, to prevent spurious address resolutions and descriptor
  2621. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  2622. bugfix on in 0.2.8.1-alpha.
  2623. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  2624. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  2625. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  2626. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  2627. - When a circuit is marked for close, do not attempt to package any
  2628. cells for channels on that circuit. Previously, we would detect
  2629. this condition lower in the call stack, when we noticed that the
  2630. circuit had no attached channel, and log an annoying message.
  2631. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  2632. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  2633. - Avoid a crash when transitioning from client mode to bridge mode.
  2634. Previously, we would launch the worker threads whenever our
  2635. "public server" mode changed, but not when our "server" mode
  2636. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  2637. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  2638. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  2639. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  2640. Changes in version 0.2.9.14 - 2017-12-01
  2641. Tor 0.3.0.13 backports important security and stability bugfixes from
  2642. later Tor releases. All Tor users should upgrade to this release, or
  2643. to another of the releases coming out today.
  2644. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  2645. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  2646. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  2647. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  2648. identifying and finding a workaround to this bug and to Moritz,
  2649. Arthur Edelstein, and Roger for helping to track it down and
  2650. analyze it.
  2651. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  2652. - Fix a denial of service bug where an attacker could use a
  2653. malformed directory object to cause a Tor instance to pause while
  2654. OpenSSL would try to read a passphrase from the terminal. (Tor
  2655. instances run without a terminal, which is the case for most Tor
  2656. packages, are not impacted.) Fixes bug 24246; bugfix on every
  2657. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  2658. Found by OSS-Fuzz as testcase 6360145429790720.
  2659. - Fix a denial of service issue where an attacker could crash a
  2660. directory authority using a malformed router descriptor. Fixes bug
  2661. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  2662. and CVE-2017-8820.
  2663. - When checking for replays in the INTRODUCE1 cell data for a
  2664. (legacy) onion service, correctly detect replays in the RSA-
  2665. encrypted part of the cell. We were previously checking for
  2666. replays on the entire cell, but those can be circumvented due to
  2667. the malleability of Tor's legacy hybrid encryption. This fix helps
  2668. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  2669. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  2670. and CVE-2017-8819.
  2671. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  2672. - Fix a use-after-free error that could crash v2 Tor onion services
  2673. when they failed to open circuits while expiring introduction
  2674. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  2675. also tracked as TROVE-2017-013 and CVE-2017-8823.
  2676. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  2677. - When running as a relay, make sure that we never build a path
  2678. through ourselves, even in the case where we have somehow lost the
  2679. version of our descriptor appearing in the consensus. Fixes part
  2680. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  2681. as TROVE-2017-012 and CVE-2017-8822.
  2682. o Minor features (bridge, backport from 0.3.1.9):
  2683. - Bridges now include notice in their descriptors that they are
  2684. bridges, and notice of their distribution status, based on their
  2685. publication settings. Implements ticket 18329. For more fine-
  2686. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  2687. or later.
  2688. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  2689. - Add an IPv6 address for the "bastet" directory authority. Closes
  2690. ticket 24394.
  2691. o Minor features (geoip):
  2692. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  2693. Country database.
  2694. o Minor features (security, windows, backport from 0.3.1.1-alpha):
  2695. - Enable a couple of pieces of Windows hardening: one
  2696. (HeapEnableTerminationOnCorruption) that has been on-by-default
  2697. since Windows 8, and unavailable before Windows 7; and one
  2698. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  2699. affect us, but shouldn't do any harm. Closes ticket 21953.
  2700. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  2701. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  2702. relays, to prevent spurious address resolutions and descriptor
  2703. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  2704. bugfix on in 0.2.8.1-alpha.
  2705. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  2706. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  2707. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  2708. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  2709. - When a circuit is marked for close, do not attempt to package any
  2710. cells for channels on that circuit. Previously, we would detect
  2711. this condition lower in the call stack, when we noticed that the
  2712. circuit had no attached channel, and log an annoying message.
  2713. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  2714. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  2715. - Avoid a crash when transitioning from client mode to bridge mode.
  2716. Previously, we would launch the worker threads whenever our
  2717. "public server" mode changed, but not when our "server" mode
  2718. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  2719. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  2720. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  2721. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  2722. Changes in version 0.2.8.17 - 2017-12-01
  2723. Tor 0.2.8.17 backports important security and stability bugfixes from
  2724. later Tor releases. All Tor users should upgrade to this release, or
  2725. to another of the releases coming out today.
  2726. Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
  2727. 2018. If you need a release with long-term support, please upgrade with
  2728. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  2729. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  2730. - Fix a denial of service bug where an attacker could use a
  2731. malformed directory object to cause a Tor instance to pause while
  2732. OpenSSL would try to read a passphrase from the terminal. (Tor
  2733. instances run without a terminal, which is the case for most Tor
  2734. packages, are not impacted.) Fixes bug 24246; bugfix on every
  2735. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  2736. Found by OSS-Fuzz as testcase 6360145429790720.
  2737. - When checking for replays in the INTRODUCE1 cell data for a
  2738. (legacy) onion service, correctly detect replays in the RSA-
  2739. encrypted part of the cell. We were previously checking for
  2740. replays on the entire cell, but those can be circumvented due to
  2741. the malleability of Tor's legacy hybrid encryption. This fix helps
  2742. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  2743. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  2744. and CVE-2017-8819.
  2745. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  2746. - Fix a use-after-free error that could crash v2 Tor onion services
  2747. when they failed to open circuits while expiring introduction
  2748. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  2749. also tracked as TROVE-2017-013 and CVE-2017-8823.
  2750. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  2751. - When running as a relay, make sure that we never build a path through
  2752. ourselves, even in the case where we have somehow lost the version of
  2753. our descriptor appearing in the consensus. Fixes part of bug 21534;
  2754. bugfix on 0.2.0.1-alpha. This issue is also tracked as TROVE-2017-012
  2755. and CVE-2017-8822.
  2756. o Minor features (bridge, backport from 0.3.1.9):
  2757. - Bridges now include notice in their descriptors that they are
  2758. bridges, and notice of their distribution status, based on their
  2759. publication settings. Implements ticket 18329. For more fine-
  2760. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  2761. or later.
  2762. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  2763. - Add an IPv6 address for the "bastet" directory authority. Closes
  2764. ticket 24394.
  2765. o Minor features (geoip):
  2766. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  2767. Country database.
  2768. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  2769. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  2770. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  2771. Changes in version 0.2.5.16 - 2017-12-01
  2772. Tor 0.2.5.13 backports important security and stability bugfixes from
  2773. later Tor releases. All Tor users should upgrade to this release, or
  2774. to another of the releases coming out today.
  2775. Note: the Tor 0.2.5 series will no longer be supported after 1 May
  2776. 2018. If you need a release with long-term support, please upgrade to
  2777. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  2778. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  2779. - Fix a denial of service bug where an attacker could use a
  2780. malformed directory object to cause a Tor instance to pause while
  2781. OpenSSL would try to read a passphrase from the terminal. (Tor
  2782. instances run without a terminal, which is the case for most Tor
  2783. packages, are not impacted.) Fixes bug 24246; bugfix on every
  2784. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  2785. Found by OSS-Fuzz as testcase 6360145429790720.
  2786. - When checking for replays in the INTRODUCE1 cell data for a
  2787. (legacy) onion service, correctly detect replays in the RSA-
  2788. encrypted part of the cell. We were previously checking for
  2789. replays on the entire cell, but those can be circumvented due to
  2790. the malleability of Tor's legacy hybrid encryption. This fix helps
  2791. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  2792. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  2793. and CVE-2017-8819.
  2794. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  2795. - When running as a relay, make sure that we never build a path
  2796. through ourselves, even in the case where we have somehow lost the
  2797. version of our descriptor appearing in the consensus. Fixes part
  2798. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  2799. as TROVE-2017-012 and CVE-2017-8822.
  2800. o Minor features (bridge, backport from 0.3.1.9):
  2801. - Bridges now include notice in their descriptors that they are
  2802. bridges, and notice of their distribution status, based on their
  2803. publication settings. Implements ticket 18329. For more fine-
  2804. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  2805. or later.
  2806. o Minor features (geoip):
  2807. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  2808. Country database.
  2809. Changes in version 0.3.2.5-alpha - 2017-11-22
  2810. Tor 0.3.2.5-alpha is the fifth alpha release in the 0.3.2.x series. It
  2811. fixes several stability and reliability bugs, including a fix for
  2812. intermittent bootstrapping failures that some people have been seeing
  2813. since the 0.3.0.x series.
  2814. Please test this alpha out -- many of these fixes will soon be
  2815. backported to stable Tor versions if no additional bugs are found
  2816. in them.
  2817. o Major bugfixes (bootstrapping):
  2818. - Fetch descriptors aggressively whenever we lack enough to build
  2819. circuits, regardless of how many descriptors we are missing.
  2820. Previously, we would delay launching the fetch when we had fewer
  2821. than 15 missing descriptors, even if some of those descriptors
  2822. were blocking circuits from building. Fixes bug 23985; bugfix on
  2823. 0.1.1.11-alpha. The effects of this bug became worse in
  2824. 0.3.0.3-alpha, when we began treating missing descriptors from our
  2825. primary guards as a reason to delay circuits.
  2826. - Don't try fetching microdescriptors from relays that have failed
  2827. to deliver them in the past. Fixes bug 23817; bugfix
  2828. on 0.3.0.1-alpha.
  2829. o Minor features (directory authority):
  2830. - Make the "Exit" flag assignment only depend on whether the exit
  2831. policy allows connections to ports 80 and 443. Previously relays
  2832. would get the Exit flag if they allowed connections to one of
  2833. these ports and also port 6667. Resolves ticket 23637.
  2834. o Minor features (geoip):
  2835. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  2836. Country database.
  2837. o Minor features (linux seccomp2 sandbox):
  2838. - Update the sandbox rules so that they should now work correctly
  2839. with Glibc 2.26. Closes ticket 24315.
  2840. o Minor features (logging):
  2841. - Downgrade a pair of log messages that could occur when an exit's
  2842. resolver gave us an unusual (but not forbidden) response. Closes
  2843. ticket 24097.
  2844. - Improve the message we log when re-enabling circuit build timeouts
  2845. after having received a consensus. Closes ticket 20963.
  2846. o Minor bugfixes (compilation):
  2847. - Fix a memory leak warning in one of the libevent-related
  2848. configuration tests that could occur when manually specifying
  2849. -fsanitize=address. Fixes bug 24279; bugfix on 0.3.0.2-alpha.
  2850. Found and patched by Alex Xu.
  2851. - When detecting OpenSSL on Windows from our configure script, make
  2852. sure to try linking with the ws2_32 library. Fixes bug 23783;
  2853. bugfix on 0.3.2.2-alpha.
  2854. o Minor bugfixes (control port, linux seccomp2 sandbox):
  2855. - Avoid a crash when attempting to use the seccomp2 sandbox together
  2856. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  2857. on 0.2.5.1-alpha.
  2858. o Minor bugfixes (control port, onion services):
  2859. - Report "FAILED" instead of "UPLOAD_FAILED" "FAILED" for the
  2860. HS_DESC event when a service is not able to upload a descriptor.
  2861. Fixes bug 24230; bugfix on 0.2.7.1-alpha.
  2862. o Minor bugfixes (directory cache):
  2863. - Recover better from empty or corrupt files in the consensus cache
  2864. directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
  2865. - When a consensus diff calculation is only partially successful,
  2866. only record the successful parts as having succeeded. Partial
  2867. success can happen if (for example) one compression method fails
  2868. but the others succeed. Previously we misrecorded all the
  2869. calculations as having succeeded, which would later cause a
  2870. nonfatal assertion failure. Fixes bug 24086; bugfix
  2871. on 0.3.1.1-alpha.
  2872. o Minor bugfixes (logging):
  2873. - Only log once if we notice that KIST support is gone. Fixes bug
  2874. 24158; bugfix on 0.3.2.1-alpha.
  2875. - Suppress a log notice when relay descriptors arrive. We already
  2876. have a bootstrap progress for this so no need to log notice
  2877. everytime tor receives relay descriptors. Microdescriptors behave
  2878. the same. Fixes bug 23861; bugfix on 0.2.8.2-alpha.
  2879. o Minor bugfixes (network layer):
  2880. - When closing a connection via close_connection_immediately(), we
  2881. mark it as "not blocked on bandwidth", to prevent later calls from
  2882. trying to unblock it, and give it permission to read. This fixes a
  2883. backtrace warning that can happen on relays under various
  2884. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  2885. o Minor bugfixes (onion services):
  2886. - The introduction circuit was being timed out too quickly while
  2887. waiting for the rendezvous circuit to complete. Keep the intro
  2888. circuit around longer instead of timing out and reopening new ones
  2889. constantly. Fixes bug 23681; bugfix on 0.2.4.8-alpha.
  2890. - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
  2891. so it matches dir-spec.txt. Fixes bug 24262; bugfix
  2892. on 0.3.1.1-alpha.
  2893. - Silence a warning about failed v3 onion descriptor uploads that
  2894. can happen naturally under certain edge cases. Fixes part of bug
  2895. 23662; bugfix on 0.3.2.1-alpha.
  2896. o Minor bugfixes (tests):
  2897. - Fix a memory leak in one of the bridge-distribution test cases.
  2898. Fixes bug 24345; bugfix on 0.3.2.3-alpha.
  2899. - Fix a bug in our fuzzing mock replacement for crypto_pk_checksig(),
  2900. to correctly handle cases where a caller gives it an RSA key of
  2901. under 160 bits. (This is not actually a bug in Tor itself, but
  2902. rather in our fuzzing code.) Fixes bug 24247; bugfix on
  2903. 0.3.0.3-alpha. Found by OSS-Fuzz as issue 4177.
  2904. o Documentation:
  2905. - Add notes in man page regarding OS support for the various
  2906. scheduler types. Attempt to use less jargon in the scheduler
  2907. section. Closes ticket 24254.
  2908. Changes in version 0.3.2.4-alpha - 2017-11-08
  2909. Tor 0.3.2.4-alpha is the fourth alpha release in the 0.3.2.x series.
  2910. It fixes several stability and reliability bugs, especially including
  2911. a major reliability issue that has been plaguing fast exit relays in
  2912. recent months.
  2913. o Major bugfixes (exit relays, DNS):
  2914. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  2915. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  2916. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  2917. identifying and finding a workaround to this bug and to Moritz,
  2918. Arthur Edelstein, and Roger for helping to track it down and
  2919. analyze it.
  2920. o Major bugfixes (scheduler, channel):
  2921. - Stop processing scheduled channels if they closed while flushing
  2922. cells. This can happen if the write on the connection fails
  2923. leading to the channel being closed while in the scheduler loop.
  2924. Fixes bug 23751; bugfix on 0.3.2.1-alpha.
  2925. o Minor features (logging, scheduler):
  2926. - Introduce a SCHED_BUG() function to log extra information about
  2927. the scheduler state if we ever catch a bug in the scheduler.
  2928. Closes ticket 23753.
  2929. o Minor features (removed deprecations):
  2930. - The ClientDNSRejectInternalAddresses flag can once again be set in
  2931. non-testing Tor networks, so long as they do not use the default
  2932. directory authorities. This change also removes the deprecation of
  2933. this flag from 0.2.9.2-alpha. Closes ticket 21031.
  2934. o Minor features (testing):
  2935. - Our fuzzing tests now test the encrypted portions of v3 onion
  2936. service descriptors. Implements more of 21509.
  2937. o Minor bugfixes (directory client):
  2938. - On failure to download directory information, delay retry attempts
  2939. by a random amount based on the "decorrelated jitter" algorithm.
  2940. Our previous delay algorithm tended to produce extra-long delays
  2941. too easily. Fixes bug 23816; bugfix on 0.2.9.1-alpha.
  2942. o Minor bugfixes (IPv6, v3 single onion services):
  2943. - Remove buggy code for IPv6-only v3 single onion services, and
  2944. reject attempts to configure them. This release supports IPv4,
  2945. dual-stack, and IPv6-only v3 onion services; and IPv4 and dual-
  2946. stack v3 single onion services. Fixes bug 23820; bugfix
  2947. on 0.3.2.1-alpha.
  2948. o Minor bugfixes (logging, relay):
  2949. - Give only a protocol warning when the ed25519 key is not
  2950. consistent between the descriptor and microdescriptor of a relay.
  2951. This can happen, for instance, if the relay has been flagged
  2952. NoEdConsensus. Fixes bug 24025; bugfix on 0.3.2.1-alpha.
  2953. o Minor bugfixes (manpage, onion service):
  2954. - Document that the HiddenServiceNumIntroductionPoints option is
  2955. 0-10 for v2 services and 0-20 for v3 services. Fixes bug 24115;
  2956. bugfix on 0.3.2.1-alpha.
  2957. o Minor bugfixes (memory leaks):
  2958. - Fix a minor memory leak at exit in the KIST scheduler. This bug
  2959. should have no user-visible impact. Fixes bug 23774; bugfix
  2960. on 0.3.2.1-alpha.
  2961. - Fix a memory leak when decrypting a badly formatted v3 onion
  2962. service descriptor. Fixes bug 24150; bugfix on 0.3.2.1-alpha.
  2963. Found by OSS-Fuzz; this is OSS-Fuzz issue 3994.
  2964. o Minor bugfixes (onion services):
  2965. - Cache some needed onion service client information instead of
  2966. constantly computing it over and over again. Fixes bug 23623;
  2967. bugfix on 0.3.2.1-alpha.
  2968. - Properly retry HSv3 descriptor fetches when missing required
  2969. directory information. Fixes bug 23762; bugfix on 0.3.2.1-alpha.
  2970. o Minor bugfixes (path selection):
  2971. - When selecting relays by bandwidth, avoid a rounding error that
  2972. could sometimes cause load to be imbalanced incorrectly.
  2973. Previously, we would always round upwards; now, we round towards
  2974. the nearest integer. This had the biggest effect when a relay's
  2975. weight adjustments should have given it weight 0, but it got
  2976. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  2977. - When calculating the fraction of nodes that have descriptors, and
  2978. all nodes in the network have zero bandwidths, count the number of
  2979. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  2980. - Actually log the total bandwidth in compute_weighted_bandwidths().
  2981. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  2982. o Minor bugfixes (relay, crash):
  2983. - Avoid a crash when transitioning from client mode to bridge mode.
  2984. Previously, we would launch the worker threads whenever our
  2985. "public server" mode changed, but not when our "server" mode
  2986. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  2987. o Minor bugfixes (testing):
  2988. - Fix a spurious fuzzing-only use of an uninitialized value. Found
  2989. by Brian Carpenter. Fixes bug 24082; bugfix on 0.3.0.3-alpha.
  2990. - Test that IPv6-only clients can use microdescriptors when running
  2991. "make test-network-all". Requires chutney master 61c28b9 or later.
  2992. Closes ticket 24109.
  2993. Changes in version 0.3.2.3-alpha - 2017-10-27
  2994. Tor 0.3.2.3-alpha is the third release in the 0.3.2 series. It fixes
  2995. numerous small bugs in earlier versions of 0.3.2.x, and adds a new
  2996. directory authority, Bastet.
  2997. o Directory authority changes:
  2998. - Add "Bastet" as a ninth directory authority to the default list.
  2999. Closes ticket 23910.
  3000. - The directory authority "Longclaw" has changed its IP address.
  3001. Closes ticket 23592.
  3002. o Minor features (bridge):
  3003. - Bridge relays can now set the BridgeDistribution config option to
  3004. add a "bridge-distribution-request" line to their bridge
  3005. descriptor, which tells BridgeDB how they'd like their bridge
  3006. address to be given out. (Note that as of Oct 2017, BridgeDB does
  3007. not yet implement this feature.) As a side benefit, this feature
  3008. provides a way to distinguish bridge descriptors from non-bridge
  3009. descriptors. Implements tickets 18329.
  3010. o Minor features (client, entry guards):
  3011. - Improve log messages when missing descriptors for primary guards.
  3012. Resolves ticket 23670.
  3013. o Minor features (geoip):
  3014. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  3015. Country database.
  3016. o Minor bugfixes (bridge):
  3017. - Overwrite the bridge address earlier in the process of retrieving
  3018. its descriptor, to make sure we reach it on the configured
  3019. address. Fixes bug 20532; bugfix on 0.2.0.10-alpha.
  3020. o Minor bugfixes (documentation):
  3021. - Document better how to read gcov, and what our gcov postprocessing
  3022. scripts do. Fixes bug 23739; bugfix on 0.2.9.1-alpha.
  3023. o Minor bugfixes (entry guards):
  3024. - Tor now updates its guard state when it reads a consensus
  3025. regardless of whether it's missing descriptors. That makes tor use
  3026. its primary guards to fetch descriptors in some edge cases where
  3027. it would previously have used fallback directories. Fixes bug
  3028. 23862; bugfix on 0.3.0.1-alpha.
  3029. o Minor bugfixes (hidden service client):
  3030. - When handling multiple SOCKS request for the same .onion address,
  3031. only fetch the service descriptor once.
  3032. - When a descriptor fetch fails with a non-recoverable error, close
  3033. all pending SOCKS requests for that .onion. Fixes bug 23653;
  3034. bugfix on 0.3.2.1-alpha.
  3035. o Minor bugfixes (hidden service):
  3036. - Always regenerate missing hidden service public key files. Prior
  3037. to this, if the public key was deleted from disk, it wouldn't get
  3038. recreated. Fixes bug 23748; bugfix on 0.3.2.2-alpha. Patch
  3039. from "cathugger".
  3040. - Make sure that we have a usable ed25519 key when the intro point
  3041. relay supports ed25519 link authentication. Fixes bug 24002;
  3042. bugfix on 0.3.2.1-alpha.
  3043. o Minor bugfixes (hidden service, v2):
  3044. - When reloading configured hidden services, copy all information
  3045. from the old service object. Previously, some data was omitted,
  3046. causing delays in descriptor upload, and other bugs. Fixes bug
  3047. 23790; bugfix on 0.2.1.9-alpha.
  3048. o Minor bugfixes (memory safety, defensive programming):
  3049. - Clear the target address when node_get_prim_orport() returns
  3050. early. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  3051. o Minor bugfixes (relay):
  3052. - Avoid a BUG warning when receiving a dubious CREATE cell while an
  3053. option transition is in progress. Fixes bug 23952; bugfix
  3054. on 0.3.2.1-alpha.
  3055. o Minor bugfixes (testing):
  3056. - Adjust the GitLab CI configuration to more closely match that of
  3057. Travis CI. Fixes bug 23757; bugfix on 0.3.2.2-alpha.
  3058. - Prevent scripts/test/coverage from attempting to move gcov output
  3059. to the root directory. Fixes bug 23741; bugfix on 0.2.5.1-alpha.
  3060. - When running unit tests as root, skip a test that would fail
  3061. because it expects a permissions error. This affects some
  3062. continuous integration setups. Fixes bug 23758; bugfix
  3063. on 0.3.2.2-alpha.
  3064. - Stop unconditionally mirroring the tor repository in GitLab CI.
  3065. This prevented developers from enabling GitLab CI on master. Fixes
  3066. bug 23755; bugfix on 0.3.2.2-alpha.
  3067. - Fix the hidden service v3 descriptor decoding fuzzing to use the
  3068. latest decoding API correctly. Fixes bug 21509; bugfix
  3069. on 0.3.2.1-alpha.
  3070. o Minor bugfixes (warnings):
  3071. - When we get an HTTP request on a SOCKS port, tell the user about
  3072. the new HTTPTunnelPort option. Previously, we would give a "Tor is
  3073. not an HTTP Proxy" message, which stopped being true when
  3074. HTTPTunnelPort was introduced. Fixes bug 23678; bugfix
  3075. on 0.3.2.1-alpha.
  3076. Changes in version 0.2.5.15 - 2017-10-25
  3077. Tor 0.2.5.15 backports a collection of bugfixes from later Tor release
  3078. series. It also adds a new directory authority, Bastet.
  3079. Note: the Tor 0.2.5 series will no longer be supported after 1 May
  3080. 2018. If you need a release with long-term support, please upgrade to
  3081. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  3082. o Directory authority changes:
  3083. - Add "Bastet" as a ninth directory authority to the default list.
  3084. Closes ticket 23910.
  3085. - The directory authority "Longclaw" has changed its IP address.
  3086. Closes ticket 23592.
  3087. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  3088. - Avoid an assertion failure bug affecting our implementation of
  3089. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  3090. handling of "0xx" differs from what we had expected. Fixes bug
  3091. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  3092. o Minor features (geoip):
  3093. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  3094. Country database.
  3095. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  3096. - Fix a memset() off the end of an array when packing cells. This
  3097. bug should be harmless in practice, since the corrupted bytes are
  3098. still in the same structure, and are always padding bytes,
  3099. ignored, or immediately overwritten, depending on compiler
  3100. behavior. Nevertheless, because the memset()'s purpose is to make
  3101. sure that any other cell-handling bugs can't expose bytes to the
  3102. network, we need to fix it. Fixes bug 22737; bugfix on
  3103. 0.2.4.11-alpha. Fixes CID 1401591.
  3104. o Build features (backport from 0.3.1.5-alpha):
  3105. - Tor's repository now includes a Travis Continuous Integration (CI)
  3106. configuration file (.travis.yml). This is meant to help new
  3107. developers and contributors who fork Tor to a Github repository be
  3108. better able to test their changes, and understand what we expect
  3109. to pass. To use this new build feature, you must fork Tor to your
  3110. Github account, then go into the "Integrations" menu in the
  3111. repository settings for your fork and enable Travis, then push
  3112. your changes. Closes ticket 22636.
  3113. Changes in version 0.2.8.16 - 2017-10-25
  3114. Tor 0.2.8.16 backports a collection of bugfixes from later Tor release
  3115. series, including a bugfix for a crash issue that had affected relays
  3116. under memory pressure. It also adds a new directory authority, Bastet.
  3117. Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
  3118. 2018. If you need a release with long-term support, please stick with
  3119. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  3120. o Directory authority changes:
  3121. - Add "Bastet" as a ninth directory authority to the default list.
  3122. Closes ticket 23910.
  3123. - The directory authority "Longclaw" has changed its IP address.
  3124. Closes ticket 23592.
  3125. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  3126. - Fix a timing-based assertion failure that could occur when the
  3127. circuit out-of-memory handler freed a connection's output buffer.
  3128. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  3129. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  3130. - Remove longclaw's IPv6 address, as it will soon change. Authority
  3131. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  3132. 3/8 directory authorities with IPv6 addresses, but there are also
  3133. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  3134. o Minor features (geoip):
  3135. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  3136. Country database.
  3137. Changes in version 0.2.9.13 - 2017-10-25
  3138. Tor 0.2.9.13 backports a collection of bugfixes from later Tor release
  3139. series, including a bugfix for a crash issue that had affected relays
  3140. under memory pressure. It also adds a new directory authority, Bastet.
  3141. o Directory authority changes:
  3142. - Add "Bastet" as a ninth directory authority to the default list.
  3143. Closes ticket 23910.
  3144. - The directory authority "Longclaw" has changed its IP address.
  3145. Closes ticket 23592.
  3146. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  3147. - Fix a timing-based assertion failure that could occur when the
  3148. circuit out-of-memory handler freed a connection's output buffer.
  3149. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  3150. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  3151. - Remove longclaw's IPv6 address, as it will soon change. Authority
  3152. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  3153. 3/8 directory authorities with IPv6 addresses, but there are also
  3154. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  3155. o Minor features (geoip):
  3156. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  3157. Country database.
  3158. o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
  3159. - When a directory authority rejects a descriptor or extrainfo with
  3160. a given digest, mark that digest as undownloadable, so that we do
  3161. not attempt to download it again over and over. We previously
  3162. tried to avoid downloading such descriptors by other means, but we
  3163. didn't notice if we accidentally downloaded one anyway. This
  3164. behavior became problematic in 0.2.7.2-alpha, when authorities
  3165. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  3166. on 0.2.1.19-alpha.
  3167. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  3168. - Clear the address when node_get_prim_orport() returns early.
  3169. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  3170. o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
  3171. - When running as a Windows service, set the ID of the main thread
  3172. correctly. Failure to do so made us fail to send log messages to
  3173. the controller in 0.2.1.16-rc, slowed down controller event
  3174. delivery in 0.2.7.3-rc and later, and crash with an assertion
  3175. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  3176. Patch and diagnosis from "Vort".
  3177. Changes in version 0.3.0.12 - 2017-10-25
  3178. Tor 0.3.0.12 backports a collection of bugfixes from later Tor release
  3179. series, including a bugfix for a crash issue that had affected relays
  3180. under memory pressure. It also adds a new directory authority, Bastet.
  3181. Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
  3182. 2018. If you need a release with long-term support, please stick with
  3183. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  3184. o Directory authority changes:
  3185. - Add "Bastet" as a ninth directory authority to the default list.
  3186. Closes ticket 23910.
  3187. - The directory authority "Longclaw" has changed its IP address.
  3188. Closes ticket 23592.
  3189. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  3190. - Fix a timing-based assertion failure that could occur when the
  3191. circuit out-of-memory handler freed a connection's output buffer.
  3192. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  3193. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  3194. - Remove longclaw's IPv6 address, as it will soon change. Authority
  3195. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  3196. 3/8 directory authorities with IPv6 addresses, but there are also
  3197. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  3198. o Minor features (geoip):
  3199. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  3200. Country database.
  3201. o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
  3202. - When a directory authority rejects a descriptor or extrainfo with
  3203. a given digest, mark that digest as undownloadable, so that we do
  3204. not attempt to download it again over and over. We previously
  3205. tried to avoid downloading such descriptors by other means, but we
  3206. didn't notice if we accidentally downloaded one anyway. This
  3207. behavior became problematic in 0.2.7.2-alpha, when authorities
  3208. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  3209. on 0.2.1.19-alpha.
  3210. o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
  3211. - Avoid a possible double close of a circuit by the intro point on
  3212. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  3213. bugfix on 0.3.0.1-alpha.
  3214. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  3215. - Clear the address when node_get_prim_orport() returns early.
  3216. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  3217. o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
  3218. - When running as a Windows service, set the ID of the main thread
  3219. correctly. Failure to do so made us fail to send log messages to
  3220. the controller in 0.2.1.16-rc, slowed down controller event
  3221. delivery in 0.2.7.3-rc and later, and crash with an assertion
  3222. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  3223. Patch and diagnosis from "Vort".
  3224. Changes in version 0.3.1.8 - 2017-10-25
  3225. Tor 0.3.1.8 is the second stable release in the 0.3.1 series.
  3226. It includes several bugfixes, including a bugfix for a crash issue
  3227. that had affected relays under memory pressure. It also adds
  3228. a new directory authority, Bastet.
  3229. o Directory authority changes:
  3230. - Add "Bastet" as a ninth directory authority to the default list.
  3231. Closes ticket 23910.
  3232. - The directory authority "Longclaw" has changed its IP address.
  3233. Closes ticket 23592.
  3234. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  3235. - Fix a timing-based assertion failure that could occur when the
  3236. circuit out-of-memory handler freed a connection's output buffer.
  3237. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  3238. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  3239. - Remove longclaw's IPv6 address, as it will soon change. Authority
  3240. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  3241. 3/8 directory authorities with IPv6 addresses, but there are also
  3242. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  3243. o Minor features (geoip):
  3244. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  3245. Country database.
  3246. o Minor bugfixes (compilation, backport from 0.3.2.2-alpha):
  3247. - Fix a compilation warning when building with zstd support on
  3248. 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
  3249. and fixed by Andreas Stieger.
  3250. o Minor bugfixes (compression, backport from 0.3.2.2-alpha):
  3251. - Handle a pathological case when decompressing Zstandard data when
  3252. the output buffer size is zero. Fixes bug 23551; bugfix
  3253. on 0.3.1.1-alpha.
  3254. o Minor bugfixes (directory authority, backport from 0.3.2.1-alpha):
  3255. - Remove the length limit on HTTP status lines that authorities can
  3256. send in their replies. Fixes bug 23499; bugfix on 0.3.1.6-rc.
  3257. o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
  3258. - Avoid a possible double close of a circuit by the intro point on
  3259. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  3260. bugfix on 0.3.0.1-alpha.
  3261. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  3262. - Clear the address when node_get_prim_orport() returns early.
  3263. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  3264. o Minor bugfixes (unit tests, backport from 0.3.2.2-alpha):
  3265. - Fix additional channelpadding unit test failures by using mocked
  3266. time instead of actual time for all tests. Fixes bug 23608; bugfix
  3267. on 0.3.1.1-alpha.
  3268. Changes in version 0.3.2.2-alpha - 2017-09-29
  3269. Tor 0.3.2.2-alpha is the second release in the 0.3.2 series. This
  3270. release fixes several minor bugs in the new scheduler and next-
  3271. generation onion services; both features were newly added in the 0.3.2
  3272. series. Other fixes in this alpha include several fixes for non-fatal
  3273. tracebacks which would appear in logs.
  3274. With the aim to stabilise the 0.3.2 series by 15 December 2017, this
  3275. alpha does not contain any substantial new features. Minor features
  3276. include better testing and logging.
  3277. The following comprises the complete list of changes included
  3278. in 0.3.2.2-alpha:
  3279. o Major bugfixes (relay, crash, assertion failure):
  3280. - Fix a timing-based assertion failure that could occur when the
  3281. circuit out-of-memory handler freed a connection's output buffer.
  3282. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  3283. o Major bugfixes (scheduler):
  3284. - If a channel is put into the scheduler's pending list, then it
  3285. starts closing, and then if the scheduler runs before it finishes
  3286. closing, the scheduler will get stuck trying to flush its cells
  3287. while the lower layers refuse to cooperate. Fix that race
  3288. condition by giving the scheduler an escape method. Fixes bug
  3289. 23676; bugfix on 0.3.2.1-alpha.
  3290. o Minor features (build, compilation):
  3291. - The "check-changes" feature is now part of the "make check" tests;
  3292. we'll use it to try to prevent misformed changes files from
  3293. accumulating. Closes ticket 23564.
  3294. - Tor builds should now fail if there are any mismatches between the
  3295. C type representing a configuration variable and the C type the
  3296. data-driven parser uses to store a value there. Previously, we
  3297. needed to check these by hand, which sometimes led to mistakes.
  3298. Closes ticket 23643.
  3299. o Minor features (directory authorities):
  3300. - Remove longclaw's IPv6 address, as it will soon change. Authority
  3301. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  3302. 3/8 directory authorities with IPv6 addresses, but there are also
  3303. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  3304. o Minor features (hidden service, circuit, logging):
  3305. - Improve logging of many callsite in the circuit subsystem to print
  3306. the circuit identifier(s).
  3307. - Log when we cleanup an intro point from a service so we know when
  3308. and for what reason it happened. Closes ticket 23604.
  3309. o Minor features (logging):
  3310. - Log more circuit information whenever we are about to try to
  3311. package a relay cell on a circuit with a nonexistent n_chan.
  3312. Attempt to diagnose ticket 8185.
  3313. - Improve info-level log identification of particular circuits, to
  3314. help with debugging. Closes ticket 23645.
  3315. o Minor features (relay):
  3316. - When choosing which circuits can be expired as unused, consider
  3317. circuits from clients even if those clients used regular CREATE
  3318. cells to make them; and do not consider circuits from relays even
  3319. if they were made with CREATE_FAST. Part of ticket 22805.
  3320. o Minor features (robustness):
  3321. - Change several fatal assertions when flushing buffers into non-
  3322. fatal assertions, to prevent any recurrence of 23690.
  3323. o Minor features (spec conformance, bridge, diagnostic):
  3324. - When handling the USERADDR command on an ExtOrPort, warn when the
  3325. transports provides a USERADDR with no port. In a future version,
  3326. USERADDR commands of this format may be rejected. Detects problems
  3327. related to ticket 23080.
  3328. o Minor features (testing):
  3329. - Add a unit test to make sure that our own generated platform
  3330. string will be accepted by directory authorities. Closes
  3331. ticket 22109.
  3332. o Minor bugfixes (bootstrapping):
  3333. - When warning about state file clock skew, report the correct
  3334. direction for the detected skew. Fixes bug 23606; bugfix
  3335. on 0.2.8.1-alpha.
  3336. - Avoid an assertion failure when logging a state file clock skew
  3337. very early in bootstrapping. Fixes bug 23607; bugfix
  3338. on 0.3.2.1-alpha.
  3339. o Minor bugfixes (build, compilation):
  3340. - Fix a compilation warning when building with zstd support on
  3341. 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
  3342. and fixed by Andreas Stieger.
  3343. - When searching for OpenSSL, don't accept any OpenSSL library that
  3344. lacks TLSv1_1_method(): Tor doesn't build with those versions.
  3345. Additionally, look in /usr/local/opt/openssl, if it's present.
  3346. These changes together repair the default build on OSX systems
  3347. with Homebrew installed. Fixes bug 23602; bugfix on 0.2.7.2-alpha.
  3348. o Minor bugfixes (compression):
  3349. - Handle a pathological case when decompressing Zstandard data when
  3350. the output buffer size is zero. Fixes bug 23551; bugfix
  3351. on 0.3.1.1-alpha.
  3352. o Minor bugfixes (documentation):
  3353. - Fix manpage to not refer to the obsolete (and misspelled)
  3354. UseEntryGuardsAsDirectoryGuards parameter in the description of
  3355. NumDirectoryGuards. Fixes bug 23611; bugfix on 0.2.4.8-alpha.
  3356. o Minor bugfixes (hidden service v3):
  3357. - Don't log an assertion failure when we can't find the right
  3358. information to extend to an introduction point. In rare cases,
  3359. this could happen, causing a warning, even though tor would
  3360. recover gracefully. Fixes bug 23159; bugfix on 0.3.2.1-alpha.
  3361. - Pad RENDEZVOUS cell up to the size of the legacy cell which is
  3362. much bigger so the rendezvous point can't distinguish which hidden
  3363. service protocol is being used. Fixes bug 23420; bugfix
  3364. on 0.3.2.1-alpha.
  3365. o Minor bugfixes (hidden service, relay):
  3366. - Avoid a possible double close of a circuit by the intro point on
  3367. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  3368. bugfix on 0.3.0.1-alpha.
  3369. o Minor bugfixes (logging, relay shutdown, annoyance):
  3370. - When a circuit is marked for close, do not attempt to package any
  3371. cells for channels on that circuit. Previously, we would detect
  3372. this condition lower in the call stack, when we noticed that the
  3373. circuit had no attached channel, and log an annoying message.
  3374. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  3375. o Minor bugfixes (scheduler):
  3376. - When switching schedulers due to a consensus change, we didn't
  3377. give the new scheduler a chance to react to the consensus. Fix
  3378. that. Fixes bug 23537; bugfix on 0.3.2.1-alpha.
  3379. - Make the KISTSchedRunInterval option a non negative value. With
  3380. this, the way to disable KIST through the consensus is to set it
  3381. to 0. Fixes bug 23539; bugfix on 0.3.2.1-alpha.
  3382. - Only notice log the selected scheduler when we switch scheduler
  3383. types. Fixes bug 23552; bugfix on 0.3.2.1-alpha.
  3384. - Avoid a compilation warning on macOS in scheduler_ev_add() caused
  3385. by a different tv_usec data type. Fixes bug 23575; bugfix
  3386. on 0.3.2.1-alpha.
  3387. - Make a hard exit if tor is unable to pick a scheduler which can
  3388. happen if the user specifies a scheduler type that is not
  3389. supported and not other types in Schedulers. Fixes bug 23581;
  3390. bugfix on 0.3.2.1-alpha.
  3391. - Properly initialize the scheduler last run time counter so it is
  3392. not 0 at the first tick. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
  3393. o Minor bugfixes (testing):
  3394. - Capture and detect several "Result does not fit" warnings in unit
  3395. tests on platforms with 32-bit time_t. Fixes bug 21800; bugfix
  3396. on 0.2.9.3-alpha.
  3397. - Fix additional channelpadding unit test failures by using mocked
  3398. time instead of actual time for all tests. Fixes bug 23608; bugfix
  3399. on 0.3.1.1-alpha.
  3400. - The removal of some old scheduler options caused some tests to
  3401. fail on BSD systems. Assume current behavior is correct and make
  3402. the tests pass again. Fixes bug 23566; bugfix on 0.3.2.1-alpha.
  3403. o Code simplification and refactoring:
  3404. - Remove various ways of testing circuits and connections for
  3405. "clientness"; instead, favor channel_is_client(). Part of
  3406. ticket 22805.
  3407. o Deprecated features:
  3408. - The ReachableDirAddresses and ClientPreferIPv6DirPort options are
  3409. now deprecated; they do not apply to relays, and they have had no
  3410. effect on clients since 0.2.8.x. Closes ticket 19704.
  3411. o Documentation:
  3412. - HiddenServiceVersion man page entry wasn't mentioning the now
  3413. supported version 3. Fixes ticket 23580; bugfix on 0.3.2.1-alpha.
  3414. - Clarify that the Address option is entirely about setting an
  3415. advertised IPv4 address. Closes ticket 18891.
  3416. - Clarify the manpage's use of the term "address" to clarify what
  3417. kind of address is intended. Closes ticket 21405.
  3418. - Document that onion service subdomains are allowed, and ignored.
  3419. Closes ticket 18736.
  3420. Changes in version 0.3.2.1-alpha - 2017-09-18
  3421. Tor 0.3.2.1-alpha is the first release in the 0.3.2.x series. It
  3422. includes support for our next-generation ("v3") onion service
  3423. protocol, and adds a new circuit scheduler for more responsive
  3424. forwarding decisions from relays. There are also numerous other small
  3425. features and bugfixes here.
  3426. Below are the changes since Tor 0.3.1.7.
  3427. o Major feature (scheduler, channel):
  3428. - Tor now uses new schedulers to decide which circuits should
  3429. deliver cells first, in order to improve congestion at relays. The
  3430. first type is called "KIST" ("Kernel Informed Socket Transport"),
  3431. and is only available on Linux-like systems: it uses feedback from
  3432. the kernel to prevent the kernel's TCP buffers from growing too
  3433. full. The second new scheduler type is called "KISTLite": it
  3434. behaves the same as KIST, but runs on systems without kernel
  3435. support for inspecting TCP implementation details. The old
  3436. scheduler is still available, under the name "Vanilla". To change
  3437. the default scheduler preference order, use the new "Schedulers"
  3438. option. (The default preference order is "KIST,KISTLite,Vanilla".)
  3439. Matt Traudt implemented KIST, based on research by Rob Jansen,
  3440. John Geddes, Christ Wacek, Micah Sherr, and Paul Syverson. For
  3441. more information, see the design paper at
  3442. http://www.robgjansen.com/publications/kist-sec2014.pdf and the
  3443. followup implementation paper at https://arxiv.org/abs/1709.01044.
  3444. Closes ticket 12541.
  3445. o Major features (next-generation onion services):
  3446. - Tor now supports the next-generation onion services protocol for
  3447. clients and services! As part of this release, the core of
  3448. proposal 224 has been implemented and is available for
  3449. experimentation and testing by our users. This newer version of
  3450. onion services ("v3") features many improvements over the legacy
  3451. system, including:
  3452. a) Better crypto (replaced SHA1/DH/RSA1024
  3453. with SHA3/ed25519/curve25519)
  3454. b) Improved directory protocol, leaking much less information to
  3455. directory servers.
  3456. c) Improved directory protocol, with smaller surface for
  3457. targeted attacks.
  3458. d) Better onion address security against impersonation.
  3459. e) More extensible introduction/rendezvous protocol.
  3460. f) A cleaner and more modular codebase.
  3461. You can identify a next-generation onion address by its length:
  3462. they are 56 characters long, as in
  3463. "4acth47i6kxnvkewtm6q7ib2s3ufpo5sqbsnzjpbi7utijcltosqemad.onion".
  3464. In the future, we will release more options and features for v3
  3465. onion services, but we first need a testing period, so that the
  3466. current codebase matures and becomes more robust. Planned features
  3467. include: offline keys, advanced client authorization, improved
  3468. guard algorithms, and statistics. For full details, see
  3469. proposal 224.
  3470. Legacy ("v2") onion services will still work for the foreseeable
  3471. future, and will remain the default until this new codebase gets
  3472. tested and hardened. Service operators who want to experiment with
  3473. the new system can use the 'HiddenServiceVersion 3' torrc
  3474. directive along with the regular onion service configuration
  3475. options. We will publish a blog post about this new feature
  3476. soon! Enjoy!
  3477. o Major bugfixes (usability, control port):
  3478. - Report trusted clock skew indications as bootstrap errors, so
  3479. controllers can more easily alert users when their clocks are
  3480. wrong. Fixes bug 23506; bugfix on 0.1.2.6-alpha.
  3481. o Minor features (bug detection):
  3482. - Log a warning message with a stack trace for any attempt to call
  3483. get_options() during option validation. This pattern has caused
  3484. subtle bugs in the past. Closes ticket 22281.
  3485. o Minor features (client):
  3486. - You can now use Tor as a tunneled HTTP proxy: use the new
  3487. HTTPTunnelPort option to open a port that accepts HTTP CONNECT
  3488. requests. Closes ticket 22407.
  3489. - Add an extra check to make sure that we always use the newer guard
  3490. selection code for picking our guards. Closes ticket 22779.
  3491. - When downloading (micro)descriptors, don't split the list into
  3492. multiple requests unless we want at least 32 descriptors.
  3493. Previously, we split at 4, not 32, which led to significant
  3494. overhead in HTTP request size and degradation in compression
  3495. performance. Closes ticket 23220.
  3496. o Minor features (command line):
  3497. - Add a new commandline option, --key-expiration, which prints when
  3498. the current signing key is going to expire. Implements ticket
  3499. 17639; patch by Isis Lovecruft.
  3500. o Minor features (control port):
  3501. - If an application tries to use the control port as an HTTP proxy,
  3502. respond with a meaningful "This is the Tor control port" message,
  3503. and log the event. Closes ticket 1667. Patch from Ravi
  3504. Chandra Padmala.
  3505. - Provide better error message for GETINFO desc/(id|name) when not
  3506. fetching router descriptors. Closes ticket 5847. Patch by
  3507. Kevin Butler.
  3508. - Add GETINFO "{desc,md}/download-enabled", to inform the controller
  3509. whether Tor will try to download router descriptors and
  3510. microdescriptors respectively. Closes ticket 22684.
  3511. - Added new GETINFO targets "ip-to-country/{ipv4,ipv6}-available",
  3512. so controllers can tell whether the geoip databases are loaded.
  3513. Closes ticket 23237.
  3514. - Adds a timestamp field to the CIRC_BW and STREAM_BW bandwidth
  3515. events. Closes ticket 19254. Patch by "DonnchaC".
  3516. o Minor features (development support):
  3517. - Developers can now generate a call-graph for Tor using the
  3518. "calltool" python program, which post-processes object dumps. It
  3519. should work okay on many Linux and OSX platforms, and might work
  3520. elsewhere too. To run it, install calltool from
  3521. https://gitweb.torproject.org/user/nickm/calltool.git and run
  3522. "make callgraph". Closes ticket 19307.
  3523. o Minor features (ed25519):
  3524. - Add validation function to checks for torsion components in
  3525. ed25519 public keys, used by prop224 client-side code. Closes
  3526. ticket 22006. Math help by Ian Goldberg.
  3527. o Minor features (exit relay, DNS):
  3528. - Improve the clarity and safety of the log message from evdns when
  3529. receiving an apparently spoofed DNS reply. Closes ticket 3056.
  3530. o Minor features (integration, hardening):
  3531. - Add a new NoExec option to prevent Tor from running other
  3532. programs. When this option is set to 1, Tor will never try to run
  3533. another program, regardless of the settings of
  3534. PortForwardingHelper, ClientTransportPlugin, or
  3535. ServerTransportPlugin. Once NoExec is set, it cannot be disabled
  3536. without restarting Tor. Closes ticket 22976.
  3537. o Minor features (logging):
  3538. - Improve the warning message for specifying a relay by nickname.
  3539. The previous message implied that nickname registration was still
  3540. part of the Tor network design, which it isn't. Closes
  3541. ticket 20488.
  3542. - If the sandbox filter fails to load, suggest to the user that
  3543. their kernel might not support seccomp2. Closes ticket 23090.
  3544. o Minor features (portability):
  3545. - Check at configure time whether uint8_t is the same type as
  3546. unsigned char. Lots of existing code already makes this
  3547. assumption, and there could be strict aliasing issues if the
  3548. assumption is violated. Closes ticket 22410.
  3549. o Minor features (relay, configuration):
  3550. - Reject attempts to use relative file paths when RunAsDaemon is
  3551. set. Previously, Tor would accept these, but the directory-
  3552. changing step of RunAsDaemon would give strange and/or confusing
  3553. results. Closes ticket 22731.
  3554. o Minor features (startup, safety):
  3555. - When configured to write a PID file, Tor now exits if it is unable
  3556. to do so. Previously, it would warn and continue. Closes
  3557. ticket 20119.
  3558. o Minor features (static analysis):
  3559. - The BUG() macro has been changed slightly so that Coverity no
  3560. longer complains about dead code if the bug is impossible. Closes
  3561. ticket 23054.
  3562. o Minor features (testing):
  3563. - The default chutney network tests now include tests for the v3
  3564. hidden service design. Make sure you have the latest version of
  3565. chutney if you want to run these. Closes ticket 22437.
  3566. - Add a unit test to verify that we can parse a hardcoded v2 hidden
  3567. service descriptor. Closes ticket 15554.
  3568. o Minor bugfixes (certificate handling):
  3569. - Fix a time handling bug in Tor certificates set to expire after
  3570. the year 2106. Fixes bug 23055; bugfix on 0.3.0.1-alpha. Found by
  3571. Coverity as CID 1415728.
  3572. o Minor bugfixes (client, usability):
  3573. - Refrain from needlessly rejecting SOCKS5-with-hostnames and
  3574. SOCKS4a requests that contain IP address strings, even when
  3575. SafeSocks in enabled, as this prevents user from connecting to
  3576. known IP addresses without relying on DNS for resolving. SafeSocks
  3577. still rejects SOCKS connections that connect to IP addresses when
  3578. those addresses are _not_ encoded as hostnames. Fixes bug 22461;
  3579. bugfix on Tor 0.2.6.2-alpha.
  3580. o Minor bugfixes (code correctness):
  3581. - Call htons() in extend_cell_format() for encoding a 16-bit value.
  3582. Previously we used ntohs(), which happens to behave the same on
  3583. all the platforms we support, but which isn't really correct.
  3584. Fixes bug 23106; bugfix on 0.2.4.8-alpha.
  3585. - For defense-in-depth, make the controller's write_escaped_data()
  3586. function robust to extremely long inputs. Fixes bug 19281; bugfix
  3587. on 0.1.1.1-alpha. Reported by Guido Vranken.
  3588. o Minor bugfixes (compilation):
  3589. - Fix unused-variable warnings in donna's Curve25519 SSE2 code.
  3590. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  3591. o Minor bugfixes (consensus expiry):
  3592. - Check for adequate directory information correctly. Previously, Tor
  3593. would reconsider whether it had sufficient directory information
  3594. every 2 minutes. Fixes bug 23091; bugfix on 0.2.0.19-alpha.
  3595. o Minor bugfixes (directory protocol):
  3596. - Directory servers now include a "Date:" http header for response
  3597. codes other than 200. Clients starting with a skewed clock and a
  3598. recent consensus were getting "304 Not modified" responses from
  3599. directory authorities, so without the Date header, the client
  3600. would never hear about a wrong clock. Fixes bug 23499; bugfix
  3601. on 0.0.8rc1.
  3602. - Make clients wait for 6 seconds before trying to download a
  3603. consensus from an authority. Fixes bug 17750; bugfix
  3604. on 0.2.8.1-alpha.
  3605. o Minor bugfixes (DoS-resistance):
  3606. - If future code asks if there are any running bridges, without
  3607. checking if bridges are enabled, log a BUG warning rather than
  3608. crashing. Fixes bug 23524; bugfix on 0.3.0.1-alpha.
  3609. o Minor bugfixes (format strictness):
  3610. - Restrict several data formats to decimal. Previously, the
  3611. BuildTimeHistogram entries in the state file, the "bw=" entries in
  3612. the bandwidth authority file, and the process IDs passed to the
  3613. __OwningControllerProcess option could all be specified in hex or
  3614. octal as well as in decimal. This was not an intentional feature.
  3615. Fixes bug 22802; bugfixes on 0.2.2.1-alpha, 0.2.2.2-alpha,
  3616. and 0.2.2.28-beta.
  3617. o Minor bugfixes (heartbeat):
  3618. - If we fail to write a heartbeat message, schedule a retry for the
  3619. minimum heartbeat interval number of seconds in the future. Fixes
  3620. bug 19476; bugfix on 0.2.3.1-alpha.
  3621. o Minor bugfixes (linux seccomp2 sandbox, logging):
  3622. - Fix some messages on unexpected errors from the seccomp2 library.
  3623. Fixes bug 22750; bugfix on 0.2.5.1-alpha. Patch from "cypherpunks".
  3624. o Minor bugfixes (logging):
  3625. - Remove duplicate log messages regarding opening non-local
  3626. SocksPorts upon parsing config and opening listeners at startup.
  3627. Fixes bug 4019; bugfix on 0.2.3.3-alpha.
  3628. - Use a more comprehensible log message when telling the user
  3629. they've excluded every running exit node. Fixes bug 7890; bugfix
  3630. on 0.2.2.25-alpha.
  3631. - When logging the number of descriptors we intend to download per
  3632. directory request, do not log a number higher than then the number
  3633. of descriptors we're fetching in total. Fixes bug 19648; bugfix
  3634. on 0.1.1.8-alpha.
  3635. - When warning about a directory owned by the wrong user, log the
  3636. actual name of the user owning the directory. Previously, we'd log
  3637. the name of the process owner twice. Fixes bug 23487; bugfix
  3638. on 0.2.9.1-alpha.
  3639. - The tor specification says hop counts are 1-based, so fix two log
  3640. messages that mistakenly logged 0-based hop counts. Fixes bug
  3641. 18982; bugfix on 0.2.6.2-alpha and 0.2.4.5-alpha. Patch by teor.
  3642. Credit to Xiaofan Li for reporting this issue.
  3643. o Minor bugfixes (portability):
  3644. - Stop using the PATH_MAX variable, which is not defined on GNU
  3645. Hurd. Fixes bug 23098; bugfix on 0.3.1.1-alpha.
  3646. o Minor bugfixes (relay):
  3647. - When uploading our descriptor for the first time after startup,
  3648. report the reason for uploading as "Tor just started" rather than
  3649. leaving it blank. Fixes bug 22885; bugfix on 0.2.3.4-alpha.
  3650. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  3651. relays, to prevent spurious address resolutions and descriptor
  3652. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  3653. bugfix on in 0.2.8.1-alpha.
  3654. o Minor bugfixes (tests):
  3655. - Fix a broken unit test for the OutboundAddress option: the parsing
  3656. function was never returning an error on failure. Fixes bug 23366;
  3657. bugfix on 0.3.0.3-alpha.
  3658. - Fix a signed-integer overflow in the unit tests for
  3659. dir/download_status_random_backoff, which was untriggered until we
  3660. fixed bug 17750. Fixes bug 22924; bugfix on 0.2.9.1-alpha.
  3661. o Minor bugfixes (usability, control port):
  3662. - Stop making an unnecessary routerlist check in NETINFO clock skew
  3663. detection; this was preventing clients from reporting NETINFO clock
  3664. skew to controllers. Fixes bug 23532; bugfix on 0.2.4.4-alpha.
  3665. o Code simplification and refactoring:
  3666. - Extract the code for handling newly-open channels into a separate
  3667. function from the general code to handle channel state
  3668. transitions. This change simplifies our callgraph, reducing the
  3669. size of the largest strongly connected component by roughly a
  3670. factor of two. Closes ticket 22608.
  3671. - Remove dead code for largely unused statistics on the number of
  3672. times we've attempted various public key operations. Fixes bug
  3673. 19871; bugfix on 0.1.2.4-alpha. Fix by Isis Lovecruft.
  3674. - Remove several now-obsolete functions for asking about old
  3675. variants directory authority status. Closes ticket 22311; patch
  3676. from "huyvq".
  3677. - Remove some of the code that once supported "Named" and "Unnamed"
  3678. routers. Authorities no longer vote for these flags. Closes
  3679. ticket 22215.
  3680. - Rename the obsolete malleable hybrid_encrypt functions used in TAP
  3681. and old hidden services, to indicate that they aren't suitable for
  3682. new protocols or formats. Closes ticket 23026.
  3683. - Replace our STRUCT_OFFSET() macro with offsetof(). Closes ticket
  3684. 22521. Patch from Neel Chauhan.
  3685. - Split the enormous circuit_send_next_onion_skin() function into
  3686. multiple subfunctions. Closes ticket 22804.
  3687. - Split the portions of the buffer.c module that handle particular
  3688. protocols into separate modules. Part of ticket 23149.
  3689. - Use our test macros more consistently, to produce more useful
  3690. error messages when our unit tests fail. Add coccinelle patches to
  3691. allow us to re-check for test macro uses. Closes ticket 22497.
  3692. o Deprecated features:
  3693. - Deprecate HTTPProxy/HTTPProxyAuthenticator config options. They
  3694. only applies to direct unencrypted HTTP connections to your
  3695. directory server, which your Tor probably isn't using. Closes
  3696. ticket 20575.
  3697. o Documentation:
  3698. - Clarify in the manual that "Sandbox 1" is only supported on Linux
  3699. kernels. Closes ticket 22677.
  3700. - Document all values of PublishServerDescriptor in the manpage.
  3701. Closes ticket 15645.
  3702. - Improve the documentation for the directory port part of the
  3703. DirAuthority line. Closes ticket 20152.
  3704. - Restore documentation for the authorities' "approved-routers"
  3705. file. Closes ticket 21148.
  3706. o Removed features:
  3707. - The AllowDotExit option has been removed as unsafe. It has been
  3708. deprecated since 0.2.9.2-alpha. Closes ticket 23426.
  3709. - The ClientDNSRejectInternalAddresses flag can no longer be set on
  3710. non-testing networks. It has been deprecated since 0.2.9.2-alpha.
  3711. Closes ticket 21031.
  3712. - The controller API no longer includes an AUTHDIR_NEWDESCS event:
  3713. nobody was using it any longer. Closes ticket 22377.
  3714. Changes in version 0.2.8.15 - 2017-09-18
  3715. Tor 0.2.8.15 backports a collection of bugfixes from later
  3716. Tor series.
  3717. Most significantly, it includes a fix for TROVE-2017-008, a
  3718. security bug that affects hidden services running with the
  3719. SafeLogging option disabled. For more information, see
  3720. https://trac.torproject.org/projects/tor/ticket/23490
  3721. Note that Tor 0.2.8.x will no longer be supported after 1 Jan
  3722. 2018. We suggest that you upgrade to the latest stable release if
  3723. possible. If you can't, we recommend that you upgrade at least to
  3724. 0.2.9, which will be supported until 2020.
  3725. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  3726. - Avoid an assertion failure bug affecting our implementation of
  3727. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  3728. handling of "0xx" differs from what we had expected. Fixes bug
  3729. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  3730. o Minor features:
  3731. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  3732. Country database.
  3733. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  3734. - Backport a fix for an "unused variable" warning that appeared
  3735. in some versions of mingw. Fixes bug 22838; bugfix on
  3736. 0.2.8.1-alpha.
  3737. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  3738. - Fix a memset() off the end of an array when packing cells. This
  3739. bug should be harmless in practice, since the corrupted bytes are
  3740. still in the same structure, and are always padding bytes,
  3741. ignored, or immediately overwritten, depending on compiler
  3742. behavior. Nevertheless, because the memset()'s purpose is to make
  3743. sure that any other cell-handling bugs can't expose bytes to the
  3744. network, we need to fix it. Fixes bug 22737; bugfix on
  3745. 0.2.4.11-alpha. Fixes CID 1401591.
  3746. o Build features (backport from 0.3.1.5-alpha):
  3747. - Tor's repository now includes a Travis Continuous Integration (CI)
  3748. configuration file (.travis.yml). This is meant to help new
  3749. developers and contributors who fork Tor to a Github repository be
  3750. better able to test their changes, and understand what we expect
  3751. to pass. To use this new build feature, you must fork Tor to your
  3752. Github account, then go into the "Integrations" menu in the
  3753. repository settings for your fork and enable Travis, then push
  3754. your changes. Closes ticket 22636.
  3755. Changes in version 0.2.9.12 - 2017-09-18
  3756. Tor 0.2.9.12 backports a collection of bugfixes from later
  3757. Tor series.
  3758. Most significantly, it includes a fix for TROVE-2017-008, a
  3759. security bug that affects hidden services running with the
  3760. SafeLogging option disabled. For more information, see
  3761. https://trac.torproject.org/projects/tor/ticket/23490
  3762. o Major features (security, backport from 0.3.0.2-alpha):
  3763. - Change the algorithm used to decide DNS TTLs on client and server
  3764. side, to better resist DNS-based correlation attacks like the
  3765. DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
  3766. Feamster. Now relays only return one of two possible DNS TTL
  3767. values, and clients are willing to believe DNS TTL values up to 3
  3768. hours long. Closes ticket 19769.
  3769. o Major bugfixes (crash, directory connections, backport from 0.3.0.5-rc):
  3770. - Fix a rare crash when sending a begin cell on a circuit whose
  3771. linked directory connection had already been closed. Fixes bug
  3772. 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
  3773. o Major bugfixes (DNS, backport from 0.3.0.2-alpha):
  3774. - Fix a bug that prevented exit nodes from caching DNS records for
  3775. more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
  3776. o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
  3777. - Fix a typo that had prevented TPROXY-based transparent proxying
  3778. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  3779. Patch from "d4fq0fQAgoJ".
  3780. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  3781. - Avoid an assertion failure bug affecting our implementation of
  3782. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  3783. handling of "0xx" differs from what we had expected. Fixes bug
  3784. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  3785. o Minor features (code style, backport from 0.3.1.3-alpha):
  3786. - Add "Falls through" comments to our codebase, in order to silence
  3787. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  3788. Stieger. Closes ticket 22446.
  3789. o Minor features (geoip):
  3790. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  3791. Country database.
  3792. o Minor bugfixes (bandwidth accounting, backport from 0.3.1.1-alpha):
  3793. - Roll over monthly accounting at the configured hour and minute,
  3794. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  3795. Found by Andrey Karpov with PVS-Studio.
  3796. o Minor bugfixes (compilation, backport from 0.3.1.5-alpha):
  3797. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
  3798. bugfix on 0.2.8.1-alpha.
  3799. - Fix warnings when building with libscrypt and openssl scrypt support
  3800. on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  3801. - When building with certain versions the mingw C header files, avoid
  3802. float-conversion warnings when calling the C functions isfinite(),
  3803. isnan(), and signbit(). Fixes bug 22801; bugfix on 0.2.8.1-alpha.
  3804. o Minor bugfixes (compilation, backport from 0.3.1.7):
  3805. - Avoid compiler warnings in the unit tests for running tor_sscanf()
  3806. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  3807. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  3808. - Backport a fix for an "unused variable" warning that appeared
  3809. in some versions of mingw. Fixes bug 22838; bugfix on
  3810. 0.2.8.1-alpha.
  3811. o Minor bugfixes (controller, backport from 0.3.1.7):
  3812. - Do not crash when receiving a HSPOST command with an empty body.
  3813. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  3814. - Do not crash when receiving a POSTDESCRIPTOR command with an
  3815. empty body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  3816. o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
  3817. - Avoid Coverity build warnings related to our BUG() macro. By
  3818. default, Coverity treats BUG() as the Linux kernel does: an
  3819. instant abort(). We need to override that so our BUG() macro
  3820. doesn't prevent Coverity from analyzing functions that use it.
  3821. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  3822. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  3823. - Fix a memset() off the end of an array when packing cells. This
  3824. bug should be harmless in practice, since the corrupted bytes are
  3825. still in the same structure, and are always padding bytes,
  3826. ignored, or immediately overwritten, depending on compiler
  3827. behavior. Nevertheless, because the memset()'s purpose is to make
  3828. sure that any other cell-handling bugs can't expose bytes to the
  3829. network, we need to fix it. Fixes bug 22737; bugfix on
  3830. 0.2.4.11-alpha. Fixes CID 1401591.
  3831. o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
  3832. - When setting the maximum number of connections allowed by the OS,
  3833. always allow some extra file descriptors for other files. Fixes
  3834. bug 22797; bugfix on 0.2.0.10-alpha.
  3835. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
  3836. - Avoid a sandbox failure when trying to re-bind to a socket and
  3837. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  3838. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
  3839. - Permit the fchmod system call, to avoid crashing on startup when
  3840. starting with the seccomp2 sandbox and an unexpected set of
  3841. permissions on the data directory or its contents. Fixes bug
  3842. 22516; bugfix on 0.2.5.4-alpha.
  3843. o Minor bugfixes (relay, backport from 0.3.0.5-rc):
  3844. - Avoid a double-marked-circuit warning that could happen when we
  3845. receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
  3846. on 0.1.0.1-rc.
  3847. o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
  3848. - Reject version numbers with non-numeric prefixes (such as +, -, or
  3849. whitespace). Disallowing whitespace prevents differential version
  3850. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  3851. and part of 21508; bugfix on 0.0.8pre1.
  3852. o Build features (backport from 0.3.1.5-alpha):
  3853. - Tor's repository now includes a Travis Continuous Integration (CI)
  3854. configuration file (.travis.yml). This is meant to help new
  3855. developers and contributors who fork Tor to a Github repository be
  3856. better able to test their changes, and understand what we expect
  3857. to pass. To use this new build feature, you must fork Tor to your
  3858. Github account, then go into the "Integrations" menu in the
  3859. repository settings for your fork and enable Travis, then push
  3860. your changes. Closes ticket 22636.
  3861. Changes in version 0.3.0.11 - 2017-09-18
  3862. Tor 0.3.0.11 backports a collection of bugfixes from Tor the 0.3.1
  3863. series.
  3864. Most significantly, it includes a fix for TROVE-2017-008, a
  3865. security bug that affects hidden services running with the
  3866. SafeLogging option disabled. For more information, see
  3867. https://trac.torproject.org/projects/tor/ticket/23490
  3868. o Minor features (code style, backport from 0.3.1.7):
  3869. - Add "Falls through" comments to our codebase, in order to silence
  3870. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  3871. Stieger. Closes ticket 22446.
  3872. o Minor features:
  3873. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  3874. Country database.
  3875. o Minor bugfixes (compilation, backport from 0.3.1.7):
  3876. - Avoid compiler warnings in the unit tests for calling tor_sscanf()
  3877. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  3878. o Minor bugfixes (controller, backport from 0.3.1.7):
  3879. - Do not crash when receiving a HSPOST command with an empty body.
  3880. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  3881. - Do not crash when receiving a POSTDESCRIPTOR command with an empty
  3882. body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  3883. o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
  3884. - When setting the maximum number of connections allowed by the OS,
  3885. always allow some extra file descriptors for other files. Fixes
  3886. bug 22797; bugfix on 0.2.0.10-alpha.
  3887. o Minor bugfixes (logging, relay, backport from 0.3.1.6-rc):
  3888. - Remove a forgotten debugging message when an introduction point
  3889. successfully establishes a hidden service prop224 circuit with
  3890. a client.
  3891. - Change three other log_warn() for an introduction point to
  3892. protocol warnings, because they can be failure from the network
  3893. and are not relevant to the operator. Fixes bug 23078; bugfix on
  3894. 0.3.0.1-alpha and 0.3.0.2-alpha.
  3895. Changes in version 0.3.1.7 - 2017-09-18
  3896. Tor 0.3.1.7 is the first stable release in the 0.3.1 series.
  3897. With the 0.3.1 series, Tor now serves and downloads directory
  3898. information in more compact formats, to save on bandwidth overhead. It
  3899. also contains a new padding system to resist netflow-based traffic
  3900. analysis, and experimental support for building parts of Tor in Rust
  3901. (though no parts of Tor are in Rust yet). There are also numerous
  3902. small features, bugfixes on earlier release series, and groundwork for
  3903. the hidden services revamp of 0.3.2.
  3904. This release also includes a fix for TROVE-2017-008, a security bug
  3905. that affects hidden services running with the SafeLogging option
  3906. disabled. For more information, see
  3907. https://trac.torproject.org/projects/tor/ticket/23490
  3908. Per our stable release policy, we plan to support each stable release
  3909. series for at least the next nine months, or for three months after
  3910. the first stable release of the next series: whichever is longer. If
  3911. you need a release with long-term support, we recommend that you stay
  3912. with the 0.2.9 series.
  3913. Below is a list of the changes since 0.3.1.6-rc. For a list of all
  3914. changes since 0.3.0, see the ReleaseNotes file.
  3915. o Major bugfixes (security, hidden services, loggging):
  3916. - Fix a bug where we could log uninitialized stack when a certain
  3917. hidden service error occurred while SafeLogging was disabled.
  3918. Fixes bug #23490; bugfix on 0.2.7.2-alpha. This is also tracked as
  3919. TROVE-2017-008 and CVE-2017-0380.
  3920. o Minor features (defensive programming):
  3921. - Create a pair of consensus parameters, nf_pad_tor2web and
  3922. nf_pad_single_onion, to disable netflow padding in the consensus
  3923. for non-anonymous connections in case the overhead is high. Closes
  3924. ticket 17857.
  3925. o Minor features (diagnostic):
  3926. - Add a stack trace to the bug warnings that can be logged when
  3927. trying to send an outgoing relay cell with n_chan == 0. Diagnostic
  3928. attempt for bug 23105.
  3929. o Minor features (geoip):
  3930. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  3931. Country database.
  3932. o Minor bugfixes (compilation):
  3933. - Avoid compiler warnings in the unit tests for calling tor_sscanf()
  3934. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  3935. o Minor bugfixes (controller):
  3936. - Do not crash when receiving a HSPOST command with an empty body.
  3937. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  3938. - Do not crash when receiving a POSTDESCRIPTOR command with an empty
  3939. body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  3940. o Minor bugfixes (relay):
  3941. - Inform the geoip and rephist modules about all requests, even on
  3942. relays that are only fetching microdescriptors. Fixes a bug
  3943. related to 21585; bugfix on 0.3.0.1-alpha.
  3944. o Minor bugfixes (unit tests):
  3945. - Fix a channelpadding unit test failure on slow systems by using
  3946. mocked time instead of actual time. Fixes bug 23077; bugfix
  3947. on 0.3.1.1-alpha.
  3948. Changes in version 0.3.1.6-rc - 2017-09-05
  3949. Tor 0.3.1.6-rc fixes a few small bugs and annoyances in the 0.3.1
  3950. release series, including a bug that produced weird behavior on
  3951. Windows directory caches.
  3952. This is the first release candidate in the Tor 0.3.1 series. If we
  3953. find no new bugs or regressions here, the first stable 0.3.1 release
  3954. will be nearly identical to it.
  3955. o Major bugfixes (windows, directory cache):
  3956. - On Windows, do not try to delete cached consensus documents and
  3957. diffs before they are unmapped from memory--Windows won't allow
  3958. that. Instead, allow the consensus cache directory to grow larger,
  3959. to hold files that might need to stay around longer. Fixes bug
  3960. 22752; bugfix on 0.3.1.1-alpha.
  3961. o Minor features (directory authority):
  3962. - Improve the message that authorities report to relays that present
  3963. RSA/Ed25519 keypairs that conflict with previously pinned keys.
  3964. Closes ticket 22348.
  3965. o Minor features (geoip):
  3966. - Update geoip and geoip6 to the August 3 2017 Maxmind GeoLite2
  3967. Country database.
  3968. o Minor features (testing):
  3969. - Add more tests for compression backend initialization. Closes
  3970. ticket 22286.
  3971. o Minor bugfixes (directory cache):
  3972. - Fix a memory leak when recovering space in the consensus cache.
  3973. Fixes bug 23139; bugfix on 0.3.1.1-alpha.
  3974. o Minor bugfixes (hidden service):
  3975. - Increase the number of circuits that a service is allowed to
  3976. open over a specific period of time. The value was lower than it
  3977. should be (8 vs 12) in the normal case of 3 introduction points.
  3978. Fixes bug 22159; bugfix on 0.3.0.5-rc.
  3979. - Fix a BUG warning during HSv3 descriptor decoding that could be
  3980. cause by a specially crafted descriptor. Fixes bug 23233; bugfix
  3981. on 0.3.0.1-alpha. Bug found by "haxxpop".
  3982. - Rate-limit the log messages if we exceed the maximum number of
  3983. allowed intro circuits. Fixes bug 22159; bugfix on 0.3.1.1-alpha.
  3984. o Minor bugfixes (logging, relay):
  3985. - Remove a forgotten debugging message when an introduction point
  3986. successfully establishes a hidden service prop224 circuit with
  3987. a client.
  3988. - Change three other log_warn() for an introduction point to
  3989. protocol warnings, because they can be failure from the network
  3990. and are not relevant to the operator. Fixes bug 23078; bugfix on
  3991. 0.3.0.1-alpha and 0.3.0.2-alpha.
  3992. o Minor bugfixes (relay):
  3993. - When a relay is not running as a directory cache, it will no
  3994. longer generate compressed consensuses and consensus diff
  3995. information. Previously, this was a waste of disk and CPU. Fixes
  3996. bug 23275; bugfix on 0.3.1.1-alpha.
  3997. o Minor bugfixes (robustness, error handling):
  3998. - Improve our handling of the cases where OpenSSL encounters a
  3999. memory error while encoding keys and certificates. We haven't
  4000. observed these errors in the wild, but if they do happen, we now
  4001. detect and respond better. Fixes bug 19418; bugfix on all versions
  4002. of Tor. Reported by Guido Vranken.
  4003. o Minor bugfixes (stability):
  4004. - Avoid crashing on a double-free when unable to load or process an
  4005. included file. Fixes bug 23155; bugfix on 0.3.1.1-alpha. Found
  4006. with the clang static analyzer.
  4007. o Minor bugfixes (testing):
  4008. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  4009. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  4010. - Port the hs_ntor handshake test to work correctly with recent
  4011. versions of the pysha3 module. Fixes bug 23071; bugfix
  4012. on 0.3.1.1-alpha.
  4013. o Minor bugfixes (Windows service):
  4014. - When running as a Windows service, set the ID of the main thread
  4015. correctly. Failure to do so made us fail to send log messages to
  4016. the controller in 0.2.1.16-rc, slowed down controller event
  4017. delivery in 0.2.7.3-rc and later, and crash with an assertion
  4018. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  4019. Patch and diagnosis from "Vort".
  4020. Changes in version 0.3.0.10 - 2017-08-02
  4021. Tor 0.3.0.10 backports a collection of small-to-medium bugfixes
  4022. from the current Tor alpha series. OpenBSD users and TPROXY users
  4023. should upgrade; others are probably okay sticking with 0.3.0.9.
  4024. o Major features (build system, continuous integration, backport from 0.3.1.5-alpha):
  4025. - Tor's repository now includes a Travis Continuous Integration (CI)
  4026. configuration file (.travis.yml). This is meant to help new
  4027. developers and contributors who fork Tor to a Github repository be
  4028. better able to test their changes, and understand what we expect
  4029. to pass. To use this new build feature, you must fork Tor to your
  4030. Github account, then go into the "Integrations" menu in the
  4031. repository settings for your fork and enable Travis, then push
  4032. your changes. Closes ticket 22636.
  4033. o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
  4034. - Fix a typo that had prevented TPROXY-based transparent proxying
  4035. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  4036. Patch from "d4fq0fQAgoJ".
  4037. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  4038. - Avoid an assertion failure bug affecting our implementation of
  4039. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  4040. handling of "0xbar" differs from what we had expected. Fixes bug
  4041. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  4042. o Minor features (backport from 0.3.1.5-alpha):
  4043. - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
  4044. Country database.
  4045. o Minor bugfixes (bandwidth accounting, backport from 0.3.1.2-alpha):
  4046. - Roll over monthly accounting at the configured hour and minute,
  4047. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  4048. Found by Andrey Karpov with PVS-Studio.
  4049. o Minor bugfixes (compilation warnings, backport from 0.3.1.5-alpha):
  4050. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
  4051. bugfix on 0.2.8.1-alpha.
  4052. - Fix warnings when building with libscrypt and openssl scrypt
  4053. support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  4054. - When building with certain versions of the mingw C header files,
  4055. avoid float-conversion warnings when calling the C functions
  4056. isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
  4057. on 0.2.8.1-alpha.
  4058. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  4059. - Backport a fix for an "unused variable" warning that appeared
  4060. in some versions of mingw. Fixes bug 22838; bugfix on
  4061. 0.2.8.1-alpha.
  4062. o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
  4063. - Avoid Coverity build warnings related to our BUG() macro. By
  4064. default, Coverity treats BUG() as the Linux kernel does: an
  4065. instant abort(). We need to override that so our BUG() macro
  4066. doesn't prevent Coverity from analyzing functions that use it.
  4067. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  4068. o Minor bugfixes (directory authority, backport from 0.3.1.1-alpha):
  4069. - When rejecting a router descriptor for running an obsolete version
  4070. of Tor without ntor support, warn about the obsolete tor version,
  4071. not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
  4072. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
  4073. - Avoid a sandbox failure when trying to re-bind to a socket and
  4074. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  4075. o Minor bugfixes (unit tests, backport from 0.3.1.5-alpha)
  4076. - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
  4077. Fixes bug 22803; bugfix on 0.3.0.1-alpha.
  4078. Changes in version 0.3.1.5-alpha - 2017-08-01
  4079. Tor 0.3.1.5-alpha improves the performance of consensus diff
  4080. calculation, fixes a crash bug on older versions of OpenBSD, and fixes
  4081. several other bugs. If no serious bugs are found in this version, the
  4082. next version will be a release candidate.
  4083. This release also marks the end of support for the Tor 0.2.4.x,
  4084. 0.2.6.x, and 0.2.7.x release series. Those releases will receive no
  4085. further bug or security fixes. Anyone still running or distributing
  4086. one of those versions should upgrade.
  4087. o Major features (build system, continuous integration):
  4088. - Tor's repository now includes a Travis Continuous Integration (CI)
  4089. configuration file (.travis.yml). This is meant to help new
  4090. developers and contributors who fork Tor to a Github repository be
  4091. better able to test their changes, and understand what we expect
  4092. to pass. To use this new build feature, you must fork Tor to your
  4093. Github account, then go into the "Integrations" menu in the
  4094. repository settings for your fork and enable Travis, then push
  4095. your changes. Closes ticket 22636.
  4096. o Major bugfixes (openbsd, denial-of-service):
  4097. - Avoid an assertion failure bug affecting our implementation of
  4098. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  4099. handling of "0xbar" differs from what we had expected. Fixes bug
  4100. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  4101. o Major bugfixes (relay, performance):
  4102. - Perform circuit handshake operations at a higher priority than we
  4103. use for consensus diff creation and compression. This should
  4104. prevent circuits from starving when a relay or bridge receives a
  4105. new consensus, especially on lower-powered machines. Fixes bug
  4106. 22883; bugfix on 0.3.1.1-alpha.
  4107. o Minor features (bridge authority):
  4108. - Add "fingerprint" lines to the networkstatus-bridges file produced
  4109. by bridge authorities. Closes ticket 22207.
  4110. o Minor features (directory cache, consensus diff):
  4111. - Add a new MaxConsensusAgeForDiffs option to allow directory cache
  4112. operators with low-resource environments to adjust the number of
  4113. consensuses they'll store and generate diffs from. Most cache
  4114. operators should leave it unchanged. Helps to work around
  4115. bug 22883.
  4116. o Minor features (geoip):
  4117. - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
  4118. Country database.
  4119. o Minor features (relay, performance):
  4120. - Always start relays with at least two worker threads, to prevent
  4121. priority inversion on slow tasks. Part of the fix for bug 22883.
  4122. - Allow background work to be queued with different priorities, so
  4123. that a big pile of slow low-priority jobs will not starve out
  4124. higher priority jobs. This lays the groundwork for a fix for
  4125. bug 22883.
  4126. o Minor bugfixes (build system, rust):
  4127. - Fix a problem where Rust toolchains were not being found when
  4128. building without --enable-cargo-online-mode, due to setting the
  4129. $HOME environment variable instead of $CARGO_HOME. Fixes bug
  4130. 22830; bugfix on 0.3.1.1-alpha. Fix by Chelsea Komlo.
  4131. o Minor bugfixes (compatibility, zstd):
  4132. - Write zstd epilogues correctly when the epilogue requires
  4133. reallocation of the output buffer, even with zstd 1.3.0.
  4134. (Previously, we worked on 1.2.0 and failed with 1.3.0). Fixes bug
  4135. 22927; bugfix on 0.3.1.1-alpha.
  4136. o Minor bugfixes (compilation warnings):
  4137. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug
  4138. 22915; bugfix on 0.2.8.1-alpha.
  4139. - Fix warnings when building with libscrypt and openssl scrypt
  4140. support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  4141. - Compile correctly when both openssl 1.1.0 and libscrypt are
  4142. detected. Previously this would cause an error. Fixes bug 22892;
  4143. bugfix on 0.3.1.1-alpha.
  4144. - When building with certain versions of the mingw C header files,
  4145. avoid float-conversion warnings when calling the C functions
  4146. isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
  4147. on 0.2.8.1-alpha.
  4148. o Minor bugfixes (coverity build support):
  4149. - Avoid Coverity build warnings related to our BUG() macro. By
  4150. default, Coverity treats BUG() as the Linux kernel does: an
  4151. instant abort(). We need to override that so our BUG() macro
  4152. doesn't prevent Coverity from analyzing functions that use it.
  4153. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  4154. o Minor bugfixes (directory authority):
  4155. - When a directory authority rejects a descriptor or extrainfo with
  4156. a given digest, mark that digest as undownloadable, so that we do
  4157. not attempt to download it again over and over. We previously
  4158. tried to avoid downloading such descriptors by other means, but we
  4159. didn't notice if we accidentally downloaded one anyway. This
  4160. behavior became problematic in 0.2.7.2-alpha, when authorities
  4161. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  4162. on 0.2.1.19-alpha.
  4163. o Minor bugfixes (error reporting, windows):
  4164. - When formatting Windows error messages, use the English format to
  4165. avoid codepage issues. Fixes bug 22520; bugfix on 0.1.2.8-alpha.
  4166. Patch from "Vort".
  4167. o Minor bugfixes (file limits, osx):
  4168. - When setting the maximum number of connections allowed by the OS,
  4169. always allow some extra file descriptors for other files. Fixes
  4170. bug 22797; bugfix on 0.2.0.10-alpha.
  4171. o Minor bugfixes (linux seccomp2 sandbox):
  4172. - Avoid a sandbox failure when trying to re-bind to a socket and
  4173. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  4174. o Minor bugfixes (memory leaks):
  4175. - Fix a small memory leak when validating a configuration that uses
  4176. two or more AF_UNIX sockets for the same port type. Fixes bug
  4177. 23053; bugfix on 0.2.6.3-alpha. This is CID 1415725.
  4178. o Minor bugfixes (unit tests):
  4179. - test_consdiff_base64cmp would fail on OS X because while OS X
  4180. follows the standard of (less than zero/zero/greater than zero),
  4181. it doesn't follow the convention of (-1/0/+1). Make the test
  4182. comply with the standard. Fixes bug 22870; bugfix on 0.3.1.1-alpha.
  4183. - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
  4184. Fixes bug 22803; bugfix on 0.3.0.1-alpha.
  4185. Changes in version 0.3.1.4-alpha - 2017-06-29
  4186. Tor 0.3.1.4-alpha fixes a path selection bug that would allow a client
  4187. to use a guard that was in the same network family as a chosen exit
  4188. relay. This is a security regression; all clients running earlier
  4189. versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9
  4190. or 0.3.1.4-alpha.
  4191. This release also fixes several other bugs introduced in 0.3.0.x
  4192. and 0.3.1.x, including others that can affect bandwidth usage
  4193. and correctness.
  4194. o New dependencies:
  4195. - To build with zstd and lzma support, Tor now requires the
  4196. pkg-config tool at build time. (This requirement was new in
  4197. 0.3.1.1-alpha, but was not noted at the time. Noting it here to
  4198. close ticket 22623.)
  4199. o Major bugfixes (path selection, security):
  4200. - When choosing which guard to use for a circuit, avoid the exit's
  4201. family along with the exit itself. Previously, the new guard
  4202. selection logic avoided the exit, but did not consider its family.
  4203. Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
  4204. 006 and CVE-2017-0377.
  4205. o Major bugfixes (compression, zstd):
  4206. - Correctly detect a full buffer when decompressing a large zstd-
  4207. compressed input. Previously, we would sometimes treat a full
  4208. buffer as an error. Fixes bug 22628; bugfix on 0.3.1.1-alpha.
  4209. o Major bugfixes (directory protocol):
  4210. - Ensure that we send "304 Not modified" as HTTP status code when a
  4211. client is attempting to fetch a consensus or consensus diff, and
  4212. the best one we can send them is one they already have. Fixes bug
  4213. 22702; bugfix on 0.3.1.1-alpha.
  4214. o Major bugfixes (entry guards):
  4215. - When starting with an old consensus, do not add new entry guards
  4216. unless the consensus is "reasonably live" (under 1 day old). Fixes
  4217. one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
  4218. o Minor features (bug mitigation, diagnostics, logging):
  4219. - Avoid an assertion failure, and log a better error message, when
  4220. unable to remove a file from the consensus cache on Windows.
  4221. Attempts to mitigate and diagnose bug 22752.
  4222. o Minor features (geoip):
  4223. - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
  4224. Country database.
  4225. o Minor bugfixes (compression):
  4226. - When compressing or decompressing a buffer, check for a failure to
  4227. create a compression object. Fixes bug 22626; bugfix
  4228. on 0.3.1.1-alpha.
  4229. - When decompressing a buffer, check for extra data after the end of
  4230. the compressed data. Fixes bug 22629; bugfix on 0.3.1.1-alpha.
  4231. - When decompressing an object received over an anonymous directory
  4232. connection, if we have already decompressed it using an acceptable
  4233. compression method, do not reject it for looking like an
  4234. unacceptable compression method. Fixes part of bug 22670; bugfix
  4235. on 0.3.1.1-alpha.
  4236. - When serving directory votes compressed with zlib, do not claim to
  4237. have compressed them with zstd. Fixes bug 22669; bugfix
  4238. on 0.3.1.1-alpha.
  4239. - When spooling compressed data to an output buffer, don't try to
  4240. spool more data when there is no more data to spool and we are not
  4241. trying to flush the input. Previously, we would sometimes launch
  4242. compression requests with nothing to do, which interferes with our
  4243. 22672 checks. Fixes bug 22719; bugfix on 0.2.0.16-alpha.
  4244. o Minor bugfixes (defensive programming):
  4245. - Detect and break out of infinite loops in our compression code. We
  4246. don't think that any such loops exist now, but it's best to be
  4247. safe. Closes ticket 22672.
  4248. - Fix a memset() off the end of an array when packing cells. This
  4249. bug should be harmless in practice, since the corrupted bytes are
  4250. still in the same structure, and are always padding bytes,
  4251. ignored, or immediately overwritten, depending on compiler
  4252. behavior. Nevertheless, because the memset()'s purpose is to make
  4253. sure that any other cell-handling bugs can't expose bytes to the
  4254. network, we need to fix it. Fixes bug 22737; bugfix on
  4255. 0.2.4.11-alpha. Fixes CID 1401591.
  4256. o Minor bugfixes (linux seccomp2 sandbox):
  4257. - Permit the fchmod system call, to avoid crashing on startup when
  4258. starting with the seccomp2 sandbox and an unexpected set of
  4259. permissions on the data directory or its contents. Fixes bug
  4260. 22516; bugfix on 0.2.5.4-alpha.
  4261. - Fix a crash in the LZMA module, when the sandbox was enabled, and
  4262. liblzma would allocate more than 16 MB of memory. We solve this by
  4263. bumping the mprotect() limit in the sandbox module from 16 MB to
  4264. 20 MB. Fixes bug 22751; bugfix on 0.3.1.1-alpha.
  4265. o Minor bugfixes (logging):
  4266. - When decompressing, do not warn if we fail to decompress using a
  4267. compression method that we merely guessed. Fixes part of bug
  4268. 22670; bugfix on 0.1.1.14-alpha.
  4269. - When decompressing, treat mismatch between content-encoding and
  4270. actual compression type as a protocol warning. Fixes part of bug
  4271. 22670; bugfix on 0.1.1.9-alpha.
  4272. - Downgrade "assigned_to_cpuworker failed" message to info-level
  4273. severity. In every case that can reach it, either a better warning
  4274. has already been logged, or no warning is warranted. Fixes bug
  4275. 22356; bugfix on 0.2.6.3-alpha.
  4276. - Demote a warn that was caused by libevent delays to info if
  4277. netflow padding is less than 4.5 seconds late, or to notice
  4278. if it is more (4.5 seconds is the amount of time that a netflow
  4279. record might be emitted after, if we chose the maximum timeout).
  4280. Fixes bug 22212; bugfix on 0.3.1.1-alpha.
  4281. o Minor bugfixes (process behavior):
  4282. - When exiting because of an error, always exit with a nonzero exit
  4283. status. Previously, we would fail to report an error in our exit
  4284. status in cases related to __OwningControllerProcess failure,
  4285. lockfile contention, and Ed25519 key initialization. Fixes bug
  4286. 22720; bugfix on versions 0.2.1.6-alpha, 0.2.2.28-beta, and
  4287. 0.2.7.2-alpha respectively. Reported by "f55jwk4f"; patch
  4288. from "huyvq".
  4289. o Documentation:
  4290. - Add a manpage description for the key-pinning-journal file. Closes
  4291. ticket 22347.
  4292. - Correctly note that bandwidth accounting values are stored in the
  4293. state file, and the bw_accounting file is now obsolete. Closes
  4294. ticket 16082.
  4295. - Document more of the files in the Tor data directory, including
  4296. cached-extrainfo, secret_onion_key{,_ntor}.old, hidserv-stats,
  4297. approved-routers, sr-random, and diff-cache. Found while fixing
  4298. ticket 22347.
  4299. Changes in version 0.3.0.9 - 2017-06-29
  4300. Tor 0.3.0.9 fixes a path selection bug that would allow a client
  4301. to use a guard that was in the same network family as a chosen exit
  4302. relay. This is a security regression; all clients running earlier
  4303. versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9 or
  4304. 0.3.1.4-alpha.
  4305. This release also backports several other bugfixes from the 0.3.1.x
  4306. series.
  4307. o Major bugfixes (path selection, security, backport from 0.3.1.4-alpha):
  4308. - When choosing which guard to use for a circuit, avoid the exit's
  4309. family along with the exit itself. Previously, the new guard
  4310. selection logic avoided the exit, but did not consider its family.
  4311. Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
  4312. 006 and CVE-2017-0377.
  4313. o Major bugfixes (entry guards, backport from 0.3.1.1-alpha):
  4314. - Don't block bootstrapping when a primary bridge is offline and we
  4315. can't get its descriptor. Fixes bug 22325; fixes one case of bug
  4316. 21969; bugfix on 0.3.0.3-alpha.
  4317. o Major bugfixes (entry guards, backport from 0.3.1.4-alpha):
  4318. - When starting with an old consensus, do not add new entry guards
  4319. unless the consensus is "reasonably live" (under 1 day old). Fixes
  4320. one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
  4321. o Minor features (geoip):
  4322. - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
  4323. Country database.
  4324. o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
  4325. - Reject version numbers with non-numeric prefixes (such as +, -, or
  4326. whitespace). Disallowing whitespace prevents differential version
  4327. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  4328. and part of 21508; bugfix on 0.0.8pre1.
  4329. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
  4330. - Permit the fchmod system call, to avoid crashing on startup when
  4331. starting with the seccomp2 sandbox and an unexpected set of
  4332. permissions on the data directory or its contents. Fixes bug
  4333. 22516; bugfix on 0.2.5.4-alpha.
  4334. o Minor bugfixes (defensive programming, backport from 0.3.1.4-alpha):
  4335. - Fix a memset() off the end of an array when packing cells. This
  4336. bug should be harmless in practice, since the corrupted bytes are
  4337. still in the same structure, and are always padding bytes,
  4338. ignored, or immediately overwritten, depending on compiler
  4339. behavior. Nevertheless, because the memset()'s purpose is to make
  4340. sure that any other cell-handling bugs can't expose bytes to the
  4341. network, we need to fix it. Fixes bug 22737; bugfix on
  4342. 0.2.4.11-alpha. Fixes CID 1401591.
  4343. Changes in version 0.3.1.3-alpha - 2017-06-08
  4344. Tor 0.3.1.3-alpha fixes a pair of bugs that would allow an attacker to
  4345. remotely crash a hidden service with an assertion failure. Anyone
  4346. running a hidden service should upgrade to this version, or to some
  4347. other version with fixes for TROVE-2017-004 and TROVE-2017-005.
  4348. Tor 0.3.1.3-alpha also includes fixes for several key management bugs
  4349. that sometimes made relays unreliable, as well as several other
  4350. bugfixes described below.
  4351. o Major bugfixes (hidden service, relay, security):
  4352. - Fix a remotely triggerable assertion failure when a hidden service
  4353. handles a malformed BEGIN cell. Fixes bug 22493, tracked as
  4354. TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
  4355. - Fix a remotely triggerable assertion failure caused by receiving a
  4356. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  4357. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  4358. on 0.2.2.1-alpha.
  4359. o Major bugfixes (relay, link handshake):
  4360. - When performing the v3 link handshake on a TLS connection, report
  4361. that we have the x509 certificate that we actually used on that
  4362. connection, even if we have changed certificates since that
  4363. connection was first opened. Previously, we would claim to have
  4364. used our most recent x509 link certificate, which would sometimes
  4365. make the link handshake fail. Fixes one case of bug 22460; bugfix
  4366. on 0.2.3.6-alpha.
  4367. o Major bugfixes (relays, key management):
  4368. - Regenerate link and authentication certificates whenever the key
  4369. that signs them changes; also, regenerate link certificates
  4370. whenever the signed key changes. Previously, these processes were
  4371. only weakly coupled, and we relays could (for minutes to hours)
  4372. wind up with an inconsistent set of keys and certificates, which
  4373. other relays would not accept. Fixes two cases of bug 22460;
  4374. bugfix on 0.3.0.1-alpha.
  4375. - When sending an Ed25519 signing->link certificate in a CERTS cell,
  4376. send the certificate that matches the x509 certificate that we
  4377. used on the TLS connection. Previously, there was a race condition
  4378. if the TLS context rotated after we began the TLS handshake but
  4379. before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
  4380. on 0.3.0.1-alpha.
  4381. o Major bugfixes (torrc, crash):
  4382. - Fix a crash bug when using %include in torrc. Fixes bug 22417;
  4383. bugfix on 0.3.1.1-alpha. Patch by Daniel Pinto.
  4384. o Minor features (code style):
  4385. - Add "Falls through" comments to our codebase, in order to silence
  4386. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  4387. Stieger. Closes ticket 22446.
  4388. o Minor features (diagnostic):
  4389. - Add logging messages to try to diagnose a rare bug that seems to
  4390. generate RSA->Ed25519 cross-certificates dated in the 1970s. We
  4391. think this is happening because of incorrect system clocks, but
  4392. we'd like to know for certain. Diagnostic for bug 22466.
  4393. o Minor bugfixes (correctness):
  4394. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  4395. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  4396. o Minor bugfixes (directory protocol):
  4397. - Check for libzstd >= 1.1, because older versions lack the
  4398. necessary streaming API. Fixes bug 22413; bugfix on 0.3.1.1-alpha.
  4399. o Minor bugfixes (link handshake):
  4400. - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
  4401. months, and regenerate it when it is within one month of expiring.
  4402. Previously, we had generated this certificate at startup with a
  4403. ten-year lifetime, but that could lead to weird behavior when Tor
  4404. was started with a grossly inaccurate clock. Mitigates bug 22466;
  4405. mitigation on 0.3.0.1-alpha.
  4406. o Minor bugfixes (storage directories):
  4407. - Always check for underflows in the cached storage directory usage.
  4408. If the usage does underflow, re-calculate it. Also, avoid a
  4409. separate underflow when the usage is not known. Fixes bug 22424;
  4410. bugfix on 0.3.1.1-alpha.
  4411. o Minor bugfixes (unit tests):
  4412. - The unit tests now pass on systems where localhost is misconfigured
  4413. to some IPv4 address other than 127.0.0.1. Fixes bug 6298; bugfix
  4414. on 0.0.9pre2.
  4415. o Documentation:
  4416. - Clarify the manpage for the (deprecated) torify script. Closes
  4417. ticket 6892.
  4418. Changes in version 0.3.0.8 - 2017-06-08
  4419. Tor 0.3.0.8 fixes a pair of bugs that would allow an attacker to
  4420. remotely crash a hidden service with an assertion failure. Anyone
  4421. running a hidden service should upgrade to this version, or to some
  4422. other version with fixes for TROVE-2017-004 and TROVE-2017-005.
  4423. Tor 0.3.0.8 also includes fixes for several key management bugs
  4424. that sometimes made relays unreliable, as well as several other
  4425. bugfixes described below.
  4426. o Major bugfixes (hidden service, relay, security, backport
  4427. from 0.3.1.3-alpha):
  4428. - Fix a remotely triggerable assertion failure when a hidden service
  4429. handles a malformed BEGIN cell. Fixes bug 22493, tracked as
  4430. TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
  4431. - Fix a remotely triggerable assertion failure caused by receiving a
  4432. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  4433. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  4434. on 0.2.2.1-alpha.
  4435. o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
  4436. - When performing the v3 link handshake on a TLS connection, report
  4437. that we have the x509 certificate that we actually used on that
  4438. connection, even if we have changed certificates since that
  4439. connection was first opened. Previously, we would claim to have
  4440. used our most recent x509 link certificate, which would sometimes
  4441. make the link handshake fail. Fixes one case of bug 22460; bugfix
  4442. on 0.2.3.6-alpha.
  4443. o Major bugfixes (relays, key management, backport from 0.3.1.3-alpha):
  4444. - Regenerate link and authentication certificates whenever the key
  4445. that signs them changes; also, regenerate link certificates
  4446. whenever the signed key changes. Previously, these processes were
  4447. only weakly coupled, and we relays could (for minutes to hours)
  4448. wind up with an inconsistent set of keys and certificates, which
  4449. other relays would not accept. Fixes two cases of bug 22460;
  4450. bugfix on 0.3.0.1-alpha.
  4451. - When sending an Ed25519 signing->link certificate in a CERTS cell,
  4452. send the certificate that matches the x509 certificate that we
  4453. used on the TLS connection. Previously, there was a race condition
  4454. if the TLS context rotated after we began the TLS handshake but
  4455. before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
  4456. on 0.3.0.1-alpha.
  4457. o Major bugfixes (hidden service v3, backport from 0.3.1.1-alpha):
  4458. - Stop rejecting v3 hidden service descriptors because their size
  4459. did not match an old padding rule. Fixes bug 22447; bugfix on
  4460. 0.3.0.1-alpha.
  4461. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  4462. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  4463. December 2016 (of which ~126 were still functional) with a list of
  4464. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  4465. 2017. Resolves ticket 21564.
  4466. o Minor bugfixes (configuration, backport from 0.3.1.1-alpha):
  4467. - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
  4468. bug 22252; bugfix on 0.2.9.3-alpha.
  4469. o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
  4470. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  4471. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  4472. o Minor bugfixes (link handshake, backport from 0.3.1.3-alpha):
  4473. - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
  4474. months, and regenerate it when it is within one month of expiring.
  4475. Previously, we had generated this certificate at startup with a
  4476. ten-year lifetime, but that could lead to weird behavior when Tor
  4477. was started with a grossly inaccurate clock. Mitigates bug 22466;
  4478. mitigation on 0.3.0.1-alpha.
  4479. o Minor bugfixes (memory leak, directory authority, backport from
  4480. 0.3.1.2-alpha):
  4481. - When directory authorities reject a router descriptor due to
  4482. keypinning, free the router descriptor rather than leaking the
  4483. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  4484. Changes in version 0.2.9.11 - 2017-06-08
  4485. Tor 0.2.9.11 backports a fix for a bug that would allow an attacker to
  4486. remotely crash a hidden service with an assertion failure. Anyone
  4487. running a hidden service should upgrade to this version, or to some
  4488. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  4489. are not affected by TROVE-2017-004.)
  4490. Tor 0.2.9.11 also backports fixes for several key management bugs
  4491. that sometimes made relays unreliable, as well as several other
  4492. bugfixes described below.
  4493. o Major bugfixes (hidden service, relay, security, backport
  4494. from 0.3.1.3-alpha):
  4495. - Fix a remotely triggerable assertion failure caused by receiving a
  4496. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  4497. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  4498. on 0.2.2.1-alpha.
  4499. o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
  4500. - When performing the v3 link handshake on a TLS connection, report
  4501. that we have the x509 certificate that we actually used on that
  4502. connection, even if we have changed certificates since that
  4503. connection was first opened. Previously, we would claim to have
  4504. used our most recent x509 link certificate, which would sometimes
  4505. make the link handshake fail. Fixes one case of bug 22460; bugfix
  4506. on 0.2.3.6-alpha.
  4507. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  4508. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  4509. December 2016 (of which ~126 were still functional) with a list of
  4510. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  4511. 2017. Resolves ticket 21564.
  4512. o Minor features (future-proofing, backport from 0.3.0.7):
  4513. - Tor no longer refuses to download microdescriptors or descriptors if
  4514. they are listed as "published in the future". This change will
  4515. eventually allow us to stop listing meaningful "published" dates
  4516. in microdescriptor consensuses, and thereby allow us to reduce the
  4517. resources required to download consensus diffs by over 50%.
  4518. Implements part of ticket 21642; implements part of proposal 275.
  4519. o Minor features (directory authorities, backport from 0.3.0.4-rc)
  4520. - Directory authorities now reject relays running versions
  4521. 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
  4522. suffer from bug 20499 and don't keep their consensus cache
  4523. up-to-date. Resolves ticket 20509.
  4524. o Minor features (geoip):
  4525. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  4526. Country database.
  4527. o Minor bugfixes (control port, backport from 0.3.0.6):
  4528. - The GETINFO extra-info/digest/<digest> command was broken because
  4529. of a wrong base16 decode return value check, introduced when
  4530. refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
  4531. o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
  4532. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  4533. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  4534. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.0.7):
  4535. - The getpid() system call is now permitted under the Linux seccomp2
  4536. sandbox, to avoid crashing with versions of OpenSSL (and other
  4537. libraries) that attempt to learn the process's PID by using the
  4538. syscall rather than the VDSO code. Fixes bug 21943; bugfix
  4539. on 0.2.5.1-alpha.
  4540. o Minor bugfixes (memory leak, directory authority, backport
  4541. from 0.3.1.2-alpha):
  4542. - When directory authorities reject a router descriptor due to
  4543. keypinning, free the router descriptor rather than leaking the
  4544. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  4545. Changes in version 0.2.8.14 - 2017-06-08
  4546. Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
  4547. remotely crash a hidden service with an assertion failure. Anyone
  4548. running a hidden service should upgrade to this version, or to some
  4549. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  4550. are not affected by TROVE-2017-004.)
  4551. o Major bugfixes (hidden service, relay, security):
  4552. - Fix a remotely triggerable assertion failure caused by receiving a
  4553. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  4554. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  4555. on 0.2.2.1-alpha.
  4556. o Minor features (geoip):
  4557. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  4558. Country database.
  4559. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  4560. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  4561. December 2016 (of which ~126 were still functional) with a list of
  4562. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  4563. 2017. Resolves ticket 21564.
  4564. o Minor bugfixes (correctness):
  4565. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  4566. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  4567. Changes in version 0.2.7.8 - 2017-06-08
  4568. Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
  4569. remotely crash a hidden service with an assertion failure. Anyone
  4570. running a hidden service should upgrade to this version, or to some
  4571. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  4572. are not affected by TROVE-2017-004.)
  4573. o Major bugfixes (hidden service, relay, security):
  4574. - Fix a remotely triggerable assertion failure caused by receiving a
  4575. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  4576. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  4577. on 0.2.2.1-alpha.
  4578. o Minor features (geoip):
  4579. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  4580. Country database.
  4581. o Minor bugfixes (correctness):
  4582. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  4583. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  4584. Changes in version 0.2.6.12 - 2017-06-08
  4585. Tor 0.2.6.12 backports a fix for a bug that would allow an attacker to
  4586. remotely crash a hidden service with an assertion failure. Anyone
  4587. running a hidden service should upgrade to this version, or to some
  4588. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  4589. are not affected by TROVE-2017-004.)
  4590. o Major bugfixes (hidden service, relay, security):
  4591. - Fix a remotely triggerable assertion failure caused by receiving a
  4592. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  4593. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  4594. on 0.2.2.1-alpha.
  4595. o Minor features (geoip):
  4596. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  4597. Country database.
  4598. o Minor bugfixes (correctness):
  4599. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  4600. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  4601. Changes in version 0.2.5.14 - 2017-06-08
  4602. Tor 0.2.5.14 backports a fix for a bug that would allow an attacker to
  4603. remotely crash a hidden service with an assertion failure. Anyone
  4604. running a hidden service should upgrade to this version, or to some
  4605. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  4606. are not affected by TROVE-2017-004.)
  4607. o Major bugfixes (hidden service, relay, security):
  4608. - Fix a remotely triggerable assertion failure caused by receiving a
  4609. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  4610. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  4611. on 0.2.2.1-alpha.
  4612. o Minor features (geoip):
  4613. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  4614. Country database.
  4615. o Minor bugfixes (correctness):
  4616. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  4617. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  4618. Changes in version 0.2.4.29 - 2017-06-08
  4619. Tor 0.2.4.29 backports a fix for a bug that would allow an attacker to
  4620. remotely crash a hidden service with an assertion failure. Anyone
  4621. running a hidden service should upgrade to this version, or to some
  4622. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  4623. are not affected by TROVE-2017-004.)
  4624. o Major bugfixes (hidden service, relay, security):
  4625. - Fix a remotely triggerable assertion failure caused by receiving a
  4626. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  4627. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  4628. on 0.2.2.1-alpha.
  4629. o Minor features (geoip):
  4630. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  4631. Country database.
  4632. o Minor bugfixes (correctness):
  4633. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  4634. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  4635. Changes in version 0.3.1.2-alpha - 2017-05-26
  4636. Tor 0.3.1.2-alpha is the second release in the 0.3.1.x series. It
  4637. fixes a few bugs found while testing 0.3.1.1-alpha, including a
  4638. memory corruption bug that affected relay stability.
  4639. o Major bugfixes (crash, relay):
  4640. - Fix a memory-corruption bug in relays that set MyFamily.
  4641. Previously, they would double-free MyFamily elements when making
  4642. the next descriptor or when changing their configuration. Fixes
  4643. bug 22368; bugfix on 0.3.1.1-alpha.
  4644. o Minor bugfixes (logging):
  4645. - Log a better message when a directory authority replies to an
  4646. upload with an unexpected status code. Fixes bug 11121; bugfix
  4647. on 0.1.0.1-rc.
  4648. o Minor bugfixes (memory leak, directory authority):
  4649. - When directory authorities reject a router descriptor due to
  4650. keypinning, free the router descriptor rather than leaking the
  4651. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  4652. Changes in version 0.3.1.1-alpha - 2017-05-22
  4653. Tor 0.3.1.1-alpha is the first release in the 0.3.1.x series. It
  4654. reduces the bandwidth usage for Tor's directory protocol, adds some
  4655. basic padding to resist netflow-based traffic analysis and to serve as
  4656. the basis of other padding in the future, and adds rust support to the
  4657. build system.
  4658. It also contains numerous other small features and improvements to
  4659. security, correctness, and performance.
  4660. Below are the changes since 0.3.0.7.
  4661. o Major features (directory protocol):
  4662. - Tor relays and authorities can now serve clients an abbreviated
  4663. version of the consensus document, containing only the changes
  4664. since an older consensus document that the client holds. Clients
  4665. now request these documents when available. When both client and
  4666. server use this new protocol, they will use far less bandwidth (up
  4667. to 94% less) to keep the client's consensus up-to-date. Implements
  4668. proposal 140; closes ticket 13339. Based on work by Daniel Martí.
  4669. - Tor can now compress directory traffic with lzma or with zstd
  4670. compression algorithms, which can deliver better bandwidth
  4671. performance. Because lzma is computationally expensive, it's only
  4672. used for documents that can be compressed once and served many
  4673. times. Support for these algorithms requires that tor is built
  4674. with the libzstd and/or liblzma libraries available. Implements
  4675. proposal 278; closes ticket 21662.
  4676. - Relays now perform the more expensive compression operations, and
  4677. consensus diff generation, in worker threads. This separation
  4678. avoids delaying the main thread when a new consensus arrives.
  4679. o Major features (experimental):
  4680. - Tor can now build modules written in Rust. To turn this on, pass
  4681. the "--enable-rust" flag to the configure script. It's not time to
  4682. get excited yet: currently, there is no actual Rust functionality
  4683. beyond some simple glue code, and a notice at startup to tell you
  4684. that Rust is running. Still, we hope that programmers and
  4685. packagers will try building Tor with Rust support, so that we can
  4686. find issues and solve portability problems. Closes ticket 22106.
  4687. o Major features (traffic analysis resistance):
  4688. - Connections between clients and relays now send a padding cell in
  4689. each direction every 1.5 to 9.5 seconds (tunable via consensus
  4690. parameters). This padding will not resist specialized
  4691. eavesdroppers, but it should be enough to make many ISPs' routine
  4692. network flow logging less useful in traffic analysis against
  4693. Tor users.
  4694. Padding is negotiated using Tor's link protocol, so both relays
  4695. and clients must upgrade for this to take effect. Clients may
  4696. still send padding despite the relay's version by setting
  4697. ConnectionPadding 1 in torrc, and may disable padding by setting
  4698. ConnectionPadding 0 in torrc. Padding may be minimized for mobile
  4699. users with the torrc option ReducedConnectionPadding. Implements
  4700. Proposal 251 and Section 2 of Proposal 254; closes ticket 16861.
  4701. - Relays will publish 24 hour totals of padding and non-padding cell
  4702. counts to their extra-info descriptors, unless PaddingStatistics 0
  4703. is set in torrc. These 24 hour totals are also rounded to
  4704. multiples of 10000.
  4705. o Major bugfixes (connection usage):
  4706. - We use NETINFO cells to try to determine if both relays involved
  4707. in a connection will agree on the canonical status of that
  4708. connection. We prefer the connections where this is the case for
  4709. extend cells, and try to close connections where relays disagree
  4710. on their canonical status early. Also, we now prefer the oldest
  4711. valid connection for extend cells. These two changes should reduce
  4712. the number of long-term connections that are kept open between
  4713. relays. Fixes bug 17604; bugfix on 0.2.5.5-alpha.
  4714. - Relays now log hourly statistics (look for
  4715. "channel_check_for_duplicates" lines) on the total number of
  4716. connections to other relays. If the number of connections per
  4717. relay is unexpectedly large, this log message is at notice level.
  4718. Otherwise it is at info.
  4719. o Major bugfixes (entry guards):
  4720. - Don't block bootstrapping when a primary bridge is offline and we
  4721. can't get its descriptor. Fixes bug 22325; fixes one case of bug
  4722. 21969; bugfix on 0.3.0.3-alpha.
  4723. o Major bugfixes (linux TPROXY support):
  4724. - Fix a typo that had prevented TPROXY-based transparent proxying
  4725. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  4726. Patch from "d4fq0fQAgoJ".
  4727. o Minor features (security, windows):
  4728. - Enable a couple of pieces of Windows hardening: one
  4729. (HeapEnableTerminationOnCorruption) that has been on-by-default
  4730. since Windows 8, and unavailable before Windows 7; and one
  4731. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  4732. affect us, but shouldn't do any harm. Closes ticket 21953.
  4733. o Minor features (config options):
  4734. - Allow "%include" directives in torrc configuration files. These
  4735. directives import the settings from other files, or from all the
  4736. files in a directory. Closes ticket 1922. Code by Daniel Pinto.
  4737. - Make SAVECONF return an error when overwriting a torrc that has
  4738. includes. Using SAVECONF with the FORCE option will allow it to
  4739. overwrite torrc even if includes are used. Related to ticket 1922.
  4740. - Add "GETINFO config-can-saveconf" to tell controllers if SAVECONF
  4741. will work without the FORCE option. Related to ticket 1922.
  4742. o Minor features (controller):
  4743. - Warn the first time that a controller requests data in the long-
  4744. deprecated 'GETINFO network-status' format. Closes ticket 21703.
  4745. o Minor features (defaults):
  4746. - The default value for UseCreateFast is now 0: clients which
  4747. haven't yet received a consensus document will now use a proper
  4748. ntor handshake to talk to their directory servers whenever they
  4749. can. Closes ticket 21407.
  4750. - Onion key rotation and expiry intervals are now defined as a
  4751. network consensus parameter, per proposal 274. The default
  4752. lifetime of an onion key is increased from 7 to 28 days. Old onion
  4753. keys will expire after 7 days by default. This change will make
  4754. consensus diffs much smaller, and save significant bandwidth.
  4755. Closes ticket 21641.
  4756. o Minor features (fallback directory list):
  4757. - Update the fallback directory mirror whitelist and blacklist based
  4758. on operator emails. Closes task 21121.
  4759. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  4760. December 2016 (of which ~126 were still functional) with a list of
  4761. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  4762. 2017. Resolves ticket 21564.
  4763. o Minor features (hidden services, logging):
  4764. - Log a message when a hidden service descriptor has fewer
  4765. introduction points than specified in
  4766. HiddenServiceNumIntroductionPoints. Closes tickets 21598.
  4767. - Log a message when a hidden service reaches its introduction point
  4768. circuit limit, and when that limit is reset. Follow up to ticket
  4769. 21594; closes ticket 21622.
  4770. - Warn user if multiple entries in EntryNodes and at least one
  4771. HiddenService are used together. Pinning EntryNodes along with a
  4772. hidden service can be possibly harmful; for instance see ticket
  4773. 14917 or 21155. Closes ticket 21155.
  4774. o Minor features (linux seccomp2 sandbox):
  4775. - We now have a document storage backend compatible with the Linux
  4776. seccomp2 sandbox. This backend is used for consensus documents and
  4777. diffs between them; in the long term, we'd like to use it for
  4778. unparseable directory material too. Closes ticket 21645
  4779. - Increase the maximum allowed size passed to mprotect(PROT_WRITE)
  4780. from 1MB to 16MB. This was necessary with the glibc allocator in
  4781. order to allow worker threads to allocate more memory -- which in
  4782. turn is necessary because of our new use of worker threads for
  4783. compression. Closes ticket 22096.
  4784. o Minor features (logging):
  4785. - Log files are no longer created world-readable by default.
  4786. (Previously, most distributors would store the logs in a non-
  4787. world-readable location to prevent inappropriate access. This
  4788. change is an extra precaution.) Closes ticket 21729; patch
  4789. from toralf.
  4790. o Minor features (performance):
  4791. - Our Keccak (SHA-3) implementation now accesses memory more
  4792. efficiently, especially on little-endian systems. Closes
  4793. ticket 21737.
  4794. - Add an O(1) implementation of channel_find_by_global_id(), to
  4795. speed some controller functions.
  4796. o Minor features (relay, configuration):
  4797. - The MyFamily option may now be repeated as many times as desired,
  4798. for relays that want to configure large families. Closes ticket
  4799. 4998; patch by Daniel Pinto.
  4800. o Minor features (safety):
  4801. - Add an explicit check to extrainfo_parse_entry_from_string() for
  4802. NULL inputs. We don't believe this can actually happen, but it may
  4803. help silence a warning from the Clang analyzer. Closes
  4804. ticket 21496.
  4805. o Minor features (testing):
  4806. - Add a "--disable-memory-sentinels" feature to help with fuzzing.
  4807. When Tor is compiled with this option, we disable a number of
  4808. redundant memory-safety failsafes that are intended to stop bugs
  4809. from becoming security issues. This makes it easier to hunt for
  4810. bugs that would be security issues without the failsafes turned
  4811. on. Closes ticket 21439.
  4812. - Add a general event-tracing instrumentation support to Tor. This
  4813. subsystem will enable developers and researchers to add fine-
  4814. grained instrumentation to their Tor instances, for use when
  4815. examining Tor network performance issues. There are no trace
  4816. events yet, and event-tracing is off by default unless enabled at
  4817. compile time. Implements ticket 13802.
  4818. - Improve our version parsing tests: add tests for typical version
  4819. components, add tests for invalid versions, including numeric
  4820. range and non-numeric prefixes. Unit tests 21278, 21450, and
  4821. 21507. Partially implements 21470.
  4822. o Minor bugfixes (bandwidth accounting):
  4823. - Roll over monthly accounting at the configured hour and minute,
  4824. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  4825. Found by Andrey Karpov with PVS-Studio.
  4826. o Minor bugfixes (code correctness):
  4827. - Accurately identify client connections by their lack of peer
  4828. authentication. This means that we bail out earlier if asked to
  4829. extend to a client. Follow-up to 21407. Fixes bug 21406; bugfix
  4830. on 0.2.4.23.
  4831. o Minor bugfixes (configuration):
  4832. - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
  4833. bug 22252; bugfix on 0.2.9.3-alpha.
  4834. o Minor bugfixes (connection lifespan):
  4835. - Allow more control over how long TLS connections are kept open:
  4836. unify CircuitIdleTimeout and PredictedPortsRelevanceTime into a
  4837. single option called CircuitsAvailableTimeout. Also, allow the
  4838. consensus to control the default values for both this preference
  4839. and the lifespan of relay-to-relay connections. Fixes bug 17592;
  4840. bugfix on 0.2.5.5-alpha.
  4841. - Increase the initial circuit build timeout testing frequency, to
  4842. help ensure that ReducedConnectionPadding clients finish learning
  4843. a timeout before their orconn would expire. The initial testing
  4844. rate was set back in the days of TAP and before the Tor Browser
  4845. updater, when we had to be much more careful about new clients
  4846. making lots of circuits. With this change, a circuit build timeout
  4847. is learned in about 15-20 minutes, instead of 100-120 minutes.
  4848. o Minor bugfixes (controller):
  4849. - GETINFO onions/current and onions/detached no longer respond with
  4850. 551 on empty lists. Fixes bug 21329; bugfix on 0.2.7.1-alpha.
  4851. - Trigger HS descriptor events on the control port when the client
  4852. fails to pick a hidden service directory for a hidden service.
  4853. This can happen if all the hidden service directories are in
  4854. ExcludeNodes, or they have all been queried within the last 15
  4855. minutes. Fixes bug 22042; bugfix on 0.2.5.2-alpha.
  4856. o Minor bugfixes (directory authority):
  4857. - When rejecting a router descriptor for running an obsolete version
  4858. of Tor without ntor support, warn about the obsolete tor version,
  4859. not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
  4860. - Prevent the shared randomness subsystem from asserting when
  4861. initialized by a bridge authority with an incomplete configuration
  4862. file. Fixes bug 21586; bugfix on 0.2.9.8.
  4863. o Minor bugfixes (exit-side DNS):
  4864. - Fix an untriggerable assertion that checked the output of a
  4865. libevent DNS error, so that the assertion actually behaves as
  4866. expected. Fixes bug 22244; bugfix on 0.2.0.20-rc. Found by Andrey
  4867. Karpov using PVS-Studio.
  4868. o Minor bugfixes (fallback directories):
  4869. - Make the usage example in updateFallbackDirs.py actually work, and
  4870. explain what it does. Fixes bug 22270; bugfix on 0.3.0.3-alpha.
  4871. - Decrease the guard flag average required to be a fallback. This
  4872. allows us to keep relays that have their guard flag removed when
  4873. they restart. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
  4874. - Decrease the minimum number of fallbacks to 100. Fixes bug 20913;
  4875. bugfix on 0.2.8.1-alpha.
  4876. - Make sure fallback directory mirrors have the same address, port,
  4877. and relay identity key for at least 30 days before they are
  4878. selected. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
  4879. o Minor bugfixes (hidden services):
  4880. - Stop printing a cryptic warning when a hidden service gets a
  4881. request to connect to a virtual port that it hasn't configured.
  4882. Fixes bug 16706; bugfix on 0.2.6.3-alpha.
  4883. - Simplify hidden service descriptor creation by using an existing
  4884. flag to check if an introduction point is established. Fixes bug
  4885. 21599; bugfix on 0.2.7.2-alpha.
  4886. o Minor bugfixes (memory leak):
  4887. - Fix a small memory leak at exit from the backtrace handler code.
  4888. Fixes bug 21788; bugfix on 0.2.5.2-alpha. Patch from Daniel Pinto.
  4889. o Minor bugfixes (protocol, logging):
  4890. - Downgrade a log statement about unexpected relay cells from "bug"
  4891. to "protocol warning", because there is at least one use case
  4892. where it can be triggered by a buggy tor implementation. Fixes bug
  4893. 21293; bugfix on 0.1.1.14-alpha.
  4894. o Minor bugfixes (testing):
  4895. - Use unbuffered I/O for utility functions around the
  4896. process_handle_t type. This fixes unit test failures reported on
  4897. OpenBSD and FreeBSD. Fixes bug 21654; bugfix on 0.2.3.1-alpha.
  4898. - Make display of captured unit test log messages consistent. Fixes
  4899. bug 21510; bugfix on 0.2.9.3-alpha.
  4900. - Make test-network.sh always call chutney's test-network.sh.
  4901. Previously, this only worked on systems which had bash installed,
  4902. due to some bash-specific code in the script. Fixes bug 19699;
  4903. bugfix on 0.3.0.4-rc. Follow-up to ticket 21581.
  4904. o Minor bugfixes (voting consistency):
  4905. - Reject version numbers with non-numeric prefixes (such as +, -, or
  4906. whitespace). Disallowing whitespace prevents differential version
  4907. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  4908. and part of 21508; bugfix on 0.0.8pre1.
  4909. o Minor bugfixes (windows, relay):
  4910. - Resolve "Failure from drain_fd: No error" warnings on Windows
  4911. relays. Fixes bug 21540; bugfix on 0.2.6.3-alpha.
  4912. o Code simplification and refactoring:
  4913. - Break up the 630-line function connection_dir_client_reached_eof()
  4914. into a dozen smaller functions. This change should help
  4915. maintainability and readability of the client directory code.
  4916. - Isolate our use of the openssl headers so that they are only
  4917. included from our crypto wrapper modules, and from tests that
  4918. examine those modules' internals. Closes ticket 21841.
  4919. - Simplify our API to launch directory requests, making it more
  4920. extensible and less error-prone. Now it's easier to add extra
  4921. headers to directory requests. Closes ticket 21646.
  4922. - Our base64 decoding functions no longer overestimate the output
  4923. space that they need when parsing unpadded inputs. Closes
  4924. ticket 17868.
  4925. - Remove unused "ROUTER_ADDED_NOTIFY_GENERATOR" internal value.
  4926. Resolves ticket 22213.
  4927. - The logic that directory caches use to spool request to clients,
  4928. serving them one part at a time so as not to allocate too much
  4929. memory, has been refactored for consistency. Previously there was
  4930. a separate spooling implementation per type of spoolable data. Now
  4931. there is one common spooling implementation, with extensible data
  4932. types. Closes ticket 21651.
  4933. - Tor's compression module now supports multiple backends. Part of
  4934. the implementation for proposal 278; closes ticket 21663.
  4935. o Documentation:
  4936. - Clarify the behavior of the KeepAliveIsolateSOCKSAuth sub-option.
  4937. Closes ticket 21873.
  4938. - Correct documentation about the default DataDirectory value.
  4939. Closes ticket 21151.
  4940. - Document the default behavior of NumEntryGuards and
  4941. NumDirectoryGuards correctly. Fixes bug 21715; bugfix
  4942. on 0.3.0.1-alpha.
  4943. - Document key=value pluggable transport arguments for Bridge lines
  4944. in torrc. Fixes bug 20341; bugfix on 0.2.5.1-alpha.
  4945. - Note that bandwidth-limiting options don't affect TCP headers or
  4946. DNS. Closes ticket 17170.
  4947. o Removed features (configuration options, all in ticket 22060):
  4948. - These configuration options are now marked Obsolete, and no longer
  4949. have any effect: AllowInvalidNodes, AllowSingleHopCircuits,
  4950. AllowSingleHopExits, ExcludeSingleHopRelays, FastFirstHopPK,
  4951. TLSECGroup, WarnUnsafeSocks. They were first marked as deprecated
  4952. in 0.2.9.2-alpha and have now been removed. The previous default
  4953. behavior is now always chosen; the previous (less secure) non-
  4954. default behavior is now unavailable.
  4955. - CloseHSClientCircuitsImmediatelyOnTimeout and
  4956. CloseHSServiceRendCircuitsImmediatelyOnTimeout were deprecated in
  4957. 0.2.9.2-alpha and now have been removed. HS circuits never close
  4958. on circuit build timeout; they have a longer timeout period.
  4959. - {Control,DNS,Dir,Socks,Trans,NATD,OR}ListenAddress were deprecated
  4960. in 0.2.9.2-alpha and now have been removed. Use the ORPort option
  4961. (and others) to configure listen-only and advertise-only addresses.
  4962. o Removed features (tools):
  4963. - We've removed the tor-checkkey tool from src/tools. Long ago, we
  4964. used it to help people detect RSA keys that were generated by
  4965. versions of Debian affected by CVE-2008-0166. But those keys have
  4966. been out of circulation for ages, and this tool is no longer
  4967. required. Closes ticket 21842.
  4968. Changes in version 0.3.0.7 - 2017-05-15
  4969. Tor 0.3.0.7 fixes a medium-severity security bug in earlier versions
  4970. of Tor 0.3.0.x, where an attacker could cause a Tor relay process
  4971. to exit. Relays running earlier versions of Tor 0.3.0.x should upgrade;
  4972. clients are not affected.
  4973. o Major bugfixes (hidden service directory, security):
  4974. - Fix an assertion failure in the hidden service directory code, which
  4975. could be used by an attacker to remotely cause a Tor relay process to
  4976. exit. Relays running earlier versions of Tor 0.3.0.x should upgrade.
  4977. should upgrade. This security issue is tracked as TROVE-2017-002.
  4978. Fixes bug 22246; bugfix on 0.3.0.1-alpha.
  4979. o Minor features:
  4980. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  4981. Country database.
  4982. o Minor features (future-proofing):
  4983. - Tor no longer refuses to download microdescriptors or descriptors
  4984. if they are listed as "published in the future". This change will
  4985. eventually allow us to stop listing meaningful "published" dates
  4986. in microdescriptor consensuses, and thereby allow us to reduce the
  4987. resources required to download consensus diffs by over 50%.
  4988. Implements part of ticket 21642; implements part of proposal 275.
  4989. o Minor bugfixes (Linux seccomp2 sandbox):
  4990. - The getpid() system call is now permitted under the Linux seccomp2
  4991. sandbox, to avoid crashing with versions of OpenSSL (and other
  4992. libraries) that attempt to learn the process's PID by using the
  4993. syscall rather than the VDSO code. Fixes bug 21943; bugfix
  4994. on 0.2.5.1-alpha.
  4995. Changes in version 0.3.0.6 - 2017-04-26
  4996. Tor 0.3.0.6 is the first stable release of the Tor 0.3.0 series.
  4997. With the 0.3.0 series, clients and relays now use Ed25519 keys to
  4998. authenticate their link connections to relays, rather than the old
  4999. RSA1024 keys that they used before. (Circuit crypto has been
  5000. Curve25519-authenticated since 0.2.4.8-alpha.) We have also replaced
  5001. the guard selection and replacement algorithm to behave more robustly
  5002. in the presence of unreliable networks, and to resist guard-
  5003. capture attacks.
  5004. This series also includes numerous other small features and bugfixes,
  5005. along with more groundwork for the upcoming hidden-services revamp.
  5006. Per our stable release policy, we plan to support the Tor 0.3.0
  5007. release series for at least the next nine months, or for three months
  5008. after the first stable release of the 0.3.1 series: whichever is
  5009. longer. If you need a release with long-term support, we recommend
  5010. that you stay with the 0.2.9 series.
  5011. Below are the changes since 0.3.0.5-rc. For a list of all changes
  5012. since 0.2.9, see the ReleaseNotes file.
  5013. o Minor features (geoip):
  5014. - Update geoip and geoip6 to the April 4 2017 Maxmind GeoLite2
  5015. Country database.
  5016. o Minor bugfixes (control port):
  5017. - The GETINFO extra-info/digest/<digest> command was broken because
  5018. of a wrong base16 decode return value check, introduced when
  5019. refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
  5020. o Minor bugfixes (crash prevention):
  5021. - Fix a (currently untriggerable, but potentially dangerous) crash
  5022. bug when base32-encoding inputs whose sizes are not a multiple of
  5023. 5. Fixes bug 21894; bugfix on 0.2.9.1-alpha.
  5024. Changes in version 0.3.0.5-rc - 2017-04-05
  5025. Tor 0.3.0.5-rc fixes a few remaining bugs, large and small, in the
  5026. 0.3.0 release series.
  5027. This is the second release candidate in the Tor 0.3.0 series, and has
  5028. much fewer changes than the first. If we find no new bugs or
  5029. regressions here, the first stable 0.3.0 release will be nearly
  5030. identical to it.
  5031. o Major bugfixes (crash, directory connections):
  5032. - Fix a rare crash when sending a begin cell on a circuit whose
  5033. linked directory connection had already been closed. Fixes bug
  5034. 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
  5035. o Major bugfixes (guard selection):
  5036. - Fix a guard selection bug where Tor would refuse to bootstrap in
  5037. some cases if the user swapped a bridge for another bridge in
  5038. their configuration file. Fixes bug 21771; bugfix on 0.3.0.1-alpha.
  5039. Reported by "torvlnt33r".
  5040. o Minor features (geoip):
  5041. - Update geoip and geoip6 to the March 7 2017 Maxmind GeoLite2
  5042. Country database.
  5043. o Minor bugfix (compilation):
  5044. - Fix a warning when compiling hs_service.c. Previously, it had no
  5045. exported symbols when compiled for libor.a, resulting in a
  5046. compilation warning from clang. Fixes bug 21825; bugfix
  5047. on 0.3.0.1-alpha.
  5048. o Minor bugfixes (hidden services):
  5049. - Make hidden services check for failed intro point connections,
  5050. even when they have exceeded their intro point creation limit.
  5051. Fixes bug 21596; bugfix on 0.2.7.2-alpha. Reported by Alec Muffett.
  5052. - Make hidden services with 8 to 10 introduction points check for
  5053. failed circuits immediately after startup. Previously, they would
  5054. wait for 5 minutes before performing their first checks. Fixes bug
  5055. 21594; bugfix on 0.2.3.9-alpha. Reported by Alec Muffett.
  5056. o Minor bugfixes (memory leaks):
  5057. - Fix a memory leak when using GETCONF on a port option. Fixes bug
  5058. 21682; bugfix on 0.3.0.3-alpha.
  5059. o Minor bugfixes (relay):
  5060. - Avoid a double-marked-circuit warning that could happen when we
  5061. receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
  5062. on 0.1.0.1-rc.
  5063. o Minor bugfixes (tests):
  5064. - Run the entry_guard_parse_from_state_full() test with the time set
  5065. to a specific date. (The guard state that this test was parsing
  5066. contained guards that had expired since the test was first
  5067. written.) Fixes bug 21799; bugfix on 0.3.0.1-alpha.
  5068. o Documentation:
  5069. - Update the description of the directory server options in the
  5070. manual page, to clarify that a relay no longer needs to set
  5071. DirPort in order to be a directory cache. Closes ticket 21720.
  5072. Changes in version 0.2.8.13 - 2017-03-03
  5073. Tor 0.2.8.13 backports a security fix from later Tor
  5074. releases. Anybody running Tor 0.2.8.12 or earlier should upgrade to this
  5075. this release, if for some reason they cannot upgrade to a later
  5076. release series, and if they build Tor with the --enable-expensive-hardening
  5077. option.
  5078. Note that support for Tor 0.2.8.x is ending next year: we will not issue
  5079. any fixes for the Tor 0.2.8.x series after 1 Jan 2018. If you need
  5080. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  5081. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  5082. - Fix an integer underflow bug when comparing malformed Tor
  5083. versions. This bug could crash Tor when built with
  5084. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  5085. 0.2.9.8, which were built with -ftrapv by default. In other cases
  5086. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  5087. on 0.0.8pre1. Found by OSS-Fuzz.
  5088. o Minor features (geoip):
  5089. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  5090. Country database.
  5091. Changes in version 0.2.7.7 - 2017-03-03
  5092. Tor 0.2.7.7 backports a number of security fixes from later Tor
  5093. releases. Anybody running Tor 0.2.7.6 or earlier should upgrade to
  5094. this release, if for some reason they cannot upgrade to a later
  5095. release series.
  5096. Note that support for Tor 0.2.7.x is ending this year: we will not issue
  5097. any fixes for the Tor 0.2.7.x series after 1 August 2017. If you need
  5098. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  5099. o Directory authority changes (backport from 0.2.8.5-rc):
  5100. - Urras is no longer a directory authority. Closes ticket 19271.
  5101. o Directory authority changes (backport from 0.2.9.2-alpha):
  5102. - The "Tonga" bridge authority has been retired; the new bridge
  5103. authority is "Bifroest". Closes tickets 19728 and 19690.
  5104. o Directory authority key updates (backport from 0.2.8.1-alpha):
  5105. - Update the V3 identity key for the dannenberg directory authority:
  5106. it was changed on 18 November 2015. Closes task 17906. Patch
  5107. by "teor".
  5108. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  5109. - Fix a bug in parsing that could cause clients to read a single
  5110. byte past the end of an allocated region. This bug could be used
  5111. to cause hardened clients (built with --enable-expensive-hardening)
  5112. to crash if they tried to visit a hostile hidden service. Non-
  5113. hardened clients are only affected depending on the details of
  5114. their platform's memory allocator. Fixes bug 21018; bugfix on
  5115. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  5116. 2016-12-002 and as CVE-2016-1254.
  5117. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  5118. - Stop a crash that could occur when a client running with DNSPort
  5119. received a query with multiple address types, and the first
  5120. address type was not supported. Found and fixed by Scott Dial.
  5121. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  5122. - Prevent a class of security bugs caused by treating the contents
  5123. of a buffer chunk as if they were a NUL-terminated string. At
  5124. least one such bug seems to be present in all currently used
  5125. versions of Tor, and would allow an attacker to remotely crash
  5126. most Tor instances, especially those compiled with extra compiler
  5127. hardening. With this defense in place, such bugs can't crash Tor,
  5128. though we should still fix them as they occur. Closes ticket
  5129. 20384 (TROVE-2016-10-001).
  5130. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  5131. - Avoid a difficult-to-trigger heap corruption attack when extending
  5132. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  5133. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  5134. Reported by Guido Vranken.
  5135. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  5136. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  5137. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  5138. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  5139. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  5140. pointer to the previous (uninitialized) key value. The impact here
  5141. should be limited to a difficult-to-trigger crash, if OpenSSL is
  5142. running an engine that makes key generation failures possible, or
  5143. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  5144. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  5145. Baishakhi Ray.
  5146. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  5147. - Fix an integer underflow bug when comparing malformed Tor
  5148. versions. This bug could crash Tor when built with
  5149. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  5150. 0.2.9.8, which were built with -ftrapv by default. In other cases
  5151. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  5152. on 0.0.8pre1. Found by OSS-Fuzz.
  5153. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  5154. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  5155. zero size. Check size argument to memwipe() for underflow. Fixes
  5156. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  5157. patch by "teor".
  5158. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  5159. - Make Tor survive errors involving connections without a
  5160. corresponding event object. Previously we'd fail with an
  5161. assertion; now we produce a log message. Related to bug 16248.
  5162. o Minor features (geoip):
  5163. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  5164. Country database.
  5165. Changes in version 0.2.6.11 - 2017-03-03
  5166. Tor 0.2.6.11 backports a number of security fixes from later Tor
  5167. releases. Anybody running Tor 0.2.6.10 or earlier should upgrade to
  5168. this release, if for some reason they cannot upgrade to a later
  5169. release series.
  5170. Note that support for Tor 0.2.6.x is ending this year: we will not issue
  5171. any fixes for the Tor 0.2.6.x series after 1 August 2017. If you need
  5172. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  5173. o Directory authority changes (backport from 0.2.8.5-rc):
  5174. - Urras is no longer a directory authority. Closes ticket 19271.
  5175. o Directory authority changes (backport from 0.2.9.2-alpha):
  5176. - The "Tonga" bridge authority has been retired; the new bridge
  5177. authority is "Bifroest". Closes tickets 19728 and 19690.
  5178. o Directory authority key updates (backport from 0.2.8.1-alpha):
  5179. - Update the V3 identity key for the dannenberg directory authority:
  5180. it was changed on 18 November 2015. Closes task 17906. Patch
  5181. by "teor".
  5182. o Major features (security fixes, backport from 0.2.9.4-alpha):
  5183. - Prevent a class of security bugs caused by treating the contents
  5184. of a buffer chunk as if they were a NUL-terminated string. At
  5185. least one such bug seems to be present in all currently used
  5186. versions of Tor, and would allow an attacker to remotely crash
  5187. most Tor instances, especially those compiled with extra compiler
  5188. hardening. With this defense in place, such bugs can't crash Tor,
  5189. though we should still fix them as they occur. Closes ticket
  5190. 20384 (TROVE-2016-10-001).
  5191. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  5192. - Fix a bug in parsing that could cause clients to read a single
  5193. byte past the end of an allocated region. This bug could be used
  5194. to cause hardened clients (built with --enable-expensive-hardening)
  5195. to crash if they tried to visit a hostile hidden service. Non-
  5196. hardened clients are only affected depending on the details of
  5197. their platform's memory allocator. Fixes bug 21018; bugfix on
  5198. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  5199. 2016-12-002 and as CVE-2016-1254.
  5200. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  5201. - Stop a crash that could occur when a client running with DNSPort
  5202. received a query with multiple address types, and the first
  5203. address type was not supported. Found and fixed by Scott Dial.
  5204. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  5205. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  5206. - Fix an error that could cause us to read 4 bytes before the
  5207. beginning of an openssl string. This bug could be used to cause
  5208. Tor to crash on systems with unusual malloc implementations, or
  5209. systems with unusual hardening installed. Fixes bug 17404; bugfix
  5210. on 0.2.3.6-alpha.
  5211. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  5212. - Avoid a difficult-to-trigger heap corruption attack when extending
  5213. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  5214. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  5215. Reported by Guido Vranken.
  5216. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  5217. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  5218. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  5219. o Major bugfixes (guard selection, backport from 0.2.7.6):
  5220. - Actually look at the Guard flag when selecting a new directory
  5221. guard. When we implemented the directory guard design, we
  5222. accidentally started treating all relays as if they have the Guard
  5223. flag during guard selection, leading to weaker anonymity and worse
  5224. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  5225. by Mohsen Imani.
  5226. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  5227. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  5228. pointer to the previous (uninitialized) key value. The impact here
  5229. should be limited to a difficult-to-trigger crash, if OpenSSL is
  5230. running an engine that makes key generation failures possible, or
  5231. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  5232. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  5233. Baishakhi Ray.
  5234. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  5235. - Fix an integer underflow bug when comparing malformed Tor
  5236. versions. This bug could crash Tor when built with
  5237. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  5238. 0.2.9.8, which were built with -ftrapv by default. In other cases
  5239. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  5240. on 0.0.8pre1. Found by OSS-Fuzz.
  5241. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  5242. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  5243. zero size. Check size argument to memwipe() for underflow. Fixes
  5244. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  5245. patch by "teor".
  5246. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  5247. - Make Tor survive errors involving connections without a
  5248. corresponding event object. Previously we'd fail with an
  5249. assertion; now we produce a log message. Related to bug 16248.
  5250. o Minor features (geoip):
  5251. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  5252. Country database.
  5253. o Minor bugfixes (compilation, backport from 0.2.7.6):
  5254. - Fix a compilation warning with Clang 3.6: Do not check the
  5255. presence of an address which can never be NULL. Fixes bug 17781.
  5256. Changes in version 0.2.5.13 - 2017-03-03
  5257. Tor 0.2.5.13 backports a number of security fixes from later Tor
  5258. releases. Anybody running Tor 0.2.5.13 or earlier should upgrade to
  5259. this release, if for some reason they cannot upgrade to a later
  5260. release series.
  5261. Note that support for Tor 0.2.5.x is ending next year: we will not issue
  5262. any fixes for the Tor 0.2.5.x series after 1 May 2018. If you need
  5263. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  5264. o Directory authority changes (backport from 0.2.8.5-rc):
  5265. - Urras is no longer a directory authority. Closes ticket 19271.
  5266. o Directory authority changes (backport from 0.2.9.2-alpha):
  5267. - The "Tonga" bridge authority has been retired; the new bridge
  5268. authority is "Bifroest". Closes tickets 19728 and 19690.
  5269. o Directory authority key updates (backport from 0.2.8.1-alpha):
  5270. - Update the V3 identity key for the dannenberg directory authority:
  5271. it was changed on 18 November 2015. Closes task 17906. Patch
  5272. by "teor".
  5273. o Major features (security fixes, backport from 0.2.9.4-alpha):
  5274. - Prevent a class of security bugs caused by treating the contents
  5275. of a buffer chunk as if they were a NUL-terminated string. At
  5276. least one such bug seems to be present in all currently used
  5277. versions of Tor, and would allow an attacker to remotely crash
  5278. most Tor instances, especially those compiled with extra compiler
  5279. hardening. With this defense in place, such bugs can't crash Tor,
  5280. though we should still fix them as they occur. Closes ticket
  5281. 20384 (TROVE-2016-10-001).
  5282. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  5283. - Fix a bug in parsing that could cause clients to read a single
  5284. byte past the end of an allocated region. This bug could be used
  5285. to cause hardened clients (built with --enable-expensive-hardening)
  5286. to crash if they tried to visit a hostile hidden service. Non-
  5287. hardened clients are only affected depending on the details of
  5288. their platform's memory allocator. Fixes bug 21018; bugfix on
  5289. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  5290. 2016-12-002 and as CVE-2016-1254.
  5291. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  5292. - Stop a crash that could occur when a client running with DNSPort
  5293. received a query with multiple address types, and the first
  5294. address type was not supported. Found and fixed by Scott Dial.
  5295. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  5296. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  5297. - Fix an error that could cause us to read 4 bytes before the
  5298. beginning of an openssl string. This bug could be used to cause
  5299. Tor to crash on systems with unusual malloc implementations, or
  5300. systems with unusual hardening installed. Fixes bug 17404; bugfix
  5301. on 0.2.3.6-alpha.
  5302. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  5303. - Avoid a difficult-to-trigger heap corruption attack when extending
  5304. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  5305. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  5306. Reported by Guido Vranken.
  5307. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  5308. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  5309. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  5310. o Major bugfixes (guard selection, backport from 0.2.7.6):
  5311. - Actually look at the Guard flag when selecting a new directory
  5312. guard. When we implemented the directory guard design, we
  5313. accidentally started treating all relays as if they have the Guard
  5314. flag during guard selection, leading to weaker anonymity and worse
  5315. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  5316. by Mohsen Imani.
  5317. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  5318. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  5319. pointer to the previous (uninitialized) key value. The impact here
  5320. should be limited to a difficult-to-trigger crash, if OpenSSL is
  5321. running an engine that makes key generation failures possible, or
  5322. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  5323. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  5324. Baishakhi Ray.
  5325. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  5326. - Fix an integer underflow bug when comparing malformed Tor
  5327. versions. This bug could crash Tor when built with
  5328. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  5329. 0.2.9.8, which were built with -ftrapv by default. In other cases
  5330. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  5331. on 0.0.8pre1. Found by OSS-Fuzz.
  5332. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  5333. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  5334. zero size. Check size argument to memwipe() for underflow. Fixes
  5335. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  5336. patch by "teor".
  5337. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  5338. - Make Tor survive errors involving connections without a
  5339. corresponding event object. Previously we'd fail with an
  5340. assertion; now we produce a log message. Related to bug 16248.
  5341. o Minor features (geoip):
  5342. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  5343. Country database.
  5344. o Minor bugfixes (compilation, backport from 0.2.7.6):
  5345. - Fix a compilation warning with Clang 3.6: Do not check the
  5346. presence of an address which can never be NULL. Fixes bug 17781.
  5347. o Minor bugfixes (crypto error-handling, backport from 0.2.7.2-alpha):
  5348. - Check for failures from crypto_early_init, and refuse to continue.
  5349. A previous typo meant that we could keep going with an
  5350. uninitialized crypto library, and would have OpenSSL initialize
  5351. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  5352. when implementing ticket 4900. Patch by "teor".
  5353. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  5354. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  5355. a client authorized hidden service. Fixes bug 15823; bugfix
  5356. on 0.2.1.6-alpha.
  5357. Changes in version 0.2.4.28 - 2017-03-03
  5358. Tor 0.2.4.28 backports a number of security fixes from later Tor
  5359. releases. Anybody running Tor 0.2.4.27 or earlier should upgrade to
  5360. this release, if for some reason they cannot upgrade to a later
  5361. release series.
  5362. Note that support for Tor 0.2.4.x is ending soon: we will not issue
  5363. any fixes for the Tor 0.2.4.x series after 1 August 2017. If you need
  5364. a Tor release series with long-term support, we recommend Tor 0.2.9.x.
  5365. o Directory authority changes (backport from 0.2.8.5-rc):
  5366. - Urras is no longer a directory authority. Closes ticket 19271.
  5367. o Directory authority changes (backport from 0.2.9.2-alpha):
  5368. - The "Tonga" bridge authority has been retired; the new bridge
  5369. authority is "Bifroest". Closes tickets 19728 and 19690.
  5370. o Directory authority key updates (backport from 0.2.8.1-alpha):
  5371. - Update the V3 identity key for the dannenberg directory authority:
  5372. it was changed on 18 November 2015. Closes task 17906. Patch
  5373. by "teor".
  5374. o Major features (security fixes, backport from 0.2.9.4-alpha):
  5375. - Prevent a class of security bugs caused by treating the contents
  5376. of a buffer chunk as if they were a NUL-terminated string. At
  5377. least one such bug seems to be present in all currently used
  5378. versions of Tor, and would allow an attacker to remotely crash
  5379. most Tor instances, especially those compiled with extra compiler
  5380. hardening. With this defense in place, such bugs can't crash Tor,
  5381. though we should still fix them as they occur. Closes ticket
  5382. 20384 (TROVE-2016-10-001).
  5383. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  5384. - Fix a bug in parsing that could cause clients to read a single
  5385. byte past the end of an allocated region. This bug could be used
  5386. to cause hardened clients (built with --enable-expensive-hardening)
  5387. to crash if they tried to visit a hostile hidden service. Non-
  5388. hardened clients are only affected depending on the details of
  5389. their platform's memory allocator. Fixes bug 21018; bugfix on
  5390. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  5391. 2016-12-002 and as CVE-2016-1254.
  5392. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  5393. - Fix an error that could cause us to read 4 bytes before the
  5394. beginning of an openssl string. This bug could be used to cause
  5395. Tor to crash on systems with unusual malloc implementations, or
  5396. systems with unusual hardening installed. Fixes bug 17404; bugfix
  5397. on 0.2.3.6-alpha.
  5398. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  5399. - Avoid a difficult-to-trigger heap corruption attack when extending
  5400. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  5401. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  5402. Reported by Guido Vranken.
  5403. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  5404. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  5405. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  5406. o Major bugfixes (guard selection, backport from 0.2.7.6):
  5407. - Actually look at the Guard flag when selecting a new directory
  5408. guard. When we implemented the directory guard design, we
  5409. accidentally started treating all relays as if they have the Guard
  5410. flag during guard selection, leading to weaker anonymity and worse
  5411. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  5412. by Mohsen Imani.
  5413. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  5414. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  5415. pointer to the previous (uninitialized) key value. The impact here
  5416. should be limited to a difficult-to-trigger crash, if OpenSSL is
  5417. running an engine that makes key generation failures possible, or
  5418. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  5419. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  5420. Baishakhi Ray.
  5421. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  5422. - Fix an integer underflow bug when comparing malformed Tor
  5423. versions. This bug could crash Tor when built with
  5424. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  5425. 0.2.9.8, which were built with -ftrapv by default. In other cases
  5426. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  5427. on 0.0.8pre1. Found by OSS-Fuzz.
  5428. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  5429. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  5430. zero size. Check size argument to memwipe() for underflow. Fixes
  5431. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  5432. patch by "teor".
  5433. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  5434. - Make Tor survive errors involving connections without a
  5435. corresponding event object. Previously we'd fail with an
  5436. assertion; now we produce a log message. Related to bug 16248.
  5437. o Minor features (DoS-resistance, backport from 0.2.7.1-alpha):
  5438. - Make it harder for attackers to overload hidden services with
  5439. introductions, by blocking multiple introduction requests on the
  5440. same circuit. Resolves ticket 15515.
  5441. o Minor features (geoip):
  5442. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  5443. Country database.
  5444. o Minor bugfixes (compilation, backport from 0.2.7.6):
  5445. - Fix a compilation warning with Clang 3.6: Do not check the
  5446. presence of an address which can never be NULL. Fixes bug 17781.
  5447. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  5448. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  5449. a client authorized hidden service. Fixes bug 15823; bugfix
  5450. on 0.2.1.6-alpha.
  5451. Changes in version 0.3.0.4-rc - 2017-03-01
  5452. Tor 0.3.0.4-rc fixes some remaining bugs, large and small, in the
  5453. 0.3.0 release series, and introduces a few reliability features to
  5454. keep them from coming back.
  5455. This is the first release candidate in the Tor 0.3.0 series. If we
  5456. find no new bugs or regressions here, the first stable 0.3.0 release
  5457. will be nearly identical to it.
  5458. o Major bugfixes (bridges):
  5459. - When the same bridge is configured multiple times with the same
  5460. identity, but at different address:port combinations, treat those
  5461. bridge instances as separate guards. This fix restores the ability
  5462. of clients to configure the same bridge with multiple pluggable
  5463. transports. Fixes bug 21027; bugfix on 0.3.0.1-alpha.
  5464. o Major bugfixes (hidden service directory v3):
  5465. - Stop crashing on a failed v3 hidden service descriptor lookup
  5466. failure. Fixes bug 21471; bugfixes on 0.3.0.1-alpha.
  5467. o Major bugfixes (parsing):
  5468. - When parsing a malformed content-length field from an HTTP
  5469. message, do not read off the end of the buffer. This bug was a
  5470. potential remote denial-of-service attack against Tor clients and
  5471. relays. A workaround was released in October 2016, to prevent this
  5472. bug from crashing Tor. This is a fix for the underlying issue,
  5473. which should no longer matter (if you applied the earlier patch).
  5474. Fixes bug 20894; bugfix on 0.2.0.16-alpha. Bug found by fuzzing
  5475. using AFL (http://lcamtuf.coredump.cx/afl/).
  5476. - Fix an integer underflow bug when comparing malformed Tor
  5477. versions. This bug could crash Tor when built with
  5478. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  5479. 0.2.9.8, which were built with -ftrapv by default. In other cases
  5480. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  5481. on 0.0.8pre1. Found by OSS-Fuzz.
  5482. o Minor feature (protocol versioning):
  5483. - Add new protocol version for proposal 224. HSIntro now advertises
  5484. version "3-4" and HSDir version "1-2". Fixes ticket 20656.
  5485. o Minor features (directory authorities):
  5486. - Directory authorities now reject descriptors that claim to be
  5487. malformed versions of Tor. Helps prevent exploitation of
  5488. bug 21278.
  5489. - Reject version numbers with components that exceed INT32_MAX.
  5490. Otherwise 32-bit and 64-bit platforms would behave inconsistently.
  5491. Fixes bug 21450; bugfix on 0.0.8pre1.
  5492. - Directory authorities now reject relays running versions
  5493. 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
  5494. suffer from bug 20499 and don't keep their consensus cache
  5495. up-to-date. Resolves ticket 20509.
  5496. o Minor features (geoip):
  5497. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  5498. Country database.
  5499. o Minor features (reliability, crash):
  5500. - Try better to detect problems in buffers where they might grow (or
  5501. think they have grown) over 2 GB in size. Diagnostic for
  5502. bug 21369.
  5503. o Minor features (testing):
  5504. - During 'make test-network-all', if tor logs any warnings, ask
  5505. chutney to output them. Requires a recent version of chutney with
  5506. the 21572 patch. Implements 21570.
  5507. o Minor bugfixes (certificate expiration time):
  5508. - Avoid using link certificates that don't become valid till some
  5509. time in the future. Fixes bug 21420; bugfix on 0.2.4.11-alpha
  5510. o Minor bugfixes (code correctness):
  5511. - Repair a couple of (unreachable or harmless) cases of the risky
  5512. comparison-by-subtraction pattern that caused bug 21278.
  5513. - Remove a redundant check for the UseEntryGuards option from the
  5514. options_transition_affects_guards() function. Fixes bug 21492;
  5515. bugfix on 0.3.0.1-alpha.
  5516. o Minor bugfixes (directory mirrors):
  5517. - Allow relays to use directory mirrors without a DirPort: these
  5518. relays need to be contacted over their ORPorts using a begindir
  5519. connection. Fixes one case of bug 20711; bugfix on 0.2.8.2-alpha.
  5520. - Clarify the message logged when a remote relay is unexpectedly
  5521. missing an ORPort or DirPort: users were confusing this with a
  5522. local port. Fixes another case of bug 20711; bugfix
  5523. on 0.2.8.2-alpha.
  5524. o Minor bugfixes (guards):
  5525. - Don't warn about a missing guard state on timeout-measurement
  5526. circuits: they aren't supposed to be using guards. Fixes an
  5527. instance of bug 21007; bugfix on 0.3.0.1-alpha.
  5528. - Silence a BUG() warning when attempting to use a guard whose
  5529. descriptor we don't know, and make this scenario less likely to
  5530. happen. Fixes bug 21415; bugfix on 0.3.0.1-alpha.
  5531. o Minor bugfixes (hidden service):
  5532. - Pass correct buffer length when encoding legacy ESTABLISH_INTRO
  5533. cells. Previously, we were using sizeof() on a pointer, instead of
  5534. the real destination buffer. Fortunately, that value was only used
  5535. to double-check that there was enough room--which was already
  5536. enforced elsewhere. Fixes bug 21553; bugfix on 0.3.0.1-alpha.
  5537. o Minor bugfixes (testing):
  5538. - Fix Raspbian build issues related to missing socket errno in
  5539. test_util.c. Fixes bug 21116; bugfix on 0.2.8.2. Patch
  5540. by "hein".
  5541. - Rename "make fuzz" to "make test-fuzz-corpora", since it doesn't
  5542. actually fuzz anything. Fixes bug 21447; bugfix on 0.3.0.3-alpha.
  5543. - Use bash in src/test/test-network.sh. This ensures we reliably
  5544. call chutney's newer tools/test-network.sh when available. Fixes
  5545. bug 21562; bugfix on 0.2.9.1-alpha.
  5546. o Documentation:
  5547. - Small fixes to the fuzzing documentation. Closes ticket 21472.
  5548. Changes in version 0.2.9.10 - 2017-03-01
  5549. Tor 0.2.9.10 backports a security fix from later Tor release. It also
  5550. includes fixes for some major issues affecting directory authorities,
  5551. LibreSSL compatibility, and IPv6 correctness.
  5552. The Tor 0.2.9.x release series is now marked as a long-term-support
  5553. series. We intend to backport security fixes to 0.2.9.x until at
  5554. least January of 2020.
  5555. o Major bugfixes (directory authority, 0.3.0.3-alpha):
  5556. - During voting, when marking a relay as a probable sybil, do not
  5557. clear its BadExit flag: sybils can still be bad in other ways
  5558. too. (We still clear the other flags.) Fixes bug 21108; bugfix
  5559. on 0.2.0.13-alpha.
  5560. o Major bugfixes (IPv6 Exits, backport from 0.3.0.3-alpha):
  5561. - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
  5562. any IPv6 addresses. Instead, only reject a port over IPv6 if the
  5563. exit policy rejects that port on more than an IPv6 /16 of
  5564. addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
  5565. which rejected a relay's own IPv6 address by default. Fixes bug
  5566. 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
  5567. o Major bugfixes (parsing, also in 0.3.0.4-rc):
  5568. - Fix an integer underflow bug when comparing malformed Tor
  5569. versions. This bug could crash Tor when built with
  5570. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  5571. 0.2.9.8, which were built with -ftrapv by default. In other cases
  5572. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  5573. on 0.0.8pre1. Found by OSS-Fuzz.
  5574. o Minor features (directory authorities, also in 0.3.0.4-rc):
  5575. - Directory authorities now reject descriptors that claim to be
  5576. malformed versions of Tor. Helps prevent exploitation of
  5577. bug 21278.
  5578. - Reject version numbers with components that exceed INT32_MAX.
  5579. Otherwise 32-bit and 64-bit platforms would behave inconsistently.
  5580. Fixes bug 21450; bugfix on 0.0.8pre1.
  5581. o Minor features (geoip):
  5582. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  5583. Country database.
  5584. o Minor features (portability, compilation, backport from 0.3.0.3-alpha):
  5585. - Autoconf now checks to determine if OpenSSL structures are opaque,
  5586. instead of explicitly checking for OpenSSL version numbers. Part
  5587. of ticket 21359.
  5588. - Support building with recent LibreSSL code that uses opaque
  5589. structures. Closes ticket 21359.
  5590. o Minor bugfixes (code correctness, also in 0.3.0.4-rc):
  5591. - Repair a couple of (unreachable or harmless) cases of the risky
  5592. comparison-by-subtraction pattern that caused bug 21278.
  5593. o Minor bugfixes (tor-resolve, backport from 0.3.0.3-alpha):
  5594. - The tor-resolve command line tool now rejects hostnames over 255
  5595. characters in length. Previously, it would silently truncate them,
  5596. which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
  5597. Patch by "junglefowl".
  5598. Changes in version 0.3.0.3-alpha - 2017-02-03
  5599. Tor 0.3.0.3-alpha fixes a few significant bugs introduced over the
  5600. 0.3.0.x development series, including some that could cause
  5601. authorities to behave badly. There is also a fix for a longstanding
  5602. bug that could prevent IPv6 exits from working. Tor 0.3.0.3-alpha also
  5603. includes some smaller features and bugfixes.
  5604. The Tor 0.3.0.x release series is now in patch-freeze: no additional
  5605. features will be considered for inclusion in 0.3.0.x. We suspect that
  5606. some bugs will probably remain, however, and we encourage people to
  5607. test this release.
  5608. o Major bugfixes (directory authority):
  5609. - During voting, when marking a relay as a probable sybil, do not
  5610. clear its BadExit flag: sybils can still be bad in other ways
  5611. too. (We still clear the other flags.) Fixes bug 21108; bugfix
  5612. on 0.2.0.13-alpha.
  5613. - When deciding whether we have just found a router to be reachable,
  5614. do not penalize it for not having performed an Ed25519 link
  5615. handshake if it does not claim to support an Ed25519 handshake.
  5616. Previously, we would treat such relays as non-running. Fixes bug
  5617. 21107; bugfix on 0.3.0.1-alpha.
  5618. o Major bugfixes (entry guards):
  5619. - Stop trying to build circuits through entry guards for which we
  5620. have no descriptor. Also, stop crashing in the case that we *do*
  5621. accidentally try to build a circuit in such a state. Fixes bug
  5622. 21242; bugfix on 0.3.0.1-alpha.
  5623. o Major bugfixes (IPv6 Exits):
  5624. - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
  5625. any IPv6 addresses. Instead, only reject a port over IPv6 if the
  5626. exit policy rejects that port on more than an IPv6 /16 of
  5627. addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
  5628. which rejected a relay's own IPv6 address by default. Fixes bug
  5629. 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
  5630. o Minor feature (client):
  5631. - Enable IPv6 traffic on the SocksPort by default. To disable this,
  5632. a user will have to specify "NoIPv6Traffic". Closes ticket 21269.
  5633. o Minor feature (fallback scripts):
  5634. - Add a check_existing mode to updateFallbackDirs.py, which checks
  5635. if fallbacks in the hard-coded list are working. Closes ticket
  5636. 20174. Patch by haxxpop.
  5637. o Minor features (ciphersuite selection):
  5638. - Clients now advertise a list of ciphersuites closer to the ones
  5639. preferred by Firefox. Closes part of ticket 15426.
  5640. - Allow relays to accept a wider range of ciphersuites, including
  5641. chacha20-poly1305 and AES-CCM. Closes the other part of 15426.
  5642. o Minor features (controller, configuration):
  5643. - Each of the *Port options, such as SocksPort, ORPort, ControlPort,
  5644. and so on, now comes with a __*Port variant that will not be saved
  5645. to the torrc file by the controller's SAVECONF command. This
  5646. change allows TorBrowser to set up a single-use domain socket for
  5647. each time it launches Tor. Closes ticket 20956.
  5648. - The GETCONF command can now query options that may only be
  5649. meaningful in context-sensitive lists. This allows the controller
  5650. to query the mixed SocksPort/__SocksPort style options introduced
  5651. in feature 20956. Implements ticket 21300.
  5652. o Minor features (portability, compilation):
  5653. - Autoconf now checks to determine if OpenSSL structures are opaque,
  5654. instead of explicitly checking for OpenSSL version numbers. Part
  5655. of ticket 21359.
  5656. - Support building with recent LibreSSL code that uses opaque
  5657. structures. Closes ticket 21359.
  5658. o Minor features (relay):
  5659. - We now allow separation of exit and relay traffic to different
  5660. source IP addresses, using the OutboundBindAddressExit and
  5661. OutboundBindAddressOR options respectively. Closes ticket 17975.
  5662. Written by Michael Sonntag.
  5663. o Minor bugfix (logging):
  5664. - Don't recommend the use of Tor2web in non-anonymous mode.
  5665. Recommending Tor2web is a bad idea because the client loses all
  5666. anonymity. Tor2web should only be used in specific cases by users
  5667. who *know* and understand the issues. Fixes bug 21294; bugfix
  5668. on 0.2.9.3-alpha.
  5669. o Minor bugfixes (client):
  5670. - Always recover from failures in extend_info_from_node(), in an
  5671. attempt to prevent any recurrence of bug 21242. Fixes bug 21372;
  5672. bugfix on 0.2.3.1-alpha.
  5673. o Minor bugfixes (client, entry guards):
  5674. - Fix a bug warning (with backtrace) when we fail a channel that
  5675. circuits to fallback directories on it. Fixes bug 21128; bugfix
  5676. on 0.3.0.1-alpha.
  5677. - Fix a spurious bug warning (with backtrace) when removing an
  5678. expired entry guard. Fixes bug 21129; bugfix on 0.3.0.1-alpha.
  5679. - Fix a bug of the new guard algorithm where tor could stall for up
  5680. to 10 minutes before retrying a guard after a long period of no
  5681. network. Fixes bug 21052; bugfix on 0.3.0.1-alpha.
  5682. - Do not try to build circuits until we have descriptors for our
  5683. primary entry guards. Related to fix for bug 21242.
  5684. o Minor bugfixes (configure, autoconf):
  5685. - Rename the configure option --enable-expensive-hardening to
  5686. --enable-fragile-hardening. Expensive hardening makes the tor
  5687. daemon abort when some kinds of issues are detected. Thus, it
  5688. makes tor more at risk of remote crashes but safer against RCE or
  5689. heartbleed bug category. We now try to explain this issue in a
  5690. message from the configure script. Fixes bug 21290; bugfix
  5691. on 0.2.5.4-alpha.
  5692. o Minor bugfixes (controller):
  5693. - Restore the (deprecated) DROPGUARDS controller command. Fixes bug
  5694. 20824; bugfix on 0.3.0.1-alpha.
  5695. o Minor bugfixes (hidden service):
  5696. - Clean up the code for expiring intro points with no associated
  5697. circuits. It was causing, rarely, a service with some expiring
  5698. introduction points to not open enough additional introduction
  5699. points. Fixes part of bug 21302; bugfix on 0.2.7.2-alpha.
  5700. - Stop setting the torrc option HiddenServiceStatistics to "0" just
  5701. because we're not a bridge or relay. Instead, we preserve whatever
  5702. value the user set (or didn't set). Fixes bug 21150; bugfix
  5703. on 0.2.6.2-alpha.
  5704. - Resolve two possible underflows which could lead to creating and
  5705. closing a lot of introduction point circuits in a non-stop loop.
  5706. Fixes bug 21302; bugfix on 0.2.7.2-alpha.
  5707. o Minor bugfixes (portability):
  5708. - Use "OpenBSD" compiler macro instead of "OPENBSD" or "__OpenBSD__".
  5709. It is supported by OpenBSD itself, and also by most OpenBSD
  5710. variants (such as Bitrig). Fixes bug 20980; bugfix
  5711. on 0.1.2.1-alpha.
  5712. - When mapping a file of length greater than SIZE_MAX, do not
  5713. silently truncate its contents. This issue could occur on 32 bit
  5714. systems with large file support and files which are larger than 4
  5715. GB. Fixes bug 21134; bugfix on 0.3.0.1-alpha.
  5716. o Minor bugfixes (tor-resolve):
  5717. - The tor-resolve command line tool now rejects hostnames over 255
  5718. characters in length. Previously, it would silently truncate them,
  5719. which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
  5720. Patch by "junglefowl".
  5721. o Minor bugfixes (Windows services):
  5722. - Be sure to initialize the monotonic time subsystem before using
  5723. it, even when running as an NT service. Fixes bug 21356; bugfix
  5724. on 0.2.9.1-alpha.
  5725. Changes in version 0.3.0.2-alpha - 2017-01-23
  5726. Tor 0.3.0.2-alpha fixes a denial-of-service bug where an attacker could
  5727. cause relays and clients to crash, even if they were not built with
  5728. the --enable-expensive-hardening option. This bug affects all 0.2.9.x
  5729. versions, and also affects 0.3.0.1-alpha: all relays running an affected
  5730. version should upgrade.
  5731. Tor 0.3.0.2-alpha also improves how exit relays and clients handle DNS
  5732. time-to-live values, makes directory authorities enforce the 1-to-1
  5733. mapping of relay RSA identity keys to ED25519 identity keys, fixes a
  5734. client-side onion service reachability bug, does better at selecting
  5735. the set of fallback directories, and more.
  5736. o Major bugfixes (security, also in 0.2.9.9):
  5737. - Downgrade the "-ftrapv" option from "always on" to "only on when
  5738. --enable-expensive-hardening is provided." This hardening option, like
  5739. others, can turn survivable bugs into crashes--and having it on by
  5740. default made a (relatively harmless) integer overflow bug into a
  5741. denial-of-service bug. Fixes bug 21278 (TROVE-2017-001); bugfix on
  5742. 0.2.9.1-alpha.
  5743. o Major features (security):
  5744. - Change the algorithm used to decide DNS TTLs on client and server
  5745. side, to better resist DNS-based correlation attacks like the
  5746. DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
  5747. Feamster. Now relays only return one of two possible DNS TTL
  5748. values, and clients are willing to believe DNS TTL values up to 3
  5749. hours long. Closes ticket 19769.
  5750. o Major features (directory authority, security):
  5751. - The default for AuthDirPinKeys is now 1: directory authorities
  5752. will reject relays where the RSA identity key matches a previously
  5753. seen value, but the Ed25519 key has changed. Closes ticket 18319.
  5754. o Major bugfixes (client, guard, crash):
  5755. - In circuit_get_global_origin_list(), return the actual list of
  5756. origin circuits. The previous version of this code returned the
  5757. list of all the circuits, and could have caused strange bugs,
  5758. including possible crashes. Fixes bug 21118; bugfix
  5759. on 0.3.0.1-alpha.
  5760. o Major bugfixes (client, onion service, also in 0.2.9.9):
  5761. - Fix a client-side onion service reachability bug, where multiple
  5762. socks requests to an onion service (or a single slow request)
  5763. could cause us to mistakenly mark some of the service's
  5764. introduction points as failed, and we cache that failure so
  5765. eventually we run out and can't reach the service. Also resolves a
  5766. mysterious "Remote server sent bogus reason code 65021" log
  5767. warning. The bug was introduced in ticket 17218, where we tried to
  5768. remember the circuit end reason as a uint16_t, which mangled
  5769. negative values. Partially fixes bug 21056 and fixes bug 20307;
  5770. bugfix on 0.2.8.1-alpha.
  5771. o Major bugfixes (DNS):
  5772. - Fix a bug that prevented exit nodes from caching DNS records for
  5773. more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
  5774. o Minor features (controller):
  5775. - Add "GETINFO sr/current" and "GETINFO sr/previous" keys, to expose
  5776. shared-random values to the controller. Closes ticket 19925.
  5777. o Minor features (entry guards):
  5778. - Add UseEntryGuards to TEST_OPTIONS_DEFAULT_VALUES in order to not
  5779. break regression tests.
  5780. - Require UseEntryGuards when UseBridges is set, in order to make
  5781. sure bridges aren't bypassed. Resolves ticket 20502.
  5782. o Minor features (fallback directories):
  5783. - Select 200 fallback directories for each release. Closes
  5784. ticket 20881.
  5785. - Allow 3 fallback relays per operator, which is safe now that we
  5786. are choosing 200 fallback relays. Closes ticket 20912.
  5787. - Exclude relays affected by bug 20499 from the fallback list.
  5788. Exclude relays from the fallback list if they are running versions
  5789. known to be affected by bug 20499, or if in our tests they deliver
  5790. a stale consensus (i.e. one that expired more than 24 hours ago).
  5791. Closes ticket 20539.
  5792. - Reduce the minimum fallback bandwidth to 1 MByte/s. Part of
  5793. ticket 18828.
  5794. - Require fallback directories to have the same address and port for
  5795. 7 days (now that we have enough relays with this stability).
  5796. Relays whose OnionOO stability timer is reset on restart by bug
  5797. 18050 should upgrade to Tor 0.2.8.7 or later, which has a fix for
  5798. this issue. Closes ticket 20880; maintains short-term fix
  5799. in 0.2.8.2-alpha.
  5800. - Require fallbacks to have flags for 90% of the time (weighted
  5801. decaying average), rather than 95%. This allows at least 73% of
  5802. clients to bootstrap in the first 5 seconds without contacting an
  5803. authority. Part of ticket 18828.
  5804. - Annotate updateFallbackDirs.py with the bandwidth and consensus
  5805. weight for each candidate fallback. Closes ticket 20878.
  5806. - Make it easier to change the output sort order of fallbacks.
  5807. Closes ticket 20822.
  5808. - Display the relay fingerprint when downloading consensuses from
  5809. fallbacks. Closes ticket 20908.
  5810. o Minor features (geoip, also in 0.2.9.9):
  5811. - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
  5812. Country database.
  5813. o Minor features (next-gen onion service directories):
  5814. - Remove the "EnableOnionServicesV3" consensus parameter that we
  5815. introduced in 0.3.0.1-alpha: relays are now always willing to act
  5816. as v3 onion service directories. Resolves ticket 19899.
  5817. o Minor features (linting):
  5818. - Enhance the changes file linter to warn on Tor versions that are
  5819. prefixed with "tor-". Closes ticket 21096.
  5820. o Minor features (logging):
  5821. - In several places, describe unset ed25519 keys as "<unset>",
  5822. rather than the scary "AAAAAAAA...AAA". Closes ticket 21037.
  5823. o Minor bugfix (control protocol):
  5824. - The reply to a "GETINFO config/names" request via the control
  5825. protocol now spells the type "Dependent" correctly. This is a
  5826. breaking change in the control protocol. (The field seems to be
  5827. ignored by the most common known controllers.) Fixes bug 18146;
  5828. bugfix on 0.1.1.4-alpha.
  5829. o Minor bugfixes (bug resilience):
  5830. - Fix an unreachable size_t overflow in base64_decode(). Fixes bug
  5831. 19222; bugfix on 0.2.0.9-alpha. Found by Guido Vranken; fixed by
  5832. Hans Jerry Illikainen.
  5833. o Minor bugfixes (build):
  5834. - Replace obsolete Autoconf macros with their modern equivalent and
  5835. prevent similar issues in the future. Fixes bug 20990; bugfix
  5836. on 0.1.0.1-rc.
  5837. o Minor bugfixes (client, guards):
  5838. - Fix bug where Tor would think that there are circuits waiting for
  5839. better guards even though those circuits have been freed. Fixes
  5840. bug 21142; bugfix on 0.3.0.1-alpha.
  5841. o Minor bugfixes (config):
  5842. - Don't assert on startup when trying to get the options list and
  5843. LearnCircuitBuildTimeout is set to 0: we are currently parsing the
  5844. options so of course they aren't ready yet. Fixes bug 21062;
  5845. bugfix on 0.2.9.3-alpha.
  5846. o Minor bugfixes (controller):
  5847. - Make the GETINFO interface for inquiring about entry guards
  5848. support the new guards backend. Fixes bug 20823; bugfix
  5849. on 0.3.0.1-alpha.
  5850. o Minor bugfixes (dead code):
  5851. - Remove a redundant check for PidFile changes at runtime in
  5852. options_transition_allowed(): this check is already performed
  5853. regardless of whether the sandbox is active. Fixes bug 21123;
  5854. bugfix on 0.2.5.4-alpha.
  5855. o Minor bugfixes (documentation):
  5856. - Update the tor manual page to document every option that can not
  5857. be changed while tor is running. Fixes bug 21122.
  5858. o Minor bugfixes (fallback directories):
  5859. - Stop failing when a relay has no uptime data in
  5860. updateFallbackDirs.py. Fixes bug 20945; bugfix on 0.2.8.1-alpha.
  5861. - Avoid checking fallback candidates' DirPorts if they are down in
  5862. OnionOO. When a relay operator has multiple relays, this
  5863. prioritizes relays that are up over relays that are down. Fixes
  5864. bug 20926; bugfix on 0.2.8.3-alpha.
  5865. - Stop failing when OUTPUT_COMMENTS is True in updateFallbackDirs.py.
  5866. Fixes bug 20877; bugfix on 0.2.8.3-alpha.
  5867. o Minor bugfixes (guards, bootstrapping):
  5868. - When connecting to a directory guard during bootstrap, do not mark
  5869. the guard as successful until we receive a good-looking directory
  5870. response from it. Fixes bug 20974; bugfix on 0.3.0.1-alpha.
  5871. o Minor bugfixes (onion services):
  5872. - Fix the config reload pruning of old vs new services so it
  5873. actually works when both ephemeral and non-ephemeral services are
  5874. configured. Fixes bug 21054; bugfix on 0.3.0.1-alpha.
  5875. - Allow the number of introduction points to be as low as 0, rather
  5876. than as low as 3. Fixes bug 21033; bugfix on 0.2.7.2-alpha.
  5877. o Minor bugfixes (IPv6):
  5878. - Make IPv6-using clients try harder to find an IPv6 directory
  5879. server. Fixes bug 20999; bugfix on 0.2.8.2-alpha.
  5880. - When IPv6 addresses have not been downloaded yet (microdesc
  5881. consensus documents don't list relay IPv6 addresses), use hard-
  5882. coded addresses for authorities, fallbacks, and configured
  5883. bridges. Now IPv6-only clients can use microdescriptors. Fixes bug
  5884. 20996; bugfix on b167e82 from 19608 in 0.2.8.5-alpha.
  5885. o Minor bugfixes (memory leaks):
  5886. - Fix a memory leak when configuring hidden services. Fixes bug
  5887. 20987; bugfix on 0.3.0.1-alpha.
  5888. o Minor bugfixes (portability, also in 0.2.9.9):
  5889. - Avoid crashing when Tor is built using headers that contain
  5890. CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
  5891. without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
  5892. on 0.2.9.1-alpha.
  5893. - Fix Libevent detection on platforms without Libevent 1 headers
  5894. installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
  5895. o Minor bugfixes (relay):
  5896. - Honor DataDirectoryGroupReadable when tor is a relay. Previously,
  5897. initializing the keys would reset the DataDirectory to 0700
  5898. instead of 0750 even if DataDirectoryGroupReadable was set to 1.
  5899. Fixes bug 19953; bugfix on 0.0.2pre16. Patch by "redfish".
  5900. o Minor bugfixes (testing):
  5901. - Remove undefined behavior from the backtrace generator by removing
  5902. its signal handler. Fixes bug 21026; bugfix on 0.2.5.2-alpha.
  5903. o Minor bugfixes (unit tests):
  5904. - Allow the unit tests to pass even when DNS lookups of bogus
  5905. addresses do not fail as expected. Fixes bug 20862 and 20863;
  5906. bugfix on unit tests introduced in 0.2.8.1-alpha
  5907. through 0.2.9.4-alpha.
  5908. o Code simplification and refactoring:
  5909. - Refactor code to manipulate global_origin_circuit_list into
  5910. separate functions. Closes ticket 20921.
  5911. o Documentation (formatting):
  5912. - Clean up formatting of tor.1 man page and HTML doc, where <pre>
  5913. blocks were incorrectly appearing. Closes ticket 20885.
  5914. o Documentation (man page):
  5915. - Clarify many options in tor.1 and add some min/max values for
  5916. HiddenService options. Closes ticket 21058.
  5917. Changes in version 0.2.9.9 - 2017-01-23
  5918. Tor 0.2.9.9 fixes a denial-of-service bug where an attacker could
  5919. cause relays and clients to crash, even if they were not built with
  5920. the --enable-expensive-hardening option. This bug affects all 0.2.9.x
  5921. versions, and also affects 0.3.0.1-alpha: all relays running an affected
  5922. version should upgrade.
  5923. This release also resolves a client-side onion service reachability
  5924. bug, and resolves a pair of small portability issues.
  5925. o Major bugfixes (security):
  5926. - Downgrade the "-ftrapv" option from "always on" to "only on when
  5927. --enable-expensive-hardening is provided." This hardening option,
  5928. like others, can turn survivable bugs into crashes -- and having
  5929. it on by default made a (relatively harmless) integer overflow bug
  5930. into a denial-of-service bug. Fixes bug 21278 (TROVE-2017-001);
  5931. bugfix on 0.2.9.1-alpha.
  5932. o Major bugfixes (client, onion service):
  5933. - Fix a client-side onion service reachability bug, where multiple
  5934. socks requests to an onion service (or a single slow request)
  5935. could cause us to mistakenly mark some of the service's
  5936. introduction points as failed, and we cache that failure so
  5937. eventually we run out and can't reach the service. Also resolves a
  5938. mysterious "Remote server sent bogus reason code 65021" log
  5939. warning. The bug was introduced in ticket 17218, where we tried to
  5940. remember the circuit end reason as a uint16_t, which mangled
  5941. negative values. Partially fixes bug 21056 and fixes bug 20307;
  5942. bugfix on 0.2.8.1-alpha.
  5943. o Minor features (geoip):
  5944. - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
  5945. Country database.
  5946. o Minor bugfixes (portability):
  5947. - Avoid crashing when Tor is built using headers that contain
  5948. CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
  5949. without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
  5950. on 0.2.9.1-alpha.
  5951. - Fix Libevent detection on platforms without Libevent 1 headers
  5952. installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
  5953. Changes in version 0.3.0.1-alpha - 2016-12-19
  5954. Tor 0.3.0.1-alpha is the first alpha release in the 0.3.0 development
  5955. series. It strengthens Tor's link and circuit handshakes by
  5956. identifying relays by their Ed25519 keys, improves the algorithm that
  5957. clients use to choose and maintain their list of guards, and includes
  5958. additional backend support for the next-generation hidden service
  5959. design. It also contains numerous other small features and
  5960. improvements to security, correctness, and performance.
  5961. Below are the changes since 0.2.9.8.
  5962. o Major features (guard selection algorithm):
  5963. - Tor's guard selection algorithm has been redesigned from the
  5964. ground up, to better support unreliable networks and restrictive
  5965. sets of entry nodes, and to better resist guard-capture attacks by
  5966. hostile local networks. Implements proposal 271; closes
  5967. ticket 19877.
  5968. o Major features (next-generation hidden services):
  5969. - Relays can now handle v3 ESTABLISH_INTRO cells as specified by
  5970. prop224 aka "Next Generation Hidden Services". Service and clients
  5971. don't use this functionality yet. Closes ticket 19043. Based on
  5972. initial code by Alec Heifetz.
  5973. - Relays now support the HSDir version 3 protocol, so that they can
  5974. can store and serve v3 descriptors. This is part of the next-
  5975. generation onion service work detailed in proposal 224. Closes
  5976. ticket 17238.
  5977. o Major features (protocol, ed25519 identity keys):
  5978. - Relays now use Ed25519 to prove their Ed25519 identities and to
  5979. one another, and to clients. This algorithm is faster and more
  5980. secure than the RSA-based handshake we've been doing until now.
  5981. Implements the second big part of proposal 220; Closes
  5982. ticket 15055.
  5983. - Clients now support including Ed25519 identity keys in the EXTEND2
  5984. cells they generate. By default, this is controlled by a consensus
  5985. parameter, currently disabled. You can turn this feature on for
  5986. testing by setting ExtendByEd25519ID in your configuration. This
  5987. might make your traffic appear different than the traffic
  5988. generated by other users, however. Implements part of ticket
  5989. 15056; part of proposal 220.
  5990. - Relays now understand requests to extend to other relays by their
  5991. Ed25519 identity keys. When an Ed25519 identity key is included in
  5992. an EXTEND2 cell, the relay will only extend the circuit if the
  5993. other relay can prove ownership of that identity. Implements part
  5994. of ticket 15056; part of proposal 220.
  5995. o Major bugfixes (scheduler):
  5996. - Actually compare circuit policies in ewma_cmp_cmux(). This bug
  5997. caused the channel scheduler to behave more or less randomly,
  5998. rather than preferring channels with higher-priority circuits.
  5999. Fixes bug 20459; bugfix on 0.2.6.2-alpha.
  6000. o Minor features (controller):
  6001. - When HSFETCH arguments cannot be parsed, say "Invalid argument"
  6002. rather than "unrecognized." Closes ticket 20389; patch from
  6003. Ivan Markin.
  6004. o Minor features (diagnostic, directory client):
  6005. - Warn when we find an unexpected inconsistency in directory
  6006. download status objects. Prevents some negative consequences of
  6007. bug 20593.
  6008. o Minor features (directory authority):
  6009. - Add a new authority-only AuthDirTestEd25519LinkKeys option (on by
  6010. default) to control whether authorities should try to probe relays
  6011. by their Ed25519 link keys. This option will go away in a few
  6012. releases--unless we encounter major trouble in our ed25519 link
  6013. protocol rollout, in which case it will serve as a safety option.
  6014. o Minor features (directory cache):
  6015. - Relays and bridges will now refuse to serve the consensus they
  6016. have if they know it is too old for a client to use. Closes
  6017. ticket 20511.
  6018. o Minor features (ed25519 link handshake):
  6019. - Advertise support for the ed25519 link handshake using the
  6020. subprotocol-versions mechanism, so that clients can tell which
  6021. relays can identity themselves by Ed25519 ID. Closes ticket 20552.
  6022. o Minor features (fingerprinting resistance, authentication):
  6023. - Extend the length of RSA keys used for TLS link authentication to
  6024. 2048 bits. (These weren't used for forward secrecy; for forward
  6025. secrecy, we used P256.) Closes ticket 13752.
  6026. o Minor features (infrastructure):
  6027. - Implement smartlist_add_strdup() function. Replaces the use of
  6028. smartlist_add(sl, tor_strdup(str)). Closes ticket 20048.
  6029. o Minor bugfixes (client):
  6030. - When clients that use bridges start up with a cached consensus on
  6031. disk, they were ignoring it and downloading a new one. Now they
  6032. use the cached one. Fixes bug 20269; bugfix on 0.2.3.12-alpha.
  6033. o Minor bugfixes (configuration):
  6034. - Accept non-space whitespace characters after the severity level in
  6035. the `Log` option. Fixes bug 19965; bugfix on 0.2.1.1-alpha.
  6036. - Support "TByte" and "TBytes" units in options given in bytes.
  6037. "TB", "terabyte(s)", "TBit(s)" and "terabit(s)" were already
  6038. supported. Fixes bug 20622; bugfix on 0.2.0.14-alpha.
  6039. o Minor bugfixes (consensus weight):
  6040. - Add new consensus method that initializes bw weights to 1 instead
  6041. of 0. This prevents a zero weight from making it all the way to
  6042. the end (happens in small testing networks) and causing an error.
  6043. Fixes bug 14881; bugfix on 0.2.2.17-alpha.
  6044. o Minor bugfixes (descriptors):
  6045. - Correctly recognise downloaded full descriptors as valid, even
  6046. when using microdescriptors as circuits. This affects clients with
  6047. FetchUselessDescriptors set, and may affect directory authorities.
  6048. Fixes bug 20839; bugfix on 0.2.3.2-alpha.
  6049. o Minor bugfixes (directory system):
  6050. - Download all consensus flavors, descriptors, and authority
  6051. certificates when FetchUselessDescriptors is set, regardless of
  6052. whether tor is a directory cache or not. Fixes bug 20667; bugfix
  6053. on all recent tor versions.
  6054. - Bridges and relays now use microdescriptors (like clients do)
  6055. rather than old-style router descriptors. Now bridges will blend
  6056. in with clients in terms of the circuits they build. Fixes bug
  6057. 6769; bugfix on 0.2.3.2-alpha.
  6058. o Minor bugfixes (ed25519 certificates):
  6059. - Correctly interpret ed25519 certificates that would expire some
  6060. time after 19 Jan 2038. Fixes bug 20027; bugfix on 0.2.7.2-alpha.
  6061. o Minor bugfixes (hidden services):
  6062. - Stop ignoring misconfigured hidden services. Instead, refuse to
  6063. start tor until the misconfigurations have been corrected. Fixes
  6064. bug 20559; bugfix on multiple commits in 0.2.7.1-alpha
  6065. and earlier.
  6066. o Minor bugfixes (memory leak at exit):
  6067. - Fix a small harmless memory leak at exit of the previously unused
  6068. RSA->Ed identity cross-certificate. Fixes bug 17779; bugfix
  6069. on 0.2.7.2-alpha.
  6070. o Minor bugfixes (util):
  6071. - When finishing writing a file to disk, if we were about to replace
  6072. the file with the temporary file created before and we fail to
  6073. replace it, remove the temporary file so it doesn't stay on disk.
  6074. Fixes bug 20646; bugfix on 0.2.0.7-alpha. Patch by fk.
  6075. o Minor bugfixes (Windows):
  6076. - Check for getpagesize before using it to mmap files. This fixes
  6077. compilation in some MinGW environments. Fixes bug 20530; bugfix on
  6078. 0.1.2.1-alpha. Reported by "ice".
  6079. o Code simplification and refactoring:
  6080. - Abolish all global guard context in entrynodes.c; replace with new
  6081. guard_selection_t structure as preparation for proposal 271.
  6082. Closes ticket 19858.
  6083. - Introduce rend_service_is_ephemeral() that tells if given onion
  6084. service is ephemeral. Replace unclear NULL-checkings for service
  6085. directory with this function. Closes ticket 20526.
  6086. - Extract magic numbers in circuituse.c into defined variables.
  6087. - Refactor circuit_is_available_for_use to remove unnecessary check.
  6088. - Refactor circuit_predict_and_launch_new for readability and
  6089. testability. Closes ticket 18873.
  6090. - Refactor large if statement in purpose_needs_anonymity to use
  6091. switch statement instead. Closes part of ticket 20077.
  6092. - Refactor the hashing API to return negative values for errors, as
  6093. is done as throughout the codebase. Closes ticket 20717.
  6094. - Remove data structures that were used to index or_connection
  6095. objects by their RSA identity digests. These structures are fully
  6096. redundant with the similar structures used in the
  6097. channel abstraction.
  6098. - Remove duplicate code in the channel_write_*cell() functions.
  6099. Closes ticket 13827; patch from Pingl.
  6100. - Remove redundant behavior of is_sensitive_dir_purpose, refactor to
  6101. use only purpose_needs_anonymity. Closes part of ticket 20077.
  6102. - The code to generate and parse EXTEND and EXTEND2 cells has been
  6103. replaced with code automatically generated by the
  6104. "trunnel" utility.
  6105. o Documentation:
  6106. - Include the "TBits" unit in Tor's man page. Fixes part of bug
  6107. 20622; bugfix on 0.2.5.1-alpha.
  6108. - Change '1' to 'weight_scale' in consensus bw weights calculation
  6109. comments, as that is reality. Closes ticket 20273. Patch
  6110. from pastly.
  6111. - Correct the value for AuthDirGuardBWGuarantee in the manpage, from
  6112. 250 KBytes to 2 MBytes. Fixes bug 20435; bugfix
  6113. on 0.2.5.6-alpha.
  6114. - Stop the man page from incorrectly stating that HiddenServiceDir
  6115. must already exist. Fixes 20486.
  6116. - Clarify that when ClientRejectInternalAddresses is enabled (which
  6117. is the default), multicast DNS hostnames for machines on the local
  6118. network (of the form *.local) are also rejected. Closes
  6119. ticket 17070.
  6120. o Removed features:
  6121. - The AuthDirMaxServersPerAuthAddr option no longer exists: The same
  6122. limit for relays running on a single IP applies to authority IP
  6123. addresses as well as to non-authority IP addresses. Closes
  6124. ticket 20960.
  6125. - The UseDirectoryGuards torrc option no longer exists: all users
  6126. that use entry guards will also use directory guards. Related to
  6127. proposal 271; implements part of ticket 20831.
  6128. o Testing:
  6129. - New unit tests for tor_htonll(). Closes ticket 19563. Patch
  6130. from "overcaffeinated".
  6131. - Perform the coding style checks when running the tests and fail
  6132. when coding style violations are found. Closes ticket 5500.
  6133. - Add tests for networkstatus_compute_bw_weights_v10.
  6134. - Add unit tests circuit_predict_and_launch_new.
  6135. - Extract dummy_origin_circuit_new so it can be used by other
  6136. test functions.
  6137. Changes in version 0.2.8.12 - 2016-12-19
  6138. Tor 0.2.8.12 backports a fix for a medium-severity issue (bug 21018
  6139. below) where Tor clients could crash when attempting to visit a
  6140. hostile hidden service. Clients are recommended to upgrade as packages
  6141. become available for their systems.
  6142. It also includes an updated list of fallback directories, backported
  6143. from 0.2.9.
  6144. Now that the Tor 0.2.9 series is stable, only major bugfixes will be
  6145. backported to 0.2.8 in the future.
  6146. o Major bugfixes (parsing, security, backported from 0.2.9.8):
  6147. - Fix a bug in parsing that could cause clients to read a single
  6148. byte past the end of an allocated region. This bug could be used
  6149. to cause hardened clients (built with --enable-expensive-hardening)
  6150. to crash if they tried to visit a hostile hidden service. Non-
  6151. hardened clients are only affected depending on the details of
  6152. their platform's memory allocator. Fixes bug 21018; bugfix on
  6153. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  6154. 2016-12-002 and as CVE-2016-1254.
  6155. o Minor features (fallback directory list, backported from 0.2.9.8):
  6156. - Replace the 81 remaining fallbacks of the 100 originally
  6157. introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
  6158. fallbacks (123 new, 54 existing, 27 removed) generated in December
  6159. 2016. Resolves ticket 20170.
  6160. o Minor features (geoip, backported from 0.2.9.7-rc):
  6161. - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
  6162. Country database.
  6163. Changes in version 0.2.9.8 - 2016-12-19
  6164. Tor 0.2.9.8 is the first stable release of the Tor 0.2.9 series.
  6165. The Tor 0.2.9 series makes mandatory a number of security features
  6166. that were formerly optional. It includes support for a new shared-
  6167. randomness protocol that will form the basis for next generation
  6168. hidden services, includes a single-hop hidden service mode for
  6169. optimizing .onion services that don't actually want to be hidden,
  6170. tries harder not to overload the directory authorities with excessive
  6171. downloads, and supports a better protocol versioning scheme for
  6172. improved compatibility with other implementations of the Tor protocol.
  6173. And of course, there are numerous other bugfixes and improvements.
  6174. This release also includes a fix for a medium-severity issue (bug
  6175. 21018 below) where Tor clients could crash when attempting to visit a
  6176. hostile hidden service. Clients are recommended to upgrade as packages
  6177. become available for their systems.
  6178. Below are the changes since 0.2.9.7-rc. For a list of all changes
  6179. since 0.2.8, see the ReleaseNotes file.
  6180. o Major bugfixes (parsing, security):
  6181. - Fix a bug in parsing that could cause clients to read a single
  6182. byte past the end of an allocated region. This bug could be used
  6183. to cause hardened clients (built with --enable-expensive-hardening)
  6184. to crash if they tried to visit a hostile hidden service. Non-
  6185. hardened clients are only affected depending on the details of
  6186. their platform's memory allocator. Fixes bug 21018; bugfix on
  6187. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  6188. 2016-12-002 and as CVE-2016-1254.
  6189. o Minor features (fallback directory list):
  6190. - Replace the 81 remaining fallbacks of the 100 originally
  6191. introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
  6192. fallbacks (123 new, 54 existing, 27 removed) generated in December
  6193. 2016. Resolves ticket 20170.
  6194. Changes in version 0.2.9.7-rc - 2016-12-12
  6195. Tor 0.2.9.7-rc fixes a few small bugs remaining in Tor 0.2.9.6-rc,
  6196. including a few that had prevented tests from passing on
  6197. some platforms.
  6198. o Minor features (geoip):
  6199. - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
  6200. Country database.
  6201. o Minor bugfix (build):
  6202. - The current Git revision when building from a local repository is
  6203. now detected correctly when using git worktrees. Fixes bug 20492;
  6204. bugfix on 0.2.3.9-alpha.
  6205. o Minor bugfixes (directory authority):
  6206. - When computing old Tor protocol line version in protover, we were
  6207. looking at 0.2.7.5 twice instead of a specific case for
  6208. 0.2.9.1-alpha. Fixes bug 20810; bugfix on 0.2.9.4-alpha.
  6209. o Minor bugfixes (download scheduling):
  6210. - Resolve a "bug" warning when considering a download schedule whose
  6211. delay had approached INT_MAX. Fixes 20875; bugfix on 0.2.9.5-alpha.
  6212. o Minor bugfixes (logging):
  6213. - Downgrade a harmless log message about the
  6214. pending_entry_connections list from "warn" to "info". Mitigates
  6215. bug 19926.
  6216. o Minor bugfixes (memory leak):
  6217. - Fix a small memory leak when receiving AF_UNIX connections on a
  6218. SocksPort. Fixes bug 20716; bugfix on 0.2.6.3-alpha.
  6219. - When moving a signed descriptor object from a source to an
  6220. existing destination, free the allocated memory inside that
  6221. destination object. Fixes bug 20715; bugfix on 0.2.8.3-alpha.
  6222. o Minor bugfixes (memory leak, use-after-free, linux seccomp2 sandbox):
  6223. - Fix a memory leak and use-after-free error when removing entries
  6224. from the sandbox's getaddrinfo() cache. Fixes bug 20710; bugfix on
  6225. 0.2.5.5-alpha. Patch from "cypherpunks".
  6226. o Minor bugfixes (portability):
  6227. - Use the correct spelling of MAC_OS_X_VERSION_10_12 on configure.ac
  6228. Fixes bug 20935; bugfix on 0.2.9.6-rc.
  6229. o Minor bugfixes (unit tests):
  6230. - Stop expecting NetBSD unit tests to report success for ipfw. Part
  6231. of a fix for bug 19960; bugfix on 0.2.9.5-alpha.
  6232. - Fix tolerances in unit tests for monotonic time comparisons
  6233. between nanoseconds and microseconds. Previously, we accepted a 10
  6234. us difference only, which is not realistic on every platform's
  6235. clock_gettime(). Fixes bug 19974; bugfix on 0.2.9.1-alpha.
  6236. - Remove a double-free in the single onion service unit test. Stop
  6237. ignoring a return value. Make future changes less error-prone.
  6238. Fixes bug 20864; bugfix on 0.2.9.6-rc.
  6239. Changes in version 0.2.8.11 - 2016-12-08
  6240. Tor 0.2.8.11 backports fixes for additional portability issues that
  6241. could prevent Tor from building correctly on OSX Sierra, or with
  6242. OpenSSL 1.1. Affected users should upgrade; others can safely stay
  6243. with 0.2.8.10.
  6244. o Minor bugfixes (portability):
  6245. - Avoid compilation errors when building on OSX Sierra. Sierra began
  6246. to support the getentropy() and clock_gettime() APIs, but created
  6247. a few problems in doing so. Tor 0.2.9 has a more thorough set of
  6248. workarounds; in 0.2.8, we are just using the /dev/urandom and mach
  6249. monotonic time interfaces. Fixes bug 20865. Bugfix
  6250. on 0.2.8.1-alpha.
  6251. o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
  6252. - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
  6253. architectures. Closes ticket 20588.
  6254. Changes in version 0.2.8.10 - 2016-12-02
  6255. Tor 0.2.8.10 backports a fix for a bug that would sometimes make clients
  6256. unusable after they left standby mode. It also backports fixes for
  6257. a few portability issues and a small but problematic memory leak.
  6258. o Major bugfixes (client reliability, backport from 0.2.9.5-alpha):
  6259. - When Tor leaves standby because of a new application request, open
  6260. circuits as needed to serve that request. Previously, we would
  6261. potentially wait a very long time. Fixes part of bug 19969; bugfix
  6262. on 0.2.8.1-alpha.
  6263. o Major bugfixes (client performance, backport from 0.2.9.5-alpha):
  6264. - Clients now respond to new application stream requests immediately
  6265. when they arrive, rather than waiting up to one second before
  6266. starting to handle them. Fixes part of bug 19969; bugfix
  6267. on 0.2.8.1-alpha.
  6268. o Minor bugfixes (portability, backport from 0.2.9.6-rc):
  6269. - Work around a bug in the OSX 10.12 SDK that would prevent us from
  6270. successfully targeting earlier versions of OSX. Resolves
  6271. ticket 20235.
  6272. o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
  6273. - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
  6274. 20551; bugfix on 0.2.1.1-alpha.
  6275. o Minor bugfixes (relay, backport from 0.2.9.5-alpha):
  6276. - Work around a memory leak in OpenSSL 1.1 when encoding public
  6277. keys. Fixes bug 20553; bugfix on 0.0.2pre8.
  6278. o Minor features (geoip):
  6279. - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
  6280. Country database.
  6281. Changes in version 0.2.9.6-rc - 2016-12-02
  6282. Tor 0.2.9.6-rc fixes a few remaining bugs found in the previous alpha
  6283. version. We hope that it will be ready to become stable soon, and we
  6284. encourage everyone to test this release. If no showstopper bugs are
  6285. found here, the next 0.2.9 release will be stable.
  6286. o Major bugfixes (relay, resolver, logging):
  6287. - For relays that don't know their own address, avoid attempting a
  6288. local hostname resolve for each descriptor we download. This
  6289. will cut down on the number of "Success: chose address 'x.x.x.x'"
  6290. log lines, and also avoid confusing clock jumps if the resolver
  6291. is slow. Fixes bugs 20423 and 20610; bugfix on 0.2.8.1-alpha.
  6292. o Minor bugfixes (client, fascistfirewall):
  6293. - Avoid spurious warnings when ReachableAddresses or FascistFirewall
  6294. is set. Fixes bug 20306; bugfix on 0.2.8.2-alpha.
  6295. o Minor bugfixes (hidden services):
  6296. - Stop ignoring the anonymity status of saved keys for hidden
  6297. services and single onion services when first starting tor.
  6298. Instead, refuse to start tor if any hidden service key has been
  6299. used in a different hidden service anonymity mode. Fixes bug
  6300. 20638; bugfix on 17178 in 0.2.9.3-alpha; reported by ahf.
  6301. o Minor bugfixes (portability):
  6302. - Work around a bug in the OSX 10.12 SDK that would prevent us from
  6303. successfully targeting earlier versions of OSX. Resolves
  6304. ticket 20235.
  6305. - Run correctly when built on Windows build environments that
  6306. require _vcsprintf(). Fixes bug 20560; bugfix on 0.2.2.11-alpha.
  6307. o Minor bugfixes (single onion services, Tor2web):
  6308. - Stop complaining about long-term one-hop circuits deliberately
  6309. created by single onion services and Tor2web. These log messages
  6310. are intended to diagnose issue 8387, which relates to circuits
  6311. hanging around forever for no reason. Fixes bug 20613; bugfix on
  6312. 0.2.9.1-alpha. Reported by "pastly".
  6313. o Minor bugfixes (unit tests):
  6314. - Stop spurious failures in the local interface address discovery
  6315. unit tests. Fixes bug 20634; bugfix on 0.2.8.1-alpha; patch by
  6316. Neel Chauhan.
  6317. o Documentation:
  6318. - Correct the minimum bandwidth value in torrc.sample, and queue a
  6319. corresponding change for torrc.minimal. Closes ticket 20085.
  6320. Changes in version 0.2.9.5-alpha - 2016-11-08
  6321. Tor 0.2.9.5-alpha fixes numerous bugs discovered in the previous alpha
  6322. version. We believe one or two probably remain, and we encourage
  6323. everyone to test this release.
  6324. o Major bugfixes (client performance):
  6325. - Clients now respond to new application stream requests immediately
  6326. when they arrive, rather than waiting up to one second before
  6327. starting to handle them. Fixes part of bug 19969; bugfix
  6328. on 0.2.8.1-alpha.
  6329. o Major bugfixes (client reliability):
  6330. - When Tor leaves standby because of a new application request, open
  6331. circuits as needed to serve that request. Previously, we would
  6332. potentially wait a very long time. Fixes part of bug 19969; bugfix
  6333. on 0.2.8.1-alpha.
  6334. o Major bugfixes (download scheduling):
  6335. - When using an exponential backoff schedule, do not give up on
  6336. downloading just because we have failed a bunch of times. Since
  6337. each delay is longer than the last, retrying indefinitely won't
  6338. hurt. Fixes bug 20536; bugfix on 0.2.9.1-alpha.
  6339. - If a consensus expires while we are waiting for certificates to
  6340. download, stop waiting for certificates.
  6341. - If we stop waiting for certificates less than a minute after we
  6342. started downloading them, do not consider the certificate download
  6343. failure a separate failure. Fixes bug 20533; bugfix
  6344. on 0.2.0.9-alpha.
  6345. - Remove the maximum delay on exponential-backoff scheduling. Since
  6346. we now allow an infinite number of failures (see ticket 20536), we
  6347. must now allow the time to grow longer on each failure. Fixes part
  6348. of bug 20534; bugfix on 0.2.9.1-alpha.
  6349. - Make our initial download delays closer to those from 0.2.8. Fixes
  6350. another part of bug 20534; bugfix on 0.2.9.1-alpha.
  6351. - When determining when to download a directory object, handle times
  6352. after 2038 if the operating system supports them. (Someday this
  6353. will be important!) Fixes bug 20587; bugfix on 0.2.8.1-alpha.
  6354. - When using exponential backoff in test networks, use a lower
  6355. exponent, so the delays do not vary as much. This helps test
  6356. networks bootstrap consistently. Fixes bug 20597; bugfix on 20499.
  6357. o Minor features (geoip):
  6358. - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
  6359. Country database.
  6360. o Minor bugfixes (client directory scheduling):
  6361. - Treat "relay too busy to answer request" as a failed request and a
  6362. reason to back off on our retry frequency. This is safe now that
  6363. exponential backoffs retry indefinitely, and avoids a bug where we
  6364. would reset our download schedule erroneously. Fixes bug 20593;
  6365. bugfix on 0.2.9.1-alpha.
  6366. o Minor bugfixes (client, logging):
  6367. - Remove a BUG warning in circuit_pick_extend_handshake(). Instead,
  6368. assume all nodes support EXTEND2. Use ntor whenever a key is
  6369. available. Fixes bug 20472; bugfix on 0.2.9.3-alpha.
  6370. - On DNSPort, stop logging a BUG warning on a failed hostname
  6371. lookup. Fixes bug 19869; bugfix on 0.2.9.1-alpha.
  6372. o Minor bugfixes (hidden services):
  6373. - When configuring hidden services, check every hidden service
  6374. directory's permissions. Previously, we only checked the last
  6375. hidden service. Fixes bug 20529; bugfix the work to fix 13942
  6376. in 0.2.6.2-alpha.
  6377. o Minor bugfixes (portability):
  6378. - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
  6379. architectures. Closes ticket 20588.
  6380. - Use ECDHE ciphers instead of ECDH in tortls tests. LibreSSL has
  6381. removed the ECDH ciphers which caused the tests to fail on
  6382. platforms which use it. Fixes bug 20460; bugfix on 0.2.8.1-alpha.
  6383. - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
  6384. 20551; bugfix on 0.2.1.1-alpha.
  6385. o Minor bugfixes (relay bootstrap):
  6386. - Ensure relays don't make multiple connections during bootstrap.
  6387. Fixes bug 20591; bugfix on 0.2.8.1-alpha.
  6388. o Minor bugfixes (relay):
  6389. - Work around a memory leak in OpenSSL 1.1 when encoding public
  6390. keys. Fixes bug 20553; bugfix on 0.0.2pre8.
  6391. - Avoid a small memory leak when informing worker threads about
  6392. rotated onion keys. Fixes bug 20401; bugfix on 0.2.6.3-alpha.
  6393. - Do not try to parallelize workers more than 16x without the user
  6394. explicitly configuring us to do so, even if we do detect more than
  6395. 16 CPU cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
  6396. o Minor bugfixes (single onion services):
  6397. - Start correctly when creating a single onion service in a
  6398. directory that did not previously exist. Fixes bug 20484; bugfix
  6399. on 0.2.9.3-alpha.
  6400. o Minor bugfixes (testing):
  6401. - Avoid a unit test failure on systems with over 16 detectable CPU
  6402. cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
  6403. o Documentation:
  6404. - Clarify that setting HiddenServiceNonAnonymousMode requires you to
  6405. also set "SOCKSPort 0". Fixes bug 20487; bugfix on 0.2.9.3-alpha.
  6406. - Module-level documentation for several more modules. Closes
  6407. tickets 19287 and 19290.
  6408. Changes in version 0.2.8.9 - 2016-10-17
  6409. Tor 0.2.8.9 backports a fix for a security hole in previous versions
  6410. of Tor that would allow a remote attacker to crash a Tor client,
  6411. hidden service, relay, or authority. All Tor users should upgrade to
  6412. this version, or to 0.2.9.4-alpha. Patches will be released for older
  6413. versions of Tor.
  6414. o Major features (security fixes, also in 0.2.9.4-alpha):
  6415. - Prevent a class of security bugs caused by treating the contents
  6416. of a buffer chunk as if they were a NUL-terminated string. At
  6417. least one such bug seems to be present in all currently used
  6418. versions of Tor, and would allow an attacker to remotely crash
  6419. most Tor instances, especially those compiled with extra compiler
  6420. hardening. With this defense in place, such bugs can't crash Tor,
  6421. though we should still fix them as they occur. Closes ticket
  6422. 20384 (TROVE-2016-10-001).
  6423. o Minor features (geoip):
  6424. - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
  6425. Country database.
  6426. Changes in version 0.2.9.4-alpha - 2016-10-17
  6427. Tor 0.2.9.4-alpha fixes a security hole in previous versions of Tor
  6428. that would allow a remote attacker to crash a Tor client, hidden
  6429. service, relay, or authority. All Tor users should upgrade to this
  6430. version, or to 0.2.8.9. Patches will be released for older versions
  6431. of Tor.
  6432. Tor 0.2.9.4-alpha also adds numerous small features and fix-ups to
  6433. previous versions of Tor, including the implementation of a feature to
  6434. future- proof the Tor ecosystem against protocol changes, some bug
  6435. fixes necessary for Tor Browser to use unix domain sockets correctly,
  6436. and several portability improvements. We anticipate that this will be
  6437. the last alpha in the Tor 0.2.9 series, and that the next release will
  6438. be a release candidate.
  6439. o Major features (security fixes):
  6440. - Prevent a class of security bugs caused by treating the contents
  6441. of a buffer chunk as if they were a NUL-terminated string. At
  6442. least one such bug seems to be present in all currently used
  6443. versions of Tor, and would allow an attacker to remotely crash
  6444. most Tor instances, especially those compiled with extra compiler
  6445. hardening. With this defense in place, such bugs can't crash Tor,
  6446. though we should still fix them as they occur. Closes ticket
  6447. 20384 (TROVE-2016-10-001).
  6448. o Major features (subprotocol versions):
  6449. - Tor directory authorities now vote on a set of recommended
  6450. subprotocol versions, and on a set of required subprotocol
  6451. versions. Clients and relays that lack support for a _required_
  6452. subprotocol version will not start; those that lack support for a
  6453. _recommended_ subprotocol version will warn the user to upgrade.
  6454. Closes ticket 19958; implements part of proposal 264.
  6455. - Tor now uses "subprotocol versions" to indicate compatibility.
  6456. Previously, versions of Tor looked at the declared Tor version of
  6457. a relay to tell whether they could use a given feature. Now, they
  6458. should be able to rely on its declared subprotocol versions. This
  6459. change allows compatible implementations of the Tor protocol(s) to
  6460. exist without pretending to be 100% bug-compatible with particular
  6461. releases of Tor itself. Closes ticket 19958; implements part of
  6462. proposal 264.
  6463. o Minor feature (fallback directories):
  6464. - Remove broken fallbacks from the hard-coded fallback directory
  6465. list. Closes ticket 20190; patch by teor.
  6466. o Minor features (client, directory):
  6467. - Since authorities now omit all routers that lack the Running and
  6468. Valid flags, we assume that any relay listed in the consensus must
  6469. have those flags. Closes ticket 20001; implements part of
  6470. proposal 272.
  6471. o Minor features (compilation, portability):
  6472. - Compile correctly on MacOS 10.12 (aka "Sierra"). Closes
  6473. ticket 20241.
  6474. o Minor features (development tools, etags):
  6475. - Teach the "make tags" Makefile target how to correctly find
  6476. "MOCK_IMPL" function definitions. Patch from nherring; closes
  6477. ticket 16869.
  6478. o Minor features (geoip):
  6479. - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
  6480. Country database.
  6481. o Minor features (unix domain sockets):
  6482. - When configuring a unix domain socket for a SocksPort,
  6483. ControlPort, or Hidden service, you can now wrap the address in
  6484. quotes, using C-style escapes inside the quotes. This allows unix
  6485. domain socket paths to contain spaces.
  6486. o Minor features (virtual addresses):
  6487. - Increase the maximum number of bits for the IPv6 virtual network
  6488. prefix from 16 to 104. In this way, the condition for address
  6489. allocation is less restrictive. Closes ticket 20151; feature
  6490. on 0.2.4.7-alpha.
  6491. o Minor bugfixes (address discovery):
  6492. - Stop reordering IP addresses returned by the OS. This makes it
  6493. more likely that Tor will guess the same relay IP address every
  6494. time. Fixes issue 20163; bugfix on 0.2.7.1-alpha, ticket 17027.
  6495. Reported by René Mayrhofer, patch by "cypherpunks".
  6496. o Minor bugfixes (client, unix domain sockets):
  6497. - Disable IsolateClientAddr when using AF_UNIX backed SocksPorts as
  6498. the client address is meaningless. Fixes bug 20261; bugfix
  6499. on 0.2.6.3-alpha.
  6500. o Minor bugfixes (compilation, OpenBSD):
  6501. - Detect Libevent2 functions correctly on systems that provide
  6502. libevent2, but where libevent1 is linked with -levent. Fixes bug
  6503. 19904; bugfix on 0.2.2.24-alpha. Patch from Rubiate.
  6504. o Minor bugfixes (configuration):
  6505. - When parsing quoted configuration values from the torrc file,
  6506. handle windows line endings correctly. Fixes bug 19167; bugfix on
  6507. 0.2.0.16-alpha. Patch from "Pingl".
  6508. o Minor bugfixes (getpass):
  6509. - Defensively fix a non-triggerable heap corruption at do_getpass()
  6510. to protect ourselves from mistakes in the future. Fixes bug
  6511. 19223; bugfix on 0.2.7.3-rc. Bug found by Guido Vranken, patch
  6512. by nherring.
  6513. o Minor bugfixes (hidden service):
  6514. - Allow hidden services to run on IPv6 addresses even when the
  6515. IPv6Exit option is not set. Fixes bug 18357; bugfix
  6516. on 0.2.4.7-alpha.
  6517. o Documentation:
  6518. - Add module-level internal documentation for 36 C files that
  6519. previously didn't have a high-level overview. Closes ticket #20385.
  6520. o Required libraries:
  6521. - When building with OpenSSL, Tor now requires version 1.0.1 or
  6522. later. OpenSSL 1.0.0 and earlier are no longer supported by the
  6523. OpenSSL team, and should not be used. Closes ticket 20303.
  6524. Changes in version 0.2.9.3-alpha - 2016-09-23
  6525. Tor 0.2.9.3-alpha adds improved support for entities that want to make
  6526. high-performance services available through the Tor .onion mechanism
  6527. without themselves receiving anonymity as they host those services. It
  6528. also tries harder to ensure that all steps on a circuit are using the
  6529. strongest crypto possible, strengthens some TLS properties, and
  6530. resolves several bugs -- including a pair of crash bugs from the 0.2.8
  6531. series. Anybody running an earlier version of 0.2.9.x should upgrade.
  6532. o Major bugfixes (crash, also in 0.2.8.8):
  6533. - Fix a complicated crash bug that could affect Tor clients
  6534. configured to use bridges when replacing a networkstatus consensus
  6535. in which one of their bridges was mentioned. OpenBSD users saw
  6536. more crashes here, but all platforms were potentially affected.
  6537. Fixes bug 20103; bugfix on 0.2.8.2-alpha.
  6538. o Major bugfixes (relay, OOM handler, also in 0.2.8.8):
  6539. - Fix a timing-dependent assertion failure that could occur when we
  6540. tried to flush from a circuit after having freed its cells because
  6541. of an out-of-memory condition. Fixes bug 20203; bugfix on
  6542. 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
  6543. this one.
  6544. o Major features (circuit building, security):
  6545. - Authorities, relays and clients now require ntor keys in all
  6546. descriptors, for all hops (except for rare hidden service protocol
  6547. cases), for all circuits, and for all other roles. Part of
  6548. ticket 19163.
  6549. - Tor authorities, relays, and clients only use ntor, except for
  6550. rare cases in the hidden service protocol. Part of ticket 19163.
  6551. o Major features (single-hop "hidden" services):
  6552. - Add experimental HiddenServiceSingleHopMode and
  6553. HiddenServiceNonAnonymousMode options. When both are set to 1,
  6554. every hidden service on a Tor instance becomes a non-anonymous
  6555. Single Onion Service. Single Onions make one-hop (direct)
  6556. connections to their introduction and renzedvous points. One-hop
  6557. circuits make Single Onion servers easily locatable, but clients
  6558. remain location-anonymous. This is compatible with the existing
  6559. hidden service implementation, and works on the current tor
  6560. network without any changes to older relays or clients. Implements
  6561. proposal 260, completes ticket 17178. Patch by teor and asn.
  6562. o Major features (resource management):
  6563. - Tor can now notice it is about to run out of sockets, and
  6564. preemptively close connections of lower priority. (This feature is
  6565. off by default for now, since the current prioritizing method is
  6566. yet not mature enough. You can enable it by setting
  6567. "DisableOOSCheck 0", but watch out: it might close some sockets
  6568. you would rather have it keep.) Closes ticket 18640.
  6569. o Major bugfixes (circuit building):
  6570. - Hidden service client-to-intro-point and service-to-rendezvous-
  6571. point circuits use the TAP key supplied by the protocol, to avoid
  6572. epistemic attacks. Fixes bug 19163; bugfix on 0.2.4.18-rc.
  6573. o Major bugfixes (compilation, OpenBSD):
  6574. - Fix a Libevent-detection bug in our autoconf script that would
  6575. prevent Tor from linking successfully on OpenBSD. Patch from
  6576. rubiate. Fixes bug 19902; bugfix on 0.2.9.1-alpha.
  6577. o Major bugfixes (hidden services):
  6578. - Clients now require hidden services to include the TAP keys for
  6579. their intro points in the hidden service descriptor. This prevents
  6580. an inadvertent upgrade to ntor, which a malicious hidden service
  6581. could use to distinguish clients by consensus version. Fixes bug
  6582. 20012; bugfix on 0.2.4.8-alpha. Patch by teor.
  6583. o Minor features (security, TLS):
  6584. - Servers no longer support clients that without AES ciphersuites.
  6585. (3DES is no longer considered an acceptable cipher.) We believe
  6586. that no such Tor clients currently exist, since Tor has required
  6587. OpenSSL 0.9.7 or later since 2009. Closes ticket 19998.
  6588. o Minor feature (fallback directories):
  6589. - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
  6590. 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
  6591. 2016. Closes ticket 20190; patch by teor.
  6592. o Minor features (geoip, also in 0.2.8.8):
  6593. - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
  6594. Country database.
  6595. o Minor feature (port flags):
  6596. - Add new flags to the *Port options to finer control over which
  6597. requests are allowed. The flags are NoDNSRequest, NoOnionTraffic,
  6598. and the synthetic flag OnionTrafficOnly, which is equivalent to
  6599. NoDNSRequest, NoIPv4Traffic, and NoIPv6Traffic. Closes enhancement
  6600. 18693; patch by "teor".
  6601. o Minor features (directory authority):
  6602. - After voting, if the authorities decide that a relay is not
  6603. "Valid", they no longer include it in the consensus at all. Closes
  6604. ticket 20002; implements part of proposal 272.
  6605. o Minor features (testing):
  6606. - Disable memory protections on OpenBSD when performing our unit
  6607. tests for memwipe(). The test deliberately invokes undefined
  6608. behavior, and the OpenBSD protections interfere with this. Patch
  6609. from "rubiate". Closes ticket 20066.
  6610. o Minor features (testing, ipv6):
  6611. - Add the single-onion and single-onion-ipv6 chutney targets to
  6612. "make test-network-all". This requires a recent chutney version
  6613. with the single onion network flavours (git c72a652 or later).
  6614. Closes ticket 20072; patch by teor.
  6615. - Add the hs-ipv6 chutney target to make test-network-all's IPv6
  6616. tests. Remove bridges+hs, as it's somewhat redundant. This
  6617. requires a recent chutney version that supports IPv6 clients,
  6618. relays, and authorities. Closes ticket 20069; patch by teor.
  6619. o Minor features (Tor2web):
  6620. - Make Tor2web clients respect ReachableAddresses. This feature was
  6621. inadvertently enabled in 0.2.8.6, then removed by bugfix 19973 on
  6622. 0.2.8.7. Implements feature 20034. Patch by teor.
  6623. o Minor features (unit tests):
  6624. - We've done significant work to make the unit tests run faster.
  6625. - Our link-handshake unit tests now check that when invalid
  6626. handshakes fail, they fail with the error messages we expected.
  6627. - Our unit testing code that captures log messages no longer
  6628. prevents them from being written out if the user asked for them
  6629. (by passing --debug or --info or or --notice --warn to the "test"
  6630. binary). This change prevents us from missing unexpected log
  6631. messages simply because we were looking for others. Related to
  6632. ticket 19999.
  6633. - The unit tests now log all warning messages with the "BUG" flag.
  6634. Previously, they only logged errors by default. This change will
  6635. help us make our testing code more correct, and make sure that we
  6636. only hit this code when we mean to. In the meantime, however,
  6637. there will be more warnings in the unit test logs than before.
  6638. This is preparatory work for ticket 19999.
  6639. - The unit tests now treat any failure of a "tor_assert_nonfatal()"
  6640. assertion as a test failure.
  6641. o Minor bug fixes (circuits):
  6642. - Use the CircuitBuildTimeout option whenever
  6643. LearnCircuitBuildTimeout is disabled. Previously, we would respect
  6644. the option when a user disabled it, but not when it was disabled
  6645. because some other option was set. Fixes bug 20073; bugfix on
  6646. 0.2.4.12-alpha. Patch by teor.
  6647. o Minor bugfixes (allocation):
  6648. - Change how we allocate memory for large chunks on buffers, to
  6649. avoid a (currently impossible) integer overflow, and to waste less
  6650. space when allocating unusually large chunks. Fixes bug 20081;
  6651. bugfix on 0.2.0.16-alpha. Issue identified by Guido Vranken.
  6652. - Always include orconfig.h before including any other C headers.
  6653. Sometimes, it includes macros that affect the behavior of the
  6654. standard headers. Fixes bug 19767; bugfix on 0.2.9.1-alpha (the
  6655. first version to use AC_USE_SYSTEM_EXTENSIONS).
  6656. - Fix a syntax error in the IF_BUG_ONCE__() macro in non-GCC-
  6657. compatible compilers. Fixes bug 20141; bugfix on 0.2.9.1-alpha.
  6658. Patch from Gisle Vanem.
  6659. - Stop trying to build with Clang 4.0's -Wthread-safety warnings.
  6660. They apparently require a set of annotations that we aren't
  6661. currently using, and they create false positives in our pthreads
  6662. wrappers. Fixes bug 20110; bugfix on 0.2.9.1-alpha.
  6663. o Minor bugfixes (directory authority):
  6664. - Die with a more useful error when the operator forgets to place
  6665. the authority_signing_key file into the keys directory. This
  6666. avoids an uninformative assert & traceback about having an invalid
  6667. key. Fixes bug 20065; bugfix on 0.2.0.1-alpha.
  6668. - When allowing private addresses, mark Exits that only exit to
  6669. private locations as such. Fixes bug 20064; bugfix
  6670. on 0.2.2.9-alpha.
  6671. o Minor bugfixes (documentation):
  6672. - Document the default PathsNeededToBuildCircuits value that's used
  6673. by clients when the directory authorities don't set
  6674. min_paths_for_circs_pct. Fixes bug 20117; bugfix on 02c320916e02
  6675. in 0.2.4.10-alpha. Patch by teor, reported by Jesse V.
  6676. - Fix manual for the User option: it takes a username, not a UID.
  6677. Fixes bug 19122; bugfix on 0.0.2pre16 (the first version to have
  6678. a manpage!).
  6679. o Minor bugfixes (hidden services):
  6680. - Stop logging intro point details to the client log on certain
  6681. error conditions. Fixed as part of bug 20012; bugfix on
  6682. 0.2.4.8-alpha. Patch by teor.
  6683. o Minor bugfixes (IPv6, testing):
  6684. - Check for IPv6 correctly on Linux when running test networks.
  6685. Fixes bug 19905; bugfix on 0.2.7.3-rc; patch by teor.
  6686. o Minor bugfixes (Linux seccomp2 sandbox):
  6687. - Add permission to run the sched_yield() and sigaltstack() system
  6688. calls, in order to support versions of Tor compiled with asan or
  6689. ubsan code that use these calls. Now "sandbox 1" and
  6690. "--enable-expensive-hardening" should be compatible on more
  6691. systems. Fixes bug 20063; bugfix on 0.2.5.1-alpha.
  6692. o Minor bugfixes (logging):
  6693. - When logging a message from the BUG() macro, be explicit about
  6694. what we were asserting. Previously we were confusing what we were
  6695. asserting with what the bug was. Fixes bug 20093; bugfix
  6696. on 0.2.9.1-alpha.
  6697. - When we are unable to remove the bw_accounting file, do not warn
  6698. if the reason we couldn't remove it was that it didn't exist.
  6699. Fixes bug 19964; bugfix on 0.2.5.4-alpha. Patch from 'pastly'.
  6700. o Minor bugfixes (option parsing):
  6701. - Count unix sockets when counting client listeners (SOCKS, Trans,
  6702. NATD, and DNS). This has no user-visible behaviour changes: these
  6703. options are set once, and never read. Required for correct
  6704. behaviour in ticket 17178. Fixes bug 19677; bugfix on
  6705. 0.2.6.3-alpha. Patch by teor.
  6706. o Minor bugfixes (options):
  6707. - Check the consistency of UseEntryGuards and EntryNodes more
  6708. reliably. Fixes bug 20074; bugfix on 0.2.4.12-alpha. Patch
  6709. by teor.
  6710. - Stop changing the configured value of UseEntryGuards on
  6711. authorities and Tor2web clients. Fixes bug 20074; bugfix on
  6712. commits 51fc6799 in 0.1.1.16-rc and acda1735 in 0.2.4.3-alpha.
  6713. Patch by teor.
  6714. o Minor bugfixes (Tor2web):
  6715. - Prevent Tor2web clients running hidden services, these services
  6716. are not anonymous due to the one-hop client paths. Fixes bug
  6717. 19678. Patch by teor.
  6718. o Minor bugfixes (unit tests):
  6719. - Fix a shared-random unit test that was failing on big endian
  6720. architectures due to internal representation of a integer copied
  6721. to a buffer. The test is changed to take a full 32 bytes of data
  6722. and use the output of a python script that make the COMMIT and
  6723. REVEAL calculation according to the spec. Fixes bug 19977; bugfix
  6724. on 0.2.9.1-alpha.
  6725. - The tor_tls_server_info_callback unit test no longer crashes when
  6726. debug-level logging is turned on. Fixes bug 20041; bugfix
  6727. on 0.2.8.1-alpha.
  6728. Changes in version 0.2.8.8 - 2016-09-23
  6729. Tor 0.2.8.8 fixes two crash bugs present in previous versions of the
  6730. 0.2.8.x series. Relays running 0.2.8.x should upgrade, as should users
  6731. who select public relays as their bridges.
  6732. o Major bugfixes (crash):
  6733. - Fix a complicated crash bug that could affect Tor clients
  6734. configured to use bridges when replacing a networkstatus consensus
  6735. in which one of their bridges was mentioned. OpenBSD users saw
  6736. more crashes here, but all platforms were potentially affected.
  6737. Fixes bug 20103; bugfix on 0.2.8.2-alpha.
  6738. o Major bugfixes (relay, OOM handler):
  6739. - Fix a timing-dependent assertion failure that could occur when we
  6740. tried to flush from a circuit after having freed its cells because
  6741. of an out-of-memory condition. Fixes bug 20203; bugfix on
  6742. 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
  6743. this one.
  6744. o Minor feature (fallback directories):
  6745. - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
  6746. 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
  6747. 2016. Closes ticket 20190; patch by teor.
  6748. o Minor features (geoip):
  6749. - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
  6750. Country database.
  6751. Changes in version 0.2.9.2-alpha - 2016-08-24
  6752. Tor 0.2.9.2-alpha continues development of the 0.2.9 series with
  6753. several new features and bugfixes. It also includes an important
  6754. authority update and an important bugfix from 0.2.8.7. Everyone who
  6755. sets the ReachableAddresses option, and all bridges, are strongly
  6756. encouraged to upgrade to 0.2.8.7, or to 0.2.9.2-alpha.
  6757. o Directory authority changes (also in 0.2.8.7):
  6758. - The "Tonga" bridge authority has been retired; the new bridge
  6759. authority is "Bifroest". Closes tickets 19728 and 19690.
  6760. o Major bugfixes (client, security, also in 0.2.8.7):
  6761. - Only use the ReachableAddresses option to restrict the first hop
  6762. in a path. In earlier versions of 0.2.8.x, it would apply to
  6763. every hop in the path, with a possible degradation in anonymity
  6764. for anyone using an uncommon ReachableAddress setting. Fixes bug
  6765. 19973; bugfix on 0.2.8.2-alpha.
  6766. o Major features (user interface):
  6767. - Tor now supports the ability to declare options deprecated, so
  6768. that we can recommend that people stop using them. Previously,
  6769. this was done in an ad-hoc way. Closes ticket 19820.
  6770. o Major bugfixes (directory downloads):
  6771. - Avoid resetting download status for consensuses hourly, since we
  6772. already have another, smarter retry mechanism. Fixes bug 8625;
  6773. bugfix on 0.2.0.9-alpha.
  6774. o Minor features (config):
  6775. - Warn users when descriptor and port addresses are inconsistent.
  6776. Mitigates bug 13953; patch by teor.
  6777. o Minor features (geoip):
  6778. - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
  6779. Country database.
  6780. o Minor features (user interface):
  6781. - There is a new --list-deprecated-options command-line option to
  6782. list all of the deprecated options. Implemented as part of
  6783. ticket 19820.
  6784. o Minor bugfixes (code style):
  6785. - Fix an integer signedness conversion issue in the case conversion
  6786. tables. Fixes bug 19168; bugfix on 0.2.1.11-alpha.
  6787. o Minor bugfixes (compilation):
  6788. - Build correctly on versions of libevent2 without support for
  6789. evutil_secure_rng_add_bytes(). Fixes bug 19904; bugfix
  6790. on 0.2.5.4-alpha.
  6791. - Fix a compilation warning on GCC versions before 4.6. Our
  6792. ENABLE_GCC_WARNING macro used the word "warning" as an argument,
  6793. when it is also required as an argument to the compiler pragma.
  6794. Fixes bug 19901; bugfix on 0.2.9.1-alpha.
  6795. o Minor bugfixes (compilation, also in 0.2.8.7):
  6796. - Remove an inappropriate "inline" in tortls.c that was causing
  6797. warnings on older versions of GCC. Fixes bug 19903; bugfix
  6798. on 0.2.8.1-alpha.
  6799. o Minor bugfixes (fallback directories, also in 0.2.8.7):
  6800. - Avoid logging a NULL string pointer when loading fallback
  6801. directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
  6802. and 0.2.8.1-alpha. Report and patch by "rubiate".
  6803. o Minor bugfixes (logging):
  6804. - Log a more accurate message when we fail to dump a microdescriptor.
  6805. Fixes bug 17758; bugfix on 0.2.2.8-alpha. Patch from Daniel Pinto.
  6806. o Minor bugfixes (memory leak):
  6807. - Fix a series of slow memory leaks related to parsing torrc files
  6808. and options. Fixes bug 19466; bugfix on 0.2.1.6-alpha.
  6809. o Deprecated features:
  6810. - A number of DNS-cache-related sub-options for client ports are now
  6811. deprecated for security reasons, and may be removed in a future
  6812. version of Tor. (We believe that client-side DNS caching is a bad
  6813. idea for anonymity, and you should not turn it on.) The options
  6814. are: CacheDNS, CacheIPv4DNS, CacheIPv6DNS, UseDNSCache,
  6815. UseIPv4Cache, and UseIPv6Cache.
  6816. - A number of options are deprecated for security reasons, and may
  6817. be removed in a future version of Tor. The options are:
  6818. AllowDotExit, AllowInvalidNodes, AllowSingleHopCircuits,
  6819. AllowSingleHopExits, ClientDNSRejectInternalAddresses,
  6820. CloseHSClientCircuitsImmediatelyOnTimeout,
  6821. CloseHSServiceRendCircuitsImmediatelyOnTimeout,
  6822. ExcludeSingleHopRelays, FastFirstHopPK, TLSECGroup,
  6823. UseNTorHandshake, and WarnUnsafeSocks.
  6824. - The *ListenAddress options are now deprecated as unnecessary: the
  6825. corresponding *Port options should be used instead. These options
  6826. may someday be removed. The affected options are:
  6827. ControlListenAddress, DNSListenAddress, DirListenAddress,
  6828. NATDListenAddress, ORListenAddress, SocksListenAddress,
  6829. and TransListenAddress.
  6830. o Documentation:
  6831. - Correct the IPv6 syntax in our documentation for the
  6832. VirtualAddrNetworkIPv6 torrc option. Closes ticket 19743.
  6833. o Removed code:
  6834. - We no longer include the (dead, deprecated) bufferevent code in
  6835. Tor. Closes ticket 19450. Based on a patch from U+039b.
  6836. Changes in version 0.2.8.7 - 2016-08-24
  6837. Tor 0.2.8.7 fixes an important bug related to the ReachableAddresses
  6838. option in 0.2.8.6, and replaces a retiring bridge authority. Everyone
  6839. who sets the ReachableAddresses option, and all bridges, are strongly
  6840. encouraged to upgrade.
  6841. o Directory authority changes:
  6842. - The "Tonga" bridge authority has been retired; the new bridge
  6843. authority is "Bifroest". Closes tickets 19728 and 19690.
  6844. o Major bugfixes (client, security):
  6845. - Only use the ReachableAddresses option to restrict the first hop
  6846. in a path. In earlier versions of 0.2.8.x, it would apply to
  6847. every hop in the path, with a possible degradation in anonymity
  6848. for anyone using an uncommon ReachableAddress setting. Fixes bug
  6849. 19973; bugfix on 0.2.8.2-alpha.
  6850. o Minor features (geoip):
  6851. - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
  6852. Country database.
  6853. o Minor bugfixes (compilation):
  6854. - Remove an inappropriate "inline" in tortls.c that was causing
  6855. warnings on older versions of GCC. Fixes bug 19903; bugfix
  6856. on 0.2.8.1-alpha.
  6857. o Minor bugfixes (fallback directories):
  6858. - Avoid logging a NULL string pointer when loading fallback
  6859. directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
  6860. and 0.2.8.1-alpha. Report and patch by "rubiate".
  6861. Changes in version 0.2.9.1-alpha - 2016-08-08
  6862. Tor 0.2.9.1-alpha is the first alpha release in the 0.2.9 development
  6863. series. It improves our support for hardened builds and compiler
  6864. warnings, deploys some critical infrastructure for improvements to
  6865. hidden services, includes a new timing backend that we hope to use for
  6866. better support for traffic padding, makes it easier for programmers to
  6867. log unexpected events, and contains other small improvements to
  6868. security, correctness, and performance.
  6869. Below are the changes since 0.2.8.6.
  6870. o New system requirements:
  6871. - Tor now requires Libevent version 2.0.10-stable or later. Older
  6872. versions of Libevent have less efficient backends for several
  6873. platforms, and lack the DNS code that we use for our server-side
  6874. DNS support. This implements ticket 19554.
  6875. - Tor now requires zlib version 1.2 or later, for security,
  6876. efficiency, and (eventually) gzip support. (Back when we started,
  6877. zlib 1.1 and zlib 1.0 were still found in the wild. 1.2 was
  6878. released in 2003. We recommend the latest version.)
  6879. o Major features (build, hardening):
  6880. - Tor now builds with -ftrapv by default on compilers that support
  6881. it. This option detects signed integer overflow (which C forbids),
  6882. and turns it into a hard-failure. We do not apply this option to
  6883. code that needs to run in constant time to avoid side-channels;
  6884. instead, we use -fwrapv in that code. Closes ticket 17983.
  6885. - When --enable-expensive-hardening is selected, stop applying the
  6886. clang/gcc sanitizers to code that needs to run in constant time.
  6887. Although we are aware of no introduced side-channels, we are not
  6888. able to prove that there are none. Related to ticket 17983.
  6889. o Major features (compilation):
  6890. - Our big list of extra GCC warnings is now enabled by default when
  6891. building with GCC (or with anything like Clang that claims to be
  6892. GCC-compatible). To make all warnings into fatal compilation
  6893. errors, pass --enable-fatal-warnings to configure. Closes
  6894. ticket 19044.
  6895. - Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONS to automatically
  6896. turn on C and POSIX extensions. (Previously, we attempted to do
  6897. this on an ad hoc basis.) Closes ticket 19139.
  6898. o Major features (directory authorities, hidden services):
  6899. - Directory authorities can now perform the shared randomness
  6900. protocol specified by proposal 250. Using this protocol, directory
  6901. authorities generate a global fresh random value every day. In the
  6902. future, this value will be used by hidden services to select
  6903. HSDirs. This release implements the directory authority feature;
  6904. the hidden service side will be implemented in the future as part
  6905. of proposal 224. Resolves ticket 16943; implements proposal 250.
  6906. o Major features (downloading, random exponential backoff):
  6907. - When we fail to download an object from a directory service, wait
  6908. for an (exponentially increasing) randomized amount of time before
  6909. retrying, rather than a fixed interval as we did before. This
  6910. prevents a group of Tor instances from becoming too synchronized,
  6911. or a single Tor instance from becoming too predictable, in its
  6912. download schedule. Closes ticket 15942.
  6913. o Major bugfixes (exit policies):
  6914. - Avoid disclosing exit outbound bind addresses, configured port
  6915. bind addresses, and local interface addresses in relay descriptors
  6916. by default under ExitPolicyRejectPrivate. Instead, only reject
  6917. these (otherwise unlisted) addresses if
  6918. ExitPolicyRejectLocalInterfaces is set. Fixes bug 18456; bugfix on
  6919. 0.2.7.2-alpha. Patch by teor.
  6920. o Major bugfixes (hidden service client):
  6921. - Allow Tor clients with appropriate controllers to work with
  6922. FetchHidServDescriptors set to 0. Previously, this option also
  6923. disabled descriptor cache lookup, thus breaking hidden services
  6924. entirely. Fixes bug 18704; bugfix on 0.2.0.20-rc. Patch by "twim".
  6925. o Minor features (build, hardening):
  6926. - Detect and work around a libclang_rt problem that would prevent
  6927. clang from finding __mulodi4() on some 32-bit platforms, and thus
  6928. keep -ftrapv from linking on those systems. Closes ticket 19079.
  6929. - When building on a system without runtime support for the runtime
  6930. hardening options, try to log a useful warning at configuration
  6931. time, rather than an incomprehensible warning at link time. If
  6932. expensive hardening was requested, this warning becomes an error.
  6933. Closes ticket 18895.
  6934. o Minor features (code safety):
  6935. - In our integer-parsing functions, ensure that maxiumum value we
  6936. give is no smaller than the minimum value. Closes ticket 19063;
  6937. patch from U+039b.
  6938. o Minor features (controller):
  6939. - Implement new GETINFO queries for all downloads that use
  6940. download_status_t to schedule retries. This allows controllers to
  6941. examine the schedule for pending downloads. Closes ticket 19323.
  6942. - Allow controllers to configure basic client authorization on
  6943. hidden services when they create them with the ADD_ONION control
  6944. command. Implements ticket 15588. Patch by "special".
  6945. - Fire a STATUS_SERVER controller event whenever the hibernation
  6946. status changes between "awake"/"soft"/"hard". Closes ticket 18685.
  6947. o Minor features (directory authority):
  6948. - Directory authorities now only give the Guard flag to a relay if
  6949. they are also giving it the Stable flag. This change allows us to
  6950. simplify path selection for clients. It should have minimal effect
  6951. in practice, since >99% of Guards already have the Stable flag.
  6952. Implements ticket 18624.
  6953. - Directory authorities now write their v3-status-votes file out to
  6954. disk earlier in the consensus process, so we have a record of the
  6955. votes even if we abort the consensus process. Resolves
  6956. ticket 19036.
  6957. o Minor features (hidden service):
  6958. - Stop being so strict about the payload length of "rendezvous1"
  6959. cells. We used to be locked in to the "TAP" handshake length, and
  6960. now we can handle better handshakes like "ntor". Resolves
  6961. ticket 18998.
  6962. o Minor features (infrastructure, time):
  6963. - Tor now uses the operating system's monotonic timers (where
  6964. available) for internal fine-grained timing. Previously we would
  6965. look at the system clock, and then attempt to compensate for the
  6966. clock running backwards. Closes ticket 18908.
  6967. - Tor now includes an improved timer backend, so that we can
  6968. efficiently support tens or hundreds of thousands of concurrent
  6969. timers, as will be needed for some of our planned anti-traffic-
  6970. analysis work. This code is based on William Ahern's "timeout.c"
  6971. project, which implements a "tickless hierarchical timing wheel".
  6972. Closes ticket 18365.
  6973. o Minor features (logging):
  6974. - Provide a more useful warning message when configured with an
  6975. invalid Nickname. Closes ticket 18300; patch from "icanhasaccount".
  6976. - When dumping unparseable router descriptors, optionally store them
  6977. in separate files, named by digest, up to a configurable size
  6978. limit. You can change the size limit by setting the
  6979. MaxUnparseableDescSizeToLog option, and disable this feature by
  6980. setting that option to 0. Closes ticket 18322.
  6981. - Add a set of macros to check nonfatal assertions, for internal
  6982. use. Migrating more of our checks to these should help us avoid
  6983. needless crash bugs. Closes ticket 18613.
  6984. o Minor features (performance):
  6985. - Changer the "optimistic data" extension from "off by default" to
  6986. "on by default". The default was ordinarily overridden by a
  6987. consensus option, but when clients were bootstrapping for the
  6988. first time, they would not have a consensus to get the option
  6989. from. Changing this default When fetching a consensus for the
  6990. first time, use optimistic data. This saves a round-trip during
  6991. startup. Closes ticket 18815.
  6992. o Minor features (relay, usability):
  6993. - When the directory authorities refuse a bad relay's descriptor,
  6994. encourage the relay operator to contact us. Many relay operators
  6995. won't notice this line in their logs, but it's a win if even a few
  6996. learn why we don't like what their relay was doing. Resolves
  6997. ticket 18760.
  6998. o Minor features (testing):
  6999. - Let backtrace tests work correctly under AddressSanitizer. Fixes
  7000. part of bug 18934; bugfix on 0.2.5.2-alpha.
  7001. - Move the test-network.sh script to chutney, and modify tor's test-
  7002. network.sh to call the (newer) chutney version when available.
  7003. Resolves ticket 19116. Patch by teor.
  7004. - Use the lcov convention for marking lines as unreachable, so that
  7005. we don't count them when we're generating test coverage data.
  7006. Update our coverage tools to understand this convention. Closes
  7007. ticket 16792.
  7008. o Minor bugfixes (bootstrap):
  7009. - Remember the directory we fetched the consensus or previous
  7010. certificates from, and use it to fetch future authority
  7011. certificates. This change improves bootstrapping performance.
  7012. Fixes bug 18963; bugfix on 0.2.8.1-alpha.
  7013. o Minor bugfixes (build):
  7014. - The test-stem and test-network makefile targets now depend only on
  7015. the tor binary that they are testing. Previously, they depended on
  7016. "make all". Fixes bug 18240; bugfix on 0.2.8.2-alpha. Based on a
  7017. patch from "cypherpunks".
  7018. o Minor bugfixes (circuits):
  7019. - Make sure extend_info_from_router() is only called on servers.
  7020. Fixes bug 19639; bugfix on 0.2.8.1-alpha.
  7021. o Minor bugfixes (compilation):
  7022. - When building with Clang, use a full set of GCC warnings.
  7023. (Previously, we included only a subset, because of the way we
  7024. detected them.) Fixes bug 19216; bugfix on 0.2.0.1-alpha.
  7025. o Minor bugfixes (directory authority):
  7026. - Authorities now sort the "package" lines in their votes, for ease
  7027. of debugging. (They are already sorted in consensus documents.)
  7028. Fixes bug 18840; bugfix on 0.2.6.3-alpha.
  7029. - When parsing a detached signature, make sure we use the length of
  7030. the digest algorithm instead of an hardcoded DIGEST256_LEN in
  7031. order to avoid comparing bytes out-of-bounds with a smaller digest
  7032. length such as SHA1. Fixes bug 19066; bugfix on 0.2.2.6-alpha.
  7033. o Minor bugfixes (documentation):
  7034. - Document the --passphrase-fd option in the tor manpage. Fixes bug
  7035. 19504; bugfix on 0.2.7.3-rc.
  7036. - Fix the description of the --passphrase-fd option in the
  7037. tor-gencert manpage. The option is used to pass the number of a
  7038. file descriptor to read the passphrase from, not to read the file
  7039. descriptor from. Fixes bug 19505; bugfix on 0.2.0.20-alpha.
  7040. o Minor bugfixes (ephemeral hidden service):
  7041. - When deleting an ephemeral hidden service, close its intro points
  7042. even if they are not completely open. Fixes bug 18604; bugfix
  7043. on 0.2.7.1-alpha.
  7044. o Minor bugfixes (guard selection):
  7045. - Use a single entry guard even if the NumEntryGuards consensus
  7046. parameter is not provided. Fixes bug 17688; bugfix
  7047. on 0.2.5.6-alpha.
  7048. - Don't mark guards as unreachable if connection_connect() fails.
  7049. That function fails for local reasons, so it shouldn't reveal
  7050. anything about the status of the guard. Fixes bug 14334; bugfix
  7051. on 0.2.3.10-alpha.
  7052. o Minor bugfixes (hidden service client):
  7053. - Increase the minimum number of internal circuits we preemptively
  7054. build from 2 to 3, so a circuit is available when a client
  7055. connects to another onion service. Fixes bug 13239; bugfix
  7056. on 0.1.0.1-rc.
  7057. o Minor bugfixes (logging):
  7058. - When logging a directory ownership mismatch, log the owning
  7059. username correctly. Fixes bug 19578; bugfix on 0.2.2.29-beta.
  7060. o Minor bugfixes (memory leaks):
  7061. - Fix a small, uncommon memory leak that could occur when reading a
  7062. truncated ed25519 key file. Fixes bug 18956; bugfix
  7063. on 0.2.6.1-alpha.
  7064. o Minor bugfixes (testing):
  7065. - Allow clients to retry HSDirs much faster in test networks. Fixes
  7066. bug 19702; bugfix on 0.2.7.1-alpha. Patch by teor.
  7067. - Disable ASAN's detection of segmentation faults while running
  7068. test_bt.sh, so that we can make sure that our own backtrace
  7069. generation code works. Fixes another aspect of bug 18934; bugfix
  7070. on 0.2.5.2-alpha. Patch from "cypherpunks".
  7071. - Fix the test-network-all target on out-of-tree builds by using the
  7072. correct path to the test driver script. Fixes bug 19421; bugfix
  7073. on 0.2.7.3-rc.
  7074. o Minor bugfixes (time):
  7075. - Improve overflow checks in tv_udiff and tv_mdiff. Fixes bug 19483;
  7076. bugfix on all released tor versions.
  7077. - When computing the difference between two times in milliseconds,
  7078. we now round to the nearest millisecond correctly. Previously, we
  7079. could sometimes round in the wrong direction. Fixes bug 19428;
  7080. bugfix on 0.2.2.2-alpha.
  7081. o Minor bugfixes (user interface):
  7082. - Display a more accurate number of suppressed messages in the log
  7083. rate-limiter. Previously, there was a potential integer overflow
  7084. in the counter. Now, if the number of messages hits a maximum, the
  7085. rate-limiter doesn't count any further. Fixes bug 19435; bugfix
  7086. on 0.2.4.11-alpha.
  7087. - Fix a typo in the passphrase prompt for the ed25519 identity key.
  7088. Fixes bug 19503; bugfix on 0.2.7.2-alpha.
  7089. o Code simplification and refactoring:
  7090. - Remove redundant declarations of the MIN macro. Closes
  7091. ticket 18889.
  7092. - Rename tor_dup_addr() to tor_addr_to_str_dup() to avoid confusion.
  7093. Closes ticket 18462; patch from "icanhasaccount".
  7094. - Split the 600-line directory_handle_command_get function into
  7095. separate functions for different URL types. Closes ticket 16698.
  7096. o Documentation:
  7097. - Fix spelling of "--enable-tor2web-mode" in the manpage. Closes
  7098. ticket 19153. Patch from "U+039b".
  7099. o Removed features:
  7100. - Remove support for "GET /tor/bytes.txt" DirPort request, and
  7101. "GETINFO dir-usage" controller request, which were only available
  7102. via a compile-time option in Tor anyway. Feature was added in
  7103. 0.2.2.1-alpha. Resolves ticket 19035.
  7104. - There is no longer a compile-time option to disable support for
  7105. TransPort. (If you don't want TransPort; just don't use it.) Patch
  7106. from "U+039b". Closes ticket 19449.
  7107. o Testing:
  7108. - Run more workqueue tests as part of "make check". These had
  7109. previously been implemented, but you needed to know special
  7110. command-line options to enable them.
  7111. - We now have unit tests for our code to reject zlib "compression
  7112. bombs". (Fortunately, the code works fine.)
  7113. Changes in version 0.2.8.6 - 2016-08-02
  7114. Tor 0.2.8.6 is the first stable version of the Tor 0.2.8 series.
  7115. The Tor 0.2.8 series improves client bootstrapping performance,
  7116. completes the authority-side implementation of improved identity
  7117. keys for relays, and includes numerous bugfixes and performance
  7118. improvements throughout the program. This release continues to
  7119. improve the coverage of Tor's test suite. For a full list of
  7120. changes since Tor 0.2.7, see the ReleaseNotes file.
  7121. Changes since 0.2.8.5-rc:
  7122. o Minor features (geoip):
  7123. - Update geoip and geoip6 to the July 6 2016 Maxmind GeoLite2
  7124. Country database.
  7125. o Minor bugfixes (compilation):
  7126. - Fix a compilation warning in the unit tests on systems where char
  7127. is signed. Fixes bug 19682; bugfix on 0.2.8.1-alpha.
  7128. o Minor bugfixes (fallback directories):
  7129. - Remove 1 fallback that was on the hardcoded list, then opted-out,
  7130. leaving 89 of the 100 fallbacks originally introduced in Tor
  7131. 0.2.8.2-alpha in March 2016. Closes ticket 19782; patch by teor.
  7132. o Minor bugfixes (Linux seccomp2 sandbox):
  7133. - Allow more syscalls when running with "Sandbox 1" enabled:
  7134. sysinfo, getsockopt(SO_SNDBUF), and setsockopt(SO_SNDBUFFORCE). On
  7135. some systems, these are required for Tor to start. Fixes bug
  7136. 18397; bugfix on 0.2.5.1-alpha. Patch from Daniel Pinto.
  7137. - Allow IPPROTO_UDP datagram sockets when running with "Sandbox 1",
  7138. so that get_interface_address6_via_udp_socket_hack() can work.
  7139. Fixes bug 19660; bugfix on 0.2.5.1-alpha.
  7140. Changes in version 0.2.8.5-rc - 2016-07-07
  7141. Tor 0.2.8.5-rc is the second release candidate in the Tor 0.2.8
  7142. series. If we find no new bugs or regressions here, the first stable
  7143. 0.2.8 release will be identical to it. It has a few small bugfixes
  7144. against previous versions.
  7145. o Directory authority changes:
  7146. - Urras is no longer a directory authority. Closes ticket 19271.
  7147. o Major bugfixes (heartbeat):
  7148. - Fix a regression that would crash Tor when the periodic
  7149. "heartbeat" log messages were disabled. Fixes bug 19454; bugfix on
  7150. 0.2.8.1-alpha. Reported by "kubaku".
  7151. o Minor features (build):
  7152. - Tor now again builds with the recent OpenSSL 1.1 development
  7153. branch (tested against 1.1.0-pre6-dev). Closes ticket 19499.
  7154. - When building manual pages, set the timezone to "UTC", so that the
  7155. output is reproducible. Fixes bug 19558; bugfix on 0.2.2.9-alpha.
  7156. Patch from intrigeri.
  7157. o Minor bugfixes (fallback directory selection):
  7158. - Avoid errors during fallback selection if there are no eligible
  7159. fallbacks. Fixes bug 19480; bugfix on 0.2.8.3-alpha. Patch
  7160. by teor.
  7161. o Minor bugfixes (IPv6, microdescriptors):
  7162. - Don't check node addresses when we only have a routerstatus. This
  7163. allows IPv6-only clients to bootstrap by fetching microdescriptors
  7164. from fallback directory mirrors. (The microdescriptor consensus
  7165. has no IPv6 addresses in it.) Fixes bug 19608; bugfix
  7166. on 0.2.8.2-alpha.
  7167. o Minor bugfixes (logging):
  7168. - Reduce pointlessly verbose log messages when directory servers
  7169. can't be found. Fixes bug 18849; bugfix on 0.2.8.3-alpha and
  7170. 0.2.8.1-alpha. Patch by teor.
  7171. - When a fallback directory changes its fingerprint from the hard-
  7172. coded fingerprint, log a less severe, more explanatory log
  7173. message. Fixes bug 18812; bugfix on 0.2.8.1-alpha. Patch by teor.
  7174. o Minor bugfixes (Linux seccomp2 sandboxing):
  7175. - Allow statistics to be written to disk when "Sandbox 1" is
  7176. enabled. Fixes bugs 19556 and 19957; bugfix on 0.2.5.1-alpha and
  7177. 0.2.6.1-alpha respectively.
  7178. o Minor bugfixes (user interface):
  7179. - Remove a warning message "Service [scrubbed] not found after
  7180. descriptor upload". This message appears when one uses HSPOST
  7181. control command to upload a service descriptor. Since there is
  7182. only a descriptor and no service, showing this message is
  7183. pointless and confusing. Fixes bug 19464; bugfix on 0.2.7.2-alpha.
  7184. o Fallback directory list:
  7185. - Add a comment to the generated fallback directory list that
  7186. explains how to comment out unsuitable fallbacks in a way that's
  7187. compatible with the stem fallback parser.
  7188. - Update fallback whitelist and blacklist based on relay operator
  7189. emails. Blacklist unsuitable (non-working, over-volatile)
  7190. fallbacks. Resolves ticket 19071. Patch by teor.
  7191. - Remove 10 unsuitable fallbacks, leaving 90 of the 100 fallbacks
  7192. originally introduced in Tor 0.2.8.2-alpha in March 2016. Closes
  7193. ticket 19071; patch by teor.
  7194. Changes in version 0.2.8.4-rc - 2016-06-15
  7195. Tor 0.2.8.4-rc is the first release candidate in the Tor 0.2.8 series.
  7196. If we find no new bugs or regressions here, the first stable 0.2.8
  7197. release will be identical to it. It has a few small bugfixes against
  7198. previous versions.
  7199. o Major bugfixes (user interface):
  7200. - Correctly give a warning in the cases where a relay is specified
  7201. by nickname, and one such relay is found, but it is not officially
  7202. Named. Fixes bug 19203; bugfix on 0.2.3.1-alpha.
  7203. o Minor features (build):
  7204. - Tor now builds once again with the recent OpenSSL 1.1 development
  7205. branch (tested against 1.1.0-pre5 and 1.1.0-pre6-dev).
  7206. o Minor features (geoip):
  7207. - Update geoip and geoip6 to the June 7 2016 Maxmind GeoLite2
  7208. Country database.
  7209. o Minor bugfixes (compilation):
  7210. - Cause the unit tests to compile correctly on mingw64 versions that
  7211. lack sscanf. Fixes bug 19213; bugfix on 0.2.7.1-alpha.
  7212. o Minor bugfixes (downloading):
  7213. - Predict more correctly whether we'll be downloading over HTTP when
  7214. we determine the maximum length of a URL. This should avoid a
  7215. "BUG" warning about the Squid HTTP proxy and its URL limits. Fixes
  7216. bug 19191.
  7217. Changes in version 0.2.8.3-alpha - 2016-05-26
  7218. Tor 0.2.8.3-alpha resolves several bugs, most of them introduced over
  7219. the course of the 0.2.8 development cycle. It improves the behavior of
  7220. directory clients, fixes several crash bugs, fixes a gap in compiler
  7221. hardening, and allows the full integration test suite to run on
  7222. more platforms.
  7223. o Major bugfixes (security, client, DNS proxy):
  7224. - Stop a crash that could occur when a client running with DNSPort
  7225. received a query with multiple address types, and the first
  7226. address type was not supported. Found and fixed by Scott Dial.
  7227. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  7228. o Major bugfixes (security, compilation):
  7229. - Correctly detect compiler flags on systems where _FORTIFY_SOURCE
  7230. is predefined. Previously, our use of -D_FORTIFY_SOURCE would
  7231. cause a compiler warning, thereby making other checks fail, and
  7232. needlessly disabling compiler-hardening support. Fixes one case of
  7233. bug 18841; bugfix on 0.2.3.17-beta. Patch from "trudokal".
  7234. o Major bugfixes (security, directory authorities):
  7235. - Fix a crash and out-of-bounds write during authority voting, when
  7236. the list of relays includes duplicate ed25519 identity keys. Fixes
  7237. bug 19032; bugfix on 0.2.8.2-alpha.
  7238. o Major bugfixes (client, bootstrapping):
  7239. - Check if bootstrap consensus downloads are still needed when the
  7240. linked connection attaches. This prevents tor making unnecessary
  7241. begindir-style connections, which are the only directory
  7242. connections tor clients make since the fix for 18483 was merged.
  7243. - Fix some edge cases where consensus download connections may not
  7244. have been closed, even though they were not needed. Related to fix
  7245. for 18809.
  7246. - Make relays retry consensus downloads the correct number of times,
  7247. rather than the more aggressive client retry count. Fixes part of
  7248. ticket 18809.
  7249. - Stop downloading consensuses when we have a consensus, even if we
  7250. don't have all the certificates for it yet. Fixes bug 18809;
  7251. bugfix on 0.2.8.1-alpha. Patches by arma and teor.
  7252. o Major bugfixes (directory mirrors):
  7253. - Decide whether to advertise begindir support in the the same way
  7254. we decide whether to advertise our DirPort. Allowing these
  7255. decisions to become out-of-sync led to surprising behavior like
  7256. advertising begindir support when hibernation made us not
  7257. advertise a DirPort. Resolves bug 18616; bugfix on 0.2.8.1-alpha.
  7258. Patch by teor.
  7259. o Major bugfixes (IPv6 bridges, client):
  7260. - Actually use IPv6 addresses when selecting directory addresses for
  7261. IPv6 bridges. Fixes bug 18921; bugfix on 0.2.8.1-alpha. Patch
  7262. by "teor".
  7263. o Major bugfixes (key management):
  7264. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  7265. pointer to the previous (uninitialized) key value. The impact here
  7266. should be limited to a difficult-to-trigger crash, if OpenSSL is
  7267. running an engine that makes key generation failures possible, or
  7268. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  7269. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  7270. Baishakhi Ray.
  7271. o Major bugfixes (testing):
  7272. - Fix a bug that would block 'make test-network-all' on systems where
  7273. IPv6 packets were lost. Fixes bug 19008; bugfix on 0.2.7.3-rc.
  7274. - Avoid "WSANOTINITIALISED" warnings in the unit tests. Fixes bug 18668;
  7275. bugfix on 0.2.8.1-alpha.
  7276. o Minor features (clients):
  7277. - Make clients, onion services, and bridge relays always use an
  7278. encrypted begindir connection for directory requests. Resolves
  7279. ticket 18483. Patch by "teor".
  7280. o Minor features (fallback directory mirrors):
  7281. - Give each fallback the same weight for client selection; restrict
  7282. fallbacks to one per operator; report fallback directory detail
  7283. changes when rebuilding list; add new fallback directory mirrors
  7284. to the whitelist; and many other minor simplifications and fixes.
  7285. Closes tasks 17905, 18749, bug 18689, and fixes part of bug 18812 on
  7286. 0.2.8.1-alpha; patch by "teor".
  7287. - Replace the 21 fallbacks generated in January 2016 and included in
  7288. Tor 0.2.8.1-alpha, with a list of 100 fallbacks generated in March
  7289. 2016. Closes task 17158; patch by "teor".
  7290. o Minor features (geoip):
  7291. - Update geoip and geoip6 to the May 4 2016 Maxmind GeoLite2
  7292. Country database.
  7293. o Minor bugfixes (assert, portability):
  7294. - Fix an assertion failure in memarea.c on systems where "long" is
  7295. shorter than the size of a pointer. Fixes bug 18716; bugfix
  7296. on 0.2.1.1-alpha.
  7297. o Minor bugfixes (bootstrap):
  7298. - Consistently use the consensus download schedule for authority
  7299. certificates. Fixes bug 18816; bugfix on 0.2.4.13-alpha.
  7300. o Minor bugfixes (build):
  7301. - Remove a pair of redundant AM_CONDITIONAL declarations from
  7302. configure.ac. Fixes one final case of bug 17744; bugfix
  7303. on 0.2.8.2-alpha.
  7304. - Resolve warnings when building on systems that are concerned with
  7305. signed char. Fixes bug 18728; bugfix on 0.2.7.2-alpha
  7306. and 0.2.6.1-alpha.
  7307. - When libscrypt.h is found, but no libscrypt library can be linked,
  7308. treat libscrypt as absent. Fixes bug 19161; bugfix
  7309. on 0.2.6.1-alpha.
  7310. o Minor bugfixes (client):
  7311. - Turn all TestingClientBootstrap* into non-testing torrc options.
  7312. This changes simply renames them by removing "Testing" in front of
  7313. them and they do not require TestingTorNetwork to be enabled
  7314. anymore. Fixes bug 18481; bugfix on 0.2.8.1-alpha.
  7315. - Make directory node selection more reliable, mainly for IPv6-only
  7316. clients and clients with few reachable addresses. Fixes bug 18929;
  7317. bugfix on 0.2.8.1-alpha. Patch by "teor".
  7318. o Minor bugfixes (controller, microdescriptors):
  7319. - Make GETINFO dir/status-vote/current/consensus conform to the
  7320. control specification by returning "551 Could not open cached
  7321. consensus..." when not caching consensuses. Fixes bug 18920;
  7322. bugfix on 0.2.2.6-alpha.
  7323. o Minor bugfixes (crypto, portability):
  7324. - The SHA3 and SHAKE routines now produce the correct output on Big
  7325. Endian systems. No code calls either algorithm yet, so this is
  7326. primarily a build fix. Fixes bug 18943; bugfix on 0.2.8.1-alpha.
  7327. - Tor now builds again with the recent OpenSSL 1.1 development
  7328. branch (tested against 1.1.0-pre4 and 1.1.0-pre5-dev). Closes
  7329. ticket 18286.
  7330. o Minor bugfixes (directories):
  7331. - When fetching extrainfo documents, compare their SHA256 digests
  7332. and Ed25519 signing key certificates with the routerinfo that led
  7333. us to fetch them, rather than with the most recent routerinfo.
  7334. Otherwise we generate many spurious warnings about mismatches.
  7335. Fixes bug 17150; bugfix on 0.2.7.2-alpha.
  7336. o Minor bugfixes (logging):
  7337. - When we can't generate a signing key because OfflineMasterKey is
  7338. set, do not imply that we should have been able to load it. Fixes
  7339. bug 18133; bugfix on 0.2.7.2-alpha.
  7340. - Stop periodic_event_dispatch() from blasting twelve lines per
  7341. second at loglevel debug. Fixes bug 18729; fix on 0.2.8.1-alpha.
  7342. - When rejecting a misformed INTRODUCE2 cell, only log at
  7343. PROTOCOL_WARN severity. Fixes bug 18761; bugfix on 0.2.8.2-alpha.
  7344. o Minor bugfixes (pluggable transports):
  7345. - Avoid reporting a spurious error when we decide that we don't need
  7346. to terminate a pluggable transport because it has already exited.
  7347. Fixes bug 18686; bugfix on 0.2.5.5-alpha.
  7348. o Minor bugfixes (pointer arithmetic):
  7349. - Fix a bug in memarea_alloc() that could have resulted in remote
  7350. heap write access, if Tor had ever passed an unchecked size to
  7351. memarea_alloc(). Fortunately, all the sizes we pass to
  7352. memarea_alloc() are pre-checked to be less than 128 kilobytes.
  7353. Fixes bug 19150; bugfix on 0.2.1.1-alpha. Bug found by
  7354. Guido Vranken.
  7355. o Minor bugfixes (relays):
  7356. - Consider more config options when relays decide whether to
  7357. regenerate their descriptor. Fixes more of bug 12538; bugfix
  7358. on 0.2.8.1-alpha.
  7359. - Resolve some edge cases where we might launch an ORPort
  7360. reachability check even when DisableNetwork is set. Noticed while
  7361. fixing bug 18616; bugfix on 0.2.3.9-alpha.
  7362. o Minor bugfixes (statistics):
  7363. - We now include consensus downloads via IPv6 in our directory-
  7364. request statistics. Fixes bug 18460; bugfix on 0.2.3.14-alpha.
  7365. o Minor bugfixes (testing):
  7366. - Allow directories in small networks to bootstrap by skipping
  7367. DirPort checks when the consensus has no exits. Fixes bug 19003;
  7368. bugfix on 0.2.8.1-alpha. Patch by teor.
  7369. - Fix a small memory leak that would occur when the
  7370. TestingEnableCellStatsEvent option was turned on. Fixes bug 18673;
  7371. bugfix on 0.2.5.2-alpha.
  7372. o Minor bugfixes (time handling):
  7373. - When correcting a corrupt 'struct tm' value, fill in the tm_wday
  7374. field. Otherwise, our unit tests crash on Windows. Fixes bug
  7375. 18977; bugfix on 0.2.2.25-alpha.
  7376. o Documentation:
  7377. - Document the contents of the 'datadir/keys' subdirectory in the
  7378. manual page. Closes ticket 17621.
  7379. - Stop recommending use of nicknames to identify relays in our
  7380. MapAddress documentation. Closes ticket 18312.
  7381. Changes in version 0.2.8.2-alpha - 2016-03-28
  7382. Tor 0.2.8.2-alpha is the second alpha in its series. It fixes numerous
  7383. bugs in earlier versions of Tor, including some that prevented
  7384. authorities using Tor 0.2.7.x from running correctly. IPv6 and
  7385. directory support should also be much improved.
  7386. o New system requirements:
  7387. - Tor no longer supports versions of OpenSSL with a broken
  7388. implementation of counter mode. (This bug was present in OpenSSL
  7389. 1.0.0, and was fixed in OpenSSL 1.0.0a.) Tor still detects, but no
  7390. longer runs with, these versions.
  7391. - Tor no longer attempts to support platforms where the "time_t"
  7392. type is unsigned. (To the best of our knowledge, only OpenVMS does
  7393. this, and Tor has never actually built on OpenVMS.) Closes
  7394. ticket 18184.
  7395. - Tor now uses Autoconf version 2.63 or later, and Automake 1.11 or
  7396. later (released in 2008 and 2009 respectively). If you are
  7397. building Tor from the git repository instead of from the source
  7398. distribution, and your tools are older than this, you will need to
  7399. upgrade. Closes ticket 17732.
  7400. o Major bugfixes (security, pointers):
  7401. - Avoid a difficult-to-trigger heap corruption attack when extending
  7402. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  7403. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  7404. Reported by Guido Vranken.
  7405. o Major bugfixes (bridges, pluggable transports):
  7406. - Modify the check for OR connections to private addresses. Allow
  7407. bridges on private addresses, including pluggable transports that
  7408. ignore the (potentially private) address in the bridge line. Fixes
  7409. bug 18517; bugfix on 0.2.8.1-alpha. Reported by gk, patch by teor.
  7410. o Major bugfixes (compilation):
  7411. - Repair hardened builds under the clang compiler. Previously, our
  7412. use of _FORTIFY_SOURCE would conflict with clang's address
  7413. sanitizer. Fixes bug 14821; bugfix on 0.2.5.4-alpha.
  7414. o Major bugfixes (crash on shutdown):
  7415. - Correctly handle detaching circuits from muxes when shutting down.
  7416. Fixes bug 18116; bugfix on 0.2.8.1-alpha.
  7417. - Fix an assert-on-exit bug related to counting memory usage in
  7418. rephist.c. Fixes bug 18651; bugfix on 0.2.8.1-alpha.
  7419. o Major bugfixes (crash on startup):
  7420. - Fix a segfault during startup: If a Unix domain socket was
  7421. configured as listener (such as a ControlSocket or a SocksPort
  7422. "unix:" socket), and tor was started as root but not configured to
  7423. switch to another user, tor would segfault while trying to string
  7424. compare a NULL value. Fixes bug 18261; bugfix on 0.2.8.1-alpha.
  7425. Patch by weasel.
  7426. o Major bugfixes (dns proxy mode, crash):
  7427. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  7428. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  7429. o Major bugfixes (relays, bridge clients):
  7430. - Ensure relays always allow IPv4 OR and Dir connections. Ensure
  7431. bridge clients use the address configured in the bridge line.
  7432. Fixes bug 18348; bugfix on 0.2.8.1-alpha. Reported by sysrqb,
  7433. patch by teor.
  7434. o Major bugfixes (voting):
  7435. - Actually enable support for authorities to match routers by their
  7436. Ed25519 identities. Previously, the code had been written, but
  7437. some debugging code that had accidentally been left in the
  7438. codebase made it stay turned off. Fixes bug 17702; bugfix
  7439. on 0.2.7.2-alpha.
  7440. - When collating votes by Ed25519 identities, authorities now
  7441. include a "NoEdConsensus" flag if the ed25519 value (or lack
  7442. thereof) for a server does not reflect the majority consensus.
  7443. Related to bug 17668; bugfix on 0.2.7.2-alpha.
  7444. - When generating a vote with keypinning disabled, never include two
  7445. entries for the same ed25519 identity. This bug was causing
  7446. authorities to generate votes that they could not parse when a
  7447. router violated key pinning by changing its RSA identity but
  7448. keeping its Ed25519 identity. Fixes bug 17668; fixes part of bug
  7449. 18318. Bugfix on 0.2.7.2-alpha.
  7450. o Minor features (security, win32):
  7451. - Set SO_EXCLUSIVEADDRUSE on Win32 to avoid a local port-stealing
  7452. attack. Fixes bug 18123; bugfix on all tor versions. Patch
  7453. by teor.
  7454. o Minor features (bug-resistance):
  7455. - Make Tor survive errors involving connections without a
  7456. corresponding event object. Previously we'd fail with an
  7457. assertion; now we produce a log message. Related to bug 16248.
  7458. o Minor features (build):
  7459. - Detect systems with FreeBSD-derived kernels (such as GNU/kFreeBSD)
  7460. as having possible IPFW support. Closes ticket 18448. Patch from
  7461. Steven Chamberlain.
  7462. o Minor features (code hardening):
  7463. - Use tor_snprintf() and tor_vsnprintf() even in external and low-
  7464. level code, to harden against accidental failures to NUL-
  7465. terminate. Part of ticket 17852. Patch from jsturgix. Found
  7466. with Flawfinder.
  7467. o Minor features (crypto):
  7468. - Validate the hard-coded Diffie-Hellman parameters and ensure that
  7469. p is a safe prime, and g is a suitable generator. Closes
  7470. ticket 18221.
  7471. o Minor features (geoip):
  7472. - Update geoip and geoip6 to the March 3 2016 Maxmind GeoLite2
  7473. Country database.
  7474. o Minor features (hidden service directory):
  7475. - Streamline relay-side hsdir handling: when relays consider whether
  7476. to accept an uploaded hidden service descriptor, they no longer
  7477. check whether they are one of the relays in the network that is
  7478. "supposed" to handle that descriptor. Implements ticket 18332.
  7479. o Minor features (IPv6):
  7480. - Add ClientPreferIPv6DirPort, which is set to 0 by default. If set
  7481. to 1, tor prefers IPv6 directory addresses.
  7482. - Add ClientUseIPv4, which is set to 1 by default. If set to 0, tor
  7483. avoids using IPv4 for client OR and directory connections.
  7484. - Try harder to obey the IP version restrictions "ClientUseIPv4 0",
  7485. "ClientUseIPv6 0", "ClientPreferIPv6ORPort", and
  7486. "ClientPreferIPv6DirPort". Closes ticket 17840; patch by teor.
  7487. o Minor features (linux seccomp2 sandbox):
  7488. - Reject attempts to change our Address with "Sandbox 1" enabled.
  7489. Changing Address with Sandbox turned on would never actually work,
  7490. but previously it would fail in strange and confusing ways. Found
  7491. while fixing 18548.
  7492. o Minor features (robustness):
  7493. - Exit immediately with an error message if the code attempts to use
  7494. Libevent without having initialized it. This should resolve some
  7495. frequently-made mistakes in our unit tests. Closes ticket 18241.
  7496. o Minor features (unix domain sockets):
  7497. - Add a new per-socket option, RelaxDirModeCheck, to allow creating
  7498. Unix domain sockets without checking the permissions on the parent
  7499. directory. (Tor checks permissions by default because some
  7500. operating systems only check permissions on the parent directory.
  7501. However, some operating systems do look at permissions on the
  7502. socket, and tor's default check is unneeded.) Closes ticket 18458.
  7503. Patch by weasel.
  7504. o Minor bugfixes (exit policies, security):
  7505. - Refresh an exit relay's exit policy when interface addresses
  7506. change. Previously, tor only refreshed the exit policy when the
  7507. configured external address changed. Fixes bug 18208; bugfix on
  7508. 0.2.7.3-rc. Patch by teor.
  7509. o Minor bugfixes (security, hidden services):
  7510. - Prevent hidden services connecting to client-supplied rendezvous
  7511. addresses that are reserved as internal or multicast. Fixes bug
  7512. 8976; bugfix on 0.2.3.21-rc. Patch by dgoulet and teor.
  7513. o Minor bugfixes (build):
  7514. - Do not link the unit tests against both the testing and non-
  7515. testing versions of the static libraries. Fixes bug 18490; bugfix
  7516. on 0.2.7.1-alpha.
  7517. - Avoid spurious failures from configure files related to calling
  7518. exit(0) in TOR_SEARCH_LIBRARY. Fixes bug 18626; bugfix on
  7519. 0.2.0.1-alpha. Patch from "cypherpunks".
  7520. - Silence spurious clang-scan warnings in the ed25519_donna code by
  7521. explicitly initializing some objects. Fixes bug 18384; bugfix on
  7522. 0.2.7.2-alpha. Patch by teor.
  7523. o Minor bugfixes (client, bootstrap):
  7524. - Count receipt of new microdescriptors as progress towards
  7525. bootstrapping. Previously, with EntryNodes set, Tor might not
  7526. successfully repopulate the guard set on bootstrapping. Fixes bug
  7527. 16825; bugfix on 0.2.3.1-alpha.
  7528. o Minor bugfixes (code correctness):
  7529. - Update to the latest version of Trunnel, which tries harder to
  7530. avoid generating code that can invoke memcpy(p,NULL,0). Bug found
  7531. by clang address sanitizer. Fixes bug 18373; bugfix
  7532. on 0.2.7.2-alpha.
  7533. o Minor bugfixes (configuration):
  7534. - Fix a tiny memory leak when parsing a port configuration ending in
  7535. ":auto". Fixes bug 18374; bugfix on 0.2.3.3-alpha.
  7536. o Minor bugfixes (containers):
  7537. - If we somehow attempt to construct a heap with more than
  7538. 1073741822 elements, avoid an integer overflow when maintaining
  7539. the heap property. Fixes bug 18296; bugfix on 0.1.2.1-alpha.
  7540. o Minor bugfixes (correctness):
  7541. - Fix a bad memory handling bug that would occur if we had queued a
  7542. cell on a channel's incoming queue. Fortunately, we can't actually
  7543. queue a cell like that as our code is constructed today, but it's
  7544. best to avoid this kind of error, even if there isn't any code
  7545. that triggers it today. Fixes bug 18570; bugfix on 0.2.4.4-alpha.
  7546. o Minor bugfixes (directory):
  7547. - When generating a URL for a directory server on an IPv6 address,
  7548. wrap the IPv6 address in square brackets. Fixes bug 18051; bugfix
  7549. on 0.2.3.9-alpha. Patch from Malek.
  7550. o Minor bugfixes (fallback directory mirrors):
  7551. - When requesting extrainfo descriptors from a trusted directory
  7552. server, check whether it is an authority or a fallback directory
  7553. which supports extrainfo descriptors. Fixes bug 18489; bugfix on
  7554. 0.2.4.7-alpha. Reported by atagar, patch by teor.
  7555. o Minor bugfixes (hidden service, client):
  7556. - Handle the case where the user makes several fast consecutive
  7557. requests to the same .onion address. Previously, the first six
  7558. requests would each trigger a descriptor fetch, each picking a
  7559. directory (there are 6 overall) and the seventh one would fail
  7560. because no directories were left, thereby triggering a close on
  7561. all current directory connections asking for the hidden service.
  7562. The solution here is to not close the connections if we have
  7563. pending directory fetches. Fixes bug 15937; bugfix
  7564. on 0.2.7.1-alpha.
  7565. o Minor bugfixes (hidden service, control port):
  7566. - Add the onion address to the HS_DESC event for the UPLOADED action
  7567. both on success or failure. It was previously hardcoded with
  7568. UNKNOWN. Fixes bug 16023; bugfix on 0.2.7.2-alpha.
  7569. o Minor bugfixes (hidden service, directory):
  7570. - Bridges now refuse "rendezvous2" (hidden service descriptor)
  7571. publish attempts. Suggested by ticket 18332.
  7572. o Minor bugfixes (linux seccomp2 sandbox):
  7573. - Allow the setrlimit syscall, and the prlimit and prlimit64
  7574. syscalls, which some libc implementations use under the hood.
  7575. Fixes bug 15221; bugfix on 0.2.5.1-alpha.
  7576. - Avoid a 10-second delay when starting as a client with "Sandbox 1"
  7577. enabled and no DNS resolvers configured. This should help TAILS
  7578. start up faster. Fixes bug 18548; bugfix on 0.2.5.1-alpha.
  7579. - Fix the sandbox's interoperability with unix domain sockets under
  7580. setuid. Fixes bug 18253; bugfix on 0.2.8.1-alpha.
  7581. o Minor bugfixes (logging):
  7582. - When logging information about an unparsable networkstatus vote or
  7583. consensus, do not say "vote" when we mean consensus. Fixes bug
  7584. 18368; bugfix on 0.2.0.8-alpha.
  7585. - Scrub service name in "unrecognized service ID" log messages.
  7586. Fixes bug 18600; bugfix on 0.2.4.11-alpha.
  7587. - Downgrade logs and backtraces about IP versions to info-level.
  7588. Only log backtraces once each time tor runs. Assists in diagnosing
  7589. bug 18351; bugfix on 0.2.8.1-alpha. Reported by sysrqb and
  7590. Christian, patch by teor.
  7591. o Minor bugfixes (memory safety):
  7592. - Avoid freeing an uninitialized pointer when opening a socket fails
  7593. in get_interface_addresses_ioctl(). Fixes bug 18454; bugfix on
  7594. 0.2.3.11-alpha. Reported by toralf and "cypherpunks", patch
  7595. by teor.
  7596. - Correctly duplicate addresses in get_interface_address6_list().
  7597. Fixes bug 18454; bugfix on 0.2.8.1-alpha. Reported by toralf,
  7598. patch by "cypherpunks".
  7599. - Fix a memory leak in tor-gencert. Fixes part of bug 18672; bugfix
  7600. on 0.2.0.1-alpha.
  7601. - Fix a memory leak in "tor --list-fingerprint". Fixes part of bug
  7602. 18672; bugfix on 0.2.5.1-alpha.
  7603. o Minor bugfixes (private directory):
  7604. - Prevent a race condition when creating private directories. Fixes
  7605. part of bug 17852; bugfix on 0.0.2pre13. Part of ticket 17852.
  7606. Patch from jsturgix. Found with Flawfinder.
  7607. o Minor bugfixes (test networks, IPv6):
  7608. - Allow internal IPv6 addresses in descriptors in test networks.
  7609. Fixes bug 17153; bugfix on 0.2.3.16-alpha. Patch by teor, reported
  7610. by karsten.
  7611. o Minor bugfixes (testing):
  7612. - We no longer disable assertions in the unit tests when coverage is
  7613. enabled. Instead, we require you to say --disable-asserts-in-tests
  7614. to the configure script if you need assertions disabled in the
  7615. unit tests (for example, if you want to perform branch coverage).
  7616. Fixes bug 18242; bugfix on 0.2.7.1-alpha.
  7617. o Minor bugfixes (time parsing):
  7618. - Avoid overflow in tor_timegm when parsing dates in and after 2038
  7619. on platforms with 32-bit time_t. Fixes bug 18479; bugfix on
  7620. 0.0.2pre14. Patch by teor.
  7621. o Minor bugfixes (tor-gencert):
  7622. - Correctly handle the case where an authority operator enters a
  7623. passphrase but sends an EOF before sending a newline. Fixes bug
  7624. 17443; bugfix on 0.2.0.20-rc. Found by junglefowl.
  7625. o Code simplification and refactoring:
  7626. - Quote all the string interpolations in configure.ac -- even those
  7627. which we are pretty sure can't contain spaces. Closes ticket
  7628. 17744. Patch from zerosion.
  7629. - Remove specialized code for non-inplace AES_CTR. 99% of our AES is
  7630. inplace, so there's no need to have a separate implementation for
  7631. the non-inplace code. Closes ticket 18258. Patch from Malek.
  7632. - Simplify return types for some crypto functions that can't
  7633. actually fail. Patch from Hassan Alsibyani. Closes ticket 18259.
  7634. o Documentation:
  7635. - Change build messages to refer to "Fedora" instead of "Fedora
  7636. Core", and "dnf" instead of "yum". Closes tickets 18459 and 18426.
  7637. Patches from "icanhasaccount" and "cypherpunks".
  7638. o Removed features:
  7639. - We no longer maintain an internal freelist in memarea.c.
  7640. Allocators should be good enough to make this code unnecessary,
  7641. and it's doubtful that it ever had any performance benefit.
  7642. o Testing:
  7643. - Fix several warnings from clang's address sanitizer produced in
  7644. the unit tests.
  7645. - Treat backtrace test failures as expected on FreeBSD until we
  7646. solve bug 17808. Closes ticket 18204.
  7647. Changes in version 0.2.8.1-alpha - 2016-02-04
  7648. Tor 0.2.8.1-alpha is the first alpha release in its series. It
  7649. includes numerous small features and bugfixes against previous Tor
  7650. versions, and numerous small infrastructure improvements. The most
  7651. notable features are a set of improvements to the directory subsystem.
  7652. o Major features (security, Linux):
  7653. - When Tor starts as root on Linux and is told to switch user ID, it
  7654. can now retain the capability to bind to low ports. By default,
  7655. Tor will do this only when it's switching user ID and some low
  7656. ports have been configured. You can change this behavior with the
  7657. new option KeepBindCapabilities. Closes ticket 8195.
  7658. o Major features (directory system):
  7659. - When bootstrapping multiple consensus downloads at a time, use the
  7660. first one that starts downloading, and close the rest. This
  7661. reduces failures when authorities or fallback directories are slow
  7662. or down. Together with the code for feature 15775, this feature
  7663. should reduces failures due to fallback churn. Implements ticket
  7664. 4483. Patch by "teor". Implements IPv4 portions of proposal 210 by
  7665. "mikeperry" and "teor".
  7666. - Include a trial list of 21 default fallback directories, generated
  7667. in January 2016, based on an opt-in survey of suitable relays.
  7668. Doing this should make clients bootstrap more quickly and reliably,
  7669. and reduce the load on the directory authorities. Closes ticket
  7670. 15775. Patch by "teor".
  7671. Candidates identified using an OnionOO script by "weasel", "teor",
  7672. "gsathya", and "karsten".
  7673. - Previously only relays that explicitly opened a directory port
  7674. (DirPort) accepted directory requests from clients. Now all
  7675. relays, with and without a DirPort, accept and serve tunneled
  7676. directory requests that they receive through their ORPort. You can
  7677. disable this behavior using the new DirCache option. Closes
  7678. ticket 12538.
  7679. o Major key updates:
  7680. - Update the V3 identity key for the dannenberg directory authority:
  7681. it was changed on 18 November 2015. Closes task 17906. Patch
  7682. by "teor".
  7683. o Minor features (security, clock):
  7684. - Warn when the system clock appears to move back in time (when the
  7685. state file was last written in the future). Tor doesn't know that
  7686. consensuses have expired if the clock is in the past. Patch by
  7687. "teor". Implements ticket 17188.
  7688. o Minor features (security, exit policies):
  7689. - ExitPolicyRejectPrivate now rejects more private addresses by
  7690. default. Specifically, it now rejects the relay's outbound bind
  7691. addresses (if configured), and the relay's configured port
  7692. addresses (such as ORPort and DirPort). Fixes bug 17027; bugfix on
  7693. 0.2.0.11-alpha. Patch by "teor".
  7694. o Minor features (security, memory erasure):
  7695. - Set the unused entries in a smartlist to NULL. This helped catch
  7696. a (harmless) bug, and shouldn't affect performance too much.
  7697. Implements ticket 17026.
  7698. - Use SecureMemoryWipe() function to securely clean memory on
  7699. Windows. Previously we'd use OpenSSL's OPENSSL_cleanse() function.
  7700. Implements feature 17986.
  7701. - Use explicit_bzero or memset_s when present. Previously, we'd use
  7702. OpenSSL's OPENSSL_cleanse() function. Closes ticket 7419; patches
  7703. from <logan@hackers.mu> and <selven@hackers.mu>.
  7704. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  7705. zero size. Check size argument to memwipe() for underflow. Fixes
  7706. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  7707. patch by "teor".
  7708. o Minor features (security, RNG):
  7709. - Adjust Tor's use of OpenSSL's RNG APIs so that they absolutely,
  7710. positively are not allowed to fail. Previously we depended on
  7711. internal details of OpenSSL's behavior. Closes ticket 17686.
  7712. - Never use the system entropy output directly for anything besides
  7713. seeding the PRNG. When we want to generate important keys, instead
  7714. of using system entropy directly, we now hash it with the PRNG
  7715. stream. This may help resist certain attacks based on broken OS
  7716. entropy implementations. Closes part of ticket 17694.
  7717. - Use modern system calls (like getentropy() or getrandom()) to
  7718. generate strong entropy on platforms that have them. Closes
  7719. ticket 13696.
  7720. o Minor features (accounting):
  7721. - Added two modes to the AccountingRule option: One for limiting
  7722. only the number of bytes sent ("AccountingRule out"), and one for
  7723. limiting only the number of bytes received ("AccountingRule in").
  7724. Closes ticket 15989; patch from "unixninja92".
  7725. o Minor features (build):
  7726. - Since our build process now uses "make distcheck", we no longer
  7727. force "make dist" to depend on "make check". Closes ticket 17893;
  7728. patch from "cypherpunks."
  7729. - Tor now builds successfully with the recent OpenSSL 1.1
  7730. development branch, and with the latest LibreSSL. Closes tickets
  7731. 17549, 17921, and 17984.
  7732. o Minor features (controller):
  7733. - Adds the FallbackDir entries to 'GETINFO config/defaults'. Closes
  7734. tickets 16774 and 17817. Patch by George Tankersley.
  7735. - New 'GETINFO hs/service/desc/id/' command to retrieve a hidden
  7736. service descriptor from a service's local hidden service
  7737. descriptor cache. Closes ticket 14846.
  7738. - Add 'GETINFO exit-policy/reject-private/[default,relay]', so
  7739. controllers can examine the the reject rules added by
  7740. ExitPolicyRejectPrivate. This makes it easier for stem to display
  7741. exit policies.
  7742. o Minor features (crypto):
  7743. - Add SHA512 support to crypto.c. Closes ticket 17663; patch from
  7744. George Tankersley.
  7745. - Add SHA3 and SHAKE support to crypto.c. Closes ticket 17783.
  7746. - When allocating a digest state object, allocate no more space than
  7747. we actually need. Previously, we would allocate as much space as
  7748. the state for the largest algorithm would need. This change saves
  7749. up to 672 bytes per circuit. Closes ticket 17796.
  7750. - Improve performance when hashing non-multiple of 8 sized buffers,
  7751. based on Andrew Moon's public domain SipHash-2-4 implementation.
  7752. Fixes bug 17544; bugfix on 0.2.5.3-alpha.
  7753. o Minor features (directory downloads):
  7754. - Wait for busy authorities and fallback directories to become non-
  7755. busy when bootstrapping. (A similar change was made in 6c443e987d
  7756. for directory caches chosen from the consensus.) Closes ticket
  7757. 17864; patch by "teor".
  7758. - Add UseDefaultFallbackDirs, which enables any hard-coded fallback
  7759. directory mirrors. The default is 1; set it to 0 to disable
  7760. fallbacks. Implements ticket 17576. Patch by "teor".
  7761. o Minor features (geoip):
  7762. - Update geoip and geoip6 to the January 5 2016 Maxmind GeoLite2
  7763. Country database.
  7764. o Minor features (IPv6):
  7765. - Add an argument 'ipv6=address:orport' to the DirAuthority and
  7766. FallbackDir torrc options, to specify an IPv6 address for an
  7767. authority or fallback directory. Add hard-coded ipv6 addresses for
  7768. directory authorities that have them. Closes ticket 17327; patch
  7769. from Nick Mathewson and "teor".
  7770. - Add address policy assume_action support for IPv6 addresses.
  7771. - Limit IPv6 mask bits to 128.
  7772. - Warn when comparing against an AF_UNSPEC address in a policy, it's
  7773. almost always a bug. Closes ticket 17863; patch by "teor".
  7774. - Allow users to configure directory authorities and fallback
  7775. directory servers with IPv6 addresses and ORPorts. Resolves
  7776. ticket 6027.
  7777. - routerset_parse now accepts IPv6 literal addresses. Fixes bug
  7778. 17060; bugfix on 0.2.1.3-alpha. Patch by "teor".
  7779. - Make tor_ersatz_socketpair work on IPv6-only systems. Fixes bug
  7780. 17638; bugfix on 0.0.2pre8. Patch by "teor".
  7781. o Minor features (logging):
  7782. - When logging to syslog, allow a tag to be added to the syslog
  7783. identity (the string prepended to every log message). The tag can
  7784. be configured with SyslogIdentityTag and defaults to none. Setting
  7785. it to "foo" will cause logs to be tagged as "Tor-foo". Closes
  7786. ticket 17194.
  7787. o Minor features (portability):
  7788. - Use timingsafe_memcmp() where available. Closes ticket 17944;
  7789. patch from <logan@hackers.mu>.
  7790. o Minor features (relay, address discovery):
  7791. - Add a family argument to get_interface_addresses_raw() and
  7792. subfunctions to make network interface address interogation more
  7793. efficient. Now Tor can specifically ask for IPv4, IPv6 or both
  7794. types of interfaces from the operating system. Resolves
  7795. ticket 17950.
  7796. - When get_interface_address6_list(.,AF_UNSPEC,.) is called and
  7797. fails to enumerate interface addresses using the platform-specific
  7798. API, have it rely on the UDP socket fallback technique to try and
  7799. find out what IP addresses (both IPv4 and IPv6) our machine has.
  7800. Resolves ticket 17951.
  7801. o Minor features (replay cache):
  7802. - The replay cache now uses SHA256 instead of SHA1. Implements
  7803. feature 8961. Patch by "teor", issue reported by "rransom".
  7804. o Minor features (unix file permissions):
  7805. - Defer creation of Unix sockets until after setuid. This avoids
  7806. needing CAP_CHOWN and CAP_FOWNER when using systemd's
  7807. CapabilityBoundingSet, or chown and fowner when using SELinux.
  7808. Implements part of ticket 17562. Patch from Jamie Nguyen.
  7809. - If any directory created by Tor is marked as group readable, the
  7810. filesystem group is allowed to be either the default GID or the
  7811. root user. Allowing root to read the DataDirectory prevents the
  7812. need for CAP_READ_SEARCH when using systemd's
  7813. CapabilityBoundingSet, or dac_read_search when using SELinux.
  7814. Implements part of ticket 17562. Patch from Jamie Nguyen.
  7815. - Introduce a new DataDirectoryGroupReadable option. If it is set to
  7816. 1, the DataDirectory will be made readable by the default GID.
  7817. Implements part of ticket 17562. Patch from Jamie Nguyen.
  7818. o Minor bugfixes (accounting):
  7819. - The max bandwidth when using 'AccountRule sum' is now correctly
  7820. logged. Fixes bug 18024; bugfix on 0.2.6.1-alpha. Patch
  7821. from "unixninja92".
  7822. o Minor bugfixes (code correctness):
  7823. - When closing an entry connection, generate a warning if we should
  7824. have sent an end cell for it but we haven't. Fixes bug 17876;
  7825. bugfix on 0.2.3.2-alpha.
  7826. - Assert that allocated memory held by the reputation code is freed
  7827. according to its internal counters. Fixes bug 17753; bugfix
  7828. on 0.1.1.1-alpha.
  7829. - Assert when the TLS contexts fail to initialize. Fixes bug 17683;
  7830. bugfix on 0.0.6.
  7831. o Minor bugfixes (compilation):
  7832. - Mark all object files that include micro-revision.i as depending
  7833. on it, so as to make parallel builds more reliable. Fixes bug
  7834. 17826; bugfix on 0.2.5.1-alpha.
  7835. - Don't try to use the pthread_condattr_setclock() function unless
  7836. it actually exists. Fixes compilation on NetBSD-6.x. Fixes bug
  7837. 17819; bugfix on 0.2.6.3-alpha.
  7838. - Fix backtrace compilation on FreeBSD. Fixes bug 17827; bugfix
  7839. on 0.2.5.2-alpha.
  7840. - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
  7841. bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
  7842. - Fix search for libevent libraries on OpenBSD (and other systems
  7843. that install libevent 1 and libevent 2 in parallel). Fixes bug
  7844. 16651; bugfix on 0.1.0.7-rc. Patch from "rubiate".
  7845. - Isolate environment variables meant for tests from the rest of the
  7846. build system. Fixes bug 17818; bugfix on 0.2.7.3-rc.
  7847. - Replace usage of 'INLINE' with 'inline'. Fixes bug 17804; bugfix
  7848. on 0.0.2pre8.
  7849. - Remove config.log only from make distclean, not from make clean.
  7850. Fixes bug 17924; bugfix on 0.2.4.1-alpha.
  7851. o Minor bugfixes (crypto):
  7852. - Check the return value of HMAC() and assert on failure. Fixes bug
  7853. 17658; bugfix on 0.2.3.6-alpha. Patch by "teor".
  7854. o Minor bugfixes (fallback directories):
  7855. - Mark fallbacks as "too busy" when they return a 503 response,
  7856. rather than just marking authorities. Fixes bug 17572; bugfix on
  7857. 0.2.4.7-alpha. Patch by "teor".
  7858. o Minor bugfixes (IPv6):
  7859. - Update the limits in max_dl_per_request for IPv6 address length.
  7860. Fixes bug 17573; bugfix on 0.2.1.5-alpha.
  7861. o Minor bugfixes (linux seccomp2 sandbox):
  7862. - Fix a crash when using offline master ed25519 keys with the Linux
  7863. seccomp2 sandbox enabled. Fixes bug 17675; bugfix on 0.2.7.3-rc.
  7864. o Minor bugfixes (logging):
  7865. - In log messages that include a function name, use __FUNCTION__
  7866. instead of __PRETTY_FUNCTION__. In GCC, these are synonymous, but
  7867. with clang __PRETTY_FUNCTION__ has extra information we don't
  7868. need. Fixes bug 16563; bugfix on 0.0.2pre8. Fix by Tom van
  7869. der Woerdt.
  7870. - Remove needless quotes from a log message about unparseable
  7871. addresses. Fixes bug 17843; bugfix on 0.2.3.3-alpha.
  7872. o Minor bugfixes (portability):
  7873. - Remove an #endif from configure.ac so that we correctly detect the
  7874. presence of in6_addr.s6_addr32. Fixes bug 17923; bugfix
  7875. on 0.2.0.13-alpha.
  7876. o Minor bugfixes (relays):
  7877. - Check that both the ORPort and DirPort (if present) are reachable
  7878. before publishing a relay descriptor. Otherwise, relays publish a
  7879. descriptor with DirPort 0 when the DirPort reachability test takes
  7880. longer than the ORPort reachability test. Fixes bug 18050; bugfix
  7881. on 0.1.0.1-rc. Reported by "starlight", patch by "teor".
  7882. o Minor bugfixes (relays, hidden services):
  7883. - Refuse connection requests to private OR addresses unless
  7884. ExtendAllowPrivateAddresses is set. Previously, tor would connect,
  7885. then refuse to send any cells to a private address. Fixes bugs
  7886. 17674 and 8976; bugfix on 0.2.3.21-rc. Patch by "teor".
  7887. o Minor bugfixes (safe logging):
  7888. - When logging a malformed hostname received through socks4, scrub
  7889. it if SafeLogging says we should. Fixes bug 17419; bugfix
  7890. on 0.1.1.16-rc.
  7891. o Minor bugfixes (statistics code):
  7892. - Consistently check for overflow in round_*_to_next_multiple_of
  7893. functions, and add unit tests with additional and maximal values.
  7894. Fixes part of bug 13192; bugfix on 0.2.2.1-alpha.
  7895. - Handle edge cases in the laplace functions: avoid division by
  7896. zero, avoid taking the log of zero, and silence clang type
  7897. conversion warnings using round and trunc. Add unit tests for edge
  7898. cases with maximal values. Fixes part of bug 13192; bugfix
  7899. on 0.2.6.2-alpha.
  7900. o Minor bugfixes (testing):
  7901. - The test for log_heartbeat was incorrectly failing in timezones
  7902. with non-integer offsets. Instead of comparing the end of the time
  7903. string against a constant, compare it to the output of
  7904. format_local_iso_time when given the correct input. Fixes bug
  7905. 18039; bugfix on 0.2.5.4-alpha.
  7906. - Make unit tests pass on IPv6-only systems, and systems without
  7907. localhost addresses (like some FreeBSD jails). Fixes bug 17632;
  7908. bugfix on 0.2.7.3-rc. Patch by "teor".
  7909. - Fix a memory leak in the ntor test. Fixes bug 17778; bugfix
  7910. on 0.2.4.8-alpha.
  7911. - Check the full results of SHA256 and SHA512 digests in the unit
  7912. tests. Bugfix on 0.2.2.4-alpha. Patch by "teor".
  7913. o Code simplification and refactoring:
  7914. - Move logging of redundant policy entries in
  7915. policies_parse_exit_policy_internal into its own function. Closes
  7916. ticket 17608; patch from "juce".
  7917. - Extract the more complicated parts of circuit_mark_for_close()
  7918. into a new function that we run periodically before circuits are
  7919. freed. This change removes more than half of the functions
  7920. currently in the "blob". Closes ticket 17218.
  7921. - Clean up a little duplicated code in
  7922. crypto_expand_key_material_TAP(). Closes ticket 17587; patch
  7923. from "pfrankw".
  7924. - Decouple the list of streams waiting to be attached to circuits
  7925. from the overall connection list. This change makes it possible to
  7926. attach streams quickly while simplifying Tor's callgraph and
  7927. avoiding O(N) scans of the entire connection list. Closes
  7928. ticket 17590.
  7929. - When a direct directory request fails immediately on launch,
  7930. instead of relaunching that request from inside the code that
  7931. launches it, instead mark the connection for teardown. This change
  7932. simplifies Tor's callback and prevents the directory-request
  7933. launching code from invoking itself recursively. Closes
  7934. ticket 17589
  7935. - Remove code for configuring OpenSSL dynamic locks; OpenSSL doesn't
  7936. use them. Closes ticket 17926.
  7937. o Documentation:
  7938. - Add a description of the correct use of the '--keygen' command-
  7939. line option. Closes ticket 17583; based on text by 's7r'.
  7940. - Document the minimum HeartbeatPeriod value. Closes ticket 15638.
  7941. - Explain actual minima for BandwidthRate. Closes ticket 16382.
  7942. - Fix a minor formatting typo in the manpage. Closes ticket 17791.
  7943. - Mention torspec URL in the manpage and point the reader to it
  7944. whenever we mention a document that belongs in torspce. Fixes
  7945. issue 17392.
  7946. o Removed features:
  7947. - Remove client-side support for connecting to Tor relays running
  7948. versions of Tor before 0.2.3.6-alpha. These relays didn't support
  7949. the v3 TLS handshake protocol, and are no longer allowed on the
  7950. Tor network. Implements the client side of ticket 11150. Based on
  7951. patches by Tom van der Woerdt.
  7952. o Testing:
  7953. - Add unit tests to check for common RNG failure modes, such as
  7954. returning all zeroes, identical values, or incrementing values
  7955. (OpenSSL's rand_predictable feature). Patch by "teor".
  7956. - Log more information when the backtrace tests fail. Closes ticket
  7957. 17892. Patch from "cypherpunks."
  7958. - Always test both ed25519 backends, so that we can be sure that our
  7959. batch-open replacement code works. Part of ticket 16794.
  7960. - Cover dns_resolve_impl() in dns.c with unit tests. Implements a
  7961. portion of ticket 16831.
  7962. - More unit tests for compat_libevent.c, procmon.c, tortls.c,
  7963. util_format.c, directory.c, and options_validate.c. Closes tickets
  7964. 17075, 17082, 17084, 17003, and 17076 respectively. Patches from
  7965. Ola Bini.
  7966. - Unit tests for directory_handle_command_get. Closes ticket 17004.
  7967. Patch from Reinaldo de Souza Jr.
  7968. Changes in version 0.2.7.6 - 2015-12-10
  7969. Tor version 0.2.7.6 fixes a major bug in entry guard selection, as
  7970. well as a minor bug in hidden service reliability.
  7971. o Major bugfixes (guard selection):
  7972. - Actually look at the Guard flag when selecting a new directory
  7973. guard. When we implemented the directory guard design, we
  7974. accidentally started treating all relays as if they have the Guard
  7975. flag during guard selection, leading to weaker anonymity and worse
  7976. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  7977. by Mohsen Imani.
  7978. o Minor features (geoip):
  7979. - Update geoip and geoip6 to the December 1 2015 Maxmind GeoLite2
  7980. Country database.
  7981. o Minor bugfixes (compilation):
  7982. - When checking for net/pfvar.h, include netinet/in.h if possible.
  7983. This fixes transparent proxy detection on OpenBSD. Fixes bug
  7984. 17551; bugfix on 0.1.2.1-alpha. Patch from "rubiate".
  7985. - Fix a compilation warning with Clang 3.6: Do not check the
  7986. presence of an address which can never be NULL. Fixes bug 17781.
  7987. o Minor bugfixes (correctness):
  7988. - When displaying an IPv6 exit policy, include the mask bits
  7989. correctly even when the number is greater than 31. Fixes bug
  7990. 16056; bugfix on 0.2.4.7-alpha. Patch from "gturner".
  7991. - The wrong list was used when looking up expired intro points in a
  7992. rend service object, causing what we think could be reachability
  7993. issues for hidden services, and triggering a BUG log. Fixes bug
  7994. 16702; bugfix on 0.2.7.2-alpha.
  7995. - Fix undefined behavior in the tor_cert_checksig function. Fixes
  7996. bug 17722; bugfix on 0.2.7.2-alpha.
  7997. Changes in version 0.2.7.5 - 2015-11-20
  7998. The Tor 0.2.7 release series is dedicated to the memory of Tor user
  7999. and privacy advocate Caspar Bowden (1961-2015). Caspar worked
  8000. tirelessly to advocate human rights regardless of national borders,
  8001. and oppose the encroachments of mass surveillance. He opposed national
  8002. exceptionalism, he brought clarity to legal and policy debates, he
  8003. understood and predicted the impact of mass surveillance on the world,
  8004. and he laid the groundwork for resisting it. While serving on the Tor
  8005. Project's board of directors, he brought us his uncompromising focus
  8006. on technical excellence in the service of humankind. Caspar was an
  8007. inimitable force for good and a wonderful friend. He was kind,
  8008. humorous, generous, gallant, and believed we should protect one
  8009. another without exception. We honor him here for his ideals, his
  8010. efforts, and his accomplishments. Please honor his memory with works
  8011. that would make him proud.
  8012. Tor 0.2.7.5 is the first stable release in the Tor 0.2.7 series.
  8013. The 0.2.7 series adds a more secure identity key type for relays,
  8014. improves cryptography performance, resolves several longstanding
  8015. hidden-service performance issues, improves controller support for
  8016. hidden services, and includes small bugfixes and performance
  8017. improvements throughout the program. This release series also includes
  8018. more tests than before, and significant simplifications to which parts
  8019. of Tor invoke which others.
  8020. (This release contains no code changes since 0.2.7.4-rc.)
  8021. Changes in version 0.2.7.4-rc - 2015-10-21
  8022. Tor 0.2.7.4-rc is the second release candidate in the 0.2.7 series. It
  8023. fixes some important memory leaks, and a scary-looking (but mostly
  8024. harmless in practice) invalid-read bug. It also has a few small
  8025. bugfixes, notably fixes for compilation and portability on different
  8026. platforms. If no further significant bounds are found, the next
  8027. release will the the official stable release.
  8028. o Major bugfixes (security, correctness):
  8029. - Fix an error that could cause us to read 4 bytes before the
  8030. beginning of an openssl string. This bug could be used to cause
  8031. Tor to crash on systems with unusual malloc implementations, or
  8032. systems with unusual hardening installed. Fixes bug 17404; bugfix
  8033. on 0.2.3.6-alpha.
  8034. o Major bugfixes (correctness):
  8035. - Fix a use-after-free bug in validate_intro_point_failure(). Fixes
  8036. bug 17401; bugfix on 0.2.7.3-rc.
  8037. o Major bugfixes (memory leaks):
  8038. - Fix a memory leak in ed25519 batch signature checking. Fixes bug
  8039. 17398; bugfix on 0.2.6.1-alpha.
  8040. - Fix a memory leak in rend_cache_failure_entry_free(). Fixes bug
  8041. 17402; bugfix on 0.2.7.3-rc.
  8042. - Fix a memory leak when reading an expired signing key from disk.
  8043. Fixes bug 17403; bugfix on 0.2.7.2-rc.
  8044. o Minor features (geoIP):
  8045. - Update geoip and geoip6 to the October 9 2015 Maxmind GeoLite2
  8046. Country database.
  8047. o Minor bugfixes (compilation):
  8048. - Repair compilation with the most recent (unreleased, alpha)
  8049. vesions of OpenSSL 1.1. Fixes part of ticket 17237.
  8050. - Fix an integer overflow warning in test_crypto_slow.c. Fixes bug
  8051. 17251; bugfix on 0.2.7.2-alpha.
  8052. - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
  8053. bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
  8054. o Minor bugfixes (portability):
  8055. - Use libexecinfo on FreeBSD to enable backtrace support. Fixes
  8056. part of bug 17151; bugfix on 0.2.5.2-alpha. Patch from
  8057. Marcin Cieślak.
  8058. o Minor bugfixes (sandbox):
  8059. - Add the "hidserv-stats" filename to our sandbox filter for the
  8060. HiddenServiceStatistics option to work properly. Fixes bug 17354;
  8061. bugfix on 0.2.6.2-alpha. Patch from David Goulet.
  8062. o Minor bugfixes (testing):
  8063. - Add unit tests for get_interface_address* failure cases. Fixes bug
  8064. 17173; bugfix on 0.2.7.3-rc. Patch by fk/teor.
  8065. - Fix breakage when running 'make check' with BSD make. Fixes bug
  8066. 17154; bugfix on 0.2.7.3-rc. Patch by Marcin Cieślak.
  8067. - Make the get_ifaddrs_* unit tests more tolerant of different
  8068. network configurations. (Don't assume every test box has an IPv4
  8069. address, and don't assume every test box has a non-localhost
  8070. address.) Fixes bug 17255; bugfix on 0.2.7.3-rc. Patch by "teor".
  8071. - Skip backtrace tests when backtrace support is not compiled in.
  8072. Fixes part of bug 17151; bugfix on 0.2.7.1-alpha. Patch from
  8073. Marcin Cieślak.
  8074. o Documentation:
  8075. - Fix capitalization of SOCKS in sample torrc. Closes ticket 15609.
  8076. - Note that HiddenServicePorts can take a unix domain socket. Closes
  8077. ticket 17364.
  8078. Changes in version 0.2.7.3-rc - 2015-09-25
  8079. Tor 0.2.7.3-rc is the first release candidate in the 0.2.7 series. It
  8080. contains numerous usability fixes for Ed25519 keys, safeguards against
  8081. several misconfiguration problems, significant simplifications to
  8082. Tor's callgraph, and numerous bugfixes and small features.
  8083. This is the most tested release of Tor to date. The unit tests cover
  8084. 39.40% of the code, and the integration tests (accessible with "make
  8085. test-full-online", requiring stem and chutney and a network
  8086. connection) raise the coverage to 64.49%.
  8087. o Major features (security, hidden services):
  8088. - Hidden services, if using the EntryNodes option, are required to
  8089. use more than one EntryNode, in order to avoid a guard discovery
  8090. attack. (This would only affect people who had configured hidden
  8091. services and manually specified the EntryNodes option with a
  8092. single entry-node. The impact was that it would be easy to
  8093. remotely identify the guard node used by such a hidden service.
  8094. See ticket for more information.) Fixes ticket 14917.
  8095. o Major features (Ed25519 keys, keypinning):
  8096. - The key-pinning option on directory authorities is now advisory-
  8097. only by default. In a future version, or when the AuthDirPinKeys
  8098. option is set, pins are enforced again. Disabling key-pinning
  8099. seemed like a good idea so that we can survive the fallout of any
  8100. usability problems associated with Ed25519 keys. Closes
  8101. ticket 17135.
  8102. o Major features (Ed25519 performance):
  8103. - Improve the speed of Ed25519 operations and Curve25519 keypair
  8104. generation when built targeting 32 bit x86 platforms with SSE2
  8105. available. Implements ticket 16535.
  8106. - Improve the runtime speed of Ed25519 signature verification by
  8107. using Ed25519-donna's batch verification support. Implements
  8108. ticket 16533.
  8109. o Major features (performance testing):
  8110. - The test-network.sh script now supports performance testing.
  8111. Requires corresponding chutney performance testing changes. Patch
  8112. by "teor". Closes ticket 14175.
  8113. o Major features (relay, Ed25519):
  8114. - Significant usability improvements for Ed25519 key management. Log
  8115. messages are better, and the code can recover from far more
  8116. failure conditions. Thanks to "s7r" for reporting and diagnosing
  8117. so many of these!
  8118. - Add a new OfflineMasterKey option to tell Tor never to try loading
  8119. or generating a secret Ed25519 identity key. You can use this in
  8120. combination with tor --keygen to manage offline and/or encrypted
  8121. Ed25519 keys. Implements ticket 16944.
  8122. - Add a --newpass option to allow changing or removing the
  8123. passphrase of an encrypted key with tor --keygen. Implements part
  8124. of ticket 16769.
  8125. - On receiving a HUP signal, check to see whether the Ed25519
  8126. signing key has changed, and reload it if so. Closes ticket 16790.
  8127. o Major bugfixes (relay, Ed25519):
  8128. - Avoid crashing on 'tor --keygen'. Fixes bug 16679; bugfix on
  8129. 0.2.7.2-alpha. Reported by "s7r".
  8130. - Improve handling of expired signing keys with offline master keys.
  8131. Fixes bug 16685; bugfix on 0.2.7.2-alpha. Reported by "s7r".
  8132. o Minor features (client-side privacy):
  8133. - New KeepAliveIsolateSOCKSAuth option to indefinitely extend circuit
  8134. lifespan when IsolateSOCKSAuth and streams with SOCKS
  8135. authentication are attached to the circuit. This allows
  8136. applications like TorBrowser to manage circuit lifetime on their
  8137. own. Implements feature 15482.
  8138. - When logging malformed hostnames from SOCKS5 requests, respect
  8139. SafeLogging configuration. Fixes bug 16891; bugfix on 0.1.1.16-rc.
  8140. o Minor features (compilation):
  8141. - Give a warning as early as possible when trying to build with an
  8142. unsupported OpenSSL version. Closes ticket 16901.
  8143. - Fail during configure if we're trying to build against an OpenSSL
  8144. built without ECC support. Fixes bug 17109, bugfix on 0.2.7.1-alpha
  8145. which started requiring ECC.
  8146. o Minor features (geoip):
  8147. - Update geoip and geoip6 to the September 3 2015 Maxmind GeoLite2
  8148. Country database.
  8149. o Minor features (hidden services):
  8150. - Relays need to have the Fast flag to get the HSDir flag. As this
  8151. is being written, we'll go from 2745 HSDirs down to 2342, a ~14%
  8152. drop. This change should make some attacks against the hidden
  8153. service directory system harder. Fixes ticket 15963.
  8154. - Turn on hidden service statistics collection by setting the torrc
  8155. option HiddenServiceStatistics to "1" by default. (This keeps
  8156. track only of the fraction of traffic used by hidden services, and
  8157. the total number of hidden services in existence.) Closes
  8158. ticket 15254.
  8159. - Client now uses an introduction point failure cache to know when
  8160. to fetch or keep a descriptor in their cache. Previously, failures
  8161. were recorded implicitly, but not explicitly remembered. Closes
  8162. ticket 16389.
  8163. o Minor features (testing, authorities, documentation):
  8164. - New TestingDirAuthVote{Exit,Guard,HSDir}IsStrict flags to
  8165. explicitly manage consensus flags in testing networks. Patch by
  8166. "robgjansen", modified by "teor". Implements part of ticket 14882.
  8167. o Minor bugfixes (security, exit policies):
  8168. - ExitPolicyRejectPrivate now also rejects the relay's published
  8169. IPv6 address (if any), and any publicly routable IPv4 or IPv6
  8170. addresses on any local interfaces. ticket 17027. Patch by "teor".
  8171. Fixes bug 17027; bugfix on 0.2.0.11-alpha.
  8172. o Minor bug fixes (torrc exit policies):
  8173. - In torrc, "accept6 *" and "reject6 *" ExitPolicy lines now only
  8174. produce IPv6 wildcard addresses. Previously they would produce
  8175. both IPv4 and IPv6 wildcard addresses. Patch by "teor". Fixes part
  8176. of bug 16069; bugfix on 0.2.4.7-alpha.
  8177. - When parsing torrc ExitPolicies, we now warn for a number of cases
  8178. where the user's intent is likely to differ from Tor's actual
  8179. behavior. These include: using an IPv4 address with an accept6 or
  8180. reject6 line; using "private" on an accept6 or reject6 line; and
  8181. including any ExitPolicy lines after accept *:* or reject *:*.
  8182. Related to ticket 16069.
  8183. - When parsing torrc ExitPolicies, we now issue an info-level
  8184. message when expanding an "accept/reject *" line to include both
  8185. IPv4 and IPv6 wildcard addresses. Related to ticket 16069.
  8186. - In each instance above, usage advice is provided to avoid the
  8187. message. Resolves ticket 16069. Patch by "teor". Fixes part of bug
  8188. 16069; bugfix on 0.2.4.7-alpha.
  8189. o Minor bugfixes (authority):
  8190. - Don't assign "HSDir" to a router if it isn't Valid and Running.
  8191. Fixes bug 16524; bugfix on 0.2.7.2-alpha.
  8192. - Downgrade log messages about Ed25519 key issues if they are in old
  8193. cached router descriptors. Fixes part of bug 16286; bugfix
  8194. on 0.2.7.2-alpha.
  8195. - When we find an Ed25519 key issue in a cached descriptor, stop
  8196. saying the descriptor was just "uploaded". Fixes another part of
  8197. bug 16286; bugfix on 0.2.7.2-alpha.
  8198. o Minor bugfixes (control port):
  8199. - Repair a warning and a spurious result when getting the maximum
  8200. number of file descriptors from the controller. Fixes bug 16697;
  8201. bugfix on 0.2.7.2-alpha.
  8202. o Minor bugfixes (correctness):
  8203. - When calling channel_free_list(), avoid calling smartlist_remove()
  8204. while inside a FOREACH loop. This partially reverts commit
  8205. 17356fe7fd96af where the correct SMARTLIST_DEL_CURRENT was
  8206. incorrectly removed. Fixes bug 16924; bugfix on 0.2.4.4-alpha.
  8207. o Minor bugfixes (documentation):
  8208. - Advise users on how to configure separate IPv4 and IPv6 exit
  8209. policies in the manpage and sample torrcs. Related to ticket 16069.
  8210. - Fix the usage message of tor-resolve(1) so that it no longer lists
  8211. the removed -F option. Fixes bug 16913; bugfix on 0.2.2.28-beta.
  8212. - Fix an error in the manual page and comments for
  8213. TestingDirAuthVoteHSDir[IsStrict], which suggested that a HSDir
  8214. required "ORPort connectivity". While this is true, it is in no
  8215. way unique to the HSDir flag. Of all the flags, only HSDirs need a
  8216. DirPort configured in order for the authorities to assign that
  8217. particular flag. Patch by "teor". Fixed as part of 14882; bugfix
  8218. on 0.2.6.3-alpha.
  8219. o Minor bugfixes (Ed25519):
  8220. - Fix a memory leak when reading router descriptors with expired
  8221. Ed25519 certificates. Fixes bug 16539; bugfix on 0.2.7.2-alpha.
  8222. o Minor bugfixes (linux seccomp2 sandbox):
  8223. - Allow bridge authorities to run correctly under the seccomp2
  8224. sandbox. Fixes bug 16964; bugfix on 0.2.5.1-alpha.
  8225. - Allow routers with ed25519 keys to run correctly under the
  8226. seccomp2 sandbox. Fixes bug 16965; bugfix on 0.2.7.2-alpha.
  8227. o Minor bugfixes (open file limit):
  8228. - Fix set_max_file_descriptors() to set by default the max open file
  8229. limit to the current limit when setrlimit() fails. Fixes bug
  8230. 16274; bugfix on 0.2.0.10-alpha. Patch by dgoulet.
  8231. o Minor bugfixes (portability):
  8232. - Try harder to normalize the exit status of the Tor process to the
  8233. standard-provided range. Fixes bug 16975; bugfix on every version
  8234. of Tor ever.
  8235. - Check correctly for Windows socket errors in the workqueue
  8236. backend. Fixes bug 16741; bugfix on 0.2.6.3-alpha.
  8237. - Fix the behavior of crypto_rand_time_range() when told to consider
  8238. times before 1970. (These times were possible when running in a
  8239. simulated network environment where time()'s output starts at
  8240. zero.) Fixes bug 16980; bugfix on 0.2.7.1-alpha.
  8241. - Restore correct operation of TLS client-cipher detection on
  8242. OpenSSL 1.1. Fixes bug 14047; bugfix on 0.2.7.2-alpha.
  8243. o Minor bugfixes (relay):
  8244. - Ensure that worker threads actually exit when a fatal error or
  8245. shutdown is indicated. This fix doesn't currently affect the
  8246. behavior of Tor, because Tor workers never indicates fatal error
  8247. or shutdown except in the unit tests. Fixes bug 16868; bugfix
  8248. on 0.2.6.3-alpha.
  8249. - Unblock threads before releasing the work queue mutex to ensure
  8250. predictable scheduling behavior. Fixes bug 16644; bugfix
  8251. on 0.2.6.3-alpha.
  8252. o Code simplification and refactoring:
  8253. - Change the function that's called when we need to retry all
  8254. downloads so that it only reschedules the downloads to happen
  8255. immediately, rather than launching them all at once itself. This
  8256. further simplifies Tor's callgraph.
  8257. - Move some format-parsing functions out of crypto.c and
  8258. crypto_curve25519.c into crypto_format.c and/or util_format.c.
  8259. - Move the client-only parts of init_keys() into a separate
  8260. function. Closes ticket 16763.
  8261. - Simplify the microdesc_free() implementation so that it no longer
  8262. appears (to code analysis tools) to potentially invoke a huge
  8263. suite of other microdesc functions.
  8264. - Simply the control graph further by deferring the inner body of
  8265. directory_all_unreachable() into a callback. Closes ticket 16762.
  8266. - Treat the loss of an owning controller as equivalent to a SIGTERM
  8267. signal. This removes a tiny amount of duplicated code, and
  8268. simplifies our callgraph. Closes ticket 16788.
  8269. - When generating an event to send to the controller, we no longer
  8270. put the event over the network immediately. Instead, we queue
  8271. these events, and use a Libevent callback to deliver them. This
  8272. change simplifies Tor's callgraph by reducing the number of
  8273. functions from which all other Tor functions are reachable. Closes
  8274. ticket 16695.
  8275. - Wrap Windows-only C files inside '#ifdef _WIN32' so that tools
  8276. that try to scan or compile every file on Unix won't decide that
  8277. they are broken.
  8278. - Remove the unused "nulterminate" argument from buf_pullup().
  8279. o Documentation:
  8280. - Recommend a 40 GB example AccountingMax in torrc.sample rather
  8281. than a 4 GB max. Closes ticket 16742.
  8282. - Include the TUNING document in our source tarball. It is referred
  8283. to in the ChangeLog and an error message. Fixes bug 16929; bugfix
  8284. on 0.2.6.1-alpha.
  8285. o Removed code:
  8286. - The internal pure-C tor-fw-helper tool is now removed from the Tor
  8287. distribution, in favor of the pure-Go clone available from
  8288. https://gitweb.torproject.org/tor-fw-helper.git/ . The libraries
  8289. used by the C tor-fw-helper are not, in our opinion, very
  8290. confidence- inspiring in their secure-programming techniques.
  8291. Closes ticket 13338.
  8292. - Remove the code that would try to aggressively flush controller
  8293. connections while writing to them. This code was introduced in
  8294. 0.1.2.7-alpha, in order to keep output buffers from exceeding
  8295. their limits. But there is no longer a maximum output buffer size,
  8296. and flushing data in this way caused some undesirable recursions
  8297. in our call graph. Closes ticket 16480.
  8298. o Testing:
  8299. - Make "bridges+hs" the default test network. This tests almost all
  8300. tor functionality during make test-network, while allowing tests
  8301. to succeed on non-IPv6 systems. Requires chutney commit 396da92 in
  8302. test-network-bridges-hs. Closes tickets 16945 (tor) and 16946
  8303. (chutney). Patches by "teor".
  8304. - Autodetect CHUTNEY_PATH if the chutney and Tor sources are side-
  8305. by-side in the same parent directory. Closes ticket 16903. Patch
  8306. by "teor".
  8307. - Use environment variables rather than autoconf substitutions to
  8308. send variables from the build system to the test scripts. This
  8309. change should be easier to maintain, and cause 'make distcheck' to
  8310. work better than before. Fixes bug 17148.
  8311. - Add a new set of callgraph analysis scripts that use clang to
  8312. produce a list of which Tor functions are reachable from which
  8313. other Tor functions. We're planning to use these to help simplify
  8314. our code structure by identifying illogical dependencies.
  8315. - Add new 'test-full' and 'test-full-online' targets to run all
  8316. tests, including integration tests with stem and chutney.
  8317. - Make the test-workqueue test work on Windows by initializing the
  8318. network before we begin.
  8319. - New make target (make test-network-all) to run multiple applicable
  8320. chutney test cases. Patch from Teor; closes 16953.
  8321. - Unit test dns_resolve(), dns_clip_ttl() and dns_get_expiry_ttl()
  8322. functions in dns.c. Implements a portion of ticket 16831.
  8323. - When building Tor with testing coverage enabled, run Chutney tests
  8324. (if any) using the 'tor-cov' coverage binary.
  8325. - When running test-network or test-stem, check for the absence of
  8326. stem/chutney before doing any build operations.
  8327. Changes in version 0.2.7.2-alpha - 2015-07-27
  8328. This, the second alpha in the Tor 0.2.7 series, has a number of new
  8329. features, including a way to manually pick the number of introduction
  8330. points for hidden services, and the much stronger Ed25519 signing key
  8331. algorithm for regular Tor relays (including support for encrypted
  8332. offline identity keys in the new algorithm).
  8333. Support for Ed25519 on relays is currently limited to signing router
  8334. descriptors; later alphas in this series will extend Ed25519 key
  8335. support to more parts of the Tor protocol.
  8336. o Major features (Ed25519 identity keys, Proposal 220):
  8337. - All relays now maintain a stronger identity key, using the Ed25519
  8338. elliptic curve signature format. This master key is designed so
  8339. that it can be kept offline. Relays also generate an online
  8340. signing key, and a set of other Ed25519 keys and certificates.
  8341. These are all automatically regenerated and rotated as needed.
  8342. Implements part of ticket 12498.
  8343. - Directory authorities now vote on Ed25519 identity keys along with
  8344. RSA1024 keys. Implements part of ticket 12498.
  8345. - Directory authorities track which Ed25519 identity keys have been
  8346. used with which RSA1024 identity keys, and do not allow them to
  8347. vary freely. Implements part of ticket 12498.
  8348. - Microdescriptors now include Ed25519 identity keys. Implements
  8349. part of ticket 12498.
  8350. - Add support for offline encrypted Ed25519 master keys. To use this
  8351. feature on your tor relay, run "tor --keygen" to make a new master
  8352. key (or to make a new signing key if you already have a master
  8353. key). Closes ticket 13642.
  8354. o Major features (Hidden services):
  8355. - Add the torrc option HiddenServiceNumIntroductionPoints, to
  8356. specify a fixed number of introduction points. Its maximum value
  8357. is 10 and default is 3. Using this option can increase a hidden
  8358. service's reliability under load, at the cost of making it more
  8359. visible that the hidden service is facing extra load. Closes
  8360. ticket 4862.
  8361. - Remove the adaptive algorithm for choosing the number of
  8362. introduction points, which used to change the number of
  8363. introduction points (poorly) depending on the number of
  8364. connections the HS sees. Closes ticket 4862.
  8365. o Major features (onion key cross-certification):
  8366. - Relay descriptors now include signatures of their own identity
  8367. keys, made using the TAP and ntor onion keys. These signatures
  8368. allow relays to prove ownership of their own onion keys. Because
  8369. of this change, microdescriptors will no longer need to include
  8370. RSA identity keys. Implements proposal 228; closes ticket 12499.
  8371. o Major features (performance):
  8372. - Improve the runtime speed of Ed25519 operations by using the
  8373. public-domain Ed25519-donna by Andrew M. ("floodyberry").
  8374. Implements ticket 16467.
  8375. - Improve the runtime speed of the ntor handshake by using an
  8376. optimized curve25519 basepoint scalarmult implementation from the
  8377. public-domain Ed25519-donna by Andrew M. ("floodyberry"), based on
  8378. ideas by Adam Langley. Implements ticket 9663.
  8379. o Major bugfixes (client-side privacy, also in 0.2.6.9):
  8380. - Properly separate out each SOCKSPort when applying stream
  8381. isolation. The error occurred because each port's session group
  8382. was being overwritten by a default value when the listener
  8383. connection was initialized. Fixes bug 16247; bugfix on
  8384. 0.2.6.3-alpha. Patch by "jojelino".
  8385. o Major bugfixes (hidden service clients, stability, also in 0.2.6.10):
  8386. - Stop refusing to store updated hidden service descriptors on a
  8387. client. This reverts commit 9407040c59218 (which indeed fixed bug
  8388. 14219, but introduced a major hidden service reachability
  8389. regression detailed in bug 16381). This is a temporary fix since
  8390. we can live with the minor issue in bug 14219 (it just results in
  8391. some load on the network) but the regression of 16381 is too much
  8392. of a setback. First-round fix for bug 16381; bugfix
  8393. on 0.2.6.3-alpha.
  8394. o Major bugfixes (hidden services):
  8395. - When cannibalizing a circuit for an introduction point, always
  8396. extend to the chosen exit node (creating a 4 hop circuit).
  8397. Previously Tor would use the current circuit exit node, which
  8398. changed the original choice of introduction point, and could cause
  8399. the hidden service to skip excluded introduction points or
  8400. reconnect to a skipped introduction point. Fixes bug 16260; bugfix
  8401. on 0.1.0.1-rc.
  8402. o Major bugfixes (open file limit):
  8403. - The open file limit wasn't checked before calling
  8404. tor_accept_socket_nonblocking(), which would make Tor exceed the
  8405. limit. Now, before opening a new socket, Tor validates the open
  8406. file limit just before, and if the max has been reached, return an
  8407. error. Fixes bug 16288; bugfix on 0.1.1.1-alpha.
  8408. o Major bugfixes (stability, also in 0.2.6.10):
  8409. - Stop crashing with an assertion failure when parsing certain kinds
  8410. of malformed or truncated microdescriptors. Fixes bug 16400;
  8411. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  8412. by "cypherpunks_backup".
  8413. - Stop random client-side assertion failures that could occur when
  8414. connecting to a busy hidden service, or connecting to a hidden
  8415. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  8416. on 0.1.0.1-rc.
  8417. o Minor features (directory authorities, security, also in 0.2.6.9):
  8418. - The HSDir flag given by authorities now requires the Stable flag.
  8419. For the current network, this results in going from 2887 to 2806
  8420. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  8421. attack by raising the effort for a relay to become Stable to
  8422. require at the very least 7 days, while maintaining the 96 hours
  8423. uptime requirement for HSDir. Implements ticket 8243.
  8424. o Minor features (client):
  8425. - Relax the validation of hostnames in SOCKS5 requests, allowing the
  8426. character '_' to appear, in order to cope with domains observed in
  8427. the wild that are serving non-RFC compliant records. Resolves
  8428. ticket 16430.
  8429. - Relax the validation done to hostnames in SOCKS5 requests, and
  8430. allow a single trailing '.' to cope with clients that pass FQDNs
  8431. using that syntax to explicitly indicate that the domain name is
  8432. fully-qualified. Fixes bug 16674; bugfix on 0.2.6.2-alpha.
  8433. - Add GroupWritable and WorldWritable options to unix-socket based
  8434. SocksPort and ControlPort options. These options apply to a single
  8435. socket, and override {Control,Socks}SocketsGroupWritable. Closes
  8436. ticket 15220.
  8437. o Minor features (control protocol):
  8438. - Support network-liveness GETINFO key and NETWORK_LIVENESS event in
  8439. the control protocol. Resolves ticket 15358.
  8440. o Minor features (directory authorities):
  8441. - Directory authorities no longer vote against the "Fast", "Stable",
  8442. and "HSDir" flags just because they were going to vote against
  8443. "Running": if the consensus turns out to be that the router was
  8444. running, then the authority's vote should count. Patch from Peter
  8445. Retzlaff; closes issue 8712.
  8446. o Minor features (geoip, also in 0.2.6.10):
  8447. - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
  8448. - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
  8449. o Minor features (hidden services):
  8450. - Add the new options "HiddenServiceMaxStreams" and
  8451. "HiddenServiceMaxStreamsCloseCircuit" to allow hidden services to
  8452. limit the maximum number of simultaneous streams per circuit, and
  8453. optionally tear down the circuit when the limit is exceeded. Part
  8454. of ticket 16052.
  8455. o Minor features (portability):
  8456. - Use C99 variadic macros when the compiler is not GCC. This avoids
  8457. failing compilations on MSVC, and fixes a log-file-based race
  8458. condition in our old workarounds. Original patch from Gisle Vanem.
  8459. o Minor bugfixes (compilation, also in 0.2.6.9):
  8460. - Build with --enable-systemd correctly when libsystemd is
  8461. installed, but systemd is not. Fixes bug 16164; bugfix on
  8462. 0.2.6.3-alpha. Patch from Peter Palfrader.
  8463. o Minor bugfixes (controller):
  8464. - Add the descriptor ID in each HS_DESC control event. It was
  8465. missing, but specified in control-spec.txt. Fixes bug 15881;
  8466. bugfix on 0.2.5.2-alpha.
  8467. o Minor bugfixes (crypto error-handling, also in 0.2.6.10):
  8468. - Check for failures from crypto_early_init, and refuse to continue.
  8469. A previous typo meant that we could keep going with an
  8470. uninitialized crypto library, and would have OpenSSL initialize
  8471. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  8472. when implementing ticket 4900. Patch by "teor".
  8473. o Minor bugfixes (hidden services):
  8474. - Fix a crash when reloading configuration while at least one
  8475. configured and one ephemeral hidden service exists. Fixes bug
  8476. 16060; bugfix on 0.2.7.1-alpha.
  8477. - Avoid crashing with a double-free bug when we create an ephemeral
  8478. hidden service but adding it fails for some reason. Fixes bug
  8479. 16228; bugfix on 0.2.7.1-alpha.
  8480. o Minor bugfixes (Linux seccomp2 sandbox):
  8481. - Use the sandbox in tor_open_cloexec whether or not O_CLOEXEC is
  8482. defined. Patch by "teor". Fixes bug 16515; bugfix on 0.2.3.1-alpha.
  8483. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.10):
  8484. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  8485. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  8486. on 0.2.6.3-alpha. Patch from "teor".
  8487. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.9):
  8488. - Fix sandboxing to work when running as a relay, by allowing the
  8489. renaming of secret_id_key, and allowing the eventfd2 and futex
  8490. syscalls. Fixes bug 16244; bugfix on 0.2.6.1-alpha. Patch by
  8491. Peter Palfrader.
  8492. - Allow systemd connections to work with the Linux seccomp2 sandbox
  8493. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  8494. Peter Palfrader.
  8495. o Minor bugfixes (relay):
  8496. - Fix a rarely-encountered memory leak when failing to initialize
  8497. the thread pool. Fixes bug 16631; bugfix on 0.2.6.3-alpha. Patch
  8498. from "cypherpunks".
  8499. o Minor bugfixes (systemd):
  8500. - Fix an accidental formatting error that broke the systemd
  8501. configuration file. Fixes bug 16152; bugfix on 0.2.7.1-alpha.
  8502. - Tor's systemd unit file no longer contains extraneous spaces.
  8503. These spaces would sometimes confuse tools like deb-systemd-
  8504. helper. Fixes bug 16162; bugfix on 0.2.5.5-alpha.
  8505. o Minor bugfixes (tests):
  8506. - Use the configured Python executable when running test-stem-full.
  8507. Fixes bug 16470; bugfix on 0.2.7.1-alpha.
  8508. o Minor bugfixes (tests, also in 0.2.6.9):
  8509. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  8510. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  8511. o Minor bugfixes (threads, comments):
  8512. - Always initialize return value in compute_desc_id in rendcommon.c
  8513. Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  8514. - Check for NULL values in getinfo_helper_onions(). Patch by "teor".
  8515. Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  8516. - Remove undefined directive-in-macro in test_util_writepid clang
  8517. 3.7 complains that using a preprocessor directive inside a macro
  8518. invocation in test_util_writepid in test_util.c is undefined.
  8519. Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  8520. o Code simplification and refactoring:
  8521. - Define WINVER and _WIN32_WINNT centrally, in orconfig.h, in order
  8522. to ensure they remain consistent and visible everywhere.
  8523. - Remove some vestigial workarounds for the MSVC6 compiler. We
  8524. haven't supported that in ages.
  8525. - The link authentication code has been refactored for better
  8526. testability and reliability. It now uses code generated with the
  8527. "trunnel" binary encoding generator, to reduce the risk of bugs
  8528. due to programmer error. Done as part of ticket 12498.
  8529. o Documentation:
  8530. - Include a specific and (hopefully) accurate documentation of the
  8531. torrc file's meta-format in doc/torrc_format.txt. This is mainly
  8532. of interest to people writing programs to parse or generate torrc
  8533. files. This document is not a commitment to long-term
  8534. compatibility; some aspects of the current format are a bit
  8535. ridiculous. Closes ticket 2325.
  8536. o Removed features:
  8537. - Tor no longer supports copies of OpenSSL that are missing support
  8538. for Elliptic Curve Cryptography. (We began using ECC when
  8539. available in 0.2.4.8-alpha, for more safe and efficient key
  8540. negotiation.) In particular, support for at least one of P256 or
  8541. P224 is now required, with manual configuration needed if only
  8542. P224 is available. Resolves ticket 16140.
  8543. - Tor no longer supports versions of OpenSSL before 1.0. (If you are
  8544. on an operating system that has not upgraded to OpenSSL 1.0 or
  8545. later, and you compile Tor from source, you will need to install a
  8546. more recent OpenSSL to link Tor against.) These versions of
  8547. OpenSSL are still supported by the OpenSSL, but the numerous
  8548. cryptographic improvements in later OpenSSL releases makes them a
  8549. clear choice. Resolves ticket 16034.
  8550. - Remove the HidServDirectoryV2 option. Now all relays offer to
  8551. store hidden service descriptors. Related to 16543.
  8552. - Remove the VoteOnHidServDirectoriesV2 option, since all
  8553. authorities have long set it to 1. Closes ticket 16543.
  8554. o Testing:
  8555. - Document use of coverity, clang static analyzer, and clang dynamic
  8556. undefined behavior and address sanitizers in doc/HACKING. Include
  8557. detailed usage instructions in the blacklist. Patch by "teor".
  8558. Closes ticket 15817.
  8559. - The link authentication protocol code now has extensive tests.
  8560. - The relay descriptor signature testing code now has
  8561. extensive tests.
  8562. - The test_workqueue program now runs faster, and is enabled by
  8563. default as a part of "make check".
  8564. - Now that OpenSSL has its own scrypt implementation, add an unit
  8565. test that checks for interoperability between libscrypt_scrypt()
  8566. and OpenSSL's EVP_PBE_scrypt() so that we could not use libscrypt
  8567. and rely on EVP_PBE_scrypt() whenever possible. Resolves
  8568. ticket 16189.
  8569. Changes in version 0.2.6.10 - 2015-07-12
  8570. Tor version 0.2.6.10 fixes some significant stability and hidden
  8571. service client bugs, bulletproofs the cryptography init process, and
  8572. fixes a bug when using the sandbox code with some older versions of
  8573. Linux. Everyone running an older version, especially an older version
  8574. of 0.2.6, should upgrade.
  8575. o Major bugfixes (hidden service clients, stability):
  8576. - Stop refusing to store updated hidden service descriptors on a
  8577. client. This reverts commit 9407040c59218 (which indeed fixed bug
  8578. 14219, but introduced a major hidden service reachability
  8579. regression detailed in bug 16381). This is a temporary fix since
  8580. we can live with the minor issue in bug 14219 (it just results in
  8581. some load on the network) but the regression of 16381 is too much
  8582. of a setback. First-round fix for bug 16381; bugfix
  8583. on 0.2.6.3-alpha.
  8584. o Major bugfixes (stability):
  8585. - Stop crashing with an assertion failure when parsing certain kinds
  8586. of malformed or truncated microdescriptors. Fixes bug 16400;
  8587. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  8588. by "cypherpunks_backup".
  8589. - Stop random client-side assertion failures that could occur when
  8590. connecting to a busy hidden service, or connecting to a hidden
  8591. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  8592. on 0.1.0.1-rc.
  8593. o Minor features (geoip):
  8594. - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
  8595. - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
  8596. o Minor bugfixes (crypto error-handling):
  8597. - Check for failures from crypto_early_init, and refuse to continue.
  8598. A previous typo meant that we could keep going with an
  8599. uninitialized crypto library, and would have OpenSSL initialize
  8600. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  8601. when implementing ticket 4900. Patch by "teor".
  8602. o Minor bugfixes (Linux seccomp2 sandbox):
  8603. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  8604. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  8605. on 0.2.6.3-alpha. Patch from "teor".
  8606. Changes in version 0.2.6.9 - 2015-06-11
  8607. Tor 0.2.6.9 fixes a regression in the circuit isolation code, increases the
  8608. requirements for receiving an HSDir flag, and addresses some other small
  8609. bugs in the systemd and sandbox code. Clients using circuit isolation
  8610. should upgrade; all directory authorities should upgrade.
  8611. o Major bugfixes (client-side privacy):
  8612. - Properly separate out each SOCKSPort when applying stream
  8613. isolation. The error occurred because each port's session group was
  8614. being overwritten by a default value when the listener connection
  8615. was initialized. Fixes bug 16247; bugfix on 0.2.6.3-alpha. Patch
  8616. by "jojelino".
  8617. o Minor feature (directory authorities, security):
  8618. - The HSDir flag given by authorities now requires the Stable flag.
  8619. For the current network, this results in going from 2887 to 2806
  8620. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  8621. attack by raising the effort for a relay to become Stable which
  8622. takes at the very least 7 days to do so and by keeping the 96
  8623. hours uptime requirement for HSDir. Implements ticket 8243.
  8624. o Minor bugfixes (compilation):
  8625. - Build with --enable-systemd correctly when libsystemd is
  8626. installed, but systemd is not. Fixes bug 16164; bugfix on
  8627. 0.2.6.3-alpha. Patch from Peter Palfrader.
  8628. o Minor bugfixes (Linux seccomp2 sandbox):
  8629. - Fix sandboxing to work when running as a relaymby renaming of
  8630. secret_id_key, and allowing the eventfd2 and futex syscalls. Fixes
  8631. bug 16244; bugfix on 0.2.6.1-alpha. Patch by Peter Palfrader.
  8632. - Allow systemd connections to work with the Linux seccomp2 sandbox
  8633. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  8634. Peter Palfrader.
  8635. o Minor bugfixes (tests):
  8636. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  8637. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  8638. Changes in version 0.2.6.8 - 2015-05-21
  8639. Tor 0.2.6.8 fixes a bit of dodgy code in parsing INTRODUCE2 cells, and
  8640. fixes an authority-side bug in assigning the HSDir flag. All directory
  8641. authorities should upgrade.
  8642. o Major bugfixes (hidden services, backport from 0.2.7.1-alpha):
  8643. - Revert commit that made directory authorities assign the HSDir
  8644. flag to relays without a DirPort; this was bad because such relays
  8645. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  8646. on 0.2.6.3-alpha.
  8647. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  8648. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  8649. a client authorized hidden service. Fixes bug 15823; bugfix
  8650. on 0.2.1.6-alpha.
  8651. o Minor features (geoip):
  8652. - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
  8653. - Update geoip6 to the April 8 2015 Maxmind GeoLite2
  8654. Country database.
  8655. Changes in version 0.2.7.1-alpha - 2015-05-12
  8656. Tor 0.2.7.1-alpha is the first alpha release in its series. It
  8657. includes numerous small features and bugfixes against previous Tor
  8658. versions, and numerous small infrastructure improvements. The most
  8659. notable features are several new ways for controllers to interact with
  8660. the hidden services subsystem.
  8661. o New system requirements:
  8662. - Tor no longer includes workarounds to support Libevent versions
  8663. before 1.3e. Libevent 2.0 or later is recommended. Closes
  8664. ticket 15248.
  8665. o Major features (controller):
  8666. - Add the ADD_ONION and DEL_ONION commands that allow the creation
  8667. and management of hidden services via the controller. Closes
  8668. ticket 6411.
  8669. - New "GETINFO onions/current" and "GETINFO onions/detached"
  8670. commands to get information about hidden services created via the
  8671. controller. Part of ticket 6411.
  8672. - New HSFETCH command to launch a request for a hidden service
  8673. descriptor. Closes ticket 14847.
  8674. - New HSPOST command to upload a hidden service descriptor. Closes
  8675. ticket 3523. Patch by "DonnchaC".
  8676. o Major bugfixes (hidden services):
  8677. - Revert commit that made directory authorities assign the HSDir
  8678. flag to relays without a DirPort; this was bad because such relays
  8679. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  8680. on 0.2.6.3-alpha.
  8681. o Minor features (clock-jump tolerance):
  8682. - Recover better when our clock jumps back many hours, like might
  8683. happen for Tails or Whonix users who start with a very wrong
  8684. hardware clock, use Tor to discover a more accurate time, and then
  8685. fix their clock. Resolves part of ticket 8766.
  8686. o Minor features (command-line interface):
  8687. - Make --hash-password imply --hush to prevent unnecessary noise.
  8688. Closes ticket 15542. Patch from "cypherpunks".
  8689. - Print a warning whenever we find a relative file path being used
  8690. as torrc option. Resolves issue 14018.
  8691. o Minor features (controller):
  8692. - Add DirAuthority lines for default directory authorities to the
  8693. output of the "GETINFO config/defaults" command if not already
  8694. present. Implements ticket 14840.
  8695. - Controllers can now use "GETINFO hs/client/desc/id/..." to
  8696. retrieve items from the client's hidden service descriptor cache.
  8697. Closes ticket 14845.
  8698. - Implement a new controller command "GETINFO status/fresh-relay-
  8699. descs" to fetch a descriptor/extrainfo pair that was generated on
  8700. demand just for the controller's use. Implements ticket 14784.
  8701. o Minor features (DoS-resistance):
  8702. - Make it harder for attackers to overload hidden services with
  8703. introductions, by blocking multiple introduction requests on the
  8704. same circuit. Resolves ticket 15515.
  8705. o Minor features (geoip):
  8706. - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
  8707. - Update geoip6 to the April 8 2015 Maxmind GeoLite2
  8708. Country database.
  8709. o Minor features (HS popularity countermeasure):
  8710. - To avoid leaking HS popularity, don't cycle the introduction point
  8711. when we've handled a fixed number of INTRODUCE2 cells but instead
  8712. cycle it when a random number of introductions is reached, thus
  8713. making it more difficult for an attacker to find out the amount of
  8714. clients that have used the introduction point for a specific HS.
  8715. Closes ticket 15745.
  8716. o Minor features (logging):
  8717. - Include the Tor version in all LD_BUG log messages, since people
  8718. tend to cut and paste those into the bugtracker. Implements
  8719. ticket 15026.
  8720. o Minor features (pluggable transports):
  8721. - When launching managed pluggable transports on Linux systems,
  8722. attempt to have the kernel deliver a SIGTERM on tor exit if the
  8723. pluggable transport process is still running. Resolves
  8724. ticket 15471.
  8725. - When launching managed pluggable transports, setup a valid open
  8726. stdin in the child process that can be used to detect if tor has
  8727. terminated. The "TOR_PT_EXIT_ON_STDIN_CLOSE" environment variable
  8728. can be used by implementations to detect this new behavior.
  8729. Resolves ticket 15435.
  8730. o Minor features (testing):
  8731. - Add a test to verify that the compiler does not eliminate our
  8732. memwipe() implementation. Closes ticket 15377.
  8733. - Add make rule `check-changes` to verify the format of changes
  8734. files. Closes ticket 15180.
  8735. - Add unit tests for control_event_is_interesting(). Add a compile-
  8736. time check that the number of events doesn't exceed the capacity
  8737. of control_event_t.event_mask. Closes ticket 15431, checks for
  8738. bugs similar to 13085. Patch by "teor".
  8739. - Command-line argument tests moved to Stem. Resolves ticket 14806.
  8740. - Integrate the ntor, backtrace, and zero-length keys tests into the
  8741. automake test suite. Closes ticket 15344.
  8742. - Remove assertions during builds to determine Tor's test coverage.
  8743. We don't want to trigger these even in assertions, so including
  8744. them artificially makes our branch coverage look worse than it is.
  8745. This patch provides the new test-stem-full and coverage-html-full
  8746. configure options. Implements ticket 15400.
  8747. o Minor bugfixes (build):
  8748. - Improve out-of-tree builds by making non-standard rules work and
  8749. clean up additional files and directories. Fixes bug 15053; bugfix
  8750. on 0.2.7.0-alpha.
  8751. o Minor bugfixes (command-line interface):
  8752. - When "--quiet" is provided along with "--validate-config", do not
  8753. write anything to stdout on success. Fixes bug 14994; bugfix
  8754. on 0.2.3.3-alpha.
  8755. - When complaining about bad arguments to "--dump-config", use
  8756. stderr, not stdout.
  8757. o Minor bugfixes (configuration, unit tests):
  8758. - Only add the default fallback directories when the DirAuthorities,
  8759. AlternateDirAuthority, and FallbackDir directory config options
  8760. are set to their defaults. The default fallback directory list is
  8761. currently empty, this fix will only change tor's behavior when it
  8762. has default fallback directories. Includes unit tests for
  8763. consider_adding_dir_servers(). Fixes bug 15642; bugfix on
  8764. 90f6071d8dc0 in 0.2.4.7-alpha. Patch by "teor".
  8765. o Minor bugfixes (correctness):
  8766. - For correctness, avoid modifying a constant string in
  8767. handle_control_postdescriptor. Fixes bug 15546; bugfix
  8768. on 0.1.1.16-rc.
  8769. - Remove side-effects from tor_assert() calls. This was harmless,
  8770. because we never disable assertions, but it is bad style and
  8771. unnecessary. Fixes bug 15211; bugfix on 0.2.5.5, 0.2.2.36,
  8772. and 0.2.0.10.
  8773. o Minor bugfixes (hidden service):
  8774. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  8775. a client authorized hidden service. Fixes bug 15823; bugfix
  8776. on 0.2.1.6-alpha.
  8777. - Remove an extraneous newline character from the end of hidden
  8778. service descriptors. Fixes bug 15296; bugfix on 0.2.0.10-alpha.
  8779. o Minor bugfixes (interface):
  8780. - Print usage information for --dump-config when it is used without
  8781. an argument. Also, fix the error message to use different wording
  8782. and add newline at the end. Fixes bug 15541; bugfix
  8783. on 0.2.5.1-alpha.
  8784. o Minor bugfixes (logs):
  8785. - When building Tor under Clang, do not include an extra set of
  8786. parentheses in log messages that include function names. Fixes bug
  8787. 15269; bugfix on every released version of Tor when compiled with
  8788. recent enough Clang.
  8789. o Minor bugfixes (network):
  8790. - When attempting to use fallback technique for network interface
  8791. lookup, disregard loopback and multicast addresses since they are
  8792. unsuitable for public communications.
  8793. o Minor bugfixes (statistics):
  8794. - Disregard the ConnDirectionStatistics torrc options when Tor is
  8795. not a relay since in that mode of operation no sensible data is
  8796. being collected and because Tor might run into measurement hiccups
  8797. when running as a client for some time, then becoming a relay.
  8798. Fixes bug 15604; bugfix on 0.2.2.35.
  8799. o Minor bugfixes (test networks):
  8800. - When self-testing reachability, use ExtendAllowPrivateAddresses to
  8801. determine if local/private addresses imply reachability. The
  8802. previous fix used TestingTorNetwork, which implies
  8803. ExtendAllowPrivateAddresses, but this excluded rare configurations
  8804. where ExtendAllowPrivateAddresses is set but TestingTorNetwork is
  8805. not. Fixes bug 15771; bugfix on 0.2.6.1-alpha. Patch by "teor",
  8806. issue discovered by CJ Ess.
  8807. o Minor bugfixes (testing):
  8808. - Check for matching value in server response in ntor_ref.py. Fixes
  8809. bug 15591; bugfix on 0.2.4.8-alpha. Reported and fixed
  8810. by "joelanders".
  8811. - Set the severity correctly when testing
  8812. get_interface_addresses_ifaddrs() and
  8813. get_interface_addresses_win32(), so that the tests fail gracefully
  8814. instead of triggering an assertion. Fixes bug 15759; bugfix on
  8815. 0.2.6.3-alpha. Reported by Nicolas Derive.
  8816. o Code simplification and refactoring:
  8817. - Move the hacky fallback code out of get_interface_address6() into
  8818. separate function and get it covered with unit-tests. Resolves
  8819. ticket 14710.
  8820. - Refactor hidden service client-side cache lookup to intelligently
  8821. report its various failure cases, and disentangle failure cases
  8822. involving a lack of introduction points. Closes ticket 14391.
  8823. - Use our own Base64 encoder instead of OpenSSL's, to allow more
  8824. control over the output. Part of ticket 15652.
  8825. o Documentation:
  8826. - Improve the descriptions of statistics-related torrc options in
  8827. the manpage to describe rationale and possible uses cases. Fixes
  8828. issue 15550.
  8829. - Improve the layout and formatting of ./configure --help messages.
  8830. Closes ticket 15024. Patch from "cypherpunks".
  8831. - Standardize on the term "server descriptor" in the manual page.
  8832. Previously, we had used "router descriptor", "server descriptor",
  8833. and "relay descriptor" interchangeably. Part of ticket 14987.
  8834. o Removed code:
  8835. - Remove `USE_OPENSSL_BASE64` and the corresponding fallback code
  8836. and always use the internal Base64 decoder. The internal decoder
  8837. has been part of tor since 0.2.0.10-alpha, and no one should
  8838. be using the OpenSSL one. Part of ticket 15652.
  8839. - Remove the 'tor_strclear()' function; use memwipe() instead.
  8840. Closes ticket 14922.
  8841. o Removed features:
  8842. - Remove the (seldom-used) DynamicDHGroups feature. For anti-
  8843. fingerprinting we now recommend pluggable transports; for forward-
  8844. secrecy in TLS, we now use the P-256 group. Closes ticket 13736.
  8845. - Remove the undocumented "--digests" command-line option. It
  8846. complicated our build process, caused subtle build issues on
  8847. multiple platforms, and is now redundant since we started
  8848. including git version identifiers. Closes ticket 14742.
  8849. - Tor no longer contains checks for ancient directory cache versions
  8850. that didn't know about microdescriptors.
  8851. - Tor no longer contains workarounds for stat files generated by
  8852. super-old versions of Tor that didn't choose guards sensibly.
  8853. Changes in version 0.2.4.27 - 2015-04-06
  8854. Tor 0.2.4.27 backports two fixes from 0.2.6.7 for security issues that
  8855. could be used by an attacker to crash hidden services, or crash clients
  8856. visiting hidden services. Hidden services should upgrade as soon as
  8857. possible; clients should upgrade whenever packages become available.
  8858. This release also backports a simple improvement to make hidden
  8859. services a bit less vulnerable to denial-of-service attacks.
  8860. o Major bugfixes (security, hidden service):
  8861. - Fix an issue that would allow a malicious client to trigger an
  8862. assertion failure and halt a hidden service. Fixes bug 15600;
  8863. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  8864. - Fix a bug that could cause a client to crash with an assertion
  8865. failure when parsing a malformed hidden service descriptor. Fixes
  8866. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  8867. o Minor features (DoS-resistance, hidden service):
  8868. - Introduction points no longer allow multiple INTRODUCE1 cells to
  8869. arrive on the same circuit. This should make it more expensive for
  8870. attackers to overwhelm hidden services with introductions.
  8871. Resolves ticket 15515.
  8872. Changes in version 0.2.5.12 - 2015-04-06
  8873. Tor 0.2.5.12 backports two fixes from 0.2.6.7 for security issues that
  8874. could be used by an attacker to crash hidden services, or crash clients
  8875. visiting hidden services. Hidden services should upgrade as soon as
  8876. possible; clients should upgrade whenever packages become available.
  8877. This release also backports a simple improvement to make hidden
  8878. services a bit less vulnerable to denial-of-service attacks.
  8879. o Major bugfixes (security, hidden service):
  8880. - Fix an issue that would allow a malicious client to trigger an
  8881. assertion failure and halt a hidden service. Fixes bug 15600;
  8882. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  8883. - Fix a bug that could cause a client to crash with an assertion
  8884. failure when parsing a malformed hidden service descriptor. Fixes
  8885. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  8886. o Minor features (DoS-resistance, hidden service):
  8887. - Introduction points no longer allow multiple INTRODUCE1 cells to
  8888. arrive on the same circuit. This should make it more expensive for
  8889. attackers to overwhelm hidden services with introductions.
  8890. Resolves ticket 15515.
  8891. Changes in version 0.2.6.7 - 2015-04-06
  8892. Tor 0.2.6.7 fixes two security issues that could be used by an
  8893. attacker to crash hidden services, or crash clients visiting hidden
  8894. services. Hidden services should upgrade as soon as possible; clients
  8895. should upgrade whenever packages become available.
  8896. This release also contains two simple improvements to make hidden
  8897. services a bit less vulnerable to denial-of-service attacks.
  8898. o Major bugfixes (security, hidden service):
  8899. - Fix an issue that would allow a malicious client to trigger an
  8900. assertion failure and halt a hidden service. Fixes bug 15600;
  8901. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  8902. - Fix a bug that could cause a client to crash with an assertion
  8903. failure when parsing a malformed hidden service descriptor. Fixes
  8904. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  8905. o Minor features (DoS-resistance, hidden service):
  8906. - Introduction points no longer allow multiple INTRODUCE1 cells to
  8907. arrive on the same circuit. This should make it more expensive for
  8908. attackers to overwhelm hidden services with introductions.
  8909. Resolves ticket 15515.
  8910. - Decrease the amount of reattempts that a hidden service performs
  8911. when its rendezvous circuits fail. This reduces the computational
  8912. cost for running a hidden service under heavy load. Resolves
  8913. ticket 11447.
  8914. Changes in version 0.2.6.6 - 2015-03-24
  8915. Tor 0.2.6.6 is the first stable release in the 0.2.6 series.
  8916. It adds numerous safety, security, correctness, and performance
  8917. improvements. Client programs can be configured to use more kinds of
  8918. sockets, AutomapHosts works better, the multithreading backend is
  8919. improved, cell transmission is refactored, test coverage is much
  8920. higher, more denial-of-service attacks are handled, guard selection is
  8921. improved to handle long-term guards better, pluggable transports
  8922. should work a bit better, and some annoying hidden service performance
  8923. bugs should be addressed.
  8924. o Minor bugfixes (portability):
  8925. - Use the correct datatype in the SipHash-2-4 function to prevent
  8926. compilers from assuming any sort of alignment. Fixes bug 15436;
  8927. bugfix on 0.2.5.3-alpha.
  8928. Changes in version 0.2.6.5-rc - 2015-03-18
  8929. Tor 0.2.6.5-rc is the second and (hopefully) last release candidate in
  8930. the 0.2.6. It fixes a small number of bugs found in 0.2.6.4-rc.
  8931. o Major bugfixes (client):
  8932. - Avoid crashing when making certain configuration option changes on
  8933. clients. Fixes bug 15245; bugfix on 0.2.6.3-alpha. Reported
  8934. by "anonym".
  8935. o Major bugfixes (pluggable transports):
  8936. - Initialize the extended OR Port authentication cookie before
  8937. launching pluggable transports. This prevents a race condition
  8938. that occurred when server-side pluggable transports would cache the
  8939. authentication cookie before it has been (re)generated. Fixes bug
  8940. 15240; bugfix on 0.2.5.1-alpha.
  8941. o Major bugfixes (portability):
  8942. - Do not crash on startup when running on Solaris. Fixes a bug
  8943. related to our fix for 9495; bugfix on 0.2.6.1-alpha. Reported
  8944. by "ruebezahl".
  8945. o Minor features (heartbeat):
  8946. - On relays, report how many connections we negotiated using each
  8947. version of the Tor link protocols. This information will let us
  8948. know if removing support for very old versions of the Tor
  8949. protocols is harming the network. Closes ticket 15212.
  8950. o Code simplification and refactoring:
  8951. - Refactor main loop to extract the 'loop' part. This makes it
  8952. easier to run Tor under Shadow. Closes ticket 15176.
  8953. Changes in version 0.2.5.11 - 2015-03-17
  8954. Tor 0.2.5.11 is the second stable release in the 0.2.5 series.
  8955. It backports several bugfixes from the 0.2.6 branch, including a
  8956. couple of medium-level security fixes for relays and exit nodes.
  8957. It also updates the list of directory authorities.
  8958. o Directory authority changes:
  8959. - Remove turtles as a directory authority.
  8960. - Add longclaw as a new (v3) directory authority. This implements
  8961. ticket 13296. This keeps the directory authority count at 9.
  8962. - The directory authority Faravahar has a new IP address. This
  8963. closes ticket 14487.
  8964. o Major bugfixes (crash, OSX, security):
  8965. - Fix a remote denial-of-service opportunity caused by a bug in
  8966. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  8967. in OSX 10.9.
  8968. o Major bugfixes (relay, stability, possible security):
  8969. - Fix a bug that could lead to a relay crashing with an assertion
  8970. failure if a buffer of exactly the wrong layout was passed to
  8971. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  8972. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  8973. - Do not assert if the 'data' pointer on a buffer is advanced to the
  8974. very end of the buffer; log a BUG message instead. Only assert if
  8975. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  8976. o Major bugfixes (exit node stability):
  8977. - Fix an assertion failure that could occur under high DNS load.
  8978. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  8979. diagnosed and fixed by "cypherpunks".
  8980. o Major bugfixes (Linux seccomp2 sandbox):
  8981. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  8982. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  8983. 0.2.5.1-alpha. Patch from "sanic".
  8984. o Minor features (controller):
  8985. - New "GETINFO bw-event-cache" to get information about recent
  8986. bandwidth events. Closes ticket 14128. Useful for controllers to
  8987. get recent bandwidth history after the fix for ticket 13988.
  8988. o Minor features (geoip):
  8989. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  8990. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  8991. Country database.
  8992. o Minor bugfixes (client, automapping):
  8993. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  8994. no value follows the option. Fixes bug 14142; bugfix on
  8995. 0.2.4.7-alpha. Patch by "teor".
  8996. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  8997. 14195; bugfix on 0.1.0.1-rc.
  8998. o Minor bugfixes (compilation):
  8999. - Build without warnings with the stock OpenSSL srtp.h header, which
  9000. has a duplicate declaration of SSL_get_selected_srtp_profile().
  9001. Fixes bug 14220; this is OpenSSL's bug, not ours.
  9002. o Minor bugfixes (directory authority):
  9003. - Allow directory authorities to fetch more data from one another if
  9004. they find themselves missing lots of votes. Previously, they had
  9005. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  9006. bugfix on 0.1.2.5-alpha.
  9007. - Enlarge the buffer to read bwauth generated files to avoid an
  9008. issue when parsing the file in dirserv_read_measured_bandwidths().
  9009. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  9010. o Minor bugfixes (statistics):
  9011. - Increase period over which bandwidth observations are aggregated
  9012. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  9013. o Minor bugfixes (preventative security, C safety):
  9014. - When reading a hexadecimal, base-32, or base-64 encoded value from
  9015. a string, always overwrite the whole output buffer. This prevents
  9016. some bugs where we would look at (but fortunately, not reveal)
  9017. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  9018. versions of Tor.
  9019. Changes in version 0.2.4.26 - 2015-03-17
  9020. Tor 0.2.4.26 includes an updated list of directory authorities. It
  9021. also backports a couple of stability and security bugfixes from 0.2.5
  9022. and beyond.
  9023. o Directory authority changes:
  9024. - Remove turtles as a directory authority.
  9025. - Add longclaw as a new (v3) directory authority. This implements
  9026. ticket 13296. This keeps the directory authority count at 9.
  9027. - The directory authority Faravahar has a new IP address. This
  9028. closes ticket 14487.
  9029. o Major bugfixes (exit node stability, also in 0.2.6.3-alpha):
  9030. - Fix an assertion failure that could occur under high DNS load.
  9031. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  9032. diagnosed and fixed by "cypherpunks".
  9033. o Major bugfixes (relay, stability, possible security, also in 0.2.6.4-rc):
  9034. - Fix a bug that could lead to a relay crashing with an assertion
  9035. failure if a buffer of exactly the wrong layout was passed to
  9036. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  9037. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  9038. - Do not assert if the 'data' pointer on a buffer is advanced to the
  9039. very end of the buffer; log a BUG message instead. Only assert if
  9040. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  9041. o Minor features (geoip):
  9042. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  9043. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  9044. Country database.
  9045. Changes in version 0.2.6.4-rc - 2015-03-09
  9046. Tor 0.2.6.4-alpha fixes an issue in the directory code that an
  9047. attacker might be able to use in order to crash certain Tor
  9048. directories. It also resolves some minor issues left over from, or
  9049. introduced in, Tor 0.2.6.3-alpha or earlier.
  9050. o Major bugfixes (crash, OSX, security):
  9051. - Fix a remote denial-of-service opportunity caused by a bug in
  9052. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  9053. in OSX 10.9.
  9054. o Major bugfixes (relay, stability, possible security):
  9055. - Fix a bug that could lead to a relay crashing with an assertion
  9056. failure if a buffer of exactly the wrong layout is passed to
  9057. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  9058. 0.2.0.10-alpha. Patch from "cypherpunks".
  9059. - Do not assert if the 'data' pointer on a buffer is advanced to the
  9060. very end of the buffer; log a BUG message instead. Only assert if
  9061. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  9062. o Major bugfixes (FreeBSD IPFW transparent proxy):
  9063. - Fix address detection with FreeBSD transparent proxies, when
  9064. "TransProxyType ipfw" is in use. Fixes bug 15064; bugfix
  9065. on 0.2.5.4-alpha.
  9066. o Major bugfixes (Linux seccomp2 sandbox):
  9067. - Pass IPPROTO_TCP rather than 0 to socket(), so that the Linux
  9068. seccomp2 sandbox doesn't fail. Fixes bug 14989; bugfix
  9069. on 0.2.6.3-alpha.
  9070. - Allow AF_UNIX hidden services to be used with the seccomp2
  9071. sandbox. Fixes bug 15003; bugfix on 0.2.6.3-alpha.
  9072. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  9073. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  9074. 0.2.5.1-alpha. Patch from "sanic".
  9075. o Minor features (controller):
  9076. - Messages about problems in the bootstrap process now include
  9077. information about the server we were trying to connect to when we
  9078. noticed the problem. Closes ticket 15006.
  9079. o Minor features (geoip):
  9080. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  9081. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  9082. Country database.
  9083. o Minor features (logs):
  9084. - Quiet some log messages in the heartbeat and at startup. Closes
  9085. ticket 14950.
  9086. o Minor bugfixes (certificate handling):
  9087. - If an authority operator accidentally makes a signing certificate
  9088. with a future publication time, do not discard its real signing
  9089. certificates. Fixes bug 11457; bugfix on 0.2.0.3-alpha.
  9090. - Remove any old authority certificates that have been superseded
  9091. for at least two days. Previously, we would keep superseded
  9092. certificates until they expired, if they were published close in
  9093. time to the certificate that superseded them. Fixes bug 11454;
  9094. bugfix on 0.2.1.8-alpha.
  9095. o Minor bugfixes (compilation):
  9096. - Fix a compilation warning on s390. Fixes bug 14988; bugfix
  9097. on 0.2.5.2-alpha.
  9098. - Fix a compilation warning on FreeBSD. Fixes bug 15151; bugfix
  9099. on 0.2.6.2-alpha.
  9100. o Minor bugfixes (testing):
  9101. - Fix endianness issues in unit test for resolve_my_address() to
  9102. have it pass on big endian systems. Fixes bug 14980; bugfix on
  9103. Tor 0.2.6.3-alpha.
  9104. - Avoid a side-effect in a tor_assert() in the unit tests. Fixes bug
  9105. 15188; bugfix on 0.1.2.3-alpha. Patch from Tom van der Woerdt.
  9106. - When running the new 'make test-stem' target, use the configured
  9107. python binary. Fixes bug 15037; bugfix on 0.2.6.3-alpha. Patch
  9108. from "cypherpunks".
  9109. - When running the zero-length-keys tests, do not use the default
  9110. torrc file. Fixes bug 15033; bugfix on 0.2.6.3-alpha. Reported
  9111. by "reezer".
  9112. o Directory authority IP change:
  9113. - The directory authority Faravahar has a new IP address. This
  9114. closes ticket 14487.
  9115. o Removed code:
  9116. - Remove some lingering dead code that once supported mempools.
  9117. Mempools were disabled by default in 0.2.5, and removed entirely
  9118. in 0.2.6.3-alpha. Closes more of ticket 14848; patch
  9119. by "cypherpunks".
  9120. Changes in version 0.2.6.3-alpha - 2015-02-19
  9121. Tor 0.2.6.3-alpha is the third (and hopefully final) alpha release in
  9122. the 0.2.6.x series. It introduces support for more kinds of sockets,
  9123. makes it harder to accidentally run an exit, improves our
  9124. multithreading backend, incorporates several fixes for the
  9125. AutomapHostsOnResolve option, and fixes numerous other bugs besides.
  9126. If no major regressions or security holes are found in this version,
  9127. the next version will be a release candidate.
  9128. o Deprecated versions:
  9129. - Tor relays older than 0.2.4.18-rc are no longer allowed to
  9130. advertise themselves on the network. Closes ticket 13555.
  9131. o Major features (security, unix domain sockets):
  9132. - Allow SocksPort to be an AF_UNIX Unix Domain Socket. Now high risk
  9133. applications can reach Tor without having to create AF_INET or
  9134. AF_INET6 sockets, meaning they can completely disable their
  9135. ability to make non-Tor network connections. To create a socket of
  9136. this type, use "SocksPort unix:/path/to/socket". Implements
  9137. ticket 12585.
  9138. - Support mapping hidden service virtual ports to AF_UNIX sockets.
  9139. The syntax is "HiddenServicePort 80 unix:/path/to/socket".
  9140. Implements ticket 11485.
  9141. o Major features (changed defaults):
  9142. - Prevent relay operators from unintentionally running exits: When a
  9143. relay is configured as an exit node, we now warn the user unless
  9144. the "ExitRelay" option is set to 1. We warn even more loudly if
  9145. the relay is configured with the default exit policy, since this
  9146. can indicate accidental misconfiguration. Setting "ExitRelay 0"
  9147. stops Tor from running as an exit relay. Closes ticket 10067.
  9148. o Major features (directory system):
  9149. - When downloading server- or microdescriptors from a directory
  9150. server, we no longer launch multiple simultaneous requests to the
  9151. same server. This reduces load on the directory servers,
  9152. especially when directory guards are in use. Closes ticket 9969.
  9153. - When downloading server- or microdescriptors over a tunneled
  9154. connection, do not limit the length of our requests to what the
  9155. Squid proxy is willing to handle. Part of ticket 9969.
  9156. - Authorities can now vote on the correct digests and latest
  9157. versions for different software packages. This allows packages
  9158. that include Tor to use the Tor authority system as a way to get
  9159. notified of updates and their correct digests. Implements proposal
  9160. 227. Closes ticket 10395.
  9161. o Major features (guards):
  9162. - Introduce the Guardfraction feature to improves load balancing on
  9163. guard nodes. Specifically, it aims to reduce the traffic gap that
  9164. guard nodes experience when they first get the Guard flag. This is
  9165. a required step if we want to increase the guard lifetime to 9
  9166. months or greater. Closes ticket 9321.
  9167. o Major features (performance):
  9168. - Make the CPU worker implementation more efficient by avoiding the
  9169. kernel and lengthening pipelines. The original implementation used
  9170. sockets to transfer data from the main thread to the workers, and
  9171. didn't allow any thread to be assigned more than a single piece of
  9172. work at once. The new implementation avoids communications
  9173. overhead by making requests in shared memory, avoiding kernel IO
  9174. where possible, and keeping more requests in flight at once.
  9175. Implements ticket 9682.
  9176. o Major features (relay):
  9177. - Raise the minimum acceptable configured bandwidth rate for bridges
  9178. to 50 KiB/sec and for relays to 75 KiB/sec. (The old values were
  9179. 20 KiB/sec.) Closes ticket 13822.
  9180. o Major bugfixes (exit node stability):
  9181. - Fix an assertion failure that could occur under high DNS load.
  9182. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  9183. diagnosed and fixed by "cypherpunks".
  9184. o Major bugfixes (mixed relay-client operation):
  9185. - When running as a relay and client at the same time (not
  9186. recommended), if we decide not to use a new guard because we want
  9187. to retry older guards, only close the locally-originating circuits
  9188. passing through that guard. Previously we would close all the
  9189. circuits through that guard. Fixes bug 9819; bugfix on
  9190. 0.2.1.1-alpha. Reported by "skruffy".
  9191. o Minor features (build):
  9192. - New --disable-system-torrc compile-time option to prevent Tor from
  9193. looking for the system-wide torrc or torrc-defaults files.
  9194. Resolves ticket 13037.
  9195. o Minor features (controller):
  9196. - Include SOCKS_USERNAME and SOCKS_PASSWORD values in controller
  9197. events so controllers can observe circuit isolation inputs. Closes
  9198. ticket 8405.
  9199. - ControlPort now supports the unix:/path/to/socket syntax as an
  9200. alternative to the ControlSocket option, for consistency with
  9201. SocksPort and HiddenServicePort. Closes ticket 14451.
  9202. - New "GETINFO bw-event-cache" to get information about recent
  9203. bandwidth events. Closes ticket 14128. Useful for controllers to
  9204. get recent bandwidth history after the fix for ticket 13988.
  9205. o Minor features (Denial of service resistance):
  9206. - Count the total number of bytes used storing hidden service
  9207. descriptors against the value of MaxMemInQueues. If we're low on
  9208. memory, and more than 20% of our memory is used holding hidden
  9209. service descriptors, free them until no more than 10% of our
  9210. memory holds hidden service descriptors. Free the least recently
  9211. fetched descriptors first. Resolves ticket 13806.
  9212. - When we have recently been under memory pressure (over 3/4 of
  9213. MaxMemInQueues is allocated), then allocate smaller zlib objects
  9214. for small requests. Closes ticket 11791.
  9215. o Minor features (geoip):
  9216. - Update geoip and geoip6 files to the January 7 2015 Maxmind
  9217. GeoLite2 Country database.
  9218. o Minor features (guard nodes):
  9219. - Reduce the time delay before saving guard status to disk from 10
  9220. minutes to 30 seconds (or from one hour to 10 minutes if
  9221. AvoidDiskWrites is set). Closes ticket 12485.
  9222. o Minor features (hidden service):
  9223. - Make Sybil attacks against hidden services harder by changing the
  9224. minimum time required to get the HSDir flag from 25 hours up to 96
  9225. hours. Addresses ticket 14149.
  9226. - New option "HiddenServiceAllowUnknownPorts" to allow hidden
  9227. services to disable the anti-scanning feature introduced in
  9228. 0.2.6.2-alpha. With this option not set, a connection to an
  9229. unlisted port closes the circuit. With this option set, only a
  9230. RELAY_DONE cell is sent. Closes ticket 14084.
  9231. o Minor features (interface):
  9232. - Implement "-f -" command-line option to read torrc configuration
  9233. from standard input, if you don't want to store the torrc file in
  9234. the file system. Implements feature 13865.
  9235. o Minor features (logging):
  9236. - Add a count of unique clients to the bridge heartbeat message.
  9237. Resolves ticket 6852.
  9238. - Suppress "router info incompatible with extra info" message when
  9239. reading extrainfo documents from cache. (This message got loud
  9240. around when we closed bug 9812 in 0.2.6.2-alpha.) Closes
  9241. ticket 13762.
  9242. - Elevate hidden service authorized-client message from DEBUG to
  9243. INFO. Closes ticket 14015.
  9244. o Minor features (stability):
  9245. - Add assertions in our hash-table iteration code to check for
  9246. corrupted values that could cause infinite loops. Closes
  9247. ticket 11737.
  9248. o Minor features (systemd):
  9249. - Various improvements and modernizations in systemd hardening
  9250. support. Closes ticket 13805. Patch from Craig Andrews.
  9251. o Minor features (testing networks):
  9252. - Drop the minimum RendPostPeriod on a testing network to 5 seconds,
  9253. and the default on a testing network to 2 minutes. Drop the
  9254. MIN_REND_INITIAL_POST_DELAY on a testing network to 5 seconds, but
  9255. keep the default on a testing network at 30 seconds. This reduces
  9256. HS bootstrap time to around 25 seconds. Also, change the default
  9257. time in test-network.sh to match. Closes ticket 13401. Patch
  9258. by "teor".
  9259. - Create TestingDirAuthVoteHSDir to correspond to
  9260. TestingDirAuthVoteExit/Guard. Ensures that authorities vote the
  9261. HSDir flag for the listed relays regardless of uptime or ORPort
  9262. connectivity. Respects the value of VoteOnHidServDirectoriesV2.
  9263. Partial implementation for ticket 14067. Patch by "teor".
  9264. o Minor features (tor2web mode):
  9265. - Introduce the config option Tor2webRendezvousPoints, which allows
  9266. clients in Tor2webMode to select a specific Rendezvous Point to be
  9267. used in HS circuits. This might allow better performance for
  9268. Tor2Web nodes. Implements ticket 12844.
  9269. o Minor bugfixes (client DNS):
  9270. - Report the correct cached DNS expiration times on SOCKS port or in
  9271. DNS replies. Previously, we would report everything as "never
  9272. expires." Fixes bug 14193; bugfix on 0.2.3.17-beta.
  9273. - Avoid a small memory leak when we find a cached answer for a
  9274. reverse DNS lookup in a client-side DNS cache. (Remember, client-
  9275. side DNS caching is off by default, and is not recommended.) Fixes
  9276. bug 14259; bugfix on 0.2.0.1-alpha.
  9277. o Minor bugfixes (client, automapping):
  9278. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  9279. no value follows the option. Fixes bug 14142; bugfix on
  9280. 0.2.4.7-alpha. Patch by "teor".
  9281. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  9282. 14195; bugfix on 0.1.0.1-rc.
  9283. - Prevent changes to other options from removing the wildcard value
  9284. "." from "AutomapHostsSuffixes". Fixes bug 12509; bugfix
  9285. on 0.2.0.1-alpha.
  9286. - Allow MapAddress and AutomapHostsOnResolve to work together when
  9287. an address is mapped into another address type (like .onion) that
  9288. must be automapped at resolve time. Fixes bug 7555; bugfix
  9289. on 0.2.0.1-alpha.
  9290. o Minor bugfixes (client, bridges):
  9291. - When we are using bridges and we had a network connectivity
  9292. problem, only retry connecting to our currently configured
  9293. bridges, not all bridges we know about and remember using. Fixes
  9294. bug 14216; bugfix on 0.2.2.17-alpha.
  9295. o Minor bugfixes (client, IPv6):
  9296. - Reject socks requests to literal IPv6 addresses when IPv6Traffic
  9297. flag is not set; and not because the NoIPv4Traffic flag was set.
  9298. Previously we'd looked at the NoIPv4Traffic flag for both types of
  9299. literal addresses. Fixes bug 14280; bugfix on 0.2.4.7-alpha.
  9300. o Minor bugfixes (compilation):
  9301. - The address of an array in the middle of a structure will always
  9302. be non-NULL. clang recognises this and complains. Disable the
  9303. tautologous and redundant check to silence this warning. Fixes bug
  9304. 14001; bugfix on 0.2.1.2-alpha.
  9305. - Avoid warnings when building with systemd 209 or later. Fixes bug
  9306. 14072; bugfix on 0.2.6.2-alpha. Patch from "h.venev".
  9307. - Compile correctly with (unreleased) OpenSSL 1.1.0 headers.
  9308. Addresses ticket 14188.
  9309. - Build without warnings with the stock OpenSSL srtp.h header, which
  9310. has a duplicate declaration of SSL_get_selected_srtp_profile().
  9311. Fixes bug 14220; this is OpenSSL's bug, not ours.
  9312. - Do not compile any code related to Tor2Web mode when Tor2Web mode
  9313. is not enabled at compile time. Previously, this code was included
  9314. in a disabled state. See discussion on ticket 12844.
  9315. - Remove the --disable-threads configure option again. It was
  9316. accidentally partially reintroduced in 29ac883606d6d. Fixes bug
  9317. 14819; bugfix on 0.2.6.2-alpha.
  9318. o Minor bugfixes (controller):
  9319. - Report "down" in response to the "GETINFO entry-guards" command
  9320. when relays are down with an unreachable_since value. Previously,
  9321. we would report "up". Fixes bug 14184; bugfix on 0.1.2.2-alpha.
  9322. - Avoid crashing on a malformed EXTENDCIRCUIT command. Fixes bug
  9323. 14116; bugfix on 0.2.2.9-alpha.
  9324. - Add a code for the END_CIRC_REASON_IP_NOW_REDUNDANT circuit close
  9325. reason. Fixes bug 14207; bugfix on 0.2.6.2-alpha.
  9326. o Minor bugfixes (directory authority):
  9327. - Allow directory authorities to fetch more data from one another if
  9328. they find themselves missing lots of votes. Previously, they had
  9329. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  9330. bugfix on 0.1.2.5-alpha.
  9331. - Do not attempt to download extrainfo documents which we will be
  9332. unable to validate with a matching server descriptor. Fixes bug
  9333. 13762; bugfix on 0.2.0.1-alpha.
  9334. - Fix a bug that was truncating AUTHDIR_NEWDESC events sent to the
  9335. control port. Fixes bug 14953; bugfix on 0.2.0.1-alpha.
  9336. - Enlarge the buffer to read bwauth generated files to avoid an
  9337. issue when parsing the file in dirserv_read_measured_bandwidths().
  9338. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  9339. o Minor bugfixes (file handling):
  9340. - Stop failing when key files are zero-length. Instead, generate new
  9341. keys, and overwrite the empty key files. Fixes bug 13111; bugfix
  9342. on all versions of Tor. Patch by "teor".
  9343. - Stop generating a fresh .old RSA onion key file when the .old file
  9344. is missing. Fixes part of 13111; bugfix on 0.0.6rc1.
  9345. - Avoid overwriting .old key files with empty key files.
  9346. - Skip loading zero-length extrainfo store, router store, stats,
  9347. state, and key files.
  9348. - Avoid crashing when trying to reload a torrc specified as a
  9349. relative path with RunAsDaemon turned on. Fixes bug 13397; bugfix
  9350. on 0.2.3.11-alpha.
  9351. o Minor bugfixes (hidden services):
  9352. - Close the introduction circuit when we have no more usable intro
  9353. points, instead of waiting for it to time out. This also ensures
  9354. that no follow-up HS descriptor fetch is triggered when the
  9355. circuit eventually times out. Fixes bug 14224; bugfix on 0.0.6.
  9356. - When fetching a hidden service descriptor for a down service that
  9357. was recently up, do not keep refetching until we try the same
  9358. replica twice in a row. Fixes bug 14219; bugfix on 0.2.0.10-alpha.
  9359. - Successfully launch Tor with a nonexistent hidden service
  9360. directory. Our fix for bug 13942 didn't catch this case. Fixes bug
  9361. 14106; bugfix on 0.2.6.2-alpha.
  9362. o Minor bugfixes (logging):
  9363. - Avoid crashing when there are more log domains than entries in
  9364. domain_list. Bugfix on 0.2.3.1-alpha.
  9365. - Add a string representation for LD_SCHED. Fixes bug 14740; bugfix
  9366. on 0.2.6.1-alpha.
  9367. - Don't log messages to stdout twice when starting up. Fixes bug
  9368. 13993; bugfix on 0.2.6.1-alpha.
  9369. o Minor bugfixes (parsing):
  9370. - Stop accepting milliseconds (or other junk) at the end of
  9371. descriptor publication times. Fixes bug 9286; bugfix on 0.0.2pre25.
  9372. - Support two-number and three-number version numbers correctly, in
  9373. case we change the Tor versioning system in the future. Fixes bug
  9374. 13661; bugfix on 0.0.8pre1.
  9375. o Minor bugfixes (path counting):
  9376. - When deciding whether the consensus lists any exit nodes, count
  9377. the number listed in the consensus, not the number we have
  9378. descriptors for. Fixes part of bug 14918; bugfix on 0.2.6.2-alpha.
  9379. - When deciding whether we have any exit nodes, only examine
  9380. ExitNodes when the ExitNodes option is actually set. Fixes part of
  9381. bug 14918; bugfix on 0.2.6.2-alpha.
  9382. - Get rid of redundant and possibly scary warnings that we are
  9383. missing directory information while we bootstrap. Fixes part of
  9384. bug 14918; bugfix on 0.2.6.2-alpha.
  9385. o Minor bugfixes (portability):
  9386. - Fix the ioctl()-based network interface lookup code so that it
  9387. will work on systems that have variable-length struct ifreq, for
  9388. example Mac OS X.
  9389. - Fix scheduler compilation on targets where char is unsigned. Fixes
  9390. bug 14764; bugfix on 0.2.6.2-alpha. Reported by Christian Kujau.
  9391. o Minor bugfixes (sandbox):
  9392. - Allow glibc fatal errors to be sent to stderr before Tor exits.
  9393. Previously, glibc would try to write them to /dev/tty, and the
  9394. sandbox would trap the call and make Tor exit prematurely. Fixes
  9395. bug 14759; bugfix on 0.2.5.1-alpha.
  9396. o Minor bugfixes (shutdown):
  9397. - When shutting down, always call event_del() on lingering read or
  9398. write events before freeing them. Otherwise, we risk double-frees
  9399. or read-after-frees in event_base_free(). Fixes bug 12985; bugfix
  9400. on 0.1.0.2-rc.
  9401. o Minor bugfixes (small memory leaks):
  9402. - Avoid leaking memory when using IPv6 virtual address mappings.
  9403. Fixes bug 14123; bugfix on 0.2.4.7-alpha. Patch by Tom van
  9404. der Woerdt.
  9405. o Minor bugfixes (statistics):
  9406. - Increase period over which bandwidth observations are aggregated
  9407. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  9408. o Minor bugfixes (systemd support):
  9409. - Fix detection and operation of systemd watchdog. Fixes part of bug
  9410. 14141; bugfix on 0.2.6.2-alpha. Patch from Tomasz Torcz.
  9411. - Run correctly under systemd with the RunAsDaemon option set. Fixes
  9412. part of bug 14141; bugfix on 0.2.5.7-rc. Patch from Tomasz Torcz.
  9413. - Inform the systemd supervisor about more changes in the Tor
  9414. process status. Implements part of ticket 14141. Patch from
  9415. Tomasz Torcz.
  9416. - Cause the "--disable-systemd" option to actually disable systemd
  9417. support. Fixes bug 14350; bugfix on 0.2.6.2-alpha. Patch
  9418. from "blueness".
  9419. o Minor bugfixes (TLS):
  9420. - Check more thoroughly throughout the TLS code for possible
  9421. unlogged TLS errors. Possible diagnostic or fix for bug 13319.
  9422. o Minor bugfixes (transparent proxy):
  9423. - Use getsockname, not getsockopt, to retrieve the address for a
  9424. TPROXY-redirected connection. Fixes bug 13796; bugfix
  9425. on 0.2.5.2-alpha.
  9426. o Code simplification and refactoring:
  9427. - Move fields related to isolating and configuring client ports into
  9428. a shared structure. Previously, they were duplicated across
  9429. port_cfg_t, listener_connection_t, and edge_connection_t. Failure
  9430. to copy them correctly had been the cause of at least one bug in
  9431. the past. Closes ticket 8546.
  9432. - Refactor the get_interface_addresses_raw() doom-function into
  9433. multiple smaller and simpler subfunctions. Cover the resulting
  9434. subfunctions with unit-tests. Fixes a significant portion of
  9435. issue 12376.
  9436. - Remove workaround in dirserv_thinks_router_is_hs_dir() that was
  9437. only for version <= 0.2.2.24 which is now deprecated. Closes
  9438. ticket 14202.
  9439. - Remove a test for a long-defunct broken version-one
  9440. directory server.
  9441. o Documentation:
  9442. - Adding section on OpenBSD to our TUNING document. Thanks to mmcc
  9443. for writing the OpenBSD-specific tips. Resolves ticket 13702.
  9444. - Make the tor-resolve documentation match its help string and its
  9445. options. Resolves part of ticket 14325.
  9446. - Log a more useful error message from tor-resolve when failing to
  9447. look up a hidden service address. Resolves part of ticket 14325.
  9448. o Downgraded warnings:
  9449. - Don't warn when we've attempted to contact a relay using the wrong
  9450. ntor onion key. Closes ticket 9635.
  9451. o Removed features:
  9452. - To avoid confusion with the "ExitRelay" option, "ExitNode" is no
  9453. longer silently accepted as an alias for "ExitNodes".
  9454. - The --enable-mempool and --enable-buf-freelists options, which
  9455. were originally created to work around bad malloc implementations,
  9456. no longer exist. They were off-by-default in 0.2.5. Closes
  9457. ticket 14848.
  9458. o Testing:
  9459. - Make the checkdir/perms test complete successfully even if the
  9460. global umask is not 022. Fixes bug 14215; bugfix on 0.2.6.2-alpha.
  9461. - Test that tor does not fail when key files are zero-length. Check
  9462. that tor generates new keys, and overwrites the empty key files.
  9463. - Test that tor generates new keys when keys are missing
  9464. (existing behavior).
  9465. - Test that tor does not overwrite key files that already contain
  9466. data (existing behavior). Tests bug 13111. Patch by "teor".
  9467. - New "make test-stem" target to run stem integration tests.
  9468. Requires that the "STEM_SOURCE_DIR" environment variable be set.
  9469. Closes ticket 14107.
  9470. - Make the test_cmdline_args.py script work correctly on Windows.
  9471. Patch from Gisle Vanem.
  9472. - Move the slower unit tests into a new "./src/test/test-slow"
  9473. binary that can be run independently of the other tests. Closes
  9474. ticket 13243.
  9475. - Avoid undefined behavior when sampling huge values from the
  9476. Laplace distribution. This made unittests fail on Raspberry Pi.
  9477. Bug found by Device. Fixes bug 14090; bugfix on 0.2.6.2-alpha.
  9478. Changes in version 0.2.6.2-alpha - 2014-12-31
  9479. Tor 0.2.6.2-alpha is the second alpha release in the 0.2.6.x series.
  9480. It introduces a major new backend for deciding when to send cells on
  9481. channels, which should lead down the road to big performance
  9482. increases. It contains security and statistics features for better
  9483. work on hidden services, and numerous bugfixes.
  9484. This release contains many new unit tests, along with major
  9485. performance improvements for running testing networks using Chutney.
  9486. Thanks to a series of patches contributed by "teor", testing networks
  9487. should now bootstrap in seconds, rather than minutes.
  9488. o Major features (relay, infrastructure):
  9489. - Complete revision of the code that relays use to decide which cell
  9490. to send next. Formerly, we selected the best circuit to write on
  9491. each channel, but we didn't select among channels in any
  9492. sophisticated way. Now, we choose the best circuits globally from
  9493. among those whose channels are ready to deliver traffic.
  9494. This patch implements a new inter-cmux comparison API, a global
  9495. high/low watermark mechanism and a global scheduler loop for
  9496. transmission prioritization across all channels as well as among
  9497. circuits on one channel. This schedule is currently tuned to
  9498. (tolerantly) avoid making changes in network performance, but it
  9499. should form the basis for major circuit performance increases in
  9500. the future. Code by Andrea; tuning by Rob Jansen; implements
  9501. ticket 9262.
  9502. o Major features (hidden services):
  9503. - Make HS port scanning more difficult by immediately closing the
  9504. circuit when a user attempts to connect to a nonexistent port.
  9505. Closes ticket 13667.
  9506. - Add a HiddenServiceStatistics option that allows Tor relays to
  9507. gather and publish statistics about the overall size and volume of
  9508. hidden service usage. Specifically, when this option is turned on,
  9509. an HSDir will publish an approximate number of hidden services
  9510. that have published descriptors to it the past 24 hours. Also, if
  9511. a relay has acted as a hidden service rendezvous point, it will
  9512. publish the approximate amount of rendezvous cells it has relayed
  9513. the past 24 hours. The statistics themselves are obfuscated so
  9514. that the exact values cannot be derived. For more details see
  9515. proposal 238, "Better hidden service stats from Tor relays". This
  9516. feature is currently disabled by default. Implements feature 13192.
  9517. o Major bugfixes (client, automap):
  9518. - Repair automapping with IPv6 addresses. This automapping should
  9519. have worked previously, but one piece of debugging code that we
  9520. inserted to detect a regression actually caused the regression to
  9521. manifest itself again. Fixes bug 13811 and bug 12831; bugfix on
  9522. 0.2.4.7-alpha. Diagnosed and fixed by Francisco Blas
  9523. Izquierdo Riera.
  9524. o Major bugfixes (hidden services):
  9525. - When closing an introduction circuit that was opened in parallel
  9526. with others, don't mark the introduction point as unreachable.
  9527. Previously, the first successful connection to an introduction
  9528. point would make the other introduction points get marked as
  9529. having timed out. Fixes bug 13698; bugfix on 0.0.6rc2.
  9530. o Directory authority changes:
  9531. - Remove turtles as a directory authority.
  9532. - Add longclaw as a new (v3) directory authority. This implements
  9533. ticket 13296. This keeps the directory authority count at 9.
  9534. o Major removed features:
  9535. - Tor clients no longer support connecting to hidden services
  9536. running on Tor 0.2.2.x and earlier; the Support022HiddenServices
  9537. option has been removed. (There shouldn't be any hidden services
  9538. running these versions on the network.) Closes ticket 7803.
  9539. o Minor features (client):
  9540. - Validate hostnames in SOCKS5 requests more strictly. If SafeSocks
  9541. is enabled, reject requests with IP addresses as hostnames.
  9542. Resolves ticket 13315.
  9543. o Minor features (controller):
  9544. - Add a "SIGNAL HEARTBEAT" controller command that tells Tor to
  9545. write an unscheduled heartbeat message to the log. Implements
  9546. feature 9503.
  9547. o Minor features (geoip):
  9548. - Update geoip and geoip6 to the November 15 2014 Maxmind GeoLite2
  9549. Country database.
  9550. o Minor features (hidden services):
  9551. - When re-enabling the network, don't try to build introduction
  9552. circuits until we have successfully built a circuit. This makes
  9553. hidden services come up faster when the network is re-enabled.
  9554. Patch from "akwizgran". Closes ticket 13447.
  9555. - When we fail to retrieve a hidden service descriptor, send the
  9556. controller an "HS_DESC FAILED" controller event. Implements
  9557. feature 13212.
  9558. - New HiddenServiceDirGroupReadable option to cause hidden service
  9559. directories and hostname files to be created group-readable. Patch
  9560. from "anon", David Stainton, and "meejah". Closes ticket 11291.
  9561. o Minor features (systemd):
  9562. - Where supported, when running with systemd, report successful
  9563. startup to systemd. Part of ticket 11016. Patch by Michael Scherer.
  9564. - When running with systemd, support systemd watchdog messages. Part
  9565. of ticket 11016. Patch by Michael Scherer.
  9566. o Minor features (transparent proxy):
  9567. - Update the transparent proxy option checks to allow for both ipfw
  9568. and pf on OS X. Closes ticket 14002.
  9569. - Use the correct option when using IPv6 with transparent proxy
  9570. support on Linux. Resolves 13808. Patch by Francisco Blas
  9571. Izquierdo Riera.
  9572. o Minor bugfixes (preventative security, C safety):
  9573. - When reading a hexadecimal, base-32, or base-64 encoded value from
  9574. a string, always overwrite the whole output buffer. This prevents
  9575. some bugs where we would look at (but fortunately, not reveal)
  9576. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  9577. versions of Tor.
  9578. - Clear all memory targeted by tor_addr_{to,from}_sockaddr(), not
  9579. just the part that's used. This makes it harder for data leak bugs
  9580. to occur in the event of other programming failures. Resolves
  9581. ticket 14041.
  9582. o Minor bugfixes (client, microdescriptors):
  9583. - Use a full 256 bits of the SHA256 digest of a microdescriptor when
  9584. computing which microdescriptors to download. This keeps us from
  9585. erroneous download behavior if two microdescriptor digests ever
  9586. have the same first 160 bits. Fixes part of bug 13399; bugfix
  9587. on 0.2.3.1-alpha.
  9588. - Reset a router's status if its microdescriptor digest changes,
  9589. even if the first 160 bits remain the same. Fixes part of bug
  9590. 13399; bugfix on 0.2.3.1-alpha.
  9591. o Minor bugfixes (compilation):
  9592. - Silence clang warnings under --enable-expensive-hardening,
  9593. including implicit truncation of 64 bit values to 32 bit, const
  9594. char assignment to self, tautological compare, and additional
  9595. parentheses around equality tests. Fixes bug 13577; bugfix
  9596. on 0.2.5.4-alpha.
  9597. - Fix a clang warning about checking whether an address in the
  9598. middle of a structure is NULL. Fixes bug 14001; bugfix
  9599. on 0.2.1.2-alpha.
  9600. o Minor bugfixes (hidden services):
  9601. - Correctly send a controller event when we find that a rendezvous
  9602. circuit has finished. Fixes bug 13936; bugfix on 0.1.1.5-alpha.
  9603. - Pre-check directory permissions for new hidden-services to avoid
  9604. at least one case of "Bug: Acting on config options left us in a
  9605. broken state. Dying." Fixes bug 13942; bugfix on 0.0.6pre1.
  9606. - When adding a new hidden service (for example, via SETCONF), Tor
  9607. no longer congratulates the user for running a relay. Fixes bug
  9608. 13941; bugfix on 0.2.6.1-alpha.
  9609. - When fetching hidden service descriptors, we now check not only
  9610. for whether we got the hidden service we had in mind, but also
  9611. whether we got the particular descriptors we wanted. This prevents
  9612. a class of inefficient but annoying DoS attacks by hidden service
  9613. directories. Fixes bug 13214; bugfix on 0.2.1.6-alpha. Reported
  9614. by "special".
  9615. o Minor bugfixes (Linux seccomp2 sandbox):
  9616. - Make transparent proxy support work along with the seccomp2
  9617. sandbox. Fixes part of bug 13808; bugfix on 0.2.5.1-alpha. Patch
  9618. by Francisco Blas Izquierdo Riera.
  9619. - Fix a memory leak in tor-resolve when running with the sandbox
  9620. enabled. Fixes bug 14050; bugfix on 0.2.5.9-rc.
  9621. o Minor bugfixes (logging):
  9622. - Downgrade warnings about RSA signature failures to info log level.
  9623. Emit a warning when an extra info document is found incompatible
  9624. with a corresponding router descriptor. Fixes bug 9812; bugfix
  9625. on 0.0.6rc3.
  9626. - Make connection_ap_handshake_attach_circuit() log the circuit ID
  9627. correctly. Fixes bug 13701; bugfix on 0.0.6.
  9628. o Minor bugfixes (misc):
  9629. - Stop allowing invalid address patterns like "*/24" that contain
  9630. both a wildcard address and a bit prefix length. This affects all
  9631. our address-range parsing code. Fixes bug 7484; bugfix
  9632. on 0.0.2pre14.
  9633. o Minor bugfixes (testing networks, fast startup):
  9634. - Allow Tor to build circuits using a consensus with no exits. If
  9635. the consensus has no exits (typical of a bootstrapping test
  9636. network), allow Tor to build circuits once enough descriptors have
  9637. been downloaded. This assists in bootstrapping a testing Tor
  9638. network. Fixes bug 13718; bugfix on 0.2.4.10-alpha. Patch
  9639. by "teor".
  9640. - When V3AuthVotingInterval is low, give a lower If-Modified-Since
  9641. header to directory servers. This allows us to obtain consensuses
  9642. promptly when the consensus interval is very short. This assists
  9643. in bootstrapping a testing Tor network. Fixes parts of bugs 13718
  9644. and 13963; bugfix on 0.2.0.3-alpha. Patch by "teor".
  9645. - Stop assuming that private addresses are local when checking
  9646. reachability in a TestingTorNetwork. Instead, when testing, assume
  9647. all OR connections are remote. (This is necessary due to many test
  9648. scenarios running all relays on localhost.) This assists in
  9649. bootstrapping a testing Tor network. Fixes bug 13924; bugfix on
  9650. 0.1.0.1-rc. Patch by "teor".
  9651. - Avoid building exit circuits from a consensus with no exits. Now
  9652. thanks to our fix for 13718, we accept a no-exit network as not
  9653. wholly lost, but we need to remember not to try to build exit
  9654. circuits on it. Closes ticket 13814; patch by "teor".
  9655. - Stop requiring exits to have non-zero bandwithcapacity in a
  9656. TestingTorNetwork. Instead, when TestingMinExitFlagThreshold is 0,
  9657. ignore exit bandwidthcapacity. This assists in bootstrapping a
  9658. testing Tor network. Fixes parts of bugs 13718 and 13839; bugfix
  9659. on 0.2.0.3-alpha. Patch by "teor".
  9660. - Add "internal" to some bootstrap statuses when no exits are
  9661. available. If the consensus does not contain Exits, Tor will only
  9662. build internal circuits. In this case, relevant statuses will
  9663. contain the word "internal" as indicated in the Tor control-
  9664. spec.txt. When bootstrap completes, Tor will be ready to build
  9665. internal circuits. If a future consensus contains Exits, exit
  9666. circuits may become available. Fixes part of bug 13718; bugfix on
  9667. 0.2.4.10-alpha. Patch by "teor".
  9668. - Decrease minimum consensus interval to 10 seconds when
  9669. TestingTorNetwork is set, or 5 seconds for the first consensus.
  9670. Fix assumptions throughout the code that assume larger intervals.
  9671. Fixes bugs 13718 and 13823; bugfix on 0.2.0.3-alpha. Patch
  9672. by "teor".
  9673. - Avoid excluding guards from path building in minimal test
  9674. networks, when we're in a test network and excluding guards would
  9675. exclude all relays. This typically occurs in incredibly small tor
  9676. networks, and those using "TestingAuthVoteGuard *". Fixes part of
  9677. bug 13718; bugfix on 0.1.1.11-alpha. Patch by "teor".
  9678. o Code simplification and refactoring:
  9679. - Stop using can_complete_circuits as a global variable; access it
  9680. with a function instead.
  9681. - Avoid using operators directly as macro arguments: this lets us
  9682. apply coccinelle transformations to our codebase more directly.
  9683. Closes ticket 13172.
  9684. - Combine the functions used to parse ClientTransportPlugin and
  9685. ServerTransportPlugin into a single function. Closes ticket 6456.
  9686. - Add inline functions and convenience macros for inspecting channel
  9687. state. Refactor the code to use convenience macros instead of
  9688. checking channel state directly. Fixes issue 7356.
  9689. - Document all members of was_router_added_t and rename
  9690. ROUTER_WAS_NOT_NEW to ROUTER_IS_ALREADY_KNOWN to make it less
  9691. confusable with ROUTER_WAS_TOO_OLD. Fixes issue 13644.
  9692. - In connection_exit_begin_conn(), use END_CIRC_REASON_TORPROTOCOL
  9693. constant instead of hardcoded value. Fixes issue 13840.
  9694. - Refactor our generic strmap and digestmap types into a single
  9695. implementation, so that we can add a new digest256map
  9696. type trivially.
  9697. o Documentation:
  9698. - Document the bridge-authority-only 'networkstatus-bridges' file.
  9699. Closes ticket 13713; patch from "tom".
  9700. - Fix typo in PredictedPortsRelevanceTime option description in
  9701. manpage. Resolves issue 13707.
  9702. - Stop suggesting that users specify relays by nickname: it isn't a
  9703. good idea. Also, properly cross-reference how to specify relays in
  9704. all parts of manual documenting options that take a list of
  9705. relays. Closes ticket 13381.
  9706. - Clarify the HiddenServiceDir option description in manpage to make
  9707. it clear that relative paths are taken with respect to the current
  9708. working directory. Also clarify that this behavior is not
  9709. guaranteed to remain indefinitely. Fixes issue 13913.
  9710. o Testing:
  9711. - New tests for many parts of channel, relay, and circuitmux
  9712. functionality. Code by Andrea; part of 9262.
  9713. - New tests for parse_transport_line(). Part of ticket 6456.
  9714. - In the unit tests, use chgrp() to change the group of the unit
  9715. test temporary directory to the current user, so that the sticky
  9716. bit doesn't interfere with tests that check directory groups.
  9717. Closes 13678.
  9718. - Add unit tests for resolve_my_addr(). Part of ticket 12376; patch
  9719. by 'rl1987'.
  9720. Changes in version 0.2.6.1-alpha - 2014-10-30
  9721. Tor 0.2.6.1-alpha is the first release in the Tor 0.2.6.x series. It
  9722. includes numerous code cleanups and new tests, and fixes a large
  9723. number of annoying bugs. Out-of-memory conditions are handled better
  9724. than in 0.2.5, pluggable transports have improved proxy support, and
  9725. clients now use optimistic data for contacting hidden services. Also,
  9726. we are now more robust to changes in what we consider a parseable
  9727. directory object, so that tightening restrictions does not have a risk
  9728. of introducing infinite download loops.
  9729. This is the first alpha release in a new series, so expect there to be
  9730. bugs. Users who would rather test out a more stable branch should stay
  9731. with 0.2.5.x for now.
  9732. o New compiler and system requirements:
  9733. - Tor 0.2.6.x requires that your compiler support more of the C99
  9734. language standard than before. The 'configure' script now detects
  9735. whether your compiler supports C99 mid-block declarations and
  9736. designated initializers. If it does not, Tor will not compile.
  9737. We may revisit this requirement if it turns out that a significant
  9738. number of people need to build Tor with compilers that don't
  9739. bother implementing a 15-year-old standard. Closes ticket 13233.
  9740. - Tor no longer supports systems without threading support. When we
  9741. began working on Tor, there were several systems that didn't have
  9742. threads, or where the thread support wasn't able to run the
  9743. threads of a single process on multiple CPUs. That no longer
  9744. holds: every system where Tor needs to run well now has threading
  9745. support. Resolves ticket 12439.
  9746. o Removed platform support:
  9747. - We no longer include special code to build on Windows CE; as far
  9748. as we know, nobody has used Tor on Windows CE in a very long time.
  9749. Closes ticket 11446.
  9750. o Major features (bridges):
  9751. - Expose the outgoing upstream HTTP/SOCKS proxy to pluggable
  9752. transports if they are configured via the "TOR_PT_PROXY"
  9753. environment variable. Implements proposal 232. Resolves
  9754. ticket 8402.
  9755. o Major features (client performance, hidden services):
  9756. - Allow clients to use optimistic data when connecting to a hidden
  9757. service, which should remove a round-trip from hidden service
  9758. initialization. See proposal 181 for details. Implements
  9759. ticket 13211.
  9760. o Major features (directory system):
  9761. - Upon receiving an unparseable directory object, if its digest
  9762. matches what we expected, then don't try to download it again.
  9763. Previously, when we got a descriptor we didn't like, we would keep
  9764. trying to download it over and over. Closes ticket 11243.
  9765. o Major features (sample torrc):
  9766. - Add a new, infrequently-changed "torrc.minimal". This file is
  9767. similar to torrc.sample, but it will change as infrequently as
  9768. possible, for the benefit of users whose systems prompt them for
  9769. intervention whenever a default configuration file is changed.
  9770. Making this change allows us to update torrc.sample to be a more
  9771. generally useful "sample torrc".
  9772. o Major bugfixes (directory authorities):
  9773. - Do not assign the HSDir flag to relays if they are not Valid, or
  9774. currently hibernating. Fixes 12573; bugfix on 0.2.0.10-alpha.
  9775. o Major bugfixes (directory bandwidth performance):
  9776. - Don't flush the zlib buffer aggressively when compressing
  9777. directory information for clients. This should save about 7% of
  9778. the bandwidth currently used for compressed descriptors and
  9779. microdescriptors. Fixes bug 11787; bugfix on 0.1.1.23.
  9780. o Minor features (security, memory wiping):
  9781. - Ensure we securely wipe keys from memory after
  9782. crypto_digest_get_digest and init_curve25519_keypair_from_file
  9783. have finished using them. Resolves ticket 13477.
  9784. o Minor features (security, out-of-memory handling):
  9785. - When handling an out-of-memory condition, allocate less memory for
  9786. temporary data structures. Fixes issue 10115.
  9787. - When handling an out-of-memory condition, consider more types of
  9788. buffers, including those on directory connections, and zlib
  9789. buffers. Resolves ticket 11792.
  9790. o Minor features:
  9791. - When identity keypair is generated for first time, log a
  9792. congratulatory message that links to the new relay lifecycle
  9793. document. Implements feature 10427.
  9794. o Minor features (client):
  9795. - Clients are now willing to send optimistic data (before they
  9796. receive a 'connected' cell) to relays of any version. (Relays
  9797. without support for optimistic data are no longer supported on the
  9798. Tor network.) Resolves ticket 13153.
  9799. o Minor features (directory authorities):
  9800. - Don't list relays with a bandwidth estimate of 0 in the consensus.
  9801. Implements a feature proposed during discussion of bug 13000.
  9802. - In tor-gencert, report an error if the user provides the same
  9803. argument more than once.
  9804. - If a directory authority can't find a best consensus method in the
  9805. votes that it holds, it now falls back to its favorite consensus
  9806. method. Previously, it fell back to method 1. Neither of these is
  9807. likely to get enough signatures, but "fall back to favorite"
  9808. doesn't require us to maintain support an obsolete consensus
  9809. method. Implements part of proposal 215.
  9810. o Minor features (logging):
  9811. - On Unix-like systems, you can now use named pipes as the target of
  9812. the Log option, and other options that try to append to files.
  9813. Closes ticket 12061. Patch from "carlo von lynX".
  9814. - When opening a log file at startup, send it every log message that
  9815. we generated between startup and opening it. Previously, log
  9816. messages that were generated before opening the log file were only
  9817. logged to stdout. Closes ticket 6938.
  9818. - Add a TruncateLogFile option to overwrite logs instead of
  9819. appending to them. Closes ticket 5583.
  9820. o Minor features (portability, Solaris):
  9821. - Threads are no longer disabled by default on Solaris; we believe
  9822. that the versions of Solaris with broken threading support are all
  9823. obsolete by now. Resolves ticket 9495.
  9824. o Minor features (relay):
  9825. - Re-check our address after we detect a changed IP address from
  9826. getsockname(). This ensures that the controller command "GETINFO
  9827. address" will report the correct value. Resolves ticket 11582.
  9828. Patch from "ra".
  9829. - A new AccountingRule option lets Relays set whether they'd like
  9830. AccountingMax to be applied separately to inbound and outbound
  9831. traffic, or applied to the sum of inbound and outbound traffic.
  9832. Resolves ticket 961. Patch by "chobe".
  9833. o Minor features (testing networks):
  9834. - Add the TestingDirAuthVoteExit option, which lists nodes to assign
  9835. the "Exit" flag regardless of their uptime, bandwidth, or exit
  9836. policy. TestingTorNetwork must be set for this option to have any
  9837. effect. Previously, authorities would take up to 35 minutes to
  9838. give nodes the Exit flag in a test network. Partially implements
  9839. ticket 13161.
  9840. o Minor features (validation):
  9841. - Check all date/time values passed to tor_timegm and
  9842. parse_rfc1123_time for validity, taking leap years into account.
  9843. Improves HTTP header validation. Implemented with bug 13476.
  9844. - In correct_tm(), limit the range of values returned by system
  9845. localtime(_r) and gmtime(_r) to be between the years 1 and 8099.
  9846. This means we don't have to deal with negative or too large dates,
  9847. even if a clock is wrong. Otherwise we might fail to read a file
  9848. written by us which includes such a date. Fixes bug 13476.
  9849. o Minor bugfixes (bridge clients):
  9850. - When configured to use a bridge without an identity digest (not
  9851. recommended), avoid launching an extra channel to it when
  9852. bootstrapping. Fixes bug 7733; bugfix on 0.2.4.4-alpha.
  9853. o Minor bugfixes (bridges):
  9854. - When DisableNetwork is set, do not launch pluggable transport
  9855. plugins, and if any are running, terminate them. Fixes bug 13213;
  9856. bugfix on 0.2.3.6-alpha.
  9857. o Minor bugfixes (C correctness):
  9858. - Fix several instances of possible integer overflow/underflow/NaN.
  9859. Fixes bug 13104; bugfix on 0.2.3.1-alpha and later. Patches
  9860. from "teor".
  9861. - In circuit_build_times_calculate_timeout() in circuitstats.c,
  9862. avoid dividing by zero in the pareto calculations. This traps
  9863. under clang's "undefined-trap" sanitizer. Fixes bug 13290; bugfix
  9864. on 0.2.2.2-alpha.
  9865. - Fix an integer overflow in format_time_interval(). Fixes bug
  9866. 13393; bugfix on 0.2.0.10-alpha.
  9867. - Set the correct day of year value when the system's localtime(_r)
  9868. or gmtime(_r) functions fail to set struct tm. Not externally
  9869. visible. Fixes bug 13476; bugfix on 0.0.2pre14.
  9870. - Avoid unlikely signed integer overflow in tor_timegm on systems
  9871. with 32-bit time_t. Fixes bug 13476; bugfix on 0.0.2pre14.
  9872. o Minor bugfixes (client):
  9873. - Fix smartlist_choose_node_by_bandwidth() so that relays with the
  9874. BadExit flag are not considered worthy candidates. Fixes bug
  9875. 13066; bugfix on 0.1.2.3-alpha.
  9876. - Use the consensus schedule for downloading consensuses, and not
  9877. the generic schedule. Fixes bug 11679; bugfix on 0.2.2.6-alpha.
  9878. - Handle unsupported or malformed SOCKS5 requests properly by
  9879. responding with the appropriate error message before closing the
  9880. connection. Fixes bugs 12971 and 13314; bugfix on 0.0.2pre13.
  9881. o Minor bugfixes (client, torrc):
  9882. - Stop modifying the value of our DirReqStatistics torrc option just
  9883. because we're not a bridge or relay. This bug was causing Tor
  9884. Browser users to write "DirReqStatistics 0" in their torrc files
  9885. as if they had chosen to change the config. Fixes bug 4244; bugfix
  9886. on 0.2.3.1-alpha.
  9887. - When GeoIPExcludeUnknown is enabled, do not incorrectly decide
  9888. that our options have changed every time we SIGHUP. Fixes bug
  9889. 9801; bugfix on 0.2.4.10-alpha. Patch from "qwerty1".
  9890. o Minor bugfixes (controller):
  9891. - Return an error when the second or later arguments of the
  9892. "setevents" controller command are invalid events. Previously we
  9893. would return success while silently skipping invalid events. Fixes
  9894. bug 13205; bugfix on 0.2.3.2-alpha. Reported by "fpxnns".
  9895. o Minor bugfixes (directory system):
  9896. - Always believe that v3 directory authorities serve extra-info
  9897. documents, whether they advertise "caches-extra-info" or not.
  9898. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  9899. - When running as a v3 directory authority, advertise that you serve
  9900. extra-info documents so that clients who want them can find them
  9901. from you too. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  9902. - Check the BRIDGE_DIRINFO flag bitwise rather than using equality.
  9903. Previously, directories offering BRIDGE_DIRINFO and some other
  9904. flag (i.e. microdescriptors or extrainfo) would be ignored when
  9905. looking for bridges. Partially fixes bug 13163; bugfix
  9906. on 0.2.0.7-alpha.
  9907. o Minor bugfixes (networking):
  9908. - Check for orconns and use connection_or_close_for_error() rather
  9909. than connection_mark_for_close() directly in the getsockopt()
  9910. failure case of connection_handle_write_impl(). Fixes bug 11302;
  9911. bugfix on 0.2.4.4-alpha.
  9912. o Minor bugfixes (relay):
  9913. - When generating our family list, remove spaces from around the
  9914. entries. Fixes bug 12728; bugfix on 0.2.1.7-alpha.
  9915. - If our previous bandwidth estimate was 0 bytes, allow publishing a
  9916. new relay descriptor immediately. Fixes bug 13000; bugfix
  9917. on 0.1.1.6-alpha.
  9918. o Minor bugfixes (testing networks):
  9919. - Fix TestingDirAuthVoteGuard to properly give out Guard flags in a
  9920. testing network. Fixes bug 13064; bugfix on 0.2.5.2-alpha.
  9921. - Stop using the default authorities in networks which provide both
  9922. AlternateDirAuthority and AlternateBridgeAuthority. Partially
  9923. fixes bug 13163; bugfix on 0.2.0.13-alpha.
  9924. o Minor bugfixes (testing):
  9925. - Stop spawn test failures due to a race condition between the
  9926. SIGCHLD handler updating the process status, and the test reading
  9927. it. Fixes bug 13291; bugfix on 0.2.3.3-alpha.
  9928. o Minor bugfixes (testing, Windows):
  9929. - Avoid passing an extra backslash when creating a temporary
  9930. directory for running the unit tests on Windows. Fixes bug 12392;
  9931. bugfix on 0.2.2.25-alpha. Patch from Gisle Vanem.
  9932. o Minor bugfixes (windows):
  9933. - Remove code to special-case handling of NTE_BAD_KEYSET when
  9934. acquiring windows CryptoAPI context. This error can't actually
  9935. occur for the parameters we're providing. Fixes bug 10816; bugfix
  9936. on 0.0.2pre26.
  9937. o Minor bugfixes (zlib):
  9938. - Avoid truncating a zlib stream when trying to finalize it with an
  9939. empty output buffer. Fixes bug 11824; bugfix on 0.1.1.23.
  9940. o Build fixes:
  9941. - Allow our configure script to build correctly with autoconf 2.62
  9942. again. Fixes bug 12693; bugfix on 0.2.5.2-alpha.
  9943. - Improve the error message from ./configure to make it clear that
  9944. when asciidoc has not been found, the user will have to either add
  9945. --disable-asciidoc argument or install asciidoc. Resolves
  9946. ticket 13228.
  9947. o Code simplification and refactoring:
  9948. - Change the entry_is_live() function to take named bitfield
  9949. elements instead of an unnamed list of booleans. Closes
  9950. ticket 12202.
  9951. - Refactor and unit-test entry_is_time_to_retry() in entrynodes.c.
  9952. Resolves ticket 12205.
  9953. - Use calloc and reallocarray functions instead of multiply-
  9954. then-malloc. This makes it less likely for us to fall victim to an
  9955. integer overflow attack when allocating. Resolves ticket 12855.
  9956. - Use the standard macro name SIZE_MAX, instead of our
  9957. own SIZE_T_MAX.
  9958. - Document usage of the NO_DIRINFO and ALL_DIRINFO flags clearly in
  9959. functions which take them as arguments. Replace 0 with NO_DIRINFO
  9960. in a function call for clarity. Seeks to prevent future issues
  9961. like 13163.
  9962. - Avoid 4 null pointer errors under clang static analysis by using
  9963. tor_assert() to prove that the pointers aren't null. Fixes
  9964. bug 13284.
  9965. - Rework the API of policies_parse_exit_policy() to use a bitmask to
  9966. represent parsing options, instead of a confusing mess of
  9967. booleans. Resolves ticket 8197.
  9968. - Introduce a helper function to parse ExitPolicy in
  9969. or_options_t structure.
  9970. o Documentation:
  9971. - Add a doc/TUNING document with tips for handling large numbers of
  9972. TCP connections when running busy Tor relay. Update the warning
  9973. message to point to this file when running out of sockets
  9974. operating system is allowing to use simultaneously. Resolves
  9975. ticket 9708.
  9976. o Removed features:
  9977. - We no longer remind the user about configuration options that have
  9978. been obsolete since 0.2.3.x or earlier. Patch by Adrien Bak.
  9979. - Remove our old, non-weighted bandwidth-based node selection code.
  9980. Previously, we used it as a fallback when we couldn't perform
  9981. weighted bandwidth-based node selection. But that would only
  9982. happen in the cases where we had no consensus, or when we had a
  9983. consensus generated by buggy or ancient directory authorities. In
  9984. either case, it's better to use the more modern, better maintained
  9985. algorithm, with reasonable defaults for the weights. Closes
  9986. ticket 13126.
  9987. - Remove the --disable-curve25519 configure option. Relays and
  9988. clients now are required to support curve25519 and the
  9989. ntor handshake.
  9990. - The old "StrictEntryNodes" and "StrictExitNodes" options, which
  9991. used to be deprecated synonyms for "StrictNodes", are now marked
  9992. obsolete. Resolves ticket 12226.
  9993. - Clients don't understand the BadDirectory flag in the consensus
  9994. anymore, and ignore it.
  9995. o Testing:
  9996. - Refactor the function that chooses guard nodes so that it can more
  9997. easily be tested; write some tests for it.
  9998. - Fix and re-enable the fgets_eagain unit test. Fixes bug 12503;
  9999. bugfix on 0.2.3.1-alpha. Patch from "cypherpunks."
  10000. - Create unit tests for format_time_interval(). With bug 13393.
  10001. - Add unit tests for tor_timegm signed overflow, tor_timegm and
  10002. parse_rfc1123_time validity checks, correct_tm year clamping. Unit
  10003. tests (visible) fixes in bug 13476.
  10004. - Add a "coverage-html" make target to generate HTML-visualized
  10005. coverage results when building with --enable-coverage. (Requires
  10006. lcov.) Patch from Kevin Murray.
  10007. - Enable the backtrace handler (where supported) when running the
  10008. unit tests.
  10009. - Revise all unit tests that used the legacy test_* macros to
  10010. instead use the recommended tt_* macros. This patch was generated
  10011. with coccinelle, to avoid manual errors. Closes ticket 13119.
  10012. o Distribution (systemd):
  10013. - systemd unit file: only allow tor to write to /var/lib/tor and
  10014. /var/log/tor. The rest of the filesystem is accessible for reading
  10015. only. Patch by intrigeri; resolves ticket 12751.
  10016. - systemd unit file: ensure that the process and all its children
  10017. can never gain new privileges. Patch by intrigeri; resolves
  10018. ticket 12939.
  10019. - systemd unit file: set up /var/run/tor as writable for the Tor
  10020. service. Patch by intrigeri; resolves ticket 13196.
  10021. o Removed features (directory authorities):
  10022. - Remove code that prevented authorities from listing Tor relays
  10023. affected by CVE-2011-2769 as guards. These relays are already
  10024. rejected altogether due to the minimum version requirement of
  10025. 0.2.3.16-alpha. Closes ticket 13152.
  10026. - The "AuthDirRejectUnlisted" option no longer has any effect, as
  10027. the fingerprints file (approved-routers) has been deprecated.
  10028. - Directory authorities do not support being Naming dirauths anymore.
  10029. The "NamingAuthoritativeDir" config option is now obsolete.
  10030. - Directory authorities do not support giving out the BadDirectory
  10031. flag anymore.
  10032. - Directory authorities no longer advertise or support consensus
  10033. methods 1 through 12 inclusive. These consensus methods were
  10034. obsolete and/or insecure: maintaining the ability to support them
  10035. served no good purpose. Implements part of proposal 215; closes
  10036. ticket 10163.
  10037. o Testing (test-network.sh):
  10038. - Stop using "echo -n", as some shells' built-in echo doesn't
  10039. support "-n". Instead, use "/bin/echo -n". Partially fixes
  10040. bug 13161.
  10041. - Stop an apparent test-network hang when used with make -j2. Fixes
  10042. bug 13331.
  10043. - Add a --delay option to test-network.sh, which configures the
  10044. delay before the chutney network tests for data transmission.
  10045. Partially implements ticket 13161.
  10046. Changes in version 0.2.5.10 - 2014-10-24
  10047. Tor 0.2.5.10 is the first stable release in the 0.2.5 series.
  10048. It adds several new security features, including improved
  10049. denial-of-service resistance for relays, new compiler hardening
  10050. options, and a system-call sandbox for hardened installations on Linux
  10051. (requires seccomp2). The controller protocol has several new features,
  10052. resolving IPv6 addresses should work better than before, and relays
  10053. should be a little more CPU-efficient. We've added support for more
  10054. OpenBSD and FreeBSD transparent proxy types. We've improved the build
  10055. system and testing infrastructure to allow unit testing of more parts
  10056. of the Tor codebase. Finally, we've addressed several nagging pluggable
  10057. transport usability issues, and included numerous other small bugfixes
  10058. and features mentioned below.
  10059. This release marks end-of-life for Tor 0.2.3.x; those Tor versions
  10060. have accumulated many known flaws; everyone should upgrade.
  10061. o Deprecated versions:
  10062. - Tor 0.2.3.x has reached end-of-life; it has received no patches or
  10063. attention for some while.
  10064. Changes in version 0.2.5.9-rc - 2014-10-20
  10065. Tor 0.2.5.9-rc is the third release candidate for the Tor 0.2.5.x
  10066. series. It disables SSL3 in response to the recent "POODLE" attack
  10067. (even though POODLE does not affect Tor). It also works around a crash
  10068. bug caused by some operating systems' response to the "POODLE" attack
  10069. (which does affect Tor). It also contains a few miscellaneous fixes.
  10070. o Major security fixes:
  10071. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  10072. today support TLS 1.0 or later, so we can safely turn off support
  10073. for this old (and insecure) protocol. Fixes bug 13426.
  10074. o Major bugfixes (openssl bug workaround):
  10075. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  10076. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
  10077. 13471. This is a workaround for an OpenSSL bug.
  10078. o Minor bugfixes:
  10079. - Disable the sandbox name resolver cache when running tor-resolve:
  10080. tor-resolve doesn't use the sandbox code, and turning it on was
  10081. breaking attempts to do tor-resolve on a non-default server on
  10082. Linux. Fixes bug 13295; bugfix on 0.2.5.3-alpha.
  10083. o Compilation fixes:
  10084. - Build and run correctly on systems like OpenBSD-current that have
  10085. patched OpenSSL to remove get_cipher_by_char and/or its
  10086. implementations. Fixes issue 13325.
  10087. o Downgraded warnings:
  10088. - Downgrade the severity of the 'unexpected sendme cell from client'
  10089. from 'warn' to 'protocol warning'. Closes ticket 8093.
  10090. Changes in version 0.2.4.25 - 2014-10-20
  10091. Tor 0.2.4.25 disables SSL3 in response to the recent "POODLE" attack
  10092. (even though POODLE does not affect Tor). It also works around a crash
  10093. bug caused by some operating systems' response to the "POODLE" attack
  10094. (which does affect Tor).
  10095. o Major security fixes (also in 0.2.5.9-rc):
  10096. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  10097. today support TLS 1.0 or later, so we can safely turn off support
  10098. for this old (and insecure) protocol. Fixes bug 13426.
  10099. o Major bugfixes (openssl bug workaround, also in 0.2.5.9-rc):
  10100. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  10101. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
  10102. 13471. This is a workaround for an OpenSSL bug.
  10103. Changes in version 0.2.5.8-rc - 2014-09-22
  10104. Tor 0.2.5.8-rc is the second release candidate for the Tor 0.2.5.x
  10105. series. It fixes a bug that affects consistency and speed when
  10106. connecting to hidden services, and it updates the location of one of
  10107. the directory authorities.
  10108. o Major bugfixes:
  10109. - Clients now send the correct address for their chosen rendezvous
  10110. point when trying to access a hidden service. They used to send
  10111. the wrong address, which would still work some of the time because
  10112. they also sent the identity digest of the rendezvous point, and if
  10113. the hidden service happened to try connecting to the rendezvous
  10114. point from a relay that already had a connection open to it,
  10115. the relay would reuse that connection. Now connections to hidden
  10116. services should be more robust and faster. Also, this bug meant
  10117. that clients were leaking to the hidden service whether they were
  10118. on a little-endian (common) or big-endian (rare) system, which for
  10119. some users might have reduced their anonymity. Fixes bug 13151;
  10120. bugfix on 0.2.1.5-alpha.
  10121. o Directory authority changes:
  10122. - Change IP address for gabelmoo (v3 directory authority).
  10123. Changes in version 0.2.4.24 - 2014-09-22
  10124. Tor 0.2.4.24 fixes a bug that affects consistency and speed when
  10125. connecting to hidden services, and it updates the location of one of
  10126. the directory authorities.
  10127. o Major bugfixes:
  10128. - Clients now send the correct address for their chosen rendezvous
  10129. point when trying to access a hidden service. They used to send
  10130. the wrong address, which would still work some of the time because
  10131. they also sent the identity digest of the rendezvous point, and if
  10132. the hidden service happened to try connecting to the rendezvous
  10133. point from a relay that already had a connection open to it,
  10134. the relay would reuse that connection. Now connections to hidden
  10135. services should be more robust and faster. Also, this bug meant
  10136. that clients were leaking to the hidden service whether they were
  10137. on a little-endian (common) or big-endian (rare) system, which for
  10138. some users might have reduced their anonymity. Fixes bug 13151;
  10139. bugfix on 0.2.1.5-alpha.
  10140. o Directory authority changes:
  10141. - Change IP address for gabelmoo (v3 directory authority).
  10142. o Minor features (geoip):
  10143. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  10144. Country database.
  10145. Changes in version 0.2.5.7-rc - 2014-09-11
  10146. Tor 0.2.5.7-rc fixes several regressions from earlier in the 0.2.5.x
  10147. release series, and some long-standing bugs related to ORPort reachability
  10148. testing and failure to send CREATE cells. It is the first release
  10149. candidate for the Tor 0.2.5.x series.
  10150. o Major bugfixes (client, startup):
  10151. - Start making circuits as soon as DisabledNetwork is turned off.
  10152. When Tor started with DisabledNetwork set, it would correctly
  10153. conclude that it shouldn't build circuits, but it would mistakenly
  10154. cache this conclusion, and continue believing it even when
  10155. DisableNetwork is set to 0. Fixes the bug introduced by the fix
  10156. for bug 11200; bugfix on 0.2.5.4-alpha.
  10157. - Resume expanding abbreviations for command-line options. The fix
  10158. for bug 4647 accidentally removed our hack from bug 586 that
  10159. rewrote HashedControlPassword to __HashedControlSessionPassword
  10160. when it appears on the commandline (which allowed the user to set
  10161. her own HashedControlPassword in the torrc file while the
  10162. controller generates a fresh session password for each run). Fixes
  10163. bug 12948; bugfix on 0.2.5.1-alpha.
  10164. - Warn about attempts to run hidden services and relays in the same
  10165. process: that's probably not a good idea. Closes ticket 12908.
  10166. o Major bugfixes (relay):
  10167. - Avoid queuing or sending destroy cells for circuit ID zero when we
  10168. fail to send a CREATE cell. Fixes bug 12848; bugfix on 0.0.8pre1.
  10169. Found and fixed by "cypherpunks".
  10170. - Fix ORPort reachability detection on relays running behind a
  10171. proxy, by correctly updating the "local" mark on the controlling
  10172. channel when changing the address of an or_connection_t after the
  10173. handshake. Fixes bug 12160; bugfix on 0.2.4.4-alpha.
  10174. o Minor features (bridge):
  10175. - Add an ExtORPortCookieAuthFileGroupReadable option to make the
  10176. cookie file for the ExtORPort g+r by default.
  10177. o Minor features (geoip):
  10178. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  10179. Country database.
  10180. o Minor bugfixes (logging):
  10181. - Reduce the log severity of the "Pluggable transport proxy does not
  10182. provide any needed transports and will not be launched." message,
  10183. since Tor Browser includes several ClientTransportPlugin lines in
  10184. its torrc-defaults file, leading every Tor Browser user who looks
  10185. at her logs to see these notices and wonder if they're dangerous.
  10186. Resolves bug 13124; bugfix on 0.2.5.3-alpha.
  10187. - Downgrade "Unexpected onionskin length after decryption" warning
  10188. to a protocol-warn, since there's nothing relay operators can do
  10189. about a client that sends them a malformed create cell. Resolves
  10190. bug 12996; bugfix on 0.0.6rc1.
  10191. - Log more specific warnings when we get an ESTABLISH_RENDEZVOUS
  10192. cell on a cannibalized or non-OR circuit. Resolves ticket 12997.
  10193. - When logging information about an EXTEND2 or EXTENDED2 cell, log
  10194. their names correctly. Fixes part of bug 12700; bugfix
  10195. on 0.2.4.8-alpha.
  10196. - When logging information about a relay cell whose command we don't
  10197. recognize, log its command as an integer. Fixes part of bug 12700;
  10198. bugfix on 0.2.1.10-alpha.
  10199. - Escape all strings from the directory connection before logging
  10200. them. Fixes bug 13071; bugfix on 0.1.1.15. Patch from "teor".
  10201. o Minor bugfixes (controller):
  10202. - Restore the functionality of CookieAuthFileGroupReadable. Fixes
  10203. bug 12864; bugfix on 0.2.5.1-alpha.
  10204. - Actually send TRANSPORT_LAUNCHED and HS_DESC events to
  10205. controllers. Fixes bug 13085; bugfix on 0.2.5.1-alpha. Patch
  10206. by "teor".
  10207. o Minor bugfixes (compilation):
  10208. - Fix compilation of test.h with MSVC. Patch from Gisle Vanem;
  10209. bugfix on 0.2.5.5-alpha.
  10210. - Make the nmake make files work again. Fixes bug 13081. Bugfix on
  10211. 0.2.5.1-alpha. Patch from "NewEraCracker".
  10212. - In routerlist_assert_ok(), don't take the address of a
  10213. routerinfo's cache_info member unless that routerinfo is non-NULL.
  10214. Fixes bug 13096; bugfix on 0.1.1.9-alpha. Patch by "teor".
  10215. - Fix a large number of false positive warnings from the clang
  10216. analyzer static analysis tool. This should make real warnings
  10217. easier for clang analyzer to find. Patch from "teor". Closes
  10218. ticket 13036.
  10219. o Distribution (systemd):
  10220. - Verify configuration file via ExecStartPre in the systemd unit
  10221. file. Patch from intrigeri; resolves ticket 12730.
  10222. - Explicitly disable RunAsDaemon in the systemd unit file. Our
  10223. current systemd unit uses "Type = simple", so systemd does not
  10224. expect tor to fork. If the user has "RunAsDaemon 1" in their
  10225. torrc, then things won't work as expected. This is e.g. the case
  10226. on Debian (and derivatives), since there we pass "--defaults-torrc
  10227. /usr/share/tor/tor-service-defaults-torrc" (that contains
  10228. "RunAsDaemon 1") by default. Patch by intrigeri; resolves
  10229. ticket 12731.
  10230. o Documentation:
  10231. - Adjust the URLs in the README to refer to the new locations of
  10232. several documents on the website. Fixes bug 12830. Patch from
  10233. Matt Pagan.
  10234. - Document 'reject6' and 'accept6' ExitPolicy entries. Resolves
  10235. ticket 12878.
  10236. Changes in version 0.2.5.6-alpha - 2014-07-28
  10237. Tor 0.2.5.6-alpha brings us a big step closer to slowing down the
  10238. risk from guard rotation, and fixes a variety of other issues to get
  10239. us closer to a release candidate.
  10240. o Major features (also in 0.2.4.23):
  10241. - Make the number of entry guards configurable via a new
  10242. NumEntryGuards consensus parameter, and the number of directory
  10243. guards configurable via a new NumDirectoryGuards consensus
  10244. parameter. Implements ticket 12688.
  10245. o Major bugfixes (also in 0.2.4.23):
  10246. - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
  10247. implementation that caused incorrect results on 32-bit
  10248. implementations when certain malformed inputs were used along with
  10249. a small class of private ntor keys. This bug does not currently
  10250. appear to allow an attacker to learn private keys or impersonate a
  10251. Tor server, but it could provide a means to distinguish 32-bit Tor
  10252. implementations from 64-bit Tor implementations. Fixes bug 12694;
  10253. bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
  10254. Adam Langley.
  10255. o Major bugfixes:
  10256. - Perform circuit cleanup operations even when circuit
  10257. construction operations are disabled (because the network is
  10258. disabled, or because there isn't enough directory information).
  10259. Previously, when we were not building predictive circuits, we
  10260. were not closing expired circuits either. Fixes bug 8387; bugfix on
  10261. 0.1.1.11-alpha. This bug became visible in 0.2.4.10-alpha when we
  10262. became more strict about when we have "enough directory information
  10263. to build circuits".
  10264. o Minor features:
  10265. - Authorities now assign the Guard flag to the fastest 25% of the
  10266. network (it used to be the fastest 50%). Also raise the consensus
  10267. weight that guarantees the Guard flag from 250 to 2000. For the
  10268. current network, this results in about 1100 guards, down from 2500.
  10269. This step paves the way for moving the number of entry guards
  10270. down to 1 (proposal 236) while still providing reasonable expected
  10271. performance for most users. Implements ticket 12690.
  10272. - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
  10273. Country database.
  10274. - Slightly enhance the diagnostic message for bug 12184.
  10275. o Minor bugfixes (also in 0.2.4.23):
  10276. - Warn and drop the circuit if we receive an inbound 'relay early'
  10277. cell. Those used to be normal to receive on hidden service circuits
  10278. due to bug 1038, but the buggy Tor versions are long gone from
  10279. the network so we can afford to resume watching for them. Resolves
  10280. the rest of bug 1038; bugfix on 0.2.1.19.
  10281. - Correct a confusing error message when trying to extend a circuit
  10282. via the control protocol but we don't know a descriptor or
  10283. microdescriptor for one of the specified relays. Fixes bug 12718;
  10284. bugfix on 0.2.3.1-alpha.
  10285. o Minor bugfixes:
  10286. - Fix compilation when building with bufferevents enabled. (This
  10287. configuration is still not expected to work, however.)
  10288. Fixes bugs 12438, 12474, 11578; bugfixes on 0.2.5.1-alpha and
  10289. 0.2.5.3-alpha. Patches from Anthony G. Basile and Sathyanarayanan
  10290. Gunasekaran.
  10291. - Compile correctly with builds and forks of OpenSSL (such as
  10292. LibreSSL) that disable compression. Fixes bug 12602; bugfix on
  10293. 0.2.1.1-alpha. Patch from "dhill".
  10294. Changes in version 0.2.4.23 - 2014-07-28
  10295. Tor 0.2.4.23 brings us a big step closer to slowing down the risk from
  10296. guard rotation, and also backports several important fixes from the
  10297. Tor 0.2.5 alpha release series.
  10298. o Major features:
  10299. - Clients now look at the "usecreatefast" consensus parameter to
  10300. decide whether to use CREATE_FAST or CREATE cells for the first hop
  10301. of their circuit. This approach can improve security on connections
  10302. where Tor's circuit handshake is stronger than the available TLS
  10303. connection security levels, but the tradeoff is more computational
  10304. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  10305. - Make the number of entry guards configurable via a new
  10306. NumEntryGuards consensus parameter, and the number of directory
  10307. guards configurable via a new NumDirectoryGuards consensus
  10308. parameter. Implements ticket 12688.
  10309. o Major bugfixes:
  10310. - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
  10311. implementation that caused incorrect results on 32-bit
  10312. implementations when certain malformed inputs were used along with
  10313. a small class of private ntor keys. This bug does not currently
  10314. appear to allow an attacker to learn private keys or impersonate a
  10315. Tor server, but it could provide a means to distinguish 32-bit Tor
  10316. implementations from 64-bit Tor implementations. Fixes bug 12694;
  10317. bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
  10318. Adam Langley.
  10319. o Minor bugfixes:
  10320. - Warn and drop the circuit if we receive an inbound 'relay early'
  10321. cell. Those used to be normal to receive on hidden service circuits
  10322. due to bug 1038, but the buggy Tor versions are long gone from
  10323. the network so we can afford to resume watching for them. Resolves
  10324. the rest of bug 1038; bugfix on 0.2.1.19.
  10325. - Correct a confusing error message when trying to extend a circuit
  10326. via the control protocol but we don't know a descriptor or
  10327. microdescriptor for one of the specified relays. Fixes bug 12718;
  10328. bugfix on 0.2.3.1-alpha.
  10329. - Avoid an illegal read from stack when initializing the TLS
  10330. module using a version of OpenSSL without all of the ciphers
  10331. used by the v2 link handshake. Fixes bug 12227; bugfix on
  10332. 0.2.4.8-alpha. Found by "starlight".
  10333. o Minor features:
  10334. - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
  10335. Country database.
  10336. Changes in version 0.2.5.5-alpha - 2014-06-18
  10337. Tor 0.2.5.5-alpha fixes a wide variety of remaining issues in the Tor
  10338. 0.2.5.x release series, including a couple of DoS issues, some
  10339. performance regressions, a large number of bugs affecting the Linux
  10340. seccomp2 sandbox code, and various other bugfixes. It also adds
  10341. diagnostic bugfixes for a few tricky issues that we're trying to
  10342. track down.
  10343. o Major features (security, traffic analysis resistance):
  10344. - Several major improvements to the algorithm used to decide when to
  10345. close TLS connections. Previous versions of Tor closed connections
  10346. at a fixed interval after the last time a non-padding cell was
  10347. sent over the connection, regardless of the target of the
  10348. connection. Now, we randomize the intervals by adding up to 50% of
  10349. their base value, we measure the length of time since connection
  10350. last had at least one circuit, and we allow connections to known
  10351. ORs to remain open a little longer (15 minutes instead of 3
  10352. minutes minimum). These changes should improve Tor's resistance
  10353. against some kinds of traffic analysis, and lower some overhead
  10354. from needlessly closed connections. Fixes ticket 6799.
  10355. Incidentally fixes ticket 12023; bugfix on 0.2.5.1-alpha.
  10356. o Major bugfixes (security, OOM, new since 0.2.5.4-alpha, also in 0.2.4.22):
  10357. - Fix a memory leak that could occur if a microdescriptor parse
  10358. fails during the tokenizing step. This bug could enable a memory
  10359. exhaustion attack by directory servers. Fixes bug 11649; bugfix
  10360. on 0.2.2.6-alpha.
  10361. o Major bugfixes (security, directory authorities):
  10362. - Directory authorities now include a digest of each relay's
  10363. identity key as a part of its microdescriptor.
  10364. This is a workaround for bug 11743 (reported by "cypherpunks"),
  10365. where Tor clients do not support receiving multiple
  10366. microdescriptors with the same SHA256 digest in the same
  10367. consensus. When clients receive a consensus like this, they only
  10368. use one of the relays. Without this fix, a hostile relay could
  10369. selectively disable some client use of target relays by
  10370. constructing a router descriptor with a different identity and the
  10371. same microdescriptor parameters and getting the authorities to
  10372. list it in a microdescriptor consensus. This fix prevents an
  10373. attacker from causing a microdescriptor collision, because the
  10374. router's identity is not forgeable.
  10375. o Major bugfixes (relay):
  10376. - Use a direct dirport connection when uploading non-anonymous
  10377. descriptors to the directory authorities. Previously, relays would
  10378. incorrectly use tunnel connections under a fairly wide variety of
  10379. circumstances. Fixes bug 11469; bugfix on 0.2.4.3-alpha.
  10380. - When a circuit accidentally has the same circuit ID for its
  10381. forward and reverse direction, correctly detect the direction of
  10382. cells using that circuit. Previously, this bug made roughly one
  10383. circuit in a million non-functional. Fixes bug 12195; this is a
  10384. bugfix on every version of Tor.
  10385. o Major bugfixes (client, pluggable transports):
  10386. - When managing pluggable transports, use OS notification facilities
  10387. to learn if they have crashed, and don't attempt to kill any
  10388. process that has already exited. Fixes bug 8746; bugfix
  10389. on 0.2.3.6-alpha.
  10390. o Minor features (diagnostic):
  10391. - When logging a warning because of bug 7164, additionally check the
  10392. hash table for consistency (as proposed on ticket 11737). This may
  10393. help diagnose bug 7164.
  10394. - When we log a heartbeat, log how many one-hop circuits we have
  10395. that are at least 30 minutes old, and log status information about
  10396. a few of them. This is an attempt to track down bug 8387.
  10397. - When encountering an unexpected CR while writing text to a file on
  10398. Windows, log the name of the file. Should help diagnosing
  10399. bug 11233.
  10400. - Give more specific warnings when a client notices that an onion
  10401. handshake has failed. Fixes ticket 9635.
  10402. - Add significant new logging code to attempt to diagnose bug 12184,
  10403. where relays seem to run out of available circuit IDs.
  10404. - Improve the diagnostic log message for bug 8387 even further to
  10405. try to improve our odds of figuring out why one-hop directory
  10406. circuits sometimes do not get closed.
  10407. o Minor features (security, memory management):
  10408. - Memory allocation tricks (mempools and buffer freelists) are now
  10409. disabled by default. You can turn them back on with
  10410. --enable-mempools and --enable-buf-freelists respectively. We're
  10411. disabling these features because malloc performance is good enough
  10412. on most platforms, and a similar feature in OpenSSL exacerbated
  10413. exploitation of the Heartbleed attack. Resolves ticket 11476.
  10414. o Minor features (security):
  10415. - Apply the secure SipHash-2-4 function to the hash table mapping
  10416. circuit IDs and channels to circuits. We missed this one when we
  10417. were converting all the other hash functions to use SipHash back
  10418. in 0.2.5.3-alpha. Resolves ticket 11750.
  10419. o Minor features (build):
  10420. - The configure script has a --disable-seccomp option to turn off
  10421. support for libseccomp on systems that have it, in case it (or
  10422. Tor's use of it) is broken. Resolves ticket 11628.
  10423. o Minor features (other):
  10424. - Update geoip and geoip6 to the June 4 2014 Maxmind GeoLite2
  10425. Country database.
  10426. o Minor bugfixes (security, new since 0.2.5.4-alpha, also in 0.2.4.22):
  10427. - When running a hidden service, do not allow TunneledDirConns 0;
  10428. this will keep the hidden service from running, and also
  10429. make it publish its descriptors directly over HTTP. Fixes bug 10849;
  10430. bugfix on 0.2.1.1-alpha.
  10431. o Minor bugfixes (performance):
  10432. - Avoid a bug where every successful connection made us recompute
  10433. the flag telling us whether we have sufficient information to
  10434. build circuits. Previously, we would forget our cached value
  10435. whenever we successfully opened a channel (or marked a router as
  10436. running or not running for any other reason), regardless of
  10437. whether we had previously believed the router to be running. This
  10438. forced us to run an expensive update operation far too often.
  10439. Fixes bug 12170; bugfix on 0.1.2.1-alpha.
  10440. - Avoid using tor_memeq() for checking relay cell integrity. This
  10441. removes a possible performance bottleneck. Fixes part of bug
  10442. 12169; bugfix on 0.2.1.31.
  10443. o Minor bugfixes (compilation):
  10444. - Fix compilation of test_status.c when building with MVSC. Bugfix
  10445. on 0.2.5.4-alpha. Patch from Gisle Vanem.
  10446. - Resolve GCC complaints on OpenBSD about discarding constness in
  10447. TO_{ORIGIN,OR}_CIRCUIT functions. Fixes part of bug 11633; bugfix
  10448. on 0.1.1.23. Patch from Dana Koch.
  10449. - Resolve clang complaints on OpenBSD with -Wshorten-64-to-32 due to
  10450. treatment of long and time_t as comparable types. Fixes part of
  10451. bug 11633. Patch from Dana Koch.
  10452. - Make Tor compile correctly with --disable-buf-freelists. Fixes bug
  10453. 11623; bugfix on 0.2.5.3-alpha.
  10454. - When deciding whether to build the 64-bit curve25519
  10455. implementation, detect platforms where we can compile 128-bit
  10456. arithmetic but cannot link it. Fixes bug 11729; bugfix on
  10457. 0.2.4.8-alpha. Patch from "conradev".
  10458. - Fix compilation when DNS_CACHE_DEBUG is enabled. Fixes bug 11761;
  10459. bugfix on 0.2.3.13-alpha. Found by "cypherpunks".
  10460. - Fix compilation with dmalloc. Fixes bug 11605; bugfix
  10461. on 0.2.4.10-alpha.
  10462. o Minor bugfixes (Directory server):
  10463. - When sending a compressed set of descriptors or microdescriptors,
  10464. make sure to finalize the zlib stream. Previously, we would write
  10465. all the compressed data, but if the last descriptor we wanted to
  10466. send was missing or too old, we would not mark the stream as
  10467. finished. This caused problems for decompression tools. Fixes bug
  10468. 11648; bugfix on 0.1.1.23.
  10469. o Minor bugfixes (Linux seccomp sandbox):
  10470. - Make the seccomp sandbox code compile under ARM Linux. Fixes bug
  10471. 11622; bugfix on 0.2.5.1-alpha.
  10472. - Avoid crashing when re-opening listener ports with the seccomp
  10473. sandbox active. Fixes bug 12115; bugfix on 0.2.5.1-alpha.
  10474. - Avoid crashing with the seccomp sandbox enabled along with
  10475. ConstrainedSockets. Fixes bug 12139; bugfix on 0.2.5.1-alpha.
  10476. - When we receive a SIGHUP with the sandbox enabled, correctly
  10477. support rotating our log files. Fixes bug 12032; bugfix
  10478. on 0.2.5.1-alpha.
  10479. - Avoid crash when running with sandboxing enabled and
  10480. DirReqStatistics not disabled. Fixes bug 12035; bugfix
  10481. on 0.2.5.1-alpha.
  10482. - Fix a "BUG" warning when trying to write bridge-stats files with
  10483. the Linux syscall sandbox filter enabled. Fixes bug 12041; bugfix
  10484. on 0.2.5.1-alpha.
  10485. - Prevent the sandbox from crashing on startup when run with the
  10486. --enable-expensive-hardening configuration option. Fixes bug
  10487. 11477; bugfix on 0.2.5.4-alpha.
  10488. - When running with DirPortFrontPage and sandboxing both enabled,
  10489. reload the DirPortFrontPage correctly when restarting. Fixes bug
  10490. 12028; bugfix on 0.2.5.1-alpha.
  10491. - Don't try to enable the sandbox when using the Tor binary to check
  10492. its configuration, hash a passphrase, or so on. Doing so was
  10493. crashing on startup for some users. Fixes bug 11609; bugfix
  10494. on 0.2.5.1-alpha.
  10495. - Avoid warnings when running with sandboxing and node statistics
  10496. enabled at the same time. Fixes part of 12064; bugfix on
  10497. 0.2.5.1-alpha. Patch from Michael Wolf.
  10498. - Avoid warnings when running with sandboxing enabled at the same
  10499. time as cookie authentication, hidden services, or directory
  10500. authority voting. Fixes part of 12064; bugfix on 0.2.5.1-alpha.
  10501. - Do not allow options that require calls to exec to be enabled
  10502. alongside the seccomp2 sandbox: they will inevitably crash. Fixes
  10503. bug 12043; bugfix on 0.2.5.1-alpha.
  10504. - Handle failures in getpwnam()/getpwuid() when running with the
  10505. User option set and the Linux syscall sandbox enabled. Fixes bug
  10506. 11946; bugfix on 0.2.5.1-alpha.
  10507. - Refactor the getaddrinfo workaround that the seccomp sandbox uses
  10508. to avoid calling getaddrinfo() after installing the sandbox
  10509. filters. Previously, it preloaded a cache with the IPv4 address
  10510. for our hostname, and nothing else. Now, it loads the cache with
  10511. every address that it used to initialize the Tor process. Fixes
  10512. bug 11970; bugfix on 0.2.5.1-alpha.
  10513. o Minor bugfixes (pluggable transports):
  10514. - Enable the ExtORPortCookieAuthFile option, to allow changing the
  10515. default location of the authentication token for the extended OR
  10516. Port as used by sever-side pluggable transports. We had
  10517. implemented this option before, but the code to make it settable
  10518. had been omitted. Fixes bug 11635; bugfix on 0.2.5.1-alpha.
  10519. - Avoid another 60-second delay when starting Tor in a pluggable-
  10520. transport-using configuration when we already have cached
  10521. descriptors for our bridges. Fixes bug 11965; bugfix
  10522. on 0.2.3.6-alpha.
  10523. o Minor bugfixes (client):
  10524. - Avoid "Tried to open a socket with DisableNetwork set" warnings
  10525. when starting a client with bridges configured and DisableNetwork
  10526. set. (Tor launcher starts Tor with DisableNetwork set the first
  10527. time it runs.) Fixes bug 10405; bugfix on 0.2.3.9-alpha.
  10528. o Minor bugfixes (testing):
  10529. - The Python parts of the test scripts now work on Python 3 as well
  10530. as Python 2, so systems where '/usr/bin/python' is Python 3 will
  10531. no longer have the tests break. Fixes bug 11608; bugfix
  10532. on 0.2.5.2-alpha.
  10533. - When looking for versions of python that we could run the tests
  10534. with, check for "python2.7" and "python3.3"; previously we were
  10535. only looking for "python", "python2", and "python3". Patch from
  10536. Dana Koch. Fixes bug 11632; bugfix on 0.2.5.2-alpha.
  10537. - Fix all valgrind warnings produced by the unit tests. There were
  10538. over a thousand memory leak warnings previously, mostly produced
  10539. by forgetting to free things in the unit test code. Fixes bug
  10540. 11618, bugfixes on many versions of Tor.
  10541. o Minor bugfixes (tor-fw-helper):
  10542. - Give a correct log message when tor-fw-helper fails to launch.
  10543. (Previously, we would say something like "tor-fw-helper sent us a
  10544. string we could not parse".) Fixes bug 9781; bugfix
  10545. on 0.2.4.2-alpha.
  10546. o Minor bugfixes (relay, threading):
  10547. - Check return code on spawn_func() in cpuworker code, so that we
  10548. don't think we've spawned a nonworking cpuworker and write junk to
  10549. it forever. Fix related to bug 4345; bugfix on all released Tor
  10550. versions. Found by "skruffy".
  10551. - Use a pthread_attr to make sure that spawn_func() cannot return an
  10552. error while at the same time launching a thread. Fix related to
  10553. bug 4345; bugfix on all released Tor versions. Reported
  10554. by "cypherpunks".
  10555. o Minor bugfixes (relay, oom prevention):
  10556. - Correctly detect the total available system memory. We tried to do
  10557. this in 0.2.5.4-alpha, but the code was set up to always return an
  10558. error value, even on success. Fixes bug 11805; bugfix
  10559. on 0.2.5.4-alpha.
  10560. o Minor bugfixes (relay, other):
  10561. - We now drop CREATE cells for already-existent circuit IDs and for
  10562. zero-valued circuit IDs, regardless of other factors that might
  10563. otherwise have called for DESTROY cells. Fixes bug 12191; bugfix
  10564. on 0.0.8pre1.
  10565. - Avoid an illegal read from stack when initializing the TLS module
  10566. using a version of OpenSSL without all of the ciphers used by the
  10567. v2 link handshake. Fixes bug 12227; bugfix on 0.2.4.8-alpha. Found
  10568. by "starlight".
  10569. - When rejecting DATA cells for stream_id zero, still count them
  10570. against the circuit's deliver window so that we don't fail to send
  10571. a SENDME. Fixes bug 11246; bugfix on 0.2.4.10-alpha.
  10572. o Minor bugfixes (logging):
  10573. - Fix a misformatted log message about delayed directory fetches.
  10574. Fixes bug 11654; bugfix on 0.2.5.3-alpha.
  10575. - Squelch a spurious LD_BUG message "No origin circuit for
  10576. successful SOCKS stream" in certain hidden service failure cases;
  10577. fixes bug 10616.
  10578. o Distribution:
  10579. - Include a tor.service file in contrib/dist for use with systemd.
  10580. Some distributions will be able to use this file unmodified;
  10581. others will need to tweak it, or write their own. Patch from Jamie
  10582. Nguyen; resolves ticket 8368.
  10583. o Documentation:
  10584. - Clean up several option names in the manpage to match their real
  10585. names, add the missing documentation for a couple of testing and
  10586. directory authority options, remove the documentation for a
  10587. V2-directory fetching option that no longer exists. Resolves
  10588. ticket 11634.
  10589. - Correct the documentation so that it lists the correct directory
  10590. for the stats files. (They are in a subdirectory called "stats",
  10591. not "status".)
  10592. - In the manpage, move more authority-only options into the
  10593. directory authority section so that operators of regular directory
  10594. caches don't get confused.
  10595. o Package cleanup:
  10596. - The contrib directory has been sorted and tidied. Before, it was
  10597. an unsorted dumping ground for useful and not-so-useful things.
  10598. Now, it is divided based on functionality, and the items which
  10599. seemed to be nonfunctional or useless have been removed. Resolves
  10600. ticket 8966; based on patches from "rl1987".
  10601. o Removed code:
  10602. - Remove /tor/dbg-stability.txt URL that was meant to help debug WFU
  10603. and MTBF calculations, but that nobody was using. Fixes ticket 11742.
  10604. - The TunnelDirConns and PreferTunnelledDirConns options no longer
  10605. exist; tunneled directory connections have been available since
  10606. 0.1.2.5-alpha, and turning them off is not a good idea. This is a
  10607. brute-force fix for 10849, where "TunnelDirConns 0" would break
  10608. hidden services.
  10609. Changes in version 0.2.4.22 - 2014-05-16
  10610. Tor 0.2.4.22 backports numerous high-priority fixes from the Tor 0.2.5
  10611. alpha release series. These include blocking all authority signing
  10612. keys that may have been affected by the OpenSSL "heartbleed" bug,
  10613. choosing a far more secure set of TLS ciphersuites by default, closing
  10614. a couple of memory leaks that could be used to run a target relay out
  10615. of RAM, and several others.
  10616. o Major features (security, backport from 0.2.5.4-alpha):
  10617. - Block authority signing keys that were used on authorities
  10618. vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
  10619. don't have any evidence that these keys _were_ compromised; we're
  10620. doing this to be prudent.) Resolves ticket 11464.
  10621. o Major bugfixes (security, OOM):
  10622. - Fix a memory leak that could occur if a microdescriptor parse
  10623. fails during the tokenizing step. This bug could enable a memory
  10624. exhaustion attack by directory servers. Fixes bug 11649; bugfix
  10625. on 0.2.2.6-alpha.
  10626. o Major bugfixes (TLS cipher selection, backport from 0.2.5.4-alpha):
  10627. - The relay ciphersuite list is now generated automatically based on
  10628. uniform criteria, and includes all OpenSSL ciphersuites with
  10629. acceptable strength and forward secrecy. Previously, we had left
  10630. some perfectly fine ciphersuites unsupported due to omission or
  10631. typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
  10632. 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
  10633. - Relays now trust themselves to have a better view than clients of
  10634. which TLS ciphersuites are better than others. (Thanks to bug
  10635. 11513, the relay list is now well-considered, whereas the client
  10636. list has been chosen mainly for anti-fingerprinting purposes.)
  10637. Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
  10638. CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
  10639. AES128. Resolves ticket 11528.
  10640. - Clients now try to advertise the same list of ciphersuites as
  10641. Firefox 28. This change enables selection of (fast) GCM
  10642. ciphersuites, disables some strange old ciphers, and stops
  10643. advertising the ECDH (not to be confused with ECDHE) ciphersuites.
  10644. Resolves ticket 11438.
  10645. o Minor bugfixes (configuration, security):
  10646. - When running a hidden service, do not allow TunneledDirConns 0:
  10647. trying to set that option together with a hidden service would
  10648. otherwise prevent the hidden service from running, and also make
  10649. it publish its descriptors directly over HTTP. Fixes bug 10849;
  10650. bugfix on 0.2.1.1-alpha.
  10651. o Minor bugfixes (controller, backport from 0.2.5.4-alpha):
  10652. - Avoid sending a garbage value to the controller when a circuit is
  10653. cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
  10654. o Minor bugfixes (exit relay, backport from 0.2.5.4-alpha):
  10655. - Stop leaking memory when we successfully resolve a PTR record.
  10656. Fixes bug 11437; bugfix on 0.2.4.7-alpha.
  10657. o Minor bugfixes (bridge client, backport from 0.2.5.4-alpha):
  10658. - Avoid 60-second delays in the bootstrapping process when Tor is
  10659. launching for a second time while using bridges. Fixes bug 9229;
  10660. bugfix on 0.2.0.3-alpha.
  10661. o Minor bugfixes (relays and bridges, backport from 0.2.5.4-alpha):
  10662. - Give the correct URL in the warning message when trying to run a
  10663. relay on an ancient version of Windows. Fixes bug 9393.
  10664. o Minor bugfixes (compilation):
  10665. - Fix a compilation error when compiling with --disable-curve25519.
  10666. Fixes bug 9700; bugfix on 0.2.4.17-rc.
  10667. o Minor bugfixes:
  10668. - Downgrade the warning severity for the the "md was still
  10669. referenced 1 node(s)" warning. Tor 0.2.5.4-alpha has better code
  10670. for trying to diagnose this bug, and the current warning in
  10671. earlier versions of tor achieves nothing useful. Addresses warning
  10672. from bug 7164.
  10673. o Minor features (log verbosity, backport from 0.2.5.4-alpha):
  10674. - When we run out of usable circuit IDs on a channel, log only one
  10675. warning for the whole channel, and describe how many circuits
  10676. there were on the channel. Fixes part of ticket 11553.
  10677. o Minor features (security, backport from 0.2.5.4-alpha):
  10678. - Decrease the lower limit of MaxMemInCellQueues to 256 MBytes (but
  10679. leave the default at 8GBytes), to better support Raspberry Pi
  10680. users. Fixes bug 9686; bugfix on 0.2.4.14-alpha.
  10681. o Documentation (backport from 0.2.5.4-alpha):
  10682. - Correctly document that we search for a system torrc file before
  10683. looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
  10684. 0.2.3.18-rc.
  10685. Changes in version 0.2.5.4-alpha - 2014-04-25
  10686. Tor 0.2.5.4-alpha includes several security and performance
  10687. improvements for clients and relays, including blacklisting authority
  10688. signing keys that were used while susceptible to the OpenSSL
  10689. "heartbleed" bug, fixing two expensive functions on busy relays,
  10690. improved TLS ciphersuite preference lists, support for run-time
  10691. hardening on compilers that support AddressSanitizer, and more work on
  10692. the Linux sandbox code.
  10693. There are also several usability fixes for clients (especially clients
  10694. that use bridges), two new TransPort protocols supported (one on
  10695. OpenBSD, one on FreeBSD), and various other bugfixes.
  10696. This release marks end-of-life for Tor 0.2.2.x; those Tor versions
  10697. have accumulated many known flaws; everyone should upgrade.
  10698. o Major features (security):
  10699. - If you don't specify MaxMemInQueues yourself, Tor now tries to
  10700. pick a good value based on your total system memory. Previously,
  10701. the default was always 8 GB. You can still override the default by
  10702. setting MaxMemInQueues yourself. Resolves ticket 11396.
  10703. - Block authority signing keys that were used on authorities
  10704. vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
  10705. don't have any evidence that these keys _were_ compromised; we're
  10706. doing this to be prudent.) Resolves ticket 11464.
  10707. o Major features (relay performance):
  10708. - Speed up server-side lookups of rendezvous and introduction point
  10709. circuits by using hashtables instead of linear searches. These
  10710. functions previously accounted between 3 and 7% of CPU usage on
  10711. some busy relays. Resolves ticket 9841.
  10712. - Avoid wasting CPU when extending a circuit over a channel that is
  10713. nearly out of circuit IDs. Previously, we would do a linear scan
  10714. over possible circuit IDs before finding one or deciding that we
  10715. had exhausted our possibilities. Now, we try at most 64 random
  10716. circuit IDs before deciding that we probably won't succeed. Fixes
  10717. a possible root cause of ticket 11553.
  10718. o Major features (seccomp2 sandbox, Linux only):
  10719. - The seccomp2 sandbox can now run a test network for multiple hours
  10720. without crashing. The sandbox is still experimental, and more bugs
  10721. will probably turn up. To try it, enable "Sandbox 1" on a Linux
  10722. host. Resolves ticket 11351.
  10723. - Strengthen sandbox code: the sandbox can now test the arguments
  10724. for rename(), and blocks _sysctl() entirely. Resolves another part
  10725. of ticket 11351.
  10726. - When the sandbox blocks a system call, it now tries to log a stack
  10727. trace before exiting. Resolves ticket 11465.
  10728. o Major bugfixes (TLS cipher selection):
  10729. - The relay ciphersuite list is now generated automatically based on
  10730. uniform criteria, and includes all OpenSSL ciphersuites with
  10731. acceptable strength and forward secrecy. Previously, we had left
  10732. some perfectly fine ciphersuites unsupported due to omission or
  10733. typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
  10734. 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
  10735. - Relays now trust themselves to have a better view than clients of
  10736. which TLS ciphersuites are better than others. (Thanks to bug
  10737. 11513, the relay list is now well-considered, whereas the client
  10738. list has been chosen mainly for anti-fingerprinting purposes.)
  10739. Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
  10740. CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
  10741. AES128. Resolves ticket 11528.
  10742. - Clients now try to advertise the same list of ciphersuites as
  10743. Firefox 28. This change enables selection of (fast) GCM
  10744. ciphersuites, disables some strange old ciphers, and stops
  10745. advertising the ECDH (not to be confused with ECDHE) ciphersuites.
  10746. Resolves ticket 11438.
  10747. o Major bugfixes (bridge client):
  10748. - Avoid 60-second delays in the bootstrapping process when Tor is
  10749. launching for a second time while using bridges. Fixes bug 9229;
  10750. bugfix on 0.2.0.3-alpha.
  10751. o Minor features (transparent proxy, *BSD):
  10752. - Support FreeBSD's ipfw firewall interface for TransPort ports on
  10753. FreeBSD. To enable it, set "TransProxyType ipfw". Resolves ticket
  10754. 10267; patch from "yurivict".
  10755. - Support OpenBSD's divert-to rules with the pf firewall for
  10756. transparent proxy ports. To enable it, set "TransProxyType
  10757. pf-divert". This allows Tor to run a TransPort transparent proxy
  10758. port on OpenBSD 4.4 or later without root privileges. See the
  10759. pf.conf(5) manual page for information on configuring pf to use
  10760. divert-to rules. Closes ticket 10896; patch from Dana Koch.
  10761. o Minor features (security):
  10762. - New --enable-expensive-hardening option to enable security
  10763. hardening options that consume nontrivial amounts of CPU and
  10764. memory. Right now, this includes AddressSanitizer and UbSan, which
  10765. are supported in newer versions of GCC and Clang. Closes ticket
  10766. 11477.
  10767. o Minor features (log verbosity):
  10768. - Demote the message that we give when a flushing connection times
  10769. out for too long from NOTICE to INFO. It was usually meaningless.
  10770. Resolves ticket 5286.
  10771. - Don't log so many notice-level bootstrapping messages at startup
  10772. about downloading descriptors. Previously, we'd log a notice
  10773. whenever we learned about more routers. Now, we only log a notice
  10774. at every 5% of progress. Fixes bug 9963.
  10775. - Warn less verbosely when receiving a malformed
  10776. ESTABLISH_RENDEZVOUS cell. Fixes ticket 11279.
  10777. - When we run out of usable circuit IDs on a channel, log only one
  10778. warning for the whole channel, and describe how many circuits
  10779. there were on the channel. Fixes part of ticket 11553.
  10780. o Minor features (relay):
  10781. - If a circuit timed out for at least 3 minutes, check if we have a
  10782. new external IP address, and publish a new descriptor with the new
  10783. IP address if it changed. Resolves ticket 2454.
  10784. o Minor features (controller):
  10785. - Make the entire exit policy available from the control port via
  10786. GETINFO exit-policy/*. Implements enhancement 7952. Patch from
  10787. "rl1987".
  10788. - Because of the fix for ticket 11396, the real limit for memory
  10789. usage may no longer match the configured MaxMemInQueues value. The
  10790. real limit is now exposed via GETINFO limits/max-mem-in-queues.
  10791. o Minor features (bridge client):
  10792. - Report a more useful failure message when we can't connect to a
  10793. bridge because we don't have the right pluggable transport
  10794. configured. Resolves ticket 9665. Patch from Fábio J. Bertinatto.
  10795. o Minor features (diagnostic):
  10796. - Add more log messages to diagnose bug 7164, which causes
  10797. intermittent "microdesc_free() called but md was still referenced"
  10798. warnings. We now include more information, to figure out why we
  10799. might be cleaning a microdescriptor for being too old if it's
  10800. still referenced by a live node_t object.
  10801. o Minor bugfixes (client, DNSPort):
  10802. - When using DNSPort, try to respond to AAAA requests with AAAA
  10803. answers. Previously, we hadn't looked at the request type when
  10804. deciding which answer type to prefer. Fixes bug 10468; bugfix on
  10805. 0.2.4.7-alpha.
  10806. - When receiving a DNS query for an unsupported record type, reply
  10807. with no answer rather than with a NOTIMPL error. This behavior
  10808. isn't correct either, but it will break fewer client programs, we
  10809. hope. Fixes bug 10268; bugfix on 0.2.0.1-alpha. Original patch
  10810. from "epoch".
  10811. o Minor bugfixes (exit relay):
  10812. - Stop leaking memory when we successfully resolve a PTR record.
  10813. Fixes bug 11437; bugfix on 0.2.4.7-alpha.
  10814. o Minor bugfixes (bridge client):
  10815. - Stop accepting bridge lines containing hostnames. Doing so would
  10816. cause clients to perform DNS requests on the hostnames, which was
  10817. not sensible behavior. Fixes bug 10801; bugfix on 0.2.0.1-alpha.
  10818. - Avoid a 60-second delay in the bootstrapping process when a Tor
  10819. client with pluggable transports re-reads its configuration at
  10820. just the wrong time. Re-fixes bug 11156; bugfix on 0.2.5.3-alpha.
  10821. o Minor bugfixes (client, logging during bootstrap):
  10822. - Warn only once if we start logging in an unsafe way. Previously,
  10823. we complain as many times as we had problems. Fixes bug 9870;
  10824. bugfix on 0.2.5.1-alpha.
  10825. - Only report the first fatal bootstrap error on a given OR
  10826. connection. This stops us from telling the controller bogus error
  10827. messages like "DONE". Fixes bug 10431; bugfix on 0.2.1.1-alpha.
  10828. - Be more helpful when trying to run sandboxed on Linux without
  10829. libseccomp. Instead of saying "Sandbox is not implemented on this
  10830. platform", we now explain that we need to be built with
  10831. libseccomp. Fixes bug 11543; bugfix on 0.2.5.1-alpha.
  10832. - Avoid generating spurious warnings when starting with
  10833. DisableNetwork enabled. Fixes bug 11200 and bug 10405; bugfix on
  10834. 0.2.3.9-alpha.
  10835. o Minor bugfixes (closing OR connections):
  10836. - If write_to_buf() in connection_write_to_buf_impl_() ever fails,
  10837. check if it's an or_connection_t and correctly call
  10838. connection_or_close_for_error() rather than
  10839. connection_mark_for_close() directly. Fixes bug 11304; bugfix on
  10840. 0.2.4.4-alpha.
  10841. - When closing all connections on setting DisableNetwork to 1, use
  10842. connection_or_close_normally() rather than closing OR connections
  10843. out from under the channel layer. Fixes bug 11306; bugfix on
  10844. 0.2.4.4-alpha.
  10845. o Minor bugfixes (controller):
  10846. - Avoid sending a garbage value to the controller when a circuit is
  10847. cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
  10848. o Minor bugfixes (tor-fw-helper):
  10849. - Allow tor-fw-helper to build again by adding src/ext to its
  10850. CPPFLAGS. Fixes bug 11296; bugfix on 0.2.5.3-alpha.
  10851. o Minor bugfixes (bridges):
  10852. - Avoid potential crashes or bad behavior when launching a
  10853. server-side managed proxy with ORPort or ExtORPort temporarily
  10854. disabled. Fixes bug 9650; bugfix on 0.2.3.16-alpha.
  10855. o Minor bugfixes (platform-specific):
  10856. - Fix compilation on Solaris, which does not have <endian.h>. Fixes
  10857. bug 11426; bugfix on 0.2.5.3-alpha.
  10858. - When dumping a malformed directory object to disk, save it in
  10859. binary mode on Windows, not text mode. Fixes bug 11342; bugfix on
  10860. 0.2.2.1-alpha.
  10861. - Don't report failures from make_socket_reuseable() on incoming
  10862. sockets on OSX: this can happen when incoming connections close
  10863. early. Fixes bug 10081.
  10864. o Minor bugfixes (trivial memory leaks):
  10865. - Fix a small memory leak when signing a directory object. Fixes bug
  10866. 11275; bugfix on 0.2.4.13-alpha.
  10867. - Free placeholder entries in our circuit table at exit; fixes a
  10868. harmless memory leak. Fixes bug 11278; bugfix on 0.2.5.1-alpha.
  10869. - Don't re-initialize a second set of OpenSSL mutexes when starting
  10870. up. Previously, we'd make one set of mutexes, and then immediately
  10871. replace them with another. Fixes bug 11726; bugfix on
  10872. 0.2.5.3-alpha.
  10873. - Resolve some memory leaks found by coverity in the unit tests, on
  10874. exit in tor-gencert, and on a failure to compute digests for our
  10875. own keys when generating a v3 networkstatus vote. These leaks
  10876. should never have affected anyone in practice.
  10877. o Minor bugfixes (hidden service):
  10878. - Only retry attempts to connect to a chosen rendezvous point 8
  10879. times, not 30. Fixes bug 4241; bugfix on 0.1.0.1-rc.
  10880. o Minor bugfixes (misc code correctness):
  10881. - Fix various instances of undefined behavior in channeltls.c,
  10882. tor_memmem(), and eventdns.c that would cause us to construct
  10883. pointers to memory outside an allocated object. (These invalid
  10884. pointers were not accessed, but C does not even allow them to
  10885. exist.) Fixes bug 10363; bugfixes on 0.1.1.1-alpha, 0.1.2.1-alpha,
  10886. 0.2.0.10-alpha, and 0.2.3.6-alpha. Reported by "bobnomnom".
  10887. - Use the AddressSanitizer and Ubsan sanitizers (in clang-3.4) to
  10888. fix some miscellaneous errors in our tests and codebase. Fixes bug
  10889. 11232. Bugfixes on versions back as far as 0.2.1.11-alpha.
  10890. - Always check return values for unlink, munmap, UnmapViewOfFile;
  10891. check strftime return values more often. In some cases all we can
  10892. do is report a warning, but this may help prevent deeper bugs from
  10893. going unnoticed. Closes ticket 8787; bugfixes on many, many tor
  10894. versions.
  10895. - Fix numerous warnings from the clang "scan-build" static analyzer.
  10896. Some of these are programming style issues; some of them are false
  10897. positives that indicated awkward code; some are undefined behavior
  10898. cases related to constructing (but not using) invalid pointers;
  10899. some are assumptions about API behavior; some are (harmlessly)
  10900. logging sizeof(ptr) bytes from a token when sizeof(*ptr) would be
  10901. correct; and one or two are genuine bugs that weren't reachable
  10902. from the rest of the program. Fixes bug 8793; bugfixes on many,
  10903. many tor versions.
  10904. o Documentation:
  10905. - Build the torify.1 manpage again. Previously, we were only trying
  10906. to build it when also building tor-fw-helper. That's why we didn't
  10907. notice that we'd broken the ability to build it. Fixes bug 11321;
  10908. bugfix on 0.2.5.1-alpha.
  10909. - Fix the layout of the SOCKSPort flags in the manpage. Fixes bug
  10910. 11061; bugfix on 0.2.4.7-alpha.
  10911. - Correctly document that we search for a system torrc file before
  10912. looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
  10913. 0.2.3.18-rc.
  10914. - Resolve warnings from Doxygen.
  10915. o Code simplifications and refactoring:
  10916. - Remove is_internal_IP() function. Resolves ticket 4645.
  10917. - Remove unused function circuit_dump_by_chan from circuitlist.c.
  10918. Closes issue 9107; patch from "marek".
  10919. - Change our use of the ENUM_BF macro to avoid declarations that
  10920. confuse Doxygen.
  10921. o Deprecated versions:
  10922. - Tor 0.2.2.x has reached end-of-life; it has received no patches or
  10923. attention for some while. Directory authorities no longer accept
  10924. descriptors from relays running any version of Tor prior to Tor
  10925. 0.2.3.16-alpha. Resolves ticket 11149.
  10926. o Testing:
  10927. - New macros in test.h to simplify writing mock-functions for unit
  10928. tests. Part of ticket 11507. Patch from Dana Koch.
  10929. - Complete tests for the status.c module. Resolves ticket 11507.
  10930. Patch from Dana Koch.
  10931. o Removed code:
  10932. - Remove all code for the long unused v1 directory protocol.
  10933. Resolves ticket 11070.
  10934. Changes in version 0.2.5.3-alpha - 2014-03-22
  10935. Tor 0.2.5.3-alpha includes all the fixes from 0.2.4.21. It contains
  10936. two new anti-DoS features for Tor relays, resolves a bug that kept
  10937. SOCKS5 support for IPv6 from working, fixes several annoying usability
  10938. issues for bridge users, and removes more old code for unused
  10939. directory formats.
  10940. The Tor 0.2.5.x release series is now in patch-freeze: no feature
  10941. patches not already written will be considered for inclusion in 0.2.5.x.
  10942. o Major features (relay security, DoS-resistance):
  10943. - When deciding whether we have run out of memory and we need to
  10944. close circuits, also consider memory allocated in buffers for
  10945. streams attached to each circuit.
  10946. This change, which extends an anti-DoS feature introduced in
  10947. 0.2.4.13-alpha and improved in 0.2.4.14-alpha, lets Tor exit relays
  10948. better resist more memory-based DoS attacks than before. Since the
  10949. MaxMemInCellQueues option now applies to all queues, it is renamed
  10950. to MaxMemInQueues. This feature fixes bug 10169.
  10951. - Avoid hash-flooding denial-of-service attacks by using the secure
  10952. SipHash-2-4 hash function for our hashtables. Without this
  10953. feature, an attacker could degrade performance of a targeted
  10954. client or server by flooding their data structures with a large
  10955. number of entries to be stored at the same hash table position,
  10956. thereby slowing down the Tor instance. With this feature, hash
  10957. table positions are derived from a randomized cryptographic key,
  10958. and an attacker cannot predict which entries will collide. Closes
  10959. ticket 4900.
  10960. - Decrease the lower limit of MaxMemInQueues to 256 MBytes (but leave
  10961. the default at 8GBytes), to better support Raspberry Pi users. Fixes
  10962. bug 9686; bugfix on 0.2.4.14-alpha.
  10963. o Minor features (bridges, pluggable transports):
  10964. - Bridges now write the SHA1 digest of their identity key
  10965. fingerprint (that is, a hash of a hash of their public key) to
  10966. notice-level logs, and to a new hashed-fingerprint file. This
  10967. information will help bridge operators look up their bridge in
  10968. Globe and similar tools. Resolves ticket 10884.
  10969. - Improve the message that Tor displays when running as a bridge
  10970. using pluggable transports without an Extended ORPort listener.
  10971. Also, log the message in the log file too. Resolves ticket 11043.
  10972. o Minor features (other):
  10973. - Add a new option, PredictedPortsRelevanceTime, to control how long
  10974. after having received a request to connect to a given port Tor
  10975. will try to keep circuits ready in anticipation of future requests
  10976. for that port. Patch from "unixninja92"; implements ticket 9176.
  10977. - Generate a warning if any ports are listed in the SocksPolicy,
  10978. DirPolicy, AuthDirReject, AuthDirInvalid, AuthDirBadDir, or
  10979. AuthDirBadExit options. (These options only support address
  10980. ranges.) Fixes part of ticket 11108.
  10981. - Update geoip and geoip6 to the February 7 2014 Maxmind GeoLite2
  10982. Country database.
  10983. o Minor bugfixes (new since 0.2.5.2-alpha, also in 0.2.4.21):
  10984. - Build without warnings under clang 3.4. (We have some macros that
  10985. define static functions only some of which will get used later in
  10986. the module. Starting with clang 3.4, these give a warning unless the
  10987. unused attribute is set on them.) Resolves ticket 10904.
  10988. - Fix build warnings about missing "a2x" comment when building the
  10989. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  10990. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  10991. o Minor bugfixes (client):
  10992. - Improve the log message when we can't connect to a hidden service
  10993. because all of the hidden service directory nodes hosting its
  10994. descriptor are excluded. Improves on our fix for bug 10722, which
  10995. was a bugfix on 0.2.0.10-alpha.
  10996. - Raise a control port warning when we fail to connect to all of
  10997. our bridges. Previously, we didn't inform the controller, and
  10998. the bootstrap process would stall. Fixes bug 11069; bugfix on
  10999. 0.2.1.2-alpha.
  11000. - Exit immediately when a process-owning controller exits.
  11001. Previously, tor relays would wait for a little while after their
  11002. controller exited, as if they had gotten an INT signal -- but this
  11003. was problematic, since there was no feedback for the user. To do a
  11004. clean shutdown, controllers should send an INT signal and give Tor
  11005. a chance to clean up. Fixes bug 10449; bugfix on 0.2.2.28-beta.
  11006. - Stop attempting to connect to bridges before our pluggable
  11007. transports are configured (harmless but resulted in some erroneous
  11008. log messages). Fixes bug 11156; bugfix on 0.2.3.2-alpha.
  11009. - Fix connections to IPv6 addresses over SOCKS5. Previously, we were
  11010. generating incorrect SOCKS5 responses, and confusing client
  11011. applications. Fixes bug 10987; bugfix on 0.2.4.7-alpha.
  11012. o Minor bugfixes (relays and bridges):
  11013. - Avoid crashing on a malformed resolv.conf file when running a
  11014. relay using Libevent 1. Fixes bug 8788; bugfix on 0.1.1.23.
  11015. - Non-exit relays no longer launch mock DNS requests to check for
  11016. DNS hijacking. This has been unnecessary since 0.2.1.7-alpha, when
  11017. non-exit relays stopped servicing DNS requests. Fixes bug 965;
  11018. bugfix on 0.2.1.7-alpha. Patch from Matt Pagan.
  11019. - Bridges now report complete directory request statistics. Related
  11020. to bug 5824; bugfix on 0.2.2.1-alpha.
  11021. - Bridges now never collect statistics that were designed for
  11022. relays. Fixes bug 5824; bugfix on 0.2.3.8-alpha.
  11023. - Stop giving annoying warning messages when we decide not to launch
  11024. a pluggable transport proxy that we don't need (because there are
  11025. no bridges configured to use it). Resolves ticket 5018; bugfix
  11026. on 0.2.5.2-alpha.
  11027. - Give the correct URL in the warning message when trying to run a
  11028. relay on an ancient version of Windows. Fixes bug 9393.
  11029. o Minor bugfixes (backtrace support):
  11030. - Support automatic backtraces on more platforms by using the
  11031. "-fasynchronous-unwind-tables" compiler option. This option is
  11032. needed for platforms like 32-bit Intel where "-fomit-frame-pointer"
  11033. is on by default and table generation is not. This doesn't yet
  11034. add Windows support; only Linux, OSX, and some BSDs are affected.
  11035. Reported by 'cypherpunks'; fixes bug 11047; bugfix on 0.2.5.2-alpha.
  11036. - Avoid strange behavior if two threads hit failed assertions at the
  11037. same time and both try to log backtraces at once. (Previously, if
  11038. this had happened, both threads would have stored their intermediate
  11039. results in the same buffer, and generated junk outputs.) Reported by
  11040. "cypherpunks". Fixes bug 11048; bugfix on 0.2.5.2-alpha.
  11041. - Fix a compiler warning in format_number_sigsafe(). Bugfix on
  11042. 0.2.5.2-alpha; patch from Nick Hopper.
  11043. o Minor bugfixes (unit tests):
  11044. - Fix a small bug in the unit tests that might have made the tests
  11045. call 'chmod' with an uninitialized bitmask. Fixes bug 10928;
  11046. bugfix on 0.2.5.1-alpha. Patch from Dana Koch.
  11047. o Removed code:
  11048. - Remove all remaining code related to version-0 hidden service
  11049. descriptors: they have not been in use since 0.2.2.1-alpha. Fixes
  11050. the rest of bug 10841.
  11051. o Documentation:
  11052. - Document in the manpage that "KBytes" may also be written as
  11053. "kilobytes" or "KB", that "Kbits" may also be written as
  11054. "kilobits", and so forth. Closes ticket 9222.
  11055. - Document that the ClientOnly config option overrides ORPort.
  11056. Our old explanation made ClientOnly sound as though it did
  11057. nothing at all. Resolves bug 9059.
  11058. - Explain that SocksPolicy, DirPolicy, and similar options don't
  11059. take port arguments. Fixes the other part of ticket 11108.
  11060. - Fix a comment about the rend_server_descriptor_t.protocols field
  11061. to more accurately describe its range. Also, make that field
  11062. unsigned, to more accurately reflect its usage. Fixes bug 9099;
  11063. bugfix on 0.2.1.5-alpha.
  11064. - Fix the manpage's description of HiddenServiceAuthorizeClient:
  11065. the maximum client name length is 16, not 19. Fixes bug 11118;
  11066. bugfix on 0.2.1.6-alpha.
  11067. o Code simplifications and refactoring:
  11068. - Get rid of router->address, since in all cases it was just the
  11069. string representation of router->addr. Resolves ticket 5528.
  11070. o Test infrastructure:
  11071. - Update to the latest version of tinytest.
  11072. - Improve the tinytest implementation of string operation tests so
  11073. that comparisons with NULL strings no longer crash the tests; they
  11074. now just fail, normally. Fixes bug 9004; bugfix on 0.2.2.4-alpha.
  11075. Changes in version 0.2.4.21 - 2014-02-28
  11076. Tor 0.2.4.21 further improves security against potential adversaries who
  11077. find breaking 1024-bit crypto doable, and backports several stability
  11078. and robustness patches from the 0.2.5 branch.
  11079. o Major features (client security):
  11080. - When we choose a path for a 3-hop circuit, make sure it contains
  11081. at least one relay that supports the NTor circuit extension
  11082. handshake. Otherwise, there is a chance that we're building
  11083. a circuit that's worth attacking by an adversary who finds
  11084. breaking 1024-bit crypto doable, and that chance changes the game
  11085. theory. Implements ticket 9777.
  11086. o Major bugfixes:
  11087. - Do not treat streams that fail with reason
  11088. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  11089. since it could also indicate an ENETUNREACH connection error. Fixes
  11090. part of bug 10777; bugfix on 0.2.4.8-alpha.
  11091. o Code simplification and refactoring:
  11092. - Remove data structures which were introduced to implement the
  11093. CellStatistics option: they are now redundant with the new timestamp
  11094. field in the regular packed_cell_t data structure, which we did
  11095. in 0.2.4.18-rc in order to resolve bug 9093. Resolves ticket 10870.
  11096. o Minor features:
  11097. - Always clear OpenSSL bignums before freeing them -- even bignums
  11098. that don't contain secrets. Resolves ticket 10793. Patch by
  11099. Florent Daigniere.
  11100. - Build without warnings under clang 3.4. (We have some macros that
  11101. define static functions only some of which will get used later in
  11102. the module. Starting with clang 3.4, these give a warning unless the
  11103. unused attribute is set on them.) Resolves ticket 10904.
  11104. - Update geoip and geoip6 files to the February 7 2014 Maxmind
  11105. GeoLite2 Country database.
  11106. o Minor bugfixes:
  11107. - Set the listen() backlog limit to the largest actually supported
  11108. on the system, not to the value in a header file. Fixes bug 9716;
  11109. bugfix on every released Tor.
  11110. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  11111. exit node as a NOROUTE error, not an INTERNAL error, since they
  11112. can apparently happen when trying to connect to the wrong sort
  11113. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  11114. - Fix build warnings about missing "a2x" comment when building the
  11115. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  11116. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  11117. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  11118. not entirely remove it from the connection lists. Fixes bug 9602;
  11119. bugfix on 0.2.4.4-alpha.
  11120. - Fix a segmentation fault in our benchmark code when running with
  11121. Fedora's OpenSSL package, or any other OpenSSL that provides
  11122. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  11123. - Turn "circuit handshake stats since last time" log messages into a
  11124. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  11125. o Documentation fixes:
  11126. - Document that all but one DirPort entry must have the NoAdvertise
  11127. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  11128. Changes in version 0.2.5.2-alpha - 2014-02-13
  11129. Tor 0.2.5.2-alpha includes all the fixes from 0.2.4.18-rc and 0.2.4.20,
  11130. like the "poor random number generation" fix and the "building too many
  11131. circuits" fix. It also further improves security against potential
  11132. adversaries who find breaking 1024-bit crypto doable, and launches
  11133. pluggable transports on demand (which gets us closer to integrating
  11134. pluggable transport support by default -- not to be confused with Tor
  11135. bundles enabling pluggable transports and bridges by default).
  11136. o Major features (client security):
  11137. - When we choose a path for a 3-hop circuit, make sure it contains
  11138. at least one relay that supports the NTor circuit extension
  11139. handshake. Otherwise, there is a chance that we're building
  11140. a circuit that's worth attacking by an adversary who finds
  11141. breaking 1024-bit crypto doable, and that chance changes the game
  11142. theory. Implements ticket 9777.
  11143. - Clients now look at the "usecreatefast" consensus parameter to
  11144. decide whether to use CREATE_FAST or CREATE cells for the first hop
  11145. of their circuit. This approach can improve security on connections
  11146. where Tor's circuit handshake is stronger than the available TLS
  11147. connection security levels, but the tradeoff is more computational
  11148. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  11149. o Major features (bridges):
  11150. - Don't launch pluggable transport proxies if we don't have any
  11151. bridges configured that would use them. Now we can list many
  11152. pluggable transports, and Tor will dynamically start one when it
  11153. hears a bridge address that needs it. Resolves ticket 5018.
  11154. - The bridge directory authority now assigns status flags (Stable,
  11155. Guard, etc) to bridges based on thresholds calculated over all
  11156. Running bridges. Now bridgedb can finally make use of its features
  11157. to e.g. include at least one Stable bridge in its answers. Fixes
  11158. bug 9859.
  11159. o Major features (other):
  11160. - Extend ORCONN controller event to include an "ID" parameter,
  11161. and add four new controller event types CONN_BW, CIRC_BW,
  11162. CELL_STATS, and TB_EMPTY that show connection and circuit usage.
  11163. The new events are emitted in private Tor networks only, with the
  11164. goal of being able to better track performance and load during
  11165. full-network simulations. Implements proposal 218 and ticket 7359.
  11166. - On some platforms (currently: recent OSX versions, glibc-based
  11167. platforms that support the ELF format, and a few other
  11168. Unix-like operating systems), Tor can now dump stack traces
  11169. when a crash occurs or an assertion fails. By default, traces
  11170. are dumped to stderr (if possible) and to any logs that are
  11171. reporting errors. Implements ticket 9299.
  11172. o Major bugfixes:
  11173. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  11174. not entirely remove it from the connection lists. Fixes bug 9602;
  11175. bugfix on 0.2.4.4-alpha.
  11176. - Do not treat streams that fail with reason
  11177. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  11178. since it could also indicate an ENETUNREACH connection error. Fixes
  11179. part of bug 10777; bugfix on 0.2.4.8-alpha.
  11180. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  11181. - Do not allow OpenSSL engines to replace the PRNG, even when
  11182. HardwareAccel is set. The only default builtin PRNG engine uses
  11183. the Intel RDRAND instruction to replace the entire PRNG, and
  11184. ignores all attempts to seed it with more entropy. That's
  11185. cryptographically stupid: the right response to a new alleged
  11186. entropy source is never to discard all previously used entropy
  11187. sources. Fixes bug 10402; works around behavior introduced in
  11188. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  11189. and "rl1987".
  11190. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  11191. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  11192. - Avoid launching spurious extra circuits when a stream is pending.
  11193. This fixes a bug where any circuit that _wasn't_ unusable for new
  11194. streams would be treated as if it were, causing extra circuits to
  11195. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  11196. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  11197. - No longer stop reading or writing on cpuworker connections when
  11198. our rate limiting buckets go empty. Now we should handle circuit
  11199. handshake requests more promptly. Resolves bug 9731.
  11200. - Stop trying to bootstrap all our directory information from
  11201. only our first guard. Discovered while fixing bug 9946; bugfix
  11202. on 0.2.4.8-alpha.
  11203. o Minor features (bridges, pluggable transports):
  11204. - Add threshold cutoffs to the networkstatus document created by
  11205. the Bridge Authority. Fixes bug 1117.
  11206. - On Windows, spawn background processes using the CREATE_NO_WINDOW
  11207. flag. Now Tor Browser Bundle 3.5 with pluggable transports enabled
  11208. doesn't pop up a blank console window. (In Tor Browser Bundle 2.x,
  11209. Vidalia set this option for us.) Implements ticket 10297.
  11210. o Minor features (security):
  11211. - Always clear OpenSSL bignums before freeing them -- even bignums
  11212. that don't contain secrets. Resolves ticket 10793. Patch by
  11213. Florent Daignière.
  11214. o Minor features (config options and command line):
  11215. - Add an --allow-missing-torrc commandline option that tells Tor to
  11216. run even if the configuration file specified by -f is not available.
  11217. Implements ticket 10060.
  11218. - Add support for the TPROXY transparent proxying facility on Linux.
  11219. See documentation for the new TransProxyType option for more
  11220. details. Implementation by "thomo". Closes ticket 10582.
  11221. o Minor features (controller):
  11222. - Add a new "HS_DESC" controller event that reports activities
  11223. related to hidden service descriptors. Resolves ticket 8510.
  11224. - New "DROPGUARDS" controller command to forget all current entry
  11225. guards. Not recommended for ordinary use, since replacing guards
  11226. too frequently makes several attacks easier. Resolves ticket 9934;
  11227. patch from "ra".
  11228. o Minor features (build):
  11229. - Assume that a user using ./configure --host wants to cross-compile,
  11230. and give an error if we cannot find a properly named
  11231. tool-chain. Add a --disable-tool-name-check option to proceed
  11232. nevertheless. Addresses ticket 9869. Patch by Benedikt Gollatz.
  11233. - If we run ./configure and the compiler recognizes -fstack-protector
  11234. but the linker rejects it, warn the user about a potentially missing
  11235. libssp package. Addresses ticket 9948. Patch from Benedikt Gollatz.
  11236. o Minor features (testing):
  11237. - If Python is installed, "make check" now runs extra tests beyond
  11238. the unit test scripts.
  11239. - When bootstrapping a test network, sometimes very few relays get
  11240. the Guard flag. Now a new option "TestingDirAuthVoteGuard" can
  11241. specify a set of relays which should be voted Guard regardless of
  11242. their uptime or bandwidth. Addresses ticket 9206.
  11243. o Minor features (log messages):
  11244. - When ServerTransportPlugin is set on a bridge, Tor can write more
  11245. useful statistics about bridge use in its extrainfo descriptors,
  11246. but only if the Extended ORPort ("ExtORPort") is set too. Add a
  11247. log message to inform the user in this case. Resolves ticket 9651.
  11248. - When receiving a new controller connection, log the origin address.
  11249. Resolves ticket 9698; patch from "sigpipe".
  11250. - When logging OpenSSL engine status at startup, log the status of
  11251. more engines. Fixes ticket 10043; patch from Joshua Datko.
  11252. - Turn "circuit handshake stats since last time" log messages into a
  11253. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  11254. o Minor features (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  11255. - Improve the circuit queue out-of-memory handler. Previously, when
  11256. we ran low on memory, we'd close whichever circuits had the most
  11257. queued cells. Now, we close those that have the *oldest* queued
  11258. cells, on the theory that those are most responsible for us
  11259. running low on memory. Based on analysis from a forthcoming paper
  11260. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  11261. - Generate bootstrapping status update events correctly when fetching
  11262. microdescriptors. Fixes bug 9927.
  11263. - Update to the October 2 2013 Maxmind GeoLite Country database.
  11264. o Minor bugfixes (clients):
  11265. - When closing a channel that has already been open, do not close
  11266. pending circuits that were waiting to connect to the same relay.
  11267. Fixes bug 9880; bugfix on 0.2.5.1-alpha. Thanks to skruffy for
  11268. finding this bug.
  11269. o Minor bugfixes (relays):
  11270. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  11271. exit node as a NOROUTE error, not an INTERNAL error, since they
  11272. can apparently happen when trying to connect to the wrong sort
  11273. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  11274. o Minor bugfixes (bridges):
  11275. - Fix a bug where the first connection works to a bridge that uses a
  11276. pluggable transport with client-side parameters, but we don't send
  11277. the client-side parameters on subsequent connections. (We don't
  11278. use any pluggable transports with client-side parameters yet,
  11279. but ScrambleSuit will soon become the first one.) Fixes bug 9162;
  11280. bugfix on 0.2.0.3-alpha. Based on a patch from "rl1987".
  11281. o Minor bugfixes (node selection):
  11282. - If ExcludeNodes is set, consider non-excluded hidden service
  11283. directory servers before excluded ones. Do not consider excluded
  11284. hidden service directory servers at all if StrictNodes is
  11285. set. (Previously, we would sometimes decide to connect to those
  11286. servers, and then realize before we initiated a connection that
  11287. we had excluded them.) Fixes bug 10722; bugfix on 0.2.0.10-alpha.
  11288. Reported by "mr-4".
  11289. - If we set the ExitNodes option but it doesn't include any nodes
  11290. that have the Exit flag, we would choose not to bootstrap. Now we
  11291. bootstrap so long as ExitNodes includes nodes which can exit to
  11292. some port. Fixes bug 10543; bugfix on 0.2.4.10-alpha.
  11293. o Minor bugfixes (controller and command-line):
  11294. - If changing a config option via "setconf" fails in a recoverable
  11295. way, we used to nonetheless write our new control ports to the
  11296. file described by the "ControlPortWriteToFile" option. Now we only
  11297. write out that file if we successfully switch to the new config
  11298. option. Fixes bug 5605; bugfix on 0.2.2.26-beta. Patch from "Ryman".
  11299. - When a command-line option such as --version or --help that
  11300. ordinarily implies --hush appears on the command line along with
  11301. --quiet, then actually obey --quiet. Previously, we obeyed --quiet
  11302. only if it appeared later on the command line. Fixes bug 9578;
  11303. bugfix on 0.2.5.1-alpha.
  11304. o Minor bugfixes (code correctness):
  11305. - Previously we used two temporary files when writing descriptors to
  11306. disk; now we only use one. Fixes bug 1376.
  11307. - Remove an erroneous (but impossible and thus harmless) pointer
  11308. comparison that would have allowed compilers to skip a bounds
  11309. check in channeltls.c. Fixes bugs 10313 and 9980; bugfix on
  11310. 0.2.0.10-alpha. Noticed by Jared L Wong and David Fifield.
  11311. - Fix an always-true assertion in pluggable transports code so it
  11312. actually checks what it was trying to check. Fixes bug 10046;
  11313. bugfix on 0.2.3.9-alpha. Found by "dcb".
  11314. o Minor bugfixes (protocol correctness):
  11315. - When receiving a VERSIONS cell with an odd number of bytes, close
  11316. the connection immediately since the cell is malformed. Fixes bug
  11317. 10365; bugfix on 0.2.0.10-alpha. Spotted by "bobnomnom"; fix by
  11318. "rl1987".
  11319. o Minor bugfixes (build):
  11320. - Restore the ability to compile Tor with V2_HANDSHAKE_SERVER
  11321. turned off (that is, without support for v2 link handshakes). Fixes
  11322. bug 4677; bugfix on 0.2.3.2-alpha. Patch from "piet".
  11323. - Fix compilation warnings and startup issues when running with
  11324. "Sandbox 1" and libseccomp-2.1.0. Fixes bug 10563; bugfix on
  11325. 0.2.5.1-alpha.
  11326. - Fix compilation on Solaris 9, which didn't like us having an
  11327. identifier named "sun". Fixes bug 10565; bugfix in 0.2.5.1-alpha.
  11328. o Minor bugfixes (testing):
  11329. - Fix a segmentation fault in our benchmark code when running with
  11330. Fedora's OpenSSL package, or any other OpenSSL that provides
  11331. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  11332. o Minor bugfixes (log messages):
  11333. - Fix a bug where clients using bridges would report themselves
  11334. as 50% bootstrapped even without a live consensus document.
  11335. Fixes bug 9922; bugfix on 0.2.1.1-alpha.
  11336. - Suppress a warning where, if there's only one directory authority
  11337. in the network, we would complain that votes and signatures cannot
  11338. be uploaded to other directory authorities. Fixes bug 10842;
  11339. bugfix on 0.2.2.26-beta.
  11340. - Report bootstrapping progress correctly when we're downloading
  11341. microdescriptors. We had updated our "do we have enough microdescs
  11342. to begin building circuits?" logic most recently in 0.2.4.10-alpha
  11343. (see bug 5956), but we left the bootstrap status event logic at
  11344. "how far through getting 1/4 of them are we?" Fixes bug 9958;
  11345. bugfix on 0.2.2.36, which is where they diverged (see bug 5343).
  11346. o Minor bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  11347. - Avoid a crash bug when starting with a corrupted microdescriptor
  11348. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  11349. - If we fail to dump a previously cached microdescriptor to disk, avoid
  11350. freeing duplicate data later on. Fixes bug 10423; bugfix on
  11351. 0.2.4.13-alpha. Spotted by "bobnomnom".
  11352. o Minor bugfixes on 0.2.4.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  11353. - Correctly log long IPv6 exit policies, instead of truncating them
  11354. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  11355. - Our default TLS ecdhe groups were backwards: we meant to be using
  11356. P224 for relays (for performance win) and P256 for bridges (since
  11357. it is more common in the wild). Instead we had it backwards. After
  11358. reconsideration, we decided that the default should be P256 on all
  11359. hosts, since its security is probably better, and since P224 is
  11360. reportedly used quite little in the wild. Found by "skruffy" on
  11361. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  11362. - Free directory authority certificate download statuses on exit
  11363. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  11364. o Minor bugfixes on 0.2.3.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  11365. - If the guard we choose first doesn't answer, we would try the
  11366. second guard, but once we connected to the second guard we would
  11367. abandon it and retry the first one, slowing down bootstrapping.
  11368. The fix is to treat all our initially chosen guards as acceptable
  11369. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  11370. - Fix an assertion failure that would occur when disabling the
  11371. ORPort setting on a running Tor process while accounting was
  11372. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  11373. - When examining the list of network interfaces to find our address,
  11374. do not consider non-running or disabled network interfaces. Fixes
  11375. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  11376. - Avoid an off-by-one error when checking buffer boundaries when
  11377. formatting the exit status of a pluggable transport helper.
  11378. This is probably not an exploitable bug, but better safe than
  11379. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  11380. Pedro Ribeiro.
  11381. o Removed code and features:
  11382. - Clients now reject any directory authority certificates lacking
  11383. a dir-key-crosscert element. These have been included since
  11384. 0.2.1.9-alpha, so there's no real reason for them to be optional
  11385. any longer. Completes proposal 157. Resolves ticket 10162.
  11386. - Remove all code that existed to support the v2 directory system,
  11387. since there are no longer any v2 directory authorities. Resolves
  11388. ticket 10758.
  11389. - Remove the HSAuthoritativeDir and AlternateHSAuthority torrc
  11390. options, which were used for designating authorities as "Hidden
  11391. service authorities". There has been no use of hidden service
  11392. authorities since 0.2.2.1-alpha, when we stopped uploading or
  11393. downloading v0 hidden service descriptors. Fixes bug 10881; also
  11394. part of a fix for bug 10841.
  11395. o Code simplification and refactoring:
  11396. - Remove some old fallback code designed to keep Tor clients working
  11397. in a network with only two working relays. Elsewhere in the code we
  11398. have long since stopped supporting such networks, so there wasn't
  11399. much point in keeping it around. Addresses ticket 9926.
  11400. - Reject 0-length EXTEND2 cells more explicitly. Fixes bug 10536;
  11401. bugfix on 0.2.4.8-alpha. Reported by "cypherpunks".
  11402. - Remove data structures which were introduced to implement the
  11403. CellStatistics option: they are now redundant with the addition
  11404. of a timestamp to the regular packed_cell_t data structure, which
  11405. we did in 0.2.4.18-rc in order to resolve ticket 9093. Implements
  11406. ticket 10870.
  11407. o Documentation (man page) fixes:
  11408. - Update manpage to describe some of the files you can expect to
  11409. find in Tor's DataDirectory. Addresses ticket 9839.
  11410. - Document that all but one DirPort entry must have the NoAdvertise
  11411. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  11412. o Documentation fixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  11413. - Clarify the usage and risks of setting the ContactInfo torrc line
  11414. for your relay or bridge. Resolves ticket 9854.
  11415. - Add anchors to the manpage so we can link to the html version of
  11416. the documentation for specific options. Resolves ticket 9866.
  11417. - Replace remaining references to DirServer in man page and
  11418. log entries. Resolves ticket 10124.
  11419. o Tool changes:
  11420. - Make the "tor-gencert" tool used by directory authority operators
  11421. create 2048-bit signing keys by default (rather than 1024-bit, since
  11422. 1024-bit is uncomfortably small these days). Addresses ticket 10324.
  11423. Changes in version 0.2.4.20 - 2013-12-22
  11424. Tor 0.2.4.20 fixes potentially poor random number generation for users
  11425. who 1) use OpenSSL 1.0.0 or later, 2) set "HardwareAccel 1" in their
  11426. torrc file, 3) have "Sandy Bridge" or "Ivy Bridge" Intel processors,
  11427. and 4) have no state file in their DataDirectory (as would happen on
  11428. first start). Users who generated relay or hidden service identity
  11429. keys in such a situation should discard them and generate new ones.
  11430. This release also fixes a logic error that caused Tor clients to build
  11431. many more preemptive circuits than they actually need.
  11432. o Major bugfixes:
  11433. - Do not allow OpenSSL engines to replace the PRNG, even when
  11434. HardwareAccel is set. The only default builtin PRNG engine uses
  11435. the Intel RDRAND instruction to replace the entire PRNG, and
  11436. ignores all attempts to seed it with more entropy. That's
  11437. cryptographically stupid: the right response to a new alleged
  11438. entropy source is never to discard all previously used entropy
  11439. sources. Fixes bug 10402; works around behavior introduced in
  11440. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  11441. and "rl1987".
  11442. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  11443. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  11444. - Avoid launching spurious extra circuits when a stream is pending.
  11445. This fixes a bug where any circuit that _wasn't_ unusable for new
  11446. streams would be treated as if it were, causing extra circuits to
  11447. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  11448. o Minor bugfixes:
  11449. - Avoid a crash bug when starting with a corrupted microdescriptor
  11450. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  11451. - If we fail to dump a previously cached microdescriptor to disk, avoid
  11452. freeing duplicate data later on. Fixes bug 10423; bugfix on
  11453. 0.2.4.13-alpha. Spotted by "bobnomnom".
  11454. Changes in version 0.2.4.19 - 2013-12-11
  11455. The Tor 0.2.4 release series is dedicated to the memory of Aaron Swartz
  11456. (1986-2013). Aaron worked on diverse projects including helping to guide
  11457. Creative Commons, playing a key role in stopping SOPA/PIPA, bringing
  11458. transparency to the U.S government's PACER documents, and contributing
  11459. design and development for Tor and Tor2Web. Aaron was one of the latest
  11460. martyrs in our collective fight for civil liberties and human rights,
  11461. and his death is all the more painful because he was one of us.
  11462. Tor 0.2.4.19, the first stable release in the 0.2.4 branch, features
  11463. a new circuit handshake and link encryption that use ECC to provide
  11464. better security and efficiency; makes relays better manage circuit
  11465. creation requests; uses "directory guards" to reduce client enumeration
  11466. risks; makes bridges collect and report statistics about the pluggable
  11467. transports they support; cleans up and improves our geoip database;
  11468. gets much closer to IPv6 support for clients, bridges, and relays; makes
  11469. directory authorities use measured bandwidths rather than advertised
  11470. ones when computing flags and thresholds; disables client-side DNS
  11471. caching to reduce tracking risks; and fixes a big bug in bridge
  11472. reachability testing. This release introduces two new design
  11473. abstractions in the code: a new "channel" abstraction between circuits
  11474. and or_connections to allow for implementing alternate relay-to-relay
  11475. transports, and a new "circuitmux" abstraction storing the queue of
  11476. circuits for a channel. The release also includes many stability,
  11477. security, and privacy fixes.
  11478. Changes in version 0.2.4.18-rc - 2013-11-16
  11479. Tor 0.2.4.18-rc is the fourth release candidate for the Tor 0.2.4.x
  11480. series. It takes a variety of fixes from the 0.2.5.x branch to improve
  11481. stability, performance, and better handling of edge cases.
  11482. o Major features:
  11483. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  11484. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  11485. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  11486. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  11487. them to solve bug 6033.)
  11488. o Major bugfixes:
  11489. - No longer stop reading or writing on cpuworker connections when
  11490. our rate limiting buckets go empty. Now we should handle circuit
  11491. handshake requests more promptly. Resolves bug 9731.
  11492. - If we are unable to save a microdescriptor to the journal, do not
  11493. drop it from memory and then reattempt downloading it. Fixes bug
  11494. 9645; bugfix on 0.2.2.6-alpha.
  11495. - Stop trying to bootstrap all our directory information from
  11496. only our first guard. Discovered while fixing bug 9946; bugfix
  11497. on 0.2.4.8-alpha.
  11498. - The new channel code sometimes lost track of in-progress circuits,
  11499. causing long-running clients to stop building new circuits. The
  11500. fix is to always call circuit_n_chan_done(chan, 0) from
  11501. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  11502. o Minor bugfixes (on 0.2.4.x):
  11503. - Correctly log long IPv6 exit policies, instead of truncating them
  11504. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  11505. - Our default TLS ecdhe groups were backwards: we meant to be using
  11506. P224 for relays (for performance win) and P256 for bridges (since
  11507. it is more common in the wild). Instead we had it backwards. After
  11508. reconsideration, we decided that the default should be P256 on all
  11509. hosts, since its security is probably better, and since P224 is
  11510. reportedly used quite little in the wild. Found by "skruffy" on
  11511. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  11512. - Free directory authority certificate download statuses on exit
  11513. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  11514. o Minor bugfixes (on 0.2.3.x and earlier):
  11515. - If the guard we choose first doesn't answer, we would try the
  11516. second guard, but once we connected to the second guard we would
  11517. abandon it and retry the first one, slowing down bootstrapping.
  11518. The fix is to treat all our initially chosen guards as acceptable
  11519. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  11520. - Fix an assertion failure that would occur when disabling the
  11521. ORPort setting on a running Tor process while accounting was
  11522. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  11523. - When examining the list of network interfaces to find our address,
  11524. do not consider non-running or disabled network interfaces. Fixes
  11525. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  11526. - Avoid an off-by-one error when checking buffer boundaries when
  11527. formatting the exit status of a pluggable transport helper.
  11528. This is probably not an exploitable bug, but better safe than
  11529. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  11530. Pedro Ribeiro.
  11531. o Minor features (protecting client timestamps):
  11532. - Clients no longer send timestamps in their NETINFO cells. These were
  11533. not used for anything, and they provided one small way for clients
  11534. to be distinguished from each other as they moved from network to
  11535. network or behind NAT. Implements part of proposal 222.
  11536. - Clients now round timestamps in INTRODUCE cells down to the nearest
  11537. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  11538. if it's set to "auto" and the feature is disabled in the consensus,
  11539. the timestamp is sent as 0 instead. Implements part of proposal 222.
  11540. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  11541. a big deal from a security point of view, but it achieves no actual
  11542. good purpose, and isn't needed. Implements part of proposal 222.
  11543. - Reduce down accuracy of timestamps in hidden service descriptors.
  11544. Implements part of proposal 222.
  11545. o Minor features (other):
  11546. - Improve the circuit queue out-of-memory handler. Previously, when
  11547. we ran low on memory, we'd close whichever circuits had the most
  11548. queued cells. Now, we close those that have the *oldest* queued
  11549. cells, on the theory that those are most responsible for us
  11550. running low on memory. Based on analysis from a forthcoming paper
  11551. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  11552. - Generate bootstrapping status update events correctly when fetching
  11553. microdescriptors. Fixes bug 9927.
  11554. - Update to the October 2 2013 Maxmind GeoLite Country database.
  11555. o Documentation fixes:
  11556. - Clarify the usage and risks of setting the ContactInfo torrc line
  11557. for your relay or bridge. Resolves ticket 9854.
  11558. - Add anchors to the manpage so we can link to the html version of
  11559. the documentation for specific options. Resolves ticket 9866.
  11560. - Replace remaining references to DirServer in man page and
  11561. log entries. Resolves ticket 10124.
  11562. Changes in version 0.2.5.1-alpha - 2013-10-02
  11563. Tor 0.2.5.1-alpha introduces experimental support for syscall sandboxing
  11564. on Linux, allows bridges that offer pluggable transports to report usage
  11565. statistics, fixes many issues to make testing easier, and provides
  11566. a pile of minor features and bugfixes that have been waiting for a
  11567. release of the new branch.
  11568. This is the first alpha release in a new series, so expect there to
  11569. be bugs. Users who would rather test out a more stable branch should
  11570. stay with 0.2.4.x for now.
  11571. o Major features (security):
  11572. - Use the seccomp2 syscall filtering facility on Linux to limit
  11573. which system calls Tor can invoke. This is an experimental,
  11574. Linux-only feature to provide defense-in-depth against unknown
  11575. attacks. To try turning it on, set "Sandbox 1" in your torrc
  11576. file. Please be ready to report bugs. We hope to add support
  11577. for better sandboxing in the future, including more fine-grained
  11578. filters, better division of responsibility, and support for more
  11579. platforms. This work has been done by Cristian-Matei Toader for
  11580. Google Summer of Code.
  11581. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  11582. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  11583. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  11584. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  11585. them to solve bug 6033.)
  11586. o Major features (other):
  11587. - Add support for passing arguments to managed pluggable transport
  11588. proxies. Implements ticket 3594.
  11589. - Bridges now track GeoIP information and the number of their users
  11590. even when pluggable transports are in use, and report usage
  11591. statistics in their extra-info descriptors. Resolves tickets 4773
  11592. and 5040.
  11593. - Make testing Tor networks bootstrap better: lower directory fetch
  11594. retry schedules and maximum interval without directory requests,
  11595. and raise maximum download tries. Implements ticket 6752.
  11596. - Add make target 'test-network' to run tests on a Chutney network.
  11597. Implements ticket 8530.
  11598. - The ntor handshake is now on-by-default, no matter what the
  11599. directory authorities recommend. Implements ticket 8561.
  11600. o Major bugfixes:
  11601. - Instead of writing destroy cells directly to outgoing connection
  11602. buffers, queue them and intersperse them with other outgoing cells.
  11603. This can prevent a set of resource starvation conditions where too
  11604. many pending destroy cells prevent data cells from actually getting
  11605. delivered. Reported by "oftc_must_be_destroyed". Fixes bug 7912;
  11606. bugfix on 0.2.0.1-alpha.
  11607. - If we are unable to save a microdescriptor to the journal, do not
  11608. drop it from memory and then reattempt downloading it. Fixes bug
  11609. 9645; bugfix on 0.2.2.6-alpha.
  11610. - The new channel code sometimes lost track of in-progress circuits,
  11611. causing long-running clients to stop building new circuits. The
  11612. fix is to always call circuit_n_chan_done(chan, 0) from
  11613. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  11614. o Build features:
  11615. - Tor now builds each source file in two modes: a mode that avoids
  11616. exposing identifiers needlessly, and another mode that exposes
  11617. more identifiers for testing. This lets the compiler do better at
  11618. optimizing the production code, while enabling us to take more
  11619. radical measures to let the unit tests test things.
  11620. - The production builds no longer include functions used only in
  11621. the unit tests; all functions exposed from a module only for
  11622. unit-testing are now static in production builds.
  11623. - Add an --enable-coverage configuration option to make the unit
  11624. tests (and a new src/or/tor-cov target) to build with gcov test
  11625. coverage support.
  11626. o Testing:
  11627. - We now have rudimentary function mocking support that our unit
  11628. tests can use to test functions in isolation. Function mocking
  11629. lets the tests temporarily replace a function's dependencies with
  11630. stub functions, so that the tests can check the function without
  11631. invoking the other functions it calls.
  11632. - Add more unit tests for the <circid,channel>->circuit map, and
  11633. the destroy-cell-tracking code to fix bug 7912.
  11634. - Unit tests for failing cases of the TAP onion handshake.
  11635. - More unit tests for address-manipulation functions.
  11636. o Minor features (protecting client timestamps):
  11637. - Clients no longer send timestamps in their NETINFO cells. These were
  11638. not used for anything, and they provided one small way for clients
  11639. to be distinguished from each other as they moved from network to
  11640. network or behind NAT. Implements part of proposal 222.
  11641. - Clients now round timestamps in INTRODUCE cells down to the nearest
  11642. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  11643. if it's set to "auto" and the feature is disabled in the consensus,
  11644. the timestamp is sent as 0 instead. Implements part of proposal 222.
  11645. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  11646. a big deal from a security point of view, but it achieves no actual
  11647. good purpose, and isn't needed. Implements part of proposal 222.
  11648. - Reduce down accuracy of timestamps in hidden service descriptors.
  11649. Implements part of proposal 222.
  11650. o Minor features (config options):
  11651. - Config (torrc) lines now handle fingerprints which are missing
  11652. their initial '$'. Resolves ticket 4341; improvement over 0.0.9pre5.
  11653. - Support a --dump-config option to print some or all of the
  11654. configured options. Mainly useful for debugging the command-line
  11655. option parsing code. Helps resolve ticket 4647.
  11656. - Raise awareness of safer logging: notify user of potentially
  11657. unsafe config options, like logging more verbosely than severity
  11658. "notice" or setting SafeLogging to 0. Resolves ticket 5584.
  11659. - Add a new configuration option TestingV3AuthVotingStartOffset
  11660. that bootstraps a network faster by changing the timing for
  11661. consensus votes. Addresses ticket 8532.
  11662. - Add a new torrc option "ServerTransportOptions" that allows
  11663. bridge operators to pass configuration parameters to their
  11664. pluggable transports. Resolves ticket 8929.
  11665. - The config (torrc) file now accepts bandwidth and space limits in
  11666. bits as well as bytes. (Anywhere that you can say "2 Kilobytes",
  11667. you can now say "16 kilobits", and so on.) Resolves ticket 9214.
  11668. Patch by CharlieB.
  11669. o Minor features (build):
  11670. - Add support for `--library-versions` flag. Implements ticket 6384.
  11671. - Return the "unexpected sendme" warnings to a warn severity, but make
  11672. them rate limited, to help diagnose ticket 8093.
  11673. - Detect a missing asciidoc, and warn the user about it, during
  11674. configure rather than at build time. Fixes issue 6506. Patch from
  11675. Arlo Breault.
  11676. o Minor features (other):
  11677. - Use the SOCK_NONBLOCK socket type, if supported, to open nonblocking
  11678. sockets in a single system call. Implements ticket 5129.
  11679. - Log current accounting state (bytes sent and received + remaining
  11680. time for the current accounting period) in the relay's heartbeat
  11681. message. Implements ticket 5526; patch from Peter Retzlaff.
  11682. - Implement the TRANSPORT_LAUNCHED control port event that
  11683. notifies controllers about new launched pluggable
  11684. transports. Resolves ticket 5609.
  11685. - If we're using the pure-C 32-bit curve25519_donna implementation
  11686. of curve25519, build it with the -fomit-frame-pointer option to
  11687. make it go faster on register-starved hosts. This improves our
  11688. handshake performance by about 6% on i386 hosts without nacl.
  11689. Closes ticket 8109.
  11690. - Update to the September 4 2013 Maxmind GeoLite Country database.
  11691. o Minor bugfixes:
  11692. - Set the listen() backlog limit to the largest actually supported
  11693. on the system, not to the value in a header file. Fixes bug 9716;
  11694. bugfix on every released Tor.
  11695. - No longer accept malformed http headers when parsing urls from
  11696. headers. Now we reply with Bad Request ("400"). Fixes bug 2767;
  11697. bugfix on 0.0.6pre1.
  11698. - In munge_extrainfo_into_routerinfo(), check the return value of
  11699. memchr(). This would have been a serious issue if we ever passed
  11700. it a non-extrainfo. Fixes bug 8791; bugfix on 0.2.0.6-alpha. Patch
  11701. from Arlo Breault.
  11702. - On the chance that somebody manages to build Tor on a
  11703. platform where time_t is unsigned, correct the way that
  11704. microdesc_add_to_cache() handles negative time arguments.
  11705. Fixes bug 8042; bugfix on 0.2.3.1-alpha.
  11706. - Reject relative control socket paths and emit a warning. Previously,
  11707. single-component control socket paths would be rejected, but Tor
  11708. would not log why it could not validate the config. Fixes bug 9258;
  11709. bugfix on 0.2.3.16-alpha.
  11710. o Minor bugfixes (command line):
  11711. - Use a single command-line parser for parsing torrc options on the
  11712. command line and for finding special command-line options to avoid
  11713. inconsistent behavior for torrc option arguments that have the same
  11714. names as command-line options. Fixes bugs 4647 and 9578; bugfix on
  11715. 0.0.9pre5.
  11716. - No longer allow 'tor --hash-password' with no arguments. Fixes bug
  11717. 9573; bugfix on 0.0.9pre5.
  11718. o Minor fixes (build, auxiliary programs):
  11719. - Stop preprocessing the "torify" script with autoconf, since
  11720. it no longer refers to LOCALSTATEDIR. Fixes bug 5505; patch
  11721. from Guilhem.
  11722. - The tor-fw-helper program now follows the standard convention and
  11723. exits with status code "0" on success. Fixes bug 9030; bugfix on
  11724. 0.2.3.1-alpha. Patch by Arlo Breault.
  11725. - Corrected ./configure advice for what openssl dev package you should
  11726. install on Debian. Fixes bug 9207; bugfix on 0.2.0.1-alpha.
  11727. o Minor code improvements:
  11728. - Remove constants and tests for PKCS1 padding; it's insecure and
  11729. shouldn't be used for anything new. Fixes bug 8792; patch
  11730. from Arlo Breault.
  11731. - Remove instances of strcpy() from the unit tests. They weren't
  11732. hurting anything, since they were only in the unit tests, but it's
  11733. embarrassing to have strcpy() in the code at all, and some analysis
  11734. tools don't like it. Fixes bug 8790; bugfix on 0.2.3.6-alpha and
  11735. 0.2.3.8-alpha. Patch from Arlo Breault.
  11736. o Removed features:
  11737. - Remove migration code from when we renamed the "cached-routers"
  11738. file to "cached-descriptors" back in 0.2.0.8-alpha. This
  11739. incidentally resolves ticket 6502 by cleaning up the related code
  11740. a bit. Patch from Akshay Hebbar.
  11741. o Code simplification and refactoring:
  11742. - Extract the common duplicated code for creating a subdirectory
  11743. of the data directory and writing to a file in it. Fixes ticket
  11744. 4282; patch from Peter Retzlaff.
  11745. - Since OpenSSL 0.9.7, the i2d_*() functions support allocating output
  11746. buffer. Avoid calling twice: i2d_RSAPublicKey(), i2d_DHparams(),
  11747. i2d_X509(), and i2d_PublicKey(). Resolves ticket 5170.
  11748. - Add a set of accessor functions for the circuit timeout data
  11749. structure. Fixes ticket 6153; patch from "piet".
  11750. - Clean up exit paths from connection_listener_new(). Closes ticket
  11751. 8789. Patch from Arlo Breault.
  11752. - Since we rely on OpenSSL 0.9.8 now, we can use EVP_PKEY_cmp()
  11753. and drop our own custom pkey_eq() implementation. Fixes bug 9043.
  11754. - Use a doubly-linked list to implement the global circuit list.
  11755. Resolves ticket 9108. Patch from Marek Majkowski.
  11756. - Remove contrib/id_to_fp.c since it wasn't used anywhere.
  11757. Changes in version 0.2.4.17-rc - 2013-09-05
  11758. Tor 0.2.4.17-rc is the third release candidate for the Tor 0.2.4.x
  11759. series. It adds an emergency step to help us tolerate the massive
  11760. influx of users: 0.2.4 clients using the new (faster and safer) "NTor"
  11761. circuit-level handshakes now effectively jump the queue compared to
  11762. the 0.2.3 clients using "TAP" handshakes. This release also fixes a
  11763. big bug hindering bridge reachability tests.
  11764. o Major features:
  11765. - Relays now process the new "NTor" circuit-level handshake requests
  11766. with higher priority than the old "TAP" circuit-level handshake
  11767. requests. We still process some TAP requests to not totally starve
  11768. 0.2.3 clients when NTor becomes popular. A new consensus parameter
  11769. "NumNTorsPerTAP" lets us tune the balance later if we need to.
  11770. Implements ticket 9574.
  11771. o Major bugfixes:
  11772. - If the circuit build timeout logic is disabled (via the consensus,
  11773. or because we are an authority), then don't build testing circuits.
  11774. Fixes bug 9657; bugfix on 0.2.2.14-alpha.
  11775. - Bridges now send AUTH_CHALLENGE cells during their v3 handshakes;
  11776. previously they did not, which prevented them from receiving
  11777. successful connections from relays for self-test or bandwidth
  11778. testing. Also, when a relay is extending a circuit to a bridge,
  11779. it needs to send a NETINFO cell, even when the bridge hasn't sent
  11780. an AUTH_CHALLENGE cell. Fixes bug 9546; bugfix on 0.2.3.6-alpha.
  11781. - If the time to download the next old-style networkstatus is in
  11782. the future, do not decline to consider whether to download the
  11783. next microdescriptor networkstatus. Fixes bug 9564; bugfix on
  11784. 0.2.3.14-alpha.
  11785. o Minor bugfixes:
  11786. - Avoid double-closing the listener socket in our socketpair()
  11787. replacement (used on Windows) in the case where the addresses on
  11788. our opened sockets don't match what we expected. Fixes bug 9400;
  11789. bugfix on 0.0.2pre7. Found by Coverity.
  11790. o Minor fixes (config options):
  11791. - Avoid overflows when the user sets MaxCircuitDirtiness to a
  11792. ridiculously high value, by imposing a (ridiculously high) 30-day
  11793. maximum on MaxCircuitDirtiness.
  11794. - Fix the documentation of HeartbeatPeriod to say that the heartbeat
  11795. message is logged at notice, not at info.
  11796. - Warn and fail if a server is configured not to advertise any
  11797. ORPorts at all. (We need *something* to put in our descriptor,
  11798. or we just won't work.)
  11799. o Minor features:
  11800. - Track how many "TAP" and "NTor" circuit handshake requests we get,
  11801. and how many we complete, and log it every hour to help relay
  11802. operators follow trends in network load. Addresses ticket 9658.
  11803. - Update to the August 7 2013 Maxmind GeoLite Country database.
  11804. Changes in version 0.2.4.16-rc - 2013-08-10
  11805. Tor 0.2.4.16-rc is the second release candidate for the Tor 0.2.4.x
  11806. series. It fixes several crash bugs in the 0.2.4 branch.
  11807. o Major bugfixes:
  11808. - Fix a bug in the voting algorithm that could yield incorrect results
  11809. when a non-naming authority declared too many flags. Fixes bug 9200;
  11810. bugfix on 0.2.0.3-alpha.
  11811. - Fix an uninitialized read that could in some cases lead to a remote
  11812. crash while parsing INTRODUCE2 cells. Bugfix on 0.2.4.1-alpha.
  11813. Anybody running a hidden service on the experimental 0.2.4.x
  11814. branch should upgrade. (This is, so far as we know, unrelated to
  11815. the recent news.)
  11816. - Avoid an assertion failure when processing DNS replies without the
  11817. answer types we expected. Fixes bug 9337; bugfix on 0.2.4.7-alpha.
  11818. - Avoid a crash when using --hash-password. Fixes bug 9295; bugfix on
  11819. 0.2.4.15-rc. Found by stem integration tests.
  11820. o Minor bugfixes:
  11821. - Fix an invalid memory read that occurred when a pluggable
  11822. transport proxy failed its configuration protocol.
  11823. Fixes bug 9288; bugfix on 0.2.4.1-alpha.
  11824. - When evaluating whether to use a connection that we haven't
  11825. decided is canonical using a recent link protocol version,
  11826. decide that it's canonical only if it used address _does_
  11827. match the desired address. Fixes bug 9309; bugfix on
  11828. 0.2.4.4-alpha. Reported by skruffy.
  11829. - Make the default behavior of NumDirectoryGuards be to track
  11830. NumEntryGuards. Now a user who changes only NumEntryGuards will get
  11831. the behavior she expects. Fixes bug 9354; bugfix on 0.2.4.8-alpha.
  11832. - Fix a spurious compilation warning with some older versions of
  11833. GCC on FreeBSD. Fixes bug 9254; bugfix on 0.2.4.14-alpha.
  11834. o Minor features:
  11835. - Update to the July 3 2013 Maxmind GeoLite Country database.
  11836. Changes in version 0.2.4.15-rc - 2013-07-01
  11837. Tor 0.2.4.15-rc is the first release candidate for the Tor 0.2.4.x
  11838. series. It fixes a few smaller bugs, but generally appears stable.
  11839. Please test it and let us know whether it is!
  11840. o Major bugfixes:
  11841. - When receiving a new configuration file via the control port's
  11842. LOADCONF command, do not treat the defaults file as absent.
  11843. Fixes bug 9122; bugfix on 0.2.3.9-alpha.
  11844. o Minor features:
  11845. - Issue a warning when running with the bufferevents backend enabled.
  11846. It's still not stable, and people should know that they're likely
  11847. to hit unexpected problems. Closes ticket 9147.
  11848. Changes in version 0.2.4.14-alpha - 2013-06-18
  11849. Tor 0.2.4.14-alpha fixes a pair of client guard enumeration problems
  11850. present in 0.2.4.13-alpha.
  11851. o Major bugfixes:
  11852. - When we have too much memory queued in circuits (according to a new
  11853. MaxMemInCellQueues option), close the circuits consuming the most
  11854. memory. This prevents us from running out of memory as a relay if
  11855. circuits fill up faster than they can be drained. Fixes bug 9063;
  11856. bugfix on the 54th commit of Tor. This bug is a further fix beyond
  11857. bug 6252, whose fix was merged into 0.2.3.21-rc.
  11858. This change also fixes an earlier approach taken in 0.2.4.13-alpha,
  11859. where we tried to solve this issue simply by imposing an upper limit
  11860. on the number of queued cells for a single circuit. That approach
  11861. proved to be problematic, since there are ways to provoke clients to
  11862. send a number of cells in excess of any such reasonable limit. Fixes
  11863. bug 9072; bugfix on 0.2.4.13-alpha.
  11864. - Limit hidden service descriptors to at most ten introduction
  11865. points, to slow one kind of guard enumeration. Fixes bug 9002;
  11866. bugfix on 0.1.1.11-alpha.
  11867. Changes in version 0.2.4.13-alpha - 2013-06-14
  11868. Tor 0.2.4.13-alpha fixes a variety of potential remote crash
  11869. vulnerabilities, makes socks5 username/password circuit isolation
  11870. actually actually work (this time for sure!), and cleans up a bunch
  11871. of other issues in preparation for a release candidate.
  11872. o Major bugfixes (robustness):
  11873. - Close any circuit that has too many cells queued on it. Fixes
  11874. bug 9063; bugfix on the 54th commit of Tor. This bug is a further
  11875. fix beyond bug 6252, whose fix was merged into 0.2.3.21-rc.
  11876. - Prevent the get_freelists() function from running off the end of
  11877. the list of freelists if it somehow gets an unrecognized
  11878. allocation. Fixes bug 8844; bugfix on 0.2.0.16-alpha. Reported by
  11879. eugenis.
  11880. - Avoid an assertion failure on OpenBSD (and perhaps other BSDs)
  11881. when an exit connection with optimistic data succeeds immediately
  11882. rather than returning EINPROGRESS. Fixes bug 9017; bugfix on
  11883. 0.2.3.1-alpha.
  11884. - Fix a directory authority crash bug when building a consensus
  11885. using an older consensus as its basis. Fixes bug 8833. Bugfix
  11886. on 0.2.4.12-alpha.
  11887. o Major bugfixes:
  11888. - Avoid a memory leak where we would leak a consensus body when we
  11889. find that a consensus which we couldn't previously verify due to
  11890. missing certificates is now verifiable. Fixes bug 8719; bugfix
  11891. on 0.2.0.10-alpha.
  11892. - We used to always request authority certificates by identity digest,
  11893. meaning we'd get the newest one even when we wanted one with a
  11894. different signing key. Then we would complain about being given
  11895. a certificate we already had, and never get the one we really
  11896. wanted. Now we use the "fp-sk/" resource as well as the "fp/"
  11897. resource to request the one we want. Fixes bug 5595; bugfix on
  11898. 0.2.0.8-alpha.
  11899. - Follow the socks5 protocol when offering username/password
  11900. authentication. The fix for bug 8117 exposed this bug, and it
  11901. turns out real-world applications like Pidgin do care. Bugfix on
  11902. 0.2.3.2-alpha; fixes bug 8879.
  11903. - Prevent failures on Windows Vista and later when rebuilding the
  11904. microdescriptor cache. Diagnosed by Robert Ransom. Fixes bug 8822;
  11905. bugfix on 0.2.4.12-alpha.
  11906. o Minor bugfixes:
  11907. - Fix an impossible buffer overrun in the AES unit tests. Fixes
  11908. bug 8845; bugfix on 0.2.0.7-alpha. Found by eugenis.
  11909. - If for some reason we fail to write a microdescriptor while
  11910. rebuilding the cache, do not let the annotations from that
  11911. microdescriptor linger in the cache file, and do not let the
  11912. microdescriptor stay recorded as present in its old location.
  11913. Fixes bug 9047; bugfix on 0.2.2.6-alpha.
  11914. - Fix a memory leak that would occur whenever a configuration
  11915. option changed. Fixes bug 8718; bugfix on 0.2.3.3-alpha.
  11916. - Paste the description for PathBias parameters from the man
  11917. page into or.h, so the code documents them too. Fixes bug 7982;
  11918. bugfix on 0.2.3.17-beta and 0.2.4.8-alpha.
  11919. - Relays now treat a changed IPv6 ORPort as sufficient reason to
  11920. publish an updated descriptor. Fixes bug 6026; bugfix on
  11921. 0.2.4.1-alpha.
  11922. - When launching a resolve request on behalf of an AF_UNIX control
  11923. socket, omit the address field of the new entry connection, used in
  11924. subsequent controller events, rather than letting tor_dup_addr()
  11925. set it to "<unknown address type>". Fixes bug 8639; bugfix on
  11926. 0.2.4.12-alpha.
  11927. o Minor bugfixes (log messages):
  11928. - Fix a scaling issue in the path bias accounting code that
  11929. resulted in "Bug:" log messages from either
  11930. pathbias_scale_close_rates() or pathbias_count_build_success().
  11931. This represents a bugfix on a previous bugfix: the original fix
  11932. attempted in 0.2.4.10-alpha was incomplete. Fixes bug 8235; bugfix
  11933. on 0.2.4.1-alpha.
  11934. - Give a less useless error message when the user asks for an IPv4
  11935. address on an IPv6-only port, or vice versa. Fixes bug 8846; bugfix
  11936. on 0.2.4.7-alpha.
  11937. o Minor features:
  11938. - Downgrade "unexpected SENDME" warnings to protocol-warn for 0.2.4.x,
  11939. to tolerate bug 8093 for now.
  11940. - Add an "ignoring-advertised-bws" boolean to the flag-threshold lines
  11941. in directory authority votes to describe whether they have enough
  11942. measured bandwidths to ignore advertised (relay descriptor)
  11943. bandwidth claims. Resolves ticket 8711.
  11944. - Update to the June 5 2013 Maxmind GeoLite Country database.
  11945. o Removed documentation:
  11946. - Remove some of the older contents of doc/ as obsolete; move others
  11947. to torspec.git. Fixes bug 8965.
  11948. o Code simplification and refactoring:
  11949. - Avoid using character buffers when constructing most directory
  11950. objects: this approach was unwieldy and error-prone. Instead,
  11951. build smartlists of strings, and concatenate them when done.
  11952. Changes in version 0.2.4.12-alpha - 2013-04-18
  11953. Tor 0.2.4.12-alpha moves Tor forward on several fronts: it starts the
  11954. process for lengthening the guard rotation period, makes directory
  11955. authority opinions in the consensus a bit less gameable, makes socks5
  11956. username/password circuit isolation actually work, and fixes a wide
  11957. variety of other issues.
  11958. o Major features:
  11959. - Raise the default time that a client keeps an entry guard from
  11960. "1-2 months" to "2-3 months", as suggested by Tariq Elahi's WPES
  11961. 2012 paper. (We would make it even longer, but we need better client
  11962. load balancing first.) Also, make the guard lifetime controllable
  11963. via a new GuardLifetime torrc option and a GuardLifetime consensus
  11964. parameter. Start of a fix for bug 8240; bugfix on 0.1.1.11-alpha.
  11965. - Directory authorities now prefer using measured bandwidths to
  11966. advertised ones when computing flags and thresholds. Resolves
  11967. ticket 8273.
  11968. - Directory authorities that have more than a threshold number
  11969. of relays with measured bandwidths now treat relays with unmeasured
  11970. bandwidths as having bandwidth 0. Resolves ticket 8435.
  11971. o Major bugfixes (assert / resource use):
  11972. - Avoid a bug where our response to TLS renegotiation under certain
  11973. network conditions could lead to a busy-loop, with 100% CPU
  11974. consumption. Fixes bug 5650; bugfix on 0.2.0.16-alpha.
  11975. - Avoid an assertion when we discover that we'd like to write a cell
  11976. onto a closing connection: just discard the cell. Fixes another
  11977. case of bug 7350; bugfix on 0.2.4.4-alpha.
  11978. o Major bugfixes (client-side privacy):
  11979. - When we mark a circuit as unusable for new circuits, have it
  11980. continue to be unusable for new circuits even if MaxCircuitDirtiness
  11981. is increased too much at the wrong time, or the system clock jumps
  11982. backwards. Fixes bug 6174; bugfix on 0.0.2pre26.
  11983. - If ClientDNSRejectInternalAddresses ("do not believe DNS queries
  11984. which have resolved to internal addresses") is set, apply that
  11985. rule to IPv6 as well. Fixes bug 8475; bugfix on 0.2.0.7-alpha.
  11986. - When an exit relay rejects a stream with reason "exit policy", but
  11987. we only know an exit policy summary (e.g. from the microdesc
  11988. consensus) for it, do not mark the relay as useless for all exiting.
  11989. Instead, mark just the circuit as unsuitable for that particular
  11990. address. Fixes part of bug 7582; bugfix on 0.2.3.2-alpha.
  11991. - Allow applications to get proper stream isolation with
  11992. IsolateSOCKSAuth. Many SOCKS5 clients that want to offer
  11993. username/password authentication also offer "no authentication". Tor
  11994. had previously preferred "no authentication", so the applications
  11995. never actually sent Tor their auth details. Now Tor selects
  11996. username/password authentication if it's offered. You can disable
  11997. this behavior on a per-SOCKSPort basis via PreferSOCKSNoAuth. Fixes
  11998. bug 8117; bugfix on 0.2.3.3-alpha.
  11999. o Major bugfixes (other):
  12000. - When unable to find any working directory nodes to use as a
  12001. directory guard, give up rather than adding the same non-working
  12002. nodes to the directory guard list over and over. Fixes bug 8231;
  12003. bugfix on 0.2.4.8-alpha.
  12004. o Minor features:
  12005. - Reject as invalid most directory objects containing a NUL.
  12006. Belt-and-suspender fix for bug 8037.
  12007. - In our testsuite, create temporary directories with a bit more
  12008. entropy in their name to make name collisions less likely. Fixes
  12009. bug 8638.
  12010. - Add CACHED keyword to ADDRMAP events in the control protocol
  12011. to indicate whether a DNS result will be cached or not. Resolves
  12012. ticket 8596.
  12013. - Update to the April 3 2013 Maxmind GeoLite Country database.
  12014. o Minor features (build):
  12015. - Detect and reject attempts to build Tor with threading support
  12016. when OpenSSL has been compiled without threading support.
  12017. Fixes bug 6673.
  12018. - Clarify that when autoconf is checking for nacl, it is checking
  12019. specifically for nacl with a fast curve25519 implementation.
  12020. Fixes bug 8014.
  12021. - Warn if building on a platform with an unsigned time_t: there
  12022. are too many places where Tor currently assumes that time_t can
  12023. hold negative values. We'd like to fix them all, but probably
  12024. some will remain.
  12025. o Minor bugfixes (build):
  12026. - Fix some bugs in tor-fw-helper-natpmp when trying to build and
  12027. run it on Windows. More bugs likely remain. Patch from Gisle Vanem.
  12028. Fixes bug 7280; bugfix on 0.2.3.1-alpha.
  12029. - Add the old src/or/micro-revision.i filename to CLEANFILES.
  12030. On the off chance that somebody has one, it will go away as soon
  12031. as they run "make clean". Fix for bug 7143; bugfix on 0.2.4.1-alpha.
  12032. - Build Tor correctly on 32-bit platforms where the compiler can build
  12033. but not run code using the "uint128_t" construction. Fixes bug 8587;
  12034. bugfix on 0.2.4.8-alpha.
  12035. - Fix compilation warning with some versions of clang that would
  12036. prefer the -Wswitch-enum compiler flag to warn about switch
  12037. statements with missing enum values, even if those switch
  12038. statements have a "default:" statement. Fixes bug 8598; bugfix
  12039. on 0.2.4.10-alpha.
  12040. o Minor bugfixes (protocol):
  12041. - Fix the handling of a TRUNCATE cell when it arrives while the
  12042. circuit extension is in progress. Fixes bug 7947; bugfix on 0.0.7.1.
  12043. - Fix a misframing issue when reading the version numbers in a
  12044. VERSIONS cell. Previously we would recognize [00 01 00 02] as
  12045. 'version 1, version 2, and version 0x100', when it should have
  12046. only included versions 1 and 2. Fixes bug 8059; bugfix on
  12047. 0.2.0.10-alpha. Reported pseudonymously.
  12048. - Make the format and order of STREAM events for DNS lookups
  12049. consistent among the various ways to launch DNS lookups. Fixes
  12050. bug 8203; bugfix on 0.2.0.24-rc. Patch by "Desoxy".
  12051. - Correct our check for which versions of Tor support the EXTEND2
  12052. cell. We had been willing to send it to Tor 0.2.4.7-alpha and
  12053. later, when support was really added in version 0.2.4.8-alpha.
  12054. Fixes bug 8464; bugfix on 0.2.4.8-alpha.
  12055. o Minor bugfixes (other):
  12056. - Correctly store microdescriptors and extrainfo descriptors with
  12057. an internal NUL byte. Fixes bug 8037; bugfix on 0.2.0.1-alpha.
  12058. Bug reported by "cypherpunks".
  12059. - Increase the width of the field used to remember a connection's
  12060. link protocol version to two bytes. Harmless for now, since the
  12061. only currently recognized versions are one byte long. Reported
  12062. pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha.
  12063. - If the state file's path bias counts are invalid (presumably from a
  12064. buggy Tor prior to 0.2.4.10-alpha), make them correct. Also add
  12065. additional checks and log messages to the scaling of Path Bias
  12066. counts, in case there still are remaining issues with scaling.
  12067. Should help resolve bug 8235.
  12068. - Eliminate several instances where we use "Nickname=ID" to refer to
  12069. nodes in logs. Use "Nickname (ID)" instead. (Elsewhere, we still use
  12070. "$ID=Nickname", which is also acceptable.) Fixes bug 7065. Bugfix
  12071. on 0.2.3.21-rc, 0.2.4.5-alpha, 0.2.4.8-alpha, and 0.2.4.10-alpha.
  12072. o Minor bugfixes (syscalls):
  12073. - Always check the return values of functions fcntl() and
  12074. setsockopt(). We don't believe these are ever actually failing in
  12075. practice, but better safe than sorry. Also, checking these return
  12076. values should please analysis tools like Coverity. Patch from
  12077. 'flupzor'. Fixes bug 8206; bugfix on all versions of Tor.
  12078. - Use direct writes rather than stdio when building microdescriptor
  12079. caches, in an attempt to mitigate bug 8031, or at least make it
  12080. less common.
  12081. o Minor bugfixes (config):
  12082. - When rejecting a configuration because we were unable to parse a
  12083. quoted string, log an actual error message. Fixes bug 7950; bugfix
  12084. on 0.2.0.16-alpha.
  12085. - Behave correctly when the user disables LearnCircuitBuildTimeout
  12086. but doesn't tell us what they would like the timeout to be. Fixes
  12087. bug 6304; bugfix on 0.2.2.14-alpha.
  12088. - When autodetecting the number of CPUs, use the number of available
  12089. CPUs in preference to the number of configured CPUs. Inform the
  12090. user if this reduces the number of available CPUs. Fixes bug 8002;
  12091. bugfix on 0.2.3.1-alpha.
  12092. - Make it an error when you set EntryNodes but disable UseGuardNodes,
  12093. since it will (surprisingly to some users) ignore EntryNodes. Fixes
  12094. bug 8180; bugfix on 0.2.3.11-alpha.
  12095. - Allow TestingTorNetworks to override the 4096-byte minimum for
  12096. the Fast threshold. Otherwise they can't bootstrap until they've
  12097. observed more traffic. Fixes bug 8508; bugfix on 0.2.4.10-alpha.
  12098. - Fix some logic errors when the user manually overrides the
  12099. PathsNeededToBuildCircuits option in torrc. Fixes bug 8599; bugfix
  12100. on 0.2.4.10-alpha.
  12101. o Minor bugfixes (log messages to help diagnose bugs):
  12102. - If we fail to free a microdescriptor because of bug 7164, log
  12103. the filename and line number from which we tried to free it.
  12104. - Add another diagnostic to the heartbeat message: track and log
  12105. overhead that TLS is adding to the data we write. If this is
  12106. high, we are sending too little data to SSL_write at a time.
  12107. Diagnostic for bug 7707.
  12108. - Add more detail to a log message about relaxed timeouts, to help
  12109. track bug 7799.
  12110. - Warn more aggressively when flushing microdescriptors to a
  12111. microdescriptor cache fails, in an attempt to mitigate bug 8031,
  12112. or at least make it more diagnosable.
  12113. - Improve debugging output to help track down bug 8185 ("Bug:
  12114. outgoing relay cell has n_chan==NULL. Dropping.")
  12115. - Log the purpose of a path-bias testing circuit correctly.
  12116. Improves a log message from bug 8477; bugfix on 0.2.4.8-alpha.
  12117. o Minor bugfixes (0.2.4.x log messages that were too noisy):
  12118. - Don't attempt to relax the timeout of already opened 1-hop circuits.
  12119. They might never timeout. This should eliminate some/all cases of
  12120. the relaxed timeout log message.
  12121. - Use circuit creation time for network liveness evaluation. This
  12122. should eliminate warning log messages about liveness caused
  12123. by changes in timeout evaluation. Fixes bug 6572; bugfix on
  12124. 0.2.4.8-alpha.
  12125. - Reduce a path bias length check from notice to info. The message
  12126. is triggered when creating controller circuits. Fixes bug 8196;
  12127. bugfix on 0.2.4.8-alpha.
  12128. - Fix a path state issue that triggered a notice during relay startup.
  12129. Fixes bug 8320; bugfix on 0.2.4.10-alpha.
  12130. - Reduce occurrences of warns about circuit purpose in
  12131. connection_ap_expire_building(). Fixes bug 8477; bugfix on
  12132. 0.2.4.11-alpha.
  12133. o Minor bugfixes (pre-0.2.4.x log messages that were too noisy):
  12134. - If we encounter a write failure on a SOCKS connection before we
  12135. finish our SOCKS handshake, don't warn that we closed the
  12136. connection before we could send a SOCKS reply. Fixes bug 8427;
  12137. bugfix on 0.1.0.1-rc.
  12138. - Correctly recognize that [::1] is a loopback address. Fixes
  12139. bug 8377; bugfix on 0.2.1.3-alpha.
  12140. - Fix a directory authority warn caused when we have a large amount
  12141. of badexit bandwidth. Fixes bug 8419; bugfix on 0.2.2.10-alpha.
  12142. - Don't log inappropriate heartbeat messages when hibernating: a
  12143. hibernating node is _expected_ to drop out of the consensus,
  12144. decide it isn't bootstrapped, and so forth. Fixes bug 7302;
  12145. bugfix on 0.2.3.1-alpha.
  12146. - Don't complain about bootstrapping problems while hibernating.
  12147. These complaints reflect a general code problem, but not one
  12148. with any problematic effects (no connections are actually
  12149. opened). Fixes part of bug 7302; bugfix on 0.2.3.2-alpha.
  12150. o Documentation fixes:
  12151. - Update tor-fw-helper.1.txt and tor-fw-helper.c to make option
  12152. names match. Fixes bug 7768.
  12153. - Make the torify manpage no longer refer to tsocks; torify hasn't
  12154. supported tsocks since 0.2.3.14-alpha.
  12155. - Make the tor manpage no longer reference tsocks.
  12156. - Fix the GeoIPExcludeUnknown documentation to refer to
  12157. ExcludeExitNodes rather than the currently nonexistent
  12158. ExcludeEntryNodes. Spotted by "hamahangi" on tor-talk.
  12159. o Removed files:
  12160. - The tor-tsocks.conf is no longer distributed or installed. We
  12161. recommend that tsocks users use torsocks instead. Resolves
  12162. ticket 8290.
  12163. Changes in version 0.2.4.11-alpha - 2013-03-11
  12164. Tor 0.2.4.11-alpha makes relay measurement by directory authorities
  12165. more robust, makes hidden service authentication work again, and
  12166. resolves a DPI fingerprint for Tor's SSL transport.
  12167. o Major features (directory authorities):
  12168. - Directory authorities now support a new consensus method (17)
  12169. where they cap the published bandwidth of servers for which
  12170. insufficient bandwidth measurements exist. Fixes part of bug 2286.
  12171. - Directory authorities that set "DisableV2DirectoryInfo_ 1" no longer
  12172. serve any v2 directory information. Now we can test disabling the
  12173. old deprecated v2 directory format, and see whether doing so has
  12174. any effect on network load. Begins to fix bug 6783.
  12175. - Directory authorities now include inside each vote a statement of
  12176. the performance thresholds they used when assigning flags.
  12177. Implements ticket 8151.
  12178. o Major bugfixes (directory authorities):
  12179. - Stop marking every relay as having been down for one hour every
  12180. time we restart a directory authority. These artificial downtimes
  12181. were messing with our Stable and Guard flag calculations. Fixes
  12182. bug 8218 (introduced by the fix for 1035). Bugfix on 0.2.2.23-alpha.
  12183. o Major bugfixes (hidden services):
  12184. - Allow hidden service authentication to succeed again. When we
  12185. refactored the hidden service introduction code back
  12186. in 0.2.4.1-alpha, we didn't update the code that checks
  12187. whether authentication information is present, causing all
  12188. authentication checks to return "false". Fix for bug 8207; bugfix
  12189. on 0.2.4.1-alpha. Found by Coverity; this is CID 718615.
  12190. o Minor features (relays, bridges):
  12191. - Make bridge relays check once a minute for whether their IP
  12192. address has changed, rather than only every 15 minutes. Resolves
  12193. bugs 1913 and 1992.
  12194. - Refactor resolve_my_address() so it returns the method by which we
  12195. decided our public IP address (explicitly configured, resolved from
  12196. explicit hostname, guessed from interfaces, learned by gethostname).
  12197. Now we can provide more helpful log messages when a relay guesses
  12198. its IP address incorrectly (e.g. due to unexpected lines in
  12199. /etc/hosts). Resolves ticket 2267.
  12200. - Teach bridge-using clients to avoid 0.2.2 bridges when making
  12201. microdescriptor-related dir requests, and only fall back to normal
  12202. descriptors if none of their bridges can handle microdescriptors
  12203. (as opposed to the fix in ticket 4013, which caused them to fall
  12204. back to normal descriptors if *any* of their bridges preferred
  12205. them). Resolves ticket 4994.
  12206. - Randomize the lifetime of our SSL link certificate, so censors can't
  12207. use the static value for filtering Tor flows. Resolves ticket 8443;
  12208. related to ticket 4014 which was included in 0.2.2.33.
  12209. - Support a new version of the link protocol that allows 4-byte circuit
  12210. IDs. Previously, circuit IDs were limited to 2 bytes, which presented
  12211. a possible resource exhaustion issue. Closes ticket 7351; implements
  12212. proposal 214.
  12213. o Minor features (portability):
  12214. - Tweak the curve25519-donna*.c implementations to tolerate systems
  12215. that lack stdint.h. Fixes bug 3894; bugfix on 0.2.4.8-alpha.
  12216. - Use Ville Laurikari's implementation of AX_CHECK_SIGN() to determine
  12217. the signs of types during autoconf. This is better than our old
  12218. approach, which didn't work when cross-compiling.
  12219. - Detect the sign of enum values, rather than assuming that MSC is the
  12220. only compiler where enum types are all signed. Fixes bug 7727;
  12221. bugfix on 0.2.4.10-alpha.
  12222. o Minor features (other):
  12223. - Say "KBytes" rather than "KB" in the man page (for various values
  12224. of K), to further reduce confusion about whether Tor counts in
  12225. units of memory or fractions of units of memory. Resolves ticket 7054.
  12226. - Clear the high bit on curve25519 public keys before passing them to
  12227. our backend, in case we ever wind up using a backend that doesn't do
  12228. so itself. If we used such a backend, and *didn't* clear the high bit,
  12229. we could wind up in a situation where users with such backends would
  12230. be distinguishable from users without. Fixes bug 8121; bugfix on
  12231. 0.2.4.8-alpha.
  12232. - Update to the March 6 2013 Maxmind GeoLite Country database.
  12233. o Minor bugfixes (clients):
  12234. - When we receive a RELAY_END cell with the reason DONE, or with no
  12235. reason, before receiving a RELAY_CONNECTED cell, report the SOCKS
  12236. status as "connection refused". Previously we reported these cases
  12237. as success but then immediately closed the connection. Fixes bug
  12238. 7902; bugfix on 0.1.0.1-rc. Reported by "oftc_must_be_destroyed".
  12239. - Downgrade an assertion in connection_ap_expire_beginning to an
  12240. LD_BUG message. The fix for bug 8024 should prevent this message
  12241. from displaying, but just in case, a warn that we can diagnose
  12242. is better than more assert crashes. Fixes bug 8065; bugfix on
  12243. 0.2.4.8-alpha.
  12244. - Lower path use bias thresholds to .80 for notice and .60 for warn.
  12245. Also make the rate limiting flags for the path use bias log messages
  12246. independent from the original path bias flags. Fixes bug 8161;
  12247. bugfix on 0.2.4.10-alpha.
  12248. o Minor bugfixes (relays):
  12249. - Stop trying to resolve our hostname so often (e.g. every time we
  12250. think about doing a directory fetch). Now we reuse the cached
  12251. answer in some cases. Fixes bugs 1992 (bugfix on 0.2.0.20-rc)
  12252. and 2410 (bugfix on 0.1.2.2-alpha).
  12253. - Stop sending a stray "(null)" in some cases for the server status
  12254. "EXTERNAL_ADDRESS" controller event. Resolves bug 8200; bugfix
  12255. on 0.1.2.6-alpha.
  12256. - When choosing which stream on a formerly stalled circuit to wake
  12257. first, make better use of the platform's weak RNG. Previously,
  12258. we had been using the % ("modulo") operator to try to generate a
  12259. 1/N chance of picking each stream, but this behaves badly with
  12260. many platforms' choice of weak RNG. Fixes bug 7801; bugfix on
  12261. 0.2.2.20-alpha.
  12262. - Use our own weak RNG when we need a weak RNG. Windows's rand() and
  12263. Irix's random() only return 15 bits; Solaris's random() returns more
  12264. bits but its RAND_MAX says it only returns 15, and so on. Motivated
  12265. by the fix for bug 7801; bugfix on 0.2.2.20-alpha.
  12266. o Minor bugfixes (directory authorities):
  12267. - Directory authorities now use less space when formatting identical
  12268. microdescriptor lines in directory votes. Fixes bug 8158; bugfix
  12269. on 0.2.4.1-alpha.
  12270. o Minor bugfixes (memory leaks spotted by Coverity -- bug 7816):
  12271. - Avoid leaking memory if we fail to compute a consensus signature
  12272. or we generate a consensus we can't parse. Bugfix on 0.2.0.5-alpha.
  12273. - Fix a memory leak when receiving headers from an HTTPS proxy. Bugfix
  12274. on 0.2.1.1-alpha.
  12275. - Fix a memory leak during safe-cookie controller authentication.
  12276. Bugfix on 0.2.3.13-alpha.
  12277. - Avoid memory leak of IPv6 policy content if we fail to format it into
  12278. a router descriptor. Bugfix on 0.2.4.7-alpha.
  12279. o Minor bugfixes (other code correctness issues):
  12280. - Avoid a crash if we fail to generate an extrainfo descriptor.
  12281. Fixes bug 8208; bugfix on 0.2.3.16-alpha. Found by Coverity;
  12282. this is CID 718634.
  12283. - When detecting the largest possible file descriptor (in order to
  12284. close all file descriptors when launching a new program), actually
  12285. use _SC_OPEN_MAX. The old code for doing this was very, very broken.
  12286. Fixes bug 8209; bugfix on 0.2.3.1-alpha. Found by Coverity; this
  12287. is CID 743383.
  12288. - Fix a copy-and-paste error when adding a missing A1 to a routerset
  12289. because of GeoIPExcludeUnknown. Fix for Coverity CID 980650.
  12290. Bugfix on 0.2.4.10-alpha.
  12291. - Fix an impossible-to-trigger integer overflow when estimating how
  12292. long our onionskin queue would take. (This overflow would require us
  12293. to accept 4 million onionskins before processing 100 of them.) Fixes
  12294. bug 8210; bugfix on 0.2.4.10-alpha.
  12295. o Code simplification and refactoring:
  12296. - Add a wrapper function for the common "log a message with a
  12297. rate-limit" case.
  12298. Changes in version 0.2.4.10-alpha - 2013-02-04
  12299. Tor 0.2.4.10-alpha adds defenses at the directory authority level from
  12300. certain attacks that flood the network with relays; changes the queue
  12301. for circuit create requests from a sized-based limit to a time-based
  12302. limit; resumes building with MSVC on Windows; and fixes a wide variety
  12303. of other issues.
  12304. o Major bugfixes (directory authority):
  12305. - When computing directory thresholds, ignore any rejected-as-sybil
  12306. nodes during the computation so that they can't influence Fast,
  12307. Guard, etc. (We should have done this for proposal 109.) Fixes
  12308. bug 8146.
  12309. - When marking a node as a likely sybil, reset its uptime metrics
  12310. to zero, so that it cannot time towards getting marked as Guard,
  12311. Stable, or HSDir. (We should have done this for proposal 109.) Fixes
  12312. bug 8147.
  12313. o Major bugfixes:
  12314. - When a TLS write is partially successful but incomplete, remember
  12315. that the flushed part has been flushed, and notice that bytes were
  12316. actually written. Reported and fixed pseudonymously. Fixes bug
  12317. 7708; bugfix on Tor 0.1.0.5-rc.
  12318. - Reject bogus create and relay cells with 0 circuit ID or 0 stream
  12319. ID: these could be used to create unexpected streams and circuits
  12320. which would count as "present" to some parts of Tor but "absent"
  12321. to others, leading to zombie circuits and streams or to a bandwidth
  12322. denial-of-service. Fixes bug 7889; bugfix on every released version
  12323. of Tor. Reported by "oftc_must_be_destroyed".
  12324. - Rename all macros in our local copy of queue.h to begin with "TOR_".
  12325. This change seems the only good way to permanently prevent conflicts
  12326. with queue.h on various operating systems. Fixes bug 8107; bugfix
  12327. on 0.2.4.6-alpha.
  12328. o Major features (relay):
  12329. - Instead of limiting the number of queued onionskins (aka circuit
  12330. create requests) to a fixed, hard-to-configure number, we limit
  12331. the size of the queue based on how many we expect to be able to
  12332. process in a given amount of time. We estimate the time it will
  12333. take to process an onionskin based on average processing time
  12334. of previous onionskins. Closes ticket 7291. You'll never have to
  12335. configure MaxOnionsPending again.
  12336. o Major features (portability):
  12337. - Resume building correctly with MSVC and Makefile.nmake. This patch
  12338. resolves numerous bugs and fixes reported by ultramage, including
  12339. 7305, 7308, 7309, 7310, 7312, 7313, 7315, 7316, and 7669.
  12340. - Make the ntor and curve25519 code build correctly with MSVC.
  12341. Fix on 0.2.4.8-alpha.
  12342. o Minor features:
  12343. - When directory authorities are computing thresholds for flags,
  12344. never let the threshold for the Fast flag fall below 4096
  12345. bytes. Also, do not consider nodes with extremely low bandwidths
  12346. when deciding thresholds for various directory flags. This change
  12347. should raise our threshold for Fast relays, possibly in turn
  12348. improving overall network performance; see ticket 1854. Resolves
  12349. ticket 8145.
  12350. - The Tor client now ignores sub-domain components of a .onion
  12351. address. This change makes HTTP "virtual" hosting
  12352. possible: http://foo.aaaaaaaaaaaaaaaa.onion/ and
  12353. http://bar.aaaaaaaaaaaaaaaa.onion/ can be two different websites
  12354. hosted on the same hidden service. Implements proposal 204.
  12355. - We compute the overhead from passing onionskins back and forth to
  12356. cpuworkers, and report it when dumping statistics in response to
  12357. SIGUSR1. Supports ticket 7291.
  12358. o Minor features (path selection):
  12359. - When deciding whether we have enough descriptors to build circuits,
  12360. instead of looking at raw relay counts, look at which fraction
  12361. of (bandwidth-weighted) paths we're able to build. This approach
  12362. keeps clients from building circuits if their paths are likely to
  12363. stand out statistically. The default fraction of paths needed is
  12364. taken from the consensus directory; you can override it with the
  12365. new PathsNeededToBuildCircuits option. Fixes ticket 5956.
  12366. - When any country code is listed in ExcludeNodes or ExcludeExitNodes,
  12367. and we have GeoIP information, also exclude all nodes with unknown
  12368. countries "??" and "A1". This behavior is controlled by the
  12369. new GeoIPExcludeUnknown option: you can make such nodes always
  12370. excluded with "GeoIPExcludeUnknown 1", and disable the feature
  12371. with "GeoIPExcludeUnknown 0". Setting "GeoIPExcludeUnknown auto"
  12372. gets you the default behavior. Implements feature 7706.
  12373. - Path Use Bias: Perform separate accounting for successful circuit
  12374. use. Keep separate statistics on stream attempt rates versus stream
  12375. success rates for each guard. Provide configurable thresholds to
  12376. determine when to emit log messages or disable use of guards that
  12377. fail too many stream attempts. Resolves ticket 7802.
  12378. o Minor features (log messages):
  12379. - When learning a fingerprint for a bridge, log its corresponding
  12380. transport type. Implements ticket 7896.
  12381. - Improve the log message when "Bug/attack: unexpected sendme cell
  12382. from client" occurs, to help us track bug 8093.
  12383. o Minor bugfixes:
  12384. - Remove a couple of extraneous semicolons that were upsetting the
  12385. cparser library. Patch by Christian Grothoff. Fixes bug 7115;
  12386. bugfix on 0.2.2.1-alpha.
  12387. - Remove a source of rounding error during path bias count scaling;
  12388. don't count cannibalized circuits as used for path bias until we
  12389. actually try to use them; and fix a circuit_package_relay_cell()
  12390. warning message about n_chan==NULL. Fixes bug 7802.
  12391. - Detect nacl when its headers are in a nacl/ subdirectory. Also,
  12392. actually link against nacl when we're configured to use it. Fixes
  12393. bug 7972; bugfix on 0.2.4.8-alpha.
  12394. - Compile correctly with the --disable-curve25519 option. Fixes
  12395. bug 8153; bugfix on 0.2.4.8-alpha.
  12396. o Build improvements:
  12397. - Do not report status verbosely from autogen.sh unless the -v flag
  12398. is specified. Fixes issue 4664. Patch from Onizuka.
  12399. - Replace all calls to snprintf() outside of src/ext with
  12400. tor_snprintf(). Also remove the #define to replace snprintf with
  12401. _snprintf on Windows; they have different semantics, and all of
  12402. our callers should be using tor_snprintf() anyway. Fixes bug 7304.
  12403. - Try to detect if we are ever building on a platform where
  12404. memset(...,0,...) does not set the value of a double to 0.0. Such
  12405. platforms are permitted by the C standard, though in practice
  12406. they're pretty rare (since IEEE 754 is nigh-ubiquitous). We don't
  12407. currently support them, but it's better to detect them and fail
  12408. than to perform erroneously.
  12409. o Removed features:
  12410. - Stop exporting estimates of v2 and v3 directory traffic shares
  12411. in extrainfo documents. They were unneeded and sometimes inaccurate.
  12412. Also stop exporting any v2 directory request statistics. Resolves
  12413. ticket 5823.
  12414. - Drop support for detecting and warning about versions of Libevent
  12415. before 1.3e. Nothing reasonable ships with them any longer;
  12416. warning the user about them shouldn't be needed. Resolves ticket
  12417. 6826.
  12418. o Code simplifications and refactoring:
  12419. - Rename "isin" functions to "contains", for grammar. Resolves
  12420. ticket 5285.
  12421. - Rename Tor's logging function log() to tor_log(), to avoid conflicts
  12422. with the natural logarithm function from the system libm. Resolves
  12423. ticket 7599.
  12424. Changes in version 0.2.4.9-alpha - 2013-01-15
  12425. Tor 0.2.4.9-alpha provides a quick fix to make the new ntor handshake
  12426. work more robustly.
  12427. o Major bugfixes:
  12428. - Fix backward compatibility logic when receiving an embedded ntor
  12429. handshake tunneled in a CREATE cell. This clears up the "Bug:
  12430. couldn't format CREATED cell" warning. Fixes bug 7959; bugfix
  12431. on 0.2.4.8-alpha.
  12432. Changes in version 0.2.4.8-alpha - 2013-01-14
  12433. Tor 0.2.4.8-alpha introduces directory guards to reduce user enumeration
  12434. risks, adds a new stronger and faster circuit handshake, and offers
  12435. stronger and faster link encryption when both sides support it.
  12436. o Major features:
  12437. - Preliminary support for directory guards (proposal 207): when
  12438. possible, clients now use their entry guards for non-anonymous
  12439. directory requests. This can help prevent client enumeration. Note
  12440. that this behavior only works when we have a usable consensus
  12441. directory, and when options about what to download are more or less
  12442. standard. In the future we should re-bootstrap from our guards,
  12443. rather than re-bootstrapping from the preconfigured list of
  12444. directory sources that ships with Tor. Resolves ticket 6526.
  12445. - Tor relays and clients now support a better CREATE/EXTEND cell
  12446. format, allowing the sender to specify multiple address, identity,
  12447. and handshake types. Implements Robert Ransom's proposal 200;
  12448. closes ticket 7199.
  12449. o Major features (new circuit handshake):
  12450. - Tor now supports a new circuit extension handshake designed by Ian
  12451. Goldberg, Douglas Stebila, and Berkant Ustaoglu. Our original
  12452. circuit extension handshake, later called "TAP", was a bit slow
  12453. (especially on the relay side), had a fragile security proof, and
  12454. used weaker keys than we'd now prefer. The new circuit handshake
  12455. uses Dan Bernstein's "curve25519" elliptic-curve Diffie-Hellman
  12456. function, making it significantly more secure than the older
  12457. handshake, and significantly faster. Tor can use one of two built-in
  12458. pure-C curve25519-donna implementations by Adam Langley, or it
  12459. can link against the "nacl" library for a tuned version if present.
  12460. The built-in version is very fast for 64-bit systems when building
  12461. with GCC. The built-in 32-bit version is still faster than the
  12462. old TAP protocol, but using libnacl is better on most such hosts.
  12463. Clients don't currently use this protocol by default, since
  12464. comparatively few clients support it so far. To try it, set
  12465. UseNTorHandshake to 1.
  12466. Implements proposal 216; closes ticket 7202.
  12467. o Major features (better link encryption):
  12468. - Relays can now enable the ECDHE TLS ciphersuites when available
  12469. and appropriate. These ciphersuites let us negotiate forward-secure
  12470. TLS secret keys more safely and more efficiently than with our
  12471. previous use of Diffie-Hellman modulo a 1024-bit prime. By default,
  12472. public relays prefer the (faster) P224 group, and bridges prefer
  12473. the (more common) P256 group; you can override this with the
  12474. TLSECGroup option.
  12475. Enabling these ciphers was a little tricky, since for a long time,
  12476. clients had been claiming to support them without actually doing
  12477. so, in order to foil fingerprinting. But with the client-side
  12478. implementation of proposal 198 in 0.2.3.17-beta, clients can now
  12479. match the ciphers from recent Firefox versions *and* list the
  12480. ciphers they actually mean, so relays can believe such clients
  12481. when they advertise ECDHE support in their TLS ClientHello messages.
  12482. This feature requires clients running 0.2.3.17-beta or later,
  12483. and requires both sides to be running OpenSSL 1.0.0 or later
  12484. with ECC support. OpenSSL 1.0.1, with the compile-time option
  12485. "enable-ec_nistp_64_gcc_128", is highly recommended.
  12486. Implements the relay side of proposal 198; closes ticket 7200.
  12487. o Major bugfixes:
  12488. - Avoid crashing when, as a relay without IPv6-exit support, a
  12489. client insists on getting an IPv6 address or nothing. Fixes bug
  12490. 7814; bugfix on 0.2.4.7-alpha.
  12491. o Minor features:
  12492. - Improve circuit build timeout handling for hidden services.
  12493. In particular: adjust build timeouts more accurately depending
  12494. upon the number of hop-RTTs that a particular circuit type
  12495. undergoes. Additionally, launch intro circuits in parallel
  12496. if they timeout, and take the first one to reply as valid.
  12497. - Work correctly on Unix systems where EAGAIN and EWOULDBLOCK are
  12498. separate error codes; or at least, don't break for that reason.
  12499. Fixes bug 7935. Reported by "oftc_must_be_destroyed".
  12500. - Update to the January 2 2013 Maxmind GeoLite Country database.
  12501. o Minor features (testing):
  12502. - Add benchmarks for DH (1024-bit multiplicative group) and ECDH
  12503. (P-256) Diffie-Hellman handshakes to src/or/bench.
  12504. - Add benchmark functions to test onion handshake performance.
  12505. o Minor features (path bias detection):
  12506. - Alter the Path Bias log messages to be more descriptive in terms
  12507. of reporting timeouts and other statistics.
  12508. - Create three levels of Path Bias log messages, as opposed to just
  12509. two. These are configurable via consensus as well as via the torrc
  12510. options PathBiasNoticeRate, PathBiasWarnRate, PathBiasExtremeRate.
  12511. The default values are 0.70, 0.50, and 0.30 respectively.
  12512. - Separate the log message levels from the decision to drop guards,
  12513. which also is available via torrc option PathBiasDropGuards.
  12514. PathBiasDropGuards still defaults to 0 (off).
  12515. - Deprecate PathBiasDisableRate in favor of PathBiasDropGuards
  12516. in combination with PathBiasExtremeRate.
  12517. - Increase the default values for PathBiasScaleThreshold and
  12518. PathBiasCircThreshold from (200, 20) to (300, 150).
  12519. - Add in circuit usage accounting to path bias. If we try to use a
  12520. built circuit but fail for any reason, it counts as path bias.
  12521. Certain classes of circuits where the adversary gets to pick your
  12522. destination node are exempt from this accounting. Usage accounting
  12523. can be specifically disabled via consensus parameter or torrc.
  12524. - Convert all internal path bias state to double-precision floating
  12525. point, to avoid roundoff error and other issues.
  12526. - Only record path bias information for circuits that have completed
  12527. *two* hops. Assuming end-to-end tagging is the attack vector, this
  12528. makes us more resilient to ambient circuit failure without any
  12529. detection capability loss.
  12530. o Minor bugfixes (log messages):
  12531. - Rate-limit the "No circuits are opened. Relaxed timeout for a
  12532. circuit with channel state open..." message to once per hour to
  12533. keep it from filling the notice logs. Mitigates bug 7799 but does
  12534. not fix the underlying cause. Bugfix on 0.2.4.7-alpha.
  12535. - Avoid spurious warnings when configuring multiple client ports of
  12536. which only some are nonlocal. Previously, we had claimed that some
  12537. were nonlocal when in fact they weren't. Fixes bug 7836; bugfix on
  12538. 0.2.3.3-alpha.
  12539. o Code simplifications and refactoring:
  12540. - Get rid of a couple of harmless clang warnings, where we compared
  12541. enums to ints. These warnings are newly introduced in clang 3.2.
  12542. - Split the onion.c file into separate modules for the onion queue
  12543. and the different handshakes it supports.
  12544. - Remove the marshalling/unmarshalling code for sending requests to
  12545. cpuworkers over a socket, and instead just send structs. The
  12546. recipient will always be the same Tor binary as the sender, so
  12547. any encoding is overkill.
  12548. Changes in version 0.2.4.7-alpha - 2012-12-24
  12549. Tor 0.2.4.7-alpha introduces a new approach to providing fallback
  12550. directory mirrors for more robust bootstrapping; fixes more issues where
  12551. clients with changing network conditions refuse to make any circuits;
  12552. adds initial support for exiting to IPv6 addresses; resumes being able
  12553. to update our GeoIP database, and includes the geoip6 file this time;
  12554. turns off the client-side DNS cache by default due to privacy risks;
  12555. and fixes a variety of other issues.
  12556. o Major features (client resilience):
  12557. - Add a new "FallbackDir" torrc option to use when we can't use
  12558. a directory mirror from the consensus (either because we lack a
  12559. consensus, or because they're all down). Currently, all authorities
  12560. are fallbacks by default, and there are no other default fallbacks,
  12561. but that will change. This option will allow us to give clients a
  12562. longer list of servers to try to get a consensus from when first
  12563. connecting to the Tor network, and thereby reduce load on the
  12564. directory authorities. Implements proposal 206, "Preconfigured
  12565. directory sources for bootstrapping". We also removed the old
  12566. "FallbackNetworkstatus" option, since we never got it working well
  12567. enough to use it. Closes bug 572.
  12568. - If we have no circuits open, use a relaxed timeout (the
  12569. 95-percentile cutoff) until a circuit succeeds. This heuristic
  12570. should allow Tor to succeed at building circuits even when the
  12571. network connection drastically changes. Should help with bug 3443.
  12572. o Major features (IPv6):
  12573. - Relays can now exit to IPv6 addresses: make sure that you have IPv6
  12574. connectivity, then set the IPv6Exit flag to 1. Also make sure your
  12575. exit policy reads as you would like: the address * applies to all
  12576. address families, whereas *4 is IPv4 address only, and *6 is IPv6
  12577. addresses only. On the client side, you'll need to wait until the
  12578. authorities have upgraded, wait for enough exits to support IPv6,
  12579. apply the "IPv6Traffic" flag to a SocksPort, and use Socks5. Closes
  12580. ticket 5547, implements proposal 117 as revised in proposal 208.
  12581. We DO NOT recommend that clients with actual anonymity needs start
  12582. using IPv6 over Tor yet, since not enough exits support it yet.
  12583. o Major features (geoip database):
  12584. - Maxmind began labelling Tor relays as being in country "A1",
  12585. which breaks by-country node selection inside Tor. Now we use a
  12586. script to replace "A1" ("Anonymous Proxy") entries in our geoip
  12587. file with real country codes. This script fixes about 90% of "A1"
  12588. entries automatically and uses manual country code assignments to
  12589. fix the remaining 10%. See src/config/README.geoip for details.
  12590. Fixes bug 6266. Also update to the December 5 2012 Maxmind GeoLite
  12591. Country database, as modified above.
  12592. o Major bugfixes (client-side DNS):
  12593. - Turn off the client-side DNS cache by default. Updating and using
  12594. the DNS cache is now configurable on a per-client-port
  12595. level. SOCKSPort, DNSPort, etc lines may now contain
  12596. {No,}Cache{IPv4,IPv6,}DNS lines to indicate that we shouldn't
  12597. cache these types of DNS answers when we receive them from an
  12598. exit node in response to an application request on this port, and
  12599. {No,}UseCached{IPv4,IPv6,DNS} lines to indicate that if we have
  12600. cached DNS answers of these types, we shouldn't use them. It's
  12601. potentially risky to use cached DNS answers at the client, since
  12602. doing so can indicate to one exit what answers we've gotten
  12603. for DNS lookups in the past. With IPv6, this becomes especially
  12604. problematic. Using cached DNS answers for requests on the same
  12605. circuit would present less linkability risk, since all traffic
  12606. on a circuit is already linkable, but it would also provide
  12607. little performance benefit: the exit node caches DNS replies
  12608. too. Implements a simplified version of Proposal 205. Implements
  12609. ticket 7570.
  12610. o Major bugfixes (other):
  12611. - Alter circuit build timeout measurement to start at the point
  12612. where we begin the CREATE/CREATE_FAST step (as opposed to circuit
  12613. initialization). This should make our timeout measurements more
  12614. uniform. Previously, we were sometimes including ORconn setup time
  12615. in our circuit build time measurements. Should resolve bug 3443.
  12616. - Fix an assertion that could trigger in hibernate_go_dormant() when
  12617. closing an or_connection_t: call channel_mark_for_close() rather
  12618. than connection_mark_for_close(). Fixes bug 7267. Bugfix on
  12619. 0.2.4.4-alpha.
  12620. - Include the geoip6 IPv6 GeoIP database in the tarball. Fixes bug
  12621. 7655; bugfix on 0.2.4.6-alpha.
  12622. o Minor features:
  12623. - Add a new torrc option "ServerTransportListenAddr" to let bridge
  12624. operators select the address where their pluggable transports will
  12625. listen for connections. Resolves ticket 7013.
  12626. - Allow an optional $ before the node identity digest in the
  12627. controller command GETINFO ns/id/<identity>, for consistency with
  12628. md/id/<identity> and desc/id/<identity>. Resolves ticket 7059.
  12629. - Log packaged cell fullness as part of the heartbeat message.
  12630. Diagnosis to try to determine the extent of bug 7743.
  12631. o Minor features (IPv6):
  12632. - AutomapHostsOnResolve now supports IPv6 addresses. By default, we
  12633. prefer to hand out virtual IPv6 addresses, since there are more of
  12634. them and we can't run out. To override this behavior and make IPv4
  12635. addresses preferred, set NoPreferIPv6Automap on whatever SOCKSPort
  12636. or DNSPort you're using for resolving. Implements ticket 7571.
  12637. - AutomapHostsOnResolve responses are now randomized, to avoid
  12638. annoying situations where Tor is restarted and applications
  12639. connect to the wrong addresses.
  12640. - Never try more than 1000 times to pick a new virtual address when
  12641. AutomapHostsOnResolve is set. That's good enough so long as we
  12642. aren't close to handing out our entire virtual address space;
  12643. if you're getting there, it's best to switch to IPv6 virtual
  12644. addresses anyway.
  12645. o Minor bugfixes:
  12646. - The ADDRMAP command can no longer generate an ill-formed error
  12647. code on a failed MAPADDRESS. It now says "internal" rather than
  12648. an English sentence fragment with spaces in the middle. Bugfix on
  12649. Tor 0.2.0.19-alpha.
  12650. - Fix log messages and comments to avoid saying "GMT" when we mean
  12651. "UTC". Fixes bug 6113.
  12652. - Compile on win64 using mingw64. Fixes bug 7260; patches from
  12653. "yayooo".
  12654. - Fix a crash when debugging unit tests on Windows: deallocate a
  12655. shared library with FreeLibrary, not CloseHandle. Fixes bug 7306;
  12656. bugfix on 0.2.2.17-alpha. Reported by "ultramage".
  12657. o Renamed options:
  12658. - The DirServer option is now DirAuthority, for consistency with
  12659. current naming patterns. You can still use the old DirServer form.
  12660. o Code simplification and refactoring:
  12661. - Move the client-side address-map/virtual-address/DNS-cache code
  12662. out of connection_edge.c into a new addressmap.c module.
  12663. - Remove unused code for parsing v1 directories and "running routers"
  12664. documents. Fixes bug 6887.
  12665. Changes in version 0.2.3.25 - 2012-11-19
  12666. The Tor 0.2.3 release series is dedicated to the memory of Len "rabbi"
  12667. Sassaman (1980-2011), a long-time cypherpunk, anonymity researcher,
  12668. Mixmaster maintainer, Pynchon Gate co-designer, CodeCon organizer,
  12669. programmer, and friend. Unstinting in his dedication to the cause of
  12670. freedom, he inspired and helped many of us as we began our work on
  12671. anonymity, and inspires us still. Please honor his memory by writing
  12672. software to protect people's freedoms, and by helping others to do so.
  12673. Tor 0.2.3.25, the first stable release in the 0.2.3 branch, features
  12674. significantly reduced directory overhead (via microdescriptors),
  12675. enormous crypto performance improvements for fast relays on new
  12676. enough hardware, a new v3 TLS handshake protocol that can better
  12677. resist fingerprinting, support for protocol obfuscation plugins (aka
  12678. pluggable transports), better scalability for hidden services, IPv6
  12679. support for bridges, performance improvements like allowing clients
  12680. to skip the first round-trip on the circuit ("optimistic data") and
  12681. refilling token buckets more often, a new "stream isolation" design
  12682. to isolate different applications on different circuits, and many
  12683. stability, security, and privacy fixes.
  12684. o Major bugfixes:
  12685. - Tor tries to wipe potentially sensitive data after using it, so
  12686. that if some subsequent security failure exposes Tor's memory,
  12687. the damage will be limited. But we had a bug where the compiler
  12688. was eliminating these wipe operations when it decided that the
  12689. memory was no longer visible to a (correctly running) program,
  12690. hence defeating our attempt at defense in depth. We fix that
  12691. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  12692. is unlikely to optimize away. Future versions of Tor may use
  12693. a less ridiculously heavy approach for this. Fixes bug 7352.
  12694. Reported in an article by Andrey Karpov.
  12695. o Minor bugfixes:
  12696. - Fix a harmless bug when opting against publishing a relay descriptor
  12697. because DisableNetwork is set. Fixes bug 7464; bugfix on
  12698. 0.2.3.9-alpha.
  12699. Changes in version 0.2.4.6-alpha - 2012-11-13
  12700. Tor 0.2.4.6-alpha fixes an assert bug that has been plaguing relays,
  12701. makes our defense-in-depth memory wiping more reliable, and begins to
  12702. count IPv6 addresses in bridge statistics,
  12703. o Major bugfixes:
  12704. - Fix an assertion failure that could occur when closing a connection
  12705. with a spliced rendezvous circuit. Fix for bug 7212; bugfix on
  12706. Tor 0.2.4.4-alpha.
  12707. - Tor tries to wipe potentially sensitive data after using it, so
  12708. that if some subsequent security failure exposes Tor's memory,
  12709. the damage will be limited. But we had a bug where the compiler
  12710. was eliminating these wipe operations when it decided that the
  12711. memory was no longer visible to a (correctly running) program,
  12712. hence defeating our attempt at defense in depth. We fix that
  12713. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  12714. is unlikely to optimize away. Future versions of Tor may use
  12715. a less ridiculously heavy approach for this. Fixes bug 7352.
  12716. Reported in an article by Andrey Karpov.
  12717. o Minor features:
  12718. - Add GeoIP database for IPv6 addresses. The new config option
  12719. is GeoIPv6File.
  12720. - Bridge statistics now count bridge clients connecting over IPv6:
  12721. bridge statistics files now list "bridge-ip-versions" and
  12722. extra-info documents list "geoip6-db-digest". The control protocol
  12723. "CLIENTS_SEEN" and "ip-to-country" queries now support IPv6. Initial
  12724. implementation by "shkoo", addressing ticket 5055.
  12725. o Minor bugfixes:
  12726. - Warn when we are binding low ports when hibernation is enabled;
  12727. previously we had warned when we were _advertising_ low ports with
  12728. hibernation enabled. Fixes bug 7285; bugfix on 0.2.3.9-alpha.
  12729. - Fix a harmless bug when opting against publishing a relay descriptor
  12730. because DisableNetwork is set. Fixes bug 7464; bugfix on
  12731. 0.2.3.9-alpha.
  12732. - Add warning message when a managed proxy dies during configuration.
  12733. Fixes bug 7195; bugfix on 0.2.4.2-alpha.
  12734. - Fix a linking error when building tor-fw-helper without miniupnp.
  12735. Fixes bug 7235; bugfix on 0.2.4.2-alpha. Fix by Anthony G. Basile.
  12736. - Check for closing an or_connection_t without going through correct
  12737. channel functions; emit a warning and then call
  12738. connection_or_close_for_error() so we don't assert as in bugs 7212
  12739. and 7267.
  12740. - Compile correctly on compilers without C99 designated initializer
  12741. support. Fixes bug 7286; bugfix on 0.2.4.4-alpha.
  12742. - Avoid a possible assert that can occur when channel_send_destroy() is
  12743. called on a channel in CHANNEL_STATE_CLOSING, CHANNEL_STATE_CLOSED,
  12744. or CHANNEL_STATE_ERROR when the Tor process is resumed after being
  12745. blocked for a long interval. Fixes bug 7350; bugfix on 0.2.4.4-alpha.
  12746. - Fix a memory leak on failing cases of channel_tls_process_certs_cell.
  12747. Fixes bug 7422; bugfix on 0.2.4.4-alpha.
  12748. o Code simplification and refactoring:
  12749. - Start using OpenBSD's implementation of queue.h, so that we don't
  12750. need to hand-roll our own pointer and list structures whenever we
  12751. need them. (We can't rely on a sys/queue.h, since some operating
  12752. systems don't have them, and the ones that do have them don't all
  12753. present the same extensions.)
  12754. Changes in version 0.2.4.5-alpha - 2012-10-25
  12755. Tor 0.2.4.5-alpha comes hard at the heels of 0.2.4.4-alpha, to fix
  12756. two important security vulnerabilities that could lead to remotely
  12757. triggerable relay crashes, fix a major bug that was preventing clients
  12758. from choosing suitable exit nodes, and refactor some of our code.
  12759. o Major bugfixes (security, also in 0.2.3.24-rc):
  12760. - Fix a group of remotely triggerable assertion failures related to
  12761. incorrect link protocol negotiation. Found, diagnosed, and fixed
  12762. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  12763. 0.2.3.6-alpha.
  12764. - Fix a denial of service attack by which any directory authority
  12765. could crash all the others, or by which a single v2 directory
  12766. authority could crash everybody downloading v2 directory
  12767. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  12768. o Major bugfixes (also in 0.2.3.24-rc):
  12769. - When parsing exit policy summaries from microdescriptors, we had
  12770. previously been ignoring the last character in each one, so that
  12771. "accept 80,443,8080" would be treated by clients as indicating
  12772. a node that allows access to ports 80, 443, and 808. That would
  12773. lead to clients attempting connections that could never work,
  12774. and ignoring exit nodes that would support their connections. Now
  12775. clients parse these exit policy summaries correctly. Fixes bug 7192;
  12776. bugfix on 0.2.3.1-alpha.
  12777. o Minor bugfixes (also in 0.2.3.24-rc):
  12778. - Clients now consider the ClientRejectInternalAddresses config option
  12779. when using a microdescriptor consensus stanza to decide whether
  12780. an exit relay would allow exiting to an internal address. Fixes
  12781. bug 7190; bugfix on 0.2.3.1-alpha.
  12782. o Minor bugfixes:
  12783. - Only disable TLS session ticket support when running as a TLS
  12784. server. Now clients will blend better with regular Firefox
  12785. connections. Fixes bug 7189; bugfix on Tor 0.2.3.23-rc.
  12786. o Code simplification and refactoring:
  12787. - Start using OpenBSD's implementation of queue.h (originally by
  12788. Niels Provos).
  12789. - Move the entry node code from circuitbuild.c to its own file.
  12790. - Move the circuit build timeout tracking code from circuitbuild.c
  12791. to its own file.
  12792. Changes in version 0.2.3.24-rc - 2012-10-25
  12793. Tor 0.2.3.24-rc fixes two important security vulnerabilities that
  12794. could lead to remotely triggerable relay crashes, and fixes
  12795. a major bug that was preventing clients from choosing suitable exit
  12796. nodes.
  12797. o Major bugfixes (security):
  12798. - Fix a group of remotely triggerable assertion failures related to
  12799. incorrect link protocol negotiation. Found, diagnosed, and fixed
  12800. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  12801. 0.2.3.6-alpha.
  12802. - Fix a denial of service attack by which any directory authority
  12803. could crash all the others, or by which a single v2 directory
  12804. authority could crash everybody downloading v2 directory
  12805. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  12806. o Major bugfixes:
  12807. - When parsing exit policy summaries from microdescriptors, we had
  12808. previously been ignoring the last character in each one, so that
  12809. "accept 80,443,8080" would be treated by clients as indicating
  12810. a node that allows access to ports 80, 443, and 808. That would
  12811. lead to clients attempting connections that could never work,
  12812. and ignoring exit nodes that would support their connections. Now
  12813. clients parse these exit policy summaries correctly. Fixes bug 7192;
  12814. bugfix on 0.2.3.1-alpha.
  12815. o Minor bugfixes:
  12816. - Clients now consider the ClientRejectInternalAddresses config option
  12817. when using a microdescriptor consensus stanza to decide whether
  12818. an exit relay would allow exiting to an internal address. Fixes
  12819. bug 7190; bugfix on 0.2.3.1-alpha.
  12820. Changes in version 0.2.4.4-alpha - 2012-10-20
  12821. Tor 0.2.4.4-alpha adds a new v3 directory authority, fixes a privacy
  12822. vulnerability introduced by a change in OpenSSL, fixes a remotely
  12823. triggerable assert, and adds new channel_t and circuitmux_t abstractions
  12824. that will make it easier to test new connection transport and cell
  12825. scheduling algorithms.
  12826. o New directory authorities (also in 0.2.3.23-rc):
  12827. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  12828. authority. Closes ticket 5749.
  12829. o Major bugfixes (security/privacy, also in 0.2.3.23-rc):
  12830. - Disable TLS session tickets. OpenSSL's implementation was giving
  12831. our TLS session keys the lifetime of our TLS context objects, when
  12832. perfect forward secrecy would want us to discard anything that
  12833. could decrypt a link connection as soon as the link connection
  12834. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  12835. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  12836. - Discard extraneous renegotiation attempts once the V3 link
  12837. protocol has been initiated. Failure to do so left us open to
  12838. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  12839. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  12840. o Internal abstraction features:
  12841. - Introduce new channel_t abstraction between circuits and
  12842. or_connection_t to allow for implementing alternate OR-to-OR
  12843. transports. A channel_t is an abstract object which can either be a
  12844. cell-bearing channel, which is responsible for authenticating and
  12845. handshaking with the remote OR and transmitting cells to and from
  12846. it, or a listening channel, which spawns new cell-bearing channels
  12847. at the request of remote ORs. Implements part of ticket 6465.
  12848. - Also new is the channel_tls_t subclass of channel_t, adapting it
  12849. to the existing or_connection_t code. The V2/V3 protocol handshaking
  12850. code which formerly resided in command.c has been moved below the
  12851. channel_t abstraction layer and may be found in channeltls.c now.
  12852. Implements the rest of ticket 6465.
  12853. - Introduce new circuitmux_t storing the queue of circuits for
  12854. a channel; this encapsulates and abstracts the queue logic and
  12855. circuit selection policy, and allows the latter to be overridden
  12856. easily by switching out a policy object. The existing EWMA behavior
  12857. is now implemented as a circuitmux_policy_t. Resolves ticket 6816.
  12858. o Required libraries:
  12859. - Tor now requires OpenSSL 0.9.8 or later. OpenSSL 1.0.0 or later is
  12860. strongly recommended.
  12861. o Minor features:
  12862. - Warn users who run hidden services on a Tor client with
  12863. UseEntryGuards disabled that their hidden services will be
  12864. vulnerable to http://freehaven.net/anonbib/#hs-attack06 (the
  12865. attack which motivated Tor to support entry guards in the first
  12866. place). Resolves ticket 6889.
  12867. - Tor now builds correctly on Bitrig, an OpenBSD fork. Patch from
  12868. dhill. Resolves ticket 6982.
  12869. - Option OutboundBindAddress can be specified multiple times and
  12870. accepts IPv6 addresses. Resolves ticket 6876.
  12871. o Minor bugfixes (also in 0.2.3.23-rc):
  12872. - Don't serve or accept v2 hidden service descriptors over a
  12873. relay's DirPort. It's never correct to do so, and disabling it
  12874. might make it more annoying to exploit any bugs that turn up in the
  12875. descriptor-parsing code. Fixes bug 7149.
  12876. - Fix two cases in src/or/transports.c where we were calling
  12877. fmt_addr() twice in a parameter list. Bug found by David
  12878. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  12879. - Fix memory leaks whenever we logged any message about the "path
  12880. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  12881. - When relays refuse a "create" cell because their queue of pending
  12882. create cells is too big (typically because their cpu can't keep up
  12883. with the arrival rate), send back reason "resource limit" rather
  12884. than reason "internal", so network measurement scripts can get a
  12885. more accurate picture. Fixes bug 7037; bugfix on 0.1.1.11-alpha.
  12886. o Minor bugfixes:
  12887. - Command-line option "--version" implies "--quiet". Fixes bug 6997.
  12888. - Free some more still-in-use memory at exit, to make hunting for
  12889. memory leaks easier. Resolves bug 7029.
  12890. - When a Tor client gets a "truncated" relay cell, the first byte of
  12891. its payload specifies why the circuit was truncated. We were
  12892. ignoring this 'reason' byte when tearing down the circuit, resulting
  12893. in the controller not being told why the circuit closed. Now we
  12894. pass the reason from the truncated cell to the controller. Bugfix
  12895. on 0.1.2.3-alpha; fixes bug 7039.
  12896. - Downgrade "Failed to hand off onionskin" messages to "debug"
  12897. severity, since they're typically redundant with the "Your computer
  12898. is too slow" messages. Fixes bug 7038; bugfix on 0.2.2.16-alpha.
  12899. - Make clients running with IPv6 bridges connect over IPv6 again,
  12900. even without setting new config options ClientUseIPv6 and
  12901. ClientPreferIPv6ORPort. Fixes bug 6757; bugfix on 0.2.4.1-alpha.
  12902. - Use square brackets around IPv6 addresses in numerous places
  12903. that needed them, including log messages, HTTPS CONNECT proxy
  12904. requests, TransportProxy statefile entries, and pluggable transport
  12905. extra-info lines. Fixes bug 7011; patch by David Fifield.
  12906. o Code refactoring and cleanup:
  12907. - Source files taken from other packages now reside in src/ext;
  12908. previously they were scattered around the rest of Tor.
  12909. - Avoid use of reserved identifiers in our C code. The C standard
  12910. doesn't like us declaring anything that starts with an
  12911. underscore, so let's knock it off before we get in trouble. Fix
  12912. for bug 1031; bugfix on the first Tor commit.
  12913. Changes in version 0.2.3.23-rc - 2012-10-20
  12914. Tor 0.2.3.23-rc adds a new v3 directory authority, fixes a privacy
  12915. vulnerability introduced by a change in OpenSSL, and fixes a variety
  12916. of smaller bugs in preparation for the release.
  12917. o New directory authorities:
  12918. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  12919. authority. Closes ticket 5749.
  12920. o Major bugfixes (security/privacy):
  12921. - Disable TLS session tickets. OpenSSL's implementation was giving
  12922. our TLS session keys the lifetime of our TLS context objects, when
  12923. perfect forward secrecy would want us to discard anything that
  12924. could decrypt a link connection as soon as the link connection
  12925. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  12926. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  12927. - Discard extraneous renegotiation attempts once the V3 link
  12928. protocol has been initiated. Failure to do so left us open to
  12929. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  12930. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  12931. o Major bugfixes:
  12932. - Fix a possible crash bug when checking for deactivated circuits
  12933. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  12934. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  12935. o Minor bugfixes (on 0.2.3.x):
  12936. - Fix two cases in src/or/transports.c where we were calling
  12937. fmt_addr() twice in a parameter list. Bug found by David
  12938. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  12939. - Convert an assert in the pathbias code to a log message. The assert
  12940. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  12941. bugfix on 0.2.3.17-beta.
  12942. - Fix memory leaks whenever we logged any message about the "path
  12943. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  12944. o Minor bugfixes (on 0.2.2.x and earlier):
  12945. - Don't serve or accept v2 hidden service descriptors over a relay's
  12946. DirPort. It's never correct to do so, and disabling it might
  12947. make it more annoying to exploit any bugs that turn up in the
  12948. descriptor-parsing code. Fixes bug 7149.
  12949. - When relays refuse a "create" cell because their queue of pending
  12950. create cells is too big (typically because their cpu can't keep up
  12951. with the arrival rate), send back reason "resource limit" rather
  12952. than reason "internal", so network measurement scripts can get a
  12953. more accurate picture. Bugfix on 0.1.1.11-alpha; fixes bug 7037.
  12954. - Correct file sizes when reading binary files on Cygwin, to avoid
  12955. a bug where Tor would fail to read its state file. Fixes bug 6844;
  12956. bugfix on 0.1.2.7-alpha.
  12957. - Avoid undefined behavior when parsing the list of supported
  12958. rendezvous/introduction protocols in a hidden service descriptor.
  12959. Previously, Tor would have confused (as-yet-unused) protocol version
  12960. numbers greater than 32 with lower ones on many platforms. Fixes
  12961. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  12962. o Documentation fixes:
  12963. - Clarify that hidden services are TCP only. Fixes bug 6024.
  12964. Changes in version 0.2.4.3-alpha - 2012-09-22
  12965. Tor 0.2.4.3-alpha fixes another opportunity for a remotely triggerable
  12966. assertion, resumes letting relays test reachability of their DirPort,
  12967. and cleans up a bunch of smaller bugs.
  12968. o Security fixes:
  12969. - Fix an assertion failure in tor_timegm() that could be triggered
  12970. by a badly formatted directory object. Bug found by fuzzing with
  12971. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  12972. o Major bugfixes:
  12973. - Fix a possible crash bug when checking for deactivated circuits
  12974. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  12975. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  12976. - Allow routers to detect that their own DirPorts are running. When
  12977. we removed support for versions_supports_begindir, we also
  12978. accidentally removed the mechanism we used to self-test our
  12979. DirPort. Diagnosed with help from kargig. Fixes bugs 6814 and 6815;
  12980. bugfix on 0.2.4.2-alpha.
  12981. o Security features:
  12982. - Switch to a completely time-invariant approach for picking nodes
  12983. weighted by bandwidth. Our old approach would run through the
  12984. part of the loop after it had made its choice slightly slower
  12985. than it ran through the part of the loop before it had made its
  12986. choice. Addresses ticket 6538.
  12987. - Disable the use of Guard nodes when in Tor2WebMode. Guard usage
  12988. by tor2web clients allows hidden services to identify tor2web
  12989. clients through their repeated selection of the same rendezvous
  12990. and introduction point circuit endpoints (their guards). Resolves
  12991. ticket 6888.
  12992. o Minor features:
  12993. - Enable Tor to read configuration, state, and key information from
  12994. a FIFO. Previously Tor would only read from files with a positive
  12995. stat.st_size. Code from meejah; fixes bug 6044.
  12996. o Minor bugfixes:
  12997. - Correct file sizes when reading binary files on Cygwin, to avoid
  12998. a bug where Tor would fail to read its state file. Fixes bug 6844;
  12999. bugfix on 0.1.2.7-alpha.
  13000. - Correctly handle votes with more than 31 flags. Fixes bug 6853;
  13001. bugfix on 0.2.0.3-alpha.
  13002. - When complaining about a client port on a public address, log
  13003. which address we're complaining about. Fixes bug 4020; bugfix on
  13004. 0.2.3.3-alpha. Patch by Tom Fitzhenry.
  13005. - Convert an assert in the pathbias code to a log message. The assert
  13006. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  13007. bugfix on 0.2.3.17-beta.
  13008. - Our new buildsystem was overzealous about rebuilding manpages: it
  13009. would rebuild them all whenever any one of them changed. Now our
  13010. dependency checking should be correct. Fixes bug 6843; bugfix on
  13011. 0.2.4.1-alpha.
  13012. - Don't do reachability testing over IPv6 unless AuthDirPublishIPv6
  13013. is set. Fixes bug 6880. Bugfix on 0.2.4.1-alpha.
  13014. - Correct log printout about which address family is preferred
  13015. when connecting to a bridge with both an IPv4 and IPv6 OR port.
  13016. Fixes bug 6884; bugfix on 0.2.4.1-alpha.
  13017. o Minor bugfixes (code cleanliness):
  13018. - Fix round_to_power_of_2() so it doesn't invoke undefined behavior
  13019. with large values. This situation was untriggered, but nevertheless
  13020. incorrect. Fixes bug 6831; bugfix on 0.2.0.1-alpha.
  13021. - Reject consensus votes with more than 64 known-flags. We aren't even
  13022. close to that limit yet, and our code doesn't handle it correctly.
  13023. Fixes bug 6833; bugfix on 0.2.0.1-alpha.
  13024. - Avoid undefined behavior when parsing the list of supported
  13025. rendezvous/introduction protocols in a hidden service descriptor.
  13026. Previously, Tor would have confused (as-yet-unused) protocol version
  13027. numbers greater than 32 with lower ones on many platforms. Fixes
  13028. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  13029. - Fix handling of rendezvous client authorization types over 8.
  13030. Fixes bug 6861; bugfix on 0.2.1.5-alpha.
  13031. - Fix building with older versions of GCC (2.95, for one) that don't
  13032. like preprocessor directives inside macro arguments. Found by
  13033. grarpamp. Fixes bug 6842; bugfix on 0.2.4.2-alpha.
  13034. - Switch weighted node selection rule from using a list of doubles
  13035. to using a list of int64_t. This change should make the process
  13036. slightly easier to debug and maintain. Needed to finish ticket 6538.
  13037. o Code simplification and refactoring:
  13038. - Move the generic "config" code into a new file, and have "config.c"
  13039. hold only torrc- and state-related code. Resolves ticket 6823.
  13040. - Move the core of our "choose a weighted element at random" logic
  13041. into its own function, and give it unit tests. Now the logic is
  13042. testable, and a little less fragile too.
  13043. - Removed the testing_since field of node_t, which hasn't been used
  13044. for anything since 0.2.0.9-alpha.
  13045. o Documentation fixes:
  13046. - Clarify that hidden services are TCP only. Fixes bug 6024.
  13047. - Resolve a typo in torrc.sample.in. Fixes bug 6819; bugfix on
  13048. 0.2.3.14-alpha.
  13049. Changes in version 0.2.3.22-rc - 2012-09-11
  13050. Tor 0.2.3.22-rc fixes another opportunity for a remotely triggerable
  13051. assertion.
  13052. o Security fixes:
  13053. - Fix an assertion failure in tor_timegm() that could be triggered
  13054. by a badly formatted directory object. Bug found by fuzzing with
  13055. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  13056. o Minor bugfixes:
  13057. - Avoid segfault when starting up having run with an extremely old
  13058. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  13059. on 0.2.2.23-alpha.
  13060. Changes in version 0.2.2.39 - 2012-09-11
  13061. Tor 0.2.2.39 fixes two more opportunities for remotely triggerable
  13062. assertions.
  13063. o Security fixes:
  13064. - Fix an assertion failure in tor_timegm() that could be triggered
  13065. by a badly formatted directory object. Bug found by fuzzing with
  13066. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  13067. - Do not crash when comparing an address with port value 0 to an
  13068. address policy. This bug could have been used to cause a remote
  13069. assertion failure by or against directory authorities, or to
  13070. allow some applications to crash clients. Fixes bug 6690; bugfix
  13071. on 0.2.1.10-alpha.
  13072. Changes in version 0.2.4.2-alpha - 2012-09-10
  13073. Tor 0.2.4.2-alpha enables port forwarding for pluggable transports,
  13074. raises the default rate limiting even more, and makes the bootstrapping
  13075. log messages less noisy.
  13076. o Major features:
  13077. - Automatically forward the TCP ports of pluggable transport
  13078. proxies using tor-fw-helper if PortForwarding is enabled. Implements
  13079. ticket 4567.
  13080. o Major bugfixes:
  13081. - Raise the default BandwidthRate/BandwidthBurst values from 5MB/10MB
  13082. to 1GB/1GB. The previous defaults were intended to be "basically
  13083. infinite", but it turns out they're now limiting our 100mbit+
  13084. relays and bridges. Fixes bug 6605; bugfix on 0.2.0.10-alpha (the
  13085. last time we raised it).
  13086. o Minor features:
  13087. - Detect when we're running with a version of OpenSSL other than the
  13088. one we compiled with. This has occasionally given people hard-to-
  13089. track-down errors.
  13090. - Log fewer lines at level "notice" about our OpenSSL and Libevent
  13091. versions and capabilities when everything is going right. Resolves
  13092. part of ticket 6736.
  13093. - Directory authorities no long accept descriptors for any version of
  13094. Tor before 0.2.2.35, or for any 0.2.3 release before 0.2.3.10-alpha.
  13095. These versions are insecure, unsupported, or both. Implements
  13096. ticket 6789.
  13097. o Minor bugfixes:
  13098. - Rename the (internal-use-only) UsingTestingNetworkDefaults option
  13099. to start with a triple-underscore so the controller won't touch it.
  13100. Patch by Meejah. Fixes bug 3155. Bugfix on 0.2.2.23-alpha.
  13101. - Avoid segfault when starting up having run with an extremely old
  13102. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  13103. on 0.2.2.23-alpha.
  13104. - Rename the (testing-use-only) _UseFilteringSSLBufferevents option
  13105. so it doesn't start with _. Fixes bug 3155. Bugfix on 0.2.3.1-alpha.
  13106. - Don't follow the NULL pointer if microdescriptor generation fails.
  13107. (This does not appear to be triggerable, but it's best to be safe.)
  13108. Found by "f. tp.". Fixes bug 6797; bugfix on 0.2.4.1-alpha.
  13109. - Fix mis-declared dependencies on src/common/crypto.c and
  13110. src/or/tor_main.c that could break out-of-tree builds under some
  13111. circumstances. Fixes bug 6778; bugfix on 0.2.4.1-alpha.
  13112. - Avoid a warning when building common_sha1.i out of tree. Fixes bug
  13113. 6778; bugfix on 0.2.4.1-alpha.
  13114. - Fix a harmless (in this case) build warning for implicitly
  13115. converting a strlen() to an int. Bugfix on 0.2.4.1-alpha.
  13116. o Removed features:
  13117. - Now that all versions before 0.2.2.x are disallowed, we no longer
  13118. need to work around their missing features. Thus we can remove a
  13119. bunch of compatibility code.
  13120. o Code refactoring:
  13121. - Tweak tor-fw-helper to accept an arbitrary amount of arbitrary
  13122. TCP ports to forward. In the past it only accepted two ports:
  13123. the ORPort and the DirPort.
  13124. Changes in version 0.2.4.1-alpha - 2012-09-05
  13125. Tor 0.2.4.1-alpha lets bridges publish their pluggable transports to
  13126. bridgedb; lets relays use IPv6 addresses and directory authorities
  13127. advertise them; and switches to a cleaner build interface.
  13128. This is the first alpha release in a new series, so expect there to
  13129. be bugs. Users who would rather test out a more stable branch should
  13130. stay with 0.2.3.x for now.
  13131. o Major features (bridges):
  13132. - Bridges now report the pluggable transports they support to the
  13133. bridge authority, so it can pass the supported transports on to
  13134. bridgedb and/or eventually do reachability testing. Implements
  13135. ticket 3589.
  13136. o Major features (IPv6):
  13137. - Bridge authorities now accept IPv6 bridge addresses and include
  13138. them in network status documents. Implements ticket 5534.
  13139. - Clients who set "ClientUseIPv6 1" may connect to entry nodes over
  13140. IPv6. Set "ClientPreferIPv6ORPort 1" to make this even more likely
  13141. to happen. Implements ticket 5535.
  13142. - All kind of relays, not just bridges, can now advertise an IPv6
  13143. OR port. Implements ticket 6362.
  13144. - Directory authorities vote on IPv6 OR ports using the new consensus
  13145. method 14. Implements ticket 6363.
  13146. o Major features (build):
  13147. - Switch to a nonrecursive Makefile structure. Now instead of each
  13148. Makefile.am invoking other Makefile.am's, there is a master
  13149. Makefile.am that includes the others. This change makes our build
  13150. process slightly more maintainable, and improves parallelism for
  13151. building with make -j. Original patch by Stewart Smith; various
  13152. fixes by Jim Meyering.
  13153. - Where available, we now use automake's "silent" make rules by
  13154. default, so that warnings are easier to spot. You can get the old
  13155. behavior with "make V=1". Patch by Stewart Smith for ticket 6522.
  13156. o Minor features (code security and spec conformance):
  13157. - Clear keys and key-derived material left on the stack in
  13158. rendservice.c and rendclient.c. Check return value of
  13159. crypto_pk_write_private_key_to_string() in rend_service_load_keys().
  13160. These fixes should make us more forward-secure against cold-boot
  13161. attacks and the like. Fixes bug 2385.
  13162. - Reject EXTEND cells sent to nonexistent streams. According to the
  13163. spec, an EXTEND cell sent to _any_ nonzero stream ID is invalid, but
  13164. we were only checking for stream IDs that were currently in use.
  13165. Found while hunting for more instances of bug 6271. Bugfix on
  13166. 0.0.2pre8, which introduced incremental circuit construction.
  13167. o Minor features (streamlining);
  13168. - No longer include the "opt" prefix when generating routerinfos
  13169. or v2 directories: it has been needless since Tor 0.1.2. Closes
  13170. ticket 5124.
  13171. - Remove some now-needless code that tried to aggressively flush
  13172. OR connections as data was added to them. Since 0.2.0.1-alpha, our
  13173. cell queue logic has saved us from the failure mode that this code
  13174. was supposed to prevent. Removing this code will limit the number
  13175. of baroque control flow paths through Tor's network logic. Reported
  13176. pseudonymously on IRC. Fixes bug 6468; bugfix on 0.2.0.1-alpha.
  13177. o Minor features (controller):
  13178. - Add a "GETINFO signal/names" control port command. Implements
  13179. ticket 3842.
  13180. - Provide default values for all options via "GETINFO config/defaults".
  13181. Implements ticket 4971.
  13182. o Minor features (IPv6):
  13183. - New config option "AuthDirHasIPv6Connectivity 1" that directory
  13184. authorities should set if they have IPv6 connectivity and want to
  13185. do reachability tests for IPv6 relays. Implements feature 5974.
  13186. - A relay with an IPv6 OR port now sends that address in NETINFO
  13187. cells (in addition to its other address). Implements ticket 6364.
  13188. o Minor features (log messages):
  13189. - Omit the first heartbeat log message, because it never has anything
  13190. useful to say, and it clutters up the bootstrapping messages.
  13191. Resolves ticket 6758.
  13192. - Don't log about reloading the microdescriptor cache at startup. Our
  13193. bootstrap warnings are supposed to tell the user when there's a
  13194. problem, and our bootstrap notices say when there isn't. Resolves
  13195. ticket 6759; bugfix on 0.2.2.6-alpha.
  13196. - Don't log "I learned some more directory information" when we're
  13197. reading cached directory information. Reserve it for when new
  13198. directory information arrives in response to a fetch. Resolves
  13199. ticket 6760.
  13200. - Prevent rounding error in path bias counts when scaling
  13201. them down, and use the correct scale factor default. Also demote
  13202. some path bias related log messages down a level and make others
  13203. less scary sounding. Fixes bug 6647. Bugfix against 0.2.3.17-beta.
  13204. - We no longer warn so much when generating manpages from their
  13205. asciidoc source.
  13206. o Code simplifications and refactoring:
  13207. - Enhance our internal sscanf replacement so that we can eliminate
  13208. the last remaining uses of the system sscanf. (Though those uses
  13209. of sscanf were safe, sscanf itself is generally error prone, so
  13210. we want to eliminate when we can.) Fixes ticket 4195 and Coverity
  13211. CID 448.
  13212. - Move ipv6_preferred from routerinfo_t to node_t. Addresses bug 4620.
  13213. - Move last_reachable and testing_since from routerinfo_t to node_t.
  13214. Implements ticket 5529.
  13215. - Add replaycache_t structure, functions and unit tests, then refactor
  13216. rend_service_introduce() to be more clear to read, improve, debug,
  13217. and test. Resolves bug 6177.
  13218. - Finally remove support for malloc_good_size and malloc_usable_size.
  13219. We had hoped that these functions would let us eke a little more
  13220. memory out of our malloc implementation. Unfortunately, the only
  13221. implementations that provided these functions are also ones that
  13222. are already efficient about not overallocation: they never got us
  13223. more than 7 or so bytes per allocation. Removing them saves us a
  13224. little code complexity and a nontrivial amount of build complexity.
  13225. o New requirements:
  13226. - Tor maintainers now require Automake version 1.9 or later to build
  13227. Tor from the Git repository. (Automake is not required when building
  13228. from a source distribution.)
  13229. Changes in version 0.2.3.21-rc - 2012-09-05
  13230. Tor 0.2.3.21-rc is the fourth release candidate for the Tor 0.2.3.x
  13231. series. It fixes a trio of potential security bugs, fixes a bug where
  13232. we were leaving some of the fast relays out of the microdescriptor
  13233. consensus, resumes interpreting "ORPort 0" and "DirPort 0" correctly,
  13234. and cleans up other smaller issues.
  13235. o Major bugfixes (security):
  13236. - Tear down the circuit if we get an unexpected SENDME cell. Clients
  13237. could use this trick to make their circuits receive cells faster
  13238. than our flow control would have allowed, or to gum up the network,
  13239. or possibly to do targeted memory denial-of-service attacks on
  13240. entry nodes. Fixes bug 6252. Bugfix on the 54th commit on Tor --
  13241. from July 2002, before the release of Tor 0.0.0. We had committed
  13242. this patch previously, but we had to revert it because of bug 6271.
  13243. Now that 6271 is fixed, this patch appears to work.
  13244. - Reject any attempt to extend to an internal address. Without
  13245. this fix, a router could be used to probe addresses on an internal
  13246. network to see whether they were accepting connections. Fixes bug
  13247. 6710; bugfix on 0.0.8pre1.
  13248. - Do not crash when comparing an address with port value 0 to an
  13249. address policy. This bug could have been used to cause a remote
  13250. assertion failure by or against directory authorities, or to
  13251. allow some applications to crash clients. Fixes bug 6690; bugfix
  13252. on 0.2.1.10-alpha.
  13253. o Major bugfixes:
  13254. - Remove the upper bound on microdescriptor length. We were hitting
  13255. the limit for routers with complex exit policies or family
  13256. declarations, causing clients to not use them. Fixes the first
  13257. piece of bug 6404; fix on 0.2.2.6-alpha.
  13258. - Detect "ORPort 0" as meaning, uniformly, that we're not running
  13259. as a relay. Previously, some of our code would treat the presence
  13260. of any ORPort line as meaning that we should act like a relay,
  13261. even though our new listener code would correctly not open any
  13262. ORPorts for ORPort 0. Similar bugs in other Port options are also
  13263. fixed. Fixes the first half of bug 6507; bugfix on 0.2.3.3-alpha.
  13264. o Minor bugfixes:
  13265. - Avoid a pair of double-free and use-after-mark bugs that can
  13266. occur with certain timings in canceled and re-received DNS
  13267. requests. Fixes bug 6472; bugfix on 0.0.7rc1.
  13268. - Fix build and 64-bit compile warnings from --enable-openbsd-malloc.
  13269. Fixes bug 6379. Bugfix on 0.2.0.20-rc.
  13270. - Allow one-hop directory fetching circuits the full "circuit build
  13271. timeout" period, rather than just half of it, before failing them
  13272. and marking the relay down. This fix should help reduce cases where
  13273. clients declare relays (or worse, bridges) unreachable because
  13274. the TLS handshake takes a few seconds to complete. Fixes bug 6743;
  13275. bugfix on 0.2.2.2-alpha, where we changed the timeout from a static
  13276. 30 seconds.
  13277. - Authorities no longer include any router in their microdescriptor
  13278. consensuses for which they couldn't generate or agree on a
  13279. microdescriptor. Fixes the second piece of bug 6404; fix on
  13280. 0.2.2.6-alpha.
  13281. - Detect and reject attempts to specify both "FooPort" and
  13282. "FooPort 0" in the same configuration domain. (It's still okay
  13283. to have a FooPort in your configuration file, and use "FooPort 0"
  13284. on the command line to disable it.) Fixes the second half of bug
  13285. 6507; bugfix on 0.2.3.3-alpha.
  13286. - Make wildcarded addresses (that is, ones beginning with "*.") work
  13287. when provided via the controller's MapAddress command. Previously,
  13288. they were accepted, but we never actually noticed that they were
  13289. wildcards. Fixes bug 6244; bugfix on 0.2.3.9-alpha.
  13290. - Avoid crashing on a malformed state file where EntryGuardPathBias
  13291. precedes EntryGuard. Fix for bug 6774; bugfix on 0.2.3.17-beta.
  13292. - Add a (probably redundant) memory clear between iterations of
  13293. the router status voting loop, to prevent future coding errors
  13294. where data might leak between iterations of the loop. Resolves
  13295. ticket 6514.
  13296. o Minor bugfixes (log messages):
  13297. - Downgrade "set buildtimeout to low value" messages to "info"
  13298. severity; they were never an actual problem, there was never
  13299. anything reasonable to do about them, and they tended to spam logs
  13300. from time to time. Fixes bug 6251; bugfix on 0.2.2.2-alpha.
  13301. - Downgrade path-bias warning messages to "info". We'll try to get
  13302. them working better in 0.2.4. Add internal circuit construction
  13303. state to protect against the noisy warn message "Unexpectedly high
  13304. circuit_successes". Also add some additional rate-limited notice
  13305. messages to help determine the root cause of the warn. Fixes bug
  13306. 6475. Bugfix against 0.2.3.17-beta.
  13307. - Move log message when unable to find a microdesc in a routerstatus
  13308. entry to parse time. Previously we'd spam this warning every time
  13309. we tried to figure out which microdescriptors to download. Fixes
  13310. the third piece of bug 6404; fix on 0.2.3.18-rc.
  13311. o Minor features:
  13312. - Consider new, removed or changed IPv6 OR ports a non-cosmetic
  13313. change when the authority is deciding whether to accept a newly
  13314. uploaded descriptor. Implements ticket 6423.
  13315. - Add missing documentation for consensus and microdesc files.
  13316. Resolves ticket 6732.
  13317. Changes in version 0.2.2.38 - 2012-08-12
  13318. Tor 0.2.2.38 fixes a remotely triggerable crash bug, and fixes a timing
  13319. attack that could in theory leak path information.
  13320. o Security fixes:
  13321. - Avoid an uninitialized memory read when reading a vote or consensus
  13322. document that has an unrecognized flavor name. This read could
  13323. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  13324. - Try to leak less information about what relays a client is
  13325. choosing to a side-channel attacker. Previously, a Tor client would
  13326. stop iterating through the list of available relays as soon as it
  13327. had chosen one, thus finishing a little earlier when it picked
  13328. a router earlier in the list. If an attacker can recover this
  13329. timing information (nontrivial but not proven to be impossible),
  13330. they could learn some coarse-grained information about which relays
  13331. a client was picking (middle nodes in particular are likelier to
  13332. be affected than exits). The timing attack might be mitigated by
  13333. other factors (see bug 6537 for some discussion), but it's best
  13334. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  13335. Changes in version 0.2.3.20-rc - 2012-08-05
  13336. Tor 0.2.3.20-rc is the third release candidate for the Tor 0.2.3.x
  13337. series. It fixes a pair of code security bugs and a potential anonymity
  13338. issue, updates our RPM spec files, and cleans up other smaller issues.
  13339. o Security fixes:
  13340. - Avoid read-from-freed-memory and double-free bugs that could occur
  13341. when a DNS request fails while launching it. Fixes bug 6480;
  13342. bugfix on 0.2.0.1-alpha.
  13343. - Avoid an uninitialized memory read when reading a vote or consensus
  13344. document that has an unrecognized flavor name. This read could
  13345. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  13346. - Try to leak less information about what relays a client is
  13347. choosing to a side-channel attacker. Previously, a Tor client would
  13348. stop iterating through the list of available relays as soon as it
  13349. had chosen one, thus finishing a little earlier when it picked
  13350. a router earlier in the list. If an attacker can recover this
  13351. timing information (nontrivial but not proven to be impossible),
  13352. they could learn some coarse-grained information about which relays
  13353. a client was picking (middle nodes in particular are likelier to
  13354. be affected than exits). The timing attack might be mitigated by
  13355. other factors (see bug 6537 for some discussion), but it's best
  13356. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  13357. o Minor features:
  13358. - Try to make the warning when giving an obsolete SOCKSListenAddress
  13359. a little more useful.
  13360. - Terminate active server managed proxies if Tor stops being a
  13361. relay. Addresses parts of bug 6274; bugfix on 0.2.3.6-alpha.
  13362. - Provide a better error message about possible OSX Asciidoc failure
  13363. reasons. Fixes bug 6436.
  13364. - Warn when Tor is configured to use accounting in a way that can
  13365. link a hidden service to some other hidden service or public
  13366. address. Resolves ticket 6490.
  13367. o Minor bugfixes:
  13368. - Check return value of fputs() when writing authority certificate
  13369. file. Fixes Coverity issue 709056; bugfix on 0.2.0.1-alpha.
  13370. - Ignore ServerTransportPlugin lines when Tor is not configured as
  13371. a relay. Fixes bug 6274; bugfix on 0.2.3.6-alpha.
  13372. - When disabling guards for having too high a proportion of failed
  13373. circuits, make sure to look at each guard. Fixes bug 6397; bugfix
  13374. on 0.2.3.17-beta.
  13375. o Packaging (RPM):
  13376. - Update our default RPM spec files to work with mock and rpmbuild
  13377. on RHEL/Fedora. They have an updated set of dependencies and
  13378. conflicts, a fix for an ancient typo when creating the "_tor"
  13379. user, and better instructions. Thanks to Ondrej Mikle for the
  13380. patch series. Fixes bug 6043.
  13381. o Testing:
  13382. - Make it possible to set the TestingTorNetwork configuration
  13383. option using AlternateDirAuthority and AlternateBridgeAuthority
  13384. as an alternative to setting DirServer. Addresses ticket 6377.
  13385. o Documentation:
  13386. - Clarify the documentation for the Alternate*Authority options.
  13387. Fixes bug 6387.
  13388. - Fix some typos in the manpages. Patch from A. Costa. Fixes bug 6500.
  13389. o Code simplification and refactoring:
  13390. - Do not use SMARTLIST_FOREACH for any loop whose body exceeds
  13391. 10 lines. Also, don't nest them. Doing so in the past has
  13392. led to hard-to-debug code. The new style is to use the
  13393. SMARTLIST_FOREACH_{BEGIN,END} pair. Addresses issue 6400.
  13394. Changes in version 0.2.3.19-rc - 2012-07-06
  13395. Tor 0.2.3.19-rc is the second release candidate for the Tor 0.2.3.x
  13396. series. It fixes the compile on Windows, reverts to a GeoIP database
  13397. that isn't as broken, and fixes a flow control bug that has been around
  13398. since the beginning of Tor.
  13399. o Major bugfixes:
  13400. - Fix a bug handling SENDME cells on nonexistent streams that could
  13401. result in bizarre window values. Report and patch contributed
  13402. pseudonymously. Fixes part of bug 6271. This bug was introduced
  13403. before the first Tor release, in svn commit r152.
  13404. - Revert to the May 1 2012 Maxmind GeoLite Country database. In the
  13405. June 2012 database, Maxmind marked many Tor relays as country "A1",
  13406. which will cause risky behavior for clients that set EntryNodes
  13407. or ExitNodes. Addresses bug 6334; bugfix on 0.2.3.17-beta.
  13408. - Instead of ENOBUFS on Windows, say WSAENOBUFS. Fixes compilation
  13409. on Windows. Fixes bug 6296; bugfix on 0.2.3.18-rc.
  13410. o Minor bugfixes:
  13411. - Fix wrong TCP port range in parse_port_range(). Fixes bug 6218;
  13412. bugfix on 0.2.1.10-alpha.
  13413. Changes in version 0.2.3.18-rc - 2012-06-28
  13414. Tor 0.2.3.18-rc is the first release candidate for the Tor 0.2.3.x
  13415. series. It fixes a few smaller bugs, but generally appears stable.
  13416. Please test it and let us know whether it is!
  13417. o Major bugfixes:
  13418. - Allow wildcarded mapaddress targets to be specified on the
  13419. controlport. Partially fixes bug 6244; bugfix on 0.2.3.9-alpha.
  13420. - Make our linker option detection code more robust against linkers
  13421. such as on FreeBSD 8, where a bad combination of options completes
  13422. successfully but makes an unrunnable binary. Fixes bug 6173;
  13423. bugfix on 0.2.3.17-beta.
  13424. o Minor bugfixes (on 0.2.2.x and earlier):
  13425. - Avoid a false positive in the util/threads unit test by increasing
  13426. the maximum timeout time. Fixes bug 6227; bugfix on 0.2.0.4-alpha.
  13427. - Replace "Sending publish request" log messages with "Launching
  13428. upload", so that they no longer confusingly imply that we're
  13429. sending something to a directory we might not even be connected
  13430. to yet. Fixes bug 3311; bugfix on 0.2.0.10-alpha.
  13431. - Make sure to set *socket_error in all error cases in
  13432. connection_connect(), so it can't produce a warning about
  13433. errno being zero from errno_to_orconn_end_reason(). Bugfix on
  13434. 0.2.1.1-alpha; resolves ticket 6028.
  13435. - Downgrade "Got a certificate, but we already have it" log messages
  13436. from warning to info, except when we're a dirauth. Fixes bug 5238;
  13437. bugfix on 0.2.1.7-alpha.
  13438. - When checking for requested signatures on the latest consensus
  13439. before serving it to a client, make sure to check the right
  13440. consensus flavor. Bugfix on 0.2.2.6-alpha.
  13441. - Downgrade "eventdns rejected address" message to LOG_PROTOCOL_WARN.
  13442. Fixes bug 5932; bugfix on 0.2.2.7-alpha.
  13443. o Minor bugfixes (on 0.2.3.x):
  13444. - Make format_helper_exit_status() avoid unnecessary space padding
  13445. and stop confusing log_from_pipe(). Fixes ticket 5557; bugfix
  13446. on 0.2.3.1-alpha.
  13447. - Downgrade a message about cleaning the microdescriptor cache to
  13448. "info" from "notice". Fixes bug 6238; bugfix on 0.2.3.1-alpha.
  13449. - Log a BUG message at severity INFO if we have a networkstatus with
  13450. a missing entry for some microdescriptor. Continues on a patch
  13451. to 0.2.3.2-alpha.
  13452. - Improve the log message when a managed proxy fails to launch. Fixes
  13453. bug 5099; bugfix on 0.2.3.6-alpha.
  13454. - Don't do DNS lookups when parsing corrupted managed proxy protocol
  13455. messages. Fixes bug 6226; bugfix on 0.2.3.6-alpha.
  13456. - When formatting wildcarded address mappings for the controller,
  13457. be sure to include "*." as appropriate. Partially fixes bug 6244;
  13458. bugfix on 0.2.3.9-alpha.
  13459. - Avoid a warning caused by using strcspn() from glibc with clang 3.0.
  13460. Bugfix on 0.2.3.13-alpha.
  13461. - Stop logging messages about running with circuit timeout learning
  13462. enabled at severity LD_BUG. Fixes bug 6169; bugfix on 0.2.3.17-beta.
  13463. - Disable a spurious warning about reading on a marked and flushing
  13464. connection. We shouldn't be doing that, but apparently we
  13465. sometimes do. Fixes bug 6203; bugfix on 0.2.3.17-beta.
  13466. - Fix a bug that stopped AllowDotExit from working on addresses
  13467. that had an entry in the DNS cache. Fixes bug 6211; bugfix on
  13468. 0.2.3.17-beta.
  13469. o Code simplification, refactoring, unit tests:
  13470. - Move tor_gettimeofday_cached() into compat_libevent.c, and use
  13471. Libevent's notion of cached time when possible.
  13472. - Remove duplicate code for invoking getrlimit() from control.c.
  13473. - Add a unit test for the environment_variable_names_equal function.
  13474. o Documentation:
  13475. - Document the --defaults-torrc option, and the new (in 0.2.3)
  13476. semantics for overriding, extending, and clearing lists of
  13477. options. Closes bug 4748.
  13478. Changes in version 0.2.3.17-beta - 2012-06-15
  13479. Tor 0.2.3.17-beta enables compiler and linker hardening by default,
  13480. gets our TLS handshake back on track for being able to blend in with
  13481. Firefox, fixes a big bug in 0.2.3.16-alpha that broke Tor's interaction
  13482. with Vidalia, and otherwise continues to get us closer to a release
  13483. candidate.
  13484. o Major features:
  13485. - Enable gcc and ld hardening by default. Resolves ticket 5210.
  13486. - Update TLS cipher list to match Firefox 8 and later. Resolves
  13487. ticket 4744.
  13488. - Implement the client side of proposal 198: remove support for
  13489. clients falsely claiming to support standard ciphersuites that
  13490. they can actually provide. As of modern OpenSSL versions, it's not
  13491. necessary to fake any standard ciphersuite, and doing so prevents
  13492. us from using better ciphersuites in the future, since servers
  13493. can't know whether an advertised ciphersuite is really supported or
  13494. not. Some hosts -- notably, ones with very old versions of OpenSSL
  13495. or where OpenSSL has been built with ECC disabled -- will stand
  13496. out because of this change; TBB users should not be affected.
  13497. o Major bugfixes:
  13498. - Change the default value for DynamicDHGroups (introduced in
  13499. 0.2.3.9-alpha) to 0. This feature can make Tor relays less
  13500. identifiable by their use of the mod_ssl DH group, but at
  13501. the cost of some usability (#4721) and bridge tracing (#6087)
  13502. regressions. Resolves ticket 5598.
  13503. - Send a CRLF at the end of each STATUS_* control protocol event. This
  13504. bug tickled a bug in Vidalia which would make it freeze. Fixes
  13505. bug 6094; bugfix on 0.2.3.16-alpha.
  13506. o Minor bugfixes:
  13507. - Disable writing on marked-for-close connections when they are
  13508. blocked on bandwidth, to prevent busy-looping in Libevent. Fixes
  13509. bug 5263; bugfix on 0.0.2pre13, where we first added a special
  13510. case for flushing marked connections.
  13511. - Detect SSL handshake even when the initial attempt to write the
  13512. server hello fails. Fixes bug 4592; bugfix on 0.2.0.13-alpha.
  13513. - Change the AllowDotExit rules so they should actually work.
  13514. We now enforce AllowDotExit only immediately after receiving an
  13515. address via SOCKS or DNSPort: other sources are free to provide
  13516. .exit addresses after the resolution occurs. Fixes bug 3940;
  13517. bugfix on 0.2.2.1-alpha.
  13518. - Fix a (harmless) integer overflow in cell statistics reported by
  13519. some fast relays. Fixes bug 5849; bugfix on 0.2.2.1-alpha.
  13520. - Make sure circuitbuild.c checks LearnCircuitBuildTimeout in all the
  13521. right places and never depends on the consensus parameters or
  13522. computes adaptive timeouts when it is disabled. Fixes bug 5049;
  13523. bugfix on 0.2.2.14-alpha.
  13524. - When building Tor on Windows with -DUNICODE (not default), ensure
  13525. that error messages, filenames, and DNS server names are always
  13526. NUL-terminated when we convert them to a single-byte encoding.
  13527. Fixes bug 5909; bugfix on 0.2.2.16-alpha.
  13528. - Make Tor build correctly again with -DUNICODE -D_UNICODE defined.
  13529. Fixes bug 6097; bugfix on 0.2.2.16-alpha.
  13530. - Fix an edge case where TestingTorNetwork is set but the authorities
  13531. and relays all have an uptime of zero, where the private Tor network
  13532. could briefly lack support for hidden services. Fixes bug 3886;
  13533. bugfix on 0.2.2.18-alpha.
  13534. - Correct the manpage's descriptions for the default values of
  13535. DirReqStatistics and ExtraInfoStatistics. Fixes bug 2865; bugfix
  13536. on 0.2.3.1-alpha.
  13537. - Fix the documentation for the --hush and --quiet command line
  13538. options, which changed their behavior back in 0.2.3.3-alpha.
  13539. - Fix compilation warning with clang 3.1. Fixes bug 6141; bugfix on
  13540. 0.2.3.11-alpha.
  13541. o Minor features:
  13542. - Rate-limit the "Weighted bandwidth is 0.000000" message, and add
  13543. more information to it, so that we can track it down in case it
  13544. returns again. Mitigates bug 5235.
  13545. - Check CircuitBuildTimeout and LearnCircuitBuildTimeout in
  13546. options_validate(); warn if LearnCircuitBuildTimeout is disabled and
  13547. CircuitBuildTimeout is set unreasonably low. Resolves ticket 5452.
  13548. - Warn the user when HTTPProxy, but no other proxy type, is
  13549. configured. This can cause surprising behavior: it doesn't send
  13550. all of Tor's traffic over the HTTPProxy -- it sends unencrypted
  13551. directory traffic only. Resolves ticket 4663.
  13552. - Issue a notice if a guard completes less than 40% of your circuits.
  13553. Threshold is configurable by torrc option PathBiasNoticeRate and
  13554. consensus parameter pb_noticepct. There is additional, off-by-
  13555. default code to disable guards which fail too many circuits.
  13556. Addresses ticket 5458.
  13557. - Update to the June 6 2012 Maxmind GeoLite Country database.
  13558. o Code simplifications and refactoring:
  13559. - Remove validate_pluggable_transports_config(): its warning
  13560. message is now handled by connection_or_connect().
  13561. Changes in version 0.2.2.37 - 2012-06-06
  13562. Tor 0.2.2.37 introduces a workaround for a critical renegotiation
  13563. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  13564. currently).
  13565. o Major bugfixes:
  13566. - Work around a bug in OpenSSL that broke renegotiation with TLS
  13567. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  13568. the v2 Tor connection protocol when both sides were using OpenSSL
  13569. 1.0.1 would fail. Resolves ticket 6033.
  13570. - When waiting for a client to renegotiate, don't allow it to add
  13571. any bytes to the input buffer. This fixes a potential DoS issue.
  13572. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  13573. - Fix an edge case where if we fetch or publish a hidden service
  13574. descriptor, we might build a 4-hop circuit and then use that circuit
  13575. for exiting afterwards -- even if the new last hop doesn't obey our
  13576. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  13577. o Minor bugfixes:
  13578. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  13579. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  13580. o Minor features:
  13581. - Tell GCC and Clang to check for any errors in format strings passed
  13582. to the tor_v*(print|scan)f functions.
  13583. Changes in version 0.2.3.16-alpha - 2012-06-05
  13584. Tor 0.2.3.16-alpha introduces a workaround for a critical renegotiation
  13585. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  13586. currently). It also fixes a variety of smaller bugs and other cleanups
  13587. that get us closer to a release candidate.
  13588. o Major bugfixes (general):
  13589. - Work around a bug in OpenSSL that broke renegotiation with TLS
  13590. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  13591. the v2 Tor connection protocol when both sides were using OpenSSL
  13592. 1.0.1 would fail. Resolves ticket 6033.
  13593. - When waiting for a client to renegotiate, don't allow it to add
  13594. any bytes to the input buffer. This fixes a potential DoS issue.
  13595. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  13596. - Pass correct OR address to managed proxies (like obfsproxy),
  13597. even when ORListenAddress is used. Fixes bug 4865; bugfix on
  13598. 0.2.3.9-alpha.
  13599. - The advertised platform of a router now includes only its operating
  13600. system's name (e.g., "Linux", "Darwin", "Windows 7"), and not its
  13601. service pack level (for Windows) or its CPU architecture (for Unix).
  13602. We also no longer include the "git-XYZ" tag in the version. Resolves
  13603. part of bug 2988.
  13604. o Major bugfixes (clients):
  13605. - If we are unable to find any exit that supports our predicted ports,
  13606. stop calling them predicted, so that we don't loop and build
  13607. hopeless circuits indefinitely. Fixes bug 3296; bugfix on 0.0.9pre6,
  13608. which introduced predicted ports.
  13609. - Fix an edge case where if we fetch or publish a hidden service
  13610. descriptor, we might build a 4-hop circuit and then use that circuit
  13611. for exiting afterwards -- even if the new last hop doesn't obey our
  13612. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  13613. - Check at each new consensus whether our entry guards were picked
  13614. long enough ago that we should rotate them. Previously, we only
  13615. did this check at startup, which could lead to us holding a guard
  13616. indefinitely. Fixes bug 5380; bugfix on 0.2.1.14-rc.
  13617. - When fetching a bridge descriptor from a bridge authority,
  13618. always do so anonymously, whether we have been able to open
  13619. circuits or not. Partial fix for bug 1938; bugfix on 0.2.0.7-alpha.
  13620. This behavior makes it *safer* to use UpdateBridgesFromAuthority,
  13621. but we'll need to wait for bug 6010 before it's actually usable.
  13622. o Major bugfixes (directory authorities):
  13623. - When computing weight parameters, behave more robustly in the
  13624. presence of a bad bwweightscale value. Previously, the authorities
  13625. would crash if they agreed on a sufficiently broken weight_scale
  13626. value: now, they use a reasonable default and carry on. Partial
  13627. fix for 5786; bugfix on 0.2.2.17-alpha.
  13628. - Check more thoroughly to prevent a rogue authority from
  13629. double-voting on any consensus directory parameter. Previously,
  13630. authorities would crash in this case if the total number of
  13631. votes for any parameter exceeded the number of active voters,
  13632. but would let it pass otherwise. Partial fix for bug 5786; bugfix
  13633. on 0.2.2.2-alpha.
  13634. o Minor features:
  13635. - Rate-limit log messages when asked to connect anonymously to
  13636. a private address. When these hit, they tended to hit fast and
  13637. often. Also, don't bother trying to connect to addresses that we
  13638. are sure will resolve to 127.0.0.1: getting 127.0.0.1 in a directory
  13639. reply makes us think we have been lied to, even when the address the
  13640. client tried to connect to was "localhost." Resolves ticket 2822.
  13641. - Allow packagers to insert an extra string in server descriptor
  13642. platform lines by setting the preprocessor variable TOR_BUILD_TAG.
  13643. Resolves the rest of ticket 2988.
  13644. - Raise the threshold of server descriptors needed (75%) and exit
  13645. server descriptors needed (50%) before we will declare ourselves
  13646. bootstrapped. This will make clients start building circuits a
  13647. little later, but makes the initially constructed circuits less
  13648. skewed and less in conflict with further directory fetches. Fixes
  13649. ticket 3196.
  13650. - Close any connection that sends unrecognized junk before the
  13651. handshake. Solves an issue noted in bug 4369.
  13652. - Improve log messages about managed transports. Resolves ticket 5070.
  13653. - Tag a bridge's descriptor as "never to be sent unencrypted".
  13654. This shouldn't matter, since bridges don't open non-anonymous
  13655. connections to the bridge authority and don't allow unencrypted
  13656. directory connections from clients, but we might as well make
  13657. sure. Closes bug 5139.
  13658. - Expose our view of whether we have gone dormant to the controller,
  13659. via a new "GETINFO dormant" value. Torbutton and other controllers
  13660. can use this to avoid doing periodic requests through Tor while
  13661. it's dormant (bug 4718). Fixes bug 5954.
  13662. - Tell GCC and Clang to check for any errors in format strings passed
  13663. to the tor_v*(print|scan)f functions.
  13664. - Update to the May 1 2012 Maxmind GeoLite Country database.
  13665. o Minor bugfixes (already included in 0.2.2.36):
  13666. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  13667. Fixes bug 5346; bugfix on 0.0.8pre3.
  13668. - Correct parsing of certain date types in parse_http_time().
  13669. Without this patch, If-Modified-Since would behave
  13670. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  13671. Esteban Manchado Velázques.
  13672. - Make our number-parsing functions always treat too-large values
  13673. as an error, even when those values exceed the width of the
  13674. underlying type. Previously, if the caller provided these
  13675. functions with minima or maxima set to the extreme values of the
  13676. underlying integer type, these functions would return those
  13677. values on overflow rather than treating overflow as an error.
  13678. Fixes part of bug 5786; bugfix on 0.0.9.
  13679. - If we hit the error case where routerlist_insert() replaces an
  13680. existing (old) server descriptor, make sure to remove that
  13681. server descriptor from the old_routers list. Fix related to bug
  13682. 1776. Bugfix on 0.2.2.18-alpha.
  13683. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  13684. circuits. Fixes issue 5259.
  13685. o Minor bugfixes (coding cleanup, on 0.2.2.x and earlier):
  13686. - Prevent a null-pointer dereference when receiving a data cell
  13687. for a nonexistent stream when the circuit in question has an
  13688. empty deliver window. We don't believe this is triggerable,
  13689. since we don't currently allow deliver windows to become empty,
  13690. but the logic is tricky enough that it's better to make the code
  13691. robust. Fixes bug 5541; bugfix on 0.0.2pre14.
  13692. - Fix a memory leak when trying to launch a DNS request when the
  13693. network is disabled or the nameservers are unconfigurable. Fixes
  13694. bug 5916; bugfix on Tor 0.1.2.1-alpha (for the unconfigurable
  13695. nameserver case) and on 0.2.3.9-alpha (for the DisableNetwork case).
  13696. - Don't hold a Windows file handle open for every file mapping;
  13697. the file mapping handle is sufficient. Fixes bug 5951; bugfix on
  13698. 0.1.2.1-alpha.
  13699. - Avoid O(n^2) performance characteristics when parsing a large
  13700. extrainfo cache. Fixes bug 5828; bugfix on 0.2.0.1-alpha.
  13701. - Format more doubles with %f, not %lf. Patch from grarpamp to make
  13702. Tor build correctly on older BSDs again. Fixes bug 3894; bugfix on
  13703. Tor 0.2.0.8-alpha.
  13704. - Make our replacement implementation of strtok_r() compatible with
  13705. the standard behavior of strtok_r(). Patch by nils. Fixes bug 5091;
  13706. bugfix on 0.2.2.1-alpha.
  13707. - Fix a NULL-pointer dereference on a badly formed
  13708. SETCIRCUITPURPOSE command. Found by mikeyc. Fixes bug 5796;
  13709. bugfix on 0.2.2.9-alpha.
  13710. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  13711. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  13712. - Defensively refactor rend_mid_rendezvous() so that protocol
  13713. violations and length checks happen in the beginning. Fixes
  13714. bug 5645.
  13715. - Set _WIN32_WINNT to 0x0501 consistently throughout the code, so
  13716. that IPv6 stuff will compile on MSVC, and compilation issues
  13717. will be easier to track down. Fixes bug 5861.
  13718. o Minor bugfixes (correctness, on 0.2.2.x and earlier):
  13719. - Exit nodes now correctly report EADDRINUSE and EADDRNOTAVAIL as
  13720. resource exhaustion, so that clients can adjust their load to
  13721. try other exits. Fixes bug 4710; bugfix on 0.1.0.1-rc, which
  13722. started using END_STREAM_REASON_RESOURCELIMIT.
  13723. - Don't check for whether the address we're using for outbound
  13724. connections has changed until after the outbound connection has
  13725. completed. On Windows, getsockname() doesn't succeed until the
  13726. connection is finished. Fixes bug 5374; bugfix on 0.1.1.14-alpha.
  13727. - If the configuration tries to set MyFamily on a bridge, refuse to
  13728. do so, and warn about the security implications. Fixes bug 4657;
  13729. bugfix on 0.2.0.3-alpha.
  13730. - If the client fails to set a reasonable set of ciphersuites
  13731. during its v2 handshake renegotiation, allow the renegotiation to
  13732. continue nevertheless (i.e. send all the required certificates).
  13733. Fixes bug 4591; bugfix on 0.2.0.20-rc.
  13734. - When we receive a SIGHUP and the controller __ReloadTorrcOnSIGHUP
  13735. option is set to 0 (which Vidalia version 0.2.16 now does when
  13736. a SAVECONF attempt fails), perform other actions that SIGHUP
  13737. usually causes (like reopening the logs). Fixes bug 5095; bugfix
  13738. on 0.2.1.9-alpha.
  13739. - If we fail to write a microdescriptor to the disk cache, do not
  13740. continue replacing the old microdescriptor file. Fixes bug 2954;
  13741. bugfix on 0.2.2.6-alpha.
  13742. - Exit nodes don't need to fetch certificates for authorities that
  13743. they don't recognize; only directory authorities, bridges,
  13744. and caches need to do that. Fixes part of bug 2297; bugfix on
  13745. 0.2.2.11-alpha.
  13746. - Correctly handle checking the permissions on the parent
  13747. directory of a control socket in the root directory. Bug found
  13748. by Esteban Manchado Velázquez. Fixes bug 5089; bugfix on Tor
  13749. 0.2.2.26-beta.
  13750. - When told to add a bridge with the same digest as a preexisting
  13751. bridge but a different addr:port, change the addr:port as
  13752. requested. Previously we would not notice the change. Fixes half
  13753. of bug 5603; fix on 0.2.2.26-beta.
  13754. - End AUTHCHALLENGE error messages (in the control protocol) with
  13755. a CRLF. Fixes bug 5760; bugfix on 0.2.2.36 and 0.2.3.13-alpha.
  13756. o Minor bugfixes (on 0.2.3.x):
  13757. - Turn an assertion (that the number of handshakes received as a
  13758. server is not < 1) into a warning. Fixes bug 4873; bugfix on
  13759. 0.2.3.1-alpha.
  13760. - Format IPv4 addresses correctly in ADDRMAP events. (Previously,
  13761. we had reversed them when the answer was cached.) Fixes bug
  13762. 5723; bugfix on 0.2.3.1-alpha.
  13763. - Work correctly on Linux systems with accept4 support advertised in
  13764. their headers, but without accept4 support in the kernel. Fix
  13765. by murb. Fixes bug 5762; bugfix on 0.2.3.1-alpha.
  13766. - When told to add a bridge with the same addr:port as a preexisting
  13767. bridge but a different transport, change the transport as
  13768. requested. Previously we would not notice the change. Fixes half
  13769. of bug 5603; fix on 0.2.3.2-alpha.
  13770. - Avoid a "double-reply" warning when replying to a SOCKS request
  13771. with a parse error. Patch from Fabian Keil. Fixes bug 4108;
  13772. bugfix on 0.2.3.4-alpha.
  13773. - Fix a bug where a bridge authority crashes if it has seen no
  13774. directory requests when it's time to write statistics to disk.
  13775. Fixes bug 5891; bugfix on 0.2.3.6-alpha. Also fixes bug 5508 in
  13776. a better way.
  13777. - Don't try to open non-control listeners when DisableNetwork is set.
  13778. Previously, we'd open all listeners, then immediately close them.
  13779. Fixes bug 5604; bugfix on 0.2.3.9-alpha.
  13780. - Don't abort the managed proxy protocol if the managed proxy
  13781. sends us an unrecognized line; ignore it instead. Fixes bug
  13782. 5910; bugfix on 0.2.3.9-alpha.
  13783. - Fix a compile warning in crypto.c when compiling with clang 3.1.
  13784. Fixes bug 5969, bugfix on 0.2.3.9-alpha.
  13785. - Fix a compilation issue on GNU Hurd, which doesn't have PATH_MAX.
  13786. Fixes bug 5355; bugfix on 0.2.3.11-alpha.
  13787. - Remove bogus definition of "_WIN32" from src/win32/orconfig.h, to
  13788. unbreak the MSVC build. Fixes bug 5858; bugfix on 0.2.3.12-alpha.
  13789. - Resolve numerous small warnings and build issues with MSVC. Resolves
  13790. bug 5859.
  13791. o Documentation fixes:
  13792. - Improve the manual's documentation for the NT Service command-line
  13793. options. Addresses ticket 3964.
  13794. - Clarify SessionGroup documentation slightly; resolves ticket 5437.
  13795. - Document the changes to the ORPort and DirPort options, and the
  13796. fact that {OR/Dir}ListenAddress is now unnecessary (and
  13797. therefore deprecated). Resolves ticket 5597.
  13798. o Removed files:
  13799. - Remove the torrc.bridge file: we don't use it for anything, and
  13800. it had become badly desynchronized from torrc.sample. Resolves
  13801. bug 5622.
  13802. Changes in version 0.2.2.36 - 2012-05-24
  13803. Tor 0.2.2.36 updates the addresses for two of the eight directory
  13804. authorities, fixes some potential anonymity and security issues,
  13805. and fixes several crash bugs.
  13806. Tor 0.2.1.x has reached its end-of-life. Those Tor versions have many
  13807. known flaws, and nobody should be using them. You should upgrade. If
  13808. you're using a Linux or BSD and its packages are obsolete, stop using
  13809. those packages and upgrade anyway.
  13810. o Directory authority changes:
  13811. - Change IP address for maatuska (v3 directory authority).
  13812. - Change IP address for ides (v3 directory authority), and rename
  13813. it to turtles.
  13814. o Security fixes:
  13815. - When building or running with any version of OpenSSL earlier
  13816. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  13817. versions have a bug (CVE-2011-4576) in which their block cipher
  13818. padding includes uninitialized data, potentially leaking sensitive
  13819. information to any peer with whom they make a SSLv3 connection. Tor
  13820. does not use SSL v3 by default, but a hostile client or server
  13821. could force an SSLv3 connection in order to gain information that
  13822. they shouldn't have been able to get. The best solution here is to
  13823. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  13824. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  13825. to make sure that the bug can't happen.
  13826. - Never use a bridge or a controller-supplied node as an exit, even
  13827. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  13828. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  13829. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  13830. - Only build circuits if we have a sufficient threshold of the total
  13831. descriptors that are marked in the consensus with the "Exit"
  13832. flag. This mitigates an attack proposed by wanoskarnet, in which
  13833. all of a client's bridges collude to restrict the exit nodes that
  13834. the client knows about. Fixes bug 5343.
  13835. - Provide controllers with a safer way to implement the cookie
  13836. authentication mechanism. With the old method, if another locally
  13837. running program could convince a controller that it was the Tor
  13838. process, then that program could trick the controller into telling
  13839. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  13840. authentication method uses a challenge-response approach to prevent
  13841. this attack. Fixes bug 5185; implements proposal 193.
  13842. o Major bugfixes:
  13843. - Avoid logging uninitialized data when unable to decode a hidden
  13844. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  13845. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  13846. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  13847. 0.2.1.6-alpha.
  13848. - Fix builds when the path to sed, openssl, or sha1sum contains
  13849. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  13850. on 0.2.2.1-alpha.
  13851. - Correct our replacements for the timeradd() and timersub() functions
  13852. on platforms that lack them (for example, Windows). The timersub()
  13853. function is used when expiring circuits, while timeradd() is
  13854. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  13855. bugfix on 0.2.2.24-alpha.
  13856. - Fix the SOCKET_OK test that we use to tell when socket
  13857. creation fails so that it works on Win64. Fixes part of bug 4533;
  13858. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  13859. o Minor bugfixes:
  13860. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  13861. Fixes bug 5346; bugfix on 0.0.8pre3.
  13862. - Make our number-parsing functions always treat too-large values
  13863. as an error, even when those values exceed the width of the
  13864. underlying type. Previously, if the caller provided these
  13865. functions with minima or maxima set to the extreme values of the
  13866. underlying integer type, these functions would return those
  13867. values on overflow rather than treating overflow as an error.
  13868. Fixes part of bug 5786; bugfix on 0.0.9.
  13869. - Older Linux kernels erroneously respond to strange nmap behavior
  13870. by having accept() return successfully with a zero-length
  13871. socket. When this happens, just close the connection. Previously,
  13872. we would try harder to learn the remote address: but there was
  13873. no such remote address to learn, and our method for trying to
  13874. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  13875. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  13876. - Correct parsing of certain date types in parse_http_time().
  13877. Without this patch, If-Modified-Since would behave
  13878. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  13879. Esteban Manchado Velázques.
  13880. - Change the BridgePassword feature (part of the "bridge community"
  13881. design, which is not yet implemented) to use a time-independent
  13882. comparison. The old behavior might have allowed an adversary
  13883. to use timing to guess the BridgePassword value. Fixes bug 5543;
  13884. bugfix on 0.2.0.14-alpha.
  13885. - Detect and reject certain misformed escape sequences in
  13886. configuration values. Previously, these values would cause us
  13887. to crash if received in a torrc file or over an authenticated
  13888. control port. Bug found by Esteban Manchado Velázquez, and
  13889. independently by Robert Connolly from Matta Consulting who further
  13890. noted that it allows a post-authentication heap overflow. Patch
  13891. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  13892. bugfix on 0.2.0.16-alpha.
  13893. - Fix a compile warning when using the --enable-openbsd-malloc
  13894. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  13895. - During configure, detect when we're building with clang version
  13896. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  13897. CFLAGS. clang doesn't support them yet.
  13898. - When sending an HTTP/1.1 proxy request, include a Host header.
  13899. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  13900. - Fix a NULL-pointer dereference on a badly formed SETCIRCUITPURPOSE
  13901. command. Found by mikeyc. Fixes bug 5796; bugfix on 0.2.2.9-alpha.
  13902. - If we hit the error case where routerlist_insert() replaces an
  13903. existing (old) server descriptor, make sure to remove that
  13904. server descriptor from the old_routers list. Fix related to bug
  13905. 1776. Bugfix on 0.2.2.18-alpha.
  13906. o Minor bugfixes (documentation and log messages):
  13907. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  13908. Fixes bug 4856; bugfix on Tor 0.0.6.
  13909. - Update "ClientOnly" man page entry to explain that there isn't
  13910. really any point to messing with it. Resolves ticket 5005.
  13911. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  13912. directory authority option (introduced in Tor 0.2.2.34).
  13913. - Downgrade the "We're missing a certificate" message from notice
  13914. to info: people kept mistaking it for a real problem, whereas it
  13915. is seldom the problem even when we are failing to bootstrap. Fixes
  13916. bug 5067; bugfix on 0.2.0.10-alpha.
  13917. - Correctly spell "connect" in a log message on failure to create a
  13918. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta.
  13919. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  13920. circuits. Fixes issue 5259.
  13921. o Minor features:
  13922. - Directory authorities now reject versions of Tor older than
  13923. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  13924. inclusive. These versions accounted for only a small fraction of
  13925. the Tor network, and have numerous known security issues. Resolves
  13926. issue 4788.
  13927. - Update to the May 1 2012 Maxmind GeoLite Country database.
  13928. - Feature removal:
  13929. - When sending or relaying a RELAY_EARLY cell, we used to convert
  13930. it to a RELAY cell if the connection was using the v1 link
  13931. protocol. This was a workaround for older versions of Tor, which
  13932. didn't handle RELAY_EARLY cells properly. Now that all supported
  13933. versions can handle RELAY_EARLY cells, and now that we're enforcing
  13934. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  13935. remove this workaround. Addresses bug 4786.
  13936. Changes in version 0.2.3.15-alpha - 2012-04-30
  13937. Tor 0.2.3.15-alpha fixes a variety of smaller bugs, including making
  13938. the development branch build on Windows again.
  13939. o Minor bugfixes (on 0.2.2.x and earlier):
  13940. - Make sure that there are no unhandled pending TLS errors before
  13941. reading from a TLS stream. We had checks in 0.1.0.3-rc, but
  13942. lost them in 0.1.0.5-rc when we refactored read_to_buf_tls().
  13943. Bugfix on 0.1.0.5-rc; fixes bug 4528.
  13944. - Fix an assert that directory authorities could trigger on sighup
  13945. during some configuration state transitions. We now don't treat
  13946. it as a fatal error when the new descriptor we just generated in
  13947. init_keys() isn't accepted. Fixes bug 4438; bugfix on 0.2.1.9-alpha.
  13948. - After we pick a directory mirror, we would refuse to use it if
  13949. it's in our ExcludeExitNodes list, resulting in mysterious failures
  13950. to bootstrap for people who just wanted to avoid exiting from
  13951. certain locations. Fixes bug 5623; bugfix on 0.2.2.25-alpha.
  13952. - When building with --enable-static-tor on OpenBSD, do not
  13953. erroneously attempt to link -lrt. Fixes bug 5103.
  13954. o Minor bugfixes (on 0.2.3.x):
  13955. - When Tor is built with kernel headers from a recent (last few
  13956. years) Linux kernel, do not fail to run on older (pre-2.6.28
  13957. Linux kernels). Fixes bug 5112; bugfix on 0.2.3.1-alpha.
  13958. - Fix cross-compilation issues with mingw. Bugfixes on 0.2.3.6-alpha
  13959. and 0.2.3.12-alpha.
  13960. - Fix compilation with miniupnpc version 1.6; patch from
  13961. Anthony G. Basile. Fixes bug 5434; bugfix on 0.2.3.12-alpha.
  13962. - Fix compilation with MSVC, which had defined MS_WINDOWS. Bugfix
  13963. on 0.2.3.13-alpha; found and fixed by Gisle Vanem.
  13964. - Fix compilation on platforms without unistd.h, or where environ
  13965. is defined in stdlib.h. Fixes bug 5704; bugfix on 0.2.3.13-alpha.
  13966. o Minor features:
  13967. - Directory authorities are now a little more lenient at accepting
  13968. older router descriptors, or newer router descriptors that don't
  13969. make big changes. This should help ameliorate past and future
  13970. issues where routers think they have uploaded valid descriptors,
  13971. but the authorities don't think so. Fix for ticket 2479.
  13972. - Make the code that clients use to detect an address change be
  13973. IPv6-aware, so that it won't fill clients' logs with error
  13974. messages when trying to get the IPv4 address of an IPv6
  13975. connection. Implements ticket 5537.
  13976. o Removed features:
  13977. - Remove the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays option;
  13978. authorities needed to use it for a while to keep the network working
  13979. as people upgraded to 0.2.1.31, 0.2.2.34, or 0.2.3.6-alpha, but
  13980. that was six months ago. As of now, it should no longer be needed
  13981. or used.
  13982. Changes in version 0.2.3.14-alpha - 2012-04-23
  13983. Tor 0.2.3.14-alpha fixes yet more bugs to get us closer to a release
  13984. candidate. It also dramatically speeds up AES: fast relays should
  13985. consider switching to the newer OpenSSL library.
  13986. o Directory authority changes:
  13987. - Change IP address for ides (v3 directory authority), and rename
  13988. it to turtles.
  13989. o Major bugfixes:
  13990. - Avoid logging uninitialized data when unable to decode a hidden
  13991. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  13992. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  13993. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  13994. 0.2.1.6-alpha.
  13995. - If authorities are unable to get a v2 consensus document from other
  13996. directory authorities, they no longer fall back to fetching
  13997. them from regular directory caches. Fixes bug 5635; bugfix on
  13998. 0.2.2.26-beta, where routers stopped downloading v2 consensus
  13999. documents entirely.
  14000. - When we start a Tor client with a normal consensus already cached,
  14001. be willing to download a microdescriptor consensus. Fixes bug 4011;
  14002. fix on 0.2.3.1-alpha.
  14003. o Major features (performance):
  14004. - When built to use OpenSSL 1.0.1, and built for an x86 or x86_64
  14005. instruction set, take advantage of OpenSSL's AESNI, bitsliced, or
  14006. vectorized AES implementations as appropriate. These can be much,
  14007. much faster than other AES implementations.
  14008. o Minor bugfixes (0.2.2.x and earlier):
  14009. - Don't launch more than 10 service-side introduction-point circuits
  14010. for a hidden service in five minutes. Previously, we would consider
  14011. launching more introduction-point circuits if at least one second
  14012. had passed without any introduction-point circuits failing. Fixes
  14013. bug 4607; bugfix on 0.0.7pre1.
  14014. - Change the BridgePassword feature (part of the "bridge community"
  14015. design, which is not yet implemented) to use a time-independent
  14016. comparison. The old behavior might have allowed an adversary
  14017. to use timing to guess the BridgePassword value. Fixes bug 5543;
  14018. bugfix on 0.2.0.14-alpha.
  14019. - Enforce correct return behavior of tor_vsscanf() when the '%%'
  14020. pattern is used. Fixes bug 5558. Bugfix on 0.2.1.13.
  14021. - When sending an HTTP/1.1 proxy request, include a Host header.
  14022. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  14023. - Don't log that we have "decided to publish new relay descriptor"
  14024. unless we are actually publishing a descriptor. Fixes bug 3942;
  14025. bugfix on 0.2.2.28-beta.
  14026. o Minor bugfixes (0.2.3.x):
  14027. - Fix a bug where a bridge authority crashes (on a failed assert)
  14028. if it has seen no directory requests when it's time to write
  14029. statistics to disk. Fixes bug 5508. Bugfix on 0.2.3.6-alpha.
  14030. - Fix bug stomping on ORPort option NoListen and ignoring option
  14031. NoAdvertise. Fixes bug 5151; bugfix on 0.2.3.9-alpha.
  14032. - In the testsuite, provide a large enough buffer in the tor_sscanf
  14033. unit test. Otherwise we'd overrun that buffer and crash during
  14034. the unit tests. Found by weasel. Fixes bug 5449; bugfix on
  14035. 0.2.3.12-alpha.
  14036. - Make sure we create the keys directory if it doesn't exist and we're
  14037. about to store the dynamic Diffie-Hellman parameters. Fixes bug
  14038. 5572; bugfix on 0.2.3.13-alpha.
  14039. - Fix a small memory leak when trying to decode incorrect base16
  14040. authenticator during SAFECOOKIE authentication. Found by
  14041. Coverity Scan. Fixes CID 507. Bugfix on 0.2.3.13-alpha.
  14042. o Minor features:
  14043. - Add more information to a log statement that might help track down
  14044. bug 4091. If you're seeing "Bug: tor_addr_is_internal() called with a
  14045. non-IP address" messages (or any Bug messages, for that matter!),
  14046. please let us know about it.
  14047. - Relays now understand an IPv6 address when they get one from a
  14048. directory server. Resolves ticket 4875.
  14049. - Resolve IPv6 addresses in bridge and entry statistics to country
  14050. code "??" which means we at least count them. Resolves ticket 5053;
  14051. improves on 0.2.3.9-alpha.
  14052. - Update to the April 3 2012 Maxmind GeoLite Country database.
  14053. - Begin a doc/state-contents.txt file to explain the contents of
  14054. the Tor state file. Fixes bug 2987.
  14055. o Default torrc changes:
  14056. - Stop listing "socksport 9050" in torrc.sample. We open a socks
  14057. port on 9050 by default anyway, so this should not change anything
  14058. in practice.
  14059. - Stop mentioning the deprecated *ListenAddress options in
  14060. torrc.sample. Fixes bug 5438.
  14061. - Document unit of bandwidth related options in sample torrc.
  14062. Fixes bug 5621.
  14063. o Removed features:
  14064. - The "torify" script no longer supports the "tsocks" socksifier
  14065. tool, since tsocks doesn't support DNS and UDP right for Tor.
  14066. Everyone should be using torsocks instead. Fixes bugs 3530 and
  14067. 5180. Based on a patch by "ugh".
  14068. o Code refactoring:
  14069. - Change the symmetric cipher interface so that creating and
  14070. initializing a stream cipher are no longer separate functions.
  14071. - Remove all internal support for unpadded RSA. We never used it, and
  14072. it would be a bad idea to start.
  14073. Changes in version 0.2.3.13-alpha - 2012-03-26
  14074. Tor 0.2.3.13-alpha fixes a variety of stability and correctness bugs
  14075. in managed pluggable transports, as well as providing other cleanups
  14076. that get us closer to a release candidate.
  14077. o Directory authority changes:
  14078. - Change IP address for maatuska (v3 directory authority).
  14079. o Security fixes:
  14080. - Provide controllers with a safer way to implement the cookie
  14081. authentication mechanism. With the old method, if another locally
  14082. running program could convince a controller that it was the Tor
  14083. process, then that program could trick the controller into telling
  14084. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  14085. authentication method uses a challenge-response approach to prevent
  14086. this attack. Fixes bug 5185, implements proposal 193.
  14087. - Never use a bridge or a controller-supplied node as an exit, even
  14088. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  14089. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  14090. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  14091. - Only build circuits if we have a sufficient threshold of the total
  14092. descriptors that are marked in the consensus with the "Exit"
  14093. flag. This mitigates an attack proposed by wanoskarnet, in which
  14094. all of a client's bridges collude to restrict the exit nodes that
  14095. the client knows about. Fixes bug 5343.
  14096. o Major bugfixes (on Tor 0.2.3.x):
  14097. - Avoid an assert when managed proxies like obfsproxy are configured,
  14098. and we receive HUP signals or setconf attempts too rapidly. This
  14099. situation happens most commonly when Vidalia tries to attach to
  14100. Tor or tries to configure the Tor it's attached to. Fixes bug 5084;
  14101. bugfix on 0.2.3.6-alpha.
  14102. - Fix a relay-side pluggable transports bug where managed proxies were
  14103. unreachable from the Internet, because Tor asked them to bind on
  14104. localhost. Fixes bug 4725; bugfix on 0.2.3.9-alpha.
  14105. - Stop discarding command-line arguments when TestingTorNetwork
  14106. is set. Discovered by Kevin Bauer. Fixes bug 5373; bugfix on
  14107. 0.2.3.9-alpha, where task 4552 added support for two layers of
  14108. torrc files.
  14109. - Resume allowing the unit tests to run in gdb. This was accidentally
  14110. made impossible when the DisableDebuggerAttachment option was
  14111. introduced. Fixes bug 5448; bugfix on 0.2.3.9-alpha.
  14112. - Resume building with nat-pmp support. Fixes bug 4955; bugfix on
  14113. 0.2.3.11-alpha. Reported by Anthony G. Basile.
  14114. o Minor bugfixes (on 0.2.2.x and earlier):
  14115. - Ensure we don't cannibalize circuits that are longer than three hops
  14116. already, so we don't end up making circuits with 5 or more
  14117. hops. Patch contributed by wanoskarnet. Fixes bug 5231; bugfix on
  14118. 0.1.0.1-rc which introduced cannibalization.
  14119. - Detect and reject certain misformed escape sequences in
  14120. configuration values. Previously, these values would cause us
  14121. to crash if received in a torrc file or over an authenticated
  14122. control port. Bug found by Esteban Manchado Velázquez, and
  14123. independently by Robert Connolly from Matta Consulting who further
  14124. noted that it allows a post-authentication heap overflow. Patch
  14125. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  14126. bugfix on 0.2.0.16-alpha.
  14127. - Fix a compile warning when using the --enable-openbsd-malloc
  14128. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  14129. - Directory caches no longer refuse to clean out descriptors because
  14130. of missing v2 networkstatus documents, unless they're configured
  14131. to retrieve v2 networkstatus documents. Fixes bug 4838; bugfix on
  14132. 0.2.2.26-beta. Patch by Daniel Bryg.
  14133. - Update to the latest version of the tinytest unit testing framework.
  14134. This includes a couple of bugfixes that can be relevant for
  14135. running forked unit tests on Windows, and removes all reserved
  14136. identifiers.
  14137. o Minor bugfixes (on 0.2.3.x):
  14138. - On a failed pipe() call, don't leak file descriptors. Fixes bug
  14139. 4296; bugfix on 0.2.3.1-alpha.
  14140. - Spec conformance: on a v3 handshake, do not send a NETINFO cell
  14141. until after we have received a CERTS cell. Fixes bug 4361; bugfix
  14142. on 0.2.3.6-alpha. Patch by "frosty".
  14143. - When binding to an IPv6 address, set the IPV6_V6ONLY socket
  14144. option, so that the IP stack doesn't decide to use it for IPv4
  14145. too. Fixes bug 4760; bugfix on 0.2.3.9-alpha.
  14146. - Ensure that variables set in Tor's environment cannot override
  14147. environment variables that Tor passes to a managed
  14148. pluggable-transport proxy. Previously, Tor would pass every
  14149. variable in its environment to managed proxies along with the new
  14150. ones, in such a way that on many operating systems, the inherited
  14151. environment variables would override those which Tor tried to
  14152. explicitly set. Bugfix on 0.2.3.12-alpha for most Unixoid systems;
  14153. bugfix on 0.2.3.9-alpha for Windows.
  14154. o Minor features:
  14155. - A wide variety of new unit tests by Esteban Manchado Velázquez.
  14156. - Shorten links in the tor-exit-notice file. Patch by Christian Kujau.
  14157. - Update to the March 6 2012 Maxmind GeoLite Country database.
  14158. Changes in version 0.2.3.12-alpha - 2012-02-13
  14159. Tor 0.2.3.12-alpha lets fast exit relays scale better, allows clients
  14160. to use bridges that run Tor 0.2.2.x, and resolves several big bugs
  14161. when Tor is configured to use a pluggable transport like obfsproxy.
  14162. o Major bugfixes:
  14163. - Fix builds when the path to sed, openssl, or sha1sum contains
  14164. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  14165. on 0.2.2.1-alpha.
  14166. - Set the SO_REUSEADDR socket option before we call bind() on outgoing
  14167. connections. This change should allow busy exit relays to stop
  14168. running out of available sockets as quickly. Fixes bug 4950;
  14169. bugfix on 0.2.2.26-beta.
  14170. - Allow 0.2.3.x clients to use 0.2.2.x bridges. Previously the client
  14171. would ask the bridge for microdescriptors, which are only supported
  14172. in 0.2.3.x, and then fail to bootstrap when it didn't get the
  14173. answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha.
  14174. - Properly set up obfsproxy's environment when in managed mode. The
  14175. Tor Browser Bundle needs LD_LIBRARY_PATH to be passed to obfsproxy,
  14176. and when you run your Tor as a daemon, there's no HOME. Fixes bugs
  14177. 5076 and 5082; bugfix on 0.2.3.6-alpha.
  14178. o Minor features:
  14179. - Use the dead_strip option when building Tor on OS X. This reduces
  14180. binary size by almost 19% when linking openssl and libevent
  14181. statically, which we do for Tor Browser Bundle.
  14182. - Fix broken URLs in the sample torrc file, and tell readers about
  14183. the OutboundBindAddress, ExitPolicyRejectPrivate, and
  14184. PublishServerDescriptor options. Addresses bug 4652.
  14185. - Update to the February 7 2012 Maxmind GeoLite Country database.
  14186. o Minor bugfixes:
  14187. - Downgrade the "We're missing a certificate" message from notice
  14188. to info: people kept mistaking it for a real problem, whereas it
  14189. is seldom the problem even when we are failing to bootstrap. Fixes
  14190. bug 5067; bugfix on 0.2.0.10-alpha.
  14191. - Don't put "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200" in a
  14192. managed pluggable transport server proxy's environment.
  14193. Previously, we would put it there, even though Tor doesn't
  14194. implement an 'extended server port' yet, and even though Tor
  14195. almost certainly isn't listening at that address. For now, we set
  14196. it to an empty string to avoid crashing older obfsproxies. Bugfix
  14197. on 0.2.3.6-alpha.
  14198. - Log the heartbeat message every HeartbeatPeriod seconds, not every
  14199. HeartbeatPeriod + 1 seconds. Fixes bug 4942; bugfix on
  14200. 0.2.3.1-alpha. Bug reported by Scott Bennett.
  14201. - Calculate absolute paths correctly on Windows. Fixes bug 4973;
  14202. bugfix on 0.2.3.11-alpha.
  14203. - Update "ClientOnly" man page entry to explain that there isn't
  14204. really any point to messing with it. Resolves ticket 5005.
  14205. - Use the correct CVE number for CVE-2011-4576 in our comments and
  14206. log messages. Found by "fermenthor". Resolves bug 5066; bugfix on
  14207. 0.2.3.11-alpha.
  14208. o Code simplifications and refactoring:
  14209. - Use the _WIN32 macro throughout our code to detect Windows.
  14210. (Previously we had used the obsolete 'WIN32' and the idiosyncratic
  14211. 'MS_WINDOWS'.)
  14212. Changes in version 0.2.3.11-alpha - 2012-01-22
  14213. Tor 0.2.3.11-alpha marks feature-freeze for the 0.2.3 tree. It deploys
  14214. the last step of the plan to limit maximum circuit length, includes
  14215. a wide variety of hidden service performance and correctness fixes,
  14216. works around an OpenSSL security flaw if your distro is too stubborn
  14217. to upgrade, and fixes a bunch of smaller issues.
  14218. o Major features:
  14219. - Now that Tor 0.2.0.x is completely deprecated, enable the final
  14220. part of "Proposal 110: Avoiding infinite length circuits" by
  14221. refusing all circuit-extend requests that do not use a relay_early
  14222. cell. This change helps Tor resist a class of denial-of-service
  14223. attacks by limiting the maximum circuit length.
  14224. - Adjust the number of introduction points that a hidden service
  14225. will try to maintain based on how long its introduction points
  14226. remain in use and how many introductions they handle. Fixes
  14227. part of bug 3825.
  14228. - Try to use system facilities for enumerating local interface
  14229. addresses, before falling back to our old approach (which was
  14230. binding a UDP socket, and calling getsockname() on it). That
  14231. approach was scaring OS X users whose draconian firewall
  14232. software warned about binding to UDP sockets, regardless of
  14233. whether packets were sent. Now we try to use getifaddrs(),
  14234. SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
  14235. system supports. Resolves ticket 1827.
  14236. o Major security workaround:
  14237. - When building or running with any version of OpenSSL earlier
  14238. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  14239. versions have a bug (CVE-2011-4576) in which their block cipher
  14240. padding includes uninitialized data, potentially leaking sensitive
  14241. information to any peer with whom they make a SSLv3 connection. Tor
  14242. does not use SSL v3 by default, but a hostile client or server
  14243. could force an SSLv3 connection in order to gain information that
  14244. they shouldn't have been able to get. The best solution here is to
  14245. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  14246. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  14247. to make sure that the bug can't happen.
  14248. o Major bugfixes:
  14249. - Fix the SOCKET_OK test that we use to tell when socket
  14250. creation fails so that it works on Win64. Fixes part of bug 4533;
  14251. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  14252. - Correct our replacements for the timeradd() and timersub() functions
  14253. on platforms that lack them (for example, Windows). The timersub()
  14254. function is used when expiring circuits, while timeradd() is
  14255. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  14256. bugfix on 0.2.2.24-alpha and 0.2.3.1-alpha.
  14257. - Do not use OpenSSL 1.0.0's counter mode: it has a critical bug
  14258. that was fixed in OpenSSL 1.0.0a. We test for the counter mode
  14259. bug at runtime, not compile time, because some distributions hack
  14260. their OpenSSL to mis-report its version. Fixes bug 4779; bugfix
  14261. on 0.2.3.9-alpha. Found by Pascal.
  14262. o Minor features (controller):
  14263. - Use absolute path names when reporting the torrc filename in the
  14264. control protocol, so a controller can more easily find the torrc
  14265. file. Resolves bug 1101.
  14266. - Extend the control protocol to report flags that control a circuit's
  14267. path selection in CIRC events and in replies to 'GETINFO
  14268. circuit-status'. Implements part of ticket 2411.
  14269. - Extend the control protocol to report the hidden service address
  14270. and current state of a hidden-service-related circuit in CIRC
  14271. events and in replies to 'GETINFO circuit-status'. Implements part
  14272. of ticket 2411.
  14273. - When reporting the path to the cookie file to the controller,
  14274. give an absolute path. Resolves ticket 4881.
  14275. - Allow controllers to request an event notification whenever a
  14276. circuit is cannibalized or its purpose is changed. Implements
  14277. part of ticket 3457.
  14278. - Include the creation time of a circuit in CIRC and CIRC2
  14279. control-port events and the list produced by the 'GETINFO
  14280. circuit-status' control-port command.
  14281. o Minor features (directory authorities):
  14282. - Directory authorities now reject versions of Tor older than
  14283. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  14284. inclusive. These versions accounted for only a small fraction of
  14285. the Tor network, and have numerous known security issues. Resolves
  14286. issue 4788.
  14287. - Authority operators can now vote for all relays in a given
  14288. set of countries to be BadDir/BadExit/Invalid/Rejected.
  14289. - Provide two consensus parameters (FastFlagMinThreshold and
  14290. FastFlagMaxThreshold) to control the range of allowable bandwidths
  14291. for the Fast directory flag. These allow authorities to run
  14292. experiments on appropriate requirements for being a "Fast" node.
  14293. The AuthDirFastGuarantee config value still applies. Implements
  14294. ticket 3946.
  14295. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  14296. directory authority option (introduced in Tor 0.2.2.34).
  14297. o Minor features (other):
  14298. - Don't disable the DirPort when we cannot exceed our AccountingMax
  14299. limit during this interval because the effective bandwidthrate is
  14300. low enough. This is useful in a situation where AccountMax is only
  14301. used as an additional safeguard or to provide statistics.
  14302. - Prepend an informative header to generated dynamic_dh_params files.
  14303. - If EntryNodes are given, but UseEntryGuards is set to 0, warn that
  14304. EntryNodes will have no effect. Resolves issue 2571.
  14305. - Log more useful messages when we fail to disable debugger
  14306. attachment.
  14307. - Log which authority we're missing votes from when we go to fetch
  14308. them from the other auths.
  14309. - Log (at debug level) whenever a circuit's purpose is changed.
  14310. - Add missing documentation for the MaxClientCircuitsPending,
  14311. UseMicrodescriptors, UserspaceIOCPBuffers, and
  14312. _UseFilteringSSLBufferevents options, all introduced during
  14313. the 0.2.3.x series.
  14314. - Update to the January 3 2012 Maxmind GeoLite Country database.
  14315. o Minor bugfixes (hidden services):
  14316. - Don't close hidden service client circuits which have almost
  14317. finished connecting to their destination when they reach
  14318. the normal circuit-build timeout. Previously, we would close
  14319. introduction circuits which are waiting for an acknowledgement
  14320. from the introduction point, and rendezvous circuits which have
  14321. been specified in an INTRODUCE1 cell sent to a hidden service,
  14322. after the normal CBT. Now, we mark them as 'timed out', and launch
  14323. another rendezvous attempt in parallel. This behavior change can
  14324. be disabled using the new CloseHSClientCircuitsImmediatelyOnTimeout
  14325. option. Fixes part of bug 1297; bugfix on 0.2.2.2-alpha.
  14326. - Don't close hidden-service-side rendezvous circuits when they
  14327. reach the normal circuit-build timeout. This behavior change can
  14328. be disabled using the new
  14329. CloseHSServiceRendCircuitsImmediatelyOnTimeout option. Fixes the
  14330. remaining part of bug 1297; bugfix on 0.2.2.2-alpha.
  14331. - Make sure we never mark the wrong rendezvous circuit as having
  14332. had its introduction cell acknowledged by the introduction-point
  14333. relay. Previously, when we received an INTRODUCE_ACK cell on a
  14334. client-side hidden-service introduction circuit, we might have
  14335. marked a rendezvous circuit other than the one we specified in
  14336. the INTRODUCE1 cell as INTRO_ACKED, which would have produced
  14337. a warning message and interfered with the hidden service
  14338. connection-establishment process. Fixes bug 4759; bugfix on
  14339. 0.2.3.3-alpha, when we added the stream-isolation feature which
  14340. might cause Tor to open multiple rendezvous circuits for the same
  14341. hidden service.
  14342. - Don't trigger an assertion failure when we mark a new client-side
  14343. hidden-service introduction circuit for close during the process
  14344. of creating it. Fixes bug 4796; bugfix on 0.2.3.6-alpha. Reported
  14345. by murb.
  14346. o Minor bugfixes (log messages):
  14347. - Correctly spell "connect" in a log message on failure to create a
  14348. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta and
  14349. 0.2.3.2-alpha.
  14350. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  14351. Fixes bug 4856; bugfix on Tor 0.0.6.
  14352. - Fix the log message describing how we work around discovering
  14353. that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
  14354. 4837; bugfix on 0.2.2.9-alpha.
  14355. - When logging about a disallowed .exit name, do not also call it
  14356. an "invalid onion address". Fixes bug 3325; bugfix on 0.2.2.9-alpha.
  14357. o Minor bugfixes (build fixes):
  14358. - During configure, detect when we're building with clang version
  14359. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  14360. CFLAGS. clang doesn't support them yet.
  14361. - During configure, search for library containing cos function as
  14362. libm lives in libcore on some platforms (BeOS/Haiku). Linking
  14363. against libm was hard-coded before. Fixes the first part of bug
  14364. 4727; bugfix on 0.2.2.2-alpha. Patch and analysis by Martin Hebnes
  14365. Pedersen.
  14366. - Detect attempts to build Tor on (as yet hypothetical) versions
  14367. of Windows where sizeof(intptr_t) != sizeof(SOCKET). Partial
  14368. fix for bug 4533. Bugfix on 0.2.2.28-beta.
  14369. - Preprocessor directives should not be put inside the arguments
  14370. of a macro. This would break compilation with GCC releases prior
  14371. to version 3.3. We would never recommend such an old GCC version,
  14372. but it is apparently required for binary compatibility on some
  14373. platforms (namely, certain builds of Haiku). Fixes the other part
  14374. of bug 4727; bugfix on 0.2.3.3-alpha. Patch and analysis by Martin
  14375. Hebnes Pedersen.
  14376. o Minor bugfixes (other):
  14377. - Older Linux kernels erroneously respond to strange nmap behavior
  14378. by having accept() return successfully with a zero-length
  14379. socket. When this happens, just close the connection. Previously,
  14380. we would try harder to learn the remote address: but there was
  14381. no such remote address to learn, and our method for trying to
  14382. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  14383. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  14384. - Fix null-pointer access that could occur if TLS allocation failed.
  14385. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un". This was
  14386. erroneously listed as fixed in 0.2.3.9-alpha, but the fix had
  14387. accidentally been reverted.
  14388. - Fix our implementation of crypto_random_hostname() so it can't
  14389. overflow on ridiculously large inputs. (No Tor version has ever
  14390. provided this kind of bad inputs, but let's be correct in depth.)
  14391. Fixes bug 4413; bugfix on 0.2.2.9-alpha. Fix by Stephen Palmateer.
  14392. - Find more places in the code that should have been testing for
  14393. invalid sockets using the SOCKET_OK macro. Required for a fix
  14394. for bug 4533. Bugfix on 0.2.2.28-beta.
  14395. - Fix an assertion failure when, while running with bufferevents, a
  14396. connection finishes connecting after it is marked for close, but
  14397. before it is closed. Fixes bug 4697; bugfix on 0.2.3.1-alpha.
  14398. - test_util_spawn_background_ok() hardcoded the expected value
  14399. for ENOENT to 2. This isn't portable as error numbers are
  14400. platform specific, and particularly the hurd has ENOENT at
  14401. 0x40000002. Construct expected string at runtime, using the correct
  14402. value for ENOENT. Fixes bug 4733; bugfix on 0.2.3.1-alpha.
  14403. - Reject attempts to disable DisableDebuggerAttachment while Tor is
  14404. running. Fixes bug 4650; bugfix on 0.2.3.9-alpha.
  14405. - Use an appropriate-width type for sockets in tor-fw-helper on
  14406. win64. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
  14407. o Feature removal:
  14408. - When sending or relaying a RELAY_EARLY cell, we used to convert
  14409. it to a RELAY cell if the connection was using the v1 link
  14410. protocol. This was a workaround for older versions of Tor, which
  14411. didn't handle RELAY_EARLY cells properly. Now that all supported
  14412. versions can handle RELAY_EARLY cells, and now that we're enforcing
  14413. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  14414. remove this workaround. Addresses bug 4786.
  14415. o Code simplifications and refactoring:
  14416. - Use OpenSSL's built-in SSL_state_string_long() instead of our
  14417. own homebrewed ssl_state_to_string() replacement. Patch from
  14418. Emile Snyder. Fixes bug 4653.
  14419. - Use macros to indicate OpenSSL versions, so we don't need to worry
  14420. about accidental hexadecimal bit shifts.
  14421. - Remove some workaround code for OpenSSL 0.9.6 (which is no longer
  14422. supported).
  14423. - Convert more instances of tor_snprintf+tor_strdup into tor_asprintf.
  14424. - Use the smartlist_add_asprintf() alias more consistently.
  14425. - Use a TOR_INVALID_SOCKET macro when initializing a socket to an
  14426. invalid value, rather than just -1.
  14427. - Rename a handful of old identifiers, mostly related to crypto
  14428. structures and crypto functions. By convention, our "create an
  14429. object" functions are called "type_new()", our "free an object"
  14430. functions are called "type_free()", and our types indicate that
  14431. they are types only with a final "_t". But a handful of older
  14432. types and functions broke these rules, with function names like
  14433. "type_create" or "subsystem_op_type", or with type names like
  14434. type_env_t.
  14435. Changes in version 0.2.3.10-alpha - 2011-12-16
  14436. Tor 0.2.3.10-alpha fixes a critical heap-overflow security issue in
  14437. Tor's buffers code. Absolutely everybody should upgrade.
  14438. The bug relied on an incorrect calculation when making data continuous
  14439. in one of our IO buffers, if the first chunk of the buffer was
  14440. misaligned by just the wrong amount. The miscalculation would allow an
  14441. attacker to overflow a piece of heap-allocated memory. To mount this
  14442. attack, the attacker would need to either open a SOCKS connection to
  14443. Tor's SocksPort (usually restricted to localhost), or target a Tor
  14444. instance configured to make its connections through a SOCKS proxy
  14445. (which Tor does not do by default).
  14446. Good security practice requires that all heap-overflow bugs should be
  14447. presumed to be exploitable until proven otherwise, so we are treating
  14448. this as a potential code execution attack. Please upgrade immediately!
  14449. This bug does not affect bufferevents-based builds of Tor. Special
  14450. thanks to "Vektor" for reporting this issue to us!
  14451. This release also contains a few minor bugfixes for issues discovered
  14452. in 0.2.3.9-alpha.
  14453. o Major bugfixes:
  14454. - Fix a heap overflow bug that could occur when trying to pull
  14455. data into the first chunk of a buffer, when that chunk had
  14456. already had some data drained from it. Fixes CVE-2011-2778;
  14457. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  14458. o Minor bugfixes:
  14459. - If we can't attach streams to a rendezvous circuit when we
  14460. finish connecting to a hidden service, clear the rendezvous
  14461. circuit's stream-isolation state and try to attach streams
  14462. again. Previously, we cleared rendezvous circuits' isolation
  14463. state either too early (if they were freshly built) or not at all
  14464. (if they had been built earlier and were cannibalized). Bugfix on
  14465. 0.2.3.3-alpha; fixes bug 4655.
  14466. - Fix compilation of the libnatpmp helper on non-Windows. Bugfix on
  14467. 0.2.3.9-alpha; fixes bug 4691. Reported by Anthony G. Basile.
  14468. - Fix an assertion failure when a relay with accounting enabled
  14469. starts up while dormant. Fixes bug 4702; bugfix on 0.2.3.9-alpha.
  14470. o Minor features:
  14471. - Update to the December 6 2011 Maxmind GeoLite Country database.
  14472. Changes in version 0.2.2.35 - 2011-12-16
  14473. Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
  14474. buffers code. Absolutely everybody should upgrade.
  14475. The bug relied on an incorrect calculation when making data continuous
  14476. in one of our IO buffers, if the first chunk of the buffer was
  14477. misaligned by just the wrong amount. The miscalculation would allow an
  14478. attacker to overflow a piece of heap-allocated memory. To mount this
  14479. attack, the attacker would need to either open a SOCKS connection to
  14480. Tor's SocksPort (usually restricted to localhost), or target a Tor
  14481. instance configured to make its connections through a SOCKS proxy
  14482. (which Tor does not do by default).
  14483. Good security practice requires that all heap-overflow bugs should be
  14484. presumed to be exploitable until proven otherwise, so we are treating
  14485. this as a potential code execution attack. Please upgrade immediately!
  14486. This bug does not affect bufferevents-based builds of Tor. Special
  14487. thanks to "Vektor" for reporting this issue to us!
  14488. Tor 0.2.2.35 also fixes several bugs in previous versions, including
  14489. crash bugs for unusual configurations, and a long-term bug that
  14490. would prevent Tor from starting on Windows machines with draconian
  14491. AV software.
  14492. With this release, we remind everyone that 0.2.0.x has reached its
  14493. formal end-of-life. Those Tor versions have many known flaws, and
  14494. nobody should be using them. You should upgrade -- ideally to the
  14495. 0.2.2.x series. If you're using a Linux or BSD and its packages are
  14496. obsolete, stop using those packages and upgrade anyway.
  14497. The Tor 0.2.1.x series is also approaching its end-of-life: it will no
  14498. longer receive support after some time in early 2012.
  14499. o Major bugfixes:
  14500. - Fix a heap overflow bug that could occur when trying to pull
  14501. data into the first chunk of a buffer, when that chunk had
  14502. already had some data drained from it. Fixes CVE-2011-2778;
  14503. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  14504. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  14505. that it doesn't attempt to allocate a socketpair. This could cause
  14506. some problems on Windows systems with overzealous firewalls. Fix for
  14507. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  14508. 2.0.15-stable.
  14509. - If we mark an OR connection for close based on a cell we process,
  14510. don't process any further cells on it. We already avoid further
  14511. reads on marked-for-close connections, but now we also discard the
  14512. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  14513. which was the first version where we might mark a connection for
  14514. close based on processing a cell on it.
  14515. - Correctly sanity-check that we don't underflow on a memory
  14516. allocation (and then assert) for hidden service introduction
  14517. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  14518. bugfix on 0.2.1.5-alpha.
  14519. - Fix a memory leak when we check whether a hidden service
  14520. descriptor has any usable introduction points left. Fixes bug
  14521. 4424. Bugfix on 0.2.2.25-alpha.
  14522. - Don't crash when we're running as a relay and don't have a GeoIP
  14523. file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
  14524. we've had in the 0.2.3.x branch already.
  14525. - When running as a client, do not print a misleading (and plain
  14526. wrong) log message that we're collecting "directory request"
  14527. statistics: clients don't collect statistics. Also don't create a
  14528. useless (because empty) stats file in the stats/ directory. Fixes
  14529. bug 4353; bugfix on 0.2.2.34.
  14530. o Minor bugfixes:
  14531. - Detect failure to initialize Libevent. This fix provides better
  14532. detection for future instances of bug 4457.
  14533. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  14534. function. This was eating up hideously large amounts of time on some
  14535. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  14536. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  14537. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  14538. Mansour Moufid.
  14539. - Don't warn about unused log_mutex in log.c when building with
  14540. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  14541. 0.1.0.6-rc which introduced --disable-threads.
  14542. - When configuring, starting, or stopping an NT service, stop
  14543. immediately after the service configuration attempt has succeeded
  14544. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  14545. - When sending a NETINFO cell, include the original address
  14546. received for the other side, not its canonical address. Found
  14547. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  14548. - Fix a typo in a hibernation-related log message. Fixes bug 4331;
  14549. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  14550. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  14551. occurred when a client tried to fetch a descriptor for a bridge
  14552. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  14553. - Backport fixes for a pair of compilation warnings on Windows.
  14554. Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
  14555. - If we had ever tried to call tor_addr_to_str on an address of
  14556. unknown type, we would have done a strdup on an uninitialized
  14557. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  14558. Reported by "troll_un".
  14559. - Correctly detect and handle transient lookup failures from
  14560. tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  14561. Reported by "troll_un".
  14562. - Fix null-pointer access that could occur if TLS allocation failed.
  14563. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  14564. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  14565. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  14566. o Minor features:
  14567. - Add two new config options for directory authorities:
  14568. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  14569. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  14570. that is always sufficient to satisfy the bandwidth requirement for
  14571. the Guard flag. Now it will be easier for researchers to simulate
  14572. Tor networks with different values. Resolves ticket 4484.
  14573. - When Tor ignores a hidden service specified in its configuration,
  14574. include the hidden service's directory in the warning message.
  14575. Previously, we would only tell the user that some hidden service
  14576. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  14577. - Update to the December 6 2011 Maxmind GeoLite Country database.
  14578. o Packaging changes:
  14579. - Make it easier to automate expert package builds on Windows,
  14580. by removing an absolute path from makensis.exe command.
  14581. Changes in version 0.2.1.32 - 2011-12-16
  14582. Tor 0.2.1.32 backports important security and privacy fixes for
  14583. oldstable. This release is intended only for package maintainers and
  14584. others who cannot use the 0.2.2 stable series. All others should be
  14585. using Tor 0.2.2.x or newer.
  14586. The Tor 0.2.1.x series will reach formal end-of-life some time in
  14587. early 2012; we will stop releasing patches for it then.
  14588. o Major bugfixes (also included in 0.2.2.x):
  14589. - Correctly sanity-check that we don't underflow on a memory
  14590. allocation (and then assert) for hidden service introduction
  14591. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  14592. bugfix on 0.2.1.5-alpha.
  14593. - Fix a heap overflow bug that could occur when trying to pull
  14594. data into the first chunk of a buffer, when that chunk had
  14595. already had some data drained from it. Fixes CVE-2011-2778;
  14596. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  14597. o Minor features:
  14598. - Update to the December 6 2011 Maxmind GeoLite Country database.
  14599. Changes in version 0.2.3.9-alpha - 2011-12-08
  14600. Tor 0.2.3.9-alpha introduces initial IPv6 support for bridges, adds
  14601. a "DisableNetwork" security feature that bundles can use to avoid
  14602. touching the network until bridges are configured, moves forward on
  14603. the pluggable transport design, fixes a flaw in the hidden service
  14604. design that unnecessarily prevented clients with wrong clocks from
  14605. reaching hidden services, and fixes a wide variety of other issues.
  14606. o Major features:
  14607. - Clients can now connect to private bridges over IPv6. Bridges
  14608. still need at least one IPv4 address in order to connect to
  14609. other relays. Note that we don't yet handle the case where the
  14610. user has two bridge lines for the same bridge (one IPv4, one
  14611. IPv6). Implements parts of proposal 186.
  14612. - New "DisableNetwork" config option to prevent Tor from launching any
  14613. connections or accepting any connections except on a control port.
  14614. Bundles and controllers can set this option before letting Tor talk
  14615. to the rest of the network, for example to prevent any connections
  14616. to a non-bridge address. Packages like Orbot can also use this
  14617. option to instruct Tor to save power when the network is off.
  14618. - Clients and bridges can now be configured to use a separate
  14619. "transport" proxy. This approach makes the censorship arms race
  14620. easier by allowing bridges to use protocol obfuscation plugins. It
  14621. implements the "managed proxy" part of proposal 180 (ticket 3472).
  14622. - When using OpenSSL 1.0.0 or later, use OpenSSL's counter mode
  14623. implementation. It makes AES_CTR about 7% faster than our old one
  14624. (which was about 10% faster than the one OpenSSL used to provide).
  14625. Resolves ticket 4526.
  14626. - Add a "tor2web mode" for clients that want to connect to hidden
  14627. services non-anonymously (and possibly more quickly). As a safety
  14628. measure to try to keep users from turning this on without knowing
  14629. what they are doing, tor2web mode must be explicitly enabled at
  14630. compile time, and a copy of Tor compiled to run in tor2web mode
  14631. cannot be used as a normal Tor client. Implements feature 2553.
  14632. - Add experimental support for running on Windows with IOCP and no
  14633. kernel-space socket buffers. This feature is controlled by a new
  14634. "UserspaceIOCPBuffers" config option (off by default), which has
  14635. no effect unless Tor has been built with support for bufferevents,
  14636. is running on Windows, and has enabled IOCP. This may, in the long
  14637. run, help solve or mitigate bug 98.
  14638. - Use a more secure consensus parameter voting algorithm. Now at
  14639. least three directory authorities or a majority of them must
  14640. vote on a given parameter before it will be included in the
  14641. consensus. Implements proposal 178.
  14642. o Major bugfixes:
  14643. - Hidden services now ignore the timestamps on INTRODUCE2 cells.
  14644. They used to check that the timestamp was within 30 minutes
  14645. of their system clock, so they could cap the size of their
  14646. replay-detection cache, but that approach unnecessarily refused
  14647. service to clients with wrong clocks. Bugfix on 0.2.1.6-alpha, when
  14648. the v3 intro-point protocol (the first one which sent a timestamp
  14649. field in the INTRODUCE2 cell) was introduced; fixes bug 3460.
  14650. - Only use the EVP interface when AES acceleration is enabled,
  14651. to avoid a 5-7% performance regression. Resolves issue 4525;
  14652. bugfix on 0.2.3.8-alpha.
  14653. o Privacy/anonymity features (bridge detection):
  14654. - Make bridge SSL certificates a bit more stealthy by using random
  14655. serial numbers, in the same fashion as OpenSSL when generating
  14656. self-signed certificates. Implements ticket 4584.
  14657. - Introduce a new config option "DynamicDHGroups", enabled by
  14658. default, which provides each bridge with a unique prime DH modulus
  14659. to be used during SSL handshakes. This option attempts to help
  14660. against censors who might use the Apache DH modulus as a static
  14661. identifier for bridges. Addresses ticket 4548.
  14662. o Minor features (new/different config options):
  14663. - New configuration option "DisableDebuggerAttachment" (on by default)
  14664. to prevent basic debugging attachment attempts by other processes.
  14665. Supports Mac OS X and Gnu/Linux. Resolves ticket 3313.
  14666. - Allow MapAddress directives to specify matches against super-domains,
  14667. as in "MapAddress *.torproject.org *.torproject.org.torserver.exit".
  14668. Implements issue 933.
  14669. - Slightly change behavior of "list" options (that is, config
  14670. options that can appear more than once) when they appear both in
  14671. torrc and on the command line. Previously, the command-line options
  14672. would be appended to the ones from torrc. Now, the command-line
  14673. options override the torrc options entirely. This new behavior
  14674. allows the user to override list options (like exit policies and
  14675. ports to listen on) from the command line, rather than simply
  14676. appending to the list.
  14677. - You can get the old (appending) command-line behavior for "list"
  14678. options by prefixing the option name with a "+".
  14679. - You can remove all the values for a "list" option from the command
  14680. line without adding any new ones by prefixing the option name
  14681. with a "/".
  14682. - Add experimental support for a "defaults" torrc file to be parsed
  14683. before the regular torrc. Torrc options override the defaults file's
  14684. options in the same way that the command line overrides the torrc.
  14685. The SAVECONF controller command saves only those options which
  14686. differ between the current configuration and the defaults file. HUP
  14687. reloads both files. (Note: This is an experimental feature; its
  14688. behavior will probably be refined in future 0.2.3.x-alpha versions
  14689. to better meet packagers' needs.) Implements task 4552.
  14690. o Minor features:
  14691. - Try to make the introductory warning message that Tor prints on
  14692. startup more useful for actually finding help and information.
  14693. Resolves ticket 2474.
  14694. - Running "make version" now displays the version of Tor that
  14695. we're about to build. Idea from katmagic; resolves issue 4400.
  14696. - Expire old or over-used hidden service introduction points.
  14697. Required by fix for bug 3460.
  14698. - Move the replay-detection cache for the RSA-encrypted parts of
  14699. INTRODUCE2 cells to the introduction point data structures.
  14700. Previously, we would use one replay-detection cache per hidden
  14701. service. Required by fix for bug 3460.
  14702. - Reduce the lifetime of elements of hidden services' Diffie-Hellman
  14703. public key replay-detection cache from 60 minutes to 5 minutes. This
  14704. replay-detection cache is now used only to detect multiple
  14705. INTRODUCE2 cells specifying the same rendezvous point, so we can
  14706. avoid launching multiple simultaneous attempts to connect to it.
  14707. o Minor bugfixes (on Tor 0.2.2.x and earlier):
  14708. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  14709. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  14710. Mansour Moufid.
  14711. - Fix a minor formatting issue in one of tor-gencert's error messages.
  14712. Fixes bug 4574.
  14713. - Prevent a false positive from the check-spaces script, by disabling
  14714. the "whitespace between function name and (" check for functions
  14715. named 'op()'.
  14716. - Fix a log message suggesting that people contact a non-existent
  14717. email address. Fixes bug 3448.
  14718. - Fix null-pointer access that could occur if TLS allocation failed.
  14719. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  14720. - Report a real bootstrap problem to the controller on router
  14721. identity mismatch. Previously we just said "foo", which probably
  14722. made a lot of sense at the time. Fixes bug 4169; bugfix on
  14723. 0.2.1.1-alpha.
  14724. - If we had ever tried to call tor_addr_to_str() on an address of
  14725. unknown type, we would have done a strdup() on an uninitialized
  14726. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  14727. Reported by "troll_un".
  14728. - Correctly detect and handle transient lookup failures from
  14729. tor_addr_lookup(). Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  14730. Reported by "troll_un".
  14731. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  14732. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  14733. - Initialize conn->addr to a valid state in spawn_cpuworker(). Fixes
  14734. bug 4532; found by "troll_un".
  14735. o Minor bugfixes (on Tor 0.2.3.x):
  14736. - Fix a compile warning in tor_inet_pton(). Bugfix on 0.2.3.8-alpha;
  14737. fixes bug 4554.
  14738. - Don't send two ESTABLISH_RENDEZVOUS cells when opening a new
  14739. circuit for use as a hidden service client's rendezvous point.
  14740. Fixes bugs 4641 and 4171; bugfix on 0.2.3.3-alpha. Diagnosed
  14741. with help from wanoskarnet.
  14742. - Restore behavior of overriding SocksPort, ORPort, and similar
  14743. options from the command line. Bugfix on 0.2.3.3-alpha.
  14744. o Build fixes:
  14745. - Properly handle the case where the build-tree is not the same
  14746. as the source tree when generating src/common/common_sha1.i,
  14747. src/or/micro-revision.i, and src/or/or_sha1.i. Fixes bug 3953;
  14748. bugfix on 0.2.0.1-alpha.
  14749. o Code simplifications, cleanups, and refactorings:
  14750. - Remove the pure attribute from all functions that used it
  14751. previously. In many cases we assigned it incorrectly, because the
  14752. functions might assert or call impure functions, and we don't have
  14753. evidence that keeping the pure attribute is worthwhile. Implements
  14754. changes suggested in ticket 4421.
  14755. - Remove some dead code spotted by coverity. Fixes cid 432.
  14756. Bugfix on 0.2.3.1-alpha, closes bug 4637.
  14757. Changes in version 0.2.3.8-alpha - 2011-11-22
  14758. Tor 0.2.3.8-alpha fixes some crash and assert bugs, including a
  14759. socketpair-related bug that has been bothering Windows users. It adds
  14760. support to serve microdescriptors to controllers, so Vidalia's network
  14761. map can resume listing relays (once Vidalia implements its side),
  14762. and adds better support for hardware AES acceleration. Finally, it
  14763. starts the process of adjusting the bandwidth cutoff for getting the
  14764. "Fast" flag from 20KB to (currently) 32KB -- preliminary results show
  14765. that tiny relays harm performance more than they help network capacity.
  14766. o Major bugfixes:
  14767. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  14768. that it doesn't attempt to allocate a socketpair. This could cause
  14769. some problems on Windows systems with overzealous firewalls. Fix for
  14770. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  14771. 2.0.15-stable.
  14772. - Correctly sanity-check that we don't underflow on a memory
  14773. allocation (and then assert) for hidden service introduction
  14774. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  14775. bugfix on 0.2.1.5-alpha.
  14776. - Remove the artificially low cutoff of 20KB to guarantee the Fast
  14777. flag. In the past few years the average relay speed has picked
  14778. up, and while the "top 7/8 of the network get the Fast flag" and
  14779. "all relays with 20KB or more of capacity get the Fast flag" rules
  14780. used to have the same result, now the top 7/8 of the network has
  14781. a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
  14782. - Fix a rare assertion failure when checking whether a v0 hidden
  14783. service descriptor has any usable introduction points left, and
  14784. we don't have enough information to build a circuit to the first
  14785. intro point named in the descriptor. The HS client code in
  14786. 0.2.3.x no longer uses v0 HS descriptors, but this assertion can
  14787. trigger on (and crash) v0 HS authorities. Fixes bug 4411.
  14788. Bugfix on 0.2.3.1-alpha; diagnosed by frosty_un.
  14789. - Make bridge authorities not crash when they are asked for their own
  14790. descriptor. Bugfix on 0.2.3.7-alpha, reported by Lucky Green.
  14791. - When running as a client, do not print a misleading (and plain
  14792. wrong) log message that we're collecting "directory request"
  14793. statistics: clients don't collect statistics. Also don't create a
  14794. useless (because empty) stats file in the stats/ directory. Fixes
  14795. bug 4353; bugfix on 0.2.2.34 and 0.2.3.7-alpha.
  14796. o Major features:
  14797. - Allow Tor controllers like Vidalia to obtain the microdescriptor
  14798. for a relay by identity digest or nickname. Previously,
  14799. microdescriptors were only available by their own digests, so a
  14800. controller would have to ask for and parse the whole microdescriptor
  14801. consensus in order to look up a single relay's microdesc. Fixes
  14802. bug 3832; bugfix on 0.2.3.1-alpha.
  14803. - Use OpenSSL's EVP interface for AES encryption, so that all AES
  14804. operations can use hardware acceleration (if present). Resolves
  14805. ticket 4442.
  14806. o Minor bugfixes (on 0.2.2.x and earlier):
  14807. - Detect failure to initialize Libevent. This fix provides better
  14808. detection for future instances of bug 4457.
  14809. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  14810. function. This was eating up hideously large amounts of time on some
  14811. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  14812. - Don't warn about unused log_mutex in log.c when building with
  14813. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  14814. 0.1.0.6-rc which introduced --disable-threads.
  14815. - Allow manual 'authenticate' commands to the controller interface
  14816. from netcat (nc) as well as telnet. We were rejecting them because
  14817. they didn't come with the expected whitespace at the end of the
  14818. command. Bugfix on 0.1.1.1-alpha; fixes bug 2893.
  14819. - Fix some (not actually triggerable) buffer size checks in usage of
  14820. tor_inet_ntop. Fixes bug 4434; bugfix on Tor 0.2.0.1-alpha. Patch
  14821. by Anders Sundman.
  14822. - Fix parsing of some corner-cases with tor_inet_pton(). Fixes
  14823. bug 4515; bugfix on 0.2.0.1-alpha; fix by Anders Sundman.
  14824. - When configuring, starting, or stopping an NT service, stop
  14825. immediately after the service configuration attempt has succeeded
  14826. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  14827. - When sending a NETINFO cell, include the original address
  14828. received for the other side, not its canonical address. Found
  14829. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  14830. - Rename the bench_{aes,dmap} functions to test_*, so that tinytest
  14831. can pick them up when the tests aren't disabled. Bugfix on
  14832. 0.2.2.4-alpha which introduced tinytest.
  14833. - Fix a memory leak when we check whether a hidden service
  14834. descriptor has any usable introduction points left. Fixes bug
  14835. 4424. Bugfix on 0.2.2.25-alpha.
  14836. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  14837. occurred when a client tried to fetch a descriptor for a bridge
  14838. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  14839. o Minor bugfixes (on 0.2.3.x):
  14840. - Make util unit tests build correctly with MSVC. Bugfix on
  14841. 0.2.3.3-alpha. Patch by Gisle Vanem.
  14842. - Successfully detect AUTH_CHALLENGE cells with no recognized
  14843. authentication type listed. Fixes bug 4367; bugfix on 0.2.3.6-alpha.
  14844. Found by frosty_un.
  14845. - If a relay receives an AUTH_CHALLENGE cell it can't answer,
  14846. it should still send a NETINFO cell to allow the connection to
  14847. become open. Fixes bug 4368; fix on 0.2.3.6-alpha; bug found by
  14848. "frosty".
  14849. - Log less loudly when we get an invalid authentication certificate
  14850. from a source other than a directory authority: it's not unusual
  14851. to see invalid certs because of clock skew. Fixes bug 4370; bugfix
  14852. on 0.2.3.6-alpha.
  14853. - Tolerate servers with more clock skew in their authentication
  14854. certificates than previously. Fixes bug 4371; bugfix on
  14855. 0.2.3.6-alpha.
  14856. - Fix a couple of compile warnings on Windows. Fixes bug 4469; bugfix
  14857. on 0.2.3.4-alpha and 0.2.3.6-alpha.
  14858. o Minor features:
  14859. - Add two new config options for directory authorities:
  14860. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  14861. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  14862. that is always sufficient to satisfy the bandwidth requirement for
  14863. the Guard flag. Now it will be easier for researchers to simulate
  14864. Tor networks with different values. Resolves ticket 4484.
  14865. - When Tor ignores a hidden service specified in its configuration,
  14866. include the hidden service's directory in the warning message.
  14867. Previously, we would only tell the user that some hidden service
  14868. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  14869. - When we fail to initialize Libevent, retry with IOCP disabled so we
  14870. don't need to turn on multi-threading support in Libevent, which in
  14871. turn requires a working socketpair(). This is a workaround for bug
  14872. 4457, which affects Libevent versions from 2.0.1-alpha through
  14873. 2.0.15-stable.
  14874. - Detect when we try to build on a platform that doesn't define
  14875. AF_UNSPEC to 0. We don't work there, so refuse to compile.
  14876. - Update to the November 1 2011 Maxmind GeoLite Country database.
  14877. o Packaging changes:
  14878. - Make it easier to automate expert package builds on Windows,
  14879. by removing an absolute path from makensis.exe command.
  14880. o Code simplifications and refactoring:
  14881. - Remove some redundant #include directives throughout the code.
  14882. Patch from Andrea Gelmini.
  14883. - Unconditionally use OpenSSL's AES implementation instead of our
  14884. old built-in one. OpenSSL's AES has been better for a while, and
  14885. relatively few servers should still be on any version of OpenSSL
  14886. that doesn't have good optimized assembly AES.
  14887. - Use the name "CERTS" consistently to refer to the new cell type;
  14888. we were calling it CERT in some places and CERTS in others.
  14889. o Testing:
  14890. - Numerous new unit tests for functions in util.c and address.c by
  14891. Anders Sundman.
  14892. - The long-disabled benchmark tests are now split into their own
  14893. ./src/test/bench binary.
  14894. - The benchmark tests can now use more accurate timers than
  14895. gettimeofday() when such timers are available.
  14896. Changes in version 0.2.3.7-alpha - 2011-10-30
  14897. Tor 0.2.3.7-alpha fixes a crash bug in 0.2.3.6-alpha introduced by
  14898. the new v3 handshake. It also resolves yet another bridge address
  14899. enumeration issue.
  14900. o Major bugfixes:
  14901. - If we mark an OR connection for close based on a cell we process,
  14902. don't process any further cells on it. We already avoid further
  14903. reads on marked-for-close connections, but now we also discard the
  14904. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  14905. which was the first version where we might mark a connection for
  14906. close based on processing a cell on it.
  14907. - Fix a double-free bug that would occur when we received an invalid
  14908. certificate in a CERT cell in the new v3 handshake. Fixes bug 4343;
  14909. bugfix on 0.2.3.6-alpha.
  14910. - Bridges no longer include their address in NETINFO cells on outgoing
  14911. OR connections, to allow them to blend in better with clients.
  14912. Removes another avenue for enumerating bridges. Reported by
  14913. "troll_un". Fixes bug 4348; bugfix on 0.2.0.10-alpha, when NETINFO
  14914. cells were introduced.
  14915. o Trivial fixes:
  14916. - Fixed a typo in a hibernation-related log message. Fixes bug 4331;
  14917. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  14918. Changes in version 0.2.3.6-alpha - 2011-10-26
  14919. Tor 0.2.3.6-alpha includes the fix from 0.2.2.34 for a critical
  14920. anonymity vulnerability where an attacker can deanonymize Tor
  14921. users. Everybody should upgrade.
  14922. This release also features support for a new v3 connection handshake
  14923. protocol, and fixes to make hidden service connections more robust.
  14924. o Major features:
  14925. - Implement a new handshake protocol (v3) for authenticating Tors to
  14926. each other over TLS. It should be more resistant to fingerprinting
  14927. than previous protocols, and should require less TLS hacking for
  14928. future Tor implementations. Implements proposal 176.
  14929. - Allow variable-length padding cells to disguise the length of
  14930. Tor's TLS records. Implements part of proposal 184.
  14931. o Privacy/anonymity fixes (clients):
  14932. - Clients and bridges no longer send TLS certificate chains on
  14933. outgoing OR connections. Previously, each client or bridge would
  14934. use the same cert chain for all outgoing OR connections until
  14935. its IP address changes, which allowed any relay that the client
  14936. or bridge contacted to determine which entry guards it is using.
  14937. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  14938. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  14939. no longer considers that connection as suitable for satisfying a
  14940. circuit EXTEND request. Now relays can protect clients from the
  14941. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  14942. - Directory authorities no longer assign the Guard flag to relays
  14943. that haven't upgraded to the above "refuse EXTEND requests
  14944. to client connections" fix. Now directory authorities can
  14945. protect clients from the CVE-2011-2768 issue even if neither
  14946. the clients nor the relays have upgraded yet. There's a new
  14947. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  14948. to let us transition smoothly, else tomorrow there would be no
  14949. guard relays.
  14950. o Major bugfixes (hidden services):
  14951. - Improve hidden service robustness: when an attempt to connect to
  14952. a hidden service ends, be willing to refetch its hidden service
  14953. descriptors from each of the HSDir relays responsible for them
  14954. immediately. Previously, we would not consider refetching the
  14955. service's descriptors from each HSDir for 15 minutes after the last
  14956. fetch, which was inconvenient if the hidden service was not running
  14957. during the first attempt. Bugfix on 0.2.0.18-alpha; fixes bug 3335.
  14958. - When one of a hidden service's introduction points appears to be
  14959. unreachable, stop trying it. Previously, we would keep trying
  14960. to build circuits to the introduction point until we lost the
  14961. descriptor, usually because the user gave up and restarted Tor.
  14962. Partly fixes bug 3825.
  14963. - Don't launch a useless circuit after failing to use one of a
  14964. hidden service's introduction points. Previously, we would
  14965. launch a new introduction circuit, but not set the hidden service
  14966. which that circuit was intended to connect to, so it would never
  14967. actually be used. A different piece of code would then create a
  14968. new introduction circuit correctly. Bug reported by katmagic and
  14969. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  14970. o Major bugfixes (other):
  14971. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  14972. that they initiated. Relays could distinguish incoming bridge
  14973. connections from client connections, creating another avenue for
  14974. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  14975. Found by "frosty_un".
  14976. - Don't update the AccountingSoftLimitHitAt state file entry whenever
  14977. tor gets started. This prevents a wrong average bandwidth
  14978. estimate, which would cause relays to always start a new accounting
  14979. interval at the earliest possible moment. Fixes bug 2003; bugfix
  14980. on 0.2.2.7-alpha. Reported by BryonEldridge, who also helped
  14981. immensely in tracking this bug down.
  14982. - Fix a crash bug when changing node restrictions while a DNS lookup
  14983. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  14984. by "Tey'".
  14985. o Minor bugfixes (on 0.2.2.x and earlier):
  14986. - When a hidden service turns an extra service-side introduction
  14987. circuit into a general-purpose circuit, free the rend_data and
  14988. intro_key fields first, so we won't leak memory if the circuit
  14989. is cannibalized for use as another service-side introduction
  14990. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  14991. - Rephrase the log message emitted if the TestSocks check is
  14992. successful. Patch from Fabian Keil; fixes bug 4094.
  14993. - Bridges now skip DNS self-tests, to act a little more stealthily.
  14994. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  14995. bridges. Patch by "warms0x".
  14996. - Remove a confusing dollar sign from the example fingerprint in the
  14997. man page, and also make the example fingerprint a valid one. Fixes
  14998. bug 4309; bugfix on 0.2.1.3-alpha.
  14999. - Fix internal bug-checking logic that was supposed to catch
  15000. failures in digest generation so that it will fail more robustly
  15001. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  15002. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  15003. - Report any failure in init_keys() calls launched because our
  15004. IP address has changed. Spotted by Coverity Scan. Bugfix on
  15005. 0.1.1.4-alpha; fixes CID 484.
  15006. o Minor bugfixes (on 0.2.3.x):
  15007. - Fix a bug in configure.in that kept it from building a configure
  15008. script with autoconf versions earlier than 2.61. Fixes bug 2430;
  15009. bugfix on 0.2.3.1-alpha.
  15010. - Don't warn users that they are exposing a client port to the
  15011. Internet if they have specified an RFC1918 address. Previously,
  15012. we would warn if the user had specified any non-loopback
  15013. address. Bugfix on 0.2.3.3-alpha. Fixes bug 4018; reported by Tas.
  15014. - Fix memory leaks in the failing cases of the new SocksPort and
  15015. ControlPort code. Found by Coverity Scan. Bugfix on 0.2.3.3-alpha;
  15016. fixes coverity CIDs 485, 486, and 487.
  15017. o Minor features:
  15018. - When a hidden service's introduction point times out, consider
  15019. trying it again during the next attempt to connect to the
  15020. HS. Previously, we would not try it again unless a newly fetched
  15021. descriptor contained it. Required by fixes for bugs 1297 and 3825.
  15022. - The next version of Windows will be called Windows 8, and it has
  15023. a major version of 6, minor version of 2. Correctly identify that
  15024. version instead of calling it "Very recent version". Resolves
  15025. ticket 4153; reported by funkstar.
  15026. - The Bridge Authority now writes statistics on how many bridge
  15027. descriptors it gave out in total, and how many unique descriptors
  15028. it gave out. It also lists how often the most and least commonly
  15029. fetched descriptors were given out, as well as the median and
  15030. 25th/75th percentile. Implements tickets 4200 and 4294.
  15031. - Update to the October 4 2011 Maxmind GeoLite Country database.
  15032. o Code simplifications and refactoring:
  15033. - Remove some old code to remember statistics about which descriptors
  15034. we've served as a directory mirror. The feature wasn't used and
  15035. is outdated now that microdescriptors are around.
  15036. - Rename Tor functions that turn strings into addresses, so that
  15037. "parse" indicates that no hostname resolution occurs, and
  15038. "lookup" indicates that hostname resolution may occur. This
  15039. should help prevent mistakes in the future. Fixes bug 3512.
  15040. Changes in version 0.2.2.34 - 2011-10-26
  15041. Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
  15042. can deanonymize Tor users. Everybody should upgrade.
  15043. The attack relies on four components: 1) Clients reuse their TLS cert
  15044. when talking to different relays, so relays can recognize a user by
  15045. the identity key in her cert. 2) An attacker who knows the client's
  15046. identity key can probe each guard relay to see if that identity key
  15047. is connected to that guard relay right now. 3) A variety of active
  15048. attacks in the literature (starting from "Low-Cost Traffic Analysis
  15049. of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
  15050. discover the guard relays that a Tor user visiting the website is using.
  15051. 4) Clients typically pick three guards at random, so the set of guards
  15052. for a given user could well be a unique fingerprint for her. This
  15053. release fixes components #1 and #2, which is enough to block the attack;
  15054. the other two remain as open research problems. Special thanks to
  15055. "frosty_un" for reporting the issue to us!
  15056. Clients should upgrade so they are no longer recognizable by the TLS
  15057. certs they present. Relays should upgrade so they no longer allow a
  15058. remote attacker to probe them to test whether unpatched clients are
  15059. currently connected to them.
  15060. This release also fixes several vulnerabilities that allow an attacker
  15061. to enumerate bridge relays. Some bridge enumeration attacks still
  15062. remain; see for example proposal 188.
  15063. o Privacy/anonymity fixes (clients):
  15064. - Clients and bridges no longer send TLS certificate chains on
  15065. outgoing OR connections. Previously, each client or bridge would
  15066. use the same cert chain for all outgoing OR connections until
  15067. its IP address changes, which allowed any relay that the client
  15068. or bridge contacted to determine which entry guards it is using.
  15069. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  15070. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  15071. no longer considers that connection as suitable for satisfying a
  15072. circuit EXTEND request. Now relays can protect clients from the
  15073. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  15074. - Directory authorities no longer assign the Guard flag to relays
  15075. that haven't upgraded to the above "refuse EXTEND requests
  15076. to client connections" fix. Now directory authorities can
  15077. protect clients from the CVE-2011-2768 issue even if neither
  15078. the clients nor the relays have upgraded yet. There's a new
  15079. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  15080. to let us transition smoothly, else tomorrow there would be no
  15081. guard relays.
  15082. o Privacy/anonymity fixes (bridge enumeration):
  15083. - Bridge relays now do their directory fetches inside Tor TLS
  15084. connections, like all the other clients do, rather than connecting
  15085. directly to the DirPort like public relays do. Removes another
  15086. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  15087. - Bridges relays now build circuits for themselves in a more similar
  15088. way to how clients build them. Removes another avenue for
  15089. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  15090. when bridges were introduced.
  15091. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  15092. that they initiated. Relays could distinguish incoming bridge
  15093. connections from client connections, creating another avenue for
  15094. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  15095. Found by "frosty_un".
  15096. o Major bugfixes:
  15097. - Fix a crash bug when changing node restrictions while a DNS lookup
  15098. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  15099. by "Tey'".
  15100. - Don't launch a useless circuit after failing to use one of a
  15101. hidden service's introduction points. Previously, we would
  15102. launch a new introduction circuit, but not set the hidden service
  15103. which that circuit was intended to connect to, so it would never
  15104. actually be used. A different piece of code would then create a
  15105. new introduction circuit correctly. Bug reported by katmagic and
  15106. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  15107. o Minor bugfixes:
  15108. - Change an integer overflow check in the OpenBSD_Malloc code so
  15109. that GCC is less likely to eliminate it as impossible. Patch
  15110. from Mansour Moufid. Fixes bug 4059.
  15111. - When a hidden service turns an extra service-side introduction
  15112. circuit into a general-purpose circuit, free the rend_data and
  15113. intro_key fields first, so we won't leak memory if the circuit
  15114. is cannibalized for use as another service-side introduction
  15115. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  15116. - Bridges now skip DNS self-tests, to act a little more stealthily.
  15117. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  15118. bridges. Patch by "warms0x".
  15119. - Fix internal bug-checking logic that was supposed to catch
  15120. failures in digest generation so that it will fail more robustly
  15121. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  15122. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  15123. - Report any failure in init_keys() calls launched because our
  15124. IP address has changed. Spotted by Coverity Scan. Bugfix on
  15125. 0.1.1.4-alpha; fixes CID 484.
  15126. o Minor bugfixes (log messages and documentation):
  15127. - Remove a confusing dollar sign from the example fingerprint in the
  15128. man page, and also make the example fingerprint a valid one. Fixes
  15129. bug 4309; bugfix on 0.2.1.3-alpha.
  15130. - The next version of Windows will be called Windows 8, and it has
  15131. a major version of 6, minor version of 2. Correctly identify that
  15132. version instead of calling it "Very recent version". Resolves
  15133. ticket 4153; reported by funkstar.
  15134. - Downgrade log messages about circuit timeout calibration from
  15135. "notice" to "info": they don't require or suggest any human
  15136. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  15137. bugfix on 0.2.2.14-alpha.
  15138. o Minor features:
  15139. - Turn on directory request statistics by default and include them in
  15140. extra-info descriptors. Don't break if we have no GeoIP database.
  15141. Backported from 0.2.3.1-alpha; implements ticket 3951.
  15142. - Update to the October 4 2011 Maxmind GeoLite Country database.
  15143. Changes in version 0.2.1.31 - 2011-10-26
  15144. Tor 0.2.1.31 backports important security and privacy fixes for
  15145. oldstable. This release is intended only for package maintainers and
  15146. others who cannot use the 0.2.2 stable series. All others should be
  15147. using Tor 0.2.2.x or newer.
  15148. o Security fixes (also included in 0.2.2.x):
  15149. - Replace all potentially sensitive memory comparison operations
  15150. with versions whose runtime does not depend on the data being
  15151. compared. This will help resist a class of attacks where an
  15152. adversary can use variations in timing information to learn
  15153. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  15154. implementation by Robert Ransom based partially on code by DJB.)
  15155. - Fix an assert in parsing router descriptors containing IPv6
  15156. addresses. This one took down the directory authorities when
  15157. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  15158. o Privacy/anonymity fixes (also included in 0.2.2.x):
  15159. - Clients and bridges no longer send TLS certificate chains on
  15160. outgoing OR connections. Previously, each client or bridge would
  15161. use the same cert chain for all outgoing OR connections until
  15162. its IP address changes, which allowed any relay that the client
  15163. or bridge contacted to determine which entry guards it is using.
  15164. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  15165. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  15166. no longer considers that connection as suitable for satisfying a
  15167. circuit EXTEND request. Now relays can protect clients from the
  15168. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  15169. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  15170. that they initiated. Relays could distinguish incoming bridge
  15171. connections from client connections, creating another avenue for
  15172. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  15173. Found by "frosty_un".
  15174. - When receiving a hidden service descriptor, check that it is for
  15175. the hidden service we wanted. Previously, Tor would store any
  15176. hidden service descriptors that a directory gave it, whether it
  15177. wanted them or not. This wouldn't have let an attacker impersonate
  15178. a hidden service, but it did let directories pre-seed a client
  15179. with descriptors that it didn't want. Bugfix on 0.0.6.
  15180. - Avoid linkability based on cached hidden service descriptors: forget
  15181. all hidden service descriptors cached as a client when processing a
  15182. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  15183. - Make the bridge directory authority refuse to answer directory
  15184. requests for "all" descriptors. It used to include bridge
  15185. descriptors in its answer, which was a major information leak.
  15186. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  15187. - Don't attach new streams to old rendezvous circuits after SIGNAL
  15188. NEWNYM. Previously, we would keep using an existing rendezvous
  15189. circuit if it remained open (i.e. if it were kept open by a
  15190. long-lived stream, or if a new stream were attached to it before
  15191. Tor could notice that it was old and no longer in use). Bugfix on
  15192. 0.1.1.15-rc; fixes bug 3375.
  15193. o Minor bugfixes (also included in 0.2.2.x):
  15194. - When we restart our relay, we might get a successful connection
  15195. from the outside before we've started our reachability tests,
  15196. triggering a warning: "ORPort found reachable, but I have no
  15197. routerinfo yet. Failing to inform controller of success." This
  15198. bug was harmless unless Tor is running under a controller
  15199. like Vidalia, in which case the controller would never get a
  15200. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  15201. fixes bug 1172.
  15202. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  15203. enabled. Fixes bug 1526.
  15204. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  15205. anything since 0.2.1.16-rc.
  15206. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  15207. None of the cases where we did this before were wrong, but by making
  15208. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  15209. - Fix a rare crash bug that could occur when a client was configured
  15210. with a large number of bridges. Fixes bug 2629; bugfix on
  15211. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  15212. - Correct the warning displayed when a rendezvous descriptor exceeds
  15213. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  15214. John Brooks.
  15215. - Fix an uncommon assertion failure when running with DNSPort under
  15216. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  15217. - When warning about missing zlib development packages during compile,
  15218. give the correct package names. Bugfix on 0.2.0.1-alpha.
  15219. - Require that introduction point keys and onion keys have public
  15220. exponent 65537. Bugfix on 0.2.0.10-alpha.
  15221. - Do not crash when our configuration file becomes unreadable, for
  15222. example due to a permissions change, between when we start up
  15223. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  15224. on 0.0.9pre6.
  15225. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  15226. Fixes bug 3208.
  15227. - Always NUL-terminate the sun_path field of a sockaddr_un before
  15228. passing it to the kernel. (Not a security issue: kernels are
  15229. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  15230. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  15231. - Don't stack-allocate the list of supplementary GIDs when we're
  15232. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  15233. could take up to 256K, which is way too much stack. Found by
  15234. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  15235. o Minor bugfixes (only in 0.2.1.x):
  15236. - Resume using micro-version numbers in 0.2.1.x: our Debian packages
  15237. rely on them. Bugfix on 0.2.1.30.
  15238. - Use git revisions instead of svn revisions when generating our
  15239. micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  15240. o Minor features (also included in 0.2.2.x):
  15241. - Adjust the expiration time on our SSL session certificates to
  15242. better match SSL certs seen in the wild. Resolves ticket 4014.
  15243. - Allow nameservers with IPv6 address. Resolves bug 2574.
  15244. - Update to the October 4 2011 Maxmind GeoLite Country database.
  15245. Changes in version 0.2.3.5-alpha - 2011-09-28
  15246. Tor 0.2.3.5-alpha fixes two bugs that make it possible to enumerate
  15247. bridge relays; fixes an assertion error that many users started hitting
  15248. today; and adds the ability to refill token buckets more often than
  15249. once per second, allowing significant performance improvements.
  15250. o Security fixes:
  15251. - Bridge relays now do their directory fetches inside Tor TLS
  15252. connections, like all the other clients do, rather than connecting
  15253. directly to the DirPort like public relays do. Removes another
  15254. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  15255. - Bridges relays now build circuits for themselves in a more similar
  15256. way to how clients build them. Removes another avenue for
  15257. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  15258. when bridges were introduced.
  15259. o Major bugfixes:
  15260. - Fix an "Assertion md->held_by_node == 1 failed" error that could
  15261. occur when the same microdescriptor was referenced by two node_t
  15262. objects at once. Fix for bug 4118; bugfix on Tor 0.2.3.1-alpha.
  15263. o Major features (networking):
  15264. - Add a new TokenBucketRefillInterval option to refill token buckets
  15265. more frequently than once per second. This should improve network
  15266. performance, alleviate queueing problems, and make traffic less
  15267. bursty. Implements proposal 183; closes ticket 3630. Design by
  15268. Florian Tschorsch and Björn Scheuermann; implementation by
  15269. Florian Tschorsch.
  15270. o Minor bugfixes:
  15271. - Change an integer overflow check in the OpenBSD_Malloc code so
  15272. that GCC is less likely to eliminate it as impossible. Patch
  15273. from Mansour Moufid. Fixes bug 4059.
  15274. o Minor bugfixes (usability):
  15275. - Downgrade log messages about circuit timeout calibration from
  15276. "notice" to "info": they don't require or suggest any human
  15277. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  15278. bugfix on 0.2.2.14-alpha.
  15279. o Minor features (diagnostics):
  15280. - When the system call to create a listener socket fails, log the
  15281. error message explaining why. This may help diagnose bug 4027.
  15282. Changes in version 0.2.3.4-alpha - 2011-09-13
  15283. Tor 0.2.3.4-alpha includes the fixes from 0.2.2.33, including a slight
  15284. tweak to Tor's TLS handshake that makes relays and bridges that run
  15285. this new version reachable from Iran again. It also fixes a few new
  15286. bugs in 0.2.3.x, and teaches relays to recognize when they're not
  15287. listed in the network consensus and republish.
  15288. o Major bugfixes (also part of 0.2.2.33):
  15289. - Avoid an assertion failure when reloading a configuration with
  15290. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  15291. 3923; bugfix on 0.2.2.25-alpha.
  15292. o Minor features (security, also part of 0.2.2.33):
  15293. - Check for replays of the public-key encrypted portion of an
  15294. INTRODUCE1 cell, in addition to the current check for replays of
  15295. the g^x value. This prevents a possible class of active attacks
  15296. by an attacker who controls both an introduction point and a
  15297. rendezvous point, and who uses the malleability of AES-CTR to
  15298. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  15299. that these attacks are infeasible (requiring the attacker to send
  15300. on the order of zettabytes of altered cells in a short interval),
  15301. but we'd rather block them off in case there are any classes of
  15302. this attack that we missed. Reported by Willem Pinckaers.
  15303. o Minor features (also part of 0.2.2.33):
  15304. - Adjust the expiration time on our SSL session certificates to
  15305. better match SSL certs seen in the wild. Resolves ticket 4014.
  15306. - Change the default required uptime for a relay to be accepted as
  15307. a HSDir (hidden service directory) from 24 hours to 25 hours.
  15308. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  15309. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  15310. authorities to abstain from voting on assignment of the HSDir
  15311. consensus flag. Related to bug 2649.
  15312. - Update to the September 6 2011 Maxmind GeoLite Country database.
  15313. o Minor bugfixes (also part of 0.2.2.33):
  15314. - Demote the 'replay detected' log message emitted when a hidden
  15315. service receives the same Diffie-Hellman public key in two different
  15316. INTRODUCE2 cells to info level. A normal Tor client can cause that
  15317. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  15318. fixes part of bug 2442.
  15319. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  15320. level. There is nothing that a hidden service's operator can do
  15321. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  15322. of bug 2442.
  15323. - Clarify a log message specifying the characters permitted in
  15324. HiddenServiceAuthorizeClient client names. Previously, the log
  15325. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  15326. given the impression that every ASCII character between "+" and "_"
  15327. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  15328. o Build fixes (also part of 0.2.2.33):
  15329. - Clean up some code issues that prevented Tor from building on older
  15330. BSDs. Fixes bug 3894; reported by "grarpamp".
  15331. - Search for a platform-specific version of "ar" when cross-compiling.
  15332. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  15333. o Major bugfixes:
  15334. - Fix a bug where the SocksPort option (for example) would get
  15335. ignored and replaced by the default if a SocksListenAddress
  15336. option was set. Bugfix on 0.2.3.3-alpha; fixes bug 3936. Fix by
  15337. Fabian Keil.
  15338. o Major features:
  15339. - Relays now try regenerating and uploading their descriptor more
  15340. frequently if they are not listed in the consensus, or if the
  15341. version of their descriptor listed in the consensus is too
  15342. old. This fix should prevent situations where a server declines
  15343. to re-publish itself because it has done so too recently, even
  15344. though the authorities decided not to list its recent-enough
  15345. descriptor. Fix for bug 3327.
  15346. o Minor features:
  15347. - Relays now include a reason for regenerating their descriptors
  15348. in an HTTP header when uploading to the authorities. This will
  15349. make it easier to debug descriptor-upload issues in the future.
  15350. - When starting as root and then changing our UID via the User
  15351. control option, and we have a ControlSocket configured, make sure
  15352. that the ControlSocket is owned by the same account that Tor will
  15353. run under. Implements ticket 3421; fix by Jérémy Bobbio.
  15354. o Minor bugfixes:
  15355. - Abort if tor_vasprintf fails in connection_printf_to_buf (a
  15356. utility function used in the control-port code). This shouldn't
  15357. ever happen unless Tor is completely out of memory, but if it did
  15358. happen and Tor somehow recovered from it, Tor could have sent a log
  15359. message to a control port in the middle of a reply to a controller
  15360. command. Fixes part of bug 3428; bugfix on 0.1.2.3-alpha.
  15361. - Make 'FetchUselessDescriptors' cause all descriptor types and
  15362. all consensus types (including microdescriptors) to get fetched.
  15363. Fixes bug 3851; bugfix on 0.2.3.1-alpha.
  15364. o Code refactoring:
  15365. - Make a new "entry connection" struct as an internal subtype of "edge
  15366. connection", to simplify the code and make exit connections smaller.
  15367. Changes in version 0.2.2.33 - 2011-09-13
  15368. Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
  15369. TLS handshake that makes relays and bridges that run this new version
  15370. reachable from Iran again.
  15371. o Major bugfixes:
  15372. - Avoid an assertion failure when reloading a configuration with
  15373. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  15374. 3923; bugfix on 0.2.2.25-alpha.
  15375. o Minor features (security):
  15376. - Check for replays of the public-key encrypted portion of an
  15377. INTRODUCE1 cell, in addition to the current check for replays of
  15378. the g^x value. This prevents a possible class of active attacks
  15379. by an attacker who controls both an introduction point and a
  15380. rendezvous point, and who uses the malleability of AES-CTR to
  15381. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  15382. that these attacks are infeasible (requiring the attacker to send
  15383. on the order of zettabytes of altered cells in a short interval),
  15384. but we'd rather block them off in case there are any classes of
  15385. this attack that we missed. Reported by Willem Pinckaers.
  15386. o Minor features:
  15387. - Adjust the expiration time on our SSL session certificates to
  15388. better match SSL certs seen in the wild. Resolves ticket 4014.
  15389. - Change the default required uptime for a relay to be accepted as
  15390. a HSDir (hidden service directory) from 24 hours to 25 hours.
  15391. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  15392. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  15393. authorities to abstain from voting on assignment of the HSDir
  15394. consensus flag. Related to bug 2649.
  15395. - Update to the September 6 2011 Maxmind GeoLite Country database.
  15396. o Minor bugfixes (documentation and log messages):
  15397. - Correct the man page to explain that HashedControlPassword and
  15398. CookieAuthentication can both be set, in which case either method
  15399. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  15400. when we decided to allow these config options to both be set. Issue
  15401. raised by bug 3898.
  15402. - Demote the 'replay detected' log message emitted when a hidden
  15403. service receives the same Diffie-Hellman public key in two different
  15404. INTRODUCE2 cells to info level. A normal Tor client can cause that
  15405. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  15406. fixes part of bug 2442.
  15407. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  15408. level. There is nothing that a hidden service's operator can do
  15409. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  15410. of bug 2442.
  15411. - Clarify a log message specifying the characters permitted in
  15412. HiddenServiceAuthorizeClient client names. Previously, the log
  15413. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  15414. given the impression that every ASCII character between "+" and "_"
  15415. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  15416. o Build fixes:
  15417. - Provide a substitute implementation of lround() for MSVC, which
  15418. apparently lacks it. Patch from Gisle Vanem.
  15419. - Clean up some code issues that prevented Tor from building on older
  15420. BSDs. Fixes bug 3894; reported by "grarpamp".
  15421. - Search for a platform-specific version of "ar" when cross-compiling.
  15422. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  15423. Changes in version 0.2.3.3-alpha - 2011-09-01
  15424. Tor 0.2.3.3-alpha adds a new "stream isolation" feature to improve Tor's
  15425. security, and provides client-side support for the microdescriptor
  15426. and optimistic data features introduced earlier in the 0.2.3.x
  15427. series. It also includes numerous critical bugfixes in the (optional)
  15428. bufferevent-based networking backend.
  15429. o Major features (stream isolation):
  15430. - You can now configure Tor so that streams from different
  15431. applications are isolated on different circuits, to prevent an
  15432. attacker who sees your streams as they leave an exit node from
  15433. linking your sessions to one another. To do this, choose some way
  15434. to distinguish the applications: have them connect to different
  15435. SocksPorts, or have one of them use SOCKS4 while the other uses
  15436. SOCKS5, or have them pass different authentication strings to the
  15437. SOCKS proxy. Then, use the new SocksPort syntax to configure the
  15438. degree of isolation you need. This implements Proposal 171.
  15439. - There's a new syntax for specifying multiple client ports (such as
  15440. SOCKSPort, TransPort, DNSPort, NATDPort): you can now just declare
  15441. multiple *Port entries with full addr:port syntax on each.
  15442. The old *ListenAddress format is still supported, but you can't
  15443. mix it with the new *Port syntax.
  15444. o Major features (other):
  15445. - Enable microdescriptor fetching by default for clients. This allows
  15446. clients to download a much smaller amount of directory information.
  15447. To disable it (and go back to the old-style consensus and
  15448. descriptors), set "UseMicrodescriptors 0" in your torrc file.
  15449. - Tor's firewall-helper feature, introduced in 0.2.3.1-alpha (see the
  15450. "PortForwarding" config option), now supports Windows.
  15451. - When using an exit relay running 0.2.3.x, clients can now
  15452. "optimistically" send data before the exit relay reports that
  15453. the stream has opened. This saves a round trip when starting
  15454. connections where the client speaks first (such as web browsing).
  15455. This behavior is controlled by a consensus parameter (currently
  15456. disabled). To turn it on or off manually, use the "OptimisticData"
  15457. torrc option. Implements proposal 181; code by Ian Goldberg.
  15458. o Major bugfixes (bufferevents, fixes on 0.2.3.1-alpha):
  15459. - When using IOCP on Windows, we need to enable Libevent windows
  15460. threading support.
  15461. - The IOCP backend now works even when the user has not specified
  15462. the (internal, debugging-only) _UseFilteringSSLBufferevents option.
  15463. Fixes part of bug 3752.
  15464. - Correctly record the bytes we've read and written when using
  15465. bufferevents, so that we can include them in our bandwidth history
  15466. and advertised bandwidth. Fixes bug 3803.
  15467. - Apply rate-limiting only at the bottom of a chain of filtering
  15468. bufferevents. This prevents us from filling up internal read
  15469. buffers and violating rate-limits when filtering bufferevents
  15470. are enabled. Fixes part of bug 3804.
  15471. - Add high-watermarks to the output buffers for filtered
  15472. bufferevents. This prevents us from filling up internal write
  15473. buffers and wasting CPU cycles when filtering bufferevents are
  15474. enabled. Fixes part of bug 3804.
  15475. - Correctly notice when data has been written from a bufferevent
  15476. without flushing it completely. Fixes bug 3805.
  15477. - Fix a bug where server-side tunneled bufferevent-based directory
  15478. streams would get closed prematurely. Fixes bug 3814.
  15479. - Fix a use-after-free error with per-connection rate-limiting
  15480. buckets. Fixes bug 3888.
  15481. o Major bugfixes (also part of 0.2.2.31-rc):
  15482. - If we're configured to write our ControlPorts to disk, only write
  15483. them after switching UID and creating the data directory. This way,
  15484. we don't fail when starting up with a nonexistent DataDirectory
  15485. and a ControlPortWriteToFile setting based on that directory. Fixes
  15486. bug 3747; bugfix on Tor 0.2.2.26-beta.
  15487. o Minor features:
  15488. - Added a new CONF_CHANGED event so that controllers can be notified
  15489. of any configuration changes made by other controllers, or by the
  15490. user. Implements ticket 1692.
  15491. - Use evbuffer_copyout() in inspect_evbuffer(). This fixes a memory
  15492. leak when using bufferevents, and lets Libevent worry about how to
  15493. best copy data out of a buffer.
  15494. - Replace files in stats/ rather than appending to them. Now that we
  15495. include statistics in extra-info descriptors, it makes no sense to
  15496. keep old statistics forever. Implements ticket 2930.
  15497. o Minor features (build compatibility):
  15498. - Limited, experimental support for building with nmake and MSVC.
  15499. - Provide a substitute implementation of lround() for MSVC, which
  15500. apparently lacks it. Patch from Gisle Vanem.
  15501. o Minor features (also part of 0.2.2.31-rc):
  15502. - Update to the August 2 2011 Maxmind GeoLite Country database.
  15503. o Minor bugfixes (on 0.2.3.x-alpha):
  15504. - Fix a spurious warning when parsing SOCKS requests with
  15505. bufferevents enabled. Fixes bug 3615; bugfix on 0.2.3.2-alpha.
  15506. - Get rid of a harmless warning that could happen on relays running
  15507. with bufferevents. The warning was caused by someone doing an http
  15508. request to a relay's orport. Also don't warn for a few related
  15509. non-errors. Fixes bug 3700; bugfix on 0.2.3.1-alpha.
  15510. o Minor bugfixes (on 2.2.x and earlier):
  15511. - Correct the man page to explain that HashedControlPassword and
  15512. CookieAuthentication can both be set, in which case either method
  15513. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  15514. when we decided to allow these config options to both be set. Issue
  15515. raised by bug 3898.
  15516. - The "--quiet" and "--hush" options now apply not only to Tor's
  15517. behavior before logs are configured, but also to Tor's behavior in
  15518. the absence of configured logs. Fixes bug 3550; bugfix on
  15519. 0.2.0.10-alpha.
  15520. o Minor bugfixes (also part of 0.2.2.31-rc):
  15521. - Write several files in text mode, on OSes that distinguish text
  15522. mode from binary mode (namely, Windows). These files are:
  15523. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  15524. that collect those statistics; 'client_keys' and 'hostname' for
  15525. hidden services that use authentication; and (in the tor-gencert
  15526. utility) newly generated identity and signing keys. Previously,
  15527. we wouldn't specify text mode or binary mode, leading to an
  15528. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  15529. the DirRecordUsageByCountry option which would have triggered
  15530. the assertion failure was added), although this assertion failure
  15531. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  15532. - Selectively disable deprecation warnings on OS X because Lion
  15533. started deprecating the shipped copy of openssl. Fixes bug 3643.
  15534. - Remove an extra pair of quotation marks around the error
  15535. message in control-port STATUS_GENERAL BUG events. Bugfix on
  15536. 0.1.2.6-alpha; fixes bug 3732.
  15537. - When unable to format an address as a string, report its value
  15538. as "???" rather than reusing the last formatted address. Bugfix
  15539. on 0.2.1.5-alpha.
  15540. o Code simplifications and refactoring:
  15541. - Rewrite the listener-selection logic so that parsing which ports
  15542. we want to listen on is now separate from binding to the ports
  15543. we want.
  15544. o Build changes:
  15545. - Building Tor with bufferevent support now requires Libevent
  15546. 2.0.13-stable or later. Previous versions of Libevent had bugs in
  15547. SSL-related bufferevents and related issues that would make Tor
  15548. work badly with bufferevents. Requiring 2.0.13-stable also allows
  15549. Tor with bufferevents to take advantage of Libevent APIs
  15550. introduced after 2.0.8-rc.
  15551. Changes in version 0.2.2.32 - 2011-08-27
  15552. The Tor 0.2.2 release series is dedicated to the memory of Andreas
  15553. Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
  15554. a founder of the PETS community, a leader in our field, a mentor,
  15555. and a friend. He left us with these words: "I had the possibility
  15556. to contribute to this world that is not as it should be. I hope I
  15557. could help in some areas to make the world a better place, and that
  15558. I could also encourage other people to be engaged in improving the
  15559. world. Please, stay engaged. This world needs you, your love, your
  15560. initiative -- now I cannot be part of that anymore."
  15561. Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
  15562. ready. More than two years in the making, this release features improved
  15563. client performance and hidden service reliability, better compatibility
  15564. for Android, correct behavior for bridges that listen on more than
  15565. one address, more extensible and flexible directory object handling,
  15566. better reporting of network statistics, improved code security, and
  15567. many many other features and bugfixes.
  15568. Changes in version 0.2.2.31-rc - 2011-08-17
  15569. Tor 0.2.2.31-rc is the second and hopefully final release candidate
  15570. for the Tor 0.2.2.x series.
  15571. o Major bugfixes:
  15572. - Remove an extra pair of quotation marks around the error
  15573. message in control-port STATUS_GENERAL BUG events. Bugfix on
  15574. 0.1.2.6-alpha; fixes bug 3732.
  15575. - If we're configured to write our ControlPorts to disk, only write
  15576. them after switching UID and creating the data directory. This way,
  15577. we don't fail when starting up with a nonexistent DataDirectory
  15578. and a ControlPortWriteToFile setting based on that directory. Fixes
  15579. bug 3747; bugfix on Tor 0.2.2.26-beta.
  15580. o Minor features:
  15581. - Update to the August 2 2011 Maxmind GeoLite Country database.
  15582. o Minor bugfixes:
  15583. - Allow GETINFO fingerprint to return a fingerprint even when
  15584. we have not yet built a router descriptor. Fixes bug 3577;
  15585. bugfix on 0.2.0.1-alpha.
  15586. - Write several files in text mode, on OSes that distinguish text
  15587. mode from binary mode (namely, Windows). These files are:
  15588. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  15589. that collect those statistics; 'client_keys' and 'hostname' for
  15590. hidden services that use authentication; and (in the tor-gencert
  15591. utility) newly generated identity and signing keys. Previously,
  15592. we wouldn't specify text mode or binary mode, leading to an
  15593. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  15594. the DirRecordUsageByCountry option which would have triggered
  15595. the assertion failure was added), although this assertion failure
  15596. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  15597. - Selectively disable deprecation warnings on OS X because Lion
  15598. started deprecating the shipped copy of openssl. Fixes bug 3643.
  15599. - When unable to format an address as a string, report its value
  15600. as "???" rather than reusing the last formatted address. Bugfix
  15601. on 0.2.1.5-alpha.
  15602. Changes in version 0.2.3.2-alpha - 2011-07-18
  15603. Tor 0.2.3.2-alpha introduces two new experimental features:
  15604. microdescriptors and pluggable transports. It also continues cleaning
  15605. up a variety of recently introduced features.
  15606. o Major features:
  15607. - Clients can now use microdescriptors instead of regular descriptors
  15608. to build circuits. Microdescriptors are authority-generated
  15609. summaries of regular descriptors' contents, designed to change
  15610. very rarely (see proposal 158 for details). This feature is
  15611. designed to save bandwidth, especially for clients on slow internet
  15612. connections. It's off by default for now, since nearly no caches
  15613. support it, but it will be on-by-default for clients in a future
  15614. version. You can use the UseMicrodescriptors option to turn it on.
  15615. - Tor clients using bridges can now be configured to use a separate
  15616. 'transport' proxy for each bridge. This approach helps to resist
  15617. censorship by allowing bridges to use protocol obfuscation
  15618. plugins. It implements part of proposal 180. Implements ticket 2841.
  15619. - While we're trying to bootstrap, record how many TLS connections
  15620. fail in each state, and report which states saw the most failures
  15621. in response to any bootstrap failures. This feature may speed up
  15622. diagnosis of censorship events. Implements ticket 3116.
  15623. o Major bugfixes (on 0.2.3.1-alpha):
  15624. - When configuring a large set of nodes in EntryNodes (as with
  15625. 'EntryNodes {cc}' or 'EntryNodes 1.1.1.1/16'), choose only a
  15626. random subset to be guards, and choose them in random
  15627. order. Fixes bug 2798.
  15628. - Tor could crash when remembering a consensus in a non-used consensus
  15629. flavor without having a current consensus set. Fixes bug 3361.
  15630. - Comparing an unknown address to a microdescriptor's shortened exit
  15631. policy would always give a "rejected" result. Fixes bug 3599.
  15632. - Using microdescriptors as a client no longer prevents Tor from
  15633. uploading and downloading hidden service descriptors. Fixes
  15634. bug 3601.
  15635. o Minor features:
  15636. - Allow nameservers with IPv6 address. Resolves bug 2574.
  15637. - Accept attempts to include a password authenticator in the
  15638. handshake, as supported by SOCKS5. This handles SOCKS clients that
  15639. don't know how to omit a password when authenticating. Resolves
  15640. bug 1666.
  15641. - When configuring a large set of nodes in EntryNodes, and there are
  15642. enough of them listed as Guard so that we don't need to consider
  15643. the non-guard entries, prefer the ones listed with the Guard flag.
  15644. - Check for and recover from inconsistency in the microdescriptor
  15645. cache. This will make it harder for us to accidentally free a
  15646. microdescriptor without removing it from the appropriate data
  15647. structures. Fixes issue 3135; issue noted by "wanoskarnet".
  15648. - Log SSL state transitions at log level DEBUG, log domain
  15649. HANDSHAKE. This can be useful for debugging censorship events.
  15650. Implements ticket 3264.
  15651. - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
  15652. implements ticket 3439.
  15653. o Minor bugfixes (on 0.2.3.1-alpha):
  15654. - Do not free all general-purpose regular descriptors just
  15655. because microdescriptor use is enabled. Fixes bug 3113.
  15656. - Correctly link libevent_openssl when --enable-static-libevent
  15657. is passed to configure. Fixes bug 3118.
  15658. - Bridges should not complain during their heartbeat log messages that
  15659. they are unlisted in the consensus: that's more or less the point
  15660. of being a bridge. Fixes bug 3183.
  15661. - Report a SIGNAL event to controllers when acting on a delayed
  15662. SIGNAL NEWNYM command. Previously, we would report a SIGNAL
  15663. event to the controller if we acted on a SIGNAL NEWNYM command
  15664. immediately, and otherwise not report a SIGNAL event for the
  15665. command at all. Fixes bug 3349.
  15666. - Fix a crash when handling the SIGNAL controller command or
  15667. reporting ERR-level status events with bufferevents enabled. Found
  15668. by Robert Ransom. Fixes bug 3367.
  15669. - Always ship the tor-fw-helper manpage in our release tarballs.
  15670. Fixes bug 3389. Reported by Stephen Walker.
  15671. - Fix a class of double-mark-for-close bugs when bufferevents
  15672. are enabled. Fixes bug 3403.
  15673. - Update tor-fw-helper to support libnatpmp-20110618. Fixes bug 3434.
  15674. - Add SIGNAL to the list returned by the 'GETINFO events/names'
  15675. control-port command. Fixes part of bug 3465.
  15676. - Prevent using negative indices during unit test runs when read_all()
  15677. fails. Spotted by coverity.
  15678. - Fix a rare memory leak when checking the nodelist without it being
  15679. present. Found by coverity.
  15680. - Only try to download a microdescriptor-flavored consensus from
  15681. a directory cache that provides them.
  15682. o Minor bugfixes (on 0.2.2.x and earlier):
  15683. - Assert that hidden-service-related operations are not performed
  15684. using single-hop circuits. Previously, Tor would assert that
  15685. client-side streams are not attached to single-hop circuits,
  15686. but not that other sensitive operations on the client and service
  15687. side are not performed using single-hop circuits. Fixes bug 3332;
  15688. bugfix on 0.0.6.
  15689. - Don't publish a new relay descriptor when we reload our onion key,
  15690. unless the onion key has actually changed. Fixes bug 3263 and
  15691. resolves another cause of bug 1810. Bugfix on 0.1.1.11-alpha.
  15692. - Allow GETINFO fingerprint to return a fingerprint even when
  15693. we have not yet built a router descriptor. Fixes bug 3577;
  15694. bugfix on 0.2.0.1-alpha.
  15695. - Make 'tor --digests' list hashes of all Tor source files. Bugfix
  15696. on 0.2.2.4-alpha; fixes bug 3427.
  15697. o Code simplification and refactoring:
  15698. - Use tor_sscanf() in place of scanf() in more places through the
  15699. code. This makes us a little more locale-independent, and
  15700. should help shut up code-analysis tools that can't tell
  15701. a safe sscanf string from a dangerous one.
  15702. - Use tt_assert(), not tor_assert(), for checking for test failures.
  15703. This makes the unit tests more able to go on in the event that
  15704. one of them fails.
  15705. - Split connection_about_to_close() into separate functions for each
  15706. connection type.
  15707. o Build changes:
  15708. - On Windows, we now define the _WIN32_WINNT macros only if they
  15709. are not already defined. This lets the person building Tor decide,
  15710. if they want, to require a later version of Windows.
  15711. Changes in version 0.2.2.30-rc - 2011-07-07
  15712. Tor 0.2.2.30-rc is the first release candidate for the Tor 0.2.2.x
  15713. series. It fixes a few smaller bugs, but generally appears stable.
  15714. Please test it and let us know whether it is!
  15715. o Minor bugfixes:
  15716. - Send a SUCCEEDED stream event to the controller when a reverse
  15717. resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
  15718. discovered by katmagic.
  15719. - Always NUL-terminate the sun_path field of a sockaddr_un before
  15720. passing it to the kernel. (Not a security issue: kernels are
  15721. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  15722. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  15723. - Don't stack-allocate the list of supplementary GIDs when we're
  15724. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  15725. could take up to 256K, which is way too much stack. Found by
  15726. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  15727. - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
  15728. events/names' control-port command. Bugfix on 0.2.2.9-alpha;
  15729. fixes part of bug 3465.
  15730. - Fix a memory leak when receiving a descriptor for a hidden
  15731. service we didn't ask for. Found by Coverity; CID #30. Bugfix
  15732. on 0.2.2.26-beta.
  15733. o Minor features:
  15734. - Update to the July 1 2011 Maxmind GeoLite Country database.
  15735. Changes in version 0.2.2.29-beta - 2011-06-20
  15736. Tor 0.2.2.29-beta reverts an accidental behavior change for users who
  15737. have bridge lines in their torrc but don't want to use them; gets
  15738. us closer to having the control socket feature working on Debian;
  15739. and fixes a variety of smaller bugs.
  15740. o Major bugfixes:
  15741. - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
  15742. When we changed the default behavior to "use bridges if any
  15743. are listed in the torrc", we surprised users who had bridges
  15744. in their torrc files but who didn't actually want to use them.
  15745. Partial resolution for bug 3354.
  15746. o Privacy fixes:
  15747. - Don't attach new streams to old rendezvous circuits after SIGNAL
  15748. NEWNYM. Previously, we would keep using an existing rendezvous
  15749. circuit if it remained open (i.e. if it were kept open by a
  15750. long-lived stream, or if a new stream were attached to it before
  15751. Tor could notice that it was old and no longer in use). Bugfix on
  15752. 0.1.1.15-rc; fixes bug 3375.
  15753. o Minor bugfixes:
  15754. - Fix a bug when using ControlSocketsGroupWritable with User. The
  15755. directory's group would be checked against the current group, not
  15756. the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
  15757. bugfix on 0.2.2.26-beta.
  15758. - Make connection_printf_to_buf()'s behavior sane. Its callers
  15759. expect it to emit a CRLF iff the format string ends with CRLF;
  15760. it actually emitted a CRLF iff (a) the format string ended with
  15761. CRLF or (b) the resulting string was over 1023 characters long or
  15762. (c) the format string did not end with CRLF *and* the resulting
  15763. string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
  15764. fixes part of bug 3407.
  15765. - Make send_control_event_impl()'s behavior sane. Its callers
  15766. expect it to always emit a CRLF at the end of the string; it
  15767. might have emitted extra control characters as well. Bugfix on
  15768. 0.1.1.9-alpha; fixes another part of bug 3407.
  15769. - Make crypto_rand_int() check the value of its input correctly.
  15770. Previously, it accepted values up to UINT_MAX, but could return a
  15771. negative number if given a value above INT_MAX+1. Found by George
  15772. Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
  15773. - Avoid a segfault when reading a malformed circuit build state
  15774. with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
  15775. 0.2.2.4-alpha.
  15776. - When asked about a DNS record type we don't support via a
  15777. client DNSPort, reply with NOTIMPL rather than an empty
  15778. reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
  15779. - Fix a rare memory leak during stats writing. Found by coverity.
  15780. o Minor features:
  15781. - Update to the June 1 2011 Maxmind GeoLite Country database.
  15782. o Code simplifications and refactoring:
  15783. - Remove some dead code as indicated by coverity.
  15784. - Remove a few dead assignments during router parsing. Found by
  15785. coverity.
  15786. - Add some forgotten return value checks during unit tests. Found
  15787. by coverity.
  15788. - Don't use 1-bit wide signed bit fields. Found by coverity.
  15789. Changes in version 0.2.2.28-beta - 2011-06-04
  15790. Tor 0.2.2.28-beta makes great progress towards a new stable release: we
  15791. fixed a big bug in whether relays stay in the consensus consistently,
  15792. we moved closer to handling bridges and hidden services correctly,
  15793. and we started the process of better handling the dreaded "my Vidalia
  15794. died, and now my Tor demands a password when I try to reconnect to it"
  15795. usability issue.
  15796. o Major bugfixes:
  15797. - Don't decide to make a new descriptor when receiving a HUP signal.
  15798. This bug has caused a lot of 0.2.2.x relays to disappear from the
  15799. consensus periodically. Fixes the most common case of triggering
  15800. bug 1810; bugfix on 0.2.2.7-alpha.
  15801. - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
  15802. - Don't try to build descriptors if "ORPort auto" is set and we
  15803. don't know our actual ORPort yet. Fix for bug 3216; bugfix on
  15804. 0.2.2.26-beta.
  15805. - Resolve a crash that occurred when setting BridgeRelay to 1 with
  15806. accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
  15807. - Apply circuit timeouts to opened hidden-service-related circuits
  15808. based on the correct start time. Previously, we would apply the
  15809. circuit build timeout based on time since the circuit's creation;
  15810. it was supposed to be applied based on time since the circuit
  15811. entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
  15812. - Use the same circuit timeout for client-side introduction
  15813. circuits as for other four-hop circuits, rather than the timeout
  15814. for single-hop directory-fetch circuits; the shorter timeout may
  15815. have been appropriate with the static circuit build timeout in
  15816. 0.2.1.x and earlier, but caused many hidden service access attempts
  15817. to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
  15818. on 0.2.2.2-alpha; fixes another part of bug 1297.
  15819. - In ticket 2511 we fixed a case where you could use an unconfigured
  15820. bridge if you had configured it as a bridge the last time you ran
  15821. Tor. Now fix another edge case: if you had configured it as a bridge
  15822. but then switched to a different bridge via the controller, you
  15823. would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
  15824. fixes bug 3321.
  15825. o Major features:
  15826. - Add an __OwningControllerProcess configuration option and a
  15827. TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
  15828. that when it exits, Tor will shut down. Implements feature 3049.
  15829. - If "UseBridges 1" is set and no bridges are configured, Tor will
  15830. now refuse to build any circuits until some bridges are set.
  15831. If "UseBridges auto" is set, Tor will use bridges if they are
  15832. configured and we are not running as a server, but otherwise will
  15833. make circuits as usual. The new default is "auto". Patch by anonym,
  15834. so the Tails LiveCD can stop automatically revealing you as a Tor
  15835. user on startup.
  15836. o Minor bugfixes:
  15837. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  15838. - Remove a trailing asterisk from "exit-policy/default" in the
  15839. output of the control port command "GETINFO info/names". Bugfix
  15840. on 0.1.2.5-alpha.
  15841. - Use a wide type to hold sockets when built for 64-bit Windows builds.
  15842. Fixes bug 3270.
  15843. - Warn when the user configures two HiddenServiceDir lines that point
  15844. to the same directory. Bugfix on 0.0.6 (the version introducing
  15845. HiddenServiceDir); fixes bug 3289.
  15846. - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
  15847. part of bug 2748; bugfix on 0.2.0.10-alpha.
  15848. - Log malformed requests for rendezvous descriptors as protocol
  15849. warnings, not warnings. Also, use a more informative log message
  15850. in case someone sees it at log level warning without prior
  15851. info-level messages. Fixes the other part of bug 2748; bugfix
  15852. on 0.2.0.10-alpha.
  15853. - Clear the table recording the time of the last request for each
  15854. hidden service descriptor from each HS directory on SIGNAL NEWNYM.
  15855. Previously, we would clear our HS descriptor cache on SIGNAL
  15856. NEWNYM, but if we had previously retrieved a descriptor (or tried
  15857. to) from every directory responsible for it, we would refuse to
  15858. fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
  15859. fixes bug 3309.
  15860. - Fix a log message that said "bits" while displaying a value in
  15861. bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
  15862. 0.2.0.1-alpha.
  15863. - When checking for 1024-bit keys, check for 1024 bits, not 128
  15864. bytes. This allows Tor to correctly discard keys of length 1017
  15865. through 1023. Bugfix on 0.0.9pre5.
  15866. o Minor features:
  15867. - Relays now log the reason for publishing a new relay descriptor,
  15868. so we have a better chance of hunting down instances of bug 1810.
  15869. Resolves ticket 3252.
  15870. - Revise most log messages that refer to nodes by nickname to
  15871. instead use the "$key=nickname at address" format. This should be
  15872. more useful, especially since nicknames are less and less likely
  15873. to be unique. Resolves ticket 3045.
  15874. - Log (at info level) when purging pieces of hidden-service-client
  15875. state because of SIGNAL NEWNYM.
  15876. o Removed options:
  15877. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  15878. anything since 0.2.1.16-rc.
  15879. Changes in version 0.2.2.27-beta - 2011-05-18
  15880. Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
  15881. release, and also adds a few more general bugfixes.
  15882. o Major bugfixes:
  15883. - Fix a crash bug when changing bridges in a running Tor process.
  15884. Fixes bug 3213; bugfix on 0.2.2.26-beta.
  15885. - When the controller configures a new bridge, don't wait 10 to 60
  15886. seconds before trying to fetch its descriptor. Bugfix on
  15887. 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
  15888. o Minor bugfixes:
  15889. - Require that onion keys have exponent 65537 in microdescriptors too.
  15890. Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
  15891. - Tor used to limit HttpProxyAuthenticator values to 48 characters.
  15892. Changed the limit to 512 characters by removing base64 newlines.
  15893. Fixes bug 2752. Fix by Michael Yakubovich.
  15894. - When a client starts or stops using bridges, never use a circuit
  15895. that was built before the configuration change. This behavior could
  15896. put at risk a user who uses bridges to ensure that her traffic
  15897. only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
  15898. bug 3200.
  15899. Changes in version 0.2.2.26-beta - 2011-05-17
  15900. Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
  15901. also introduces a new "socksport auto" approach that should make it
  15902. easier to run multiple Tors on the same system, and does a lot of
  15903. cleanup to get us closer to a release candidate.
  15904. o Security/privacy fixes:
  15905. - Replace all potentially sensitive memory comparison operations
  15906. with versions whose runtime does not depend on the data being
  15907. compared. This will help resist a class of attacks where an
  15908. adversary can use variations in timing information to learn
  15909. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  15910. implementation by Robert Ransom based partially on code by DJB.)
  15911. - When receiving a hidden service descriptor, check that it is for
  15912. the hidden service we wanted. Previously, Tor would store any
  15913. hidden service descriptors that a directory gave it, whether it
  15914. wanted them or not. This wouldn't have let an attacker impersonate
  15915. a hidden service, but it did let directories pre-seed a client
  15916. with descriptors that it didn't want. Bugfix on 0.0.6.
  15917. - On SIGHUP, do not clear out all TrackHostExits mappings, client
  15918. DNS cache entries, and virtual address mappings: that's what
  15919. NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
  15920. o Major features:
  15921. - The options SocksPort, ControlPort, and so on now all accept a
  15922. value "auto" that opens a socket on an OS-selected port. A
  15923. new ControlPortWriteToFile option tells Tor to write its
  15924. actual control port or ports to a chosen file. If the option
  15925. ControlPortFileGroupReadable is set, the file is created as
  15926. group-readable. Now users can run two Tor clients on the same
  15927. system without needing to manually mess with parameters. Resolves
  15928. part of ticket 3076.
  15929. - Set SO_REUSEADDR on all sockets, not just listeners. This should
  15930. help busy exit nodes avoid running out of useable ports just
  15931. because all the ports have been used in the near past. Resolves
  15932. issue 2850.
  15933. o Minor features:
  15934. - New "GETINFO net/listeners/(type)" controller command to return
  15935. a list of addresses and ports that are bound for listeners for a
  15936. given connection type. This is useful when the user has configured
  15937. "SocksPort auto" and the controller needs to know which port got
  15938. chosen. Resolves another part of ticket 3076.
  15939. - Add a new ControlSocketsGroupWritable configuration option: when
  15940. it is turned on, ControlSockets are group-writeable by the default
  15941. group of the current user. Patch by Jérémy Bobbio; implements
  15942. ticket 2972.
  15943. - Tor now refuses to create a ControlSocket in a directory that is
  15944. world-readable (or group-readable if ControlSocketsGroupWritable
  15945. is 0). This is necessary because some operating systems do not
  15946. enforce permissions on an AF_UNIX sockets. Permissions on the
  15947. directory holding the socket, however, seems to work everywhere.
  15948. - Rate-limit a warning about failures to download v2 networkstatus
  15949. documents. Resolves part of bug 1352.
  15950. - Backport code from 0.2.3.x that allows directory authorities to
  15951. clean their microdescriptor caches. Needed to resolve bug 2230.
  15952. - When an HTTPS proxy reports "403 Forbidden", we now explain
  15953. what it means rather than calling it an unexpected status code.
  15954. Closes bug 2503. Patch from Michael Yakubovich.
  15955. - Update to the May 1 2011 Maxmind GeoLite Country database.
  15956. o Minor bugfixes:
  15957. - Authorities now clean their microdesc cache periodically and when
  15958. reading from disk initially, not only when adding new descriptors.
  15959. This prevents a bug where we could lose microdescriptors. Bugfix
  15960. on 0.2.2.6-alpha. Fixes bug 2230.
  15961. - Do not crash when our configuration file becomes unreadable, for
  15962. example due to a permissions change, between when we start up
  15963. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  15964. on 0.0.9pre6.
  15965. - Avoid a bug that would keep us from replacing a microdescriptor
  15966. cache on Windows. (We would try to replace the file while still
  15967. holding it open. That's fine on Unix, but Windows doesn't let us
  15968. do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
  15969. - Add missing explanations for the authority-related torrc options
  15970. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
  15971. man page. Resolves issue 2379.
  15972. - As an authority, do not upload our own vote or signature set to
  15973. ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
  15974. it would get flagged as a duplicate. Resolves bug 3026.
  15975. - Accept hidden service descriptors if we think we might be a hidden
  15976. service directory, regardless of what our consensus says. This
  15977. helps robustness, since clients and hidden services can sometimes
  15978. have a more up-to-date view of the network consensus than we do,
  15979. and if they think that the directory authorities list us a HSDir,
  15980. we might actually be one. Related to bug 2732; bugfix on
  15981. 0.2.0.10-alpha.
  15982. - When a controller changes TrackHostExits, remove mappings for
  15983. hosts that should no longer have their exits tracked. Bugfix on
  15984. 0.1.0.1-rc.
  15985. - When a controller changes VirtualAddrNetwork, remove any mappings
  15986. for hosts that were automapped to the old network. Bugfix on
  15987. 0.1.1.19-rc.
  15988. - When a controller changes one of the AutomapHosts* options, remove
  15989. any mappings for hosts that should no longer be automapped. Bugfix
  15990. on 0.2.0.1-alpha.
  15991. - Do not reset the bridge descriptor download status every time we
  15992. re-parse our configuration or get a configuration change. Fixes
  15993. bug 3019; bugfix on 0.2.0.3-alpha.
  15994. o Minor bugfixes (code cleanup):
  15995. - When loading the microdesc journal, remember its current size.
  15996. In 0.2.2, this helps prevent the microdesc journal from growing
  15997. without limit on authorities (who are the only ones to use it in
  15998. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  15999. Fix posted by "cypherpunks."
  16000. - The microdesc journal is supposed to get rebuilt only if it is
  16001. at least _half_ the length of the store, not _twice_ the length
  16002. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  16003. - Fix a potential null-pointer dereference while computing a
  16004. consensus. Bugfix on 0.2.0.3-alpha, found with the help of
  16005. clang's analyzer.
  16006. - Avoid a possible null-pointer dereference when rebuilding the mdesc
  16007. cache without actually having any descriptors to cache. Bugfix on
  16008. 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
  16009. - If we fail to compute the identity digest of a v3 legacy keypair,
  16010. warn, and don't use a buffer-full of junk instead. Bugfix on
  16011. 0.2.1.1-alpha; fixes bug 3106.
  16012. - Resolve an untriggerable issue in smartlist_string_num_isin(),
  16013. where if the function had ever in the future been used to check
  16014. for the presence of a too-large number, it would have given an
  16015. incorrect result. (Fortunately, we only used it for 16-bit
  16016. values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
  16017. - Require that introduction point keys and onion handshake keys
  16018. have a public exponent of 65537. Starts to fix bug 3207; bugfix
  16019. on 0.2.0.10-alpha.
  16020. o Removed features:
  16021. - Caches no longer download and serve v2 networkstatus documents
  16022. unless FetchV2Networkstatus flag is set: these documents haven't
  16023. haven't been used by clients or relays since 0.2.0.x. Resolves
  16024. bug 3022.
  16025. Changes in version 0.2.3.1-alpha - 2011-05-05
  16026. Tor 0.2.3.1-alpha adds some new experimental features, including support
  16027. for an improved network IO backend, IOCP networking on Windows,
  16028. microdescriptor caching, "fast-start" support for streams, and automatic
  16029. home router configuration. There are also numerous internal improvements
  16030. to try to make the code easier for developers to work with.
  16031. This is the first alpha release in a new series, so expect there to be
  16032. bugs. Users who would rather test out a more stable branch should
  16033. stay with 0.2.2.x for now.
  16034. o Major features:
  16035. - Tor can now optionally build with the "bufferevents" buffered IO
  16036. backend provided by Libevent 2. To use this feature, make sure you
  16037. have the latest possible version of Libevent, and pass the
  16038. --enable-bufferevents flag to configure when building Tor from
  16039. source. This feature will make our networking code more flexible,
  16040. let us stack layers on each other, and let us use more efficient
  16041. zero-copy transports where available.
  16042. - As an experimental feature, Tor can use IOCP for networking on Windows.
  16043. Once this code is tuned and optimized, it promises much better
  16044. performance than the select-based backend we've used in the past. To
  16045. try this feature, you must build Tor with Libevent 2, configure Tor
  16046. with the "bufferevents" buffered IO backend, and add "DisableIOCP 0" to
  16047. your torrc. There are known bugs here: only try this if you can help
  16048. debug it as it breaks.
  16049. - The EntryNodes option can now include country codes like {de} or IP
  16050. addresses or network masks. Previously we had disallowed these options
  16051. because we didn't have an efficient way to keep the list up to
  16052. date. Fixes bug 1982, but see bug 2798 for an unresolved issue here.
  16053. - Exit nodes now accept and queue data on not-yet-connected streams.
  16054. Previously, the client wasn't allowed to send data until the stream was
  16055. connected, which slowed down all connections. This change will enable
  16056. clients to perform a "fast-start" on streams and send data without
  16057. having to wait for a confirmation that the stream has opened. (Patch
  16058. from Ian Goldberg; implements the server side of Proposal 174.)
  16059. - Tor now has initial support for automatic port mapping on the many
  16060. home routers that support NAT-PMP or UPnP. (Not yet supported on
  16061. Windows). To build the support code, you'll need to have libnatpnp
  16062. library and/or the libminiupnpc library, and you'll need to enable the
  16063. feature specifically by passing "--enable-upnp" and/or
  16064. "--enable-natpnp" to configure. To turn it on, use the new
  16065. PortForwarding option.
  16066. - Caches now download, cache, and serve multiple "flavors" of the
  16067. consensus, including a flavor that describes microdescriptors.
  16068. - Caches now download, cache, and serve microdescriptors -- small
  16069. summaries of router descriptors that are authenticated by all of the
  16070. directory authorities. Once enough caches are running this code,
  16071. clients will be able to save significant amounts of directory bandwidth
  16072. by downloading microdescriptors instead of router descriptors.
  16073. o Minor features:
  16074. - Make logging resolution configurable with a new LogTimeGranularity
  16075. option, and change the default from 1 millisecond to 1 second.
  16076. Implements enhancement 1668.
  16077. - We log which torrc file we're using on startup. Implements ticket
  16078. 2444.
  16079. - Ordinarily, Tor does not count traffic from private addresses (like
  16080. 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
  16081. There is now a new option, CountPrivateBandwidth, to disable this
  16082. behavior. Patch from Daniel Cagara.
  16083. - New --enable-static-tor configure option for building Tor as
  16084. statically as possible. Idea, general hackery and thoughts from
  16085. Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
  16086. 2702.
  16087. - If you set the NumCPUs option to 0, Tor will now try to detect how
  16088. many CPUs you have. This is the new default behavior.
  16089. - Turn on directory request statistics by default and include them in
  16090. extra-info descriptors. Don't break if we have no GeoIP database.
  16091. - Relays that set "ConnDirectionStatistics 1" write statistics on the
  16092. bidirectional use of connections to disk every 24 hours.
  16093. - Add a GeoIP file digest to the extra-info descriptor. Implements
  16094. enhancement 1883.
  16095. - The NodeFamily option -- which let you declare that you want to
  16096. consider nodes to be part of a family whether they list themselves
  16097. that way or not -- now allows IP address ranges and country codes.
  16098. - Add a new 'Heartbeat' log message type to periodically log a message
  16099. describing Tor's status at level Notice. This feature is meant for
  16100. operators who log at notice, and want to make sure that their Tor
  16101. server is still working. Implementation by George Kadianakis.
  16102. o Minor bugfixes (on 0.2.2.25-alpha):
  16103. - When loading the microdesc journal, remember its current size.
  16104. In 0.2.2, this helps prevent the microdesc journal from growing
  16105. without limit on authorities (who are the only ones to use it in
  16106. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  16107. Fix posted by "cypherpunks."
  16108. - The microdesc journal is supposed to get rebuilt only if it is
  16109. at least _half_ the length of the store, not _twice_ the length
  16110. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  16111. - If as an authority we fail to compute the identity digest of a v3
  16112. legacy keypair, warn, and don't use a buffer-full of junk instead.
  16113. Bugfix on 0.2.1.1-alpha; fixes bug 3106.
  16114. - Authorities now clean their microdesc cache periodically and when
  16115. reading from disk initially, not only when adding new descriptors.
  16116. This prevents a bug where we could lose microdescriptors. Bugfix
  16117. on 0.2.2.6-alpha.
  16118. o Minor features (controller):
  16119. - Add a new SIGNAL event to the controller interface so that
  16120. controllers can be notified when Tor handles a signal. Resolves
  16121. issue 1955. Patch by John Brooks.
  16122. - Add a new GETINFO option to get total bytes read and written. Patch
  16123. from pipe, revised by atagar. Resolves ticket 2345.
  16124. - Implement some GETINFO controller fields to provide information about
  16125. the Tor process's pid, euid, username, and resource limits.
  16126. o Build changes:
  16127. - Our build system requires automake 1.6 or later to create the
  16128. Makefile.in files. Previously, you could have used 1.4.
  16129. This only affects developers and people building Tor from git;
  16130. people who build Tor from the source distribution without changing
  16131. the Makefile.am files should be fine.
  16132. - Our autogen.sh script uses autoreconf to launch autoconf, automake, and
  16133. so on. This is more robust against some of the failure modes
  16134. associated with running the autotools pieces on their own.
  16135. o Minor packaging issues:
  16136. - On OpenSUSE, create the /var/run/tor directory on startup if it is not
  16137. already created. Patch from Andreas Stieger. Fixes bug 2573.
  16138. o Code simplifications and refactoring:
  16139. - A major revision to our internal node-selecting and listing logic.
  16140. Tor already had at least two major ways to look at the question of
  16141. "which Tor servers do we know about": a list of router descriptors,
  16142. and a list of entries in the current consensus. With
  16143. microdescriptors, we're adding a third. Having so many systems
  16144. without an abstraction layer over them was hurting the codebase.
  16145. Now, we have a new "node_t" abstraction that presents a consistent
  16146. interface to a client's view of a Tor node, and holds (nearly) all
  16147. of the mutable state formerly in routerinfo_t and routerstatus_t.
  16148. - The helper programs tor-gencert, tor-resolve, and tor-checkkey
  16149. no longer link against Libevent: they never used it, but
  16150. our library structure used to force them to link it.
  16151. o Removed features:
  16152. - Remove some old code to work around even older versions of Tor that
  16153. used forked processes to handle DNS requests. Such versions of Tor
  16154. are no longer in use as servers.
  16155. o Documentation fixes:
  16156. - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
  16157. - Add missing documentation for the authority-related torrc options
  16158. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey. Resolves
  16159. issue 2379.
  16160. Changes in version 0.2.2.25-alpha - 2011-04-29
  16161. Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
  16162. robust, routers no longer overreport their bandwidth, Win7 should crash
  16163. a little less, and NEWNYM (as used by Vidalia's "new identity" button)
  16164. now prevents hidden service-related activity from being linkable. It
  16165. provides more information to Vidalia so you can see if your bridge is
  16166. working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
  16167. StrictNodes configuration options to make them more reliable, more
  16168. understandable, and more regularly applied. If you use those options,
  16169. please see the revised documentation for them in the manual page.
  16170. o Major bugfixes:
  16171. - Relays were publishing grossly inflated bandwidth values because
  16172. they were writing their state files wrong--now they write the
  16173. correct value. Also, resume reading bandwidth history from the
  16174. state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
  16175. - Improve hidden service robustness: When we find that we have
  16176. extended a hidden service's introduction circuit to a relay not
  16177. listed as an introduction point in the HS descriptor we currently
  16178. have, retry with an introduction point from the current
  16179. descriptor. Previously we would just give up. Fixes bugs 1024 and
  16180. 1930; bugfix on 0.2.0.10-alpha.
  16181. - Clients now stop trying to use an exit node associated with a given
  16182. destination by TrackHostExits if they fail to reach that exit node.
  16183. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
  16184. - Fix crash bug on platforms where gmtime and localtime can return
  16185. NULL. Windows 7 users were running into this one. Fixes part of bug
  16186. 2077. Bugfix on all versions of Tor. Found by boboper.
  16187. o Security and stability fixes:
  16188. - Don't double-free a parsable, but invalid, microdescriptor, even if
  16189. it is followed in the blob we're parsing by an unparsable
  16190. microdescriptor. Fixes an issue reported in a comment on bug 2954.
  16191. Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
  16192. - If the Nickname configuration option isn't given, Tor would pick a
  16193. nickname based on the local hostname as the nickname for a relay.
  16194. Because nicknames are not very important in today's Tor and the
  16195. "Unnamed" nickname has been implemented, this is now problematic
  16196. behavior: It leaks information about the hostname without being
  16197. useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
  16198. introduced the Unnamed nickname. Reported by tagnaq.
  16199. - Fix an uncommon assertion failure when running with DNSPort under
  16200. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  16201. - Avoid linkability based on cached hidden service descriptors: forget
  16202. all hidden service descriptors cached as a client when processing a
  16203. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  16204. o Major features:
  16205. - Export GeoIP information on bridge usage to controllers even if we
  16206. have not yet been running for 24 hours. Now Vidalia bridge operators
  16207. can get more accurate and immediate feedback about their
  16208. contributions to the network.
  16209. o Major features and bugfixes (node selection):
  16210. - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
  16211. ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
  16212. options. Previously, we had been ambiguous in describing what
  16213. counted as an "exit" node, and what operations exactly "StrictNodes
  16214. 0" would permit. This created confusion when people saw nodes built
  16215. through unexpected circuits, and made it hard to tell real bugs from
  16216. surprises. Now the intended behavior is:
  16217. . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
  16218. a node that delivers user traffic outside the Tor network.
  16219. . "Entry", in the context of EntryNodes, means a node used as the
  16220. first hop of a multihop circuit. It doesn't include direct
  16221. connections to directory servers.
  16222. . "ExcludeNodes" applies to all nodes.
  16223. . "StrictNodes" changes the behavior of ExcludeNodes only. When
  16224. StrictNodes is set, Tor should avoid all nodes listed in
  16225. ExcludeNodes, even when it will make user requests fail. When
  16226. StrictNodes is *not* set, then Tor should follow ExcludeNodes
  16227. whenever it can, except when it must use an excluded node to
  16228. perform self-tests, connect to a hidden service, provide a
  16229. hidden service, fulfill a .exit request, upload directory
  16230. information, or fetch directory information.
  16231. Collectively, the changes to implement the behavior fix bug 1090.
  16232. - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
  16233. a node is listed in both, it's treated as excluded.
  16234. - ExcludeNodes now applies to directory nodes -- as a preference if
  16235. StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
  16236. Don't exclude all the directory authorities and set StrictNodes to 1
  16237. unless you really want your Tor to break.
  16238. - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
  16239. - ExcludeExitNodes now overrides .exit requests.
  16240. - We don't use bridges listed in ExcludeNodes.
  16241. - When StrictNodes is 1:
  16242. . We now apply ExcludeNodes to hidden service introduction points
  16243. and to rendezvous points selected by hidden service users. This
  16244. can make your hidden service less reliable: use it with caution!
  16245. . If we have used ExcludeNodes on ourself, do not try relay
  16246. reachability self-tests.
  16247. . If we have excluded all the directory authorities, we will not
  16248. even try to upload our descriptor if we're a relay.
  16249. . Do not honor .exit requests to an excluded node.
  16250. - Remove a misfeature that caused us to ignore the Fast/Stable flags
  16251. when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
  16252. - When the set of permitted nodes changes, we now remove any mappings
  16253. introduced via TrackExitHosts to now-excluded nodes. Bugfix on
  16254. 0.1.0.1-rc.
  16255. - We never cannibalize a circuit that had excluded nodes on it, even
  16256. if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
  16257. - Revert a change where we would be laxer about attaching streams to
  16258. circuits than when building the circuits. This was meant to prevent
  16259. a set of bugs where streams were never attachable, but our improved
  16260. code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
  16261. - Keep track of how many times we launch a new circuit to handle a
  16262. given stream. Too many launches could indicate an inconsistency
  16263. between our "launch a circuit to handle this stream" logic and our
  16264. "attach this stream to one of the available circuits" logic.
  16265. - Improve log messages related to excluded nodes.
  16266. o Minor bugfixes:
  16267. - Fix a spurious warning when moving from a short month to a long
  16268. month on relays with month-based BandwidthAccounting. Bugfix on
  16269. 0.2.2.17-alpha; fixes bug 3020.
  16270. - When a client finds that an origin circuit has run out of 16-bit
  16271. stream IDs, we now mark it as unusable for new streams. Previously,
  16272. we would try to close the entire circuit. Bugfix on 0.0.6.
  16273. - Add a forgotten cast that caused a compile warning on OS X 10.6.
  16274. Bugfix on 0.2.2.24-alpha.
  16275. - Be more careful about reporting the correct error from a failed
  16276. connect() system call. Under some circumstances, it was possible to
  16277. look at an incorrect value for errno when sending the end reason.
  16278. Bugfix on 0.1.0.1-rc.
  16279. - Correctly handle an "impossible" overflow cases in connection byte
  16280. counting, where we write or read more than 4GB on an edge connection
  16281. in a single second. Bugfix on 0.1.2.8-beta.
  16282. - Correct the warning displayed when a rendezvous descriptor exceeds
  16283. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  16284. John Brooks.
  16285. - Clients and hidden services now use HSDir-flagged relays for hidden
  16286. service descriptor downloads and uploads even if the relays have no
  16287. DirPort set and the client has disabled TunnelDirConns. This will
  16288. eventually allow us to give the HSDir flag to relays with no
  16289. DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
  16290. - Downgrade "no current certificates known for authority" message from
  16291. Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
  16292. - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
  16293. 2917. Bugfix on 0.1.1.1-alpha.
  16294. - Only limit the lengths of single HS descriptors, even when multiple
  16295. HS descriptors are published to an HSDir relay in a single POST
  16296. operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
  16297. - Write the current time into the LastWritten line in our state file,
  16298. rather than the time from the previous write attempt. Also, stop
  16299. trying to use a time of -1 in our log statements. Fixes bug 3039;
  16300. bugfix on 0.2.2.14-alpha.
  16301. - Be more consistent in our treatment of file system paths. "~" should
  16302. get expanded to the user's home directory in the Log config option.
  16303. Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
  16304. feature for the -f and --DataDirectory options.
  16305. o Minor features:
  16306. - Make sure every relay writes a state file at least every 12 hours.
  16307. Previously, a relay could go for weeks without writing its state
  16308. file, and on a crash could lose its bandwidth history, capacity
  16309. estimates, client country statistics, and so on. Addresses bug 3012.
  16310. - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
  16311. Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
  16312. clients are already deprecated because of security bugs.
  16313. - Don't allow v0 hidden service authorities to act as clients.
  16314. Required by fix for bug 3000.
  16315. - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
  16316. by fix for bug 3000.
  16317. - Ensure that no empty [dirreq-](read|write)-history lines are added
  16318. to an extrainfo document. Implements ticket 2497.
  16319. o Code simplification and refactoring:
  16320. - Remove workaround code to handle directory responses from servers
  16321. that had bug 539 (they would send HTTP status 503 responses _and_
  16322. send a body too). Since only server versions before
  16323. 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
  16324. keep the workaround in place.
  16325. - Remove the old 'fuzzy time' logic. It was supposed to be used for
  16326. handling calculations where we have a known amount of clock skew and
  16327. an allowed amount of unknown skew. But we only used it in three
  16328. places, and we never adjusted the known/unknown skew values. This is
  16329. still something we might want to do someday, but if we do, we'll
  16330. want to do it differently.
  16331. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  16332. None of the cases where we did this before were wrong, but by making
  16333. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  16334. - Use GetTempDir to find the proper temporary directory location on
  16335. Windows when generating temporary files for the unit tests. Patch by
  16336. Gisle Vanem.
  16337. Changes in version 0.2.2.24-alpha - 2011-04-08
  16338. Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
  16339. prevented Tor clients from effectively using "multihomed" bridges,
  16340. that is, bridges that listen on multiple ports or IP addresses so users
  16341. can continue to use some of their addresses even if others get blocked.
  16342. o Major bugfixes:
  16343. - Fix a bug where bridge users who configure the non-canonical
  16344. address of a bridge automatically switch to its canonical
  16345. address. If a bridge listens at more than one address, it should be
  16346. able to advertise those addresses independently and any non-blocked
  16347. addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
  16348. bug 2510.
  16349. - If you configured Tor to use bridge A, and then quit and
  16350. configured Tor to use bridge B instead, it would happily continue
  16351. to use bridge A if it's still reachable. While this behavior is
  16352. a feature if your goal is connectivity, in some scenarios it's a
  16353. dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
  16354. - Directory authorities now use data collected from their own
  16355. uptime observations when choosing whether to assign the HSDir flag
  16356. to relays, instead of trusting the uptime value the relay reports in
  16357. its descriptor. This change helps prevent an attack where a small
  16358. set of nodes with frequently-changing identity keys can blackhole
  16359. a hidden service. (Only authorities need upgrade; others will be
  16360. fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
  16361. o Minor bugfixes:
  16362. - When we restart our relay, we might get a successful connection
  16363. from the outside before we've started our reachability tests,
  16364. triggering a warning: "ORPort found reachable, but I have no
  16365. routerinfo yet. Failing to inform controller of success." This
  16366. bug was harmless unless Tor is running under a controller
  16367. like Vidalia, in which case the controller would never get a
  16368. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  16369. fixes bug 1172.
  16370. - Make directory authorities more accurate at recording when
  16371. relays that have failed several reachability tests became
  16372. unreachable, so we can provide more accuracy at assigning Stable,
  16373. Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
  16374. - Fix an issue that prevented static linking of libevent on
  16375. some platforms (notably Linux). Fixes bug 2698; bugfix on
  16376. versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
  16377. the --with-static-libevent configure option).
  16378. - We now ask the other side of a stream (the client or the exit)
  16379. for more data on that stream when the amount of queued data on
  16380. that stream dips low enough. Previously, we wouldn't ask the
  16381. other side for more data until either it sent us more data (which
  16382. it wasn't supposed to do if it had exhausted its window!) or we
  16383. had completely flushed all our queued data. This flow control fix
  16384. should improve throughput. Fixes bug 2756; bugfix on the earliest
  16385. released versions of Tor (svn commit r152).
  16386. - Avoid a double-mark-for-free warning when failing to attach a
  16387. transparent proxy connection. (We thought we had fixed this in
  16388. 0.2.2.23-alpha, but it turns out our fix was checking the wrong
  16389. connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
  16390. bug) and 0.2.2.23-alpha (the incorrect fix).
  16391. - When warning about missing zlib development packages during compile,
  16392. give the correct package names. Bugfix on 0.2.0.1-alpha.
  16393. o Minor features:
  16394. - Directory authorities now log the source of a rejected POSTed v3
  16395. networkstatus vote.
  16396. - Make compilation with clang possible when using
  16397. --enable-gcc-warnings by removing two warning options that clang
  16398. hasn't implemented yet and by fixing a few warnings. Implements
  16399. ticket 2696.
  16400. - When expiring circuits, use microsecond timers rather than
  16401. one-second timers. This can avoid an unpleasant situation where a
  16402. circuit is launched near the end of one second and expired right
  16403. near the beginning of the next, and prevent fluctuations in circuit
  16404. timeout values.
  16405. - Use computed circuit-build timeouts to decide when to launch
  16406. parallel introduction circuits for hidden services. (Previously,
  16407. we would retry after 15 seconds.)
  16408. - Update to the April 1 2011 Maxmind GeoLite Country database.
  16409. o Packaging fixes:
  16410. - Create the /var/run/tor directory on startup on OpenSUSE if it is
  16411. not already created. Patch from Andreas Stieger. Fixes bug 2573.
  16412. o Documentation changes:
  16413. - Modernize the doxygen configuration file slightly. Fixes bug 2707.
  16414. - Resolve all doxygen warnings except those for missing documentation.
  16415. Fixes bug 2705.
  16416. - Add doxygen documentation for more functions, fields, and types.
  16417. Changes in version 0.2.2.23-alpha - 2011-03-08
  16418. Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
  16419. they restart they don't lose their bandwidth capacity estimate. This
  16420. release also fixes a diverse set of user-facing bugs, ranging from
  16421. relays overrunning their rate limiting to clients falsely warning about
  16422. clock skew to bridge descriptor leaks by our bridge directory authority.
  16423. o Major bugfixes:
  16424. - Stop sending a CLOCK_SKEW controller status event whenever
  16425. we fetch directory information from a relay that has a wrong clock.
  16426. Instead, only inform the controller when it's a trusted authority
  16427. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  16428. the rest of bug 1074.
  16429. - Fix an assert in parsing router descriptors containing IPv6
  16430. addresses. This one took down the directory authorities when
  16431. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  16432. - Make the bridge directory authority refuse to answer directory
  16433. requests for "all" descriptors. It used to include bridge
  16434. descriptors in its answer, which was a major information leak.
  16435. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  16436. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  16437. Tor would ignore their RelayBandwidthBurst setting,
  16438. potentially using more bandwidth than expected. Bugfix on
  16439. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  16440. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  16441. hidserv" in her torrc. The 'hidserv' argument never controlled
  16442. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  16443. o Major features:
  16444. - Relays now save observed peak bandwidth throughput rates to their
  16445. state file (along with total usage, which was already saved)
  16446. so that they can determine their correct estimated bandwidth on
  16447. restart. Resolves bug 1863, where Tor relays would reset their
  16448. estimated bandwidth to 0 after restarting.
  16449. - Directory authorities now take changes in router IP address and
  16450. ORPort into account when determining router stability. Previously,
  16451. if a router changed its IP or ORPort, the authorities would not
  16452. treat it as having any downtime for the purposes of stability
  16453. calculation, whereas clients would experience downtime since the
  16454. change could take a while to propagate to them. Resolves issue 1035.
  16455. - Enable Address Space Layout Randomization (ASLR) and Data Execution
  16456. Prevention (DEP) by default on Windows to make it harder for
  16457. attackers to exploit vulnerabilities. Patch from John Brooks.
  16458. o Minor bugfixes (on 0.2.1.x and earlier):
  16459. - Fix a rare crash bug that could occur when a client was configured
  16460. with a large number of bridges. Fixes bug 2629; bugfix on
  16461. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  16462. - Avoid a double mark-for-free warning when failing to attach a
  16463. transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
  16464. bug 2279.
  16465. - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
  16466. found by "cypherpunks". This bug was introduced before the first
  16467. Tor release, in svn commit r110.
  16468. - Country codes aren't supported in EntryNodes until 0.2.3.x, so
  16469. don't mention them in the manpage. Fixes bug 2450; issue
  16470. spotted by keb and G-Lo.
  16471. - Fix a bug in bandwidth history state parsing that could have been
  16472. triggered if a future version of Tor ever changed the timing
  16473. granularity at which bandwidth history is measured. Bugfix on
  16474. Tor 0.1.1.11-alpha.
  16475. - When a relay decides that its DNS is too broken for it to serve
  16476. as an exit server, it advertised itself as a non-exit, but
  16477. continued to act as an exit. This could create accidental
  16478. partitioning opportunities for users. Instead, if a relay is
  16479. going to advertise reject *:* as its exit policy, it should
  16480. really act with exit policy "reject *:*". Fixes bug 2366.
  16481. Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
  16482. - In the special case where you configure a public exit relay as your
  16483. bridge, Tor would be willing to use that exit relay as the last
  16484. hop in your circuit as well. Now we fail that circuit instead.
  16485. Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
  16486. - Fix a bug with our locking implementation on Windows that couldn't
  16487. correctly detect when a file was already locked. Fixes bug 2504,
  16488. bugfix on 0.2.1.6-alpha.
  16489. - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
  16490. Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
  16491. "piebeer".
  16492. - Set target port in get_interface_address6() correctly. Bugfix
  16493. on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
  16494. - Directory authorities are now more robust to hops back in time
  16495. when calculating router stability. Previously, if a run of uptime
  16496. or downtime appeared to be negative, the calculation could give
  16497. incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
  16498. bug 1035.
  16499. - Fix an assert that got triggered when using the TestingTorNetwork
  16500. configuration option and then issuing a GETINFO config-text control
  16501. command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
  16502. o Minor bugfixes (on 0.2.2.x):
  16503. - Clients should not weight BadExit nodes as Exits in their node
  16504. selection. Similarly, directory authorities should not count BadExit
  16505. bandwidth as Exit bandwidth when computing bandwidth-weights.
  16506. Bugfix on 0.2.2.10-alpha; fixes bug 2203.
  16507. - Correctly clear our dir_read/dir_write history when there is an
  16508. error parsing any bw history value from the state file. Bugfix on
  16509. Tor 0.2.2.15-alpha.
  16510. - Resolve a bug in verifying signatures of directory objects
  16511. with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
  16512. Fixes bug 2409. Found by "piebeer".
  16513. - Bridge authorities no longer crash on SIGHUP when they try to
  16514. publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
  16515. on 0.2.2.22-alpha.
  16516. o Minor features:
  16517. - Log less aggressively about circuit timeout changes, and improve
  16518. some other circuit timeout messages. Resolves bug 2004.
  16519. - Log a little more clearly about the times at which we're no longer
  16520. accepting new connections. Resolves bug 2181.
  16521. - Reject attempts at the client side to open connections to private
  16522. IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
  16523. a randomly chosen exit node. Attempts to do so are always
  16524. ill-defined, generally prevented by exit policies, and usually
  16525. in error. This will also help to detect loops in transparent
  16526. proxy configurations. You can disable this feature by setting
  16527. "ClientRejectInternalAddresses 0" in your torrc.
  16528. - Always treat failure to allocate an RSA key as an unrecoverable
  16529. allocation error.
  16530. - Update to the March 1 2011 Maxmind GeoLite Country database.
  16531. o Minor features (log subsystem):
  16532. - Add documentation for configuring logging at different severities in
  16533. different log domains. We've had this feature since 0.2.1.1-alpha,
  16534. but for some reason it never made it into the manpage. Fixes
  16535. bug 2215.
  16536. - Make it simpler to specify "All log domains except for A and B".
  16537. Previously you needed to say "[*,~A,~B]". Now you can just say
  16538. "[~A,~B]".
  16539. - Add a "LogMessageDomains 1" option to include the domains of log
  16540. messages along with the messages. Without this, there's no way
  16541. to use log domains without reading the source or doing a lot
  16542. of guessing.
  16543. o Packaging changes:
  16544. - Stop shipping the Tor specs files and development proposal documents
  16545. in the tarball. They are now in a separate git repository at
  16546. git://git.torproject.org/torspec.git
  16547. Changes in version 0.2.1.30 - 2011-02-23
  16548. Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
  16549. change is a slight tweak to Tor's TLS handshake that makes relays
  16550. and bridges that run this new version reachable from Iran again.
  16551. We don't expect this tweak will win the arms race long-term, but it
  16552. buys us time until we roll out a better solution.
  16553. o Major bugfixes:
  16554. - Stop sending a CLOCK_SKEW controller status event whenever
  16555. we fetch directory information from a relay that has a wrong clock.
  16556. Instead, only inform the controller when it's a trusted authority
  16557. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  16558. the rest of bug 1074.
  16559. - Fix a bounds-checking error that could allow an attacker to
  16560. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  16561. Found by "piebeer".
  16562. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  16563. Tor would ignore their RelayBandwidthBurst setting,
  16564. potentially using more bandwidth than expected. Bugfix on
  16565. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  16566. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  16567. hidserv" in her torrc. The 'hidserv' argument never controlled
  16568. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  16569. o Minor features:
  16570. - Adjust our TLS Diffie-Hellman parameters to match those used by
  16571. Apache's mod_ssl.
  16572. - Update to the February 1 2011 Maxmind GeoLite Country database.
  16573. o Minor bugfixes:
  16574. - Check for and reject overly long directory certificates and
  16575. directory tokens before they have a chance to hit any assertions.
  16576. Bugfix on 0.2.1.28. Found by "doorss".
  16577. - Bring the logic that gathers routerinfos and assesses the
  16578. acceptability of circuits into line. This prevents a Tor OP from
  16579. getting locked in a cycle of choosing its local OR as an exit for a
  16580. path (due to a .exit request) and then rejecting the circuit because
  16581. its OR is not listed yet. It also prevents Tor clients from using an
  16582. OR running in the same instance as an exit (due to a .exit request)
  16583. if the OR does not meet the same requirements expected of an OR
  16584. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  16585. o Packaging changes:
  16586. - Stop shipping the Tor specs files and development proposal documents
  16587. in the tarball. They are now in a separate git repository at
  16588. git://git.torproject.org/torspec.git
  16589. - Do not include Git version tags as though they are SVN tags when
  16590. generating a tarball from inside a repository that has switched
  16591. between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  16592. Changes in version 0.2.2.22-alpha - 2011-01-25
  16593. Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
  16594. main other change is a slight tweak to Tor's TLS handshake that makes
  16595. relays and bridges that run this new version reachable from Iran again.
  16596. We don't expect this tweak will win the arms race long-term, but it
  16597. will buy us a bit more time until we roll out a better solution.
  16598. o Major bugfixes:
  16599. - Fix a bounds-checking error that could allow an attacker to
  16600. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  16601. Found by "piebeer".
  16602. - Don't assert when changing from bridge to relay or vice versa
  16603. via the controller. The assert happened because we didn't properly
  16604. initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
  16605. bug 2433. Reported by bastik.
  16606. o Minor features:
  16607. - Adjust our TLS Diffie-Hellman parameters to match those used by
  16608. Apache's mod_ssl.
  16609. - Provide a log message stating which geoip file we're parsing
  16610. instead of just stating that we're parsing the geoip file.
  16611. Implements ticket 2432.
  16612. o Minor bugfixes:
  16613. - Check for and reject overly long directory certificates and
  16614. directory tokens before they have a chance to hit any assertions.
  16615. Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
  16616. Changes in version 0.2.2.21-alpha - 2011-01-15
  16617. Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
  16618. continues our recent code security audit work. The main fix resolves
  16619. a remote heap overflow vulnerability that can allow remote code
  16620. execution (CVE-2011-0427). Other fixes address a variety of assert
  16621. and crash bugs, most of which we think are hard to exploit remotely.
  16622. o Major bugfixes (security), also included in 0.2.1.29:
  16623. - Fix a heap overflow bug where an adversary could cause heap
  16624. corruption. This bug probably allows remote code execution
  16625. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  16626. 0.1.2.10-rc.
  16627. - Prevent a denial-of-service attack by disallowing any
  16628. zlib-compressed data whose compression factor is implausibly
  16629. high. Fixes part of bug 2324; reported by "doorss".
  16630. - Zero out a few more keys in memory before freeing them. Fixes
  16631. bug 2384 and part of bug 2385. These key instances found by
  16632. "cypherpunks", based on Andrew Case's report about being able
  16633. to find sensitive data in Tor's memory space if you have enough
  16634. permissions. Bugfix on 0.0.2pre9.
  16635. o Major bugfixes (crashes), also included in 0.2.1.29:
  16636. - Prevent calls to Libevent from inside Libevent log handlers.
  16637. This had potential to cause a nasty set of crashes, especially
  16638. if running Libevent with debug logging enabled, and running
  16639. Tor with a controller watching for low-severity log messages.
  16640. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  16641. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  16642. underflow errors there too. Fixes the other part of bug 2324.
  16643. - Fix a bug where we would assert if we ever had a
  16644. cached-descriptors.new file (or another file read directly into
  16645. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  16646. on 0.2.1.25. Found by doorss.
  16647. - Fix some potential asserts and parsing issues with grossly
  16648. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  16649. Found by doorss.
  16650. o Minor bugfixes (other), also included in 0.2.1.29:
  16651. - Fix a bug with handling misformed replies to reverse DNS lookup
  16652. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  16653. bug reported by doorss.
  16654. - Fix compilation on mingw when a pthreads compatibility library
  16655. has been installed. (We don't want to use it, so we shouldn't
  16656. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  16657. - Fix a bug where we would declare that we had run out of virtual
  16658. addresses when the address space was only half-exhausted. Bugfix
  16659. on 0.1.2.1-alpha.
  16660. - Correctly handle the case where AutomapHostsOnResolve is set but
  16661. no virtual addresses are available. Fixes bug 2328; bugfix on
  16662. 0.1.2.1-alpha. Bug found by doorss.
  16663. - Correctly handle wrapping around when we run out of virtual
  16664. address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
  16665. o Minor features, also included in 0.2.1.29:
  16666. - Update to the January 1 2011 Maxmind GeoLite Country database.
  16667. - Introduce output size checks on all of our decryption functions.
  16668. o Build changes, also included in 0.2.1.29:
  16669. - Tor does not build packages correctly with Automake 1.6 and earlier;
  16670. added a check to Makefile.am to make sure that we're building with
  16671. Automake 1.7 or later.
  16672. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  16673. because we built it with a too-old version of automake. Thus that
  16674. release broke ./configure --enable-openbsd-malloc, which is popular
  16675. among really fast exit relays on Linux.
  16676. o Major bugfixes, new in 0.2.2.21-alpha:
  16677. - Prevent crash/heap corruption when the cbtnummodes consensus
  16678. parameter is set to 0 or large values. Fixes bug 2317; bugfix
  16679. on 0.2.2.14-alpha.
  16680. o Major features, new in 0.2.2.21-alpha:
  16681. - Introduce minimum/maximum values that clients will believe
  16682. from the consensus. Now we'll have a better chance to avoid crashes
  16683. or worse when a consensus param has a weird value.
  16684. o Minor features, new in 0.2.2.21-alpha:
  16685. - Make sure to disable DirPort if running as a bridge. DirPorts aren't
  16686. used on bridges, and it makes bridge scanning somewhat easier.
  16687. - If writing the state file to disk fails, wait up to an hour before
  16688. retrying again, rather than trying again each second. Fixes bug
  16689. 2346; bugfix on Tor 0.1.1.3-alpha.
  16690. - Make Libevent log messages get delivered to controllers later,
  16691. and not from inside the Libevent log handler. This prevents unsafe
  16692. reentrant Libevent calls while still letting the log messages
  16693. get through.
  16694. - Detect platforms that brokenly use a signed size_t, and refuse to
  16695. build there. Found and analyzed by doorss and rransom.
  16696. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
  16697. Resolves bug 2314.
  16698. o Minor bugfixes, new in 0.2.2.21-alpha:
  16699. - Handle SOCKS messages longer than 128 bytes long correctly, rather
  16700. than waiting forever for them to finish. Fixes bug 2330; bugfix
  16701. on 0.2.0.16-alpha. Found by doorss.
  16702. - Add assertions to check for overflow in arguments to
  16703. base32_encode() and base32_decode(); fix a signed-unsigned
  16704. comparison there too. These bugs are not actually reachable in Tor,
  16705. but it's good to prevent future errors too. Found by doorss.
  16706. - Correctly detect failures to create DNS requests when using Libevent
  16707. versions before v2. (Before Libevent 2, we used our own evdns
  16708. implementation. Its return values for Libevent's evdns_resolve_*()
  16709. functions are not consistent with those from Libevent.) Fixes bug
  16710. 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
  16711. o Documentation, new in 0.2.2.21-alpha:
  16712. - Document the default socks host and port (127.0.0.1:9050) for
  16713. tor-resolve.
  16714. Changes in version 0.2.1.29 - 2011-01-15
  16715. Tor 0.2.1.29 continues our recent code security audit work. The main
  16716. fix resolves a remote heap overflow vulnerability that can allow remote
  16717. code execution. Other fixes address a variety of assert and crash bugs,
  16718. most of which we think are hard to exploit remotely.
  16719. o Major bugfixes (security):
  16720. - Fix a heap overflow bug where an adversary could cause heap
  16721. corruption. This bug probably allows remote code execution
  16722. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  16723. 0.1.2.10-rc.
  16724. - Prevent a denial-of-service attack by disallowing any
  16725. zlib-compressed data whose compression factor is implausibly
  16726. high. Fixes part of bug 2324; reported by "doorss".
  16727. - Zero out a few more keys in memory before freeing them. Fixes
  16728. bug 2384 and part of bug 2385. These key instances found by
  16729. "cypherpunks", based on Andrew Case's report about being able
  16730. to find sensitive data in Tor's memory space if you have enough
  16731. permissions. Bugfix on 0.0.2pre9.
  16732. o Major bugfixes (crashes):
  16733. - Prevent calls to Libevent from inside Libevent log handlers.
  16734. This had potential to cause a nasty set of crashes, especially
  16735. if running Libevent with debug logging enabled, and running
  16736. Tor with a controller watching for low-severity log messages.
  16737. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  16738. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  16739. underflow errors there too. Fixes the other part of bug 2324.
  16740. - Fix a bug where we would assert if we ever had a
  16741. cached-descriptors.new file (or another file read directly into
  16742. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  16743. on 0.2.1.25. Found by doorss.
  16744. - Fix some potential asserts and parsing issues with grossly
  16745. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  16746. Found by doorss.
  16747. o Minor bugfixes (other):
  16748. - Fix a bug with handling misformed replies to reverse DNS lookup
  16749. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  16750. bug reported by doorss.
  16751. - Fix compilation on mingw when a pthreads compatibility library
  16752. has been installed. (We don't want to use it, so we shouldn't
  16753. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  16754. - Fix a bug where we would declare that we had run out of virtual
  16755. addresses when the address space was only half-exhausted. Bugfix
  16756. on 0.1.2.1-alpha.
  16757. - Correctly handle the case where AutomapHostsOnResolve is set but
  16758. no virtual addresses are available. Fixes bug 2328; bugfix on
  16759. 0.1.2.1-alpha. Bug found by doorss.
  16760. - Correctly handle wrapping around to when we run out of virtual
  16761. address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
  16762. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  16763. because we built it with a too-old version of automake. Thus that
  16764. release broke ./configure --enable-openbsd-malloc, which is popular
  16765. among really fast exit relays on Linux.
  16766. o Minor features:
  16767. - Update to the January 1 2011 Maxmind GeoLite Country database.
  16768. - Introduce output size checks on all of our decryption functions.
  16769. o Build changes:
  16770. - Tor does not build packages correctly with Automake 1.6 and earlier;
  16771. added a check to Makefile.am to make sure that we're building with
  16772. Automake 1.7 or later.
  16773. Changes in version 0.2.2.20-alpha - 2010-12-17
  16774. Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
  16775. exploitable bugs. We also fix a variety of other significant bugs,
  16776. change the IP address for one of our directory authorities, and update
  16777. the minimum version that Tor relays must run to join the network.
  16778. o Major bugfixes:
  16779. - Fix a remotely exploitable bug that could be used to crash instances
  16780. of Tor remotely by overflowing on the heap. Remote-code execution
  16781. hasn't been confirmed, but can't be ruled out. Everyone should
  16782. upgrade. Bugfix on the 0.1.1 series and later.
  16783. - Fix a bug that could break accounting on 64-bit systems with large
  16784. time_t values, making them hibernate for impossibly long intervals.
  16785. Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
  16786. - Fix a logic error in directory_fetches_from_authorities() that
  16787. would cause all _non_-exits refusing single-hop-like circuits
  16788. to fetch from authorities, when we wanted to have _exits_ fetch
  16789. from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
  16790. fix by boboper.
  16791. - Fix a stream fairness bug that would cause newer streams on a given
  16792. circuit to get preference when reading bytes from the origin or
  16793. destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
  16794. introduced before the first Tor release, in svn revision r152.
  16795. o Directory authority changes:
  16796. - Change IP address and ports for gabelmoo (v3 directory authority).
  16797. o Minor bugfixes:
  16798. - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
  16799. Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
  16800. - Fix an off-by-one error in calculating some controller command
  16801. argument lengths. Fortunately, this mistake is harmless since
  16802. the controller code does redundant NUL termination too. Found by
  16803. boboper. Bugfix on 0.1.1.1-alpha.
  16804. - Do not dereference NULL if a bridge fails to build its
  16805. extra-info descriptor. Found by an anonymous commenter on
  16806. Trac. Bugfix on 0.2.2.19-alpha.
  16807. o Minor features:
  16808. - Update to the December 1 2010 Maxmind GeoLite Country database.
  16809. - Directory authorities now reject relays running any versions of
  16810. Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
  16811. known bugs that keep RELAY_EARLY cells from working on rendezvous
  16812. circuits. Followup to fix for bug 2081.
  16813. - Directory authorities now reject relays running any version of Tor
  16814. older than 0.2.0.26-rc. That version is the earliest that fetches
  16815. current directory information correctly. Fixes bug 2156.
  16816. - Report only the top 10 ports in exit-port stats in order not to
  16817. exceed the maximum extra-info descriptor length of 50 KB. Implements
  16818. task 2196.
  16819. Changes in version 0.2.1.28 - 2010-12-17
  16820. Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
  16821. exploitable bugs. We also took this opportunity to change the IP address
  16822. for one of our directory authorities, and to update the geoip database
  16823. we ship.
  16824. o Major bugfixes:
  16825. - Fix a remotely exploitable bug that could be used to crash instances
  16826. of Tor remotely by overflowing on the heap. Remote-code execution
  16827. hasn't been confirmed, but can't be ruled out. Everyone should
  16828. upgrade. Bugfix on the 0.1.1 series and later.
  16829. o Directory authority changes:
  16830. - Change IP address and ports for gabelmoo (v3 directory authority).
  16831. o Minor features:
  16832. - Update to the December 1 2010 Maxmind GeoLite Country database.
  16833. Changes in version 0.2.1.27 - 2010-11-23
  16834. Yet another OpenSSL security patch broke its compatibility with Tor:
  16835. Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
  16836. also took this opportunity to fix several crash bugs, integrate a new
  16837. directory authority, and update the bundled GeoIP database.
  16838. o Major bugfixes:
  16839. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  16840. No longer set the tlsext_host_name extension on server SSL objects;
  16841. but continue to set it on client SSL objects. Our goal in setting
  16842. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  16843. bugfix on 0.2.1.1-alpha.
  16844. - Do not log messages to the controller while shrinking buffer
  16845. freelists. Doing so would sometimes make the controller connection
  16846. try to allocate a buffer chunk, which would mess up the internals
  16847. of the freelist and cause an assertion failure. Fixes bug 1125;
  16848. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  16849. - Learn our external IP address when we're a relay or bridge, even if
  16850. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  16851. where we introduced bridge relays that don't need to publish to
  16852. be useful. Fixes bug 2050.
  16853. - Do even more to reject (and not just ignore) annotations on
  16854. router descriptors received anywhere but from the cache. Previously
  16855. we would ignore such annotations at first, but cache them to disk
  16856. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  16857. - When you're using bridges and your network goes away and your
  16858. bridges get marked as down, recover when you attempt a new socks
  16859. connection (if the network is back), rather than waiting up to an
  16860. hour to try fetching new descriptors for your bridges. Bugfix on
  16861. 0.2.0.3-alpha; fixes bug 1981.
  16862. o Major features:
  16863. - Move to the November 2010 Maxmind GeoLite country db (rather
  16864. than the June 2009 ip-to-country GeoIP db) for our statistics that
  16865. count how many users relays are seeing from each country. Now we'll
  16866. have more accurate data, especially for many African countries.
  16867. o New directory authorities:
  16868. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  16869. authority.
  16870. o Minor bugfixes:
  16871. - Fix an assertion failure that could occur in directory caches or
  16872. bridge users when using a very short voting interval on a testing
  16873. network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
  16874. 0.2.0.8-alpha.
  16875. - Enforce multiplicity rules when parsing annotations. Bugfix on
  16876. 0.2.0.8-alpha. Found by piebeer.
  16877. - Allow handshaking OR connections to take a full KeepalivePeriod
  16878. seconds to handshake. Previously, we would close them after
  16879. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  16880. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  16881. for analysis help.
  16882. - When building with --enable-gcc-warnings on OpenBSD, disable
  16883. warnings in system headers. This makes --enable-gcc-warnings
  16884. pass on OpenBSD 4.8.
  16885. o Minor features:
  16886. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  16887. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  16888. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  16889. Servers can start sending this code when enough clients recognize
  16890. it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
  16891. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  16892. Patch from mingw-san.
  16893. o Removed files:
  16894. - Remove the old debian/ directory from the main Tor distribution.
  16895. The official Tor-for-debian git repository lives at the URL
  16896. https://git.torproject.org/debian/tor.git
  16897. - Stop shipping the old doc/website/ directory in the tarball. We
  16898. changed the website format in late 2010, and what we shipped in
  16899. 0.2.1.26 really wasn't that useful anyway.
  16900. Changes in version 0.2.2.19-alpha - 2010-11-22
  16901. Yet another OpenSSL security patch broke its compatibility with Tor:
  16902. Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
  16903. o Major bugfixes:
  16904. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  16905. No longer set the tlsext_host_name extension on server SSL objects;
  16906. but continue to set it on client SSL objects. Our goal in setting
  16907. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  16908. bugfix on 0.2.1.1-alpha.
  16909. o Minor bugfixes:
  16910. - Try harder not to exceed the maximum length of 50 KB when writing
  16911. statistics to extra-info descriptors. This bug was triggered by very
  16912. fast relays reporting exit-port, entry, and dirreq statistics.
  16913. Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
  16914. - Publish a router descriptor even if generating an extra-info
  16915. descriptor fails. Previously we would not publish a router
  16916. descriptor without an extra-info descriptor; this can cause fast
  16917. exit relays collecting exit-port statistics to drop from the
  16918. consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
  16919. Changes in version 0.2.2.18-alpha - 2010-11-16
  16920. Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
  16921. us lately, makes unpublished bridge relays able to detect their IP
  16922. address, and fixes a wide variety of other bugs to get us much closer
  16923. to a stable release.
  16924. o Major bugfixes:
  16925. - Do even more to reject (and not just ignore) annotations on
  16926. router descriptors received anywhere but from the cache. Previously
  16927. we would ignore such annotations at first, but cache them to disk
  16928. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  16929. - Do not log messages to the controller while shrinking buffer
  16930. freelists. Doing so would sometimes make the controller connection
  16931. try to allocate a buffer chunk, which would mess up the internals
  16932. of the freelist and cause an assertion failure. Fixes bug 1125;
  16933. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  16934. - Learn our external IP address when we're a relay or bridge, even if
  16935. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  16936. where we introduced bridge relays that don't need to publish to
  16937. be useful. Fixes bug 2050.
  16938. - Maintain separate TLS contexts and certificates for incoming and
  16939. outgoing connections in bridge relays. Previously we would use the
  16940. same TLS contexts and certs for incoming and outgoing connections.
  16941. Bugfix on 0.2.0.3-alpha; addresses bug 988.
  16942. - Maintain separate identity keys for incoming and outgoing TLS
  16943. contexts in bridge relays. Previously we would use the same
  16944. identity keys for incoming and outgoing TLS contexts. Bugfix on
  16945. 0.2.0.3-alpha; addresses the other half of bug 988.
  16946. - Avoid an assertion failure when we as an authority receive a
  16947. duplicate upload of a router descriptor that we already have,
  16948. but which we previously considered an obsolete descriptor.
  16949. Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
  16950. - Avoid a crash bug triggered by looking at a dangling pointer while
  16951. setting the network status consensus. Found by Robert Ransom.
  16952. Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
  16953. - Fix a logic error where servers that _didn't_ act as exits would
  16954. try to keep their server lists more aggressively up to date than
  16955. exits, when it was supposed to be the other way around. Bugfix
  16956. on 0.2.2.17-alpha.
  16957. o Minor bugfixes (on Tor 0.2.1.x and earlier):
  16958. - When we're trying to guess whether we know our IP address as
  16959. a relay, we would log various ways that we failed to guess
  16960. our address, but never log that we ended up guessing it
  16961. successfully. Now add a log line to help confused and anxious
  16962. relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
  16963. - Bring the logic that gathers routerinfos and assesses the
  16964. acceptability of circuits into line. This prevents a Tor OP from
  16965. getting locked in a cycle of choosing its local OR as an exit for a
  16966. path (due to a .exit request) and then rejecting the circuit because
  16967. its OR is not listed yet. It also prevents Tor clients from using an
  16968. OR running in the same instance as an exit (due to a .exit request)
  16969. if the OR does not meet the same requirements expected of an OR
  16970. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  16971. - Correctly describe errors that occur when generating a TLS object.
  16972. Previously we would attribute them to a failure while generating a
  16973. TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
  16974. bug 1994.
  16975. - Enforce multiplicity rules when parsing annotations. Bugfix on
  16976. 0.2.0.8-alpha. Found by piebeer.
  16977. - Fix warnings that newer versions of autoconf produced during
  16978. ./autogen.sh. These warnings appear to be harmless in our case,
  16979. but they were extremely verbose. Fixes bug 2020.
  16980. o Minor bugfixes (on Tor 0.2.2.x):
  16981. - Enable protection of small arrays whenever we build with gcc
  16982. hardening features, not only when also building with warnings
  16983. enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
  16984. o Minor features:
  16985. - Make hidden services work better in private Tor networks by not
  16986. requiring any uptime to join the hidden service descriptor
  16987. DHT. Implements ticket 2088.
  16988. - Rate-limit the "your application is giving Tor only an IP address"
  16989. warning. Addresses bug 2000; bugfix on 0.0.8pre2.
  16990. - When AllowSingleHopExits is set, print a warning to explain to the
  16991. relay operator why most clients are avoiding her relay.
  16992. - Update to the November 1 2010 Maxmind GeoLite Country database.
  16993. o Code simplifications and refactoring:
  16994. - When we fixed bug 1038 we had to put in a restriction not to send
  16995. RELAY_EARLY cells on rend circuits. This was necessary as long
  16996. as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
  16997. active. Now remove this obsolete check. Resolves bug 2081.
  16998. - Some options used different conventions for uppercasing of acronyms
  16999. when comparing manpage and source. Fix those in favor of the
  17000. manpage, as it makes sense to capitalize acronyms.
  17001. - Remove the torrc.complete file. It hasn't been kept up to date
  17002. and users will have better luck checking out the manpage.
  17003. - Remove the obsolete "NoPublish" option; it has been flagged
  17004. as obsolete and has produced a warning since 0.1.1.18-rc.
  17005. - Remove everything related to building the expert bundle for OS X.
  17006. It has confused many users, doesn't work right on OS X 10.6,
  17007. and is hard to get rid of once installed. Resolves bug 1274.
  17008. Changes in version 0.2.2.17-alpha - 2010-09-30
  17009. Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
  17010. to use one-hop circuits (which can put the exit relays at higher risk,
  17011. plus unbalance the network); fixes a big bug in bandwidth accounting
  17012. for relays that want to limit their monthly bandwidth use; fixes a
  17013. big pile of bugs in how clients tolerate temporary network failure;
  17014. and makes our adaptive circuit build timeout feature (which improves
  17015. client performance if your network is fast while not breaking things
  17016. if your network is slow) better handle bad networks.
  17017. o Major features:
  17018. - Exit relays now try harder to block exit attempts from unknown
  17019. relays, to make it harder for people to use them as one-hop proxies
  17020. a la tortunnel. Controlled by the refuseunknownexits consensus
  17021. parameter (currently enabled), or you can override it on your
  17022. relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
  17023. o Major bugfixes (0.2.1.x and earlier):
  17024. - Fix a bug in bandwidth accounting that could make us use twice
  17025. the intended bandwidth when our interval start changes due to
  17026. daylight saving time. Now we tolerate skew in stored vs computed
  17027. interval starts: if the start of the period changes by no more than
  17028. 50% of the period's duration, we remember bytes that we transferred
  17029. in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
  17030. - Always search the Windows system directory for system DLLs, and
  17031. nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
  17032. - When you're using bridges and your network goes away and your
  17033. bridges get marked as down, recover when you attempt a new socks
  17034. connection (if the network is back), rather than waiting up to an
  17035. hour to try fetching new descriptors for your bridges. Bugfix on
  17036. 0.2.0.3-alpha; fixes bug 1981.
  17037. o Major bugfixes (on 0.2.2.x):
  17038. - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
  17039. bug 1797.
  17040. - Fix a segfault that could happen when operating a bridge relay with
  17041. no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
  17042. - The consensus bandwidth-weights (used by clients to choose fast
  17043. relays) entered an unexpected edge case in September where
  17044. Exits were much scarcer than Guards, resulting in bad weight
  17045. recommendations. Now we compute them using new constraints that
  17046. should succeed in all cases. Also alter directory authorities to
  17047. not include the bandwidth-weights line if they fail to produce
  17048. valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
  17049. - When weighting bridges during path selection, we used to trust
  17050. the bandwidths they provided in their descriptor, only capping them
  17051. at 10MB/s. This turned out to be problematic for two reasons:
  17052. Bridges could claim to handle a lot more traffic then they
  17053. actually would, thus making more clients pick them and have a
  17054. pretty effective DoS attack. The other issue is that new bridges
  17055. that might not have a good estimate for their bw capacity yet
  17056. would not get used at all unless no other bridges are available
  17057. to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
  17058. o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
  17059. - Ignore cannibalized circuits when recording circuit build times.
  17060. This should provide for a minor performance improvement for hidden
  17061. service users using 0.2.2.14-alpha, and should remove two spurious
  17062. notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
  17063. - Simplify the logic that causes us to decide if the network is
  17064. unavailable for purposes of recording circuit build times. If we
  17065. receive no cells whatsoever for the entire duration of a circuit's
  17066. full measured lifetime, the network is probably down. Also ignore
  17067. one-hop directory fetching circuit timeouts when calculating our
  17068. circuit build times. These changes should hopefully reduce the
  17069. cases where we see ridiculous circuit build timeouts for people
  17070. with spotty wireless connections. Fixes part of bug 1772; bugfix
  17071. on 0.2.2.2-alpha.
  17072. - Prevent the circuit build timeout from becoming larger than
  17073. the maximum build time we have ever seen. Also, prevent the time
  17074. period for measurement circuits from becoming larger than twice that
  17075. value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
  17076. o Minor features:
  17077. - When we run out of directory information such that we can't build
  17078. circuits, but then get enough that we can build circuits, log when
  17079. we actually construct a circuit, so the user has a better chance of
  17080. knowing what's going on. Fixes bug 1362.
  17081. - Be more generous with how much bandwidth we'd use up (with
  17082. accounting enabled) before entering "soft hibernation". Previously,
  17083. we'd refuse new connections and circuits once we'd used up 95% of
  17084. our allotment. Now, we use up 95% of our allotment, AND make sure
  17085. that we have no more than 500MB (or 3 hours of expected traffic,
  17086. whichever is lower) remaining before we enter soft hibernation.
  17087. - If we've configured EntryNodes and our network goes away and/or all
  17088. our entrynodes get marked down, optimistically retry them all when
  17089. a new socks application request appears. Fixes bug 1882.
  17090. - Add some more defensive programming for architectures that can't
  17091. handle unaligned integer accesses. We don't know of any actual bugs
  17092. right now, but that's the best time to fix them. Fixes bug 1943.
  17093. - Support line continuations in the torrc config file. If a line
  17094. ends with a single backslash character, the newline is ignored, and
  17095. the configuration value is treated as continuing on the next line.
  17096. Resolves bug 1929.
  17097. o Minor bugfixes (on 0.2.1.x and earlier):
  17098. - For bandwidth accounting, calculate our expected bandwidth rate
  17099. based on the time during which we were active and not in
  17100. soft-hibernation during the last interval. Previously, we were
  17101. also considering the time spent in soft-hibernation. If this
  17102. was a long time, we would wind up underestimating our bandwidth
  17103. by a lot, and skewing our wakeup time towards the start of the
  17104. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
  17105. o Minor bugfixes (on 0.2.2.x):
  17106. - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
  17107. which were disabled by the circuit build timeout changes in
  17108. 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
  17109. - Make sure we don't warn about missing bandwidth weights when
  17110. choosing bridges or other relays not in the consensus. Bugfix on
  17111. 0.2.2.10-alpha; fixes bug 1805.
  17112. - In our logs, do not double-report signatures from unrecognized
  17113. authorities both as "from unknown authority" and "not
  17114. present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
  17115. Changes in version 0.2.2.16-alpha - 2010-09-17
  17116. Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
  17117. evident at exit relays), and also continues to resolve all the little
  17118. bugs that have been filling up trac lately.
  17119. o Major bugfixes (stream-level fairness):
  17120. - When receiving a circuit-level SENDME for a blocked circuit, try
  17121. to package cells fairly from all the streams that had previously
  17122. been blocked on that circuit. Previously, we had started with the
  17123. oldest stream, and allowed each stream to potentially exhaust
  17124. the circuit's package window. This gave older streams on any
  17125. given circuit priority over newer ones. Fixes bug 1937. Detected
  17126. originally by Camilo Viecco. This bug was introduced before the
  17127. first Tor release, in svn commit r152: it is the new winner of
  17128. the longest-lived bug prize.
  17129. - When the exit relay got a circuit-level sendme cell, it started
  17130. reading on the exit streams, even if had 500 cells queued in the
  17131. circuit queue already, so the circuit queue just grew and grew in
  17132. some cases. We fix this by not re-enabling reading on receipt of a
  17133. sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
  17134. on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
  17135. "yetonetime".
  17136. - Newly created streams were allowed to read cells onto circuits,
  17137. even if the circuit's cell queue was blocked and waiting to drain.
  17138. This created potential unfairness, as older streams would be
  17139. blocked, but newer streams would gladly fill the queue completely.
  17140. We add code to detect this situation and prevent any stream from
  17141. getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
  17142. fixes bug 1298.
  17143. o Minor features:
  17144. - Update to the September 1 2010 Maxmind GeoLite Country database.
  17145. - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
  17146. not. This would lead to a cookie that is still not group readable.
  17147. Closes bug 1843. Suggested by katmagic.
  17148. - When logging a rate-limited warning, we now mention how many messages
  17149. got suppressed since the last warning.
  17150. - Add new "perconnbwrate" and "perconnbwburst" consensus params to
  17151. do individual connection-level rate limiting of clients. The torrc
  17152. config options with the same names trump the consensus params, if
  17153. both are present. Replaces the old "bwconnrate" and "bwconnburst"
  17154. consensus params which were broken from 0.2.2.7-alpha through
  17155. 0.2.2.14-alpha. Closes bug 1947.
  17156. - When a router changes IP address or port, authorities now launch
  17157. a new reachability test for it. Implements ticket 1899.
  17158. - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
  17159. 2 no signature, 4 required" messages about consensus signatures
  17160. easier to read, and make sure they get logged at the same severity
  17161. as the messages explaining which keys are which. Fixes bug 1290.
  17162. - Don't warn when we have a consensus that we can't verify because
  17163. of missing certificates, unless those certificates are ones
  17164. that we have been trying and failing to download. Fixes bug 1145.
  17165. - If you configure your bridge with a known identity fingerprint,
  17166. and the bridge authority is unreachable (as it is in at least
  17167. one country now), fall back to directly requesting the descriptor
  17168. from the bridge. Finishes the feature started in 0.2.0.10-alpha;
  17169. closes bug 1138.
  17170. - When building with --enable-gcc-warnings on OpenBSD, disable
  17171. warnings in system headers. This makes --enable-gcc-warnings
  17172. pass on OpenBSD 4.8.
  17173. o Minor bugfixes (on 0.2.1.x and earlier):
  17174. - Authorities will now attempt to download consensuses if their
  17175. own efforts to make a live consensus have failed. This change
  17176. means authorities that restart will fetch a valid consensus, and
  17177. it means authorities that didn't agree with the current consensus
  17178. will still fetch and serve it if it has enough signatures. Bugfix
  17179. on 0.2.0.9-alpha; fixes bug 1300.
  17180. - Ensure DNS requests launched by "RESOLVE" commands from the
  17181. controller respect the __LeaveStreamsUnattached setconf options. The
  17182. same goes for requests launched via DNSPort or transparent
  17183. proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
  17184. - Allow handshaking OR connections to take a full KeepalivePeriod
  17185. seconds to handshake. Previously, we would close them after
  17186. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  17187. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  17188. for analysis help.
  17189. - Rate-limit "Failed to hand off onionskin" warnings.
  17190. - Never relay a cell for a circuit we have already destroyed.
  17191. Between marking a circuit as closeable and finally closing it,
  17192. it may have been possible for a few queued cells to get relayed,
  17193. even though they would have been immediately dropped by the next
  17194. OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
  17195. - Never queue a cell for a circuit that's already been marked
  17196. for close.
  17197. - Never vote for a server as "Running" if we have a descriptor for
  17198. it claiming to be hibernating, and that descriptor was published
  17199. more recently than our last contact with the server. Bugfix on
  17200. 0.2.0.3-alpha; fixes bug 911.
  17201. - Squash a compile warning on OpenBSD. Reported by Tas; fixes
  17202. bug 1848.
  17203. o Minor bugfixes (on 0.2.2.x):
  17204. - Fix a regression introduced in 0.2.2.7-alpha that marked relays
  17205. down if a directory fetch fails and you've configured either
  17206. bridges or EntryNodes. The intent was to mark the relay as down
  17207. _unless_ you're using bridges or EntryNodes, since if you are
  17208. then you could quickly run out of entry points.
  17209. - Fix the Windows directory-listing code. A bug introduced in
  17210. 0.2.2.14-alpha could make Windows directory servers forget to load
  17211. some of their cached v2 networkstatus files.
  17212. - Really allow clients to use relays as bridges. Fixes bug 1776;
  17213. bugfix on 0.2.2.15-alpha.
  17214. - Demote a warn to info that happens when the CellStatistics option
  17215. was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
  17216. Reported by Moritz Bartl.
  17217. - On Windows, build correctly either with or without Unicode support.
  17218. This is necessary so that Tor can support fringe platforms like
  17219. Windows 98 (which has no Unicode), or Windows CE (which has no
  17220. non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
  17221. o Testing
  17222. - Add a unit test for cross-platform directory-listing code.
  17223. Changes in version 0.2.2.15-alpha - 2010-08-18
  17224. Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
  17225. fixes a variety of other bugs that were preventing performance
  17226. experiments from moving forward, fixes several bothersome memory leaks,
  17227. and generally closes a lot of smaller bugs that have been filling up
  17228. trac lately.
  17229. o Major bugfixes:
  17230. - Stop assigning the HSDir flag to relays that disable their
  17231. DirPort (and thus will refuse to answer directory requests). This
  17232. fix should dramatically improve the reachability of hidden services:
  17233. hidden services and hidden service clients pick six HSDir relays
  17234. to store and retrieve the hidden service descriptor, and currently
  17235. about half of the HSDir relays will refuse to work. Bugfix on
  17236. 0.2.0.10-alpha; fixes part of bug 1693.
  17237. - The PerConnBWRate and Burst config options, along with the
  17238. bwconnrate and bwconnburst consensus params, initialized each conn's
  17239. token bucket values only when the connection is established. Now we
  17240. update them if the config options change, and update them every time
  17241. we get a new consensus. Otherwise we can encounter an ugly edge
  17242. case where we initialize an OR conn to client-level bandwidth,
  17243. but then later the relay joins the consensus and we leave it
  17244. throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
  17245. - Fix a regression that caused Tor to rebind its ports if it receives
  17246. SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
  17247. o Major features:
  17248. - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
  17249. should give us approximately 40-50% more Guard-flagged nodes,
  17250. improving the anonymity the Tor network can provide and also
  17251. decreasing the dropoff in throughput that relays experience when
  17252. they first get the Guard flag.
  17253. - Allow enabling or disabling the *Statistics config options while
  17254. Tor is running.
  17255. o Minor features:
  17256. - Update to the August 1 2010 Maxmind GeoLite Country database.
  17257. - Have the controller interface give a more useful message than
  17258. "Internal Error" in response to failed GETINFO requests.
  17259. - Warn when the same option is provided more than once in a torrc
  17260. file, on the command line, or in a single SETCONF statement, and
  17261. the option is one that only accepts a single line. Closes bug 1384.
  17262. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  17263. Patch from mingw-san.
  17264. - Add support for the country code "{??}" in torrc options like
  17265. ExcludeNodes, to indicate all routers of unknown country. Closes
  17266. bug 1094.
  17267. - Relays report the number of bytes spent on answering directory
  17268. requests in extra-info descriptors similar to {read,write}-history.
  17269. Implements enhancement 1790.
  17270. o Minor bugfixes (on 0.2.1.x and earlier):
  17271. - Complain if PublishServerDescriptor is given multiple arguments that
  17272. include 0 or 1. This configuration will be rejected in the future.
  17273. Bugfix on 0.2.0.1-alpha; closes bug 1107.
  17274. - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
  17275. Bugfix on 0.2.0.13-alpha; closes bug 928.
  17276. - Change "Application request when we're believed to be offline."
  17277. notice to "Application request when we haven't used client
  17278. functionality lately.", to clarify that it's not an error. Bugfix
  17279. on 0.0.9.3; fixes bug 1222.
  17280. - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
  17281. would return "551 Internal error" rather than "552 Unrecognized key
  17282. ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
  17283. - Users can't configure a regular relay to be their bridge. It didn't
  17284. work because when Tor fetched the bridge descriptor, it found
  17285. that it already had it, and didn't realize that the purpose of the
  17286. descriptor had changed. Now we replace routers with a purpose other
  17287. than bridge with bridge descriptors when fetching them. Bugfix on
  17288. 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
  17289. refetch the descriptor with router purpose 'general', disabling
  17290. it as a bridge.
  17291. - Fix a rare bug in rend_fn unit tests: we would fail a test when
  17292. a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
  17293. on 0.2.0.10-alpha; fixes bug 1808.
  17294. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  17295. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  17296. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  17297. Servers can start sending this code when enough clients recognize
  17298. it. Also update the spec to reflect this new reason. Bugfix on
  17299. 0.1.0.1-rc; fixes part of bug 1793.
  17300. - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
  17301. when we switch from being a public relay to a bridge. Otherwise
  17302. there will still be clients that see the relay in their consensus,
  17303. and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
  17304. 932 even more.
  17305. - Instead of giving an assertion failure on an internal mismatch
  17306. on estimated freelist size, just log a BUG warning and try later.
  17307. Mitigates but does not fix bug 1125.
  17308. - Fix an assertion failure that could occur in caches or bridge users
  17309. when using a very short voting interval on a testing network.
  17310. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
  17311. o Minor bugfixes (on 0.2.2.x):
  17312. - Alter directory authorities to always consider Exit-flagged nodes
  17313. as potential Guard nodes in their votes. The actual decision to
  17314. use Exits as Guards is done in the consensus bandwidth weights.
  17315. Fixes bug 1294; bugfix on 0.2.2.10-alpha.
  17316. - When the controller is reporting the purpose of circuits that
  17317. didn't finish building before the circuit build timeout, it was
  17318. printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
  17319. - Our libevent version parsing code couldn't handle versions like
  17320. 1.4.14b-stable and incorrectly warned the user about using an
  17321. old and broken version of libevent. Treat 1.4.14b-stable like
  17322. 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
  17323. on 0.2.2.1-alpha.
  17324. - Don't use substitution references like $(VAR:MOD) when
  17325. $(asciidoc_files) is empty -- make(1) on NetBSD transforms
  17326. '$(:x)' to 'x' rather than the empty string. This bites us in
  17327. doc/ when configured with --disable-asciidoc. Bugfix on
  17328. 0.2.2.9-alpha; fixes bug 1773.
  17329. - Remove a spurious hidden service server-side log notice about
  17330. "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
  17331. bug 1741.
  17332. - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
  17333. fixes bug 1832.
  17334. - Correctly report written bytes on linked connections. Found while
  17335. implementing 1790. Bugfix on 0.2.2.4-alpha.
  17336. - Fix three memory leaks: one in circuit_build_times_parse_state(),
  17337. one in dirvote_add_signatures_to_pending_consensus(), and one every
  17338. time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
  17339. 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
  17340. o Code simplifications and refactoring:
  17341. - Take a first step towards making or.h smaller by splitting out
  17342. function definitions for all source files in src/or/. Leave
  17343. structures and defines in or.h for now.
  17344. - Remove a bunch of unused function declarations as well as a block of
  17345. #if 0'd code from the unit tests. Closes bug 1824.
  17346. - New unit tests for exit-port history statistics; refactored exit
  17347. statistics code to be more easily tested.
  17348. - Remove the old debian/ directory from the main Tor distribution.
  17349. The official Tor-for-debian git repository lives at the URL
  17350. https://git.torproject.org/debian/tor.git
  17351. Changes in version 0.2.2.14-alpha - 2010-07-12
  17352. Tor 0.2.2.14-alpha greatly improves client-side handling of
  17353. circuit build timeouts, which are used to estimate speed and improve
  17354. performance. We also move to a much better GeoIP database, port Tor to
  17355. Windows CE, introduce new compile flags that improve code security,
  17356. add an eighth v3 directory authority, and address a lot of more
  17357. minor issues.
  17358. o Major bugfixes:
  17359. - Tor directory authorities no longer crash when started with a
  17360. cached-microdesc-consensus file in their data directory. Bugfix
  17361. on 0.2.2.6-alpha; fixes bug 1532.
  17362. - Treat an unset $HOME like an empty $HOME rather than triggering an
  17363. assert. Bugfix on 0.0.8pre1; fixes bug 1522.
  17364. - Ignore negative and large circuit build timeout values that can
  17365. happen during a suspend or hibernate. These values caused various
  17366. asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
  17367. - Alter calculation of Pareto distribution parameter 'Xm' for
  17368. Circuit Build Timeout learning to use the weighted average of the
  17369. top N=3 modes (because we have three entry guards). Considering
  17370. multiple modes should improve the timeout calculation in some cases,
  17371. and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
  17372. fixes bug 1335.
  17373. - Alter calculation of Pareto distribution parameter 'Alpha' to use a
  17374. right censored distribution model. This approach improves over the
  17375. synthetic timeout generation approach that was producing insanely
  17376. high timeout values. Now we calculate build timeouts using truncated
  17377. times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
  17378. - Do not close circuits that are under construction when they reach
  17379. the circuit build timeout. Instead, leave them building (but do not
  17380. use them) for up until the time corresponding to the 95th percentile
  17381. on the Pareto CDF or 60 seconds, whichever is greater. This is done
  17382. to provide better data for the new Pareto model. This percentile
  17383. can be controlled by the consensus.
  17384. o Major features:
  17385. - Move to the June 2010 Maxmind GeoLite country db (rather than the
  17386. June 2009 ip-to-country GeoIP db) for our statistics that count
  17387. how many users relays are seeing from each country. Now we have
  17388. more accurate data for many African countries.
  17389. - Port Tor to build and run correctly on Windows CE systems, using
  17390. the wcecompat library. Contributed by Valerio Lupi.
  17391. - New "--enable-gcc-hardening" ./configure flag (off by default)
  17392. to turn on gcc compile time hardening options. It ensures
  17393. that signed ints have defined behavior (-fwrapv), enables
  17394. -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
  17395. with canaries (-fstack-protector-all), turns on ASLR protection if
  17396. supported by the kernel (-fPIE, -pie), and adds additional security
  17397. related warnings. Verified to work on Mac OS X and Debian Lenny.
  17398. - New "--enable-linker-hardening" ./configure flag (off by default)
  17399. to turn on ELF specific hardening features (relro, now). This does
  17400. not work with Mac OS X or any other non-ELF binary format.
  17401. o New directory authorities:
  17402. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  17403. authority.
  17404. o Minor features:
  17405. - New config option "WarnUnsafeSocks 0" disables the warning that
  17406. occurs whenever Tor receives a socks handshake using a version of
  17407. the socks protocol that can only provide an IP address (rather
  17408. than a hostname). Setups that do DNS locally over Tor are fine,
  17409. and we shouldn't spam the logs in that case.
  17410. - Convert the HACKING file to asciidoc, and add a few new sections
  17411. to it, explaining how we use Git, how we make changelogs, and
  17412. what should go in a patch.
  17413. - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
  17414. event, to give information on the current rate of circuit timeouts
  17415. over our stored history.
  17416. - Add ability to disable circuit build time learning via consensus
  17417. parameter and via a LearnCircuitBuildTimeout config option. Also
  17418. automatically disable circuit build time calculation if we are
  17419. either a AuthoritativeDirectory, or if we fail to write our state
  17420. file. Fixes bug 1296.
  17421. - More gracefully handle corrupt state files, removing asserts
  17422. in favor of saving a backup and resetting state.
  17423. - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
  17424. system headers.
  17425. o Minor bugfixes:
  17426. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  17427. enabled.
  17428. - When a2x fails, mention that the user could disable manpages instead
  17429. of trying to fix their asciidoc installation.
  17430. - Where available, use Libevent 2.0's periodic timers so that our
  17431. once-per-second cleanup code gets called even more closely to
  17432. once per second than it would otherwise. Fixes bug 943.
  17433. - If you run a bridge that listens on multiple IP addresses, and
  17434. some user configures a bridge address that uses a different IP
  17435. address than your bridge writes in its router descriptor, and the
  17436. user doesn't specify an identity key, their Tor would discard the
  17437. descriptor because "it isn't one of our configured bridges", and
  17438. fail to bootstrap. Now believe the descriptor and bootstrap anyway.
  17439. Bugfix on 0.2.0.3-alpha.
  17440. - If OpenSSL fails to make a duplicate of a private or public key, log
  17441. an error message and try to exit cleanly. May help with debugging
  17442. if bug 1209 ever remanifests.
  17443. - Save a couple bytes in memory allocation every time we escape
  17444. certain characters in a string. Patch from Florian Zumbiehl.
  17445. - Make it explicit that we don't cannibalize one-hop circuits. This
  17446. happens in the wild, but doesn't turn out to be a problem because
  17447. we fortunately don't use those circuits. Many thanks to outofwords
  17448. for the initial analysis and to swissknife who confirmed that
  17449. two-hop circuits are actually created.
  17450. - Make directory mirrors report non-zero dirreq-v[23]-shares again.
  17451. Fixes bug 1564; bugfix on 0.2.2.9-alpha.
  17452. - Eliminate a case where a circuit build time warning was displayed
  17453. after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
  17454. Changes in version 0.2.1.26 - 2010-05-02
  17455. Tor 0.2.1.26 addresses the recent connection and memory overload
  17456. problems we've been seeing on relays, especially relays with their
  17457. DirPort open. If your relay has been crashing, or you turned it off
  17458. because it used too many resources, give this release a try.
  17459. This release also fixes yet another instance of broken OpenSSL libraries
  17460. that was causing some relays to drop out of the consensus.
  17461. o Major bugfixes:
  17462. - Teach relays to defend themselves from connection overload. Relays
  17463. now close idle circuits early if it looks like they were intended
  17464. for directory fetches. Relays are also more aggressive about closing
  17465. TLS connections that have no circuits on them. Such circuits are
  17466. unlikely to be re-used, and tens of thousands of them were piling
  17467. up at the fast relays, causing the relays to run out of sockets
  17468. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  17469. their directory fetches over TLS).
  17470. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  17471. that claim to be earlier than 0.9.8m, but which have in reality
  17472. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  17473. behavior. Possible fix for some cases of bug 1346.
  17474. - Directory mirrors were fetching relay descriptors only from v2
  17475. directory authorities, rather than v3 authorities like they should.
  17476. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  17477. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  17478. o Minor bugfixes:
  17479. - Finally get rid of the deprecated and now harmful notion of "clique
  17480. mode", where directory authorities maintain TLS connections to
  17481. every other relay.
  17482. o Testsuite fixes:
  17483. - In the util/threads test, no longer free the test_mutex before all
  17484. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  17485. - The master thread could starve the worker threads quite badly on
  17486. certain systems, causing them to run only partially in the allowed
  17487. window. This resulted in test failures. Now the master thread sleeps
  17488. occasionally for a few microseconds while the two worker-threads
  17489. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  17490. Changes in version 0.2.2.13-alpha - 2010-04-24
  17491. Tor 0.2.2.13-alpha addresses the recent connection and memory overload
  17492. problems we've been seeing on relays, especially relays with their
  17493. DirPort open. If your relay has been crashing, or you turned it off
  17494. because it used too many resources, give this release a try.
  17495. o Major bugfixes:
  17496. - Teach relays to defend themselves from connection overload. Relays
  17497. now close idle circuits early if it looks like they were intended
  17498. for directory fetches. Relays are also more aggressive about closing
  17499. TLS connections that have no circuits on them. Such circuits are
  17500. unlikely to be re-used, and tens of thousands of them were piling
  17501. up at the fast relays, causing the relays to run out of sockets
  17502. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  17503. their directory fetches over TLS).
  17504. o Minor features:
  17505. - Finally get rid of the deprecated and now harmful notion of "clique
  17506. mode", where directory authorities maintain TLS connections to
  17507. every other relay.
  17508. - Directory authorities now do an immediate reachability check as soon
  17509. as they hear about a new relay. This change should slightly reduce
  17510. the time between setting up a relay and getting listed as running
  17511. in the consensus. It should also improve the time between setting
  17512. up a bridge and seeing use by bridge users.
  17513. - Directory authorities no longer launch a TLS connection to every
  17514. relay as they startup. Now that we have 2k+ descriptors cached,
  17515. the resulting network hiccup is becoming a burden. Besides,
  17516. authorities already avoid voting about Running for the first half
  17517. hour of their uptime.
  17518. Changes in version 0.2.2.12-alpha - 2010-04-20
  17519. Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
  17520. handle and vote on descriptors. It was causing relays to drop out of
  17521. the consensus.
  17522. o Major bugfixes:
  17523. - Many relays have been falling out of the consensus lately because
  17524. not enough authorities know about their descriptor for them to get
  17525. a majority of votes. When we deprecated the v2 directory protocol,
  17526. we got rid of the only way that v3 authorities can hear from each
  17527. other about other descriptors. Now authorities examine every v3
  17528. vote for new descriptors, and fetch them from that authority. Bugfix
  17529. on 0.2.1.23.
  17530. - Fix two typos in tor_vasprintf() that broke the compile on Windows,
  17531. and a warning in or.h related to bandwidth_weight_rule_t that
  17532. prevented clean compile on OS X. Fixes bug 1363; bugfix on
  17533. 0.2.2.11-alpha.
  17534. - Fix a segfault on relays when DirReqStatistics is enabled
  17535. and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
  17536. 0.2.2.11-alpha.
  17537. o Minor bugfixes:
  17538. - Demote a confusing TLS warning that relay operators might get when
  17539. someone tries to talk to their OrPort. It is neither the operator's
  17540. fault nor can they do anything about it. Fixes bug 1364; bugfix
  17541. on 0.2.0.14-alpha.
  17542. Changes in version 0.2.2.11-alpha - 2010-04-15
  17543. Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
  17544. libraries that was causing some relays to drop out of the consensus.
  17545. o Major bugfixes:
  17546. - Directory mirrors were fetching relay descriptors only from v2
  17547. directory authorities, rather than v3 authorities like they should.
  17548. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  17549. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  17550. - Fix a parsing error that made every possible value of
  17551. CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
  17552. on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
  17553. CircuitPriorityHalflifeMsec, so authorities can tell newer relays
  17554. about the option without breaking older ones.
  17555. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  17556. that claim to be earlier than 0.9.8m, but which have in reality
  17557. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  17558. behavior. Possible fix for some cases of bug 1346.
  17559. o Minor features:
  17560. - Experiment with a more aggressive approach to preventing clients
  17561. from making one-hop exit streams. Exit relays who want to try it
  17562. out can set "RefuseUnknownExits 1" in their torrc, and then look
  17563. for "Attempt by %s to open a stream" log messages. Let us know
  17564. how it goes!
  17565. - Add support for statically linking zlib by specifying
  17566. --enable-static-zlib, to go with our support for statically linking
  17567. openssl and libevent. Resolves bug 1358.
  17568. o Minor bugfixes:
  17569. - Fix a segfault that happens whenever a Tor client that is using
  17570. libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
  17571. fixes bug 1341.
  17572. - When we cleaned up the contrib/tor-exit-notice.html file, we left
  17573. out the first line. Fixes bug 1295.
  17574. - When building the manpage from a tarball, we required asciidoc, but
  17575. the asciidoc -> roff/html conversion was already done for the
  17576. tarball. Make 'make' complain only when we need asciidoc (either
  17577. because we're compiling directly from git, or because we altered
  17578. the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
  17579. - When none of the directory authorities vote on any params, Tor
  17580. segfaulted when trying to make the consensus from the votes. We
  17581. didn't trigger the bug in practice, because authorities do include
  17582. params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
  17583. o Testsuite fixes:
  17584. - In the util/threads test, no longer free the test_mutex before all
  17585. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  17586. - The master thread could starve the worker threads quite badly on
  17587. certain systems, causing them to run only partially in the allowed
  17588. window. This resulted in test failures. Now the master thread sleeps
  17589. occasionally for a few microseconds while the two worker-threads
  17590. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  17591. Changes in version 0.2.2.10-alpha - 2010-03-07
  17592. Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
  17593. could prevent relays from guessing their IP address correctly. It also
  17594. starts the groundwork for another client-side performance boost, since
  17595. currently we're not making efficient use of relays that have both the
  17596. Guard flag and the Exit flag.
  17597. o Major bugfixes:
  17598. - Fix a regression from our patch for bug 1244 that caused relays
  17599. to guess their IP address incorrectly if they didn't set Address
  17600. in their torrc and/or their address fails to resolve. Bugfix on
  17601. 0.2.2.9-alpha; fixes bug 1269.
  17602. o Major features (performance):
  17603. - Directory authorities now compute consensus weightings that instruct
  17604. clients how to weight relays flagged as Guard, Exit, Guard+Exit,
  17605. and no flag. Clients that use these weightings will distribute
  17606. network load more evenly across these different relay types. The
  17607. weightings are in the consensus so we can change them globally in
  17608. the future. Extra thanks to "outofwords" for finding some nasty
  17609. security bugs in the first implementation of this feature.
  17610. o Minor features (performance):
  17611. - Always perform router selections using weighted relay bandwidth,
  17612. even if we don't need a high capacity circuit at the time. Non-fast
  17613. circuits now only differ from fast ones in that they can use relays
  17614. not marked with the Fast flag. This "feature" could turn out to
  17615. be a horrible bug; we should investigate more before it goes into
  17616. a stable release.
  17617. o Minor features:
  17618. - Allow disabling building of the manpages. Skipping the manpage
  17619. speeds up the build considerably.
  17620. o Minor bugfixes (on 0.2.2.x):
  17621. - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
  17622. Bugfix on 0.2.2.9-alpha.
  17623. - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
  17624. config option. Bugfix on 0.2.2.7-alpha.
  17625. - Ship the asciidoc-helper file in the tarball, so that people can
  17626. build from source if they want to, and touching the .1.txt files
  17627. doesn't break the build. Bugfix on 0.2.2.9-alpha.
  17628. o Minor bugfixes (on 0.2.1.x or earlier):
  17629. - Fix a dereference-then-NULL-check sequence when publishing
  17630. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  17631. bug 1255.
  17632. - Fix another dereference-then-NULL-check sequence. Bugfix on
  17633. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  17634. - Make sure we treat potentially not NUL-terminated strings correctly.
  17635. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  17636. o Code simplifications and refactoring:
  17637. - Fix some urls in the exit notice file and make it XHTML1.1 strict
  17638. compliant. Based on a patch from Christian Kujau.
  17639. - Don't use sed in asciidoc-helper anymore.
  17640. - Make the build process fail if asciidoc cannot be found and
  17641. building with asciidoc isn't disabled.
  17642. Changes in version 0.2.2.9-alpha - 2010-02-22
  17643. Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
  17644. location of a directory authority, and cleans up a bunch of small bugs.
  17645. o Directory authority changes:
  17646. - Change IP address for dannenberg (v3 directory authority), and
  17647. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  17648. service directory authority) from the list.
  17649. o Major bugfixes:
  17650. - Make Tor work again on the latest OS X: when deciding whether to
  17651. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  17652. version at run-time, not compile time. We need to do this because
  17653. Apple doesn't update its dev-tools headers when it updates its
  17654. libraries in a security patch.
  17655. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  17656. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  17657. a memory leak when requesting a hidden service descriptor we've
  17658. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  17659. by aakova.
  17660. - Authorities could be tricked into giving out the Exit flag to relays
  17661. that didn't allow exiting to any ports. This bug could screw
  17662. with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
  17663. 1238. Bug discovered by Martin Kowalczyk.
  17664. - When freeing a session key, zero it out completely. We only zeroed
  17665. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  17666. patched by ekir. Fixes bug 1254.
  17667. o Minor bugfixes:
  17668. - Fix static compilation by listing the openssl libraries in the right
  17669. order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
  17670. - Resume handling .exit hostnames in a special way: originally we
  17671. stripped the .exit part and used the requested exit relay. In
  17672. 0.2.2.1-alpha we stopped treating them in any special way, meaning
  17673. if you use a .exit address then Tor will pass it on to the exit
  17674. relay. Now we reject the .exit stream outright, since that behavior
  17675. might be more expected by the user. Found and diagnosed by Scott
  17676. Bennett and Downie on or-talk.
  17677. - Don't spam the controller with events when we have no file
  17678. descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
  17679. for log messages was already solved from bug 748.)
  17680. - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
  17681. "memcpyfail".
  17682. - Make the DNSPort option work with libevent 2.x. Don't alter the
  17683. behavior for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
  17684. - Emit a GUARD DROPPED controller event for a case we missed.
  17685. - Make more fields in the controller protocol case-insensitive, since
  17686. control-spec.txt said they were.
  17687. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  17688. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  17689. - Fix a spec conformance issue: the network-status-version token
  17690. must be the first token in a v3 consensus or vote. Discovered by
  17691. parakeep. Bugfix on 0.2.0.3-alpha.
  17692. o Code simplifications and refactoring:
  17693. - Generate our manpage and HTML documentation using Asciidoc. This
  17694. change should make it easier to maintain the documentation, and
  17695. produce nicer HTML.
  17696. - Remove the --enable-iphone option. According to reports from Marco
  17697. Bonetti, Tor builds fine without any special tweaking on recent
  17698. iPhone SDK versions.
  17699. - Removed some unnecessary files from the source distribution. The
  17700. AUTHORS file has now been merged into the people page on the
  17701. website. The roadmaps and design doc can now be found in the
  17702. projects directory in svn.
  17703. - Enabled various circuit build timeout constants to be controlled
  17704. by consensus parameters. Also set better defaults for these
  17705. parameters based on experimentation on broadband and simulated
  17706. high latency links.
  17707. o Minor features:
  17708. - The 'EXTENDCIRCUIT' control port command can now be used with
  17709. a circ id of 0 and no path. This feature will cause Tor to build
  17710. a new 'fast' general purpose circuit using its own path selection
  17711. algorithms.
  17712. - Added a BUILDTIMEOUT_SET controller event to describe changes
  17713. to the circuit build timeout.
  17714. - Future-proof the controller protocol a bit by ignoring keyword
  17715. arguments we do not recognize.
  17716. - Expand homedirs passed to tor-checkkey. This should silence a
  17717. coverity complaint about passing a user-supplied string into
  17718. open() without checking it.
  17719. Changes in version 0.2.1.25 - 2010-03-16
  17720. Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
  17721. prevent relays from guessing their IP address correctly. It also fixes
  17722. several minor potential security bugs.
  17723. o Major bugfixes:
  17724. - Fix a regression from our patch for bug 1244 that caused relays
  17725. to guess their IP address incorrectly if they didn't set Address
  17726. in their torrc and/or their address fails to resolve. Bugfix on
  17727. 0.2.1.23; fixes bug 1269.
  17728. - When freeing a session key, zero it out completely. We only zeroed
  17729. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  17730. patched by ekir. Fixes bug 1254.
  17731. o Minor bugfixes:
  17732. - Fix a dereference-then-NULL-check sequence when publishing
  17733. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  17734. bug 1255.
  17735. - Fix another dereference-then-NULL-check sequence. Bugfix on
  17736. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  17737. - Make sure we treat potentially not NUL-terminated strings correctly.
  17738. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  17739. Changes in version 0.2.1.24 - 2010-02-21
  17740. Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  17741. for sure!
  17742. o Minor bugfixes:
  17743. - Work correctly out-of-the-box with even more vendor-patched versions
  17744. of OpenSSL. In particular, make it so Debian and OS X don't need
  17745. customized patches to run/build.
  17746. Changes in version 0.2.1.23 - 2010-02-13
  17747. Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  17748. again on the latest OS X, and updates the location of a directory
  17749. authority.
  17750. o Major bugfixes (performance):
  17751. - We were selecting our guards uniformly at random, and then weighting
  17752. which of our guards we'd use uniformly at random. This imbalance
  17753. meant that Tor clients were severely limited on throughput (and
  17754. probably latency too) by the first hop in their circuit. Now we
  17755. select guards weighted by currently advertised bandwidth. We also
  17756. automatically discard guards picked using the old algorithm. Fixes
  17757. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  17758. o Major bugfixes:
  17759. - Make Tor work again on the latest OS X: when deciding whether to
  17760. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  17761. version at run-time, not compile time. We need to do this because
  17762. Apple doesn't update its dev-tools headers when it updates its
  17763. libraries in a security patch.
  17764. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  17765. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  17766. a memory leak when requesting a hidden service descriptor we've
  17767. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  17768. by aakova.
  17769. o Directory authority changes:
  17770. - Change IP address for dannenberg (v3 directory authority), and
  17771. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  17772. service directory authority) from the list.
  17773. o Minor bugfixes:
  17774. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  17775. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  17776. o Minor features:
  17777. - Avoid a mad rush at the beginning of each month when each client
  17778. rotates half of its guards. Instead we spread the rotation out
  17779. throughout the month, but we still avoid leaving a precise timestamp
  17780. in the state file about when we first picked the guard. Improves
  17781. over the behavior introduced in 0.1.2.17.
  17782. Changes in version 0.2.2.8-alpha - 2010-01-26
  17783. Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
  17784. causing bridge relays to disappear. If you're running a bridge,
  17785. please upgrade.
  17786. o Major bugfixes:
  17787. - Fix a memory corruption bug on bridges that occurred during the
  17788. inclusion of stats data in extra-info descriptors. Also fix the
  17789. interface for geoip_get_bridge_stats* to prevent similar bugs in
  17790. the future. Diagnosis by Tas, patch by Karsten and Sebastian.
  17791. Fixes bug 1208; bugfix on 0.2.2.7-alpha.
  17792. o Minor bugfixes:
  17793. - Ignore OutboundBindAddress when connecting to localhost.
  17794. Connections to localhost need to come _from_ localhost, or else
  17795. local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
  17796. refuse to listen.
  17797. Changes in version 0.2.2.7-alpha - 2010-01-19
  17798. Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
  17799. as laying the groundwork for further relay-side performance fixes. It
  17800. also starts cleaning up client behavior with respect to the EntryNodes,
  17801. ExitNodes, and StrictNodes config options.
  17802. This release also rotates two directory authority keys, due to a
  17803. security breach of some of the Torproject servers.
  17804. o Directory authority changes:
  17805. - Rotate keys (both v3 identity and relay identity) for moria1
  17806. and gabelmoo.
  17807. o Major features (performance):
  17808. - We were selecting our guards uniformly at random, and then weighting
  17809. which of our guards we'd use uniformly at random. This imbalance
  17810. meant that Tor clients were severely limited on throughput (and
  17811. probably latency too) by the first hop in their circuit. Now we
  17812. select guards weighted by currently advertised bandwidth. We also
  17813. automatically discard guards picked using the old algorithm. Fixes
  17814. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  17815. - When choosing which cells to relay first, relays can now favor
  17816. circuits that have been quiet recently, to provide lower latency
  17817. for low-volume circuits. By default, relays enable or disable this
  17818. feature based on a setting in the consensus. You can override
  17819. this default by using the new "CircuitPriorityHalflife" config
  17820. option. Design and code by Ian Goldberg, Can Tang, and Chris
  17821. Alexander.
  17822. - Add separate per-conn write limiting to go with the per-conn read
  17823. limiting. We added a global write limit in Tor 0.1.2.5-alpha,
  17824. but never per-conn write limits.
  17825. - New consensus params "bwconnrate" and "bwconnburst" to let us
  17826. rate-limit client connections as they enter the network. It's
  17827. controlled in the consensus so we can turn it on and off for
  17828. experiments. It's starting out off. Based on proposal 163.
  17829. o Major features (relay selection options):
  17830. - Switch to a StrictNodes config option, rather than the previous
  17831. "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
  17832. "StrictExcludeNodes" option.
  17833. - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
  17834. change during a config reload, mark and discard all our origin
  17835. circuits. This fix should address edge cases where we change the
  17836. config options and but then choose a circuit that we created before
  17837. the change.
  17838. - If EntryNodes or ExitNodes are set, be more willing to use an
  17839. unsuitable (e.g. slow or unstable) circuit. The user asked for it,
  17840. they get it.
  17841. - Make EntryNodes config option much more aggressive even when
  17842. StrictNodes is not set. Before it would prepend your requested
  17843. entrynodes to your list of guard nodes, but feel free to use others
  17844. after that. Now it chooses only from your EntryNodes if any of
  17845. those are available, and only falls back to others if a) they're
  17846. all down and b) StrictNodes is not set.
  17847. - Now we refresh your entry guards from EntryNodes at each consensus
  17848. fetch -- rather than just at startup and then they slowly rot as
  17849. the network changes.
  17850. o Major bugfixes:
  17851. - Stop bridge directory authorities from answering dbg-stability.txt
  17852. directory queries, which would let people fetch a list of all
  17853. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  17854. o Minor features:
  17855. - Log a notice when we get a new control connection. Now it's easier
  17856. for security-conscious users to recognize when a local application
  17857. is knocking on their controller door. Suggested by bug 1196.
  17858. - New config option "CircuitStreamTimeout" to override our internal
  17859. timeout schedule for how many seconds until we detach a stream from
  17860. a circuit and try a new circuit. If your network is particularly
  17861. slow, you might want to set this to a number like 60.
  17862. - New controller command "getinfo config-text". It returns the
  17863. contents that Tor would write if you send it a SAVECONF command,
  17864. so the controller can write the file to disk itself.
  17865. - New options for SafeLogging to allow scrubbing only log messages
  17866. generated while acting as a relay.
  17867. - Ship the bridges spec file in the tarball too.
  17868. - Avoid a mad rush at the beginning of each month when each client
  17869. rotates half of its guards. Instead we spread the rotation out
  17870. throughout the month, but we still avoid leaving a precise timestamp
  17871. in the state file about when we first picked the guard. Improves
  17872. over the behavior introduced in 0.1.2.17.
  17873. o Minor bugfixes (compiling):
  17874. - Fix compilation on OS X 10.3, which has a stub mlockall() but
  17875. hides it. Bugfix on 0.2.2.6-alpha.
  17876. - Fix compilation on Solaris by removing support for the
  17877. DisableAllSwap config option. Solaris doesn't have an rlimit for
  17878. mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
  17879. 0.2.2.6-alpha.
  17880. o Minor bugfixes (crashes):
  17881. - Do not segfault when writing buffer stats when we haven't observed
  17882. a single circuit to report about. Found by Fabian Lanze. Bugfix on
  17883. 0.2.2.1-alpha.
  17884. - If we're in the pathological case where there's no exit bandwidth
  17885. but there is non-exit bandwidth, or no guard bandwidth but there
  17886. is non-guard bandwidth, don't crash during path selection. Bugfix
  17887. on 0.2.0.3-alpha.
  17888. - Fix an impossible-to-actually-trigger buffer overflow in relay
  17889. descriptor generation. Bugfix on 0.1.0.15.
  17890. o Minor bugfixes (privacy):
  17891. - Fix an instance where a Tor directory mirror might accidentally
  17892. log the IP address of a misbehaving Tor client. Bugfix on
  17893. 0.1.0.1-rc.
  17894. - Don't list Windows capabilities in relay descriptors. We never made
  17895. use of them, and maybe it's a bad idea to publish them. Bugfix
  17896. on 0.1.1.8-alpha.
  17897. o Minor bugfixes (other):
  17898. - Resolve an edge case in path weighting that could make us misweight
  17899. our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
  17900. - Fix statistics on client numbers by country as seen by bridges that
  17901. were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
  17902. intervals instead of variable 12-to-48-hour intervals.
  17903. - After we free an internal connection structure, overwrite it
  17904. with a different memory value than we use for overwriting a freed
  17905. internal circuit structure. Should help with debugging. Suggested
  17906. by bug 1055.
  17907. - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
  17908. too.
  17909. o Removed features:
  17910. - Remove the HSAuthorityRecordStats option that version 0 hidden
  17911. service authorities could have used to track statistics of overall
  17912. hidden service usage.
  17913. Changes in version 0.2.1.22 - 2010-01-19
  17914. Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
  17915. authorities -- it would tell you its whole history of bridge descriptors
  17916. if you make the right directory request. This stable update also
  17917. rotates two of the seven v3 directory authority keys and locations.
  17918. o Directory authority changes:
  17919. - Rotate keys (both v3 identity and relay identity) for moria1
  17920. and gabelmoo.
  17921. o Major bugfixes:
  17922. - Stop bridge directory authorities from answering dbg-stability.txt
  17923. directory queries, which would let people fetch a list of all
  17924. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  17925. Changes in version 0.2.1.21 - 2009-12-21
  17926. Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
  17927. library. If you use Tor on Linux / Unix and you're getting SSL
  17928. renegotiation errors, upgrading should help. We also recommend an
  17929. upgrade if you're an exit relay.
  17930. o Major bugfixes:
  17931. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  17932. handshake from working unless we explicitly tell OpenSSL that we
  17933. are using SSL renegotiation safely. We are, of course, but OpenSSL
  17934. 0.9.8l won't work unless we say we are.
  17935. - Avoid crashing if the client is trying to upload many bytes and the
  17936. circuit gets torn down at the same time, or if the flip side
  17937. happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
  17938. o Minor bugfixes:
  17939. - Do not refuse to learn about authority certs and v2 networkstatus
  17940. documents that are older than the latest consensus. This bug might
  17941. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  17942. Spotted and fixed by xmux.
  17943. - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
  17944. trigger platform-specific option misparsing case found by Coverity
  17945. Scan.
  17946. - Fix a compilation warning on Fedora 12 by removing an impossible-to-
  17947. trigger assert. Fixes bug 1173.
  17948. Changes in version 0.2.2.6-alpha - 2009-11-19
  17949. Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
  17950. support for the new lower-footprint "microdescriptor" directory design,
  17951. future-proofing our consensus format against new hash functions or
  17952. other changes, and an Android port. It also makes Tor compatible with
  17953. the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
  17954. o Major features:
  17955. - Directory authorities can now create, vote on, and serve multiple
  17956. parallel formats of directory data as part of their voting process.
  17957. Partially implements Proposal 162: "Publish the consensus in
  17958. multiple flavors".
  17959. - Directory authorities can now agree on and publish small summaries
  17960. of router information that clients can use in place of regular
  17961. server descriptors. This transition will eventually allow clients
  17962. to use far less bandwidth for downloading information about the
  17963. network. Begins the implementation of Proposal 158: "Clients
  17964. download consensus + microdescriptors".
  17965. - The directory voting system is now extensible to use multiple hash
  17966. algorithms for signatures and resource selection. Newer formats
  17967. are signed with SHA256, with a possibility for moving to a better
  17968. hash algorithm in the future.
  17969. - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
  17970. current and future memory pages via mlockall(). On supported
  17971. platforms (modern Linux and probably BSD but not Windows or OS X),
  17972. this should effectively disable any and all attempts to page out
  17973. memory. This option requires that you start your Tor as root --
  17974. if you use DisableAllSwap, please consider using the User option
  17975. to properly reduce the privileges of your Tor.
  17976. - Numerous changes, bugfixes, and workarounds from Nathan Freitas
  17977. to help Tor build correctly for Android phones.
  17978. o Major bugfixes:
  17979. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  17980. handshake from working unless we explicitly tell OpenSSL that we
  17981. are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
  17982. won't work unless we say we are.
  17983. o Minor bugfixes:
  17984. - Fix a crash bug when trying to initialize the evdns module in
  17985. Libevent 2. Bugfix on 0.2.1.16-rc.
  17986. - Stop logging at severity 'warn' when some other Tor client tries
  17987. to establish a circuit with us using weak DH keys. It's a protocol
  17988. violation, but that doesn't mean ordinary users need to hear about
  17989. it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
  17990. - Do not refuse to learn about authority certs and v2 networkstatus
  17991. documents that are older than the latest consensus. This bug might
  17992. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  17993. Spotted and fixed by xmux.
  17994. - Fix numerous small code-flaws found by Coverity Scan Rung 3.
  17995. - If all authorities restart at once right before a consensus vote,
  17996. nobody will vote about "Running", and clients will get a consensus
  17997. with no usable relays. Instead, authorities refuse to build a
  17998. consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
  17999. - If your relay can't keep up with the number of incoming create
  18000. cells, it would log one warning per failure into your logs. Limit
  18001. warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
  18002. - Bridges now use "reject *:*" as their default exit policy. Bugfix
  18003. on 0.2.0.3-alpha; fixes bug 1113.
  18004. - Fix a memory leak on directory authorities during voting that was
  18005. introduced in 0.2.2.1-alpha. Found via valgrind.
  18006. Changes in version 0.2.1.20 - 2009-10-15
  18007. Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
  18008. services at once, prepares for more performance improvements, and
  18009. fixes a bunch of smaller bugs.
  18010. The Windows and OS X bundles also include a more recent Vidalia,
  18011. and switch from Privoxy to Polipo.
  18012. The OS X installers are now drag and drop. It's best to un-install
  18013. Tor/Vidalia and then install this new bundle, rather than upgrade. If
  18014. you want to upgrade, you'll need to update the paths for Tor and Polipo
  18015. in the Vidalia Settings window.
  18016. o Major bugfixes:
  18017. - Send circuit or stream sendme cells when our window has decreased
  18018. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  18019. by Karsten when testing the "reduce circuit window" performance
  18020. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  18021. before the release of Tor 0.0.0. This is the new winner of the
  18022. oldest-bug prize.
  18023. - Fix a remotely triggerable memory leak when a consensus document
  18024. contains more than one signature from the same voter. Bugfix on
  18025. 0.2.0.3-alpha.
  18026. - Avoid segfault in rare cases when finishing an introduction circuit
  18027. as a client and finding out that we don't have an introduction key
  18028. for it. Fixes bug 1073. Reported by Aaron Swartz.
  18029. o Major features:
  18030. - Tor now reads the "circwindow" parameter out of the consensus,
  18031. and uses that value for its circuit package window rather than the
  18032. default of 1000 cells. Begins the implementation of proposal 168.
  18033. o New directory authorities:
  18034. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  18035. authority.
  18036. - Move moria1 and tonga to alternate IP addresses.
  18037. o Minor bugfixes:
  18038. - Fix a signed/unsigned compile warning in 0.2.1.19.
  18039. - Fix possible segmentation fault on directory authorities. Bugfix on
  18040. 0.2.1.14-rc.
  18041. - Fix an extremely rare infinite recursion bug that could occur if
  18042. we tried to log a message after shutting down the log subsystem.
  18043. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  18044. - Fix an obscure bug where hidden services on 64-bit big-endian
  18045. systems might mis-read the timestamp in v3 introduce cells, and
  18046. refuse to connect back to the client. Discovered by "rotor".
  18047. Bugfix on 0.2.1.6-alpha.
  18048. - We were triggering a CLOCK_SKEW controller status event whenever
  18049. we connect via the v2 connection protocol to any relay that has
  18050. a wrong clock. Instead, we should only inform the controller when
  18051. it's a trusted authority that claims our clock is wrong. Bugfix
  18052. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  18053. - We were telling the controller about CHECKING_REACHABILITY and
  18054. REACHABILITY_FAILED status events whenever we launch a testing
  18055. circuit or notice that one has failed. Instead, only tell the
  18056. controller when we want to inform the user of overall success or
  18057. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  18058. by SwissTorExit.
  18059. - Don't warn when we're using a circuit that ends with a node
  18060. excluded in ExcludeExitNodes, but the circuit is not used to access
  18061. the outside world. This should help fix bug 1090. Bugfix on
  18062. 0.2.1.6-alpha.
  18063. - Work around a small memory leak in some versions of OpenSSL that
  18064. stopped the memory used by the hostname TLS extension from being
  18065. freed.
  18066. o Minor features:
  18067. - Add a "getinfo status/accepted-server-descriptor" controller
  18068. command, which is the recommended way for controllers to learn
  18069. whether our server descriptor has been successfully received by at
  18070. least on directory authority. Un-recommend good-server-descriptor
  18071. getinfo and status events until we have a better design for them.
  18072. Changes in version 0.2.2.5-alpha - 2009-10-11
  18073. Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
  18074. o Major bugfixes:
  18075. - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
  18076. o Directory authorities:
  18077. - Temporarily (just for this release) move dizum to an alternate
  18078. IP address.
  18079. Changes in version 0.2.2.4-alpha - 2009-10-10
  18080. Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
  18081. introduces a new unit test framework, shifts directry authority
  18082. addresses around to reduce the impact from recent blocking events,
  18083. and fixes a few smaller bugs.
  18084. o Major bugfixes:
  18085. - Fix several more asserts in the circuit_build_times code, for
  18086. example one that causes Tor to fail to start once we have
  18087. accumulated 5000 build times in the state file. Bugfixes on
  18088. 0.2.2.2-alpha; fixes bug 1108.
  18089. o New directory authorities:
  18090. - Move moria1 and Tonga to alternate IP addresses.
  18091. o Minor features:
  18092. - Log SSL state transitions at debug level during handshake, and
  18093. include SSL states in error messages. This may help debug future
  18094. SSL handshake issues.
  18095. - Add a new "Handshake" log domain for activities that happen
  18096. during the TLS handshake.
  18097. - Revert to the "June 3 2009" ip-to-country file. The September one
  18098. seems to have removed most US IP addresses.
  18099. - Directory authorities now reject Tor relays with versions less than
  18100. 0.1.2.14. This step cuts out four relays from the current network,
  18101. none of which are very big.
  18102. o Minor bugfixes:
  18103. - Fix a couple of smaller issues with gathering statistics. Bugfixes
  18104. on 0.2.2.1-alpha.
  18105. - Fix two memory leaks in the error case of
  18106. circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
  18107. - Don't count one-hop circuits when we're estimating how long it
  18108. takes circuits to build on average. Otherwise we'll set our circuit
  18109. build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
  18110. - Directory authorities no longer change their opinion of, or vote on,
  18111. whether a router is Running, unless they have themselves been
  18112. online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
  18113. Fixes bug 1023.
  18114. o Code simplifications and refactoring:
  18115. - Revise our unit tests to use the "tinytest" framework, so we
  18116. can run tests in their own processes, have smarter setup/teardown
  18117. code, and so on. The unit test code has moved to its own
  18118. subdirectory, and has been split into multiple modules.
  18119. Changes in version 0.2.2.3-alpha - 2009-09-23
  18120. Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
  18121. o Major bugfixes:
  18122. - Fix an overzealous assert in our new circuit build timeout code.
  18123. Bugfix on 0.2.2.2-alpha; fixes bug 1103.
  18124. o Minor bugfixes:
  18125. - If the networkstatus consensus tells us that we should use a
  18126. negative circuit package window, ignore it. Otherwise we'll
  18127. believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
  18128. Changes in version 0.2.2.2-alpha - 2009-09-21
  18129. Tor 0.2.2.2-alpha introduces our latest performance improvement for
  18130. clients: Tor tracks the average time it takes to build a circuit, and
  18131. avoids using circuits that take too long to build. For fast connections,
  18132. this feature can cut your expected latency in half. For slow or flaky
  18133. connections, it could ruin your Tor experience. Let us know if it does!
  18134. o Major features:
  18135. - Tor now tracks how long it takes to build client-side circuits
  18136. over time, and adapts its timeout to local network performance.
  18137. Since a circuit that takes a long time to build will also provide
  18138. bad performance, we get significant latency improvements by
  18139. discarding the slowest 20% of circuits. Specifically, Tor creates
  18140. circuits more aggressively than usual until it has enough data
  18141. points for a good timeout estimate. Implements proposal 151.
  18142. We are especially looking for reports (good and bad) from users with
  18143. both EDGE and broadband connections that can move from broadband
  18144. to EDGE and find out if the build-time data in the .tor/state gets
  18145. reset without loss of Tor usability. You should also see a notice
  18146. log message telling you that Tor has reset its timeout.
  18147. - Directory authorities can now vote on arbitrary integer values as
  18148. part of the consensus process. This is designed to help set
  18149. network-wide parameters. Implements proposal 167.
  18150. - Tor now reads the "circwindow" parameter out of the consensus,
  18151. and uses that value for its circuit package window rather than the
  18152. default of 1000 cells. Begins the implementation of proposal 168.
  18153. o Major bugfixes:
  18154. - Fix a remotely triggerable memory leak when a consensus document
  18155. contains more than one signature from the same voter. Bugfix on
  18156. 0.2.0.3-alpha.
  18157. o Minor bugfixes:
  18158. - Fix an extremely rare infinite recursion bug that could occur if
  18159. we tried to log a message after shutting down the log subsystem.
  18160. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  18161. - Fix parsing for memory or time units given without a space between
  18162. the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
  18163. - A networkstatus vote must contain exactly one signature. Spec
  18164. conformance issue. Bugfix on 0.2.0.3-alpha.
  18165. - Fix an obscure bug where hidden services on 64-bit big-endian
  18166. systems might mis-read the timestamp in v3 introduce cells, and
  18167. refuse to connect back to the client. Discovered by "rotor".
  18168. Bugfix on 0.2.1.6-alpha.
  18169. - We were triggering a CLOCK_SKEW controller status event whenever
  18170. we connect via the v2 connection protocol to any relay that has
  18171. a wrong clock. Instead, we should only inform the controller when
  18172. it's a trusted authority that claims our clock is wrong. Bugfix
  18173. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  18174. - We were telling the controller about CHECKING_REACHABILITY and
  18175. REACHABILITY_FAILED status events whenever we launch a testing
  18176. circuit or notice that one has failed. Instead, only tell the
  18177. controller when we want to inform the user of overall success or
  18178. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  18179. by SwissTorExit.
  18180. - Don't warn when we're using a circuit that ends with a node
  18181. excluded in ExcludeExitNodes, but the circuit is not used to access
  18182. the outside world. This should help fix bug 1090, but more problems
  18183. remain. Bugfix on 0.2.1.6-alpha.
  18184. - Work around a small memory leak in some versions of OpenSSL that
  18185. stopped the memory used by the hostname TLS extension from being
  18186. freed.
  18187. - Make our 'torify' script more portable; if we have only one of
  18188. 'torsocks' or 'tsocks' installed, don't complain to the user;
  18189. and explain our warning about tsocks better.
  18190. o Minor features:
  18191. - Add a "getinfo status/accepted-server-descriptor" controller
  18192. command, which is the recommended way for controllers to learn
  18193. whether our server descriptor has been successfully received by at
  18194. least on directory authority. Un-recommend good-server-descriptor
  18195. getinfo and status events until we have a better design for them.
  18196. - Update to the "September 4 2009" ip-to-country file.
  18197. Changes in version 0.2.2.1-alpha - 2009-08-26
  18198. Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
  18199. Tor clients to bootstrap on networks where only port 80 is reachable,
  18200. makes it more straightforward to support hardware crypto accelerators,
  18201. and starts the groundwork for gathering stats safely at relays.
  18202. o Security fixes:
  18203. - Start the process of disabling ".exit" address notation, since it
  18204. can be used for a variety of esoteric application-level attacks
  18205. on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
  18206. on 0.0.9rc5.
  18207. o New directory authorities:
  18208. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  18209. authority.
  18210. o Major features:
  18211. - New AccelName and AccelDir options add support for dynamic OpenSSL
  18212. hardware crypto acceleration engines.
  18213. - Tor now supports tunneling all of its outgoing connections over
  18214. a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
  18215. configuration options. Code by Christopher Davis.
  18216. o Major bugfixes:
  18217. - Send circuit or stream sendme cells when our window has decreased
  18218. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  18219. by Karsten when testing the "reduce circuit window" performance
  18220. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  18221. before the release of Tor 0.0.0. This is the new winner of the
  18222. oldest-bug prize.
  18223. o New options for gathering stats safely:
  18224. - Directory mirrors that set "DirReqStatistics 1" write statistics
  18225. about directory requests to disk every 24 hours. As compared to the
  18226. --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
  18227. 1) stats are written to disk exactly every 24 hours; 2) estimated
  18228. shares of v2 and v3 requests are determined as mean values, not at
  18229. the end of a measurement period; 3) unresolved requests are listed
  18230. with country code '??'; 4) directories also measure download times.
  18231. - Exit nodes that set "ExitPortStatistics 1" write statistics on the
  18232. number of exit streams and transferred bytes per port to disk every
  18233. 24 hours.
  18234. - Relays that set "CellStatistics 1" write statistics on how long
  18235. cells spend in their circuit queues to disk every 24 hours.
  18236. - Entry nodes that set "EntryStatistics 1" write statistics on the
  18237. rough number and origins of connecting clients to disk every 24
  18238. hours.
  18239. - Relays that write any of the above statistics to disk and set
  18240. "ExtraInfoStatistics 1" include the past 24 hours of statistics in
  18241. their extra-info documents.
  18242. o Minor features:
  18243. - New --digests command-line switch to output the digests of the
  18244. source files Tor was built with.
  18245. - The "torify" script now uses torsocks where available.
  18246. - The memarea code now uses a sentinel value at the end of each area
  18247. to make sure nothing writes beyond the end of an area. This might
  18248. help debug some conceivable causes of bug 930.
  18249. - Time and memory units in the configuration file can now be set to
  18250. fractional units. For example, "2.5 GB" is now a valid value for
  18251. AccountingMax.
  18252. - Certain Tor clients (such as those behind check.torproject.org) may
  18253. want to fetch the consensus in an extra early manner. To enable this
  18254. a user may now set FetchDirInfoExtraEarly to 1. This also depends on
  18255. setting FetchDirInfoEarly to 1. Previous behavior will stay the same
  18256. as only certain clients who must have this information sooner should
  18257. set this option.
  18258. - Instead of adding the svn revision to the Tor version string, report
  18259. the git commit (when we're building from a git checkout).
  18260. o Minor bugfixes:
  18261. - If any of the v3 certs we download are unparseable, we should
  18262. actually notice the failure so we don't retry indefinitely. Bugfix
  18263. on 0.2.0.x; reported by "rotator".
  18264. - If the cached cert file is unparseable, warn but don't exit.
  18265. - Fix possible segmentation fault on directory authorities. Bugfix on
  18266. 0.2.1.14-rc.
  18267. - When Tor fails to parse a descriptor of any kind, dump it to disk.
  18268. Might help diagnosing bug 1051.
  18269. o Deprecated and removed features:
  18270. - The controller no longer accepts the old obsolete "addr-mappings/"
  18271. or "unregistered-servers-" GETINFO values.
  18272. - Hidden services no longer publish version 0 descriptors, and clients
  18273. do not request or use version 0 descriptors. However, the old hidden
  18274. service authorities still accept and serve version 0 descriptors
  18275. when contacted by older hidden services/clients.
  18276. - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
  18277. always on; using them is necessary for correct forward-compatible
  18278. controllers.
  18279. - Remove support for .noconnect style addresses. Nobody was using
  18280. them, and they provided another avenue for detecting Tor users
  18281. via application-level web tricks.
  18282. o Packaging changes:
  18283. - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
  18284. installer bundles. See
  18285. https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
  18286. for details of what's new in Vidalia 0.2.3.
  18287. - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
  18288. - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
  18289. configuration file, rather than the old Privoxy.
  18290. - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
  18291. x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
  18292. - OS X Tor Expert Bundle: Tor is compiled as x86-only for
  18293. better compatibility with OS X 10.6, aka Snow Leopard.
  18294. - OS X Vidalia Bundle: The multi-package installer is now replaced
  18295. by a simple drag and drop to the /Applications folder. This change
  18296. occurred with the upgrade to Vidalia 0.2.3.
  18297. Changes in version 0.2.1.19 - 2009-07-28
  18298. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
  18299. services on Tor 0.2.1.3-alpha through 0.2.1.18.
  18300. o Major bugfixes:
  18301. - Make accessing hidden services on 0.2.1.x work right again.
  18302. Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
  18303. part of patch provided by "optimist".
  18304. o Minor features:
  18305. - When a relay/bridge is writing out its identity key fingerprint to
  18306. the "fingerprint" file and to its logs, write it without spaces. Now
  18307. it will look like the fingerprints in our bridges documentation,
  18308. and confuse fewer users.
  18309. o Minor bugfixes:
  18310. - Relays no longer publish a new server descriptor if they change
  18311. their MaxAdvertisedBandwidth config option but it doesn't end up
  18312. changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
  18313. fixes bug 1026. Patch from Sebastian.
  18314. - Avoid leaking memory every time we get a create cell but we have
  18315. so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
  18316. fixes bug 1034. Reported by BarkerJr.
  18317. Changes in version 0.2.1.18 - 2009-07-24
  18318. Tor 0.2.1.18 lays the foundations for performance improvements,
  18319. adds status events to help users diagnose bootstrap problems, adds
  18320. optional authentication/authorization for hidden services, fixes a
  18321. variety of potential anonymity problems, and includes a huge pile of
  18322. other features and bug fixes.
  18323. o Build fixes:
  18324. - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
  18325. Changes in version 0.2.1.17-rc - 2009-07-07
  18326. Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
  18327. candidate for the 0.2.1.x series. It lays the groundwork for further
  18328. client performance improvements, and also fixes a big bug with directory
  18329. authorities that were causing them to assign Guard and Stable flags
  18330. poorly.
  18331. The Windows bundles also finally include the geoip database that we
  18332. thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
  18333. should actually install Torbutton rather than giving you a cryptic
  18334. failure message (oops).
  18335. o Major features:
  18336. - Clients now use the bandwidth values in the consensus, rather than
  18337. the bandwidth values in each relay descriptor. This approach opens
  18338. the door to more accurate bandwidth estimates once the directory
  18339. authorities start doing active measurements. Implements more of
  18340. proposal 141.
  18341. o Major bugfixes:
  18342. - When Tor clients restart after 1-5 days, they discard all their
  18343. cached descriptors as too old, but they still use the cached
  18344. consensus document. This approach is good for robustness, but
  18345. bad for performance: since they don't know any bandwidths, they
  18346. end up choosing at random rather than weighting their choice by
  18347. speed. Fixed by the above feature of putting bandwidths in the
  18348. consensus. Bugfix on 0.2.0.x.
  18349. - Directory authorities were neglecting to mark relays down in their
  18350. internal histories if the relays fall off the routerlist without
  18351. ever being found unreachable. So there were relays in the histories
  18352. that haven't been seen for eight months, and are listed as being
  18353. up for eight months. This wreaked havoc on the "median wfu"
  18354. and "median mtbf" calculations, in turn making Guard and Stable
  18355. flags very wrong, hurting network performance. Fixes bugs 696 and
  18356. 969. Bugfix on 0.2.0.6-alpha.
  18357. o Minor bugfixes:
  18358. - Serve the DirPortFrontPage page even when we have been approaching
  18359. our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
  18360. - The control port would close the connection before flushing long
  18361. replies, such as the network consensus, if a QUIT command was issued
  18362. before the reply had completed. Now, the control port flushes all
  18363. pending replies before closing the connection. Also fixed a spurious
  18364. warning when a QUIT command is issued after a malformed or rejected
  18365. AUTHENTICATE command, but before the connection was closed. Patch
  18366. by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
  18367. - When we can't find an intro key for a v2 hidden service descriptor,
  18368. fall back to the v0 hidden service descriptor and log a bug message.
  18369. Workaround for bug 1024.
  18370. - Fix a log message that did not respect the SafeLogging option.
  18371. Resolves bug 1027.
  18372. o Minor features:
  18373. - If we're a relay and we change our IP address, be more verbose
  18374. about the reason that made us change. Should help track down
  18375. further bugs for relays on dynamic IP addresses.
  18376. Changes in version 0.2.0.35 - 2009-06-24
  18377. o Security fix:
  18378. - Avoid crashing in the presence of certain malformed descriptors.
  18379. Found by lark, and by automated fuzzing.
  18380. - Fix an edge case where a malicious exit relay could convince a
  18381. controller that the client's DNS question resolves to an internal IP
  18382. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  18383. o Major bugfixes:
  18384. - Finally fix the bug where dynamic-IP relays disappear when their
  18385. IP address changes: directory mirrors were mistakenly telling
  18386. them their old address if they asked via begin_dir, so they
  18387. never got an accurate answer about their new address, so they
  18388. just vanished after a day. For belt-and-suspenders, relays that
  18389. don't set Address in their config now avoid using begin_dir for
  18390. all direct connections. Should fix bugs 827, 883, and 900.
  18391. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  18392. that would occur on some exit nodes when DNS failures and timeouts
  18393. occurred in certain patterns. Fix for bug 957.
  18394. o Minor bugfixes:
  18395. - When starting with a cache over a few days old, do not leak
  18396. memory for the obsolete router descriptors in it. Bugfix on
  18397. 0.2.0.33; fixes bug 672.
  18398. - Hidden service clients didn't use a cached service descriptor that
  18399. was older than 15 minutes, but wouldn't fetch a new one either,
  18400. because there was already one in the cache. Now, fetch a v2
  18401. descriptor unless the same descriptor was added to the cache within
  18402. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  18403. Changes in version 0.2.1.16-rc - 2009-06-20
  18404. Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
  18405. a bunch of minor bugs.
  18406. o Security fixes:
  18407. - Fix an edge case where a malicious exit relay could convince a
  18408. controller that the client's DNS question resolves to an internal IP
  18409. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  18410. o Major performance improvements (on 0.2.0.x):
  18411. - Disable and refactor some debugging checks that forced a linear scan
  18412. over the whole server-side DNS cache. These accounted for over 50%
  18413. of CPU time on a relatively busy exit node's gprof profile. Found
  18414. by Jacob.
  18415. - Disable some debugging checks that appeared in exit node profile
  18416. data.
  18417. o Minor features:
  18418. - Update to the "June 3 2009" ip-to-country file.
  18419. - Do not have tor-resolve automatically refuse all .onion addresses;
  18420. if AutomapHostsOnResolve is set in your torrc, this will work fine.
  18421. o Minor bugfixes (on 0.2.0.x):
  18422. - Log correct error messages for DNS-related network errors on
  18423. Windows.
  18424. - Fix a race condition that could cause crashes or memory corruption
  18425. when running as a server with a controller listening for log
  18426. messages.
  18427. - Avoid crashing when we have a policy specified in a DirPolicy or
  18428. SocksPolicy or ReachableAddresses option with ports set on it,
  18429. and we re-load the policy. May fix bug 996.
  18430. - Hidden service clients didn't use a cached service descriptor that
  18431. was older than 15 minutes, but wouldn't fetch a new one either,
  18432. because there was already one in the cache. Now, fetch a v2
  18433. descriptor unless the same descriptor was added to the cache within
  18434. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  18435. o Minor bugfixes (on 0.2.1.x):
  18436. - Don't warn users about low port and hibernation mix when they
  18437. provide a *ListenAddress directive to fix that. Bugfix on
  18438. 0.2.1.15-rc.
  18439. - When switching back and forth between bridge mode, do not start
  18440. gathering GeoIP data until two hours have passed.
  18441. - Do not complain that the user has requested an excluded node as
  18442. an exit when the node is not really an exit. This could happen
  18443. because the circuit was for testing, or an introduction point.
  18444. Fix for bug 984.
  18445. Changes in version 0.2.1.15-rc - 2009-05-25
  18446. Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
  18447. series. It fixes a major bug on fast exit relays, as well as a variety
  18448. of more minor bugs.
  18449. o Major bugfixes (on 0.2.0.x):
  18450. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  18451. that would occur on some exit nodes when DNS failures and timeouts
  18452. occurred in certain patterns. Fix for bug 957.
  18453. o Minor bugfixes (on 0.2.0.x):
  18454. - Actually return -1 in the error case for read_bandwidth_usage().
  18455. Harmless bug, since we currently don't care about the return value
  18456. anywhere. Bugfix on 0.2.0.9-alpha.
  18457. - Provide a more useful log message if bug 977 (related to buffer
  18458. freelists) ever reappears, and do not crash right away.
  18459. - Fix an assertion failure on 64-bit platforms when we allocated
  18460. memory right up to the end of a memarea, then realigned the memory
  18461. one step beyond the end. Fixes a possible cause of bug 930.
  18462. - Protect the count of open sockets with a mutex, so we can't
  18463. corrupt it when two threads are closing or opening sockets at once.
  18464. Fix for bug 939. Bugfix on 0.2.0.1-alpha.
  18465. - Don't allow a bridge to publish its router descriptor to a
  18466. non-bridge directory authority. Fixes part of bug 932.
  18467. - When we change to or from being a bridge, reset our counts of
  18468. client usage by country. Fixes bug 932.
  18469. - Fix a bug that made stream bandwidth get misreported to the
  18470. controller.
  18471. - Stop using malloc_usable_size() to use more area than we had
  18472. actually allocated: it was safe, but made valgrind really unhappy.
  18473. - Fix a memory leak when v3 directory authorities load their keys
  18474. and cert from disk. Bugfix on 0.2.0.1-alpha.
  18475. o Minor bugfixes (on 0.2.1.x):
  18476. - Fix use of freed memory when deciding to mark a non-addable
  18477. descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
  18478. Changes in version 0.2.1.14-rc - 2009-04-12
  18479. Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
  18480. series. It begins fixing some major performance problems, and also
  18481. finally addresses the bug that was causing relays on dynamic IP
  18482. addresses to fall out of the directory.
  18483. o Major features:
  18484. - Clients replace entry guards that were chosen more than a few months
  18485. ago. This change should significantly improve client performance,
  18486. especially once more people upgrade, since relays that have been
  18487. a guard for a long time are currently overloaded.
  18488. o Major bugfixes (on 0.2.0):
  18489. - Finally fix the bug where dynamic-IP relays disappear when their
  18490. IP address changes: directory mirrors were mistakenly telling
  18491. them their old address if they asked via begin_dir, so they
  18492. never got an accurate answer about their new address, so they
  18493. just vanished after a day. For belt-and-suspenders, relays that
  18494. don't set Address in their config now avoid using begin_dir for
  18495. all direct connections. Should fix bugs 827, 883, and 900.
  18496. - Relays were falling out of the networkstatus consensus for
  18497. part of a day if they changed their local config but the
  18498. authorities discarded their new descriptor as "not sufficiently
  18499. different". Now directory authorities accept a descriptor as changed
  18500. if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
  18501. patch by Sebastian.
  18502. - Avoid crashing in the presence of certain malformed descriptors.
  18503. Found by lark, and by automated fuzzing.
  18504. o Minor features:
  18505. - When generating circuit events with verbose nicknames for
  18506. controllers, try harder to look up nicknames for routers on a
  18507. circuit. (Previously, we would look in the router descriptors we had
  18508. for nicknames, but not in the consensus.) Partial fix for bug 941.
  18509. - If the bridge config line doesn't specify a port, assume 443.
  18510. This makes bridge lines a bit smaller and easier for users to
  18511. understand.
  18512. - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
  18513. bytes (aka 20KB/s), to match our documentation. Also update
  18514. directory authorities so they always assign the Fast flag to relays
  18515. with 20KB/s of capacity. Now people running relays won't suddenly
  18516. find themselves not seeing any use, if the network gets faster
  18517. on average.
  18518. - Update to the "April 3 2009" ip-to-country file.
  18519. o Minor bugfixes:
  18520. - Avoid trying to print raw memory to the logs when we decide to
  18521. give up on downloading a given relay descriptor. Bugfix on
  18522. 0.2.1.9-alpha.
  18523. - In tor-resolve, when the Tor client to use is specified by
  18524. <hostname>:<port>, actually use the specified port rather than
  18525. defaulting to 9050. Bugfix on 0.2.1.6-alpha.
  18526. - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
  18527. - When starting with a cache over a few days old, do not leak
  18528. memory for the obsolete router descriptors in it. Bugfix on
  18529. 0.2.0.33.
  18530. - Avoid double-free on list of successfully uploaded hidden
  18531. service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
  18532. - Change memarea_strndup() implementation to work even when
  18533. duplicating a string at the end of a page. This bug was
  18534. harmless for now, but could have meant crashes later. Fix by
  18535. lark. Bugfix on 0.2.1.1-alpha.
  18536. - Limit uploaded directory documents to be 16M rather than 500K.
  18537. The directory authorities were refusing v3 consensus votes from
  18538. other authorities, since the votes are now 504K. Fixes bug 959;
  18539. bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
  18540. - Directory authorities should never send a 503 "busy" response to
  18541. requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
  18542. bug 959.
  18543. Changes in version 0.2.1.13-alpha - 2009-03-09
  18544. Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
  18545. cleanups. We're finally getting close to a release candidate.
  18546. o Major bugfixes:
  18547. - Correctly update the list of which countries we exclude as
  18548. exits, when the GeoIP file is loaded or reloaded. Diagnosed by
  18549. lark. Bugfix on 0.2.1.6-alpha.
  18550. o Minor bugfixes (on 0.2.0.x and earlier):
  18551. - Automatically detect MacOSX versions earlier than 10.4.0, and
  18552. disable kqueue from inside Tor when running with these versions.
  18553. We previously did this from the startup script, but that was no
  18554. help to people who didn't use the startup script. Resolves bug 863.
  18555. - When we had picked an exit node for a connection, but marked it as
  18556. "optional", and it turned out we had no onion key for the exit,
  18557. stop wanting that exit and try again. This situation may not
  18558. be possible now, but will probably become feasible with proposal
  18559. 158. Spotted by rovv. Fixes another case of bug 752.
  18560. - Clients no longer cache certificates for authorities they do not
  18561. recognize. Bugfix on 0.2.0.9-alpha.
  18562. - When we can't transmit a DNS request due to a network error, retry
  18563. it after a while, and eventually transmit a failing response to
  18564. the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
  18565. - If the controller claimed responsibility for a stream, but that
  18566. stream never finished making its connection, it would live
  18567. forever in circuit_wait state. Now we close it after SocksTimeout
  18568. seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
  18569. - Drop begin cells to a hidden service if they come from the middle
  18570. of a circuit. Patch from lark.
  18571. - When we erroneously receive two EXTEND cells for the same circuit
  18572. ID on the same connection, drop the second. Patch from lark.
  18573. - Fix a crash that occurs on exit nodes when a nameserver request
  18574. timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
  18575. been suppressing the bug since 0.1.2.10-alpha. Partial fix for
  18576. bug 929.
  18577. - Do not assume that a stack-allocated character array will be
  18578. 64-bit aligned on platforms that demand that uint64_t access is
  18579. aligned. Possible fix for bug 604.
  18580. - Parse dates and IPv4 addresses in a locale- and libc-independent
  18581. manner, to avoid platform-dependent behavior on malformed input.
  18582. - Build correctly when configured to build outside the main source
  18583. path. Patch from Michael Gold.
  18584. - We were already rejecting relay begin cells with destination port
  18585. of 0. Now also reject extend cells with destination port or address
  18586. of 0. Suggested by lark.
  18587. o Minor bugfixes (on 0.2.1.x):
  18588. - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
  18589. cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
  18590. - If we're an exit node, scrub the IP address to which we are exiting
  18591. in the logs. Bugfix on 0.2.1.8-alpha.
  18592. o Minor features:
  18593. - On Linux, use the prctl call to re-enable core dumps when the user
  18594. is option is set.
  18595. - New controller event NEWCONSENSUS that lists the networkstatus
  18596. lines for every recommended relay. Now controllers like Torflow
  18597. can keep up-to-date on which relays they should be using.
  18598. - Update to the "February 26 2009" ip-to-country file.
  18599. Changes in version 0.2.0.34 - 2009-02-08
  18600. Tor 0.2.0.34 features several more security-related fixes. You should
  18601. upgrade, especially if you run an exit relay (remote crash) or a
  18602. directory authority (remote infinite loop), or you're on an older
  18603. (pre-XP) or not-recently-patched Windows (remote exploit).
  18604. This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
  18605. have many known flaws, and nobody should be using them. You should
  18606. upgrade. If you're using a Linux or BSD and its packages are obsolete,
  18607. stop using those packages and upgrade anyway.
  18608. o Security fixes:
  18609. - Fix an infinite-loop bug on handling corrupt votes under certain
  18610. circumstances. Bugfix on 0.2.0.8-alpha.
  18611. - Fix a temporary DoS vulnerability that could be performed by
  18612. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  18613. - Avoid a potential crash on exit nodes when processing malformed
  18614. input. Remote DoS opportunity. Bugfix on 0.2.0.33.
  18615. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  18616. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  18617. o Minor bugfixes:
  18618. - Fix compilation on systems where time_t is a 64-bit integer.
  18619. Patch from Matthias Drochner.
  18620. - Don't consider expiring already-closed client connections. Fixes
  18621. bug 893. Bugfix on 0.0.2pre20.
  18622. Changes in version 0.2.1.12-alpha - 2009-02-08
  18623. Tor 0.2.1.12-alpha features several more security-related fixes. You
  18624. should upgrade, especially if you run an exit relay (remote crash) or
  18625. a directory authority (remote infinite loop), or you're on an older
  18626. (pre-XP) or not-recently-patched Windows (remote exploit). It also
  18627. includes a big pile of minor bugfixes and cleanups.
  18628. o Security fixes:
  18629. - Fix an infinite-loop bug on handling corrupt votes under certain
  18630. circumstances. Bugfix on 0.2.0.8-alpha.
  18631. - Fix a temporary DoS vulnerability that could be performed by
  18632. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  18633. - Avoid a potential crash on exit nodes when processing malformed
  18634. input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
  18635. o Minor bugfixes:
  18636. - Let controllers actually ask for the "clients_seen" event for
  18637. getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
  18638. reported by Matt Edman.
  18639. - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
  18640. 0.2.1.11-alpha.
  18641. - Fix a bug in address parsing that was preventing bridges or hidden
  18642. service targets from being at IPv6 addresses.
  18643. - Solve a bug that kept hardware crypto acceleration from getting
  18644. enabled when accounting was turned on. Fixes bug 907. Bugfix on
  18645. 0.0.9pre6.
  18646. - Remove a bash-ism from configure.in to build properly on non-Linux
  18647. platforms. Bugfix on 0.2.1.1-alpha.
  18648. - Fix code so authorities _actually_ send back X-Descriptor-Not-New
  18649. headers. Bugfix on 0.2.0.10-alpha.
  18650. - Don't consider expiring already-closed client connections. Fixes
  18651. bug 893. Bugfix on 0.0.2pre20.
  18652. - Fix another interesting corner-case of bug 891 spotted by rovv:
  18653. Previously, if two hosts had different amounts of clock drift, and
  18654. one of them created a new connection with just the wrong timing,
  18655. the other might decide to deprecate the new connection erroneously.
  18656. Bugfix on 0.1.1.13-alpha.
  18657. - Resolve a very rare crash bug that could occur when the user forced
  18658. a nameserver reconfiguration during the middle of a nameserver
  18659. probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
  18660. - Support changing value of ServerDNSRandomizeCase during SIGHUP.
  18661. Bugfix on 0.2.1.7-alpha.
  18662. - If we're using bridges and our network goes away, be more willing
  18663. to forgive our bridges and try again when we get an application
  18664. request. Bugfix on 0.2.0.x.
  18665. o Minor features:
  18666. - Support platforms where time_t is 64 bits long. (Congratulations,
  18667. NetBSD!) Patch from Matthias Drochner.
  18668. - Add a 'getinfo status/clients-seen' controller command, in case
  18669. controllers want to hear clients_seen events but connect late.
  18670. o Build changes:
  18671. - Disable GCC's strict alias optimization by default, to avoid the
  18672. likelihood of its introducing subtle bugs whenever our code violates
  18673. the letter of C99's alias rules.
  18674. Changes in version 0.2.0.33 - 2009-01-21
  18675. Tor 0.2.0.33 fixes a variety of bugs that were making relays less
  18676. useful to users. It also finally fixes a bug where a relay or client
  18677. that's been off for many days would take a long time to bootstrap.
  18678. This update also fixes an important security-related bug reported by
  18679. Ilja van Sprundel. You should upgrade. (We'll send out more details
  18680. about the bug once people have had some time to upgrade.)
  18681. o Security fixes:
  18682. - Fix a heap-corruption bug that may be remotely triggerable on
  18683. some platforms. Reported by Ilja van Sprundel.
  18684. o Major bugfixes:
  18685. - When a stream at an exit relay is in state "resolving" or
  18686. "connecting" and it receives an "end" relay cell, the exit relay
  18687. would silently ignore the end cell and not close the stream. If
  18688. the client never closes the circuit, then the exit relay never
  18689. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  18690. reported by "wood".
  18691. - When sending CREATED cells back for a given circuit, use a 64-bit
  18692. connection ID to find the right connection, rather than an addr:port
  18693. combination. Now that we can have multiple OR connections between
  18694. the same ORs, it is no longer possible to use addr:port to uniquely
  18695. identify a connection.
  18696. - Bridge relays that had DirPort set to 0 would stop fetching
  18697. descriptors shortly after startup, and then briefly resume
  18698. after a new bandwidth test and/or after publishing a new bridge
  18699. descriptor. Bridge users that try to bootstrap from them would
  18700. get a recent networkstatus but would get descriptors from up to
  18701. 18 hours earlier, meaning most of the descriptors were obsolete
  18702. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  18703. - Prevent bridge relays from serving their 'extrainfo' document
  18704. to anybody who asks, now that extrainfo docs include potentially
  18705. sensitive aggregated client geoip summaries. Bugfix on
  18706. 0.2.0.13-alpha.
  18707. - If the cached networkstatus consensus is more than five days old,
  18708. discard it rather than trying to use it. In theory it could be
  18709. useful because it lists alternate directory mirrors, but in practice
  18710. it just means we spend many minutes trying directory mirrors that
  18711. are long gone from the network. Also discard router descriptors as
  18712. we load them if they are more than five days old, since the onion
  18713. key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
  18714. o Minor bugfixes:
  18715. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  18716. could make gcc generate non-functional binary search code. Bugfix
  18717. on 0.2.0.10-alpha.
  18718. - Build correctly on platforms without socklen_t.
  18719. - Compile without warnings on solaris.
  18720. - Avoid potential crash on internal error during signature collection.
  18721. Fixes bug 864. Patch from rovv.
  18722. - Correct handling of possible malformed authority signing key
  18723. certificates with internal signature types. Fixes bug 880.
  18724. Bugfix on 0.2.0.3-alpha.
  18725. - Fix a hard-to-trigger resource leak when logging credential status.
  18726. CID 349.
  18727. - When we can't initialize DNS because the network is down, do not
  18728. automatically stop Tor from starting. Instead, we retry failed
  18729. dns_init() every 10 minutes, and change the exit policy to reject
  18730. *:* until one succeeds. Fixes bug 691.
  18731. - Use 64 bits instead of 32 bits for connection identifiers used with
  18732. the controller protocol, to greatly reduce risk of identifier reuse.
  18733. - When we're choosing an exit node for a circuit, and we have
  18734. no pending streams, choose a good general exit rather than one that
  18735. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  18736. - Fix another case of assuming, when a specific exit is requested,
  18737. that we know more than the user about what hosts it allows.
  18738. Fixes one case of bug 752. Patch from rovv.
  18739. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  18740. seconds. Warn the user if lower values are given in the
  18741. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  18742. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  18743. user if lower values are given in the configuration. Bugfix on
  18744. 0.1.1.17-rc. Patch by Sebastian.
  18745. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  18746. the cache because we already had a v0 descriptor with the same ID.
  18747. Bugfix on 0.2.0.18-alpha.
  18748. - Fix a race condition when freeing keys shared between main thread
  18749. and CPU workers that could result in a memory leak. Bugfix on
  18750. 0.1.0.1-rc. Fixes bug 889.
  18751. - Send a valid END cell back when a client tries to connect to a
  18752. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  18753. 840. Patch from rovv.
  18754. - Check which hops rendezvous stream cells are associated with to
  18755. prevent possible guess-the-streamid injection attacks from
  18756. intermediate hops. Fixes another case of bug 446. Based on patch
  18757. from rovv.
  18758. - If a broken client asks a non-exit router to connect somewhere,
  18759. do not even do the DNS lookup before rejecting the connection.
  18760. Fixes another case of bug 619. Patch from rovv.
  18761. - When a relay gets a create cell it can't decrypt (e.g. because it's
  18762. using the wrong onion key), we were dropping it and letting the
  18763. client time out. Now actually answer with a destroy cell. Fixes
  18764. bug 904. Bugfix on 0.0.2pre8.
  18765. o Minor bugfixes (hidden services):
  18766. - Do not throw away existing introduction points on SIGHUP. Bugfix on
  18767. 0.0.6pre1. Patch by Karsten. Fixes bug 874.
  18768. o Minor features:
  18769. - Report the case where all signatures in a detached set are rejected
  18770. differently than the case where there is an error handling the
  18771. detached set.
  18772. - When we realize that another process has modified our cached
  18773. descriptors, print out a more useful error message rather than
  18774. triggering an assertion. Fixes bug 885. Patch from Karsten.
  18775. - Implement the 0x20 hack to better resist DNS poisoning: set the
  18776. case on outgoing DNS requests randomly, and reject responses that do
  18777. not match the case correctly. This logic can be disabled with the
  18778. ServerDNSRamdomizeCase setting, if you are using one of the 0.3%
  18779. of servers that do not reliably preserve case in replies. See
  18780. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  18781. for more info.
  18782. - Check DNS replies for more matching fields to better resist DNS
  18783. poisoning.
  18784. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  18785. compress cells, which are basically all encrypted, compressed, or
  18786. both.
  18787. Changes in version 0.2.1.11-alpha - 2009-01-20
  18788. Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
  18789. week it will take a long time to bootstrap again" bug. It also fixes
  18790. an important security-related bug reported by Ilja van Sprundel. You
  18791. should upgrade. (We'll send out more details about the bug once people
  18792. have had some time to upgrade.)
  18793. o Security fixes:
  18794. - Fix a heap-corruption bug that may be remotely triggerable on
  18795. some platforms. Reported by Ilja van Sprundel.
  18796. o Major bugfixes:
  18797. - Discard router descriptors as we load them if they are more than
  18798. five days old. Otherwise if Tor is off for a long time and then
  18799. starts with cached descriptors, it will try to use the onion
  18800. keys in those obsolete descriptors when building circuits. Bugfix
  18801. on 0.2.0.x. Fixes bug 887.
  18802. o Minor features:
  18803. - Try to make sure that the version of Libevent we're running with
  18804. is binary-compatible with the one we built with. May address bug
  18805. 897 and others.
  18806. - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
  18807. for bug 905. Bugfix on 0.2.1.7-alpha.
  18808. - Add a new --enable-local-appdata configuration switch to change
  18809. the default location of the datadir on win32 from APPDATA to
  18810. LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
  18811. entirely. Patch from coderman.
  18812. o Minor bugfixes:
  18813. - Make outbound DNS packets respect the OutboundBindAddress setting.
  18814. Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
  18815. - When our circuit fails at the first hop (e.g. we get a destroy
  18816. cell back), avoid using that OR connection anymore, and also
  18817. tell all the one-hop directory requests waiting for it that they
  18818. should fail. Bugfix on 0.2.1.3-alpha.
  18819. - In the torify(1) manpage, mention that tsocks will leak your
  18820. DNS requests.
  18821. Changes in version 0.2.1.10-alpha - 2009-01-06
  18822. Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
  18823. would make the bridge relay not so useful if it had DirPort set to 0,
  18824. and one that could let an attacker learn a little bit of information
  18825. about the bridge's users), and a bug that would cause your Tor relay
  18826. to ignore a circuit create request it can't decrypt (rather than reply
  18827. with an error). It also fixes a wide variety of other bugs.
  18828. o Major bugfixes:
  18829. - If the cached networkstatus consensus is more than five days old,
  18830. discard it rather than trying to use it. In theory it could
  18831. be useful because it lists alternate directory mirrors, but in
  18832. practice it just means we spend many minutes trying directory
  18833. mirrors that are long gone from the network. Helps bug 887 a bit;
  18834. bugfix on 0.2.0.x.
  18835. - Bridge relays that had DirPort set to 0 would stop fetching
  18836. descriptors shortly after startup, and then briefly resume
  18837. after a new bandwidth test and/or after publishing a new bridge
  18838. descriptor. Bridge users that try to bootstrap from them would
  18839. get a recent networkstatus but would get descriptors from up to
  18840. 18 hours earlier, meaning most of the descriptors were obsolete
  18841. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  18842. - Prevent bridge relays from serving their 'extrainfo' document
  18843. to anybody who asks, now that extrainfo docs include potentially
  18844. sensitive aggregated client geoip summaries. Bugfix on
  18845. 0.2.0.13-alpha.
  18846. o Minor features:
  18847. - New controller event "clients_seen" to report a geoip-based summary
  18848. of which countries we've seen clients from recently. Now controllers
  18849. like Vidalia can show bridge operators that they're actually making
  18850. a difference.
  18851. - Build correctly against versions of OpenSSL 0.9.8 or later built
  18852. without support for deprecated functions.
  18853. - Update to the "December 19 2008" ip-to-country file.
  18854. o Minor bugfixes (on 0.2.0.x):
  18855. - Authorities now vote for the Stable flag for any router whose
  18856. weighted MTBF is at least 5 days, regardless of the mean MTBF.
  18857. - Do not remove routers as too old if we do not have any consensus
  18858. document. Bugfix on 0.2.0.7-alpha.
  18859. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  18860. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  18861. - When an exit relay resolves a stream address to a local IP address,
  18862. do not just keep retrying that same exit relay over and
  18863. over. Instead, just close the stream. Addresses bug 872. Bugfix
  18864. on 0.2.0.32. Patch from rovv.
  18865. - If a hidden service sends us an END cell, do not consider
  18866. retrying the connection; just close it. Patch from rovv.
  18867. - When we made bridge authorities stop serving bridge descriptors over
  18868. unencrypted links, we also broke DirPort reachability testing for
  18869. bridges. So bridges with a non-zero DirPort were printing spurious
  18870. warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
  18871. - When a relay gets a create cell it can't decrypt (e.g. because it's
  18872. using the wrong onion key), we were dropping it and letting the
  18873. client time out. Now actually answer with a destroy cell. Fixes
  18874. bug 904. Bugfix on 0.0.2pre8.
  18875. - Squeeze 2-5% out of client performance (according to oprofile) by
  18876. improving the implementation of some policy-manipulation functions.
  18877. o Minor bugfixes (on 0.2.1.x):
  18878. - Make get_interface_address() function work properly again; stop
  18879. guessing the wrong parts of our address as our address.
  18880. - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
  18881. send on that circuit. Otherwise we might violate the proposal-110
  18882. limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
  18883. thanks to Karsten.
  18884. - When we're sending non-EXTEND cells to the first hop in a circuit,
  18885. for example to use an encrypted directory connection, we don't need
  18886. to use RELAY_EARLY cells: the first hop knows what kind of cell
  18887. it is, and nobody else can even see the cell type. Conserving
  18888. RELAY_EARLY cells makes it easier to cannibalize circuits like
  18889. this later.
  18890. - Stop logging nameserver addresses in reverse order.
  18891. - If we are retrying a directory download slowly over and over, do
  18892. not automatically give up after the 254th failure. Bugfix on
  18893. 0.2.1.9-alpha.
  18894. - Resume reporting accurate "stream end" reasons to the local control
  18895. port. They were lost in the changes for Proposal 148. Bugfix on
  18896. 0.2.1.9-alpha.
  18897. o Deprecated and removed features:
  18898. - The old "tor --version --version" command, which would print out
  18899. the subversion "Id" of most of the source files, is now removed. It
  18900. turned out to be less useful than we'd expected, and harder to
  18901. maintain.
  18902. o Code simplifications and refactoring:
  18903. - Change our header file guard macros to be less likely to conflict
  18904. with system headers. Adam Langley noticed that we were conflicting
  18905. with log.h on Android.
  18906. - Tool-assisted documentation cleanup. Nearly every function or
  18907. static variable in Tor should have its own documentation now.
  18908. Changes in version 0.2.1.9-alpha - 2008-12-25
  18909. Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
  18910. o New directory authorities:
  18911. - gabelmoo (the authority run by Karsten Loesing) now has a new
  18912. IP address.
  18913. o Security fixes:
  18914. - Never use a connection with a mismatched address to extend a
  18915. circuit, unless that connection is canonical. A canonical
  18916. connection is one whose address is authenticated by the router's
  18917. identity key, either in a NETINFO cell or in a router descriptor.
  18918. - Avoid a possible memory corruption bug when receiving hidden service
  18919. descriptors. Bugfix on 0.2.1.6-alpha.
  18920. o Major bugfixes:
  18921. - Fix a logic error that would automatically reject all but the first
  18922. configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
  18923. part of bug 813/868. Bug spotted by coderman.
  18924. - When a stream at an exit relay is in state "resolving" or
  18925. "connecting" and it receives an "end" relay cell, the exit relay
  18926. would silently ignore the end cell and not close the stream. If
  18927. the client never closes the circuit, then the exit relay never
  18928. closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
  18929. reported by "wood".
  18930. - When we can't initialize DNS because the network is down, do not
  18931. automatically stop Tor from starting. Instead, retry failed
  18932. dns_init() every 10 minutes, and change the exit policy to reject
  18933. *:* until one succeeds. Fixes bug 691.
  18934. o Minor features:
  18935. - Give a better error message when an overzealous init script says
  18936. "sudo -u username tor --user username". Makes Bug 882 easier for
  18937. users to diagnose.
  18938. - When a directory authority gives us a new guess for our IP address,
  18939. log which authority we used. Hopefully this will help us debug
  18940. the recent complaints about bad IP address guesses.
  18941. - Detect svn revision properly when we're using git-svn.
  18942. - Try not to open more than one descriptor-downloading connection
  18943. to an authority at once. This should reduce load on directory
  18944. authorities. Fixes bug 366.
  18945. - Add cross-certification to newly generated certificates, so that
  18946. a signing key is enough information to look up a certificate.
  18947. Partial implementation of proposal 157.
  18948. - Start serving certificates by <identity digest, signing key digest>
  18949. pairs. Partial implementation of proposal 157.
  18950. - Clients now never report any stream end reason except 'MISC'.
  18951. Implements proposal 148.
  18952. - On platforms with a maximum syslog string length, truncate syslog
  18953. messages to that length ourselves, rather than relying on the
  18954. system to do it for us.
  18955. - Optimize out calls to time(NULL) that occur for every IO operation,
  18956. or for every cell. On systems where time() is a slow syscall,
  18957. this fix will be slightly helpful.
  18958. - Exit servers can now answer resolve requests for ip6.arpa addresses.
  18959. - When we download a descriptor that we then immediately (as
  18960. a directory authority) reject, do not retry downloading it right
  18961. away. Should save some bandwidth on authorities. Fix for bug
  18962. 888. Patch by Sebastian Hahn.
  18963. - When a download gets us zero good descriptors, do not notify
  18964. Tor that new directory information has arrived.
  18965. - Avoid some nasty corner cases in the logic for marking connections
  18966. as too old or obsolete or noncanonical for circuits. Partial
  18967. bugfix on bug 891.
  18968. o Minor features (controller):
  18969. - New CONSENSUS_ARRIVED event to note when a new consensus has
  18970. been fetched and validated.
  18971. - When we realize that another process has modified our cached
  18972. descriptors file, print out a more useful error message rather
  18973. than triggering an assertion. Fixes bug 885. Patch from Karsten.
  18974. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  18975. controllers to prevent SIGHUP from reloading the
  18976. configuration. Fixes bug 856.
  18977. o Minor bugfixes:
  18978. - Resume using the correct "REASON=" stream when telling the
  18979. controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
  18980. - When a canonical connection appears later in our internal list
  18981. than a noncanonical one for a given OR ID, always use the
  18982. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  18983. Spotted by rovv.
  18984. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  18985. seconds. Warn the user if lower values are given in the
  18986. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  18987. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  18988. user if lower values are given in the configuration. Bugfix on
  18989. 0.1.1.17-rc. Patch by Sebastian.
  18990. - Fix a race condition when freeing keys shared between main thread
  18991. and CPU workers that could result in a memory leak. Bugfix on
  18992. 0.1.0.1-rc. Fixes bug 889.
  18993. o Minor bugfixes (hidden services):
  18994. - Do not throw away existing introduction points on SIGHUP (bugfix on
  18995. 0.0.6pre1); also, do not stall hidden services because we're
  18996. throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
  18997. by John Brooks. Patch by Karsten. Fixes bug 874.
  18998. - Fix a memory leak when we decline to add a v2 rendezvous
  18999. descriptor to the cache because we already had a v0 descriptor
  19000. with the same ID. Bugfix on 0.2.0.18-alpha.
  19001. o Deprecated and removed features:
  19002. - RedirectExits has been removed. It was deprecated since
  19003. 0.2.0.3-alpha.
  19004. - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
  19005. has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  19006. - Cell pools are now always enabled; --disable-cell-pools is ignored.
  19007. o Code simplifications and refactoring:
  19008. - Rename the confusing or_is_obsolete field to the more appropriate
  19009. is_bad_for_new_circs, and move it to or_connection_t where it
  19010. belongs.
  19011. - Move edge-only flags from connection_t to edge_connection_t: not
  19012. only is this better coding, but on machines of plausible alignment,
  19013. it should save 4-8 bytes per connection_t. "Every little bit helps."
  19014. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  19015. for consistency; keep old option working for backward compatibility.
  19016. - Simplify the code for finding connections to use for a circuit.
  19017. Changes in version 0.2.1.8-alpha - 2008-12-08
  19018. Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
  19019. builds better on unusual platforms like Solaris and old OS X, and
  19020. fixes a variety of other issues.
  19021. o Major features:
  19022. - New DirPortFrontPage option that takes an html file and publishes
  19023. it as "/" on the DirPort. Now relay operators can provide a
  19024. disclaimer without needing to set up a separate webserver. There's
  19025. a sample disclaimer in contrib/tor-exit-notice.html.
  19026. o Security fixes:
  19027. - When the client is choosing entry guards, now it selects at most
  19028. one guard from a given relay family. Otherwise we could end up with
  19029. all of our entry points into the network run by the same operator.
  19030. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  19031. o Major bugfixes:
  19032. - Fix a DOS opportunity during the voting signature collection process
  19033. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  19034. - Fix a possible segfault when establishing an exit connection. Bugfix
  19035. on 0.2.1.5-alpha.
  19036. o Minor bugfixes:
  19037. - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
  19038. bug 859.
  19039. - Made Tor a little less aggressive about deleting expired
  19040. certificates. Partial fix for bug 854.
  19041. - Stop doing unaligned memory access that generated bus errors on
  19042. sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
  19043. - Fix a crash bug when changing EntryNodes from the controller. Bugfix
  19044. on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
  19045. - Make USR2 log-level switch take effect immediately. Bugfix on
  19046. 0.1.2.8-beta.
  19047. - If one win32 nameserver fails to get added, continue adding the
  19048. rest, and don't automatically fail.
  19049. - Use fcntl() for locking when flock() is not available. Should fix
  19050. compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
  19051. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  19052. could make gcc generate non-functional binary search code. Bugfix
  19053. on 0.2.0.10-alpha.
  19054. - Build correctly on platforms without socklen_t.
  19055. - Avoid potential crash on internal error during signature collection.
  19056. Fixes bug 864. Patch from rovv.
  19057. - Do not use C's stdio library for writing to log files. This will
  19058. improve logging performance by a minute amount, and will stop
  19059. leaking fds when our disk is full. Fixes bug 861.
  19060. - Stop erroneous use of O_APPEND in cases where we did not in fact
  19061. want to re-seek to the end of a file before every last write().
  19062. - Correct handling of possible malformed authority signing key
  19063. certificates with internal signature types. Fixes bug 880. Bugfix
  19064. on 0.2.0.3-alpha.
  19065. - Fix a hard-to-trigger resource leak when logging credential status.
  19066. CID 349.
  19067. o Minor features:
  19068. - Directory mirrors no longer fetch the v1 directory or
  19069. running-routers files. They are obsolete, and nobody asks for them
  19070. anymore. This is the first step to making v1 authorities obsolete.
  19071. o Minor features (controller):
  19072. - Return circuit purposes in response to GETINFO circuit-status. Fixes
  19073. bug 858.
  19074. Changes in version 0.2.0.32 - 2008-11-20
  19075. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  19076. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  19077. a smaller security flaw that might allow an attacker to access local
  19078. services, further improves hidden service performance, and fixes a
  19079. variety of other issues.
  19080. o Security fixes:
  19081. - The "User" and "Group" config options did not clear the
  19082. supplementary group entries for the Tor process. The "User" option
  19083. is now more robust, and we now set the groups to the specified
  19084. user's primary group. The "Group" option is now ignored. For more
  19085. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  19086. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  19087. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  19088. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  19089. consistently obeyed: if an exit relay refuses a stream because its
  19090. exit policy doesn't allow it, we would remember what IP address
  19091. the relay said the destination address resolves to, even if it's
  19092. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  19093. o Major bugfixes:
  19094. - Fix a DOS opportunity during the voting signature collection process
  19095. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  19096. o Major bugfixes (hidden services):
  19097. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  19098. we were failing the whole hidden service request when the v0
  19099. descriptor fetch fails, even if the v2 fetch is still pending and
  19100. might succeed. Similarly, if the last v2 fetch fails, we were
  19101. failing the whole hidden service request even if a v0 fetch is
  19102. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  19103. - When extending a circuit to a hidden service directory to upload a
  19104. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  19105. requests failed, because the router descriptor has not been
  19106. downloaded yet. In these cases, do not attempt to upload the
  19107. rendezvous descriptor, but wait until the router descriptor is
  19108. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  19109. descriptor from a hidden service directory for which the router
  19110. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  19111. on 0.2.0.10-alpha.
  19112. o Minor bugfixes:
  19113. - Fix several infrequent memory leaks spotted by Coverity.
  19114. - When testing for libevent functions, set the LDFLAGS variable
  19115. correctly. Found by Riastradh.
  19116. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  19117. bootstrapping with tunneled directory connections. Bugfix on
  19118. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  19119. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  19120. and we know that server B rejects most-but-not all connections to
  19121. port 80, we would previously reject the connection. Now, we assume
  19122. the user knows what they were asking for. Fixes bug 752. Bugfix
  19123. on 0.0.9rc5. Diagnosed by BarkerJr.
  19124. - If we overrun our per-second write limits a little, count this as
  19125. having used up our write allocation for the second, and choke
  19126. outgoing directory writes. Previously, we had only counted this when
  19127. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  19128. Bugfix on 0.2.0.x (??).
  19129. - Remove the old v2 directory authority 'lefkada' from the default
  19130. list. It has been gone for many months.
  19131. - Stop doing unaligned memory access that generated bus errors on
  19132. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  19133. - Make USR2 log-level switch take effect immediately. Bugfix on
  19134. 0.1.2.8-beta.
  19135. o Minor bugfixes (controller):
  19136. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  19137. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  19138. Changes in version 0.2.1.7-alpha - 2008-11-08
  19139. Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
  19140. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  19141. a smaller security flaw that might allow an attacker to access local
  19142. services, adds better defense against DNS poisoning attacks on exit
  19143. relays, further improves hidden service performance, and fixes a
  19144. variety of other issues.
  19145. o Security fixes:
  19146. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  19147. consistently obeyed: if an exit relay refuses a stream because its
  19148. exit policy doesn't allow it, we would remember what IP address
  19149. the relay said the destination address resolves to, even if it's
  19150. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  19151. - The "User" and "Group" config options did not clear the
  19152. supplementary group entries for the Tor process. The "User" option
  19153. is now more robust, and we now set the groups to the specified
  19154. user's primary group. The "Group" option is now ignored. For more
  19155. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  19156. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  19157. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
  19158. - Do not use or believe expired v3 authority certificates. Patch
  19159. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  19160. o Minor features:
  19161. - Now NodeFamily and MyFamily config options allow spaces in
  19162. identity fingerprints, so it's easier to paste them in.
  19163. Suggested by Lucky Green.
  19164. - Implement the 0x20 hack to better resist DNS poisoning: set the
  19165. case on outgoing DNS requests randomly, and reject responses that do
  19166. not match the case correctly. This logic can be disabled with the
  19167. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  19168. of servers that do not reliably preserve case in replies. See
  19169. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  19170. for more info.
  19171. - Preserve case in replies to DNSPort requests in order to support
  19172. the 0x20 hack for resisting DNS poisoning attacks.
  19173. o Hidden service performance improvements:
  19174. - When the client launches an introduction circuit, retry with a
  19175. new circuit after 30 seconds rather than 60 seconds.
  19176. - Launch a second client-side introduction circuit in parallel
  19177. after a delay of 15 seconds (based on work by Christian Wilms).
  19178. - Hidden services start out building five intro circuits rather
  19179. than three, and when the first three finish they publish a service
  19180. descriptor using those. Now we publish our service descriptor much
  19181. faster after restart.
  19182. o Minor bugfixes:
  19183. - Minor fix in the warning messages when you're having problems
  19184. bootstrapping; also, be more forgiving of bootstrap problems when
  19185. we're still making incremental progress on a given bootstrap phase.
  19186. - When we're choosing an exit node for a circuit, and we have
  19187. no pending streams, choose a good general exit rather than one that
  19188. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  19189. - Send a valid END cell back when a client tries to connect to a
  19190. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  19191. 840. Patch from rovv.
  19192. - If a broken client asks a non-exit router to connect somewhere,
  19193. do not even do the DNS lookup before rejecting the connection.
  19194. Fixes another case of bug 619. Patch from rovv.
  19195. - Fix another case of assuming, when a specific exit is requested,
  19196. that we know more than the user about what hosts it allows.
  19197. Fixes another case of bug 752. Patch from rovv.
  19198. - Check which hops rendezvous stream cells are associated with to
  19199. prevent possible guess-the-streamid injection attacks from
  19200. intermediate hops. Fixes another case of bug 446. Based on patch
  19201. from rovv.
  19202. - Avoid using a negative right-shift when comparing 32-bit
  19203. addresses. Possible fix for bug 845 and bug 811.
  19204. - Make the assert_circuit_ok() function work correctly on circuits that
  19205. have already been marked for close.
  19206. - Fix read-off-the-end-of-string error in unit tests when decoding
  19207. introduction points.
  19208. - Fix uninitialized size field for memory area allocation: may improve
  19209. memory performance during directory parsing.
  19210. - Treat duplicate certificate fetches as failures, so that we do
  19211. not try to re-fetch an expired certificate over and over and over.
  19212. - Do not say we're fetching a certificate when we'll in fact skip it
  19213. because of a pending download.
  19214. Changes in version 0.2.1.6-alpha - 2008-09-30
  19215. Tor 0.2.1.6-alpha further improves performance and robustness of
  19216. hidden services, starts work on supporting per-country relay selection,
  19217. and fixes a variety of smaller issues.
  19218. o Major features:
  19219. - Implement proposal 121: make it possible to build hidden services
  19220. that only certain clients are allowed to connect to. This is
  19221. enforced at several points, so that unauthorized clients are unable
  19222. to send INTRODUCE cells to the service, or even (depending on the
  19223. type of authentication) to learn introduction points. This feature
  19224. raises the bar for certain kinds of active attacks against hidden
  19225. services. Code by Karsten Loesing.
  19226. - Relays now store and serve v2 hidden service descriptors by default,
  19227. i.e., the new default value for HidServDirectoryV2 is 1. This is
  19228. the last step in proposal 114, which aims to make hidden service
  19229. lookups more reliable.
  19230. - Start work to allow node restrictions to include country codes. The
  19231. syntax to exclude nodes in a country with country code XX is
  19232. "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
  19233. refinement to decide what config options should take priority if
  19234. you ask to both use a particular node and exclude it.
  19235. - Allow ExitNodes list to include IP ranges and country codes, just
  19236. like the Exclude*Nodes lists. Patch from Robert Hogan.
  19237. o Major bugfixes:
  19238. - Fix a bug when parsing ports in tor_addr_port_parse() that caused
  19239. Tor to fail to start if you had it configured to use a bridge
  19240. relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
  19241. - When extending a circuit to a hidden service directory to upload a
  19242. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  19243. requests failed, because the router descriptor had not been
  19244. downloaded yet. In these cases, we now wait until the router
  19245. descriptor is downloaded, and then retry. Likewise, clients
  19246. now skip over a hidden service directory if they don't yet have
  19247. its router descriptor, rather than futilely requesting it and
  19248. putting mysterious complaints in the logs. Fixes bug 767. Bugfix
  19249. on 0.2.0.10-alpha.
  19250. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  19251. we were failing the whole hidden service request when the v0
  19252. descriptor fetch fails, even if the v2 fetch is still pending and
  19253. might succeed. Similarly, if the last v2 fetch fails, we were
  19254. failing the whole hidden service request even if a v0 fetch is
  19255. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  19256. - DNS replies need to have names matching their requests, but
  19257. these names should be in the questions section, not necessarily
  19258. in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
  19259. o Minor features:
  19260. - Update to the "September 1 2008" ip-to-country file.
  19261. - Allow ports 465 and 587 in the default exit policy again. We had
  19262. rejected them in 0.1.0.15, because back in 2005 they were commonly
  19263. misconfigured and ended up as spam targets. We hear they are better
  19264. locked down these days.
  19265. - Use a lockfile to make sure that two Tor processes are not
  19266. simultaneously running with the same datadir.
  19267. - Serve the latest v3 networkstatus consensus via the control
  19268. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  19269. - Better logging about stability/reliability calculations on directory
  19270. servers.
  19271. - Drop the requirement to have an open dir port for storing and
  19272. serving v2 hidden service descriptors.
  19273. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  19274. help debug WFU and MTBF calculations.
  19275. - Implement most of Proposal 152: allow specialized servers to permit
  19276. single-hop circuits, and clients to use those servers to build
  19277. single-hop circuits when using a specialized controller. Patch
  19278. from Josh Albrecht. Resolves feature request 768.
  19279. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  19280. people find host:port too confusing.
  19281. - Make TrackHostExit mappings expire a while after their last use, not
  19282. after their creation. Patch from Robert Hogan.
  19283. - Provide circuit purposes along with circuit events to the controller.
  19284. o Minor bugfixes:
  19285. - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
  19286. Reported by Tas.
  19287. - Fixed some memory leaks -- some quite frequent, some almost
  19288. impossible to trigger -- based on results from Coverity.
  19289. - When testing for libevent functions, set the LDFLAGS variable
  19290. correctly. Found by Riastradh.
  19291. - Fix an assertion bug in parsing policy-related options; possible fix
  19292. for bug 811.
  19293. - Catch and report a few more bootstrapping failure cases when Tor
  19294. fails to establish a TCP connection. Cleanup on 0.2.1.x.
  19295. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  19296. bootstrapping with tunneled directory connections. Bugfix on
  19297. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  19298. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  19299. and we know that server B rejects most-but-not all connections to
  19300. port 80, we would previously reject the connection. Now, we assume
  19301. the user knows what they were asking for. Fixes bug 752. Bugfix
  19302. on 0.0.9rc5. Diagnosed by BarkerJr.
  19303. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  19304. service directories if they have no advertised dir port. Bugfix
  19305. on 0.2.0.10-alpha.
  19306. - If we overrun our per-second write limits a little, count this as
  19307. having used up our write allocation for the second, and choke
  19308. outgoing directory writes. Previously, we had only counted this when
  19309. we had met our limits precisely. Fixes bug 824. Patch by rovv.
  19310. Bugfix on 0.2.0.x (??).
  19311. - Avoid a "0 divided by 0" calculation when calculating router uptime
  19312. at directory authorities. Bugfix on 0.2.0.8-alpha.
  19313. - Make DNS resolved controller events into "CLOSED", not
  19314. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  19315. bug 807.
  19316. - Fix a bug where an unreachable relay would establish enough
  19317. reachability testing circuits to do a bandwidth test -- if
  19318. we already have a connection to the middle hop of the testing
  19319. circuit, then it could establish the last hop by using the existing
  19320. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  19321. circuits no longer use entry guards in 0.2.1.3-alpha.
  19322. - If we have correct permissions on $datadir, we complain to stdout
  19323. and fail to start. But dangerous permissions on
  19324. $datadir/cached-status/ would cause us to open a log and complain
  19325. there. Now complain to stdout and fail to start in both cases. Fixes
  19326. bug 820, reported by seeess.
  19327. - Remove the old v2 directory authority 'lefkada' from the default
  19328. list. It has been gone for many months.
  19329. o Code simplifications and refactoring:
  19330. - Revise the connection_new functions so that a more typesafe variant
  19331. exists. This will work better with Coverity, and let us find any
  19332. actual mistakes we're making here.
  19333. - Refactor unit testing logic so that dmalloc can be used sensibly
  19334. with unit tests to check for memory leaks.
  19335. - Move all hidden-service related fields from connection and circuit
  19336. structure to substructures: this way they won't eat so much memory.
  19337. Changes in version 0.2.0.31 - 2008-09-03
  19338. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  19339. a big bug we're seeing where in rare cases traffic from one Tor stream
  19340. gets mixed into another stream, and fixes a variety of smaller issues.
  19341. o Major bugfixes:
  19342. - Make sure that two circuits can never exist on the same connection
  19343. with the same circuit ID, even if one is marked for close. This
  19344. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  19345. - Relays now reject risky extend cells: if the extend cell includes
  19346. a digest of all zeroes, or asks to extend back to the relay that
  19347. sent the extend cell, tear down the circuit. Ideas suggested
  19348. by rovv.
  19349. - If not enough of our entry guards are available so we add a new
  19350. one, we might use the new one even if it overlapped with the
  19351. current circuit's exit relay (or its family). Anonymity bugfix
  19352. pointed out by rovv.
  19353. o Minor bugfixes:
  19354. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  19355. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  19356. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  19357. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  19358. - Pick size of default geoip filename string correctly on windows.
  19359. Fixes bug 806. Bugfix on 0.2.0.30.
  19360. - Make the autoconf script accept the obsolete --with-ssl-dir
  19361. option as an alias for the actually-working --with-openssl-dir
  19362. option. Fix the help documentation to recommend --with-openssl-dir.
  19363. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  19364. - When using the TransPort option on OpenBSD, and using the User
  19365. option to change UID and drop privileges, make sure to open
  19366. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  19367. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  19368. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  19369. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  19370. on the client side when connecting to a hidden service. Bugfix
  19371. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  19372. - When closing an application-side connection because its circuit is
  19373. getting torn down, generate the stream event correctly. Bugfix on
  19374. 0.1.2.x. Anonymous patch.
  19375. Changes in version 0.2.1.5-alpha - 2008-08-31
  19376. Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
  19377. in a lot of the infrastructure for adding authorization to hidden
  19378. services, lays the groundwork for having clients read their load
  19379. balancing information out of the networkstatus consensus rather than
  19380. the individual router descriptors, addresses two potential anonymity
  19381. issues, and fixes a variety of smaller issues.
  19382. o Major features:
  19383. - Convert many internal address representations to optionally hold
  19384. IPv6 addresses.
  19385. - Generate and accept IPv6 addresses in many protocol elements.
  19386. - Make resolver code handle nameservers located at ipv6 addresses.
  19387. - Begin implementation of proposal 121 ("Client authorization for
  19388. hidden services"): configure hidden services with client
  19389. authorization, publish descriptors for them, and configure
  19390. authorization data for hidden services at clients. The next
  19391. step is to actually access hidden services that perform client
  19392. authorization.
  19393. - More progress toward proposal 141: Network status consensus
  19394. documents and votes now contain bandwidth information for each
  19395. router and a summary of that router's exit policy. Eventually this
  19396. will be used by clients so that they do not have to download every
  19397. known descriptor before building circuits.
  19398. o Major bugfixes (on 0.2.0.x and before):
  19399. - When sending CREATED cells back for a given circuit, use a 64-bit
  19400. connection ID to find the right connection, rather than an addr:port
  19401. combination. Now that we can have multiple OR connections between
  19402. the same ORs, it is no longer possible to use addr:port to uniquely
  19403. identify a connection.
  19404. - Relays now reject risky extend cells: if the extend cell includes
  19405. a digest of all zeroes, or asks to extend back to the relay that
  19406. sent the extend cell, tear down the circuit. Ideas suggested
  19407. by rovv.
  19408. - If not enough of our entry guards are available so we add a new
  19409. one, we might use the new one even if it overlapped with the
  19410. current circuit's exit relay (or its family). Anonymity bugfix
  19411. pointed out by rovv.
  19412. o Minor bugfixes:
  19413. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  19414. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  19415. - When using the TransPort option on OpenBSD, and using the User
  19416. option to change UID and drop privileges, make sure to open /dev/pf
  19417. before dropping privileges. Fixes bug 782. Patch from Christopher
  19418. Davis. Bugfix on 0.1.2.1-alpha.
  19419. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  19420. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  19421. - Add a missing safe_str() call for a debug log message.
  19422. - Use 64 bits instead of 32 bits for connection identifiers used with
  19423. the controller protocol, to greatly reduce risk of identifier reuse.
  19424. - Make the autoconf script accept the obsolete --with-ssl-dir
  19425. option as an alias for the actually-working --with-openssl-dir
  19426. option. Fix the help documentation to recommend --with-openssl-dir.
  19427. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  19428. o Minor features:
  19429. - Rate-limit too-many-sockets messages: when they happen, they happen
  19430. a lot. Resolves bug 748.
  19431. - Resist DNS poisoning a little better by making sure that names in
  19432. answer sections match.
  19433. - Print the SOCKS5 error message string as well as the error code
  19434. when a tor-resolve request fails. Patch from Jacob.
  19435. Changes in version 0.2.1.4-alpha - 2008-08-04
  19436. Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
  19437. o Major bugfixes:
  19438. - The address part of exit policies was not correctly written
  19439. to router descriptors. This generated router descriptors that failed
  19440. their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
  19441. on 0.2.1.3-alpha.
  19442. - Tor triggered a false assert when extending a circuit to a relay
  19443. but we already have a connection open to that relay. Noticed by
  19444. phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
  19445. o Minor bugfixes:
  19446. - Fix a hidden service logging bug: in some edge cases, the router
  19447. descriptor of a previously picked introduction point becomes
  19448. obsolete and we need to give up on it rather than continually
  19449. complaining that it has become obsolete. Observed by xiando. Bugfix
  19450. on 0.2.1.3-alpha.
  19451. o Removed features:
  19452. - Take out the TestVia config option, since it was a workaround for
  19453. a bug that was fixed in Tor 0.1.1.21.
  19454. Changes in version 0.2.1.3-alpha - 2008-08-03
  19455. Tor 0.2.1.3-alpha implements most of the pieces to prevent
  19456. infinite-length circuit attacks (see proposal 110); fixes a bug that
  19457. might cause exit relays to corrupt streams they send back; allows
  19458. address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
  19459. ExcludeExitNodes config options; and fixes a big pile of bugs.
  19460. o Bootstrapping bugfixes (on 0.2.1.x-alpha):
  19461. - Send a bootstrap problem "warn" event on the first problem if the
  19462. reason is NO_ROUTE (that is, our network is down).
  19463. o Major features:
  19464. - Implement most of proposal 110: The first K cells to be sent
  19465. along a circuit are marked as special "early" cells; only K "early"
  19466. cells will be allowed. Once this code is universal, we can block
  19467. certain kinds of DOS attack by requiring that EXTEND commands must
  19468. be sent using an "early" cell.
  19469. o Major bugfixes:
  19470. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  19471. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  19472. on the client side when connecting to a hidden service. Bugfix
  19473. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  19474. - Ensure that two circuits can never exist on the same connection
  19475. with the same circuit ID, even if one is marked for close. This
  19476. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  19477. o Minor features:
  19478. - When relays do their initial bandwidth measurement, don't limit
  19479. to just our entry guards for the test circuits. Otherwise we tend
  19480. to have multiple test circuits going through a single entry guard,
  19481. which makes our bandwidth test less accurate. Fixes part of bug 654;
  19482. patch contributed by Josh Albrecht.
  19483. - Add an ExcludeExitNodes option so users can list a set of nodes
  19484. that should be be excluded from the exit node position, but
  19485. allowed elsewhere. Implements proposal 151.
  19486. - Allow address patterns (e.g., 255.128.0.0/16) to appear in
  19487. ExcludeNodes and ExcludeExitNodes lists.
  19488. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  19489. be more efficient. Formerly it was quadratic in the number of
  19490. servers; now it should be linear. Fixes bug 509.
  19491. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  19492. and n_conn_id_digest fields into a separate structure that's
  19493. only needed when the circuit has not yet attached to an n_conn.
  19494. o Minor bugfixes:
  19495. - Change the contrib/tor.logrotate script so it makes the new
  19496. logs as "_tor:_tor" rather than the default, which is generally
  19497. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  19498. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  19499. warnings (occasionally), but it can also cause the compiler to
  19500. eliminate error-checking code. Suggested by Peter Gutmann.
  19501. - When a hidden service is giving up on an introduction point candidate
  19502. that was not included in the last published rendezvous descriptor,
  19503. don't reschedule publication of the next descriptor. Fixes bug 763.
  19504. Bugfix on 0.0.9.3.
  19505. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  19506. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  19507. and nobody claims to be using them. Fixes bug 754. Bugfix on
  19508. 0.1.0.1-rc. Patch from Christian Wilms.
  19509. - Fix a small alignment and memory-wasting bug on buffer chunks.
  19510. Spotted by rovv.
  19511. o Minor bugfixes (controller):
  19512. - When closing an application-side connection because its circuit
  19513. is getting torn down, generate the stream event correctly.
  19514. Bugfix on 0.1.2.x. Anonymous patch.
  19515. o Removed features:
  19516. - Remove all backward-compatibility code to support relays running
  19517. versions of Tor so old that they no longer work at all on the
  19518. Tor network.
  19519. Changes in version 0.2.0.30 - 2008-07-15
  19520. o Minor bugfixes:
  19521. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  19522. warnings (occasionally), but it can also cause the compiler to
  19523. eliminate error-checking code. Suggested by Peter Gutmann.
  19524. Changes in version 0.2.0.29-rc - 2008-07-08
  19525. Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
  19526. hidden-service performance bugs, and fixes a bunch of smaller bugs.
  19527. o Major bugfixes:
  19528. - If you have more than one bridge but don't know their keys,
  19529. you would only launch a request for the descriptor of the first one
  19530. on your list. (Tor considered launching requests for the others, but
  19531. found that it already had a connection on the way for $0000...0000
  19532. so it didn't open another.) Bugfix on 0.2.0.x.
  19533. - If you have more than one bridge but don't know their keys, and the
  19534. connection to one of the bridges failed, you would cancel all
  19535. pending bridge connections. (After all, they all have the same
  19536. digest.) Bugfix on 0.2.0.x.
  19537. - When a hidden service was trying to establish an introduction point,
  19538. and Tor had built circuits preemptively for such purposes, we
  19539. were ignoring all the preemptive circuits and launching a new one
  19540. instead. Bugfix on 0.2.0.14-alpha.
  19541. - When a hidden service was trying to establish an introduction point,
  19542. and Tor *did* manage to reuse one of the preemptively built
  19543. circuits, it didn't correctly remember which one it used,
  19544. so it asked for another one soon after, until there were no
  19545. more preemptive circuits, at which point it launched one from
  19546. scratch. Bugfix on 0.0.9.x.
  19547. - Make directory servers include the X-Your-Address-Is: http header in
  19548. their responses even for begin_dir conns. Now clients who only
  19549. ever use begin_dir connections still have a way to learn their IP
  19550. address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
  19551. o Minor bugfixes:
  19552. - Fix a macro/CPP interaction that was confusing some compilers:
  19553. some GCCs don't like #if/#endif pairs inside macro arguments.
  19554. Fixes bug 707.
  19555. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  19556. Fixes bug 704; fix from Steven Murdoch.
  19557. - When opening /dev/null in finish_daemonize(), do not pass the
  19558. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  19559. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  19560. - Correctly detect transparent proxy support on Linux hosts that
  19561. require in.h to be included before netfilter_ipv4.h. Patch
  19562. from coderman.
  19563. - Disallow session resumption attempts during the renegotiation
  19564. stage of the v2 handshake protocol. Clients should never be trying
  19565. session resumption at this point, but apparently some did, in
  19566. ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
  19567. found by Geoff Goodell.
  19568. Changes in version 0.2.1.2-alpha - 2008-06-20
  19569. Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
  19570. make it easier to set up your own private Tor network; fixes several
  19571. big bugs with using more than one bridge relay; fixes a big bug with
  19572. offering hidden services quickly after Tor starts; and uses a better
  19573. API for reporting potential bootstrapping problems to the controller.
  19574. o Major features:
  19575. - New TestingTorNetwork config option to allow adjustment of
  19576. previously constant values that, while reasonable, could slow
  19577. bootstrapping. Implements proposal 135. Patch from Karsten.
  19578. o Major bugfixes:
  19579. - If you have more than one bridge but don't know their digests,
  19580. you would only learn a request for the descriptor of the first one
  19581. on your list. (Tor considered launching requests for the others, but
  19582. found that it already had a connection on the way for $0000...0000
  19583. so it didn't open another.) Bugfix on 0.2.0.x.
  19584. - If you have more than one bridge but don't know their digests,
  19585. and the connection to one of the bridges failed, you would cancel
  19586. all pending bridge connections. (After all, they all have the
  19587. same digest.) Bugfix on 0.2.0.x.
  19588. - When establishing a hidden service, introduction points that
  19589. originate from cannibalized circuits are completely ignored and not
  19590. included in rendezvous service descriptors. This might be another
  19591. reason for delay in making a hidden service available. Bugfix
  19592. from long ago (0.0.9.x?)
  19593. o Minor features:
  19594. - Allow OpenSSL to use dynamic locks if it wants.
  19595. - When building a consensus, do not include routers that are down.
  19596. This will cut down 30% to 40% on consensus size. Implements
  19597. proposal 138.
  19598. - In directory authorities' approved-routers files, allow
  19599. fingerprints with or without space.
  19600. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  19601. controller can query our current bootstrap state in case it attaches
  19602. partway through and wants to catch up.
  19603. - Send an initial "Starting" bootstrap status event, so we have a
  19604. state to start out in.
  19605. o Minor bugfixes:
  19606. - Asking for a conditional consensus at .../consensus/<fingerprints>
  19607. would crash a dirserver if it did not already have a
  19608. consensus. Bugfix on 0.2.1.1-alpha.
  19609. - Clean up some macro/CPP interactions: some GCC versions don't like
  19610. #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
  19611. 0.2.0.x.
  19612. o Bootstrapping bugfixes (on 0.2.1.1-alpha):
  19613. - Directory authorities shouldn't complain about bootstrapping
  19614. problems just because they do a lot of reachability testing and
  19615. some of the connection attempts fail.
  19616. - Start sending "count" and "recommendation" key/value pairs in
  19617. bootstrap problem status events, so the controller can hear about
  19618. problems even before Tor decides they're worth reporting for sure.
  19619. - If you're using bridges, generate "bootstrap problem" warnings
  19620. as soon as you run out of working bridges, rather than waiting
  19621. for ten failures -- which will never happen if you have less than
  19622. ten bridges.
  19623. - If we close our OR connection because there's been a circuit
  19624. pending on it for too long, we were telling our bootstrap status
  19625. events "REASON=NONE". Now tell them "REASON=TIMEOUT".
  19626. Changes in version 0.2.1.1-alpha - 2008-06-13
  19627. Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
  19628. were making the Tor process bloat especially on Linux; makes our TLS
  19629. handshake blend in better; sends "bootstrap phase" status events to
  19630. the controller, so it can keep the user informed of progress (and
  19631. problems) fetching directory information and establishing circuits;
  19632. and adds a variety of smaller features.
  19633. o Major features:
  19634. - More work on making our TLS handshake blend in: modify the list
  19635. of ciphers advertised by OpenSSL in client mode to even more
  19636. closely resemble a common web browser. We cheat a little so that
  19637. we can advertise ciphers that the locally installed OpenSSL doesn't
  19638. know about.
  19639. - Start sending "bootstrap phase" status events to the controller,
  19640. so it can keep the user informed of progress fetching directory
  19641. information and establishing circuits. Also inform the controller
  19642. if we think we're stuck at a particular bootstrap phase. Implements
  19643. proposal 137.
  19644. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  19645. cross-platform entropy collection again. We used to use it, then
  19646. stopped using it because of a bug that could crash systems that
  19647. called RAND_poll when they had a lot of fds open. It looks like the
  19648. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  19649. at startup, and to call RAND_poll() when we reseed later only if
  19650. we have a non-buggy OpenSSL version.
  19651. o Major bugfixes:
  19652. - When we choose to abandon a new entry guard because we think our
  19653. older ones might be better, close any circuits pending on that
  19654. new entry guard connection. This fix should make us recover much
  19655. faster when our network is down and then comes back. Bugfix on
  19656. 0.1.2.8-beta; found by lodger.
  19657. o Memory fixes and improvements:
  19658. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  19659. to avoid unused RAM in buffer chunks and memory pools.
  19660. - Speed up parsing and cut down on memory fragmentation by using
  19661. stack-style allocations for parsing directory objects. Previously,
  19662. this accounted for over 40% of allocations from within Tor's code
  19663. on a typical directory cache.
  19664. - Use a Bloom filter rather than a digest-based set to track which
  19665. descriptors we need to keep around when we're cleaning out old
  19666. router descriptors. This speeds up the computation significantly,
  19667. and may reduce fragmentation.
  19668. - Reduce the default smartlist size from 32 to 16; it turns out that
  19669. most smartlists hold around 8-12 elements tops.
  19670. - Make dumpstats() log the fullness and size of openssl-internal
  19671. buffers.
  19672. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  19673. patch to their OpenSSL, turn it on to save memory on servers. This
  19674. patch will (with any luck) get included in a mainline distribution
  19675. before too long.
  19676. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  19677. compress cells, which are basically all encrypted, compressed,
  19678. or both.
  19679. o Minor bugfixes:
  19680. - Stop reloading the router list from disk for no reason when we
  19681. run out of reachable directory mirrors. Once upon a time reloading
  19682. it would set the 'is_running' flag back to 1 for them. It hasn't
  19683. done that for a long time.
  19684. - In very rare situations new hidden service descriptors were
  19685. published earlier than 30 seconds after the last change to the
  19686. service. (We currently think that a hidden service descriptor
  19687. that's been stable for 30 seconds is worth publishing.)
  19688. o Minor features:
  19689. - Allow separate log levels to be configured for different logging
  19690. domains. For example, this allows one to log all notices, warnings,
  19691. or errors, plus all memory management messages of level debug or
  19692. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  19693. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  19694. and stop using a warning that had become unfixably verbose under
  19695. GCC 4.3.
  19696. - New --hush command-line option similar to --quiet. While --quiet
  19697. disables all logging to the console on startup, --hush limits the
  19698. output to messages of warning and error severity.
  19699. - Servers support a new URL scheme for consensus downloads that
  19700. allows the client to specify which authorities are trusted.
  19701. The server then only sends the consensus if the client will trust
  19702. it. Otherwise a 404 error is sent back. Clients use this
  19703. new scheme when the server supports it (meaning it's running
  19704. 0.2.1.1-alpha or later). Implements proposal 134.
  19705. - New configure/torrc options (--enable-geoip-stats,
  19706. DirRecordUsageByCountry) to record how many IPs we've served
  19707. directory info to in each country code, how many status documents
  19708. total we've sent to each country code, and what share of the total
  19709. directory requests we should expect to see.
  19710. - Use the TLS1 hostname extension to more closely resemble browser
  19711. behavior.
  19712. - Lots of new unit tests.
  19713. - Add a macro to implement the common pattern of iterating through
  19714. two parallel lists in lockstep.
  19715. Changes in version 0.2.0.28-rc - 2008-06-13
  19716. Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
  19717. performance bug, and fixes a bunch of smaller bugs.
  19718. o Anonymity fixes:
  19719. - Fix a bug where, when we were choosing the 'end stream reason' to
  19720. put in our relay end cell that we send to the exit relay, Tor
  19721. clients on Windows were sometimes sending the wrong 'reason'. The
  19722. anonymity problem is that exit relays may be able to guess whether
  19723. the client is running Windows, thus helping partition the anonymity
  19724. set. Down the road we should stop sending reasons to exit relays,
  19725. or otherwise prevent future versions of this bug.
  19726. o Major bugfixes:
  19727. - While setting up a hidden service, some valid introduction circuits
  19728. were overlooked and abandoned. This might be the reason for
  19729. the long delay in making a hidden service available. Bugfix on
  19730. 0.2.0.14-alpha.
  19731. o Minor features:
  19732. - Update to the "June 9 2008" ip-to-country file.
  19733. - Run 'make test' as part of 'make dist', so we stop releasing so
  19734. many development snapshots that fail their unit tests.
  19735. o Minor bugfixes:
  19736. - When we're checking if we have enough dir info for each relay
  19737. to begin establishing circuits, make sure that we actually have
  19738. the descriptor listed in the consensus, not just any descriptor.
  19739. Bugfix on 0.1.2.x.
  19740. - Bridge relays no longer print "xx=0" in their extrainfo document
  19741. for every single country code in the geoip db. Bugfix on
  19742. 0.2.0.27-rc.
  19743. - Only warn when we fail to load the geoip file if we were planning to
  19744. include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
  19745. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  19746. Tor won't realize it should publish a new relay descriptor. Fixes
  19747. bug 688, reported by mfr. Bugfix on 0.1.2.x.
  19748. - When we haven't had any application requests lately, don't bother
  19749. logging that we have expired a bunch of descriptors. Bugfix
  19750. on 0.1.2.x.
  19751. - Make relay cells written on a connection count as non-padding when
  19752. tracking how long a connection has been in use. Bugfix on
  19753. 0.2.0.1-alpha. Spotted by lodger.
  19754. - Fix unit tests in 0.2.0.27-rc.
  19755. - Fix compile on Windows.
  19756. Changes in version 0.2.0.27-rc - 2008-06-03
  19757. Tor 0.2.0.27-rc adds a few features we left out of the earlier
  19758. release candidates. In particular, we now include an IP-to-country
  19759. GeoIP database, so controllers can easily look up what country a
  19760. given relay is in, and so bridge relays can give us some sanitized
  19761. summaries about which countries are making use of bridges. (See proposal
  19762. 126-geoip-fetching.txt for details.)
  19763. o Major features:
  19764. - Include an IP-to-country GeoIP file in the tarball, so bridge
  19765. relays can report sanitized summaries of the usage they're seeing.
  19766. o Minor features:
  19767. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  19768. Robert Hogan. Fixes the first part of bug 681.
  19769. - Make bridge authorities never serve extrainfo docs.
  19770. - Add support to detect Libevent versions in the 1.4.x series
  19771. on mingw.
  19772. - Fix build on gcc 4.3 with --enable-gcc-warnings set.
  19773. - Include a new contrib/tor-exit-notice.html file that exit relay
  19774. operators can put on their website to help reduce abuse queries.
  19775. o Minor bugfixes:
  19776. - When tunneling an encrypted directory connection, and its first
  19777. circuit fails, do not leave it unattached and ask the controller
  19778. to deal. Fixes the second part of bug 681.
  19779. - Make bridge authorities correctly expire old extrainfo documents
  19780. from time to time.
  19781. Changes in version 0.2.0.26-rc - 2008-05-13
  19782. Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
  19783. in Debian's OpenSSL packages. All users running any 0.2.0.x version
  19784. should upgrade, whether they're running Debian or not.
  19785. o Major security fixes:
  19786. - Use new V3 directory authority keys on the tor26, gabelmoo, and
  19787. moria1 V3 directory authorities. The old keys were generated with
  19788. a vulnerable version of Debian's OpenSSL package, and must be
  19789. considered compromised. Other authorities' keys were not generated
  19790. with an affected version of OpenSSL.
  19791. o Major bugfixes:
  19792. - List authority signatures as "unrecognized" based on DirServer
  19793. lines, not on cert cache. Bugfix on 0.2.0.x.
  19794. o Minor features:
  19795. - Add a new V3AuthUseLegacyKey option to make it easier for
  19796. authorities to change their identity keys if they have to.
  19797. Changes in version 0.2.0.25-rc - 2008-04-23
  19798. Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
  19799. o Major bugfixes:
  19800. - Remember to initialize threading before initializing logging.
  19801. Otherwise, many BSD-family implementations will crash hard on
  19802. startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
  19803. o Minor bugfixes:
  19804. - Authorities correctly free policies on bad servers on
  19805. exit. Fixes bug 672. Bugfix on 0.2.0.x.
  19806. Changes in version 0.2.0.24-rc - 2008-04-22
  19807. Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
  19808. v3 directory authority, makes relays with dynamic IP addresses and no
  19809. DirPort notice more quickly when their IP address changes, fixes a few
  19810. rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
  19811. o New directory authorities:
  19812. - Take lefkada out of the list of v3 directory authorities, since
  19813. it has been down for months.
  19814. - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
  19815. authority.
  19816. o Major bugfixes:
  19817. - Detect address changes more quickly on non-directory mirror
  19818. relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
  19819. o Minor features (security):
  19820. - Reject requests for reverse-dns lookup of names that are in
  19821. a private address space. Patch from lodger.
  19822. - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
  19823. from lodger.
  19824. o Minor bugfixes (crashes):
  19825. - Avoid a rare assert that can trigger when Tor doesn't have much
  19826. directory information yet and it tries to fetch a v2 hidden
  19827. service descriptor. Fixes bug 651, reported by nwf.
  19828. - Initialize log mutex before initializing dmalloc. Otherwise,
  19829. running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
  19830. - Use recursive pthread mutexes in order to avoid deadlock when
  19831. logging debug-level messages to a controller. Bug spotted by nwf,
  19832. bugfix on 0.2.0.16-alpha.
  19833. o Minor bugfixes (resource management):
  19834. - Keep address policies from leaking memory: start their refcount
  19835. at 1, not 2. Bugfix on 0.2.0.16-alpha.
  19836. - Free authority certificates on exit, so they don't look like memory
  19837. leaks. Bugfix on 0.2.0.19-alpha.
  19838. - Free static hashtables for policy maps and for TLS connections on
  19839. shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
  19840. - Avoid allocating extra space when computing consensuses on 64-bit
  19841. platforms. Bug spotted by aakova.
  19842. o Minor bugfixes (misc):
  19843. - Do not read the configuration file when we've only been told to
  19844. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  19845. based on patch from Sebastian Hahn.
  19846. - Exit relays that are used as a client can now reach themselves
  19847. using the .exit notation, rather than just launching an infinite
  19848. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  19849. - When attempting to open a logfile fails, tell us why.
  19850. - Fix a dumb bug that was preventing us from knowing that we should
  19851. preemptively build circuits to handle expected directory requests.
  19852. Fixes bug 660. Bugfix on 0.1.2.x.
  19853. - Warn less verbosely about clock skew from netinfo cells from
  19854. untrusted sources. Fixes bug 663.
  19855. - Make controller stream events for DNS requests more consistent,
  19856. by adding "new stream" events for DNS requests, and removing
  19857. spurious "stream closed" events" for cached reverse resolves.
  19858. Patch from mwenge. Fixes bug 646.
  19859. - Correctly notify one-hop connections when a circuit build has
  19860. failed. Possible fix for bug 669. Found by lodger.
  19861. Changes in version 0.2.0.23-rc - 2008-03-24
  19862. Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
  19863. makes bootstrapping faster if the first directory mirror you contact
  19864. is down. The bundles also include the new Vidalia 0.1.2 release.
  19865. o Major bugfixes:
  19866. - When a tunneled directory request is made to a directory server
  19867. that's down, notice after 30 seconds rather than 120 seconds. Also,
  19868. fail any begindir streams that are pending on it, so they can
  19869. retry elsewhere. This was causing multi-minute delays on bootstrap.
  19870. Changes in version 0.2.0.22-rc - 2008-03-18
  19871. Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
  19872. enables encrypted directory connections by default for non-relays, fixes
  19873. some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
  19874. other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
  19875. o Major features:
  19876. - Enable encrypted directory connections by default for non-relays,
  19877. so censor tools that block Tor directory connections based on their
  19878. plaintext patterns will no longer work. This means Tor works in
  19879. certain censored countries by default again.
  19880. o Major bugfixes:
  19881. - Make sure servers always request certificates from clients during
  19882. TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
  19883. - Do not enter a CPU-eating loop when a connection is closed in
  19884. the middle of client-side TLS renegotiation. Fixes bug 622. Bug
  19885. diagnosed by lodger; bugfix on 0.2.0.20-rc.
  19886. - Fix assertion failure that could occur when a blocked circuit
  19887. became unblocked, and it had pending client DNS requests. Bugfix
  19888. on 0.2.0.1-alpha. Fixes bug 632.
  19889. o Minor bugfixes (on 0.1.2.x):
  19890. - Generate "STATUS_SERVER" events rather than misspelled
  19891. "STATUS_SEVER" events. Caught by mwenge.
  19892. - When counting the number of bytes written on a TLS connection,
  19893. look at the BIO actually used for writing to the network, not
  19894. at the BIO used (sometimes) to buffer data for the network.
  19895. Looking at different BIOs could result in write counts on the
  19896. order of ULONG_MAX. Fixes bug 614.
  19897. - On Windows, correctly detect errors when listing the contents of
  19898. a directory. Fix from lodger.
  19899. o Minor bugfixes (on 0.2.0.x):
  19900. - Downgrade "sslv3 alert handshake failure" message to INFO.
  19901. - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
  19902. left BandwidthRate and BandwidthBurst at the default, we would be
  19903. silently limited by those defaults. Now raise them to match the
  19904. RelayBandwidth* values.
  19905. - Fix the SVK version detection logic to work correctly on a branch.
  19906. - Make --enable-openbsd-malloc work correctly on Linux with alpha
  19907. CPUs. Fixes bug 625.
  19908. - Logging functions now check that the passed severity is sane.
  19909. - Use proper log levels in the testsuite call of
  19910. get_interface_address6().
  19911. - When using a nonstandard malloc, do not use the platform values for
  19912. HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
  19913. - Make the openbsd malloc code use 8k pages on alpha CPUs and
  19914. 16k pages on ia64.
  19915. - Detect mismatched page sizes when using --enable-openbsd-malloc.
  19916. - Avoid double-marked-for-close warning when certain kinds of invalid
  19917. .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
  19918. for bug 617. Bugfix on 0.2.0.1-alpha.
  19919. - Make sure that the "NULL-means-reject *:*" convention is followed by
  19920. all the policy manipulation functions, avoiding some possible crash
  19921. bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
  19922. - Fix the implementation of ClientDNSRejectInternalAddresses so that it
  19923. actually works, and doesn't warn about every single reverse lookup.
  19924. Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
  19925. o Minor features:
  19926. - Only log guard node status when guard node status has changed.
  19927. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  19928. make "INFO" 75% less verbose.
  19929. Changes in version 0.2.0.21-rc - 2008-03-02
  19930. Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
  19931. makes Tor work well with Vidalia again, fixes a rare assert bug,
  19932. and fixes a pair of more minor bugs. The bundles also include Vidalia
  19933. 0.1.0 and Torbutton 1.1.16.
  19934. o Major bugfixes:
  19935. - The control port should declare that it requires password auth
  19936. when HashedControlSessionPassword is set too. Patch from Matt Edman;
  19937. bugfix on 0.2.0.20-rc. Fixes bug 615.
  19938. - Downgrade assert in connection_buckets_decrement() to a log message.
  19939. This may help us solve bug 614, and in any case will make its
  19940. symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
  19941. - We were sometimes miscounting the number of bytes read from the
  19942. network, causing our rate limiting to not be followed exactly.
  19943. Bugfix on 0.2.0.16-alpha. Reported by lodger.
  19944. o Minor bugfixes:
  19945. - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
  19946. OpenSSL versions should have been working fine. Diagnosis and patch
  19947. from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
  19948. Bugfix on 0.2.0.20-rc.
  19949. Changes in version 0.2.0.20-rc - 2008-02-24
  19950. Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
  19951. makes more progress towards normalizing Tor's TLS handshake, makes
  19952. hidden services work better again, helps relays bootstrap if they don't
  19953. know their IP address, adds optional support for linking in openbsd's
  19954. allocator or tcmalloc, allows really fast relays to scale past 15000
  19955. sockets, and fixes a bunch of minor bugs reported by Veracode.
  19956. o Major features:
  19957. - Enable the revised TLS handshake based on the one designed by
  19958. Steven Murdoch in proposal 124, as revised in proposal 130. It
  19959. includes version negotiation for OR connections as described in
  19960. proposal 105. The new handshake is meant to be harder for censors
  19961. to fingerprint, and it adds the ability to detect certain kinds of
  19962. man-in-the-middle traffic analysis attacks. The version negotiation
  19963. feature will allow us to improve Tor's link protocol more safely
  19964. in the future.
  19965. - Choose which bridge to use proportional to its advertised bandwidth,
  19966. rather than uniformly at random. This should speed up Tor for
  19967. bridge users. Also do this for people who set StrictEntryNodes.
  19968. - When a TrackHostExits-chosen exit fails too many times in a row,
  19969. stop using it. Bugfix on 0.1.2.x; fixes bug 437.
  19970. o Major bugfixes:
  19971. - Resolved problems with (re-)fetching hidden service descriptors.
  19972. Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
  19973. and 0.2.0.19-alpha.
  19974. - If we only ever used Tor for hidden service lookups or posts, we
  19975. would stop building circuits and start refusing connections after
  19976. 24 hours, since we falsely believed that Tor was dormant. Reported
  19977. by nwf; bugfix on 0.1.2.x.
  19978. - Servers that don't know their own IP address should go to the
  19979. authorities for their first directory fetch, even if their DirPort
  19980. is off or if they don't know they're reachable yet. This will help
  19981. them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
  19982. - When counting the number of open sockets, count not only the number
  19983. of sockets we have received from the socket() call, but also
  19984. the number we've gotten from accept() and socketpair(). This bug
  19985. made us fail to count all sockets that we were using for incoming
  19986. connections. Bugfix on 0.2.0.x.
  19987. - Fix code used to find strings within buffers, when those strings
  19988. are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
  19989. - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
  19990. - Add a new __HashedControlSessionPassword option for controllers
  19991. to use for one-off session password hashes that shouldn't get
  19992. saved to disk by SAVECONF --- Vidalia users were accumulating a
  19993. pile of HashedControlPassword lines in their torrc files, one for
  19994. each time they had restarted Tor and then clicked Save. Make Tor
  19995. automatically convert "HashedControlPassword" to this new option but
  19996. only when it's given on the command line. Partial fix for bug 586.
  19997. o Minor features (performance):
  19998. - Tune parameters for cell pool allocation to minimize amount of
  19999. RAM overhead used.
  20000. - Add OpenBSD malloc code from phk as an optional malloc
  20001. replacement on Linux: some glibc libraries do very poorly
  20002. with Tor's memory allocation patterns. Pass
  20003. --enable-openbsd-malloc to get the replacement malloc code.
  20004. - Add a --with-tcmalloc option to the configure script to link
  20005. against tcmalloc (if present). Does not yet search for
  20006. non-system include paths.
  20007. - Stop imposing an arbitrary maximum on the number of file descriptors
  20008. used for busy servers. Bug reported by Olaf Selke; patch from
  20009. Sebastian Hahn.
  20010. o Minor features (other):
  20011. - When SafeLogging is disabled, log addresses along with all TLS
  20012. errors.
  20013. - When building with --enable-gcc-warnings, check for whether Apple's
  20014. warning "-Wshorten-64-to-32" is available.
  20015. - Add a --passphrase-fd argument to the tor-gencert command for
  20016. scriptability.
  20017. o Minor bugfixes (memory leaks and code problems):
  20018. - We were leaking a file descriptor if Tor started with a zero-length
  20019. cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
  20020. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  20021. Dan Kaminsky.
  20022. - We were comparing the raw BridgePassword entry with a base64'ed
  20023. version of it, when handling a "/tor/networkstatus-bridges"
  20024. directory request. Now compare correctly. Noticed by Veracode.
  20025. - Recover from bad tracked-since value in MTBF-history file.
  20026. Should fix bug 537.
  20027. - Alter the code that tries to recover from unhandled write
  20028. errors, to not try to flush onto a socket that's given us
  20029. unhandled errors. Bugfix on 0.1.2.x.
  20030. - Make Unix controlsockets work correctly on OpenBSD. Patch from
  20031. tup. Bugfix on 0.2.0.3-alpha.
  20032. o Minor bugfixes (other):
  20033. - If we have an extra-info document for our server, always make
  20034. it available on the control port, even if we haven't gotten
  20035. a copy of it from an authority yet. Patch from mwenge.
  20036. - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
  20037. - Directory mirrors no longer include a guess at the client's IP
  20038. address if the connection appears to be coming from the same /24
  20039. network; it was producing too many wrong guesses.
  20040. - Make the new hidden service code respect the SafeLogging setting.
  20041. Bugfix on 0.2.0.x. Patch from Karsten.
  20042. - When starting as an authority, do not overwrite all certificates
  20043. cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
  20044. - If we're trying to flush the last bytes on a connection (for
  20045. example, when answering a directory request), reset the
  20046. time-to-give-up timeout every time we manage to write something
  20047. on the socket. Bugfix on 0.1.2.x.
  20048. - Change the behavior of "getinfo status/good-server-descriptor"
  20049. so it doesn't return failure when any authority disappears.
  20050. - Even though the man page said that "TrackHostExits ." should
  20051. work, nobody had ever implemented it. Bugfix on 0.1.0.x.
  20052. - Report TLS "zero return" case as a "clean close" and "IO error"
  20053. as a "close". Stop calling closes "unexpected closes": existing
  20054. Tors don't use SSL_close(), so having a connection close without
  20055. the TLS shutdown handshake is hardly unexpected.
  20056. - Send NAMESERVER_STATUS messages for a single failed nameserver
  20057. correctly.
  20058. o Code simplifications and refactoring:
  20059. - Remove the tor_strpartition function: its logic was confused,
  20060. and it was only used for one thing that could be implemented far
  20061. more easily.
  20062. Changes in version 0.2.0.19-alpha - 2008-02-09
  20063. Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
  20064. handshake, makes path selection for relays more secure and IP address
  20065. guessing more robust, and generally fixes a lot of bugs in preparation
  20066. for calling the 0.2.0 branch stable.
  20067. o Major features:
  20068. - Do not include recognizeable strings in the commonname part of
  20069. Tor's x509 certificates.
  20070. o Major bugfixes:
  20071. - If we're a relay, avoid picking ourselves as an introduction point,
  20072. a rendezvous point, or as the final hop for internal circuits. Bug
  20073. reported by taranis and lodger. Bugfix on 0.1.2.x.
  20074. - Patch from "Andrew S. Lists" to catch when we contact a directory
  20075. mirror at IP address X and he says we look like we're coming from
  20076. IP address X. Bugfix on 0.1.2.x.
  20077. o Minor features (security):
  20078. - Be more paranoid about overwriting sensitive memory on free(),
  20079. as a defensive programming tactic to ensure forward secrecy.
  20080. o Minor features (directory authority):
  20081. - Actually validate the options passed to AuthDirReject,
  20082. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  20083. - Reject router descriptors with out-of-range bandwidthcapacity or
  20084. bandwidthburst values.
  20085. o Minor features (controller):
  20086. - Reject controller commands over 1MB in length. This keeps rogue
  20087. processes from running us out of memory.
  20088. o Minor features (misc):
  20089. - Give more descriptive well-formedness errors for out-of-range
  20090. hidden service descriptor/protocol versions.
  20091. - Make memory debugging information describe more about history
  20092. of cell allocation, so we can help reduce our memory use.
  20093. o Deprecated features (controller):
  20094. - The status/version/num-versioning and status/version/num-concurring
  20095. GETINFO options are no longer useful in the v3 directory protocol:
  20096. treat them as deprecated, and warn when they're used.
  20097. o Minor bugfixes:
  20098. - When our consensus networkstatus has been expired for a while, stop
  20099. being willing to build circuits using it. Fixes bug 401. Bugfix
  20100. on 0.1.2.x.
  20101. - Directory caches now fetch certificates from all authorities
  20102. listed in a networkstatus consensus, even when they do not
  20103. recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
  20104. - When connecting to a bridge without specifying its key, insert
  20105. the connection into the identity-to-connection map as soon as
  20106. a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
  20107. - Detect versions of OS X where malloc_good_size() is present in the
  20108. library but never actually declared. Resolves bug 587. Bugfix
  20109. on 0.2.0.x.
  20110. - Stop incorrectly truncating zlib responses to directory authority
  20111. signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
  20112. - Stop recommending that every server operator send mail to tor-ops.
  20113. Resolves bug 597. Bugfix on 0.1.2.x.
  20114. - Don't trigger an assert if we start a directory authority with a
  20115. private IP address (like 127.0.0.1).
  20116. - Avoid possible failures when generating a directory with routers
  20117. with over-long versions strings, or too many flags set. Bugfix
  20118. on 0.1.2.x.
  20119. - If an attempt to launch a DNS resolve request over the control
  20120. port fails because we have overrun the limit on the number of
  20121. connections, tell the controller that the request has failed.
  20122. - Avoid using too little bandwidth when our clock skips a few
  20123. seconds. Bugfix on 0.1.2.x.
  20124. - Fix shell error when warning about missing packages in configure
  20125. script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
  20126. - Do not become confused when receiving a spurious VERSIONS-like
  20127. cell from a confused v1 client. Bugfix on 0.2.0.x.
  20128. - Re-fetch v2 (as well as v0) rendezvous descriptors when all
  20129. introduction points for a hidden service have failed. Patch from
  20130. Karsten Loesing. Bugfix on 0.2.0.x.
  20131. o Code simplifications and refactoring:
  20132. - Remove some needless generality from cpuworker code, for improved
  20133. type-safety.
  20134. - Stop overloading the circuit_t.onionskin field for both "onionskin
  20135. from a CREATE cell that we are waiting for a cpuworker to be
  20136. assigned" and "onionskin from an EXTEND cell that we are going to
  20137. send to an OR as soon as we are connected". Might help with bug 600.
  20138. - Add an in-place version of aes_crypt() so that we can avoid doing a
  20139. needless memcpy() call on each cell payload.
  20140. Changes in version 0.2.0.18-alpha - 2008-01-25
  20141. Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
  20142. fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
  20143. that can warn or reject connections to ports generally associated with
  20144. vulnerable-plaintext protocols.
  20145. o New directory authorities:
  20146. - Set up dannenberg (run by CCC) as the sixth v3 directory
  20147. authority.
  20148. o Major bugfixes:
  20149. - Fix a major memory leak when attempting to use the v2 TLS
  20150. handshake code. Bugfix on 0.2.0.x; fixes bug 589.
  20151. - We accidentally enabled the under-development v2 TLS handshake
  20152. code, which was causing log entries like "TLS error while
  20153. renegotiating handshake". Disable it again. Resolves bug 590.
  20154. - We were computing the wrong Content-Length: header for directory
  20155. responses that need to be compressed on the fly, causing clients
  20156. asking for those items to always fail. Bugfix on 0.2.0.x; partially
  20157. fixes bug 593.
  20158. o Major features:
  20159. - Avoid going directly to the directory authorities even if you're a
  20160. relay, if you haven't found yourself reachable yet or if you've
  20161. decided not to advertise your dirport yet. Addresses bug 556.
  20162. - If we've gone 12 hours since our last bandwidth check, and we
  20163. estimate we have less than 50KB bandwidth capacity but we could
  20164. handle more, do another bandwidth test.
  20165. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  20166. Tor can warn and/or refuse connections to ports commonly used with
  20167. vulnerable-plaintext protocols. Currently we warn on ports 23,
  20168. 109, 110, and 143, but we don't reject any.
  20169. o Minor bugfixes:
  20170. - When we setconf ClientOnly to 1, close any current OR and Dir
  20171. listeners. Reported by mwenge.
  20172. - When we get a consensus that's been signed by more people than
  20173. we expect, don't log about it; it's not a big deal. Reported
  20174. by Kyle Williams.
  20175. o Minor features:
  20176. - Don't answer "/tor/networkstatus-bridges" directory requests if
  20177. the request isn't encrypted.
  20178. - Make "ClientOnly 1" config option disable directory ports too.
  20179. - Patches from Karsten Loesing to make v2 hidden services more
  20180. robust: work even when there aren't enough HSDir relays available;
  20181. retry when a v2 rend desc fetch fails; but don't retry if we
  20182. already have a usable v0 rend desc.
  20183. Changes in version 0.2.0.17-alpha - 2008-01-17
  20184. Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
  20185. o Compile fixes:
  20186. - Make the tor-gencert man page get included correctly in the tarball.
  20187. Changes in version 0.2.0.16-alpha - 2008-01-17
  20188. Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
  20189. Loesing, and generally cleans up a lot of features and minor bugs.
  20190. o New directory authorities:
  20191. - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
  20192. authority.
  20193. o Major performance improvements:
  20194. - Switch our old ring buffer implementation for one more like that
  20195. used by free Unix kernels. The wasted space in a buffer with 1mb
  20196. of data will now be more like 8k than 1mb. The new implementation
  20197. also avoids realloc();realloc(); patterns that can contribute to
  20198. memory fragmentation.
  20199. o Minor features:
  20200. - Configuration files now accept C-style strings as values. This
  20201. helps encode characters not allowed in the current configuration
  20202. file format, such as newline or #. Addresses bug 557.
  20203. - Although we fixed bug 539 (where servers would send HTTP status 503
  20204. responses _and_ send a body too), there are still servers out
  20205. there that haven't upgraded. Therefore, make clients parse such
  20206. bodies when they receive them.
  20207. - When we're not serving v2 directory information, there is no reason
  20208. to actually keep any around. Remove the obsolete files and directory
  20209. on startup if they are very old and we aren't going to serve them.
  20210. o Minor performance improvements:
  20211. - Reference-count and share copies of address policy entries; only 5%
  20212. of them were actually distinct.
  20213. - Never walk through the list of logs if we know that no log is
  20214. interested in a given message.
  20215. o Minor bugfixes:
  20216. - When an authority has not signed a consensus, do not try to
  20217. download a nonexistent "certificate with key 00000000". Bugfix
  20218. on 0.2.0.x. Fixes bug 569.
  20219. - Fix a rare assert error when we're closing one of our threads:
  20220. use a mutex to protect the list of logs, so we never write to the
  20221. list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
  20222. bug 575, which is kind of the revenge of bug 222.
  20223. - Patch from Karsten Loesing to complain less at both the client
  20224. and the relay when a relay used to have the HSDir flag but doesn't
  20225. anymore, and we try to upload a hidden service descriptor.
  20226. - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
  20227. 0.2.0.15-alpha.
  20228. - Do not try to download missing certificates until we have tried
  20229. to check our fallback consensus. Fixes bug 583.
  20230. - Make bridges round reported GeoIP stats info up to the nearest
  20231. estimate, not down. Now we can distinguish between "0 people from
  20232. this country" and "1 person from this country".
  20233. - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
  20234. - Avoid possible segfault if key generation fails in
  20235. crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
  20236. - Avoid segfault in the case where a badly behaved v2 versioning
  20237. directory sends a signed networkstatus with missing client-versions.
  20238. Bugfix on 0.1.2.
  20239. - Avoid segfaults on certain complex invocations of
  20240. router_get_by_hexdigest(). Bugfix on 0.1.2.
  20241. - Correct bad index on array access in parse_http_time(). Bugfix
  20242. on 0.2.0.
  20243. - Fix possible bug in vote generation when server versions are present
  20244. but client versions are not.
  20245. - Fix rare bug on REDIRECTSTREAM control command when called with no
  20246. port set: it could erroneously report an error when none had
  20247. happened.
  20248. - Avoid bogus crash-prone, leak-prone tor_realloc when we're
  20249. compressing large objects and find ourselves with more than 4k
  20250. left over. Bugfix on 0.2.0.
  20251. - Fix a small memory leak when setting up a hidden service.
  20252. - Fix a few memory leaks that could in theory happen under bizarre
  20253. error conditions.
  20254. - Fix an assert if we post a general-purpose descriptor via the
  20255. control port but that descriptor isn't mentioned in our current
  20256. network consensus. Bug reported by Jon McLachlan; bugfix on
  20257. 0.2.0.9-alpha.
  20258. o Minor features (controller):
  20259. - Get NS events working again. Patch from tup.
  20260. - The GETCONF command now escapes and quotes configuration values
  20261. that don't otherwise fit into the torrc file.
  20262. - The SETCONF command now handles quoted values correctly.
  20263. o Minor features (directory authorities):
  20264. - New configuration options to override default maximum number of
  20265. servers allowed on a single IP address. This is important for
  20266. running a test network on a single host.
  20267. - Actually implement the -s option to tor-gencert.
  20268. - Add a manual page for tor-gencert.
  20269. o Minor features (bridges):
  20270. - Bridge authorities no longer serve bridge descriptors over
  20271. unencrypted connections.
  20272. o Minor features (other):
  20273. - Add hidden services and DNSPorts to the list of things that make
  20274. Tor accept that it has running ports. Change starting Tor with no
  20275. ports from a fatal error to a warning; we might change it back if
  20276. this turns out to confuse anybody. Fixes bug 579.
  20277. Changes in version 0.1.2.19 - 2008-01-17
  20278. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  20279. exit policy a little bit more conservative so it's safer to run an
  20280. exit relay on a home system, and fixes a variety of smaller issues.
  20281. o Security fixes:
  20282. - Exit policies now reject connections that are addressed to a
  20283. relay's public (external) IP address too, unless
  20284. ExitPolicyRejectPrivate is turned off. We do this because too
  20285. many relays are running nearby to services that trust them based
  20286. on network address.
  20287. o Major bugfixes:
  20288. - When the clock jumps forward a lot, do not allow the bandwidth
  20289. buckets to become negative. Fixes bug 544.
  20290. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  20291. on every successful resolve. Reported by Mike Perry.
  20292. - Purge old entries from the "rephist" database and the hidden
  20293. service descriptor database even when DirPort is zero.
  20294. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  20295. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  20296. crashing or mis-answering these requests.
  20297. - When we decide to send a 503 response to a request for servers, do
  20298. not then also send the server descriptors: this defeats the whole
  20299. purpose. Fixes bug 539.
  20300. o Minor bugfixes:
  20301. - Changing the ExitPolicyRejectPrivate setting should cause us to
  20302. rebuild our server descriptor.
  20303. - Fix handling of hex nicknames when answering controller requests for
  20304. networkstatus by name, or when deciding whether to warn about
  20305. unknown routers in a config option. (Patch from mwenge.)
  20306. - Fix a couple of hard-to-trigger autoconf problems that could result
  20307. in really weird results on platforms whose sys/types.h files define
  20308. nonstandard integer types.
  20309. - Don't try to create the datadir when running --verify-config or
  20310. --hash-password. Resolves bug 540.
  20311. - If we were having problems getting a particular descriptor from the
  20312. directory caches, and then we learned about a new descriptor for
  20313. that router, we weren't resetting our failure count. Reported
  20314. by lodger.
  20315. - Although we fixed bug 539 (where servers would send HTTP status 503
  20316. responses _and_ send a body too), there are still servers out there
  20317. that haven't upgraded. Therefore, make clients parse such bodies
  20318. when they receive them.
  20319. - Run correctly on systems where rlim_t is larger than unsigned long.
  20320. This includes some 64-bit systems.
  20321. - Run correctly on platforms (like some versions of OS X 10.5) where
  20322. the real limit for number of open files is OPEN_FILES, not rlim_max
  20323. from getrlimit(RLIMIT_NOFILES).
  20324. - Avoid a spurious free on base64 failure.
  20325. - Avoid segfaults on certain complex invocations of
  20326. router_get_by_hexdigest().
  20327. - Fix rare bug on REDIRECTSTREAM control command when called with no
  20328. port set: it could erroneously report an error when none had
  20329. happened.
  20330. Changes in version 0.2.0.15-alpha - 2007-12-25
  20331. Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
  20332. features added in 0.2.0.13-alpha.
  20333. o Major bugfixes:
  20334. - Fix several remotely triggerable asserts based on DirPort requests
  20335. for a v2 or v3 networkstatus object before we were prepared. This
  20336. was particularly bad for 0.2.0.13 and later bridge relays, who
  20337. would never have a v2 networkstatus and would thus always crash
  20338. when used. Bugfixes on 0.2.0.x.
  20339. - Estimate the v3 networkstatus size more accurately, rather than
  20340. estimating it at zero bytes and giving it artificially high priority
  20341. compared to other directory requests. Bugfix on 0.2.0.x.
  20342. o Minor bugfixes:
  20343. - Fix configure.in logic for cross-compilation.
  20344. - When we load a bridge descriptor from the cache, and it was
  20345. previously unreachable, mark it as retriable so we won't just
  20346. ignore it. Also, try fetching a new copy immediately. Bugfixes
  20347. on 0.2.0.13-alpha.
  20348. - The bridge GeoIP stats were counting other relays, for example
  20349. self-reachability and authority-reachability tests.
  20350. o Minor features:
  20351. - Support compilation to target iPhone; patch from cjacker huang.
  20352. To build for iPhone, pass the --enable-iphone option to configure.
  20353. Changes in version 0.2.0.14-alpha - 2007-12-23
  20354. o Major bugfixes:
  20355. - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
  20356. without a datadirectory from a previous Tor install. Reported
  20357. by Zax.
  20358. - Fix a crash when we fetch a descriptor that turns out to be
  20359. unexpected (it used to be in our networkstatus when we started
  20360. fetching it, but it isn't in our current networkstatus), and we
  20361. aren't using bridges. Bugfix on 0.2.0.x.
  20362. - Fix a crash when accessing hidden services: it would work the first
  20363. time you use a given introduction point for your service, but
  20364. on subsequent requests we'd be using garbage memory. Fixed by
  20365. Karsten Loesing. Bugfix on 0.2.0.13-alpha.
  20366. - Fix a crash when we load a bridge descriptor from disk but we don't
  20367. currently have a Bridge line for it in our torrc. Bugfix on
  20368. 0.2.0.13-alpha.
  20369. o Major features:
  20370. - If bridge authorities set BridgePassword, they will serve a
  20371. snapshot of known bridge routerstatuses from their DirPort to
  20372. anybody who knows that password. Unset by default.
  20373. o Minor bugfixes:
  20374. - Make the unit tests build again.
  20375. - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
  20376. - Make PublishServerDescriptor default to 1, so the default doesn't
  20377. have to change as we invent new directory protocol versions.
  20378. - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
  20379. be included unless sys/time.h is already included. Fixes
  20380. bug 553. Bugfix on 0.2.0.x.
  20381. - If we receive a general-purpose descriptor and then receive an
  20382. identical bridge-purpose descriptor soon after, don't discard
  20383. the next one as a duplicate.
  20384. o Minor features:
  20385. - If BridgeRelay is set to 1, then the default for
  20386. PublishServerDescriptor is now "bridge" rather than "v2,v3".
  20387. - If the user sets RelayBandwidthRate but doesn't set
  20388. RelayBandwidthBurst, then make them equal rather than erroring out.
  20389. Changes in version 0.2.0.13-alpha - 2007-12-21
  20390. Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
  20391. Goodell, fixes many more bugs, and adds a lot of infrastructure for
  20392. upcoming features.
  20393. o New directory authorities:
  20394. - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
  20395. authority.
  20396. o Major bugfixes:
  20397. - Only update guard status (usable / not usable) once we have
  20398. enough directory information. This was causing us to always pick
  20399. two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
  20400. causing us to discard all our guards on startup if we hadn't been
  20401. running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
  20402. - Purge old entries from the "rephist" database and the hidden
  20403. service descriptor databases even when DirPort is zero. Bugfix
  20404. on 0.1.2.x.
  20405. - We were ignoring our RelayBandwidthRate for the first 30 seconds
  20406. after opening a circuit -- even a relayed circuit. Bugfix on
  20407. 0.2.0.3-alpha.
  20408. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  20409. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  20410. crashing or mis-answering these types of requests.
  20411. - Relays were publishing their server descriptor to v1 and v2
  20412. directory authorities, but they didn't try publishing to v3-only
  20413. authorities. Fix this; and also stop publishing to v1 authorities.
  20414. Bugfix on 0.2.0.x.
  20415. - When we were reading router descriptors from cache, we were ignoring
  20416. the annotations -- so for example we were reading in bridge-purpose
  20417. descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
  20418. - When we decided to send a 503 response to a request for servers, we
  20419. were then also sending the server descriptors: this defeats the
  20420. whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
  20421. o Major features:
  20422. - Bridge relays now behave like clients with respect to time
  20423. intervals for downloading new consensus documents -- otherwise they
  20424. stand out. Bridge users now wait until the end of the interval,
  20425. so their bridge relay will be sure to have a new consensus document.
  20426. - Three new config options (AlternateDirAuthority,
  20427. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  20428. user selectively replace the default directory authorities by type,
  20429. rather than the all-or-nothing replacement that DirServer offers.
  20430. - Tor can now be configured to read a GeoIP file from disk in one
  20431. of two formats. This can be used by controllers to map IP addresses
  20432. to countries. Eventually, it may support exit-by-country.
  20433. - When possible, bridge relays remember which countries users
  20434. are coming from, and report aggregate information in their
  20435. extra-info documents, so that the bridge authorities can learn
  20436. where Tor is blocked.
  20437. - Bridge directory authorities now do reachability testing on the
  20438. bridges they know. They provide router status summaries to the
  20439. controller via "getinfo ns/purpose/bridge", and also dump summaries
  20440. to a file periodically.
  20441. - Stop fetching directory info so aggressively if your DirPort is
  20442. on but your ORPort is off; stop fetching v2 dir info entirely.
  20443. You can override these choices with the new FetchDirInfoEarly
  20444. config option.
  20445. o Minor bugfixes:
  20446. - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
  20447. consensus documents when there are too many relays at a single
  20448. IP address. Now clear it in v2 network status documents too, and
  20449. also clear it in routerinfo_t when the relay is no longer listed
  20450. in the relevant networkstatus document.
  20451. - Don't crash if we get an unexpected value for the
  20452. PublishServerDescriptor config option. Reported by Matt Edman;
  20453. bugfix on 0.2.0.9-alpha.
  20454. - Our new v2 hidden service descriptor format allows descriptors
  20455. that have no introduction points. But Tor crashed when we tried
  20456. to build a descriptor with no intro points (and it would have
  20457. crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
  20458. by Karsten Loesing.
  20459. - Fix building with dmalloc 5.5.2 with glibc.
  20460. - Reject uploaded descriptors and extrainfo documents if they're
  20461. huge. Otherwise we'll cache them all over the network and it'll
  20462. clog everything up. Reported by Aljosha Judmayer.
  20463. - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
  20464. via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
  20465. - When the DANGEROUS_VERSION controller status event told us we're
  20466. running an obsolete version, it used the string "OLD" to describe
  20467. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  20468. "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
  20469. - If we can't expand our list of entry guards (e.g. because we're
  20470. using bridges or we have StrictEntryNodes set), don't mark relays
  20471. down when they fail a directory request. Otherwise we're too quick
  20472. to mark all our entry points down. Bugfix on 0.1.2.x.
  20473. - Fix handling of hex nicknames when answering controller requests for
  20474. networkstatus by name, or when deciding whether to warn about unknown
  20475. routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
  20476. - Fix a couple of hard-to-trigger autoconf problems that could result
  20477. in really weird results on platforms whose sys/types.h files define
  20478. nonstandard integer types. Bugfix on 0.1.2.x.
  20479. - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
  20480. - Don't crash on name lookup when we have no current consensus. Fixes
  20481. bug 538; bugfix on 0.2.0.x.
  20482. - Only Tors that want to mirror the v2 directory info should
  20483. create the "cached-status" directory in their datadir. (All Tors
  20484. used to create it.) Bugfix on 0.2.0.9-alpha.
  20485. - Directory authorities should only automatically download Extra Info
  20486. documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
  20487. o Minor features:
  20488. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  20489. consumers. (We already do this on HUP.)
  20490. - Authorities and caches fetch the v2 networkstatus documents
  20491. less often, now that v3 is encouraged.
  20492. - Add a new config option BridgeRelay that specifies you want to
  20493. be a bridge relay. Right now the only difference is that it makes
  20494. you answer begin_dir requests, and it makes you cache dir info,
  20495. even if your DirPort isn't on.
  20496. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  20497. ask about source, timestamp of arrival, purpose, etc. We need
  20498. something like this to help Vidalia not do GeoIP lookups on bridge
  20499. addresses.
  20500. - Allow multiple HashedControlPassword config lines, to support
  20501. multiple controller passwords.
  20502. - Authorities now decide whether they're authoritative for a given
  20503. router based on the router's purpose.
  20504. - New config options AuthDirBadDir and AuthDirListBadDirs for
  20505. authorities to mark certain relays as "bad directories" in the
  20506. networkstatus documents. Also supports the "!baddir" directive in
  20507. the approved-routers file.
  20508. Changes in version 0.2.0.12-alpha - 2007-11-16
  20509. This twelfth development snapshot fixes some more build problems as
  20510. well as a few minor bugs.
  20511. o Compile fixes:
  20512. - Make it build on OpenBSD again. Patch from tup.
  20513. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
  20514. package-building for Red Hat, OS X, etc.
  20515. o Minor bugfixes (on 0.1.2.x):
  20516. - Changing the ExitPolicyRejectPrivate setting should cause us to
  20517. rebuild our server descriptor.
  20518. o Minor bugfixes (on 0.2.0.x):
  20519. - When we're lacking a consensus, don't try to perform rendezvous
  20520. operations. Reported by Karsten Loesing.
  20521. - Fix a small memory leak whenever we decide against using a
  20522. newly picked entry guard. Reported by Mike Perry.
  20523. - When authorities detected more than two relays running on the same
  20524. IP address, they were clearing all the status flags but forgetting
  20525. to clear the "hsdir" flag. So clients were being told that a
  20526. given relay was the right choice for a v2 hsdir lookup, yet they
  20527. never had its descriptor because it was marked as 'not running'
  20528. in the consensus.
  20529. - If we're trying to fetch a bridge descriptor and there's no way
  20530. the bridge authority could help us (for example, we don't know
  20531. a digest, or there is no bridge authority), don't be so eager to
  20532. fall back to asking the bridge authority.
  20533. - If we're using bridges or have strictentrynodes set, and our
  20534. chosen exit is in the same family as all our bridges/entry guards,
  20535. then be flexible about families.
  20536. o Minor features:
  20537. - When we negotiate a v2 link-layer connection (not yet implemented),
  20538. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  20539. negotiated a v1 connection for their next step. Initial code for
  20540. proposal 110.
  20541. Changes in version 0.2.0.11-alpha - 2007-11-12
  20542. This eleventh development snapshot fixes some build problems with
  20543. the previous snapshot. It also includes a more secure-by-default exit
  20544. policy for relays, fixes an enormous memory leak for exit relays, and
  20545. fixes another bug where servers were falling out of the directory list.
  20546. o Security fixes:
  20547. - Exit policies now reject connections that are addressed to a
  20548. relay's public (external) IP address too, unless
  20549. ExitPolicyRejectPrivate is turned off. We do this because too
  20550. many relays are running nearby to services that trust them based
  20551. on network address. Bugfix on 0.1.2.x.
  20552. o Major bugfixes:
  20553. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  20554. on every successful resolve. Reported by Mike Perry; bugfix
  20555. on 0.1.2.x.
  20556. - On authorities, never downgrade to old router descriptors simply
  20557. because they're listed in the consensus. This created a catch-22
  20558. where we wouldn't list a new descriptor because there was an
  20559. old one in the consensus, and we couldn't get the new one in the
  20560. consensus because we wouldn't list it. Possible fix for bug 548.
  20561. Also, this might cause bug 543 to appear on authorities; if so,
  20562. we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
  20563. o Packaging fixes on 0.2.0.10-alpha:
  20564. - We were including instructions about what to do with the
  20565. src/config/fallback-consensus file, but we weren't actually
  20566. including it in the tarball. Disable all of that for now.
  20567. o Minor features:
  20568. - Allow people to say PreferTunnelledDirConns rather than
  20569. PreferTunneledDirConns, for those alternate-spellers out there.
  20570. o Minor bugfixes:
  20571. - Don't reevaluate all the information from our consensus document
  20572. just because we've downloaded a v2 networkstatus that we intend
  20573. to cache. Fixes bug 545; bugfix on 0.2.0.x.
  20574. Changes in version 0.2.0.10-alpha - 2007-11-10
  20575. This tenth development snapshot adds a third v3 directory authority
  20576. run by Mike Perry, adds most of Karsten Loesing's new hidden service
  20577. descriptor format, fixes a bad crash bug and new bridge bugs introduced
  20578. in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
  20579. fixes some minor memory leaks in previous 0.2.0.x snapshots, and
  20580. addresses many more minor issues.
  20581. o New directory authorities:
  20582. - Set up ides (run by Mike Perry) as the third v3 directory authority.
  20583. o Major features:
  20584. - Allow tunnelled directory connections to ask for an encrypted
  20585. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  20586. connection independently. Now we can make anonymized begin_dir
  20587. connections for (e.g.) more secure hidden service posting and
  20588. fetching.
  20589. - More progress on proposal 114: code from Karsten Loesing to
  20590. implement new hidden service descriptor format.
  20591. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  20592. accommodate the growing number of servers that use the default
  20593. and are reaching it.
  20594. - Directory authorities use a new formula for selecting which nodes
  20595. to advertise as Guards: they must be in the top 7/8 in terms of
  20596. how long we have known about them, and above the median of those
  20597. nodes in terms of weighted fractional uptime.
  20598. - Make "not enough dir info yet" warnings describe *why* Tor feels
  20599. it doesn't have enough directory info yet.
  20600. o Major bugfixes:
  20601. - Stop servers from crashing if they set a Family option (or
  20602. maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
  20603. by Fabian Keil.
  20604. - Make bridge users work again -- the move to v3 directories in
  20605. 0.2.0.9-alpha had introduced a number of bugs that made bridges
  20606. no longer work for clients.
  20607. - When the clock jumps forward a lot, do not allow the bandwidth
  20608. buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
  20609. o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
  20610. - When the consensus lists a router descriptor that we previously were
  20611. mirroring, but that we considered non-canonical, reload the
  20612. descriptor as canonical. This fixes bug 543 where Tor servers
  20613. would start complaining after a few days that they don't have
  20614. enough directory information to build a circuit.
  20615. - Consider replacing the current consensus when certificates arrive
  20616. that make the pending consensus valid. Previously, we were only
  20617. considering replacement when the new certs _didn't_ help.
  20618. - Fix an assert error on startup if we didn't already have the
  20619. consensus and certs cached in our datadirectory: we were caching
  20620. the consensus in consensus_waiting_for_certs but then free'ing it
  20621. right after.
  20622. - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
  20623. Request) if we need more v3 certs but we've already got pending
  20624. requests for all of them.
  20625. - Correctly back off from failing certificate downloads. Fixes
  20626. bug 546.
  20627. - Authorities don't vote on the Running flag if they have been running
  20628. for less than 30 minutes themselves. Fixes bug 547, where a newly
  20629. started authority would vote that everyone was down.
  20630. o New requirements:
  20631. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  20632. it, it had no AES, and it hasn't seen any security patches since
  20633. 2004.
  20634. o Minor features:
  20635. - Clients now hold circuitless TLS connections open for 1.5 times
  20636. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  20637. rebuild a new circuit over them within that timeframe. Previously,
  20638. they held them open only for KeepalivePeriod (5 minutes).
  20639. - Use "If-Modified-Since" to avoid retrieving consensus
  20640. networkstatuses that we already have.
  20641. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  20642. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  20643. we start knowing some directory caches.
  20644. - When we receive a consensus from the future, warn about skew.
  20645. - Improve skew reporting: try to give the user a better log message
  20646. about how skewed they are, and how much this matters.
  20647. - When we have a certificate for an authority, believe that
  20648. certificate's claims about the authority's IP address.
  20649. - New --quiet command-line option to suppress the default console log.
  20650. Good in combination with --hash-password.
  20651. - Authorities send back an X-Descriptor-Not-New header in response to
  20652. an accepted-but-discarded descriptor upload. Partially implements
  20653. fix for bug 535.
  20654. - Make the log message for "tls error. breaking." more useful.
  20655. - Better log messages about certificate downloads, to attempt to
  20656. track down the second incarnation of bug 546.
  20657. o Minor features (bridges):
  20658. - If bridge users set UpdateBridgesFromAuthority, but the digest
  20659. they ask for is a 404 from the bridge authority, they now fall
  20660. back to trying the bridge directly.
  20661. - Bridges now use begin_dir to publish their server descriptor to
  20662. the bridge authority, even when they haven't set TunnelDirConns.
  20663. o Minor features (controller):
  20664. - When reporting clock skew, and we know that the clock is _at least
  20665. as skewed_ as some value, but we don't know the actual value,
  20666. report the value as a "minimum skew."
  20667. o Utilities:
  20668. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  20669. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  20670. Perry.
  20671. o Minor bugfixes:
  20672. - Refuse to start if both ORPort and UseBridges are set. Bugfix
  20673. on 0.2.0.x, suggested by Matt Edman.
  20674. - Don't stop fetching descriptors when FetchUselessDescriptors is
  20675. set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
  20676. reported by tup and ioerror.
  20677. - Better log message on vote from unknown authority.
  20678. - Don't log "Launching 0 request for 0 router" message.
  20679. o Minor bugfixes (memory leaks):
  20680. - Stop leaking memory every time we parse a v3 certificate. Bugfix
  20681. on 0.2.0.1-alpha.
  20682. - Stop leaking memory every time we load a v3 certificate. Bugfix
  20683. on 0.2.0.1-alpha. Fixes bug 536.
  20684. - Stop leaking a cached networkstatus on exit. Bugfix on
  20685. 0.2.0.3-alpha.
  20686. - Stop leaking voter information every time we free a consensus.
  20687. Bugfix on 0.2.0.3-alpha.
  20688. - Stop leaking signed data every time we check a voter signature.
  20689. Bugfix on 0.2.0.3-alpha.
  20690. - Stop leaking a signature every time we fail to parse a consensus or
  20691. a vote. Bugfix on 0.2.0.3-alpha.
  20692. - Stop leaking v2_download_status_map on shutdown. Bugfix on
  20693. 0.2.0.9-alpha.
  20694. - Stop leaking conn->nickname every time we make a connection to a
  20695. Tor relay without knowing its expected identity digest (e.g. when
  20696. using bridges). Bugfix on 0.2.0.3-alpha.
  20697. - Minor bugfixes (portability):
  20698. - Run correctly on platforms where rlim_t is larger than unsigned
  20699. long, and/or where the real limit for number of open files is
  20700. OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
  20701. particular, these may be needed for OS X 10.5.
  20702. Changes in version 0.1.2.18 - 2007-10-28
  20703. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  20704. hidden service introduction that were causing huge delays, and a big
  20705. bug that was causing some servers to disappear from the network status
  20706. lists for a few hours each day.
  20707. o Major bugfixes (crashes):
  20708. - If a connection is shut down abruptly because of something that
  20709. happened inside connection_flushed_some(), do not call
  20710. connection_finished_flushing(). Should fix bug 451:
  20711. "connection_stop_writing: Assertion conn->write_event failed"
  20712. Bugfix on 0.1.2.7-alpha.
  20713. - Fix possible segfaults in functions called from
  20714. rend_process_relay_cell().
  20715. o Major bugfixes (hidden services):
  20716. - Hidden services were choosing introduction points uniquely by
  20717. hexdigest, but when constructing the hidden service descriptor
  20718. they merely wrote the (potentially ambiguous) nickname.
  20719. - Clients now use the v2 intro format for hidden service
  20720. connections: they specify their chosen rendezvous point by identity
  20721. digest rather than by (potentially ambiguous) nickname. These
  20722. changes could speed up hidden service connections dramatically.
  20723. o Major bugfixes (other):
  20724. - Stop publishing a new server descriptor just because we get a
  20725. HUP signal. This led (in a roundabout way) to some servers getting
  20726. dropped from the networkstatus lists for a few hours each day.
  20727. - When looking for a circuit to cannibalize, consider family as well
  20728. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  20729. circuit cannibalization).
  20730. - When a router wasn't listed in a new networkstatus, we were leaving
  20731. the flags for that router alone -- meaning it remained Named,
  20732. Running, etc -- even though absence from the networkstatus means
  20733. that it shouldn't be considered to exist at all anymore. Now we
  20734. clear all the flags for routers that fall out of the networkstatus
  20735. consensus. Fixes bug 529.
  20736. o Minor bugfixes:
  20737. - Don't try to access (or alter) the state file when running
  20738. --list-fingerprint or --verify-config or --hash-password. Resolves
  20739. bug 499.
  20740. - When generating information telling us how to extend to a given
  20741. router, do not try to include the nickname if it is
  20742. absent. Resolves bug 467.
  20743. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  20744. a way to trigger this remotely.)
  20745. - When sending a status event to the controller telling it that an
  20746. OR address is reachable, set the port correctly. (Previously we
  20747. were reporting the dir port.)
  20748. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  20749. command. Bugfix on 0.1.2.17.
  20750. - When loading bandwidth history, do not believe any information in
  20751. the future. Fixes bug 434.
  20752. - When loading entry guard information, do not believe any information
  20753. in the future.
  20754. - When we have our clock set far in the future and generate an
  20755. onion key, then re-set our clock to be correct, we should not stop
  20756. the onion key from getting rotated.
  20757. - On some platforms, accept() can return a broken address. Detect
  20758. this more quietly, and deal accordingly. Fixes bug 483.
  20759. - It's not actually an error to find a non-pending entry in the DNS
  20760. cache when canceling a pending resolve. Don't log unless stuff
  20761. is fishy. Resolves bug 463.
  20762. - Don't reset trusted dir server list when we set a configuration
  20763. option. Patch from Robert Hogan.
  20764. - Don't try to create the datadir when running --verify-config or
  20765. --hash-password. Resolves bug 540.
  20766. Changes in version 0.2.0.9-alpha - 2007-10-24
  20767. This ninth development snapshot switches clients to the new v3 directory
  20768. system; allows servers to be listed in the network status even when they
  20769. have the same nickname as a registered server; and fixes many other
  20770. bugs including a big one that was causing some servers to disappear
  20771. from the network status lists for a few hours each day.
  20772. o Major features (directory system):
  20773. - Clients now download v3 consensus networkstatus documents instead
  20774. of v2 networkstatus documents. Clients and caches now base their
  20775. opinions about routers on these consensus documents. Clients only
  20776. download router descriptors listed in the consensus.
  20777. - Authorities now list servers who have the same nickname as
  20778. a different named server, but list them with a new flag,
  20779. "Unnamed". Now we can list servers that happen to pick the same
  20780. nickname as a server that registered two years ago and then
  20781. disappeared. Partially implements proposal 122.
  20782. - If the consensus lists a router as "Unnamed", the name is assigned
  20783. to a different router: do not identify the router by that name.
  20784. Partially implements proposal 122.
  20785. - Authorities can now come to a consensus on which method to use to
  20786. compute the consensus. This gives us forward compatibility.
  20787. o Major bugfixes:
  20788. - Stop publishing a new server descriptor just because we HUP or
  20789. when we find our DirPort to be reachable but won't actually publish
  20790. it. New descriptors without any real changes are dropped by the
  20791. authorities, and can screw up our "publish every 18 hours" schedule.
  20792. Bugfix on 0.1.2.x.
  20793. - When a router wasn't listed in a new networkstatus, we were leaving
  20794. the flags for that router alone -- meaning it remained Named,
  20795. Running, etc -- even though absence from the networkstatus means
  20796. that it shouldn't be considered to exist at all anymore. Now we
  20797. clear all the flags for routers that fall out of the networkstatus
  20798. consensus. Fixes bug 529; bugfix on 0.1.2.x.
  20799. - Fix awful behavior in DownloadExtraInfo option where we'd fetch
  20800. extrainfo documents and then discard them immediately for not
  20801. matching the latest router. Bugfix on 0.2.0.1-alpha.
  20802. o Minor features (v3 directory protocol):
  20803. - Allow tor-gencert to generate a new certificate without replacing
  20804. the signing key.
  20805. - Allow certificates to include an address.
  20806. - When we change our directory-cache settings, reschedule all voting
  20807. and download operations.
  20808. - Reattempt certificate downloads immediately on failure, as long as
  20809. we haven't failed a threshold number of times yet.
  20810. - Delay retrying consensus downloads while we're downloading
  20811. certificates to verify the one we just got. Also, count getting a
  20812. consensus that we already have (or one that isn't valid) as a failure,
  20813. and count failing to get the certificates after 20 minutes as a
  20814. failure.
  20815. - Build circuits and download descriptors even if our consensus is a
  20816. little expired. (This feature will go away once authorities are
  20817. more reliable.)
  20818. o Minor features (router descriptor cache):
  20819. - If we find a cached-routers file that's been sitting around for more
  20820. than 28 days unmodified, then most likely it's a leftover from
  20821. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  20822. routers anyway.
  20823. - When we (as a cache) download a descriptor because it was listed
  20824. in a consensus, remember when the consensus was supposed to expire,
  20825. and don't expire the descriptor until then.
  20826. o Minor features (performance):
  20827. - Call routerlist_remove_old_routers() much less often. This should
  20828. speed startup, especially on directory caches.
  20829. - Don't try to launch new descriptor downloads quite so often when we
  20830. already have enough directory information to build circuits.
  20831. - Base64 decoding was actually showing up on our profile when parsing
  20832. the initial descriptor file; switch to an in-process all-at-once
  20833. implementation that's about 3.5x times faster than calling out to
  20834. OpenSSL.
  20835. o Minor features (compilation):
  20836. - Detect non-ASCII platforms (if any still exist) and refuse to
  20837. build there: some of our code assumes that 'A' is 65 and so on.
  20838. o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
  20839. - Make the "next period" votes into "current period" votes immediately
  20840. after publishing the consensus; avoid a heisenbug that made them
  20841. stick around indefinitely.
  20842. - When we discard a vote as a duplicate, do not report this as
  20843. an error.
  20844. - Treat missing v3 keys or certificates as an error when running as a
  20845. v3 directory authority.
  20846. - When we're configured to be a v3 authority, but we're only listed
  20847. as a non-v3 authority in our DirServer line for ourself, correct
  20848. the listing.
  20849. - If an authority doesn't have a qualified hostname, just put
  20850. its address in the vote. This fixes the problem where we referred to
  20851. "moria on moria:9031."
  20852. - Distinguish between detached signatures for the wrong period, and
  20853. detached signatures for a divergent vote.
  20854. - Fix a small memory leak when computing a consensus.
  20855. - When there's no consensus, we were forming a vote every 30
  20856. minutes, but writing the "valid-after" line in our vote based
  20857. on our configured V3AuthVotingInterval: so unless the intervals
  20858. matched up, we immediately rejected our own vote because it didn't
  20859. start at the voting interval that caused us to construct a vote.
  20860. o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
  20861. - Delete unverified-consensus when the real consensus is set.
  20862. - Consider retrying a consensus networkstatus fetch immediately
  20863. after one fails: don't wait 60 seconds to notice.
  20864. - When fetching a consensus as a cache, wait until a newer consensus
  20865. should exist before trying to replace the current one.
  20866. - Use a more forgiving schedule for retrying failed consensus
  20867. downloads than for other types.
  20868. o Minor bugfixes (other directory issues):
  20869. - Correct the implementation of "download votes by digest." Bugfix on
  20870. 0.2.0.8-alpha.
  20871. - Authorities no longer send back "400 you're unreachable please fix
  20872. it" errors to Tor servers that aren't online all the time. We're
  20873. supposed to tolerate these servers now. Bugfix on 0.1.2.x.
  20874. o Minor bugfixes (controller):
  20875. - Don't reset trusted dir server list when we set a configuration
  20876. option. Patch from Robert Hogan; bugfix on 0.1.2.x.
  20877. - Respond to INT and TERM SIGNAL commands before we execute the
  20878. signal, in case the signal shuts us down. We had a patch in
  20879. 0.1.2.1-alpha that tried to do this by queueing the response on
  20880. the connection's buffer before shutting down, but that really
  20881. isn't the same thing at all. Bug located by Matt Edman.
  20882. o Minor bugfixes (misc):
  20883. - Correctly check for bad options to the "PublishServerDescriptor"
  20884. config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
  20885. - Stop leaking memory on failing case of base32_decode, and make
  20886. it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
  20887. - Don't try to download extrainfo documents when we're trying to
  20888. fetch enough directory info to build a circuit: having enough
  20889. info should get priority. Bugfix on 0.2.0.x.
  20890. - Don't complain that "your server has not managed to confirm that its
  20891. ports are reachable" if we haven't been able to build any circuits
  20892. yet. Bug found by spending four hours without a v3 consensus. Bugfix
  20893. on 0.1.2.x.
  20894. - Detect the reason for failing to mmap a descriptor file we just
  20895. wrote, and give a more useful log message. Fixes bug 533. Bugfix
  20896. on 0.1.2.x.
  20897. o Code simplifications and refactoring:
  20898. - Remove support for the old bw_accounting file: we've been storing
  20899. bandwidth accounting information in the state file since
  20900. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  20901. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  20902. downgrade to 0.1.1.x or earlier.
  20903. - New convenience code to locate a file within the DataDirectory.
  20904. - Move non-authority functionality out of dirvote.c.
  20905. - Refactor the arguments for router_pick_{directory_|trusteddir}server
  20906. so that they all take the same named flags.
  20907. o Utilities
  20908. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  20909. Unix users an easy way to script their Tor process (e.g. by
  20910. adjusting bandwidth based on the time of the day).
  20911. Changes in version 0.2.0.8-alpha - 2007-10-12
  20912. This eighth development snapshot fixes a crash bug that's been bothering
  20913. us since February 2007, lets bridge authorities store a list of bridge
  20914. descriptors they've seen, gets v3 directory voting closer to working,
  20915. starts caching v3 directory consensus documents on directory mirrors,
  20916. and fixes a variety of smaller issues including some minor memory leaks.
  20917. o Major features (router descriptor cache):
  20918. - Store routers in a file called cached-descriptors instead of in
  20919. cached-routers. Initialize cached-descriptors from cached-routers
  20920. if the old format is around. The new format allows us to store
  20921. annotations along with descriptors.
  20922. - Use annotations to record the time we received each descriptor, its
  20923. source, and its purpose.
  20924. - Disable the SETROUTERPURPOSE controller command: it is now
  20925. obsolete.
  20926. - Controllers should now specify cache=no or cache=yes when using
  20927. the +POSTDESCRIPTOR command.
  20928. - Bridge authorities now write bridge descriptors to disk, meaning
  20929. we can export them to other programs and begin distributing them
  20930. to blocked users.
  20931. o Major features (directory authorities):
  20932. - When a v3 authority is missing votes or signatures, it now tries
  20933. to fetch them.
  20934. - Directory authorities track weighted fractional uptime as well as
  20935. weighted mean-time-between failures. WFU is suitable for deciding
  20936. whether a node is "usually up", while MTBF is suitable for deciding
  20937. whether a node is "likely to stay up." We need both, because
  20938. "usually up" is a good requirement for guards, while "likely to
  20939. stay up" is a good requirement for long-lived connections.
  20940. o Major features (v3 directory system):
  20941. - Caches now download v3 network status documents as needed,
  20942. and download the descriptors listed in them.
  20943. - All hosts now attempt to download and keep fresh v3 authority
  20944. certificates, and re-attempt after failures.
  20945. - More internal-consistency checks for vote parsing.
  20946. o Major bugfixes (crashes):
  20947. - If a connection is shut down abruptly because of something that
  20948. happened inside connection_flushed_some(), do not call
  20949. connection_finished_flushing(). Should fix bug 451. Bugfix on
  20950. 0.1.2.7-alpha.
  20951. o Major bugfixes (performance):
  20952. - Fix really bad O(n^2) performance when parsing a long list of
  20953. routers: Instead of searching the entire list for an "extra-info "
  20954. string which usually wasn't there, once for every routerinfo
  20955. we read, just scan lines forward until we find one we like.
  20956. Bugfix on 0.2.0.1.
  20957. - When we add data to a write buffer in response to the data on that
  20958. write buffer getting low because of a flush, do not consider the
  20959. newly added data as a candidate for immediate flushing, but rather
  20960. make it wait until the next round of writing. Otherwise, we flush
  20961. and refill recursively, and a single greedy TLS connection can
  20962. eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
  20963. o Minor features (v3 authority system):
  20964. - Add more ways for tools to download the votes that lead to the
  20965. current consensus.
  20966. - Send a 503 when low on bandwidth and a vote, consensus, or
  20967. certificate is requested.
  20968. - If-modified-since is now implemented properly for all kinds of
  20969. certificate requests.
  20970. o Minor bugfixes (network statuses):
  20971. - Tweak the implementation of proposal 109 slightly: allow at most
  20972. two Tor servers on the same IP address, except if it's the location
  20973. of a directory authority, in which case allow five. Bugfix on
  20974. 0.2.0.3-alpha.
  20975. o Minor bugfixes (controller):
  20976. - When sending a status event to the controller telling it that an
  20977. OR address is reachable, set the port correctly. (Previously we
  20978. were reporting the dir port.) Bugfix on 0.1.2.x.
  20979. o Minor bugfixes (v3 directory system):
  20980. - Fix logic to look up a cert by its signing key digest. Bugfix on
  20981. 0.2.0.7-alpha.
  20982. - Only change the reply to a vote to "OK" if it's not already
  20983. set. This gets rid of annoying "400 OK" log messages, which may
  20984. have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
  20985. - When we get a valid consensus, recompute the voting schedule.
  20986. - Base the valid-after time of a vote on the consensus voting
  20987. schedule, not on our preferred schedule.
  20988. - Make the return values and messages from signature uploads and
  20989. downloads more sensible.
  20990. - Fix a memory leak when serving votes and consensus documents, and
  20991. another when serving certificates.
  20992. o Minor bugfixes (performance):
  20993. - Use a slightly simpler string hashing algorithm (copying Python's
  20994. instead of Java's) and optimize our digest hashing algorithm to take
  20995. advantage of 64-bit platforms and to remove some possibly-costly
  20996. voodoo.
  20997. - Fix a minor memory leak whenever we parse guards from our state
  20998. file. Bugfix on 0.2.0.7-alpha.
  20999. - Fix a minor memory leak whenever we write out a file. Bugfix on
  21000. 0.2.0.7-alpha.
  21001. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  21002. command. Bugfix on 0.2.0.5-alpha.
  21003. o Minor bugfixes (portability):
  21004. - On some platforms, accept() can return a broken address. Detect
  21005. this more quietly, and deal accordingly. Fixes bug 483.
  21006. - Stop calling tor_strlower() on uninitialized memory in some cases.
  21007. Bugfix in 0.2.0.7-alpha.
  21008. o Minor bugfixes (usability):
  21009. - Treat some 403 responses from directory servers as INFO rather than
  21010. WARN-severity events.
  21011. - It's not actually an error to find a non-pending entry in the DNS
  21012. cache when canceling a pending resolve. Don't log unless stuff is
  21013. fishy. Resolves bug 463.
  21014. o Minor bugfixes (anonymity):
  21015. - Never report that we've used more bandwidth than we're willing to
  21016. relay: it leaks how much non-relay traffic we're using. Resolves
  21017. bug 516.
  21018. - When looking for a circuit to cannibalize, consider family as well
  21019. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  21020. circuit cannibalization).
  21021. o Code simplifications and refactoring:
  21022. - Make a bunch of functions static. Remove some dead code.
  21023. - Pull out about a third of the really big routerlist.c; put it in a
  21024. new module, networkstatus.c.
  21025. - Merge the extra fields in local_routerstatus_t back into
  21026. routerstatus_t: we used to need one routerstatus_t for each
  21027. authority's opinion, plus a local_routerstatus_t for the locally
  21028. computed consensus opinion. To save space, we put the locally
  21029. modified fields into local_routerstatus_t, and only the common
  21030. stuff into routerstatus_t. But once v3 directories are in use,
  21031. clients and caches will no longer need to hold authority opinions;
  21032. thus, the rationale for keeping the types separate is now gone.
  21033. - Make the code used to reschedule and reattempt downloads more
  21034. uniform.
  21035. - Turn all 'Are we a directory server/mirror?' logic into a call to
  21036. dirserver_mode().
  21037. - Remove the code to generate the oldest (v1) directory format.
  21038. The code has been disabled since 0.2.0.5-alpha.
  21039. Changes in version 0.2.0.7-alpha - 2007-09-21
  21040. This seventh development snapshot makes bridges work again, makes bridge
  21041. authorities work for the first time, fixes two huge performance flaws
  21042. in hidden services, and fixes a variety of minor issues.
  21043. o New directory authorities:
  21044. - Set up moria1 and tor26 as the first v3 directory authorities. See
  21045. doc/spec/dir-spec.txt for details on the new directory design.
  21046. o Major bugfixes (crashes):
  21047. - Fix possible segfaults in functions called from
  21048. rend_process_relay_cell(). Bugfix on 0.1.2.x.
  21049. o Major bugfixes (bridges):
  21050. - Fix a bug that made servers send a "404 Not found" in response to
  21051. attempts to fetch their server descriptor. This caused Tor servers
  21052. to take many minutes to establish reachability for their DirPort,
  21053. and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
  21054. - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
  21055. users configure that and specify a bridge with an identity
  21056. fingerprint, now they will lookup the bridge descriptor at the
  21057. default bridge authority via a one-hop tunnel, but once circuits
  21058. are established they will switch to a three-hop tunnel for later
  21059. connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
  21060. o Major bugfixes (hidden services):
  21061. - Hidden services were choosing introduction points uniquely by
  21062. hexdigest, but when constructing the hidden service descriptor
  21063. they merely wrote the (potentially ambiguous) nickname.
  21064. - Clients now use the v2 intro format for hidden service
  21065. connections: they specify their chosen rendezvous point by identity
  21066. digest rather than by (potentially ambiguous) nickname. Both
  21067. are bugfixes on 0.1.2.x, and they could speed up hidden service
  21068. connections dramatically. Thanks to Karsten Loesing.
  21069. o Minor features (security):
  21070. - As a client, do not believe any server that tells us that an
  21071. address maps to an internal address space.
  21072. - Make it possible to enable HashedControlPassword and
  21073. CookieAuthentication at the same time.
  21074. o Minor features (guard nodes):
  21075. - Tag every guard node in our state file with the version that
  21076. we believe added it, or with our own version if we add it. This way,
  21077. if a user temporarily runs an old version of Tor and then switches
  21078. back to a new one, she doesn't automatically lose her guards.
  21079. o Minor features (speed):
  21080. - When implementing AES counter mode, update only the portions of the
  21081. counter buffer that need to change, and don't keep separate
  21082. network-order and host-order counters when they are the same (i.e.,
  21083. on big-endian hosts.)
  21084. o Minor features (controller):
  21085. - Accept LF instead of CRLF on controller, since some software has a
  21086. hard time generating real Internet newlines.
  21087. - Add GETINFO values for the server status events
  21088. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  21089. Robert Hogan.
  21090. o Removed features:
  21091. - Routers no longer include bandwidth-history lines in their
  21092. descriptors; this information is already available in extra-info
  21093. documents, and including it in router descriptors took up 60%
  21094. (!) of compressed router descriptor downloads. Completes
  21095. implementation of proposal 104.
  21096. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  21097. and TorControl.py, as they use the old v0 controller protocol,
  21098. and are obsoleted by TorFlow anyway.
  21099. - Drop support for v1 rendezvous descriptors, since we never used
  21100. them anyway, and the code has probably rotted by now. Based on
  21101. patch from Karsten Loesing.
  21102. - On OSX, stop warning the user that kqueue support in libevent is
  21103. "experimental", since it seems to have worked fine for ages.
  21104. o Minor bugfixes:
  21105. - When generating information telling us how to extend to a given
  21106. router, do not try to include the nickname if it is absent. Fixes
  21107. bug 467. Bugfix on 0.2.0.3-alpha.
  21108. - Fix a user-triggerable (but not remotely-triggerable) segfault
  21109. in expand_filename(). Bugfix on 0.1.2.x.
  21110. - Fix a memory leak when freeing incomplete requests from DNSPort.
  21111. Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
  21112. - Don't try to access (or alter) the state file when running
  21113. --list-fingerprint or --verify-config or --hash-password. (Resolves
  21114. bug 499.) Bugfix on 0.1.2.x.
  21115. - Servers used to decline to publish their DirPort if their
  21116. BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
  21117. were below a threshold. Now they only look at BandwidthRate and
  21118. RelayBandwidthRate. Bugfix on 0.1.2.x.
  21119. - Remove an optimization in the AES counter-mode code that assumed
  21120. that the counter never exceeded 2^68. When the counter can be set
  21121. arbitrarily as an IV (as it is by Karsten's new hidden services
  21122. code), this assumption no longer holds. Bugfix on 0.1.2.x.
  21123. - Resume listing "AUTHORITY" flag for authorities in network status.
  21124. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
  21125. o Code simplifications and refactoring:
  21126. - Revamp file-writing logic so we don't need to have the entire
  21127. contents of a file in memory at once before we write to disk. Tor,
  21128. meet stdio.
  21129. - Turn "descriptor store" into a full-fledged type.
  21130. - Move all NT services code into a separate source file.
  21131. - Unify all code that computes medians, percentile elements, etc.
  21132. - Get rid of a needless malloc when parsing address policies.
  21133. Changes in version 0.1.2.17 - 2007-08-30
  21134. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  21135. X bundles. Vidalia 0.0.14 makes authentication required for the
  21136. ControlPort in the default configuration, which addresses important
  21137. security risks. Everybody who uses Vidalia (or another controller)
  21138. should upgrade.
  21139. In addition, this Tor update fixes major load balancing problems with
  21140. path selection, which should speed things up a lot once many people
  21141. have upgraded.
  21142. o Major bugfixes (security):
  21143. - We removed support for the old (v0) control protocol. It has been
  21144. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  21145. become more of a headache than it's worth.
  21146. o Major bugfixes (load balancing):
  21147. - When choosing nodes for non-guard positions, weight guards
  21148. proportionally less, since they already have enough load. Patch
  21149. from Mike Perry.
  21150. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  21151. will allow fast Tor servers to get more attention.
  21152. - When we're upgrading from an old Tor version, forget our current
  21153. guards and pick new ones according to the new weightings. These
  21154. three load balancing patches could raise effective network capacity
  21155. by a factor of four. Thanks to Mike Perry for measurements.
  21156. o Major bugfixes (stream expiration):
  21157. - Expire not-yet-successful application streams in all cases if
  21158. they've been around longer than SocksTimeout. Right now there are
  21159. some cases where the stream will live forever, demanding a new
  21160. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  21161. o Minor features (controller):
  21162. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  21163. is valid before any authentication has been received. It tells
  21164. a controller what kind of authentication is expected, and what
  21165. protocol is spoken. Implements proposal 119.
  21166. o Minor bugfixes (performance):
  21167. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  21168. greatly speeding up loading cached-routers from disk on startup.
  21169. - Disable sentinel-based debugging for buffer code: we squashed all
  21170. the bugs that this was supposed to detect a long time ago, and now
  21171. its only effect is to change our buffer sizes from nice powers of
  21172. two (which platform mallocs tend to like) to values slightly over
  21173. powers of two (which make some platform mallocs sad).
  21174. o Minor bugfixes (misc):
  21175. - If exit bandwidth ever exceeds one third of total bandwidth, then
  21176. use the correct formula to weight exit nodes when choosing paths.
  21177. Based on patch from Mike Perry.
  21178. - Choose perfectly fairly among routers when choosing by bandwidth and
  21179. weighting by fraction of bandwidth provided by exits. Previously, we
  21180. would choose with only approximate fairness, and correct ourselves
  21181. if we ran off the end of the list.
  21182. - If we require CookieAuthentication but we fail to write the
  21183. cookie file, we would warn but not exit, and end up in a state
  21184. where no controller could authenticate. Now we exit.
  21185. - If we require CookieAuthentication, stop generating a new cookie
  21186. every time we change any piece of our config.
  21187. - Refuse to start with certain directory authority keys, and
  21188. encourage people using them to stop.
  21189. - Terminate multi-line control events properly. Original patch
  21190. from tup.
  21191. - Fix a minor memory leak when we fail to find enough suitable
  21192. servers to choose a circuit.
  21193. - Stop leaking part of the descriptor when we run into a particularly
  21194. unparseable piece of it.
  21195. Changes in version 0.2.0.6-alpha - 2007-08-26
  21196. This sixth development snapshot features a new Vidalia version in the
  21197. Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
  21198. the ControlPort in the default configuration, which addresses important
  21199. security risks.
  21200. In addition, this snapshot fixes major load balancing problems
  21201. with path selection, which should speed things up a lot once many
  21202. people have upgraded. The directory authorities also use a new
  21203. mean-time-between-failure approach to tracking which servers are stable,
  21204. rather than just looking at the most recent uptime.
  21205. o New directory authorities:
  21206. - Set up Tonga as the default bridge directory authority.
  21207. o Major features:
  21208. - Directory authorities now track servers by weighted
  21209. mean-times-between-failures. When we have 4 or more days of data,
  21210. use measured MTBF rather than declared uptime to decide whether
  21211. to call a router Stable. Implements proposal 108.
  21212. o Major bugfixes (load balancing):
  21213. - When choosing nodes for non-guard positions, weight guards
  21214. proportionally less, since they already have enough load. Patch
  21215. from Mike Perry.
  21216. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  21217. will allow fast Tor servers to get more attention.
  21218. - When we're upgrading from an old Tor version, forget our current
  21219. guards and pick new ones according to the new weightings. These
  21220. three load balancing patches could raise effective network capacity
  21221. by a factor of four. Thanks to Mike Perry for measurements.
  21222. o Major bugfixes (descriptor parsing):
  21223. - Handle unexpected whitespace better in malformed descriptors. Bug
  21224. found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
  21225. o Minor features:
  21226. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  21227. GETINFO for Torstat to use until it can switch to using extrainfos.
  21228. - Optionally (if built with -DEXPORTMALLINFO) export the output
  21229. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  21230. from localhost.
  21231. o Minor bugfixes:
  21232. - Do not intermix bridge routers with controller-added
  21233. routers. (Bugfix on 0.2.0.x)
  21234. - Do not fail with an assert when accept() returns an unexpected
  21235. address family. Addresses but does not wholly fix bug 483. (Bugfix
  21236. on 0.2.0.x)
  21237. - Let directory authorities startup even when they can't generate
  21238. a descriptor immediately, e.g. because they don't know their
  21239. address.
  21240. - Stop putting the authentication cookie in a file called "0"
  21241. in your working directory if you don't specify anything for the
  21242. new CookieAuthFile option. Reported by Matt Edman.
  21243. - Make it possible to read the PROTOCOLINFO response in a way that
  21244. conforms to our control-spec. Reported by Matt Edman.
  21245. - Fix a minor memory leak when we fail to find enough suitable
  21246. servers to choose a circuit. Bugfix on 0.1.2.x.
  21247. - Stop leaking part of the descriptor when we run into a particularly
  21248. unparseable piece of it. Bugfix on 0.1.2.x.
  21249. - Unmap the extrainfo cache file on exit.
  21250. Changes in version 0.2.0.5-alpha - 2007-08-19
  21251. This fifth development snapshot fixes compilation on Windows again;
  21252. fixes an obnoxious client-side bug that slowed things down and put
  21253. extra load on the network; gets us closer to using the v3 directory
  21254. voting scheme; makes it easier for Tor controllers to use cookie-based
  21255. authentication; and fixes a variety of other bugs.
  21256. o Removed features:
  21257. - Version 1 directories are no longer generated in full. Instead,
  21258. authorities generate and serve "stub" v1 directories that list
  21259. no servers. This will stop Tor versions 0.1.0.x and earlier from
  21260. working, but (for security reasons) nobody should be running those
  21261. versions anyway.
  21262. o Major bugfixes (compilation, 0.2.0.x):
  21263. - Try to fix Win32 compilation again: improve checking for IPv6 types.
  21264. - Try to fix MSVC compilation: build correctly on platforms that do
  21265. not define s6_addr16 or s6_addr32.
  21266. - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
  21267. Zhou.
  21268. o Major bugfixes (stream expiration):
  21269. - Expire not-yet-successful application streams in all cases if
  21270. they've been around longer than SocksTimeout. Right now there are
  21271. some cases where the stream will live forever, demanding a new
  21272. circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
  21273. reported by lodger.
  21274. o Minor features (directory servers):
  21275. - When somebody requests a list of statuses or servers, and we have
  21276. none of those, return a 404 rather than an empty 200.
  21277. o Minor features (directory voting):
  21278. - Store v3 consensus status consensuses on disk, and reload them
  21279. on startup.
  21280. o Minor features (security):
  21281. - Warn about unsafe ControlPort configurations.
  21282. - Refuse to start with certain directory authority keys, and
  21283. encourage people using them to stop.
  21284. o Minor features (controller):
  21285. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  21286. is valid before any authentication has been received. It tells
  21287. a controller what kind of authentication is expected, and what
  21288. protocol is spoken. Implements proposal 119.
  21289. - New config option CookieAuthFile to choose a new location for the
  21290. cookie authentication file, and config option
  21291. CookieAuthFileGroupReadable to make it group-readable.
  21292. o Minor features (unit testing):
  21293. - Add command-line arguments to unit-test executable so that we can
  21294. invoke any chosen test from the command line rather than having
  21295. to run the whole test suite at once; and so that we can turn on
  21296. logging for the unit tests.
  21297. o Minor bugfixes (on 0.1.2.x):
  21298. - If we require CookieAuthentication but we fail to write the
  21299. cookie file, we would warn but not exit, and end up in a state
  21300. where no controller could authenticate. Now we exit.
  21301. - If we require CookieAuthentication, stop generating a new cookie
  21302. every time we change any piece of our config.
  21303. - When loading bandwidth history, do not believe any information in
  21304. the future. Fixes bug 434.
  21305. - When loading entry guard information, do not believe any information
  21306. in the future.
  21307. - When we have our clock set far in the future and generate an
  21308. onion key, then re-set our clock to be correct, we should not stop
  21309. the onion key from getting rotated.
  21310. - Clean up torrc sample config file.
  21311. - Do not automatically run configure from autogen.sh. This
  21312. non-standard behavior tended to annoy people who have built other
  21313. programs.
  21314. o Minor bugfixes (on 0.2.0.x):
  21315. - Fix a bug with AutomapHostsOnResolve that would always cause
  21316. the second request to fail. Bug reported by Kate. Bugfix on
  21317. 0.2.0.3-alpha.
  21318. - Fix a bug in ADDRMAP controller replies that would sometimes
  21319. try to print a NULL. Patch from tup.
  21320. - Read v3 directory authority keys from the right location.
  21321. - Numerous bugfixes to directory voting code.
  21322. Changes in version 0.1.2.16 - 2007-08-01
  21323. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  21324. remote attacker in certain situations to rewrite the user's torrc
  21325. configuration file. This can completely compromise anonymity of users
  21326. in most configurations, including those running the Vidalia bundles,
  21327. TorK, etc. Or worse.
  21328. o Major security fixes:
  21329. - Close immediately after missing authentication on control port;
  21330. do not allow multiple authentication attempts.
  21331. Changes in version 0.2.0.4-alpha - 2007-08-01
  21332. This fourth development snapshot fixes a critical security vulnerability
  21333. for most users, specifically those running Vidalia, TorK, etc. Everybody
  21334. should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
  21335. o Major security fixes:
  21336. - Close immediately after missing authentication on control port;
  21337. do not allow multiple authentication attempts.
  21338. o Major bugfixes (compilation):
  21339. - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
  21340. defined there.
  21341. o Minor features (performance):
  21342. - Be even more aggressive about releasing RAM from small
  21343. empty buffers. Thanks to our free-list code, this shouldn't be too
  21344. performance-intensive.
  21345. - Disable sentinel-based debugging for buffer code: we squashed all
  21346. the bugs that this was supposed to detect a long time ago, and
  21347. now its only effect is to change our buffer sizes from nice
  21348. powers of two (which platform mallocs tend to like) to values
  21349. slightly over powers of two (which make some platform mallocs sad).
  21350. - Log malloc statistics from mallinfo() on platforms where it
  21351. exists.
  21352. Changes in version 0.2.0.3-alpha - 2007-07-29
  21353. This third development snapshot introduces new experimental
  21354. blocking-resistance features and a preliminary version of the v3
  21355. directory voting design, and includes many other smaller features
  21356. and bugfixes.
  21357. o Major features:
  21358. - The first pieces of our "bridge" design for blocking-resistance
  21359. are implemented. People can run bridge directory authorities;
  21360. people can run bridges; and people can configure their Tor clients
  21361. with a set of bridges to use as the first hop into the Tor network.
  21362. See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
  21363. details.
  21364. - Create listener connections before we setuid to the configured
  21365. User and Group. Now non-Windows users can choose port values
  21366. under 1024, start Tor as root, and have Tor bind those ports
  21367. before it changes to another UID. (Windows users could already
  21368. pick these ports.)
  21369. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  21370. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  21371. on "vserver" accounts. (Patch from coderman.)
  21372. - Be even more aggressive about separating local traffic from relayed
  21373. traffic when RelayBandwidthRate is set. (Refines proposal 111.)
  21374. o Major features (experimental):
  21375. - First cut of code for "v3 dir voting": directory authorities will
  21376. vote on a common network status document rather than each publishing
  21377. their own opinion. This code needs more testing and more corner-case
  21378. handling before it's ready for use.
  21379. o Security fixes:
  21380. - Directory authorities now call routers Fast if their bandwidth is
  21381. at least 100KB/s, and consider their bandwidth adequate to be a
  21382. Guard if it is at least 250KB/s, no matter the medians. This fix
  21383. complements proposal 107. [Bugfix on 0.1.2.x]
  21384. - Directory authorities now never mark more than 3 servers per IP as
  21385. Valid and Running. (Implements proposal 109, by Kevin Bauer and
  21386. Damon McCoy.)
  21387. - Minor change to organizationName and commonName generation
  21388. procedures in TLS certificates during Tor handshakes, to invalidate
  21389. some earlier censorware approaches. This is not a long-term
  21390. solution, but applying it will give us a bit of time to look into
  21391. the epidemiology of countermeasures as they spread.
  21392. o Major bugfixes (directory):
  21393. - Rewrite directory tokenization code to never run off the end of
  21394. a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
  21395. o Minor features (controller):
  21396. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  21397. match requests to applications. (Patch from Robert Hogan.)
  21398. - Report address and port correctly on connections to DNSPort. (Patch
  21399. from Robert Hogan.)
  21400. - Add a RESOLVE command to launch hostname lookups. (Original patch
  21401. from Robert Hogan.)
  21402. - Add GETINFO status/enough-dir-info to let controllers tell whether
  21403. Tor has downloaded sufficient directory information. (Patch
  21404. from Tup.)
  21405. - You can now use the ControlSocket option to tell Tor to listen for
  21406. controller connections on Unix domain sockets on systems that
  21407. support them. (Patch from Peter Palfrader.)
  21408. - STREAM NEW events are generated for DNSPort requests and for
  21409. tunneled directory connections. (Patch from Robert Hogan.)
  21410. - New "GETINFO address-mappings/*" command to get address mappings
  21411. with expiry information. "addr-mappings/*" is now deprecated.
  21412. (Patch from Tup.)
  21413. o Minor features (misc):
  21414. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  21415. from croup.)
  21416. - The tor-gencert tool for v3 directory authorities now creates all
  21417. files as readable to the file creator only, and write-protects
  21418. the authority identity key.
  21419. - When dumping memory usage, list bytes used in buffer memory
  21420. free-lists.
  21421. - When running with dmalloc, dump more stats on hup and on exit.
  21422. - Directory authorities now fail quickly and (relatively) harmlessly
  21423. if they generate a network status document that is somehow
  21424. malformed.
  21425. o Traffic load balancing improvements:
  21426. - If exit bandwidth ever exceeds one third of total bandwidth, then
  21427. use the correct formula to weight exit nodes when choosing paths.
  21428. (Based on patch from Mike Perry.)
  21429. - Choose perfectly fairly among routers when choosing by bandwidth and
  21430. weighting by fraction of bandwidth provided by exits. Previously, we
  21431. would choose with only approximate fairness, and correct ourselves
  21432. if we ran off the end of the list. [Bugfix on 0.1.2.x]
  21433. o Performance improvements:
  21434. - Be more aggressive with freeing buffer RAM or putting it on the
  21435. memory free lists.
  21436. - Use Critical Sections rather than Mutexes for synchronizing threads
  21437. on win32; Mutexes are heavier-weight, and designed for synchronizing
  21438. between processes.
  21439. o Deprecated and removed features:
  21440. - RedirectExits is now deprecated.
  21441. - Stop allowing address masks that do not correspond to bit prefixes.
  21442. We have warned about these for a really long time; now it's time
  21443. to reject them. (Patch from croup.)
  21444. o Minor bugfixes (directory):
  21445. - Fix another crash bug related to extra-info caching. (Bug found by
  21446. Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
  21447. - Directories no longer return a "304 not modified" when they don't
  21448. have the networkstatus the client asked for. Also fix a memory
  21449. leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
  21450. - We had accidentally labelled 0.1.2.x directory servers as not
  21451. suitable for begin_dir requests, and had labelled no directory
  21452. servers as suitable for uploading extra-info documents. [Bugfix
  21453. on 0.2.0.1-alpha]
  21454. o Minor bugfixes (dns):
  21455. - Fix a crash when DNSPort is set more than once. (Patch from Robert
  21456. Hogan.) [Bugfix on 0.2.0.2-alpha]
  21457. - Add DNSPort connections to the global connection list, so that we
  21458. can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
  21459. on 0.2.0.2-alpha]
  21460. - Fix a dangling reference that could lead to a crash when DNSPort is
  21461. changed or closed (Patch from Robert Hogan.) [Bugfix on
  21462. 0.2.0.2-alpha]
  21463. o Minor bugfixes (controller):
  21464. - Provide DNS expiry times in GMT, not in local time. For backward
  21465. compatibility, ADDRMAP events only provide GMT expiry in an extended
  21466. field. "GETINFO address-mappings" always does the right thing.
  21467. - Use CRLF line endings properly in NS events.
  21468. - Terminate multi-line control events properly. (Original patch
  21469. from tup.) [Bugfix on 0.1.2.x-alpha]
  21470. - Do not include spaces in SOURCE_ADDR fields in STREAM
  21471. events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
  21472. Changes in version 0.1.2.15 - 2007-07-17
  21473. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  21474. problems, fixes compilation on BSD, and fixes a variety of other
  21475. bugs. Everybody should upgrade.
  21476. o Major bugfixes (compilation):
  21477. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  21478. o Major bugfixes (crashes):
  21479. - Try even harder not to dereference the first character after
  21480. an mmap(). Reported by lodger.
  21481. - Fix a crash bug in directory authorities when we re-number the
  21482. routerlist while inserting a new router.
  21483. - When the cached-routers file is an even multiple of the page size,
  21484. don't run off the end and crash. (Fixes bug 455; based on idea
  21485. from croup.)
  21486. - Fix eventdns.c behavior on Solaris: It is critical to include
  21487. orconfig.h _before_ sys/types.h, so that we can get the expected
  21488. definition of _FILE_OFFSET_BITS.
  21489. o Major bugfixes (security):
  21490. - Fix a possible buffer overrun when using BSD natd support. Bug
  21491. found by croup.
  21492. - When sending destroy cells from a circuit's origin, don't include
  21493. the reason for tearing down the circuit. The spec says we didn't,
  21494. and now we actually don't. Reported by lodger.
  21495. - Keep streamids from different exits on a circuit separate. This
  21496. bug may have allowed other routers on a given circuit to inject
  21497. cells into streams. Reported by lodger; fixes bug 446.
  21498. - If there's a never-before-connected-to guard node in our list,
  21499. never choose any guards past it. This way we don't expand our
  21500. guard list unless we need to.
  21501. o Minor bugfixes (guard nodes):
  21502. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  21503. don't get overused as guards.
  21504. o Minor bugfixes (directory):
  21505. - Correctly count the number of authorities that recommend each
  21506. version. Previously, we were under-counting by 1.
  21507. - Fix a potential crash bug when we load many server descriptors at
  21508. once and some of them make others of them obsolete. Fixes bug 458.
  21509. o Minor bugfixes (hidden services):
  21510. - Stop tearing down the whole circuit when the user asks for a
  21511. connection to a port that the hidden service didn't configure.
  21512. Resolves bug 444.
  21513. o Minor bugfixes (misc):
  21514. - On Windows, we were preventing other processes from reading
  21515. cached-routers while Tor was running. Reported by janbar.
  21516. - Fix a possible (but very unlikely) bug in picking routers by
  21517. bandwidth. Add a log message to confirm that it is in fact
  21518. unlikely. Patch from lodger.
  21519. - Backport a couple of memory leak fixes.
  21520. - Backport miscellaneous cosmetic bugfixes.
  21521. Changes in version 0.2.0.2-alpha - 2007-06-02
  21522. o Major bugfixes on 0.2.0.1-alpha:
  21523. - Fix an assertion failure related to servers without extra-info digests.
  21524. Resolves bugs 441 and 442.
  21525. o Minor features (directory):
  21526. - Support "If-Modified-Since" when answering HTTP requests for
  21527. directories, running-routers documents, and network-status documents.
  21528. (There's no need to support it for router descriptors, since those
  21529. are downloaded by descriptor digest.)
  21530. o Minor build issues:
  21531. - Clear up some MIPSPro compiler warnings.
  21532. - When building from a tarball on a machine that happens to have SVK
  21533. installed, report the micro-revision as whatever version existed
  21534. in the tarball, not as "x".
  21535. Changes in version 0.2.0.1-alpha - 2007-06-01
  21536. This early development snapshot provides new features for people running
  21537. Tor as both a client and a server (check out the new RelayBandwidth
  21538. config options); lets Tor run as a DNS proxy; and generally moves us
  21539. forward on a lot of fronts.
  21540. o Major features, server usability:
  21541. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  21542. a separate set of token buckets for relayed traffic. Right now
  21543. relayed traffic is defined as answers to directory requests, and
  21544. OR connections that don't have any local circuits on them.
  21545. o Major features, client usability:
  21546. - A client-side DNS proxy feature to replace the need for
  21547. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  21548. for DNS requests on port 9999, use the Tor network to resolve them
  21549. anonymously, and send the reply back like a regular DNS server.
  21550. The code still only implements a subset of DNS.
  21551. - Make PreferTunneledDirConns and TunnelDirConns work even when
  21552. we have no cached directory info. This means Tor clients can now
  21553. do all of their connections protected by TLS.
  21554. o Major features, performance and efficiency:
  21555. - Directory authorities accept and serve "extra info" documents for
  21556. routers. These documents contain fields from router descriptors
  21557. that aren't usually needed, and that use a lot of excess
  21558. bandwidth. Once these fields are removed from router descriptors,
  21559. the bandwidth savings should be about 60%. [Partially implements
  21560. proposal 104.]
  21561. - Servers upload extra-info documents to any authority that accepts
  21562. them. Authorities (and caches that have been configured to download
  21563. extra-info documents) download them as needed. [Partially implements
  21564. proposal 104.]
  21565. - Change the way that Tor buffers data that it is waiting to write.
  21566. Instead of queueing data cells in an enormous ring buffer for each
  21567. client->OR or OR->OR connection, we now queue cells on a separate
  21568. queue for each circuit. This lets us use less slack memory, and
  21569. will eventually let us be smarter about prioritizing different kinds
  21570. of traffic.
  21571. - Use memory pools to allocate cells with better speed and memory
  21572. efficiency, especially on platforms where malloc() is inefficient.
  21573. - Stop reading on edge connections when their corresponding circuit
  21574. buffers are full; start again as the circuits empty out.
  21575. o Major features, other:
  21576. - Add an HSAuthorityRecordStats option that hidden service authorities
  21577. can use to track statistics of overall hidden service usage without
  21578. logging information that would be very useful to an attacker.
  21579. - Start work implementing multi-level keys for directory authorities:
  21580. Add a standalone tool to generate key certificates. (Proposal 103.)
  21581. o Security fixes:
  21582. - Directory authorities now call routers Stable if they have an
  21583. uptime of at least 30 days, even if that's not the median uptime
  21584. in the network. Implements proposal 107, suggested by Kevin Bauer
  21585. and Damon McCoy.
  21586. o Minor fixes (resource management):
  21587. - Count the number of open sockets separately from the number
  21588. of active connection_t objects. This will let us avoid underusing
  21589. our allocated connection limit.
  21590. - We no longer use socket pairs to link an edge connection to an
  21591. anonymous directory connection or a DirPort test connection.
  21592. Instead, we track the link internally and transfer the data
  21593. in-process. This saves two sockets per "linked" connection (at the
  21594. client and at the server), and avoids the nasty Windows socketpair()
  21595. workaround.
  21596. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  21597. for every single inactive connection_t. Free items from the
  21598. 4k/16k-buffer free lists when they haven't been used for a while.
  21599. o Minor features (build):
  21600. - Make autoconf search for libevent, openssl, and zlib consistently.
  21601. - Update deprecated macros in configure.in.
  21602. - When warning about missing headers, tell the user to let us
  21603. know if the compile succeeds anyway, so we can downgrade the
  21604. warning.
  21605. - Include the current subversion revision as part of the version
  21606. string: either fetch it directly if we're in an SVN checkout, do
  21607. some magic to guess it if we're in an SVK checkout, or use
  21608. the last-detected version if we're building from a .tar.gz.
  21609. Use this version consistently in log messages.
  21610. o Minor features (logging):
  21611. - Always prepend "Bug: " to any log message about a bug.
  21612. - Put a platform string (e.g. "Linux i686") in the startup log
  21613. message, so when people paste just their logs, we know if it's
  21614. OpenBSD or Windows or what.
  21615. - When logging memory usage, break down memory used in buffers by
  21616. buffer type.
  21617. o Minor features (directory system):
  21618. - New config option V2AuthoritativeDirectory that all directory
  21619. authorities should set. This will let future authorities choose
  21620. not to serve V2 directory information.
  21621. - Directory authorities allow multiple router descriptors and/or extra
  21622. info documents to be uploaded in a single go. This will make
  21623. implementing proposal 104 simpler.
  21624. o Minor features (controller):
  21625. - Add a new config option __DisablePredictedCircuits designed for
  21626. use by the controller, when we don't want Tor to build any circuits
  21627. preemptively.
  21628. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  21629. so we can exit from the middle of the circuit.
  21630. - Implement "getinfo status/circuit-established".
  21631. - Implement "getinfo status/version/..." so a controller can tell
  21632. whether the current version is recommended, and whether any versions
  21633. are good, and how many authorities agree. (Patch from shibz.)
  21634. o Minor features (hidden services):
  21635. - Allow multiple HiddenServicePort directives with the same virtual
  21636. port; when they occur, the user is sent round-robin to one
  21637. of the target ports chosen at random. Partially fixes bug 393 by
  21638. adding limited ad-hoc round-robining.
  21639. o Minor features (other):
  21640. - More unit tests.
  21641. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  21642. resolve request for hosts matching a given pattern causes Tor to
  21643. generate an internal virtual address mapping for that host. This
  21644. allows DNSPort to work sensibly with hidden service users. By
  21645. default, .exit and .onion addresses are remapped; the list of
  21646. patterns can be reconfigured with AutomapHostsSuffixes.
  21647. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  21648. address. Thanks to the AutomapHostsOnResolve option, this is no
  21649. longer a completely silly thing to do.
  21650. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  21651. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  21652. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  21653. minus 1 byte: the actual maximum declared bandwidth.
  21654. o Removed features:
  21655. - Removed support for the old binary "version 0" controller protocol.
  21656. This has been deprecated since 0.1.1, and warnings have been issued
  21657. since 0.1.2. When we encounter a v0 control message, we now send
  21658. back an error and close the connection.
  21659. - Remove the old "dns worker" server DNS code: it hasn't been default
  21660. since 0.1.2.2-alpha, and all the servers seem to be using the new
  21661. eventdns code.
  21662. o Minor bugfixes (portability):
  21663. - Even though Windows is equally happy with / and \ as path separators,
  21664. try to use \ consistently on Windows and / consistently on Unix: it
  21665. makes the log messages nicer.
  21666. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  21667. - Read resolv.conf files correctly on platforms where read() returns
  21668. partial results on small file reads.
  21669. o Minor bugfixes (directory):
  21670. - Correctly enforce that elements of directory objects do not appear
  21671. more often than they are allowed to appear.
  21672. - When we are reporting the DirServer line we just parsed, we were
  21673. logging the second stanza of the key fingerprint, not the first.
  21674. o Minor bugfixes (logging):
  21675. - When we hit an EOF on a log (probably because we're shutting down),
  21676. don't try to remove the log from the list: just mark it as
  21677. unusable. (Bulletproofs against bug 222.)
  21678. o Minor bugfixes (other):
  21679. - In the exitlist script, only consider the most recently published
  21680. server descriptor for each server. Also, when the user requests
  21681. a list of servers that _reject_ connections to a given address,
  21682. explicitly exclude the IPs that also have servers that accept
  21683. connections to that address. (Resolves bug 405.)
  21684. - Stop allowing hibernating servers to be "stable" or "fast".
  21685. - On Windows, we were preventing other processes from reading
  21686. cached-routers while Tor was running. (Reported by janbar)
  21687. - Make the NodeFamilies config option work. (Reported by
  21688. lodger -- it has never actually worked, even though we added it
  21689. in Oct 2004.)
  21690. - Check return values from pthread_mutex functions.
  21691. - Don't save non-general-purpose router descriptors to the disk cache,
  21692. because we have no way of remembering what their purpose was when
  21693. we restart.
  21694. - Add even more asserts to hunt down bug 417.
  21695. - Build without verbose warnings even on (not-yet-released) gcc 4.2.
  21696. - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
  21697. Add a log message to confirm that it is in fact unlikely.
  21698. o Minor bugfixes (controller):
  21699. - Make 'getinfo fingerprint' return a 551 error if we're not a
  21700. server, so we match what the control spec claims we do. Reported
  21701. by daejees.
  21702. - Fix a typo in an error message when extendcircuit fails that
  21703. caused us to not follow the \r\n-based delimiter protocol. Reported
  21704. by daejees.
  21705. o Code simplifications and refactoring:
  21706. - Stop passing around circuit_t and crypt_path_t pointers that are
  21707. implicit in other procedure arguments.
  21708. - Drop the old code to choke directory connections when the
  21709. corresponding OR connections got full: thanks to the cell queue
  21710. feature, OR conns don't get full any more.
  21711. - Make dns_resolve() handle attaching connections to circuits
  21712. properly, so the caller doesn't have to.
  21713. - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
  21714. - Keep the connection array as a dynamic smartlist_t, rather than as
  21715. a fixed-sized array. This is important, as the number of connections
  21716. is becoming increasingly decoupled from the number of sockets.
  21717. Changes in version 0.1.2.14 - 2007-05-25
  21718. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  21719. change especially affects those who serve or use hidden services),
  21720. and fixes several other crash- and security-related bugs.
  21721. o Directory authority changes:
  21722. - Two directory authorities (moria1 and moria2) just moved to new
  21723. IP addresses. This change will particularly affect those who serve
  21724. or use hidden services.
  21725. o Major bugfixes (crashes):
  21726. - If a directory server runs out of space in the connection table
  21727. as it's processing a begin_dir request, it will free the exit stream
  21728. but leave it attached to the circuit, leading to unpredictable
  21729. behavior. (Reported by seeess, fixes bug 425.)
  21730. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  21731. to corrupt memory under some really unlikely scenarios.
  21732. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  21733. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  21734. by lodger.)
  21735. o Major bugfixes (security):
  21736. - When choosing an entry guard for a circuit, avoid using guards
  21737. that are in the same family as the chosen exit -- not just guards
  21738. that are exactly the chosen exit. (Reported by lodger.)
  21739. o Major bugfixes (resource management):
  21740. - If a directory authority is down, skip it when deciding where to get
  21741. networkstatus objects or descriptors. Otherwise we keep asking
  21742. every 10 seconds forever. Fixes bug 384.
  21743. - Count it as a failure if we fetch a valid network-status but we
  21744. don't want to keep it. Otherwise we'll keep fetching it and keep
  21745. not wanting to keep it. Fixes part of bug 422.
  21746. - If all of our dirservers have given us bad or no networkstatuses
  21747. lately, then stop hammering them once per minute even when we
  21748. think they're failed. Fixes another part of bug 422.
  21749. o Minor bugfixes:
  21750. - Actually set the purpose correctly for descriptors inserted with
  21751. purpose=controller.
  21752. - When we have k non-v2 authorities in our DirServer config,
  21753. we ignored the last k authorities in the list when updating our
  21754. network-statuses.
  21755. - Correctly back-off from requesting router descriptors that we are
  21756. having a hard time downloading.
  21757. - Read resolv.conf files correctly on platforms where read() returns
  21758. partial results on small file reads.
  21759. - Don't rebuild the entire router store every time we get 32K of
  21760. routers: rebuild it when the journal gets very large, or when
  21761. the gaps in the store get very large.
  21762. o Minor features:
  21763. - When routers publish SVN revisions in their router descriptors,
  21764. authorities now include those versions correctly in networkstatus
  21765. documents.
  21766. - Warn when using a version of libevent before 1.3b to run a server on
  21767. OSX or BSD: these versions interact badly with userspace threads.
  21768. Changes in version 0.1.2.13 - 2007-04-24
  21769. This release features some major anonymity fixes, such as safer path
  21770. selection; better client performance; faster bootstrapping, better
  21771. address detection, and better DNS support for servers; write limiting as
  21772. well as read limiting to make servers easier to run; and a huge pile of
  21773. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  21774. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  21775. of the Freenode IRC network, remembering his patience and vision for
  21776. free speech on the Internet.
  21777. o Minor fixes:
  21778. - Fix a memory leak when we ask for "all" networkstatuses and we
  21779. get one we don't recognize.
  21780. - Add more asserts to hunt down bug 417.
  21781. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  21782. Changes in version 0.1.2.12-rc - 2007-03-16
  21783. o Major bugfixes:
  21784. - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
  21785. directory information requested inside Tor connections (i.e. via
  21786. begin_dir cells). It only triggered when the same connection was
  21787. serving other data at the same time. Reported by seeess.
  21788. o Minor bugfixes:
  21789. - When creating a circuit via the controller, send a 'launched'
  21790. event when we're done, so we follow the spec better.
  21791. Changes in version 0.1.2.11-rc - 2007-03-15
  21792. o Minor bugfixes (controller), reported by daejees:
  21793. - Correct the control spec to match how the code actually responds
  21794. to 'getinfo addr-mappings/*'.
  21795. - The control spec described a GUARDS event, but the code
  21796. implemented a GUARD event. Standardize on GUARD, but let people
  21797. ask for GUARDS too.
  21798. Changes in version 0.1.2.10-rc - 2007-03-07
  21799. o Major bugfixes (Windows):
  21800. - Do not load the NT services library functions (which may not exist)
  21801. just to detect if we're a service trying to shut down. Now we run
  21802. on Win98 and friends again.
  21803. o Minor bugfixes (other):
  21804. - Clarify a couple of log messages.
  21805. - Fix a misleading socks5 error number.
  21806. Changes in version 0.1.2.9-rc - 2007-03-02
  21807. o Major bugfixes (Windows):
  21808. - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
  21809. of the usual GCC "%llu". This prevents a bug when saving 64-bit
  21810. int configuration values: the high-order 32 bits would get
  21811. truncated. In particular, we were being bitten by the default
  21812. MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
  21813. and maybe also bug 397.)
  21814. o Minor bugfixes (performance):
  21815. - Use OpenSSL's AES implementation on platforms where it's faster.
  21816. This could save us as much as 10% CPU usage.
  21817. o Minor bugfixes (server):
  21818. - Do not rotate onion key immediately after setting it for the first
  21819. time.
  21820. o Minor bugfixes (directory authorities):
  21821. - Stop calling servers that have been hibernating for a long time
  21822. "stable". Also, stop letting hibernating or obsolete servers affect
  21823. uptime and bandwidth cutoffs.
  21824. - Stop listing hibernating servers in the v1 directory.
  21825. o Minor bugfixes (hidden services):
  21826. - Upload hidden service descriptors slightly less often, to reduce
  21827. load on authorities.
  21828. o Minor bugfixes (other):
  21829. - Fix an assert that could trigger if a controller quickly set then
  21830. cleared EntryNodes. Bug found by Udo van den Heuvel.
  21831. - On architectures where sizeof(int)>4, still clamp declarable bandwidth
  21832. to INT32_MAX.
  21833. - Fix a potential race condition in the rpm installer. Found by
  21834. Stefan Nordhausen.
  21835. - Try to fix eventdns warnings once and for all: do not treat a dns rcode
  21836. of 2 as indicating that the server is completely bad; it sometimes
  21837. means that the server is just bad for the request in question. (may fix
  21838. the last of bug 326.)
  21839. - Disable encrypted directory connections when we don't have a server
  21840. descriptor for the destination. We'll get this working again in
  21841. the 0.2.0 branch.
  21842. Changes in version 0.1.2.8-beta - 2007-02-26
  21843. o Major bugfixes (crashes):
  21844. - Stop crashing when the controller asks us to resetconf more than
  21845. one config option at once. (Vidalia 0.0.11 does this.)
  21846. - Fix a crash that happened on Win98 when we're given command-line
  21847. arguments: don't try to load NT service functions from advapi32.dll
  21848. except when we need them. (Bug introduced in 0.1.2.7-alpha;
  21849. resolves bug 389.)
  21850. - Fix a longstanding obscure crash bug that could occur when
  21851. we run out of DNS worker processes. (Resolves bug 390.)
  21852. o Major bugfixes (hidden services):
  21853. - Correctly detect whether hidden service descriptor downloads are
  21854. in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
  21855. o Major bugfixes (accounting):
  21856. - When we start during an accounting interval before it's time to wake
  21857. up, remember to wake up at the correct time. (May fix bug 342.)
  21858. o Minor bugfixes (controller):
  21859. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  21860. clear the corresponding on_circuit variable, and remember later
  21861. that we don't need to send a redundant CLOSED event. Resolves part
  21862. 3 of bug 367.
  21863. - Report events where a resolve succeeded or where we got a socks
  21864. protocol error correctly, rather than calling both of them
  21865. "INTERNAL".
  21866. - Change reported stream target addresses to IP consistently when
  21867. we finally get the IP from an exit node.
  21868. - Send log messages to the controller even if they happen to be very
  21869. long.
  21870. o Minor bugfixes (other):
  21871. - Display correct results when reporting which versions are
  21872. recommended, and how recommended they are. (Resolves bug 383.)
  21873. - Improve our estimates for directory bandwidth to be less random:
  21874. guess that an unrecognized directory will have the average bandwidth
  21875. from all known directories, not that it will have the average
  21876. bandwidth from those directories earlier than it on the list.
  21877. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  21878. and hup, stop triggering an assert based on an empty onion_key.
  21879. - On platforms with no working mmap() equivalent, don't warn the
  21880. user when cached-routers doesn't exist.
  21881. - Warn the user when mmap() [or its equivalent] fails for some reason
  21882. other than file-not-found.
  21883. - Don't warn the user when cached-routers.new doesn't exist: that's
  21884. perfectly fine when starting up for the first time.
  21885. - When EntryNodes are configured, rebuild the guard list to contain,
  21886. in order: the EntryNodes that were guards before; the rest of the
  21887. EntryNodes; the nodes that were guards before.
  21888. - Mask out all signals in sub-threads; only the libevent signal
  21889. handler should be processing them. This should prevent some crashes
  21890. on some machines using pthreads. (Patch from coderman.)
  21891. - Fix switched arguments on memset in the implementation of
  21892. tor_munmap() for systems with no mmap() call.
  21893. - When Tor receives a router descriptor that it asked for, but
  21894. no longer wants (because it has received fresh networkstatuses
  21895. in the meantime), do not warn the user. Cache the descriptor if
  21896. we're a cache; drop it if we aren't.
  21897. - Make earlier entry guards _really_ get retried when the network
  21898. comes back online.
  21899. - On a malformed DNS reply, always give an error to the corresponding
  21900. DNS request.
  21901. - Build with recent libevents on platforms that do not define the
  21902. nonstandard types "u_int8_t" and friends.
  21903. o Minor features (controller):
  21904. - Warn the user when an application uses the obsolete binary v0
  21905. control protocol. We're planning to remove support for it during
  21906. the next development series, so it's good to give people some
  21907. advance warning.
  21908. - Add STREAM_BW events to report per-entry-stream bandwidth
  21909. use. (Patch from Robert Hogan.)
  21910. - Rate-limit SIGNEWNYM signals in response to controllers that
  21911. impolitely generate them for every single stream. (Patch from
  21912. mwenge; closes bug 394.)
  21913. - Make REMAP stream events have a SOURCE (cache or exit), and
  21914. make them generated in every case where we get a successful
  21915. connected or resolved cell.
  21916. o Minor bugfixes (performance):
  21917. - Call router_have_min_dir_info half as often. (This is showing up in
  21918. some profiles, but not others.)
  21919. - When using GCC, make log_debug never get called at all, and its
  21920. arguments never get evaluated, when no debug logs are configured.
  21921. (This is showing up in some profiles, but not others.)
  21922. o Minor features:
  21923. - Remove some never-implemented options. Mark PathlenCoinWeight as
  21924. obsolete.
  21925. - Implement proposal 106: Stop requiring clients to have well-formed
  21926. certificates; stop checking nicknames in certificates. (Clients
  21927. have certificates so that they can look like Tor servers, but in
  21928. the future we might want to allow them to look like regular TLS
  21929. clients instead. Nicknames in certificates serve no purpose other
  21930. than making our protocol easier to recognize on the wire.)
  21931. - Revise messages on handshake failure again to be even more clear about
  21932. which are incoming connections and which are outgoing.
  21933. - Discard any v1 directory info that's over 1 month old (for
  21934. directories) or over 1 week old (for running-routers lists).
  21935. - Do not warn when individual nodes in the configuration's EntryNodes,
  21936. ExitNodes, etc are down: warn only when all possible nodes
  21937. are down. (Fixes bug 348.)
  21938. - Always remove expired routers and networkstatus docs before checking
  21939. whether we have enough information to build circuits. (Fixes
  21940. bug 373.)
  21941. - Put a lower-bound on MaxAdvertisedBandwidth.
  21942. Changes in version 0.1.2.7-alpha - 2007-02-06
  21943. o Major bugfixes (rate limiting):
  21944. - Servers decline directory requests much more aggressively when
  21945. they're low on bandwidth. Otherwise they end up queueing more and
  21946. more directory responses, which can't be good for latency.
  21947. - But never refuse directory requests from local addresses.
  21948. - Fix a memory leak when sending a 503 response for a networkstatus
  21949. request.
  21950. - Be willing to read or write on local connections (e.g. controller
  21951. connections) even when the global rate limiting buckets are empty.
  21952. - If our system clock jumps back in time, don't publish a negative
  21953. uptime in the descriptor. Also, don't let the global rate limiting
  21954. buckets go absurdly negative.
  21955. - Flush local controller connection buffers periodically as we're
  21956. writing to them, so we avoid queueing 4+ megabytes of data before
  21957. trying to flush.
  21958. o Major bugfixes (NT services):
  21959. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  21960. command-line flag so that admins can override the default by saying
  21961. "tor --service install --user "SomeUser"". This will not affect
  21962. existing installed services. Also, warn the user that the service
  21963. will look for its configuration file in the service user's
  21964. %appdata% directory. (We can't do the 'hardwire the user's appdata
  21965. directory' trick any more, since we may not have read access to that
  21966. directory.)
  21967. o Major bugfixes (other):
  21968. - Previously, we would cache up to 16 old networkstatus documents
  21969. indefinitely, if they came from nontrusted authorities. Now we
  21970. discard them if they are more than 10 days old.
  21971. - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
  21972. Del Vecchio).
  21973. - Detect and reject malformed DNS responses containing circular
  21974. pointer loops.
  21975. - If exits are rare enough that we're not marking exits as guards,
  21976. ignore exit bandwidth when we're deciding the required bandwidth
  21977. to become a guard.
  21978. - When we're handling a directory connection tunneled over Tor,
  21979. don't fill up internal memory buffers with all the data we want
  21980. to tunnel; instead, only add it if the OR connection that will
  21981. eventually receive it has some room for it. (This can lead to
  21982. slowdowns in tunneled dir connections; a better solution will have
  21983. to wait for 0.2.0.)
  21984. o Minor bugfixes (dns):
  21985. - Add some defensive programming to eventdns.c in an attempt to catch
  21986. possible memory-stomping bugs.
  21987. - Detect and reject DNS replies containing IPv4 or IPv6 records with
  21988. an incorrect number of bytes. (Previously, we would ignore the
  21989. extra bytes.)
  21990. - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
  21991. in the correct order, and doesn't crash.
  21992. - Free memory held in recently-completed DNS lookup attempts on exit.
  21993. This was not a memory leak, but may have been hiding memory leaks.
  21994. - Handle TTL values correctly on reverse DNS lookups.
  21995. - Treat failure to parse resolv.conf as an error.
  21996. o Minor bugfixes (other):
  21997. - Fix crash with "tor --list-fingerprint" (reported by seeess).
  21998. - When computing clock skew from directory HTTP headers, consider what
  21999. time it was when we finished asking for the directory, not what
  22000. time it is now.
  22001. - Expire socks connections if they spend too long waiting for the
  22002. handshake to finish. Previously we would let them sit around for
  22003. days, if the connecting application didn't close them either.
  22004. - And if the socks handshake hasn't started, don't send a
  22005. "DNS resolve socks failed" handshake reply; just close it.
  22006. - Stop using C functions that OpenBSD's linker doesn't like.
  22007. - Don't launch requests for descriptors unless we have networkstatuses
  22008. from at least half of the authorities. This delays the first
  22009. download slightly under pathological circumstances, but can prevent
  22010. us from downloading a bunch of descriptors we don't need.
  22011. - Do not log IPs with TLS failures for incoming TLS
  22012. connections. (Fixes bug 382.)
  22013. - If the user asks to use invalid exit nodes, be willing to use
  22014. unstable ones.
  22015. - Stop using the reserved ac_cv namespace in our configure script.
  22016. - Call stat() slightly less often; use fstat() when possible.
  22017. - Refactor the way we handle pending circuits when an OR connection
  22018. completes or fails, in an attempt to fix a rare crash bug.
  22019. - Only rewrite a conn's address based on X-Forwarded-For: headers
  22020. if it's a parseable public IP address; and stop adding extra quotes
  22021. to the resulting address.
  22022. o Major features:
  22023. - Weight directory requests by advertised bandwidth. Now we can
  22024. let servers enable write limiting but still allow most clients to
  22025. succeed at their directory requests. (We still ignore weights when
  22026. choosing a directory authority; I hope this is a feature.)
  22027. o Minor features:
  22028. - Create a new file ReleaseNotes which was the old ChangeLog. The
  22029. new ChangeLog file now includes the summaries for all development
  22030. versions too.
  22031. - Check for addresses with invalid characters at the exit as well
  22032. as at the client, and warn less verbosely when they fail. You can
  22033. override this by setting ServerDNSAllowNonRFC953Addresses to 1.
  22034. - Adapt a patch from goodell to let the contrib/exitlist script
  22035. take arguments rather than require direct editing.
  22036. - Inform the server operator when we decide not to advertise a
  22037. DirPort due to AccountingMax enabled or a low BandwidthRate. It
  22038. was confusing Zax, so now we're hopefully more helpful.
  22039. - Bring us one step closer to being able to establish an encrypted
  22040. directory tunnel without knowing a descriptor first. Still not
  22041. ready yet. As part of the change, now assume we can use a
  22042. create_fast cell if we don't know anything about a router.
  22043. - Allow exit nodes to use nameservers running on ports other than 53.
  22044. - Servers now cache reverse DNS replies.
  22045. - Add an --ignore-missing-torrc command-line option so that we can
  22046. get the "use sensible defaults if the configuration file doesn't
  22047. exist" behavior even when specifying a torrc location on the command
  22048. line.
  22049. o Minor features (controller):
  22050. - Track reasons for OR connection failure; make these reasons
  22051. available via the controller interface. (Patch from Mike Perry.)
  22052. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  22053. can learn when clients are sending malformed hostnames to Tor.
  22054. - Clean up documentation for controller status events.
  22055. - Add a REMAP status to stream events to note that a stream's
  22056. address has changed because of a cached address or a MapAddress
  22057. directive.
  22058. Changes in version 0.1.2.6-alpha - 2007-01-09
  22059. o Major bugfixes:
  22060. - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
  22061. connection handles more than 4 gigs in either direction, we crash.
  22062. - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
  22063. advertised exit node, somebody might try to exit from us when
  22064. we're bootstrapping and before we've built our descriptor yet.
  22065. Refuse the connection rather than crashing.
  22066. o Minor bugfixes:
  22067. - Warn if we (as a server) find that we've resolved an address that we
  22068. weren't planning to resolve.
  22069. - Warn that using select() on any libevent version before 1.1 will be
  22070. unnecessarily slow (even for select()).
  22071. - Flush ERR-level controller status events just like we currently
  22072. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  22073. the controller from learning about current events.
  22074. o Minor features (more controller status events):
  22075. - Implement EXTERNAL_ADDRESS server status event so controllers can
  22076. learn when our address changes.
  22077. - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
  22078. can learn when directories reject our descriptor.
  22079. - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
  22080. can learn when a client application is speaking a non-socks protocol
  22081. to our SocksPort.
  22082. - Implement DANGEROUS_SOCKS client status event so controllers
  22083. can learn when a client application is leaking DNS addresses.
  22084. - Implement BUG general status event so controllers can learn when
  22085. Tor is unhappy about its internal invariants.
  22086. - Implement CLOCK_SKEW general status event so controllers can learn
  22087. when Tor thinks the system clock is set incorrectly.
  22088. - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
  22089. server status events so controllers can learn when their descriptors
  22090. are accepted by a directory.
  22091. - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
  22092. server status events so controllers can learn about Tor's progress in
  22093. deciding whether it's reachable from the outside.
  22094. - Implement BAD_LIBEVENT general status event so controllers can learn
  22095. when we have a version/method combination in libevent that needs to
  22096. be changed.
  22097. - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
  22098. and DNS_USELESS server status events so controllers can learn
  22099. about changes to DNS server status.
  22100. o Minor features (directory):
  22101. - Authorities no longer recommend exits as guards if this would shift
  22102. too much load to the exit nodes.
  22103. Changes in version 0.1.2.5-alpha - 2007-01-06
  22104. o Major features:
  22105. - Enable write limiting as well as read limiting. Now we sacrifice
  22106. capacity if we're pushing out lots of directory traffic, rather
  22107. than overrunning the user's intended bandwidth limits.
  22108. - Include TLS overhead when counting bandwidth usage; previously, we
  22109. would count only the bytes sent over TLS, but not the bytes used
  22110. to send them.
  22111. - Support running the Tor service with a torrc not in the same
  22112. directory as tor.exe and default to using the torrc located in
  22113. the %appdata%\Tor\ of the user who installed the service. Patch
  22114. from Matt Edman.
  22115. - Servers now check for the case when common DNS requests are going to
  22116. wildcarded addresses (i.e. all getting the same answer), and change
  22117. their exit policy to reject *:* if it's happening.
  22118. - Implement BEGIN_DIR cells, so we can connect to the directory
  22119. server via TLS to do encrypted directory requests rather than
  22120. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  22121. config options if you like.
  22122. o Minor features (config and docs):
  22123. - Start using the state file to store bandwidth accounting data:
  22124. the bw_accounting file is now obsolete. We'll keep generating it
  22125. for a while for people who are still using 0.1.2.4-alpha.
  22126. - Try to batch changes to the state file so that we do as few
  22127. disk writes as possible while still storing important things in
  22128. a timely fashion.
  22129. - The state file and the bw_accounting file get saved less often when
  22130. the AvoidDiskWrites config option is set.
  22131. - Make PIDFile work on Windows (untested).
  22132. - Add internal descriptions for a bunch of configuration options:
  22133. accessible via controller interface and in comments in saved
  22134. options files.
  22135. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  22136. NNTP by default, so this seems like a sensible addition.
  22137. - Clients now reject hostnames with invalid characters. This should
  22138. avoid some inadvertent info leaks. Add an option
  22139. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  22140. is running a private network with hosts called @, !, and #.
  22141. - Add a maintainer script to tell us which options are missing
  22142. documentation: "make check-docs".
  22143. - Add a new address-spec.txt document to describe our special-case
  22144. addresses: .exit, .onion, and .noconnnect.
  22145. o Minor features (DNS):
  22146. - Ongoing work on eventdns infrastructure: now it has dns server
  22147. and ipv6 support. One day Tor will make use of it.
  22148. - Add client-side caching for reverse DNS lookups.
  22149. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  22150. - When we change nameservers or IP addresses, reset and re-launch
  22151. our tests for DNS hijacking.
  22152. o Minor features (directory):
  22153. - Authorities now specify server versions in networkstatus. This adds
  22154. about 2% to the size of compressed networkstatus docs, and allows
  22155. clients to tell which servers support BEGIN_DIR and which don't.
  22156. The implementation is forward-compatible with a proposed future
  22157. protocol version scheme not tied to Tor versions.
  22158. - DirServer configuration lines now have an orport= option so
  22159. clients can open encrypted tunnels to the authorities without
  22160. having downloaded their descriptors yet. Enabled for moria1,
  22161. moria2, tor26, and lefkada now in the default configuration.
  22162. - Directory servers are more willing to send a 503 "busy" if they
  22163. are near their write limit, especially for v1 directory requests.
  22164. Now they can use their limited bandwidth for actual Tor traffic.
  22165. - Clients track responses with status 503 from dirservers. After a
  22166. dirserver has given us a 503, we try not to use it until an hour has
  22167. gone by, or until we have no dirservers that haven't given us a 503.
  22168. - When we get a 503 from a directory, and we're not a server, we don't
  22169. count the failure against the total number of failures allowed
  22170. for the thing we're trying to download.
  22171. - Report X-Your-Address-Is correctly from tunneled directory
  22172. connections; don't report X-Your-Address-Is when it's an internal
  22173. address; and never believe reported remote addresses when they're
  22174. internal.
  22175. - Protect against an unlikely DoS attack on directory servers.
  22176. - Add a BadDirectory flag to network status docs so that authorities
  22177. can (eventually) tell clients about caches they believe to be
  22178. broken.
  22179. o Minor features (controller):
  22180. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  22181. - Reimplement GETINFO so that info/names stays in sync with the
  22182. actual keys.
  22183. - Implement "GETINFO fingerprint".
  22184. - Implement "SETEVENTS GUARD" so controllers can get updates on
  22185. entry guard status as it changes.
  22186. o Minor features (clean up obsolete pieces):
  22187. - Remove some options that have been deprecated since at least
  22188. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  22189. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  22190. to set log options.
  22191. - We no longer look for identity and onion keys in "identity.key" and
  22192. "onion.key" -- these were replaced by secret_id_key and
  22193. secret_onion_key in 0.0.8pre1.
  22194. - We no longer require unrecognized directory entries to be
  22195. preceded by "opt".
  22196. o Major bugfixes (security):
  22197. - Stop sending the HttpProxyAuthenticator string to directory
  22198. servers when directory connections are tunnelled through Tor.
  22199. - Clients no longer store bandwidth history in the state file.
  22200. - Do not log introduction points for hidden services if SafeLogging
  22201. is set.
  22202. - When generating bandwidth history, round down to the nearest
  22203. 1k. When storing accounting data, round up to the nearest 1k.
  22204. - When we're running as a server, remember when we last rotated onion
  22205. keys, so that we will rotate keys once they're a week old even if
  22206. we never stay up for a week ourselves.
  22207. o Major bugfixes (other):
  22208. - Fix a longstanding bug in eventdns that prevented the count of
  22209. timed-out resolves from ever being reset. This bug caused us to
  22210. give up on a nameserver the third time it timed out, and try it
  22211. 10 seconds later... and to give up on it every time it timed out
  22212. after that.
  22213. - Take out the '5 second' timeout from the connection retry
  22214. schedule. Now the first connect attempt will wait a full 10
  22215. seconds before switching to a new circuit. Perhaps this will help
  22216. a lot. Based on observations from Mike Perry.
  22217. - Fix a bug on the Windows implementation of tor_mmap_file() that
  22218. would prevent the cached-routers file from ever loading. Reported
  22219. by John Kimble.
  22220. o Minor bugfixes:
  22221. - Fix an assert failure when a directory authority sets
  22222. AuthDirRejectUnlisted and then receives a descriptor from an
  22223. unlisted router. Reported by seeess.
  22224. - Avoid a double-free when parsing malformed DirServer lines.
  22225. - Fix a bug when a BSD-style PF socket is first used. Patch from
  22226. Fabian Keil.
  22227. - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
  22228. to resolve an address at a given exit node even when they ask for
  22229. it by name.
  22230. - Servers no longer ever list themselves in their "family" line,
  22231. even if configured to do so. This makes it easier to configure
  22232. family lists conveniently.
  22233. - When running as a server, don't fall back to 127.0.0.1 when no
  22234. nameservers are configured in /etc/resolv.conf; instead, make the
  22235. user fix resolv.conf or specify nameservers explicitly. (Resolves
  22236. bug 363.)
  22237. - Stop accepting certain malformed ports in configured exit policies.
  22238. - Don't re-write the fingerprint file every restart, unless it has
  22239. changed.
  22240. - Stop warning when a single nameserver fails: only warn when _all_ of
  22241. our nameservers have failed. Also, when we only have one nameserver,
  22242. raise the threshold for deciding that the nameserver is dead.
  22243. - Directory authorities now only decide that routers are reachable
  22244. if their identity keys are as expected.
  22245. - When the user uses bad syntax in the Log config line, stop
  22246. suggesting other bad syntax as a replacement.
  22247. - Correctly detect ipv6 DNS capability on OpenBSD.
  22248. o Minor bugfixes (controller):
  22249. - Report the circuit number correctly in STREAM CLOSED events. Bug
  22250. reported by Mike Perry.
  22251. - Do not report bizarre values for results of accounting GETINFOs
  22252. when the last second's write or read exceeds the allotted bandwidth.
  22253. - Report "unrecognized key" rather than an empty string when the
  22254. controller tries to fetch a networkstatus that doesn't exist.
  22255. Changes in version 0.1.1.26 - 2006-12-14
  22256. o Security bugfixes:
  22257. - Stop sending the HttpProxyAuthenticator string to directory
  22258. servers when directory connections are tunnelled through Tor.
  22259. - Clients no longer store bandwidth history in the state file.
  22260. - Do not log introduction points for hidden services if SafeLogging
  22261. is set.
  22262. o Minor bugfixes:
  22263. - Fix an assert failure when a directory authority sets
  22264. AuthDirRejectUnlisted and then receives a descriptor from an
  22265. unlisted router (reported by seeess).
  22266. Changes in version 0.1.2.4-alpha - 2006-12-03
  22267. o Major features:
  22268. - Add support for using natd; this allows FreeBSDs earlier than
  22269. 5.1.2 to have ipfw send connections through Tor without using
  22270. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  22271. o Minor features:
  22272. - Make all connections to addresses of the form ".noconnect"
  22273. immediately get closed. This lets application/controller combos
  22274. successfully test whether they're talking to the same Tor by
  22275. watching for STREAM events.
  22276. - Make cross.sh cross-compilation script work even when autogen.sh
  22277. hasn't been run. (Patch from Michael Mohr.)
  22278. - Statistics dumped by -USR2 now include a breakdown of public key
  22279. operations, for profiling.
  22280. o Major bugfixes:
  22281. - Fix a major leak when directory authorities parse their
  22282. approved-routers list, a minor memory leak when we fail to pick
  22283. an exit node, and a few rare leaks on errors.
  22284. - Handle TransPort connections even when the server sends data before
  22285. the client sends data. Previously, the connection would just hang
  22286. until the client sent data. (Patch from tup based on patch from
  22287. Zajcev Evgeny.)
  22288. - Avoid assert failure when our cached-routers file is empty on
  22289. startup.
  22290. o Minor bugfixes:
  22291. - Don't log spurious warnings when we see a circuit close reason we
  22292. don't recognize; it's probably just from a newer version of Tor.
  22293. - Have directory authorities allow larger amounts of drift in uptime
  22294. without replacing the server descriptor: previously, a server that
  22295. restarted every 30 minutes could have 48 "interesting" descriptors
  22296. per day.
  22297. - Start linking to the Tor specification and Tor reference manual
  22298. correctly in the Windows installer.
  22299. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  22300. Tor/Privoxy we also uninstall Vidalia.
  22301. - Resume building on Irix64, and fix a lot of warnings from its
  22302. MIPSpro C compiler.
  22303. - Don't corrupt last_guessed_ip in router_new_address_suggestion()
  22304. when we're running as a client.
  22305. Changes in version 0.1.1.25 - 2006-11-04
  22306. o Major bugfixes:
  22307. - When a client asks us to resolve (rather than connect to)
  22308. an address, and we have a cached answer, give them the cached
  22309. answer. Previously, we would give them no answer at all.
  22310. - We were building exactly the wrong circuits when we predict
  22311. hidden service requirements, meaning Tor would have to build all
  22312. its circuits on demand.
  22313. - If none of our live entry guards have a high uptime, but we
  22314. require a guard with a high uptime, try adding a new guard before
  22315. we give up on the requirement. This patch should make long-lived
  22316. connections more stable on average.
  22317. - When testing reachability of our DirPort, don't launch new
  22318. tests when there's already one in progress -- unreachable
  22319. servers were stacking up dozens of testing streams.
  22320. o Security bugfixes:
  22321. - When the user sends a NEWNYM signal, clear the client-side DNS
  22322. cache too. Otherwise we continue to act on previous information.
  22323. o Minor bugfixes:
  22324. - Avoid a memory corruption bug when creating a hash table for
  22325. the first time.
  22326. - Avoid possibility of controller-triggered crash when misusing
  22327. certain commands from a v0 controller on platforms that do not
  22328. handle printf("%s",NULL) gracefully.
  22329. - Avoid infinite loop on unexpected controller input.
  22330. - Don't log spurious warnings when we see a circuit close reason we
  22331. don't recognize; it's probably just from a newer version of Tor.
  22332. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  22333. Tor/Privoxy we also uninstall Vidalia.
  22334. Changes in version 0.1.2.3-alpha - 2006-10-29
  22335. o Minor features:
  22336. - Prepare for servers to publish descriptors less often: never
  22337. discard a descriptor simply for being too old until either it is
  22338. recommended by no authorities, or until we get a better one for
  22339. the same router. Make caches consider retaining old recommended
  22340. routers for even longer.
  22341. - If most authorities set a BadExit flag for a server, clients
  22342. don't think of it as a general-purpose exit. Clients only consider
  22343. authorities that advertise themselves as listing bad exits.
  22344. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  22345. headers for content, so that we can work better in the presence of
  22346. caching HTTP proxies.
  22347. - Allow authorities to list nodes as bad exits by fingerprint or by
  22348. address.
  22349. o Minor features, controller:
  22350. - Add a REASON field to CIRC events; for backward compatibility, this
  22351. field is sent only to controllers that have enabled the extended
  22352. event format. Also, add additional reason codes to explain why
  22353. a given circuit has been destroyed or truncated. (Patches from
  22354. Mike Perry)
  22355. - Add a REMOTE_REASON field to extended CIRC events to tell the
  22356. controller about why a remote OR told us to close a circuit.
  22357. - Stream events also now have REASON and REMOTE_REASON fields,
  22358. working much like those for circuit events.
  22359. - There's now a GETINFO ns/... field so that controllers can ask Tor
  22360. about the current status of a router.
  22361. - A new event type "NS" to inform a controller when our opinion of
  22362. a router's status has changed.
  22363. - Add a GETINFO events/names and GETINFO features/names so controllers
  22364. can tell which events and features are supported.
  22365. - A new CLEARDNSCACHE signal to allow controllers to clear the
  22366. client-side DNS cache without expiring circuits.
  22367. o Security bugfixes:
  22368. - When the user sends a NEWNYM signal, clear the client-side DNS
  22369. cache too. Otherwise we continue to act on previous information.
  22370. o Minor bugfixes:
  22371. - Avoid sending junk to controllers or segfaulting when a controller
  22372. uses EVENT_NEW_DESC with verbose nicknames.
  22373. - Stop triggering asserts if the controller tries to extend hidden
  22374. service circuits (reported by mwenge).
  22375. - Avoid infinite loop on unexpected controller input.
  22376. - When the controller does a "GETINFO network-status", tell it
  22377. about even those routers whose descriptors are very old, and use
  22378. long nicknames where appropriate.
  22379. - Change NT service functions to be loaded on demand. This lets us
  22380. build with MinGW without breaking Tor for Windows 98 users.
  22381. - Do DirPort reachability tests less often, since a single test
  22382. chews through many circuits before giving up.
  22383. - In the hidden service example in torrc.sample, stop recommending
  22384. esoteric and discouraged hidden service options.
  22385. - When stopping an NT service, wait up to 10 sec for it to actually
  22386. stop. Patch from Matt Edman; resolves bug 295.
  22387. - Fix handling of verbose nicknames with ORCONN controller events:
  22388. make them show up exactly when requested, rather than exactly when
  22389. not requested.
  22390. - When reporting verbose nicknames in entry_guards_getinfo(), avoid
  22391. printing a duplicate "$" in the keys we send (reported by mwenge).
  22392. - Correctly set maximum connection limit on Cygwin. (This time
  22393. for sure!)
  22394. - Try to detect Windows correctly when cross-compiling.
  22395. - Detect the size of the routers file correctly even if it is
  22396. corrupted (on systems without mmap) or not page-aligned (on systems
  22397. with mmap). This bug was harmless.
  22398. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  22399. to open a stream fails; now we do in more cases. This should
  22400. make clients able to find a good exit faster in some cases, since
  22401. unhandleable requests will now get an error rather than timing out.
  22402. - Resolve two memory leaks when rebuilding the on-disk router cache
  22403. (reported by fookoowa).
  22404. - Clean up minor code warnings suggested by the MIPSpro C compiler,
  22405. and reported by some Centos users.
  22406. - Controller signals now work on non-Unix platforms that don't define
  22407. SIGUSR1 and SIGUSR2 the way we expect.
  22408. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  22409. values before failing, and always enables eventdns.
  22410. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  22411. Try to fix this in configure.in by checking for most functions
  22412. before we check for libevent.
  22413. Changes in version 0.1.2.2-alpha - 2006-10-07
  22414. o Major features:
  22415. - Make our async eventdns library on-by-default for Tor servers,
  22416. and plan to deprecate the separate dnsworker threads.
  22417. - Add server-side support for "reverse" DNS lookups (using PTR
  22418. records so clients can determine the canonical hostname for a given
  22419. IPv4 address). Only supported by servers using eventdns; servers
  22420. now announce in their descriptors whether they support eventdns.
  22421. - Specify and implement client-side SOCKS5 interface for reverse DNS
  22422. lookups (see doc/socks-extensions.txt).
  22423. - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
  22424. connect to directory servers through Tor. Previously, clients needed
  22425. to find Tor exits to make private connections to directory servers.
  22426. - Avoid choosing Exit nodes for entry or middle hops when the
  22427. total bandwidth available from non-Exit nodes is much higher than
  22428. the total bandwidth available from Exit nodes.
  22429. - Workaround for name servers (like Earthlink's) that hijack failing
  22430. DNS requests and replace the no-such-server answer with a "helpful"
  22431. redirect to an advertising-driven search portal. Also work around
  22432. DNS hijackers who "helpfully" decline to hijack known-invalid
  22433. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  22434. lets you turn it off.
  22435. - Send out a burst of long-range padding cells once we've established
  22436. that we're reachable. Spread them over 4 circuits, so hopefully
  22437. a few will be fast. This exercises our bandwidth and bootstraps
  22438. us into the directory more quickly.
  22439. o New/improved config options:
  22440. - Add new config option "ResolvConf" to let the server operator
  22441. choose an alternate resolve.conf file when using eventdns.
  22442. - Add an "EnforceDistinctSubnets" option to control our "exclude
  22443. servers on the same /16" behavior. It's still on by default; this
  22444. is mostly for people who want to operate private test networks with
  22445. all the machines on the same subnet.
  22446. - If one of our entry guards is on the ExcludeNodes list, or the
  22447. directory authorities don't think it's a good guard, treat it as
  22448. if it were unlisted: stop using it as a guard, and throw it off
  22449. the guards list if it stays that way for a long time.
  22450. - Allow directory authorities to be marked separately as authorities
  22451. for the v1 directory protocol, the v2 directory protocol, and
  22452. as hidden service directories, to make it easier to retire old
  22453. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  22454. to continue being hidden service authorities too.
  22455. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  22456. o Minor features, controller:
  22457. - Fix CIRC controller events so that controllers can learn the
  22458. identity digests of non-Named servers used in circuit paths.
  22459. - Let controllers ask for more useful identifiers for servers. Instead
  22460. of learning identity digests for un-Named servers and nicknames
  22461. for Named servers, the new identifiers include digest, nickname,
  22462. and indication of Named status. Off by default; see control-spec.txt
  22463. for more information.
  22464. - Add a "getinfo address" controller command so it can display Tor's
  22465. best guess to the user.
  22466. - New controller event to alert the controller when our server
  22467. descriptor has changed.
  22468. - Give more meaningful errors on controller authentication failure.
  22469. o Minor features, other:
  22470. - When asked to resolve a hostname, don't use non-exit servers unless
  22471. requested to do so. This allows servers with broken DNS to be
  22472. useful to the network.
  22473. - Divide eventdns log messages into warn and info messages.
  22474. - Reserve the nickname "Unnamed" for routers that can't pick
  22475. a hostname: any router can call itself Unnamed; directory
  22476. authorities will never allocate Unnamed to any particular router;
  22477. clients won't believe that any router is the canonical Unnamed.
  22478. - Only include function names in log messages for info/debug messages.
  22479. For notice/warn/err, the content of the message should be clear on
  22480. its own, and printing the function name only confuses users.
  22481. - Avoid some false positives during reachability testing: don't try
  22482. to test via a server that's on the same /24 as us.
  22483. - If we fail to build a circuit to an intended enclave, and it's
  22484. not mandatory that we use that enclave, stop wanting it.
  22485. - When eventdns is enabled, allow multithreaded builds on NetBSD and
  22486. OpenBSD. (We had previously disabled threads on these platforms
  22487. because they didn't have working thread-safe resolver functions.)
  22488. o Major bugfixes, anonymity/security:
  22489. - If a client asked for a server by name, and there's a named server
  22490. in our network-status but we don't have its descriptor yet, we
  22491. could return an unnamed server instead.
  22492. - Fix NetBSD bug that could allow someone to force uninitialized RAM
  22493. to be sent to a server's DNS resolver. This only affects NetBSD
  22494. and other platforms that do not bounds-check tolower().
  22495. - Reject (most) attempts to use Tor circuits with length one. (If
  22496. many people start using Tor as a one-hop proxy, exit nodes become
  22497. a more attractive target for compromise.)
  22498. - Just because your DirPort is open doesn't mean people should be
  22499. able to remotely teach you about hidden service descriptors. Now
  22500. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  22501. o Major bugfixes, other:
  22502. - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
  22503. - When a client asks the server to resolve (not connect to)
  22504. an address, and it has a cached answer, give them the cached answer.
  22505. Previously, the server would give them no answer at all.
  22506. - Allow really slow clients to not hang up five minutes into their
  22507. directory downloads (suggested by Adam J. Richter).
  22508. - We were building exactly the wrong circuits when we anticipated
  22509. hidden service requirements, meaning Tor would have to build all
  22510. its circuits on demand.
  22511. - Avoid crashing when we mmap a router cache file of size 0.
  22512. - When testing reachability of our DirPort, don't launch new
  22513. tests when there's already one in progress -- unreachable
  22514. servers were stacking up dozens of testing streams.
  22515. o Minor bugfixes, correctness:
  22516. - If we're a directory mirror and we ask for "all" network status
  22517. documents, we would discard status documents from authorities
  22518. we don't recognize.
  22519. - Avoid a memory corruption bug when creating a hash table for
  22520. the first time.
  22521. - Avoid controller-triggered crash when misusing certain commands
  22522. from a v0 controller on platforms that do not handle
  22523. printf("%s",NULL) gracefully.
  22524. - Don't crash when a controller sends a third argument to an
  22525. "extendcircuit" request.
  22526. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  22527. response; fix error code when "getinfo dir/status/" fails.
  22528. - Avoid crash when telling controller stream-status and a stream
  22529. is detached.
  22530. - Patch from Adam Langley to fix assert() in eventdns.c.
  22531. - Fix a debug log message in eventdns to say "X resolved to Y"
  22532. instead of "X resolved to X".
  22533. - Make eventdns give strings for DNS errors, not just error numbers.
  22534. - Track unreachable entry guards correctly: don't conflate
  22535. 'unreachable by us right now' with 'listed as down by the directory
  22536. authorities'. With the old code, if a guard was unreachable by
  22537. us but listed as running, it would clog our guard list forever.
  22538. - Behave correctly in case we ever have a network with more than
  22539. 2GB/s total advertised capacity.
  22540. - Make TrackExitHosts case-insensitive, and fix the behavior of
  22541. ".suffix" TrackExitHosts items to avoid matching in the middle of
  22542. an address.
  22543. - Finally fix the openssl warnings from newer gccs that believe that
  22544. ignoring a return value is okay, but casting a return value and
  22545. then ignoring it is a sign of madness.
  22546. - Prevent the contrib/exitlist script from printing the same
  22547. result more than once.
  22548. - Patch from Steve Hildrey: Generate network status correctly on
  22549. non-versioning dirservers.
  22550. - Don't listen to the X-Your-Address-Is hint if you did the lookup
  22551. via Tor; otherwise you'll think you're the exit node's IP address.
  22552. o Minor bugfixes, performance:
  22553. - Two small performance improvements on parsing descriptors.
  22554. - Major performance improvement on inserting descriptors: change
  22555. algorithm from O(n^2) to O(n).
  22556. - Make the common memory allocation path faster on machines where
  22557. malloc(0) returns a pointer.
  22558. - Start remembering X-Your-Address-Is directory hints even if you're
  22559. a client, so you can become a server more smoothly.
  22560. - Avoid duplicate entries on MyFamily line in server descriptor.
  22561. o Packaging, features:
  22562. - Remove architecture from OS X builds. The official builds are
  22563. now universal binaries.
  22564. - The Debian package now uses --verify-config when (re)starting,
  22565. to distinguish configuration errors from other errors.
  22566. - Update RPMs to require libevent 1.1b.
  22567. o Packaging, bugfixes:
  22568. - Patches so Tor builds with MinGW on Windows.
  22569. - Patches so Tor might run on Cygwin again.
  22570. - Resume building on non-gcc compilers and ancient gcc. Resume
  22571. building with the -O0 compile flag. Resume building cleanly on
  22572. Debian woody.
  22573. - Run correctly on OS X platforms with case-sensitive filesystems.
  22574. - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
  22575. - Add autoconf checks so Tor can build on Solaris x86 again.
  22576. o Documentation
  22577. - Documented (and renamed) ServerDNSSearchDomains and
  22578. ServerDNSResolvConfFile options.
  22579. - Be clearer that the *ListenAddress directives can be repeated
  22580. multiple times.
  22581. Changes in version 0.1.1.24 - 2006-09-29
  22582. o Major bugfixes:
  22583. - Allow really slow clients to not hang up five minutes into their
  22584. directory downloads (suggested by Adam J. Richter).
  22585. - Fix major performance regression from 0.1.0.x: instead of checking
  22586. whether we have enough directory information every time we want to
  22587. do something, only check when the directory information has changed.
  22588. This should improve client CPU usage by 25-50%.
  22589. - Don't crash if, after a server has been running for a while,
  22590. it can't resolve its hostname.
  22591. o Minor bugfixes:
  22592. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  22593. - Don't crash when the controller receives a third argument to an
  22594. "extendcircuit" request.
  22595. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  22596. response; fix error code when "getinfo dir/status/" fails.
  22597. - Fix configure.in to not produce broken configure files with
  22598. more recent versions of autoconf. Thanks to Clint for his auto*
  22599. voodoo.
  22600. - Fix security bug on NetBSD that could allow someone to force
  22601. uninitialized RAM to be sent to a server's DNS resolver. This
  22602. only affects NetBSD and other platforms that do not bounds-check
  22603. tolower().
  22604. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  22605. methods: these are known to be buggy.
  22606. - If we're a directory mirror and we ask for "all" network status
  22607. documents, we would discard status documents from authorities
  22608. we don't recognize.
  22609. Changes in version 0.1.2.1-alpha - 2006-08-27
  22610. o Major features:
  22611. - Add "eventdns" async dns library from Adam Langley, tweaked to
  22612. build on OSX and Windows. Only enabled if you pass the
  22613. --enable-eventdns argument to configure.
  22614. - Allow servers with no hostname or IP address to learn their
  22615. IP address by asking the directory authorities. This code only
  22616. kicks in when you would normally have exited with a "no address"
  22617. error. Nothing's authenticated, so use with care.
  22618. - Rather than waiting a fixed amount of time between retrying
  22619. application connections, we wait only 5 seconds for the first,
  22620. 10 seconds for the second, and 15 seconds for each retry after
  22621. that. Hopefully this will improve the expected user experience.
  22622. - Patch from Tup to add support for transparent AP connections:
  22623. this basically bundles the functionality of trans-proxy-tor
  22624. into the Tor mainline. Now hosts with compliant pf/netfilter
  22625. implementations can redirect TCP connections straight to Tor
  22626. without diverting through SOCKS. Needs docs.
  22627. - Busy directory servers save lots of memory by spooling server
  22628. descriptors, v1 directories, and v2 networkstatus docs to buffers
  22629. as needed rather than en masse. Also mmap the cached-routers
  22630. files, so we don't need to keep the whole thing in memory too.
  22631. - Automatically avoid picking more than one node from the same
  22632. /16 network when constructing a circuit.
  22633. - Revise and clean up the torrc.sample that we ship with; add
  22634. a section for BandwidthRate and BandwidthBurst.
  22635. o Minor features:
  22636. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  22637. split connection_t into edge, or, dir, control, and base structs.
  22638. These will save quite a bit of memory on busy servers, and they'll
  22639. also help us track down bugs in the code and bugs in the spec.
  22640. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  22641. or later. Log when we are doing this, so we can diagnose it when
  22642. it fails. (Also, recommend libevent 1.1b for kqueue and
  22643. win32 methods; deprecate libevent 1.0b harder; make libevent
  22644. recommendation system saner.)
  22645. - Start being able to build universal binaries on OS X (thanks
  22646. to Phobos).
  22647. - Export the default exit policy via the control port, so controllers
  22648. don't need to guess what it is / will be later.
  22649. - Add a man page entry for ProtocolWarnings.
  22650. - Add TestVia config option to the man page.
  22651. - Remove even more protocol-related warnings from Tor server logs,
  22652. such as bad TLS handshakes and malformed begin cells.
  22653. - Stop fetching descriptors if you're not a dir mirror and you
  22654. haven't tried to establish any circuits lately. [This currently
  22655. causes some dangerous behavior, because when you start up again
  22656. you'll use your ancient server descriptors.]
  22657. - New DirPort behavior: if you have your dirport set, you download
  22658. descriptors aggressively like a directory mirror, whether or not
  22659. your ORPort is set.
  22660. - Get rid of the router_retry_connections notion. Now routers
  22661. no longer try to rebuild long-term connections to directory
  22662. authorities, and directory authorities no longer try to rebuild
  22663. long-term connections to all servers. We still don't hang up
  22664. connections in these two cases though -- we need to look at it
  22665. more carefully to avoid flapping, and we likely need to wait til
  22666. 0.1.1.x is obsolete.
  22667. - Drop compatibility with obsolete Tors that permit create cells
  22668. to have the wrong circ_id_type.
  22669. - Re-enable per-connection rate limiting. Get rid of the "OP
  22670. bandwidth" concept. Lay groundwork for "bandwidth classes" --
  22671. separate global buckets that apply depending on what sort of conn
  22672. it is.
  22673. - Start publishing one minute or so after we find our ORPort
  22674. to be reachable. This will help reduce the number of descriptors
  22675. we have for ourselves floating around, since it's quite likely
  22676. other things (e.g. DirPort) will change during that minute too.
  22677. - Fork the v1 directory protocol into its own spec document,
  22678. and mark dir-spec.txt as the currently correct (v2) spec.
  22679. o Major bugfixes:
  22680. - When we find our DirPort to be reachable, publish a new descriptor
  22681. so we'll tell the world (reported by pnx).
  22682. - Publish a new descriptor after we hup/reload. This is important
  22683. if our config has changed such that we'll want to start advertising
  22684. our DirPort now, etc.
  22685. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  22686. - When we have a state file we cannot parse, tell the user and
  22687. move it aside. Now we avoid situations where the user starts
  22688. Tor in 1904, Tor writes a state file with that timestamp in it,
  22689. the user fixes her clock, and Tor refuses to start.
  22690. - Fix configure.in to not produce broken configure files with
  22691. more recent versions of autoconf. Thanks to Clint for his auto*
  22692. voodoo.
  22693. - "tor --verify-config" now exits with -1(255) or 0 depending on
  22694. whether the config options are bad or good.
  22695. - Resolve bug 321 when using dnsworkers: append a period to every
  22696. address we resolve at the exit node, so that we do not accidentally
  22697. pick up local addresses, and so that failing searches are retried
  22698. in the resolver search domains. (This is already solved for
  22699. eventdns.) (This breaks Blossom servers for now.)
  22700. - If we are using an exit enclave and we can't connect, e.g. because
  22701. its webserver is misconfigured to not listen on localhost, then
  22702. back off and try connecting from somewhere else before we fail.
  22703. o Minor bugfixes:
  22704. - Start compiling on MinGW on Windows (patches from Mike Chiussi).
  22705. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  22706. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  22707. when the IP address is mapped through MapAddress to a hostname.
  22708. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  22709. useless IPv6 DNS resolves.
  22710. - Patch suggested by Karsten Loesing: respond to SIGNAL command
  22711. before we execute the signal, in case the signal shuts us down.
  22712. - Clean up AllowInvalidNodes man page entry.
  22713. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  22714. - Add more asserts to track down an assert error on a windows Tor
  22715. server with connection_add being called with socket == -1.
  22716. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  22717. - Fix misleading log messages: an entry guard that is "unlisted",
  22718. as well as not known to be "down" (because we've never heard
  22719. of it), is not therefore "up".
  22720. - Remove code to special-case "-cvs" ending, since it has not
  22721. actually mattered since 0.0.9.
  22722. - Make our socks5 handling more robust to broken socks clients:
  22723. throw out everything waiting on the buffer in between socks
  22724. handshake phases, since they can't possibly (so the theory
  22725. goes) have predicted what we plan to respond to them.
  22726. Changes in version 0.1.1.23 - 2006-07-30
  22727. o Major bugfixes:
  22728. - Fast Tor servers, especially exit nodes, were triggering asserts
  22729. due to a bug in handling the list of pending DNS resolves. Some
  22730. bugs still remain here; we're hunting them.
  22731. - Entry guards could crash clients by sending unexpected input.
  22732. - More fixes on reachability testing: if you find yourself reachable,
  22733. then don't ever make any client requests (so you stop predicting
  22734. circuits), then hup or have your clock jump, then later your IP
  22735. changes, you won't think circuits are working, so you won't try to
  22736. test reachability, so you won't publish.
  22737. o Minor bugfixes:
  22738. - Avoid a crash if the controller does a resetconf firewallports
  22739. and then a setconf fascistfirewall=1.
  22740. - Avoid an integer underflow when the dir authority decides whether
  22741. a router is stable: we might wrongly label it stable, and compute
  22742. a slightly wrong median stability, when a descriptor is published
  22743. later than now.
  22744. - Fix a place where we might trigger an assert if we can't build our
  22745. own server descriptor yet.
  22746. Changes in version 0.1.1.22 - 2006-07-05
  22747. o Major bugfixes:
  22748. - Fix a big bug that was causing servers to not find themselves
  22749. reachable if they changed IP addresses. Since only 0.1.1.22+
  22750. servers can do reachability testing correctly, now we automatically
  22751. make sure to test via one of these.
  22752. - Fix to allow clients and mirrors to learn directory info from
  22753. descriptor downloads that get cut off partway through.
  22754. - Directory authorities had a bug in deciding if a newly published
  22755. descriptor was novel enough to make everybody want a copy -- a few
  22756. servers seem to be publishing new descriptors many times a minute.
  22757. o Minor bugfixes:
  22758. - Fix a rare bug that was causing some servers to complain about
  22759. "closing wedged cpuworkers" and skip some circuit create requests.
  22760. - Make the Exit flag in directory status documents actually work.
  22761. Changes in version 0.1.1.21 - 2006-06-10
  22762. o Crash and assert fixes from 0.1.1.20:
  22763. - Fix a rare crash on Tor servers that have enabled hibernation.
  22764. - Fix a seg fault on startup for Tor networks that use only one
  22765. directory authority.
  22766. - Fix an assert from a race condition that occurs on Tor servers
  22767. while exiting, where various threads are trying to log that they're
  22768. exiting, and delete the logs, at the same time.
  22769. - Make our unit tests pass again on certain obscure platforms.
  22770. o Other fixes:
  22771. - Add support for building SUSE RPM packages.
  22772. - Speed up initial bootstrapping for clients: if we are making our
  22773. first ever connection to any entry guard, then don't mark it down
  22774. right after that.
  22775. - When only one Tor server in the network is labelled as a guard,
  22776. and we've already picked him, we would cycle endlessly picking him
  22777. again, being unhappy about it, etc. Now we specifically exclude
  22778. current guards when picking a new guard.
  22779. - Servers send create cells more reliably after the TLS connection
  22780. is established: we were sometimes forgetting to send half of them
  22781. when we had more than one pending.
  22782. - If we get a create cell that asks us to extend somewhere, but the
  22783. Tor server there doesn't match the expected digest, we now send
  22784. a destroy cell back, rather than silently doing nothing.
  22785. - Make options->RedirectExit work again.
  22786. - Make cookie authentication for the controller work again.
  22787. - Stop being picky about unusual characters in the arguments to
  22788. mapaddress. It's none of our business.
  22789. - Add a new config option "TestVia" that lets you specify preferred
  22790. middle hops to use for test circuits. Perhaps this will let me
  22791. debug the reachability problems better.
  22792. o Log / documentation fixes:
  22793. - If we're a server and some peer has a broken TLS certificate, don't
  22794. log about it unless ProtocolWarnings is set, i.e., we want to hear
  22795. about protocol violations by others.
  22796. - Fix spelling of VirtualAddrNetwork in man page.
  22797. - Add a better explanation at the top of the autogenerated torrc file
  22798. about what happened to our old torrc.
  22799. Changes in version 0.1.1.20 - 2006-05-23
  22800. o Bugfixes:
  22801. - Downgrade a log severity where servers complain that they're
  22802. invalid.
  22803. - Avoid a compile warning on FreeBSD.
  22804. - Remove string size limit on NEWDESC messages; solve bug 291.
  22805. - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
  22806. more thoroughly when we're running on windows.
  22807. Changes in version 0.1.1.19-rc - 2006-05-03
  22808. o Minor bugs:
  22809. - Regenerate our local descriptor if it's dirty and we try to use
  22810. it locally (e.g. if it changes during reachability detection).
  22811. - If we setconf our ORPort to 0, we continued to listen on the
  22812. old ORPort and receive connections.
  22813. - Avoid a second warning about machine/limits.h on Debian
  22814. GNU/kFreeBSD.
  22815. - Be willing to add our own routerinfo into the routerlist.
  22816. Now authorities will include themselves in their directories
  22817. and network-statuses.
  22818. - Stop trying to upload rendezvous descriptors to every
  22819. directory authority: only try the v1 authorities.
  22820. - Servers no longer complain when they think they're not
  22821. registered with the directory authorities. There were too many
  22822. false positives.
  22823. - Backport dist-rpm changes so rpms can be built without errors.
  22824. o Features:
  22825. - Implement an option, VirtualAddrMask, to set which addresses
  22826. get handed out in response to mapaddress requests. This works
  22827. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  22828. Changes in version 0.1.1.18-rc - 2006-04-10
  22829. o Major fixes:
  22830. - Work harder to download live network-statuses from all the
  22831. directory authorities we know about. Improve the threshold
  22832. decision logic so we're more robust to edge cases.
  22833. - When fetching rendezvous descriptors, we were willing to ask
  22834. v2 authorities too, which would always return 404.
  22835. o Minor fixes:
  22836. - Stop listing down or invalid nodes in the v1 directory. This will
  22837. reduce its bulk by about 1/3, and reduce load on directory
  22838. mirrors.
  22839. - When deciding whether a router is Fast or Guard-worthy, consider
  22840. his advertised BandwidthRate and not just the BandwidthCapacity.
  22841. - No longer ship INSTALL and README files -- they are useless now.
  22842. - Force rpmbuild to behave and honor target_cpu.
  22843. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  22844. - Start to include translated versions of the tor-doc-*.html
  22845. files, along with the screenshots. Still needs more work.
  22846. - Start sending back 512 and 451 errors if mapaddress fails,
  22847. rather than not sending anything back at all.
  22848. - When we fail to bind or listen on an incoming or outgoing
  22849. socket, we should close it before failing. otherwise we just
  22850. leak it. (thanks to weasel for finding.)
  22851. - Allow "getinfo dir/status/foo" to work, as long as your DirPort
  22852. is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
  22853. - Make NoPublish (even though deprecated) work again.
  22854. - Fix a minor security flaw where a versioning auth dirserver
  22855. could list a recommended version many times in a row to make
  22856. clients more convinced that it's recommended.
  22857. - Fix crash bug if there are two unregistered servers running
  22858. with the same nickname, one of them is down, and you ask for
  22859. them by nickname in your EntryNodes or ExitNodes. Also, try
  22860. to pick the one that's running rather than an arbitrary one.
  22861. - Fix an infinite loop we could hit if we go offline for too long.
  22862. - Complain when we hit WSAENOBUFS on recv() or write() too.
  22863. Perhaps this will help us hunt the bug.
  22864. - If you're not a versioning dirserver, don't put the string
  22865. "client-versions \nserver-versions \n" in your network-status.
  22866. - Lower the minimum required number of file descriptors to 1000,
  22867. so we can have some overhead for Valgrind on Linux, where the
  22868. default ulimit -n is 1024.
  22869. o New features:
  22870. - Add tor.dizum.com as the fifth authoritative directory server.
  22871. - Add a new config option FetchUselessDescriptors, off by default,
  22872. for when you plan to run "exitlist" on your client and you want
  22873. to know about even the non-running descriptors.
  22874. Changes in version 0.1.1.17-rc - 2006-03-28
  22875. o Major fixes:
  22876. - Clients and servers since 0.1.1.10-alpha have been expiring
  22877. connections whenever they are idle for 5 minutes and they *do*
  22878. have circuits on them. Oops. With this new version, clients will
  22879. discard their previous entry guard choices and avoid choosing
  22880. entry guards running these flawed versions.
  22881. - Fix memory leak when uncompressing concatenated zlib streams. This
  22882. was causing substantial leaks over time on Tor servers.
  22883. - The v1 directory was including servers as much as 48 hours old,
  22884. because that's how the new routerlist->routers works. Now only
  22885. include them if they're 20 hours old or less.
  22886. o Minor fixes:
  22887. - Resume building on irix64, netbsd 2.0, etc.
  22888. - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
  22889. "-Wall -g -O2".
  22890. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  22891. and it is confusing some users.
  22892. - Mirrors stop caching the v1 directory so often.
  22893. - Make the max number of old descriptors that a cache will hold
  22894. rise with the number of directory authorities, so we can scale.
  22895. - Change our win32 uname() hack to be more forgiving about what
  22896. win32 versions it thinks it's found.
  22897. o New features:
  22898. - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
  22899. server.
  22900. - When the controller's *setconf commands fail, collect an error
  22901. message in a string and hand it back to the controller.
  22902. - Make the v2 dir's "Fast" flag based on relative capacity, just
  22903. like "Stable" is based on median uptime. Name everything in the
  22904. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  22905. - Log server fingerprint on startup, so new server operators don't
  22906. have to go hunting around their filesystem for it.
  22907. - Return a robots.txt on our dirport to discourage google indexing.
  22908. - Let the controller ask for GETINFO dir/status/foo so it can ask
  22909. directly rather than connecting to the dir port. Only works when
  22910. dirport is set for now.
  22911. o New config options rather than constants in the code:
  22912. - SocksTimeout: How long do we let a socks connection wait
  22913. unattached before we fail it?
  22914. - CircuitBuildTimeout: Cull non-open circuits that were born
  22915. at least this many seconds ago.
  22916. - CircuitIdleTimeout: Cull open clean circuits that were born
  22917. at least this many seconds ago.
  22918. Changes in version 0.1.1.16-rc - 2006-03-18
  22919. o Bugfixes on 0.1.1.15-rc:
  22920. - Fix assert when the controller asks to attachstream a connect-wait
  22921. or resolve-wait stream.
  22922. - Now do address rewriting when the controller asks us to attach
  22923. to a particular circuit too. This will let Blossom specify
  22924. "moria2.exit" without having to learn what moria2's IP address is.
  22925. - Make the "tor --verify-config" command-line work again, so people
  22926. can automatically check if their torrc will parse.
  22927. - Authoritative dirservers no longer require an open connection from
  22928. a server to consider him "reachable". We need this change because
  22929. when we add new auth dirservers, old servers won't know not to
  22930. hang up on them.
  22931. - Let Tor build on Sun CC again.
  22932. - Fix an off-by-one buffer size in dirserv.c that magically never
  22933. hit our three authorities but broke sjmurdoch's own tor network.
  22934. - If we as a directory mirror don't know of any v1 directory
  22935. authorities, then don't try to cache any v1 directories.
  22936. - Stop warning about unknown servers in our family when they are
  22937. given as hex digests.
  22938. - Stop complaining as quickly to the server operator that he
  22939. hasn't registered his nickname/key binding.
  22940. - Various cleanups so we can add new V2 Auth Dirservers.
  22941. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  22942. reflect the updated flags in our v2 dir protocol.
  22943. - Resume allowing non-printable characters for exit streams (both
  22944. for connecting and for resolving). Now we tolerate applications
  22945. that don't follow the RFCs. But continue to block malformed names
  22946. at the socks side.
  22947. o Bugfixes on 0.1.0.x:
  22948. - Fix assert bug in close_logs(): when we close and delete logs,
  22949. remove them all from the global "logfiles" list.
  22950. - Fix minor integer overflow in calculating when we expect to use up
  22951. our bandwidth allocation before hibernating.
  22952. - Fix a couple of bugs in OpenSSL detection. Also, deal better when
  22953. there are multiple SSLs installed with different versions.
  22954. - When we try to be a server and Address is not explicitly set and
  22955. our hostname resolves to a private IP address, try to use an
  22956. interface address if it has a public address. Now Windows machines
  22957. that think of themselves as localhost can work by default.
  22958. o New features:
  22959. - Let the controller ask for GETINFO dir/server/foo so it can ask
  22960. directly rather than connecting to the dir port.
  22961. - Let the controller tell us about certain router descriptors
  22962. that it doesn't want Tor to use in circuits. Implement
  22963. SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
  22964. - New config option SafeSocks to reject all application connections
  22965. using unsafe socks protocols. Defaults to off.
  22966. Changes in version 0.1.1.15-rc - 2006-03-11
  22967. o Bugfixes and cleanups:
  22968. - When we're printing strings from the network, don't try to print
  22969. non-printable characters. This protects us against shell escape
  22970. sequence exploits, and also against attacks to fool humans into
  22971. misreading their logs.
  22972. - Fix a bug where Tor would fail to establish any connections if you
  22973. left it off for 24 hours and then started it: we were happy with
  22974. the obsolete network statuses, but they all referred to router
  22975. descriptors that were too old to fetch, so we ended up with no
  22976. valid router descriptors.
  22977. - Fix a seg fault in the controller's "getinfo orconn-status"
  22978. command while listing status on incoming handshaking connections.
  22979. Introduce a status name "NEW" for these connections.
  22980. - If we get a linelist or linelist_s config option from the torrc
  22981. (e.g. ExitPolicy) and it has no value, warn and skip rather than
  22982. silently resetting it to its default.
  22983. - Don't abandon entry guards until they've been down or gone for
  22984. a whole month.
  22985. - Cleaner and quieter log messages.
  22986. o New features:
  22987. - New controller signal NEWNYM that makes new application requests
  22988. use clean circuits.
  22989. - Add a new circuit purpose 'controller' to let the controller ask
  22990. for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
  22991. controller command to let you specify the purpose if you're
  22992. starting a new circuit. Add a new SETCIRCUITPURPOSE controller
  22993. command to let you change a circuit's purpose after it's been
  22994. created.
  22995. - Accept "private:*" in routerdesc exit policies; not generated yet
  22996. because older Tors do not understand it.
  22997. - Add BSD-style contributed startup script "rc.subr" from Peter
  22998. Thoenen.
  22999. Changes in version 0.1.1.14-alpha - 2006-02-20
  23000. o Bugfixes on 0.1.1.x:
  23001. - Don't die if we ask for a stdout or stderr log (even implicitly)
  23002. and we're set to RunAsDaemon -- just warn.
  23003. - We still had a few bugs in the OR connection rotation code that
  23004. caused directory servers to slowly aggregate connections to other
  23005. fast Tor servers. This time for sure!
  23006. - Make log entries on Win32 include the name of the function again.
  23007. - We were treating a pair of exit policies if they were equal even
  23008. if one said accept and the other said reject -- causing us to
  23009. not always publish a new descriptor since we thought nothing
  23010. had changed.
  23011. - Retry pending server downloads as well as pending networkstatus
  23012. downloads when we unexpectedly get a socks request.
  23013. - We were ignoring the IS_FAST flag in the directory status,
  23014. meaning we were willing to pick trivial-bandwidth nodes for "fast"
  23015. connections.
  23016. - If the controller's SAVECONF command fails (e.g. due to file
  23017. permissions), let the controller know that it failed.
  23018. o Features:
  23019. - If we're trying to be a Tor server and running Windows 95/98/ME
  23020. as a server, explain that we'll likely crash.
  23021. - When we're a server, a client asks for an old-style directory,
  23022. and our write bucket is empty, don't give it to him. This way
  23023. small servers can continue to serve the directory *sometimes*,
  23024. without getting overloaded.
  23025. - Compress exit policies even more -- look for duplicate lines
  23026. and remove them.
  23027. - Clients now honor the "guard" flag in the router status when
  23028. picking entry guards, rather than looking at is_fast or is_stable.
  23029. - Retain unrecognized lines in $DATADIR/state file, so that we can
  23030. be forward-compatible.
  23031. - Generate 18.0.0.0/8 address policy format in descs when we can;
  23032. warn when the mask is not reducible to a bit-prefix.
  23033. - Let the user set ControlListenAddress in the torrc. This can be
  23034. dangerous, but there are some cases (like a secured LAN) where it
  23035. makes sense.
  23036. - Split ReachableAddresses into ReachableDirAddresses and
  23037. ReachableORAddresses, so we can restrict Dir conns to port 80
  23038. and OR conns to port 443.
  23039. - Now we can target arch and OS in rpm builds (contributed by
  23040. Phobos). Also make the resulting dist-rpm filename match the
  23041. target arch.
  23042. - New config options to help controllers: FetchServerDescriptors
  23043. and FetchHidServDescriptors for whether to fetch server
  23044. info and hidserv info or let the controller do it, and
  23045. PublishServerDescriptor and PublishHidServDescriptors.
  23046. - Also let the controller set the __AllDirActionsPrivate config
  23047. option if you want all directory fetches/publishes to happen via
  23048. Tor (it assumes your controller bootstraps your circuits).
  23049. Changes in version 0.1.0.17 - 2006-02-17
  23050. o Crash bugfixes on 0.1.0.x:
  23051. - When servers with a non-zero DirPort came out of hibernation,
  23052. sometimes they would trigger an assert.
  23053. o Other important bugfixes:
  23054. - On platforms that don't have getrlimit (like Windows), we were
  23055. artificially constraining ourselves to a max of 1024
  23056. connections. Now just assume that we can handle as many as 15000
  23057. connections. Hopefully this won't cause other problems.
  23058. o Backported features:
  23059. - When we're a server, a client asks for an old-style directory,
  23060. and our write bucket is empty, don't give it to him. This way
  23061. small servers can continue to serve the directory *sometimes*,
  23062. without getting overloaded.
  23063. - Whenever you get a 503 in response to a directory fetch, try
  23064. once more. This will become important once servers start sending
  23065. 503's whenever they feel busy.
  23066. - Fetch a new directory every 120 minutes, not every 40 minutes.
  23067. Now that we have hundreds of thousands of users running the old
  23068. directory algorithm, it's starting to hurt a lot.
  23069. - Bump up the period for forcing a hidden service descriptor upload
  23070. from 20 minutes to 1 hour.
  23071. Changes in version 0.1.1.13-alpha - 2006-02-09
  23072. o Crashes in 0.1.1.x:
  23073. - When you tried to setconf ORPort via the controller, Tor would
  23074. crash. So people using TorCP to become a server were sad.
  23075. - Solve (I hope) the stack-smashing bug that we were seeing on fast
  23076. servers. The problem appears to be something do with OpenSSL's
  23077. random number generation, or how we call it, or something. Let me
  23078. know if the crashes continue.
  23079. - Turn crypto hardware acceleration off by default, until we find
  23080. somebody smart who can test it for us. (It appears to produce
  23081. seg faults in at least some cases.)
  23082. - Fix a rare assert error when we've tried all intro points for
  23083. a hidden service and we try fetching the service descriptor again:
  23084. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
  23085. o Major fixes:
  23086. - Fix a major load balance bug: we were round-robining in 16 KB
  23087. chunks, and servers with bandwidthrate of 20 KB, while downloading
  23088. a 600 KB directory, would starve their other connections. Now we
  23089. try to be a bit more fair.
  23090. - Dir authorities and mirrors were never expiring the newest
  23091. descriptor for each server, causing memory and directory bloat.
  23092. - Fix memory-bloating and connection-bloating bug on servers: We
  23093. were never closing any connection that had ever had a circuit on
  23094. it, because we were checking conn->n_circuits == 0, yet we had a
  23095. bug that let it go negative.
  23096. - Make Tor work using squid as your http proxy again -- squid
  23097. returns an error if you ask for a URL that's too long, and it uses
  23098. a really generic error message. Plus, many people are behind a
  23099. transparent squid so they don't even realize it.
  23100. - On platforms that don't have getrlimit (like Windows), we were
  23101. artificially constraining ourselves to a max of 1024
  23102. connections. Now just assume that we can handle as many as 15000
  23103. connections. Hopefully this won't cause other problems.
  23104. - Add a new config option ExitPolicyRejectPrivate which defaults to
  23105. 1. This means all exit policies will begin with rejecting private
  23106. addresses, unless the server operator explicitly turns it off.
  23107. o Major features:
  23108. - Clients no longer download descriptors for non-running
  23109. descriptors.
  23110. - Before we add new directory authorities, we should make it
  23111. clear that only v1 authorities should receive/publish hidden
  23112. service descriptors.
  23113. o Minor features:
  23114. - As soon as we've fetched some more directory info, immediately
  23115. try to download more server descriptors. This way we don't have
  23116. a 10 second pause during initial bootstrapping.
  23117. - Remove even more loud log messages that the server operator can't
  23118. do anything about.
  23119. - When we're running an obsolete or un-recommended version, make
  23120. the log message more clear about what the problem is and what
  23121. versions *are* still recommended.
  23122. - Provide a more useful warn message when our onion queue gets full:
  23123. the CPU is too slow or the exit policy is too liberal.
  23124. - Don't warn when we receive a 503 from a dirserver/cache -- this
  23125. will pave the way for them being able to refuse if they're busy.
  23126. - When we fail to bind a listener, try to provide a more useful
  23127. log message: e.g., "Is Tor already running?"
  23128. - Adjust tor-spec to parameterize cell and key lengths. Now Ian
  23129. Goldberg can prove things about our handshake protocol more
  23130. easily.
  23131. - MaxConn has been obsolete for a while now. Document the ConnLimit
  23132. config option, which is a *minimum* number of file descriptors
  23133. that must be available else Tor refuses to start.
  23134. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  23135. if you log to syslog and want something other than LOG_DAEMON.
  23136. - Make dirservers generate a separate "guard" flag to mean,
  23137. "would make a good entry guard". Make clients parse it and vote
  23138. on it. Not used by clients yet.
  23139. - Implement --with-libevent-dir option to ./configure. Also, improve
  23140. search techniques to find libevent, and use those for openssl too.
  23141. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
  23142. - Only start testing reachability once we've established a
  23143. circuit. This will make startup on dirservers less noisy.
  23144. - Don't try to upload hidden service descriptors until we have
  23145. established a circuit.
  23146. - Fix the controller's "attachstream 0" command to treat conn like
  23147. it just connected, doing address remapping, handling .exit and
  23148. .onion idioms, and so on. Now we're more uniform in making sure
  23149. that the controller hears about new and closing connections.
  23150. Changes in version 0.1.1.12-alpha - 2006-01-11
  23151. o Bugfixes on 0.1.1.x:
  23152. - The fix to close duplicate server connections was closing all
  23153. Tor client connections if they didn't establish a circuit
  23154. quickly enough. Oops.
  23155. - Fix minor memory issue (double-free) that happened on exit.
  23156. o Bugfixes on 0.1.0.x:
  23157. - Tor didn't warn when it failed to open a log file.
  23158. Changes in version 0.1.1.11-alpha - 2006-01-10
  23159. o Crashes in 0.1.1.x:
  23160. - Include all the assert/crash fixes from 0.1.0.16.
  23161. - If you start Tor and then quit very quickly, there were some
  23162. races that tried to free things that weren't allocated yet.
  23163. - Fix a rare memory stomp if you're running hidden services.
  23164. - Fix segfault when specifying DirServer in config without nickname.
  23165. - Fix a seg fault when you finish connecting to a server but at
  23166. that moment you dump his server descriptor.
  23167. - Extendcircuit and Attachstream controller commands would
  23168. assert/crash if you don't give them enough arguments.
  23169. - Fix an assert error when we're out of space in the connection_list
  23170. and we try to post a hidden service descriptor (reported by weasel).
  23171. - If you specify a relative torrc path and you set RunAsDaemon in
  23172. your torrc, then it chdir()'s to the new directory. If you HUP,
  23173. it tries to load the new torrc location, fails, and exits.
  23174. The fix: no longer allow a relative path to torrc using -f.
  23175. o Major features:
  23176. - Implement "entry guards": automatically choose a handful of entry
  23177. nodes and stick with them for all circuits. Only pick new guards
  23178. when the ones you have are unsuitable, and if the old guards
  23179. become suitable again, switch back. This will increase security
  23180. dramatically against certain end-point attacks. The EntryNodes
  23181. config option now provides some hints about which entry guards you
  23182. want to use most; and StrictEntryNodes means to only use those.
  23183. - New directory logic: download by descriptor digest, not by
  23184. fingerprint. Caches try to download all listed digests from
  23185. authorities; clients try to download "best" digests from caches.
  23186. This avoids partitioning and isolating attacks better.
  23187. - Make the "stable" router flag in network-status be the median of
  23188. the uptimes of running valid servers, and make clients pay
  23189. attention to the network-status flags. Thus the cutoff adapts
  23190. to the stability of the network as a whole, making IRC, IM, etc
  23191. connections more reliable.
  23192. o Major fixes:
  23193. - Tor servers with dynamic IP addresses were needing to wait 18
  23194. hours before they could start doing reachability testing using
  23195. the new IP address and ports. This is because they were using
  23196. the internal descriptor to learn what to test, yet they were only
  23197. rebuilding the descriptor once they decided they were reachable.
  23198. - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
  23199. to download certain server descriptors, throw them away, and then
  23200. fetch them again after 30 minutes. Now mirrors throw away these
  23201. server descriptors so clients can't get them.
  23202. - We were leaving duplicate connections to other ORs open for a week,
  23203. rather than closing them once we detect a duplicate. This only
  23204. really affected authdirservers, but it affected them a lot.
  23205. - Spread the authdirservers' reachability testing over the entire
  23206. testing interval, so we don't try to do 500 TLS's at once every
  23207. 20 minutes.
  23208. o Minor fixes:
  23209. - If the network is down, and we try to connect to a conn because
  23210. we have a circuit in mind, and we timeout (30 seconds) because the
  23211. network never answers, we were expiring the circuit, but we weren't
  23212. obsoleting the connection or telling the entry_guards functions.
  23213. - Some Tor servers process billions of cells per day. These statistics
  23214. need to be uint64_t's.
  23215. - Check for integer overflows in more places, when adding elements
  23216. to smartlists. This could possibly prevent a buffer overflow
  23217. on malicious huge inputs. I don't see any, but I haven't looked
  23218. carefully.
  23219. - ReachableAddresses kept growing new "reject *:*" lines on every
  23220. setconf/reload.
  23221. - When you "setconf log" via the controller, it should remove all
  23222. logs. We were automatically adding back in a "log notice stdout".
  23223. - Newly bootstrapped Tor networks couldn't establish hidden service
  23224. circuits until they had nodes with high uptime. Be more tolerant.
  23225. - We were marking servers down when they could not answer every piece
  23226. of the directory request we sent them. This was far too harsh.
  23227. - Fix the torify (tsocks) config file to not use Tor for localhost
  23228. connections.
  23229. - Directory authorities now go to the proper authority when asking for
  23230. a networkstatus, even when they want a compressed one.
  23231. - Fix a harmless bug that was causing Tor servers to log
  23232. "Got an end because of misc error, but we're not an AP. Closing."
  23233. - Authorities were treating their own descriptor changes as cosmetic,
  23234. meaning the descriptor available in the network-status and the
  23235. descriptor that clients downloaded were different.
  23236. - The OS X installer was adding a symlink for tor_resolve but
  23237. the binary was called tor-resolve (reported by Thomas Hardly).
  23238. - Workaround a problem with some http proxies where they refuse GET
  23239. requests that specify "Content-Length: 0" (reported by Adrian).
  23240. - Fix wrong log message when you add a "HiddenServiceNodes" config
  23241. line without any HiddenServiceDir line (reported by Chris Thomas).
  23242. o Minor features:
  23243. - Write the TorVersion into the state file so we have a prayer of
  23244. keeping forward and backward compatibility.
  23245. - Revive the FascistFirewall config option rather than eliminating it:
  23246. now it's a synonym for ReachableAddresses *:80,*:443.
  23247. - Clients choose directory servers from the network status lists,
  23248. not from their internal list of router descriptors. Now they can
  23249. go to caches directly rather than needing to go to authorities
  23250. to bootstrap.
  23251. - Directory authorities ignore router descriptors that have only
  23252. cosmetic differences: do this for 0.1.0.x servers now too.
  23253. - Add a new flag to network-status indicating whether the server
  23254. can answer v2 directory requests too.
  23255. - Authdirs now stop whining so loudly about bad descriptors that
  23256. they fetch from other dirservers. So when there's a log complaint,
  23257. it's for sure from a freshly uploaded descriptor.
  23258. - Reduce memory requirements in our structs by changing the order
  23259. of fields.
  23260. - There used to be two ways to specify your listening ports in a
  23261. server descriptor: on the "router" line and with a separate "ports"
  23262. line. Remove support for the "ports" line.
  23263. - New config option "AuthDirRejectUnlisted" for auth dirservers as
  23264. a panic button: if we get flooded with unusable servers we can
  23265. revert to only listing servers in the approved-routers file.
  23266. - Auth dir servers can now mark a fingerprint as "!reject" or
  23267. "!invalid" in the approved-routers file (as its nickname), to
  23268. refuse descriptors outright or include them but marked as invalid.
  23269. - Servers store bandwidth history across restarts/crashes.
  23270. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  23271. get a better idea of why their circuits failed. Not used yet.
  23272. - Directory mirrors now cache up to 16 unrecognized network-status
  23273. docs. Now we can add new authdirservers and they'll be cached too.
  23274. - When picking a random directory, prefer non-authorities if any
  23275. are known.
  23276. - New controller option "getinfo desc/all-recent" to fetch the
  23277. latest server descriptor for every router that Tor knows about.
  23278. Changes in version 0.1.0.16 - 2006-01-02
  23279. o Crash bugfixes on 0.1.0.x:
  23280. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  23281. corrupting the heap, losing FDs, or crashing when we need to resize
  23282. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  23283. - It turns out sparc64 platforms crash on unaligned memory access
  23284. too -- so detect and avoid this.
  23285. - Handle truncated compressed data correctly (by detecting it and
  23286. giving an error).
  23287. - Fix possible-but-unlikely free(NULL) in control.c.
  23288. - When we were closing connections, there was a rare case that
  23289. stomped on memory, triggering seg faults and asserts.
  23290. - Avoid potential infinite recursion when building a descriptor. (We
  23291. don't know that it ever happened, but better to fix it anyway.)
  23292. - We were neglecting to unlink marked circuits from soon-to-close OR
  23293. connections, which caused some rare scribbling on freed memory.
  23294. - Fix a memory stomping race bug when closing the joining point of two
  23295. rendezvous circuits.
  23296. - Fix an assert in time parsing found by Steven Murdoch.
  23297. o Other bugfixes on 0.1.0.x:
  23298. - When we're doing reachability testing, provide more useful log
  23299. messages so the operator knows what to expect.
  23300. - Do not check whether DirPort is reachable when we are suppressing
  23301. advertising it because of hibernation.
  23302. - When building with -static or on Solaris, we sometimes needed -ldl.
  23303. - When we're deciding whether a stream has enough circuits around
  23304. that can handle it, count the freshly dirty ones and not the ones
  23305. that are so dirty they won't be able to handle it.
  23306. - When we're expiring old circuits, we had a logic error that caused
  23307. us to close new rendezvous circuits rather than old ones.
  23308. - Give a more helpful log message when you try to change ORPort via
  23309. the controller: you should upgrade Tor if you want that to work.
  23310. - We were failing to parse Tor versions that start with "Tor ".
  23311. - Tolerate faulty streams better: when a stream fails for reason
  23312. exitpolicy, stop assuming that the router is lying about his exit
  23313. policy. When a stream fails for reason misc, allow it to retry just
  23314. as if it was resolvefailed. When a stream has failed three times,
  23315. reset its failure count so we can try again and get all three tries.
  23316. Changes in version 0.1.1.10-alpha - 2005-12-11
  23317. o Correctness bugfixes on 0.1.0.x:
  23318. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  23319. corrupting the heap, losing FDs, or crashing when we need to resize
  23320. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  23321. - Stop doing the complex voodoo overkill checking for insecure
  23322. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  23323. - When we were closing connections, there was a rare case that
  23324. stomped on memory, triggering seg faults and asserts.
  23325. - We were neglecting to unlink marked circuits from soon-to-close OR
  23326. connections, which caused some rare scribbling on freed memory.
  23327. - When we're deciding whether a stream has enough circuits around
  23328. that can handle it, count the freshly dirty ones and not the ones
  23329. that are so dirty they won't be able to handle it.
  23330. - Recover better from TCP connections to Tor servers that are
  23331. broken but don't tell you (it happens!); and rotate TLS
  23332. connections once a week.
  23333. - When we're expiring old circuits, we had a logic error that caused
  23334. us to close new rendezvous circuits rather than old ones.
  23335. - Fix a scary-looking but apparently harmless bug where circuits
  23336. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  23337. servers, and never switch to state CIRCUIT_STATE_OPEN.
  23338. - When building with -static or on Solaris, we sometimes needed to
  23339. build with -ldl.
  23340. - Give a useful message when people run Tor as the wrong user,
  23341. rather than telling them to start chowning random directories.
  23342. - We were failing to inform the controller about new .onion streams.
  23343. o Security bugfixes on 0.1.0.x:
  23344. - Refuse server descriptors if the fingerprint line doesn't match
  23345. the included identity key. Tor doesn't care, but other apps (and
  23346. humans) might actually be trusting the fingerprint line.
  23347. - We used to kill the circuit when we receive a relay command we
  23348. don't recognize. Now we just drop it.
  23349. - Start obeying our firewall options more rigorously:
  23350. . If we can't get to a dirserver directly, try going via Tor.
  23351. . Don't ever try to connect (as a client) to a place our
  23352. firewall options forbid.
  23353. . If we specify a proxy and also firewall options, obey the
  23354. firewall options even when we're using the proxy: some proxies
  23355. can only proxy to certain destinations.
  23356. - Fix a bug found by Lasse Overlier: when we were making internal
  23357. circuits (intended to be cannibalized later for rendezvous and
  23358. introduction circuits), we were picking them so that they had
  23359. useful exit nodes. There was no need for this, and it actually
  23360. aids some statistical attacks.
  23361. - Start treating internal circuits and exit circuits separately.
  23362. It's important to keep them separate because internal circuits
  23363. have their last hops picked like middle hops, rather than like
  23364. exit hops. So exiting on them will break the user's expectations.
  23365. o Bugfixes on 0.1.1.x:
  23366. - Take out the mis-feature where we tried to detect IP address
  23367. flapping for people with DynDNS, and chose not to upload a new
  23368. server descriptor sometimes.
  23369. - Try to be compatible with OpenSSL 0.9.6 again.
  23370. - Log fix: when the controller is logging about .onion addresses,
  23371. sometimes it didn't include the ".onion" part of the address.
  23372. - Don't try to modify options->DirServers internally -- if the
  23373. user didn't specify any, just add the default ones directly to
  23374. the trusted dirserver list. This fixes a bug where people running
  23375. controllers would use SETCONF on some totally unrelated config
  23376. option, and Tor would start yelling at them about changing their
  23377. DirServer lines.
  23378. - Let the controller's redirectstream command specify a port, in
  23379. case the controller wants to change that too.
  23380. - When we requested a pile of server descriptors, we sometimes
  23381. accidentally launched a duplicate request for the first one.
  23382. - Bugfix for trackhostexits: write down the fingerprint of the
  23383. chosen exit, not its nickname, because the chosen exit might not
  23384. be verified.
  23385. - When parsing foo.exit, if foo is unknown, and we are leaving
  23386. circuits unattached, set the chosen_exit field and leave the
  23387. address empty. This matters because controllers got confused
  23388. otherwise.
  23389. - Directory authorities no longer try to download server
  23390. descriptors that they know they will reject.
  23391. o Features and updates:
  23392. - Replace balanced trees with hash tables: this should make stuff
  23393. significantly faster.
  23394. - Resume using the AES counter-mode implementation that we ship,
  23395. rather than OpenSSL's. Ours is significantly faster.
  23396. - Many other CPU and memory improvements.
  23397. - Add a new config option FastFirstHopPK (on by default) so clients
  23398. do a trivial crypto handshake for their first hop, since TLS has
  23399. already taken care of confidentiality and authentication.
  23400. - Add a new config option TestSocks so people can see if their
  23401. applications are using socks4, socks4a, socks5-with-ip, or
  23402. socks5-with-hostname. This way they don't have to keep mucking
  23403. with tcpdump and wondering if something got cached somewhere.
  23404. - Warn when listening on a public address for socks. I suspect a
  23405. lot of people are setting themselves up as open socks proxies,
  23406. and they have no idea that jerks on the Internet are using them,
  23407. since they simply proxy the traffic into the Tor network.
  23408. - Add "private:*" as an alias in configuration for policies. Now
  23409. you can simplify your exit policy rather than needing to list
  23410. every single internal or nonroutable network space.
  23411. - Add a new controller event type that allows controllers to get
  23412. all server descriptors that were uploaded to a router in its role
  23413. as authoritative dirserver.
  23414. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  23415. tor-doc-server.html, and stylesheet.css in the tarball.
  23416. - Stop shipping tor-doc.html in the tarball.
  23417. Changes in version 0.1.1.9-alpha - 2005-11-15
  23418. o Usability improvements:
  23419. - Start calling it FooListenAddress rather than FooBindAddress,
  23420. since few of our users know what it means to bind an address
  23421. or port.
  23422. - Reduce clutter in server logs. We're going to try to make
  23423. them actually usable now. New config option ProtocolWarnings that
  23424. lets you hear about how _other Tors_ are breaking the protocol. Off
  23425. by default.
  23426. - Divide log messages into logging domains. Once we put some sort
  23427. of interface on this, it will let people looking at more verbose
  23428. log levels specify the topics they want to hear more about.
  23429. - Make directory servers return better http 404 error messages
  23430. instead of a generic "Servers unavailable".
  23431. - Check for even more Windows version flags when writing the platform
  23432. string in server descriptors, and note any we don't recognize.
  23433. - Clean up more of the OpenSSL memory when exiting, so we can detect
  23434. memory leaks better.
  23435. - Make directory authorities be non-versioning, non-naming by
  23436. default. Now we can add new directory servers without requiring
  23437. their operators to pay close attention.
  23438. - When logging via syslog, include the pid whenever we provide
  23439. a log entry. Suggested by Todd Fries.
  23440. o Performance improvements:
  23441. - Directory servers now silently throw away new descriptors that
  23442. haven't changed much if the timestamps are similar. We do this to
  23443. tolerate older Tor servers that upload a new descriptor every 15
  23444. minutes. (It seemed like a good idea at the time.)
  23445. - Inline bottleneck smartlist functions; use fast versions by default.
  23446. - Add a "Map from digest to void*" abstraction digestmap_t so we
  23447. can do less hex encoding/decoding. Use it in router_get_by_digest()
  23448. to resolve a performance bottleneck.
  23449. - Allow tor_gzip_uncompress to extract as much as possible from
  23450. truncated compressed data. Try to extract as many
  23451. descriptors as possible from truncated http responses (when
  23452. DIR_PURPOSE_FETCH_ROUTERDESC).
  23453. - Make circ->onionskin a pointer, not a static array. moria2 was using
  23454. 125000 circuit_t's after it had been up for a few weeks, which
  23455. translates to 20+ megs of wasted space.
  23456. - The private half of our EDH handshake keys are now chosen out
  23457. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  23458. o Security improvements:
  23459. - Start making directory caches retain old routerinfos, so soon
  23460. clients can start asking by digest of descriptor rather than by
  23461. fingerprint of server.
  23462. - Add half our entropy from RAND_poll in OpenSSL. This knows how
  23463. to use egd (if present), openbsd weirdness (if present), vms/os2
  23464. weirdness (if we ever port there), and more in the future.
  23465. o Bugfixes on 0.1.0.x:
  23466. - Do round-robin writes of at most 16 kB per write. This might be
  23467. more fair on loaded Tor servers, and it might resolve our Windows
  23468. crash bug. It might also slow things down.
  23469. - Our TLS handshakes were generating a single public/private
  23470. keypair for the TLS context, rather than making a new one for
  23471. each new connections. Oops. (But we were still rotating them
  23472. periodically, so it's not so bad.)
  23473. - When we were cannibalizing a circuit with a particular exit
  23474. node in mind, we weren't checking to see if that exit node was
  23475. already present earlier in the circuit. Oops.
  23476. - When a Tor server's IP changes (e.g. from a dyndns address),
  23477. upload a new descriptor so clients will learn too.
  23478. - Really busy servers were keeping enough circuits open on stable
  23479. connections that they were wrapping around the circuit_id
  23480. space. (It's only two bytes.) This exposed a bug where we would
  23481. feel free to reuse a circuit_id even if it still exists but has
  23482. been marked for close. Try to fix this bug. Some bug remains.
  23483. - If we would close a stream early (e.g. it asks for a .exit that
  23484. we know would refuse it) but the LeaveStreamsUnattached config
  23485. option is set by the controller, then don't close it.
  23486. o Bugfixes on 0.1.1.8-alpha:
  23487. - Fix a big pile of memory leaks, some of them serious.
  23488. - Do not try to download a routerdesc if we would immediately reject
  23489. it as obsolete.
  23490. - Resume inserting a newline between all router descriptors when
  23491. generating (old style) signed directories, since our spec says
  23492. we do.
  23493. - When providing content-type application/octet-stream for
  23494. server descriptors using .z, we were leaving out the
  23495. content-encoding header. Oops. (Everything tolerated this just
  23496. fine, but that doesn't mean we need to be part of the problem.)
  23497. - Fix a potential seg fault in getconf and getinfo using version 1
  23498. of the controller protocol.
  23499. - Avoid crash: do not check whether DirPort is reachable when we
  23500. are suppressing it because of hibernation.
  23501. - Make --hash-password not crash on exit.
  23502. Changes in version 0.1.1.8-alpha - 2005-10-07
  23503. o New features (major):
  23504. - Clients don't download or use the directory anymore. Now they
  23505. download and use network-statuses from the trusted dirservers,
  23506. and fetch individual server descriptors as needed from mirrors.
  23507. See dir-spec.txt for all the gory details.
  23508. - Be more conservative about whether to advertise our DirPort.
  23509. The main change is to not advertise if we're running at capacity
  23510. and either a) we could hibernate or b) our capacity is low and
  23511. we're using a default DirPort.
  23512. - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
  23513. o New features (minor):
  23514. - Try to be smart about when to retry network-status and
  23515. server-descriptor fetches. Still needs some tuning.
  23516. - Stop parsing, storing, or using running-routers output (but
  23517. mirrors still cache and serve it).
  23518. - Consider a threshold of versioning dirservers (dirservers who have
  23519. an opinion about which Tor versions are still recommended) before
  23520. deciding whether to warn the user that he's obsolete.
  23521. - Dirservers can now reject/invalidate by key and IP, with the
  23522. config options "AuthDirInvalid" and "AuthDirReject". This is
  23523. useful since currently we automatically list servers as running
  23524. and usable even if we know they're jerks.
  23525. - Provide dire warnings to any users who set DirServer; move it out
  23526. of torrc.sample and into torrc.complete.
  23527. - Add MyFamily to torrc.sample in the server section.
  23528. - Add nicknames to the DirServer line, so we can refer to them
  23529. without requiring all our users to memorize their IP addresses.
  23530. - When we get an EOF or a timeout on a directory connection, note
  23531. how many bytes of serverdesc we are dropping. This will help
  23532. us determine whether it is smart to parse incomplete serverdesc
  23533. responses.
  23534. - Add a new function to "change pseudonyms" -- that is, to stop
  23535. using any currently-dirty circuits for new streams, so we don't
  23536. link new actions to old actions. Currently it's only called on
  23537. HUP (or SIGNAL RELOAD).
  23538. - On sighup, if UseHelperNodes changed to 1, use new circuits.
  23539. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  23540. OpenSSL. Also, reseed our entropy every hour, not just at
  23541. startup. And entropy in 512-bit chunks, not 160-bit chunks.
  23542. o Fixes on 0.1.1.7-alpha:
  23543. - Nobody ever implemented EVENT_ADDRMAP for control protocol
  23544. version 0, so don't let version 0 controllers ask for it.
  23545. - If you requested something with too many newlines via the
  23546. v1 controller protocol, you could crash tor.
  23547. - Fix a number of memory leaks, including some pretty serious ones.
  23548. - Re-enable DirPort testing again, so Tor servers will be willing
  23549. to advertise their DirPort if it's reachable.
  23550. - On TLS handshake, only check the other router's nickname against
  23551. its expected nickname if is_named is set.
  23552. o Fixes forward-ported from 0.1.0.15:
  23553. - Don't crash when we don't have any spare file descriptors and we
  23554. try to spawn a dns or cpu worker.
  23555. - Make the numbers in read-history and write-history into uint64s,
  23556. so they don't overflow and publish negatives in the descriptor.
  23557. o Fixes on 0.1.0.x:
  23558. - For the OS X package's modified privoxy config file, comment
  23559. out the "logfile" line so we don't log everything passed
  23560. through privoxy.
  23561. - We were whining about using socks4 or socks5-with-local-lookup
  23562. even when it's an IP in the "virtual" range we designed exactly
  23563. for this case.
  23564. - We were leaking some memory every time the client changes IPs.
  23565. - Never call free() on tor_malloc()d memory. This will help us
  23566. use dmalloc to detect memory leaks.
  23567. - Check for named servers when looking them up by nickname;
  23568. warn when we'recalling a non-named server by its nickname;
  23569. don't warn twice about the same name.
  23570. - Try to list MyFamily elements by key, not by nickname, and warn
  23571. if we've not heard of the server.
  23572. - Make windows platform detection (uname equivalent) smarter.
  23573. - It turns out sparc64 doesn't like unaligned access either.
  23574. Changes in version 0.1.0.15 - 2005-09-23
  23575. o Bugfixes on 0.1.0.x:
  23576. - Reject ports 465 and 587 (spam targets) in default exit policy.
  23577. - Don't crash when we don't have any spare file descriptors and we
  23578. try to spawn a dns or cpu worker.
  23579. - Get rid of IgnoreVersion undocumented config option, and make us
  23580. only warn, never exit, when we're running an obsolete version.
  23581. - Don't try to print a null string when your server finds itself to
  23582. be unreachable and the Address config option is empty.
  23583. - Make the numbers in read-history and write-history into uint64s,
  23584. so they don't overflow and publish negatives in the descriptor.
  23585. - Fix a minor memory leak in smartlist_string_remove().
  23586. - We were only allowing ourselves to upload a server descriptor at
  23587. most every 20 minutes, even if it changed earlier than that.
  23588. - Clean up log entries that pointed to old URLs.
  23589. Changes in version 0.1.1.7-alpha - 2005-09-14
  23590. o Fixes on 0.1.1.6-alpha:
  23591. - Exit servers were crashing when people asked them to make a
  23592. connection to an address not in their exit policy.
  23593. - Looking up a non-existent stream for a v1 control connection would
  23594. cause a segfault.
  23595. - Fix a seg fault if we ask a dirserver for a descriptor by
  23596. fingerprint but he doesn't know about him.
  23597. - SETCONF was appending items to linelists, not clearing them.
  23598. - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
  23599. out and refuse the setconf if it would fail.
  23600. - Downgrade the dirserver log messages when whining about
  23601. unreachability.
  23602. o New features:
  23603. - Add Peter Palfrader's check-tor script to tor/contrib/
  23604. It lets you easily check whether a given server (referenced by
  23605. nickname) is reachable by you.
  23606. - Numerous changes to move towards client-side v2 directories. Not
  23607. enabled yet.
  23608. o Fixes on 0.1.0.x:
  23609. - If the user gave tor an odd number of command-line arguments,
  23610. we were silently ignoring the last one. Now we complain and fail.
  23611. [This wins the oldest-bug prize -- this bug has been present since
  23612. November 2002, as released in Tor 0.0.0.]
  23613. - Do not use unaligned memory access on alpha, mips, or mipsel.
  23614. It *works*, but is very slow, so we treat them as if it doesn't.
  23615. - Retry directory requests if we fail to get an answer we like
  23616. from a given dirserver (we were retrying before, but only if
  23617. we fail to connect).
  23618. - When writing the RecommendedVersions line, sort them first.
  23619. - When the client asked for a rendezvous port that the hidden
  23620. service didn't want to provide, we were sending an IP address
  23621. back along with the end cell. Fortunately, it was zero. But stop
  23622. that anyway.
  23623. - Correct "your server is reachable" log entries to indicate that
  23624. it was self-testing that told us so.
  23625. Changes in version 0.1.1.6-alpha - 2005-09-09
  23626. o Fixes on 0.1.1.5-alpha:
  23627. - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
  23628. - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
  23629. - Fix bug with tor_memmem finding a match at the end of the string.
  23630. - Make unit tests run without segfaulting.
  23631. - Resolve some solaris x86 compile warnings.
  23632. - Handle duplicate lines in approved-routers files without warning.
  23633. - Fix bug where as soon as a server refused any requests due to his
  23634. exit policy (e.g. when we ask for localhost and he tells us that's
  23635. 127.0.0.1 and he won't do it), we decided he wasn't obeying his
  23636. exit policy using him for any exits.
  23637. - Only do openssl hardware accelerator stuff if openssl version is
  23638. at least 0.9.7.
  23639. o New controller features/fixes:
  23640. - Add a "RESETCONF" command so you can set config options like
  23641. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  23642. a config option in the torrc with no value, then it clears it
  23643. entirely (rather than setting it to its default).
  23644. - Add a "GETINFO config-file" to tell us where torrc is.
  23645. - Avoid sending blank lines when GETINFO replies should be empty.
  23646. - Add a QUIT command for the controller (for using it manually).
  23647. - Fix a bug in SAVECONF that was adding default dirservers and
  23648. other redundant entries to the torrc file.
  23649. o Start on the new directory design:
  23650. - Generate, publish, cache, serve new network-status format.
  23651. - Publish individual descriptors (by fingerprint, by "all", and by
  23652. "tell me yours").
  23653. - Publish client and server recommended versions separately.
  23654. - Allow tor_gzip_uncompress() to handle multiple concatenated
  23655. compressed strings. Serve compressed groups of router
  23656. descriptors. The compression logic here could be more
  23657. memory-efficient.
  23658. - Distinguish v1 authorities (all currently trusted directories)
  23659. from v2 authorities (all trusted directories).
  23660. - Change DirServers config line to note which dirs are v1 authorities.
  23661. - Add configuration option "V1AuthoritativeDirectory 1" which
  23662. moria1, moria2, and tor26 should set.
  23663. - Remove option when getting directory cache to see whether they
  23664. support running-routers; they all do now. Replace it with one
  23665. to see whether caches support v2 stuff.
  23666. o New features:
  23667. - Dirservers now do their own external reachability testing of each
  23668. Tor server, and only list them as running if they've been found to
  23669. be reachable. We also send back warnings to the server's logs if
  23670. it uploads a descriptor that we already believe is unreachable.
  23671. - Implement exit enclaves: if we know an IP address for the
  23672. destination, and there's a running Tor server at that address
  23673. which allows exit to the destination, then extend the circuit to
  23674. that exit first. This provides end-to-end encryption and end-to-end
  23675. authentication. Also, if the user wants a .exit address or enclave,
  23676. use 4 hops rather than 3, and cannibalize a general circ for it
  23677. if you can.
  23678. - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
  23679. controller. Also, rotate dns and cpu workers if the controller
  23680. changes options that will affect them; and initialize the dns
  23681. worker cache tree whether or not we start out as a server.
  23682. - Only upload a new server descriptor when options change, 18
  23683. hours have passed, uptime is reset, or bandwidth changes a lot.
  23684. - Check [X-]Forwarded-For headers in HTTP requests when generating
  23685. log messages. This lets people run dirservers (and caches) behind
  23686. Apache but still know which IP addresses are causing warnings.
  23687. o Config option changes:
  23688. - Replace (Fascist)Firewall* config options with a new
  23689. ReachableAddresses option that understands address policies.
  23690. For example, "ReachableAddresses *:80,*:443"
  23691. - Get rid of IgnoreVersion undocumented config option, and make us
  23692. only warn, never exit, when we're running an obsolete version.
  23693. - Make MonthlyAccountingStart config option truly obsolete now.
  23694. o Fixes on 0.1.0.x:
  23695. - Reject ports 465 and 587 in the default exit policy, since
  23696. people have started using them for spam too.
  23697. - It turns out we couldn't bootstrap a network since we added
  23698. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  23699. has never gone down. Add an AssumeReachable config option to let
  23700. servers and dirservers bootstrap. When we're trying to build a
  23701. high-uptime or high-bandwidth circuit but there aren't enough
  23702. suitable servers, try being less picky rather than simply failing.
  23703. - Our logic to decide if the OR we connected to was the right guy
  23704. was brittle and maybe open to a mitm for unverified routers.
  23705. - We weren't cannibalizing circuits correctly for
  23706. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  23707. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  23708. build those from scratch. This should make hidden services faster.
  23709. - Predict required circuits better, with an eye toward making hidden
  23710. services faster on the service end.
  23711. - Retry streams if the exit node sends back a 'misc' failure. This
  23712. should result in fewer random failures. Also, after failing
  23713. from resolve failed or misc, reset the num failures, so we give
  23714. it a fair shake next time we try.
  23715. - Clean up the rendezvous warn log msgs, and downgrade some to info.
  23716. - Reduce severity on logs about dns worker spawning and culling.
  23717. - When we're shutting down and we do something like try to post a
  23718. server descriptor or rendezvous descriptor, don't complain that
  23719. we seem to be unreachable. Of course we are, we're shutting down.
  23720. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  23721. We don't use them yet, but maybe one day our DNS resolver will be
  23722. able to discover them.
  23723. - Make ContactInfo mandatory for authoritative directory servers.
  23724. - Require server descriptors to list IPv4 addresses -- hostnames
  23725. are no longer allowed. This also fixes some potential security
  23726. problems with people providing hostnames as their address and then
  23727. preferentially resolving them to partition users.
  23728. - Change log line for unreachability to explicitly suggest /etc/hosts
  23729. as the culprit. Also make it clearer what IP address and ports we're
  23730. testing for reachability.
  23731. - Put quotes around user-supplied strings when logging so users are
  23732. more likely to realize if they add bad characters (like quotes)
  23733. to the torrc.
  23734. - Let auth dir servers start without specifying an Address config
  23735. option.
  23736. - Make unit tests (and other invocations that aren't the real Tor)
  23737. run without launching listeners, creating subdirectories, and so on.
  23738. Changes in version 0.1.1.5-alpha - 2005-08-08
  23739. o Bugfixes included in 0.1.0.14.
  23740. o Bugfixes on 0.1.0.x:
  23741. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  23742. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  23743. it would silently using ignore the 6668.
  23744. Changes in version 0.1.0.14 - 2005-08-08
  23745. o Bugfixes on 0.1.0.x:
  23746. - Fix the other half of the bug with crypto handshakes
  23747. (CVE-2005-2643).
  23748. - Fix an assert trigger if you send a 'signal term' via the
  23749. controller when it's listening for 'event info' messages.
  23750. Changes in version 0.1.1.4-alpha - 2005-08-04
  23751. o Bugfixes included in 0.1.0.13.
  23752. o Features:
  23753. - Improve tor_gettimeofday() granularity on windows.
  23754. - Make clients regenerate their keys when their IP address changes.
  23755. - Implement some more GETINFO goodness: expose helper nodes, config
  23756. options, getinfo keys.
  23757. Changes in version 0.1.0.13 - 2005-08-04
  23758. o Bugfixes on 0.1.0.x:
  23759. - Fix a critical bug in the security of our crypto handshakes.
  23760. - Fix a size_t underflow in smartlist_join_strings2() that made
  23761. it do bad things when you hand it an empty smartlist.
  23762. - Fix Windows installer to ship Tor license (thanks to Aphex for
  23763. pointing out this oversight) and put a link to the doc directory
  23764. in the start menu.
  23765. - Explicitly set no-unaligned-access for sparc: it turns out the
  23766. new gcc's let you compile broken code, but that doesn't make it
  23767. not-broken.
  23768. Changes in version 0.1.1.3-alpha - 2005-07-23
  23769. o Bugfixes on 0.1.1.2-alpha:
  23770. - Fix a bug in handling the controller's "post descriptor"
  23771. function.
  23772. - Fix several bugs in handling the controller's "extend circuit"
  23773. function.
  23774. - Fix a bug in handling the controller's "stream status" event.
  23775. - Fix an assert failure if we have a controller listening for
  23776. circuit events and we go offline.
  23777. - Re-allow hidden service descriptors to publish 0 intro points.
  23778. - Fix a crash when generating your hidden service descriptor if
  23779. you don't have enough intro points already.
  23780. o New features on 0.1.1.2-alpha:
  23781. - New controller function "getinfo accounting", to ask how
  23782. many bytes we've used in this time period.
  23783. - Experimental support for helper nodes: a lot of the risk from
  23784. a small static adversary comes because users pick new random
  23785. nodes every time they rebuild a circuit. Now users will try to
  23786. stick to the same small set of entry nodes if they can. Not
  23787. enabled by default yet.
  23788. o Bugfixes on 0.1.0.12:
  23789. - If you're an auth dir server, always publish your dirport,
  23790. even if you haven't yet found yourself to be reachable.
  23791. - Fix a size_t underflow in smartlist_join_strings2() that made
  23792. it do bad things when you hand it an empty smartlist.
  23793. Changes in version 0.1.0.12 - 2005-07-18
  23794. o New directory servers:
  23795. - tor26 has changed IP address.
  23796. o Bugfixes on 0.1.0.x:
  23797. - Fix a possible double-free in tor_gzip_uncompress().
  23798. - When --disable-threads is set, do not search for or link against
  23799. pthreads libraries.
  23800. - Don't trigger an assert if an authoritative directory server
  23801. claims its dirport is 0.
  23802. - Fix bug with removing Tor as an NT service: some people were
  23803. getting "The service did not return an error." Thanks to Matt
  23804. Edman for the fix.
  23805. Changes in version 0.1.1.2-alpha - 2005-07-15
  23806. o New directory servers:
  23807. - tor26 has changed IP address.
  23808. o Bugfixes on 0.1.0.x, crashes/leaks:
  23809. - Port the servers-not-obeying-their-exit-policies fix from
  23810. 0.1.0.11.
  23811. - Fix an fd leak in start_daemon().
  23812. - On Windows, you can't always reopen a port right after you've
  23813. closed it. So change retry_listeners() to only close and re-open
  23814. ports that have changed.
  23815. - Fix a possible double-free in tor_gzip_uncompress().
  23816. o Bugfixes on 0.1.0.x, usability:
  23817. - When tor_socketpair() fails in Windows, give a reasonable
  23818. Windows-style errno back.
  23819. - Let people type "tor --install" as well as "tor -install" when
  23820. they
  23821. want to make it an NT service.
  23822. - NT service patch from Matt Edman to improve error messages.
  23823. - When the controller asks for a config option with an abbreviated
  23824. name, give the full name in our response.
  23825. - Correct the man page entry on TrackHostExitsExpire.
  23826. - Looks like we were never delivering deflated (i.e. compressed)
  23827. running-routers lists, even when asked. Oops.
  23828. - When --disable-threads is set, do not search for or link against
  23829. pthreads libraries.
  23830. o Bugfixes on 0.1.1.x:
  23831. - Fix a seg fault with autodetecting which controller version is
  23832. being used.
  23833. o Features:
  23834. - New hidden service descriptor format: put a version in it, and
  23835. let people specify introduction/rendezvous points that aren't
  23836. in "the directory" (which is subjective anyway).
  23837. - Allow the DEBUG controller event to work again. Mark certain log
  23838. entries as "don't tell this to controllers", so we avoid cycles.
  23839. Changes in version 0.1.0.11 - 2005-06-30
  23840. o Bugfixes on 0.1.0.x:
  23841. - Fix major security bug: servers were disregarding their
  23842. exit policies if clients behaved unexpectedly.
  23843. - Make OS X init script check for missing argument, so we don't
  23844. confuse users who invoke it incorrectly.
  23845. - Fix a seg fault in "tor --hash-password foo".
  23846. - The MAPADDRESS control command was broken.
  23847. Changes in version 0.1.1.1-alpha - 2005-06-29
  23848. o Bugfixes:
  23849. - Make OS X init script check for missing argument, so we don't
  23850. confuse users who invoke it incorrectly.
  23851. - Fix a seg fault in "tor --hash-password foo".
  23852. - Fix a possible way to DoS dirservers.
  23853. - When we complain that your exit policy implicitly allows local or
  23854. private address spaces, name them explicitly so operators can
  23855. fix it.
  23856. - Make the log message less scary when all the dirservers are
  23857. temporarily unreachable.
  23858. - We were printing the number of idle dns workers incorrectly when
  23859. culling them.
  23860. o Features:
  23861. - Revised controller protocol (version 1) that uses ascii rather
  23862. than binary. Add supporting libraries in python and java so you
  23863. can use the controller from your applications without caring how
  23864. our protocol works.
  23865. - Spiffy new support for crypto hardware accelerators. Can somebody
  23866. test this?
  23867. Changes in version 0.0.9.10 - 2005-06-16
  23868. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  23869. - Refuse relay cells that claim to have a length larger than the
  23870. maximum allowed. This prevents a potential attack that could read
  23871. arbitrary memory (e.g. keys) from an exit server's process
  23872. (CVE-2005-2050).
  23873. Changes in version 0.1.0.10 - 2005-06-14
  23874. o Allow a few EINVALs from libevent before dying. Warn on kqueue with
  23875. libevent before 1.1a.
  23876. Changes in version 0.1.0.9-rc - 2005-06-09
  23877. o Bugfixes:
  23878. - Reset buf->highwater every time buf_shrink() is called, not just on
  23879. a successful shrink. This was causing significant memory bloat.
  23880. - Fix buffer overflow when checking hashed passwords.
  23881. - Security fix: if seeding the RNG on Win32 fails, quit.
  23882. - Allow seeding the RNG on Win32 even when you're not running as
  23883. Administrator.
  23884. - Disable threading on Solaris too. Something is wonky with it,
  23885. cpuworkers, and reentrant libs.
  23886. - Reenable the part of the code that tries to flush as soon as an
  23887. OR outbuf has a full TLS record available. Perhaps this will make
  23888. OR outbufs not grow as huge except in rare cases, thus saving lots
  23889. of CPU time plus memory.
  23890. - Reject malformed .onion addresses rather then passing them on as
  23891. normal web requests.
  23892. - Adapt patch from Adam Langley: fix possible memory leak in
  23893. tor_lookup_hostname().
  23894. - Initialize libevent later in the startup process, so the logs are
  23895. already established by the time we start logging libevent warns.
  23896. - Use correct errno on win32 if libevent fails.
  23897. - Check and warn about known-bad/slow libevent versions.
  23898. - Pay more attention to the ClientOnly config option.
  23899. - Have torctl.in/tor.sh.in check for location of su binary (needed
  23900. on FreeBSD)
  23901. - Correct/add man page entries for LongLivedPorts, ExitPolicy,
  23902. KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
  23903. HttpProxyAuthenticator
  23904. - Stop warning about sigpipes in the logs. We're going to
  23905. pretend that getting these occasionally is normal and fine.
  23906. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
  23907. certain
  23908. installer screens; and don't put stuff into StartupItems unless
  23909. the user asks you to.
  23910. - Require servers that use the default dirservers to have public IP
  23911. addresses. We have too many servers that are configured with private
  23912. IPs and their admins never notice the log entries complaining that
  23913. their descriptors are being rejected.
  23914. - Add OSX uninstall instructions. An actual uninstall script will
  23915. come later.
  23916. Changes in version 0.1.0.8-rc - 2005-05-23
  23917. o Bugfixes:
  23918. - It turns out that kqueue on OS X 10.3.9 was causing kernel
  23919. panics. Disable kqueue on all OS X Tors.
  23920. - Fix RPM: remove duplicate line accidentally added to the rpm
  23921. spec file.
  23922. - Disable threads on openbsd too, since its gethostaddr is not
  23923. reentrant either.
  23924. - Tolerate libevent 0.8 since it still works, even though it's
  23925. ancient.
  23926. - Enable building on Red Hat 9.0 again.
  23927. - Allow the middle hop of the testing circuit to be running any
  23928. version, now that most of them have the bugfix to let them connect
  23929. to unknown servers. This will allow reachability testing to work
  23930. even when 0.0.9.7-0.0.9.9 become obsolete.
  23931. - Handle relay cells with rh.length too large. This prevents
  23932. a potential attack that could read arbitrary memory (maybe even
  23933. keys) from the exit server's process.
  23934. - We screwed up the dirport reachability testing when we don't yet
  23935. have a cached version of the directory. Hopefully now fixed.
  23936. - Clean up router_load_single_router() (used by the controller),
  23937. so it doesn't seg fault on error.
  23938. - Fix a minor memory leak when somebody establishes an introduction
  23939. point at your Tor server.
  23940. - If a socks connection ends because read fails, don't warn that
  23941. you're not sending a socks reply back.
  23942. o Features:
  23943. - Add HttpProxyAuthenticator config option too, that works like
  23944. the HttpsProxyAuthenticator config option.
  23945. - Encode hashed controller passwords in hex instead of base64,
  23946. to make it easier to write controllers.
  23947. Changes in version 0.1.0.7-rc - 2005-05-17
  23948. o Bugfixes:
  23949. - Fix a bug in the OS X package installer that prevented it from
  23950. installing on Tiger.
  23951. - Fix a script bug in the OS X package installer that made it
  23952. complain during installation.
  23953. - Find libevent even if it's hiding in /usr/local/ and your
  23954. CFLAGS and LDFLAGS don't tell you to look there.
  23955. - Be able to link with libevent as a shared library (the default
  23956. after 1.0d), even if it's hiding in /usr/local/lib and even
  23957. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  23958. assuming you're running gcc. Otherwise fail and give a useful
  23959. error message.
  23960. - Fix a bug in the RPM packager: set home directory for _tor to
  23961. something more reasonable when first installing.
  23962. - Free a minor amount of memory that is still reachable on exit.
  23963. Changes in version 0.1.0.6-rc - 2005-05-14
  23964. o Bugfixes:
  23965. - Implement --disable-threads configure option. Disable threads on
  23966. netbsd by default, because it appears to have no reentrant resolver
  23967. functions.
  23968. - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
  23969. release (1.1) detects and disables kqueue if it's broken.
  23970. - Append default exit policy before checking for implicit internal
  23971. addresses. Now we don't log a bunch of complaints on startup
  23972. when using the default exit policy.
  23973. - Some people were putting "Address " in their torrc, and they had
  23974. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  23975. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  23976. LOCALSTATEDIR/tor instead.
  23977. - Fix fragmented-message bug in TorControl.py.
  23978. - Resolve a minor bug which would prevent unreachable dirports
  23979. from getting suppressed in the published descriptor.
  23980. - When the controller gave us a new descriptor, we weren't resolving
  23981. it immediately, so Tor would think its address was 0.0.0.0 until
  23982. we fetched a new directory.
  23983. - Fix an uppercase/lowercase case error in suppressing a bogus
  23984. libevent warning on some Linuxes.
  23985. o Features:
  23986. - Begin scrubbing sensitive strings from logs by default. Turn off
  23987. the config option SafeLogging if you need to do debugging.
  23988. - Switch to a new buffer management algorithm, which tries to avoid
  23989. reallocing and copying quite as much. In first tests it looks like
  23990. it uses *more* memory on average, but less cpu.
  23991. - First cut at support for "create-fast" cells. Clients can use
  23992. these when extending to their first hop, since the TLS already
  23993. provides forward secrecy and authentication. Not enabled on
  23994. clients yet.
  23995. - When dirservers refuse a router descriptor, we now log its
  23996. contactinfo, platform, and the poster's IP address.
  23997. - Call tor_free_all instead of connections_free_all after forking, to
  23998. save memory on systems that need to fork.
  23999. - Whine at you if you're a server and you don't set your contactinfo.
  24000. - Implement --verify-config command-line option to check if your torrc
  24001. is valid without actually launching Tor.
  24002. - Rewrite address "serifos.exit" to "localhost.serifos.exit"
  24003. rather than just rejecting it.
  24004. Changes in version 0.1.0.5-rc - 2005-04-27
  24005. o Bugfixes:
  24006. - Stop trying to print a null pointer if an OR conn fails because
  24007. we didn't like its cert.
  24008. o Features:
  24009. - Switch our internal buffers implementation to use a ring buffer,
  24010. to hopefully improve performance for fast servers a lot.
  24011. - Add HttpsProxyAuthenticator support (basic auth only), based
  24012. on patch from Adam Langley.
  24013. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  24014. the fast servers that have been joining lately.
  24015. - Give hidden service accesses extra time on the first attempt,
  24016. since 60 seconds is often only barely enough. This might improve
  24017. robustness more.
  24018. - Improve performance for dirservers: stop re-parsing the whole
  24019. directory every time you regenerate it.
  24020. - Add more debugging info to help us find the weird dns freebsd
  24021. pthreads bug; cleaner debug messages to help track future issues.
  24022. Changes in version 0.0.9.9 - 2005-04-23
  24023. o Bugfixes on 0.0.9.x:
  24024. - If unofficial Tor clients connect and send weird TLS certs, our
  24025. Tor server triggers an assert. This release contains a minimal
  24026. backport from the broader fix that we put into 0.1.0.4-rc.
  24027. Changes in version 0.1.0.4-rc - 2005-04-23
  24028. o Bugfixes:
  24029. - If unofficial Tor clients connect and send weird TLS certs, our
  24030. Tor server triggers an assert. Stop asserting, and start handling
  24031. TLS errors better in other situations too.
  24032. - When the controller asks us to tell it about all the debug-level
  24033. logs, it turns out we were generating debug-level logs while
  24034. telling it about them, which turns into a bad loop. Now keep
  24035. track of whether you're sending a debug log to the controller,
  24036. and don't log when you are.
  24037. - Fix the "postdescriptor" feature of the controller interface: on
  24038. non-complete success, only say "done" once.
  24039. o Features:
  24040. - Clients are now willing to load balance over up to 2mB, not 1mB,
  24041. of advertised bandwidth capacity.
  24042. - Add a NoPublish config option, so you can be a server (e.g. for
  24043. testing running Tor servers in other Tor networks) without
  24044. publishing your descriptor to the primary dirservers.
  24045. Changes in version 0.1.0.3-rc - 2005-04-08
  24046. o Improvements on 0.1.0.2-rc:
  24047. - Client now retries when streams end early for 'hibernating' or
  24048. 'resource limit' reasons, rather than failing them.
  24049. - More automated handling for dirserver operators:
  24050. - Automatically approve nodes running 0.1.0.2-rc or later,
  24051. now that the the reachability detection stuff is working.
  24052. - Now we allow two unverified servers with the same nickname
  24053. but different keys. But if a nickname is verified, only that
  24054. nickname+key are allowed.
  24055. - If you're an authdirserver connecting to an address:port,
  24056. and it's not the OR you were expecting, forget about that
  24057. descriptor. If he *was* the one you were expecting, then forget
  24058. about all other descriptors for that address:port.
  24059. - Allow servers to publish descriptors from 12 hours in the future.
  24060. Corollary: only whine about clock skew from the dirserver if
  24061. he's a trusted dirserver (since now even verified servers could
  24062. have quite wrong clocks).
  24063. - Adjust maximum skew and age for rendezvous descriptors: let skew
  24064. be 48 hours rather than 90 minutes.
  24065. - Efficiency improvements:
  24066. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  24067. it much faster to look up a circuit for each relay cell.
  24068. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  24069. since they're eating our cpu on exit nodes.
  24070. - Stop wasting time doing a case insensitive comparison for every
  24071. dns name every time we do any lookup. Canonicalize the names to
  24072. lowercase and be done with it.
  24073. - Start sending 'truncated' cells back rather than destroy cells,
  24074. if the circuit closes in front of you. This means we won't have
  24075. to abandon partially built circuits.
  24076. - Only warn once per nickname from add_nickname_list_to_smartlist
  24077. per failure, so an entrynode or exitnode choice that's down won't
  24078. yell so much.
  24079. - Put a note in the torrc about abuse potential with the default
  24080. exit policy.
  24081. - Revise control spec and implementation to allow all log messages to
  24082. be sent to controller with their severities intact (suggested by
  24083. Matt Edman). Update TorControl to handle new log event types.
  24084. - Provide better explanation messages when controller's POSTDESCRIPTOR
  24085. fails.
  24086. - Stop putting nodename in the Platform string in server descriptors.
  24087. It doesn't actually help, and it is confusing/upsetting some people.
  24088. o Bugfixes on 0.1.0.2-rc:
  24089. - We were printing the host mask wrong in exit policies in server
  24090. descriptors. This isn't a critical bug though, since we were still
  24091. obeying the exit policy internally.
  24092. - Fix Tor when compiled with libevent but without pthreads: move
  24093. connection_unregister() from _connection_free() to
  24094. connection_free().
  24095. - Fix an assert trigger (already fixed in 0.0.9.x): when we have
  24096. the rare mysterious case of accepting a conn on 0.0.0.0:0, then
  24097. when we look through the connection array, we'll find any of the
  24098. cpu/dnsworkers. This is no good.
  24099. o Bugfixes on 0.0.9.8:
  24100. - Fix possible bug on threading platforms (e.g. win32) which was
  24101. leaking a file descriptor whenever a cpuworker or dnsworker died.
  24102. - When using preferred entry or exit nodes, ignore whether the
  24103. circuit wants uptime or capacity. They asked for the nodes, they
  24104. get the nodes.
  24105. - chdir() to your datadirectory at the *end* of the daemonize process,
  24106. not the beginning. This was a problem because the first time you
  24107. run tor, if your datadir isn't there, and you have runasdaemon set
  24108. to 1, it will try to chdir to it before it tries to create it. Oops.
  24109. - Handle changed router status correctly when dirserver reloads
  24110. fingerprint file. We used to be dropping all unverified descriptors
  24111. right then. The bug was hidden because we would immediately
  24112. fetch a directory from another dirserver, which would include the
  24113. descriptors we just dropped.
  24114. - When we're connecting to an OR and he's got a different nickname/key
  24115. than we were expecting, only complain loudly if we're an OP or a
  24116. dirserver. Complaining loudly to the OR admins just confuses them.
  24117. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  24118. artificially capped at 500kB.
  24119. Changes in version 0.0.9.8 - 2005-04-07
  24120. o Bugfixes on 0.0.9.x:
  24121. - We have a bug that I haven't found yet. Sometimes, very rarely,
  24122. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  24123. thinks of itself as idle. This meant that no new circuits ever got
  24124. established. Here's a workaround to kill any cpuworker that's been
  24125. busy for more than 100 seconds.
  24126. Changes in version 0.1.0.2-rc - 2005-04-01
  24127. o Bugfixes on 0.1.0.1-rc:
  24128. - Fixes on reachability detection:
  24129. - Don't check for reachability while hibernating.
  24130. - If ORPort is reachable but DirPort isn't, still publish the
  24131. descriptor, but zero out DirPort until it's found reachable.
  24132. - When building testing circs for ORPort testing, use only
  24133. high-bandwidth nodes, so fewer circuits fail.
  24134. - Complain about unreachable ORPort separately from unreachable
  24135. DirPort, so the user knows what's going on.
  24136. - Make sure we only conclude ORPort reachability if we didn't
  24137. initiate the conn. Otherwise we could falsely conclude that
  24138. we're reachable just because we connected to the guy earlier
  24139. and he used that same pipe to extend to us.
  24140. - Authdirservers shouldn't do ORPort reachability detection,
  24141. since they're in clique mode, so it will be rare to find a
  24142. server not already connected to them.
  24143. - When building testing circuits, always pick middle hops running
  24144. Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
  24145. bug. (This is a kludge; it will go away when 0.0.9.x becomes
  24146. obsolete.)
  24147. - When we decide we're reachable, actually publish our descriptor
  24148. right then.
  24149. - Fix bug in redirectstream in the controller.
  24150. - Fix the state descriptor strings so logs don't claim edge streams
  24151. are in a different state than they actually are.
  24152. - Use recent libevent features when possible (this only really affects
  24153. win32 and osx right now, because the new libevent with these
  24154. features hasn't been released yet). Add code to suppress spurious
  24155. libevent log msgs.
  24156. - Prevent possible segfault in connection_close_unattached_ap().
  24157. - Fix newlines on torrc in win32.
  24158. - Improve error msgs when tor-resolve fails.
  24159. o Improvements on 0.0.9.x:
  24160. - New experimental script tor/contrib/ExerciseServer.py (needs more
  24161. work) that uses the controller interface to build circuits and
  24162. fetch pages over them. This will help us bootstrap servers that
  24163. have lots of capacity but haven't noticed it yet.
  24164. - New experimental script tor/contrib/PathDemo.py (needs more work)
  24165. that uses the controller interface to let you choose whole paths
  24166. via addresses like
  24167. "<hostname>.<path,separated by dots>.<length of path>.path"
  24168. - When we've connected to an OR and handshaked but didn't like
  24169. the result, we were closing the conn without sending destroy
  24170. cells back for pending circuits. Now send those destroys.
  24171. Changes in version 0.0.9.7 - 2005-04-01
  24172. o Bugfixes on 0.0.9.x:
  24173. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  24174. - Compare identity to identity, not to nickname, when extending to
  24175. a router not already in the directory. This was preventing us from
  24176. extending to unknown routers. Oops.
  24177. - Make sure to create OS X Tor user in <500 range, so we aren't
  24178. creating actual system users.
  24179. - Note where connection-that-hasn't-sent-end was marked, and fix
  24180. a few really loud instances of this harmless bug (it's fixed more
  24181. in 0.1.0.x).
  24182. Changes in version 0.1.0.1-rc - 2005-03-28
  24183. o New features:
  24184. - Add reachability testing. Your Tor server will automatically try
  24185. to see if its ORPort and DirPort are reachable from the outside,
  24186. and it won't upload its descriptor until it decides they are.
  24187. - Handle unavailable hidden services better. Handle slow or busy
  24188. hidden services better.
  24189. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  24190. config option.
  24191. - New exit policy: accept most low-numbered ports, rather than
  24192. rejecting most low-numbered ports.
  24193. - More Tor controller support (still experimental). See
  24194. http://tor.eff.org/doc/control-spec.txt for all the new features,
  24195. including signals to emulate unix signals from any platform;
  24196. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  24197. closestream; closecircuit; etc.
  24198. - Make nt services work and start on startup on win32 (based on
  24199. patch by Matt Edman).
  24200. - Add a new AddressMap config directive to rewrite incoming socks
  24201. addresses. This lets you, for example, declare an implicit
  24202. required exit node for certain sites.
  24203. - Add a new TrackHostExits config directive to trigger addressmaps
  24204. for certain incoming socks addresses -- for sites that break when
  24205. your exit keeps changing (based on patch by Mike Perry).
  24206. - Redo the client-side dns cache so it's just an addressmap too.
  24207. - Notice when our IP changes, and reset stats/uptime/reachability.
  24208. - When an application is using socks5, give him the whole variety of
  24209. potential socks5 responses (connect refused, host unreachable, etc),
  24210. rather than just "success" or "failure".
  24211. - A more sane version numbering system. See
  24212. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  24213. - New contributed script "exitlist": a simple python script to
  24214. parse directories and find Tor nodes that exit to listed
  24215. addresses/ports.
  24216. - New contributed script "privoxy-tor-toggle" to toggle whether
  24217. Privoxy uses Tor. Seems to be configured for Debian by default.
  24218. - Report HTTP reasons to client when getting a response from directory
  24219. servers -- so you can actually know what went wrong.
  24220. - New config option MaxAdvertisedBandwidth which lets you advertise
  24221. a low bandwidthrate (to not attract as many circuits) while still
  24222. allowing a higher bandwidthrate in reality.
  24223. o Robustness/stability fixes:
  24224. - Make Tor use Niels Provos's libevent instead of its current
  24225. poll-but-sometimes-select mess. This will let us use faster async
  24226. cores (like epoll, kpoll, and /dev/poll), and hopefully work better
  24227. on Windows too.
  24228. - pthread support now too. This was forced because when we forked,
  24229. we ended up wasting a lot of duplicate ram over time. Also switch
  24230. to foo_r versions of some library calls to allow reentry and
  24231. threadsafeness.
  24232. - Better handling for heterogeneous / unreliable nodes:
  24233. - Annotate circuits w/ whether they aim to contain high uptime nodes
  24234. and/or high capacity nodes. When building circuits, choose
  24235. appropriate nodes.
  24236. - This means that every single node in an intro rend circuit,
  24237. not just the last one, will have a minimum uptime.
  24238. - New config option LongLivedPorts to indicate application streams
  24239. that will want high uptime circuits.
  24240. - Servers reset uptime when a dir fetch entirely fails. This
  24241. hopefully reflects stability of the server's network connectivity.
  24242. - If somebody starts his tor server in Jan 2004 and then fixes his
  24243. clock, don't make his published uptime be a year.
  24244. - Reset published uptime when you wake up from hibernation.
  24245. - Introduce a notion of 'internal' circs, which are chosen without
  24246. regard to the exit policy of the last hop. Intro and rendezvous
  24247. circs must be internal circs, to avoid leaking information. Resolve
  24248. and connect streams can use internal circs if they want.
  24249. - New circuit pooling algorithm: make sure to have enough circs around
  24250. to satisfy any predicted ports, and also make sure to have 2 internal
  24251. circs around if we've required internal circs lately (and with high
  24252. uptime if we've seen that lately too).
  24253. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  24254. which describes how often we retry making new circuits if current
  24255. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  24256. how long we're willing to make use of an already-dirty circuit.
  24257. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  24258. circ as necessary, if there are any completed ones lying around
  24259. when we try to launch one.
  24260. - Make hidden services try to establish a rendezvous for 30 seconds,
  24261. rather than for n (where n=3) attempts to build a circuit.
  24262. - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
  24263. "ShutdownWaitLength".
  24264. - Try to be more zealous about calling connection_edge_end when
  24265. things go bad with edge conns in connection.c.
  24266. - Revise tor-spec to add more/better stream end reasons.
  24267. - Revise all calls to connection_edge_end to avoid sending "misc",
  24268. and to take errno into account where possible.
  24269. o Bug fixes:
  24270. - Fix a race condition that can trigger an assert, when we have a
  24271. pending create cell and an OR connection fails right then.
  24272. - Fix several double-mark-for-close bugs, e.g. where we were finding
  24273. a conn for a cell even if that conn is already marked for close.
  24274. - Make sequence of log messages when starting on win32 with no config
  24275. file more reasonable.
  24276. - When choosing an exit node for a new non-internal circ, don't take
  24277. into account whether it'll be useful for any pending x.onion
  24278. addresses -- it won't.
  24279. - Turn addr_policy_compare from a tristate to a quadstate; this should
  24280. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  24281. for google.com" problem.
  24282. - Make "platform" string in descriptor more accurate for Win32 servers,
  24283. so it's not just "unknown platform".
  24284. - Fix an edge case in parsing config options (thanks weasel).
  24285. If they say "--" on the commandline, it's not an option.
  24286. - Reject odd-looking addresses at the client (e.g. addresses that
  24287. contain a colon), rather than having the server drop them because
  24288. they're malformed.
  24289. - tor-resolve requests were ignoring .exit if there was a working circuit
  24290. they could use instead.
  24291. - REUSEADDR on normal platforms means you can rebind to the port
  24292. right after somebody else has let it go. But REUSEADDR on win32
  24293. means to let you bind to the port _even when somebody else
  24294. already has it bound_! So, don't do that on Win32.
  24295. - Change version parsing logic: a version is "obsolete" if it is not
  24296. recommended and (1) there is a newer recommended version in the
  24297. same series, or (2) there are no recommended versions in the same
  24298. series, but there are some recommended versions in a newer series.
  24299. A version is "new" if it is newer than any recommended version in
  24300. the same series.
  24301. - Stop most cases of hanging up on a socks connection without sending
  24302. the socks reject.
  24303. o Helpful fixes:
  24304. - Require BandwidthRate to be at least 20kB/s for servers.
  24305. - When a dirserver causes you to give a warn, mention which dirserver
  24306. it was.
  24307. - New config option DirAllowPrivateAddresses for authdirservers.
  24308. Now by default they refuse router descriptors that have non-IP or
  24309. private-IP addresses.
  24310. - Stop publishing socksport in the directory, since it's not
  24311. actually meant to be public. For compatibility, publish a 0 there
  24312. for now.
  24313. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  24314. smart" value, that is low for servers and high for clients.
  24315. - If our clock jumps forward by 100 seconds or more, assume something
  24316. has gone wrong with our network and abandon all not-yet-used circs.
  24317. - Warn when exit policy implicitly allows local addresses.
  24318. - If we get an incredibly skewed timestamp from a dirserver mirror
  24319. that isn't a verified OR, don't warn -- it's probably him that's
  24320. wrong.
  24321. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  24322. cookies to disk and doesn't log each web request to disk. (Thanks
  24323. to Brett Carrington for pointing this out.)
  24324. - When a client asks us for a dir mirror and we don't have one,
  24325. launch an attempt to get a fresh one.
  24326. - If we're hibernating and we get a SIGINT, exit immediately.
  24327. - Add --with-dmalloc ./configure option, to track memory leaks.
  24328. - And try to free all memory on closing, so we can detect what
  24329. we're leaking.
  24330. - Cache local dns resolves correctly even when they're .exit
  24331. addresses.
  24332. - Give a better warning when some other server advertises an
  24333. ORPort that is actually an apache running ssl.
  24334. - Add "opt hibernating 1" to server descriptor to make it clearer
  24335. whether the server is hibernating.
  24336. Changes in version 0.0.9.6 - 2005-03-24
  24337. o Bugfixes on 0.0.9.x (crashes and asserts):
  24338. - Add new end stream reasons to maintenance branch. Fix bug where
  24339. reason (8) could trigger an assert. Prevent bug from recurring.
  24340. - Apparently win32 stat wants paths to not end with a slash.
  24341. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  24342. blowing away the circuit that conn->cpath_layer points to, then
  24343. checking to see if the circ is well-formed. Backport check to make
  24344. sure we dont use the cpath on a closed connection.
  24345. - Prevent circuit_resume_edge_reading_helper() from trying to package
  24346. inbufs for marked-for-close streams.
  24347. - Don't crash on hup if your options->address has become unresolvable.
  24348. - Some systems (like OS X) sometimes accept() a connection and tell
  24349. you the remote host is 0.0.0.0:0. If this happens, due to some
  24350. other mis-features, we get confused; so refuse the conn for now.
  24351. o Bugfixes on 0.0.9.x (other):
  24352. - Fix harmless but scary "Unrecognized content encoding" warn message.
  24353. - Add new stream error reason: TORPROTOCOL reason means "you are not
  24354. speaking a version of Tor I understand; say bye-bye to your stream."
  24355. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  24356. into the future, now that we are more tolerant of skew. This
  24357. resolves a bug where a Tor server would refuse to cache a directory
  24358. because all the directories it gets are too far in the future;
  24359. yet the Tor server never logs any complaints about clock skew.
  24360. - Mac packaging magic: make man pages useable, and do not overwrite
  24361. existing torrc files.
  24362. - Make OS X log happily to /var/log/tor/tor.log
  24363. Changes in version 0.0.9.5 - 2005-02-22
  24364. o Bugfixes on 0.0.9.x:
  24365. - Fix an assert race at exit nodes when resolve requests fail.
  24366. - Stop picking unverified dir mirrors--it only leads to misery.
  24367. - Patch from Matt Edman to make NT services work better. Service
  24368. support is still not compiled into the executable by default.
  24369. - Patch from Dmitri Bely so the Tor service runs better under
  24370. the win32 SYSTEM account.
  24371. - Make tor-resolve actually work (?) on Win32.
  24372. - Fix a sign bug when getrlimit claims to have 4+ billion
  24373. file descriptors available.
  24374. - Stop refusing to start when bandwidthburst == bandwidthrate.
  24375. - When create cells have been on the onion queue more than five
  24376. seconds, just send back a destroy and take them off the list.
  24377. Changes in version 0.0.9.4 - 2005-02-03
  24378. o Bugfixes on 0.0.9:
  24379. - Fix an assert bug that took down most of our servers: when
  24380. a server claims to have 1 GB of bandwidthburst, don't
  24381. freak out.
  24382. - Don't crash as badly if we have spawned the max allowed number
  24383. of dnsworkers, or we're out of file descriptors.
  24384. - Block more file-sharing ports in the default exit policy.
  24385. - MaxConn is now automatically set to the hard limit of max
  24386. file descriptors we're allowed (ulimit -n), minus a few for
  24387. logs, etc.
  24388. - Give a clearer message when servers need to raise their
  24389. ulimit -n when they start running out of file descriptors.
  24390. - SGI Compatibility patches from Jan Schaumann.
  24391. - Tolerate a corrupt cached directory better.
  24392. - When a dirserver hasn't approved your server, list which one.
  24393. - Go into soft hibernation after 95% of the bandwidth is used,
  24394. not 99%. This is especially important for daily hibernators who
  24395. have a small accounting max. Hopefully it will result in fewer
  24396. cut connections when the hard hibernation starts.
  24397. - Load-balance better when using servers that claim more than
  24398. 800kB/s of capacity.
  24399. - Make NT services work (experimental, only used if compiled in).
  24400. Changes in version 0.0.9.3 - 2005-01-21
  24401. o Bugfixes on 0.0.9:
  24402. - Backport the cpu use fixes from main branch, so busy servers won't
  24403. need as much processor time.
  24404. - Work better when we go offline and then come back, or when we
  24405. run Tor at boot before the network is up. We do this by
  24406. optimistically trying to fetch a new directory whenever an
  24407. application request comes in and we think we're offline -- the
  24408. human is hopefully a good measure of when the network is back.
  24409. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  24410. long as you keep using them; actually publish hidserv descriptors
  24411. shortly after they change, rather than waiting 20-40 minutes.
  24412. - Enable Mac startup script by default.
  24413. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  24414. - When you update AllowUnverifiedNodes or FirewallPorts via the
  24415. controller's setconf feature, we were always appending, never
  24416. resetting.
  24417. - When you update HiddenServiceDir via setconf, it was screwing up
  24418. the order of reading the lines, making it fail.
  24419. - Do not rewrite a cached directory back to the cache; otherwise we
  24420. will think it is recent and not fetch a newer one on startup.
  24421. - Workaround for webservers that lie about Content-Encoding: Tor
  24422. now tries to autodetect compressed directories and compression
  24423. itself. This lets us Proxypass dir fetches through apache.
  24424. Changes in version 0.0.9.2 - 2005-01-04
  24425. o Bugfixes on 0.0.9 (crashes and asserts):
  24426. - Fix an assert on startup when the disk is full and you're logging
  24427. to a file.
  24428. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  24429. style address, then we'd crash.
  24430. - Fix an assert trigger when the running-routers string we get from
  24431. a dirserver is broken.
  24432. - Make worker threads start and run on win32. Now win32 servers
  24433. may work better.
  24434. - Bandaid (not actually fix, but now it doesn't crash) an assert
  24435. where the dns worker dies mysteriously and the main Tor process
  24436. doesn't remember anything about the address it was resolving.
  24437. o Bugfixes on 0.0.9 (Win32):
  24438. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  24439. name out of the warning/assert messages.
  24440. - Fix a superficial "unhandled error on read" bug on win32.
  24441. - The win32 installer no longer requires a click-through for our
  24442. license, since our Free Software license grants rights but does not
  24443. take any away.
  24444. - Win32: When connecting to a dirserver fails, try another one
  24445. immediately. (This was already working for non-win32 Tors.)
  24446. - Stop trying to parse $HOME on win32 when hunting for default
  24447. DataDirectory.
  24448. - Make tor-resolve.c work on win32 by calling network_init().
  24449. o Bugfixes on 0.0.9 (other):
  24450. - Make 0.0.9.x build on Solaris again.
  24451. - Due to a fencepost error, we were blowing away the \n when reporting
  24452. confvalue items in the controller. So asking for multiple config
  24453. values at once couldn't work.
  24454. - When listing circuits that are pending on an opening OR connection,
  24455. if we're an OR we were listing circuits that *end* at us as
  24456. being pending on every listener, dns/cpu worker, etc. Stop that.
  24457. - Dirservers were failing to create 'running-routers' or 'directory'
  24458. strings if we had more than some threshold of routers. Fix them so
  24459. they can handle any number of routers.
  24460. - Fix a superficial "Duplicate mark for close" bug.
  24461. - Stop checking for clock skew for OR connections, even for servers.
  24462. - Fix a fencepost error that was chopping off the last letter of any
  24463. nickname that is the maximum allowed nickname length.
  24464. - Update URLs in log messages so they point to the new website.
  24465. - Fix a potential problem in mangling server private keys while
  24466. writing to disk (not triggered yet, as far as we know).
  24467. - Include the licenses for other free software we include in Tor,
  24468. now that we're shipping binary distributions more regularly.
  24469. Changes in version 0.0.9.1 - 2004-12-15
  24470. o Bugfixes on 0.0.9:
  24471. - Make hibernation actually work.
  24472. - Make HashedControlPassword config option work.
  24473. - When we're reporting event circuit status to a controller,
  24474. don't use the stream status code.
  24475. Changes in version 0.0.9 - 2004-12-12
  24476. o Cleanups:
  24477. - Clean up manpage and torrc.sample file.
  24478. - Clean up severities and text of log warnings.
  24479. o Mistakes:
  24480. - Make servers trigger an assert when they enter hibernation.
  24481. Changes in version 0.0.9rc7 - 2004-12-08
  24482. o Bugfixes on 0.0.9rc:
  24483. - Fix a stack-trashing crash when an exit node begins hibernating.
  24484. - Avoid looking at unallocated memory while considering which
  24485. ports we need to build circuits to cover.
  24486. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  24487. we shouldn't hold-open-until-flush if the eof arrived first.
  24488. - Fix a bug with init_cookie_authentication() in the controller.
  24489. - When recommending new-format log lines, if the upper bound is
  24490. LOG_ERR, leave it implicit.
  24491. o Bugfixes on 0.0.8.1:
  24492. - Fix a whole slew of memory leaks.
  24493. - Fix isspace() and friends so they still make Solaris happy
  24494. but also so they don't trigger asserts on win32.
  24495. - Fix parse_iso_time on platforms without strptime (eg win32).
  24496. - win32: tolerate extra "readable" events better.
  24497. - win32: when being multithreaded, leave parent fdarray open.
  24498. - Make unit tests work on win32.
  24499. Changes in version 0.0.9rc6 - 2004-12-06
  24500. o Bugfixes on 0.0.9pre:
  24501. - Clean up some more integer underflow opportunities (not exploitable
  24502. we think).
  24503. - While hibernating, hup should not regrow our listeners.
  24504. - Send an end to the streams we close when we hibernate, rather
  24505. than just chopping them off.
  24506. - React to eof immediately on non-open edge connections.
  24507. o Bugfixes on 0.0.8.1:
  24508. - Calculate timeout for waiting for a connected cell from the time
  24509. we sent the begin cell, not from the time the stream started. If
  24510. it took a long time to establish the circuit, we would time out
  24511. right after sending the begin cell.
  24512. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  24513. of * as always matching, so we were picking reject *:* nodes as
  24514. exit nodes too. Oops.
  24515. o Features:
  24516. - New circuit building strategy: keep a list of ports that we've
  24517. used in the past 6 hours, and always try to have 2 circuits open
  24518. or on the way that will handle each such port. Seed us with port
  24519. 80 so web users won't complain that Tor is "slow to start up".
  24520. - Make kill -USR1 dump more useful stats about circuits.
  24521. - When warning about retrying or giving up, print the address, so
  24522. the user knows which one it's talking about.
  24523. - If you haven't used a clean circuit in an hour, throw it away,
  24524. just to be on the safe side. (This means after 6 hours a totally
  24525. unused Tor client will have no circuits open.)
  24526. Changes in version 0.0.9rc5 - 2004-12-01
  24527. o Bugfixes on 0.0.8.1:
  24528. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  24529. - Let resolve conns retry/expire also, rather than sticking around
  24530. forever.
  24531. - If we are using select, make sure we stay within FD_SETSIZE.
  24532. o Bugfixes on 0.0.9pre:
  24533. - Fix integer underflow in tor_vsnprintf() that may be exploitable,
  24534. but doesn't seem to be currently; thanks to Ilja van Sprundel for
  24535. finding it.
  24536. - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
  24537. instead. Impose minima and maxima for all *Period options; impose
  24538. even tighter maxima for fetching if we are a caching dirserver.
  24539. Clip rather than rejecting.
  24540. - Fetch cached running-routers from servers that serve it (that is,
  24541. authdirservers and servers running 0.0.9rc5-cvs or later.)
  24542. o Features:
  24543. - Accept *:706 (silc) in default exit policy.
  24544. - Implement new versioning format for post 0.1.
  24545. - Support "foo.nickname.exit" addresses, to let Alice request the
  24546. address "foo" as viewed by exit node "nickname". Based on a patch
  24547. by Geoff Goodell.
  24548. - Make tor --version --version dump the cvs Id of every file.
  24549. Changes in version 0.0.9rc4 - 2004-11-28
  24550. o Bugfixes on 0.0.8.1:
  24551. - Make windows sockets actually non-blocking (oops), and handle
  24552. win32 socket errors better.
  24553. o Bugfixes on 0.0.9rc1:
  24554. - Actually catch the -USR2 signal.
  24555. Changes in version 0.0.9rc3 - 2004-11-25
  24556. o Bugfixes on 0.0.8.1:
  24557. - Flush the log file descriptor after we print "Tor opening log file",
  24558. so we don't see those messages days later.
  24559. o Bugfixes on 0.0.9rc1:
  24560. - Make tor-resolve work again.
  24561. - Avoid infinite loop in tor-resolve if tor hangs up on it.
  24562. - Fix an assert trigger for clients/servers handling resolves.
  24563. Changes in version 0.0.9rc2 - 2004-11-24
  24564. o Bugfixes on 0.0.9rc1:
  24565. - I broke socks5 support while fixing the eof bug.
  24566. - Allow unitless bandwidths and intervals; they default to bytes
  24567. and seconds.
  24568. - New servers don't start out hibernating; they are active until
  24569. they run out of bytes, so they have a better estimate of how
  24570. long it takes, and so their operators can know they're working.
  24571. Changes in version 0.0.9rc1 - 2004-11-23
  24572. o Bugfixes on 0.0.8.1:
  24573. - Finally fix a bug that's been plaguing us for a year:
  24574. With high load, circuit package window was reaching 0. Whenever
  24575. we got a circuit-level sendme, we were reading a lot on each
  24576. socket, but only writing out a bit. So we would eventually reach
  24577. eof. This would be noticed and acted on even when there were still
  24578. bytes sitting in the inbuf.
  24579. - When poll() is interrupted, we shouldn't believe the revents values.
  24580. o Bugfixes on 0.0.9pre6:
  24581. - Fix hibernate bug that caused pre6 to be broken.
  24582. - Don't keep rephist info for routers that haven't had activity for
  24583. 24 hours. (This matters now that clients have keys, since we track
  24584. them too.)
  24585. - Never call close_temp_logs while validating log options.
  24586. - Fix backslash-escaping on tor.sh.in and torctl.in.
  24587. o Features:
  24588. - Implement weekly/monthly/daily accounting: now you specify your
  24589. hibernation properties by
  24590. AccountingMax N bytes|KB|MB|GB|TB
  24591. AccountingStart day|week|month [day] HH:MM
  24592. Defaults to "month 1 0:00".
  24593. - Let bandwidth and interval config options be specified as 5 bytes,
  24594. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  24595. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  24596. get back to normal.)
  24597. - If your requested entry or exit node has advertised bandwidth 0,
  24598. pick it anyway.
  24599. - Be more greedy about filling up relay cells -- we try reading again
  24600. once we've processed the stuff we read, in case enough has arrived
  24601. to fill the last cell completely.
  24602. - Apply NT service patch from Osamu Fujino. Still needs more work.
  24603. Changes in version 0.0.9pre6 - 2004-11-15
  24604. o Bugfixes on 0.0.8.1:
  24605. - Fix assert failure on malformed socks4a requests.
  24606. - Use identity comparison, not nickname comparison, to choose which
  24607. half of circuit-ID-space each side gets to use. This is needed
  24608. because sometimes we think of a router as a nickname, and sometimes
  24609. as a hex ID, and we can't predict what the other side will do.
  24610. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  24611. write() call will fail and we handle it there.
  24612. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  24613. and smartlist_len, which are two major profiling offenders.
  24614. o Bugfixes on 0.0.9pre5:
  24615. - Fix a bug in read_all that was corrupting config files on windows.
  24616. - When we're raising the max number of open file descriptors to
  24617. 'unlimited', don't log that we just raised it to '-1'.
  24618. - Include event code with events, as required by control-spec.txt.
  24619. - Don't give a fingerprint when clients do --list-fingerprint:
  24620. it's misleading, because it will never be the same again.
  24621. - Stop using strlcpy in tor_strndup, since it was slowing us
  24622. down a lot.
  24623. - Remove warn on startup about missing cached-directory file.
  24624. - Make kill -USR1 work again.
  24625. - Hibernate if we start tor during the "wait for wakeup-time" phase
  24626. of an accounting interval. Log our hibernation plans better.
  24627. - Authoritative dirservers now also cache their directory, so they
  24628. have it on start-up.
  24629. o Features:
  24630. - Fetch running-routers; cache running-routers; compress
  24631. running-routers; serve compressed running-routers.z
  24632. - Add NSI installer script contributed by J Doe.
  24633. - Commit VC6 and VC7 workspace/project files.
  24634. - Commit a tor.spec for making RPM files, with help from jbash.
  24635. - Add contrib/torctl.in contributed by Glenn Fink.
  24636. - Implement the control-spec's SAVECONF command, to write your
  24637. configuration to torrc.
  24638. - Get cookie authentication for the controller closer to working.
  24639. - Include control-spec.txt in the tarball.
  24640. - When set_conf changes our server descriptor, upload a new copy.
  24641. But don't upload it too often if there are frequent changes.
  24642. - Document authentication config in man page, and document signals
  24643. we catch.
  24644. - Clean up confusing parts of man page and torrc.sample.
  24645. - Make expand_filename handle ~ and ~username.
  24646. - Use autoconf to enable largefile support where necessary. Use
  24647. ftello where available, since ftell can fail at 2GB.
  24648. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  24649. log more informatively.
  24650. - Give a slightly more useful output for "tor -h".
  24651. - Refuse application socks connections to port 0.
  24652. - Check clock skew for verified servers, but allow unverified
  24653. servers and clients to have any clock skew.
  24654. - Break DirFetchPostPeriod into:
  24655. - DirFetchPeriod for fetching full directory,
  24656. - StatusFetchPeriod for fetching running-routers,
  24657. - DirPostPeriod for posting server descriptor,
  24658. - RendPostPeriod for posting hidden service descriptors.
  24659. - Make sure the hidden service descriptors are at a random offset
  24660. from each other, to hinder linkability.
  24661. Changes in version 0.0.9pre5 - 2004-11-09
  24662. o Bugfixes on 0.0.9pre4:
  24663. - Fix a seg fault in unit tests (doesn't affect main program).
  24664. - Fix an assert bug where a hidden service provider would fail if
  24665. the first hop of his rendezvous circuit was down.
  24666. - Hidden service operators now correctly handle version 1 style
  24667. INTRODUCE1 cells (nobody generates them still, so not a critical
  24668. bug).
  24669. - If do_hup fails, actually notice.
  24670. - Handle more errnos from accept() without closing the listener.
  24671. Some OpenBSD machines were closing their listeners because
  24672. they ran out of file descriptors.
  24673. - Send resolve cells to exit routers that are running a new
  24674. enough version of the resolve code to work right.
  24675. - Better handling of winsock includes on non-MSV win32 compilers.
  24676. - Some people had wrapped their tor client/server in a script
  24677. that would restart it whenever it died. This did not play well
  24678. with our "shut down if your version is obsolete" code. Now people
  24679. don't fetch a new directory if their local cached version is
  24680. recent enough.
  24681. - Make our autogen.sh work on ksh as well as bash.
  24682. o Major Features:
  24683. - Hibernation: New config option "AccountingMaxKB" lets you
  24684. set how many KBytes per month you want to allow your server to
  24685. consume. Rather than spreading those bytes out evenly over the
  24686. month, we instead hibernate for some of the month and pop up
  24687. at a deterministic time, work until the bytes are consumed, then
  24688. hibernate again. Config option "MonthlyAccountingStart" lets you
  24689. specify which day of the month your billing cycle starts on.
  24690. - Control interface: a separate program can now talk to your
  24691. client/server over a socket, and get/set config options, receive
  24692. notifications of circuits and streams starting/finishing/dying,
  24693. bandwidth used, etc. The next step is to get some GUIs working.
  24694. Let us know if you want to help out. See doc/control-spec.txt .
  24695. - Ship a contrib/tor-control.py as an example script to interact
  24696. with the control port.
  24697. - "tor --hash-password zzyxz" will output a salted password for
  24698. use in authenticating to the control interface.
  24699. - New log format in config:
  24700. "Log minsev[-maxsev] stdout|stderr|syslog" or
  24701. "Log minsev[-maxsev] file /var/foo"
  24702. o Minor Features:
  24703. - DirPolicy config option, to let people reject incoming addresses
  24704. from their dirserver.
  24705. - "tor --list-fingerprint" will list your identity key fingerprint
  24706. and then exit.
  24707. - Add "pass" target for RedirectExit, to make it easier to break
  24708. out of a sequence of RedirectExit rules.
  24709. - Clients now generate a TLS cert too, in preparation for having
  24710. them act more like real nodes.
  24711. - Ship src/win32/ in the tarball, so people can use it to build.
  24712. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  24713. is broken.
  24714. - New "router-status" line in directory, to better bind each verified
  24715. nickname to its identity key.
  24716. - Deprecate unofficial config option abbreviations, and abbreviations
  24717. not on the command line.
  24718. - Add a pure-C tor-resolve implementation.
  24719. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  24720. 1024) file descriptors.
  24721. o Code security improvements, inspired by Ilja:
  24722. - Replace sprintf with snprintf. (I think they were all safe, but
  24723. hey.)
  24724. - Replace strcpy/strncpy with strlcpy in more places.
  24725. - Avoid strcat; use snprintf or strlcat instead.
  24726. - snprintf wrapper with consistent (though not C99) overflow behavior.
  24727. Changes in version 0.0.9pre4 - 2004-10-17
  24728. o Bugfixes on 0.0.9pre3:
  24729. - If the server doesn't specify an exit policy, use the real default
  24730. exit policy, not reject *:*.
  24731. - Ignore fascistfirewall when uploading/downloading hidden service
  24732. descriptors, since we go through Tor for those; and when using
  24733. an HttpProxy, since we assume it can reach them all.
  24734. - When looking for an authoritative dirserver, use only the ones
  24735. configured at boot. Don't bother looking in the directory.
  24736. - The rest of the fix for get_default_conf_file() on older win32.
  24737. - Make 'Routerfile' config option obsolete.
  24738. o Features:
  24739. - New 'MyFamily nick1,...' config option for a server to
  24740. specify other servers that shouldn't be used in the same circuit
  24741. with it. Only believed if nick1 also specifies us.
  24742. - New 'NodeFamily nick1,nick2,...' config option for a client to
  24743. specify nodes that it doesn't want to use in the same circuit.
  24744. - New 'Redirectexit pattern address:port' config option for a
  24745. server to redirect exit connections, e.g. to a local squid.
  24746. Changes in version 0.0.9pre3 - 2004-10-13
  24747. o Bugfixes on 0.0.8.1:
  24748. - Better torrc example lines for dirbindaddress and orbindaddress.
  24749. - Improved bounds checking on parsed ints (e.g. config options and
  24750. the ones we find in directories.)
  24751. - Better handling of size_t vs int, so we're more robust on 64
  24752. bit platforms.
  24753. - Fix the rest of the bug where a newly started OR would appear
  24754. as unverified even after we've added his fingerprint and hupped
  24755. the dirserver.
  24756. - Fix a bug from 0.0.7: when read() failed on a stream, we would
  24757. close it without sending back an end. So 'connection refused'
  24758. would simply be ignored and the user would get no response.
  24759. o Bugfixes on 0.0.9pre2:
  24760. - Serving the cached-on-disk directory to people is bad. We now
  24761. provide no directory until we've fetched a fresh one.
  24762. - Workaround for bug on windows where cached-directories get crlf
  24763. corruption.
  24764. - Make get_default_conf_file() work on older windows too.
  24765. - If we write a *:* exit policy line in the descriptor, don't write
  24766. any more exit policy lines.
  24767. o Features:
  24768. - Use only 0.0.9pre1 and later servers for resolve cells.
  24769. - Make the dirservers file obsolete.
  24770. - Include a dir-signing-key token in directories to tell the
  24771. parsing entity which key is being used to sign.
  24772. - Remove the built-in bulky default dirservers string.
  24773. - New config option "Dirserver %s:%d [fingerprint]", which can be
  24774. repeated as many times as needed. If no dirservers specified,
  24775. default to moria1,moria2,tor26.
  24776. - Make moria2 advertise a dirport of 80, so people behind firewalls
  24777. will be able to get a directory.
  24778. - Http proxy support
  24779. - Dirservers translate requests for http://%s:%d/x to /x
  24780. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  24781. be routed through this host.
  24782. - Clients ask for /tor/x rather than /x for new enough dirservers.
  24783. This way we can one day coexist peacefully with apache.
  24784. - Clients specify a "Host: %s%d" http header, to be compatible
  24785. with more proxies, and so running squid on an exit node can work.
  24786. Changes in version 0.0.8.1 - 2004-10-13
  24787. o Bugfixes:
  24788. - Fix a seg fault that can be triggered remotely for Tor
  24789. clients/servers with an open dirport.
  24790. - Fix a rare assert trigger, where routerinfos for entries in
  24791. our cpath would expire while we're building the path.
  24792. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  24793. - Fix a rare seg fault for people running hidden services on
  24794. intermittent connections.
  24795. - Fix a bug in parsing opt keywords with objects.
  24796. - Fix a stale pointer assert bug when a stream detaches and
  24797. reattaches.
  24798. - Fix a string format vulnerability (probably not exploitable)
  24799. in reporting stats locally.
  24800. - Fix an assert trigger: sometimes launching circuits can fail
  24801. immediately, e.g. because too many circuits have failed recently.
  24802. - Fix a compile warning on 64 bit platforms.
  24803. Changes in version 0.0.9pre2 - 2004-10-03
  24804. o Bugfixes:
  24805. - Make fetching a cached directory work for 64-bit platforms too.
  24806. - Make zlib.h a required header, not an optional header.
  24807. Changes in version 0.0.9pre1 - 2004-10-01
  24808. o Bugfixes:
  24809. - Stop using separate defaults for no-config-file and
  24810. empty-config-file. Now you have to explicitly turn off SocksPort,
  24811. if you don't want it open.
  24812. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  24813. - Improve man page to mention more of the 0.0.8 features.
  24814. - Fix a rare seg fault for people running hidden services on
  24815. intermittent connections.
  24816. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  24817. happier.
  24818. - Fix more dns related bugs: send back resolve_failed and end cells
  24819. more reliably when the resolve fails, rather than closing the
  24820. circuit and then trying to send the cell. Also attach dummy resolve
  24821. connections to a circuit *before* calling dns_resolve(), to fix
  24822. a bug where cached answers would never be sent in RESOLVED cells.
  24823. - When we run out of disk space, or other log writing error, don't
  24824. crash. Just stop logging to that log and continue.
  24825. - We were starting to daemonize before we opened our logs, so if
  24826. there were any problems opening logs, we would complain to stderr,
  24827. which wouldn't work, and then mysteriously exit.
  24828. - Fix a rare bug where sometimes a verified OR would connect to us
  24829. before he'd uploaded his descriptor, which would cause us to
  24830. assign conn->nickname as though he's unverified. Now we look through
  24831. the fingerprint list to see if he's there.
  24832. - Fix a rare assert trigger, where routerinfos for entries in
  24833. our cpath would expire while we're building the path.
  24834. o Features:
  24835. - Clients can ask dirservers for /dir.z to get a compressed version
  24836. of the directory. Only works for servers running 0.0.9, of course.
  24837. - Make clients cache directories and use them to seed their router
  24838. lists at startup. This means clients have a datadir again.
  24839. - Configuration infrastructure support for warning on obsolete
  24840. options.
  24841. - Respond to content-encoding headers by trying to uncompress as
  24842. appropriate.
  24843. - Reply with a deflated directory when a client asks for "dir.z".
  24844. We could use allow-encodings instead, but allow-encodings isn't
  24845. specified in HTTP 1.0.
  24846. - Raise the max dns workers from 50 to 100.
  24847. - Discourage people from setting their dirfetchpostperiod more often
  24848. than once per minute.
  24849. - Protect dirservers from overzealous descriptor uploading -- wait
  24850. 10 seconds after directory gets dirty, before regenerating.
  24851. Changes in version 0.0.8 - 2004-08-25
  24852. o Port it to SunOS 5.9 / Athena
  24853. Changes in version 0.0.8rc2 - 2004-08-20
  24854. o Make it compile on cygwin again.
  24855. o When picking unverified routers, skip those with low uptime and/or
  24856. low bandwidth, depending on what properties you care about.
  24857. Changes in version 0.0.8rc1 - 2004-08-18
  24858. o Changes from 0.0.7.3:
  24859. - Bugfixes:
  24860. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  24861. don't put it into the client dns cache.
  24862. - If a begin failed due to exit policy, but we believe the IP address
  24863. should have been allowed, switch that router to exitpolicy reject *:*
  24864. until we get our next directory.
  24865. - Features:
  24866. - Clients choose nodes proportional to advertised bandwidth.
  24867. - Avoid using nodes with low uptime as introduction points.
  24868. - Handle servers with dynamic IP addresses: don't replace
  24869. options->Address with the resolved one at startup, and
  24870. detect our address right before we make a routerinfo each time.
  24871. - 'FascistFirewall' option to pick dirservers and ORs on specific
  24872. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  24873. which ports are open. (Defaults to 80,443)
  24874. - Be more aggressive about trying to make circuits when the network
  24875. has changed (e.g. when you unsuspend your laptop).
  24876. - Check for time skew on http headers; report date in response to
  24877. "GET /".
  24878. - If the entrynode config line has only one node, don't pick it as
  24879. an exitnode.
  24880. - Add strict{entry|exit}nodes config options. If set to 1, then
  24881. we refuse to build circuits that don't include the specified entry
  24882. or exit nodes.
  24883. - OutboundBindAddress config option, to bind to a specific
  24884. IP address for outgoing connect()s.
  24885. - End truncated log entries (e.g. directories) with "[truncated]".
  24886. o Patches to 0.0.8preX:
  24887. - Bugfixes:
  24888. - Patches to compile and run on win32 again (maybe)?
  24889. - Fix crash when looking for ~/.torrc with no $HOME set.
  24890. - Fix a race bug in the unit tests.
  24891. - Handle verified/unverified name collisions better when new
  24892. routerinfo's arrive in a directory.
  24893. - Sometimes routers were getting entered into the stats before
  24894. we'd assigned their identity_digest. Oops.
  24895. - Only pick and establish intro points after we've gotten a
  24896. directory.
  24897. - Features:
  24898. - AllowUnverifiedNodes config option to let circuits choose no-name
  24899. routers in entry,middle,exit,introduction,rendezvous positions.
  24900. Allow middle and rendezvous positions by default.
  24901. - Add a man page for tor-resolve.
  24902. Changes in version 0.0.7.3 - 2004-08-12
  24903. o Stop dnsworkers from triggering an assert failure when you
  24904. ask them to resolve the host "".
  24905. Changes in version 0.0.8pre3 - 2004-08-09
  24906. o Changes from 0.0.7.2:
  24907. - Allow multiple ORs with same nickname in routerlist -- now when
  24908. people give us one identity key for a nickname, then later
  24909. another, we don't constantly complain until the first expires.
  24910. - Remember used bandwidth (both in and out), and publish 15-minute
  24911. snapshots for the past day into our descriptor.
  24912. - You can now fetch $DIRURL/running-routers to get just the
  24913. running-routers line, not the whole descriptor list. (But
  24914. clients don't use this yet.)
  24915. - When people mistakenly use Tor as an http proxy, point them
  24916. at the tor-doc.html rather than the INSTALL.
  24917. - Remove our mostly unused -- and broken -- hex_encode()
  24918. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  24919. for pointing out this bug.)
  24920. - Rotate onion keys every 12 hours, not every 2 hours, so we have
  24921. fewer problems with people using the wrong key.
  24922. - Change the default exit policy to reject the default edonkey,
  24923. kazaa, gnutella ports.
  24924. - Add replace_file() to util.[ch] to handle win32's rename().
  24925. o Changes from 0.0.8preX:
  24926. - Fix two bugs in saving onion keys to disk when rotating, so
  24927. hopefully we'll get fewer people using old onion keys.
  24928. - Fix an assert error that was making SocksPolicy not work.
  24929. - Be willing to expire routers that have an open dirport -- it's
  24930. just the authoritative dirservers we want to not forget.
  24931. - Reject tor-resolve requests for .onion addresses early, so we
  24932. don't build a whole rendezvous circuit and then fail.
  24933. - When you're warning a server that he's unverified, don't cry
  24934. wolf unpredictably.
  24935. - Fix a race condition: don't try to extend onto a connection
  24936. that's still handshaking.
  24937. - For servers in clique mode, require the conn to be open before
  24938. you'll choose it for your path.
  24939. - Fix some cosmetic bugs about duplicate mark-for-close, lack of
  24940. end relay cell, etc.
  24941. - Measure bandwidth capacity over the last 24 hours, not just 12
  24942. - Bugfix: authoritative dirservers were making and signing a new
  24943. directory for each client, rather than reusing the cached one.
  24944. Changes in version 0.0.8pre2 - 2004-08-04
  24945. o Changes from 0.0.7.2:
  24946. - Security fixes:
  24947. - Check directory signature _before_ you decide whether you're
  24948. you're running an obsolete version and should exit.
  24949. - Check directory signature _before_ you parse the running-routers
  24950. list to decide who's running or verified.
  24951. - Bugfixes and features:
  24952. - Check return value of fclose while writing to disk, so we don't
  24953. end up with broken files when servers run out of disk space.
  24954. - Log a warning if the user uses an unsafe socks variant, so people
  24955. are more likely to learn about privoxy or socat.
  24956. - Dirservers now include RFC1123-style dates in the HTTP headers,
  24957. which one day we will use to better detect clock skew.
  24958. o Changes from 0.0.8pre1:
  24959. - Make it compile without warnings again on win32.
  24960. - Log a warning if you're running an unverified server, to let you
  24961. know you might want to get it verified.
  24962. - Only pick a default nickname if you plan to be a server.
  24963. Changes in version 0.0.8pre1 - 2004-07-23
  24964. o Bugfixes:
  24965. - Made our unit tests compile again on OpenBSD 3.5, and tor
  24966. itself compile again on OpenBSD on a sparc64.
  24967. - We were neglecting milliseconds when logging on win32, so
  24968. everything appeared to happen at the beginning of each second.
  24969. o Protocol changes:
  24970. - 'Extend' relay cell payloads now include the digest of the
  24971. intended next hop's identity key. Now we can verify that we're
  24972. extending to the right router, and also extend to routers we
  24973. hadn't heard of before.
  24974. o Features:
  24975. - Tor nodes can now act as relays (with an advertised ORPort)
  24976. without being manually verified by the dirserver operators.
  24977. - Uploaded descriptors of unverified routers are now accepted
  24978. by the dirservers, and included in the directory.
  24979. - Verified routers are listed by nickname in the running-routers
  24980. list; unverified routers are listed as "$<fingerprint>".
  24981. - We now use hash-of-identity-key in most places rather than
  24982. nickname or addr:port, for improved security/flexibility.
  24983. - To avoid Sybil attacks, paths still use only verified servers.
  24984. But now we have a chance to play around with hybrid approaches.
  24985. - Nodes track bandwidth usage to estimate capacity (not used yet).
  24986. - ClientOnly option for nodes that never want to become servers.
  24987. - Directory caching.
  24988. - "AuthoritativeDir 1" option for the official dirservers.
  24989. - Now other nodes (clients and servers) will cache the latest
  24990. directory they've pulled down.
  24991. - They can enable their DirPort to serve it to others.
  24992. - Clients will pull down a directory from any node with an open
  24993. DirPort, and check the signature/timestamp correctly.
  24994. - Authoritative dirservers now fetch directories from other
  24995. authdirservers, to stay better synced.
  24996. - Running-routers list tells who's down also, along with noting
  24997. if they're verified (listed by nickname) or unverified (listed
  24998. by hash-of-key).
  24999. - Allow dirservers to serve running-router list separately.
  25000. This isn't used yet.
  25001. - ORs connect-on-demand to other ORs
  25002. - If you get an extend cell to an OR you're not connected to,
  25003. connect, handshake, and forward the create cell.
  25004. - The authoritative dirservers stay connected to everybody,
  25005. and everybody stays connected to 0.0.7 servers, but otherwise
  25006. clients/servers expire unused connections after 5 minutes.
  25007. - When servers get a sigint, they delay 30 seconds (refusing new
  25008. connections) then exit. A second sigint causes immediate exit.
  25009. - File and name management:
  25010. - Look for .torrc if no CONFDIR "torrc" is found.
  25011. - If no datadir is defined, then choose, make, and secure ~/.tor
  25012. as datadir.
  25013. - If torrc not found, exitpolicy reject *:*.
  25014. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  25015. - If no nickname is defined, derive default from hostname.
  25016. - Rename secret key files, e.g. identity.key -> secret_id_key,
  25017. to discourage people from mailing their identity key to tor-ops.
  25018. - Refuse to build a circuit before the directory has arrived --
  25019. it won't work anyway, since you won't know the right onion keys
  25020. to use.
  25021. - Try other dirservers immediately if the one you try is down. This
  25022. should tolerate down dirservers better now.
  25023. - Parse tor version numbers so we can do an is-newer-than check
  25024. rather than an is-in-the-list check.
  25025. - New socks command 'resolve', to let us shim gethostbyname()
  25026. locally.
  25027. - A 'tor_resolve' script to access the socks resolve functionality.
  25028. - A new socks-extensions.txt doc file to describe our
  25029. interpretation and extensions to the socks protocols.
  25030. - Add a ContactInfo option, which gets published in descriptor.
  25031. - Publish OR uptime in descriptor (and thus in directory) too.
  25032. - Write tor version at the top of each log file
  25033. - New docs in the tarball:
  25034. - tor-doc.html.
  25035. - Document that you should proxy your SSL traffic too.
  25036. Changes in version 0.0.7.2 - 2004-07-07
  25037. o A better fix for the 0.0.0.0 problem, that will hopefully
  25038. eliminate the remaining related assertion failures.
  25039. Changes in version 0.0.7.1 - 2004-07-04
  25040. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  25041. since internally we use 0.0.0.0 to signify "not yet resolved".
  25042. Changes in version 0.0.7 - 2004-06-07
  25043. o Updated the man page to reflect the new features.
  25044. Changes in version 0.0.7rc2 - 2004-06-06
  25045. o Changes from 0.0.7rc1:
  25046. - Make it build on Win32 again.
  25047. o Changes from 0.0.6.2:
  25048. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  25049. settings too.
  25050. Changes in version 0.0.7rc1 - 2004-06-02
  25051. o Bugfixes:
  25052. - On sighup, we were adding another log without removing the first
  25053. one. So log messages would get duplicated n times for n sighups.
  25054. - Several cases of using a connection after we'd freed it. The
  25055. problem was that connections that are pending resolve are in both
  25056. the pending_resolve tree, and also the circuit's resolving_streams
  25057. list. When you want to remove one, you must remove it from both.
  25058. - Fix a double-mark-for-close where an end cell arrived for a
  25059. resolving stream, and then the resolve failed.
  25060. - Check directory signatures based on name of signer, not on whom
  25061. we got the directory from. This will let us cache directories more
  25062. easily.
  25063. o Features:
  25064. - Crank up some of our constants to handle more users.
  25065. Changes in version 0.0.7pre1 - 2004-06-02
  25066. o Fixes for crashes and other obnoxious bugs:
  25067. - Fix an epipe bug: sometimes when directory connections failed
  25068. to connect, we would give them a chance to flush before closing
  25069. them.
  25070. - When we detached from a circuit because of resolvefailed, we
  25071. would immediately try the same circuit twice more, and then
  25072. give up on the resolve thinking we'd tried three different
  25073. exit nodes.
  25074. - Limit the number of intro circuits we'll attempt to build for a
  25075. hidden service per 15-minute period.
  25076. - Check recommended-software string *early*, before actually parsing
  25077. the directory. Thus we can detect an obsolete version and exit,
  25078. even if the new directory format doesn't parse.
  25079. o Fixes for security bugs:
  25080. - Remember which nodes are dirservers when you startup, and if a
  25081. random OR enables his dirport, don't automatically assume he's
  25082. a trusted dirserver.
  25083. o Other bugfixes:
  25084. - Directory connections were asking the wrong poll socket to
  25085. start writing, and not asking themselves to start writing.
  25086. - When we detached from a circuit because we sent a begin but
  25087. didn't get a connected, we would use it again the first time;
  25088. but after that we would correctly switch to a different one.
  25089. - Stop warning when the first onion decrypt attempt fails; they
  25090. will sometimes legitimately fail now that we rotate keys.
  25091. - Override unaligned-access-ok check when $host_cpu is ia64 or
  25092. arm. Apparently they allow it but the kernel whines.
  25093. - Dirservers try to reconnect periodically too, in case connections
  25094. have failed.
  25095. - Fix some memory leaks in directory servers.
  25096. - Allow backslash in Win32 filenames.
  25097. - Made Tor build complain-free on FreeBSD, hopefully without
  25098. breaking other BSD builds. We'll see.
  25099. o Features:
  25100. - Doxygen markup on all functions and global variables.
  25101. - Make directory functions update routerlist, not replace it. So
  25102. now directory disagreements are not so critical a problem.
  25103. - Remove the upper limit on number of descriptors in a dirserver's
  25104. directory (not that we were anywhere close).
  25105. - Allow multiple logfiles at different severity ranges.
  25106. - Allow *BindAddress to specify ":port" rather than setting *Port
  25107. separately. Allow multiple instances of each BindAddress config
  25108. option, so you can bind to multiple interfaces if you want.
  25109. - Allow multiple exit policy lines, which are processed in order.
  25110. Now we don't need that huge line with all the commas in it.
  25111. - Enable accept/reject policies on SOCKS connections, so you can bind
  25112. to 0.0.0.0 but still control who can use your OP.
  25113. Changes in version 0.0.6.2 - 2004-05-16
  25114. o Our integrity-checking digest was checking only the most recent cell,
  25115. not the previous cells like we'd thought.
  25116. Thanks to Stefan Mark for finding the flaw!
  25117. Changes in version 0.0.6.1 - 2004-05-06
  25118. o Fix two bugs in our AES counter-mode implementation (this affected
  25119. onion-level stream encryption, but not TLS-level). It turns
  25120. out we were doing something much more akin to a 16-character
  25121. polyalphabetic cipher. Oops.
  25122. Thanks to Stefan Mark for finding the flaw!
  25123. o Retire moria3 as a directory server, and add tor26 as a directory
  25124. server.
  25125. Changes in version 0.0.6 - 2004-05-02
  25126. [version bump only]
  25127. Changes in version 0.0.6rc4 - 2004-05-01
  25128. o Update the built-in dirservers list to use the new directory format
  25129. o Fix a rare seg fault: if a node offering a hidden service attempts
  25130. to build a circuit to Alice's rendezvous point and fails before it
  25131. reaches the last hop, it retries with a different circuit, but
  25132. then dies.
  25133. o Handle windows socket errors correctly.
  25134. Changes in version 0.0.6rc3 - 2004-04-28
  25135. o Don't expire non-general excess circuits (if we had enough
  25136. circuits open, we were expiring rendezvous circuits -- even
  25137. when they had a stream attached. oops.)
  25138. o Fetch randomness from /dev/urandom better (not via fopen/fread)
  25139. o Better debugging for tls errors
  25140. o Some versions of openssl have an SSL_pending function that erroneously
  25141. returns bytes when there is a non-application record pending.
  25142. o Set Content-Type on the directory and hidserv descriptor.
  25143. o Remove IVs from cipher code, since AES-ctr has none.
  25144. o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  25145. o We were using an array of length zero in a few places.
  25146. o win32's gethostbyname can't resolve an IP to an IP.
  25147. o win32's close can't close a socket.
  25148. Changes in version 0.0.6rc2 - 2004-04-26
  25149. o Fix a bug where we were closing tls connections intermittently.
  25150. It turns out openssl keeps its errors around -- so if an error
  25151. happens, and you don't ask about it, and then another openssl
  25152. operation happens and succeeds, and you ask if there was an error,
  25153. it tells you about the first error. Fun fun.
  25154. o Fix a bug that's been lurking since 27 may 03 (!)
  25155. When passing back a destroy cell, we would use the wrong circ id.
  25156. 'Mostly harmless', but still worth fixing.
  25157. o Since we don't support truncateds much, don't bother sending them;
  25158. just close the circ.
  25159. o check for <machine/limits.h> so we build on NetBSD again (I hope).
  25160. o don't crash if a conn that sent a begin has suddenly lost its circuit
  25161. (this was quite rare).
  25162. Changes in version 0.0.6rc1 - 2004-04-25
  25163. o We now rotate link (tls context) keys and onion keys.
  25164. o CREATE cells now include oaep padding, so you can tell
  25165. if you decrypted them correctly.
  25166. o Add bandwidthburst to server descriptor.
  25167. o Directories now say which dirserver signed them.
  25168. o Use a tor_assert macro that logs failed assertions too.
  25169. Changes in version 0.0.6pre5 - 2004-04-18
  25170. o changes from 0.0.6pre4:
  25171. - make tor build on broken freebsd 5.2 installs
  25172. - fix a failed assert when you try an intro point, get a nack, and try
  25173. a second one and it works.
  25174. - when alice uses a port that the hidden service doesn't accept,
  25175. it now sends back an end cell (denied by exit policy). otherwise
  25176. alice would just have to wait to time out.
  25177. - fix another rare bug: when we had tried all the intro
  25178. points for a hidden service, we fetched the descriptor
  25179. again, but we left our introcirc thinking it had already
  25180. sent an intro, so it kept waiting for a response...
  25181. - bugfix: when you sleep your hidden-service laptop, as soon
  25182. as it wakes up it tries to upload a service descriptor, but
  25183. socketpair fails for some reason (localhost not up yet?).
  25184. now we simply give up on that upload, and we'll try again later.
  25185. i'd still like to find the bug though.
  25186. - if an intro circ waiting for an ack dies before getting one, then
  25187. count it as a nack
  25188. - we were reusing stale service descriptors and refetching usable
  25189. ones. oops.
  25190. Changes in version 0.0.6pre4 - 2004-04-14
  25191. o changes from 0.0.6pre3:
  25192. - when bob fails to connect to the rendezvous point, and his
  25193. circ didn't fail because of the rendezvous point itself, then
  25194. he retries a couple of times
  25195. - we expire introduction and rendezvous circs more thoroughly
  25196. (sometimes they were hanging around forever)
  25197. - we expire unattached rendezvous streams that have been around
  25198. too long (they were sticking around forever).
  25199. - fix a measly fencepost error that was crashing everybody with
  25200. a strict glibc.
  25201. Changes in version 0.0.6pre3 - 2004-04-14
  25202. o changes from 0.0.6pre2:
  25203. - make hup work again
  25204. - fix some memory leaks for dirservers
  25205. - allow more skew in rendezvous descriptor timestamps, to help
  25206. handle people like blanu who don't know what time it is
  25207. - normal circs are 3 hops, but some rend/intro circs are 4, if
  25208. the initiator doesn't get to choose the last hop
  25209. - send acks for introductions, so alice can know whether to try
  25210. again
  25211. - bob publishes intro points more correctly
  25212. o changes from 0.0.5:
  25213. - fix an assert trigger that's been plaguing us since the days
  25214. of 0.0.2prexx (thanks weasel!)
  25215. - retry stream correctly when we fail to connect because of
  25216. exit-policy-reject (should try another) or can't-resolve-address
  25217. (also should try another, because dns on random internet servers
  25218. is flaky).
  25219. - when we hup a dirserver and we've *removed* a server from the
  25220. approved-routers list, now we remove that server from the
  25221. in-memory directories too
  25222. Changes in version 0.0.6pre2 - 2004-04-08
  25223. o We fixed our base32 implementation. Now it works on all architectures.
  25224. Changes in version 0.0.6pre1 - 2004-04-08
  25225. o Features:
  25226. - Hidden services and rendezvous points are implemented. Go to
  25227. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  25228. hidden services. (This only works via a socks4a proxy such as
  25229. Privoxy, and currently it's quite slow.)
  25230. Changes in version 0.0.5 - 2004-03-30
  25231. [version bump only]
  25232. Changes in version 0.0.5rc3 - 2004-03-29
  25233. o Install torrc as torrc.sample -- we no longer clobber your
  25234. torrc. (Woo!)
  25235. o Re-enable recommendedversion checking (we broke it in rc2, oops)
  25236. o Add in a 'notice' log level for things the operator should hear
  25237. but that aren't warnings
  25238. Changes in version 0.0.5rc2 - 2004-03-29
  25239. o Hold socks connection open until reply is flushed (if possible)
  25240. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  25241. the dns farm to do it.
  25242. o Fix c99 aliasing warnings in rephist.c
  25243. o Don't include server descriptors that are older than 24 hours in the
  25244. directory.
  25245. o Give socks 'reject' replies their whole 15s to attempt to flush,
  25246. rather than seeing the 60s timeout and assuming the flush had failed.
  25247. o Clean automake droppings from the cvs repository
  25248. Changes in version 0.0.5rc1 - 2004-03-28
  25249. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  25250. o Only build circuits after we've fetched the directory: clients were
  25251. using only the directory servers before they'd fetched a directory.
  25252. This also means longer startup time; so it goes.
  25253. o Fix an assert trigger where an OP would fail to handshake, and we'd
  25254. expect it to have a nickname.
  25255. o Work around a tsocks bug: do a socks reject when AP connection dies
  25256. early, else tsocks goes into an infinite loop.
  25257. Changes in version 0.0.4 - 2004-03-26
  25258. o When connecting to a dirserver or OR and the network is down,
  25259. we would crash.
  25260. Changes in version 0.0.3 - 2004-03-26
  25261. o Warn and fail if server chose a nickname with illegal characters
  25262. o Port to Solaris and Sparc:
  25263. - include missing header fcntl.h
  25264. - have autoconf find -lsocket -lnsl automatically
  25265. - deal with hardware word alignment
  25266. - make uname() work (solaris has a different return convention)
  25267. - switch from using signal() to sigaction()
  25268. o Preliminary work on reputation system:
  25269. - Keep statistics on success/fail of connect attempts; they're published
  25270. by kill -USR1 currently.
  25271. - Add a RunTesting option to try to learn link state by creating test
  25272. circuits, even when SocksPort is off.
  25273. - Remove unused open circuits when there are too many.
  25274. Changes in version 0.0.2 - 2004-03-19
  25275. - Include strlcpy and strlcat for safer string ops
  25276. - define INADDR_NONE so we compile (but still not run) on solaris
  25277. Changes in version 0.0.2pre27 - 2004-03-14
  25278. o Bugfixes:
  25279. - Allow internal tor networks (we were rejecting internal IPs,
  25280. now we allow them if they're set explicitly).
  25281. - And fix a few endian issues.
  25282. Changes in version 0.0.2pre26 - 2004-03-14
  25283. o New features:
  25284. - If a stream times out after 15s without a connected cell, don't
  25285. try that circuit again: try a new one.
  25286. - Retry streams at most 4 times. Then give up.
  25287. - When a dirserver gets a descriptor from an unknown router, it
  25288. logs its fingerprint (so the dirserver operator can choose to
  25289. accept it even without mail from the server operator).
  25290. - Inform unapproved servers when we reject their descriptors.
  25291. - Make tor build on Windows again. It works as a client, who knows
  25292. about as a server.
  25293. - Clearer instructions in the torrc for how to set up a server.
  25294. - Be more efficient about reading fd's when our global token bucket
  25295. (used for rate limiting) becomes empty.
  25296. o Bugfixes:
  25297. - Stop asserting that computers always go forward in time. It's
  25298. simply not true.
  25299. - When we sent a cell (e.g. destroy) and then marked an OR connection
  25300. expired, we might close it before finishing a flush if the other
  25301. side isn't reading right then.
  25302. - Don't allow dirservers to start if they haven't defined
  25303. RecommendedVersions
  25304. - We were caching transient dns failures. Oops.
  25305. - Prevent servers from publishing an internal IP as their address.
  25306. - Address a strcat vulnerability in circuit.c
  25307. Changes in version 0.0.2pre25 - 2004-03-04
  25308. o New features:
  25309. - Put the OR's IP in its router descriptor, not its fqdn. That way
  25310. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  25311. e.g. poblano.
  25312. o Bugfixes:
  25313. - If the user typed in an address that didn't resolve, the server
  25314. crashed.
  25315. Changes in version 0.0.2pre24 - 2004-03-03
  25316. o Bugfixes:
  25317. - Fix an assertion failure in dns.c, where we were trying to dequeue
  25318. a pending dns resolve even if it wasn't pending
  25319. - Fix a spurious socks5 warning about still trying to write after the
  25320. connection is finished.
  25321. - Hold certain marked_for_close connections open until they're finished
  25322. flushing, rather than losing bytes by closing them too early.
  25323. - Correctly report the reason for ending a stream
  25324. - Remove some duplicate calls to connection_mark_for_close
  25325. - Put switch_id and start_daemon earlier in the boot sequence, so it
  25326. will actually try to chdir() to options.DataDirectory
  25327. - Make 'make test' exit(1) if a test fails; fix some unit tests
  25328. - Make tor fail when you use a config option it doesn't know about,
  25329. rather than warn and continue.
  25330. - Make --version work
  25331. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  25332. Changes in version 0.0.2pre23 - 2004-02-29
  25333. o New features:
  25334. - Print a statement when the first circ is finished, so the user
  25335. knows it's working.
  25336. - If a relay cell is unrecognized at the end of the circuit,
  25337. send back a destroy. (So attacks to mutate cells are more
  25338. clearly thwarted.)
  25339. - New config option 'excludenodes' to avoid certain nodes for circuits.
  25340. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  25341. so you can collect coredumps there.
  25342. o Bugfixes:
  25343. - Fix a bug in tls flushing where sometimes data got wedged and
  25344. didn't flush until more data got sent. Hopefully this bug was
  25345. a big factor in the random delays we were seeing.
  25346. - Make 'connected' cells include the resolved IP, so the client
  25347. dns cache actually gets populated.
  25348. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  25349. - When we time-out on a stream and detach from the circuit, send an
  25350. end cell down it first.
  25351. - Only warn about an unknown router (in exitnodes, entrynodes,
  25352. excludenodes) after we've fetched a directory.
  25353. Changes in version 0.0.2pre22 - 2004-02-26
  25354. o New features:
  25355. - Servers publish less revealing uname information in descriptors.
  25356. - More memory tracking and assertions, to crash more usefully when
  25357. errors happen.
  25358. - If the default torrc isn't there, just use some default defaults.
  25359. Plus provide an internal dirservers file if they don't have one.
  25360. - When the user tries to use Tor as an http proxy, give them an http
  25361. 501 failure explaining that we're a socks proxy.
  25362. - Dump a new router.desc on hup, to help confused people who change
  25363. their exit policies and then wonder why router.desc doesn't reflect
  25364. it.
  25365. - Clean up the generic tor.sh init script that we ship with.
  25366. o Bugfixes:
  25367. - If the exit stream is pending on the resolve, and a destroy arrives,
  25368. then the stream wasn't getting removed from the pending list. I
  25369. think this was the one causing recent server crashes.
  25370. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  25371. - When it couldn't resolve any dirservers, it was useless from then on.
  25372. Now it reloads the RouterFile (or default dirservers) if it has no
  25373. dirservers.
  25374. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  25375. many users don't even *have* a /usr/local/sbin/.
  25376. Changes in version 0.0.2pre21 - 2004-02-18
  25377. o New features:
  25378. - There's a ChangeLog file that actually reflects the changelog.
  25379. - There's a 'torify' wrapper script, with an accompanying
  25380. tor-tsocks.conf, that simplifies the process of using tsocks for
  25381. tor. It even has a man page.
  25382. - The tor binary gets installed to sbin rather than bin now.
  25383. - Retry streams where the connected cell hasn't arrived in 15 seconds
  25384. - Clean up exit policy handling -- get the default out of the torrc,
  25385. so we can update it without forcing each server operator to fix
  25386. his/her torrc.
  25387. - Allow imaps and pop3s in default exit policy
  25388. o Bugfixes:
  25389. - Prevent picking middleman nodes as the last node in the circuit
  25390. Changes in version 0.0.2pre20 - 2004-01-30
  25391. o New features:
  25392. - We now have a deb package, and it's in debian unstable. Go to
  25393. it, apt-getters. :)
  25394. - I've split the TotalBandwidth option into BandwidthRate (how many
  25395. bytes per second you want to allow, long-term) and
  25396. BandwidthBurst (how many bytes you will allow at once before the cap
  25397. kicks in). This better token bucket approach lets you, say, set
  25398. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  25399. performance while not exceeding your monthly bandwidth quota.
  25400. - Push out a tls record's worth of data once you've got it, rather
  25401. than waiting until you've read everything waiting to be read. This
  25402. may improve performance by pipelining better. We'll see.
  25403. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  25404. from failed circuits (if they haven't been connected yet) and attach
  25405. to new ones.
  25406. - Expire old streams that haven't managed to connect. Some day we'll
  25407. have them reattach to new circuits instead.
  25408. o Bugfixes:
  25409. - Fix several memory leaks that were causing servers to become bloated
  25410. after a while.
  25411. - Fix a few very rare assert triggers. A few more remain.
  25412. - Setuid to User _before_ complaining about running as root.
  25413. Changes in version 0.0.2pre19 - 2004-01-07
  25414. o Bugfixes:
  25415. - Fix deadlock condition in dns farm. We were telling a child to die by
  25416. closing the parent's file descriptor to him. But newer children were
  25417. inheriting the open file descriptor from the parent, and since they
  25418. weren't closing it, the socket never closed, so the child never read
  25419. eof, so he never knew to exit. Similarly, dns workers were holding
  25420. open other sockets, leading to all sorts of chaos.
  25421. - New cleaner daemon() code for forking and backgrounding.
  25422. - If you log to a file, it now prints an entry at the top of the
  25423. logfile so you know it's working.
  25424. - The onionskin challenge length was 30 bytes longer than necessary.
  25425. - Started to patch up the spec so it's not quite so out of date.
  25426. Changes in version 0.0.2pre18 - 2004-01-02
  25427. o Bugfixes:
  25428. - Fix endian issues with the 'integrity' field in the relay header.
  25429. - Fix a potential bug where connections in state
  25430. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  25431. Changes in version 0.0.2pre17 - 2003-12-30
  25432. o Bugfixes:
  25433. - Made --debuglogfile (or any second log file, actually) work.
  25434. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  25435. adversary could force us into an infinite loop.
  25436. o Features:
  25437. - Each onionskin handshake now includes a hash of the computed key,
  25438. to prove the server's identity and help perfect forward secrecy.
  25439. - Changed cell size from 256 to 512 bytes (working toward compatibility
  25440. with MorphMix).
  25441. - Changed cell length to 2 bytes, and moved it to the relay header.
  25442. - Implemented end-to-end integrity checking for the payloads of
  25443. relay cells.
  25444. - Separated streamid from 'recognized' (otherwise circuits will get
  25445. messed up when we try to have streams exit from the middle). We
  25446. use the integrity-checking to confirm that a cell is addressed to
  25447. this hop.
  25448. - Randomize the initial circid and streamid values, so an adversary who
  25449. breaks into a node can't learn how many circuits or streams have
  25450. been made so far.
  25451. Changes in version 0.0.2pre16 - 2003-12-14
  25452. o Bugfixes:
  25453. - Fixed a bug that made HUP trigger an assert
  25454. - Fixed a bug where a circuit that immediately failed wasn't being
  25455. counted as a failed circuit in counting retries.
  25456. o Features:
  25457. - Now we close the circuit when we get a truncated cell: otherwise we're
  25458. open to an anonymity attack where a bad node in the path truncates
  25459. the circuit and then we open streams at him.
  25460. - Add port ranges to exit policies
  25461. - Add a conservative default exit policy
  25462. - Warn if you're running tor as root
  25463. - on HUP, retry OR connections and close/rebind listeners
  25464. - options.EntryNodes: try these nodes first when picking the first node
  25465. - options.ExitNodes: if your best choices happen to include any of
  25466. your preferred exit nodes, you choose among just those preferred
  25467. exit nodes.
  25468. - options.ExcludedNodes: nodes that are never picked in path building
  25469. Changes in version 0.0.2pre15 - 2003-12-03
  25470. o Robustness and bugfixes:
  25471. - Sometimes clients would cache incorrect DNS resolves, which would
  25472. really screw things up.
  25473. - An OP that goes offline would slowly leak all its sockets and stop
  25474. working.
  25475. - A wide variety of bugfixes in exit node selection, exit policy
  25476. handling, and processing pending streams when a new circuit is
  25477. established.
  25478. - Pick nodes for a path only from those the directory says are up
  25479. - Choose randomly from all running dirservers, not always the first one
  25480. - Increase allowed http header size for directory fetch.
  25481. - Stop writing to stderr (if we're daemonized it will be closed).
  25482. - Enable -g always, so cores will be more useful to me.
  25483. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  25484. o Documentation:
  25485. - Wrote a man page. It lists commonly used options.
  25486. o Configuration:
  25487. - Change default loglevel to warn.
  25488. - Make PidFile default to null rather than littering in your CWD.
  25489. - OnionRouter config option is now obsolete. Instead it just checks
  25490. ORPort>0.
  25491. - Moved to a single unified torrc file for both clients and servers.
  25492. Changes in version 0.0.2pre14 - 2003-11-29
  25493. o Robustness and bugfixes:
  25494. - Force the admin to make the DataDirectory himself
  25495. - to get ownership/permissions right
  25496. - so clients no longer make a DataDirectory and then never use it
  25497. - fix bug where a client who was offline for 45 minutes would never
  25498. pull down a directory again
  25499. - fix (or at least hide really well) the dns assert bug that was
  25500. causing server crashes
  25501. - warnings and improved robustness wrt clockskew for certs
  25502. - use the native daemon(3) to daemonize, when available
  25503. - exit if bind() fails
  25504. - exit if neither socksport nor orport is defined
  25505. - include our own tor_timegm (Win32 doesn't have its own)
  25506. - bugfix for win32 with lots of connections
  25507. - fix minor bias in PRNG
  25508. - make dirserver more robust to corrupt cached directory
  25509. o Documentation:
  25510. - Wrote the design document (woo)
  25511. o Circuit building and exit policies:
  25512. - Circuits no longer try to use nodes that the directory has told them
  25513. are down.
  25514. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  25515. bitcounts (18.0.0.0/8).
  25516. - Make AP connections standby for a circuit if no suitable circuit
  25517. exists, rather than failing
  25518. - Circuits choose exit node based on addr/port, exit policies, and
  25519. which AP connections are standing by
  25520. - Bump min pathlen from 2 to 3
  25521. - Relay end cells have a payload to describe why the stream ended.
  25522. - If the stream failed because of exit policy, try again with a new
  25523. circuit.
  25524. - Clients have a dns cache to remember resolved addresses.
  25525. - Notice more quickly when we have no working circuits
  25526. o Configuration:
  25527. - APPort is now called SocksPort
  25528. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  25529. where to bind
  25530. - RecommendedVersions is now a config variable rather than
  25531. hardcoded (for dirservers)
  25532. - Reloads config on HUP
  25533. - Usage info on -h or --help
  25534. - If you set User and Group config vars, it'll setu/gid to them.
  25535. Changes in version 0.0.2pre13 - 2003-10-19
  25536. o General stability:
  25537. - SSL_write no longer fails when it returns WANTWRITE and the number
  25538. of bytes in the buf has changed by the next SSL_write call.
  25539. - Fix segfault fetching directory when network is down
  25540. - Fix a variety of minor memory leaks
  25541. - Dirservers reload the fingerprints file on HUP, so I don't have
  25542. to take down the network when I approve a new router
  25543. - Default server config file has explicit Address line to specify fqdn
  25544. o Buffers:
  25545. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  25546. - Make listener connections not ever alloc bufs
  25547. o Autoconf improvements:
  25548. - don't clobber an external CFLAGS in ./configure
  25549. - Make install now works
  25550. - create var/lib/tor on make install
  25551. - autocreate a tor.sh initscript to help distribs
  25552. - autocreate the torrc and sample-server-torrc with correct paths
  25553. o Log files and Daemonizing now work:
  25554. - If --DebugLogFile is specified, log to it at -l debug
  25555. - If --LogFile is specified, use it instead of commandline
  25556. - If --RunAsDaemon is set, tor forks and backgrounds on startup